development GUI-server v.0.98

Started by Lutz, July 06, 2007, 10:47:01 AM

Previous topic - Next topic

Lutz

- many fixes, additions and some changes



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



File: http://newlisp.org/downloads/development/guiserver-0.98.tgz">http://newlisp.org/downloads/developmen ... r-0.98.tgz">http://newlisp.org/downloads/development/guiserver-0.98.tgz



Lutz

HPW

#1
Nice additions!


Quote
gs:open-file had problems with file masks (changed parameter format)


But with various text-formats no directory's does appear!

Intention or bug?


Quote
splash screen working, see doc for new gs:dispose-splash


Nice, but there seems to appear a dark/black frame before the newlisp-logo appears. Look like flickering.

Can it be improved to set the visibility when the logo is ready to show?
Hans-Peter

Lutz

#2
QuoteBut with various text-formats no directory's does appear! Intention or bug?


This is how it should work. You have have a pull down combobox for drectories on the top of the dialog. If you want to see the directories in the file windows choose "ALl Files" from the filetype combobox.


QuoteNice, but there seems to appear a dark/black frame before the newlisp-logo appears.


What you have is the best what can be done on a machine without transparency support in Java. The load function tracks the loading using the MediaTracker API and doesn't display before the bitmap is fully loaded.



Do your see this?


GUI-server v.0.98
 double buffering supported.


it shows you if you graphics card (on Win32) supports double buffering or not.



Lutz

HPW

#3
QuoteDo your see this?


Yep.


Quote
C:Programmenewlisp>newlisp widgets-demo.lsp

GUI-server v.0.98

 double buffering supported.

 listening on 47011

 accepted connection from 0.0.0.0

 connecting to 0.0.0.0:47012

GUI-server connected

server shut down



C:Programmenewlisp>
Hans-Peter

HPW

#4
When the logo appears and I click on it, it disappear immediatly instead of displaying until (gs:dispose-splash) is reached.
Hans-Peter

didi

#5
This is the second try - lost my first posting ...



Happy to see the new draw-path and export function :-)  It's a pity, that just now i have so little time for hacking and testing  *grrr*



newLISP-edit:

The find function highlights the wrong text, a bit after the search-expression ( Win2k) .

When opening a file, first the "all text" is selected and no directories are displayed, after selecting "all files" , the directories appear.

After consecutive searches the program quits, sometimes with an error-message.



While programming with the newLISP-editor i miss sometimes a 'clear output-window' .  Now and then  i still use the older 'console.lsp" because of the overview-windows - or is there a command which displays all vars of a context? -  ok i could save the context and load it back to check it.



PS: this week on itc there was an interview/podcast  with Simon Phipps, the chief of the open source at sun - i think it was a good decision to use the java-runtime as a base for the newLISP-gui-server- seems java comes alive ;-)

OK - maybe someone should give them a tip, that here is the smarter way to build gui's .. ;-)

HPW

#6
Is it right that gs:export use the last created canvas or the current canvas set with gs:set-canvas?



If so, it should be mentioned in the doc.
Hans-Peter

HPW

#7
Any plans to add hints/tooltips to guiserver objects?
Hans-Peter

Lutz

#8
QuoteWhen the logo appears and I click on it, it disappear immediatly instead of displaying until (gs:dispose-splash) is reached.


this is by design and mentioned in the documentation for gs:dispose-splash


QuoteWhen opening a file, first the "all text" is selected and no directories are displayed


This is how Java has implemented file masks on Windows (on Mac OS X directories are only dimmed). Use the directory pull down menu on top of the dialog box. This question has been already asked yesterday ;)


Quote i miss sometimes a 'clear output-window


I miss that too, ;). Its on the list, one day ...


Quotei still use the older 'console.lsp"


I abandoned it for now because of too many problems to get the context and variable listbox update right. I may give it a second shot, but not before the next official relase in Ausgust. At the moment each time you hit the newLISP run-button a new instance of newLISP is started, no state is kept. Not as usefull but at least stable and predictable for the moment.


Quotei think it was a good decision to use the java-runtime as a base for the newLISP-gui-server- seems java comes alive


yes, I am also happy with this decision. Nobody can compete with the funcitonality Java is offering in it's APIs (today undo/redo in the newLISP editor was implemented in less than 2 hours)


Quotes it right that gs:export use the last created canvas or the current canvas set with gs:set-canvas?


its true for all canvas operationss. The current one is always the last created or the one set with gs:set-context (see documentation).




QuoteAny plans to add hints/tooltips to guiserver objects?


They have been there for several weeks and are documented in gs:set-tool-tip. In newlisp-edit.lsp you can see them in action for the image buttons.





Lutz

HPW

#9
Quotethis is by design and mentioned in the documentation for gs:dispose-splash


QuoteThey have been there for several weeks and are documented in gs:set-tool-tip. In newlisp-edit.lsp you can see them in action for the image buttons.


Oops, I missed that. Sorry.
Hans-Peter