2006-01-27 Matthias Clasen * === Released 2.9.5 === * glib/glib.symbols: Add g_mem_gc_friendly as an exported variable. * NEWS: Updates 2006-01-26 Matthias Clasen * glib/gmem.c (g_mem_init_nomessage): Fix C99isms. (#328705, Kazuki Iwamoto) Wed Jan 25 19:16:57 2006 Tim Janik * fixed buglets reported by Jens Granseuer in #328254. * configure.in: free the memory allocated in posix_memalign() tests. * glib/gslice.c: spelling fixes. Wed Jan 25 16:39:18 2006 Tim Janik * 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. Tue Jan 24 17:49:36 2006 Tim Janik * glib/gslice.c: only use posix_memalign() if it's known to work, revert to memalign() otherwise. * configure.in: check for broken posix_memalign() implementations to fix #328254. 2006-01-24 Matthias Clasen * tests/unicode-encoding.c: Use UTF-16LE as target encoding on all little-endian systems. (#143380, Marc Moorcroft) 2006-01-23 Matthias Clasen * configure.in: Change the shared libary extension for hpux-ia64 to so. (#328253, The Written Word) Mon Jan 23 17:30:33 2006 Tim Janik * glib/gutils.c (_g_getenv_nomalloc): wiped out all the wonderfull G_OS_WIN32 code i wrote ;-[) after tml told me windows has getenv() as well. Mon Jan 23 16:46:20 2006 Tim Janik * glib/gslice.c (slice_config_init): initialize GSlice config from G_SLICE environment variable. we support G_SLICE=always-malloc currently, which forces all g_slice_*() allocations to use the system malloc instead. * glib/gutils.c: g_parse_debug_string(): added a note about not using g_malloc() here. _g_getenv_nomalloc(): getenv() variant that doesn't use g_malloc or g_slice. contains only guesswork in the WIN32 branch.