History log of /external/bluetooth/glib/gobject/gclosure.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f5483302757a9c03c43e25c86cea4a7bd5aaaf3f 23-Feb-2009 Matthias Clasen <matthiasc@src.gnome.org> Fix "it's" vs "its" confusion throughout the source. Patch by Will

* Fix "it's" vs "its" confusion throughout the source. Patch
by Will Thompson.


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

svn path=/trunk/; revision=7137
/external/bluetooth/glib/gobject/gclosure.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/gclosure.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/gclosure.c
356fe46531106b75f2c240ee63cd9f77d2df3df9 22-Jun-2008 Stefan Kost <stefkost@src.gnome.org> Migrating docs.

* docs/reference/gobject/tmpl/signals.sgml:
* gobject/gclosure.c:
* gobject/gobject.c:
* gobject/gsignal.c:
* gobject/gsignal.h:
Migrating docs.


svn path=/trunk/; revision=7083
/external/bluetooth/glib/gobject/gclosure.c
f22d19fc3455d38811e950cf88a2e1c0506c5f7e 21-Jun-2008 Stefan Kost <stefkost@src.gnome.org> Add --sgml-mode to allow sgml in doc-fragments (which somehow works before

* docs/reference/gobject/Makefile.am:
Add --sgml-mode to allow sgml in doc-fragments (which somehow works
before already).
* gobject/gboxed.h:
* gobject/gclosure.c:
* gobject/gparam.c:
* gobject/gparam.h:
* gobject/gtype.h:
Convert character entities back. FIx some broken sgml.


svn path=/trunk/; revision=7078
/external/bluetooth/glib/gobject/gclosure.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/gclosure.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/gclosure.c
83dd545044a78b1c4970d729e9e4b80ca064d517 21-Jun-2008 Stefan Kost <stefkost@src.gnome.org> Migrating docs.

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


svn path=/trunk/; revision=7069
/external/bluetooth/glib/gobject/gclosure.c
8ff5b7f9209768e4a4059361c0d8700361d16358 30-Jan-2006 Matthias Clasen <matthiasc@src.gnome.org> Remove C++ comment
/external/bluetooth/glib/gobject/gclosure.c
2147c486b0afb90ea32fdce9fefedcbebc2375a6 08-Sep-2005 Kjartan Maraas <kmaraas@gnome.org> Remove some unused code. Same here And here Mark some functions static.

2005-09-08 Kjartan Maraas <kmaraas@gnome.org>

* gclosure.c: (g_closure_set_meta_marshal): Remove some unused
code.
* gsignal.c: (g_signal_emitv): Same here
* gtype.c: (g_type_register_fundamental): And here
* testgobject.c: Mark some functions static.
/external/bluetooth/glib/gobject/gclosure.c
f881779a8cf1904757a5cb292279ee87a0252df1 03-Aug-2005 Matthias Clasen <mclasen@redhat.com> Mark the vint member as volatile, which seems to be necessary to make

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

* gclosure.c (union ClosureInt): Mark the vint member as
volatile, which seems to be necessary to make atomic operations
work on s390.
/external/bluetooth/glib/gobject/gclosure.c
834ddd1920e89af4958951b2418c014870305f19 01-Aug-2005 Tim Janik <timj@imendio.com> turned all modifications to the first 32 integer bits in a closure into

Mon Aug 1 23:00:42 2005 Tim Janik <timj@imendio.com>

* gclosure.c: turned all modifications to the first 32 integer bits in a
closure into atomic accesses. wrapped write accesses into special macros
to keep the atomic modification logic in a single place. comment cleanups.

* gclosure.h: made all atomicly accessed closure fields volatile.

* gobject.h: made ref_count field volatile.
/external/bluetooth/glib/gobject/gclosure.c
f0cfc267ba9d4366679fd485f363f9130433ef2e 30-Jul-2005 Tim Janik <timj@gtk.org> reverted notify_mutex introduction, since this prevents parallelized

Sat Jul 30 21:10:26 2005 Tim Janik <timj@gtk.org>

* gobject.c: reverted notify_mutex introduction, since this prevents
parallelized setting of object properties on different objects, and
serves no apparent purpose (to me at least).
g_object_real_dispose(): removed non-atomic reference count
modifications.
g_object_unref(): make sure the closures array is destroyed when
destroying signal handlers.

* gparam.c: cosmetic changes.

* gsignal.c: comment fixup. allow 16bit blocking count.

* gsignal.c: reverted GClosure related changes.

* gclosure.c: reverted premature commit of atomic reference
counting attempt.
/external/bluetooth/glib/gobject/gclosure.c
39ea11ce6b107bf3969a2f94807675b458a5a887 15-Jul-2005 Matthias Clasen <mclasen@redhat.com> Make refcounting threadsafe by using atomic operations. (#166020, Wim

2005-07-15 Matthias Clasen <mclasen@redhat.com>

Make refcounting threadsafe by using atomic
operations. (#166020, Wim Taymans)

* gobject.c: Use a recursive lock to protect the
notify queue.
(g_object_unref): Get rid of g_object_last_unref and
do the last unref handling in g_object_unref.
(g_object_ref, g_object_unref): Use atomic operations.

* gsignal.c (struct _HandlerMatch): Use a full integer
for the ref_count field.
(handler_ref, handler_unref_R): Use atomic operations.

* gparam.c (g_param_spec_ref, g_param_spec_unref):
Use atomic operations instead of a lock to make the
refcounting threadsafe.

* gclosure.c (g_closure_ref, g_closure_unref): Use atomic
operations. This is more complicated here, since the
refcount is stored in a bitfield, so we also have
to access all other bitfield members atomically.

* gsignal.c (handlers_find): Read the meta_marshal flag
of the closure atomically.

* tests/Makefile.am (SUBDIRS): Add tests/refcount

* configure.in: Add tests/refcount

* tests/refcount/properties.c: Test property changes
from multiple threads.

* tests/refcount/signals.c: Test signal emission from
multiple threads.

* tests/refcount/objects.c: Test refcounting from
multiple threads.

* tests/refcount/objects2.c:
* tests/refcount/properties2.c: Tests to measure the
overhead of threadsafe refcounting.

* glib/giochannel.c (g_io_channel_ref, g_io_channel_unref):
Use atomic operations to make refcounting
threadsafe. (#166020, Wim Taymans)
/external/bluetooth/glib/gobject/gclosure.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/gclosure.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/gclosure.c
738c1cfd6bc87a410324209e8e96f76f90ada720 13-Mar-2002 Erwann Chenede <erwann.chenede@sun.com> glib/gconvert.c glib/gen-unicode-tables.pl fixed cast/type problems to

2002-03-13 Erwann Chenede <erwann.chenede@sun.com>
* glib/gconvert.c
* glib/gen-unicode-tables.pl
* glib/gunidecomp.h : fixed cast/type problems to
avoid warnings (with forte compiler)
* gobject/gclosure.c
* gobject/gobject.c
* gobject/gsignal.c: fixed cast problems with function pointer
to avoid warnings (with forte compiler) (#73898)
/external/bluetooth/glib/gobject/gclosure.c
5c2f442088c65a67534e22a3ef7016bed7b7fd9b 26-Nov-2001 Tim Janik <timj@gtk.org> typedef GType to gulong instead of gsize, if possible.

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.
/external/bluetooth/glib/gobject/gclosure.c
5b7a16146d172a03e18300750a9b9806706098c5 07-Nov-2001 Tim Janik <timj@gtk.org> provide G_CLOSURE_N_NOTIFIERS() for people that need to walk the notifier

Wed Nov 7 00:56:00 2001 Tim Janik <timj@gtk.org>

* gclosure.h: provide G_CLOSURE_N_NOTIFIERS() for people that need
to walk the notifier list (puhh, black magic, stay-away-warning ;).
/external/bluetooth/glib/gobject/gclosure.c
58bfca360d6a94a6aa5c02987e1fef3439b0cdc3 09-Apr-2001 Tim Janik <timj@gtk.org> increment version to 1.3.4 (binary 0, interface 0).

Mon Apr 9 18:57:44 2001 Tim Janik <timj@gtk.org>

* configure.in: increment version to 1.3.4 (binary 0, interface 0).

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).
/external/bluetooth/glib/gobject/gclosure.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/gclosure.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/gclosure.c
12a0d19c11c29e3d4b7a5f02a07576309e2787a6 16-Feb-2001 Tim Janik <timj@gtk.org> incorporated huge docu patch from Eric Lemings <eric.b.lemings@lmco.com>

Fri Feb 16 06:52:20 2001 Tim Janik <timj@gtk.org>

* gobject/tmpl/types.sgml: incorporated huge docu patch from Eric
Lemings <eric.b.lemings@lmco.com> with a bunch of editing on my part.

Fri Feb 16 07:10:44 2001 Tim Janik <timj@gtk.org>

* gclosure.c:
(g_closure_ref):
(g_closure_sink): make closure sinking explicit.

* gsignal.c:
(g_signal_connect_data):
(g_signal_connect_closure):
(g_signal_connect_closure_by_id):
(g_signal_newv): perform explicit closure sinking.

Thu Feb 8 00:31:45 2001 Tim Janik <timj@gtk.org>

* gtype.h: added G_TYPE_DEBUG_NONE for/from Eric Lemings ;)
/external/bluetooth/glib/gobject/gclosure.c
f0b9abe801c2e0cccb7930421a81bb77031e3251 31-Jan-2001 Tim Janik <timj@gtk.org> adapt to work with new CVS gtk-doc, leaving the old rules in place caused

Wed Jan 31 07:14:22 2001 Tim Janik <timj@gtk.org>

* gobject/Makefile.am: adapt to work with new CVS gtk-doc, leaving the old
rules in place caused bogus recursions. main changes:
- add to conditionalized section:
all-local:
$(MAKE) scan
$(MAKE) templates
$(MAKE) sgml
$(MAKE) html.stamp
html.stamp: sgml.stamp $(EXTRA_SGML_FILES)
$(MAKE) html
DOC_STAMPS= html.stamp sgml.stamp
- change:
maintainer-clean-local: clean
- cd $(srcdir) && rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
+ cd $(srcdir) && rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt $(DOC_STAMPS)

* glib/Makefile.am (maintainer-clean-local): dito.

Wed Jan 31 06:21:32 2001 Tim Janik <timj@gtk.org>

* gobject/tmpl/types.sgml: applied docu patch from Eric Lemings
<eric.b.lemings@lmco.com>, did some more editing.

Wed Jan 31 06:19:49 2001 Tim Janik <timj@gtk.org>

* gparam.h: gtk-doc sucks for not dealing with #define inside enums.

* gtype.[hc]: added G_TYPE_FLAG_RESERVED_ID_BIT, a bit in the type
number that's supposed to be left untouched (preserved mainly
for the signal code).

* *.c: added thread safety code, based on an old patch from sebastian.
the remaining thread safety issues are now datalists on pspecs (to be
solved im gdataset.c) and gvalue.c where locking concerns value exchange
functionality only, and that's soon to be revised.
/external/bluetooth/glib/gobject/gclosure.c
9f9ad3603193c9154d0b5caebae4ead4d3c4d368 24-Jan-2001 4 <alexl@redhat.com> Don't leak closure->notifiers.

2001-01-24 <alexl@redhat.com>

* gclosure.c (g_closure_unref):
Don't leak closure->notifiers.
/external/bluetooth/glib/gobject/gclosure.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/gclosure.c
c5695bf798f899db7536d8aa930f9f439beef29a 28-Oct-2000 Tim Janik <timj@gtk.org> fixed notifier position for post_marshal guard which was off at 0.

Sat Oct 28 00:28:09 2000 Tim Janik <timj@gtk.org>

* gclosure.c (g_closure_add_marshal_guards): fixed notifier position
for post_marshal guard which was off at 0.

Fri Oct 27 21:49:31 2000 Tim Janik <timj@gtk.org>

* gobject.[hc]: doh, fix argument order in for
g_cclosure_new_object_swap and g_cclosure_new_object.
/external/bluetooth/glib/gobject/gclosure.c
830d808c5ce0d94524807d4777a4c8257efcbf8a 27-Oct-2000 Tim Janik <timj@gtk.org> publically define GSignalInvocationHint structure that gets passed in to

Fri Oct 27 16:33:41 2000 Tim Janik <timj@gtk.org>

* gsignal.[hc]: publically define GSignalInvocationHint structure
that gets passed in to closure invocations. added signal details.
renamed GSignalType to GSignalFlags to comply with conventions.
quite some cleanups and minor fixes. avoid uneccessary handler list
walks upon invokation of after handlers. relookup handler list for
restarted emissions. preliminary abort normal handler invokation if
after handler is encountered.

* glib-genmarshal.c:
* gclosure.[hc]: moved invocation_hint to the end of the
g_closure_invoke() arguments as sugegsted by kenelson.
also made it a gpointer to be more generic. the invocation_hint
is a caller specific thing that can be used to pass additional
data in to closure invocations as documented with the caller
invoking the closure.
/external/bluetooth/glib/gobject/gclosure.c
8a572c0da1be99527c52f620dc7fd04eb0775bde 27-Oct-2000 Tim Janik <timj@gtk.org> fixed deadlock scenarion where g_signal_lookup() would be called with the

Fri Oct 27 05:35:14 2000 Tim Janik <timj@gtk.org>

* gsignal.c (g_signal_newv): fixed deadlock scenarion where
g_signal_lookup() would be called with the signal lock being
held. reported by james henstridge.

* gclosure.c (g_closure_set_meta_marshal): fixed memcpy/overwrite bug
reported by owen.
/external/bluetooth/glib/gobject/gclosure.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/gclosure.c