rejetto forum

Testing build #263

rejetto · 13 · 13239

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
Don't worry, I will soon document new features.

download @ www.dovedove.it/hfs/hfs263.exe

what's new
+ new scripting command: notify [link] *
+ {.disconnection reason|if=XXX.}
+ URI support for scripting commands rename,copy,move
+ new scripting symbol: %stream-size% [link] *
+ loading of "default.tpl" in the exe's folder
+ browser cache support for embedded icons
+ new connections monitor, now compatible with screen readers
+ {.disconection reason.} now supported in template (it was only in events)
- {.add folder.} was not supporting real folders in specific VFS paths
- win95 support broken in build #262 [link]
- big archive folders may cause freezing [link]

* Edited by SilentPliz:
bad link for notify: (it was for %stream-size%) and I've added the link for %stream-size%
« Last Edit: July 29, 2010, 11:17:29 PM by SilentPliz »


Offline Novox

  • Occasional poster
  • *
    • Posts: 84
    • View Profile
Thank you very much rejetto!!

You are always the BEST!


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
I found two annoying omissions in the template:

It's the return of Neesie :D ... accented characters are not/badly converted. utf8 <> ansi

This concerns the rename option and that to create folders.

I'm sure I put too much "{.convert|utf-8|ansi|..." * but it work and that makes me service pending. ;)

Edit: * Corrected  ;)


[ajax.mkdir]
{.if|{.can mkdir.}|{:
   {.set|x|{.convert|utf-8|ansi|%folder%{.postvar|name.}.}.}
   {.if|{.exists|{.^x.}.}|{.!exists.}|{:
      {.if|{.length|{.mkdir|{.^x.}.}.}|ok|{.!failed.}.}
      {.add to log|%user% has created this folder: {.^x.}.}
   :}.}
:}|{.!forbidden.}.}

[ajax.rename]
{.if|{.can rename.}|{:
   {.set|x|{.convert|utf-8|ansi|%folder%{.postvar|from.}.}.}
   {.set|y|{.convert|utf-8|ansi|%folder%{.postvar|to.}.}.}
   {.if not |{.exists|{.^x.}.}|{.!not found.}|
      {.if|{.exists|{.^y.}.}|{.!exists.}|{:
         {.if|{.length|{.rename|{.^x.}|{.^y.}.}.}|ok|{.!failed.}.}
         {.add to log|%user% has renamed an item as {.^y.}.}
      :}.}
   .}
:}|{.!forbidden.}.}

-------------------------------
Edit: (while I think)... why {.^x.} is not converted in this context?:

{.add to log|%user% has renamed an item: {.^x.} --> {.^y.}.}
« Last Edit: July 31, 2010, 04:19:59 PM by SilentPliz »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
> It's the return of Neesie :D ... accented characters are not/badly converted. utf8 <> ansi

right, thank you SP!

> This concerns the rename option and that to create folders.

and delete as well, but being an internal operation, it's not good to be fixed through the template. HFS is supposed to work it out.

> I'm sure I put too much "{.convert|utf-8|ansi|..." but it work and that makes me service pending. ;)

yes indeed :) it's better to "convert" at "set" time.


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile

and delete as well, but being an internal operation, it's not good to be fixed through the template. HFS is supposed to work it out.


Oh. I had not noticed that; "delete" seems work correctly, without using a workaround (convert).
HFS did his job so well! :)
Thank you ;)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
uh, that's strange, i didn't for me.
I had to add this
        asUrl:=optAnsi(tpl.utf8, asUrl);
after this line
        asUrl:=decodeURL(getTill('#', data.postvars.valueFromIndex[i ])); // omit #anchors

it was not working for me without.
Let me know, because i'm going to publish another build soon, since these bugs are quite heavy.
In the next release some very interesting commands will come :)
« Last Edit: July 30, 2010, 05:27:31 PM by rejetto »


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
Bizzarre. I tested with the official beta and the default template:

- to delete folders and files with accented characters ... everything worked normally.

The only scenario where this does not work is when I try to delete folders (with accented characters) created from the web page.
(its normal because with the default template, folders created, contain characters rather esoteric.) :D

If I use the option to create folders once corrected ({.convert ...),  I can delete the folders created without worries.

Maybe you used a different test procedure ... if I can reproduce it, tell me.

In the next release some very interesting commands will come :)

Yum! This hungry! I just can not wait!  :P
« Last Edit: July 30, 2010, 06:40:34 PM by SilentPliz »


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
Bug with custom IP (custom-ip in the ini file)

To reproduce the bug, add some custom IP & save to file... You will have a result like in screenshots below.
« Last Edit: July 30, 2010, 11:43:52 PM by SilentPliz »


Offline PikachuEXE

  • Occasional poster
  • *
    • Posts: 35
    • View Profile
    • http://pikachuexe.hopto.org/
When I want to browse for file listing in this build, this error pops up:

Unallowed
This resource is not accessible.

I need to switch back to 262 now ~.~
nothing.......orz


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
When I want to browse for file listing in this build, this error pops up:

Unallowed
This resource is not accessible.

I need to switch back to 262 now ~.~

I confirm Getlist does not work; more, for me, HFS freeze randomly, even with a very small number of files in a folder (2 or 3).
Occupation of processor resources is at the top.

The log says:

Not served: 403 - Deny
Disconnected by server: IE6 workaround - 2814 bytes sent


Tests performed with FF 3.6.8 and IE8.x
The only way to recover HFS is to close the browser when this occurs.

The bug seems to come from hfs.exe, because it's the same problem with the "old" templates.
« Last Edit: July 31, 2010, 04:26:16 AM by SilentPliz »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
Bizzarre. I tested with the official beta and the default template:
- to delete folders and files with accented characters ... everything worked normally.
The only scenario where this does not work is when I try to delete folders (with accented characters) created from the web page.
(its normal because with the default template, folders created, contain characters rather esoteric.) :D
If I use the option to create folders once corrected ({.convert ...),  I can delete the folders created without worries.

i confirm what you said.
indeed, findFileByURL() is utf8-tolerant :)


Offline suriyothai

  • Occasional poster
  • *
    • Posts: 9
    • View Profile
Sorry my G-Data Anti Virus are warning and delite the build 263 ....there is a virus I can not update on Build 263  :o
sorry for my bad englich...

Lothar


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
there's no virus, it's the anti virus that's bad.
search google or the forum to know more.