History log of /external/bluetooth/glib/glib/gslice.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e0aa9d8a6135d404fe1ff60ba6858599e85edf98 05-May-2008 Michael Natterer <mitch@imendio.com> #define __GLIB_H_INSIDE__ around including everything.

2008-05-05 Michael Natterer <mitch@imendio.com>

* glib/glib.h: #define __GLIB_H_INSIDE__ around including
everything.

* glib/*.h: check for that define instead of __G_LIB_H__ if
G_DISABLE_SINGLE_INCLUDES is defined.

* glib/gdatasetprivate.h: #include <glib.h> instead of
<glib/gdataset.h>


svn path=/trunk/; revision=6875
/external/bluetooth/glib/glib/gslice.h
74487a8805ad9bbd9f38aaa64f43ed79b15c420f 10-Apr-2008 Mathias Hasselmann <hasselmm@src.gnome.org> Bug 519137 – g_slice_dup macro needs cast for 64-bit platform

* glib/gslice.h (g_slice_copy): Apply type casts needed
for proper compilation on 64-bit platforms.

svn path=/trunk/; revision=6848
/external/bluetooth/glib/glib/gslice.h
2af49e60a13b8d2a7aba47cd6af70217d0e263e5 31-Mar-2008 Matthias Clasen <mclasen@redhat.com> Add macros wrapping the gcc alloc_size function attribute. (#523019,

2008-03-30 Matthias Clasen <mclasen@redhat.com>

* glib/gmacros.h: Add macros wrapping the gcc alloc_size
function attribute. (#523019, Rodrigo Moya)

* glib/gmem.h:
* glib/gslice.h:
* glib/gstrfuncs.h: Use the new attribute where appropriate.



svn path=/trunk/; revision=6781
/external/bluetooth/glib/glib/gslice.h
f4bb21aa1d405fd11043a03e0962358eb0f42a5e 14-Mar-2008 Michael Natterer <mitch@imendio.com> make it possible to disable single-file includes by defining

2008-03-14 Michael Natterer <mitch@imendio.com>

* glib/*.h: make it possible to disable single-file includes by
defining G_DISABLE_SINGLE_INCLUDES when building against GLib.
Approved by Tim Janik.

* glib/glib.h: include <glib/gslice.h>.

* glib/gi18n.h
* glib/gi18n-lib.h
* glib/gprintf.h: include <glib.h> so the above works when these
files are included without including <glib.h> first.


svn path=/trunk/; revision=6713
/external/bluetooth/glib/glib/gslice.h
8a442ede823c0e92ebca81bb26a2bb1e44b2df3d 24-Aug-2007 Michael Natterer <mitch@imendio.com> make g_slice_copy() take a gconstpointer instead of a gpointer.

2007-08-24 Michael Natterer <mitch@imendio.com>

* glib/gslice.[ch]: make g_slice_copy() take a gconstpointer
instead of a gpointer.


svn path=/trunk/; revision=5720
/external/bluetooth/glib/glib/gslice.h
57336cec3fa3d8894750b6767147eced975c32e1 13-Jun-2007 Sven Neumann <sven@gimp.org> glib/gslice.[ch] added g_slice_copy() and g_slice_dup() (#442029).

2007-06-13 Sven Neumann <sven@gimp.org>

* glib/gslice.[ch] added g_slice_copy() and g_slice_dup()
(#442029).

* glib/glib.symbols: updated.


svn path=/trunk/; revision=5554
/external/bluetooth/glib/glib/gslice.h
a061009f52ffd636f3cd0cb142defde0b397572d 15-May-2007 Matthias Clasen <mclasen@redhat.com> Make g_slice_debug_tree_statistics() debug-only functionality again.

2007-05-14 Matthias Clasen <mclasen@redhat.com>

* glib/gslice.h:
* glib/gslice.c:
* glib/glib.symbols: Make g_slice_debug_tree_statistics()
debug-only functionality again.


svn path=/trunk/; revision=5492
/external/bluetooth/glib/glib/gslice.h
6a6d92a218f388dcd5056dd2f89c1657560e0558 30-Jan-2007 Matthias Clasen <mclasen@redhat.com> Don't make ABI depend on G_ENABLE_DEBUG, just add an empty

2007-01-30 Matthias Clasen <mclasen@redhat.com>

* glib/glib.symbols:
* glib/gslice.h:
* glib/gslice.c: Don't make ABI depend on G_ENABLE_DEBUG,
just add an empty g_slice_debug_tree_statistics () implementation
in the !G_ENABLE_DEBUG case.



svn path=/trunk/; revision=5318
/external/bluetooth/glib/glib/gslice.h
1bd89934513921526da2d9e6463faeda8e4d76a7 28-Dec-2006 Tim Janik <timj@imendio.com> implemented static debugging hash-tree to validate slice adresses and

Thu Dec 28 12:50:31 2006 Tim Janik <timj@imendio.com>

* glib/gslice.h, glib/gslice.c: implemented static debugging
hash-tree to validate slice adresses and sizes with G_SLICE=debug-blocks.
use abort() to exit in mem_error() to allow catching of these in gdb.
abort programs with a descriptive error message if g_thread_init() is
called after GSlice was in use. previously this just silently corrupted
the magazines.

* glib/ghash.c (struct _GHashNode): reordered fields to keep 8-byte
pointer alignment on 64bit systems and request smaller slice sizes
on 32bit systems.

* tests/slice-test.c: support '~' option flag to introduce slice
allocation/release corruption with a significant probability. this
allowes testing of G_SLICE=debug-blocks.
/external/bluetooth/glib/glib/gslice.h
3f9d65375e46a49e3be7bf1ca7533b3a9ac310b4 20-Dec-2005 Tim Janik <timj@imendio.com> added mem_error() and mem_assert() to test and handle errors without

Tue Dec 20 18:14:14 2005 Tim Janik <timj@imendio.com>

* glib/gslice.[hc]: added mem_error() and mem_assert() to test and
handle errors without depending on gmessage.c which might not be
setup when the error occours.
removed G_SLICE_CONFIG_ALWAYS_FREE config option, fixed the code so
always freeing can be achieved by adjusting the working set time to
0 with G_SLICE_CONFIG_WORKING_SET_MSECS.
added G_SLICE_CONFIG_COLOR_INCREMENT to test different color increments
(mainly 0 and 1). reduced the minimum block size to 128 bytes, to
minimize wastage if small amounts of differently sized structrues are
allocated, this does come at a performance cost of roughly 5% though.
fixed up block alignment calculation, so it works for varying
block sizes. only use strerror() not g_strerror() since the latter
depends on working GQuark and GSlice.
mem_error(): implemented in terms of fprintf and vfprintf.

* tests/slice-color.c: new program to test cache colorization effects.

* tests/slice-test.c: trade G_SLICE_CONFIG_ALWAYS_FREE for 0 duration
G_SLICE_CONFIG_WORKING_SET_MSECS.
/external/bluetooth/glib/glib/gslice.h
6ed79b115c311323be086e2581650c33366c6f37 05-Dec-2005 Tim Janik <timj@imendio.com> implement chain walking for arbitrary ->next pointer offsets in

Mon Dec 5 15:53:20 2005 Tim Janik <timj@imendio.com>

* glib/gslice.c: implement chain walking for arbitrary ->next pointer
offsets in g_slice_free_chain_with_offset() based on a patch by behdad
in bug 323178. moved time consuming logic from g_slice_free() out of
the inner loop, so g_slice_free_chain_with_offset() provides a real
performance benefit over g_slice_free1() now.

* glib/gslice.h: renamed g_slice_free_chain() to
g_slice_free_chain_with_offset(). implemented g_slice_free_chain() as
a type-safe macro as suggested in bug 323178.
simplified the macro implementation of g_slice_free() and implemented
it in a type safe manner for all compliers as suggested by Morten
Welinder <mortenw@gnome.org>.

* glib/gmain.c:
* glib/glist.c:
* glib/gslist.c:
* glib/glib.symbols: s/g_slice_free_chain/g_slice_free_chain_with_offset/
/external/bluetooth/glib/glib/gslice.h
9200814d86ce8d179cff631ad92272352b8243bf 05-Dec-2005 Behdad Esfahbod <behdad@gnome.org> Remove comma at the end of enum.

2005-12-04 Behdad Esfahbod <behdad@gnome.org>

* glib/gslice.h: Remove comma at the end of enum.
/external/bluetooth/glib/glib/gslice.h
605fc3d4808365c96f397ced1cf9a8206290b82b 02-Dec-2005 Tim Janik <timj@gtk.org> reworked GCC-specific type-safe macro variant into something less verbose,

Fri Dec 2 13:08:58 2005 Tim Janik <timj@gtk.org>

* glib/gslice.h (g_slice_free): reworked GCC-specific type-safe macro
variant into something less verbose, but digestible for gcc-3.4.
/external/bluetooth/glib/glib/gslice.h
733b1789c17ab4c6378ce0e9594f62dda1473ebb 01-Dec-2005 Tim Janik <timj@imendio.com> new slice allocator implementation.

Thu Dec 1 17:32:46 2005 Tim Janik <timj@imendio.com>

* glib/gslice.[hc]: new slice allocator implementation.

* tests/slice-test.c: added random slice allocation test.

* glib/gthread.[hc]: removed newly added private thread mem API.

* glib/gthreadinit.h:
* glib/gmessages.c:
* glib/gthread.c:
* glib/gmem.c: divided glib threading initialisation into three phases,
initialisation where private keys and messaging are not available (only
needed by gmem.c), initialisation without messaging but private keys
available (gslice.c, gmessage.c), and full fledged initialisers that
server the rest of glib. initialisation functions got renamed to reflect
the limitations of their corresponding phases.

* glib/gmem.c: removed memchunk code, defer allocations to
g_slice_* instead.

* glib/gmem.[hc]: removed g_slice_* skeletons.

* glib/glib.symbols: added g_slice_* symbols.

* configure.in: check for availability of posix_memalign(3), memalign(3)
and valloc(3).

* glib/Makefile.am: added gslice.[hc].
/external/bluetooth/glib/glib/gslice.h