History log of /external/bluetooth/glib/gobject/gsignal.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
622f01012030fcba31ee2a68920873ac06bb62e4 13-Mar-2009 Kristian Rietveld <kris@imendio.com> when defaulting to the only item in the array, check if this is indeed the

2009-03-13 Kristian Rietveld <kris@imendio.com>

* gsignal.c (signal_lookup_closure): when defaulting to the only
item in the array, check if this is indeed the default closure.
(patch by Tim Janik).


svn path=/trunk/; revision=7979
/external/bluetooth/glib/gobject/gsignal.c
db830dd381bb3e1566ee35aaae6f9f3161a3a818 29-Nov-2008 Matthias Clasen <matthiasc@src.gnome.org> Fix some documentation typos

svn path=/trunk/; revision=7707
/external/bluetooth/glib/gobject/gsignal.c
7afe2bb07a5ab089083d4193f4a1b0bc1591f282 26-Sep-2008 Dan Winship <danw@src.gnome.org> add uint* -> int* casts in g_atomic_int calls to avoid gcc warnings

* gobject.c (g_object_ref, g_object_unref)
(g_object_freeze_notify, g_object_notify, g_object_thaw_notify):
* gparam.c (g_param_spec_ref, g_param_spec_unref):
* gsignal.c (handler_ref, handler_unref_R): add uint* -> int*
casts in g_atomic_int calls to avoid gcc warnings

svn path=/trunk/; revision=7551
/external/bluetooth/glib/gobject/gsignal.c
864fbce267ca1ed25f9f2a3ca7ede385c5787cbd 21-Jul-2008 Michael Natterer <mitch@imendio.com> Reviewed by Tim Janik:

2008-07-21 Michael Natterer <mitch@imendio.com>

Reviewed by Tim Janik:

* gsignal.c (g_signal_chain_from_overridden_handler): allocate
the temp GValue array with GSLice.

(g_signal_emit_valist): dito. Remove optimization/obfuscation of
allocating up to 16 GValues on the stack and always use GSLice.


svn path=/trunk/; revision=7229
/external/bluetooth/glib/gobject/gsignal.c
20d4f6da7324dece455eed2b64e3073895306440 04-Jul-2008 Michael Natterer <mitch@imendio.com> Bug 541208 – Functions to easily install and use signals without class

2008-07-04 Michael Natterer <mitch@imendio.com>

Bug 541208 – Functions to easily install and use signals without
class struct slot

* gobject.symbols
* gsignal.[ch] (g_signal_new_class_handler): the same as
_gtk_binding_signal_new(), to install signals with a callback
instead of a class struct slot as class closure.

The next two functions are C convenience and much easier to use
than the generic overriding and chaining APIs which are intended
primarily for language bindings:

(g_signal_override_class_handler): to override a signal with a
callback instead of a class struct slot.

(g_signal_chain_from_overridden_handler): to chain up from a
signal without class struct slot. The API is similar to
g_signal_emit().


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

svn path=/trunk/; revision=7137
/external/bluetooth/glib/gobject/gsignal.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/gsignal.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/gsignal.c
fa7a7b3e0ddc437b95b30f8322bb8ae1138c2bf4 22-Jun-2008 Stefan Kost <stefkost@src.gnome.org> Fix compiler warning in format string check.

* gobject/gsignal.c:
Fix compiler warning in format string check.


svn path=/trunk/; revision=7084
/external/bluetooth/glib/gobject/gsignal.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/gsignal.c
edf4c171650ae713115235c678571e8900d4c9b8 15-Aug-2007 Cody Russell <bratsche@gnome.org> g_type_default_interface_ref() was not ensuring working g_signal_list_ids.

2007-08-14 Cody Russell <bratsche@gnome.org>

