updated externals
[platform/upstream/glib.git] / gobject / ChangeLog
index 880b4c3..3d6f861 100644 (file)
@@ -1,3 +1,299 @@
+2001-07-29  Hans Breuer  <hans@breuer.org>
+
+       * gobject.def : updated externals
+
+2001-07-20  Hans Breuer  <hans@breuer.org>
+
+       * gobject.def : updated externals
+
+       * makefile.msc.in : reflect glib move
+
+Tue Jul 10 18:50:16 2001  Tim Janik  <timj@gtk.org>
+
+       * gsignal.h (struct _GSignalQuery): fix misplaced comment.
+
+Mon Jul  2 07:17:47 2001  Tim Janik  <timj@gtk.org>
+
+       * gobject.c (g_object_weak_ref): 
+       (g_object_watch_closure): congrats tim, introducing of-by-one
+       errors like on my very first day of C programming.
+
+Sat Jun 30 11:07:00 2001  Tim Janik  <timj@gtk.org>
+
+       * gobject.[hc]: provide weak_ref/weak_unref functions,
+       invoked from ->dispose. renamed ->shutdown() to ->dispose(),
+       provide "public" API entry here: g_object_run_dispose(), this
+       fucntion should _only_ be called from object system implementations
+       (e.g. gtkobject.c) if at all.
+
+       * gtypemodule.c (g_type_module_dispose): s/shutdown/dispose/
+
+       * gsignal.h: removed compat aliases.
+
+       * gobject.c (g_object_connect): support data objects.
+       
+Sat Jun 30 13:17:12 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * testgruntime.c (test_object_class_init)
+         gobject.c (g_object_do_class_init): 
+         g_signal_newc() => g_signal_new().
+
+Thu Jun 28 22:49:40 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtype.[ch] gobject-query.c testgruntime.c: Remove
+       debug flag argument to g_type_init() and add
+       g_type_init_with_debug_flags().
+
+Thu Jun 28 16:42:49 2001  Tim Janik  <timj@gtk.org>
+
+       * gsignal.c (g_signal_lookup): 
+       (g_signal_list_ids): give elaborate warnings about invalid types,
+       non-instantiatable types and unloaded types that we can't operate on.
+
+       * gparam.[hc]: g_param_spec_pool_belongings() ->
+       g_param_spec_pool_list_owned().
+
+       * gsignal.[hc]: renamed:
+       g_signal_newc -> g_signal_new
+       g_signal_disconnect_by_func -> g_signal_handlers_disconnect_by_func
+       g_signal_block_by_func -> g_signal_handlers_block_by_func
+       g_signal_unblock_by_func -> g_signal_handlers_unblock_by_func
+       added GConnectType to simplify (..gboolean swapped, gboolean after)
+       args.
+
+       * gobject.[hc]: changed prototypes accordingly.
+
+2001-06-22  Hans Breuer  <hans@breuer.org>
+
+       * gobject.def : updated externals
+
+       * gobjectnotifyqueue.c : include <string.h> for memset ()
+
+Thu Jun 21 02:43:10 2001  Tim Janik  <timj@gtk.org>
+
+       * gparamspecs.h: s/long/int/ for default_value in enum and flags
+       pspecs.
+
+Wed Jun 20 03:59:42 2001  Tim Janik  <timj@gtk.org>
+
+       * gtype.[hc]: added debugging variants g_type_name_from_class(),
+       g_type_name_from_instance().
+
+Mon Jun 11 17:07:06 2001  Tim Janik  <timj@gtk.org>
+
+       * gboxed.[hc]: remove left-over usages of an anonymous GBoxed typedef.
+
+       * gobjectnotifyqueue.c: moved property notify queue implementation
+       bits into this function.
+
+       * gparam.[hc]: added g_param_spec_pool_belongings(), completed
+       g_param_spec_pool_list(). added GParameter for _setv() functions.
+
+       * gobject.[hc]: use gobjectnotifyqueue.h implementation now.
+       got rid of properties_changed signal.
+       new functions g_object_newv(), g_object_class_list_properties().
+       removed "properties_changed" signal.
+
+       * gtype.[hc]: added g_type_depth() to figure number of parent
+       types + 1 for a type.
+
+       * gsignal.h: add g_signal_connect() (as per owen's request) and
+       g_signal_connect_swapped().
+
+2001-06-13  Havoc Pennington  <hp@redhat.com>
+
+       * Makefile.am (progs_LDADD): link to ./libgobject-1.3.la
+       since an installed libgobject was somehow being found; think 
+       it's a libtool bug, but this workaround should do for now.
+
+2001-06-12  Havoc Pennington  <hp@redhat.com>
+
+       * Makefile.am (glib-mkenums): don't put $(srcdir)/glib-mkenums in
+       bin_SCRIPTS, that breaks make install. Instead put 'glib-mkenums'
+       in bin_SCRIPTS and cp it into builddir
+
+Thu May 31 17:56:47 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gobject-query.c: Fix mispelling in help output.
+       (#53952, Skip Montanaro)
+
+2001-05-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * Makefile.am (EXTRA_DIST): Really distribute glib-mkenums, now
+       that bin_SCRIPTS doesn't seem to care about doing so anymore.
+
+Mon May 28 06:51:24 2001  Tim Janik  <timj@gtk.org>
+
+       * gsignal.c (signal_emit_unlocked_R): fixed bad faux-pass, forgot
+       to release signal lock when restarting emissions.
+
+Sun May 27 04:52:28 2001  Tim Janik  <timj@gtk.org>
+
+       * gsignal.[hc] (g_signal_stop_emission_by_name): added variant
+       to stop signal emissions through a detailed_signal string.
+
+       * gsignal.c (signal_emit_R) (g_signal_emit_valist): account for
+       the fact that g_value_* functions may cause signal emissons by
+       unlocking the global signal system lock around g_value_* functions.
+       (signal_emit_unlocked_R): renamed this from signal_emit_R() to reflect
+       that this functions acquires the lock on its own now.
+
+2001-05-24  Hans Breuer  <hans@breuer.org>
+
+       * makefile.msc.in : changed depndencies to build glib-genmarshal
+       first and statically linked with glib, which makes it independent
+       from the installed glib version. Added new object files to build.
+
+       * gobject.def : updated
+
+Thu May 24 08:52:02 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gobject.[ch] (g_value_set_object): gpointer, not
+       gpointer *.
+
+2001-05-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * Makefile.am (bin_SCRIPTS): made 'make distcheck' happy.
+
+       * gobject.def: Removed g_param_spec_stringc.
+
+Tue May 22 02:46:13 2001  Tim Janik  <timj@gtk.org>
+
+       * gobject.c (g_value_set_object): make g_value_set_object()
+       take a gpointer v_object so people don't need to G_OBJECT()
+       cast NULL pointers (C code convenience).
+
+Mon May 14 01:49:01 2001  Tim Janik  <timj@gtk.org>
+
+       * gsignal.[hc] (g_signal_handler_is_connected): new function
+       to check whether a handler is still connected to an instance
+       (by handler id).
+
+Thu May 10 14:00:48 2001  Tim Janik  <timj@gtk.org>
+
+       * gparamspecs.[hc]: removed g_param_spec_stringc() in lack of
+       evidence of public need.
+
+       * gsignal.h: added g_signal_disconnect_by_func(),
+       g_signal_block_by_func() and g_signal_unblock_by_func() convenience
+       macros as per owen's request.
+
+       * gtype.c (SIZEOF_FUNDAMENTAL_INFO): align sizeof (GTypeFundamentalInfo)
+       to size of longs and pointers.
+
+2001-05-05  James Henstridge  <james@daa.com.au>
+
+       * Makefile.am: glib-mkenums is not a compiled program, so shouldn't
+       be in the bin_PROGRAMS primary.  Put it in bin_SCRIPTS instead, and
+       removed the glib_mkenums_SOURCES var.
+
+Thu May  3 06:10:23 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gobject.c (g_object_set_[q]data_full): Make types of ternary
+       operator correspond. (Fixes compilation errors with Sun CC,
+       #52230)
+
+Mon Apr 30 20:03:56 2001  Tim Janik  <timj@gtk.org>
+
+       * glib-mkenums (usage): removed \v escaping, newer perl versions don't
+       support this, and it'S probably useless anyways.
+
+Sat Apr 28 23:39:42 2001  Tim Janik  <timj@gtk.org>
+
+       * gsignal.[hc]: made signal handler and emission hook ids gulongs.
+       (signal_handlers_foreach_matched_R): only invoke callback for handlers
+       that are not disconnected (id>0).
+       (signal_emit_R): prevent invocation of signal handlers during the
+       emission they were connected within.
+       
+       * glib-mkenums: publically installed perl-script to parse C code
+       enums and generate descriptions thereof.
+       * glib-mkenums.1: assorted man page.
+       
+2001-04-19  Havoc Pennington  <hp@redhat.com>
+
+       * gobject.c (g_object_get_valist): We were returning junk memory
+       here, because we didn't copy the value (G_VALUE_NOCOPY_CONTENTS
+       passed to G_VALUE_LCOPY) and then we freed the GValue immediately
+       after. Removed G_VALUE_NOCOPY_CONTENTS from here; need a
+       G_VALUE_STEAL_CONTENTS or the like if we want this optimization.
+
+Wed Apr 18 09:46:56 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gobject.c gsignal.c: Change C++ comments for FIXME's to
+       C comments. (Patch from Andres Salomon)
+
+2001-04-14  Hans Breuer  <hans@breuer.org>
+
+       * gobject.def : updated
+
+Mon Apr  9 18:56:15 2001  Tim Janik  <timj@gtk.org>
+
+       * gclosure.c (g_closure_invoke): only require marshal/meta_marshal if
+       we're valid (about to actually do marshalling).
+
+Tue Apr  3 20:23:24 2001  Tim Janik  <timj@gtk.org>
+
+       * NEWS: updates.
+
+Tue Apr  3 14:06:00 2001  Tim Janik  <timj@gtk.org>
+
+       * gparam.[hc]: added g_param_spec_pool_list() to list pspecs per
+       owner_type. the pspecs are not referenced, so the caller is
+       supposed to have some idea about owner_type not randomly
+       nuking his pspec's. if this is going to provide problems in
+       the future, we can either auto-ref the pspecs, or add a
+       _foreach variant, though the latter would have to invoke
+       the callback while pspec's mutex is acquired, so i just
+       went for the _list variant for now.
+
+       * gclosure.h (G_CALLBACK): made GCallback a void (*) (void) fucntion.
+
+Sat Mar 31 23:55:58 2001  Tim Janik  <timj@gtk.org>
+
+       * gtype.h:
+       * gparamspecs.[hc]: applied patch from owen to implement
+       GParamSpecUnichar.
+
+Fri Mar 30 07:34:02 2001  Tim Janik  <timj@gtk.org>
+
+       * gtype.c (type_iface_retrive_holder_info_Wm): 
+       * gtypeplugin.c (g_type_plugin_complete_interface_info): 
+       * gtypemodule.c (g_type_module_complete_interface_info): 
+       change order of instance_type and interface_type so they match
+       the g_type_add_interface_*() API.
+
+       * gsignal.c (g_signal_emit_valist): always assign C return value
+       location, people depending on unaltered return values after emissions
+       that had no handlers to run need to use g_signal_emitv().
+
+       * gtype.[hc] (g_type_query): new function to allow querying of
+       class and object size (semantics like g_signal_query()).
+       currently the implementation is better held conservative so as to
+       only support types that are classed and static.
+
+2001-03-29  Tor Lillqvist  <tml@iki.fi>
+
+       * gobject.def: Updates.
+
+Wed Mar 28 17:04:06 2001  Tim Janik  <timj@gtk.org>
+
+       * gobject.c (object_queue_property): only queue readable properties
+       for notification changes.
+
+Thu Mar 22 13:36:50 2001  Tim Janik  <timj@gtk.org>
+
+       * gsignal.c (g_signal_newv): catch G_SIGNAL_RUN_FIRST with a return value.
+
+2001-03-21  Martin Baulig  <baulig@suse.de>
+
+       * gboxed.[ch] (g_value_dup_boxed): This takes a `const GValue *'
+       argument.
+
+2001-03-18  Tor Lillqvist  <tml@iki.fi>
+
+       * gobject.def: Correct some renamed functions.
+
 Sat Mar 17 23:18:36 2001  Tim Janik  <timj@gtk.org>
 
        * gobject.c (g_object_get_property): minor bug-fix.