rejetto forum
February 04, 2012, 05:43:07 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 #253  (Read 3470 times)
0 Members and 1 Guest are viewing this topic.
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11754


View Profile
« on: January 28, 2010, 11:50:42 AM »

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

new commands are yet to be documented. i will soon.

what's new
+ new template macro: dir, disk free, filetime, file changed, load tpl
+ {.get|tpl file.}
- {.current downloads.} parameters 'user' and 'ip' were inverted
- connections box was not compatible with large system fonts 
Logged
Roessi
Experienced poster
***
Offline Offline

Posts: 95


314780875
View Profile Email
« Reply #1 on: January 28, 2010, 03:08:38 PM »

perfect thank you rejetto Smiley now its time to change the rawr tpl again Smiley
Logged

Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1468



View Profile WWW
« Reply #2 on: January 28, 2010, 05:25:43 PM »

some news in french version

http://www.rejetto.com/forum/index.php/topic,8140.msg1048315.html#msg1048315

forget to say: added one macro (non official)  {.get|external address.} which give your internet IP used by the self test.
 Wink


* easy mode with F7 bug.png (11.61 KB, 805x451 - viewed 228 times.)

* new file properties easy mode.png (6.4 KB, 399x424 - viewed 203 times.)
« Last Edit: January 29, 2010, 02:13:32 AM by Mars » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11754


View Profile
« Reply #3 on: January 29, 2010, 04:51:23 AM »

dialog1: fixed in the next build
dialog2: i don't understand why the "manage accounts" button is disabled.
there's nothing i know that can disable it.

how could the "external address" thing could be useful?
« Last Edit: January 29, 2010, 09:09:11 AM by Mars » Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1468



View Profile WWW
« Reply #4 on: January 29, 2010, 06:06:25 AM »

Quote
dialog2: i don't understand why the "manage accounts" button is disabled.
there's nothing i know that can disable it.
If the following modification is not made, we obtain, in easy mode, the same result as with dialog1. In dialog 2, the button is deactivated to have no this inconvenience.

have a look on the post build 253 FR, the main.pas (of rejetto) is attached with all necessary update

-------------------------------------------------------
procedure TmainFrm.Properties1Click(Sender: TObject);
begin
if selectedFile = NIL then exit;                                                                          
filepropFrm:=TfilepropFrm.Create(mainFrm);
filepropFrm.goToAccountsBtn.Enabled:=mainfrm.Accounts1.Visible;  //add in French Version
try
  if filepropFrm.showModal() = mrCancel then exit;
finally freeAndNIL(filepropFrm) end;
VFSmodified:=TRUE;
filesBox.invalidate();
end;



Quote
Quote from: Mars on Today at 11:04:09
NEXT version?? there is always a next version  

ok, now i got what you meant. you are right.

dialog1: fixed in next release

That it is absolutely sure!!! Cheesy  

« Last Edit: January 29, 2010, 06:11:24 AM by Mars » Logged
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1023


....... chut ! shh!


View Profile WWW
« Reply #5 on: January 29, 2010, 09:08:38 AM »


how could the "external address" thing could be useful?


I found a use in my case, display the external IP address in the web page, despite the use of a ban \127.0.0.1;192.XXX.XXX in HFS with Stunnel.

With %ip%, it shows only 127.0.0.1
« Last Edit: January 29, 2010, 07:04:33 PM by SilentPliz » Logged
rejetto forum
« Reply #5 on: January 29, 2010, 09:08:38 AM »

Do you like this software? Consider even $2
 Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1468



View Profile WWW
« Reply #6 on: January 29, 2010, 09:33:11 AM »

Quote
how could the "external address" thing could be useful?

This macro will reveal all its utility in the next build, but I cannot specify which version yet. Grin
Logged
Roessi
Experienced poster
***
Offline Offline

Posts: 95


314780875
View Profile Email
« Reply #7 on: January 29, 2010, 09:34:19 AM »

i dont get the dir command to be used cause of the | as delimiter every macro i use doesnt work cause of the pipes in the output of dir : - /
Logged

rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11754


View Profile
« Reply #8 on: January 30, 2010, 08:41:58 AM »

i dont get the dir command to be used cause of the | as delimiter every macro i use doesnt work cause of the pipes in the output of dir : - /

aw sheet, i was going to work on the problem before publishing, but i forgot it
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11754


View Profile
« Reply #9 on: February 02, 2010, 10:22:25 AM »

