rejetto forum

Testing build #179

rejetto · 17 · 13072

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
download @ www.dovedove.it/hfs/hfs179.exe

what's new
+ safer template macros execution
* {{delete}} moves to recycle bin
- diff templates broken in build #178
- wrong template parsing for dinamically generated macro quotings www.rejetto.com/forum/?topic=5641
- removed <?tpl syntax introduced in build #176 :-(

If you use RAWR template, you'll have to update the template also.
« Last Edit: February 26, 2008, 12:24:33 AM by rejetto »


Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
Update problem #178->#179

Quote from: hfs.update.bat
START "" /WAIT "C:\Program Files\HFS\hfs.exe" -q
ping 127.0.0.1 -n 3 -w 1000> nul
MOVE "C:\Program Files\HFS\hfs.exe" "C:\Program Files\HFS\hfs.old.exe"
DEL "C:\Program Files\HFS\hfs.exe"
MOVE "" "C:\Program Files\HFS\hfs.exe"
START "" "C:\Program Files\HFS\hfs.exe"
DEL %0

First and second line: OK.
Third line: Before moving hfs.exe to hfs.old.exe, you'd have to DELete an existing hfs.old.exe first.
Fourth line: You just moved hfs.exe, it doesn't exist anymore, no need to DELete it...
Fifth line: There is a filename missing - C:\Program Files\HFS\hfs.exe.new
The rest is OK.

Quote from: corrected hfs.update.bat
START "" /WAIT "C:\Programme\HFS\hfs.exe" -q
ping 127.0.0.1 -n 3 -w 1000> nul
DEL "C:\Programme\HFS\hfs.old.exe"
MOVE "C:\Programme\HFS\hfs.exe" "C:\Programme\HFS\hfs.old.exe"
MOVE "C:\Programme\HFS\hfs.exe.new" "C:\Programme\HFS\hfs.exe"
START "" "C:\Programme\HFS\hfs.exe"
DEL %0
http://worldipv6launch.org - The world is different now.


Offline bacter

  • Operator
  • Tireless poster
  • *****
    • Posts: 681
    • View Profile
Rejetto,

could you please start to update the wiki with the new macros, features and sintax and changes?

Mi template ceased to work updating form 178 to 179 and is no longer usable - no language file loading, some macros not working .. had to go back to 178.

Thank you
your computer has no brain - use your own !


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile

Guest

  • Guest
Back to 177, yet again. Diff template still not working here.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
tell me how to reproduce the diff tpl problem, because it works in my tests here.
it can't be fixed while i don't reproduce it.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
Fourth line: You just moved hfs.exe, it doesn't exist anymore, no need to DELete it...

that's because the first move may fail (the dest file may be locked).
in such case, the second move would fail consequently.
the extra DEL makes it safer.

i hope fixed other bugs, thank you markv


Guest

  • Guest
[about] called by {{$about}} in diff template doesn't work in 178 or 179 here.
I also have some that are entered directly as html that no longer work.
No clue otherwise, except that 177 does work.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
Ok, i found the bug, and fixed it for the next beta. Thank you for reporting.

Anyway, IF you are putting your macros in the diff template dialog, just know that it is going to never work, from now on.
It's a security measure: nothing in the virtual file system will be allowed to contain macros.
The risk is that .vfs files (those where your virtual file system is saved) could become just like MS Word .doc, and carry malicious instructions.
What you can do is to put your macros in external files.
For real folders, you can put your file just inside the disk folder, and name it "hfs.diff.tpl".
For virtual folders, you can put your file anywhere, and enter the full path (a single line) to the file in the diff tpl dialog.
« Last Edit: February 13, 2008, 05:19:11 PM by rejetto »


michael

  • Guest
Quote
Access violation at address 00404594 in module 'hfs.exe'. Read of address FFFFFFDD
HFS 2.3 beta (179)
----------------------------------------------------------------
System   : Windows XP Professional, Version: 5.1, Build: A28, "Service Pack 2"
Processor: AMD, AMD Athlon(tm) XP 2000+, 1666 MHz MMX
Display  : 1152x864 pixels, 16 bpp
----------------------------------------------------------------
----------------------------------------------------------------
Product Versions

hfs.exe: Build: 0 2008-02-13 23:34:06
:(



Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
There is a bug with special strings and refreshing in other page sections, for example in [progress]. Even with {{$special|begin}} placed in the sections. The strings flick between the variable and the string on each refresh, mainly in sub pages tho.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
There is a bug with special strings and refreshing in other page sections, for example in [progress]. Even with {{$special|begin}} placed in the sections. The strings flick between the variable and the string on each refresh, mainly in sub pages tho.

Can you give me a short template with just [progress] and what it is needed to reproduce the bug ?


Offline bacter

  • Operator
  • Tireless poster
  • *****
    • Posts: 681
    • View Profile
All the problems with this build and my template seams to come from 'load'.  Nothing is loaded , #178 worked ok. Is this a bug or what did you change with ´load' and what must I change to get it working?
your computer has no brain - use your own !


Offline Foggy

  • Tireless poster
  • ****
    • Posts: 806
    • View Profile
the contents of the file being loaded is now quoted to prevent any possible malicious macro's, you will need to dequote load.


Offline Tuskenraider

  • Occasional poster
  • *
    • Posts: 74
    • View Profile
Access violation at address 0048E78D in module 'hfs.exe'. Read of address FFFFFFFF
HFS 2.3 beta (179)
----------------------------------------------------------------
System   : Windows XP Professional, Version: 5.1, Build: A28, "Service Pack 2"
Processor: Intel,               Intel(R) Pentium(R) 4 CPU 2.40GHz, 2400 MHz MMX
Display  : 1024x768 pixels, 24 bpp
----------------------------------------------------------------
----------------------------------------------------------------
Product Versions
hfs.exe: Build: 0 2/13/2008 10:40:12 AM
hfs.old.exe: Build: 0 2/7/2008 1:04:48 PM
i got that a little bit ago....   just popped up..no one was on the server.. nothing was going on... poof there it was... just thought idlet ya know..
tuskenraider
« Last Edit: February 19, 2008, 05:55:27 PM by Tuskenraider »
pfffssshhh i dont need a signature...