diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-05-05 14:57:29 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2005-05-05 14:57:29 +0000 |
commit | 2ae1a46b4c8d9849f43eb9f059a98eadb4f2a6c9 (patch) | |
tree | 813adfe3e8615ba3e9d4d65051691c8fc5706802 /ChangeLog.pre-2-12 | |
parent | 1167d7d6a78578da2a622f7226c9e1b557ef65cb (diff) | |
download | glib-2ae1a46b4c8d9849f43eb9f059a98eadb4f2a6c9.tar.gz |
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.
Diffstat (limited to 'ChangeLog.pre-2-12')
-rw-r--r-- | ChangeLog.pre-2-12 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 19a94687b..fbc9501d7 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,18 @@ +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-02 Matthias Clasen <mclasen@redhat.com> * glib/gstring.c (g_str_equal, g_str_hash): Move docs |