rejetto forum

Software => HFS ~ HTTP File Server => Beta => Topic started by: rejetto on June 30, 2008, 02:51:28 PM

Title: Testing build #187
Post by: rejetto on June 30, 2008, 02:51:28 PM
download @ www.dovedove.it/hfs/hfs187.exe

what's new
+ inline layout for log toolbar
+ new template macros: dialog encodeuri decodeuri http://www.rejetto.com/forum/index.php?topic=5353.msg1033553#msg1033553
- for range "0-0" it was sent the whole file instead of the first byte
- the [style.user] trick was not applied to all the pages http://www.rejetto.com/forum/index.php?topic=5952.msg1035285#msg1035285
- vfs loading could jam www.rejetto.com/forum/?topic=5979 
Title: Re: Testing build #187
Post by: Mars on June 30, 2008, 05:21:03 PM
un oubli:
le nouveau fichier default.tpl n'est pas inclus dans la version exécutable  HFS187.exe c'est actuellement le même que dans la version 186

***************************************
un problème dans les autres versions aussi:

procedure section(ofs:integer);

p:='['+p+']';

ne peut pas fonctionner avec les sections de type [p|no log]

je propose de le remplacer par:

p:='['+p;
Title: Re: Testing build #187
Post by: rejetto on July 01, 2008, 12:26:11 PM
right mars, i will fix it in next build.

it was going to be pointlessly complicated to support both the "|" and the "=" operators in the section name (and it would not guarantee future compatibility), so i decided to rely on the template engine itself. If you need a fast thing you can always use {.from table.}
Title: Re: Testing build #187
Post by: NagatoYuki on July 04, 2008, 06:17:22 PM
emm...
The Unicode NCR support is still buggy...
http://www.rejetto.com/forum/index.php?topic=5971.0
Title: Re: Testing build #187
Post by: rejetto on July 06, 2008, 06:52:41 PM
i forgot to include in the list 2 new macros: encodeuri decodeuri
first post edited
Title: Re: Testing build #187
Post by: rejetto on July 06, 2008, 06:55:42 PM
nagato, i didn't have any luck on reproducing the bug yet, but it's a huge problem, lots of people have that problem, even european languages
Title: Re: Testing build #187
Post by: NagatoYuki on July 08, 2008, 01:25:33 PM
nagato, i didn't have any luck on reproducing the bug yet, but it's a huge problem, lots of people have that problem, even european languages
Well, I didn't know what your case is used to test...
As my post said, the deep issues relate to system codepage the client and HFS using.
(Until HFS use the Unicode-components to deal with files I/O...)

But it seems that HFS isn't able to accept a filename with semicolon ';' ,and it cuts off the filename after semicolon...
Title: Re: Testing build #187
Post by: rejetto on July 08, 2008, 01:57:04 PM
you are right, i will fix it ASAP
Posted on: 08 July 2008, 15:40:07
ok ";" upload problem is fixed in next build
Title: Re: Testing build #187
Post by: Mars on July 10, 2008, 01:31:12 PM
to rejetto: found a little bug when using special import

[special:import]
{.add folder|real|template.}
{.set item|/template|hide.}
{.set item|/template|no log.}

le répertoire template existe dans le dossier du tpl, mais en ajoutant:

{.set item|/test|hide.}    où test n'est pas défini , il apparait une erreur d'exception, dont l'origine est la macro 'set item', le problème est résolu par cette modification

Quote
procedure setItem();
  var
    f: Tfile;
    cmd: string;
  begin
  result:='';
  f:=mainfrm.findFileByURL(p);
  if (f <> NIL) and  f.isTemp() then freeAndNIL(f); // makes no sense to work in it
  if f = NIL then exit;
  cmd:=par(1);

En fait c'est l'ajout de la ligne contenant  'f.isTemp()' qui est en cause.
Title: Re: Testing build #187
Post by: rejetto on July 10, 2008, 02:47:37 PM
thank you for reporting mars :)
i just moved the f=NIL test one line up. this works as well.