=== Released 2.2.0 ===
[platform/upstream/glib.git] / gobject / ChangeLog
index 11dc544..e865fee 100644 (file)
@@ -1,3 +1,408 @@
+2002-12-18  Matthias Clasen  <maclas@gmx.de>
+
+       * gobject.c: Add docs.
+
+2002-12-18  Michael Natterer  <mitch@gimp.org>
+
+       * gobject/gtype.c (type_data_finalize_class_ifaces_Wm): applied
+       patch I got from Tim Janik for testing which fixes bug #101521.
+       (restart iterating the interface enties each time we finalized one
+       because they might have been modified).
+
+2002-12-17  Matthias Clasen  <maclas@gmx.de>
+
+       * gparam.c (g_param_spec_internal): Remove markup from doc
+       comment, as GObject doesn't use --sgml-mode yet.
+
+2002-12-15  Matthias Clasen  <maclas@gmx.de>
+
+       * gsignal.c (g_signal_new): Typo fix.
+
+       * gparamspecs.c:  
+       * gparam.c (g_param_spec_internal): 
+       * gobject.c (g_object_class_install_property): Add docs.
+
+2002-12-13  Matthias Clasen  <maclas@gmx.de>
+
+       * glib-genmarshal.c, gobject-query.c: Use g_printf() instead of 
+       system printf.  (#99319)
+
+Thu Dec 12 15:00:10 2002  Manish Singh  <yosh@gimp.org>
+
+       * gvaluetransform.c: use G_G[U]INT64_FORMAT unconditionally,
+       since we'll always have it now.
+
+2002-12-07  Matthias Clasen  <maclas@gmx.de>
+
+       * gparam.c (canonalize_key): Rename to canonicalize_key. Adjust
+       all callers.
+
+2002-12-05  Matthias Clasen  <maclas@gmx.de>
+
+       * gsignal.c (g_signal_new): Explain allowed signal names in more
+       detail.
+
+2002-12-04  Matthias Clasen  <maclas@gmx.de>
+
+       * gsignal.h (g_signal_add_emission_hook): 
+       * gtype.h (g_type_interface_get_plugin): Sync parameter names with
+       docs and implementation.
+
+       * gtype.c (g_type_add_interface_dynamic): 
+       (g_type_interface_get_plugin): 
+       (g_type_interface_peek_parent): 
+       (g_type_query): Add docs.
+
+2002-12-03  Matthias Clasen  <maclas@gmx.de>
+
+       * gtype.c (g_type_get_qdata): 
+       (g_type_set_qdata): 
+       (g_type_interface_add_prerequisite): Add docs.
+
+2002-12-02  Matthias Clasen  <maclas@gmx.de>
+
+       * gobject.c (g_signal_connect_object): Add docs.
+
+2002-11-30  Matthias Clasen  <maclas@gmx.de>
+
+       * gsignal.c: More docs.
+
+2002-11-28  Matthias Clasen  <maclas@gmx.de>
+
+       * gtype.c (g_type_interface_prerequisites): Document as 2.2 
+       API addition.
+
+Thu Nov 21 16:05:50 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtype.c (g_type_check_instance_cast): Allow
+       NULL to be cast to any type. (Frequently requested,
+       most recently #99023, Lars Clausen.)
+
+Mon Nov  4 14:42:36 2002  Owen Taylor  <otaylor@redhat.com>
+       * gtype.c gsignal.c gvaluearray.c: Include config.h
+       so DISABLE_MEMPOOLS actually has an effect.
+       (#96437, Morten Welinder)
+       * gsignal.c: Conditionalize definition of g_handler_ts
+       on DISABLE_MEM_POOLS (#96437)
+       
+2002-10-20  Matthias Clasen  <maclas@gmx.de>
+
+       * gtype.c (g_type_interface_prerequisites): Report only the most
+       specific instantiatable prerequisite, filter out all supertypes of
+       this one (the supertypes are added to the prerequisites array for
+       technical reasons).
+
+2002-10-16  Matthias Clasen  <maclas@gmx.de>
+
+       * glib-mkenums.in: Support for template files.
+       
+       * glib-mkenums.1: Document --template.
+
+2002-10-15  Matthias Clasen  <maclas@gmx.de>
+
+       * gtype.c (g_type_interface_prerequisites): New function to obtain
+       the prerequisites of an interface type.
+
+Sat Oct 12 22:02:32 2002  Tim Janik  <timj@gtk.org>
+
+       * merged up from 2.0:
+
+        * testgobject.c: test creation of new fundamental types.
+
+        * gtype.c (g_type_fundamental_next), (type_node_fundamental_new_W):
+        account for static_fundamental_next storing non-shifted fundamental
+        IDs. this fixes g_type_fundamental_next() not returning a new usable
+        fundamental ID.
+
+Wed Sep 11 16:50:20 2002  Dom Lachowicz <cinamod@hotmail.com>
+
+       * gtype.h: Fix problems with excessive C++ warnings: "ISO C++ forbids nested groups within expressions"
+       
+Fri Jul 26 15:46:36 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gvaluetransform.c: Fix problems with excess ';'
+       by addition of strategic 'extern void glib_dummy_decl (void)'
+       (#83272, David L. Cooper II)
+
+Thu Jul 25 20:34:39 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtype.c (g_type_interface_add_prerequisite): When
+       adding ancestral prerequisites, add the grandparents,
+       not the siblings. (Problem found by Jon Trowbridge, patch from 
+       Dave Camp, #86879)
+
+2002-07-05  Anders Carlsson  <andersca@gnu.org>
+
+       * gobject.c (g_object_base_class_finalize): Remove debugging
+       message, approved by Tim Janik.
+
+2002-06-11  Anders Carlsson  <andersca@gnu.org>
+
+       * gtypemodule.c: (g_type_module_complete_interface_info):
+       * gtypeplugin.h:
+       Fix argument order. Fixes #82806.
+       
+Mon May 20 15:57:47 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gsignal.c: When printing errors, handle NULL
+       returns from g_type_debug(). (#73559, Laszlo Peter)
+
+       * gtype.c (type_descriptive_name_I): De-inline,
+       since it's only used for debugging.
+
+Tue May  7 15:03:02 2002  Owen Taylor  <otaylor@redhat.com>
+
+        * glib-genmarshal.c: Fix include order for config.h (#71704,
+        Morten Welinder)
+
+2002-05-07  Michael Natterer  <mitch@gimp.org>
+
+       * Makefile.am: use the glib-genmarshal found at configure time
+       if CROSS_COMPILING is set, use the one which was just built
+       otherwise.
+
+Mon May  6 16:06:23 2002  Owen Taylor  <otaylor@redhat.com>
+
+       [ merged from stable ]
+
+       * gobject.c: Remove PROPERTIES_CHANGED enumeration
+       value that wasn't used any more. (#78833, 
+       Matthias Clasen)
+
+       * gboxed.c (g_boxed_copy): Remove check on data[2]
+       that no longer exists. (#80814, Daniel Elstner)
+
+Tue Mar 26 15:21:47 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gsignal.h (g_signal_handlers_*_by_func): Add explicit
+       cast of G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA to
+       GSignalMatchType so that these macros work for C++.
+       (#76454, Damien Sandras)
+
+Mon Mar 25 17:51:05 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib-mkenums.in (parse_entries): Fix various bugs and
+       excessive stack usage that crept in the conversion from
+       gtk-mkenums. (#74431)
+
+Mon Mar 25 17:25:57 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtype.c (g_type_free_instance): Wrap setting freed instance
+       memory to 0xaa in #ifdef G_ENABLE_DEBUG
+
+Thu Mar 21 01:28:14 2002  Tim Janik  <timj@gtk.org>
+
+       * gsignal.[hc]:
+       * gobject.[hc]: fix extraneous include.
+
+Tue Mar 19 18:57:12 2002  Tim Janik  <timj@gtk.org>
+
+       * gtype.c (check_add_interface_L): applied patch from Matthias Clasen
+       <maclas@gmx.de> to check for prerequisite of interfaces, fixes #74427.
+       fixed mutex recursion in his patch (we can't call g_type_is_a() while
+       holding a read lock).
+
+       * gparam.c (canonalize_key): cleanup.
+
+2002-03-13  Alexander Larsson  <alla@lysator.liu.se>
+
+       * gparam.c (canonalize_key):
+       Function to canonicalize parameter names. Faster than
+       using g_strcanon().
+       (g_param_spec_internal, param_spec_ht_lookup):
+       Use canonalize_key.
+
+2002-03-13  Erwann Chenede  <erwann.chenede@sun.com>
+        * gobject/gclosure.c  
+       * gobject/gobject.c 
+       * gobject/gsignal.c: fixed cast problems with function pointer
+       to avoid warnings (with forte compiler) (#73898)
+       
+2002-03-05  Sven Neumann  <sven@gimp.org>
+
+       * gvaluetransform.c (g_value_transforms_init): don't try to 
+       register undeclared value transform functions if G_GINT64_FORMAT
+       or G_GUINT64_FORMAT are undefined (#73586).
+
+2002-03-03  Tor Lillqvist  <tml@iki.fi>
+
+       * makefile.msc.in
+       * makefile.mingw.in: Rename testgruntime to testgobject here, too.
+
+Sun Mar  3 04:11:58 2002  Tim Janik  <timj@gtk.org>
+
+       * gobject.c: placed a comment about not changing CArray until we have
+       g_object_list_watched_closures().
+
+       * gparam.h (struct _GParamSpecClass): added padding.
+
+       * gobjectnotifyqueue.c (struct _GObjectNotifyQueue): abuse
+       g_list_alloc() to allocate GObjectNotifyQueue to et rid
+       of locking issues.
+
+Tue Feb 26 10:51:00 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * Makefile.am (testgobject_LDADD): Rename testgruntime
+       to testgobject.
+
+Sun Feb 24 22:08:29 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtypemodule.[ch] (g_type_module_add_interface): Make
+       GInterfaceInfo paramter const to correspond to the
+       conventions for the g_type_add_interface() functions.
+       (#72461, Miroslaw Dobrzanski-Neumann)
+
+Sat Feb 23 13:28:56 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtypeplugin.h (struct _GTypePluginClass): Add some
+       padding to the class.
+
+       * gclosure.h (struct _GClosure): Fix typo in comment.
+
+2002-02-20  Tor Lillqvist  <tml@iki.fi>
+
+       * gobject.def: Add g_value_set_object_take_ownership and
+       g_value_set_param_take_ownership.
+
+Wed Feb 20 22:55:15 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gobject.c: Fix implicit conversions between void * and 
+       function pointer (Miroslaw Dobrzanski-Neumann, #71963)
+
+Sun Feb 16 22:08:48 2002  Tim Janik  <timj@gtk.org>
+
+       * gobject.[hc]:
+       * gparam.[hc]: provide marshaller specific value_set_*_take_ownership()
+       variants.
+
+       * gvalue.h: shrink GValue's data contents to 2 unions.
+
+       * glib-genmarshal.c: fix release and realeas_check hackage by always
+       using _take_ownership() variants. directly access value contents if
+       G_ENABLE_DEBUG is not defined.
+
+       * gobject.h: add padding pointers to the class struct.
+
+Wed Feb 13 17:22:37 2002  Tim Janik  <timj@gtk.org>
+
+       * gtype.c (g_type_value_table_peek): fixed a check for node not being NULL.
+
+Wed Feb 13 06:53:50 2002  Tim Janik  <timj@gtk.org>
+
+       * gparam.c: remove extraneous redefinition of G_PARAM_SPEC_CLASS().
+
+Wed Feb 13 06:29:51 2002  Tim Janik  <timj@gtk.org>
+
+       * gvaluetransform.c: cosmetic cleanups, fixed [u]int64->string
+       conversions.
+
+       * ChangeLog: added entry from owen which went into the wrong
+       file.
+
+Fri Feb  8 23:52:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+        * gobject/gvaluetransform.c: Register transformations for
+        gint64, guint64. (#70780, patch from Andy Wingo)
+
+2002-02-10  Hans Breuer  <hans@breuer.org>
+
+       * gvaluetransform.c : msvc 5.0 can't cast from uint64 to
+       double. Disable respective transform_func than.
+
+       * makefile.msc.in : build test programs
+
+Thu Jan 24 07:39:56 2002  Tim Janik  <timj@gtk.org>
+
+       * gobject.c (g_signal_connect_object): return gulong instead
+       of guint.
+
+Fri Jan 11 12:26:36 2002  Tim Janik  <timj@gtk.org>
+
+       * gparamspecs.c: fixed param_value_array_values_cmp(),
+       param_value_array_validate() and
+       param_value_array_set_default() to deal with NULL value
+       arrays.
+
+Wed Jan  9 05:23:27 2002  Tim Janik  <timj@gtk.org>
+
+       * gobject.h (G_OBJECT_WARN_INVALID_PROPERTY_ID): cosmetic fix.
+
+2002-01-05  Hans Breuer  <hans@breuer.org>
+
+       * makefile.msc.in : use -FImsvc_recommended_pragmas.h
+
+Fri Jan  4 04:36:46 2002  Tim Janik  <timj@gtk.org>
+
+       * gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): turn this into a GType,
+       so negating it works on 64bit platforms.
+
+2001-12-21  Tor Lillqvist  <tml@iki.fi>
+
+       * gobject.def: Add g_signal_get_invocation_hint.
+
+Tue Dec 18 21:39:57 2001  Tim Janik  <timj@gtk.org>
+
+       * testoverride.c: added some assertions to test
+       g_signal_get_invocation_hint().
+
+       * gsignal.[hc]: remove signal_id argument from
+       g_signal_chain_from_overridden(), the parameters are assumed to match
+       the innermost signal currently in emission for this instance.
+       added g_signal_get_invocation_hint() to figure the invocation hint
+       of the innermost signal emission of an instance.
+
+       * gsignal.c (g_signal_list_ids): fix G_BSEARCH_ARRAY_NODES() to
+       access a bsearch array and not a pointer to it (discovered by
+       Sven Neumann).
+
+2001-12-17  Anders Carlsson  <andersca@gnu.org>
+
+       * gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): Set the reserved bit
+       to (1 << 0) instead of (1 << 30). 
+
+2001-12-14  James Henstridge  <james@daa.com.au>
+
+       * Makefile.am: add rules to build it.
+
+       * testoverride.c: test program for closure override/chaining.
+
+Thu Dec 13 08:03:17 2001  Tim Janik  <timj@gtk.org>
+
+       * gsignal.c: implemented closure chaining.
+
+2001-12-08  Christopher Blizzard  <blizzard@redhat.com>
+
+       * gsignal.h (g_signal_connect): Explicitly add a cast to the last
+       argument so that the macro will work from C++.
+
+2001-12-06  Tor Lillqvist  <tml@iki.fi>
+
+       * makefile.mingw.in (gobject_OBJECTS): Add gsourceclosure.o.
+
+Mon Nov 26 09:55:12 2001  Tim Janik  <timj@gtk.org>
+
+       * gtype.h: typedef GType to gulong instead of gsize, if possible.
+
+       * gtype.c: fixups for GType being sizeof(long) wide (changed
+       UINT casts).
+       * gsignal.c:
+       * gclosure.c:
+       * gparam.c: likewise.
+
+Sun Nov 25 22:33:32 2001  Tim Janik  <timj@gtk.org>
+
+       * gtype.h: removed enum GTypeFundamentals. use macros
+       to provide the constant fundamental type IDs, so they
+       all return numbers of type GType, and not int.
+       sizeof(GTypeFundamentals) < sizeof(GType) problem reported
+       and fix sugegsted by Havoc.
+
+2001-11-23  Hans Breuer  <hans@breuer.org>
+
+       * gobject.def : updated externals
+
 Mon Nov 19 14:35:56 2001  Owen Taylor  <otaylor@redhat.com>
  
        * *.h: Improve the detection of invalid includes by moving