rejetto forum
May 25, 2012, 09:14:22 PM *
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 3
  Print  
Author Topic: Testing build #272  (Read 10440 times)
0 Members and 1 Guest are viewing this topic.
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« on: November 09, 2010, 11:49:53 AM »

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

what's new
+ new scripting command: maybe utf8
- default template: problems with "move" and non-ansi items
- AV with junctions in uploadable folders
Logged
aef
Guest


Email
« Reply #1 on: November 11, 2010, 02:15:59 AM »

When you do an upload seems that everything is fine but in the end says not allowed and does not write anything
Logged
aries87
Guest


Email
« Reply #2 on: November 12, 2010, 06:08:07 AM »

this version already stable or not?
Logged
jerome
Experienced poster
***
Offline Offline

France France

Posts: 36



View Profile
« Reply #3 on: November 23, 2010, 12:31:17 AM »

Hello
i discover a strange surprise using the last mcafee stinger...on it.(normally nothing wrong with HFS)




i have destroy the suspicious file and check a scan from a new downloaded exe to see what happend.
the time to load the vfs...and scan, but it is idem.

i hope i am the only one unlucky...  Grin
« Last Edit: November 23, 2010, 12:52:45 AM by jerome » Logged
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1046


....... chut ! shh!


View Profile WWW
« Reply #4 on: November 23, 2010, 02:27:24 AM »

False positive... Allow this file... if McAfee allow you to do it!
It's an server, not a trojan! Grin

On the McAfee forum I read a little; it seems that it's a habit of detecting some variant of Artemis in softwares that doesn't contain anything suspicious.
Their only common point is having to use a port for external access... as a trojan (or an server  Wink)

https://community.mcafee.com/community/security/malware_discussion

Some antivirus display a warning more explicit and less ridiculous... and nothing for MacAfee (2010.11.22) Undecided
Update your soft.

http://www.virustotal.com/file-scan/report.html?id=4c7eb5d44ae9a27aa309fd0862404730b17818c4eb12dc7056eb535711ecaf52-1290498723
« Last Edit: November 23, 2010, 02:47:10 AM by SilentPliz » Logged
timteka
Regular poster
**
Offline Offline

Russian Federation Russian Federation

Posts: 17



View Profile WWW
« Reply #5 on: November 24, 2010, 10:12:50 AM »

Same problem as AEF. Cannot upload anything. Logs "Upload failed, Not allowed" for every attempt
Logged
rejetto forum
« Reply #5 on: November 24, 2010, 10:12:50 AM »

Do you like this software? Consider even $2
 Logged
