2007-01-04 Matthias Clasen * === Released 2.12.7 === * tests/keyfile-test.c: Remove some debug leftovers. * NEWS: Updates 2007-01-03 Behdad Esfahbod * glib/goption.c (_g_unichar_get_width), (_g_utf8_strwidth), (calculate_max_length), (print_entry), (print_help): Take double-width chars into consideration when computing width of a string. Also fix another bug in width computation. (#346955) 2007-01-03 Behdad Esfahbod * glib/gutils.h: Fix bug in g_bit_nth_lsf (#371631) and use __builtin_clzl for g_bit_storage if available (#371670). * tests/Makefile.am: * tests/bit-test.c: New test, to test g_bit_* operations against naive and builtin implementations. 2007-01-02 Matthias Clasen * configure.in: Avoid warnings from running libtool --config. (#391364, Loïc Minier) 2007-01-02 Matthias Clasen * glib/gbookmarkfile.c (g_bookmark_file_get_app_info): Return an error if the uri is bad. (#391370, Maciej Piechotka) 2007-01-02 Michael Natterer * configure.in * Makefile.am: remove references to build/ until a proper decision has been made what to do with it. 2007-01-01 Matthias Clasen * glib-gettextize.in: Silence autoconf warnings about datarootdir. (#391367, Loïc Minier) 2007-01-01 Matthias Clasen * glib/gkeyfile.c: Convert the recently added stricter keyfile syntax checks into critical warnings, to help apps which do bad things with key files. Note that the stricter checks will remain in place for 2.14. (#390532, Loïc Minier) * tests/keyfile-test.c: Adapt 2006-12-31 Matthias Clasen * glib/gslice.c: Fix some C99isms. (#390913, Kazuki Iwamoto) Fri Dec 29 13:28:07 2006 Tim Janik * glib/gslice.c: turned detection of too late g_thread_init() calls into a warning. this is a temporary work-around for some head-room to fix affected programs, memory corruption still occours regardless. 2006-12-29 Matthias Clasen * tests/gobject/Makefile.am: * tests/gobject/dynamictype.c: New test for dynamic type registration macros. Thu Dec 28 21:14:45 2006 Tim Janik * glib/gslice.c: removed pthread-dependant debugging bits, the code was already converted to GMutex. this obsoletes Tor's recent fixups. 2006-12-28 Tor Lillqvist * glib/gutils.h (G_WIN32_DLLMAIN_FOR_DLL_NAME) * glib/gutils.c (get_windows_directory_root): : Use only the wide character API here, too. * glib/gslice.c: Make it compile on Win32 without pthreads: Use a Win32 critical section instead. * glib/gmessages.c (g_logv): On Win32, if we get a fatal error message while being debugged we break into the debugger with G_BREAKPOINT(). Don't call abort() if the user is foolhardy enough to continue after the breakpoint. The user presumably knows what he is doing and deserves what he gets. (#376645, Andreas Köhler) Thu Dec 28 12:50:31 2006 Tim Janik * 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. 2006-12-27 Matthias Clasen * configure.in: Use AC_CACHE_CHECK for the nl_langinfo check. (#304517, Lőrinczy Zsigmond) 2006-12-27 Matthias Clasen * glib/gunicollate.c (g_utf8_collate_key): Don't modify the current locale. (#389300) 2006-12-24 Matthias Clasen * tests/run-collate-tests.sh: * tests/unicode-collate.c: Silently skip tests if we can't set LC_COLLATE to en_US. (#336438)