rejetto forum

Testing build #187

rejetto · 10 · 6781

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13310
    • View Profile
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 
« Last Edit: July 06, 2008, 06:51:02 PM by rejetto »


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2043
    • View Profile
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;
« Last Edit: June 30, 2008, 06:41:33 PM by mars »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13310
    • View Profile
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.}
« Last Edit: July 01, 2008, 12:51:43 PM by rejetto »



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13310
    • View Profile
i forgot to include in the list 2 new macros: encodeuri decodeuri
first post edited


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13310
    • View Profile
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


Offline NagatoYuki

  • Occasional poster
  • *
    • Posts: 4
    • View Profile
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...
« Last Edit: July 08, 2008, 01:36:46 PM by NagatoYuki »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13310
    • View Profile
you are right, i will fix it ASAP
Posted on: 08 July 2008, 15:40:07
ok ";" upload problem is fixed in next build


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2043
    • View Profile
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.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13310
    • View Profile
thank you for reporting mars :)
i just moved the f=NIL test one line up. this works as well.