+2005-07-07 Matthias Clasen <mclasen@redhat.com>
+
+ * configure.in: Make the size_t size detection work on AIX.
+ (#309725)
+
+2005-07-06 Matthias Clasen <mclasen@redhat.com>
+
+ * configure.in: Require a newer gtk-doc.
+
+2005-07-01 Hans Breuer <hans@breuer.org>
+
+ * glib/gmessages.c : include <process.h> for getpid()
+ * glib/gmappedfile.c : include <io.h> for close() etc.
+ * glib/makefile.msc.in : add gmappedfile.obj
+
+2005-07-01 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c (g_key_file_get_key_comment):
+ (g_key_file_get_top_comment): Don't reverse the order of multiline
+ comments.
+ (g_key_file_get_group_comment): Actually get the group comment.
+
+ * tests/keyfile-test.c (test_comments): Test that comments are
+ handled properly. (#309263, Mikael Magnusson)
+
+2005-06-30 Matthias Clasen <mclasen@redhat.com>
+
+ * configure.in: Bump version
+
+ * === Released 2.7.1 ===
+
+2005-06-30 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gstring.c (g_str_hash): Fix portability issues.
+ (#307064, Morten Welinder)
+
+ Apply a patch which may make GLib work on BeOS again.
+ (#309157, Kian Duffy)
+
+ * glib/gmain.c: Update the BeOS includes.
+
+ * glib/gstdio.c:
+ * glib/gutils.c (g_find_program_in_path):
+ * glib/gbacktrace.c (g_on_error_stack_trace): Use the UNIX
+ implementation on BeOS, as well.
+
+ * configure.in: Don't put glib 1.0 into G_MODULE_LIBS, even
+ on BeOS.
+
+ * NEWS: Updates
+
+2005-06-26 Tor Lillqvist <tml@novell.com>
+
+ * glib/Makefile.am: libtool installs/uninstalls the import
+ library, no need to do it ourselves. Do still install/uninstall
+ the .def file, though.
+
+ * glib/gmappedfile.c: Add Win32 implementation.
+ (g_mapped_file_free): Don't mention writable shared mappings in
+ the doc comment. Free the GMappedFile struct.
+
+ * tests/mapping-test.c (main): No kill() or SIGUSR1 on Win32, use
+ a flag file instead to stop the child. Use g_usleep() instead of
+ sleep().
+
+2005-06-24 Matthias Clasen <mclasen@redhat.com>
+
+ Add an mmap() wrapper called GMappedFile. (#148218,
+ David Schleef, Behdad Esfahbod)
+
+ * glib/gmappedfile.[hc]: New files.
+
+ * configure.in: Check for mmap.
+
+ * glib/Makefile.am: Add new files.
+
+ * glib/glib.symbols: Add new functions.
+
+ * glib/glib.h: Include gmappedfile.h
+
+ * tests/mapping-test.c: Tests for GMappedFile.
+
+ * tests/Makefile.am: Add new file.
+
+ * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Add --enable-man.
+
+2005-06-24 Tor Lillqvist <tml@novell.com>
+
+ * glib/Makefile.am (install-libtool-import-lib): Current GNU tools
+ do understand the PRIVATE keyword.
+
+ * glib/gfileutils.c (g_mkdir_with_parents): Return error with
+ EINVAL also for empty pathnames.
+ (g_build_pathname_va): Fix typo.
+
+Thu Jun 23 15:52:08 2005 Manish Singh <yosh@gimp.org>
+
+ * glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32
+ case, so compile it conditionally.
+
+2005-06-23 Matthias Clasen <mclasen@redhat.com>
+
+ * tests/keyfile-test.c (test_group_remove): Don't leak
+ memory here.
+
+ * 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.
+
+ * glib/goption.c (g_option_context_parse): Treat '-'
+ on its own as a non-option argument. (#168008, Tim Musson,
+ Thomas Leonard and others)
+
+2005-05-05 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gdataset.[ch] glib/gdatasetprivate.h: Add
+ g_datalist_set/unset_flags(), g_datalist_get_flags() functions
+ to squeeze some bits into a GDataSet... this is needed for
+ efficient implementation of toggle references in GObject.
+
+ * tests/gobject/references.c tests/gobject/Makefile.am:
+ Add a test case for weak and toggle references.
+
+ * glib/gfileutils.[ch]: Rename g_file_replace() back
+ to g_file_set_contents().
+
+ * glib/glib.symbols: Update.
+
+2005-05-02 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gstring.c (g_str_equal, g_str_hash): Move docs
+ inline.
+
2005-05-01 Matthias Clasen <mclasen@redhat.com>
* glib/ghash.h: Rename some parameters to make gtk-doc