2008-07-02 Matthias Clasen * === Released 2.17.3 === 2008-07-02 Matthias Clasen * configure.in: Better endianness fix. From Tomas Mraz. 2008-07-02 Matthias Clasen * NEWS: Updates 2008-07-02 Colin Walters * gio/gcontenttype.c: Use UNLOCK to unlock, not LOCK. 2008-07-02 Matthias Clasen * configure.in: Add a check for structfs.f_bavail 2008-07-02 Matthias Clasen * glib/gmain.c (g_get_current_time): Add a g_return_val_if_fail check in both versions. Proposed by Patrik Olsson in bug 540545. 2008-07-02 Matthias Clasen * configure.in: Workaround AC_C_BIGENDIAN breakage in autoconf 2.61. Add a _cv_ to some variable names, since autoconf wants it. 2008-06-30 Matthias Clasen * glib/pcre/pcre_compile.c: Apply fix for CVE-2008-2371 to fix a heap-based buffer overflow. 2008-06-29 Björn Lindqvist Bug 539626 – Update docstrings for g_object_freeze_notify and g_object_thaw_notify * gobject/gobject.c: Explain how the freeze count works. 2008-06-26 Cody Russell * configure.in: Add #define GLIB_USING_SYSTEM_PRINTF to glibconfig.h, which specifies if GLib is using the system printf functions for g_print*(). (#539999, by Tim-Philipp Müller) 2008-06-24 Paolo Borelli Bug 539770 - migrate gstrfunc unit tests to gtest * tests/strfunc-test.c: * tests/testglib.c: * tests/strtoll-test.c: * tests/strtod-test.c: * tests/string-test.c: * tests/Makefile.am: Removed old tests. * glib/tests/fileutils.c: * glib/tests/strfuncs.c: * glib/tests/Makefile.am: Added all the old tests migrated to the new unit test framework and add new unit tests for some of the functions. 2008-06-23 Kristian Rietveld * gobject/glib-mkenums.in: introduce an ENUMPREFIX substitution. * gio/gioenumtypes.h.template: use @ENUMPREFIX@ instead of hard coding "G" as prefix. 2008-06-22 Stefan Kost * glib/gurifuncs.c: Fix markup in comment. 2008-06-21 Johan Dahlin * *.[ch]: Include "config.h" instead of Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include /#include "config.h"/g' Rubberstamped by Mitch 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-16 Christian Persch Bug 539123 – annotate g_d[n]gettext with G_GNUC_FORMAT * glib/gstrfuncs.h: * glib/glib.symbols: Annotate some functions with G_GNUC_FORMAT. 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-19 Matthias Clasen Bug 535949 – annotate g_strip_context and g_dpgettext with G_GNUC_FORMAT * glib/gstrfuncs.h: * glib/glib.symbols: Annotate some functions with G_GNUC_FORMAT. Patch by Christian Persch 2008-06-19 Matthias Clasen Bug 539067 – The document g_io_channel_win32_new_fd() says that "Your code should call only g_io_channel_read()." but gio_channel_read() is deprecated * glib/giochannel.h: Fix a reference in a comment Patch by Hiroyuki Ikezoe 2008-06-18 Matthias Clasen Bug 537635 – Corrections and improvements to g_time_val_from_iso8601()/g_time_val_to_iso8601() * glib/gtimer.c (g_time_val_from_iso8601): set tv_usec to 0 rather than 1 when a fraction of a second is not specified (g_time_val_from_iso8601): calculate a fraction of a second correctly even in case it does not happen to consist of exactly six digits; do not allow random data after the ISO 8601 string, only whitespace (make g_time_val_to_iso8601): support fractions of a second Patch by Peter Kjellerstedt * tests/testglib.c: Update to match 2008-06-16 Christian Persch * glib/gbookmarkfile.c * glib/gconvert.c * glib/gfileutils.c * glib/giochannel.c * glib/giounix.c * glib/giowin32.c * glib/gkeyfile.c * glib/gregex.c * glib/gshell.c * glib/gspawn-win32.c * glib/gutf8.c: Use g_set_error_literal where appropriate. Patch from bug #535947. 2008-06-16 Christian Persch * docs/reference/glib/glib-sections.txt: * glib/gerror.c: * glib/gerror.h: * glib/glib.symbols: Add g_set_error_literal. Bug #535947. 2008-06-16 Michael Natterer * glib/goption.c (dgettext_swapped): changed return value to const gchar* to fix warning. 2008-06-14 Matthias Clasen * glib/gtestutils.c: Move docs around * glib/gchecksum.h: Add docs. 2008-06-13 Matthias Clasen 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-13 Hans Breuer * glib/gstrfuncs.c : to get the default translation target on win32 use g_win32_get_locale() instead of setlocale(LS_MESSAGES,NULL) Fixes bug #538044 * glib/makefile.msc.in gio/makefile.msc : updated