Added missing test to prevent a seg fault when loading up a schematic with missing...
[geda-gaf/peter-b.git] / gattrib / ChangeLog
blob35fe7d1c5cd6d3f05e9e9cf37b0b831d6f8bc573
1 2007-04-15 Ales Hvezda   <ahvezda@geda.seul.org>
3         * src/s_string_list.c: Added missing test to prevent a seg fault
4         when loading up a schematic with missing attributes.
6 2007-4-15  Stuart Brorson <sdb (AT) cloud9 (DOT) net>
7         * Makefile.am, configure.ac, docs/*: Created new docs
8         directory, and set up framework to create doxygen generated
9         docs.
10         
11 2007-4-3  Stuart Brorson <sdb@cloud9.net>
12         * src/s_sheet_data.c, src/s_table.c, src/s_toplevel.c:
13         Temp fix for bug 1692431 -- don't put net= attribute into 
14         component attrib table.
15         
16 2007-2-11 Stuart Brorson <sdb@cloud9.net>
17         * src/s_toplevel.c: Fixed bug I introduced at code sprint.
18         
19 2007-02-10 Ales Hvezda   <ahvezda@geda.seul.org>
21         * src/listsort.c, src/s_string_list.c: Applied patch by DJ:
22         [ 1637387 ] Enhance sort functions.  Thanks.
24         * gattrib/src/globals.c, gattrib/src/i_basic.c, 
25         gattrib/src/s_toplevel.c, gattrib/src/s_visibility.c, 
26         gattrib/src/x_gtksheet.c, gattrib/src/x_window.c: Fixed a few 
27         compiler warnings.  Removed quit_func since it is completely
28         unused.
30         * configure.ac: Bumped package version to 20070216.
32 2006-12-23 Carlos Nieves Onega <cnieves@iespana.es>
34         * src/s_object.c (s_object_attrib_add_attrib_in_object):
35           Make o_selection_add call match the new selection interface.
36           The first argument should be a pointer to the selection list.
37           Thanks to Dan McMahill for reporting this.
39 2006-11-21 Ales Hvezda   <ahvezda@geda.seul.org>
41         * configure.ac: Fixed libgeda detection/find error message when
42         the wrong libgeda version is found. (Bug reported by Karel Kulhavy;
43         thanks)
45 2006-10-29 Ales Hvezda   <ahvezda@geda.seul.org>
47         * src/s_object.c: Fixed compile error on glist_dev branch
49 2006-10-20 Ales Hvezda   <ahvezda@geda.seul.org>
51         * configure.ac: Bumped package version to 20061020.
53 2006-09-30 Stuart Brorson <sdb {AT} cloud9 {DOT} net>
54         * src/s_toplevel.c: Set CHANGED flag when deleting attrib
55         column so user is prompted when quitting before saving.
56         
57 2006-09-27 Carlos Nieves Onega <cnieves@iespana.es>
59         * configure.ac : Applied patch #1564796 by Cesar Strauss, 
60         enabling Cygwin's compilation. Thanks.
61         
62 2006-09-23  Patrick Bernaud  <b-patrick@wanadoo.fr>
64         * src/gattrib.c, src/s_toplevel.c: Adapted for new file selection
65         dialog.
67         * src/x_fileselect.c: Rewrite of the file selection dialog with a
68         GtkFileChooser as in gschem.
70 2006-09-15 Stuart Brorson   <sdb (AT) cloud9 (DOT) net>
71         * include/prototype.h, src/g_register.c, src/gattrib.c,
72         src/x_dialog.c, src/x_gtksheet.c, src/x_window.c:
73         Made gattrib throw up GUI window warning user of no
74         components or attributes per request of Peter Clifton.
75         Then program exits with non-zero return code.
76         
77 2006-09-06 Ales Hvezda   <ahvezda@geda.seul.org>
79         * configure.ac: Updated program version to 20060906.
81         * src/g_rc.c, src/gattrib.c src/x_dialog.c: Added CUSTOM_VERSION to
82         all printfs/output/dialog boxes where VERSION is used so that it is
83         easier to create custom version of gEDA/gaf.
85 2006-08-31 Ales Hvezda   <ahvezda@geda.seul.org>
87         * configure.ac: Updated gtk+ tests to look for 2.4.x or greater.
89 2006-08-21   SDB <sdb@cloud9.net>
91         * include/prototype.h, src/s_table.c, src/s_toplevel.c: Fixed
92         bug in which adding a new attrib column would munge the 
93         visibility of existing attributes.
95 2006-08-21 Ales Hvezda   <ahvezda@geda.seul.org>
97         * README: Updated the README a little to be ready for the next
98         release.
100 2006-08-19 Ales Hvezda   <ahvezda@geda.seul.org>
102         * configure.ac: Bumped version number to 20060821 in prep for the
103         next gEDA/gaf release.
105 2006-08-12  SDB <sdb@cloud9.net>
106         * include/prototype.h, src/s_misc.c, src/s_sheet_data.c,
107         src/s_table.c, src/s_toplevel.c:  Applied patch from Jeff Mallatt
108         which implements ability to handle attrib strings with multiple
109         = signs. 
111 2006-08-12  SDB <sdb@cloud9.net>
112         * configure.ac, src/parsecmd.c:  Implemented getopt_long
113         for systems which have it.
114         
115 2006-08-12  SDB <sdb@cloud9.net>
116         * include/prototype.h, include/x_menu.h,
117         src/s_visibility.c, src/x_fileselect.c, src/x_gtksheet.c,
118         src/x_window.c:  Made cell text different colors depending
119         upon attribute visibility.
121 2006-08-06 Ales Hvezda   <ahvezda@geda.seul.org>
123         * src/*.c: Applied Patch#1533798: Remove pre-GTK2 code from geda
124         by Peter Brett.
126 2006-07-31 SDB <sdb@cloud9.net>
127         * src/gtksheet_2_2.c: fixed bug in gtk_sheet_make_backing_pixmap.
128         
129 2006-07-25 Stuart Brorson <sdb@cloud9.net>
130         * src/f_export.c, src/x_dialog.c and others:  Implemented
131         ability to export CSV file of component sheet.
133         * ToDos, README:  Updated expository material to reflect current
134         state of project.
135         
136 2006-07-15 Ales Hvezda   <ahvezda@geda.seul.org>
138         * src/gtksheet_2_2.c: Changed a g_free on a gdk_pixmap to 
139         g_object_unref to fix a valgrind error and the following 
140         output when     
141         exiting gattrib:  free(): invalid pointer 0x812a108!
143         * src/gattrib.c, src/gtksheet_2_2.c, src/s_object.c, 
144         src/s_rename.c, src/s_sheet_data.c, src/s_string_list.c, 
145         src/s_table.c, src/s_toplevel.c, src/x_dialog.c, src/x_fileselect.c,
146         src/x_gtksheet.c, src/x_window.c: Changed all malloc/free calls to
147         g_malloc/g_free to be consistent with libgeda
149 2006-06-03 Stuart Brorson <sdb@cloud9.net>
150         * src/gtksheet_2_2.c: Finally fixed annoying bug in which gattrib
151         soaked up 70% of processor time.  Problem had to do with infinite
152         loop of expose_events generated upon call
153         to gdk_window_show(sheet->row_title_window) and 
154         gdk_window_show(sheet->row_title_window) in gtk_sheet_expose.  I
155         removed calls to fix bug.
157 2006-03-12 Ales Hvezda   <ahvezda@geda.seul.org>
159         * lib/system-gattribrc.in: Removed load for the system-gafrc file,
160         since it is loaded by libgeda first.
162 2006-01-16 Ales Hvezda   <ahvezda@geda.seul.org>
164         * configure.ac: Bumped package version to 20060123
166         * README: Updated for the new year and release.
168 2005-11-27 Carlos Nieves Onega <cnieves@iespana.es>
169         * src/globals.c: Added setting of load_newer_backup_func to NULL.
170         It is needed now libgeda checks for autosave backup files when
171         opening a schematic.
172         
173 2005-09-27 18:45  Dan McMahill <danmc>
175         * src/: gtkitementry_2_2.c, gtksheet_2_2.c: remove various compiler
176           warnings
178 2005-08-19 Ales Hvezda   <ahvezda@geda.seul.org>
180         * configure.ac: Bumped the package version to 20050820 which will be
181         a real snapshot.
183 2005-08-14 Ales Hvezda   <ahvezda@geda.seul.org>
185         * configure.ac: Updated package version to 20050814.  This is a 
186         temporary version and not a real release number.
188 2005-07-13 Stuart Brorson <sdb@cloud9.net>
189         * src/s_visibility.c, s_table.c, s_object.c, s_toplevel.c 
190         amongst others.  
191         Made changes to enable setting attribute visibility from
192         within gattrib.
193         
194 2005-06-17 Ales Hvezda   <ahvezda@geda.seul.org>
196         * src/i_vars.c: Fixed some more variables which were shadowing the
197         real variables in libgeda/noweb/i_vars.c.
199 2005-04-10 Carlos Nieves Onega <cnieves@iespana.es>
200         * src/gtkitementry_1_2.c, src/gtkitementry_2_2.c,
201           src/gtksheet_1_2.c src/gtksheet_2_2.c:
202           Fixed segmentation fault because lacking of "default_border" and 
203           "default_ouside_border" properties.
205 2005-04-03 Ales Hvezda   <ahvezda@geda.seul.org>
207         * src/gattrib.c: Moved a variable decl to the top of the function to
208         make gcc 2.96 happy.  
210 2005-03-13 Ales Hvezda   <ahvezda@geda.seul.org>
212         * configure.ac: Removed all tests for gtk+ 1.2.x and fixed error                message if gtk+ 2.2.x is not found.
214 2005-03-11 12:30 Stuart Brorson <sdb@cloud9.net>
215         * src/gtksheet*.c:  Incorporated definitions of default_border* 
216         as suggested by Carlos.  A couple other possible bugfixes also.
218 2005-03-08 Ales Hvezda   <ahvezda@geda.seul.org>
220         * configure.ac: Bumped version to 20050313
222 2005-03-06 Ales Hvezda   <ahvezda@geda.seul.org>
224         * src/gattrib.c: Fixed code to allow user to specify absolute
225         filenames on the command line again.
227 2005-03-06 Stuart Brorson <sdb@cloud9.net>
229         * src/s_table.c, src/x_dialog.c: Fix some uninitialized variables
230         found by Dan McMahill & -wall gcc warning.
231         
232 2005-02-21 05:29  Dan McMahill <danmc>
234         * configure.ac, include/prototype.h, include/struct.h,
235           include/x_menu.h, src/Makefile.am, src/gattrib.c, src/listsort.c,
236           src/s_sheet_data.c, src/s_table.c, src/s_toplevel.c,
237           src/x_dialog.c, src/x_fileselect.c, src/x_gtksheet.c: Fix many
238           instances of non-void functions not having return values.  Most
239           of these were simply changed to void functions since nothing
240           seemed to be expecting a return value.  While here, garbage
241           collect several unused variables to make the compiler warnings
242           easier to dig through.  Also if we're using gcc, then turn on
243           -Wall.
245 2005-02-21 03:58  Dan McMahill <danmc>
247         * autogen.sh: avoid using the '-path' primary to find(1) as it's an
248           extension to posix.2 and is not supported on some operating
249           systems such as solaris.  Now we can autogen.sh on solaris 9.
251 2005-02-20  Patrick Bernaud  <b-patrick@wanadoo.fr>
253         * src/gattrib.c (gattrib_main): Adapted for new logging system.
255 2005-02-19  Carlos Nieves Onega <cnieves@iespana.es>
257         * src/globals.c: Added definition of picture_draw_func after 
258         adding picture support to libgeda.
259         
260 2005-02-15 18:32  Stuart Brorson <sdb@cloud9.net>
262         * src/x_dialog.c: Modified GTK buttons slightly so the captions 
263         fit the button, and the button usage matches the text.
265 2005-02-14 22:31  Dan McMahill <danmc>
267         * src/: gtkextra-marshal.c, gtkitementry_1_2.c, listsort.c: add
268           some missing config.h inclusions
270 2005-02-14 22:27  Dan McMahill <danmc>
272         * src/x_dialog.c: - move the config.h inclusion higher up so the
273           protected inclusion of string.h doesn't fail.
275           - fix a format string/# of arguments mismatch in a warning
276           string.
278 2005-02-13 11:30  Stuart Brorson <sdb@cloud9.net>
280         * src/s_table.c: Fixed syntax bug (doubled ;;) in 
281         s_table_add_toplevel_pin_items_to_pin_table.
282         
283 2005-02-13 01:40  Dan McMahill <danmc>
285         * src/s_string_list.c: fix 2 places where a pointer to an int was
286           being cast to an int and used as an int when we really wanted to
287           dereference the pointer instead.
289 2005-02-12  Stuart Brorson <sdb@cloud9.net>
291         * src/gattrib.c, src/i_vars.c, src/s_toplevel.c, src/x_dialog.c,
292         * src/x_fileselect.c:  Fixed program to compile and run after 
293         Patrick's refactoring of libgeda.  Also made fileselect
294         dialog stay on top of main window when gattrib is invoked with
295         no args on cmd line.
296         
297 2005-02-12  Carlos Nieves Onega <cnieves@iespana.es>
299         * src/x_dialog.c, src/x_fileselect.c: Beautify buttons (use GTK stock).
300         
301 2005-02-08 12:33  Dan McMahill <danmc>
303         * include/prototype.h, src/g_rc.c, src/g_register.c, src/gattrib.c:
304           get rid of deprecated guile gh_* functions and replace them with
305           the currently (guile-1.6) supported interface.
307 2005-02-04  Patrick Bernaud  <b-patrick@wanadoo.fr>
309         * src/gattrib.c, src/s_attrib.c, src/s_object.c:
310         * src/s_sheet_data.c, src/s_string_list.c, src/s_table.c:
311         * src/s_toplevel.c, src/x_dialog.c, src/x_fileselect.c:
312         * src/x_gtksheet.c, src/x_window.c: Replaced u_basic_strdup() and 
313         u_basic_strdup_multiple() by GLib functions.
314         
315         * src/gattrib.c, src/x_fileselect.c:  Made it use GLib's 
316         G_DIR_SEPARATOR* instead of libgeda's *_SEPARATER_*.
318 2005-01-27 Stuart Brorson   <sdb@cloud9.net>
320         * src/gattrib.c: Changes made to enable correct opening
321         of schematics in foreign directories.  Changes detailed 
322         in libgeda ChangeLog.  
324         
325 2005-01-22 (Later in same day) Stuart Brorson   <sdb@cloud9.net>
327         * x_dialog.c, s_toplevel.c:  Rewrote missing symbol dialog box
328         so that only one box is thrown up in event of missing symbols.
329         
330 2005-01-22 (Later in same day) Stuart Brorson   <sdb@cloud9.net>
332         * include/prototype.h, src/(s_attrib.c, s_sheet_data.c,
333         s_table.c, s_toplevel.c,  x_dialog.c): New feature -- gattrib
334         now handles slotted components correctly.
335         
336 2005-01-22 Stuart Brorson   <sdb@cloud9.net>
338         * src/s_toplevel.c, src/s_attrib.c, src/s_sheet_data, Makefile.am: 
339         Fixed bug where pre-existing
340         attribs were deleted instead of being replaced.  Added new fcn 
341         in s_attrib.c as part of this bugfix.
343         * include/prototype.h, include/struct.h, include/x_menu.h,
344         src/gattrib.c, src/gtkitementry_2_2.c,src/gtksheet_2_2.c,
345         src/x_dialog.c:  New feature -- check for unsaved chages
346         before leaving program.
348         * configure.ac:  Added --enable-debug as configure option.
350         
351 2005-01-21 Stuart Brorson   <sdb@cloud9.net>
353         * src/s_toplevel.c, src/x_dialog.c: Fix bug where only one
354         page of design was searched for missing attribs.  Also updated
355         missing_sym dialog box.
356         
357 2005-01-19 Stuart Brorson   <sdb@cloud9.net>
359         * src/(s_object.c, gattrib.c, s_toplevel.c,x_fileselect.c,
360         x_dialog.c): Incorporated pop-up window which notifies
361         user if a component is found with no sym file.
362         
363 2004-12-28 Stuart Brorson   <sdb@cloud9.net>
365         * lib/system-gattribrc.in:  Changed to refer to system-gafrc.
367 2004-12-28 Ales Hvezda   <ahvezda@geda.seul.org>
369         * configure.ac: Changed the call to AM_INIT_AUTOMAKE to take
370         the GEDA_VERSION so that packages get created with the right
371         version number
373         * src/s_toplevel.c, x_dialog.c: Added a few #ifdef HAS_GTK22 tests
374         to get gattrib to build using gtk12.  The addition tests in x_dialog.c
375         are probably okay, but the test in s_toplevel.c needs to be fixed
376         properly.
378         * Makefile.am: Added missing file to EXTRA_DIST variable
380 2004-12-27 Ales Hvezda   <ahvezda@geda.seul.org>
382         * configure.ac: Updated version to 20041228
384 2004-07-27  Stuart Brorson  <sdb@cloud9.net>
386         *  Ported code to GTK+-2.X.  Re-wrote Makefile.am & configure.ac.  Split
387            gtksheet.c into two versions, one for GTK-1.2 and one for GTK-2.X.
388            (Both copied from gtkextra.sf.net.)
389         
390         *  Many fixes related to moving to GTK-2.X
392         *  Incorporated Ales' fix for "for" loop which had i=i++ construct.
394 2004-07-13  Stuart Brorson  <sdb@cloud9.net>
396         *  Eliminated spurious GTK warnings by testing for NULL in arguments 
397            before calling functions in gtksheet.c.
399         *  Removed several extraneous files originally bundled with GtkSheet.
401 2004-06-25  Ales Hvezda  (Noted by SDB)
403         *  Modified gattrib to work with soon-to-be-released libgeda 20040710.
404         
405 2004-03-13  Stuart Brorson  <sdb@cloud9.net>
407         *  Implemented alphabetic sort of master_comp_list.
408         
409         *  Placed references to g_rc_reset_component_library and other
410            Guile fcns into g_register to enable Sri's RC customized files.
411         
412 2004-03-11  Stuart Brorson  <sdb@cloud9.net>
414         *  Fixed bug in which a loop was terminating early, causing
415            large portions of some designs to be not processed.
417         *  Added code to catch a cond where a design with no components
418            (i.e. no refdeses) or no modifiable attributes (i.e. no attribs
419            other than refdes) would cause a segfault.  Now program just
420            exits with an error message.
421         
422 2004-03-06  Stuart Brorson  <sdb@cloud9.net>
424         *  Fixed bug in which graphical objects were not discarded
425            during the "add master list" loop.  This generated a 
426            spurious warning message.
428         *  Fixed configure.ac to fix the GTK-1.2 vs. GTK-2.X problem
429            originally identified by Dan, and seen again by Sribalan 
430            Santhanam in rel 20040304.  Hopefully I fixed the bug this 
431            time! 
432         
433 2004-03-04  Stuart Brorson  <sdb@cloud9.net>
434         
435         *  Fixed some compilation issues related to GTK-1.2 vs. GTK-2.X.
436            Dan McMahill discovered the problem, and also provided the
437            patches fixing it.  Thanks, Dan!
439         *  "make install" now correctly installs system-gattribrc into
440            the place where the gEDA RC files live.  I had forgotten to
441            include this into the last release, and you had to do it by
442            hand. 
444 2004-02-21  Stuart Brorson  <sdb@cloud9.net>
445         
446         *  Initial release.
448 2003-12-05  Stuart Brorson  <sdb@cloud9.net>
450         * Started hacking.