source: trunk/third/libglade/ChangeLog @ 17111

Revision 17111, 55.2 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r17110, which included commits to RCS files with non-trunk default branches.
Line 
12001-09-07  James Henstridge  <james@daa.com.au>
2
3        * configure.in: update configure script for autoconf 2.52
4
5        * NEWS: add news items.
6
7        * glade/glade-xml.c: fix up doc comments for
8        glade_xml_{get,pop}_uline_accel so that they actually get
9        extracted correctly.
10
112001-09-05  James Henstridge  <james@daa.com.au>
12
13        * configure.in: increment version number.
14
15        * doc/Makefile.am: copy build stuff from head branch, as it works
16        better.  Also, get rid of the "if GNOME_SUPPORT" stuff.  The
17        object scanning code doesn't need gnome support.
18
19        * doc/libglade-docs.sgml: update the copyright years to reflect
20        that it has had updates since 1999.  Also change documentation
21        licence to GFDL.
22
23        * glade/glade-xml.c (remove_data_func): we don't need the GladeXML
24        object here.
25
26        * glade/glade-gtk.c (clist_build_children): special case GtkLabel
27        column titles, using gtk_clist_set_column_title so that the title
28        gets aligned appropriately.
29
302001-09-01  James Henstridge  <james@daa.com.au>
31
32        * glade/glade-xml.c (remove_data_func): don't remove the signal
33        handler here.
34        (glade_xml_set_common_params): use connect_while_alive variant to
35        connect up glade_xml_widget_destroy instead.
36
37        * libgladeConf.sh.in (LIBGLADE_INCLUDEDIR): change include dir.
38
39        * libglade-config.in: change -I flag for --cflags
40
41        * libglade*.pc.in (Cflags): adjust cflags for new header location.
42
43        * glade/Makefile.am (gladeincludedir): install headers under a
44        versioned directory.
45
46        * glade/glade-xml.c (glade_xml_init): use g_new0 to allocate
47        private structure.
48        (*): use GQuarks when setting/getting data for a marginal speed
49        improvement.
50        (glade_xml_widget_destroy): function that cleans up dangling
51        pointers inside the GladeXML object when a widget is destroyed.
52        (glade_xml_set_common_params): connect up glade_xml_widget_destroy
53        to each widget that gets constructed.
54        (remove_data_func): function that removes data from a widget in
55        the long name hash, and disconnects the destroy signal handler.
56        (glade_xml_destroy): iterate through longname_hash with
57        remove_data_func, to clean up signals.
58
592001-04-04  John Gotts  <jgotts@linuxsavvy.com>
60
61        * libglade.spec.in: Fixed the Group:'s.  Also cleaned up the build
62        process a bit.
63
642001-03-26  Darin Adler  <darin@eazel.com>
65
66        * doc/.cvsignore: Ignore some more generated files.
67
682001-02-13  James Henstridge  <james@daa.com.au>
69
70        * glade/glade.h: add prototype for glade_gnome_db_init.
71
72        * glade/glade-gnomedb.c (glade_gnome_db_init): accidentally forgot
73        to initialise the gnome-db widgets :( -- cut and paste error.
74
752001-02-12  James Henstridge  <james@daa.com.au>
76
77        * NEWS: added news items.
78
79        * glade/glade-gnomedb.c: changed copyright notice for this file at
80        author's request.
81
82        * glade/glade-gtk.c (toolbar_build_children): interpret active
83        attribute.
84
85        * glade/glade-gnome.c (gnomedialog_build_children): translate the
86        label if it is not a stock button.
87        (toolbar_build_children): interpret the "active" attribute of
88        toolbar toggle button children.  Based on patch from Byron
89        Ellacott.
90
912001-02-10  James Henstridge  <james@daa.com.au>
92
93        * libglade.m4 (module_args): recognise "gnomedb" addon library.
94
95        * libglade-config.in (lib_gnomedb): add in rules to show gnomedb
96        flags.
97
98        * libglade-gnome.pc.in (Requires): libglade-gnome requires gnomeui
99        -- this should correct the problem with this file.
100
101        * libglade-gnomedb.pc.in: the pkg-config script for libglade-gnomedb.
102
103        * Makefile.am (pkgconfig_DATA): install a gnomedb pkg-config data
104        file if building gnome-db support.
105
106        * glade/Makefile.am: add rules for gnomedb library and increment
107        libtool version number.
108
109        * configure.in: add gnome-db tests and update version number.
110
111        * glade/glade-gnomedb.c: new file based on the gnomedb support
112        contributed by David Marín Carreño <davefx@bigfoot.com>.
113
1142000-11-29  James Henstridge  <james@daa.com.au>
115
116        A couple of memory leaks found by Morten:
117        * glade/glade-bonobo.c (gnome_control_new): unref the control
118        frame on error rather than destroying it.  Destroy doesn't unref,
119        so we get a leak.
120
121        * glade/glade-gnome.c (pixmapmenuitem_new): free the filename of
122        the icon file here.
123
1242000-11-28  Jody Goldberg <jgoldberg@home.com>
125
126        * configure.in : Use AM_PROG_LIBTOOL rather than AC_PROG_LIBTOOL
127
1282000-11-22  James Henstridge  <james@daa.com.au>
129
130        * NEWS: new news items.
131
132        * configure.in: increment version number.
133
134        * doc/Makefile.am (clean-local): small makefile fix.
135
136        * configure.in: build .pc files from .pc.in files.
137
138        * libglade-*.pc.in: pkg-config input files for various libglade
139        components.  These ones cause a segfault in pkgconfig-0.4, due to
140        a small bug.
141
142        * configure.in (have_bonobo): modify check so that you must pass
143        --enable-bonobo flag to get bonobo support.
144
145        * glade/glade-xml.c (glade_xml_set_toplevel, glade_xml_destroy):
146        pick up a GtkAccelGroup reference leak highlighted by Morten's
147        last patch.
148
1492000-11-21  Morten Welinder  <terra@diku.dk>
150
151        * glade/glade-xml.c (glade_xml_destroy): Plug leak.
152
1532000-11-08  James Henstridge  <james@daa.com.au>
154
155        * doc/Makefile.am (scan): small fix to the docs directory makefile
156        so that it will build with more recent gtkdoc's.
157
1582000-11-05  James Henstridge  <james@daa.com.au>
159
160        * glade/glade-gnome.c (druid_build_children): setup accel groups
161        for the individual pages of the druid, similar to the property box
162        and notebook widgets.
163
164        * test-libglade.c (main): unref the GladeXML object before calling
165        gtk_main.  This shouldn't cause any problems.
166
167        * glade/glade-gnome.c (messagebox_build_children): glade seems to
168        use the stock_pixmap tag rather than stock_button now.
169        (get_stock_name): check for a NULL pointer here.
170
1712000-11-04  James Henstridge  <james@daa.com.au>
172
173        * glade/glade-xml.c (glade_xml_init): always create the tooltips
174        object.
175        (glade_xml_set_toplevel): add a reference to the GtkTooltips
176        object for each toplevel window.  We use gtk_object_set_data_full
177        so we can remove this reference when the window is destroyed.
178        (glade_xml_destroy): unref the tooltips object here.  This will
179        not destroy the tooltips, as the GtkWindows now hold a reference.
180
1812000-11-02  Michael Meeks  <michael@helixcode.com>
182
183        * configure.in (have_bonobo): require Bonobo 0.27
184
1852000-10-08  James Henstridge  <james@daa.com.au>
186
187        * glade/glade-xml.h: remove "#pragma }", which was stuffing up a
188        C++ compiler
189
1902000-10-07  James Henstridge  <james@daa.com.au>
191
192        * glade/glade-gnome.c (pbox_page_setup_signals): ditto.
193
194        * glade/glade-gtk.c (note_page_setup_signals): make the map and
195        unmap signals hold a reference to the accel group.  Get rid of the
196        destroy handler which unref'd the accel group.
197
1982000-09-18  James Henstridge  <james@daa.com.au>
199
200        * glade/glade-xml.c (glade_xml_pop_accel): unref the accel group
201        when popping it off the stack.  These things don't have a floating
202        reference.
203
2042000-09-03  Federico Mena Quintero  <federico@helixcode.com>
205
206        * glade/glade-xml.c (glade_xml_init): Initialize priv->tree to
207        NULL, otherwise we will pick up uninitialized memory when unrefing
208        a GladeXML that failed to load.
209
2102000-08-13  Michael Meeks  <michael@helixcode.com>
211
212        * configure.in (have_bonobo): require Bonobo 0.17
213
214        * glade/glade-bonobo.c (gnome_control_new): fix for latest Bonobo.
215
2162000-08-01  James Henstridge  <james@daa.com.au>
217
218        * configure.in: revert Martin's patch.  The GNOME_INIT_HOOK macro
219        already handles a --with-gnome switch, and it was preventing the
220        configure script from auto detecting gnome.
221
2222000-07-30  James Henstridge  <james@daa.com.au>
223
224        * glade/glade-sax.c: fixed small memory leak in glade_widget_tree_unref
225        found by SigWait <sigwait@yahoo.com>.
226
2272000-07-28  Martin Baulig  <baulig@suse.de>
228
229        * configure.in (--without-gnome): New configure parameter to
230        disable GNOME support.
231
2322000-07-10  James Henstridge  <james@daa.com.au>
233
234        * NEWS: add news items.
235
236        * glade/Makefile.am (LTVERSION): updated libtool version number.
237
238        * configure.in: updated version number.
239
2402000-06-26  James Henstridge  <james@daa.com.au>
241
242        * glade/glade-gnome.c (menushell_build_children): add tearoffs to
243        menus if gnome_preferences_get_menus_have_tearoff() is true.
244
245        * glade/glade-gtk.c (custom_new): use glade_create_custom.
246
247        * glade/glade-build.h: prototype for glade_create_custom.
248
249        * glade/glade-xml.c (glade_set_custom_handler): implementation.
250        Default custom handler use GModule like before.
251        (glade_create_custom): function for use in glade-gtk.c
252
253        * glade/glade-xml.h: add prototype for setting a function used to
254        create custom widgets.
255
2562000-06-25  James Henstridge  <james@daa.com.au>
257
258        * glade/glade-gnome.c (pixmapmenuitem_new): revert visible accels.
259        (pixmapmenuitem_new): fix problem correctly by adding an accel
260        label to the GtkPixmapMenuItem and attaching it to the menu item.
261
262        * glade/glade-gtk.c (menuitem_new):
263        (checkmenuitem_new):
264        (radiomenuitem_new): revert visible accel patch here.
265
266        * glade/glade-gnome.c (toolbar_build_children): same here.
267
268        * glade/glade-gtk.c (toolbar_build_children): set group on radio
269        buttons in a toolbar.
270
271        * glade/glade-gnome.c (href_new): default url to "" rather than
272        NULL, so we don't crash if url is not specified in glade file.
273        Fixes #9206
274
275        * glade/glade-gtk.c (radiomenuitem_new): applied Mitch Chapman's patch
276        to add group support to radiomenuitems.
277
278        * glade/glade-gnome.c (pixmapmenuitem_new): make accel visible.
279
280        * glade/glade-gtk.c (menuitem_new): make accelerator visible.
281        (checkmenuitem_new): make accel visible.
282        (radiomenuitem_new): make accel visible.
283
2842000-05-20  James Henstridge  <james@daa.com.au>
285
286        * NEWS: news updates.
287
288        * doc/Makefile.am (scan): change so you don't need an X connection
289        during build of documentation.
290        (uninstall-local): add uninstall hook to uninstall libglade docs, to
291        make distcheck work.
292        (distclean-local): yet another rule to make distcheck work.
293
294        * configure.in: incremented package version number.
295
296        * glade/Makefile.am (LTVERSION): updated libtool version number.
297
298        The reason for the following change is that it makes the
299        functionality of the libglade-gnome library different depending on
300        where it was built.  A better solution to this is a form of
301        dynamic loading, which I am going to look at.
302
303        * glade/glade-bonobo.c: resurect this file.
304
305        * glade/glade-gnome.c: remove bonobo code.
306
307        * glade/Makefile.am (libglade_bonobo_la_LIBADD): split bonobo back
308        out into a separate library.
309
3102000-05-06   Ramiro Estrugo  <ramiro@eazel.com>
311
312        * configure.in: AM_CONDITIONAL needs to be called on the bonobo
313        flag, so restore that.  Also add AC_SUBST(BONOBO_SUPPORT_FALSE) to
314        make sure it gets substituted in libglade-config, otherwise bad
315        things happen.
316
3172000-05-05   Maciej Stachowiak  <mjs@eazel.com>
318
319        * configure.in: actually substitute the BONOBO_SUPPORT_FALSE flag
320        required by libglade-config.in. Probably someone forgot to commit
321        something.
322
3232000-05-04  Michael Meeks  <michael@helixcode.com>
324
325        * glade/Makefile.am: update.
326
327        * glade/glade-gnome.c (gnome_control_new): move here.
328        (glade_gnome_init): update for bonobo case.
329
330        * glade/glade-bonobo.c: from here; kill this file.
331       
332        * configure.in (have_bonobo): add define for bonobo.
333
334        * acconfig.h: and here.
335
3362000-04-15  James Henstridge  <james@daa.com.au>
337
338        Notebook patch from Jon K Hellan:
339       
340        * glade/glade-gtk.c (notebook_build_children): push accelerators for
341        each notebook page, so only accels on the visible page are enabled.
342
343        * glade/glade-gnome.c (propbox_build_children): push accelerators for
344        each notebook page, so only accels on the visible page are enabled.
345
346        * glade/glade-xml.c (glade_xml_{push,pop}_accel): change over to
347        these for accelerator handling.
348
349        * glade/glade-build.h: add prototypes for glade_xml_{push,pop}_accel.
350
351        Memory leak fixes from Morten:
352       
353        * glade/glade-xml.c (glade_xml_destroy): free the radio group hash
354        table after building the widgets.  Leak also found by Morten.
355
356        * glade/glade-gtk.c (combo_new): free combo item list.  Bug reported
357        by Morten
358
3592000-04-01  Michael Meeks  <michael@helixcode.com>
360
361        * glade/glade-bonobo.c (gnome_control_new): update to new Bonobo API.
362
363        * configure.in (have_bonobo): bump required version to 0.10
364
3652000-03-25  Peter Teichman <peter@helixcode.com>
366
367        * glade/glade-xml.c (glade_xml_build_widget): add set_common_params
368        logic for bonobo control + clean flow. (glade_xml_set_common_params):
369        update for bonobo controls.
370
3712000-03-13  James Henstridge  <james@daa.com.au>
372
373        * glade/glade-xml.h: added prototypes for new functions.
374
375        * libglade.m4 (module_args): add support for bonobo library to macro.
376
377        * libglade-config.in: added support for the bonobo library to this
378        script.
379
380        * NEWS: added news items.
381
382        * glade/Makefile.am (LTVERSION): updated libtool version number.
383
384        * doc/libglade-sections.txt: add extra functions to documentation.
385
386        * glade/glade-xml.c (glade_xml_get_widget_prefix): new function
387        for finding all widgets starting with a particular prefix.  This
388        is based on the glade_xml_get_widgets function suggested by
389        Martijn van Beers.
390        (glade_xml_signal_connect_data): new function to connect a named
391        signal and allow the user to set the signal data.
392
3932000-03-10  Tor Lillqvist  <tml@iki.fi>
394
395        * configure.in: Check for unistd.h.
396
397        * acconfig.h: Add HAVE_UNISTD_H.
398
399        * glade/glade-sax.c: Guard inclusion of unistd.h.
400
401        * glade/glade-xml.h
402        * glade/glade-xml.c: Rename the textdomain field to txtdomain as
403        textdomain() is a libintl function, and can in certain cases be
404        #defined as textdomain__ by libintl.h. This causes trouble if
405        libintl.h is included after glade-xml.h.
406
407        * config.h.win32
408        * makefile.mingw
409        * glade/makefile.mingw
410        * glade/glade.def: New files for Win32 port. As in the GLib, GTk+,
411        and GIMP ports, we use hand-written makefiles and config.h files,
412        at least for now.
413
414        * Makefile.am
415        * glade/Makefile.am: Add above new files to EXTRA_DIST.
416
4172000-03-10  Michael Meeks  <michael@helixcode.com>
418
419        * glade/glade-bonobo.c: Add.
420
421        * glade/glade.h: add glade_bonobo_init.
422
423        * glade/glade-xml.c (glade_xml_build_widget): Add extended widget
424        support.
425
426        * glade/glade-private.h: Add extended_widget prototype.
427
428        * glade/Makefile.am (THE_FLAGS): add Bonobo support.
429
430        * configure.in: add bonobo checks.
431
432        * autogen.sh (PKG_NAME): change to libGlade.
433
4342000-03-12  James Henstridge  <james@daa.com.au>
435
436        * glade/Makefile.am (INCLUDES): don't bother with the THE_FLAGS
437        stuff.  If gnome support is not enabled, then the GNOME_INCLUDEDIR
438        macro will expand to nothing.
439
440        * glade/glade-gnome.c (pixmapmenuitem_new): check for a user icon
441        as well as stock icons.  This change is based on a patch from
442        David Santiago <mrcooger@cyberverse.com>.
443
4442000-03-10  James Henstridge  <james@daa.com.au>
445
446        * glade/glade-gnome.c (gnome_uiinfo_mapping): added an entry for
447        GNOMEUIINFO_MENU_NEW_SUBTREE.
448        (dock_build_children): use gnome_app_add_dock_item if this dock
449        is a child of a GnomeApp.  This doesn't seem to help with getting
450        it to use the saved dock layout though :(
451
452        * glade/glade-private.h: removed some prototypes that also apear in
453        glade-xml.h.
454
4552000-03-09  James Henstridge  <james@daa.com.au>
456
457        * libglade-xgettext (TranslatableStringParser.add_string): don't
458        add the string "" to the catalog.
459
460        * glade/*.c: updated copyright to include 2000.
461       
462        * glade/glade-xml.c (glade_xml_set_common_params): handle the case
463        where the events parameter is returned as a string rather than a
464        simple integer, as it is in current versions of glade.
465
4662000-03-08  James Henstridge  <james@daa.com.au>
467
468        * glade/glade-gtk.c (progressbar_new): added support for progress
469        bar attributes.
470
4712000-01-22  James Henstridge  <james@daa.com.au>
472
473        * glade/glade-gtk.c (paned_build_children): recognise the resize
474        and shrink child packing attributes.
475
4761999-12-16  Eric Gillespie Jr.  <epg@pobox.com>
477
478        * glade/glade-gtk.c (hpaned_new): Now handles the 'position' attribute.
479        (vpaned_new): Same here.
480
4811999-12-05  James Henstridge  <james@daa.com.au>
482
483        * NEWS: added news items.
484
485        * configure.in: incremented package version to 0.11.
486
487        * glade/Makefile.am (LTVERSION): incremented libtool version.
488
489        * glade/glade-gtk.c (calendar_new): added GtkCalendar support.
490        (inputdialog_new): added support for GtkInputDialog.
491
4921999-12-04  James Henstridge  <james@daa.com.au>
493
494        * glade/glade-gtk.c, glade/glade-gnome.c: other fixes.
495       
496        * glade/glade-gnome.c (toolbar_build_children): same here.
497
498        * glade/glade-gtk.c (toolbar_build_children): do not die if pixmap
499        couldn't be found.
500
501        * glade/glade-xml.c: added more assertions.
502
5031999-12-03  James Henstridge  <james@daa.com.au>
504
505        * glade/glade-sax.c: added some assertions to the tree ref/unref
506        code.
507
508        * glade/glade-xml.c (glade_xml_destroy): patch to prevent segfaults
509        on bad .glade files from Michael Meeks.
510
5111999-11-20  James Henstridge  <james@daa.com.au>
512
513        * README: updated readme file.  It was really out of date.
514
515        * configure.in: incremented package version number.
516
517        * glade/Makefile.am (LTVERSION): incremented libtool version number.
518
519        * glade/glade-gtk.c (pixmap_new): make sure we don't crash when the
520        pixmap can't be found.
521
522        * glade/glade-xml.c (glade_xml_set_window_props): fixed bug in
523        call to gtk_window_set_policy.
524
5251999-11-16  James Henstridge  <james@daa.com.au>
526
527        * glade/Makefile.am (LTVERSION): updated libtool version number.
528
529        * NEWS: added news items.
530
531        * configure.in: incremented version number.
532
533        * glade/glade-gnome.c (about_new):
534        (gnomedialog_new):
535        (messagebox_new):
536        (app_new):
537        (propbox_new): use glade_xml_set_window_props to set common window
538        properties.
539
540        * glade/glade-gtk.c (window_new):
541        (dialog_new):
542        (fileselection_new):
543        (colorselectiondialog_new):
544        (fontselectiondialog_new): use glade_xml_set_window_props to set
545        common window properties.
546
547        * glade/glade-xml.c (glade_xml_set_window_props): new helper function
548        to set properties common to GtkWindow derived widgets.
549
550        * test-libglade.c: added licence to test-libglade example.  It is
551        dual licenced under GPL and X style licence, so it should be safe
552        for people to use as a base for programs that use libglade but have
553        different licencing to libglade.
554
5551999-11-13  James Henstridge  <james@daa.com.au>
556
557        * glade/glade-xml.c (glade_xml_set_common_params): added patch to
558        correctly unset the CAN_FOCUS flag on widgets.  The patch came from
559        Andreas Degert <ad@papyrus-gmbh.de>
560
561        * glade/glade-gnome.c (toolbar_new): use the toolbar style as set in
562        the control center, rather than that in the XML file.
563        (dockitem_new): fixed bug with setting name of dock items.  Patch
564        came from Eric Gillepsi Jr. <epg@pobox.com>.
565
5661999-11-12  James Henstridge  <james@daa.com.au>
567
568        * glade/glade-gtk.c (toolbar_build_children): same here.
569
570        * glade/glade-gnome.c (toolbar_build_children): check if we are adding
571        a toggle button or radio button, and handle those cases correctly.
572
573        * configure.in (libxml check): this is libglade, not gnorpm.  Fixed
574        simple cut and paste error from messages in the libxml check.
575
576        * glade/glade-gnome.c (pixmapmenuitem_new): make sure labels are
577        left justified in GtkPixmapMenuItems.
578
5791999-11-01  James Henstridge  <james@daa.com.au>
580
581        * glade/glade-gtk.c (label_new, accellabel_new): understand the wrap
582        property of label widgets.
583
584        * glade/glade-gnome.c: understand GNOME_STOCK_PIXMAP_EXIT and
585        GNOME_STOCK_MENU_EXIT as well as the QUIT variants.
586
587        * configure.in: make sure a new enough version of libxml is installed
588        on the system.  AFAIK, 1.7.2 was the first version to contain the
589        required functions.
590
591        * glade/glade-sax.c (glade_widget_tree_parse_file): use the
592        xmlSAXUserParseFile function instead of my_xmlSAXParseFile.
593        (glade_widget_tree_parse_memory): similar with xmlSAXUserParseMemory.
594
595        Now we don't need to include parserInternals.h, so libglade will be
596        less likely to break when libxml internals change.
597
5981999-10-28  James Henstridge  <james@daa.com.au>
599
600        * gnome-widgets.glade: added GnomeDruid example to file.
601       
602        * glade/glade-gnome.c (druidpage_build_children): use
603        glade_xml_set_common_params to handle the GnomeDruidPageStandard's
604        internal vbox.  This causes border width, etc to be handled
605        correctly.
606
607        * glade/glade-xml.c (glade_xml_gettext): always return the empty
608        string for empty message ids.  Most catalogs have a translation
609        from the empty message id to some info about the catalog.  We don't
610        want to display this.
611
612        * glade/glade-sax.c: fixed test to remove placeholders from internal
613        representation of the XML file.
614
615        * glade/glade-gtk.c (label_new, accellabel_new): fixed mem leak found
616        by Morten.  This fixes bug #3127.
617
6181999-09-28  James Henstridge  <james@daa.com.au>
619
620        * NEWS: added news items.
621
622        * configure.in: incremented package version number.
623
624        * glade/Makefile.am (LTVERSION): incremented libtool version number.
625
626        * gnome-widgets.glade: extended it by adding a proprety box to the
627        example.
628       
629        * glade/glade-gnome.c (gnomedialog_build_children): fix seg fault when
630        inserting normal buttons into a GnomeDialog's action area.  This
631        fixes bug #2323.
632
633        * glade/glade-tree.c (glade_tree_get): fixed up a seg fault when the
634        XML file could not be parsed or does not exist.
635
6361999-09-20  James Henstridge  <james@daa.com.au>
637
638        * glade/glade-gnome.c (stock_button_new): carried Miguel's button
639        patch over to the gnome code.
640
641        * glade/glade-gtk.c (button_new, togglebutton_new, checkbutton_new):
642        (radiobutton_new):  do not translate the strings twice.  It could
643        cause weird problems.
644
645        * NEWS: added extra news items.
646
647        * configure.in: incremented package version.
648
649        * glade/Makefile.am (LTVERSION): incremented libtool library version.
650
6511999-09-19  James Henstridge  <james@daa.com.au>
652
653        * glade/glade-xml.c (glade_xml_set_common_params): check if the widget
654        is the default or focus widget for the window.
655        (glade_xml_set_toplevel): call gtk_widget_grab_default or grab_focus
656        on the appropriate widgets when we are ready to build the next window.
657        (glade_xml_build_interface): set the default/focus widgets for the
658        last window to be built as well.
659        (glade_xml_init): set default_widget and focus_widget to NULL at
660        startup.
661
662        * glade/glade-private.h (GladeXMLPrivate): add members to hold default
663        and focus widgets for a window.
664
6651999-09-18  Miguel de Icaza  <miguel@gnu.org>
666
667        * glade/glade-sax.c: Set can_focus to zero initially.  If the
668        widget can focus, Glade will explicitly list it.
669
6701999-09-14  James Henstridge  <james@daa.com.au>
671
672        * glade/glade-sax.c (gladeEndElement): extract has_default, has_focus
673        into appropriate elements.
674        (gladeEndElement): remove placeholders from the interface description.
675        To get old behaviour, don't define REMOVE_PLACEHOLDERS at top of
676
677        * glade/glade-widget-tree.h: added has_default and has_focus flags.
678
6791999-09-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
680
681        * glade/glade-gtk.c (label_new): Do not translate a string if it
682        is empty.
683        (button_new): ditto.
684        (checkbutton_new): ditto.
685        (menuitem_new): ditto.
686        (checkmenuitem_new): ditto.
687        (radiomenuitem_new): ditto
688
6891999-09-12  James Henstridge  <james@daa.com.au>
690
691        * glade/glade-sax.c: got rid of an infinite loop in the accelerator
692        modifier parsing code.  This fixes bug #2098
693
6941999-09-06  James Henstridge  <james@daa.com.au>
695
696        * NEWS: added news items for stuff I have added for this release.
697
698        * configure.in: incremented package version.
699
700        * glade/Makefile.am (LTVERSION): incremented libtool version.
701
702        * glade/glade-gnome.c (propbox_build_children): added similar
703        behaviour here.
704
705        * glade/glade-gtk.c (notebook_build_children): added underline
706        accelerator support for notebook tabs.  You can switch between
707        pages of the notebook by using the underline accelerator on the
708        page's tab.
709
710        * glade/glade-gnome.c (button_build_children): same function here
711        for gnome support.
712
713        * glade/glade-gtk.c (button_build_children): new function for
714        building button children.  It also adds an accelerator for the
715        clicked signal if appropriate.
716
717        * glade/glade-xml.c (glade_xml_set_common_params): check to see if
718        any label underline accelerators have to be attached.
719
720        * glade/glade-private.h (GladeXMLPrivate): added new fields for
721        label underline accelerators.
722
723        * glade/glade-build.h: added prototypes for the new functions.
724       
725        * glade/glade-xml.c (glade_xml_handle_label_accel): handle label
726        underline accelerators.
727        (glade_xml_get_parent_accel): routine for getting underline
728        accelerators directed at the parent widget.
729
730        * glade/glade-gtk.c (label_new): extract the underline accelerator
731        from the label.
732
733        * glade/glade-gnome.c (propbox_new): set up the property box to use
734        a new accel group.
735
736        * glade/glade-xml.c (glade_get_adjustment): accept the adjustment
737        element names from glade 0.5.2 and pre 0.5.2.
738
7391999-09-05  James Henstridge  <james@daa.com.au>
740
741        * glade/glade-xml.c (glade_xml_new_from_memory): added new function
742        to create a GladeXML object from a in memory buffer.
743
744        * po/POTFILES.in: removed all the entries someone added here to
745        discourage people from translating this module.  None of the installed
746        components need translation.
747       
748        * glade/glade-sax.c (my_xmlSAXParseMemory):
749        * glade/glade-sax.c (glade_widget_tree_parse_memory): added an function
750        to create a GladeWidgetTree from a string.
751
752        * glade/glade-gtk.c (layout_new): added support for GtkLayout.
753
754        * glade/glade-gnome.c (iconlist_new): added support for GnomeIconList.
755        (iconsel_new): support for GnomeIconSelection.
756        (druid*): added support for GnomeDruid, GnomeDruidPageStart,
757        GnomeDruidPageFinish, GnomeDruidPageStandard.
758        (pixmap_new): added support for GnomePixmap.
759        (propbox_new): added support for GnomePropertyBox.
760
761        * glade/glade-build.h: changed declaration of GladeWidgetBuildData
762        structure so it does not cause problems for newer gtk-doc's.
763
7641999-09-04  James Henstridge  <james@daa.com.au>
765
766        * doc/Makefile.am (scan): fixed up target so that libtool works
767        correctly even if it does not recognise the C compiler name (there
768        were problems with CC=egcs).
769
770        * glade/glade-xml.c: save a reference to the GladeWidgetTree
771        structure, and unref it when the GladeXML structure is destroyed.
772        This is so it does not get destroyed if it gets purged from the
773        cache.
774
775        * glade/glade-private.h: added the GladeWidgetTree to the private
776        structure.
777
778        * glade/glade-tree.c (glade_tree_get): check mtime on file to see
779        if tree needs to be read in again.
780
781        * glade/glade-sax.c: added implementations of reference counting
782        routines, and save modification time of the file in the structure.
783
784        * glade/glade-widget-tree.h: added an mtime field to GladeWidgetTree
785        and added reference counting.
786
787        * configure.in (ALL_LINGUAS): removed languages from the ALL_LINGUAS
788        variable.  Obviously no one read the message above it stating that
789        libglade doesn't install anything that needs translation.
790
791        * glade/Makefile.am (EXTRA_DIST): removed last reference to
792        glade-keys.c which was breaking the build on some systems.
793
7941999-09-01  Pablo Saratxaga <pablo@mandrakesoft.com>
795
796        * po/da.po: added danish file
797
7981999-08-24  James Henstridge  <james@daa.com.au>
799
800        * test-libglade.c (main): when building only part of the widget tree,
801        if the toplevel is not a GtkWindow descendant, pack it inside a
802        container window.  For example, "./test-libglade gnome-widgets.glade
803        menubar1" will show just the menu bar in a window.
804
805        * NEWS: updated news file.
806
807        * configure.in: incremented package version number.
808
809        * glade/Makefile.am (LTVERSION): incremented libtool version number.
810
811        * glade/glade-gtk.c (packer_new, packer_build_children): added
812        support for the GtkPacker widget.
813
814        * glade/Makefile.am: removed references to glade-keys.c.  It is no
815        longer needed.
816
817        * glade/glade-private.h (glade_key_get): removed prototype.
818
819        * glade/glade-sax.c (gladeEndElement): switched over to using
820        gdk_keyval_from_name rather than using glade_key_get.  This saves
821        a bit of memory.
822
823        * glade/glade-gtk.c (radiobutton_new): fixed radio button group
824        handling.
825        (table_new): fixed up recognition of the column_spacing attribute.
826
8271999-08-09  James Henstridge  <james@daa.com.au>
828
829        * Makefile.am: removed dist-hook for the generated libglade.spec.
830        This is handled by automake when you add it to EXTRA_DIST.
831
832        * libglade.spec.in (Requires): specifically require libxml >= 1.3.
833        Older versions have an incompatible SAX interface.
834
835        * glade/Makefile.am (LTVERSION): incrementented libtool version number.
836
837        * configure.in: incremented version number to 0.3
838
8391999-08-07  James Henstridge  <james@daa.com.au>
840
841        * glade/glade-xml.c (glade_xml_new): fixed a small memory leak when
842        the interface could not be constructed correctly.  This bug was found
843        by Morten.
844
845        * glade/glade-gnome.c: added support for GtkEntry child widgets on the
846        Gnome*Entry widgets.  Added support for GnomeCanvas, GnomeIconEntry,
847        GnomeNumberEntry.
848
849        * glade/glade-gtk.c (combo_build_children): setup signals on the
850        GtkEntry.
851
852        * configure.in, Makefile.am, glade/Makefile.am: removed the
853        LIBGLADE_FULLDIST conditional, since it is no longer being used.
854        This also cleans up the makefiles a bit.
855
8561999-08-05  James Henstridge  <james@daa.com.au>
857
858        * glade/glade-gnome.c (stock_button_new): uline accelerator support
859        here as well.
860
861        * glade/glade-gtk.c: added uline accelerator support for buttons,
862        check buttons, toggle buttons and radio buttons.
863
8641999-08-04  James Henstridge  <james@daa.com.au>
865
866        * doc/libglade-sections.txt: added new functions to documentation
867        list.
868
869        * gnome-widgets.glade: updated xml of the message box widget.
870
871        * glade/glade-gnome.c (messagebox_new): the `type' attribute has been
872        renamed `message_box_type'.
873
874        * glade/glade-gtk.c, glade/glade-gnome.c: added calls to
875        glade_xml_set_toplevel to the routines for all the toplevel window
876        widget types.  Added code to parse uline accelerators for menu items.
877
878        * glade/glade-build.h: added prototypes for the new functions.
879       
880        * glade/glade-xml.c (glade_xml_push_uline_accel,
881        glade_xml_pop_uline_accel, glade_xml_get_uline_accel): helper
882        functions for setting up uline accelerators.
883        (glade_xml_set_toplevel): new function.
884        (glade_xml_ensure_accel): new function to get current (non uline)
885        accel group.
886
887        * glade/glade-private.h (GladeXMLPrivate): added some extra fields
888        to the structure to hold information about the current accel group.
889
8901999-08-02  James Henstridge  <james@daa.com.au>
891
892        * doc/Makefile.am (scan): yet another fix.  Now it runs gtkdoc-scanobj
893        in the build directory rather than srcdir.  This one actually works
894        correctly with builddir != srcdir and libglade not installed when I
895        do a distcheck.
896       
897        * doc/Makefile.am (scan): set CC to "$(LIBTOOL) $(CC)" for
898        gtkdoc-scanobj, and make it link the test program with the libtool
899        libraries rather than the installed libraries.
900
901        * Makefile.am: changed to build the glade subdir before doc.
902        Include libglade.spec in tarballs (it was probably removed when
903        libglade.spec.in was added).
904
9051999-07-30  James Henstridge  <james@daa.com.au>
906
907        * test-libglade.c (main): give an error if glade_xml_new returns an
908        error.
909
910        * glade/glade-sax.c: make the parser more graceful for bad documents.
911
9121999-07-29  James Henstridge  <james@daa.com.au>
913
914        * doc/tmpl/glade-sax.sgml: added a small description of these
915        functions.
916
917        * doc/libglade-sections.txt: added documentation section on the SAX
918        parser.
919
920        * glade/glade-sax.c: added API doc comments.
921
922        * glade/glade-xml.c: updated the inline documentation to reflect
923        that xmlNode structures are no longer used.
924       
925        * glade/glade-xml.c, glade/glade-gtk.c, glade/glade-gnome.c: removed
926        some unused variables.
927
928        * glade/glade-styles.c: removed file.  Most of its functionality was
929        moved to the glade-sax parser, so there was not much reason for
930        keeping glade_style_attach in a single file.
931       
932        * glade/glade-xml.c (glade_style_attach): moved this function in
933        from glade-styles.c.
934
935        * configure.in: added a check to make sure you are using a new
936        enough libxml.  This is required because the SAX API underwent a
937        number of changes, so old versions of libxml are not good enough.
938
939        * Makefile.am (THE_FLAGS, THE_LIBS): these variables had the wrong
940        values when gnome support was disabled.
941
942        * glade/*.c, glade/*.h: updated copyright messages to include 1999.
943
9441999-07-28  James Henstridge  <james@daa.com.au>
945
946        * glade/glade-sax.c: the parser was saving the border_width attribute
947        to width, which caused a few problems.
948        (gladeEndDocument): removed a debugging message.
949
950        * glade/glade-gnome.c (*_new): converted the rest of this library.
951       
952        * glade/glade-gnome.c (*_build_children): converted over all the
953        child building routines.  Now I just need to do all the *_new
954        functions.
955
956        * glade/glade-gtk.c (*): converted over to using glade-sax parser.
957        Now libglade.la builds again.  Whether it works or not is another
958        matter :)
959
9601999-07-27  James Henstridge  <james@daa.com.au>
961
962        * glade/Makefile.am (the_sources): added glade-sax.c.
963        (the_headers): added glade-widget-tree.h.
964
965        * glade/glade-xml.c: updated to use the glade-sax parser.  It no
966        longer includes the libxml headers.
967
9681999-07-26  James Henstridge  <james@daa.com.au>
969
970        * glade/glade-styles.c (glade_style_parse): stripped out all the
971        style parsing code -- this is handled by glade-sax now.
972
973        * glade/glade-tree.c: converted to cache the output of the glade-sax
974        parser instead of the libxml one.
975
976        * glade/glade-widget-info.h: the structures that the new SAX parser.
977        This is the public interface to the parser.
978
979        * glade/glade-sax.c: the new SAX based parser for libglade.
980
9811999-07-09  James Henstridge  <james@daa.com.au>
982
983        * glade/glade-xml.c (glade_xml_gettext): return "" for a NULL msgid.
984        This fixes segfaults in some situations (eg. a label with no text in
985        it).  This bug was found by Jon Travis <jtravis@cse.unl.edu>.
986
9871999-06-20  James Henstridge  <james@daa.com.au>
988
989        * dialogs.glade: example of using the standard dialogs with libglade.
990       
991        * configure.in: upped version number to 0.2.
992
993        * glade/glade-gnome.c: small clean up.
994
995        * doc/libglade-docs.sgml: a few more changes to the documentation.
996
9971999-06-19  James Henstridge  <james@daa.com.au>
998
999        * glade/glade-gnome.c (gnomedialog_build_children): connect signals
1000        to the individual button widgets.
1001        (messagebox_build_children): similar for the message box widget.
1002
1003        * doc/libglade-docs.sgml: heaps of extra docs.  This should reduce
1004        the number of libglade questions people ask me (assuming they
1005        read the docs of course :).
1006
1007        * doc/libglade-sections.txt: added entries for the extra functions.
1008
1009        * glade/glade-xml.h, glade/glade-xml.c
1010        (glade_xml_signal_connect_full, glade_xml_signal_autoconnect_full):
1011        Added two functions that should be useful for people wanting to write
1012        language bindings for libglade.  They allow the user to specify an
1013        arbitrary function to use for connecting signals.
1014
10151999-06-17  James Henstridge  <james@daa.com.au>
1016
1017        * gnome-widgets.glade: made the test glade file for GNOME a bit
1018        nicer.
1019
1020        * glade/glade-gnome.c (toolbar_new): make toolbar button relief
1021        match user preferences.
1022
1023        * glade/glade-gtk.c (text_new): small bug fix to text widget creation.
1024
10251999-06-14  James Henstridge  <james@daa.com.au>
1026
1027        * glade/glade.h: moved the include of glade/glade-xml.h outside of
1028        the extern "C" { ... } block, since it has its own extern "C" { ... }
1029        stuff (and the extern "C" notation is not valid in C).
1030
1031        * glade/glade-gtk.c (optionmenu_new, combo_new): made adjustments to
1032        match change in libglade-xgettext.
1033
1034        * libglade-xgettext (TranslatableStringParser.end_items): add list
1035        items to translation list individually instead of as one large string.
1036
1037        * glade/glade-gnome.c (gnomedialog_new, app_new): added support for
1038        setting wmname/wmclass on these windows as well.
1039
1040        * glade/glade-gtk.c: added support for GtkFileSelection,
1041        GtkColorSelectionDialog and GtkFontSelectionDialog, including
1042        the support for connecting signals to their buttons.
1043        Also added support for setting the wmname/wmclass on windows.
1044
10451999-06-13  James Henstridge  <james@daa.com.au>
1046
1047        * glade/glade-gnome.c: put #ifdef's round references to
1048        GNOME_STOCK_PIXMAP_MIDI, so it will compile with gnome-libs-1.0.1
1049        (Damon is keeping compatibility with that release for glade, so
1050        I may as well do so as well).
1051
10521999-06-13  Richard Hestilow  <hestgray@ionet.net>
1053
1054        * glade/glade-xml.h, glade-build.h, glade.h: added
1055        "#ifdef __cplusplus" wrappers, otherwise was giving linktime
1056        errors with g++.
1057       
10581999-06-12  James Henstridge  <james@daa.com.au>
1059
1060        * glade/glade-xml.c: fixed up gettext call.
1061
1062        * configure.in: added a call to AM_GNOME_GETTEXT so that the i18n
1063        stuff should get included correctly.  Note that there is no libglade
1064        translation domain -- libglade should not give any of its own output.
1065
10661999-06-11  James Henstridge  <james@daa.com.au>
1067
1068        * glade/glade-xml.[ch] (glade_xml_construct): added a third argument -
1069        the translation domain.
1070        (glade_xml_new_with_domain): a new constructor that allows you to
1071        specify that this GladeXML object use a different translation
1072        domain than the default.
1073       
1074        * glade/glade-xml.c (glade_xml_set_common_params): translate the
1075        tooltips.
1076
1077        * glade/glade-gnome.c: added calls to glade_xml_gettext at appropriate
1078        places.
1079
1080        * glade/glade-gtk.c: added calls to glade_xml_gettext at appropriate
1081        places.
1082
1083        * glade/glade-xml.c (glade_xml_gettext): new function to handle
1084        translations of text in widget building routines.
1085
1086        * glade/glade-xml.h: added textdomain attribute to GladeXML structure
1087        that will hold the gettext text domain used for translations.  This
1088        is just in preparation -- I haven't added i18n to libglade yet.
1089
1090        * glade/glade-xml.c (glade_xml_relative_file): small fix in call
1091        to g_strconcat().  This one was picked up by Gary Ross.
1092
1093        * glade/glade-gnome.c (get_stock_name): now reads GNOME_STOCK_PIXMAP_
1094        and GNOME_STOCK_MENU_ style stock names correctly.
1095        (toolbar_new, toolbar_build_children): functions for building toolbars
1096        that is aware of stock icons.  Now the toolbars look correct.
1097        (menu_new, menubar_new, menushell_build_children): Handle stock
1098        menu items correctly.  It even handles gnome-libs' internal
1099        translation of stock menu item labels.
1100        (pixmapmenuitem_new): This function does not worry about stock menu
1101        items now.  It does handle pixmaps next to the menu items though
1102        like it should.
1103
1104        * Makefile.am (bin_SCRIPTS): added libglade-xgettext.
1105
1106        * libglade-xgettext: a small program that can extract translation
1107        strings from glade XML files.  Libglade itself has no i18n support
1108        yet, but this is a start.  The program can output both standard pot
1109        files or a C file that can then be parsed by xgettext.
1110
11111999-06-10  James Henstridge  <james@daa.com.au>
1112
1113        * test-libglade.c (main): updated to call glade_gnome_init() instead
1114        of glade_init() if GNOME support is enabled.
1115
1116        * libglade.m4 (module_args): modified macro so that you can pass
1117        `gnome' as the third argument to get GNOME support.
1118
1119        * libglade-config.in: you can now pass it the arguments gtk and gnome
1120        to indicate which widget sets you wish to use.  If you specify
1121        GNOME, the --libs output will include -lglade-gnome.
1122
1123        * glade/Makefile.am: create a separate libglade-gnome library if
1124        GNOME support is enabled.
1125       
1126        * glade/glade-gnome.c: implemented the GnomeApp, GnomeAppBar,
1127        GnomeDock, GnomeDockItem and GtkPixmapItem (sort of).  Just about
1128        everything displays, except that the GNOMEUIINFO stuff, which is
1129        not properly implemented at this point in time.
1130
1131        * glade/glade-gnome.c (about_new): make the about dialog creation
1132        routine use the values of gnome_app_id and gnome_app_version.
1133
1134        * glade/glade-tree.c (recurse_tree, destroy_func): the hash table of
1135        widget name -> xmlNode was broken.  It was freeing the keys before
1136        they were used.  This bug is from when I was converting libglade
1137        over to using xmlNodeGetContent().  It should now be possible to
1138        use the glade_xml_new("filename", "rootnode") style of initialisation,
1139        and signal handlers that should be connected with
1140        gtk_signal_connect_object should now work correctly as well.
1141
1142        * glade/glade-gtk.c (pixmap_new): the filename of the pixmap should
1143        be relative to the xml file.
1144        (toolbar_new, toolbar_build_children): fixed up toolbar support.  I
1145        used code from the examples by Craig M. Buchek and Gary Ross.  The
1146        actual implementation is different than both, but the sample code
1147        was very helpful.
1148
1149        * doc/libglade-sections.txt: added extra entries to documentation.
1150
1151        * glade/glade-xml.c (glade_xml_set_common_params): new function that
1152        exposes some of the work that glade_xml_build_widget performs.
1153
1154        * glade/glade-xml.h, glade/glade-xml.c (glade_xml_relative_file):
1155        new function that resolves a filename that is relative to the XML
1156        file for an interface.  This is useful for resolving image file
1157        names and other external files.
1158       
1159        * glade/glade-xml.c (glade_xml_build_widget): make the height and
1160        width setting code work correctly (before, setting width would unset
1161        the height and vice versa).
1162
11631999-06-09  James Henstridge  <james@daa.com.au>
1164
1165        * Makefile.am (EXTRA_DIST): added the custom.glade and
1166        gnome-widgets.glade examples to the distribution.
1167
1168        * glade/glade-xml.h, glade/glade-xml.c: changed the second argument
1169        name in glade_xml_signal_connect to handlername, so that people who
1170        don't want to read the docs do not get confused as easily :)
1171
11721999-06-09  Michael Meeks  <michael@edenproject.org>
1173
1174        * glade/glade-xml.c (glade_xml_new): Added return NULL on error
1175        (glade_xml_construct): Added boolean - success return value.
1176
11771999-06-08  James Henstridge  <james@daa.com.au>
1178
1179        * Makefile.am (confexec_DATA): install the libgladeConf.sh script.
1180
1181        * libgladeConf.sh.in: A file for use with the gnome-config shell
1182        script.
1183
1184        * glade/glade-gnome.c: added support for GnomeDialog and
1185        GnomeMessageBox.  This still leaves support for GnomeApp to be done.
1186        Before this can be finished though, I need to work out the stock
1187        menu (GnomeUIInfo) stuff.  I don't know how difficult this will be.
1188
11891999-06-06  Erik Walthinsen  <omega@cse.ogi.edu>
1190
1191        * converted libglade.spec to libglade.spec.in, made appropiate
1192        changes in .cvsignore, Makefile.am, and configure.in.
1193
1194        * added libglade.m4 to the spec file
1195
11961999-06-07  James Henstridge  <james@daa.com.au>
1197
1198        * custom.glade: an example of using custom widgets.  In this example,
1199        it creates a color selection widget, but the code could be used for
1200        creating any widget.  The custom widget code also requires that
1201        gmodule functions correctly on the system.
1202       
1203        * glade/glade-xml.c, glade/glade-gtk.c: don't close the module
1204        opened by g_module_open(NULL, 0).  Reference counting does not
1205        apear to be done on this GModule structure.
1206
12071999-06-06  Miguel de Icaza  <miguel@gnu.org>
1208
1209        * glade/glade-xml.c (glade_xml_destroy): Ok, another fix to my
1210        previous fix: there was no actual memory leak.
1211
1212        * glade/glade-gtk.c (radiobutton_new): Small bug fix to my
1213        previous change: Glade might output radio buttons without groups.
1214
1215        * glade/glade-xml.c (glade_xml_destroy): Memory leak fix: free all
1216        the keys (they were strduped strings) when destroying hash tables.
1217
1218        * glade/glade-gtk.c (radiobutton_new): Add support for
1219        radio-button-groups.
1220
1221        * glade/glade-private.h: Add new hash-table for radio-button
1222        groups.
1223
1224        * glade/glade-xml.c (glade_xml_init): Allocate private structure.
1225        (glade_xml_destroy): free private structure.
1226        (glade_xml_build_widget): Use data from private structure.
1227        (glade_xml_construct): ditto.
1228        (autoconnect_foreach): ditto.
1229        (glade_xml_signal_autoconnect): ditto.
1230        (glade_xml_get_widget): ditto.
1231        (glade_xml_get_widget_by_long_name): ditto.
1232        (glade_xml_build_widget): ditto.
1233        (glade_xml_signal_connect): ditto
1234        (glade_xml_add_signal): ditto.
1235        (glade_xml_build_widget): De-ambiguate else clause here.
1236
1237        * glade/glade-private.h: Moved private GladeXML members to the
1238        GladeXMLPrivate structure.
1239
12401999-06-04  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1241
1242        * glade/glade-gtk.c (optionmenu_new): Only add items if there are
1243        any actual items.
1244        (combo_new): ditto.
1245
12461999-06-03  James Henstridge  <james@daa.com.au>
1247
1248        * Makefile.am (m4data_DATA): install the libglade.m4 macro.
1249
1250        * libglade.m4: added an autoconf macro to detect libglade.
1251
12521999-06-06  James Henstridge  <james@daa.com.au>
1253
1254        * glade/glade-gtk.c: added support for the Custom widget (the widget
1255        is created with a user defined function).  This should make it easier
1256        to produce a complete UI from a program, using custom widgets for the
1257        complicated parts of the UI.
1258
1259        * glade/glade-gnome.c: added build routines for a few of the
1260        widgets that are in the current CVS version of GLADE.  I haven't
1261        done wrappers for GnomeApp, GnomeDialog, GnomeMessageBox and GLADE's
1262        GnomeUIInfo stuff.
1263
1264        * glade/glade-gtk.c: removed all the GNOME specific code from this
1265        file.  Now all GNOME specific stuff is inside glade-gnome.c (except
1266        for the initialiser in glade-init.c).
1267
1268        * glade/Makefile.am: add glade-gnome.c to the library if GNOME
1269        support is enabled.
1270
1271        * glade/glade-init.c (glade_init): initialise the gnome widgets if
1272        gnome support has been built in.
1273
1274        * glade/glade-gnome.c: new file that holds all the GNOME specific
1275        widget routines.
1276
1277        * glade/glade-gtk.c: removed container_build_children function, and
1278        changed all references to it to glade_standard_build_children.
1279
1280        * glade/glade-build.h: added prototype for the function.
1281
1282        * glade/glade-xml.c (glade_standard_build_children): added the
1283        standard child building routine here, as it will be useful to
1284        both gtk and gnome code.
1285        (glade_get_adjustment): similar to above.
1286
12871999-06-06  James Henstridge  <james@daa.com.au>
1288
1289        * glade/glade-gtk.c: added support for the Custom widget (the widget
1290        is created with a user defined function).  This should make it easier
1291        to produce a complete UI from a program, using custom widgets for the
1292        complicated parts of the UI.
1293
1294        * glade/glade-gnome.c: added build routines for a few of the
1295        widgets that are in the current CVS version of GLADE.  I haven't
1296        done wrappers for GnomeApp, GnomeDialog, GnomeMessageBox and GLADE's
1297        GnomeUIInfo stuff.
1298
1299        * glade/glade-gtk.c: removed all the GNOME specific code from this
1300        file.  Now all GNOME specific stuff is inside glade-gnome.c (except
1301        for the initialiser in glade-init.c).
1302
1303        * glade/Makefile.am: add glade-gnome.c to the library if GNOME
1304        support is enabled.
1305
1306        * glade/glade-init.c (glade_init): initialise the gnome widgets if
1307        gnome support has been built in.
1308
1309        * glade/glade-gnome.c: new file that holds all the GNOME specific
1310        widget routines.
1311
1312        * glade/glade-gtk.c: removed container_build_children function, and
1313        changed all references to it to glade_standard_build_children.
1314
1315        * glade/glade-build.h: added prototype for the function.
1316
1317        * glade/glade-xml.c (glade_standard_build_children): added the
1318        standard child building routine here, as it will be useful to
1319        both gtk and gnome code.
1320        (glade_get_adjustment): similar to above.
1321
13221999-06-04  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1323
1324        * glade/glade-gtk.c (optionmenu_new): Only add items if there are
1325        any actual items.
1326        (combo_new): ditto.
1327
13281999-06-03  James Henstridge  <james@daa.com.au>
1329
1330        * Makefile.am (m4data_DATA): install the libglade.m4 macro.
1331
1332        * libglade.m4: added an autoconf macro to detect libglade.
1333
13341999-05-27  James Henstridge  <james@daa.com.au>
1335
1336        * libglade-config.in (libs): add gnome libraries to the link line.
1337        (the gnome macros evaluate to nothing if gnome is not found).
1338
1339        * test-libglade.c: small fix so that it will build without gnome.
1340
1341        * NEWS: updated news.
1342
1343        * libglade.spec: same here.  Also include documentation in devel
1344        tarball.
1345
1346        * configure.in: bumped version number up to 0.1.
1347
13481999-05-23  Jacob Berkman  <jberk+@cmu.edu>
1349
1350        * doc/Makefile.am: added an if GNOME_SUPPORT
1351        PROBLEM: make dies in doc if libglade has not been installed
1352        yet.  I tried tinkering a bit but couldn't make it work
1353
13541999-05-16  Raja R Harinath  <harinath@cs.umn.edu>
1355
1356        * glade/Makefile.am (glade-keys.c): Mention explicitly that
1357        glade-keys.c is built in $(srcdir).
1358        * glade/glade-gtk.c (button_stock_new): Declare type for `len'.
1359
13601999-05-11  James Henstridge  <james@daa.com.au>
1361
1362        * doc/*: use gtkdoc to generate documentation for libglade.
1363       
1364        * glade/glade-xml.c (glade_xml_build_widget): cleaned up some of
1365        Damon's changes -- I had already added support for the new lowercase
1366        signal and accelerator tags.  Also added some missing documentation.
1367
1368        * glade/glade-xml.h, glade/glade-build.h: a few small changes so that
1369        the documentation builds correctly.
1370       
1371        * libglade-config.in: a few small changes to this script.  Include
1372        the libxml cflags in the output of --cflags.
1373
13741999-04-27  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1375
1376        * glade/Makefile.am (EXTRA_DIST): for included-compilation of
1377        libglade, include the header files manually.
1378
13791999-04-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1380
1381        * glade/Makefile.am (INCLUDES): Include -I$(srcdir)/.. to get our
1382        headers to have more precedence over installed headers for an
1383        existing libglade installation.
1384
13851999-04-25  bertrand <Bertrand.Guiheneuf@inria.fr>
1386
1387        * glade/glade-init.c (glade_load_module): typo fix.
1388
13891999-04-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1390
1391        * glade/glade-styles.c (glade_style_attach): Use g_strconcat
1392        instead of a static buffer;
1393        (fill_style): Use g_strdup_printf instead of static buffer.
1394
1395        * glade/glade-gtk.c (label_new): Add missing call to free (content).
1396
1397
1398        * glade/glade-gtk.c: Use <glade/glade-build.h> to fetch headers.
1399        * glade/glade-styles.c: ditto.
1400        * glade/glade-private.h: ditto.
1401
14021999-04-25  Damon Chaplin  <damon@karuna.freeserve.co.uk>
1403
1404        * glade/glade-xml.c (glade_xml_build_widget): The 'Signal' and
1405        'Accelerator' tags were changed to lower case in Glade, to be
1406        consistent with all other widget tags, so I added support for that.
1407
14081999-04-24  James Henstridge  <james@daa.com.au>
1409
1410        * glade/Makefile.am (INCLUDES): fixed up yet anothe mistake in the
1411        makefiles.  This should allow libglade to build correctly whether
1412        it is included as part of a larger package or not.
1413
1414        * Makefile.am: removed reference to the macros  directory, as they
1415        break the gnumeric build.  The problem with this is that a
1416        distributed libglade package would not contain all the files
1417        needed to build the configure script if you modify the Makefile.am's.
1418
14191999-04-24  James Henstridge  <james@daa.com.au>
1420
1421        * libglade-config.in: don't output -I/usr/include if that is where
1422        the headers are, as this location is already in the search path.
1423
1424        * configure.in: removed some unused substitutions.
1425
1426        * Makefile.am (SUBDIRS): added macros subdirectory.
1427
1428        * configure.in: set the automake conditional LIBGLADE_FULLDIST to
1429        true.  When libglade is built as part of the gnumeric build, this
1430        configure script is not used, so the makefiles use the value of
1431        LIBGLADE_FULLDIST from the toplevel gnumeric makefile.  Also added
1432        a call to AM_ACLOCAL_INCLUDE to find the correct macros.
1433
1434        * glade/glade-init.c, glade/glade-xml.c: added gnome-libs style
1435        documentation comments to these files, so libglade API docs can be
1436        generated easily.
1437
14381999-04-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1439
1440        * glade/glade-gtk.c: Fix.  If we encounter a placeholder, the code
1441        was dereferencing a null pointer. 
1442
1443        (misc_set): pad is an integer, align is a float.
1444
14451999-04-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1446
1447        * test-libglade.c (main): Add GNOME support.  Use
1448        gnome_init_with_popt_table here.  Use argument parsing the popt
1449        way.
1450
1451        * Makefile.am, glade/Makefile.am: Setup for dual GTK+/GNOME
1452        compilation.
1453       
1454        * glade/glade-gtk.c (button_stock_new): Add support for GNOME
1455        stock labels.
1456
1457        * configure.in (have_gnome): Add autodetection for GNOME
1458        components.
1459
14601999-04-22  James Henstridge  <james@daa.com.au>
1461
1462        * test-libglade.c (main): argument parsing code wasn't recognising
1463        the rootnode argument.  This batch of fixes was sent in by Philippe
1464        Giacinti (I am still reviewing the local style part of the patch).
1465
1466        * glade/glade-xml.c (glade_xml_get_type): wasn't saving the object
1467        type correctly.  Caused problems if more than one GladeXML object
1468        was created.
1469        (glade_xml_build_widget): in newer versions of GLADE, it uses the
1470        signal tag instead of Signal, and accelerator instead of Accelerator.
1471        Now libglade recognises the new tags as having the same meaning.
1472
1473        * glade/glade-gtk.c: some small changes for the box and dialog child
1474        adding routines (I had GTK_PACK_START where it should have been
1475        "GTK_PACK_START").
1476
14771999-04-20  James Henstridge  <james@daa.com.au>
1478
1479        * configure.in: bumped required version of GTK up to 1.2.0.
1480
1481        * glade/glade-xml.c, glade/glade-private.h: changed some occurences
1482        of "char *" to "const char *" to remove warnings made by Miguel's
1483        change.
1484
14851999-04-20  Erik Walthinsen  <omega@cse.ogi.edu>
1486
1487        * added libglade-config.in, changed Makefile.am and configure.in
1488        to match and create libglade-config, added to spec file.
1489
14901999-04-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1491
1492        * glade/glade-xml.h: Tag return values as "const char *" to warn
1493        the user not to free the results of these.
1494
14951999-04-06  James Henstridge  <james@daa.com.au>
1496
1497        * glade/glade-gtk.c: a few small fixes to make libglade compile
1498        correctly with newer versions of GTK.
1499
15001999-01-13  James Henstridge  <james@daa.com.au>
1501
1502        * autogen.sh: it wasn't calling autoheader, which caused some trouble.
1503
1504        * glade/glade-gtk.c: some small changes to make it compile with newer
1505        versions of gtk.  Also made the function call changes found in
1506        gtkcompat.h
1507
1508        * glade/glade-xml.c: gtk_container_border_width -> set_border_width.
1509
15101998-11-17  James Henstridge  <james@daa.com.au>
1511        * glade/glade-styles.c: changed to recognise new style tags.  Basically
1512        occurences of "fg:" have been changed to "fg-", and similar for other
1513        parts of the style code.
1514
15151998-11-05  James Henstridge  <james@daa.com.au>
1516        * autogen.sh: added a simple autogen shell script to help with CVS
1517        builds.
1518
15191998-11-05  James Henstridge  <james@daa.com.au>
1520        * everything: added copyright messages to the code.
1521
15221998-11-02  James Henstridge  <james@daa.com.au>
1523        * glade/Makefile.am, configure.in: I forgot to include the makekeys.awk
1524        file in the distribution.  This may have caused problems for some
1525        people.
1526
15271998-11-01  James Henstridge  <james@daa.com.au>
1528        * configure.in: added option --enable-debug.  This will turn on
1529        debugging output, which is what has been the default in the previous
1530        version.  Without this flag, the library is quiet, except for errors.
1531        * glade/glade-xml.c, glade/makekeys.awk: added support for keyboard
1532        accelerators.  Makekeys.awk creates glade-keys.c, which handles
1533        keysym to int conversion.  If no accelerators are used in the UI
1534        description, this adds no overhead.  If there are accelerators, there
1535        will be a hash table initialisation, and a hash table lookup for each
1536        accelerator.
1537
15381998-10-31  James Henstridge  <james@daa.com.au>
1539        * glade/glade-xml.c, glade/glade-gtk.c: made changes so that libglade
1540        works correctly with the changes Daniel made to libxml.  Note that
1541        since xmlNodeGetContent doesn't use g_malloc, free is used instead
1542        of g_free.
1543        Also, no strings inside the xmlDoc structure are referenced in the
1544        GladeXML widget, so it should be possible to free the xmlDoc
1545        structure without problems.
1546
15471998-10-25  James Henstridge  <james@daa.com.au>
1548        * glade/glade-gtk.c: updated for glade-0.3.5 widgets.  It now supports
1549        menus.  I also fixed up the dialog child packing function.
1550        * test.glade, simple.glade, example.glade: added some examples.
1551        * glade/glade-init.c: added interface to extend libglade's list of
1552        widgets dynamically.  Maybe this could be used so that interfaces
1553        are listed in the XML, and loaded on call.
1554        * libglade.spec: a spec file for this package.
1555
15561998-10-23  James Henstridge  <james@daa.com.au>
1557        * glade/glade-gtk.c: new file -- this holds all the widget specific
1558        code for all the widgets in glade-0.3.3.
1559        * test-libglade.c: new file -- a tester program that can load
1560        arbitrary interface files.  I can actually get most interfaces to
1561        load without problem now.
1562        * glade/glade-xml.c: added support for automatic connection of signals
1563        with gmodule (you can get access to the global namespace with
1564        g_module_open(NULL, 0)).
1565
15661998-10-20  James Henstridge  <james@daa.com.au>
1567        * glade/glade-init.c: new file -- initialisation of libglade.
1568        * glade/glade-tree.c: new file -- handles reading in and caching of
1569        XML descriptions.  It also extracts the widget tree, and gets the
1570        styles parsed.
1571        * glade/glade-styles.c: new file -- Parses styles from an XML tree
1572        by translating them to the same format as gtkrc files and passing
1573        them to gtk_rc_parse_string.
1574        * glade/glade-xml.c: new file -- This file is the exposed interface
1575        to libglade, and has code used to glue in widget sets to libglade.
1576
Note: See TracBrowser for help on using the repository browser.