X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gobject%2FChangeLog;h=11dc5442d14207def5406b3cf2579dc75b430c20;hb=e767aa0a4fad23c766b3bf16a079e8e7c5b4c448;hp=aa74a231011de35e15743a760dea3515e6441611;hpb=f3ec41e8d22b5fa99b93ea753acb0de873732e94;p=platform%2Fupstream%2Fglib.git diff --git a/gobject/ChangeLog b/gobject/ChangeLog index aa74a23..11dc544 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,8 +1,799 @@ +Mon Nov 19 14:35:56 2001 Owen Taylor + + * *.h: Improve the detection of invalid includes by moving + the test outside the duplicate include guards. + + * gsourceclosure.c (g_source_set_closure): Doc fix. + +Thu Nov 22 03:30:57 2001 Tim Janik + + * gvalue.h (G_TYPE_IS_VALUE): use g_type_check_is_value_type() + instead of g_type_value_table_peek(). + + * gtype.[hc] (type_check_is_value_type_U): speed up check + LOCK-less by caching lookups in node->mutatable_has_value_table. + + * gtype.[hc]: removed locks where possible. partly based on + patches from owen and alex. + +Thu Nov 22 00:26:26 2001 Tim Janik + + * gtype.[hc]: provide G_TYPE_FUNDAMENTAL_SHIFT and + g_type_fundamental_next() to return next usable fundamental + type. use TypeNode pointers as type IDs. + +2001-11-22 Tor Lillqvist + + * makefile.mingw.in (DEFINES): Set G_LOG_DOMAIN as in Makefile.am. + + * gparamspecs.h (GOBJECT_VAR): Can't use GLIB_VAR here, as that + makes sense only when building libglib. GOBJECT_VAR is similar for + libgobject. + + * gobject.def: Add g_param_spec_types, remove + g_type_fundamental_branch_last. + +Wed Nov 21 17:23:33 2001 Tim Janik + + * gparamspecs.[hc]: put newly created param spec types into a + global array. + + * gboxed.[hc]: moved boxed types with _get_type() function here, + for: G_TYPE_CLOSURE, G_TYPE_VALUE, G_TYPE_VALUE_ARRAY, + G_TYPE_GSTRING. + + * gtype.h: removed fundamental branch APIs and derived enum + values. define GType as gsize. + +2001-11-19 jacob berkman + + * gobjectnotifyqueue.c: include glib-object.h rather than + gobject/gobject.h + +2001-11-16 Mark McLoughlin + + * glib-mkenums.in: allow the enums name to not be on the same + line as the trailing '}'. (#64714) + +2001-11-18 Hans Breuer + + * makefile.msc.in : remove g_log_domain_gruntime usage + +Sat Nov 17 18:14:40 2001 Owen Taylor + + * glib-genmarshal.c: Exit with non-zero exit status if + any errors were encountered. + + * glib-genmarshal.c: Instead of generating gobject/gmarshal.h + #include only for the header, generate glib-object.h + #include for both the header and body. (#63834) + + * glib-genmarshal.c: Generate include guards around the + content unless --nostdinc is specified. + +2001-11-17 Tor Lillqvist + + * gobject.def: Add g_pointer_type_register_static. + +2001-11-15 Tor Lillqvist + + * gobject.def: Reflect recent changes. + +Tue Nov 13 23:18:10 2001 Tim Janik + + * gsignal.[hc]: add API for chaining: + g_signal_chain_from_overridden() and g_signal_override_class_closure(), + implementation yet to come. + + * gtype.[hc], Makefile.am: provide G_LOG_DOMAIN as compile flag. + + * gparam.[hc]: s/g_param_get/g_param_spec_get/ for get_nick, + get_name and get_blurb, to be consistent with the rest of the + g_param_spec_*() functions. + + * gparamspecs.[hc]: got rid of bogus GClosure paramspec. + G_TYPE_CLOSURE is a boxed type already. + +Tue Nov 13 22:16:41 2001 Tim Janik + + * gtype.[hc]: API cleanups. + remove g_type_check_flags(), provide g_type_test_flags() as + a *private* function. + s/g_type_check_is_a/g_type_check_class_is_a/, private function. + s/g_type_instance_is_a/g_type_check_instance_is_a/, also private. + +Tue Nov 13 20:02:47 2001 Tim Janik + + * gparam.h: fix standard type macros. + +Wed Nov 7 00:56:00 2001 Tim Janik + + * gclosure.h: provide G_CLOSURE_N_NOTIFIERS() for people that need + to walk the notifier list (puhh, black magic, stay-away-warning ;). + +Mon Nov 5 18:59:08 2001 Tim Janik + + * gobject.h: + * gsignal.h: we need signal.h for G_BREAKPOINT(). + +Sun Nov 4 14:01:23 2001 Owen Taylor + + * gvaluetypes.[ch]: Add a function g_pointer_type_register_static() + to register a type derived from G_TYPE_POINTER. + +2001-11-03 Hans Breuer + + * makefile.msc.in : gobject-query needs gmarshal.[hc,stings] + so build it after them. Add gsourceclosure.obj. + + * gobject.def : removed duplicates, added mising + +Mon Oct 29 11:05:15 2001 Owen Taylor + + * glib-mkenums.in: Generate glib-mkenums from glib-mkenums.in, + substituting in path to perl. (#63093, Dan Winship) + + * Makefile.am (bin_SCRIPTS): Remove hack to copy glib-mkenums + from srcdir. + +2001-10-26 Tor Lillqvist + + * makefile.mingw.in: When running glib-genmarshal, set PATH to + include ../glib. + +2001-10-23 Tor Lillqvist + + * Makefile.am: (Win32): If we have built the MSVC import library, + install it. Install the gcc import library. Also support + uninstall. + +2001-10-13 Matthias Clasen + + * glib-genmarshal.1, glib-mkenums.1: Typo fixes. + +Fri Oct 12 18:40:18 2001 Tim Janik + + * cosmetic fixups. + +Wed Oct 10 17:25:22 2001 Joshua N Pritikin + + * glib-genmarshal.c gparamspecs.[ch] gtype.[ch] gvalue.h + gvaluecollector.h gvaluetypes.[ch]: Fill in missing support for + gint64 & guint64 (#59254). + + * Unconditionalize same (compile with or without G_HAVE_INT64). + +Wed Oct 10 15:38:58 2001 Joshua N Pritikin + + * gparamspecs.h (G_IS_PARAM_SPEC_FLAGS): Fix order of + *_PARAM_SPEC_ULONG defines. + +Thu Oct 4 01:10:52 2001 Owen Taylor + + * gparamspecs.h: Add missing G_HAVE_GINT64 conditionalization. + +Wed Oct 3 16:02:24 2001 Owen Taylor + + * glib-genmarshal.c gparamspecs.[ch] gvalue.h + gobject/gvaluetypes.[ch]: Add support for G_TYPE_INT64 + and storing it in GValue (Patch from Mathieu Lacage, #59254.) + +2001-10-03 jacob berkman + + * gtype.c (type_iface_retrieve_holder_info_Wm): + (type_iface_vtable_init_Wm): + (type_iface_vtable_finalize_Wm): + (g_type_class_ref): + + * gobject.c (g_object_get_property): s/retrive/retrieve/ + +2001-09-25 Tor Lillqvist + + * Makefile.am: Use new macros for .def file, and check for + MS_LIB_AVAILABLE, new rule to build MS import library. + + * makefile.msc.in: Use same DLL and import library names as + libtool. + +2001-09-21 Hans Breuer + + * gobject.def : updated externals + +2001-09-19 Tor Lillqvist + + * gobject.rc.in: Correct InternalName and OriginalFilename to + match what we actually produce. + +Tue Sep 18 23:09:02 2001 Tim Janik + + * gparam.[hc]: rename *nick and *blurb fields to catch + direct accesses in third party code. + provide g_param_get_nick(), g_param_get_blurb() and + g_param_get_name() accessors. + +Mon Sep 10 20:31:37 2001 Tim Janik + + * gobject.[hc]: removed extraneous GObject* returns from a + couple functions that are very unlikely to be used in nested. + changed gpointer->GObject* for a couple return values/arguments. + this fixes #50206. + +Mon Sep 10 19:27:47 2001 Tim Janik + + * gtype.[hc]: + g_type_add_interface*(): implement the ability to add an interface to + a type whose parents already conform to this interface. + such "overriding" interfaces, when initialized, are not just initialized + with 0, but with a copy of the interface they override. + g_type_interface_peek_parent(): new function, return the interface + that this interface "overrides", if any. + + * testgruntime.c: test new interface stuff. + +2001-09-10 Alex Larsson + + * gobject/gboxed.[ch]: + * gobject/gsourceclosure.c: + Removed is_refcounted and GBoxedInitFunc from + g_boxed_type_register_static(). + +Sat Sep 8 14:13:57 2001 Owen Taylor + + * gobject/Makefile.am: Move gbsearcharray.[ch] to glib + as a private ininstalled header. + +Tue Sep 4 22:24:48 2001 Matthias Clasen + + * gobject.c (g_object_base_class_finalize): typo fix. + +Tue Sep 4 01:49:18 2001 Tim Janik + + * gsourceclosure.c: make closure_callback_funcs static, + added some g_return_if_fail() statements. + +Mon Aug 27 14:55:27 2001 Owen Taylor + + * gsourceclosure.[ch] (g_source_set_closure): Implement. + + * gsourceclosure.[ch]: Add GType's for GIOChannel, GIOCondition. + +2001-08-17 James Henstridge + + * gobject.c (WeakRefStack): add an object member to the structure. + (weak_refs_notify): pass wstack->object as extra argument to + notify functions. + (g_object_weak_ref): set wstack->object when initialising + WeakRefStack. + + * gobject.h (GWeakNotify): add second argument to prototype which + gives the pointer to where the object that is being disposed of + was. + +Wed Jul 18 19:42:31 2001 Tim Janik + + * gtype.h: if __GNUC__ is defined, inline a test for an exact type + match for instances and classes in G_TYPE_CHECK_INSTANCE_TYPE() and + G_TYPE_CHECK_CLASS_TYPE() before calling g_type_instance_is_a(). + +Sun Aug 12 02:07:10 2001 Tim Janik + + * gvaluearray.[hc]: fix preallocation logic, support DISABLE_MEM_POOLS + properly, group value allocations. + (g_value_array_new): fix semantic of n_prealloced argument, so it's + really just about preallocation space. + +2001-07-23 Padraig O'Briain + + * gobject/gobjectnotifyqueue.c: fix unconditional check of + first GParamSpec in g_object_notify_queue_thaw(); to prevent + property notification being lost. + +2001-08-06 Sven Neumann + + * gobject.[ch]: + added new functions g_object_[add|remove]_weak_pointer(). + +2001-08-01 Sven Neumann + + * gsignal.h: added convenience macro g_signal_connect_after(). + +2001-07-29 Hans Breuer + + * gobject.def : updated externals + +2001-07-20 Hans Breuer + + * gobject.def : updated externals + + * makefile.msc.in : reflect glib move + +Tue Jul 10 18:50:16 2001 Tim Janik + + * gsignal.h (struct _GSignalQuery): fix misplaced comment. + +Mon Jul 2 07:17:47 2001 Tim Janik + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * gobject.def : updated externals + + * gobjectnotifyqueue.c : include for memset () + +Thu Jun 21 02:43:10 2001 Tim Janik + + * gparamspecs.h: s/long/int/ for default_value in enum and flags + pspecs. + +Wed Jun 20 03:59:42 2001 Tim Janik + + * gtype.[hc]: added debugging variants g_type_name_from_class(), + g_type_name_from_instance(). + +Mon Jun 11 17:07:06 2001 Tim Janik + + * 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 + + * 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 + + * 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 + + * gobject-query.c: Fix mispelling in help output. + (#53952, Skip Montanaro) + +2001-05-28 Sebastian Wilhelmi + + * 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 + + * 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 + + * 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 + + * 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 + + * gobject.[ch] (g_value_set_object): gpointer, not + gpointer *. + +2001-05-22 Sebastian Wilhelmi + + * Makefile.am (bin_SCRIPTS): made 'make distcheck' happy. + + * gobject.def: Removed g_param_spec_stringc. + +Tue May 22 02:46:13 2001 Tim Janik + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * gobject.c gsignal.c: Change C++ comments for FIXME's to + C comments. (Patch from Andres Salomon) + +2001-04-14 Hans Breuer + + * gobject.def : updated + +Mon Apr 9 18:56:15 2001 Tim Janik + + * 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 + + * NEWS: updates. + +Tue Apr 3 14:06:00 2001 Tim Janik + + * 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 + + * gtype.h: + * gparamspecs.[hc]: applied patch from owen to implement + GParamSpecUnichar. + +Fri Mar 30 07:34:02 2001 Tim Janik + + * 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 + + * gobject.def: Updates. + +Wed Mar 28 17:04:06 2001 Tim Janik + + * gobject.c (object_queue_property): only queue readable properties + for notification changes. + +Thu Mar 22 13:36:50 2001 Tim Janik + + * gsignal.c (g_signal_newv): catch G_SIGNAL_RUN_FIRST with a return value. + +2001-03-21 Martin Baulig + + * gboxed.[ch] (g_value_dup_boxed): This takes a `const GValue *' + argument. + +2001-03-18 Tor Lillqvist + + * gobject.def: Correct some renamed functions. + +Sat Mar 17 23:18:36 2001 Tim Janik + + * gobject.c (g_object_get_property): minor bug-fix. + + * gbsearcharray.[hc]: provide a macro for static initialization and + functions g_bsearch_array_new() and g_bsearch_array_destroy() for + dynamic allocations. + + * gboxed.c: introduce G_TYPE_GSTRING, boxed type for GString. + + * gclosure.[hc]: naming corrections. + +Fri Mar 9 16:42:08 2001 Tim Janik + + * gvaluetypes.[hc]: moved g_strdup_value_contents() into this file as + a public function (was static in gobject.c before). it's a bit odd + to have that function here, especially since it requires extra includes, + but then it doesn't very well fit somewhere else either. + + * gparamspecs.c: added default/max/min checks to param spec creation + functions. + +2001-03-10 Tor Lillqvist + + * gobject.def: Add a couple of missing entries. + + * Makefile.am (libgobject_1_3_la_LIBADD): Use only on Win32. + +Fri Mar 9 14:57:17 2001 Tim Janik + + * testgruntime.c: test program. covers run first/last/cleanup signal + handlers, return value accumulator, signal string returns, and + interface types in signal arguments. + + * gtype.c (g_type_value_table_peek): for interface types without + value table, try looking up a value table from an instantiatable + prerequisite type (this is safe as an interface may only have + one instantiatable prerequisiste). + (type_check_is_value_type_U): same here. + + * gsignal.c (g_signal_newv): assert that return types never have + G_SIGNAL_TYPE_STATIC_SCOPE set. + (g_signal_newc): only create class closure if the class_offset is not + 0. + +Fri Mar 9 10:14:00 2001 Tim Janik + + * gparamspecs.c (g_param_spec_object): use g_type_is_a() to check + for object_type being a G_TYPE_OBJECT, not G_TYPE_IS_OBJECT(), since + that wouldn't allow interface types. + + * gtype.c (g_type_interface_add_prerequisite): arg, fixed small cnp bug + with bad implications and an off-by-one error. + +Thu Mar 8 16:34:22 2001 Owen Taylor + + * gvaluetransform.c: Include for memcpy. + + * gvaluetransform.c (DEFINE_SPRINTF): Remove unnecessary + and ANSI-illegal ## token pasting. + +Thu Mar 8 18:11:52 2001 Tim Janik + + * gsignal.c: eek, fixed old hook detail storage code. + +Thu Mar 8 16:35:48 2001 Tim Janik + + * gparamspecs.[hc]: s/g_param_spec_string_c/g_param_spec_stringc/. + + * gsignal.[hc]: fixed accumulator invocation, implemented emission + hooks. and no, neither of these callbacks are called via a closure, + language bindings can wrap the accumulator and emission hook + interface, they already get parameters marshalled into a GValue array. + (g_signal_connect): removed this function as its C specific, doesn't + cover the swapped argument, is too close to its broken original + gtk_signal_connect() and creates demand for _swapped, _after and + _swapped_after variants . + (g_signal_connectc): convenience macro to connect a C handler + func with data, like the old g_signal_connect() plus swapped + argument. + + * gtype.h: + * gboxed.c: added G_TYPE_VALUE boxed type. + +Wed Mar 7 19:02:51 2001 Tim Janik + + * gtype.c (type_node_add_iface_entry_W): catch when adding an interface + to an ancestor of a child that already conforms to this interface. + currently we spew a warning here, should we be silent? + (g_type_interface_add_prerequisite): new function to add a prerequisite + type to an interface, that must succeed an instance is_a prerequisite + type check before the interface can be added to an instance. the + prerequisite types are also suuported in is_a checks of the interface. + (g_type_instance_is_a): + (g_type_check_instance_cast): + (g_type_check_instance): cleanups and optimizations. + (g_type_class_is_a): + (g_type_check_class_cast): same, also prevented these from accepting + interface types, as class structures don't nest interfaces. + +2001-03-07 Sebastian Wilhelmi + + * Makefile.am: Avoid rebuilding everything everytime. + +Wed Mar 7 09:36:33 2001 Tim Janik + + * gboxed.[hc]: changed prototype of g_boxed_type_register_static() + to contain an optional init function and a hint at whether the + boxed structure uses ref counting internally. + added g_value_set_boxed_take_ownership(). + made G_TYPE_BOXED an abstract value type. + + * genums.[hc]: made G_TYPE_ENUM and G_TYPE_FLAGS abstract value + types. + + * glib-genmarshal.c: argument type changes, preparation for third-party + arg specification. + + * gobject.[hc]: cleaned up get/set property code. + added g_strdup_value_contents() to improve warnings. + + * gparam.[hc]: added g_param_value_convert(), taking over responsibility + of the old g_value_convert(). added G_PARAM_LAX_VALIDATION flag so + validation alterations may be valid a part of the property setting + process. + + * gparamspecs.[hc]: made value comparisons stable (for sort applications). + added GParamSpecValueArray, a param spec for value arrays and + GParamSpecClosure. nuked the value exchange functions and + GParamSpecCCallback. + + * gtype.[hc]: catch unintialized usages of the type system with + g_return_val_if_uninitialized(). introduced G_TYPE_FLAG_VALUE_ABSTRACT + to flag types that introduce a value table, but can't be used for + g_value_init(). cleaned up reserved type ids. + + * gvalue.[hc]: code cleanups and saner checking. + nuked the value exchange API. implemented value transformations, we + can't really "convert" values, rather transforms are an anylogy to + C casts, real conversions need a param spec for validation, which is + why g_param_value_convert() does real conversions now. + + * gvaluearray.[hc]: new files that implement a GValueArray, a struct + that can hold inhomogeneous arrays of value (to that extend that it + also allowes undefined values, i.e. G_VALUE_TYPE(value)==0). + this is exposed to the type system as a boxed type. + + * gvaluetransform.c: new file implementing most of the former value + exchange functions as single-sided transformations. + + * gvaluetypes.[hc]: nuked G_TYPE_CCALLBACK, added + g_value_set_string_take_ownership(). + + * *.h: s/G_IS_VALUE_/G_VALUE_HOLDS_/. + + * *.[hc]: many fixes and cleanups. + + * many warning improvements. + +Tue Feb 27 18:35:15 2001 Tim Janik + + * gobject.c (g_object_get_valist): urg, pass G_VALUE_NOCOPY_CONTENTS + into G_VALUE_LCOPY(), this needs proper documenting. + + * gparam.c: fixed G_PARAM_USER_MASK. + + * gtype.c (type_data_make_W): + (type_data_last_unref_Wm): fixed invalid memory freeing. + + * gobject.c (g_object_last_unref): destroy signal handlers associated + with object, right before finalization. + + * gsignal.c (g_signal_parse_name): catch destroyed nodes or signals + that don't actually support details. + + * gobject.[hc]: got rid of property trailers. nuked GObject + properties "data" and the "signal" variants. + (g_object_connect): new convenience function to do multiple + signal connections at once. + (g_object_disconnect): likewise, for disconnections. + + * gparam.[hc] (g_param_spec_pool_lookup): took out trailer support. + + * gvalue.[hc]: marked g_value_fits_pointer() and g_value_peek_pointer() + as private (the latter got renamed from g_value_get_as_pointer()). + +2001-02-21 Tor Lillqvist + + * *.h: Use G_BEGIN_DECLS and G_END_DECLS. + + * Makefile.am: Use libglib-1.3.la from top_builddir. Invoke + libtool with -no-undefined for Win32 and Cygwin. + Wed Feb 21 18:31:46 2001 Jonathan Blandford * gsignal.h (g_signal_connect): Add g_signal_connect define to make porting from gtk_signal_connect easy. + * gsignal.c (g_signal_emit_valist): Use G_TYPE_FROM_INSTANCE + (instance) instead of node->itype when initting the value. + 2001-02-17 Havoc Pennington Applied patch from Soeren Sandmann: