Don't leak output_path. (#308546, Kjartan Maraas)
[platform/upstream/glib.git] / ChangeLog
index 43d1b59..a39a239 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,172 @@
+2005-06-23  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gkeyfile.c (g_key_file_load_from_data_dirs): Don't
+       leak output_path.  (#308546, Kjartan Maraas)
+
+       * glib/glib.symbols: 
+       * glib/gfileutils.h: 
+       * glib/gfileutils.c (g_build_pathv, g_build_filenamev): 
+       Variants of g_build_path() and g_build_filename()
+       which take a string array instead of varargs.  
+       (#149092, Todd A. Fisher)
+
+       * tests/strfunc-test.c: Add tests for g_build_pathv() 
+       and g_build_filenamev().
+
+2005-06-22  Tor Lillqvist  <tml@novell.com>
+
+       * glib/gfileutils.c
+       * glib/gfileutils.h
+       * glib/glib.symbols
+       * tests/testglib.c: Rename g_makepath() to g_mkdir_with_parents().
+
+2005-06-22  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/goption.c (parse_short_option, parse_long_option): 
+       Pass the option name also in the NO_ARG case.  (#308602,
+       Masatake YAMATO)
+       (parse_arg): Properly store changes for arrays.  (#308528,
+       Roger Leigh)
+
+2005-06-22  Tor Lillqvist  <tml@novell.com>
+
+       * glib/gfileutils.c (g_makepath): New function. Creates a
+       directory including intermediate parent directories as
+       needed. (#60509)
+
+       * glib/gfileutils.h: Declare it.
+
+       * glib/gutils.c (g_get_host_name): New function. Returns the
+       machine's name, or one of its names. Document that it is
+       best-effort only, and not guaranteed to be unique or anything.
+       (g_get_any_init): Get the host name here. On Unix use
+       gethostname(), on Windows use GetComputerName(). (#5200)
+
+       * glib/gutils.h: Declare it.
+
+       * glib/glib.symbols: Add new functions.
+
+       * tests/testglib.c: Test g_makepath() and g_get_host_name().
+       
+2005-06-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/goption.h: 
+       * glib/goption.c: Add G_OPTION_FLAG_NO_ARG and
+       G_OPTION_FLAG_FILENAME to allow greater control of
+       G_OPTION_ARG_CALLBACK options. (#302632, Dan Winship)
+
+       * tests/option-test.c: test callback args
+
+2005-06-14  Theppitak Karoonboonyanan  <thep@linux.thai.net>
+
+       * configure.in: Added 'th' (Thai) to ALL_LINGUAS.
+
+2005-06-10  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Bump version
+
+       * === Released 2.7.0 ===
+
+       * NEWS: Updates
+
+2005-06-09  Matthias Clasen  <mclasen@redhat.com>
+
+       * 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-09  Tor Lillqvist  <tml@novell.com>
+
+       * glib/gstdio.h
+       * glib/gstdio.c
+       * glib/glib.symbols: Add a chdir() wrapper, too.
+
+       * glib/glib.symbols: Add g_win32_locale_filename_from_utf8().
+
+       * glib/gwin32.c (g_win32_locale_filename_from_utf8): Clarify doc
+       comment.
+
+2005-06-08  Tor Lillqvist  <tml@novell.com>
+
+       * 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-06-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/glib.symbols: 
+       * glib/gunicode.h: 
+       * glib/gunicollate.c (g_utf8_collate_key_for_filename): 
+       New function to calculate collation keys which are more
+       suitable for sorting filenames.  (#172690, Ole Laursen)
+
+Fri May 27 17:18:00 2005  Manish Singh  <yosh@gimp.org>
+
+       * glib/goption.c (parse_short_option): initialize option_name
+       before using it.
+
+2005-05-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/goption.c (parse_short_option, parse_long_option):
+       Return an error if an option is missing its argument.  (#305576,
+       Björn Lindqvist)
+
+       * tests/option-test.c (missing_arg_test): Add a testcase.
+
+Wed May 25 15:33:51 2005  Manish Singh  <yosh@gimp.org>
+
+       * glib/goption.c (print_help): rest_description should be const.
+
+2005-05-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gunidecomp.c (combine_hangul): Don't eat Hangul 
+       when normalizing.  (#301742, reported by Christian Biere,
+       patch by Noah Levitt)
+
+2005-05-24  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/goption.c (print_help): If the remaining argument
+       has an arg_description, display the synopsis as
+       PROGNAME [OPTION...] REST  (#305346, Noah Levitt)
+
+2005-05-20  Federico Mena Quintero  <federico@ximian.com>
+
+       Merged from glib-2-6:
+
+       * 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  <mclasen@redhat.com>
+
+       * glib/gunidecomp.c: Correct the end of the Hangul 
+       Syllables range, from 0xd7af to 0xd7a3, in several
+       places.  (#301984, Changwoo Ryu)
+
+2005-05-17  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/tree-test.c (main): Check the return values of
+       g_tree_remove().
+
+       * glib/gtree.c (g_tree_remove, g_tree_steal): Return
+       a boolean indicating wether the key was found.  (#302545,
+       Matthew F. Barnes)
+
+2005-05-06  Brian Cameron  <brian.cameron@sun.com>
+
+       * configure.in, gmodule-no-export-2.0-uninstalled.pc.in,
+         Makefile.am:  Added gmodule-no-export-2.0-uninstalled.pc.in
+         to allow building of other libraries like pango when 
+         glib is uninstalled.
+
 2005-05-06  Matthias Clasen  <mclasen@redhat.com>
 
        * tests/option-test.c: Add a testcase.