2.1.2: 2003-09-25 Eric Bourque <ericb@computer.org> * libglademm.spec.in: new file 2003-09-02 Murray Cumming <murrayc@usa.net> * 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 <murrayc@usa.net> * Just rebuilt the tarball. Some corruption was causing the .la files to not be installed. 2.1.0: 2003-08-23 Murray Cumming <murrayc@usa.net> * 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 <daniel.elstner@gmx.net> * 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 <murrayc@usa.net> * _IGNORE()ed some internal libglade functions. 2002-12-20 Murray Cumming <murrayc@usa.net> * examples/basic/basic.cc: Used try/catch to catch the new XmlError exception. Added some comments. 2002-12-20 Daniel Elstner <daniel.elstner@gmx.net> * 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 <daniel.elstner@gmx.net> * 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<Xml>. 2002-12-16 Murray Cumming <murrayc@usa.net> * src/xml.hg: reparent_widget() is no longer virtual. 2002-12-16 Murray Cumming <murrayc@usa.net> * 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 <murrayc@usa.net> * 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 <btb@debian.org> * scripts/Makefile.am: distribute macros.m4 1.3.5: * Updated for gtkmm2. 1.3.4: 2002-08-07 Murray Cumming <murrayc@usa.net> * Glade::Xml now uses the new gtkmm _CONSTRUCT macro, so it uses the correct Glib::Object constructor. 2002-08-06 Martin Schulze <MHL.Schulze@t-online.de> * examples/basic/Makefile.am: Replace 'example' with 'basic' to match the actual file names. 1.3.3: 2002-07-16 Murray Cumming <murrayc@usa.net> * Rebuilt for latest gtkmm. 1.3.2: 2002-06-23 Murray Cumming <murrayc@usa.net> * Rebuilt for latest gtkmm. * VariablesMap: Fixed "no return statement" warning. 1.3.1: 2002-05-02 Murray Cumming <murrayc@usa.net> * 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 <murrayc@usa.net> * Added reparent_widget() method. 2002-04-28 Murray Cumming <murrayc@usa.net> * 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 <murrayc@usa.net> * 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 <michael@koziarski.org> * libglade/src/xml.ccg * libglade/src/xml.hg: As requested, implemented overloaded create_from_buffer methods. 2002-04-25 Murray Cumming <murrayc@usa.net> * Added "basic" example based on the libglade docs and Michael Koziarski's .glade file. 2002-04-24 Michael A. Koziarski <michael@koziarski.org> * 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 <murrayc@usa.net> * Generated sources are now distributed. The build_shared/*.am_fragement files were copied from libgnomecanvasmm. 2002-04-23 Murray Cumming <murrayc@usa.net> * Xml constructor uses the glade_xml_construct() function because GladeXML doesn't have construct-time properties yet.