1 2006-08-22 Ales Hvezda <ahvezda@geda.seul.org>
3 * src/Makefile.am: Removed old VPATH, since it is no longer needed
4 and it is interfering with make distcheck
6 * share/Makefile.am: Added prolog.ps to EXTRA_DIST to make distcheck
7 happy (and it was missing from the dist in general).
9 2006-08-21 Ales Hvezda <ahvezda@geda.seul.org>
11 * README: Updated the README a little to be ready for the next
14 2006-08-19 Ales Hvezda <ahvezda@geda.seul.org>
16 * configure.ac: Bumped version number to 20060821 in prep for the
17 next gEDA/gaf release. Also changed the so version of libgeda to
20 2006-08-06 Ales Hvezda <ahvezda@geda.seul.org>
22 * src/*.c: Applied Patch#1533798: Remove pre-GTK2 code from geda
25 * src/a_basic.c: Applied Patch#1534089: libgeda: bugfix for
26 segfault when loading corrupted file by Tomaz Solc.
28 * include/struct.h, src/s_toplevel.c: Added keyboardpan_gain
31 2006-07-24 Ales Hvezda <ahvezda@geda.seul.org>
33 * src/s_toplevel.c: Added initialization of missing variable
34 (toplevel->prev). This caused a rare segmentation fault
37 2006-07-23 Ales Hvezda <ahvezda@geda.seul.org>
39 * include/defines.h: Applied mouse pan patch by Peter Clifton.
40 (Patch #1527361): Allow middle button panning in gschem
42 * include/struct.h, src/s_toplevel.c: Added variables to support
43 (mousepan-gain #) rc keyword.
45 2006-07-23 Mike Jarabek <mjarabek@istop.com>
47 * src/o_text_basic.c: Fixed 180 degree rotated text so that it
48 prints upside right unstead of upside down in the postscipt
51 2006-07-15 Ales Hvezda <ahvezda@geda.seul.org>
53 * src/a_basic.c, src/f_basic.c, src/f_print.c, src/g_basic.c,
54 src/g_rc.c, src/g_smob.c, src/i_vars.c, src/o_arc_basic.c,
55 src/o_attrib.c, src/o_box_basic.c, src/o_bus_basic.c,
56 src/o_circle_basic.c, src/o_complex_basic.c, src/o_line_basic.c,
57 src/o_net_basic.c, src/o_picture.c, src/o_pin_basic.c,
58 src/o_selection.c, src/o_text_basic.c, src/s_attrib.c, src/s_basic.c,
59 src/s_color.c, src/s_conn.c, src/s_hierarchy.c, src/s_menu.c,
60 src/s_papersizes.c, src/s_slib.c, src/s_stretch.c, src/s_tile.c,
61 src/s_undo.c, src/u_basic.c: Converted all free, ?alloc, and
62 strdup calls to use g_free, g_?alloc, and g_strdup. This is the
63 first phase in fixing the slice crash under glib 2.10.x.
65 * src/libgeda.c: Clarified putenv/free comment
67 * src/o_attrib.c, src/o_complex_basic.c src/o_text_basic.c:
68 Removed some residual noweb #lines and comments
70 * src/s_conn.c: Finally figured out that setting a freed object's
71 data field was causing lots of trouble for glib's slice allocator.
73 * src/s_basic.c src/o_picture.c: Changed all g_free() calls on
74 all pixbufs to be g_object_unref. This was causing crashes with
77 * src/o_attrib.c: Added todo to an if statement that causes an
80 2006-07-13 Ales Hvezda <ahvezda@geda.seul.org>
82 * libgeda.pc.in: Re-Fixed incorrect order of macros. Reverted back
83 to the previous order, since the new order is clearly wrong on other
84 platforms than FreeBSD.
86 2006-07-04 Ales Hvezda <ahvezda@geda.seul.org>
88 * Integrated noweb removal patch by Jason Childs. Changed default
89 target in docs/Makefile.am to not build the docs by default; this
90 is to speed up the build.
92 * src/o_arc_basic.c, src/o_circle_basic.c, src/s_cue.c:
93 Merged changes from the .nw files to the c files that Mike made
94 related to removing mils from PS output.
96 * src/g_rc.c, o_complex_basic.c: Merged changes from the .nw files
97 to the .c files that I made just recently.
99 * noweb/*.nw, Makefile.am: Removed all files
101 2006-07-04 Jason Childs <oblivian@users.sourceforge.net>
103 * noweb/a_basic.nw, noweb/f_basic.nw, noweb/f_image.nw,
104 noweb/f_print.nw, noweb/g_basic.nw, noweb/g_rc.nw,
105 noweb/g_register.nw, noweb/g_smob.nw, noweb/gdk-pixbuf-hacks.nw,
106 noweb/i_vars.nw, noweb/libgeda.nw, noweb/m_basic.nw,
107 noweb/o_arc_basic.nw, noweb/o_attrib.nw, noweb/o_basic.nw,
108 noweb/o_box_basic.nw, noweb/o_bus_basic.nw, noweb/o_circle_basic.nw,
109 noweb/o_complex_basic.nw, noweb/o_image.nw, noweb/o_line_basic.nw,
110 noweb/o_list.nw, noweb/o_net_basic.nw, noweb/o_picture.nw,
111 noweb/o_pin_basic.nw, noweb/o_selection.nw, noweb/o_text_basic.nw,
112 noweb/s_attrib.nw, noweb/s_basic.nw, noweb/s_clib.nw,
113 noweb/s_color.nw, noweb/s_conn.nw, noweb/s_cue.nw,
114 noweb/s_encoding.nw, noweb/s_hierarchy.nw, noweb/s_log.nw,
115 noweb/s_menu.nw, noweb/s_page.nw, noweb/s_papersizes.nw,
116 noweb/s_slib.nw, noweb/s_stretch.nw, noweb/s_tile.nw,
117 noweb/s_toplevel.nw, noweb/s_undo.nw, noweb/u_basic.nw:
118 Ported as real c source code file in the src directory.
119 Deleted after porting all noweb comments into doxygen format
120 in respective c source files.
122 * noweb: Removed subdirectory.
124 * src/Makefile.am: Updated to build from c source instead of noweb.
125 Fixed distclean setup to not remove c source files.
127 * docs/Makefile.am: Added support for Doxygen html and LaTex
129 documents. Fixed distclean setup to not remove required Doxygen html
130 files, and to remove html and latex subdirectories on clean.
132 * Makefile.am: Removed noweb as a buildable subdirectory.
134 * configure.ac: Removed checks for noweb and texi2html.
135 Added check for Doxygen.
137 2006-07-04 Ales Hvezda <ahvezda@geda.seul.org>
139 * libgeda.pc.in: Fixed incorrect order of macros. Discovered by
140 reading USENET's FreeBSD commit logs. :-)
142 * noweb/g_rc.nw, o_complex_basic.nw: Minor bug fix to properly
143 promotion code to properly promote only specified changes.
145 2006-07-03 Mike Jarabek <mjarabek@istop.com>
147 * noweb/o_arc_basic.nw, noweb/o_circle_basic.nw, noweb/s_cue.nw:
148 Removing of references to `mils' function in PS output.
151 2006-06-16 Werner Hoch <werner.ho@gmx.de
153 * noweb/f_basic.nw: fixed noweb chunk error
155 * noweb/s_page.nw: added function to find a page by it's id
157 * noweb/s_hierarchy.nw: added s_hierarchy_traversepages(), it
158 returns a list of pages either in preorder order
159 s_hierarchy_print_page(): test function used for traversing
160 in s_hierarchy_down_schematic_single(): added page loop detector.
162 * include/defines.h: added some flags for s_hierarchy*
164 2006-06-02 Mike Jarabek <mjarabek@istop.com>
166 * noweb/f_print.nw: Added code to check flag for vector vs. PS
167 text output in text f_print_objects().
169 2006-05-22 Mike Jarabek <mjarabek@istop.com>
171 * share/prolog.ps: Added custom stringwidth function to printing
172 routines that handles overbar characters. Added overbar drawing
173 support. The overbar thickness is coded to be 10% of the font
174 size. The height of the overbar is set to the font size.
176 2006-05-21 Werner Hoch <werner.ho@gmx.de:
178 * src/Makefile.am: moved the comment sign to the first column.
179 "make reconfig" is happy now.
181 2006-05-20 Carlos Nieves Onega <cnieves@iespana.es>
183 * src/Makefile.am: Commented out the indentation of the C code,
184 so gdb can return correct information when debugging.
186 * noweb/s_page.nw: Added one more sanity check.
188 * include/struct.h: Moved rotated_inside into the TOPLEVEL structure.
190 2006-05-20 Ales Hvezda <ahvezda@geda.seul.org>
192 * scripts/notangle_guile.in: Applied patch by Steve Brown to fix
195 * noweb/f_print.nw: Fixed missing @ which made notangle_guile a
198 * include/i_vars.h, include/prototype.h, include/struct.h,
199 noweb/g_rc.nw, noweb/g_register.nw, noweb/i_vars.nw,
200 noweb/o_complex_basic.nw, noweb/s_toplevel.nw: Finally added code
201 to support the rc keyword: always-promote-attributes. This string
202 holds a list of attribute names that are always promoted.
204 * src/Makefile.am: Changed the .nw.c: rule to redirect the generated
205 C file to a temp file and then move it to the real one. This fixes
206 the stale file problem when notangle fails.
208 * noweb/s_toplevel.nw: Added missing variable init
210 2006-05-17 Mike Jarabek <mjarabek@istop.com>
212 * Makefile.am, configure.ac
213 Added share directory and rule to support share directory.
214 * include/i_vars.h, include/prototype.h, include/struct.h
215 Added struct variable to contain name of PostScript prolog file
216 and changes to function prototypes.
218 New PostScript output functions. Unicode support.
219 * noweb/g_rc.nw, noweb/g_register.nw, i_vars.nw
220 New RC command to set the PostScript prolog file.
221 * noweb/o_*.nw, noweb/s_cue.nw
222 New PostScript output changes. Output code now 50% smaller
224 New makefile to install prolog.
226 2006-05-17 Carlos Nieves Onega <cnieves@iespana.es>
227 * include/struct.h: Added variable which controls if the user
228 can move objects just dragging them.
230 2006-04-22 Carlos Nieves Onega <cnieves@iespana.es>
231 * noweb/o_complex_basic.nw: Allow rotation and mirroring of
232 complex objects inside complex objects.
234 2006-04-14 Werner Hoch <werner.ho@gmx.de>
235 * noweb/f_basic.nw: added <time.h> for f_open()
236 compiler warning was: implicit declaration function of difftime()
238 2006-04-13 Werner Hoch <werner.ho@gmx.de>
239 * noweb/f_print.nw: added <time.h> for f_print_header()
241 2006-04-09 Carlos Nieves Onega <cnieves@iespana.es>
242 * noweb/o_text_basic.nw: Fixed the overbar misinterpretation of
243 multiple escape slashed (bug 1458681). Thanks to Werner Hoch for
246 2006-03-03 Carlos Nieves Onega <cnieves@iespana.es>
247 * noweb/o_text_basic.nw: Finish the overbar if the ending overbar
248 delimiter is omitted. Feature suggested by Enoch H. Wexler. Thanks.
250 2006-02-27 Carlos Nieves Onega <cnieves@iespana.es>
251 * noweb/o_text_basic.nw:
252 Added support for overbars. Delimiter character for the overbar is
253 "\_" string (it should be at the beginning and at the end of the
254 overbar). Support for overbars in Postscript code needs to be done.
256 2006-02-26 Mike Jarabek <mjarabek@istop.com>
258 Added DSC comments and logic to f_print() so that page managers
259 can make more intelligent choices about paper sizes. The code
260 lies about the actual extents, and so does not completely obey
263 2006-02-25 Carlos Nieves Onega <cnieves@iespana.es>
265 * include/prototype.h, include/struct.h, noweb/g_smob.nw:
266 Added new smob functions for OBJECT type.
268 * include/prototype.h, noweb/s_color.nw:
269 Added a new function returning the index of a given color name.
271 2006-02-25 Carlos Nieves Onega <cnieves@iespana.es>
272 * noweb/f_basic.nw: Set the backup file readonly, so an 'rm *'
273 command will ask the user if he really wants to delete the file.
274 When loading an autosave backup file, set the page as changed.
275 Thus, when the user closes the page, gschem will ask him wether to
278 2006-01-22 Ales Hvezda <ahvezda@geda.seul.org>
280 * autogen.sh, m4/gettext.m4: Removed m4 files since they are
281 installation specific
283 2006-01-16 Ales Hvezda <ahvezda@geda.seul.org>
285 * configure.ac: Bumped package version to 20060123 and also
286 change the shared library's version to 25:0:0
288 * README: Updated for the new year and release.
290 2006-01-07 Stuart Brorson <sdb AT cloud9 DOT net>
291 * autogen.sh, m4/gettext.m4: Included "-I m4" into
292 aclocal to pick up gettext.m4 from local dir.
294 2006-01-04 Ales Hvezda <ahvezda@geda.seul.org>
296 * noweb/s_encoding.nw: Removed extra @'s since they are no longer
297 required for either notangle_guile or notangle (noweb proper) and
298 they were breaking the build for notangle_guile. Thank to Stuart
299 and Matthias Wenzel for the fix.
301 2005-12-02 Carlos Nieves Onega <cnieves@iespana.es>
302 * noweb/s_page.nw: Make the s_page_autosave function more
303 failproof, checking all the pointers. This change, together
304 with some gschem changes at the same date will fix some gschem
305 crashes reported by David Carr. Thanks David!
307 2005-11-27 Carlos Nieves Onega <cnieves@iespana.es>
308 * noweb/s_encoding.nw: Break some lines so notangle_guile
309 doesn't get confused by noweb scape sequences.
311 2005-11-27 Carlos Nieves Onega <cnieves@iespana.es>
312 * include/funcs.h, include/struct.h, noweb/f_basic.nw,
314 Added definition of the autosave backup filename string.
315 Added check for a backup file when loading a schematic,
316 and a function to call an app-dependant function to ask
317 the user if the backup file should be loaded or not.
319 2005-11-18 Carlos Nieves Onega <cnieves@iespana.es>
320 * include/struct.h, noweb/f_basic.nw, noweb/s_page.nw:
321 Changed autosave code so the timer callback doesn't do the
322 autosave backups. Now are made within o_undo_savestate, so
323 backups will ONLY be saved when there was a change to the
324 schematic and there was a timeout of the autosave timer.
326 2005-11-06 Ales Hvezda <ahvezda@geda.seul.org>
328 * include/prototype.h, noweb/s_conn.nw: Added search routine which
329 is used in determining if a net segment (of the "L") connects to
332 2005-10-30 Ales Hvezda <ahvezda@geda.seul.org>
334 * noweb/s_log.nw: Added an if to get rid of an assert from glib if
335 the logfile_fd is not initialized. Bug reported by John Luciani.
337 2005-10-29 Carlos Nieves Onega <cnieves@iespana.es>
338 * include/defines.h, include/prototype.h, include/struct.h,
339 noweb/f_basic.nw, noweb/s_page.nw, noweb/s_toplevel.nw,
341 Added support for backup copies and autosaving every
344 2005-10-15 Carlos Nieves Onega <cnieves@iespana.es>
346 Print error if calling f_image_write without libgdgeda support.
348 2005-10-05 Werner Hoch <werner.ho@gmx.de>
349 * include/struct.h: added the net-drawing patch from David Carr
350 it requires two additional coordinates in st_toplevel
352 2005-10-01 Carlos Nieves Onega <cnieves@iespana.es>
353 * noweb/s_encoding.h: Fixed compiler warning. Thanks to Dan McMahill
354 for pointing out the solution.
356 2005-09-30 Carlos Nieves Onega <cnieves@iespana.es>
357 * include/struct.h, noweb/o_picture.nw:
358 Added embedded variable to the picture struct and initialize it.
359 * include/prototypes.h, noweb/Makefile.am, noweb/s_encoding.nw,
361 Added new file containing functions for base64 encoding/decoding.
363 2005-09-27 18:31 Dan McMahill <danmc>
365 * docs/libgedadoc.texi: add title to document to quiet the
368 2005-09-27 18:31 Dan McMahill <danmc>
370 * noweb/s_slib.nw: remove some compiler warnings (use of char as a
373 2005-09-19 Werner Hoch <werner.ho@gmx.de>
375 * noweb/f_print.nw: fixed color background box size in f_print_header
377 2005-08-19 Ales Hvezda <ahvezda@geda.seul.org>
379 * configure.ac: Bumped the package version to 20050820 which will be
382 2005-08-14 Ales Hvezda <ahvezda@geda.seul.org>
384 * noweb/g_basic.nw: Applied patch by Carlos Azevedo which fully expands
385 the path of an rc file, so that it can be found.
387 * include/struct.h, noweb/s_toplevel.nw: Added add_attribute_offset
388 rc variable to TOPLEVEL.
390 * include/struct.h, noweb/s_toplevel.nw: Added grid_mode and
391 grid_spacing rc variables to TOPLEVEL.
393 * configure.ac: Updated package version to 20050814. This is a
394 temporary version and not a real release number.
396 2005-06-26 Ales Hvezda <ahvezda@geda.seul.org>
398 * include/globals.h: Removed a completely bogus extern declaration.
399 Reported by Wojciech Kazubski. Thanks.
401 2005-04-20 Carlos Nieves Onega <cnieves@iespana.es>
402 * include/prototype.h, noweb/o_picture.nw, noweb/f_print.nw:
403 Added support for printing pictures to postscript.
405 2005-03-14 Ales Hvezda <ahvezda@geda.seul.org>
407 * noweb/o_text_basic.nw: Removed an extra g_free which was corrupting
408 the heap. Many thanks to Patrick for helping resolve this bug.
410 2005-03-13 Ales Hvezda <ahvezda@geda.seul.org>
412 * configure.ac: Removed all tests for gtk+ 1.2.x and fixed error
413 message if gtk+ 2.2.x is not found.
415 2005-03-11 Patrick Bernaud <b-patrick@wanadoo.fr>
417 * noweb/g_rc.nw (g_rc_map_font_character_to_file): Adapted for the
418 new char-to-file hash table.
420 * noweb/o_text_basic.nw: Improved memory use and global efficiency
421 in the unicode support: hash tables now takes a gunichar as key.
422 Also removed GTK 1.2 specific code.
424 2005-03-11 7:05 Sturt Brorson <sdb@cloud9.net>
425 * noweb/s_toplevel.nw: Added initialization of toplevel_head->next
426 in s_toplevel_init() to fix possible uninitialized jump in
429 2005-03-10 Patrick Bernaud <b-patrick@wanadoo.fr>
431 * noweb/g_rc.nw (g_rc_map_font_character_to_file): Added validation of
432 SCM parameters (SCM_ASSERT).
434 2005-03-09 Ales Hvezda <ahvezda@geda.seul.org>
436 * noweb/f_basic.nw, o_complex_basic.nw: Fixed compiler warnings
437 about uninitialized variables
439 2005-03-08 Ales Hvezda <ahvezda@geda.seul.org>
441 * configure.ac: Bumped version to 20050313
443 * configure.ac: Bumped libgeda.so version to 23.
445 2005-03-05 Carlos Nieves Onega <cnieves@iespana.es>
447 * noweb/g_rc.nw: Removed deprecated guile functions.
449 2005-03-05 Carlos Nieves Onega <cnieves@iespana.es>
450 * noweb/g_rc.nw, noweb/g_register.nw, noweb/libgeda.nw,
451 noweb/o_text_basic.nw, include/prototype.h, include/defines.h,
453 Added Unicode support, character to font file mapping by hashtable,
454 and font mapping definition using system-gafrc.
456 2005-02-28 Patrick Bernaud <b-patrick@wanadoo.fr>
458 * scripts/notangle_guile.in: Improved script with changes suggested
461 2005-02-24 Patrick Bernaud <b-patrick@wanadoo.fr>
463 * scripts/notangle_guile.in: New version.
465 * configure.ac, scripts/Makefile.am: Adapted for renaming of script.
467 * scripts/notangle_guile.scm.in: Renamed to notangle_guile.in.
469 2005-02-23 Ales Hvezda <ahvezda@geda.seul.org>
471 * configure.ac: Fixed a minor typo that was causing the linking of
472 both glib 1.2.x and glib 2.x into the same executable. This caused
473 gschem and friends to segfault upon startup.
475 2005-02-23 Carlos Nieves Onega <cnieves@iespana.es>
477 * configure.ac, noweb/o_picture.nw:
478 Added temporary GDK dependency. Fixed CLI compilation error
479 when gdk_init was not found when linking.
481 2005-02-22 Carlos Nieves Onega <cnieves@iespana.es>
483 * noweb/o_picture.nw: Fix character conversion.
485 * noweb/o_picture.nw: Initialize GDK if it's a non-graphical app.
487 2005-02-21 05:38 Dan McMahill <danmc>
489 * configure.ac, src/Makefile.am: if we are using gcc, add -Wall
491 2005-02-21 03:58 Dan McMahill <danmc>
493 * autogen.sh: avoid using the '-path' primary to find(1) as it's an
494 extension to posix.2 and is not supported on some operating
495 systems such as solaris. Now we can autogen.sh on solaris 9.
497 2005-02-21 03:04 Dan McMahill <danmc>
499 * noweb/: f_image.nw, g_rc.nw, o_picture.nw, o_text_basic.nw: fix
500 some format string/type mismatches, format string/# of arg
501 mismatches, /* within comments, unused variables, and undeclared
504 2005-02-20 Patrick Bernaud <b-patrick@wanadoo.fr>
506 * noweb/s_clib.nw: Added a missing include of defines.h required for
509 * include/defines.h (s_log_message): Added macro for message logging.
511 * noweb/s_log.nw: Rewritten to use GLib's message logging.
513 2005-02-19 Carlos Nieves Onega <cnieves@iespana.es>
515 * configure.ac, include/funcs.h, include/libgeda.h,
516 include/o_types.h, include/prototype.h, include/struct.h,
517 noweb/Makefile.am, noweb/a_basic.nw, noweb/f_image.nw,
518 noweb/f_print.nw, noweb/gdk-pixbuf-hacks.nw, noweb/o_attrib.nw,
519 noweb/o_basic.nw, noweb/o_complex_basic.nw, noweb/o_list.nw,
520 noweb/o_picture.nw, noweb/s_basic.nw, noweb/s_toplevel.nw,
522 Added picture support.
524 2005-02-18 22:26 Dan McMahill <danmc>
526 * noweb/g_rc.nw: remove a static declaration to match prototype in
529 2005-02-17 20:00 Stuart Brorson <sdb@cloud9.net>
530 * noweb/g_rc.nw, noweb/libgeda.nw: Reverted to putenv after
531 W. Hoch had problems with compiling g_setenv.
533 2005-02-14 22:32 Dan McMahill <danmc>
535 * noweb/o_complex_basic.nw: fix a couple of format string not
536 matching # of arguments bugs
538 2005-02-14 22:32 Dan McMahill <danmc>
540 * noweb/f_basic.nw: remove an unused variable
542 2005-02-14 22:31 Dan McMahill <danmc>
544 * noweb/s_clib.nw: add some missing config.h inclusions
546 2005-02-14 22:30 Dan McMahill <danmc>
548 * noweb/a_basic.nw: fix a "/* in a comment" warning
550 2005-02-14 22:29 Dan McMahill <danmc>
552 * include/prototype.h: change prototypes in public header file to
555 2005-02-14 02:17 Dan McMahill <danmc>
557 * include/defines.h, noweb/g_basic.nw, noweb/g_smob.nw: put back
558 scm_makfrom0str(). It is scm_makfromstr() which was deprecated,
559 scm_makfrom0str() is still ok. Suggested by Patrick Bernaud.
561 2005-02-13 Patrick Bernaud <b-patrick@wanadoo.fr>
563 * noweb/s_page.nw (s_page_init_list): Removed useless initialization
566 * docs/Makefile.am, src/Makefile.am, noweb/Makefile.am:
567 * docs/libgedadoc.texi: Updated after removal of s_scratch.
569 * noweb/s_scratch.nw: Removed.
571 2005-02-13 01:38 Dan McMahill <danmc>
573 * include/prototype.h, noweb/s_slib.nw: fix up const usage to be
574 consistant. Gets rid of several gcc warnings.
576 2005-02-11 Patrick Bernaud <b-patrick@wanadoo.fr>
578 * noweb/f_basic.nw, noweb/libgeda.nw, s_hierarchy.nw: Adapted for
579 changes in toplevel and page APIs and function set_window.
581 * noweb/m_basic.nw (set_window): New prototype: added pointer on page
582 to work on as second parameter.
584 * noweb/s_page.nw: Simplified API and refactoring.
586 * src/Makefile.am, docs/Makefile.am, noweb/Makefile.am: Modified for
587 addition of s_toplevel.nw and deletion of s_project.nw.
589 * docs/libgedadoc.texi: Changed references to s_project in s_toplevel.
591 * noweb/s_toplevel.nw: New file for handling of toplevel structures.
593 * noweb/s_project.nw: Removed: replaced by s_toplevel.nw.
595 * include/struct.h: Modified cwd field of toplevel for dynamic memory
598 2005-02-08 22:26 Dan McMahill <danmc>
600 * include/defines.h, noweb/g_basic.nw, noweb/g_smob.nw: replace
601 deprecated guile functions with approved guile-1.6.6 ones
603 2005-02-04 Patrick Bernaud <b-patrick@wanadoo.fr>
605 * include/prototype.h:
606 * noweb/f_basic.nw, noweb/g_smob.nw, noweb/i_vars.nw:
607 * noweb/libgeda.nw, noweb/o_attrib.nw, noweb/s_color.nw:
608 * noweb/s_log.nw, noweb/s_menu.nw, noweb/s_page.nw:
609 * noweb/s_undo.nw, noweb/u_basic.nw: Deleted functions u_basic_strdup()
610 and u_basic_strdup_multiple(): use GLib functions instead.
612 * noweb/o_complex_basic.nw, noweb/o_text_basic.nw:
613 * noweb/s_log.nw, noweb/s_page.nw, noweb/s_slib.nw:
614 * include/defines.h: Deleted *_SEPARATER_* macros: now rely on GLib
615 for the determination of the directory separator.
617 2005-02-04 04:39 danmc
619 * configure.ac, noweb/a_basic.nw, noweb/f_basic.nw,
620 noweb/f_image.nw, noweb/f_print.nw, noweb/g_basic.nw,
621 noweb/g_rc.nw, noweb/g_register.nw, noweb/g_smob.nw,
622 noweb/i_vars.nw, noweb/libgeda.nw, noweb/m_basic.nw,
623 noweb/o_arc_basic.nw, noweb/o_attrib.nw, noweb/o_basic.nw,
624 noweb/o_box_basic.nw, noweb/o_bus_basic.nw,
625 noweb/o_circle_basic.nw, noweb/o_complex_basic.nw,
626 noweb/o_image.nw, noweb/o_line_basic.nw, noweb/o_list.nw,
627 noweb/o_net_basic.nw, noweb/o_pin_basic.nw, noweb/o_selection.nw,
628 noweb/o_text_basic.nw, noweb/s_attrib.nw, noweb/s_basic.nw,
629 noweb/s_clib.nw, noweb/s_color.nw, noweb/s_conn.nw,
630 noweb/s_cue.nw, noweb/s_hierarchy.nw, noweb/s_log.nw,
631 noweb/s_menu.nw, noweb/s_page.nw, noweb/s_papersizes.nw,
632 noweb/s_project.nw, noweb/s_scratch.nw, noweb/s_slib.nw,
633 noweb/s_stretch.nw, noweb/s_tile.nw, noweb/s_undo.nw,
634 noweb/u_basic.nw: - add dmalloc debugging support, enabled by
635 --enable-dmalloc - add Electric Fence debugging support, enabled
638 Both are off by default
640 2005-02-03 23:04 danmc
642 * include/prototype.h, noweb/a_basic.nw, noweb/f_basic.nw,
643 noweb/f_image.nw, noweb/f_print.nw, noweb/g_basic.nw,
644 noweb/o_image.nw, noweb/s_project.nw: - lots of clean up of
645 'const' usage. Seems to have squished all gcc warnings around
646 const. Mostly this involved adding lots of missing const's. -
647 also add a few missing prototypes and header files. - fix call
648 to realpath (it was being given a pointer to a pointer rather
651 2005-02-03 03:54 danmc
653 * include/prototype.h: add missing s_project_alloc prototype
655 2005-02-01 Patrick Bernaud <b-patrick@wanadoo.fr>
658 * include/libgeda.h: Changed the includes of gh.h in include of
659 libguile.h required by the scm interface of guile.
661 * noweb/g_basic.nw, noweb/g_rc.nw:
662 * noweb/g_register.nw, noweb/g_smob.nw: Switched to the new scm
665 2005-01-31 Patrick Bernaud <b-patrick@wanadoo.fr>
667 * noweb/g_rc.nw: Fixed the escaping in format strings of messages.
669 2005-01-30 Patrick Bernaud <b-patrick@wanadoo.fr>
671 * noweb/g_rc.nw: Code cleanup: added guile assertions, fixed some
672 memory problems, make it use more of glib.
674 * noweb/o_complex_basic.nw (o_complex_read): Fixed test after library
675 search to avoid crash when the component is not found.
677 2005-01-29 Patrick Bernaud <b-patrick@wanadoo.fr>
679 * noweb/g_rc.nw, noweb/o_complex_basic.nw: Adapted for new component
682 * noweb/s_clib.nw: Rewrote code for component library.
684 2005-01-28 Stuart Brorson <sdb@cloud9.net>
686 * noweb/f_basic.nw, noweb/g_rc.nw, noweb/s_page.nw,
687 noweb/s_project.nw: incorporated patch by Patrick Bernaud.
689 2005-01-27 Stuart Brorson <sdb@cloud9.net>
691 * include/prototype.h, include/struct.h, noweb/f_basic.nw,
692 noweb/g_rc.nw, noweb/s_page.nw, noweb/s_project.nw,
693 noweb/u_basic.nw: Changes made to enable correct opening
694 of schematics in foreign directories. New algorithm:
696 1. Take the filename the user wants to open.
697 2. Turn it into an absolute path, like /foo/bar/baz.sch
698 3. From the path, figure out the directory, /foo/bar
699 4. From this, create the absolute path to the local gafrc,
702 6. read /foo/bar/gafrc while sitting in the directory /foo/bar.
703 This takes care of all the guile search path problems,
704 like when people put things like
705 (component-library "../common/symlib") or some such into
707 7. After that, read the file itself.
708 8. Leave the directory set to this directory.
710 2005-01-23 Ales Hvezda <ahvezda@geda.seul.org>
712 * noweb/o_complex_basic.nw: Fixed a bug where sometimes
713 missing rotated/mirror components will cause gschem to render the
714 "missing component symbol" out in la la land.
716 * noweb/o_complex_basic.nw: Changed the appearance of the hazard
717 triangle to look a little better (angles rounded). Suggestion by
720 * noweb/a_basic.nw: Fixed another bug in the handling of symversion=.
721 If the component was the last one in the file and had no attributes,
722 then it was not getting checked.
724 * noweb/o_complex_basic.nw: Further expanded when the placed
725 holder component is created in o_complex_add(): when the component
726 filename cannot be found. This hopefully fixes the bug that
727 Peter reported: 1) running gschem file.sch, 2) renaming
728 a symbol, 3) doing a page revert 4) place holder not being shown.
730 2005-01-22 Ales Hvezda <ahvezda@geda.seul.org>
732 * include/defines.h, noweb/a_basic.nw, f_image.nw, f_print.nw,
733 o_attrib.nw, o_basic.nw, o_complex_basic.nw, o_list.nw, o_selection.nw,
734 s_basic.nw, s_clib.nw, s_conn.nw, s_cue.nw: Slightly refactored
735 and rearranged Stuart's OBJ_PLACEHOLDER code to make it a first
736 class object within libgeda. Added a graphical representation and
737 a few bits of code here and there to make it manipulatable in gschem.
739 2005-01-22 Carlos Nieves Onega <cnieves@iespana.es>
740 * noweb/prototype.h, noweb/s_scratch.nw: Added function
741 s_scratch_non_unique_string_fill. This can enable gnetlist
742 to return a non-unique list of packages.
743 In order to don't duplicate code, s_scratch_string_fill
744 function now checks if the string is unique and calls
745 s_scratch_non_unique_string_fill.
747 2005-01-19 Stuart Brorson <sdb@cloud9.net>
748 * noweb/o_complex_basic.nw, include/o_types.h: Created
749 OBJ_PLACEHOLDER to signal a complex found with no
750 symbol file. Changed o_complex_read to put this
751 placeholder into object_list instead of nuking complex.
752 This is to mitigate problem where components were being
753 removed if sym files weren't found.
755 2005-01-15 Stuart Brorson <sdb@cloud9.net>
756 * noweb/s_log.nw, prototype.h: changed s_log_init
757 to take const char as arg since it's always called
758 with a quoted string.
760 2005-01-10 Ales Hvezda <ahvezda@geda.seul.org>
762 * noweb/a_basic.nw: Fixed the symbol version checking code to
763 handle the case when no attribute are attached to component. The
764 symbol version wasn't being checked in this case in the past.
766 2005-01-07 Patrick Bernaud <b-patrick@wanadoo.fr>
768 * noweb/s_project.nw (s_project_setup_rest): Made it handle
769 initialization of field current_clib.
771 * include/struct.h: Changed field current_clib of st_toplevel to
774 * noweb/s_clib.nw (s_clib_getfiles): Modified prototype and
775 simplified code: now returns a list of filenames to avoid
776 limitation on number of files in directory.
778 2005-01-04 Patrick Bernaud <b-patrick@wanadoo.fr>
780 * noweb/o_basic.nw (o_set_line_options): Moved in this function some
781 error checking and correcting that previously was in gschem code.
783 2005-01-03 Ales Hvezda <ahvezda@geda.seul.org>
785 * include/struct.h, noweb/s_project.nw, noweb/f_print.nw: Implemented
786 a threshold which controls when postscript outputted text is rendered
787 using the vector font instead of the postscript font. This is a
788 work around for the rather inaccurate multi-line postscript output.
790 2004-12-27 Ales Hvezda <ahvezda@geda.seul.org>
792 * configure.ac: Updated version to 20041228, update shared library
795 2004-07-06 Ales Hvezda <ahvezda@geda.seul.org>
797 * include/struct.h: Added major_changed_refdes GList to toplevel
800 * include/prototype.h: Added new function prototype for:
801 o_complex_check_symversion
803 * noweb/a_basic.nw: Added some code to make the call to
804 o_complex_check_symversion when a symbol has been read from disk.
806 * noweb/s_project.nw: Misc init code
808 * noweb/o_complex_basic.nw: Added code to implement
809 o_complex_check_symversion which is called whenever a symbol is
810 loaded from disk. This function goes through and searches for
811 the symversion= attribute both inside the symbol and attached to
812 the instanciated symbol and checks to make sure nothing/something
815 * noweb/o_complex_basic.nw: Rearranged o_complex_is_eligible_attribute
816 a little to make it easier to force certain attributes (like the
817 new symversion= attribute) to be always promoted (even if they are
818 invisible). Misc whitespace cleanup too.
820 * noweb/o_complex_basic.nw: Fixed a few spelling mistakes and
821 changed version checking so that minor changes are not checked if
822 there are major changes.
824 2004-07-03 Ales Hvezda <ahvezda@geda.seul.org>
826 * configure.ac: Added code to specify the rc directory via
827 --with-rcdir. Also set GEDARCDIR for the newly added rc code.
829 * include/Makefile.am, papersizes.h, libgeda.h: Added papersizes.h
832 * include/prototypes.h: Added a whole slew of new function
833 prototypes for the new g_rc_* functions.
835 * src/Makefile.am, noweb/Makefile.am, noweb/g_register.nw,
836 g_rc.nw, i_vars.nw, include/i_vars.h: Moved a whole bunch of rc code
837 into libgeda from the various programs. It is now possible to
838 write libgeda dependent programs without having to duplicate a lot
841 * noweb/libgeda.nw: Added a bunch of init routines which the
842 individual programs were calling into libgeda_init().
844 * configure.ac: Updated version to 20040710 and changed shared library
847 2004-05-23 Ales Hvezda <ahvezda@geda.seul.org>
849 * noweb/o_bus_basic.nw, o_net_basic.nw, s_cue.nw: Fixed the multi
850 colored dot postscript problem reported by Gabriel Paubert. Removed
851 some completely redundant postscript to set the color in the wrong
854 2004-01-17 Ales Hvezda <ahvezda@geda.seul.org>
856 * config.h.in: Remove machine generated file.
858 2004-01-11 Ales Hvezda <ahvezda@geda.seul.org>
860 * configure.ac: Updated version to 20040111
862 * noweb/o_arc_basic.nw o_attrib.nw o_box_basic.nw o_bus_basic.nw
863 o_circle_basic.nw o_line_basic.nw o_pin_basic.nw o_text_basic.nw:
864 Fixed most -Wall warnings.
866 * include/prototype.h: Added missing function (caught by -Wall
869 * noweb/o_pin_basic.nw: Had to remove the pin whichend reset
870 I added on 2003-12-22, since it broke the auto pin whichend
871 code (o_pin_update_whichend; which relies on whichend equaling -1
872 when the whichend is unknown). Fix the whichend for embedded
873 components still needs to be dealt/fixed. This problem needs a
876 2004-01-10 Ales Hvezda <ahvezda@geda.seul.org>
878 * noweb/o_text_basic.nw: Fixed the postscript printing of text
879 when it is rotated 180 degrees.
881 * noweb/o_text_basic.nw: Attempted to get the multi line text
882 printing a little more accurate. Not quite there, still have a
883 large error when the text consists of many lines. Work in
886 * include/defines.h: Changes LINE_SPACING to be a float.
888 2004-01-04 Ales Hvezda <ahvezda@geda.seul.org>
890 * noweb/o_text_basic.nw: Applied a patch by Carlos for the new
891 spanish characters he contributed.
893 2003-12-31 Ales Hvezda <ahvezda@geda.seul.org>
895 * noweb/o_attrib.nw: Fixed a really nasty bug which only
896 appeared when using glib 1.2.x. Appearently g_strsplit() does
897 not split strings under glib 1.2.x vs glib 2.2.x in the same way.
898 Put back some old code which works properly when using glib 1.2.x.
899 Bug identified by Stuart. Thanks!
901 * include/prototype.h: Added missing function prototypes.
903 * configure.ac: Bumped version to 20031231
905 2003-12-30 Ales Hvezda <ahvezda@geda.seul.org>
907 * noweb/o_text_basic.nw, include/struct.h: Added displayed_width
908 and displayed_height variables to the st_text structure. These
909 variables represent the actual width and height of the displayed
910 string. This info is needed when drawing the quick text rectangles.
912 2003-12-29 Ales Hvezda <ahvezda@geda.seul.org>
914 * noweb/o_text_basic.nw: Added multi line text postscript output.
915 It works mostly, but there are still some unexplained
918 * noweb/o_pin_basic.nw: Further refined the fix to the embedded
919 pins not having the right whichone set.
921 * noweb/o_text_basic.nw: Partially applied a UTF patch by Carlos.
922 This patch started adding unicode support to the internal font
923 table. Since I cannot test this change right now, I have decided
924 to not apply this patch completely. I did apply all the 1.5 to 2
925 changes as well as the memory leak plug.
927 * noweb/o_text_basic.nw: Included in the above patch was the
928 change to make the multi line spacing 2 instead of 1.5. I made
929 this line spacing parameter a #define (in defines.h) to make
930 changing it easier. Eventually this will have to become a rc files
933 * noweb/o_attrib.nw: Applied another patch by Carlos to remove
934 the restriction that attributes cannot be multi line text objects.
936 2003-12-22 Ales Hvezda <ahvezda@geda.seul.org>
938 * noweb/o_pin_basic.nw: In search of the "why aren't pins which are
939 part of embedded components not connecting" bug, discovered
940 that if an older schematic is read (with embedded components),
941 the whichone variable wasn't being reset properly (missing <= ).
943 2003-11-20 Ales Hvezda <ahvezda@geda.seul.org>
945 * include/struct.h, noweb/s_project.nw: Added unnamed_netname
946 variable to TOPLEVEL (and initialized to NULL). This is for
949 2003-11-09 Ales Hvezda <ahvezda@geda.seul.org>
951 * config.guess config.sub depcomp install-sh ltmain.sh missing
952 mkinstalldirs: Removed machine generated files from CVS
954 * Makefile.am: Added the above files to be cleaned during
957 * autogen.sh: Added script to create auto* generated files
959 2003-10-26 Ales Hvezda <ahvezda@geda.seul.org>
961 * noweb/o_text_basic.nw: Added some code to make sure that the
962 TAB_CHAR_MODEL character is loaded (via o_text_load_font) before
963 its text_size is used.
965 2003-10-22 Ales Hvezda <ahvezda@geda.seul.org>
967 * include/defines.h: Applied Carlos' latest tab improvement patch.
968 Added TAB_CHAR_MODEL as a #define. TAB_CHAR_MODEL defines what
969 character is used to decide how big the single space in the tab
972 * noweb/o_text_basic.nw: Also part of Carlos' latest tab
973 improvement patch. Calculated the spacing for a tab using the
974 TAB_CHAR_MODEL and adding an offset.
976 2003-10-19 Ales Hvezda <ahvezda@geda.seul.org>
978 * a_basic.nw, g_smob.nw, m_basic.nw, o_arc_basic.nw, o_attrib.nw,
979 o_box_basic.nw, o_bus_basic.nw, o_circle_basic.nw, o_complex_basic.nw,
980 o_line_basic.nw, o_net_basic.nw, o_pin_basic.nw, o_text_basic.nw,
981 s_basic.nw, s_slib.nw: Applied Carlos Nieves Onega's multi-line text
982 patch. Thank you Carlos! The next items are the all changes from
983 Carlos' patch and my integration changes. The changes happened
984 over a period of a few weeks, but were checked in on the above
987 * noweb/a_basic.nw: Removed fixed size buffer from o_save_embedded()
988 and o_save(). Also changed the function signature (removed buf)
989 of all o_*_save functions.
991 * noweb/a_basic.nw: Changed call to o_text_read to take file pointer.
992 string(s) is now read inside o_text_read().
994 * noweb/a_basic.nw: Removed old string[...] variable.
996 * noweb/a_basic.nw: Added missing free() in o_save_embedded().
998 * noweb/a_basic.nw: Simplified the update sym/sch message
1000 * noweb/g_smob.nw: Fixed up call to o_attrib_get_name_value (which
1001 now it's own memory allocation of the parameters).
1003 * noweb/g_smob.nw: Added if's around free's since
1004 o_attrib_get_name_value can return null in certain cases.
1006 * noweb/m_basic.nw: Removed unnecessary calculation from
1009 * noweb/o_arc_basic.nw: Changed signature of o_arc_save to just
1010 take an object pointer.
1012 * noweb/o_attrib.nw: Removed fixed size character buffer in
1015 * noweb/o_attrib.nw: Changed o_save_attribs to call new signature
1018 * noweb/o_attrib.nw: Changed o_attrib_get_name_value to return
1019 allocated character buffers (instead of having to pre-allocate
1020 them). This change had significant impact on lots of other code.
1021 If instability occurs, then look at all instances of
1022 o_attrib_get_name_value to make sure memory is allocated properly
1023 and freed. Name and value must be freed eventually.
1025 * noweb/o_attrib.nw: o_attrib_get_name_value() was rewritten to
1026 use g_strsplit to break up the string into name and value.
1028 * noweb/o_attrib.nw: o_attrib_search_name(),
1029 o_attrib_search_string_partial(), o_attrib_search_attrib_value(),
1030 o_attrib_search_attrib_name(), o_attrib_search_toplevel(),
1031 o_attrib_search_name_single(), o_attrib_search_name_single_count():
1032 All modified to use the newly changed o_attrib_get_name_value().
1034 * noweb/o_attrib.nw: Added a bunch of frees in certain places to
1035 prevent memory leaks.
1037 * noweb/o_attrib.nw: Rearranged o_attrib_get_name_value() so that
1038 a memory leak does not occur (check the input up front as possible
1039 before splitting the attribute)
1041 * noweb/o_attrib.nw: Added extra checks to prevent possible core
1044 * noweb/o_attrib.nw: Removed an extra malloc which was causing a
1047 * noweb/o_attrib.nw: Changed the "Found an improper attribute: ..."
1048 message to be logged to the log file instead of stderr.
1050 * noweb/o_box_basic.nw: Changed signature of o_box_save to just
1051 take an object pointer.
1053 * noweb/o_bus_basic.nw: Changed signature of o_bus_save to just
1054 take an object pointer.
1056 * noweb/o_circle_basic.nw: Changed signature of o_circle_save to just
1057 take an object pointer.
1059 * noweb/o_complex_basic.nw: Removed fixed size character buffer
1060 from: o_complex_add(), o_complex_read(), o_complex_save().
1061 Changed signature of o_complex_save to just take an object pointer.
1063 * noweb/o_line_basic.nw: Changed signature of o_line_save to just
1064 take an object pointer.
1066 * noweb/o_net_basic.nw: Changed signature of o_net_save to just
1067 take an object pointer.
1069 * noweb/o_pin_basic.nw: Changed signature of o_pin_save to just
1070 take an object pointer.
1072 * noweb/s_basic.nw: Add null check in nl_remove(). Added
1075 * noweb/s_slib.nw: Removed fixed size character buffer.
1077 * noweb/o_text_basic.nw: Added o_text_num_lines()
1079 * noweb/o_text_basic.nw: In o_text_load_font removed fixed size
1080 character buffer. Added code to set the width of the new line
1081 character (a nop really) and set the width of characters that
1082 cannot be identified.
1084 * noweb/o_text_basic.nw: Rewrote o_text_height() and
1085 o_text_width() to handle multiple line text objects. o_text_height
1086 takes the input string (since it can be multiple lines long) as
1089 * noweb/o_text_basic.nw: Removed a size adjustment hack when
1090 calculating the width of a string.
1092 * noweb/o_text_basic.nw: Added code to o_text_create_string to
1093 handle multi-line text objects. Also added code to handle
1094 tab characters within text lines.
1096 * noweb/o_text_basic.nw: Added code to o_text_create_string to
1097 not add newline or tabs to the lowlevel text list
1099 * noweb/o_text_basic.nw: Removed fixed size character buffers in
1100 o_text_add(). Removed 1024 limit on text lines. Fixed up a call
1101 to o_attrib_get_name_value to use the new function signature.
1103 * noweb/o_text_basic.nw: Changed o_text_read() to take the file
1104 pointer as an argument. This function now reads in the multiple
1105 lines of text. Added code to handle the reading in of multi-line
1106 text items when the file format is 1.
1108 * noweb/o_text_basic.nw: Added log message when using gtk+ 1.2.x and
1109 a multi-line text item is read in.
1111 * noweb/o_text_basic.nw: In o_text_set_info_font(), added code to
1112 set the width of the special newline character correctly.
1114 * noweb/o_text_basic.nw: Added code to set the text width of
1115 character not found (loaded the ? char instead)
1117 * noweb/o_text_basic.nw: Changed signature of o_net_save to just
1118 take an object pointer. Changed file format to save the number
1119 of lines in the text item.
1121 * noweb/o_text_basic.nw: In o_text_recreate(), o_text_print(),
1122 o_text_mirror_old(), fixed the usage of o_attrib_get_name_value().
1124 * noweb/o_text_basic.nw: Removed the w_current parameter from
1125 o_text_height() since it is not used.
1127 * noweb/g_smob.nw, o_attrib.nw, o_text_basic.nw: Added some checks
1128 to make sure valid pointers are freed (everywhere
1129 o_attrib_get_name_value) is called.
1131 * noweb/*.nw: misc code format cleanup
1133 * include/prototype.h: Changed string to file pointer to
1136 * include/defines.h: Added #define for max single line length.
1137 The text line can spawn multiple 1024 length lines, but a single
1138 line can only be 1024 characters long.
1140 * include/globals.h: Added tab_in_chars global variable.
1142 * noweb/o_attrib.nw: Removed old string[...] variable.
1144 * noweb/o_attrib.nw: Added code to make sure that attributes are
1147 * noweb/o_box_basic.nw, noweb/o_circle_basic.nw: Removed all //
1148 comments (replaced them with C comments)
1150 2003-10-18 Ales Hvezda <ahvezda@geda.seul.org>
1152 * configure.ac: Updated version to something more recent, but this
1153 version is not an official release.
1155 2003-10-05 Ales Hvezda <ahvezda@geda.seul.org>
1157 * configure.ac: Oops, misspelled saved_CFLAGS and therefore libgeda
1158 wasn't being built with -O2 -g which probably caused the code to be
1159 rather un-optimal. Fixed.
1161 2003-10-04 Ales Hvezda <ahvezda@geda.seul.org>
1163 * configure.ac: Updated version to something more recent, but this
1164 version is not an official release.
1166 * noweb/a_basic.nw, o_arc_basic.nw, o_attrib.nw, o_box_basic.nw,
1167 o_bus_basic.nw, o_circle_basic.nw, o_complex_basic.nw,
1168 o_line_basic.nw, o_net_basic.nw, o_pin_basic.nw, o_text_basic.nw:
1169 Added the file format flag to the "v" file line. Also moved all
1170 version numbers into include/define.h.
1172 * noweb/o_text_basic.nw: Removed fudge factor from width calculation.
1174 * include/defines.h: Added version numbers, added #define for the
1175 current file format version (FILEFORMAT_VERSION).
1177 * include/prototype.h: Updated due to changed loading function
1180 * configure.ac: Incremented shared library to 20
1182 2003-09-20 Ales Hvezda <ahvezda@geda.seul.org>
1184 * configure.ac: Fixed MinGW cflags/ldflags
1186 * auto* files: Updated to autoconf 2.57 and automake 1.7.6
1188 2003-08-31 Ales Hvezda <ahvezda@geda.seul.org>
1190 * configure.ac: Changed AC_CONFIG_HEADER to AM_CONFIG_HEADER
1192 * configure.ac: Removed the use of GUILE_PROGS as it is not part
1193 of guile 1.4. Put in a manual check for guile-config.
1195 2003-08-30 Ales Hvezda <ahvezda@geda.seul.org>
1197 * configure.ac: Fixed the test for libgdgeda. It was failing if
1198 it was not installed; libgdgeda is optional and should not cause
1199 a configure to fail.
1201 2003-08-24 Ales Hvezda <ahvezda@geda.seul.org>
1203 * configure.ac: Improved a bunch of the external library tests for
1206 * configure.ac: Improved the configuration summary message.
1208 * configure.ac: Oops forgot to AC_SUBST the LIBTOOL_FLAGS variable,
1209 shared library was being build with the wrong version
1211 * configure.ac: Added --with-gtk12 flag so that users can force
1212 libgeda to use gtk+ 1.2 instead of gtk+ 2.2.x (if it is found)
1214 * configure.ac: Removed gtk+ and the X libraries from LIBGEDA_LDFLAGS
1215 variable so that programs that don't need gtk+ or X, don't link those
1216 libraries. gschem is the only program which should be linking gtk+
1219 2003-07-01 Ales Hvezda <ahvezda@geda.seul.org>
1221 * configure.ac and friends: Rewrote the configure scripts to be sane,
1222 much simpler, and up-to-date.
1224 * configure.in, acconfig.h, and others: Removed a whole bunch of
1227 * noweb/o_arc_basic.nw, o_box_basic.nw o_bus_basic.nw
1228 o_circle_basic.nw, o_line_basic.nw, o_net_basic.nw, o_pin_basic.nw:
1229 Obsoleted the HAS_LIBGDGEDA2 #define. libgdgeda 2.0.15 is now
1232 * libgeda.pc.in: Added new file which is used with pkg-config.
1233 libgeda now requires pkg-config to configure and the other tools will
1234 need pkg-config to link to libgeda.
1236 * libgeda-config.in: Remove this file in favor to using pkg-config.
1238 * Toplevel Makefile: Added PKG_CONFIG_PATH environment variable to
1239 the help message. This variable is now required.
1241 * *.in, *.h, etc: Removed a bunch of old unneeded auto* files.
1243 * Toplevel Makefile: Changed the libgeda-config-install to
1244 libgeda-pc-install (for the libgeda.pc file)
1246 * Toplevel Makefile: Removed all traces of gesym-config*, since
1247 this script is no longer used.
1249 2003-06-30 Ales Hvezda <ahvezda@geda.seul.org>
1251 * configure.in, Makefile.am's etc: Applied gtk+-2.x patch by Ye Ma
1253 * noweb/*.nw: A few tweaks to get the above to build.
1255 2003-05-25 Ales Hvezda <ahvezda@geda.seul.org>
1257 * noweb/o_arc_basic.nw, o_circle_basic.nw: Added missing break;
1258 to make compiler happy.
1260 * noweb/o_bus_basic.nw: Removed unused variable.
1262 * noweb/s_page.nw: Added missing string.h include.
1264 2003-05-22 Ales Hvezda <ahvezda@geda.seul.org>
1266 * configure.in: Updated version
1268 2003-02-24 Ales Hvezda <ahvezda@geda.seul.org>
1270 * src/Makefile.am: Bumped shared library version number to 18.
1272 2003-02-23 Ales Hvezda <ahvezda@geda.seul.org>
1274 * include/defines.h, noweb/f_print.nw: Applied Antonio's no
1275 margin printing patch (with minor modifications). Thanks.
1277 * include/defines.h, noweb/f_print.nw: Renamed "limits" to
1280 2003-02-22 Ales Hvezda <ahvezda@geda.seul.org>
1282 * noweb/s_clib.nw: Added a little more error checking to
1285 2003-02-18 Ales Hvezda <ahvezda@geda.seul.org>
1287 * configure.in: Bumped version to 20030223
1289 * config.h.in, configure.in, include/libgeda.h, noweb/g_basic.nw:
1290 Applied Steve Tell's guile 1.6.3 patch. Thanks.
1292 2003-02-06 Ales Hvezda <ahvezda@geda.seul.org>
1294 * configure.in: Applied Gabriel Paubert's warning reducing patch with
1297 2003-01-29 Ales Hvezda <ahvezda@geda.seul.org>
1299 * configure.in: Changed -fnative-struct to -mms-bitfields for
1300 gcc 3.2 mingw compiler (older mingw compilers are no longer
1303 2003-01-07 Ales Hvezda <ahvezda@geda.seul.org>
1305 * noweb/s_page.nw: Fixed debian Bug#175718: geda-gschem: schematic
1306 silently discarded by adding code into s_page_save_all().
1308 2002-12-29 Ales Hvezda <ahvezda@geda.seul.org>
1310 * noweb/o_text_basic.nw: Fixed a minor typo by applying Egil's latest
1311 extended character patch (missing break; statement).
1313 2002-12-23 Ales Hvezda <ahvezda@geda.seul.org>
1315 * acconfig.h, config.h.in, configure.in.h: Added tests to look for
1316 the new libgdgeda 2.0.x
1318 * noweb/o_arc_basic.nw, o_box_basic.nw, o_bus_basic.nw,
1319 o_circle_basic.nw, o_line_basic.nw, o_net_basic.nw,
1320 o_pin_basic.nw: Added calls to the gd thickness function to render
1321 thick lines in the png output
1323 * noweb/s_basic.nw: Initialized a few members of st_object which
1324 should have been set to zero.
1326 2002-12-22 Ales Hvezda <ahvezda@geda.seul.org>
1328 * noweb/o_text_basic.nw: Applied Norwegian/Danish/German characters
1329 patch from Egil Kvaleberg
1331 2002-12-15 Ales Hvezda <ahvezda@geda.seul.org>
1333 * include/struct.h: Added menubar variable to TOPLEVEL
1335 2002-11-30 Ales Hvezda <ahvezda@geda.seul.org>
1337 * aclocal.m4: Removed file from cvs.
1339 2002-11-04 Egil Kvaleberg <egil@kvaleberg.no>
1341 * noweb/o_text_basic.nw: Changed comment for swedish/finnish characters
1342 since they cause (my version of nowaeve at least) to dump core.
1344 2002-11-03 Ales Hvezda <ahvezda@geda.seul.org>
1346 * noweb/a_basic.nw: Added code to print out a message when an old
1349 * configure.in: Updated version to 20021103 (an official version)
1351 2002-10-31 Ales Hvezda <ahvezda@geda.seul.org>
1353 * Makefile.am: Added libgeda-config-install target
1355 2002-10-28 Ales Hvezda <ahvezda@geda.seul.org>
1357 * configure.in: Bumped version to 20021031
1359 2002-10-27 Ales Hvezda <ahvezda@geda.seul.org>
1361 * include/defines.h: Added a bunch of #defines for various widths
1364 * noweb/f_print.nw: Fixed bug: When generating color postscript,
1365 the size of the paper wasn't being dealt with at all (wrt to the
1368 * noweb/o_pin_basic.nw: Changed the hard coded value for pin width
1369 when outputing postscript to be 1) #defined and 2) properly computed.
1371 * noweb/o_net_basic.nw: Changed the hard coded value for net width
1372 when outputing postscript to be 1) #defined and 2) properly computed.
1374 * noweb/o_bus_basic.nw: Changed the hard coded value for bus width
1375 when outputing postscript to be 1) #defined and 2) properly computed.
1377 * noweb/o_arc_basic.nw: Fixed a long standing bug (since July 2002),
1378 where arc png output would be wrong. Turns out that the width and
1379 height of an arc are not always equal. Bug reported by Karel
1382 * noweb/s_cues.nw: Changed the hard coded value for all cues sizes
1383 when outputing postscript to be 1) #defined and 2) properly computed.
1385 * configure and friends: Ran "autoreconf --force --install -v"
1386 to really upgrade to the newest version of the auto* tools.
1388 * include/struct.h: Added force_boundingbox rc variable.
1390 * noweb/s_project.nw: Added init code for above variable.
1392 * noweb/s_pin_basic.nw: Added code that if force_boundingbox variable
1393 is true, then use the entire bounding box in the pin auto whichend
1394 calculation (instead of default: just the pins).
1396 2002-10-26 Ales Hvezda <ahvezda@geda.seul.org>
1398 * include/struct.h: Added variables for the bus ripper support
1399 in gschem (to TOPLEVEL structure).
1401 * include/defines.h: Added #defines for the bus ripper support
1404 * noweb/s_basic.nw: Added code to init some of the above added
1407 * noweb/o_bus_basic.nw: Added code to properly set the
1408 bus_ripper_direction variable when rotating nets.
1410 2002-10-22 Ales Hvezda <ahvezda@geda.seul.org>
1412 * include/struct.h: Added bus_ripper_direction variable to objects.
1413 Only valid for buses.
1415 * include/struct.h: Added st_bus_ripper structure. Used in the
1416 auto creation of bus rippers when connecting a net to a bus.
1418 * noweb/s_cue.nw: Changed code to draw the new smaller circles
1419 when connecting a net to a bus.
1421 * noweb/s_conn.nw: Added some restrictions on connections between
1422 nets / pins and buses. You cannot connect a pin to a bus period.
1423 You cannot connect a net to the end of a bus (only to the middle).
1425 * noweb/s_basic.nw: Init of the bus_ripper_direction variable,
1426 which holds a value (0 = no connection, -1, or 1) to decide which
1427 direction the rippers are drawn.
1429 * noweb/o_line_basic.nw: Added o_line_length (returns the length
1432 * noweb/o_bus_basic.nw: Added code to the read/save functions to
1433 read/save the bus_ripper_direction flag to disk. Also handled old
1434 versioned files (variable defaults to zero).
1436 * noweb/s_project.nw: Oops, missed override_bus_color in the init
1437 of the toplevel variable. Important since the color of buses was
1438 being set to zero by gschlas.
1440 2002-10-19 Ales Hvezda <ahvezda@geda.seul.org>
1442 * noweb/o_pin_basic.nw: Oops, broke the single pin case. Added
1443 code handle this case (basically do the original world bounding
1444 box if only one pin is found). Changed function to take this pin
1445 count as a paramater.
1447 * noweb/a_basic.nw: Passed the number of found pins to
1448 o_pin_update_whichend
1450 * configure.in, *.m4: Upgraded to automake 1.7.1 and autoconf 2.54
1452 2002-10-17 Ales Hvezda <ahvezda@geda.seul.org>
1454 * noweb/o_pin_basic.nw: Added some error checking for the whichend
1457 * noweb/o_pin_basic.nw: Changed the get world bounding box call in
1458 o_pin_update_whichend to only look at pins instead of all
1459 graphics. This fixes a bug which Werner Hoch reported.
1461 2002-09-25 Ales Hvezda <ahvezda@geda.seul.org>
1463 * noweb/a_basic.nw: Minor performance tweek wrt the 20020825
1464 pin compatiblity referenced below.
1466 2002-09-22 Ales Hvezda <ahvezda@geda.seul.org>
1468 * noweb/o_attrib.nw: Added a missing termination character to an
1469 error condition where an invalid attribute is found. A premptive
1470 fix for a possible core dump in gschem's multi attribute dialog box.
1472 * configure.in: Bumped version to 20020922, which is NOT a release.
1474 * include/struct.h: Added whichend and pin_type to the st_object
1475 structure. These are pin specific variables.
1477 * include/defines.h: Added #defines to support pin_type. Not in use
1480 * noweb/o_pin_basic.nw: Added o_pin_update_whichend, which figures out
1481 which end is the active connection end point. It does not work on
1484 * noweb/a_basic.nw: Added a call to o_pin_update_whichend (in
1485 o_read) which is called when an old symbol/schematic is read
1486 in to update the pin's which end variable. This code is only
1487 called if a pin is read in.
1489 * noweb/o_pin_basic.nw: Added code to read and write the new file
1490 pin fields (pin_type and whichend). libgeda will still read all the
1491 old formats just fine.
1493 * noweb/o_pin_basic.nw: Updated o_pin_add to take pin_type and
1494 whichend as parameters.
1496 * noweb/s_basic.nw: Inited pin_type and whichend in st_object.
1498 * noweb/s_conn.nw: Added code to control which end point of a pin
1499 can have a connection attached to it. This is control via the
1500 whichend variable. A 0 in whichend is the first end point, while
1501 a 1 is the second end point. You can now draw a net through a pin
1502 and libgeda will only register one connection (at the active end).
1504 2002-09-16 Ales Hvezda <ahvezda@geda.seul.org>
1506 * noweb/s_project.nw: Added new file. Basically the s_project.c
1507 that gnetlist used is now in libgeda. This will make writing
1508 utils which read in sch/sym files much easier.
1510 * src/Makefile.am: Bumped shared library version number to 17.
1512 * include/funcs.h: Added variable_set_func and quit_func to allow
1513 user programs to use the new s_project_* code.
1515 2002-08-25 Ales Hvezda <ahvezda@geda.seul.org>
1517 * include/struct.h: Added setpagedevice* rc file variables
1519 * noweb/f_print.nw: Added the code to implement the
1520 setpagedevice-* rc keywords.
1522 * noweb/*.nw: Cleaned up -Wall warnings
1524 2002-07-14 Ales Hvezda <ahvezda@geda.seul.org>
1526 * noweb/o_attrib.nw: Added a comment to a line which was using
1527 uref= which is now deprecated (replaced by refdes=)
1529 2002-07-09 Ales Hvezda <ahvezda@geda.seul.org>
1531 * noweb/o_text_basic.nw: Fixed the crash when you try to display
1532 the finnish/swedish characters
1534 2002-07-07 Ales Hvezda <ahvezda@geda.seul.org>
1536 * noweb/o_complex_basic.nw: Changed o_complex_return_pin_object()
1537 to look for things using the pinnumber= attribute (instead of
1540 * include/defines.h: Renamed a few #defines to slowly migrate away
1541 from the word "label"
1543 2002-07-06 Ales Hvezda <ahvezda@geda.seul.org>
1545 * configure.in/Makefile.am: Upgraded to automake 1.6.2
1547 2002-07-05 Ales Hvezda <ahvezda@geda.seul.org>
1549 * noweb/o_complex_basic.nw: Removed an extra / when reading in
1552 * noweb/o_attrib.nw: Removed a log message which is not an error:
1553 ( Did not find slot= attribute )
1555 * noweb/o_complex_basic.nw: Changed o_complex_return_pin_object to
1556 search using the pinseq attribute
1558 2002-06-27 Ales Hvezda <ahvezda@geda.seul.org>
1560 * noweb/o_attrib.nw: Added a o_attrib_print_reverse to help
1563 * noweb/o_attrib.nw: Added a bit more output to o_attrib_print
1564 to help in debugging.
1566 2002-06-22 Ales Hvezda <ahvezda@geda.seul.org>
1568 * noweb/u_basic.nw: Changed u_basic_breakup_string to take a
1569 character as a delimiter.
1571 2002-06-21 Ales Hvezda <ahvezda@geda.seul.org>
1573 * include/struct.h: Moved all the gsymcheck structures to a
1574 gsymcheck specific file
1576 * noweb/o_attrib.nw: Completely removed two obsolete o_attrib_search_*
1579 2002-06-20 Ales Hvezda <ahvezda@geda.seul.org>
1581 * noweb/s_basic.nw: Added patch by Bryce Denney to remove \r in
1582 remove_nl(...). This was done to have clean interoperability between
1583 the unix and win32 ports. I don't know if the patch is sufficient
1584 to cleanup component (etc...) lines. Will have to test this for the
1587 * noweb/o_attrib.nw: A few misc cleanups in various functions
1589 * noweb/o_attrib.nw: Added o_attrib_search_string_single to help
1590 support gnetlist backend fix work. Takes an object and a complete
1591 attribute and returns a pointer to the object.
1593 * noweb/o_attrib.nw: Added a null pointer check in
1594 o_attrib_return_parent(...)
1596 2002-06-18 Ales Hvezda <ahvezda@geda.seul.org>
1598 * noweb/o_attrib.nw: Drastic changes to the standard attributes.
1599 - pin#=# has been removed
1600 - slot#=# has been removed
1604 - slotdef=#:#,#,#,# added
1605 - A bunch of functions renamed / removed
1606 - A few lame hacks removed
1607 These changes are the first of many that deal with how libgeda handles
1608 pin / slot attributes
1610 * noweb/Makefile.am: Incremented libgeda.so version number
1612 2002-06-09 Ales Hvezda <ahvezda@geda.seul.org>
1614 * noweb/u_basic.nw: Added u_basic_strip_trailing utility function
1616 2002-05-27 Ales Hvezda <ahvezda@geda.seul.org>
1618 * include/defines.h: Added OTHER_* seperater #defines. Mainly for
1621 * configure.in: Added OTHERPATHSEP
1623 2002-05-23 Ales Hvezda <ahvezda@geda.seul.org>
1625 * include/libgeda.h: Removed the last reference to gdkx.h
1627 2002-05-19 Ales Hvezda <ahvezda@geda.seul.org>
1629 * include/struct.h: Added toolbars and handleboxes rc variables
1631 2002-05-16 Ales Hvezda <ahvezda@geda.seul.org>
1633 * include/struct.h: Added bitmap-directory rc variable
1635 2002-05-12 Ales Hvezda <ahvezda@geda.seul.org>
1637 * acinclude.m4: Removed file from repository
1639 * include/pcb_struct.h: Removed obsolete file
1641 * include/struct.h: Added warp_cursor rc variable and a bunch of
1644 2002-04-08 Ales Hvezda <ahvezda@geda.seul.org>
1646 * configure.in: Changed the function which is search for libpng.
1647 This was needed for the win32 port.
1649 2002-04-03 Ales Hvezda <ahvezda@geda.seul.org>
1651 * configure.in and friends: More work on getting the upgrade of
1652 autoconf, automake, and libtool to behave correctly.
1654 * configure.in: Added PATHSEP variable which holds the proper path
1655 separater depending on the platform.
1657 * lib/system-*.in: Work on getting rc files to use above variable.
1659 * noweb/o_text_basic.nw: Changed the name of the lower case symbols
1660 to include an _ to make systems like win32 (which have semi-case
1661 sensitive) file systems happy.
1663 2002-04-01 Ales Hvezda <ahvezda@geda.seul.org>
1665 * include/defines.h: Added a #if and a #define for M_PI
1667 * include/defines.h: Put in #defines for path separater for unix vs
1670 * noweb/o_complex.nw: Used above path separater #defines in a few
1671 sprintf/u_strdup_multiple
1673 * noweb/o_text.nw: Used above path separater #defines in a few
1674 sprintf/u_strdup_multiple
1676 * noweb/s_log.nw: Used above path separater #defines in a few
1677 sprintf/u_strdup_multiple
1679 * noweb/s_page.nw: Used above path separater #defines in a few
1680 sprintf/u_strdup_multiple
1682 * noweb/s_clib.nw: Used above path separater #defines in a few
1683 sprintf/u_strdup_multiple
1685 * noweb/s_slib.nw: Used above path separater #defines in a few
1686 sprintf/u_strdup_multiple
1688 * configure.in and friends: Upgraded to autoconf 2.53, libtool 1.5,
1689 and automake 1.5. Lots of changes in various places for this upgrade.
1691 2002-02-24 Ales Hvezda <ahvezda@geda.seul.org>
1693 * configure.in, config.h.in: Added a few checks for some
1694 non-portable #includes
1696 * noweb/*.nw: Reworked the #include section to use the above
1699 * configure.in: Added checks for mingw32 and disabled the
1702 2002-02-18 Ales Hvezda <ahvezda@geda.seul.org>
1704 * src/Makefile.am: Andrew Dyer found a GUILE_* bug. Fixed.
1706 * configure.in: Removed all trace of GUILE_LIB and GUILE_INCLUDE
1708 2001-02-09 Ales Hvezda <ahvezda@geda.seul.org>
1710 * noweb/o_selection.nw: Added o_selection_return_num to return the
1711 number of selected objects
1713 * include/struct.h: Added show_hidden_text to toplevel structure
1715 * noweb/o_text_basic.nw: Went through and make sure that text is
1716 created properly if it is invisible and show_hidden_text is true
1718 * noweb/*.nw bunch of files: Make sure visibility is being dealt with
1719 correct wrt show_hidden_text
1721 * noweb/*.nw: Removed most -Wall warnings
1723 2001-11-25 Patrick Bernaud <b-patrick@wanadoo.fr>
1725 * noweb/o_arc_basic.nw: Corrected a bug about arc mirroring due to
1726 the last changes (2001-11-21) : my fault.
1728 2001-11-21 Patrick Bernaud <b-patrick@wanadoo.fr>
1730 * configure.in, Makefile.am: Added test to use notangle_guile.scm
1731 if notangle is not available.
1733 * docs/Makefile.am: Moved the documentation generation here.
1735 * docs/libgedadoc.texi: Renamed libgeda.texi to libgedadoc.texi
1736 to be similar with gschem and to avoid confusion with documentation
1737 of source file libgeda.c.
1739 * src/Makefile.am: Added a rule to produce prototype.h from noweb
1740 files and moved the documentation generation to docs/.
1742 * scripts/geda_totexi.in: Changed geda_totexi to geda_totexi.in
1743 to take benefit from the configure test on AWK. Backend updated
1744 to handle cross-references.
1746 * scripts/notangle_guile.scm.in: Added guile script to tangle
1747 noweb code without the whole noweb package installed.
1749 * noweb/o_{arc|box|circle|line}_basic.nw: Full documentation,
1750 code clean-up and use of the new identifiers for modification.
1752 * include/struct.h: Defined identifiers for particular points
1753 on each type of object.
1755 2001-07-24 Ales Hvezda <ahvezda@geda.seul.org>
1757 * noweb/o_bus_basic.c: Fixed a typo pointed out by Roger Williams.
1759 2001-07-22 Ales Hvezda <ahvezda@geda.seul.org>
1761 * noweb/s_attrib.nw, s_basic.nw, s_color.nw, s_log.nw, s_papersizes.nw:
1762 Added patch by Dan Mcmahill for 64-bit architectures.
1764 2001-07-21 Ales Hvezda <ahvezda@geda.seul.org>
1766 * src/Makefile.am: Bumped shared library version to 14
1768 2001-07-20 Ales Hvezda <ahvezda@geda.seul.org>
1770 * noweb/s_conn.c: Added s_conn_remove_complex to remove complex
1773 2001-07-19 Ales Hvezda <ahvezda@geda.seul.org>
1775 * configure.in: Bumped up version to 20010722
1777 * configure.in: More updates to get cygwin to build right
1779 2001-07-07 Ales Hvezda <ahvezda@geda.seul.org>
1781 * noweb/s_menu.nw: Added new file to support dynamic menus in
1782 gschem (add file to all Makefile.am files too)
1784 2001-07-06 Ales Hvezda <ahvezda@geda.seul.org>
1786 * include/defines.h: Increased the maximum number of files and
1789 * configure.in: (and all other configure.in's) set the VERSION
1792 2001-07-02 Ales Hvezda <ahvezda@geda.seul.org>
1794 * configure.in: A little more work to get indent vs gindent to
1795 be detected correctly
1797 2001-07-01 Ales Hvezda <ahvezda@geda.seul.org>
1799 * configure.in: Now searching for gindent as well as indent
1801 * configure.in: Make sure configure scripts work with autoconf-2.50
1802 (had to fix cygwin check), they do not yet work with 2.50
1804 2001-06-24 Ales Hvezda <ahvezda@geda.seul.org>
1806 * include/struct.h: Added rc variable and reformated the code
1808 2001-06-21 Stefan Petersen <spe@geda.seul.org>
1810 * noweb/g_basic.nw: Improved error information when reading *rc
1811 and other minor clean ups.
1813 * include/prototype.h: Removed ORIG_g_read_file
1815 2001-06-16 Ales Hvezda <ahvezda@geda.seul.org>
1817 * src/Makefile.am: Further improvements on the noweb build mechansim
1819 * src/Makefile.am: Added the ability to build the docs
1821 * docs/Makefile.am: Added makefile
1823 * noweb/Makefile.am: Added makefile
1825 * scripts/Makefile.am: Added makefile
1827 2001-06-10 Ales Hvezda <ahvezda@geda.seul.org>
1829 * configure.in: Minor cleanup
1831 * src/Makefile.am: Added support for automatic dependency tracking
1832 wrt the noweb files (using VPATH)
1834 * noweb/libgeda.c: Changed the init code so that you do not have
1835 to have the GEDADATADIR variable set, but if it is, override
1838 2001-06-07 Ales Hvezda <ahvezda@geda.seul.org>
1840 * noweb/libgeda.c: Added an init function for the library which is
1841 responsible for make sure the require environment variable is set
1843 * noweb/Makefile: Added above file
1845 * src/Makefile.am: Added above file
1847 2001-06-05 Ales Hvezda <ahvezda@geda.seul.org>
1849 * noweb/Makefile: misc path changes
1851 * scripts/geda_totexi: renamed gawk to just plain awk
1853 2001-06-03 Ales Hvezda <ahvezda@geda.seul.org>
1855 * noweb/*: Added all the .nw files that were done by Patrick B.
1857 * Started the slow switch to noweb (almost there, just have to
1858 get the configure mechanism setup)
1860 * scripts/*: Added noweb -> texi backend script written by Patrick B.
1862 * src/*.c: Removed all *.c files from the repository
1864 2001-03-18 Ales Hvezda <ahvezda@geda.seul.org>
1866 * Removed all Makefile.in files and configure
1868 2001-03-17 Ales Hvezda <ahvezda@geda.seul.org>
1870 * Got make dist and make distcheck working (means all files which are
1871 in CVS are in some Makefile)
1873 * configure.in: Added DATADIR instead of PACKAGE
1875 2001-03-16 Stefan Petersen <spe@geda.seul.org>
1877 * configure, configure.in: Didn't build properly if libgdgeda
1878 was placed in a not common place.
1880 2001-03-11 Stefan Petersen <spe@geda.seul.org>
1882 * Makefile.am, Makefile.in, acconfig.h, config.h.in,
1883 configure, configure.in, include/Makefile.in, src/Makefile.am,
1884 src/Makefile.in: Removed all traces of libstroke et al and
1885 regenerated some files.
1887 * s_stroke.c : Removed
1889 2001-03-07 Stefan Petersen <spe@geda.seul.org>
1891 * configure.in: Fixed minor bug introduced yesterday.
1893 2001-03-06 Stefan Petersen <spe@geda.seul.org>
1895 * configure.in: Removed some hard coded libraries and rearranged
1896 how zlib, libpg and libgdgeda was scanned during configure.
1897 Patch and suggestion from Bruno Schwander.
1899 2001-03-05 Stefan Petersen <spe@geda.seul.org>
1901 * src/libgeda/s_cue.c: added some missing HAS_LIBGDGEDA.
1903 2001-03-04 Ales Hvezda <ahvezda@geda.seul.org>
1905 * src/o_complex_basic.c: Re-enabled the bounding box calculation
1906 for arcs inside complex objects. This was possible because
1907 Patrick fixed the bounding box for arcs!
1909 * src/o_arc_basic.c: Fixed mirror / rotate code according to what
1910 Patrick suggested (all object manipulation occurs in world coord
1913 * src/Makefile.am: Bumped shared library version to 12
1915 * configure.in: Updated version
1917 * src/o_complex_basic.c: Allowed the promotion of the device=
1920 2001-03-03 Ales Hvezda <ahvezda@geda.seul.org>
1922 * configure.in: Fixed a few bugs dealing with the enabling and
1923 disabling of features via the command line (pointed out by
1926 * src/s_cue.c: Added file which contains the postscript and
1927 the image output routines for the cues
1929 * src/f_print.c: Added call to output the cues
1931 * src/f_image.c: Added call to output the cues
1933 * include/defines.h: Added #defines for cue output routines
1935 * src/o_arc_basic.c: Fixed the image output of arcs
1937 2001-03-02 Ales Hvezda <ahvezda@geda.seul.org>
1939 * src/o_arc_basic.c: Fixed a bug pointed out by Bruno Schwander
1940 (Arcs were to thin compared to thin lines/boxes)
1942 * src/o_circle_basic.c: Removed some line whitespace at the top
1945 2001-03-01 Ales Hvezda <ahvezda@geda.seul.org>
1947 * src/*.c: Converted some // comments to /* */
1949 * src/*.c: Cleaned up some -Wall warning messages
1951 2001-02-25 Ales Hvezda <ahvezda@geda.seul.org>
1953 * src/o_attrib.c: Added some if (... == NULL) checks to prevent
1956 2001-02-23 Ales Hvezda <ahvezda@geda.seul.org>
1958 * src/s_hierarchy.c: Added code to either do a normal hierarchy
1959 load or force the load (for gnetlist and hierarchical traversal)
1961 * src/s_page.c: Added code to forcibly load a schematic page
1962 (s_page_new_lowlevel). Modified s_page_new to use this new
1965 2001-02-17 Ales Hvezda <ahvezda@geda.seul.org>
1967 * include/struct.c: Removed more of the old connection code
1968 (which was #ifdef'ed out)
1970 * src/s_page.c: Commented in stretch_head, stretch_tail init code
1972 * src/s_page.c: Removed all trace of the old connection code
1973 (which was #ifdef'ed out)
1975 * src/s_stretch.c: Put this file back into the build
1977 * src/f_*.c: Removed all traces of the old connection code
1979 2001-02-16 Ales Hvezda <ahvezda@geda.seul.org>
1981 * src/o_net_basic.c: Oops, nets which caused midpoints were being
1982 consolidated away (bad), fixed this by checking first to make
1983 sure that that particular endpoint didn't cause any midpoints
1984 (if it did, don't consolidate the net)
1986 2001-02-11 Ales Hvezda <ahvezda@geda.seul.org>
1988 * src/o_net_basic.c, src/o_pin_basic.c: Moved the tile update call
1989 inside the ADDING_SEL if inside the *_add functions.
1991 * src/s_tile.c: Added a return if ADDING_SEL is true.
1993 * src/o_list.c: Made some changes in the various o_list_*
1994 functions regarding ADDING_SEL. Have to watch for any side
1997 * src/o_net_basic.c: Rewrote net consolidate code to work with the
1998 new connection system
2000 2001-02-10 Ales Hvezda <ahvezda@geda.seul.org>
2002 * src/o_complex_basic.c: Minor changes, call net functions for
2003 nets (not the line functions). All this needs to be cleaned up
2006 * Started syncing with cvs repository
2008 2001-02-08 Ales Hvezda <ahvezda@geda.seul.org>
2010 * src/o_complex_basic.c: In one of the translate functions,
2011 removed a whole bunch of cruft.
2013 2001-02-04 Ales Hvezda <ahvezda@geda.seul.org>
2015 * src/o_complex_basic.c: Added a flag to save the state of
2016 ADDING_SEL (bad variable name, it really means that you want to
2017 delay doing any s_conn_update_* calls)
2019 * src/s_conn.c: Changed the *_return* functions to take in a list
2022 * src/s_tile.c: Changed update function to return if an invalid
2023 v, w tile index was ever calculated (this means that the objects
2024 is outside of the tile grid (which is okay mainly for rotation of
2027 * src/s_page.c: Made sure page_current points to the current page
2028 being freed in s_page_free_all
2030 * src/s_tile.c: Changed s_tile_remove_object to take a page
2031 parameter (so that the objects get removed from the right page)
2033 2001-02-03 Ales Hvezda <ahvezda@geda.seul.org>
2035 * src/s_conn.c: Added s_conn_return_complex_others to support
2038 2001-02-03 Patrick Bernaud <b-patrick@wanadoo.fr>
2040 * src/o_arc_basic.c: Added function o_arc_modify()
2042 2000-01-30 Ales Hvezda <ahvezda@geda.seul.org>
2044 * src/o_attrib.c: Added o_attrib_search_component which looks for
2045 an attribute both inside and outside of the component
2047 2001-01-24 Patrick Bernaud <b-patrick@wanadoo.fr>
2049 * src/o_arc_basic.c: Modified the code for bounding box on arc,
2050 cleaned the translation/rotation functions, added function
2051 o_arc_recalc_world(), changed the meaning of arc fields
2053 * src/o_box_basic.c: Added functions to print the filling of a box
2055 * src/o_circle_basic.c : Added functions to print the filling
2058 2001-01-23 Ales Hvezda <ahvezda@geda.seul.org>
2060 * src/s_conn.c: Minor cleanups
2062 2001-01-17 Ales Hvezda <ahvezda@geda.seul.org>
2064 * src/s_conn.c: More work on getting this all done (worked on mid-
2067 * src/s_tile.c: Minor update to the free all routine (more info)
2069 2001-01-16 Ales Hvezda <ahvezda@geda.seul.org>
2071 * src/s_conn.c: Bunch of changes to get new conn system finished
2073 2000-01-15 Ales Hvezda <ahvezda@geda.seul.org>
2075 * src/o_image.c: Fixed bug -- allow the background of pngs to
2076 take on a different value than black, bug pointed out by
2079 2001-01-07 Ales Hvezda <ahvezda@geda.seul.org>
2081 * include/struct.h: Added conn_list list as well as new version
2084 * src/s_conn.c: Added new file which contains the routines to support
2085 the new connection scheme
2087 * src/o_net_basic.c: Added s_conn_update_object call to *net_add
2090 * src/o_pin_basic.c: Added s_conn_update_object call to *pin_add
2093 * src/o_bus_basic.c: Added s_conn_update_object call to *bus_add
2096 * src/o_complex_basic.c: Had to add some flags to prevent the
2097 calc of connections for complex objects; the connection update needs
2098 to happen once all the prim_objs have been translated to their
2101 * src/s_basic.c: Added calls and variable inits for new conn system
2103 * include/defines.h: Removed some old conn #defines, replaced them
2104 with new simplified ones
2106 2001-01-05 Ales Hvezda <ahvezda@geda.seul.org>
2108 * src/o_arc_basic.c: Fixed the PS printing of solid arcs if they
2109 are mirror (and/or rotated). Bug pointed out by Matt Ettus
2111 2001-01-01 Ales Hvezda <ahvezda@geda.seul.org>
2113 * src/*.c: Removed all trace of the conn_table, o_conn, s_nethash
2114 functions. This is in prep for the total rewrite
2116 * include/struct.h: Removed conn table and nethash table and also
2117 removed stretch structure for now.
2119 * src/s_tile.c: Added new file and function which divide up the
2120 world space into smaller tiles (will be used by the new conn
2123 * include/struct.h: Added world_tiles 2d array to page structure
2125 * include/struct.h: Added st_tile data structure
2127 * include/defines.h: Added MAX_TILES_X and MAX_TILES_Y #defines
2129 * src/s_page.c: Added s_tile_init to s_page_add
2131 * src/s_tile.c: More work on some of the routines to get objects
2132 into the right tiles
2134 * src/o_net_basic.c, o_pin_basic.c, o_bus_basic.c: Added call to
2135 s_tile_add_object when an object is added to object_head
2138 * src/o_net_basic.c, o_pin_basic.c, o_bus_basic.c: Called copy
2139 routines with the right x,y values so that tiling code works right
2141 * src/o_net_basic.c, o_pin_basic.c, o_bus_basic.c: Added a bunch of
2142 calls to s_tile_update_object after the object is translate
2145 * include/struct.h: Added to the object structure tile_locs which is
2146 a list of tile locations (in which tiles the object exists in)
2148 * src/s_basic.c: Added init code to deal with above list
2150 2000-12-17 Ales Hvezda <ahvezda@geda.seul.org>
2152 * src/Makefile.am: Bumped libgeda.so version to 11
2154 2000-12-10 Ales Hvezda <ahvezda@geda.seul.org>
2156 * include/struct.h: Removed zoom_factor variable
2158 * src/o_arc.c: Finally added code to implement the line type
2159 postscript output for arcs
2161 * src/o_circle.c: Also added code to implement the line type
2162 postscript output for circles (using arc code)
2164 * src/configure.in: Added back the lines (saved_cflags etc...)
2165 which caused debug output to be included in the build
2167 2000-12-09 Ales Hvezda <ahvezda@geda.seul.org>
2169 * src/m_basic.c: Put some code into WORLDtoSCREEN routines to bound
2170 coords to +/- 2^15 - 1 This is caused by 1) a less than perfect
2171 clipping routine and 2) the fact that X stores coords in signed
2172 shorts. This may effect portability to machines where this isn't
2173 the case. The original manifested itself by an endpoint (zoomed
2174 really really close) suddenly drawing itself incorrectly. The
2175 clipping routine I used doesn't handle horizontal lines at all.
2177 * src/s_nethash.c: #if DEBUG'ed out a printf
2179 * src/f_basic.c: Removed all trace of zoom_factor
2181 * src/s_page.c: Removed all trace of zoom_factor
2183 * src/m_basic.c: #if 0'd out unused return_zoom_number function
2185 2000-12-07 Ales Hvezda <ahvezda@geda.seul.org>
2187 * src/o_basic.c, o_conn.c: Started Removing DONT_* flags
2189 * include/defines.h: Added some pan related #defines
2191 2000-12-03 Ales Hvezda <ahvezda@geda.seul.org>
2193 * configure.in: Slightly rearranged things to make cygwin port happy
2195 * src/m_basic.c: Integrated changes by Werner Hoch, added round_5_2_1
2198 2000-11-30 Ales Hvezda <ahvezda@geda.seul.org>
2200 * src/s_nethash.c: Rewrote s_nethash_build to not use the internals
2201 of the hash table. New version uses a *_hash_foreach function.
2202 The original function was poorly written and violated library
2203 encapsulation (my bad).
2205 * src/o_circle.c: Removed unneeded variable
2207 * configure.in: Added -fnative-struct flag for CYGWIN port only
2209 * configure.in: Added --enable-debug flag to enable -g flag
2211 2000-11-21 Ales Hvezda <ahvezda@geda.seul.org>
2213 * include/struct.h: Added netconn_rubberband variable to st_toplevel
2216 2000-11-16 Ales Hvezda <ahvezda@geda.seul.org>
2218 * src/s_nethash.c: Added creation function (from
2219 gnetlist/src/s_traverse.c)
2221 * src/s_nethash.c: Renamed all functions to s_nethash_*
2223 * src/s_page.c: Put in the calls to destroy the nethash data structure
2224 when a page is deleted
2226 * src/s_nethash.c: Added s_nethash_delete_all function
2228 * include/struct.h: Added conn_list function to st_nethash
2230 * src/s_nethash.c: Added conn_list variable usage code
2232 * src/s_stretch.c: Added code to check the uniqueness of midpoint
2233 connections when they are added to the stretch structure
2235 2000-11-12 Ales Hvezda <ahvezda@geda.seul.org>
2237 * include/struct.h: Added st_stretch structure (and typdef)
2239 * src/s_stretch.c: Added file which will contain the low level
2240 data structure for stretching/rubberbanding when a move occurs
2242 * include/struct.h: Added stretch_head to page structure
2244 * src/s_page.c: Added the init of stretch_head
2246 * include/struct.h: Fixed the misspelling of separator
2248 2000-11-04 Ales Hvezda <ahvezda@geda.seul.org>
2250 * include/struct.h: Added some variables the undo structure to hold
2253 * src/s_undo.c: Put in code to use the above added variables
2255 * src/s_undo.c: Added the above variables to s_undo_add
2257 * src/u_basic.c: Oops, didn't allocate enough memory for a temp string
2258 in u_basic_breakup_string. Fixed.
2260 * src/u_basic.c: Minor correct to malloc
2262 2000-11-02 Ales Hvezda <ahvezda@geda.seul.org>
2264 * include/struct.h: Added some more gnetlist rc variables to toplevel
2267 * include/defines.h: Added some hierarchy_*_order #defines
2269 * src/o_attrib.c: Put in a very very lame lame lame hack in
2270 o_attrib_search_name_partial which should be taken out and shot.
2271 It better be removed when I fix the pin#=# problems
2273 2000-10-31 Ales Hvezda <ahvezda@geda.seul.org>
2275 * include/struct.h: Added some gnetlist rc variables to toplevel
2278 2000-10-31 Stefan Petersen <spe@geda.seul.org>
2280 * src/f_basic.c: Fixed f_open to return 0 on failure to open a
2281 schematic and 1 on success. (Ales merged his changes to match this)
2283 2000-10-26 Patrick Bernaud <b-patrick@wanadoo.fr>
2285 * src/o_basic.c, o_box_basic.c, o_circle_basic.c: New fill
2286 support and minor changes to line type support.
2288 2000-10-22 Ales Hvezda <ahvezda@geda.seul.org>
2290 * src/f_basic.c: Slightly changed Stefan's f_open change. Even if
2291 you cannot open a file, you should still setup the page.
2293 * include/struct.h: Added some fields in the gnetlist structs for
2296 * include/struct.h: Added more fields in the gnetlist structs for
2297 prefix / suffix strings (for hierarchy support)
2299 2000-10-10 Stefan Petersen <spe@geda.seul.org>
2301 * src/f_basic.c: f_open returns an int; 0 on failure, 1 on success
2303 * include/prototype.h: f_open returns an int.
2305 2000-10-07 Ales Hvezda <ahvezda@geda.seul.org>
2307 * src/s_slib.c, src/s_clib.c: changed order for #include <dirent.h>
2308 and removed a #if defined for CYGWIN32
2310 * configure.in: Removed an really old GTK+ check which is no longer
2313 2000-10-06 Ales Hvezda <ahvezda@geda.seul.org>
2315 * src/o_line_basic.c: Removed all // comments
2317 * src/Makefile.am: Bumped libgeda so version to 10.0.0
2319 2000-10-05 Ales Hvezda <ahvezda@geda.seul.org>
2321 * src/o_circle_basic.c: Added o_circle_modify
2323 * src/*.c: Fixed most -Wall warnings
2325 * include/struct.h: Added some variables for new line type / width
2328 2000-10-04 Ales Hvezda <ahvezda@geda.seul.org>
2330 * include/struct.h: Added draw_grips variable to OBJECT structure
2332 * src/o_selection.c: Added code to set and unset draw_grips variable
2334 * src/s_basic.c: Added code to init draw_grips variable
2336 * include/defines.h: Added a few grip related #define's
2338 * src/o_line_basic.c: Added o_line_modify
2340 * src/o_net_basic.c: Made o_net_modify look like o_line_modify
2342 * src/o_pin_basic.c: Made o_pin_modify look like o_line_modify
2344 * src/o_bus_basic.c: Made o_bus_modify look like o_line_modify
2346 * src/o_box_basic.c: Added o_box_modify
2348 2000-10-02 Ales Hvezda <ahvezda@geda.seul.org>
2350 * src/o_box_basic.c: Further updated the file format per Patrick's
2353 * src/o_circle_basic.c: Further updated the file format per Patrick's
2356 * src/o_arc_basic.c: Found a instance where the wrong object was
2357 getting it's line type and file options set (in o_arc_copy.c)
2359 * src/o_basic.c: Renamed all d1 to length and d2 to space
2361 * src/f_print.c: Added f_print_set_line_width
2363 * src/o_*_basic.c: Make the appropriate call to above
2365 * src/o_line_basic.c: Added line type postscript output (solid,
2366 dotted, dashed, center, phantom)
2368 * src/o_box_basic.c: Added postscript output using line postscript
2371 * src/o_complex_basic.c: Found an bug where mirror flag was being
2372 set to -1 for embedded components (should have really been 0)
2374 2000-09-26 Ales Hvezda <ahvezda@geda.seul.org>
2376 * include/struct.h: Intergrated OBJECT structure changes by
2379 * src/o_arc_basic.c: Intergrated changes to the arc primitive by
2382 * src/o_box_basic.c: Intergrated changes to the box primitive by
2385 * src/o_circle_basic.c: Intergrated changes to the circle primitive by
2388 * src/o_line_basic.c: Intergrated changes to the line primitive by
2391 * src/create_proto: Updated script to be a lot more general (but
2392 unfortunately had to add an ugly hack to get it to work)
2394 * src/o_attrib.c: Changed <strings.h> to <string.h>
2396 * src/o_arc_basic.c: Moved some common code out of this file
2397 src/o_basic.c: Moved the above code into this file
2399 2000-09-22 Ales Hvezda <ahvezda@geda.seul.org>
2401 * src/o_net_basic.c: Martin found a core dump bug. Fixed. Wasn't
2402 being careful about derefencing a possible NULL pointer (added an
2403 if to check if NULL)
2405 2000-09-14 Ales Hvezda <ahvezda@geda.seul.org>
2407 * src/o_net_basic.c: In o_net_consolidate_segments, added a if
2408 expression to make sure you don't try consolidate non-ortho nets
2409 (pointed out by Patrick)
2411 2000-08-28 Stefan Petersen <spe@geda.sul.org>
2413 * Fixed bug in configure.in. Probably a bug in autoconf.
2414 Now it should work to configure when libguile is dependent
2417 2000-08-26 Stefan Petersen <spe@geda.seul.org>
2419 * Cleaned up configure stuff and added guile.m4 to enhance
2420 guile configuration.
2422 2000-08-22 Ales Hvezda <ahvezda@geda.seul.org>
2424 * src/f_image.c: Oops found a core dumping bug which was
2425 introduced in this latest variable reorg (wrong structure
2426 passed f_image_write_objects)
2428 * src/f_print.c: Oops found a core dumping bug which was
2429 introduced in this latest variable reorg (wrong structure
2430 passed f_print_objects)
2432 2000-08-22 Stefan Petersen <spe@geda.seul.org>
2434 * configure.in/configure: Made configure look for scm_make_smob_type
2438 2000-08-21 Ales Hvezda <ahvezda@geda.seul.org>
2440 * src/o_text_basic.c: #if'ed 0 out o_text_translate (since it is
2443 * include/struct.h: Put a complex pointer into the TEXT item
2445 * src/o_text.c: Changed all complex to use the above new pointer
2447 * src/o_text.c: Added o_text_recalc to work on the text complex
2450 * src/s_basic.c: Added free of text->complex structure to s_delete
2452 * include/struct.h: Added COMPLEX structure/typedef (includes private
2453 complex pointer, x (and screen), y (and screen) mirror, and
2456 * src/*.c: Removed all traces of the old complex pointer and changed
2457 them to use the new above pointer
2459 * include/struct.h: Renamed complex (inside COMPLEX *) to be called
2460 prim_objs instead of complex. Better name (I hope).
2462 * src/s_basic.c: Removed some dead code
2464 * src/o_text_basic.c: Removed some dead code
2466 * src/*.c: Temporarily called complex (COMPLEX *) complex2 (for
2469 * include/struct.h: Renamed text->complex to text->prim_objs
2471 2000-08-20 Ales Hvezda <ahvezda@geda.seul.org>
2473 * include/struct.h: Started the conversion from LINEPTS/CIRCLE to
2474 a more generic representation
2476 * include/struct.h: Added LINE, BOX, ARC structure/typedef
2478 * include/struct.h: Added void *graphical to OBJECT structure.
2479 which for now is commented out
2481 * src/o_arc_basic.c: Converted all line_points to arc
2483 * src/s_basic.c: Add ARC structure to various basic init / free
2486 * src/o_box_basic.c: Converted all line_points to box
2488 * src/s_basic.c: Add BOX structure to various basic init / free
2491 * src/o_complex_basic.c: Made sure you call get_box_bounds with the
2492 right (box) parameters
2494 * include/struct.h: Had to comment out all gpcb related structures
2495 (eventually these will be rewritten and put back into production)
2497 * include/struct.h: Moved all text parameters into TEXT structure
2499 * src/o_text_basic.c: Converted all graphical paramters to text
2501 * src/s_basic.c: Add TEXT structure to various basic init / free
2504 * src/g_smob.c: Changed text_string to text->string
2506 * src/o_attrib.c: Found a whole bunch of instances where an if
2507 was checking for a null, but in the same if that same item was
2508 being dereferenced (for another value). Bad. Fixed.
2510 * src/a_basic.c: Found another 2 instances of above, Fixed.
2512 * src/o_circle.c: Removed some dead code
2514 * src/s_basic.c: Add LINE structure to various basic init / free
2517 * src/o_complex_basic.c: Made sure you call get_line_bounds with the
2518 right (line) parameters
2520 * src/o_box_basic.c: Converted all line_points to line structure
2522 * src/o_net_basic.c: Converted all line_points to line structure
2524 * src/o_pin_basic.c: Converted all line_points to line structure
2526 * src/o_bus_basic.c: Converted all line_points to line structure
2528 * src/s_basic.c: Removed all traces of line_points
2530 * include/struct.h: Removed *line_points variable, structure, and
2533 2000-08-15 Stefan Petersen <spe@geda.seul.org>
2535 * Fixed bug causing seg fault during GC with new attribute smob.
2536 Changed mark function from scm_markcdr to 0.
2538 2000-08-12 Stefan Petersen <spe@geda.seul.org>
2540 * src/Makefile.am: Makes VPATH building work.
2541 Patch by Roger Gammans. src/Makefile.in regenerated.
2543 2000-08-12 Stefan Petersen <spe@geda.seul.org>
2545 * src/g_smob.c: Added. Contains attribute smob functions.
2547 * src/Makefile.am: Added above source file. ->
2548 all Makefile* and configure are regenerated.
2550 * include/struct.h: Added attribute smob definitio struct
2552 * include/prototype.h: Added prototypes for smob functions defined
2555 2000-07-04 Ales Hvezda <ahvezda@geda.seul.org>
2557 * src/*.c: Updated copyright info in each file
2559 * src/*.c: Changed all GNU to GPL in the appropriate places
2561 * configure.in: Bumped version up to 20000704
2563 * src/*.c: Removed all // comments
2565 * src/*.c: Removed all warnings
2567 * src/o_selection.c: Fixed some functions which were either supposed
2568 to return something (and were not) or functions which should not
2569 have been returning anything but were.
2571 * */*: Upgraded to libtool 1.3.5
2573 * src/s_basic.c: Increased the memory size of the object name string
2576 * src/u_basic.c: Removed #include <malloc.h>, replaced it with
2579 2000-06-27 Ales Hvezda <ahvezda@geda.seul.org>
2581 * include/struct.c: Added type variable to UNDO structure
2583 * src/s_undo.c: Added code to deal with type variable
2585 * configure.in: Put in checks for gtk+ and glib 1.2.3
2587 * src/Makefile.am: Bumped up shared library version to 9
2589 * All gEDA directories/programs: Created distribution Makefile.in
2592 * include/defines.h: Added #defines to support attrib_edit_dialog
2595 2000-06-26 Ales Hvezda <ahvezda@geda.seul.org>
2597 * include/struct.h: Added object_head pointer to UNDO struct
2599 * src/s_undo.c: Added code to deal with above new pointer
2601 * src/s_undo.c: Had to change some of the s_undo_* functions to
2602 have the TOPLEVEL *w_current argument. Need to review and make
2603 sure this is really needed.
2605 * src/o_*_basic.c: Fixed all *_copy functions to copy the color of
2606 the object correctly (not the selection color)
2608 * src/o_*_basic.c: Also make sure all *_copy functions copy the
2609 saved_color variable
2611 * src/o_complex_basic.c: Fixed *_copy functions to preserve the
2612 selectability of complex objects
2614 * include/struct.h: Added undo-type to TOPLEVEL structure
2616 * src/o_list.c: OOPS! Found an ancient bug. Forgot to restore
2617 object_parent pointer if you passed in an empty list src list
2618 to the o_list_copy* functions (did the same for ADDING_SEL flag)
2620 /*************************************************************************/
2622 src/*.c: Removed all the ADDING_SEL nonsense (code).
2623 include/struct.h: Removed the ADDING_SEL variable from the TOPLEVEL struct
2625 /*************************************************************************/
2627 * include/defines.h: Added UNDO_ALL and UNDO_VIEWPORT_ONLY #defines
2629 2000-06-23 Ales Hvezda <ahvezda@geda.seul.org>
2631 * src/o_*_basic.c: Fixed o_*_save to properly save the object if it
2634 * include/struct.h: Moved undo_* into the PAGE structure
2636 * src/s_page.c: Added necessary free and init in s_page_* for undo
2639 * include/struct.h: Added undo_levels and undo_control rc vars to
2642 2000-06-22 Ales Hvezda <ahvezda@geda.seul.org>
2644 * include/struct.h: Added first cut of UNDO structure/typedef
2646 * src/s_undo.c: Added new file which will hold low level undo
2649 2000-06-07 Ales Hvezda <ahvezda@geda.seul.org>
2651 * src/o_attrib.c: Added Martin Benes' uref renaming patch. The
2652 one call to the function which does all the work was #if'ed
2653 out. o_attrib_update_urefMB has some side effects which makes
2654 it problematic to have in the mainstream release.
2656 2000-06-04 Ales Hvezda <ahvezda@geda.seul.org>
2658 * src/o_text_basic.c: Oops, found an old memory leak; made the
2659 assumption that text which was invisible had no text_head.?? and
2660 just set complex pointer to NULL, and hence created a leak.
2661 Plugged leak by freeing complex list completely before NULLing
2663 * src/o_net_basic.c: #if DEBUG'ed out some printf's which dealt
2664 with net consolidation
2666 2000-06-03 Ales Hvezda <ahvezda@geda.seul.org>
2668 * include/struct.c: Added continue_component_place variable to the
2671 2000-06-01 Ales Hvezda <ahvezda@geda.seul.org>
2673 * include/struct.h: Added promote_invisible variable to the TOPLEVEL
2676 * src/o_complex.c: Added code to act on above variable in the new
2677 attribute promotion code
2679 * include/struct.h: Added keep_invisible variable to the TOPLEVEL
2682 2000-05-28 Ales Hvezda <ahvezda@geda.seul.org>
2684 * include/struct.h: Added attribute_promotion to TOPLEVEL structure
2686 * src/o_complex_basic.c: Added Martin Benes' code to implement
2687 attribute promotion.
2689 * src/o_complex_basic.c: Renamed attach_attributes to
2692 * src/o_complex_basic.c: Changed some 0's to FALSEs.
2694 * src/o_complex_basic.c: Added another test to
2695 o_complex_is_eligible_attribute, only visible floating text
2696 attributes will be promoted
2698 * src/o_list.c: Added Martin Benes' code changes
2700 2000-05-27 Ales Hvezda <ahvezda@geda.seul.org>
2702 * src/o_text.c: Replaced o_text_mirror and o_text_mirror_world
2703 by the much improved routines written by Martin Benes, these
2704 function properly handle the changing of the origin when mirroring
2707 2000-05-23 Ales Hvezda <ahvezda@geda.seul.org>
2709 * include/struct.h: Added buffer_number to TOPLEVEL structure
2711 2000-05-22 Ales Hvezda <ahvezda@geda.seul.org>
2713 * src/o_complex.c: Added o_complex_unset_color_single and
2714 o_complex_set_color_single which unset/set the color on only
2717 * src/o_list.c: Added a return paramater to o_list_copy_to
2718 (return the new object which was copied)
2720 * src/o_list.c: Added o_list_copy_all_selection2 which copies
2721 the objects in a selection list into a plain object list
2723 * src/o_list.c: In o_list_copy_all_selection2 unselected the object
2724 first (all objects in the selection list should be selected) and
2727 2000-04-21 Ales Hvezda <ahvezda@geda.seul.org>
2729 * src/o_*_basic.c: Added a check to make sure the color of all read
2732 2000-04-16 Ales Hvezda <ahvezda@geda.seul.org>
2734 * src/o_text.c: Added some more checking when reading in text items
2735 Specifically to check for invalid alignment fields
2737 * src/o_text.c: Added missing alignment field to some of the other
2738 warning messages in o_text_read
2740 * src/u_basic.c: Added u_basic_breakup_string
2742 * include/struct.h: Added raise_dialog_boxes to TOPLEVEL structure
2744 2000-04-15 Ales Hvezda <ahvezda@geda.seul.org>
2746 * src/o_complex.c: Renamed o_complex_return_pin to
2747 o_complex_return_nth_pin
2749 * src/o_complex.c: Created new o_complex_return_pin_object to support
2750 gnetlist's g_get_pin_attribute
2752 * src/create_proto: Updated prototype.h creation script to use gtk/glib
2753 paths from my machine (installed in /usr/local ...)
2755 * src/o_attrib.c: Added o_attrib_search_attrib_value to support
2756 o_complex_return_pin_object
2758 * src/o_attrib.c: Added o_attrib_search_attrib_name to support
2759 gnetlist's g_get_pin_attribute
2761 2000-03-23 Ales Hvezda <ahvezda@geda.seul.org>
2763 * src/o_net.c: Started fixing the broken code in o_net_consolidate*
2764 which was causing a core dump with the new selection code
2766 * src/o_net.c: Added some intelligence to o_net_consolidate_segments
2767 so that objects are properly selected when consolidation happens
2769 2000-03-20 Ales Hvezda <ahvezda@geda.seul.org>
2771 * include/struct.h: Added locked_color to OBJECT structure
2773 * src/s_basic.c: Inited locked_color to -1
2775 * src/o_selection.c: Removed some old debugging info
2777 * src/a_basic.c: Removed dead code from o_scale
2779 * src/o_attrib.c: Removed some more dead code (old selection related)
2782 * src/o_complex.c: Misc code cleanup
2784 * src/s_color.c: Removed an obsolete comment
2786 2000-03-16 Ales Hvezda <ahvezda@geda.seul.org>
2788 * src/o_attrib.c: Got o_attrib_set_color to work with the new selection
2791 2000-03-10 Ales Hvezda <ahvezda@geda.seul.org>
2793 * include/struct.h: Added doing_pan variable to TOPLEVEL structure
2795 * include/struct.h: Added fast_mousepan variable to TOPLEVEL structure
2797 2000-03-09 Ales Hvezda <ahvezda@geda.seul.org>
2799 * src/o_attrib.c: Removed the first (of many) o_redraw_single's from
2800 the attrib free routine
2802 2000-03-08 Ales Hvezda <ahvezda@geda.seul.org>
2804 * src/o_attrib.c: Further cleaned up o_attrib_attach to only attach
2805 the single specified attribute item (instead of looping which is
2806 not correct anymore)
2808 * src/o_attrib.c: Got the color setting on attributes and
2809 non-attributes right
2811 * src/o_net_basic.c: Put some comments in the net consolidate functions
2812 since these functions are really broken with new selection mechanism
2814 2000-03-06 Ales Hvezda <ahvezda@geda.seul.org>
2816 * src/o_attrib.c: Got rid of some of the o_list_search's which are
2817 now not required anymore
2819 2000-03-05 Ales Hvezda <ahvezda@geda.seul.org>
2821 * src/o_text_basic.c: Got o_text_recreate to work right with new
2822 selection mechanism (set saved_color correctly)
2824 2000-02-28 Ales Hvezda <ahvezda@geda.seul.org>
2826 * src/o_complex.c: Added o_complex_set_saved_color_only which only
2827 sets the saved_color flag of a complex object
2829 * src/o_complex.c: Added some selection specific functions
2831 * src/x_event.c: Got middle button actions working again
2833 2000-02-25 Ales Hvezda <ahvezda@geda.seul.org>
2835 * include/struct.h: Added SELECTION typedef and structure
2837 * src/o_selection.c: Added new selection (data structure) code
2839 * include/defines.h: Changed NORMAL and SELECTION #defines to be
2840 NORMAL_FLAG and SELECTION_FLAG due to name clashes
2842 * include/struct.h: Added selected flag to OBJECT structure
2844 * src/o_complex.c: Simplified o_complex_set_color to have only the
2845 required parameters (object and the new color) (Also changed order)
2847 * src/o_complex.c: Found/Fixed a bug in o_complex_set_color
2849 * src/o_complex.c: Added o_complex_set_color_save which sets the color
2850 but also saves it for future use (used in selection mechanism)
2852 * src/o_complex.c: Added o_complex_unset_color which restores the
2853 color from the saved_color variable (used in selection mechanism).
2855 * src/o_selection.c: Added o_selection_return_first_object
2857 * src/o_selection.c: Added o_selection_return_nth_object (returns
2858 the nth object starting at zero being the first object)
2860 * include/struct.h: Removed selection_tail and selection_head so that
2861 gschem can be completely purged of the old selection mechanism
2863 2000-02-19 Ales Hvezda <ahvezda@geda.seul.org>
2865 * README/INSTALL: Updated files to reflect next release
2867 * src/*.c: Removed all // comments (changed to /* */)
2869 * src/*.c: Fixed all warnings (using -Wall -Werror)
2871 * src/o_attrib.c: Really enforced the no spaces beside the equals
2872 sign when checking if an attribute is valid or not
2874 * src/Makefile.am: Incremented libgeda.so version number
2876 2000-02-17 Ales Hvezda <ahvezda@geda.seul.org>
2878 * src/o_text_basic.c: More work on getting postscript output to work
2879 with new text alignment
2881 * include/struct.h: Added text_origin_marker flag in TOPLEVEL struct
2883 * include/struct.h: Added text_alignment flag in TOPLEVEL struct
2885 * src/o_text_basic.c: Changed the order of the T (text) item in
2886 schematic files (... angle alignment)
2888 2000-02-16 Ales Hvezda <ahvezda@geda.seul.org>
2890 * All configure.in files: Changed the version to 20000220 (to force
2893 * include/struct.h: Added text_alignment flag to object structure
2895 * src/s_basic.c: Inited above flag to default value
2897 * src/s_basic.c: Removed old unused code
2899 * src/o_text_basic.c: Added the text alignment flag to the file format
2900 for reading in text items (old text format is still valid though)
2902 * src/o_text_basic.c: Added the text alignment flag to the file format
2905 * include/defines.h: Added text alignment #defines
2907 * src/a_basic.c: Change the default version number (to the current
2908 version) if the version tag is not found in a file read in by o_read
2910 * src/o_text_basic.c: Added o_text_height function to help
2911 readability of the up the code and get rid of awful hardcoded
2914 * src/o_text_basic.c: Added code to support text alignment flag as well
2915 as code to support rotation and mirroring of this new text
2917 * src/o_text_basic.c: Started getting postscript printing to work; not
2920 2000-02-01 Ales Hvezda <ahvezda@geda.seul.org>
2922 * src/s_hierarchy.c: Fixed some bugs so that detached pages (from
2923 the hierarchy) get properly reconnected when they are called for
2926 2000-01-31 Ales Hvezda <ahvezda@geda.seul.org>
2928 * src/s_slib.c: Created s_slib_search_single which just search for
2929 the filename and does nothing else to the name.
2931 * src/s_hierarchy.c: Created s_hierarchy_down_schematic_single and
2932 transformed old call into s_hierarchy_down_schematic_multiple
2934 * src/o_attrib.c: Put in another check in o_attrib_free_returned
2935 to make sure found_objects is not null before it is dereferenced
2937 * include/struct.h: Added enforce_hierarchy to toplevel structure
2939 * include/struct.h: Added mawindow to toplevel structure
2940 (multi-attrib window)
2942 * include/struct.h: Added aewindow to toplevel structure
2943 (attrib-edit window)
2945 * include/struct.h: Added sewindow/seentry to toplevel structure
2948 2000-01-17 Ales Hvezda <ahvezda@geda.seul.org>
2950 * include/struct.h: up and down pointers to the st_page structure
2952 * src/s_hierarchy.c: Added push/pop symbol/schematic functions
2954 * src/s_page.c: Added inits of up and down pointers in the st_page
2957 * include/struct.h: Added page_control variable (which contains an
2958 int which basically describes what hierarchy level you are at)
2960 * src/s_page.c: Make sure all the above new vars are properly inited
2962 2000-01-04 Ales Hvezda <ahvezda@geda.seul.org>
2964 * src/o_attrib.c: Fixed o_attrib_return_attribs so that it returns
2965 an array of objects instead of an array of strings
2967 2000-01-03 Ales Hvezda <ahvezda@geda.seul.org>
2969 * src/o_attrib.c: Added o_attrib_return_attribs which returns an
2970 array of all attached attributes given an object
2972 * HACKING: Added file which describes file prefix (for now)
2974 1999-11-09 Ales Hvezda <ahvezda@geda.seul.org>
2976 * src/s_clib.c: Fixed s_clib_getfiles to filter files based on
2977 the filter (new argument) passed in
2979 * src/s_slib.c: Fixed a debugging routine to call the right functions
2982 1999-10-23 Ales Hvezda <ahvezda@geda.seul.org>
2984 * src/s_basic.c: Added some checks in the object malloc, just for
2987 1999-10-18 Ales Hvezda <ahvezda@geda.seul.org>
2989 * src/f_print.c: Added some error checking to make sure you can open
2990 the postscript output file, otherwise log an error message.
2991 Pointed out by Mike Riendeau
2993 * src/f_print.c: Modified f_print() to return something indicating
2996 1999-10-17 Ales Hvezda <ahvezda@geda.seul.org>
2998 * include/*.h: Added multiple controlling #ifdef's into all *.h files
3000 * include/libgeda.h: Created file which contains all the required
3001 include files in the right order
3004 1999-10-11 Ales Hvezda <ahvezda@geda.seul.org>
3006 * src/s_clib.c: Added the ability to set the count in s_clib_getfiles
3008 * include/struct.h: Added another search related var to FILEDIALOG
3010 * include/defines.h: Added SET_COUNT #define for s_clib_getfiles
3012 * include/struct.h: Added search_label gtk widget to FILEDIALOG struct
3014 * ../*/configure.in: Changed version number to today's date
3016 * src/Makefile.am: Incremented libgeda.so version number
3018 * src/o_attrib.c: Fixed -Wall warnings
3020 * src/s_clib.c: Fixed -Wall warnings
3022 * src/s_page.c: Fixed -Wall warnings
3024 * src/s_clib.c: Fixed s_clib_getfiles so that *only* files which .sym
3025 suffix get read in as valid symbol files
3027 * src/o_pin_basic.c: Added o_pin_modify()
3029 1999-10-10 Ales Hvezda <ahvezda@geda.seul.org>
3031 * include/defines.h: Added a few more defines to support SAVEAS_*
3032 and the new file dialog box
3034 * include/struct.h: Added a few type vars to the FILEDIALOG struct
3036 * src/s_log.c: Added cwd to s_log_init to deal with the chdirs that
3039 * include/struct.h: Added a last search pointer (int) vars to the
3042 * src/s_clib.c: Added s_clib_return_num
3044 1999-10-09 Ales Hvezda <ahvezda@geda.seul.org>
3046 * src/s_page.c: Changed s_page_add: full path is now in page_filename
3048 * src/s_page.c: Added full path only if page_filename doesn't start
3051 1999-10-05 Ales Hvezda <ahvezda@geda.seul.org>
3053 * include/defines.h: Added some FILEDIALOG #defines
3055 * include/struct.h: Added filter_type variable to FILEDIALOG struct
3057 1999-10-03 Ales Hvezda <ahvezda@geda.seul.org>
3059 * include/struct.h: Added filename_entry variable to FILEDIALOG struct
3061 * include/struct.h: Added preview rc variable to TOPLEVEL struct
3063 * include/struct.h: Added preview_control variable to FILEDIALOG struct
3065 * include/struct.h: Added directory_entries and file_entries to
3068 * include/defines.h: Added MAX_DIRS and MAX_FILES
3070 * Fixed all *.c files to #include defines.h before struct.h
3072 * include/struct.h: Added toplevel variable to FILEDIALOG struct
3074 1999-10-02 Ales Hvezda <ahvezda@geda.seul.org>
3076 * include/struct.h: Added TOPLEVEL preview variable to FILEDIALOG struct
3078 1999-10-01 Ales Hvezda <ahvezda@geda.seul.org>
3080 * include/struct.h: Added xfwindow array to TOPLEVEL structure
3082 * include/struct.h: Made the above array a structure
3084 * include/struct.h: Changed FILESEL struct to FILEDIALOG struct
3086 * src/g_basic.c: Added #include for define.h
3088 1999-09-28 Ales Hvezda <ahvezda@geda.seul.org>
3090 * src/o_attrib.c: Removed the ability to attach non-text items
3091 as attributes as a sch/sym is being read in (o_read_attribs)
3093 * src/o_attrib.c: Fixed a nasty bug where the color of text was
3094 being forced to the attribute color even if you didn't want that
3095 color (pointed out by Magnus)
3097 9/19/99 Make sure libgeda works with guile-1.3.2a
3099 Added some code to o_text.c to look for char_.sym for lowercase
3100 characters when running CYGWIN32
3102 Messed up above slightly, now fixed
3104 Did not return a success (zero) in s_color_request, now fixed
3106 Increased the number colors to 25
3110 Increased the .so version of libgeda to 4
3112 9/18/99 Fixed a bug in s_color_gdcolor_init, had the gd color alloc in the
3113 wrong place (before a pointer was set)
3115 9/17/99 Added/changed a few variables the various structures in struct.h
3117 9/16/99 Removed the restriction that sym/sch files have to be perfect. You
3118 now can have garbage in a sym/sch file and it won't exit, but instead
3119 warn the user and display what it read in.
3121 Added a bunch of tests into o_attrib_attach to prevent:
3122 - Attaching a non-text item as an attribute
3123 - Attaching an attribute to more than one object
3125 Improved the warning that is displayed when an attribute is already
3126 attached to an object
3128 Updated f_open and s_page_new to only open a schematic/symbol if it
3129 isn't opened already.
3131 9/12/99 Added a flag in s_netlist structure for net naming priority
3133 9/7/99 Added s_color.c
3135 Cleaned up code to reflect the new function names created by s_color.c
3137 Removed all lame function pointers now that the color stuff is part
3140 Added st_color structure to struct.h
3142 Added o_attrib_search_name_single_count which is like the other
3143 search_name functions in that it allows you to pick the n'th
3144 occurance of an attribute but only searching the specified in object
3146 9/6/99 Removed most color #defines from color.h, in prep for the new color
3149 Temporarily broke color postscript printing
3150 Temporarily broke color image writing
3152 Put into colors.h the proper #defines for the new colors scheme
3154 Put a few user rc variables into the toplevel struct
3156 Fixed color postscript printing
3157 To do this, I had to create a ps_color_string global variable function
3158 pointer, so every gEDA program needs to define this if it has to be
3161 Fixed a coredump bug which was caused by improper attributes (ie
3162 pin15= (and no value))
3164 Fixed o_attrib_get_name_value so that improper attributes are NOT
3165 returned as proper attributes
3167 Started to fix the broken color image writing
3168 - Re-arranged the allocation of colors in o_image.c
3170 Got color image writing working again
3172 Unfortunately had to create another function pointer for
3173 x_color_gdcolor_init (ugg... I need to clean all this up...)
3175 8/31/99 Renamed ntext to text (finally)
3177 Hopefully fixed the problem that gnetlist was having with embedded
3180 8/30/99 Fixed the bus visual cues postscript output to look better
3181 (by controlling the capstyle)
3183 Fixed the direction of horizontal bus visual cues in postscript
3186 Renamed all ales to conn and ALES to CONN
3189 8/29/99 Added bus_gc
3191 Added support to the postscript / image printing for the bus cues
3193 Got bus to look thicker when they are imaged. Still need to do
3196 Fixed a postscript problem when you have thin nets enabled
3197 (everything would be thick... which is the exact opposite of what
3200 Removed a "this is totally broken" comment from o_complex_add_embedded
3201 (I think it works... but just in case...)
3203 Removed all warnings from the code
3205 8/28/99 Fixed a minor bug: connect two nets to a bus to the same point, you
3206 would get an invalid cue, which isn't right (that's a valid bus
3207 midpoint connection).
3209 8/27/99 Set the program version to 19990829 to force Ales to release
3212 Updated all *.c and *.h files to have the right address for the
3213 FSF in the copyright/licence header
3215 Updated library so version
3217 8/18/99 More work getting buses to work correctly, updates to o_ales
3218 (which will turn into o_conn eventually)
3220 Added #defines for output-capstyle
3222 Added code in f_print which does the work of the capstyle keyword
3224 More work in o_ales to get bus to work right.
3226 Added code which determines if a connection is valid or invalid
3227 NOT valid: pin to bus
3228 NOT valid: net to endpoint of bus
3230 8/17/99 Started adding bus object
3231 Including creation of all basic functions
3232 Update toplevel structure (struct.h)
3233 Update of enumerated types of objects
3235 8/12/99 Added o_net_modify to support the stretch command
3237 8/11/99 Added o_attrib_search_toplevel which searches for toplevel attributes
3238 in all loaded pages.
3240 Fixed a fatal bug (core dump) in the o_net_consolidate_lowlevel
3241 function (as well as a possible memory leak) that deal with
3242 connecting nets together which both had attributes.
3244 Fixed another memory leak in o_net_consolidate_*
3246 Fixed configure.in to properly check for cygwin port and X11
3247 libraries (for all other tools as well)
3249 8/5/99 Added some stuff to configure.in for win32 builds
3251 Removed some bogus #includes <dirent.h> from a bunch of files
3252 s_attrib.c, s_papersize.c, s_stroke.c
3254 Renamed private POINT structure to sPOINT (single POINT) in m_basic.c
3255 (it was conflicting with some includes in win32)
3257 Added some more #if conditions to the #include <direct.h>, only
3258 include this on UNIX platforms
3260 Added code in configure.in to ignore the requirement for X11 for
3263 8/3/99 Added to TOPLEVEL the net_consolidate flag
3265 Upgraded to libtool 1.3.3
3267 First attempt at getting net_consolidate to work with attached
3270 Removed an extra return from o_attrib.c
3272 net-consolidate code is not 100% working today.
3274 7/27/99 Added o_net_consolidate* functions which take net segments and
3275 if possible combine the nets into one single net.
3277 Added o_net_consolidate to f_open so that it runs
3278 whenever you open a schematic
3280 Added o_net_consolidate to f_save so that it runs
3281 whenever you save a schematic
3283 7/25/99 Cleaned up g_read_file(). (by Kazu Hirata)
3285 7/23/99 Added u_basic_strdup_multiple() to u_basic.c. (by Kazu Hirata)
3287 7/21/99 More work on getting all objects to use new object init and link
3288 routines (rest of o_*_basic.c functions)
3290 Created u_basic.c for utitlity functions to which Kazu is adding
3292 Removed all traces of s_passing.c and s_passing.h (Yeah, no more
3295 #if 0'ed out add_object, replaced by new object init and link
3298 Found all unknown p_* variables and removed them
3300 7/16/99 Added s_basic_init_object which just creates an object and inits
3301 it with default values (this is part of the s_passing kludge removal)
3303 Added s_basic_link_object which links in the object into the passed in
3306 Removed "int selected" from struct.h (was totally unused)
3308 Minor cosmetic changes in struct.h
3310 As a first test, converted o_ntext_basic.c to use new
3311 s_basic_init_object and s_basic_link_object
3313 7/15/99 Added support for libgdgeda 1.6 (mainly means searching for libpng)
3315 Removed all traces of old libgdgeda 1.5 gif support
3317 Changed the check for zlib (uncompress is the function it searches
3320 7/10/99 Started to improve the performance of the math functions
3321 (was doing to much math everytime I was calling pix_x/pix_y)
3323 Finished speed improvements in mil_x and mil_y
3325 Updated a few places where it's important to call set_window
3326 (part of the math speed improvements)
3328 Added some variables to struct.h to support gschem rc files
3330 Added displayed_text_len which holds the true string length of
3331 text which is displayed
3333 Added a check in o_ntext_read for unsupported text angles
3335 7/6/99 Didn't really disable libgdgeda when using --disable-gdgeda
3338 7/5/99 Fixed a minor typo when allocating a string "pin" instead of "slot"
3340 Hopefully got slotting to work with alphanumeric pins
3342 Removed all warnings
3344 Updated configure.in a bit
3346 Updated version number (in all other programs as well)
3348 Updated README file (in all other programs as well)
3350 7/4/99 Fixed the headers in all files to be correct (GPL)
3352 7/3/99 Removed some debug printfs from s_nethash.c
3354 Removed some obsolete data structure elements in the gnetlist part
3357 Added code to warn user that a zero length object (line, net, pin
3358 etc...) was just read in
3360 7/2/99 Fixed the ./configure stuff dealing with libgdgeda so that it works
3361 when libgdgeda isn't installed in a system directory
3363 7/1/99 Changed all gd includes to gdgeda to distinguish my version of gd
3364 from the official one
3366 Changed HAS_LIBGD to HAS_LIBGDGEDA
3368 Added #ifdef HAS_LIBGDGEDA where appropriate
3370 Missed a few spots in adding above, found them all I hope
3372 6/29/99 Added s_nethash.c which deals with the nethash table in gnetlist
3374 Added init of the nethash table to s_page.c
3376 6/26/99 Fixed the output of 180 rotated text in the postscript output
3378 6/25/99 Added the ability to generate black and white gifs
3380 Moved a o_redraw_all from libgeda into gschem where it belongs
3383 Removed all traces of GTK_DEVEL
3385 6/24/99 Got all the object primatives outputing to the image (including
3386 the rather painful arcs)
3388 Added the ability to change the image size
3390 Added a o_recalc function which recalcs, but doesn't draw the objects
3392 6/23/99 Added o_image.c (which is code which uses the gd lib to output
3395 Added some entries in the TOPLEVEL structure to support the image
3398 Added f_print.c which includes all the toplevel code for writing
3401 Added support to configure and friends to make libgd an optional
3404 6/17/99 Added o_ales_search_object which goes through entire the ales_table and
3405 finds the n'th occurance of object
3407 Above may be removed and moved somewhere else (into gnetlist)
3409 6/13/99 Removed s_delete_head from production
3411 Attempted to find the hidden attribute memory leak
3413 Found above memory leak and squashed.
3415 6/10/99 Added the start of support for not creating text items which are
3418 6/9/99 Increased the number of symbols which can be in a directory to 1024
3419 from (256) in s_clib.c (s_clib_getfiles)
3421 6/1/99 Fixed a few minor things in s_page.c and s_basic.c (p_circle stuff)
3423 Put some checks to prevent the coredump condition described below
3425 Put some casts to make make happy (less warnings)
3427 5/31/99 Fixed printing for nets visual cues
3429 Removed all traces of the old connection system
3431 Discovered a core dump condition in clib_cache_free
3432 (caused by reading in swedish/non-standard-ascii character font
3433 files, okay for now)
3435 Few minor touch up to s_clib.c, but not enough to solve above
3437 5/29/99 Change the license for libgeda back to GPL (from LGPL)
3439 Put in another check in the o_ales_update_nets function to
3440 make sure we don't add duplicate objects into the ales_list's
3442 Added in code which allows for unattached toplevel attributes
3445 5/99 See ChangeLog in gschem for all the changes related to the new
3448 All connection stuff is in o_ales.c (will be renamed to o_conn.c
3449 once things get a big more stable)
3451 5/16/99 Removed ../libgeda/prototype.h from f_print.c
3453 Removed ../include/x_states.h and ../include/x_events.c
3455 Moved prototype.h to ../include (change all the source as well)
3457 Commented out most of ../include/globals.h
3459 5/13/99 Increased the size of buffers and the reading in of attributes
3460 (o_attrib.c -- o_read_attribs)
3462 Increased the size of text strings (in o_ntext_basic.c)
3464 Fixed the appropriate string in s_passing.c (and s_passing.h)
3466 Fixed text_string allocation size in add_object (s_basic.c)
3468 The above changes should fix the bug reported by Thomas Dean
3470 4/27/99 Minor comment fix in include/struct.h
3472 4/20/99 Minor fprintf warning/error message touchups in s_clib.c
3474 4/15/99 Added coord dialog variables to WINDOW structure
3476 3/23/99 Added GtkWidget *abwindow to struct.h
3478 3/19/99 Added expand_env_variables which takes a string and expands all
3479 shell enviroment variables.
3481 Fixed it so that when you do some attribute related activities
3482 the changed flag gets set
3484 Had to remove one of the above because just selecting something
3485 with attributes would cause the flag to be set...
3487 3/9/99 Remove all // from all include/*.h files
3489 3/2/99 Added missing #include <stdarg.h> to s_basic.c
3491 3/1/99 Fixed the vsnprintf problem I thought I fixed. It's fixed now!
3493 Updated struct.h (new schcheck structure)
3495 2/25/99 Added gsymcheck structures (include/struct.h)
3497 2/12/99 Added code (#ifndef'ed) for vnsprintf to fix the Solaris 5.5.x
3498 problem (didn't have vnsprintf). The vnsprintf wrapper is from
3499 Timidity++-1.2.1, which is under the GPL v2.0
3501 Minor bug fix to s_log_close (disable the logging of messages after
3502 you close the log file)
3504 Found a memory leak in s_clib_cache_free, the index used in the loop
3505 could wrap, so you might end up freeing only a portion of the entries
3507 2/11/99 Searching through stroke structure fixed to be faster (does not
3508 search the whole array of structures)
3510 Implemented a return value of s_stroke_search_execute (TRUE if it
3511 finds a stroke, FALSE otherwise)
3513 Increased max number of strokes to 256
3515 2/9/99 Increased buffer which is used for reading in schematics to 1024
3518 Increased buffer which is used for saving schematics to 1024
3521 Added s_stroke.c (place where strokes to action mapping is stored)
3523 1/24/99 Fixed a fprintf format statement (%% instead of %) in f_print.c
3525 1/23/99 Fixed printing problem created when I switched the rc reading order
3527 Added code to support portrait printing printing (in struct.h :
3528 print_orientation, defines.h - a few useful defines)
3530 Changed f_print_header, w_current is passed in now
3532 Worked some on getting portait mode right (instead of the _hack_
3533 which it currently is)
3535 Changed the way the translating actual happens in the actual
3536 postscript (instead of changing the points in C, it's done with a
3537 translate), much cleaner. (be sure to remove all the dead code...
3540 Got portrait printing working more or less. Still might be buggy
3543 Added support for color postscript printing (f_print_set_color)
3545 Fixed some bugs in the printing of colored nets (end/midpoints not
3546 being colored right)
3548 1/17/99 More gtk+ 1.1.x compatibility work (in s_log.c) (minor #ifndef)
3550 Changed s_log_message to use vsnprintf instead of the g_v* functions
3551 since they were not behaving like I want them to.
3553 1/9/99 Added gtk+ 1.1.x compatibility to libgeda
3554 g_vprintf -> g_strdup_vprintf (s_log.c)
3556 12/30/98 Removed duplicate code from snap_grid function
3558 12/15/98 Added clip_nochange and clip_change (really just copied and
3559 changed existing code). These routines either just tell if a
3560 line (object) should be clipped and/or the actual points are
3563 Added SCREENencode_halfspace and WORLDencode_halfspace
3564 which support above code
3566 Discovered that my clipping routine wasn't working completely
3567 right (slope was always zero) fixed now?
3569 12/13/98 Fixed pin color being saved as -1
3571 Added some checks in clip to make sure you don't divide by zero
3572 Assume the object is visible if you were going to divide by zero.
3574 12/9/98 Added WORLDabs and SCREENabs, these function, don't return a points
3575 coordinates, but rather an absolute measure in either world or screen
3576 coordinates (such as a width of a line or the radius of a circle)
3578 Finally fixed o_ntext_print so that you can print out ('s and )'s.
3579 (should work on all postscript printers correctly)
3581 Changed the ps of text output so that it uses "show" instead of
3582 "true charpath fill"
3584 Cleaned up rest of circlefixme comments left over from yesterday
3586 12/8/98 Added st_circle structure and CIRCLE typedef to include/struct.h
3588 Started changing o_circle_basic to use new structures above
3590 Changed s_basic to allocate and free above structures
3592 Added circle structure to s_passing.c/s_passing.h
3594 Added some if's in add_object for p_line_points and p_circle
3596 Went through and added p_circle=NULL to all the places that needed it
3598 Went through and fixed up all prototype errors associated with above
3601 Discovered a major bug in o_complex_rotate_lowlevel, was trying to
3602 rotate a circle using a box routine (worked previously since circle/box
3603 used similar datastructs, now that's changed)
3605 Found the same sort of bug as above in o_complex_mirror_lowlevel.
3606 (trying to use box routine to mirror a circle)
3608 12/6/98 Found another really long term bug in dist() (wrong value being
3609 set to temp var). I don't know how it worked with this bug.
3611 Found another long standing bug in circle, again not sure how things
3612 worked before, dumb luck. When saving, radius which was saved
3613 could have been zero due to how the circle is represented in memory
3616 12/5/98 Found a nasty bug in the printing of X endpoint lines, was using
3617 offset variable instead of cross, also had the wrong variables
3620 12/3/98 Added Tom Javen's finnish / swedish libgeda patch to o_ntext_basic.c
3622 11/27/98 Apparently I didn't fix the %! in f_print.c so now it's definately
3625 11/18/98 Removed some irrelavent/dead/wasteful code from m_basic.c (math
3628 11/15/98 Added code to center LIMITS printed schematics
3630 Added code to deal with space.sym (the right way) (when reading in
3631 the width specifier)
3633 Added backtick.sym to o_ntext_basic.c
3635 11/6/98 Added sort routine to s_clib_getfiles (so that components are in
3636 alphabetical order when displayed)
3638 Added support to TOPLEVEL struct for print dialog box
3640 Added s_papersizes.c, place to hold paper sizes read from rc file
3642 Added print_output_type to TOPLEVEL structure
3644 11/5/98 Added paper_width, paper_height to the TOPLEVEL structure
3646 Started work on generalizing the postscript printing (print to
3649 Started work on being able to print out the current window
3651 10/28/98 Cleaned up o_ntext_basic to get rid of special code for space
3654 10/25/98 Cleaned up all warnings (-Wall only)
3656 Added some error checking in a few misc places
3658 Added version information to o_save (o_save_write_header)
3660 Added version information reading to o_read
3662 Passed version info to all o_*_read functions (this was done so,
3663 because o_read is called recursively)
3665 10/24/98 Added the ability to have comments in schematic files, but they are
3668 10/22/98 Removed arc bounding code again... still not working right
3670 Added o_attrib_slot_update (update pins based on slot, given complex)
3672 Added o_attrib_search_slot_number (search for slot#)
3674 Added o_attrib_search_pin_number (search for pin#)
3676 Added o_attrib_slot_copy (copy pin information over to new complex)
3678 Added the o_attrib_slot_copy to o_complex_copy
3680 Found a memory leak in the above code, fixed (along with some other
3683 Got the first working version of the slotting done
3685 10/18/98 Added o_attrib_search_slot
3687 Changed o_attrib_search_name_single to return the object where the
3690 Added a bunch of o_attrib_search_name_* function to search for
3691 various standard attributes
3693 10/17/98 Applied patch by Roger to add variable grid spacing
3695 10/15/98 Attempt to fix the arc bounding code (doesn't quite work 100%)
3697 10/12/98 Found a small bug in world_get_circle_bounds which was causing
3698 a_zoom_limits to set the wrong value if a circle was the largest
3701 Finally fixed o_arc_add so that it takes world coords like all
3702 the other objects! Woo Hoo!
3704 10/10/98 Added netlist structures to struct.h
3706 Added visited flag to object structure
3708 10/9/98 Removed some really old #if 0 and did a small amount of code cleanup
3710 10/8/98 Worked some more on the mirror code of complex objects
3712 Almost working except for text inside components which is unmirrored
3713 (that displays incorrectly)
3715 10/6/98 Broke schematic format again with the addition of the mirror flag
3718 Added code to implement above
3720 Changed the way the rotating of complex is done
3722 10/5/98 Added o_line_mirror
3724 Found a nasty cpu sucker, in o_ntext_rotate, where you were doing
3725 the rotate effectively twice. Oops. Removed one line rotate while
3728 Added rest of o_*_mirror
3730 Worked on o_ntext_mirror
3732 Worked on o_complex_mirror
3734 Added all o_*_mirror_world
3736 Found/fixed a minor bug in the text rotate dealing with the mirror of
3737 attributes (mirroring wrong point when mirroring attributes)
3739 Discovered a case which broke arc printing (negative sweep angles),
3740 Hacked something together to fix it, but unknown if it's a complete
3743 Figured out how to finish up complex mirrors, but that will have
3744 to wait till tomorrow.
3746 10/4/98 Worked on gettting printing working and flexible (f_print)
3748 Got text to be printed using native postscript fonts. The mapping
3749 between the stroked fonts and the real ones is really close, not
3752 10/1/98 Fixed all warnings (with -Wall)
3754 Found a place where temp_parent wasn't being used to temporarly
3755 hold object_parent (o_list.c _copy_all)
3757 Added README and COPYING
3759 9/30/98 Added code to have text that is rotate 180 degrees be upright and
3760 readable (almost perfect, but still need to get it exactly looking
3761 right) (text with bars and text with subscripts doesn't rotate right,
3762 but that can be fixed in a better way)
3764 9/29/98 Today starts the new release system: 19980929
3766 Added o_attrib_copy_all (to copy attribute lists), useful when you
3767 rotate components (and the attribute list is discarded)
3769 Added o_attrib_reattach and o_attrib_set_color to help support the
3770 proper continuation of attached attributes to complexes when they
3775 9/27/98 Fixed o_complex_*_rotate functions to actually work
3776 Modelled after the ntext ones
3778 Found a rotate bug in arc_world if you passed in a zero angle
3779 Made a similar change to all the rotate_world functions
3781 Found a new bug in arc_rotate_world, arc's were not being rotated
3784 Moved the highly gschem specific o_complex_rotate into gschem/
3786 Fixed the broken x_update_log call in s_log_message
3788 9/26/98 Added o_*_rotate_world routines
3790 More attempts at getting complex's to read and rotate in correctly
3792 Added o_ntext_rotate_lowlevel (which properly rotates text
3795 Fixed rotate_point_90 so that it can accept any angle in increments
3798 Wrote and Got o_ntext_rotate working (which rotates text when you
3799 hit the rotate button)
3801 9/25/98 Added the angle argument to the complex type (this breaks all
3802 schematic files!!) (embedded components now totally broken)
3804 9/23/98 Fixed snap_grid, so that it would work on negative inputs (doh!)
3806 Added rotate_point_90, a simplied more general func of rotate_point
3807 Might be removed in the future, but for now is guaranteed to work.
3809 Fixed o_line_rotate (better name) and to use above function
3811 Added all the o_*_rotate functions, most stubbed, only ones that work
3812 are the line related ones
3814 9/17/98 New code for snapping to the grid (m_basic.c)
3816 9/13/98 Added scheme_directory to the TOPLEVEL structure
3818 9/12/98 Added return_zoom_number (m_basic.c)
3820 Added world_get_complex_bounds (o_complex_basic.c)
3822 Added o_complex_world_translate_toplevel (for object like components)
3823 which should be completely translated (o_complex_basic.c)
3825 Added world_get_ntext_bounds (o_ntext_basic.c)
3827 Fixed a bug in o_ntext_add where the bounding box of the text item
3828 was not being set (incorrect call to get_ntext_bounds)
3830 Fixed a bug in the translate_all deal with complex objects, wrong
3831 complex translate was being called (should have been _toplevel)
3833 9/4/98 Switched to -version-info since it's more portable
3835 Moved o_basic (mostly) out of libgeda and into gschem
3837 Removed a lot of gschem specific functions out of libgeda
3839 Made some function pointers so that various functions can be
3840 revectored (very useful)
3842 9/3/98 Create libgeda using libtool
3844 Forced library name to use -release instead of -version-info
3845 because library will change drastically for a while
3847 Started work on breaking (removing specifics) libgeda from gschem