2005-06-10  Matthias Clasen  <[email protected]>

       * === Released 2.6.5 ===

       * NEWS: Updates

2005-06-09  Matthias Clasen  <[email protected]>

       * glib/gkeyfile.c (g_key_file_parse_value_as_integer): Better
       error checking. (#306389, Morten Welinder)

       * glib/goption.c (parse_int): Set errno to 0 before calling
       strtol.  (#306388, Morten Welinder)

2005-06-08  Tor Lillqvist  <[email protected]>

       * glib/gutils.c (get_windows_directory_root): New helper function
       on Win32, returns the root of the drive (or possibly share) where
       the Windows directory is. (In the case of Terminal Server sessions
       the Windows directory is a per-user folder.)
       (g_get_any_init): Use get_windows_directory_root() as last resort
       for both temp directory and home directory. g_get_home_dir() now
       never returns NULL on Win32. Don't look at HOMEDRIVE and
       HOMEPATH. HOME, USERPROFILE, CSIDL_PROFILE and Windows directory
       drive root should be enough.

2005-05-25  Matthias Clasen  <[email protected]>

       * glib/gunidecomp.c (combine_hangul): Don't eat Hangul
       when normalizing.  (#301742, reported by Christian Biere,
       patch by Noah Levitt)

2005-05-20  Federico Mena Quintero  <[email protected]>

       * glib/gspawn.c (g_spawn_command_line_sync): Clarify the meaning
       of exit_status(); it's not the return code from the child, but
       rather the waitpid() status.

2005-05-18  Matthias Clasen  <[email protected]>

       * gmodule-no-export-2.0-uninstalled.pc.in (prefix): New file.

       * configure.in:
       * Makefile.am (EXTRA_DIST): Add gmodule-no-export-2.0-uninstalled.pc.in

2005-05-06  Matthias Clasen  <[email protected]>

       * tests/option-test.c: Add a testcase.

       * glib/goption.c (g_option_context_parse): Treat '-'
       on its own as a non-option argument.  (#168008, Tim Musson,
       Thomas Leonard and others)

2005-04-29  Matthias Clasen  <[email protected]>

       * glib/gtree.c: Clarify some docs. (#302062, Matthew F. Barnes)

2005-04-28  Matthias Clasen  <[email protected]>

       * glib/gstrfuncs.c (g_strcompress): Warn and don't crash
       when meeting a trailing \\.  (#301373, Benjamin Otte)

2005-04-27  Tor Lillqvist  <[email protected]>

       * glib/gconvert.c (open_converter, g_convert_with_iconv): Don't
       call g_set_error() unless the GError pointer is non-NULL. This
       avoids infinite recursion problems in certain rare situations on
       Windows, when g_locale_from_utf8() is called from
       _glib_get_locale_dir() after the change below. It's the
       _glib_gettext() calls to translate error messages that cause the
       recursion, not g_set_error() itself.

       * glib/gutils.c (_glib_get_locale_dir): No need to cache the
       result, this function is normally called only once. Return the
       path to the locale directory in system codepage, not UTF-8. The
       path is passed to bindtextdomain(), which doesn't use UTF-8 file
       names. If the full pathname with long filenames can't be converted
       to system codepage, try getting the pathname with short (8.3)
       components. (#301772)

       Don't do run-time lookup of message catalog directory on
       Cygwin. Cygwin is supposed to look and feel like Unix, and on Unix
       we use paths fixed at configure time.

2005-04-19  Tor Lillqvist  <[email protected]>

       * glib/gutils.h: Minor comment improvement.

2005-04-10  Matthias Clasen  <[email protected]>

       * glib/gmessages.h (g_debug): Use G_LOG_LEVEL_DEBUG in
       both definitions.  (#300071, Tommi Komulainen)

2005-04-08  Tor Lillqvist  <[email protected]>

       * glib/gutils.c (read_aliases): Not used on Windows.
       (unalias_lang): Don't do anything on Windows, there is no
       /usr/share/locale/locale.alias file..

       * glib/gutils.c (g_get_system_data_dirs): After investigating more
       closely the actual use cases of this function, I understand better
       what it needs to do on Windows. In addition to the Windows
       COMMON_APPDATA and COMMON_DOCUMENTS folders, also return the
       "share" subfolders of GLib's installation location and the
       application .exe's installation location, hoping that either
       matches what the function's caller is looking for.

       * glib/gutils.h (G_WIN32_DLLMAIN_FOR_DLL_NAME): Use wide char API
       if available, and store dll name in UTF-8.