This is a little awkward: to change a variable used as key to an
assignment, one first had to change the name such that it doesn't
clash, hit Enter, and then edit the variable again to change its
type.
Variable type changes should pick up the edit in progress and allow
a type change to also imply acceptance of the variable.
If the package whose name is produced by the active variable values
is active and the variables change, then make the newly active
package the one whose name is produced by the changed variables.
This way, iterating through a table or a loop will automatically
switch to the right package, with the exception that, if the user
choses to explicitly select a different package (by clicking on
its name in the packages line), then that selection takes priority.
Explicit selection loses its priority when active package and active
variables coincide again. I.e., one can simply "catch" the active
package by activating the corresponding values.
active_pkg can become NULL if the root frame contains a loop that
will never execute, i.e., loop x = 1, 0
This caused fped to segfault when FOR_PKG_INSTS was called from
FOR_ALL_INSTS in inst_draw.
We need explicit rules to compile lex.yy.c and y.tab.c for the relaxed
CFLAGS. However, this means that the implicit rule was not used and
therefore no dependencies were generated.
Instances of measurements referencing vectors not instantiated were
only partially initialized (because only inst_meas_hint was called
on them but never inst_meas) but still left in the list of instances.
They were thus displayed, producing confusing results.
We now trace a measurement instance's validity and remove all invalid
instances at the end of instantiate_meas.
We just use "_" in this case. Before, "expand" returned NULL, which
inst_select_pkg interprets as the global package. This in turn caused
no further packages to be defined and thus active_pkg stayed NULL.
This finally led to a crash in inst_draw.
- Makefile (UPLOAD), README, debian/control (Homepage, Description),
fped.1: the GUI page is now on downloads.qi-hardware.com instead
of people.openmoko.org
- debian/copyright, fped.1: changed e-mail from werner@openmoko.org
to werner@almesberger.net
- README: changed repository from Openmoko SVN to Qi-Hardware git
- Makefile (CFLAGS): renamed cpp macro SVN_VERSION to VERSION
- Makefile (SVN_VERSION, SVN_STATUS): renamed to GIT_VERSION and
GIT_STATUS and switched to corresponding git command
- Makefile (.PHONY, update): removed this little-used target
The caller assumes that any error would be signaled via errno. A proper
solution would be to allow also for non-errno errors.
git-svn-id: http://svn.openmoko.org/trunk/eda/fped@6004 99fdad57-331a-0410-800a-d7fa5415bdb3
Such names have an invalid size and may trip the Postscript/PDF interpreter.
- postscript.c (ps_pad_name): don't output names consisting only of spaces
git-svn-id: http://svn.openmoko.org/trunk/eda/fped@6002 99fdad57-331a-0410-800a-d7fa5415bdb3
with a selected object but no selected instance. In this case, don't try to
re-select. (Not perfect, but better than the crash this caused so far.)
git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5999 99fdad57-331a-0410-800a-d7fa5415bdb3
- gui_inst.c (gui_draw_pad_text): box_min and box_max were initialized to
an undefined value, upsetting valgrind and yielding an incorrect
location if pad and hole had the same size
git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5994 99fdad57-331a-0410-800a-d7fa5415bdb3