@roessi
well, i decided that the pipe is a good "by default" separator since you can easily use it with {.for each.}
example:

Code:
{.for each|#file|{.dir|E:\.}|{:
here's another one: {.^#file.}
:}.}

and so you don't even need your loop-function in this case.
but i'll add an optional parameter (in build #254) to let you specify the separator, in case you need to use {.dir.} in different cases.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11754


View Profile
« Reply #10 on: February 02, 2010, 11:45:46 AM »

If the following modification is not made, we obtain, in easy mode, the same result as with dialog1. In dialog 2, the button is deactivated to have no this inconvenience.

ah, that's it. It was you.
I think in this "way" you should opt for hiding the button instead of disabling. less cluttering.
from my side, at the moment i decided to keep the button, and enabled.

i'm still undecided, but if i come to removing that button, i think i will also hide
- the accountsBox on the left
- "new account"
- "all/none"
- "any account"
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11754


View Profile
« Reply #11 on: February 02, 2010, 11:48:17 AM »

Yoss moved to http://www.rejetto.com/forum/index.php/topic,8174.0.html
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1468



View Profile WWW
« Reply #12 on: February 02, 2010, 11:54:49 AM »

Quote
i'm still undecided, but if i come to removing that button, i think i will also hide
- the accountsBox on the left
- "new account"
- "all/none"
- "any account"
 

or simply this mod
Quote
begin
procedure TmainFrm.filemenuPopup(Sender: TObject);
.....
// default values
setDefaultValues(filemenu.items);
Addfiles1.visible:=TRUE;
Addfolder1.visible:=TRUE;
Properties1.visible:=not easyMode;
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11754


View Profile
« Reply #13 on: February 02, 2010, 11:59:35 AM »

I found a use in my case, display the external IP address in the web page, despite the use of a ban \127.0.0.1;192.XXX.XXX in HFS with Stunnel.
With %ip%, it shows only 127.0.0.1

ah, that's ok
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11754


View Profile
« Reply #14 on: February 02, 2010, 12:00:22 PM »

or simply this mod

it's meant as a provocation? Wink
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1468



View Profile WWW
« Reply #15 on: February 06, 2010, 12:15:59 PM »

For you who likes the simplicity, this solution should delight you.   Grin



When loading a new or recent VFS , if the actual is modified , there was nothing to ask saving before.

From now on it will exist in the future build. Wink

Quote
procedure TmainFrm.Loadfilesystem1Click(Sender: TObject);
var
  fn: string;
begin
if blockLoadSave() then exit;
if VFSModified then
 case msgDlg('VFS has changed, save current file system before open new?',MB_ICONINFORMATION+MB_YESNOCANCEL) of
    IDYES: begin
           mainfrm.saveVFS(lastFileOpen);
           if not VFSModified then msgDlg('The VFS was correctly saved,'#13#13'click on OK to continue', MB_ICONASTERISK);
           end;
    IDNO: ; // just go on
    IDCANCEL: exit;
    end;
fn:='';
if PromptForFileName(fn, 'VirtualFileSystem|*.vfs', 'vfs', 'Open VFS file') then
  loadVFS(fn);
end;

............

procedure Tmainfrm.recentsClick(sender:Tobject);
var
  i: integer;
begin
if blockLoadSave() then exit;
i:=strToInt((sender as Tmenuitem).Caption[3]);
if i > length(recentFiles) then exit;
dec(i); // convert to zero based
if FileExists(recentFiles) then
  if vfsmodified then
  case msgDlg('VFS has changed, save current file system before select new file?',MB_ICONINFORMATION+MB_YESNOCANCEL) of
    IDYES: begin
           mainfrm.saveVFS(lastFileOpen);
           if not VFSModified then msgDlg('The VFS was correctly saved,'#13#13'click on OK to continue', MB_ICONASTERISK);
           end;
    IDNO: begin        
           loadVFS(recentFiles)
           end;
    IDCANCEL: exit;
    end
  else
  loadVFS(recentFiles)
else
  begin
  msgDlg('The file does not exist anymore', MB_ICONERROR);
  removeString(recentFiles, i);
  updateRecentFilesMenu();
  end;
end;

« Last Edit: February 15, 2010, 06:08:46 AM by SilentPliz » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11754


View Profile
« Reply #16 on: February 08, 2010, 09:14:25 AM »

good point mars.

but i opted for adding just this line to both procedures:
if not checkVfsOnQuit() then exit;

isn't it enough?
Logged
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 February 03, 2012, 02:44:13 AM
anything