History log of /external/bluetooth/glib/gobject/gboxed.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a5fd60a8ac9f19c150c45a2e1a050d65e8745423 18-Jan-2009 Matthias Clasen <matthiasc@src.gnome.org> Define an ENABLE_REGEX macro

* configure.in: Define an ENABLE_REGEX macro

* gobject/gboxed.c: Don't refer to g_regex_ref if ENABLE_REGEX
is not defined.


svn path=/trunk/; revision=7815
/external/bluetooth/glib/gobject/gboxed.c
d6d221911d8a8515bf91c9d0721025669717d6f8 02-Jul-2008 Matthias Clasen <matthiasc@src.gnome.org> Fix up section comments

svn path=/trunk/; revision=7137
/external/bluetooth/glib/gobject/gboxed.c
6347be5fb68fc3e5e9d5bfedc3cbd5349ef40074 22-Jun-2008 Michael Natterer <mitch@imendio.com> remove trailing whitespace from newly added gtk-doc comments and

2008-06-22 Michael Natterer <mitch@imendio.com>

* *.c: remove trailing whitespace from newly added gtk-doc
comments and reformatted some where they contained overly long or
ill-formatted lines.


svn path=/trunk/; revision=7090
/external/bluetooth/glib/gobject/gboxed.c
5602b7e275ef5fb76cf7847f35b120dce3111705 22-Jun-2008 Michael Natterer <mitch@imendio.com> moved includes back to the top of the files (before gtk-doc SECTION

2008-06-22 Michael Natterer <mitch@imendio.com>

* *.c: moved includes back to the top of the files (before gtk-doc
SECTION comments). Add "config.h" in all files and move system
included before glib includes. Remove trailing whitespace from
SECTION comments and did some reformatting where lines were overly
long, no documentation content was changed.


svn path=/trunk/; revision=7089
/external/bluetooth/glib/gobject/gboxed.c
fca3fb58185ebec71040a4fc88689010e8cd8557 22-Jun-2008 Stefan Kost <stefkost@src.gnome.org> Migrating docs.

* docs/reference/gobject/tmpl/param_value_types.sgml:
* gobject/gboxed.c:
* gobject/gboxed.h:
* gobject/genums.c:
* gobject/genums.h:
* gobject/gobject.c:
* gobject/gobject.h:
* gobject/gparam.c:
* gobject/gparam.h:
* gobject/gparamspecs.c:
* gobject/gparamspecs.h:
* gobject/gvaluetypes.c:
* gobject/gvaluetypes.h:
Migrating docs.


svn path=/trunk/; revision=7081
/external/bluetooth/glib/gobject/gboxed.c
bce5ebd421cba702f51dc689adf5a2bd9771be96 21-Jun-2008 Stefan Kost <stefkost@src.gnome.org> Add titles back from tmpl.

* gobject/gboxed.c:
* gobject/gclosure.c:
* gobject/genums.c:
* gobject/gparam.c:
* gobject/gvalue.c:
Add titles back from tmpl.


svn path=/trunk/; revision=7076
/external/bluetooth/glib/gobject/gboxed.c
d5f1c71fdefbc13aec233cdd6d29d37d52cc927e 21-Jun-2008 Stefan Kost <stefkost@src.gnome.org> Use file-names from the section file for SECTION: comments.

* gobject/gboxed.c:
* gobject/gclosure.c:
* gobject/genums.c:
* gobject/gvalue.c:
Use file-names from the section file for SECTION: comments.


svn path=/trunk/; revision=7072
/external/bluetooth/glib/gobject/gboxed.c
86a0f779f68f31452d3293bfddcbe8fd249ab5ab 21-Jun-2008 Stefan Kost <stefkost@src.gnome.org> Migrating docs.

* docs/reference/gobject/tmpl/gboxed.sgml:
* gobject/gboxed.c:
* gobject/gboxed.h:
* gobject/gvaluetypes.c:
Migrating docs.


svn path=/trunk/; revision=7065
/external/bluetooth/glib/gobject/gboxed.c
49f802b83e1f1c6b563b430f98e8adfe92902ecc 15-Jun-2007 Cody Russell <bratsche@gnome.org> Added GRegex boxed type. (#445065, Carlos Garnacho)

2007-06-15 Cody Russell <bratsche@gnome.org>

* docs/reference/gobject/tmpl/gboxed.sgml:
* docs/reference/gobject/gobject-sections.txt:
* glib/gregex.c:
* gobject/gboxed.[ch]:
* gobject/gobject.symbols: Added GRegex boxed type.
(#445065, Carlos Garnacho)


svn path=/trunk/; revision=5566
/external/bluetooth/glib/gobject/gboxed.c
02b62d08cc24556b6b86f36f05319621e576ba40 23-Nov-2005 Tim Janik <timj@gtk.org> minor cleanups, implemented G_TYPE_HASH_TABLE.

Wed Nov 23 13:36:02 2005 Tim Janik <timj@gtk.org>

* gboxed.[hc]: minor cleanups, implemented G_TYPE_HASH_TABLE.
/external/bluetooth/glib/gobject/gboxed.c
63b1b0c1875ac931462351d43dd1084e6c110d04 31-Aug-2005 Matthias Clasen <matthiasc@src.gnome.org> More string interning
/external/bluetooth/glib/gobject/gboxed.c
07c4d80d55c6b818c3cc4a9535015b0d235b1776 31-Aug-2005 Matthias Clasen <mclasen@redhat.com> Intern type names before registering the type to avoid unnecessary copies.

2005-08-31 Matthias Clasen <mclasen@redhat.com>

* gvaluetypes.c (g_value_types_init):
* gtypeplugin.c (g_type_plugin_get_type):
* gtypemodule.c (g_type_module_get_type):
* gparam.c (g_param_type_init):
* gobject.c (g_object_type_init):
* genums.c (g_enum_types_init):
* gboxed.c (g_boxed_type_init): Intern type names
before registering the type to avoid unnecessary
copies.
/external/bluetooth/glib/gobject/gboxed.c
a82bcb31075d976ebc505d84481cba10e2dec249 29-Apr-2005 Matthias Clasen <mclasen@redhat.com> Add a boxed type for GDate. (#301787, Tim-Philipp Müller)

2005-04-29 Matthias Clasen <mclasen@redhat.com>

* gobject.symbols:
* gboxed.h (G_TYPE_DATE):
* gboxed.c: Add a boxed type for GDate. (#301787, Tim-Philipp
Müller)
/external/bluetooth/glib/gobject/gboxed.c
3448a27829133bebb3bf1e29a30574304c899040 14-Mar-2005 Matthias Clasen <mclasen@redhat.com> Make work again.

2005-03-14 Matthias Clasen <mclasen@redhat.com>

* abicheck.sh: Make work again.

* gsourceclosure.c: Fix a typo.

Make PLT-reduction work with gcc4, and don't include
everything in gobjectalias.h:

* gobject.symbols: Group symbols by header and source
file.
* makegobjectalias.pl: Protect definitions by the same
preprocessor symbols used to guard the headers. Move
the alias declarations to a separate file which is
produced when calling makegalias.pl -def
* Makefile.am (gobjectaliasdef.c): Add a rule to
build this file.
* *.c: Include gobjectalias.h after the other i
GLib headers, include gobjectaliasdef.c at the bottom.
/external/bluetooth/glib/gobject/gboxed.c
465c7d1ead296b70b8d47ca333554a18f71da11d 16-Sep-2004 Matthias Clasen <mclasen@redhat.com> Implement the same PLT reduction technique used in GTK+:

2004-09-16 Matthias Clasen <mclasen@redhat.com>

Implement the same PLT reduction technique used in GTK+:

* Makefile.am: Generate gobjectalias.h from gobject.symbols.
(BUILT_SOURCES): Add gobjectalias.h.

* makegobjectalias.pl: Script to generate gobjectalias.h.

* *.c: Include gobjectalias.h
/external/bluetooth/glib/gobject/gboxed.c
b4f769efafc9fa1ad3862e2516ee534c7d159455 09-Jan-2004 Matthias Clasen <maclas@gmx.de> Add a boxed type for nul-terminated string arrays. (#110528)

Fri Jan 9 23:41:00 2004 Matthias Clasen <maclas@gmx.de>

* gboxed.h:
* gboxed.c (g_strv_get_type): Add a boxed type for nul-terminated
string arrays. (#110528)
/external/bluetooth/glib/gobject/gboxed.c
c3acb9da0c9dfff02b129258b9a8dc667514599c 12-Sep-2003 Matthias Clasen <maclas@gmx.de> Make the g_value_set_x_take_ownership() functions "official" part of the

2003-09-12 Matthias Clasen <maclas@gmx.de>

Make the g_value_set_x_take_ownership() functions "official"
part of the API (#100948):

* gvaluetypes.[hc]: Add g_value_take_string() (synonym to the
now deprecated g_value_set_string_take_ownership()).

* gparam.[hc]: Add g_value_take_param() (synonym to the
now deprecated g_value_set_param_take_ownership()).

* gobject.[hc]: Add g_value_take_object() (synonym to the
now deprecated g_value_set_object_take_ownership()).

* gboxed.[hc]: Add g_value_take_boxed() (synonym to the
now deprecated g_value_set_boxed_take_ownership()).

* gobject/gobject-sections.txt: Add new g_value_take_x() functions.

* gobject/tmpl/param_value_types.sgml: Document new g_value_take_x()
functions. (#100948)
/external/bluetooth/glib/gobject/gboxed.c
6d6e68f3e4d0387571039ef14685e5bb595c34a9 19-Aug-2003 Tim Janik <timj@gtk.org> adapt to new gbsearcharray.h code. (g_value_register_transform_func): turn

Tue Aug 19 04:08:14 2003 Tim Janik <timj@gtk.org>

* gvalue.c: adapt to new gbsearcharray.h code.
(g_value_register_transform_func): turn transform function
replacement into a valid operation.

* gsignal.c: adapt to new gbsearcharray.h code.

* gboxed.c: adapt to new gbsearcharray.h code.
/external/bluetooth/glib/gobject/gboxed.c
d56989f3f2fbf32529df684d1f899271d83d1fa2 09-Feb-2003 Soeren Sandmann <sandmann@daimi.au.dk> remove lookup of unused BoxedNode.

Sun Feb 9 13:44:01 2003 Soeren Sandmann <sandmann@daimi.au.dk>

* gboxed.c (boxed_proxy_value_init): remove lookup of unused
BoxedNode.
/external/bluetooth/glib/gobject/gboxed.c
26a67305472e9476f2ba41ce5f0cc4951b99b572 06-May-2002 Owen Taylor <otaylor@redhat.com> [ merged from stable ]

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)
/external/bluetooth/glib/gobject/gboxed.c
a0f5e304b2e7e54d8018e2505179e901c25a522d 19-Feb-2002 Tim Janik <timj@gtk.org> provide marshaller specific value_set_*_take_ownership() variants.

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.
/external/bluetooth/glib/gobject/gboxed.c
a05a4b766073561baea10ba697fc7042c308719c 13-Dec-2001 Tim Janik <timj@gtk.org> implemented closure chaining.

Thu Dec 13 08:03:17 2001 Tim Janik <timj@gtk.org>

* gsignal.c: implemented closure chaining.
/external/bluetooth/glib/gobject/gboxed.c
860905c445db25e6b1b6ccb3df555f0c1ada48b5 21-Nov-2001 Tim Janik <timj@gtk.org> put newly created param spec types into a global array.

Wed Nov 21 17:23:33 2001 Tim Janik <timj@gtk.org>

* 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.
/external/bluetooth/glib/gobject/gboxed.c
ae2c2ca6c3d8b60c1266963c5722e93d9c36b889 10-Sep-2001 Alex Larsson <alexl@redhat.com> Removed is_refcounted and GBoxedInitFunc from

2001-09-10 Alex Larsson <alexl@redhat.com>

* gobject/gboxed.[ch]:
* gobject/gsourceclosure.c:
Removed is_refcounted and GBoxedInitFunc from
g_boxed_type_register_static().
/external/bluetooth/glib/gobject/gboxed.c
3b346e3581a07188435ba1623f17b8b46ade1030 19-Jun-2001 Tim Janik <timj@gtk.org> remove left-over usages of an anonymous GBoxed typedef.

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().
/external/bluetooth/glib/gobject/gboxed.c
fb3a83820eda4211431e623e21b7c3b900503d61 21-Mar-2001 Martin Baulig <baulig@suse.de> This takes a `const GValue *' argument.

2001-03-21 Martin Baulig <baulig@suse.de>

* gboxed.[ch] (g_value_dup_boxed): This takes a `const GValue *'
argument.
/external/bluetooth/glib/gobject/gboxed.c
45fb71949a0c0e27fe8d0948b345334f61a5c924 18-Mar-2001 Tim Janik <timj@gtk.org> removed archaic gpointer derived_data; relict and added a GData member

Wed Mar 14 18:46:54 2001 Tim Janik <timj@gtk.org>

* gscanner.[hc]: removed archaic gpointer derived_data; relict and
added a GData member instead.

* glist.[hc]: added g_list_remove_all().

* gslist.[hc]: added g_slist_remove_all().

Sat Mar 17 23:18:36 2001 Tim Janik <timj@gtk.org>

* 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 <timj@gtk.org>

* 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.
/external/bluetooth/glib/gobject/gboxed.c
617332234d4426ed0941ec1e2cb9f0736bd796c3 08-Mar-2001 Tim Janik <timj@gtk.org> destruction cleanup. there's one ->finalize_hook member in the hooklist

Thu Mar 8 16:23:34 2001 Tim Janik <timj@gtk.org>

* ghook.[hc]: destruction cleanup. there's one
->finalize_hook member in the hooklist now that gets
called when a hook should be destroyed, that's it.
that function is guarranteed to be called only when
all ref_counts to the hook vanished, thus also when
the hook is not in call.

Thu Mar 8 16:35:48 2001 Tim Janik <timj@gtk.org>

* 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 <brrr>.
(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.
/external/bluetooth/glib/gobject/gboxed.c
37e4b8c87e8b0574a806a6f1d2284e4ab45341b3 07-Mar-2001 Tim Janik <timj@gtk.org> changed prototype of g_boxed_type_register_static() to contain an optional

Wed Mar 7 09:36:33 2001 Tim Janik <timj@gtk.org>

* 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 <timj@gtk.org>

* 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()).

Wed Mar 7 09:32:06 2001 Tim Janik <timj@gtk.org>

* glib-object.h: add gvaluearray.h.

* gstring.[hc]: fixup naming of g_string_sprint*.

* gtypes.h: fixed GCompareDataFunc naming.

Wed Mar 7 09:33:27 2001 Tim Janik <timj@gtk.org>

* gobject/Makefile.am: shuffled rules to avoid excessive
rebuilds.

* gobject/gobject-sections.txt: updates.

* gobject/tmpl/*: bunch of updates, added another patch
from Eric Lemings <eric.b.lemings@lmco.com>.
/external/bluetooth/glib/gobject/gboxed.c
bbc5a3adac7d6d5dbdcf956d7d185e9910c3034b 17-Feb-2001 Tim Janik <timj@gtk.org> changed collect_format, collect_value() and lcopy_format, lcopy_value() in

Sat Feb 17 04:55:35 2001 Tim Janik <timj@gtk.org>

* gtype.[hc]: changed collect_format, collect_value() and lcopy_format,
lcopy_value() in the GTypeValueTable. the collect functions are now
called only once per value, collect_format/lcopy_format are strings
that enlist all necessary GTypeCValues to be varargs-collected.

* gvalue.h: ranamed STATIC_TAG to G_VALUE_NOCOPY_CONTENTS to indicate that
a value shouldn't copy its contents.

* gvaluecollector.h: changed G_VALUE_COLLECT() and G_VALUE_LCOPY()
macros to carry an additional argument (flags) that can be used
to pass G_VALUE_NOCOPY_CONTENTS along to the collection functions.

* *.c: adapted collect_value() and lcopy_value() functions to the new
prototypes, support G_VALUE_NOCOPY_CONTENTS where apropriate.

* gsignal.[hc]: introduced a G_SIGNAL_TYPE_STATIC_SCOPE flag that can
be passed along (ORed) with the parameter types, indicating that the
emission arguments are to be considered static for the scope of the
emission. should be used with care and only if the caller knows that
a parameter cannot be destroyed/freed from signal handlers connected
to an emission.
/external/bluetooth/glib/gobject/gboxed.c
e773d7dba66cf51c7d6ad7d1973ab3635e986e2e 12-Dec-2000 Tim Janik <timj@gtk.org> fixed dealing with collection/lcopy of NULL values.

Mon Dec 11 04:44:11 2000 Tim Janik <timj@gtk.org>

* gboxed.c: fixed dealing with collection/lcopy of NULL values.

* gclosure.h: removed insane ramblings, added G_CALLBACK() a casting
convenience macro.

* Makefile.am: cleanups, marshaller generation rules.

* gmarshal.[hc]: new files with GRuntime standard marshallers.

* glib-genmarshal.c: fix log domain, support gruntime standard
marshallers, suport G_TYPE_PARAM, come with extern "C" and
#include gmarshal.h.

* glib-genmarshal.1: reflect glib-genmarshal.c updates.

* gobject.[hc]: implement object constructor. rework parameter
changed notification queueing, we support queue freezes now and
don't dispatch from an idle handler anymore.
parameter->property rename hassle.
implemented ::properties_changed and ::notify::* signals for
property change notification (the later supports property names
as details). added signal connection and named data properties.
(g_signal_connect_object): new function to setup while_alive
connections.
(g_object_class_install_property): sink properties now, since they
are initially floating.
(g_object_steal_data):
(g_object_set_data_full):
(g_object_set_data):
(g_object_get_data): set/get data by using g_datalist_*() functions
directly.
(g_object_queue_param_changed): nuked.
(g_object_freeze_notify): start queueing of property changes (freeze/
thaw calls stack).
(g_object_notify): announce changes of a certain property directly.
(g_object_thaw_notify): process queue of property changes, therefore
emitting GObject::notify::detail with detail being the changed
properties names.
(G_OBJECT_WARN_INVALID_PROPERTY_ID): saner macro variant of former
G_WARN_INVALID_PARAM_ID().

* gparam.[hc]: param specs are now initially floating and need to be
sunken with g_param_spec_sink(), support G_TYPE_PARAM values.
added G_PARAM_CONSTRUCT and G_PARAM_CONSTRUCT_ONLY parameter flags,
required by GObjectClass.constructor().

* gparamspecs.[hc]: added GParamSpecParam, GParamSpecPointer and
GParamSpecCCallback, param specs for G_TYPE_PARAM, G_TYPE_POINTER
and G_TYPE_CCALLBACK respectively.

* gsignal.[hc]: cleanups.
(signal_id_lookup): after walking the anchestry, try interfaces as well.
(g_signal_new): new function to create signals from varargs type list.
(g_signal_connect_closure): closure connection variant that works from
signal name+detail.
(g_signal_connect_data): c handler connection variant that works from
signal name+detail.
(g_signal_emit_valist): emit signal for an instance with paraneters
collected from a va_list.
(g_signal_emit): emit signal, taking parameters from varargs list.
(g_signal_emit_by_name): same as g_signal_emit, working from
signal name+detail.
(signal_emit_R): return whether return_value needs to be altered.

* gtype.[hc]: set log-domain to GRuntime, i'm slowly getting to all
the points that need to reflect the upcoming rename.
melt g_type_conforms_to() functionality into g_type_is_a(), as that
is what we really want (liskov substitution principle).
assorted changes to other files due to conforms_to->is_a.

* gvalue.[hc]: implemented g_value_set_instance() that sets a value
from an instantiatable type via the value_table's collect_value()
function (based on an idea from James Henstridge <james@daa.com.au>).
cleanups/fixes.

* gvaluetypes.[hc]: implement G_TYPE_CCALLBACK and G_TYPE_PARAM.
/external/bluetooth/glib/gobject/gboxed.c
55c7329d515ae763674d8ac6e9e30fc6fedad9cf 28-Nov-2000 Tor Lillqvist <tml@iki.fi> Patches by Hans Breuer:

2000-11-28 Tor Lillqvist <tml@iki.fi>

Patches by Hans Breuer:

* gspawn-win32.c: Move the code for gspawn-win32-helper to its own
file.

* makefile.{mingw,msc}.in: Change accordingly.

* gspawn-win32-helper.c: New file.

* Makefile.am (EXTRA_DIST): Add it.

* gmarkup.c (find_current_text_end): Fix assertion not to check an
uninitialised variable.

* gboxed.c: Include <string.h> for memset ().
/external/bluetooth/glib/gobject/gboxed.c
900d0ed069fe09201d0c58813d1560b6845cef1d 26-Oct-2000 Tim Janik <timj@gtk.org> added g_value_set_static_string().

Thu Oct 26 00:30:27 2000 Tim Janik <timj@gtk.org>

* gvaluetypes.[hc]: added g_value_set_static_string().

* gboxed.[hc]: const corrections. added g_value_set_static_boxed().
/external/bluetooth/glib/gobject/gboxed.c
ee23c09e83d06a0d131ebd234c132f1c3602c019 25-Oct-2000 Tim Janik <timj@gtk.org> added newly added gobject/ headers.

Tue Oct 24 22:09:14 2000 Tim Janik <timj@gtk.org>

* glib-object.h: added newly added gobject/ headers.

* gmesage.c: print g_message() output to stderr instead of stdout.

Wed Oct 25 20:27:02 2000 Tim Janik <timj@gtk.org>

* gtype.c (g_type_free_instance): for the moment, freeing object
structures will fill their memory portion with 0xAA. there's a
FIXME there, remove this line at a later point.

Tue Oct 24 23:10:26 2000 Tim Janik <timj@gtk.org>

* glib-genmarshal.1:
* glib-genmarshal.c: added publically installed marshaller generator.

* gtype.h: added G_TYPE_INSTANCE_GET_INTERFACE() to retrive a certain
interface VTable from instances.

Mon Oct 23 08:28:15 2000 Tim Janik <timj@gtk.org>

* gobject.[hc]: new functions for closure maintenance:
(g_object_watch_closure): maintain validity of the object and
the closure for objects that are used as data part of a closure.
(g_cclosure_new_object): convenience function to create C closures
that have an object as data argument.
(g_closure_new_object): convenience function to create closures
that have an object as data argument.

* gclosure.[hc]: implementation of GClosure mechanism.
a closure is basically an encapsulation of a callback function
and its environment. ideally, most places supporting callback
functions will simply take a GClosure* pointer and thus unify
callback environments wrg destroy notification etc.
GClosure provides destroy notifiers for arbitrary data pointers,
reference counting, invalidation notification (it can be invalidated
which is merely a deactivate state) and a marshallinbg abstraction.
GCClosure is also provided in these files, they present a specialized
GClosure implementation for C language callbacks.

* genum.c: macro cleanups.

* gboxed.[hc]: new files, for boxed type abstraction.
(g_boxed_copy): copy a boxed structure
(g_boxed_free): free a boxed structure
(g_value_set_boxed):
(g_value_get_boxed): standard GValue functions for boxed types
(g_boxed_type_register_static): convenience function for easy
introduction of new G_TYPE_BOXED derivatives.

* gparam.[hc]: introduced g_param_type_register_static(), a short hand
for creation of new GParamSpec derived types.

* gtype.[hc]: many fixes, introduced ability to flag individual
type nodes as ABSTRACT upon registration, added value_peek_pointer()
to the value table to peek at GValue contents as a pointer for types
that support this. fixed up GValue checks.

* gvalue.[hc]: added g_value_fits_pointer() and g_value_get_as_pointer()
to peek at the value contents as pointer.

* *.[hc]: adaptions to type macro fixes and changes in the type
registration API.

* many const corrections over the place.

Sat Oct 21 02:49:56 2000 Tim Janik <timj@gtk.org>

* gtype.c (g_type_conforms_to): this function basically behaves like
and is_a check, except that it _additionally_ features interfaces
for instantiatable types. enforce this in the second branch as well
(`type' conforms_to `type') even if `type' is not an interface type.

Fri Oct 20 15:31:04 2000 Tim Janik <timj@gtk.org>

* gvaluetypes.[hc]: added G_TYPE_POINTER implementation from jrb.

* gtype.[hc]:
* gobject.c:
* gvaluetypes.c: added GTypeValueTable.value_peek_pointer and
suitable implementations of this for G_TYPE_STRING, G_TYPE_OBJECT
and G_TYPE_POINTER.

Mon Aug 21 04:13:37 2000 Tim Janik <timj@gtk.org>

* gbsearcharray.[hc]: long standing needed generic implementation
of a binary searchable, sorted and dynamically sized array.
/external/bluetooth/glib/gobject/gboxed.c