2008-07-01 Matthias Clasen * === Released 2.16.4 === 2008-07-01 Matthias Clasen * NEWS: Updates 2008-05-20 Behdad Esfahbod Bug 459905 – Bug in wcwidth data Bug 534085 – g_unichar_iswide_cjk() has a totally wrong table * glib/guniprop.c (g_unichar_iswide), (g_unichar_iswide_cjk): Regenrate wide and wide_cjk tables from Unicode 5.1.0 data directly. Not using Markus Kuhn's tables anymore. 2008-07-01 Matthias Clasen * NEWS: Updates 2008-06-30 Matthias Clasen Backport from trunk: * glib/pcre/pcre_compile.c: Apply fix for CVE-2008-2371 to fix a heap-based buffer overflow. 2008-06-30 Matthias Clasen * glib/pcre/*: Update to PCRE 7.7 2008-06-30 Matthias Clasen Backport from trunk: Bug 538119 – glib's mainloop leaks a pipe to sub-processes * glib/gmain.c (g_main_context_init_pipe): Don't leak the pipes to child processes. Patch by Thiago Macieira. 2008-06-30 Matthias Clasen Backport from trunk: Bug 502511 – g_assert_cmphex prints invalid message * glib/gtestutils.c (g_assertion_message_cmpnum): Actually print hex numbers in hex. Pointed out by Tor Lillqvist 2008-06-30 Matthias Clasen Backport from trunk: Bug 314453 – Nautilus crashes in Solaris when browsing the attached file * glib/gunicollate.c (g_utf8_collate_key): Handle strfxrm returning -1 a little better. Problem pointed out by Takao Fujiwara 2008-06-30 Matthias Clasen Backport from trunk: Bug 529321 – make check fails in glib/pcre * glib/pcre/Makefile.am: include Makefile.decl to fix 'make check'. Patch by Hiroyuki Ikezoe 2008-06-30 Matthias Clasen Backport from trunk: Bug 536158 – also bump GHashTable version when a node is removed via g_hash_table_iter_remove()/g_hash_table_iter_steal() * glib/ghash.c (iter_remove_or_steal): Bump the hash table version. Patch by Jean-Yves Lefort 2008-06-30 Matthias Clasen Backport from trunk: 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. 2008-06-20 Sebastian Dröge Bug 316221 - G_LOCK warns about breaking strict-aliasing rules * configure.in: * glib/gthread.h: Revert previous patch as it doesn't improve the situation and results in other warnings. 2008-06-19 Tor Lillqvist Bug 539074 - Cannot get exit status with g_spawn_command_line_sync() * glib/gspawn-win32-helper.c (main): Write also the exit status of the spawned process to the error report pipe. Patch by Hiroyuki Ikezoe. 2008-06-07 Tor Lillqvist * glib/gstdio.c (g_access): Define X_OK if necessary (MSVC). 2008-05-30 Tor Lillqvist * glib/gstdio.c (g_access) [Win32]: Mask out X_OK to avoid problem on Vista. X_OK was just ignored by access() in earlier Microsoft C libraries. (Which is fine as executability has little meaning on Windows.) The one on Vista returns an error if X_OK is passed. 2008-05-29 Tor Lillqvist * glib/gnulib/printf-args.c (printf_fetchargs): wint_t is short on Windows, and gcc warns: "wint_t is promoted to int when passed through ... (so you should pass int not wint_t to va_arg)." And indeed g_print("%C", L'a') crashes. So do as gcc says then. 2008-05-17 Wouter Bolsterlee * build: Fixup Tor's "build" svn:external commit. The svn:external was not actually removed, so this caused errors when updating. 2008-05-17 Tor Lillqvist * build: Don't include the "build" module with svn:externals any longer. Instead add the still relevant directories and files from it for real here in GLib. 2008-05-14 Michael Natterer Merged from trunk: * glib/gatomic.c: #include "config.h" before using G_ATOMIC_ARM. 2008-04-21 Tor Lillqvist Bug 528752 - Win32 build and SSL not working This bug report against libsoup points out an issue with the use of bitfields in the GIOChannel struct that should really be taken care of here in GLib. * configure.in: Add Autoconf variable GLIB_EXTRA_CFLAGS which will contain the -mms-bitfields flag on Windows. * glib-2.0.pc.in: Add it to Cflags. 2008-04-11 Tor Lillqvist * configure.in * glibconfig.h.win32.in * glib/gutils.c: Revert my changes for static build for Win32 from 2008-04-03--04. They were not complete and it's not apropriate to do changes like that in the stable branch anyway. I will continue that effort in trunk. 2008-04-09 Federico Mena Quintero Merged from trunk: * glib/gbookmarkfile.c (bookmark_metadata_free): Don't leak the apps_by_name hash table if the applications list is empty.