summaryrefslogtreecommitdiff
path: root/glib/glibmm/objectbase.h
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of all uses of GLIBMM_USING_STD()Daniel Elstner2009-08-161-9/+3
| | | | | | | | | | * glib/src/*.{ccg,hg}: Remove all uses of GLIBMM_USING_STD(). We definitely do not need this anymore, and probably never did. We never covered all symbols from namespace std anyway and never got any complaint about it. Also, be careful to always include the glibmmconfig.h header when it is needed. * glib/glibmm/*.{cc,h}: ditto. * glib/glibmmconfig.h.in: Clean up and re-indent.
* Add Glib::ObjectBase::freeze_notify()/thaw_notify. Fixes Bug #575533Jonathon Jongsma2009-07-261-0/+18
|
* Change license header to mention Lesser General Public License version 2.1Deng Xiyue2009-01-191-4/+4
| | | | | | | | | | 2009-01-20 Deng Xiyue <manphiz@gmail.com> * Change license header to mention Lesser General Public License version 2.1 instead of Library General Public License, to be consistent with COPYING. svn path=/trunk/; revision=779
* Make the callbacks take a Tree<> instead of just the data, so they can useSzilárd Pfeiffer2008-07-291-2/+2
| | | | | | | | | | | | | | | | | | | 2008-07-29 Szilárd Pfeiffer <szilard.pfeiffer@gmail.com> * glib/src/tree.hg: Make the callbacks take a Tree<> instead of just the data, so they can use methods on the tree (which can be a node in the tree). gobject_: Make this protected. Provide the this pointer as data to g_node_new() so we can retrieve it later. Removed children_ and parent_ because we don't need a separate store now that we can get the C++ instance from the gobject instance. owns_gobject_: Removed because it is was always true, so the gobject was always destroyed (and still is). * tests/glibmm_tree/main.cc: Updated for the changed API. Bug #520778. svn path=/trunk/; revision=697
* Added connect_property_changed_with_return() becauseMurray Cumming2008-01-201-0/+10
| | | | | | | | | | | 2008-01-20 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/objectbase.cc: * glib/glibmm/objectbase.h: Added connect_property_changed_with_return() because onnect_property_changed() doesn not return a sigc::connection. Bug #433984 (Philip Langdale, Kalle Vahlman). svn path=/trunk/; revision=530
* Add class documentation from the glibmm-2-14 branch.Murray Cumming2007-12-281-0/+1
| | | | | | | | 2007-12-28 Murray Cumming <murrayc@murrayc.com> * glib/src/keyfile.hg: Add class documentation from the glibmm-2-14 branch. svn path=/trunk/; revision=480
* Use static_cast in vfuncs and signal handlers to cast the wrapper objectArmin Burgmeier2007-03-231-2/+33
| | | | | | | | | | | | | | | | | | | | | | 2007-03-17 Armin Burgmeier <armin@openismus.com> * tools/m4/signal.m4: * tools/m4/vfunc.m4: Use static_cast in vfuncs and signal handlers to cast the wrapper object to ObjectBase*. This is enough to check whether the object is from a derived type or not. A slow dynamic_cast has only to be performed if it is derived, and the C++ vfunc needs to be called. * glib/glibmm/objectbase.h: This requires ObjectBase::is_derived_ to be public, because it is called on a ObjectBase* rather than the actual type. This causes a slight speed up of vfuncs and default signal handler invokation. Also added commented-out inline versions of ObjectBase::_get_current_wrapper() and ObjectBase::is_derived(), which could be used in the generated code if we find that this has significant performance benefits. Note that these methods must be additional to the non-inline methods, because inline methods are not usually exported in the shared library. svn path=/trunk/; revision=385
* Added connect_property_changed(), as an alternative to use when theMurray Cumming2006-11-101-0/+5
| | | | | | | | | | | | 2006-11-10 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/objectbase.cc: * glib/glibmm/objectbase.h: Added connect_property_changed(), as an alternative to use when the property proxies are not available because GLIBMM_PROPERTIES_ENABLED is not defined. * glib/glibmm/propertyproxy_base.cc: * glib/glibmm/propertyproxy_base.h: Move PropertyProxyConnectionNode into the header, so we can reuse it for connect_property_changed().
* Inline the set_property and get_property methods. This is required byCedric Gustin2006-06-091-2/+2
| | | | | | | | 2006-06-09 Cedric Gustin <cedric.gustin@gmail.com> * glib/glibmm/objectbase.h : Inline the set_property and get_property methods. This is required by mingw32-gcc as ObjectBase is explicitly dllexported.
* Merged changes from glibmm-2-10 branch.Murray Cumming2006-05-121-0/+2
|
* Embed the manifest file into executables in the case of the Debug target.Cedric Gustin2006-04-061-1/+3
| | | | | | | | | | | | | | | | | 2006-04-06 Cedric Gustin <cedric.gustin@gmail.com> * MSVC_Net2003/*.vcproj: Embed the manifest file into executables in the case of the Debug target. * README.win32: Fixed a few typos. * build_shared/Makefile_build.am_fragment: Add -DGLIBMM_BUILD to the extra_defines compiler flags (switch between dllexport/dllimport on win32). * glib/glibmmconfig.h.in: Define GLIBMM_DLL when building with mingw32/cygwin. This makes the GLIBMM_API tag (and GTKMM_API for gtkmm) active with these two platforms, as required by bug #309030. * glib/glibmm/object.h, glib/glibmm/objectbase.h : Tag the Object and ObjectBase classes with GLIBMM_API to make Visual Studio happy.
* Hide some internal stuff from Doxygen. Add/Improve the DoxygenMurray Cumming2005-12-161-28/+51
| | | | | | | | | | | | 2005-12-16 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/object.h: * glib/glibmm/objectbase.h: Hide some internal stuff from Doxygen. Add/Improve the Doxygen documentation. * glib/src/convert.hg: Correct the declaration of filename_display_name() to match the implementation. Previously this would have been unusable due to a linker error.
* documentation fixes and corrections in the comments reflecting the shiftMartin Schulze2004-02-131-3/+3
| | | | | | | | | 2004-02-13 Martin Schulze <teebaum@cvs.gnome.org> * documentation fixes and corrections in the comments reflecting the shift to libsigc++ 2. * make all source files in example thread use libsigc++ 2 instead of libsigc++ 1.2.
* glibmm now uses libsigc++ 2 instead of libsigc++ 1.2. See bug #125061 forMurray Cumming2004-02-101-3/+3
| | | | | | | 2004-02-10 Murray Cumming <murrayc@usa.net> * glibmm now uses libsigc++ 2 instead of libsigc++ 1.2. See bug #125061 for more details. We must update CHANGES later.
* Now uses ObjectBase instead of Object, because glib can now haveMurray Cumming2003-11-011-0/+44
| | | | | | | | | | | | | | | 2003-11-01 Murray Cumming <murrayc@usa.net> * glib/glibmm/propertyproxy.h, propertyproxy_base.[h|cc]: Now uses ObjectBase instead of Object, because glib can now have properties on interfaces. This is needed, for instance, by the GtkFileChooser interface wrapper in gtkmm. * glib/glibmm/object.h: Moved get/set_property() methods into ObjectBase, for the same reason. * tools/pm/WrapParser.pm, Output.pm: Added optional no_default_handler parameter to gmmproc _WRAP_SIGNAL() macro, for signals whose default signal handler is not in the klass struct and therefore can not be overridden.
* ObjectBase inherits virtually from Sigc::Object. See bug #116280.Murray Cumming2003-09-301-1/+3
| | | | | | | 2003-09-30 Murray Cumming <murrayc@usa.net> * glib/glibmm/object_base.h: ObjectBase inherits virtually from Sigc::Object. See bug #116280.
* merged some bits from 2.2Murray Cumming2003-07-191-0/+1
|
* GTKMM_ m4 tests and #defines are now prefixed with GLIBMM_Murray Cumming2003-01-221-1/+1
| | | | | | 2003-01-22 Murray Cumming <murrayc@usa.net> * GTKMM_ m4 tests and #defines are now prefixed with GLIBMM_
* Initial revisionMurray Cumming2003-01-071-0/+124