2007-06-18 Matthias Clasen * === Released 2.13.5 === * NEWS: Updates 2007-06-18 Emmanuele Bassi * glib/gmain.h: * glib/gmain.c: * glib/glib.symbols: Add g_timeout_add_seconds_full() variant to g_timeout_add_seconds(), accepting a destroy notification function and a priority. (#448819) 2007-06-17 Matthias Clasen * glib/gutils (g_get_current_dir): Prevent segfaults on long paths. (#447935, Robby Griffin) 2007-06-17 Behdad Esfahbod * glib/gdataset.c (g_quark_from_string), (g_quark_from_static_string): Accept NULL and return GQuark value of zero. (#446859) 2007-06-16 Mathias Hasselmann * glib/gstring.c: Correctly use g_printf_string_upper_bound in g_string_append_vprintf. Fixes #447933. 2007-06-15 Sebastian Wilhelmi * docs/reference/glib/tmpl/threads.sgml: Extended the comments on those functions, that are NOOPs, before g_thread_init() has been called. (#447583) * glib/gthread.c (g_static_mutex_free): Clarified comment to remind myself, that calling g_static_mutex_free() before g_thread_init() is safe. 2007-06-15 Cody Russell * docs/reference/gobject/tmpl/gboxed.sgml: * docs/reference/gobject/gobject-sections.txt: * glib/gregex.c: * gobject/gboxed.[ch]: * gobject/gobject.symbols: Added GRegex boxed type. (#445065, Carlos Garnacho) 2007-06-15 Sebastian Wilhelmi * glib/gregex.c: Replaced & by & in to make gtk-doc happy. 2007-06-14 Ryan Lortie * docs/reference/glib/glib-sections.txt: * glib/glib/symbols: * glib/gstring.[ch] (g_string_printf_internal): Improve performance by removing the use of an intermediate g_malloc'd buffer. Rename to g_string_append_vprintf, document, and expose along with g_string_vprintf as new public API (#57693). 2007-06-15 Mathias Hasselmann * build, tests/string-test.c, glib/glib.symbols, glib/gstring.c, glib/gstring.h: Introduce g_string_overwrite(_len)? for overwriting parts of strings (#368686, Samuel Cormier-Iijima) 2007-06-14 Cody Russell * gobject/gtype.c (g_type_class_add_private): Check for 0-sized private data. (#443869) 2007-06-14 Matthias Clasen * glib/gmain.c (g_timeout_add_seconds): Fix doc typos. (#447534, Vincent Untz) 2007-06-13 Behdad Esfahbod * glib/pltcheck.sh: Whitelist g_atomic_{int,pointer}_[gs]et() as we don't alias them intentionally. (#354522) 2007-06-13 Sven Neumann * glib/gslice.[ch] added g_slice_copy() and g_slice_dup() (#442029). * glib/glib.symbols: updated. 2007-06-12 Behdad Esfahbod * glib/gunicode.h: Add more G_GNUC_CONST and G_GNUC_PURE. 2007-06-11 Emmanuele Bassi * glib/gutils.c (maybe_expire_user_special_dirs), (g_get_user_special_dir): Remove the cache expiration logic: it makes g_get_user_special_dir() not thread-safe. Document the fact that on some platform the value might be changed by the user and that GLib won't be able to reflect the change. 2007-06-11 Tor Lillqvist * glib/gwin32.c (g_win32_get_package_installation_directory) (g_win32_get_package_installation_subdirectory): Update doc comments. Mention that it is not recommeded to use the Registry features. 2007-06-06 Tor Lillqvist * glib/gutils.c: Add definitions for more CSIDL_* constants in case missing from headers. Use CSIDL_PERSONAL instead of CSIDL_MYDOCUMENTS as CSIDL_MYDOCUMENTS seems to be a new thing that doesn't work in XP SP2 even. 2007-06-06 Matthias Clasen * glib/gutils.c (g_get_user_special_dir): Fall back to $HOME/Desktop for the DESKTOP directory, like xdg_user_dir_lookup() does.