Peter Clifton [Tue, 17 Apr 2007 13:00:54 +0000 (17 13:00 +0000)]
Fixed code left accidentally when removing an obsolete #if 0'd out
section.
Stuart Brorson [Mon, 16 Apr 2007 11:57:50 +0000 (16 11:57 +0000)]
Added DOxygen comment pragma to many .c files.
Ales Hvezda [Mon, 16 Apr 2007 03:04:11 +0000 (16 03:04 +0000)]
Added .cvsignore files
Ales Hvezda [Mon, 16 Apr 2007 03:00:27 +0000 (16 03:00 +0000)]
Added missing test to prevent a seg fault when loading up a schematic with missing attributes.
Ales Hvezda [Mon, 16 Apr 2007 02:57:14 +0000 (16 02:57 +0000)]
Added .cvsignore
Ales Hvezda [Mon, 16 Apr 2007 02:55:35 +0000 (16 02:55 +0000)]
Fixed memory leak reported by valgrind
Ales Hvezda [Mon, 16 Apr 2007 02:54:52 +0000 (16 02:54 +0000)]
Added missing .cvsignore
Stuart Brorson [Sun, 15 Apr 2007 23:20:30 +0000 (15 23:20 +0000)]
Made --gentle the default behavior of refdes_renum.
Stuart Brorson [Sun, 15 Apr 2007 23:17:11 +0000 (15 23:17 +0000)]
Updated after change default behavior of refdes_renum to --gentle.
Stuart Brorson [Sun, 15 Apr 2007 23:14:18 +0000 (15 23:14 +0000)]
Updated after making --gentle default behavior of refdes_renum.
Stuart Brorson [Sun, 15 Apr 2007 13:53:19 +0000 (15 13:53 +0000)]
Created framework to generate DOxygen documentation for gattrib.
Stuart Brorson [Sun, 15 Apr 2007 00:45:03 +0000 (15 00:45 +0000)]
Added a bunch of tests for the --gentle option to the regression
test suite.
Stuart Brorson [Sun, 15 Apr 2007 00:42:21 +0000 (15 00:42 +0000)]
Added --gentle flag to refdes_renum, which won't renumber refdeses
which already have a number.
Carlos Nieves Onega [Sat, 14 Apr 2007 19:47:22 +0000 (14 19:47 +0000)]
Added an "ok" button to the component selector.
* include/x_compselect.h, src/i_callbacks.c, src/x_compselect.c:
Added an "ok" button to the component selector, which hides it
while the user places the components.
Carlos Nieves Onega [Sat, 14 Apr 2007 19:19:43 +0000 (14 19:19 +0000)]
Added autoplacement grid.
* lib/system-gschemrc.in:
- Added autoplacement grid.
Carlos Nieves Onega [Sat, 14 Apr 2007 19:18:26 +0000 (14 19:18 +0000)]
Use ceiling instead of inexact->exact.
* scheme/auto-place-attribs.scm:
- Use ceiling instead of inexact->exact.
Carlos Nieves Onega [Sat, 14 Apr 2007 18:33:53 +0000 (14 18:33 +0000)]
Added complex place list hook in the list of attribute autoplacement hooks.
* lib/system-gschemrc.in:
- Added complex list changed hook to the hooks to be enabled
if the user wants attribute autoplacement.
Carlos Nieves Onega [Sat, 14 Apr 2007 18:23:17 +0000 (14 18:23 +0000)]
Added support for net and bus attribs autoplacement and fixed some bugs.
* scheme/auto-place-attribs.scm:
- Added support for net and bus attributes.
- In adjust_pos_to_avoid_collision, don't loop again if
the offset is changed, and fixed x_offset instead of y_offset
bug.
Carlos Nieves Onega [Sat, 14 Apr 2007 18:16:28 +0000 (14 18:16 +0000)]
Added default positions for netname and device attribs.
* lib/system-gschemrc.in:
- Added default positions for device and netname attributes
in default-position-of-text-attributes,
Carlos Nieves Onega [Sat, 14 Apr 2007 18:11:44 +0000 (14 18:11 +0000)]
Fixed get bounds funcs so they don't traverse the whole object list.
* src/g_hook.c: Fixed custom_world_get_single_object_bounds,
and custom_world_get_object_list_bounds, so they don't traverse
the whole object list.
Carlos Nieves Onega [Sat, 14 Apr 2007 18:05:13 +0000 (14 18:05 +0000)]
Added complex place list changed hook.
* include/globals.h, include/prototype.h, src/g_register.c,
src/globals.c, src/o_complex.c, src/x_event.c:
Added complex place changed hook.
This is the list used when placing new components.
Dan McMahill [Sat, 14 Apr 2007 03:19:43 +0000 (14 03:19 +0000)]
refdes_renum testsuite
Dan McMahill [Sat, 14 Apr 2007 03:18:20 +0000 (14 03:18 +0000)]
add refdes_renum testsuite
Dan McMahill [Sat, 14 Apr 2007 03:18:01 +0000 (14 03:18 +0000)]
install pcb_backannotate
Dan McMahill [Sat, 14 Apr 2007 03:16:01 +0000 (14 03:16 +0000)]
fix a long standing bug where not specifying "--pgskip" was the same
as "--pgskip 100"
Ales Hvezda [Wed, 11 Apr 2007 00:16:22 +0000 (11 00:16 +0000)]
Added omega font character
Carlos Nieves Onega [Fri, 6 Apr 2007 22:22:49 +0000 (6 22:22 +0000)]
Redraw the schematic after changing the snap size.
* src/x_dialog.c: Redraw the schematic after changing the snap size.
Thanks to Peter Clifton for reporting the bug. Closes bug
#
1657496.
Carlos Nieves Onega [Fri, 6 Apr 2007 01:09:36 +0000 (6 01:09 +0000)]
Improved autoplacing, automatically moves attribs when overlapping pins.
* lib/system-gschemrc.in, scheme/auto-place-attribs.scm:
Improved the auto placing: if the attribute overlaps with pins
(including pinnumbers), or the pin connection direction where
a net is supposed to be drawn, then the attributes are moved
automatically.
Carlos Nieves Onega [Thu, 5 Apr 2007 22:59:56 +0000 (5 22:59 +0000)]
g_get_object_type now returns a character instead of a string.
* src/g_smob.c: make g_get_object_type scheme function return
a character instead of a string.
Carlos Nieves Onega [Thu, 5 Apr 2007 22:57:47 +0000 (5 22:57 +0000)]
Register the OBJ_* object type definitions as scheme character variables.
* include/o_types.h, include/prototype.h, src/g_register.c,
src/libgeda.c :
Register the OBJ_* object type definitions as scheme character
variables.
Carlos Nieves Onega [Thu, 5 Apr 2007 16:02:06 +0000 (5 16:02 +0000)]
Added calcule-new-attrib-bounds & get-attrib-value-by-attrib-name scheme funs
* include/prototype.h, src/g_smob.c: Added two new scheme functions:
- g_calcule_new_attrib_bounds: calcule the new bounds of an
attribute with the given parameters, _without_ modifying the
attribute.
- g_get_attrib_value_by_attrib_name: given an object and an
attribute name, this function returns a list with the values
of the attributes with the given name in that object.
Stuart Brorson [Tue, 3 Apr 2007 11:24:30 +0000 (3 11:24 +0000)]
Temp fix for bug
1692431 -- don't put net= attribute into component attrib table.
Peter Clifton [Sat, 31 Mar 2007 13:26:54 +0000 (31 13:26 +0000)]
Fixed confirm save on page-close dialogs to correctly
cancel, rather than assert if the dialog is closed with the
ESCAPE key, or with the window-manager's destroy button.
Peter Clifton [Sun, 25 Feb 2007 02:15:55 +0000 (25 02:15 +0000)]
Replaced some loosely typed function pointers with more strongly typed pointers.
Pointers such as void (*draw_func)() don't allow the compiler to check for incompatible pointer assignment.
Replacing with strictly typed pointers increases robustness.
Peter Clifton [Sat, 24 Feb 2007 18:43:09 +0000 (24 18:43 +0000)]
Merge changes to date from noscreen branch.
Werner Hoch [Sat, 24 Feb 2007 12:17:43 +0000 (24 12:17 +0000)]
* x_dialog.c: removed unused functions generic_text_input*
* x_basic.c: removed unused dialog functions x_create_dialog_box*
Werner Hoch [Sat, 24 Feb 2007 11:58:20 +0000 (24 11:58 +0000)]
missing Changelog entry for the keymap patch
Werner Hoch [Sat, 24 Feb 2007 11:47:29 +0000 (24 11:47 +0000)]
added Patricks keymap patch:
* scheme/gschem.scm (dump-keymap): New procedure for
g_keys_dump_keymap() replacing old fill-mapped-keys.
* src/g_register.c, src/g_funcs.c (g_funcs_key_*):
Removed functions. Replaced with g_keys_dump_keymap()
* src/g_keys.c (g_keys_dump_keymap): New function to obtain
current keymap from scheme.
* src/x_event.c, src/gschem.c, src/g_keys.c:
Removed empty function set_window_current_key()
* src/gschem.c, src/x_dialog.c: Adaptation for new
g_keys_dump_keymap(). (Patches written by Patrick Bernaud)
Werner Hoch [Sat, 24 Feb 2007 10:46:23 +0000 (24 10:46 +0000)]
* include/struct.h, src/s_page.c, src/s_toplevel.c: Removed unused
fields in PAGE and TOPLEVEL as well as functions for old (GtkCList
based) page manager. (Patch written by Patrick Bernaud)
Werner Hoch [Sat, 24 Feb 2007 10:45:41 +0000 (24 10:45 +0000)]
* src/x_window.c (x_window_search_page_clist(): Removed unused
function (no more needed in page manager).
(Patch written by Patrick Bernaud)
Carlos Nieves Onega [Fri, 23 Feb 2007 19:24:32 +0000 (23 19:24 +0000)]
Added two new hotkeys to increase and decrease the snap grid size.
* include/prototype.h, lib/system-gschemrc.in, src/g_keys.c,
src/g_register.c, src/i_callbacks.c:
Added two new hotkeys to increase and decrease the snap grid size.
Feature Request #
1443637. Thanks to KaiMartin for the suggestion.
Carlos Nieves Onega [Fri, 23 Feb 2007 19:17:02 +0000 (23 19:17 +0000)]
In case of error, free the GError after using it, and don't unlink the file.
* src/x_image.c: Free the GError after using it, and don't unlink
the image file in case of errors. It's not always safe.
For example: if the operation was not allowed due to permissions,
the _previous existing_ file will be removed.
Carlos Nieves Onega [Thu, 22 Feb 2007 17:19:56 +0000 (22 17:19 +0000)]
Changed the title of the write image dialog.
* lib/system-gschemrc.in : Changed the title of the save image
dialog from "Write PNG..." to "Write image...", since gschem can
now support more types than PNG.
Carlos Nieves Onega [Thu, 22 Feb 2007 17:18:28 +0000 (22 17:18 +0000)]
Refactored the export image dialog.
* include/prototype.h, src/g_funcs.c, src/i_callbacks.c,
src/x_image.c:
Changed the export image dialog by a new one using a GTK
file chooser dialog with image size and image type drop-down
lists.
If compiled without libgd support (therefore using libgdk-pixbuf),
gschem will support several image types (like PNG, JPEG and ICO).
Carlos Nieves Onega [Tue, 20 Feb 2007 12:27:14 +0000 (20 12:27 +0000)]
Fix bug #
1663729. Create the 'devfiles' dir if needed.
* scheme/gnet-allegro.scm: Fix bug #
1663729.
When writing the device files, check if 'devfiles' directory
exists and create it if needed.
Stuart Brorson [Sun, 18 Feb 2007 23:31:39 +0000 (18 23:31 +0000)]
Fixed automake stuff so 2N3904 model would be installed.
Ales Hvezda [Sat, 17 Feb 2007 04:49:57 +0000 (17 04:49 +0000)]
Updated golden files
Ales Hvezda [Sat, 17 Feb 2007 04:47:34 +0000 (17 04:47 +0000)]
Copyright date update
Ales Hvezda [Sat, 17 Feb 2007 04:09:51 +0000 (17 04:09 +0000)]
Changed raise-dialog-boxes-on-expose to be disabled by default.
Ales Hvezda [Sat, 17 Feb 2007 03:56:38 +0000 (17 03:56 +0000)]
Fix to get make distcheck to pass
Ales Hvezda [Sat, 17 Feb 2007 03:19:56 +0000 (17 03:19 +0000)]
Another commit of make dist updated po/pot files
Ales Hvezda [Sat, 17 Feb 2007 03:15:39 +0000 (17 03:15 +0000)]
Temporarily disabled make check to get past make distcheck.
Ales Hvezda [Sat, 17 Feb 2007 02:41:29 +0000 (17 02:41 +0000)]
Updated golden file
Ales Hvezda [Sat, 17 Feb 2007 02:13:55 +0000 (17 02:13 +0000)]
Updated schematics to get rid of symbol warnings.
Ales Hvezda [Sat, 17 Feb 2007 01:57:02 +0000 (17 01:57 +0000)]
Fixed update component to work again and made update component unselect all
non OBJ_COMPLEX objects to give the user some feedback that something happened.
Ales Hvezda [Sat, 17 Feb 2007 00:26:03 +0000 (17 00:26 +0000)]
Updated Dutch translation from Bert Timmerman. Thanks.
Patrick Bernaud [Fri, 16 Feb 2007 13:25:50 +0000 (16 13:25 +0000)]
Updated the French translation
Carlos Nieves Onega [Thu, 15 Feb 2007 18:46:16 +0000 (15 18:46 +0000)]
Added test for the new small mu greek char.
* test/ext_chars.sch: Added test for the new small mu greek char.
Carlos Nieves Onega [Thu, 15 Feb 2007 18:43:49 +0000 (15 18:43 +0000)]
Added the greek mu character.
* system-gafrc.in, font/mu_.sym: Added the greek mu character.
Carlos Nieves Onega [Wed, 14 Feb 2007 21:19:10 +0000 (14 21:19 +0000)]
Removed debug messages in autogen.sh added on 2007-02-10.
Carlos Nieves Onega [Wed, 14 Feb 2007 19:57:49 +0000 (14 19:57 +0000)]
Added test for the new characters of the hungarian charset.
* test/ext_chars.sch: Added test for the new characters of
the hungarian charset.
Carlos Nieves Onega [Wed, 14 Feb 2007 19:32:16 +0000 (14 19:32 +0000)]
Added missing characters for hungarian charset.
* system-gafrc.in,
font/o_-double-acute-accent.sym, font/O-double-acute-accent.sym
font/u_-double-acute-accent.sym, font/U-double-acute-accent.sym:
Added the four missing characters for the complete
hungarian charset:
- o and O with double acute accent,
- u and U with double acute accent.
They were contributed by Sztrikó János. Thanks.
Dan McMahill [Wed, 14 Feb 2007 01:36:21 +0000 (14 01:36 +0000)]
update with --skip-m4 for gsch2pcb
Dan McMahill [Wed, 14 Feb 2007 01:31:40 +0000 (14 01:31 +0000)]
Following the principle of least suprise use "--skip-m4" for the command
line and "skip-m4" for the project file that can be included to skip
m4. This way users don't have to do anything to keep the old behaviour.
This replaces the rather short lived (< 1 week) --use-m4.
Ales Hvezda [Tue, 13 Feb 2007 02:35:38 +0000 (13 02:35 +0000)]
Oops checked in a generated file accidentally
Ales Hvezda [Tue, 13 Feb 2007 02:30:11 +0000 (13 02:30 +0000)]
Updated all wiki/Makefile.am files with new wiki content
Ales Hvezda [Tue, 13 Feb 2007 02:26:14 +0000 (13 02:26 +0000)]
Added new wiki content (Makefiles not updated yet)
Ales Hvezda [Tue, 13 Feb 2007 01:50:14 +0000 (13 01:50 +0000)]
Updated wiki snapshot from the live gEDA wiki. Phase I (only changed
content; new content coming in next phase).
Ales Hvezda [Tue, 13 Feb 2007 01:38:17 +0000 (13 01:38 +0000)]
Updated version in toplevel Makefile
Werner Hoch [Mon, 12 Feb 2007 17:09:51 +0000 (12 17:09 +0000)]
* src/x_autonumber.c: added gettext makro _() for sort options
Stuart Brorson [Mon, 12 Feb 2007 00:05:26 +0000 (12 00:05 +0000)]
gnetlist:safe-string-head -> safe-string-head
Stuart Brorson [Sun, 11 Feb 2007 21:53:26 +0000 (11 21:53 +0000)]
Changed string-pad-right to safe-string-head. Added safe-string-head to
gnetlist.scm.
Stuart Brorson [Sun, 11 Feb 2007 21:50:31 +0000 (11 21:50 +0000)]
Fixed bug I caused at code sprint, in which deleted attributes were not
removed from the saved design.
Carlos Nieves Onega [Sun, 11 Feb 2007 20:12:54 +0000 (11 20:12 +0000)]
po/es_ES.po: Updated spanish translation.
Carlos Nieves Onega [Sun, 11 Feb 2007 18:26:12 +0000 (11 18:26 +0000)]
* ChangeLog: added author entry for the commits Ales made yesterday.
Stuart Brorson [Sun, 11 Feb 2007 14:23:46 +0000 (11 14:23 +0000)]
Incorporated patch from Jeff Mallatt enabling SPICE
netlisting of slotted parts.
Stuart Brorson [Sun, 11 Feb 2007 14:16:31 +0000 (11 14:16 +0000)]
Updated SPICE example .cir files.
Werner Hoch [Sun, 11 Feb 2007 09:55:48 +0000 (11 09:55 +0000)]
* src/s_toplevel.c: added missing toplevel inits (tshowwindow, ...)
Werner Hoch [Sun, 11 Feb 2007 08:51:38 +0000 (11 08:51 +0000)]
* po/de_DE.po: updated german translation
* po/*po: updated files to add the strings for the attribute editor
Werner Hoch [Sun, 11 Feb 2007 07:39:48 +0000 (11 07:39 +0000)]
* include/prototypes.h: removed unused declarations
* src/x_attribedit.c: switched the single attribut editor to GtkDialog.
removed the delete button.
Ales Hvezda [Sat, 10 Feb 2007 22:09:39 +0000 (10 22:09 +0000)]
Updated all po/pot files in prep for a release.
Ales Hvezda [Sat, 10 Feb 2007 21:54:02 +0000 (10 21:54 +0000)]
Bumped all package versions to
20070216 in prep for a new version.
Ales Hvezda [Sat, 10 Feb 2007 21:25:26 +0000 (10 21:25 +0000)]
Fixed a bunch of compiler warnings. Updated some of the man pages a little.
Carlos Nieves Onega [Sat, 10 Feb 2007 21:10:03 +0000 (10 21:10 +0000)]
* src/g_funcs.c: propagate f_print_file errors to scheme functions.
* src/x_print.c: Fixed compiler warning. Also added a popup message
warning the user if the f_print_file function fails.
Carlos Nieves Onega [Sat, 10 Feb 2007 21:08:16 +0000 (10 21:08 +0000)]
* src/f_print.c: Make f_print_header return an error return value
if something goes wrong, and propagate it to the caller functions.
Unlink the file created by f_print_file if there is an error in
f_print_header.
Stuart Brorson [Sat, 10 Feb 2007 20:46:17 +0000 (10 20:46 +0000)]
Added --clear option to clear refdeses. (* jcl *)
Mike Jarabek [Sat, 10 Feb 2007 19:42:01 +0000 (10 19:42 +0000)]
Added code to scale the output postscript font under user control.
This is controlled via the postscript-font-scale rc keyword.
Stuart Brorson [Sat, 10 Feb 2007 19:36:09 +0000 (10 19:36 +0000)]
Removed source attribute from transistors since spice-sdb
didn't like hierarchy.
Ales Hvezda [Sat, 10 Feb 2007 19:00:21 +0000 (10 19:00 +0000)]
Added a call to AC_GNU_SOURCE to make autoconf and friends complain less.
Ales Hvezda [Sat, 10 Feb 2007 18:44:03 +0000 (10 18:44 +0000)]
Added new script for doing non-flatten herarchical Verilog netlist.
Added AM_PROG_CC_C_O to configure.ac to make autoconf happy.
Ales Hvezda [Sat, 10 Feb 2007 18:33:14 +0000 (10 18:33 +0000)]
Fixed a few compiler warnings in gattrib. Removed quit_func everywhere
since it is completely unused.
Carlos Nieves Onega [Sat, 10 Feb 2007 18:02:42 +0000 (10 18:02 +0000)]
* autogen.sh: Added automake version number check.
Mike Jarabek [Sat, 10 Feb 2007 17:41:44 +0000 (10 17:41 +0000)]
Applied Wojciech Kazubski's patch for offset printing orgins. Fixes bug #160757
Carlos Nieves Onega [Sat, 10 Feb 2007 17:03:50 +0000 (10 17:03 +0000)]
* tests/Makefile.am, tests/drc2/Makefile.am,
tests/hierarchy/Makefile.am:
When running "make check", run "make tests" too.
Ales Hvezda [Sat, 10 Feb 2007 16:59:14 +0000 (10 16:59 +0000)]
Updated hierarchy golden file due to ordering of output changing.
Ales Hvezda [Sat, 10 Feb 2007 16:42:13 +0000 (10 16:42 +0000)]
Applied patch to change "package" to "refdes" [
1656822 ] BOM/BOM2
should use refdes in title line
Ales Hvezda [Sat, 10 Feb 2007 16:25:53 +0000 (10 16:25 +0000)]
Applied patch by Hans N. [
1581813 ] Patch to ignore '|' tags. Thanks!
Ales Hvezda [Sat, 10 Feb 2007 16:19:15 +0000 (10 16:19 +0000)]
Applied patch by Charles Lepple [
1590587 ] gschemdoc additions for Mac
OS X. Thanks!
Carlos Nieves Onega [Sat, 10 Feb 2007 16:14:11 +0000 (10 16:14 +0000)]
* tests/drc2/Makefile.am:
Added a pass/failed line after each test.
* tests/drc2/.cvsignore: Added this new file.
Stuart Brorson [Sat, 10 Feb 2007 16:12:45 +0000 (10 16:12 +0000)]
More bugfixes, including SF #
1472541.