rejetto forum

Testing build #223

rejetto · 26 · 18068

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
published while driving

download @ www.dovedove.it/hfs/hfs223.exe

what's new
+ new template symbols: %now% %item-added-dt% %item-modified-dt%
+ {.time.} supports new parameter "when" to use a different time than the current one
+ new template macro: trunc
- solved some problems when adding many single files
- "open it" was not working if the path had spaces http://www.rejetto.com/forum/index.php?topic=6632.msg1040608#msg1040608
- sometimes the editor didn't run http://www.rejetto.com/forum/index.php?topic=6632.msg1040616#msg1040616
- deletion and {.postvar.} broken in build #222 http://www.rejetto.com/forum/index.php?topic=6632.msg1040575#msg1040575
- deletion never worked with some features enabled http://www.rejetto.com/forum/index.php?topic=6632.msg1040575#msg1040575



hvdb

  • Guest
updating results in using beta 220 ...

must be an error.


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
1) :o  A thing which you had promised is missing:

result:=result+xtpl(p, [ '%bread-url%',e,'%bread-name%',ad[i],'%bread-idx%',inttostr(i) ]);

2)  ;D thank you for:  tpl-editor=C:\Programmi\PSPad editor\pspad.exe

3)   :'( By wanting to make court, you did not envisage all the eventualities, put one # in the middle of a filename and creating md5 which  is associated with him, and then try to delete  this file by using the template by default.

by example,  rejetto#maximo.bad  cannot be destroyed
  the good code



       s:=getTill('#!md5', decodeURL(data.postvars.valueFromIndex)); // omit #anchors

4)  ??? Out of necessity: here are three new macros to add to the next build
Quote
    if name = 'is substring' then
      trueIf(ansiContainsText(par(1), p));

    if name = 'count substring' then
      result:=intToStr(countSubstr(pars[0], par(1)));

    if name = 'pos substring' then          //mars 2009
      result:=inttostr(pos(pars[0], par(1)));

    if name = 'chop start' then     //mars 2009
      begin
      result:=par(1);
      result:= chop(pars[0], result);
      end;

    if name = 'chop end' then       //mars 2009
      begin
      result:=par(1);
      chop(pars[0], result);
      end;

    if name = 'and' then
      allLogic(TRUE);

   '{.pos substring|rejetto| On the forum, rejetto is the absolute boss .}'   return '15'

   '{.chop start|rejetto| On the forum, rejetto is the absolute boss .}'       return 'On the forum, '
   
   '{.chop end|rejetto| On the forum, rejetto is the absolute boss .}'         return ' is the absolute boss'

 ;)

On the forum, rejetto is the absolute boss......
But in the sources of hfs, Mars will defend  his beefsteak

 ;D ;D ;D ;D
« Last Edit: February 12, 2009, 12:02:45 AM by mars »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
1. ugh, next build ;)

2. i'll exclude the ini from backups ;)

3. no mars, my idea is ok: i'm getting the file as an url, and # is a special character. The bug is the fact i was splitting after decoding. In next build i will do it before, and it will work. ;)

4.
pos substring: i wonder why i didn't do it before. i think anyway that the name 'pos' should be adequate. do you agree?

chop start: is the same as {.substring||$1|$2.}
very little difference, superfluous IMO.

chop end: is the same as {.cut|{.add|1|{.length|$1.}.}||{.substring|$1||$2.}.}
this is more different, at a glance.
but, from a user point of view, the only difference with substring is that first parameter is not included in the result. very little. i will just expand 'substring' with an option 'include', that will let you specify what to include in the result.
so, from next build, it will be the same as {.substring|$1||$2|include=none.}
include=0 will work as well
« Last Edit: February 12, 2009, 12:42:14 AM by rejetto »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
updating results in using beta 220 ...
must be an error.

no one else did report such problem. i guess you just made a mistake.
did you use automatic update?


hvdb

  • Guest
yes i'dd use beta 220. from that one i auto updated it to 223.
but it brought me back to 220.

if no one else triggered that prob, it must be on my side , although i dont know how.


hvdb

  • Guest
Did update again, it works!

hope this was a one time only never had any problems with your updates.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
well, if you used the autoupdate, i guess it's an occasional problem of it. it's not perfect ;)
i supposed it was you if you did it manually.

published while driving

i meant i was really driving my car.
my laptop was on my side, running the publishing procedure, connected via gprs.
i was occasionally interacting at the stop lights.
i had to run out of the office :)


Offline luca69

  • Occasional poster
  • *
    • Posts: 95
    • View Profile
Quote from: rejetto
published while driving

i meant i was really driving my car.
my laptop was on my side, running the publishing procedure, connected via gprs.
i was occasionally interacting at the stop lights.
i had to run out of the office :)

 :o :o :o :o :o :o :o
You need an upgrade to HSDPA  ;D
Life is what happens to you while you are busy making other plans


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i have it.
just to be understandable by more people ;)


Offline Fysack

  • Tireless poster
  • ****
    • Posts: 598
  • present picture
    • View Profile
    • Admin
my laptop was on my side, running the publishing procedure, connected via gprs.
lol, you are a bussy man rejetto  :)
GOD CAN READ YOUR MIND


Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
well, if you used the autoupdate, i guess it's an occasional problem of it. it's not perfect ;)
I have a machine that's having problems with the autoupdate... because it's too slow.  ;D Only 80486-100MHz... The three seconds ping is not long enough to close HFS, so I get 'Access denied' Retry Abort Fail message in the batch. Unfortunately it's hardcoded.
http://worldipv6launch.org - The world is different now.


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
well, if you used the autoupdate, i guess it's an occasional problem of it. it's not perfect ;)
i supposed it was you if you did it manually.

published while driving

i meant i was really driving my car.
my laptop was on my side, running the publishing procedure, connected via gprs.
i was occasionally interacting at the stop lights.
i had to run out of the office :)

   
Not panic ... it is not dangerous to phone call in car in Rome  :D
« Last Edit: February 12, 2009, 10:39:13 PM by SilentPliz »


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
The motor traffic jam,  is it rejetto who has made this? ;D
« Last Edit: February 12, 2009, 11:02:05 PM by mars »