2005-07-15 Matthias Clasen * === Released 2.7.3 === 2005-07-15 Matthias Clasen * tests/Makefile.am (SUBDIRS): Add tests/refcount * configure.in: Add tests/refcount * tests/refcount/properties.c: Test property changes from multiple threads. * tests/refcount/signals.c: Test signal emission from multiple threads. * tests/refcount/objects.c: Test refcounting from multiple threads. * tests/refcount/objects2.c: * tests/refcount/properties2.c: Tests to measure the overhead of threadsafe refcounting. * glib/giochannel.c (g_io_channel_ref, g_io_channel_unref): Use atomic operations to make refcounting threadsafe. (#166020, Wim Taymans) * NEWS: Updates 2005-07-14 Matthias Clasen * tests/spawn-test.c: * tests/uri-test.c: * tests/thread-test.c: * tests/queue-test.c: * tests/mainloop-test.c: * tests/iochannel-test.c: * tests/gio-test.c: * tests/child-test.c: Make the tests silent on success. 2005-07-13 Matthias Clasen * glib/gfileutils.c (g_mkdir_with_parents): Fix a typo. (#310243, Richard Laager) * glib/goption.c (g_option_group_add_entries): Warn if a short name is not acceptable. 2005-07-12 Matthias Clasen * glib/goption.h (G_OPTION_FLAG_NOALIAS): * glib/goption.c: Add and implement a new flag to turn off the automatic - prefixing for conflict resolution of long option names. (#171840, Adam McLaurin) All optional callback arguments (#308886, Pawel Sliwowski) * glib/goption.h (G_OPTION_FLAG_OPTIONAL_ARG): * glib/goption.c: Add and implement a new flag to indicate that a callback *optionally* takes another argument. * tests/option-test.c: Add tests for optional arguments. 2005-07-12 Matthias Clasen * glib/gthread.c (g_static_rec_mutex_lock_full): Don't lock if depth is zero. (#310148, Wim Taymans) 2005-07-10 Matthias Clasen * glib/gutils.c (g_listenv): Ignore anomalous environment entries which are not of the form variable=value. (#309859, Morten Welinder) 2005-07-09 Tor Lillqvist * glib/giowin32.c: Totally rewritten socket channel implementation. See discussion in bug #147392. * configure.in: Don't use autoconf variables for the resource object files on Win32 any longer. Instead handle that in the Makefile.am files. Check for windres. * glibconfig.h.win32.in: Minor tuning to match the configure-produced glibconfig.h closely. * glib/Makefile.am: Don't use the scripts in build/win32 to compile glib.rc into a resource object file. (This means we lose the build number increment magic, but I doubt it was that useful anyway.) Instead use windres directly. To pass the normal .o file produced by windres through libtool, which wants .lo files, pass it directly to the linker using a -Wl option. * glib/glib.rc.in: Thus replace BUILDNUMBER with 0.