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/gmem.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/gmem.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/gmem.h
|
1fcaf2fe8d5118451e5d9da3347f711b623d504d |
|
29-Jan-2008 |
14:58:31 Tim Janik <timj@imendio.com> |
changed size argument type from gulong to gsize as discussed on 2008-01-29 14:58:31 Tim Janik <timj@imendio.com> * glib/gmem.[hc]: changed size argument type from gulong to gsize as discussed on gtk-devel-list: http://mail.gnome.org/archives/gtk-devel-list/2007-March/msg00062.html this should be ABI compatible on all platforms except win64 for which no ABI binding port exists yet. svn path=/trunk/; revision=6413
/external/bluetooth/glib/glib/gmem.h
|
eda944bca5d621ea3daec19abf6c7813b266927a |
|
25-Jan-2006 |
Tim Janik <timj@imendio.com> |
honour g_mem_gc_friendly settings when freeing slices, make sure Wed Jan 25 16:39:18 2006 Tim Janik <timj@imendio.com> * glib/gslice.c: honour g_mem_gc_friendly settings when freeing slices, make sure g_mem_gc_friendly is properly initialized. * gmem.[hc]: ensure g_mem_gc_friendly is initialized from G_DEBUG upon the first allocation. applied some branching optimizations. * docs/macros.txt: reflected --enable-gc-friendly change and described ENABLE_GC_FRIENDLY_DEFAULT as well as G_DEBUG=gc-friendly. * configure.in: changed --enable-gc-friendly=yes to define ENABLE_GC_FRIENDLY_DEFAULT. * glib/garray.c: changed ENABLE_GC_FRIENDLY macro #ifdef-s to if (G_UNLIKELY (g_mem_gc_friendly)). * glib/gtree.c: * glib/ghash.c: removed ENABLE_GC_FRIENDLY code which is now taken care of by g_slice_free1(). * tests/slice-test.c: fixed leaks, reported by Kjartan Maraas.
/external/bluetooth/glib/glib/gmem.h
|
d3388eb4e8e0ae28985c59e88aa676665e651953 |
|
06-Dec-2005 |
Matthias Clasen <mclasen@redhat.com> |
Exempt GTK+ from the mem chunk deprecation, since we need GTK+ 2.8 to 2005-12-06 Matthias Clasen <mclasen@redhat.com> * glib/gmem.h: Exempt GTK+ from the mem chunk deprecation, since we need GTK+ 2.8 to compile against GLib 2.10.
/external/bluetooth/glib/glib/gmem.h
|
7d5800d718f9cbd701c942e3f87d146b28fd63dc |
|
05-Dec-2005 |
Matthias Clasen <matthiasc@src.gnome.org> |
Deprecate mem chunks
/external/bluetooth/glib/glib/gmem.h
|
00f952f8e85527988a6171a7d9617af14c0ff5a2 |
|
04-Dec-2005 |
Matthias Clasen <mclasen@redhat.com> |
Add a macro to make gcc warn if a function result is ignored. (#145466, 2005-12-04 Matthias Clasen <mclasen@redhat.com> * glib/gmacros.h (G_GNUC_WARN_UNUSED_RESULT): Add a macro to make gcc warn if a function result is ignored. (#145466, Arjan van de Ven, Alex Larsson) * glib/gmem.h: Add the new attribute to g_realloc and g_try_realloc.
/external/bluetooth/glib/glib/gmem.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/gmem.h
|
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/glib/gmem.h
|
213e90aa188006f164ce292782c1594624a40c70 |
|
22-Mar-2005 |
Matthias Clasen <mclasen@redhat.com> |
Add g_try_new, g_try_new0, g_try_renew and g_try_malloc0. (#169611, Stefan 2005-03-21 Matthias Clasen <mclasen@redhat.com> * glib/gmem.h: Add g_try_new, g_try_new0, g_try_renew and g_try_malloc0. (#169611, Stefan Kost) * glib/gmem.c: Implement g_try_malloc0.
/external/bluetooth/glib/glib/gmem.h
|
103fe49b8e410b5fee4144722f43f5bae4936fd1 |
|
22-Mar-2005 |
Matthias Clasen <mclasen@redhat.com> |
Add g_try_new, g_try_new0 and g_try_renew. (#169611, Stefan Kost) 2005-03-21 Matthias Clasen <mclasen@redhat.com> * glib/gmem.h: Add g_try_new, g_try_new0 and g_try_renew. (#169611, Stefan Kost)
/external/bluetooth/glib/glib/gmem.h
|
379e87466d0896050e2dec1db5fc1c71393b08a1 |
|
28-Nov-2004 |
Matthias Clasen <mclasen@redhat.com> |
Mark functions with G_GNUC_MALLOC when appropriate. 2004-11-28 Matthias Clasen <mclasen@redhat.com> * glib/gconvert.h: * glib/gkeyfile.h: * glib/gmem.h: * glib/gstrfuncs.h: * glib/gunicode.h: * glib/gutils.h: Mark functions with G_GNUC_MALLOC when appropriate. * glib/glib.symbols: Add G_GNUC_MALLOC annotations. * glib/gmacros.h (G_GNUC_MALLOC): Add a macro for __attribute__((__malloc__)). (#61780)
/external/bluetooth/glib/glib/gmem.h
|
7802271bf026627f983c5b95714a67cc1a700860 |
|
06-Feb-2003 |
Matthias Clasen <maclas@gmx.de> |
Fix a bunch of typos in header comments. (#102422, Morten Welinder) 2003-02-06 Matthias Clasen <maclas@gmx.de> * glib/gmessages.h: * glib/gmem.h: * glib/ghash.h: * glib/gasyncqueue.h: * glib/garray.h: * glib/ghook.h: * glib/gtypes.h: Fix a bunch of typos in header comments. (#102422, Morten Welinder)
/external/bluetooth/glib/glib/gmem.h
|
5f349db0c9858d4f671e0f1209490d95465ca364 |
|
13-Jan-2003 |
Thomas Vander Stichele <thomasvs@src.gnome.org> |
doc update
/external/bluetooth/glib/glib/gmem.h
|
5277fd1e249f269736973ba20d0dd992608c1dd4 |
|
21-Sep-2001 |
Owen Taylor <otaylor@redhat.com> |
Rename g_mem_vtable_is_set() to g_mem_is_system_malloc(). Thu Sep 20 20:33:45 2001 Owen Taylor <otaylor@redhat.com> * Rename g_mem_vtable_is_set() to g_mem_is_system_malloc().
/external/bluetooth/glib/glib/gmem.h
|
5c12c0acf1cb7330f7959d0c765c520850a3aafa |
|
19-Sep-2001 |
Owen Taylor <otaylor@redhat.com> |
Patch from Matthias Clasen (#59806) Wed Sep 19 14:17:31 2001 Owen Taylor <otaylor@redhat.com> Patch from Matthias Clasen (#59806) * configure.in: Check for vasprintf(). * glib/gmem.[ch]: Add g_mem_vtable_is_set() to be used for efficiency hacks to avoid extra copies when not needed. * glib/gstrfuncs.c: Use vasprintf() to implement g_strdup_printf() when available. * glib/gmessages.c (g_logv): Avoid using printf_string_upper_bound() when we have have vsnprintf. * glib/gmessages.c (printf_string_upper_bound): Don't segfault when warning about positional parameters.
/external/bluetooth/glib/glib/gmem.h
|
2fd6b001fb431c274ad6808912ec5fbe831afbef |
|
26-Jun-2001 |
Owen Taylor <otaylor@redhat.com> |
Move glib library into a subdirectory, make all GLib include files include Tue Jun 26 11:43:46 2001 Owen Taylor <otaylor@redhat.com> * configure.in Makefile.am *.[ch] glib/*.[ch] glib/Makefile.am: Move glib library into a subdirectory, make all GLib include files include as <glib/glist.h> * tests/testglib.c tests/testgdate.c tests/testgdateparser.c tests/timeloop.c tests/timeloop-basic.c: Move all tests into the tests/ subdirectory.
/external/bluetooth/glib/glib/gmem.h
|
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/glib/gmem.h
|
aed994f71413ed23f2c553e0723d2358c05ffef5 |
|
10-Feb-2001 |
Tor Lillqvist <tml@iki.fi> |
gtypes.h Move GLIB_VAR definition from gutils.h to gtypes.h 2001-02-10 Tor Lillqvist <tml@iki.fi> * gtypes.h * gutils.h: Move GLIB_VAR definition from gutils.h to gtypes.h * glib.def * gmem.h: Mark glib_mem_profiler_table for export.
/external/bluetooth/glib/glib/gmem.h
|
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/glib/gmem.h
|
b1d15587479deaacb9bd983fd28c6f3d3e27142e |
|
12-Oct-2000 |
Sebastian Wilhelmi <wilhelmi@ira.uka.de> |
Split glib.h into many header files mostly according to the resp. 2000-10-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib.h, galloca.h, garray.h, gasyncqueue.h, gbacktrace.h, gcache.h, gcompletion.h, gconvert.h, gdataset.h, gdate.h, ghash.h, ghook.h, giochannel.h, glist.h , gmacros.h, gmain.h, gmem.h, gmessages.h, gnode.h, gprimes.h, gquark.h, gqueue.h, grand.h, grel.h, gscanner.h, gslist.h, gstrfuncs.h, gstring.h, gthread.h, gthreadpool.h, gtimer.h, gtree.h, gtypes.h, gutils.h: Split glib.h into many header files mostly according to the resp. *.c-files. * gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and __END_DECLS. * configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h, gunicode.h, : Changed guard-macro names to something more consistent. * configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
/external/bluetooth/glib/glib/gmem.h
|