glib/tests/gobject
Owen Taylor 2ae1a46b4c Add g_object_add/remove_toggle_ref() functions to get notification when a
2005-05-05  Owen Taylor  <otaylor@redhat.com>

        * gobject.[ch] gobject.symbols: Add
        g_object_add/remove_toggle_ref() functions to get notification
        when a reference count is the last remaining reference; this
        enables better memory management for language bindings.
        (http://mail.gnome.org/archives/gtk-devel-list/2005-April/msg00095.html)

2005-05-05  Owen Taylor  <otaylor@redhat.com>

        * glib/gdataset.[ch] glib/gdatasetprivate.h: Add
        g_datalist_set/unset_flags(), g_datalist_get_flags() functions
        to squeeze some bits into a GDataSet... this is needed for
        efficient implementation of toggle references in GObject.

        * tests/gobject/references.c tests/gobject/Makefile.am:
        Add a test case for weak and toggle references.

        * glib/gfileutils.[ch]: Rename g_file_replace() back
        to g_file_set_contents().

        * glib/glib.symbols: Update.

2005-05-05  Owen Taylor  <otaylor@redhat.com>

        * glib/Makefile.am glib/glib-sections.txt gobject/gobject-sections.txt:
        Update

        * gobject/tmpl/objects.sgml: Document toggle-references.
2005-05-05 14:57:29 +00:00
..
.cvsignore === Released 2.3.0 === 2003-10-23 22:42:31 +00:00
accumulator.c New directory, framework for automated GObject tests. 2003-09-12 20:37:09 +00:00
defaultiface.c Dummy dynamic type module for testing type plugin code and dynamic types. 2003-09-29 14:54:39 +00:00
ifacecheck.c Test case for g_type_add_interface_check(). 2003-10-02 05:28:00 +00:00
ifaceinherit.c === Released 2.3.0 === 2003-10-23 22:42:31 +00:00
ifaceinit.c Test case for g_type_add_interface_check(). 2003-10-02 05:28:00 +00:00
ifaceproperties.c Force shared library (DLL) only on Windows. (I don't think that is 2003-10-24 03:41:22 +00:00
Makefile.am Add g_object_add/remove_toggle_ref() functions to get notification when a 2005-05-05 14:57:29 +00:00
override.c New directory, framework for automated GObject tests. 2003-09-12 20:37:09 +00:00
references.c Add g_object_add/remove_toggle_ref() functions to get notification when a 2005-05-05 14:57:29 +00:00
testcommon.h New directory, framework for automated GObject tests. 2003-09-12 20:37:09 +00:00
testmarshal.list New directory, framework for automated GObject tests. 2003-09-12 20:37:09 +00:00
testmodule.c Dummy dynamic type module for testing type plugin code and dynamic types. 2003-09-29 14:54:39 +00:00
testmodule.h Dummy dynamic type module for testing type plugin code and dynamic types. 2003-09-29 14:54:39 +00:00