rejetto forum
May 25, 2012, 04:46:15 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]
  Print  
Author Topic: Testing build #189  (Read 2688 times)
0 Members and 1 Guest are viewing this topic.
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« on: July 11, 2008, 07:46:33 AM »

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

what's new
+ log toolbar: button to copy to editor only matched lines
+ default template editor is notepad++ (if installed) instead of notepad
- UTF-8 support broken in build #188 http://www.rejetto.com/forum/index.php?topic=6001.msg1035602#msg1035602
- problem with default template editor (notepad) and Vista http://www.rejetto.com/forum/index.php?topic=6001.msg1035615#msg1035615
- graphical glitches introduced in build #188
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #1 on: July 11, 2008, 11:17:28 AM »

1) i have an DDE error when i choice wordpad.exe as default editor
    image dde error.png

2) when choose winword or excel  as default editor( for test only), another error is detected
  image office.png

Morality: do not use a product interpreting data as html text (excepted notepad++)



* dde error.png (6.39 KB, 588x139 - viewed 257 times.)

* office.png (4.17 KB, 434x218 - viewed 269 times.)
« Last Edit: July 11, 2008, 11:26:09 AM by mars » Logged
Pit
Tireless poster
****
Offline Offline

Germany Germany

Posts: 115


P_Hampel@gmx.net
View Profile WWW
« Reply #2 on: July 11, 2008, 11:36:12 AM »

In Build 189 i have at download no entries under IP, Filename und no visible %graph in the downloadwindow (current connections).
When i'am go back to Build 188 all this works. correctly.
« Last Edit: July 12, 2008, 02:24:21 AM by Pit » Logged

You reach our Webserver every day between 9 AM to 10 PM under: http://phampel.dyndns.org or http://free4you.dyndns.org
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #3 on: July 11, 2008, 11:44:21 AM »

Pit new default values are

            Text = 'IP address'
            Text = 'File'
            Text = 'Status'
            Text = 'Speed'
            Text = 'Time left'
            Text = 'Progress'
          
« Last Edit: July 11, 2008, 11:54:44 AM by mars » Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #4 on: July 11, 2008, 11:49:18 AM »

Modified version of hfs that integrate this function, can every body test and report, specially with system as Vista, win2003Server, Win2000,  Win98 ....
(Please do not report with WIN XP system)


Quote
procedure TmainFrm.Edit1Click(Sender: TObject);

  function getDefaultTextEditor():string;
  var editor:string;
  begin
  //search the openas default program for .txt extension
  editor:=lowercase(loadregistry('Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt','application',HKEY_CURRENT_USER));
  //If the value does not exist, then load  contents
  //of default 'Open Command' value for the same extension

  if editor='' then
    begin
    editor:=loadregistry('.txt','',HKEY_CLASSES_ROOT);
    editor:=lowercase(loadregistry(editor+'\shell\Open\command','',HKEY_CLASSES_ROOT));
    editor:=chop('.exe',editor);
    while pos('\',editor)>0 do chop('\',editor);
    editor:=editor+'.exe';
    end;
  //path of editor is automatic with windows XP by associate an extension with a program file
  result:=editor;
  end;


begin
if not fileExists(tplFilename) then
  begin
  tplFilename:=TPL_FILE;
  saveFile(tplFilename, defaultTpl);
  end;
exec(or_([
  tplEditor,
  getDefaultTextEditor(),
  loadregistry('SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\notepad++.exe', '', HKEY_LOCAL_MACHINE),
  'notepad.exe'
]), '"'+tplFilename+'"');
end;


When changing external template, you can see it now in the external editor

Quote
procedure TmainFrm.Changefile1Click(Sender: TObject);
begin
tplImport:=selectFile(tplFilename, 'Change template file', 'Template file|*.tpl', [ofPathMustExist, ofCreatePrompt]);
Edit1Click(edit1);
end;
« Last Edit: July 17, 2008, 02:55:47 PM by mars » Logged
TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #5 on: July 12, 2008, 12:19:58 AM »

In Build 189 i have at download no entries under IP, Filename und no visible %graph in the downloadwindow (current connections).
And change file for the .tpl file didn´t work.
now i'am go back to Build 188 and all this works. correctly.

You are correct Pit. Rejetto must have missed a variable. But I really like the columns like that, it looks much better. Even the layout is better thought.

And attached I have made a better suited icon for the slider. It is smaller and vertical center. If you would like I will edit the original icon, so it has opacity, I can't tell if its a gif or a png.


* BETTER.gif (22.77 KB, 791x506 - viewed 267 times.)
Logged

rejetto forum
« Reply #5 on: July 12, 2008, 12:19:58 AM »

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

Italy Italy

Posts: 11830


View Profile
« Reply #6 on: July 12, 2008, 12:25:34 PM »

editor:=lowercase(loadregistry('Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt','application',HKEY_CURRENT_USER));

thanks for trying mars, but at such registry key, i have "pspad.exe" (correct) with no path, and it is not enough, because the containing folder of the program is not in the "path" enviroment variable.
i guess the path must be found somewhere else.
Logged
Pages: [1]
  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 08, 2012, 06:26:41 PM