2.1.3: 2004-03-15 Murray Cumming * examples: Fix the SUN Forte C++ build by not connecting signals directly to hide(). 2004-03-12 Murray Cumming * libglade/src/xml.hg: get_widget_derived(): actually return the existing widget when a wrapper instance already exists. Bug #136913 from Roger Whinlatter who submitted it to debian but should have submitted it to bugzilla.gnome.org first. 2003-12-07 Murray Cumming * examples/menus/example.glade: Corrected the text. Patch by Billy O'Connor in bug 128683. 2003-11-06 Murray Cumming * Added examples/menus. * examples/basic: Added and distributed basic.gladep which is necessary to prevent glade-2 from createing libgnomeui menus. 2003-10-29 Cedric Gustin * configure.in: Added test of win32 platform. Commented out AM_DISABLE_SHARED (DLLs are shared libraries). * build_shared/Makefile_build.am_fragment: added a few LDFLAGS for win32 DLLs (defined in win32_dlls_ldflags and appended to common_ldflags). This is for GNOME 2.4, with gtkmm 2.2. HEAD is for GNOME 2.6, using gtkmm 2.4. 2003-10-30 Murray Cumming * libglade/libglademm.h: Include gtkmmconfig.h rather than libgnomemmconfig.h. These are platform-specific stuff. I am surprised that it built before, because this does not depend on libgnomemm at all. 2003-10-17 Alberto Paro * docs/reference/Doxyfile.in: fixed docs generation 2.1.2: 2003-09-25 Eric Bourque * libglademm.spec.in: new file 2003-09-02 Murray Cumming * libglademm/src/xml.hg: Added code to get_widget_derived(), to return an existing C++ instance if one exists. This makes get_widget_derived() always return the same instance, like get_widget() already does. I added some more explicit explanation to the gtkmm book about this. 2.1.1: 2003-09-01 Murray Cumming * Just rebuilt the tarball. Some corruption was causing the .la files to not be installed. 2.1.0: 2003-08-23 Murray Cumming * libglademm/src/xml.[hg|ccg]: Added Glade::Xml::get_widget_derived() templated method. * Added examples/derived/ to demonstrate it. This allows you to encapsulate the handling of the child widgets inside the container widget's code. * Makefile.am: Added examples to SUBDIRS so that they are built by default, for regression testing. * examples/Makefile.am_fragment: Added top_srcdir include for distcheck. 2.0.0: 2002-12-20 Daniel Elstner * examples/basic/basic.cc (main): Exit the program if loading the glade file failed, so that it won't segfault. 2002-12-20 Murray Cumming * _IGNORE()ed some internal libglade functions. 2002-12-20 Murray Cumming * examples/basic/basic.cc: Used try/catch to catch the new XmlError exception. Added some comments. 2002-12-20 Daniel Elstner * libglade/src/xml.{ccg,hg} (XmlError): New exception class. (Xml::Xml): Throw an XmlError exception if glade_xml_construct() or glade_xml_create_from_buffer() failed. 2002-12-16 Daniel Elstner * libglade/src/xml.{ccg,hg} (Xml::Xml): In order to reduce code size, replace the ctor overloads with a single ctor and default arguments, and treat empty strings as 0. Also, use std::string instead of Glib::ustring for the filename argument. (Xml::Xml): Add ctor overload for glade_xml_new_from_buffer(). We should use a construct() function instead but that requires an API addition to libglade. (Xml::create): Use std::string for the filename argument, and reduce code by using default arguments instead of 3 overloads. (Xml::create_from_buffer): Take a plain const char* for the buffer argument, plus an int for its size. We already need to do this for the ctor to avoid overload ambiguities, and I don't see much of a point in providing an additional create_from_buffer() overload since it's rarely used. (Xml::get_widget_checked): New internal method that checks the type of the widget and prints a warning on failure. (Xml::get_widget): Move most of the code into the non-templated method get_widget_checked(), to reduce binary size. (Xml::relative_file): Take and return std::string, since it's a filename. (Xml::get_filename): New accessor to public struct data member. (Xml::get_widget_name): Add. (Xml::glade_get_widget_tree): Add. * tools/m4/convert_libglademm.m4: Add conversion from GladeXML* to Glib::RefPtr. 2002-12-16 Murray Cumming * src/xml.hg: reparent_widget() is no longer virtual. 2002-12-16 Murray Cumming * src/xml.[hg|ccg]: Renamed lookup_type() to lookup_type_vfunc(), to be consistent with other gtkmm vfuncs, and made it virtual. 2002-12-12 Murray Cumming * configure.in: Increased version from 1.3.x to 2.0 * libglademm/libglademm/Makefile.am: Changed librarary name. * libglademm/*.pc.in: Changed library name. * examples/Makefile.am_fragment: Changed library name. 2002-12-10 Bradley Bell * scripts/Makefile.am: distribute macros.m4 1.3.5: * Updated for gtkmm2. 1.3.4: 2002-08-07 Murray Cumming * Glade::Xml now uses the new gtkmm _CONSTRUCT macro, so it uses the correct Glib::Object constructor. 2002-08-06 Martin Schulze * examples/basic/Makefile.am: Replace 'example' with 'basic' to match the actual file names. 1.3.3: 2002-07-16 Murray Cumming * Rebuilt for latest gtkmm. 1.3.2: 2002-06-23 Murray Cumming * Rebuilt for latest gtkmm. * VariablesMap: Fixed "no return statement" warning. 1.3.1: 2002-05-02 Murray Cumming * Added Gnome::Glade::VariablesMap, with an example. This allows you to map named Glade widgets to member variables, and transfer all the data with one method call. 1.3.0: 2002-04-29 Murray Cumming * Added reparent_widget() method. 2002-04-28 Murray Cumming * Added templated get_widget(name, widget) override, which does the dynamic casting and warns about any runtime errors, so that application code doesn't need to. 2002-04-25 Murray Cumming * examples/basic: Use a GtkDialog in the .glade file instead of the deprecated GnomeDialog. The signal connection now seems to work. * libglade/src/xml.[hg|ccg]: Added a lookup_type() vfunc that instantiates gtkmm types instead of gtk+ types. This requires the latest libglade. 2002-04-25 Michael A. Koziarski * libglade/src/xml.ccg * libglade/src/xml.hg: As requested, implemented overloaded create_from_buffer methods. 2002-04-25 Murray Cumming * Added "basic" example based on the libglade docs and Michael Koziarski's .glade file. 2002-04-24 Michael A. Koziarski * libglade/src/xml.ccg * libglade/src/xml.hg: Implemented overloaded create methods & constructors. Most applications won't need to send a domain parameter, and some don't need a root parameter 2002-04-23 Murray Cumming * Generated sources are now distributed. The build_shared/*.am_fragement files were copied from libgnomecanvasmm. 2002-04-23 Murray Cumming * Xml constructor uses the glade_xml_construct() function because GladeXML doesn't have construct-time properties yet.