Happy Holidays Patrick,
>As announced previously, I have modified the component selection
>dialog to put together the directory and component names in the same
>tree and reorganized slighly the overall dialog layout.
Cool. Thanks for posting the code.
>Also note that I have modified both libgeda and gschem to avoid the
>current working directory change whenever you load a file or change
>page. The guile load function now saves the input port it reads data
>from. This way the rc function can actually determine the path to the
>file and use it (nothing really innovative, this is the way the
>original load work in libguile).
Actually, I think the behavior of changing the directory when
a schematic is loaded is desireable? Yes, no? I'm willing to be
convinced otherwise, but my expectations are that when I open up
a schematic in directory A, then when I go to open / save, I should
be in directory A.
>
>And finally I have introduced methods to manipulate pages in the
>window, namely open a file, an untitled page and change current page
>(see gschem/x_window.nw).
I like these changes, since they simplify gschem.nw quite a bit.
At the last freedog meeting we actually spent some time playing
with your dialog boxes and here are some random comments:
* Save dialog should put in a current filename if possible.
* The current behavior is that untitled_* starts at one, instead of zero.
Any reason to change this?
* Change directory not working anymore. Kind of odd since you surf over
somewhere, and you expect to open subsequent schematics in that directory.
See above comments.
* Can't open up gTAG.sch without missing symbols. Did not read gschemrc
file, but directories wiht gafrc open fine. This might be existing
behavior/bug, but we should fix it anyways to also look for local gschemrc
files.
* Maybe make some more room on the component insert dialog for more
information, such as description, author, comments, etc...
Maybe hidden by default. Maybe a link to load the documentation as well.
* Filter/Search behavior should expand all trees?
* Would be nice to able to use wildcards on filters
* Stuart has been advocating a google like search for all parts of a symbol
(actually go inside the symbol). This might be a future enhancement,
but it would provide an interface that people are already familiar with.
* Old search behavior allowed for continued searching. I'm not exactly sure
what I ment by this, but the old dialog allowed you to type in a search
phrase and if you keep hitting enter in the entry box, the dialog would
automatically go to the next item. Not sure if this is appropriate.
* Please make the insert component dialog box a little bigger
* Double click on library name should expand if possible
* I notice that you stripped out a whole bunch of gnetlist related things
from libgeda/struct.h. Is this part of some sort of reorg or just to make
hacking easier?
Thanks for you patience with these comments. I was planning on integrating
the load/save changes into CVS for the next release, but I think I would
rather wait and get all your changes in at once (both dialog boxes), so
please hold off in checking in your changes until I release. Thanks.
I'm looking forward to getting these greatly improved dialog boxes into
a release at some point.
-Ales