2007-07-12 Matthias Clasen * === Released 2.13.7 === * NEWS: Updates Thu Jul 12 17:31:08 2007 Tim Janik * tests/slice-concurrent.c: beautified output somewhat. fixed long sleeps by reducing sleep accumulating and using randomized re-scheduling (which works on UP and SMP). increased possible blocksizes. Thu Jul 12 17:26:05 2007 Tim Janik * tests/slice-concurrent.c: added GSLice test from Stefan Westerfeld, bug #433314. Thu Jul 12 15:46:40 2007 Tim Janik * glib/gslice.c: migrate per-thread magazine caches from single-thread scenario to first thread using GSlice after g_thread_init(); based on a patch by Tor Lillqvist, fixes #331853. removed warning about g_thread_init() being called after other glib functions (in particular g_slice* calls), because GSlice can cope with this now and the rest of glib is believed to cope as well. * tests/slice-threadinit.c: new test program which tests GSlice working across g_thread_init() calls. 2007-07-10 Matthias Clasen * glib/pltcheck.sh: Add g_once_init_enter to the whitelist of symbols allowed to have a local PLT entry, to fix 'make check'. Tue Jul 10 12:24:35 2007 Tim Janik * glib/gthread.[hc]: implemented g_once_init_enter(), g_once_init_enter_impl() and g_once_init_leave(), based on a patch by Antoine Tremblay, fixes #65041. adapted exported inline function mechanism from gutils.[hc] for inlining g_once_init_enter_impl() in gthread.[hc]. 2007-07-09 Matthias Clasen * NEWS: Updates 2007-07-09 Loïc Minier * tests/refcount/closures.c: (main): Output newlines after thousand iterations of the inner-loop of the closures test; this helps having smaller lines and continuously outputting new lines. (#447048). 2007-07-09 Ryan Lortie * glib/gfileutils.c (write_to_temp_file): save errno to prevent it being clobbered by call to g_filename_display_name(). Bug #453796. 2007-07-09 Matthias Clasen * m4macros/glib-gettext.m4: Fix a small problem with msgfmt -c detection. (#341988, Laszlo Peter) 2007-07-07 Matthias Clasen * glib/gmarkup.c (g_markup_parse_context_end_parse): Handle all states. (#454473) 2007-07-06 Tor Lillqvist * glib/giowin32.c (g_io_win32_check): When WSAEnumNetworkEvents() signals FD_CONNECT that means that the connection attempt finished, either successfully or failed. Test explicitly whether the connnection succeeded and set either G_IO_OUT if it did, G_IO_ERR|G_IO_HUP if it failed. Make sure we never set both G_IO_OUT and G_IO_HUP simultaneously because in Unix poll(2) POLLOUT and POLLHUP are mutually exclusive. Ignore whether the caller wants to watch G_IO_HUP or not. Always select for FD_CLOSE because Unix poll(2) also ignores whether POLLHUP in set the requested events bitmask or not.