2.17.1
[platform/upstream/glib.git] / gobject / ChangeLog
index 597838a..32d2d02 100644 (file)
@@ -1,3 +1,334 @@
+2008-06-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.17.1 ===
+
+2008-06-10 13:34:01  Tim Janik  <timj@imendio.com>
+
+       * tests/threadtests.c: added race condition tester from Michael Meeks
+       with a couple fixes so it's not triggering development warnings. From:
+       Bug 537555 - GObject instantiation not thread safe ...
+
+2008-06-10 13:15:29  Tim Janik  <timj@imendio.com>
+
+       * gtype.c (g_type_class_ref): fixed race condition where references to
+       partially initialized classes could be handed out.
+
+2008-05-28  Michael Natterer  <mitch@imendio.com>
+
+       * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
+       the global CPPFLAGS now.
+
+2008-05-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.17.0 ===
+
+2008-05-05  Michael Natterer  <mitch@imendio.com>
+
+       * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
+       code from being checked in that breaks the build of applications
+       which use G_DISABLE_SINGLE_INCLUDES.
+
+2008-03-16  Tor Lillqvist  <tml@novell.com>
+
+       * Makefile.am: Define gobject_def locally here instead of using an
+       Autoconf variable.
+
+2008-03-10  Matthias Clasen  <mclasen@redhat.com>
+       
+       * === Released 2.16.1 ===
+
+2008-03-10  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.16.0 ===
+
+2008-02-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.15.6 ===
+
+2008-02-11  Matthias Clasen <mclasen@redhat.com>
+
+       * === Released 2.15.5 ===
+
+2008-02-06  Benjamin Otte  <otte@gnome.org>
+
+       * gparamspecs.c: (param_gtype_set_default), (param_gtype_validate):
+       make GParamGType require the set type during construction instead of
+       using G_TYPE_NONE, which causes issues when setting.
+       Bug 513073 - g_param_spec_gtype breaks with G_PARAM_CONSTRUCT
+
+2008-02-05 18:52:07  Tim Janik  <timj@imendio.com>
+
+       * gtype.c: added recursive mutex to protect class initialization,
+       default interface initialization and per-class interface construction.
+       a lock to this recursive mutex is held during user callback invocations
+       such as initializers or finalizers, effectively allowing only one thread
+       to run class/interface initializers/finalizers at a time.
+       also made misc fixups. this fixes:
+       Bug 64764 - Class initialization isn't thread safe.
+
+2008-02-05 18:41:22  Tim Janik  <timj@imendio.com>
+
+       * Makefile.am: integrate tests/.
+
+       * tests/: new directory for libgobject tests.
+
+       * tests/Makefile.am: build and run threadtests.
+
+       * tests/threadtests.c: test multi-threaded initializers for
+       object classes and interfaces.
+
+2008-01-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.15.4 ===
+
+2008-01-21  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.15.3 ===
+
+2008-01-14  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.15.2 ===
+
+008-01-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.15.1 ===
+
+2007-12-26  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gclosure.h (G_CCLOSURE_SWAP_DATA): Fix macro argument.
+       (#505674, Areg Beketovski)
+
+2007-12-20  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.15.0 ===
+
+2007-11-11  Mathias Hasselmann  <mathias@openismus.com>
+
+       Always exit with non-zero error code when printing warnings.
+
+       * gobject/glib-genmarshal.c: Add global exit_status variable, and use
+       it in pad() and process_signature() to return with non-zero error code
+       when printing warnings. (#495294)
+
+2007-11-08  Matthias Clasen <mclasen@redhat.com>
+
+       * glib-mkenums.in: Don't shift ARGV[0] to undefined. 
+       (#466557, Aidan Delaney)
+
+2007-11-07  Matthias Clasen <mclasen@redhat.com>
+
+       * === Released 2.14.3 ===
+
+2007-10-16  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.14.2 ===
+
+2007-09-20  Carlos Garnacho  <carlos@imendio.com>
+
+       * gtypemodule.h: make sure we define GType g_define_type_id in
+       G_G_DEFINE_DYNAMIC_TYPE_EXTENDED so it works together with
+       G_IMPLEMENT_INTERFACE. (#478459)
+
+2007-09-19  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.14.1 ===
+
+2007-08-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.14.0 ===
+
+2007-07-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.13.7 ===
+
+Tue Jul 10 12:31:50 2007  Tim Janik  <timj@imendio.com>
+
+       * gtype.h: use g_once_init_enter/g_once_init_leave to guard critical
+       initialization section of *_get_type implementations in G_DEFINE_TYPE,
+       bug #65041.
+
+Fri Jun 29 2007  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.13.6 ===
+
+Fri Jun 22 11:31:27 2007  Tim Janik  <timj@gtk.org>
+
+       * gtype.h: reintroduce typedef gulong GType; for C++, to avoid
+       C++ specific ABI breakage.
+
+2007-06-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.13.5 ===
+
+Thu Jun 14 23:32:00 2007  Tim Janik  <timj@gtk.org>
+
+       * gtype.h: always define GType unconditionally in terms of gsize,
+       there's no need to jump through a glong hoop ever and this fixes
+       the printf modifier to %zu.
+
+Thu Jun 14 22:33:11 2007  Tim Janik  <timj@imendio.com>
+
+       * gparamspecs.c (g_param_spec_types_init): work around SGI IDO cc,
+       fixes #363986.
+
+2007-06-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.13.4 ===
+
+2007-06-04  Matthias Clasen  <mclasen@redhat.com>
+       
+       * === Released 2.13.3 ===
+
+2007-05-22  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.13.2 ===
+
+2007-05-17  Matthias Clasen <mclasen@redhat.com>
+
+       * gtype.h: Move G_GNUC_INTERNAL before function
+       declarations to fix compilation with sun studio.  (#438873,
+       Damien Carbery)
+
+2007-05-03  Matthias Clasen <mclasen@redhat.com>
+
+       * === Released 2.13.1 ===
+
+2007-04-25  Michael Natterer  <mitch@imendio.com>
+
+       * gparamspecs.c (param_string_validate): also clear the
+       NOCOPY_CONTENTS flag when replacing NULL with the empty string.
+
+2007-04-24  Michael Natterer  <mitch@imendio.com>
+
+        * gparamspecs.c (param_string_validate): don't free or modify
+       static strings, dup them when needed and clear the
+       G_VALUE_NOCOPY_CONTENTS flag. Fixes bug #432895.
+
+Tue Apr  3 12:34:14 2007  Tim Janik  <timj@gtk.org>
+
+       * gobject.[hc]: invoke GObjectClass.constructed() only for newly
+       constructed objects, and invoke it while the notify queue is
+       still being frozen, after all CONSTRUCT* properties have been
+       set and before random other properties are being set.
+
+       * applied modified patch from Ryan Lortie to implement
+       GObjectClass.constructed() to fix #425324.
+
+2007-04-02  Ryan Lortie  <desrt@desrt.ca>
+
+       * gobject/gobject.h: Add 'constructed' vcall to GObjectClass.
+       * gobject/gobject.c (g_object_newv): call ->constructed() as last
+       step of object construction.
+
+2007-03-16  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.13.0 ===
+
+2007-03-15  Matthias Clasen  <mclasen@redhat.com>
+
+       * gvaluearray.c: Use  g_slice.  (#404430, Chris Wilson)
+
+2007-03-14  Stefan Kost  <ensonic@users.sf.net>
+
+       * gparam.h:
+         Add G_PARAM_STATIC_STRINGS define (fixes #418021).
+
+Mon Mar 12 13:30:20 2007  Tim Janik  <timj@gtk.org>
+
+       * gtype.h: marked purely functional g_type accessors as PURE or CONST,
+       closes #305100.
+
+2007-01-02  Tor Lillqvist  <tml@novell.com>
+
+       * glib-genmarshal.c (main): Handle "/dev/stdin" by dup()ing fd 0
+       so that it works on Win32 and other systems without
+       /dev/stdin. (#407431)
+
+2006-12-29 Matthias Clasen  <mclasen@redhat.com>
+
+       * gtypemodule.h: Define G_DEFINE_DYNAMIC_TYPE and
+       and _EXTENDED variant.  (#334437)
+
+Fri Dec 15 2006  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtype.c (instance_real_class_get): Dereference the pointer 
+       before dropping the lock.  (#378078, Jonathan Matthew)
+
+Tue Oct 10 12:06:08 2006  Tim Janik  <timj@gtk.org>
+
+       * glib-mkenums.in: 
+       * glib-mkenums.1: applied patch from David Necas which introduces
+       an underscore_name option and fixes #358734.
+
+Mon Oct  2 15:50:16 2006  Tim Janik  <timj@gtk.org>
+
+       * gvalue.c (g_value_peek_pointer): reverted a change to have an
+       assert instead of a g_return_val_if_fail() here. libraries (and
+       programs) should only ever g_assert or g_error if there is no way
+       to carry on with the current program state. that's clearly not 
+       the case here.
+
+       * ChangeLog: added missing changelog entry for 2003-12-30.
+
+Sat Sep 30 2006  Matthias Clasen  <mclasen@redhat.com>
+
+       * pltcheck.sh: Script to check PLT entries.
+
+       * Makefile.am (TESTS): Run pltcheck.sh
+
+       * gtype.c:
+       * gsignal.c:
+       * gobject.c:
+       * gvaluetypes.c: Move all includes before gobjectalias.h.
+       (#3545422, Behdad Esfahbod)
+
+Fri Sep 22 13:41:02 2006  Tim Janik  <timj@imendio.com>
+
+       * gtype.h: applied patch from Behdad with slight optimization, 
+       fixes #356175.
+
+       * gobjectnotifyqueue.c: fixed include-guard macro name.
+
+Mon Sep 11 12:12:45 2006  Tim Janik  <timj@imendio.com>
+
+       * gparam.c (g_param_spec_sink): reimplemented floating flag handling by
+       atomically accessing a reserved GData bit, fixes #330556.
+
+Tue Aug 29 13:27:33 2006  Tim Janik  <timj@gtk.org>
+
+       * glib-mkenums.in: fixed to print usage and version info on STDOUT
+       (#322502).
+
+       * gobject.c (g_initially_unowned_init): restore ; after G_DEFINE_TYPE.
+
+2006-08-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * gobject.c: Remove ; after G_DEFINE_TYPE.  (#351741, Kjartan Maraas)
+
+Wed Aug 23 10:35:32 2006  Tim Janik  <timj@gtk.org>
+
+       * gobject.[hc]: changed return value of g_value_dup_object(), fixes #343292.
+
+2006-08-23  Sven Neumann  <sven@gimp.org>
+
+       * gobject/glib-genmarshal.[c1]: added new command-line option
+       "--internal" that can be used to let glib-genmarshal generate
+       internal functions using the G_GNUC_INTERNAL attribute (bug #346647).
+
+Wed Aug 16 13:55:08 2006  Tim Janik  <timj@imendio.com>
+
+       * gobject.c: conditionally thaw the notify queue after construction,
+       so we don't trigger warnings when trying to thaw an unfrozen singleton.
+
+2006-08-15  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.12.2 ===
+
+2006-08-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * gparamspecs.c (g_param_spec_types_init): Don't initialize
+       struct members with function calls.  (#349952)
+
 2006-07-22  Matthias Clasen  <mclasen@redhat.com>
 
        * === Released 2.12.1 ===
@@ -863,6 +1194,13 @@ Fri Jan  9 15:34:15 2004  Tim Janik  <timj@gtk.org>
        * gtype.h: added convenience macros G_IMPLEMENT_INTERFACE() and
        G_DEFINE_TYPE() plus variants.
 
+2003-12-30  Murray Cumming  <murrayc@usa.net>
+  
+        * gobject/glib-mkenums.in: Added a lowercase_name option, to be used
+        next to the enum declaration, where the flag option is already used,
+        when it is not possible to guess where to put the underscores in the
+        _get_type() function name, for instance for GNOMEVFSURIHide.
+
 Fri Dec 26 01:34:01 2003  Matthias Clasen  <maclas@gmx.de>
 
        * gtype.c (g_type_class_peek_parent): Don't acquire a read lock