rejetto forum
May 25, 2012, 06:09:14 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Testing build #263  (Read 1777 times)
0 Members and 2 Guests are viewing this topic.
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« on: July 29, 2010, 08:29:36 AM »

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, 06:17:29 PM by SilentPliz » Logged
Novox
Experienced poster
***
Offline Offline

Thailand Thailand

Posts: 84


View Profile Email
« Reply #1 on: July 29, 2010, 09:15:22 AM »

Thank you very much rejetto!!

You are always the BEST!
Logged
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1046


....... chut ! shh!


View Profile WWW
« Reply #2 on: July 30, 2010, 02:45:59 AM »

I found two annoying omissions in the template:

It's the return of Neesie Cheesy ... 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. Wink

Edit: * Corrected  Wink


[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, 11:19:59 AM by SilentPliz » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #3 on: July 30, 2010, 09:07:46 AM »

> It's the return of Neesie Cheesy ... 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. Wink

yes indeed Smiley it's better to "convert" at "set" time.
Logged
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1046


....... chut ! shh!


View Profile WWW
« Reply #4 on: July 30, 2010, 11:27:32 AM »


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! Smiley
Thank you Wink
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #5 on: July 30, 2010, 12:24:51 PM »

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 Smiley
« Last Edit: July 30, 2010, 12:27:31 PM by rejetto » Logged
rejetto forum
« Reply #5 on: July 30, 2010, 12:24:51 PM »

Do you like this software? Consider even $2
 Logged
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1046


....... chut ! shh!


View Profile WWW
« Reply #6 on: July 30, 2010, 01:30:07 PM »

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.) Cheesy

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 Smiley

Yum! This hungry! I just can not wait!  Tongue
« Last Edit: July 30, 2010, 01:40:34 PM by SilentPliz » Logged
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1046


....... chut ! shh!


View Profile WWW
« Reply #7 on: July 30, 2010, 06:40:10 PM »

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.


* menu.png (15.15 KB, 459x417 - viewed 95 times.)

* windows.png (5.31 KB, 473x340 - viewed 87 times.)

* ini.png (2.03 KB, 283x103 - viewed 83 times.)
« Last Edit: July 30, 2010, 06:43:52 PM by SilentPliz » Logged
PikachuEXE
Experienced poster
***
Offline Offline

Posts: 32

285202198
View Profile WWW
« Reply #8 on: July 30, 2010, 09:55:01 PM »

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 ~.~
Logged

nothing.......orz
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1046


....... chut ! shh!


View Profile WWW
« Reply #9 on: July 30, 2010, 10:50:00 PM »

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 30, 2010, 11:26:16 PM by SilentPliz » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #10 on: July 31, 2010, 05:40:11 AM »

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.) Cheesy
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 Smiley
Logged
suriyothai
Occasional poster
*
Offline Offline

Germany Germany

Posts: 9


View Profile Email
« Reply #11 on: July 31, 2010, 06:12:19 AM »

Sorry my G-Data Anti Virus are warning and delite the build 263 ....there is a virus I can not update on Build 263  Shocked
sorry for my bad englich...

Lothar
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #12 on: July 31, 2010, 06:40:55 AM »

there's no virus, it's the anti virus that's bad.
search google or the forum to know more.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 14, 2012, 11:24:56 PM