development GUI-server 0.994

Started by Lutz, July 12, 2007, 02:11:25 PM

Previous topic - Next topic

Lutz

- finally stable execution of GUI apps from the editor



- new 'File/Save Settings' for saving font, colors etc



- many customizable features, see screen shot for WinXP with tabs on the right side:



http://newlisp.org/downloads/development/newlisp-edit-winXP.png">http://newlisp.org/downloads/developmen ... -winXP.png">http://newlisp.org/downloads/development/newlisp-edit-winXP.png



Changes: http://newlisp.org/downloads/development/CHANGES-GUI-0994.txt">http://newlisp.org/downloads/developmen ... I-0994.txt">http://newlisp.org/downloads/development/CHANGES-GUI-0994.txt



Files: http://newlisp.org/downloads/development/guiserver-0.994.tgz">http://newlisp.org/downloads/developmen ... -0.994.tgz">http://newlisp.org/downloads/development/guiserver-0.994.tgz



Docs: http://newlisp.org/downloads/development/guiserver-0.994/">http://newlisp.org/downloads/developmen ... ver-0.994/">http://newlisp.org/downloads/development/guiserver-0.994/





Lutz

HPW

#1
Quote
- new 'File/Save Settings' for saving font, colors etc


Works for me on background-color but not for font size.

And also not for window position and size.



There is a Tools main-menu but it does only show a micro-dropdown.

So no valid dropdown menu visible.


Quote--- saved settings in: C:Dokumente und Einstellungenwickh/newlisp-edit.config ---


Thats my path for the config file.

Is that the home-directory?

Shouldn't it be:

C:Dokumente und EinstellungenwickhAnwendungsdatennewLISP/newlisp-edit.config

or in english:

C:Dokuments and SettingswickhApplication DatanewLISP/newlisp-edit.config
Hans-Peter

Lutz

#2
At the moment settings only fonts and colors are supposed to be taken automatically in to the config file. Font size will be fixed in the next version. Window position and many other settings have to be set by editing the config file. Some of the settings are 'expensive' to implement and not planned in the forseeable future. More stuff will be added i.e. look&and feel.



The tools menu is empty at the moment and will start getting stuff in the next version.



I can move the config path to USERPROFILE. Is that environment variable working on all versions from Win95 to XP/Vista?



And another question: for the help menu I want to put in options to access HTML documentation, similar to what was done in the old newLISP-tk interface. I remember that with IE v.7.0 the mechanism broke. How do you open IE 7.0 from a program with an HTML file and link at the end? In IE 6 you could do: "ie.exe newlisp_manual.html#println" with all the correct paths of course. This seems not to be possible on IE 7.0?



Lutz

Lutz

#3
I meant to say APPDATA, not USERPROFILE. I am writing newliso-edit.config to USERPROFILE now. The question is is APPDATA valid on all versions of Windows?



Lutz

didi

#4
Until now i only tested/worked with the newlisp-edit.lsp under 0.994 . Cool new features  and until now all works fine :-)



While hacking the x-th version of my x-y-graphic  *)   i  found this :

- when changing the text with find/replace the 'store' button doen't go active , the text is not recognized as changed

- it's not important , but a replace-all function would sometimes be helpful.



Thankyou very much Lutz and a lot of  respect  !



*) the only disadvantage of newLISP is - you are never satisfied - you find every time a lisp-ier way to progamm it ;-)

HPW

#5
Quote
I meant to say APPDATA, not USERPROFILE. I am writing newlisp-edit.config to USERPROFILE now.


APPDATA makes more sense to me.

But will the config-file stay the only file there?

If not, I would sepnd a separate subdir for newLISP there.


Quote
The question is is APPDATA valid on all versions of Windows?


Not sure. When I am back in office after the holidays I can test on WIN2K and WIN NT4. My privat old WIN95 PC is broken lately, and I not sure if I should spend much efforts to get it back running. But WIN95/98 may have a problem.
Hans-Peter

HPW

#6
QuoteHow do you open IE 7.0 from a program with an HTML file and link at the end? In IE 6 you could do: "ie.exe newlisp_manual.html#println" with all the correct paths of course. This seems not to be possible on IE 7.0?


In the neobook plugin for newlisp I build a workaround:



I genereate a file newLISP_anchor.url dynamicly in (env "temp") with this content (sample with setq):



Line1: [InternetShortcut]

Line2: URL=file:///C:/Programme/newlisp/newlisp_manual.html#setq



Edit: Then I do a shellexecute "newlisp_anchor.url"



Not sure if this method work in IE6 and before.

This was the original topic:

http://www.alh.net/newlisp/phpbb/viewtopic.php?t=1578">http://www.alh.net/newlisp/phpbb/viewtopic.php?t=1578



So maybe it would be best to implement both methods and provide a manual switch in the new config file to choose the method. Or you have to detect browser version which can become a mess.
Hans-Peter

Lutz

#7
Thanks, I will try the shortcut method. I am pretty sure it works with both versions or IE.



Lutz