prepared deprecation of GMemChunk and GAllocator. added g_slice_*() API to
[platform/upstream/glib.git] / gobject / ChangeLog
index bbad946..a35641a 100644 (file)
@@ -1,5 +1,78 @@
+Tue Nov  1 17:07:43 2005  Tim Janik  <timj@imendio.com>
+
+       * gsignal.c: allocate signal handlers and handler match structures
+       via the new g_slice_*() API (get's rid of GList allocation hack).
+
+       * gtype.c: got rid of per-type memchunks. if GTypeInfo.n_preallocs
+       is > 0, objects are allocated via g_slice_*() instead of g_malloc().
+
+2005-10-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib-mkenums.in: Really fix #314890.
+
+2005-09-28  Michael Natterer  <mitch@gimp.org>
+
+       * gtype.h (G_IMPLEMENT_INTERFACE): revert last change, it breaks
+       all users of G_IMPLEMENT_INTERFACE() inside
+       G_DEFINE_TYPE_WITH_CODE(), since apparently GCC doesn't like
+       commas enclosed in {}, not (), in nested macro calls.
+
+2005-09-26  DindinX  <dindinx@gimp.org>
+
+       * gobject/gtype.h: initialize all the fields of GInterfaceInfo in the
+       G_IMPLEMENT_INTERFACE macro, to shut up a warning when compiling at -W
+
+2005-09-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib-mkenums.in: Don't hang on '{' following a trigraph comment
+       in the same line.  (#314890, Mathias Hasselmann)
+
+Thu Sep 22 12:42:12 2005  Tim Janik  <timj@gtk.org>
+
+       * gparam.c (g_param_spec_internal): fix pspec->name assignment which
+       needs to be strdup()ed for non G_PARAM_STATIC_NAME pspecs. this fixes
+       recently introduced crashes during plugin unloading.
+       also, ensure that static pspec names are canonicalized.
+
+       * gsignal.h: reverted last change from matthias, we don't guarantee
+       that type ids aren't mangled with G_SIGNAL_TYPE_STATIC_SCOPE anywhere.
+
+2005-09-20  Matthias Clasen  <mclasen@redhat.com>
+
+       * gsignal.h (struct _GSignalQuery): Remove the misleading comment
+       about G_SIGNAL_TYPE_STATIC_SCOPE, since we don't allow that 
+       on return types.
+
+2005-09-08  Kjartan Maraas  <kmaraas@gnome.org>
+
+       * gclosure.c: (g_closure_set_meta_marshal): Remove some unused
+       code.
+       * gsignal.c: (g_signal_emitv): Same here
+       * gtype.c: (g_type_register_fundamental): And here
+       * testgobject.c: Mark some functions static.
+
+2005-09-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * gsignal.c (struct _SignalNode): Make the name field const.
+       (g_signal_newv): Don't keep an unnecessary extra copy of the 
+       signal name around, and don't forget to free the name if
+       an existing node is reused.     
+
 2005-08-31  Matthias Clasen  <mclasen@redhat.com>
 
+       * gobject.c (g_object_do_class_init): Intern the signal name.
+
+       * gparam.c (g_param_spec_internal): Intern the name here,
+       since we need the quark anyway when sending change notification.
+
+       * gboxed.c: 
+       * gparamspecs.c: 
+       * gtype.c (g_type_init_with_debug_flags): Intern type name
+       before registering the types.
+
+       * gtype.h (G_DEFINE_TYPE_EXTENDED): Intern type name
+       before registering the type.
+
        * gvaluetypes.c (g_value_types_init): 
        * gtypeplugin.c (g_type_plugin_get_type): 
        * gtypemodule.c (g_type_module_get_type):