* gobject/gsignal.c: g_type_default_interface_ref() was not
ensuring working g_signal_list_ids. Added checks for
!G_TYPE_IS_INTERFACE (itype).
(#465625, by some guy who calls himself Yeti)


svn path=/trunk/; revision=5704
/external/bluetooth/glib/gobject/gsignal.c
20b39ffafad66ba1746de6954aa85653d135a5b8 30-Sep-2006 Matthias Clasen <matthiasc@src.gnome.org> Fix some issues with PLT entries.
/external/bluetooth/glib/gobject/gsignal.c
8aa8d430d2bba29b4ae4d9040a87efc935df9520 31-Dec-2005 Matthias Clasen <mclasen@redhat.com> Remove the handler trash stack, which is now unused. (g_signal_init):

2005-12-30 Matthias Clasen <mclasen@redhat.com>

* gsignal.c: Remove the handler trash stack, which
is now unused.
(g_signal_init): Remove the restriction that HandlerMatch
must be the same size as GList, and obsolete comments
referring to mem chunks.
/external/bluetooth/glib/gobject/gsignal.c
58820749797f5aa1faba9362abbbedb5caafeb0d 30-Dec-2005 Matthias Clasen <mclasen@redhat.com> Remove the handler trash stack, which is now unused.

2005-12-30 Matthias Clasen <mclasen@redhat.com>

* gsignal.c: Remove the handler trash stack, which
is now unused.
/external/bluetooth/glib/gobject/gsignal.c
0cba1b531d5d28890fa4f48359d4e7adacf2a603 01-Nov-2005 Tim Janik <timj@imendio.com> prepared deprecation of GMemChunk and GAllocator. added g_slice_*() API to

Tue Nov 1 16:24:20 2005 Tim Janik <timj@imendio.com>

* glib/gmem.[hc]: prepared deprecation of GMemChunk and GAllocator.
added g_slice_*() API to allocate and cache small bits of memory.
an actuall allocator implementation for g_slice_*() is still pending.

* glib/gthread.[hc]: changes from a patch by Matthias Clasen.
changed GRealThread list to use in-structure *next; fields instead
of GSList, in order for thread iteration to not depenend on g_slice_*()
indirectly.
_g_thread_mem_private_get():
_g_thread_mem_private_set(): added accessors for private memory,
needed because the ordinary GPrivate implementation relies on GArray
and GSList and therefore indirectly on working g_slice_*() allocations.

* glib/gthread.[hc]:
g_thread_foreach(): new public API function to loop over all existing threads.

* glib/gdataset.c:
* glib/gstring.c:
* glib/gcache.c:
* glib/garray.c:
* glib/gqueue.c:
* glib/gslist.c:
* glib/glist.c:
* glib/ghash.c:
* glib/gtree.c:
* glib/ghook.c:
* glib/gmain.c:
* glib/gnode.c:
removed GAllocator and free list usages and accompanying locks.
use g_slice_*() API to allocate and cache small bits of memory.

* glib/ghook.h: removed GMemChunk field from public API.

* glib/gslist.h:
* glib/glist.h: deprecate allocator API, provide _free1() for consistency.

* glib/gnode.h: deprecate allocator API.

* glib/gmain.c: reordered GPollRec fields so g_slice_free_chain() can
be used for poll rec lists.

* glib/grel.c: removed mem chunk usage, and allocated tuples via g_slice_*().
g_relation_destroy(): free all tuples from the all_tuples hash table,
this effectively maintains the life time track keeping of tuples.
g_relation_delete_tuple(): free tuples which are removed from the
all_tuples hash table. this fixes a temporary leak that was present
in the memchunk code until the destruction of the relation.
/external/bluetooth/glib/gobject/gsignal.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/gsignal.c
8161643a39772e9283f95811c18ac19901e17c65 05-Sep-2005 Matthias Clasen <mclasen@redhat.com> Make the name field const. (g_signal_newv): Don't keep an unnecessary

2005-09-05 Matthias Clasen <mclasen@redhat.com>

* gsignal.c (struct _SignalNode): Make the name field const.
(g_signal_newv): Don't keep an unnecessary extra copy of the
signal name around, and don't forget to free the name if
an existing node is reused.
/external/bluetooth/glib/gobject/gsignal.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/gsignal.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/gsignal.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/gsignal.c
c77ae3942c7412031383595ef2aef94674ba9553 28-Nov-2004 4 <timj@birnet.org> applied patch by sven@gimp.org (#153727) to reduce signal connection

Sun Nov 28 01:37:54 2004 <timj@birnet.org>

* gsignal.c: applied patch by sven@gimp.org (#153727) to reduce
signal connection complexity from O(n_handlers) to O(1).
/external/bluetooth/glib/gobject/gsignal.c
ca4e2341135a8212ba45f2b3091f6f3cd9302b24 04-Oct-2004 Matthias Clasen <mclasen@redhat.com> Improve the warning if G_SIGNAL_NO_HOOKS is set. (#154299, Nickolay V.

2004-10-04 Matthias Clasen <mclasen@redhat.com>

* gsignal.c (g_signal_add_emission_hook): Improve the warning
if G_SIGNAL_NO_HOOKS is set. (#154299, Nickolay V. Shmyrev)
/external/bluetooth/glib/gobject/gsignal.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/gsignal.c
03657b9bf09329a4e6035e13d238eba4c2f5e733 12-Jul-2004 Matthias Clasen <mclasen@redhat.com> Don't choke on a zero handler_id.

2004-07-12 Matthias Clasen <mclasen@redhat.com>

* gsignal.c (g_signal_handler_is_connected): Don't
choke on a zero handler_id.
/external/bluetooth/glib/gobject/gsignal.c
160cd96ae26a571e76af717c27ae29b8125a54a5 23-Jun-2004 Matthias Clasen <maclas@gmx.de> Fix a couple of typos.

Tue Jun 22 21:50:47 2004 Matthias Clasen <maclas@gmx.de>

* gsignal.c: Fix a couple of typos.
/external/bluetooth/glib/gobject/gsignal.c
32bc3c419726f26bd771ccd03c60cd03243037f6 12-Sep-2003 Owen Taylor <otaylor@redhat.com> Add g_signal_accumulator_true_handled(), to do TRUE-stops-emit signals.

Fri Sep 12 16:31:40 2003 Owen Taylor <otaylor@redhat.com>

* gsignal.[ch]: Add g_signal_accumulator_true_handled(), to
do TRUE-stops-emit signals.

* Makefile.am: Move testoverride.c and testifaceinit.c to
tests/gobject.
/external/bluetooth/glib/gobject/gsignal.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/gsignal.c
779c44cdfb017c1f93d0c77e0e80e11c341a2c4a 19-Aug-2003 Tim Janik <timj@gtk.org> added optimizations to skip NOP signal emissions.

Tue Aug 19 01:31:28 2003 Tim Janik <timj@gtk.org>

* gsignal.c: added optimizations to skip NOP signal emissions.
/external/bluetooth/glib/gobject/gsignal.c
10c5cfa36f92c7290c73db78d10fb37cf60f8a7d 06-Mar-2003 Matthias Clasen <maclas@gmx.de> Fix 0/FALSE confusion. (#107662, Morten Welinder)

2003-03-06 Matthias Clasen <maclas@gmx.de>

* gsignal.c (g_signal_handlers_block_matched):
(g_signal_handlers_unblock_matched):
(g_signal_handlers_disconnect_matched): Fix 0/FALSE confusion.
(#107662, Morten Welinder)
/external/bluetooth/glib/gobject/gsignal.c
fa21b512d5101702744354781959a96e96b2c484 07-Feb-2003 Matthias Clasen <maclas@gmx.de> Remove all docs from gobject at Tims request. Documentation is only for

2003-02-07 Matthias Clasen <maclas@gmx.de>

* gtypemodule.c:
* gtype.c:
* gsourceclosure.c:
* gparamspecs.c:
* gparam.c:
* gobject.c:
* gsignal.c: Remove all docs from gobject at Tims
request. Documentation is only for weenies anyway...
/external/bluetooth/glib/gobject/gsignal.c
8b8616bb9cbe8f964253245c028230858589c713 15-Dec-2002 Matthias Clasen <matthiasc@src.gnome.org> Move some docs inline.

* gobject/tmpl/param_value_types.sgml: Move some docs inline.

* gsignal.c (g_signal_new): Typo fix.

* gparamspecs.c:
* gparam.c (g_param_spec_internal):
* gobject.c (g_object_class_install_property): Add docs.
/external/bluetooth/glib/gobject/gsignal.c
e852989bea47519ac921909da4f7023ffc604ccf 05-Dec-2002 Matthias Clasen <matthiasc@src.gnome.org> Explain allowed signal names in more detail.

* gsignal.c (g_signal_new): Explain allowed signal names in more
detail.
/external/bluetooth/glib/gobject/gsignal.c
90d5b0fcedb9dae8b131c1a824c6b2ba05a7cbc8 01-Dec-2002 Matthias Clasen <matthiasc@src.gnome.org> More docs.

* gsignal.c: More docs.

* gobject/gobject-sections.txt: Mark g_signal_handlers_destroy as
private.

* gobject/tmpl/signals.sgml: Move some docs inline.
/external/bluetooth/glib/gobject/gsignal.c
d4407e38fae560bae6a66dd9ae5b2f58b9d89134 04-Nov-2002 Owen Taylor <otaylor@redhat.com> Include config.h so DISABLE_MEMPOOLS actually has an effect. (#96437,

Mon Nov 4 14:41:48 2002 Owen Taylor <otaylor@redhat.com>

* glib/gbsearcharray.c: Include config.h
so DISABLE_MEMPOOLS actually has an effect.
(#96437, Morten Welinder)

* tests/uri-test.c: Include <config.h>

Mon Nov 4 14:42:36 2002 Owen Taylor <otaylor@redhat.com>

* gtype.c gsignal.c gvaluearray.c: Include config.h
so DISABLE_MEMPOOLS actually has an effect.
(#96437, Morten Welinder)

* gsignal.c: Conditionalize definition of g_handler_ts
on DISABLE_MEM_POOLS (#96437)

Mon Nov 4 14:45:24 2002 Owen Taylor <otaylor@redhat.com>

* gthread-posix.c gthread-solaris.c: Include <config.h>
/external/bluetooth/glib/gobject/gsignal.c
116b90dfb1c0fb09e45469114f6079f1f2576bd0 20-May-2002 Owen Taylor <otaylor@redhat.com> When printing errors, handle NULL returns from g_type_debug(). (#73559,

Mon May 20 15:57:47 2002 Owen Taylor <otaylor@redhat.com>

* gsignal.c: When printing errors, handle NULL
returns from g_type_debug(). (#73559, Laszlo Peter)

* gtype.c (type_descriptive_name_I): De-inline,
since it's only used for debugging.
/external/bluetooth/glib/gobject/gsignal.c
e1afbb7e037c78b258e563dbdedab3e63d9a7901 21-Mar-2002 Tim Janik <timj@gtk.org> fix extraneous include.

Thu Mar 21 01:28:14 2002 Tim Janik <timj@gtk.org>

* gsignal.[hc]:
* gobject.[hc]: fix extraneous include.
/external/bluetooth/glib/gobject/gsignal.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/gsignal.c
69c000f069ae934760678577506495fed061d9e4 18-Dec-2001 Tim Janik <timj@gtk.org> added some assertions to test g_signal_get_invocation_hint().

Tue Dec 18 21:39:57 2001 Tim Janik <timj@gtk.org>

* testoverride.c: added some assertions to test
g_signal_get_invocation_hint().

* gsignal.[hc]: remove signal_id argument from
g_signal_chain_from_overridden(), the parameters are assumed to match
the innermost signal currently in emission for this instance.
added g_signal_get_invocation_hint() to figure the invocation hint
of the innermost signal emission of an instance.

* gsignal.c (g_signal_list_ids): fix G_BSEARCH_ARRAY_NODES() to
access a bsearch array and not a pointer to it (discovered by
Sven Neumann).
/external/bluetooth/glib/gobject/gsignal.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/gsignal.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/gsignal.c
35bf561f5fb29e5053077986b4a7c3b00ea9b4b9 14-Nov-2001 Tim Janik <timj@gtk.org> add API for chaining: g_signal_chain_from_overridden() and

Tue Nov 13 23:18:10 2001 Tim Janik <timj@gtk.org>

* 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.
/external/bluetooth/glib/gobject/gsignal.c
115366f6630596afc6f9c858ea9ea61464e92d18 12-Nov-2001 Tim Janik <timj@gtk.org> G_TOKEN_ERROR is also an end of stream condition.

Mon Nov 12 03:01:28 2001 Tim Janik <timj@gtk.org>

* glib/gscanner.c (g_scanner_eof): G_TOKEN_ERROR is also an end
of stream condition.
/external/bluetooth/glib/gobject/gsignal.c
624a3c9689a9538af7df04aab389423edc82b51a 11-Jul-2001 Darin Adler <darin@src.gnome.org> Add some generated files.

* .cvsignore: Add some generated files.

* glib/gmain.c: (g_main_context_iterate): Comment out cruft
after #endif to avoid gcc warning.
* gmodule/gmodule.c: (g_module_set_error_unduped): Remove
const from type to avoid gcc warning.
* gobject/gsignal.c: (g_signal_emitv): ifdef variable used
only if G_ENABLE_DEBUG to avoid gcc warning.
* gobject/gtype.c: (type_iface_vtable_init_Wm),
(type_iface_vtable_finalize_Wm): ifdef call needed only
if !G_DISABLE_ASSERT to avoid gcc warning.
* tests/testglib.c: (main): ifdef call needed only if
!G_DISABLE_ASSERT to avoid gcc warning. Maybe later we
should make the test to #undef G_DISABLE_ASSERT.
* tests/unicode-collate.c: Add include of <string.h> to
avoid gcc warning.
/external/bluetooth/glib/gobject/gsignal.c
fd860cb987e0bc77b8a69363576c01069b40244e 28-Jun-2001 Tim Janik <timj@gtk.org> up version number to 1.3.7, interface age 0, binary age 0.

Thu Jun 28 16:57:44 2001 Tim Janik <timj@gtk.org>

* configure.in (GLIB_MICRO_VERSION): up version number to 1.3.7,
interface age 0, binary age 0.

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.
/external/bluetooth/glib/gobject/gsignal.c
9369e1e022978100c521634a968968a901dd934c 28-May-2001 Tim Janik <timj@gtk.org> fixed bad faux-pass, forgot to release signal lock when restarting

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.
/external/bluetooth/glib/gobject/gsignal.c
e28e398eb03fcfc467524d17fed666d1afc6dc82 27-May-2001 Tim Janik <timj@gtk.org> unlock context when bailing out with a warning. (g_main_context_check):

Sun May 27 05:09:18 2001 Tim Janik <timj@gtk.org>

* gmain.c (g_main_context_prepare): unlock context when bailing
out with a warning.
(g_main_context_check): same here.

* gmain.c (g_main_context_check): before returning due to
changed pollfds, unlock context.

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.
/external/bluetooth/glib/gobject/gsignal.c
72df5e6cabe02f155ff767650cdaf10046c26e0e 14-May-2001 Tim Janik <timj@gtk.org> new function to check whether a handler is still connected to an instance

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).
/external/bluetooth/glib/gobject/gsignal.c
abc5cbbe3e1f6e6bdc40d94741713e9efb6d580d 29-Apr-2001 Tim Janik <timj@gtk.org> made hook ids a gulong.

Sun Apr 29 00:37:34 2001 Tim Janik <timj@gtk.org>

* ghook.[hc]: made hook ids a gulong.

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.
/external/bluetooth/glib/gobject/gsignal.c
9abb30720036dfd464a142555aae7cce5e85c3d6 18-Apr-2001 Owen Taylor <otaylor@redhat.com> Change C++ comments for FIXME's to C comments. (Patch from Andres Salomon)

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)
/external/bluetooth/glib/gobject/gsignal.c
743f49cec9f4696c9eba32966d6ac78cd96c586d 01-Apr-2001 Tim Janik <timj@gtk.org> applied patch from owen to implement GParamSpecUnichar.

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.
/external/bluetooth/glib/gobject/gsignal.c
b7d54841ee594eebfec33d6dc32596eef32acbfd 22-Mar-2001 Tim Janik <timj@gtk.org> catch G_SIGNAL_RUN_FIRST with a return value.

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.
/external/bluetooth/glib/gobject/gsignal.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/gsignal.c
43b692c8eb49a82657d9cb09a222dc66f2cc0199 09-Mar-2001 Tim Janik <timj@gtk.org> test program. covers run first/last/cleanup signal handlers, return value

Fri Mar 9 14:57:17 2001 Tim Janik <timj@gtk.org>

* 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.
/external/bluetooth/glib/gobject/gsignal.c
9490f8d7e435d60b76d5fca12ba6332a5f058fa5 08-Mar-2001 Tim Janik <timj@gtk.org> eek, fixed old hook detail storage code.

Thu Mar 8 18:11:52 2001 Tim Janik <timj@gtk.org>

* gsignal.c: eek, fixed old hook detail storage code.
/external/bluetooth/glib/gobject/gsignal.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/gsignal.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/gsignal.c
f3ec41e8d22b5fa99b93ea753acb0de873732e94 22-Feb-2001 Jonathan Blandford <jrb@redhat.com> Add g_signal_connect define to make porting from gtk_signal_connect easy.

Wed Feb 21 18:31:46 2001 Jonathan Blandford <jrb@redhat.com>

* gsignal.h (g_signal_connect): Add g_signal_connect define to
make porting from gtk_signal_connect easy.
/external/bluetooth/glib/gobject/gsignal.c
1c391cc69846713b0406545146ea232efc5f34e2 18-Feb-2001 Havoc Pennington <hp@pobox.com> include string.h

2001-02-17 Havoc Pennington <hp@pobox.com>

* gthread.c: include string.h

Applied patch from Soeren Sandmann:

* testglib.c: const fixes

* gwin32.h: format cleanups

* gutils.c (g_atexit): constify a variable
(g_find_program_in_path): constification
(g_basename): G_CONST_RETURN
(g_path_skip_root): G_CONST_RETURN
(g_getenv): G_CONST_RETURN
(g_get_user_name): G_CONST_RETURN
(g_get_real_name): G_CONST_RETURN
(g_get_home_dir): G_CONST_RETURN
(g_get_tmp_dir): G_CONST_RETURN
(g_get_prgname): G_CONST_RETURN
(_glib_gettext): G_CONST_RETURN

* gunicode.h: formatting cleanups

* gstrfuncs.c (g_strerror): G_CONST_RETURN
(g_strsignal): G_CONST_RETURN

* gspawn.c (g_execute): const on variables

* gmessages.c (printf_string_upper_bound): fix const on a variable

* gmem.c (g_mem_chunk_new): make the "name" arg const
(struct _GRealMemChunk): make the "name" field const

* gfileutils.c (g_file_open_tmp): store const return in a const
gchar* variable

* gdataset.c (g_quark_to_string): G_CONST_RETURN

2001-02-17 Havoc Pennington <hp@pobox.com>

Applied patch from Soeren Sandmann:

* gvaluetypes.c (g_value_get_string): G_CONST_RETURN

* gtype.c (g_type_name): G_CONST_RETURN

* gsignal.c (g_signal_name): G_CONST_RETURN

* gobject-query.c (main): const fix

2001-02-17 Havoc Pennington <hp@pobox.com>

Applied patch from Soeren Sandmann:

* gmodule.c (g_module_error): G_CONST_RETURN
(g_module_name): G_CONST_RETURN
/external/bluetooth/glib/gobject/gsignal.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/gsignal.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/gsignal.c
22357542e9cb017e2dfeee0004d6a22ed8897468 04-Feb-2001 Tim Janik <timj@gtk.org> s/glib_trap_/g_trap_/. add comments on g_trap_instance_signals,

Sun Feb 4 07:38:32 2001 Tim Janik <timj@gtk.org>

* docs/debugging.txt: s/glib_trap_/g_trap_/. add comments on
g_trap_instance_signals, g_trace_instance_signals and
GRUNTIME_DEBUG.

* gmem.c: s/glib_trap_/g_trap_/.

Sun Feb 4 07:30:53 2001 Tim Janik <timj@gtk.org>

* gtype.[hc]: changed g_type_init() to take debugging flags
initially, a combination of G_TYPE_DEBUG_OBJECTS and
G_TYPE_DEBUG_SIGNALS. using the G_TYPE_ prefix is a bit odd
here, but basically g_type_int() serves as initialization
fucntion for all of GType, GObject, GSignal, so what the heck.

* gobject.c: special case debugging code properly.
changed glib_trap_object_ref to g_trap_object_ref.

* gsignal.c: add signal emission debugging abilities, along with
a new trap object g_trap_instance_signals.
/external/bluetooth/glib/gobject/gsignal.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/gsignal.c
782a8e2e7c69c3d98bd69bcfdbb65ded520576f4 29-Dec-2000 Tim Janik <timj@gtk.org> got rid of outdated dmalloc support. provide g_try_malloc() and

Thu Dec 28 10:21:46 2000 Tim Janik <timj@gtk.org>

* gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
and g_try_realloc() which _may_ fail and return NULL.
nuked g_mem_check(), provided GMemVTable for memory function
virtualization, alterable at program startup with g_mem_set_vtable().
provided glib_mem_profiler_table and g_mem_profile() to support limited
profiling information out of the box (uses mprotect() for free()ed areas
on linux).
provide globally visible G_MEM_ALIGN.
buncha cleanups.

* docs/macros.txt: file to get a clue about the various configuration
macros.

* docs/debugging.txt: explain debugging traps.

* configure.in: got rid of --enable-mem-check and --enable-mem-profile,
define GLIB_SIZEOF_VOID_P and GLIB_SIZEOF_LONG. check malloc prototypes
and define SANE_MALLOC_PROTOS is we can use them.
<boy, is this file a mess>

* gutils.c, gscanner.c: fix up compatibility warnings, use g_message().


Thu Dec 28 11:36:44 2000 Tim Janik <timj@gtk.org>

* gbsearcharray.c (upper_power2): disable G_BSEARCH_ALIGN_POWER2
fucntionality if DISABLE_MEM_POOLS is defined.

* gtype.c: honour DISABLE_MEM_POOLS.

* gsignal.c (g_signal_init): flag signal key bsearch array with
G_BSEARCH_ALIGN_POWER2 to avoid excessive growth time. honour
DISABLE_MEM_POOLS.

* gparam.h: added G_PARAM_READWRITE alias for (G_PARAM_READABLE |
G_PARAM_WRITABLE).
/external/bluetooth/glib/gobject/gsignal.c
b3c410dee1b3d3e72ad1e76c7dc597a07482137d 15-Dec-2000 Havoc Pennington <hp@pobox.com> use g_signal_newc

2000-12-15 Havoc Pennington <hp@pobox.com>

* gobject.c (g_object_do_class_init): use g_signal_newc

* gsignal.c (g_signal_newc): convenience function for signals
created from C
(g_signal_new_valist): added
(g_signal_new): removed
/external/bluetooth/glib/gobject/gsignal.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/gsignal.c
55ec7f32a6852dba73abb29e650615b66b065ef9 29-Nov-2000 Tim Janik <timj@gtk.org> fix elliots "logic fix" that dereferences NULL nodes if C handlers are

Wed Nov 29 13:30:05 2000 Tim Janik <timj@gtk.org>

* gsignal.c (handlers_find): fix elliots "logic fix" that dereferences
NULL nodes if C handlers are searched for specific signals.
/external/bluetooth/glib/gobject/gsignal.c
790a7bd3be608d9b12a18711d4400490d96b2a46 29-Nov-2000 Elliot Lee <sopwith@src.gnome.org> Fix warnings.



* gmarkup.c: Fix warnings.

* guniprop.c, gunidecomp.c: Make warnings go away by using
GPOINTER_TO_INT() instead of (int).

* gcompletion.[ch]: Add g_completion_set_compare(),
to allow (for example) using case-insensitive completion.

* gobject/gsignal.c: Fix warnings about possible use of uninitialized
variables, and fix logic that would leave 'node' unset in cases
that it might be used in.

* gobject/glib-genmarshal.c: Fix warning about printf format.
/external/bluetooth/glib/gobject/gsignal.c
a453526f350a3956a26f71db481bd8b436c65f97 05-Nov-2000 Owen Taylor <otaylor@redhat.com> When appending handlers and not matching on signal_id, use

Sun Nov 5 10:25:40 2000 Owen Taylor <otaylor@redhat.com>

* gsignal.c (handlers_find): When appending handlers and
not matching on signal_id, use hlist->signal_id instead of
signal_id. Having the correct signal_id when unreffing
the handlers makes things work a lot better.
/external/bluetooth/glib/gobject/gsignal.c
83c45024e3d3a56ac17eb08dcddae048005bbb71 05-Nov-2000 Tim Janik <timj@gtk.org> fixed a bag full of subtle bugs of immensive screw-up potential in

Sun Nov 5 05:22:55 2000 Tim Janik <timj@gtk.org>

* gsignal.c:
fixed a bag full of subtle bugs of immensive screw-up potential in
handlers_find(), luckily no one found out about them yet ;)
fixed signal_handlers_foreach_matched_R() so it operates on an
initial handler list snapshot provided by handlers_find() to work
around general reentrancy problems and to avoid multiple callback()
invocations on the same handlers.
this code is now officially 80% bug free (10% remaining for interface
types, and 10% remaining for destroyed signals ;)

Sat Nov 4 02:01:33 2000 Tim Janik <timj@gtk.org>

* gsignal.c (_g_signals_destroy): valid signal nodes start out at 1.

* gtypeplugin.[hc]: new files holding a GTypePlugin interface
implementation that provides the API required by GType to deal with
dynamically loadable types.

* gtype.[hc]: displace any GTypePlugin business to gtypeplugin.h.
/external/bluetooth/glib/gobject/gsignal.c
3cc60a9ab1df2dcf393a15b8a66e0602817646bd 03-Nov-2000 Tim Janik <timj@gtk.org> prefix internal functions with '_'. renamed g_signal_connect_closure() to

Fri Nov 3 07:35:00 2000 Tim Janik <timj@gtk.org>

* gsignal.[hc]: prefix internal functions with '_'. renamed
g_signal_connect_closure() to g_signal_connect_closure_by_id().
added g_signal_parse_name() to retrive signal_id and detail quark
from a signal name (internal).

Fri Nov 3 07:33:15 2000 Tim Janik <timj@gtk.org>

* gobject/gobject-docs.sgml: added &gobject-closures; section.

* gobject/Makefile.am (tmpl_sources): add tmpl/clsoures.sgml

* gobject/gobject-sections.txt: added Closure section.

* gobject/tmpl/closures.sgml: new file with template description
for GClosure functions.
/external/bluetooth/glib/gobject/gsignal.c
cfe0780d3ea8a5a9bdd3497926437cde42298086 01-Nov-2000 Tim Janik <timj@gtk.org> destroy all signals that the finalized obejct type introduced.

Wed Nov 1 03:36:54 2000 Tim Janik <timj@gtk.org>

* gobject.c (g_object_base_class_finalize): destroy all signals that
the finalized obejct type introduced.

* gsignal.c (g_signals_destroy): don't require itype to have
signals.

* gobject.c (g_object_do_finalize): make sure all signal handlers
are destroyed.

* gsignal.[hc]:
(g_signal_handler_find): only match on non-0 masks.
(g_signal_handlers_block_matched):
(g_signal_handlers_unblock_matched):
(g_signal_handlers_disconnect_matched): new functions to block/unblock
or disconnect handlers in groups.
/external/bluetooth/glib/gobject/gsignal.c
817110279d642daf35b54de36ef653a7b1ed7e6e 30-Oct-2000 Tim Janik <timj@gtk.org> opened up a new section on signals.

Mon Oct 30 06:01:43 2000 Tim Janik <timj@gtk.org>

* gobject/gobject-sections.txt: opened up a new section on signals.

Mon Oct 30 05:52:45 2000 Tim Janik <timj@gtk.org>

* gsignal.c (g_signal_list_ids): get rid of inline documentation owen
added, the doc system would ignore it anyways (for some reason not
aparent to me).
/external/bluetooth/glib/gobject/gsignal.c
65c423b458d9fd1338cab0de7951092c09ab1686 30-Oct-2000 Tim Janik <timj@gtk.org> renamed owen's g_type_signals(), added required mutex locks.

Mon Oct 30 03:00:07 2000 Tim Janik <timj@gtk.org>

* gsignal.[hc] (g_signal_list_ids): renamed owen's g_type_signals(),
added required mutex locks.
/external/bluetooth/glib/gobject/gsignal.c
fbe5df779cd39c9587f665118074ac828a805c26 29-Oct-2000 Owen Taylor <otaylor@redhat.com> Fix problem where signals with "_" in them appeared twice in the result

Sun Oct 29 02:31:03 2000 Owen Taylor <otaylor@redhat.com>

* gsignal.c (g_type_signals): Fix problem where signals
with "_" in them appeared twice in the result array.
/external/bluetooth/glib/gobject/gsignal.c
300e3bb247216fee40254822c2fb60a78a8ef21c 29-Oct-2000 Owen Taylor <otaylor@redhat.com> Add g_type_signals() - a function to list all signals for a given type.

Sun Oct 29 01:58:44 2000 Owen Taylor <otaylor@redhat.com>

* gsignal.h: Add g_type_signals() - a function to list
all signals for a given type.
/external/bluetooth/glib/gobject/gsignal.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/gsignal.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/gsignal.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/gsignal.c