rejetto forum
May 25, 2012, 03:28:38 AM *
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 2 [All]
  Print  
Author Topic: Testing build #179  (Read 6055 times)
0 Members and 2 Guests are viewing this topic.
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« on: February 13, 2008, 08:30:45 AM »

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 25, 2008, 06:24:33 PM by rejetto » Logged
MarkV
Insane poster
*****
Offline Offline

Germany Germany

Posts: 725



View Profile
« Reply #1 on: February 13, 2008, 08:58:24 AM »

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
Logged

Welcome to Twinkle Park! Grin
bacter
Operator
Insane poster
*****
Offline Offline

Spain Spain

Posts: 679


View Profile
« Reply #2 on: February 13, 2008, 09:11:47 AM »

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
Logged

your computer has no brain - use your own !
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #3 on: February 13, 2008, 09:16:07 AM »

yes i will soon
Logged
Guest
Guest


Email
« Reply #4 on: February 13, 2008, 09:17:03 AM »

Back to 177, yet again. Diff template still not working here.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #5 on: February 13, 2008, 09:18:38 AM »

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.
Logged
rejetto forum
« Reply #5 on: February 13, 2008, 09:18:38 AM »

Do you like this software? Consider even $2
 Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #6 on: February 13, 2008, 09:46:48 AM »

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
Logged
Guest
Guest


Email
« Reply #7 on: February 13, 2008, 10:32:21 AM »

[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.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #8 on: February 13, 2008, 11:17:36 AM »

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, 11:19:11 AM by rejetto » Logged
michael
Guest


Email
« Reply #9 on: February 14, 2008, 08:11:07 AM »

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
Sad
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #10 on: February 14, 2008, 08:16:57 AM »

Please michael, read my reply to your last post
http://www.rejetto.com/forum/index.php?topic=5627.msg1033139#msg1033139
Logged
TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #11 on: February 14, 2008, 08:35:55 AM »

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

rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #12 on: February 14, 2008, 08:41:09 AM »

Hi guest, macros in diff template will work again in next beta.
Details about this at www.rejetto.com/forum/index.php?topic=5631.msg1033332#msg1033332
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #13 on: February 14, 2008, 10:11:51 AM »

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 ?
Logged
bacter
Operator
Insane poster
*****
Offline Offline

Spain Spain

Posts: 679


View Profile
« Reply #14 on: February 14, 2008, 05:38:55 PM »

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?
Logged

your computer has no brain - use your own !
Foggy
Insane poster
*****
Offline Offline

Australia Australia

Posts: 806


View Profile
« Reply #15 on: February 14, 2008, 11:14:21 PM »

the contents of the file being loaded is now quoted to prevent any possible malicious macro's, you will need to dequote load.
Logged
Tuskenraider
Experienced poster
***
Offline Offline

United States United States

Posts: 74



View Profile
« Reply #16 on: February 19, 2008, 12:17:25 AM »

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, 11:55:27 AM by Tuskenraider, Reason: for space » Logged

pfffssshhh i dont need a signature...
Pages: 1 2 [All]
  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 17, 2012, 07:57:55 PM
anything