2008-06-12 Matthias Clasen * === Released 2.17.1 === 2008-06-12 Matthias Clasen * glib/gtestutils.c: Documentation fixups 2008-06-11 Matthias Clasen * glib/glist.c: Tiny doc fix 2008-06-11 Matthias Clasen * NEWS: Updates 2008-06-11 Behdad Esfahbod Bug 503071 – Application direction changes to right to left even if theres no translation * glib/gi18n-lib.h: * glib/glib.symbols: * glib/gstrfuncs.h: * glib/gstrfuncs.c: Add new functions g_dgettext() and g_dngettext(). * glib/gutils.c (glib_gettext): * glib/gfileutils.c (g_format_size_for_display): * glib/goption.c (dgettext_swapped): Use the new functions. 2008-06-11 Matthias Clasen 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-11 Matthias Clasen Bug 338162 – [PATCH] Use po/LINGUAS * po/LINGUAS: New file * po/Makefile.in.in: Dist LINGUAS * configure.in: Use po/LINUAS Patch by Thomas Andersen 2008-06-11 Matthias Clasen 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-11 Matthias Clasen 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-11 Tor Lillqvist * glib/giowin32.c: g_win32_error_message() works fine for the Winsock WSA* error codes, too, so drop the winsock_error_message() function. 2008-06-11 Matthias Clasen Bug 455215 – g_get_user_special_dir: no reference about G_USER_DIRECTORY_DOWNLOAD fallback to $HOME/Desktop if xdg-user-dirs is not in use * glib/gutils.c (g_get_user_special_dir): Improve the docs. Proposed by Luca Ferretti 2008-06-11 Matthias Clasen Bug 498732 – g_key_file_to_data cannot fail * glib/gkeyfile.c (g_key_file_to_data): Improve the docs. Proposed by Christian Persch 2008-06-11 Ross Burton Bug 511367 - add g_file_make_directory_with_parents. * gio/gfile.c: * gio/gfile.h: * gio/gio.symbols: Add g_file_make_directory_with_parents. 2008-06-11 Sebastian Dröge Bug 531900 – Use __builtin_offsetof for G_STRUCT_OFFSET if building with gcc 4.0 or newer * glib/gmacros.h: Use __builtin_offsetof for G_STRUCT_OFFSET if building with gcc 4.0 or newer. 2008-06-11 Tor Lillqvist * glib/gmain.c * glib/gspawn.c: Clarify what a "child pid" is in the doc comments. 2008-06-10 Matthias Clasen 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-07 Tor Lillqvist * glib/gstdio.c (g_access): Define X_OK if necessary (MSVC). 2008-06-02 Yevgen Muntyan Bug 531403 – g_utf8_collate broken on Mac. * glib/gunicollate.c: (g_utf8_collate): use UCCompareTextDefault; (collate_key_to_string), (carbon_collate_key_with_collator), (carbon_collate_key), (carbon_collate_key_for_filename): new functions using Carbon API to get collate key for g_utf8_collate_key() and g_utf8_collate_key_for_filename(); (g_utf8_collate_key), (g_utf8_collate_key_for_filename): use those. 2008-05-30 Michael Natterer Bug 535628 - test/patterntest.c still includes gpattern.h directly. * tests/patterntest.c: don't include "glib/gpattern.h" directly. Patch from Hiroyuki Ikezoe. 2008-05-30 Tor Lillqvist Bug 535625 - alias.h:2648: error: 'utime' undeclared here (not in a function) * glib/glib.symbols: Move g_utime inside #if !defined(G_OS_UNIX) || defined(G_STDIO_NO_WRAP_ON_UNIX). 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/gstdio.h * glib/gstdio.c: Add g_utime(). No need to include in gstdio.h, just use a forward struct declaration. * glib/glib.symbols: Add it. 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-28 Michael Natterer * configure.in: add G_DISABLE_SINGLE_INCLUDES to CPPFLAGS globally. * glib/tests/option-context.c * glib/tests/testing.c * tests/testingbase64.c: don't include