2008-07-21 Matthias Clasen * === Released 2.17.4 === * configure.in: Bump version * NEWS: Updates 2008-07-21 Emmanuele Bassi * glib/gtimer.c (g_time_val_to_iso8601): Use the right format string to get leading zeros when converting to ISO 8601. (Sven Herzberg) 2008-07-21 Emmanuele Bassi * glib/gbookmarkfile.c: (bookmark_app_info_new): Do not set the timestamp value using time(), as it will be overwritten anyway. (#535223, Michael Meeks) (parse_application_element), (bookmark_app_info_dump): Support the "modified" attribute, which takes an ISO-formatted string instead of a Unix time stamp, to keep the number of g_strdup_printf() calls to a minimum. * glib/gtimer.c: (g_time_val_to_iso8601): Do not use strftime(): we know the format and contents of the ISO 8601 date format we use. * tests/bookmarks/valid-03.xbel: Add a test file for the modified attribute. 2008-07-19 Matthias Clasen * glib/tests/Makefile.am: * glib/tests/array-test.c: Move array tests here. * tests/Makefile.am: * tests/array-test.c: Removed. 2008-07-20 Tor Lillqvist * glib/giowin32.c (g_io_win32_prepare): Patch from Yu Kuan that makes watched sockets behave much better. See gtk-devel-list archives from May for the (unfortunately rather meager) discussion. This patch fixes the presented simple test program, which reasonably could be expected to work. 2008-07-18 Matthias Clasen * NEWS: Updates 2008-07-18 Matthias Clasen Bug 536996 – Missing noop i18n macro equivalent to C_ * glib/glib.symbols: * glib/gstrfuncs.[hc]: Add g_dpgettext2() which is a variant of g_dpgettext() taking context and id as separate arguments. * glib/gi18n-lib.h: * glib/gi18n.h: Add an NC_() macro that is to C_() as N_() is to _(). 2008-07-18 Matthias Clasen * tests/Makefile.am: * tests/keyfile-test.c: * tests/option-test.c: Remove * glib/tests/option-context.c: Add all GOptionContext tests here. * glib/tests/keyfile.c: Add all GKeyFile tests here. 2008-07-16 Matthias Clasen Bug 334234 – "printf" format error * glib/gslice.c (mem_error): Avoid a warning when printing a pid_t. Pointed out by Morten Welinder. 2008-07-16 Matthias Clasen Bug 406120 – g_ascii_strtod * glib/gstrfuncs.c (g_ascii_strtod): Document that this function does accept localized infinities and nans. Reported by Morten Welinder. 2008-07-16 Matthias Clasen Bug 482413 - get_contents_stdio -- overflow and memory corruption * glib/gfileutils.c (get_contents_stdio): Detect overflow and error out. Reported by Morten Welinder. 2008-07-16 Matthias Clasen Bug 542332 – small fix for error message in GMarkup * glib/gmarkup.c: Improve an error message. Patch by Ryan Lortie 2008-07-14 Matthias Clasen Bug 428048 – 2 of 51 tests fail on Solaris * tests/iochannel-test.c: Ignore the error if iconv doesn't support EUC-JP. 2008-07-14 Matthias Clasen * tests/option-test.c: Print error messages when something fails. 2008-07-14 Matthias Clasen Bug 467707 – test_iconv_state() in tests/convert-test.c fails on AIX 5.3 * tests/convert-test.c (test_iconv_state): Skip this test if CP1255 is not supported. 2008-07-10 Ryan Lortie * docs/reference/glib/glib-sections.txt: * glib/glib.symbols: * glib/gmarkup.c: * glib/gmarkup.h: add functions g_markup_parse_context_{push,pop} in order to provide some small hooks on which to build easy-to-use subparsers. * glib/tests/Makefile: add new test * glib/tests/markup-subparser.c: new test for subparsers Fixes bug #337518. 2008-07-05 Matthias Clasen Bug 528317 – GRegex does not allow recursion limit * glib/pcre/Makefile.am: Set a sane default recursion limit of 8192 instead of 1000000. Patch by Mart Raudsepp. 2008-07-04 Behdad Esfahbod Bug 541507 – Ambiguous description of assigned characters in the Glib Unicode Manipulation reference * glib/guniprop.c (g_unichar_isgraph): Return true for PrivateUse too. (g_unichar_isprint): Return true for PrivateUse too. (g_unichar_isdefined): Return false for Surrogate. 2008-07-04 Michael Natterer Bug 541208 – Functions to easily install and use signals without class struct slot * tests/gobject/override.c: added tests for the new gsignal overriding and chaining APIs.