r][m
Insane poster
*****
Offline Offline

United States United States

Posts: 340


View Profile
« Reply #6 on: November 25, 2010, 12:21:03 AM »

I too have seen upload problems with 272,
however it seems to be intermittent here.
I'm on Ubuntu / Wine so I have too many
variables to isolate the cause easily.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #7 on: November 29, 2010, 10:16:47 AM »

i will try the upload asap
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #8 on: November 29, 2010, 05:27:43 PM »

There is a defect in the use of NO LOG and PRIVATE in sections, for every different section the last one of the same name is taken into account.

[name]
[+name|no log]
[+name|private]
[+name]

then "private" and "no log"  are always ignored, except when they are defined in the last line so that it works

[name]
[+name]
[+name]
[+name|no log|private]

So that the system works correctly it is enough to modify the code source(spring), and it is so possible to place "no log" and "private" wherever

[name]
[noname]
[+name=+noname|no log]
[+name]
[+noname|private]

with this example
 by  [+name=+noname|no log]  the two sections are defined as no log
 by [+noname|private]   only the whole section noname is private

Quote
 procedure saveInSection();
  var
    ss: TStringDynArray;
    s, other: string;
    i, si: integer;
    base: TtplSection;
    till: pchar;
    prepend, nolog, nourl: boolean;
  begin
  till:=pred(bos);
  if till = NIL then till:=pred(strEnd(ptxt));
  if till^ = #10 then dec(till);
  if till^ = #13 then dec(till);

  base.txt:=getStr(ptxt, till);
  // there may be flags after |
  s:=cur_section;
  cur_section:=chop('|', s);
 nolog:=ansiPos('no log', s) > 0;
  nourl:=ansiPos('private', s) > 0;

  // there may be several section names separated by =
  ss:=split('=', cur_section);
  // handle the main section specific case
  if ss = NIL then addString('', ss);
  // assign to every name the same txt
  for i:=0 to length(ss)-1 do
    begin
    s:=trim(ss[i]);
    prepend:=ansiStartsStr('+', s);
    if prepend then
      begin
      delete(s,1,1);
      other:=getTxt(s);
      end;
    base.name:=s;
    si:=createIdx(s);
   base.nolog:=sections[si].nolog or nolog;
    base.nourl:=sections[si].nourl or nourl;

    sections[si]:=base;
    if prepend then
      insert(other, sections[si].txt, 1);
    end;
  end; // saveInSection

private note to rejetto: all sections SPECIAL:xxx  are always PRIVATE not necessary  to add it in the template
[special:xxx|private]
 Wink
« Last Edit: November 30, 2010, 02:12:01 PM by Mars » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #9 on: December 01, 2010, 07:42:54 AM »

thank you mars. After much thought i came with this version

Code:
  procedure saveInSection();
  var
    ss: TStringDynArray;
    s: string;
    i, si: integer;
    base: TtplSection;
    till: pchar;
    append: boolean;
    sect: PtplSection;
  begin
  till:=pred(bos);
  if till = NIL then till:=pred(strEnd(ptxt));
  if till^ = #10 then dec(till);
  if till^ = #13 then dec(till);

  base.txt:=getStr(ptxt, till);
  // there may be flags after |
  s:=cur_section;
  cur_section:=chop('|', s);
  base.nolog:=ansiPos('no log', s) > 0;
  base.nourl:=ansiPos('private', s) > 0;
  // there may be several section names separated by =
  ss:=split('=', cur_section);
  // handle the main section specific case
  if ss = NIL then addString('', ss);
  // assign to every name the same txt
  for i:=0 to length(ss)-1 do
    begin
    s:=trim(ss[i]);
    append:=ansiStartsStr('+', s);
    si:=getIdx(s);
    if si < 0 then // not found
      sect:=newSection(s)
    else
      begin
      sect:=@sections[si];
      if append then
        begin
        sect.txt:=sect.txt+base.txt;
        continue;
        end;
      end;
    sect^:=base;
    sect.name:=s; // restore this lost attribute
    end;
  end; // saveInSection

// this is replacing createIdx()
function Ttpl.newSection(section:string):PtplSection;
var
  i: integer;
begin
// add
i:=length(sections);
setLength(sections, i+1);
result:=@sections[i];
result.name:=section;
// getIdx just filled 'last' with not-found, so we must update
last.section:=section;
last.idx:=i;
// manage file.EXT sections
if not ansiStartsText('file.', section) then exit;
i:=length(fileExts);
setLength(fileExts, i+2);
delete(section, 1, 4);
fileExts[i]:=section;
fileExts[i+1]:=str_(last.idx);
lastExt.section:=section;
lastExt.idx:=last.idx;
end; // newSection

« Last Edit: December 01, 2010, 07:47:27 AM by rejetto » Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #10 on: December 01, 2010, 10:56:47 AM »

you version create a bug with %list% , all section with + are not added
and that not resolve  the problem of private-nolog >:

(
Quote
procedure saveInSection();
  var
    ss: TStringDynArray;
    s: string;
    i, si: integer;
    base: TtplSection;
    till: pchar;
    append: boolean;
    sect: PtplSection;
  begin
  till:=pred(bos);
  if till = NIL then till:=pred(strEnd(ptxt));
  if till^ = #10 then dec(till);
  if till^ = #13 then dec(till);

  base.txt:=getStr(ptxt, till);
  // there may be flags after |
  s:=cur_section;
  cur_section:=chop('|', s);

  base.nolog:=ansiPos('no log', s) > 0;
  base.nourl:=ansiPos('private', s) > 0;
  // there may be several section names separated by =
  ss:=split('=', cur_section);
  // handle the main section specific case
  if ss = NIL then addString('', ss);
  // assign to every name the same txt
  for i:=0 to length(ss)-1 do
    begin
    s:=trim(ss);
    append:=ansiStartsStr('+',s);
   if append then delete(s,1,1);  //this is missing
    si:=getIdx(s);
    if si < 0 then // not found
      sect:=newSection(s)
    else
      begin
      sect:=@sections[si];
      if append then
        begin
        sect.txt:=sect.txt+base.txt;
        sect.nolog:= sect.nolog or base.nolog;
        sect.nourl:= sect.nourl or base.nourl;

        continue;
        end;
      end;
    sect^:=base;
    sect.name:=s; // restore this lost attribute
    end;
  end; // saveInSection
« Last Edit: December 01, 2010, 05:48:41 PM by Mars » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #11 on: December 01, 2010, 01:31:33 PM »

sorry for the upload thing, guys, but couldn't reproduce the problem.
If you find additional details on what's wrong and what's not, or even if you find by no shadow of doubt that previous build (271) has not such problem while current (272) does, please report.
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #12 on: December 01, 2010, 02:16:17 PM »

sorry for the upload thing, guys, but couldn't reproduce the problem.
If you find additional details on what's wrong and what's not, or even if you find by no shadow of doubt that previous build (271) has not such problem while current (272) does, please report.

It is very likely that the problem seems only with characters not ansi
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #13 on: December 02, 2010, 04:37:15 AM »

@aries87
it's not considered stable, at least by me.

@mars
nope, i just tried with non-ansi characters and all went well.
fact is that if 2 persons met this problem with the same release it's likely to be a real problem and not just a blunder.
and some of the change

and thanks again for the fix, because i had fixed losing attributes, but was not accepting new ones.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #14 on: December 10, 2010, 02:29:57 PM »

proximo moved to http://www.rejetto.com/forum/index.php/topic,9321.0.html
Logged
Pages: [1] 2 3
  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 Today at 08:19:29 PM