-2008-03-10 Matthias Clasen <mclasen@redhat.com>
+2008-05-29 Tor Lillqvist <tml@novell.com>
- * === Released 2.16.0 ===
+ * 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.
- * NEWS: Updates
-
- * configure.in: Bump version to 2.16.0
-
-2008-03-10 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gslist.c: Fix a doc typo
-
-2008-03-10 Matthias Clasen <mclasen@redhat.com>
-
- * glib/giochannel.c (g_io_channle_set_encoding): Fix confusing
- error message. (#521028, Peter Kjellerstedt)
-
-2008-03-10 Matthias Clasen <mclasen@redhat.com>
-
- * tests/testglib.c: Still set the udddocs and uddpubshare
- variables for the verbose case.
-
-2008-03-07 Alexander Larsson <alexl@redhat.com>
-
- * configure.in:
- Look for struct statfs.f_fstypename
-
-2008-03-07 Tor Lillqvist <tml@novell.com>
-
- * README.win32: Updates.
-
-2008-03-05 Tor Lillqvist <tml@novell.com>
-
- * glib/glib.symbols: Remove g_uri_get_scheme.
-
-2008-03-04 Alexander Larsson <alexl@redhat.com>
-
- * glib/gurifuncs.c:
- Remove deprecated symbols we kept for one release.
-
-2008-03-03 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gutils.h: Add a version of G_INLINE_FUNC for
- __GNUC__ && __GNUC_STDC_INLINE__, patch by Jakub Jelinek
-
-2008-03-03 Tor Lillqvist <tml@novell.com>
-
- * glib/gspawn-win32.c (read_helper_report): Must set the GError
- also in the unexpected EOF case.
- (do_spawn_with_pipes): Must protect also new_argv[0].
-
-2008-03-01 Benjamin Otte <otte@gnome.org>
-
- * glib/glist.c:
- fix last commit.
-
-2008-02-29 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gslist.c:
- * glib/glist.c: Move docs inline, and improve the
- g_[s]list_delete_link docs. (#519352, Owen Taylor)
-
-2008-02-29 Tor Lillqvist <tml@novell.com>
-
- * glib/win_iconv.c (name_to_codepage): Add some GNU libiconv
- compatibility: Recognize "" and "char" as aliases for the current
- locale's charset. (We use the system ANSI codepage as returned by
- GetACP().) Recognize "wchar_t" as an alias for UTF-16LE.
-
-2008-02-27 Matthew Barnes <mbarnes@redhat.com>
-
- * glib/gchecksum.[ch] (g_checksum_update),
- (g_compute_checksum_for_string): Make 'length' parameter
- signed to accomodate passing negative lengths. (#510855)
-
-2008-02-26 Tor Lillqvist <tml@novell.com>
-
- * glib/gmain.c (g_poll): Further patch by Vlad Grecescu: Drop the
- code path that called WaitMessage(), as WaitMessage() doesn't
- offer any chance for APCs to run. Instead just use the code path
- with MsgWaitForMultipleObjectsEx() even for the
- wait-only-for-messages case. (#517484)
-
-2008-02-25 Matthias Clasen <mclasen@redhat.com>
-
- * configure.in: Bump version
-
- * === Released 2.15.6 ===
-
- * NEWS: Updates
-
-2008-02-25 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gtestfuncs.c: Add Since: markers to docs. (#518556,
- Jerry Yu)
-
-2008-02-25 Alexander Larsson <alexl@redhat.com>
-
- * glib/glib.symbols:
- * glib/gurifuncs.[ch]:
- Rename g_uri_get_scheme to g_uri_parse_scheme.
- Keep g_uri_get_scheme() symbol for this
- unstable release to avoid breaking to many apps.
-
-2008-02-24 Tor Lillqvist <tml@novell.com>
-
- * glib/gutils.c (_glib_get_installation_directory): New internal function.
-
- * glib/gspawn-win32.c: When spawning the helper process, use an
- explicit full path. (#518292)
-
- * glib/gspawn-win32.c
- * glib/gspawn-win32-helper.c: Fix race condition when using the
- helper process. This seems to fix #510664.
-
- When the helper process writes the handle of the actual started
- user process to the parent process, it must be duplicated in the
- parent process with DuplicateHandle() so that it is a valid handle
- in that process. However, if the helper process has happened to
- exit before the DuplicateHandle() call, the duplication will
- fail. Thus we must synchronise the helper process's exit. Use
- another pipe for this.
-
- Take care not to inherit the writing end of this pipe to the
- helper process. Also, in the helper process, take care not to
- inherit either of the pipes used for communication with the parent
- process to the started user process.
-
-2008-02-24 Tor Lillqvist <tml@novell.com>
-
- * glib/gmain.c (g_poll) [Win32]: Use alertable wait functions so
- that I/O completion routines or user-mode Asynchronous Procedure
- Calls can be run. (#517484, Vlad Grecescu)
-
-2008-02-24 Tor Lillqvist <tml@novell.com>
-
- * glib/gwin32.c
- (g_win32_get_package_installation_directory_of_module): New
- function. Supersedes g_win32_get_package_installation_directory()
- and g_win32_get_package_installation_directory().
-
- It makes more sense to have the function for this functionality
- take a HMODULE as parameter instead of DLL name. The typical use
- scenario has been to have a DllMain() function that retrieves the
- full pathname for the DLL in question, and saves just the basename
- of that. Then later code passes that saved dll basename to
- g_win32_get_package_installation_directory(), which retrieves the
- corresponding DLL handle, and then retrieves its full
- pathname. (Which DLlMain() already had.) It is less convoluted to
- have a DllMain() that just saves the DLL handle, and then when
- needed call this function to get the corresponding installation
- folder.
-
- (get_package_directory_from_module): Use
- g_win32_get_package_installation_directory_of_module().
-
- (g_win32_get_package_installation_directory)
- (g_win32_get_package_installation_subdirectory): Mention these
- functions will be deprecated and recommend using
- g_win32_get_package_installation_directory_of_module() instead.
-
- * glib/gwin32.h: Declare
- g_win32_get_package_installation_directory_of_module().
-
- * glib/glib.symbols: Add it.
-
- * glib/gutils.h: Mention G_WIN32_DLLMAIN_FOR_DLL_NAME() will be
- deprecated in the future.
-
- * glib/gutils.c: Drop use of G_WIN32_DLLMAIN_FOR_DLL_NAME(). Use a
- minimal DllMain() instead that just saves the DLL handle.
- (g_win32_get_system_data_dirs_for_module, _glib_get_locale_dir)
- (get_module_share_dir): Use
- g_win32_get_package_installation_directory_of_module().
-
-2008-02-23 Matthias Clasen <mclasen@redhat.com>
-
- * NEWS: Updates
-
-2008-02-23 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gkeyfile.c (g_key_file_get_string_list): Return
- NULL when the key is not found. (#513171, Дилян Палаузов)
-
-2008-02-23 Matthias Clasen <mclasen@redhat.com>
-
- * tests/testglib.c: Don't test user directories for being
- non-null. (#517084, Yevgen Muntyan)
-
-2008-02-22 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gasyncqueue.c:
- * glib/gtestutils.c: Documentation fixes
-
-2008-02-21 Tor Lillqvist <tml@novell.com>
-
- * glib/gutf8.c (g_get_charset)
- * glib/gconvert.c (g_locale_from_utf8): Clarify character set
- issues on Windows.
-
-2008-02-20 Tor Lillqvist <tml@novell.com>
-
- * glib/gtestutils.c (g_test_trap_fork) [Win32]: Change the
- g_error() to g_message() to avoid stopping on warnings. At least
- now testglib runs to completion and the old tests in it get
- exercised even if the newfangled ones don't.
- (g_test_trap_assertions) [Win32]: Bypass on Windows.
-
-2008-02-17 Marco Barisione <marco@barisione.org>
-
- * glib/gregex.c: (translate_compile_error), (g_regex_new): Avoid some
- useless casts from const gchar * to gchar *. (#516597, patch by
- Yevgen Muntyan)
-
-2008-02-17 Marco Barisione <marco@barisione.org>
-
- * glib/gregex.c: (match_info_new), (g_match_info_next): Don't return
- duplicate matches when matching empty strings. (#515944)
- * tests/regex-test.c: Add tests.
-
-2008-02-17 Hans Breuer <hans@breuer.org>
-
- * glib/gutils.c : define CSIDL_MYPICTURES if not available
- * gthread/gthread-win32.c : use G_STRFUNC instead of compiler
- specific __FUNCTION__
-
-2008-02-13 Tor Lillqvist <tml@novell.com>
-
- * glib/gwin32.c: Doc change: Deprecate passing anything but NULL
- for the "package" parameter to
- g_win32_get_package_installation_directory() and
- g_win32_get_package_installation_subdirectory().
-
-2008-02-11 Matthias Clasen <mclasen@redhat.com>
-
- * configure.in: Bump version
-
- * === Released 2.15.5 ===
-
- * NEWS: Updates
-
-2008-02-11 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gtestutils.h: Make the g_test_add macro work with
- gcc 4.3
-
- * tests/gobject/paramspec-test.c: Adapt to recent changes in
- GParamGType initialization.
-
-2008-02-10 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gtestutils.c: Fix a typo in the docs.
-
-2008-02-09 Matthias Clasen <mclasen@redhat.com>
-
- * configure.in: Check for getmntent_r.
-
-2008-02-09 Matthias Clasen <mclasen@redhat.com>
-
- * Makefile.decl: /bin/ksh can't handle a for-loop with no
- arguments, so add a "." for when $(SUBDIRS) is empty.
-
- * glib/tests/option-context.c:
- * glib/tests/testing.c:
- * gthread/gthread-posix.c:
- * tets/testingbase64.c:
- * glib/gtester.c:
- * glib/gsequence.c: Portability fixes. (#515154)
-
-2008-02-07 Tor Lillqvist <tml@novell.com>
-
- * configure.in: Unfortunately the mingw implementations of
- C99-style snprintf and vsnprintf don't seem to be quite good
- enough, at least not in mingw-runtime-3.14. I don't know exactly
- what the problem is, but it is related to floating point
- formatting and decimal point vs. comma, and the symptoms show up
- in some dialogs in GIMP, presumably also elsewhere. The simple
- tests in AC_FUNC_VSNPRINTF_C99 and AC_FUNC_SNPRINTF_C99 aren't
- rigorous enough to notice, though. So preset
- ac_cv_func_vsnprintf_c99 and ac_cv_func_snprintf_c99 to "no".
-
-2008-02-07 12:58:54 Tim Janik <timj@imendio.com>
-
- * Makefile.am: fixed build order to build gobject after gmodule gthread
- so gobject tests can be threaded.
-
-2008-02-07 Ryan Lortie <desrt@desrt.ca>
-
- * glib/gmessages.h (g_error): add for(;;); after the g_log call so
- that GCC stops issuing false warnings about reachability Bug #514920
-
-2008-02-06 Matthias Clasen <mclasen@redhat.com>
-
- * glib/pcre/*: Update the internal copy of PCRE to 7.6
-
-2008-02-06 Behdad Esfahbod <behdad@gnome.org>
-
- * glib/pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
- a local plt if the compiler doesn't support what we want. Bug #514702
-
-2008-02-06 Murray Cumming <murrayc@murrayc.com>
-
- * glib/gconvert.c:
- * glib/pcre/pcre_internal.h: Fixed some minor typos in documentation.
-
-2008-02-06 Christian Persch <chpe@gnome.org>
-
- * gio/gdesktopappinfo.c: (ensure_dir):
- * gio/glocalfile.c: (g_local_file_query_filesystem_info),
- (g_local_file_read), (g_local_file_delete), (g_local_file_trash),
- (g_local_file_move):
- * gio/glocalfileinfo.c: (set_xattr), (_g_local_file_info_get),
- (_g_local_file_info_get_from_fd), (set_unix_mode),
- (set_unix_uid_gid), (set_symlink), (set_mtime_atime):
- * gio/glocalfileinputstream.c: (g_local_file_input_stream_read),
- (g_local_file_input_stream_skip),
- (g_local_file_input_stream_close),
- (g_local_file_input_stream_seek):
- * gio/glocalfileoutputstream.c: (g_local_file_output_stream_write),
- (g_local_file_output_stream_close),
- (g_local_file_output_stream_seek),
- (g_local_file_output_stream_truncate), (copy_file_data),
- (handle_overwrite_open):
- * gio/gunixinputstream.c: (g_unix_input_stream_read),
- (g_unix_input_stream_close), (read_async_cb), (close_async_cb):
- * gio/gunixoutputstream.c: (g_unix_output_stream_write),
- (g_unix_output_stream_close), (write_async_cb), (close_async_cb): Save
- errno before calling other funcs that potentially alter it. Bug
- #514766.
-
-2008-02-05 18:42:42 Tim Janik <timj@imendio.com>
-
- * configure.in: generate gobject/tests/Makefile.
-
-2008-02-05 Tor Lillqvist <tml@novell.com>
-
- * glib-zip.in: Include the gio import library and gio-2.0.pc in
- the developer zipfile.
-
-2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
-
- * gio/gbufferedoutputstream.c:
- * gio/gbufferedoutputstream.h: modify the new_sized() constructor to take a
- gsize param instead of guint to match the GBufferedInputStream constructor.
-
-2008-02-03 Hans Breuer <hans@breuer.org>
-
- * **/makefile.msc.in : update
-
-2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
+2008-05-28 Michael Natterer <mitch@imendio.com>
- * configure.in: Check for gmtime_r. Missing part of bug #511807.
+ * configure.in: add G_DISABLE_SINGLE_INCLUDES to CPPFLAGS
+ globally.
-2008-02-01 Yannig Marchegay <yannig@marchegay.org>
+ * glib/tests/option-context.c
+ * glib/tests/testing.c
+ * tests/testingbase64.c: don't include <glib/gtestutils.h>
- * configure.in: Add oc since oc.po is back.
-
-2008-01-31 Michael Natterer <mitch@imendio.com>
-
- * glib/gmem.c: use %G_GSIZE_FORMAT instead of %lu since sizes have
- changed from gulong to gsize in this file.
-
-2008-01-30 Johan Dahlin <johan@gnome.org>
-
- * configure.in: Remove oc since oc.po is gone.
-
-2008-01-30 Wouter Bolsterlee <wbolster@svn.gnome.org>
-
- * glib/gchecksum.c:
- * glib/gtestutils.c:
- * glib/gutils.c:
-
- Fixed gtk-doc warnings by updating the documentation of
- various functions.
-
-2008-01-29 14:58:31 Tim Janik <timj@imendio.com>
-
- * glib/gmem.[hc]: changed size argument type from gulong to gsize as
- discussed on gtk-devel-list:
- http://mail.gnome.org/archives/gtk-devel-list/2007-March/msg00062.html
- this should be ABI compatible on all platforms except win64 for which
- no ABI binding port exists yet.
-
-2008-01-29 Sebastian Wilhelmi <wilhelmi@google.com>
-
- * tests/threadpool-test.c (test_thread_pools): Grab
- thread_counter_pools LOCK when increasing
- leftover_task_counter. Fixes race in test. (#512624, Simon Murray)
-
-2008-01-28 Matthias Clasen <mclasen@redhat.com>
+2008-05-27 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
-2008-01-28 Matthias Clasen <mclasen@redhat.com>
-
- * === Released 2.15.4 ===
-
- * NEWS: Updates
-
-2008-01-28 Matthias Clasen <mclasen@redhat.com>
-
- * configure.in: Check for gmtime_r.
- * glib/gtimer.c: Use gmtime_r when available. (#511807,
- Sebastian Dröge)
-
-2008-01-27 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gnode.[hc]: Move docs inline. (#316260, Philippe Blain)
-
-2008-01-27 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gutf8.c (g_utf8_strreverse): Document limitations
- of this function. (#487909, Peter Moulder)
-
-2008-01-27 Matthias Clasen <mclasen@redhat.com>
-
- * glib/goption.c (group_list_has_visible_entries):
- Removed unused variable is_main_group. (#512381,
- Wouter Bolsterlee)
-
-2008-01-27 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gmacros.h: Deprecate G_GNUC_(PRETTY)_FUNCTION. Bug #409360.
-
-2008-01-27 Matthias Clasen <mclasen@redhat.com>
-
- * m4macros/glib-gettext.m4: Remove AC_CANONICAL_HOST from
- GLIB_WITH_NLS again. (#385132)
-
-2008-01-27 Matthias Clasen <mclasen@redhat.com>
-
- * configure.in: Fix the pcre Unicode test to work with
- LDFLAGS=-Wl,--as-needed. (#484261, Mark Lee)
+ * === Released 2.17.0 ===
-2008-01-27 Murray Cumming <murrayc@murrayc.com>
+2008-05-27 Matthias Clasen <mclasen@redhat.com>
- * gio/gfile.c: (g_file_replace_contents),
- (g_file_replace_contents_finish): Document that the new_etags output
- gchar* should be freed.
-
-2008-01-25 Loïc Minier <lool@dooz.org>
-
- * glib/goption.c: (group_has_visible_entries),
- (group_list_has_visible_entires), (g_option_context_get_help): Pass
- context down the implementation to check for the main_group.
- Bug #510292.
- * glib/tests/option-context.c:
- Don't set G_OPTION_FLAG_IN_MAIN in main_entries
- (group_captions): only create group when actually adding it to the
- context; add an exit(0) to make sure the test succeeds.
-
-2008-01-23 Jens Granseuer <jensgr@gmx.net>
-
- * glib/gtestutils.c: (g_test_trap_fork):
- * glib/tests/testing.c: (test_assertions): Only declare variables at
- the beginning of a code block. Bug #511654.
-
-2008-01-21 Matthias Clasen <mclasen@redhat.com>
-
- * configure.in: Bump version
-
- * === Released 2.15.3 ===
-
-2008-01-21 Tor Lillqvist <tml@novell.com>
-
- * glib-zip.in: Add the gio DLL to the runtime zipfile.
-
-2008-01-21 Matthias Clasen <mclasen@redhat.com>
-
- * === Released 2.15.3 ===
+ * README.in: Add a note about G_DISABLE_SINGLE_HEADERS.
* NEWS: Updates
-2008-01-20 Murray Cumming <murrayc@murrayc.com>
+2008-05-27 Matthias Clasen <mclasen@redhat.com>
- * glib/gchecksum.c: (g_checksum_update): Accept -1 for the data
- length if the data is a null-terminated string. Bug #510855.
+ * tests/casemap.txt:
+ * tests/casefold.txt: Update for Unicode 5.1
-2008-01-21 Alexander Larsson <alexl@redhat.com>
+2008-05-27 Matthias Clasen <mclasen@redhat.com>
- * configure.in:
- Only check for sys/inotify.h (see gio/ChangeLog)
+ * Revert the patch for bug 527214 and related changes. GTimer
+ is supposed to work without threads.
-2008-01-18 16:51:23 Tim Janik <timj@imendio.com>
+2008-05-27 simon.zheng <simon.zheng@sun.com>
- * glib/gutils.h: don't define __GNUC_PREREQ which is not in the glib
- namespace. for gcc, define G_INLINE_FUNC to "static inline" as with
- all other C compilers, because newer GCC versions incompatibly
- changed "extern inline" semantics.
+ * configure.in: Fix #533369. Check whether memeber statvfs.f_basetype
+ available or not.
-2008-01-18 Murray Cumming <murrayc@murrayc.com>
+2008-05-27 Matthias Clasen <mclasen@redhat.com>
- * glib/gfileutils.c:
- * glib/gsequence.c:
- * glib/gstring.c: Fixed some minor typos in the documentation.
+ * glib/pcre/*: Update to PCRE 7.7
-2008-01-16 Dan Winship <danw@gnome.org>
+2008-05-26 Matthias Clasen <mclasen@redhat.com>
- * glib/gchecksum.c (md5_sum_update): Fix another bug (which
- doesn't affect the results, but may cause it to read bad memory).
+ * glib/gchecksum.c: Add Since: tag to g_checksum_reset
-2008-01-15 Alexander Larsson <alexl@redhat.com>
+ * glib/glib.symbols: Add g_checksum_reset
- * glib/gurifuncs.c:
- Clarify docs for g_uri_unescape_string() (#508773)
+2008-05-25 Matthias Clasen <mclasen@redhat.com>
-2008-01-14 Dan Winship <danw@gnome.org>
+ Bug 534137 – Typo in g_spawn_async_with_pipes doc
- * m4macros/glib-2.0.m4: Support gio in AM_PATH_GLIB_2_0 (#509465)
+ * glib/gspawn.c: Fix a typo in the docs, pointed out by Ted Percival.
-2008-01-15 Dan Winship <danw@gnome.org>
+2008-05-25 Tor Lillqvist <tml@novell.com>
- * glib/gchecksum.c (md5_sum_update): fix this; the previous code
- gave the wrong md5sum when called in certain ways with buffers
- larger than 64 bytes.
- (g_checksum_update): remove the unnecessary "length > 1"
- restriction
+ Bug 534319 - GLib's .pc files could use Libs.private
- * tests/checksum-test.c: Rewrite this to be much more exhaustive
- (and in particular to test the md5_sum_update bugfix).
+ * glib-2.0-uninstalled.pc.in
+ * glib-2.0.pc.in
+ * gmodule-2.0-uninstalled.pc.in
+ * gmodule-2.0.pc.in
+ * gmodule-export-2.0.pc.in
+ * gmodule-no-export-2.0.pc.in: Move ICONV_LIBS and G_MODULE_LIBS
+ to Libs.private.
-2008-01-14 Matthias Clasen <mclasen@redhat.com>
+2008-05-24 Matthias Clasen <mclasen@redhat.com>
- * configure.in: Bump version
+ * glib/gfileutils.c (g_file_open_tmp): Small documention addition.
- * === Released 2.15.2 ===
+2008-05-22 10:49:37 Tim Janik <timj@imendio.com>
- * NEWS: Updates
+ * glib/gmacros.h: implement G_STMT_START and G_STMT_END with
+ do{}while(0), which is believed to be widely portable, fixes:
+ Bug 519026 - G_STMT_START/G_STMT_END test a non-existent preprocessor symbol
-2008-01-14 Alexander Larsson <alexl@redhat.com>
-
- * glib/gurifuncs.c:
- Clarify docs for g_uri_escape_string (#508773)
-
-2008-01-12 Andre Klapper <a9016009@gmx.de>
-
- * configure.in: ALL_LINGUAS: remove line breaks from previous
- commit to get damned-lies stats correct again. Add Sinhala (si).
-
-2008-01-11 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gtestutils.c: Fix a docs typo
-
-2008-01-11 12:55:19 Tim Janik <timj@imendio.com>
-
- * tests/testingbase64.c: added g_base64_encode()/g_base64_decode()
- test case by Asbjoern Pettersen. fixed up coding style.
-
-2008-01-11 09:00:28 Tim Janik <timj@imendio.com>
-
- * glib/Makefile.am (install-exec-hook): use mv/sed/rm on a temporary
- file instead of "sed -i" which is not portable enough.
-
-2008-01-08 Alexander Larsson <alexl@redhat.com>
-
- * tests/cxx-test.C:
- Add gio/gio.h include to check for c++ problems.
-
-2008-01-07 Matthias Clasen <mclasen@redhat.com>
-
- * configure.in: Bump version
+2008-05-20 Behdad Esfahbod <behdad@gnome.org>
- * === Released 2.15.1 ===
-
-2008-01-07 Alexander Larsson <alexl@redhat.com>
+ Bug 501651 – Update glib/libcharset
* configure.in:
- Add gio/test/Makefile to AC_CONFIG_FILES
-
-2008-01-07 Matthias Clasen <mclasen@redhat.com>
-
- * NEWS: Updates
-
-2008-01-06 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gregex.c: Add a translator comment (#503051,
- Pedro de Medeiros)
-
-2008-01-06 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gutils.h: Cope with gcc 4.3 changed 'extern inline'
- semantics. (#315437, patch by Loïc Minier)
-
-2008-01-06 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gspawn.c (fdwalk): Don't set open_max to
- RLIM_INFINITY. (#495589, Tommi Komulainen)
-
-2008-01-06 Matthias Clasen <mclasen@redhat.com>
-
- * README.in, INSTALL.in: Document new dependencies.
-
-2008-01-06 Matthias Clasen <mclasen@redhat.com>
-
- * gio-2.0.pc.in, gio-2.0-uninstalled.pc.in: Require glib-2.0
- (#507628)
-
-2008-01-04 Mathias Hasselmann <mathias@openismus.com>
-
- Resolve 64 bit-shift bug in g_markup_collect_attributes.
- Spotted by Lieven van der Heide.
-
- * glib/gmarkup.c: Use G_GUINT64_CONSTANT in bit-shift.
-
-2008-01-02 Alvaro Lopez Ortega <alvaro@sun.com>
-
- * gio/gunixmount.c (g_unix_mount_unmount, g_unix_mount_eject):
- These void functions were trying to return a value. It was causing
- the compilation to fail.
-
-2008-01-02 Alvaro Lopez Ortega <alvaro@sun.com>
-
- * glib/ghash.c (g_hash_table_replace, g_hash_table_insert): These
- functions prototype defines its output as void, and therefore they
- should not return any value. This patch fixes a compilation error:
- the "return" clauses were incompatible with the functions prototype.
-
-2007-12-31 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gslice.c: Remove C99 comments
-
-2007-12-24 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gtestutils.h:
- * glib/glib.symbols: Mark assertion functions as G_GNUC_NORETURN.
- (#506461, Sebastian Dröge)
-
-2007-12-24 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gtestutils.c: Include sys/time.h. (#505258)
-
-2007-12-22 Mathias Hasselmann <mathias@openismus.com>
-
- Do not show empty groups in --help output. Initial patch from Yevgen
- Muntyan. (#504142)
+ * glib/libcharset/Makefile.am:
+ * glib/libcharset/README:
+ * glib/libcharset/codeset.m4:
+ * glib/libcharset/config.charset:
+ * glib/libcharset/glibc21.m4:
+ * glib/libcharset/libcharset-glib.patch:
+ * glib/libcharset/libcharset.h:
+ * glib/libcharset/localcharset.c (_g_locale_get_charset_aliases),
+ (_g_locale_charset_raw):
+ * glib/libcharset/localcharset.h:
+ * glib/libcharset/make-patch.sh:
+ * glib/libcharset/ref-add.sin:
+ * glib/libcharset/ref-del.sin:
+ * glib/libcharset/update.sh:
+ Update libcharset to the one shipped with libiconv-0.12.
- * glib/goption.c: Do not show empty groups in --help output.
- * glib/tests/Makefile.am: Add option-context.c
- * glib/tests/option-context.c: Test skipping of empty groups.
+2008-05-20 Behdad Esfahbod <behdad@gnome.org>
-2007-12-22 Matthias Clasen <mclasen@redhat.com>
+ Bug 459905 – Bug in wcwidth data
+ Bug 534085 – g_unichar_iswide_cjk() has a totally wrong table
+ * glib/guniprop.c (g_unichar_iswide), (g_unichar_iswide_cjk):
+ Regenrate wide and wide_cjk tables from Unicode 5.1.0 data directly.
+ Not using Markus Kuhn's tables anymore.
- * glib/gkeyfile.c: Remove wrong documentation about start group
- handling. (#476856, Areg Beketovski)
+2008-05-20 14:31:18 Tim Janik <timj@imendio.com>
-2007-12-21 18:02:30 Tim Janik <timj@imendio.com>
+ * reverted recent unapproved changes by Yair Hershkovitz, regarding:
+ Bug 503071 – Application direction changes to right to left even if theres no translation.
- * glib/Makefile.am: use "sed -i.bak <CMD> <FILE> && rm -f <FILE>.bak"
- syntax for install-exec-hook, which seems to be the only "sed -i"
- variant that is portable across linux and MacOS.
+2008-05-20 Tor Lillqvist <tml@novell.com>
-2007-12-21 Matthias Clasen <mclasne@redhat.com>
+ * configure.in: Don't need memory barriers when using a non-gcc
+ compiler on Windows either.
- * glib/gtestutils.h: Bring up to GLib coding standards: remove
- C99 comments, trailing commas in enumerations and extra ; after
- G_BEGIN/END_DECLS. Among other things, this makes xulrunner build
- against GLib 2.15.
+2008-05-19 Tor Lillqvist <tml@novell.com>
- * glib/gtester.c: More of the same
+ * glib/gdir.c: Include the dirent.h and wdirent.c from
+ ../build/win32/dirent directly here when compiling with MSVC and
+ without HAVE_DIRENT_H.
-2007-12-09 Hans Breuer <hans@breuer.org>
+2008-05-19 Hans Breuer <hans@breuer.org>
- * tests/gio-ls.c : adapt to recent api changes
- * tests/testglib.c : variable declaration at the beginning of a block
-
- (Lieven van der Heide, #503602)
- * win32-fixup.pl : process *.rc.in as well; substitute
- LT_CURRENT_MINUS_AGE
- * glib/makefile.msc.in : alphabetic sorting of OBJECTS
-
-2007-12-20 Matthias Clasen <mclasen@redhat.com>
-
- * configure.in: Bump version
-
- * === Released 2.15.0 ===
-
- * NEWS: Updates
-
- * glib/Makefile.am: Fix make dist
+ * glib/makefile.msc : added gi18n.c
-2007-12-20 16:34:04 Tim Janik <timj@imendio.com>
+2008-05-19 Tor Lillqvist <tml@novell.com>
- * glib/gtester-report: commented class definitions. moved HTML character
- escaping out of javascript. fixed string->bool conversions. added performance
- results to test case "Details" window.
+ * glib/Makefile.am: #define HELPER_CONSOLE in
+ gspawn-win32-helper-console.c
-2007-12-20 Matthias Clasen <mclasen@redhat.com>
+ * glib/gspawn-win32-helper.c: Compile a main() instead of
+ WinMain() if HELPER_CONSOLE is defined. MSVC insists on a console
+ application having a main().
- * glib/gchecksum.[hc] (g_checksum_new): Return NULL when
- the checksum_type is unknown. (#501853)
+2008-05-18 Matthias Clasen <mclasen@redhat.com>
-2007-12-20 Christian Persch <chpe@gnome.org>
+ Bug 527214 – g_timer_elapsed() returns random values.
- * glib/gchecksum.c (g_checksum_new): Use g_slice_new0, to fix
- "conditional jump or move depends on uninitialised value(s)" error
- from valgrind. Bug #504527.
+ * glib/gtimer.c (g_timer_new()):
+ Print warning if g_thread_init() has not been called yet.
+ Patch by Mathias Hasselmann
-2007-12-20 15:17:04 Tim Janik <timj@imendio.com>
+2008-05-12 Jeffrey Stedfast <fejj@novell.com>
- * Makefile.decl: generate HTML reports for test-report perf-report full-report.
+ * glib/gchecksum.c (g_checksum_reset): New function to reset the
+ state of a GChecksum.
+ (g_checksum_new): Call g_checksum_reset() instead of duplicating
+ code.
-2007-12-20 15:03:51 Tim Janik <timj@imendio.com>
+2008-05-17 Matthias Clasen <mclasen@redhat.com>
- * glib/gtester-report: new python script that generates an HTML
- unit test report from the XML files generated by gtester.
+ Bug 528667 – Typos in testing module documentation
- * glib/Makefile.am: install gtester-report in $bindir and configure
- it upon installation (version number and python shebang).
+ * glib/gtestutils.c: Fix typos in the documentation.
-2007-12-19 Matthias Clasen <mclasen@redhat.com>
+2008-05-17 Tor Lillqvist <tml@novell.com>
- * glib/glib.symbols: Add g_async_queue_new_full
+ * glib/giowin32.c: Make debugging printout more compact and add
+ more information to it. No changes to actual functionality.
-2007-12-19 20:30:18 Tim Janik <timj@imendio.com>
+ * glib/gmain.c: Improve debugging printouts. When
+ G_MAIN_POLL_DEBUG is defined, we check for an environment variable
+ of the same name to decide whether to print out debugging
+ information or not. G_MAIN_POLL_DEBUG is always defined on Windows
+ as there is more often a need to debug this stuff there. On Unix
+ the definition has to be uncommented (or done on the compile
+ command line).
- * glib/gtestutils.c: capture g_log() messages and send to gtester.
- also, send assertion messages to gtester.
+2008-05-17 Tor Lillqvist <tml@novell.com>
- * glib/gtester.c: add error messages to output log file.
- force child poll loop to abort if waitpid() signaled child exit,
- eventhough the child's report file descriptor wasn't closed.
+ * build: Don't include the "build" module with svn:externals any
+ longer. Instead add the still relevant directories and files from
+ it for real here in GLib.
-2007-12-19 Christian Persch <chpe@gnome.org>
+2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
- * glib/gchecksum.c: (g_checksum_type_get_length),
- (g_checksum_get_digest):
- * glib/gchecksum.h:
* glib/glib.symbols:
- * tests/checksum-test.c: (test_checksum): Add
- g_checksum_type_get_length, and change g_checksum_get_digest to use a
- provided buffer instead of returning allocated memory. Bug #501853.
+ * glib/gi18n.h: Added g_disable_setlocale().
-2007-12-19 Emmanuele Bassi <ebassi@gnome.org>
+ * glib/gi18n.c: Added g_disable_setlocale() API to disable setting
+ the locale in g_i18n_init(). Dont disable translations if textdomain
+ was not set before calling g_i18n_init(). Dont disable translations if
+ the locale is "C".
- * glib/gtimer.c (g_time_val_from_iso8601): Fix the date validation
- check. (#503029)
+2008-05-16 Tor Lillqvist <tml@novell.com>
- * tests/testglib.c (various_string_tests): Add an invalid date
- for testing the above fix.
+ * config.h.win32.in: Update to match the configure-produced one.
-2007-12-19 Alexander Larsson <alexl@redhat.com>
+2008-05-14 Michael Natterer <mitch@imendio.com>
- * glib/gfileutils.[ch]:
- * glib/glib.symbols:
- Rename g_format_file_size_for_display to g_format_size_for_display.
-
-2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
-
- * docs/reference/glib/glib-sections.txt:
- * glib/gasyncqueue.c: (g_async_queue_new), (g_async_queue_new_full),
- (g_async_queue_unref):
- * glib/gasyncqueue.h: add g_async_queue_new_full() which takes a
- GDestroyNotify function to free any remaining queue items when the
- queue is destroyed after the final atomic unref (#367550).
-
-2007-12-18 13:45:23 Tim Janik <timj@imendio.com>
+ * glib/gatomic.c: #include "config.h" before using G_ATOMIC_ARM.
- * glib/gtestutils.[hc]: added g_test_trap_assert_stdout_unmatched() and
- g_test_trap_assert_stderr_unmatched(), based on a suggestion by Mathias
- Hasselmann. reworked g_test_trap_assertions() to use flags to encode
- assertion semantics, fixes #504227.
+2008-05-13 Kjartan Maraas <kmaraas@gnome.org>
-2007-12-16 Mathias Hasselmann <mathias@openismus.com>
+ * glib/gi18n.c: #include <locale.h> to fix the build.
- * glib/gutils.c:
- Allow NULL strings in g_parse_debug_string. (#503862, Matthew Barnes)
-
-2007-12-14 Matthias Clasen <mclasen@redhat.com>
-
- * glib/glib.symbols:
- * glib/ghash.[hc]: Add hash table iterators. (#500507,
- Jean-Yves Lefort)
+2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
- * tests/hash-test.c: Test iterators.
+ * glib/gi18n.c (g_i18n_init): Coding convention fix. Space between
+ a function name and its opening parenthesis.
-2007-12-13 Mathias Hasselmann <mathias@openismus.com>
+2008-05-12 Tor Lillqvist <tml@novell.com>
- Give exmples in error message unsupported case-changing escape
- sequences. (503222)
+ * glib/glib.symbols: Add g_i18n_init.
- * glib/gregex.c: Add examples to error message for PCRE-ERR37.
+2008-05-12 Tor Lillqvist <tml@novell.com>
-2007-12-13 Bastien Nocera <hadess@hadess.net>
+ Bug 530457 - G_USER_DIRECTORY_DOWNLOAD folder improperly mapped
- * glib/gtimer.c: (g_time_val_from_iso8601):
- Don't try to parse dates that start with anything but a
- digit, a plus or a minus sign, as those can't be valid
- ISO8601 dates (Closes: #503029)
+ * glib/gutils.c (load_user_special_dirs): When running on Vista or
+ later, use SHGetKnownFolderPath() to get the FOLDERID_Downloads
+ folder for G_USER_DIRECTORY_DOWNLOAD, and FOLDERID_Public for
+ G_USER_DIRECTORY_PUBLIC_SHARE.
-2007-12-13 Matthias Clasen <mclasen@redhat.com>
+2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
- * glib/gkeyfile.c (g_key_file_clear): Free group_hash.
- (#503420, Christian Persch)
+ Bug 503071 - Application direction changes to right to left even if
+ theres no translation.
-2007-12-12 16:06:11 Tim Janik <timj@imendio.com>
+ * glib/gi18n.c: g_i18n_init() for initializing the glib i18n,
+ checking if a translation is available for the calling app. wrappers for
+ gettext, dgettext and dpgettext to check first if the application
+ should be translated.
- * tests/testglib.c: split up tests and reworked code to use
- the new test framework.
+ * glib/gi18n.h: symbol declaration for gettext wrappers.
- * tests/Makefile.am: added testglib to TEST_PROGS.
+ * glib/gi18n-lib.h: include gi18n.h instead of libintl.h.
-2007-12-11 Rahul Bhalerao <b.rahul.pm@gmail.com>
+ * glib/gstrfuncs.c: moved g_dpgettext() to glib/gi18n.c.
- * configure.in: Added entry for Marathi Translations
+ * glib/gutils.c: use g_dgettext() instead of dgettext().
-2007-12-10 Matthias Clasen <mclasen@redhat.com>
+ * glib/glibintl.h: include gi18n.h.
- * glib/glib.h: Include gurifuncs.h
+ * glib.symbols: added gettext wrappers.
-2007-12-10 Benjamin Otte <otte@gnome.org>
+ * glib/Makefile.am: added gi18n.c.
- * glib/garray.h: use an intermediate cast to void * in g_array_index()
- to not trigger cast alignment warnings, fixes #502927.
+2008-05-05 Michael Natterer <mitch@imendio.com>
-2007-12-10 15:08:59 Tim Janik <timj@imendio.com>
+ * glib/glib.h: #define __GLIB_H_INSIDE__ around including
+ everything.
- * let g_warn_if_fail replace g_assert as discussed here:
- http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html
+ * glib/*.h: check for that define instead of __G_LIB_H__ if
+ G_DISABLE_SINGLE_INCLUDES is defined.
- * fix bug #502498: Test framework assertion failures should follow
- gcc error format.
+ * glib/gdatasetprivate.h: #include <glib.h> instead of
+ <glib/gdataset.h>
- * gmessages.h, gmessages.c: deprecated g_assert_warning() which is
- unused now. removed g_assert*() definitions whcih are provided by
- gtestutils.h now. added g_warn_if_reached() and g_warn_if_fail()
- which are recommended as g_assert/g_assert_not_reached replacements
- for non-test programs.
- added g_warn_message() to implement g_warn_*() macros.
- use emacs-next-error friendly formatting for file:line: for warnings.
+2008-05-02 13:24:13 Tim Janik <timj@imendio.com>
- * gtestutils.h, gtestutils.c: use emacs-next-error friendly formatting.
- implement g_assert_not_reached() with g_assertion_message() and
- g_assert() in terms of g_assertion_message_expr() so we'll be able to
- provide assertion messages in test logs.
+ * glib/gmain.c: renamed GMainDispatch.dispatching_sources to be more
+ descriptive and distinguishable within the source file.
- * gkeyfile.c, gbookmarkfile.c: changed g_assert*() to g_warn_if_fail()
- or g_return_if_fail() where suitable.
+2008-04-21 Tor Lillqvist <tml@novell.com>
- * gio/: changed g_assert to g_warn_if_fail.
+ Bug 528752 - Win32 build and SSL not working
-2007-12-10 13:02:08 Tim Janik <timj@imendio.com>
+ This bug report against libsoup points out an issue with the use
+ of bitfields in the GIOChannel struct that should really be taken
+ care of here in GLib.
- * glib/gtestutils.c (g_assertion_message_cmpnum): applied patch by Tommi
- Komulainen to fix int64 printouts, fixes #502511.
-
-2007-12-10 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gstrfuncs.h:
- * glib/gstrfuncs.c (g_dpgettext): Change prototype to take
- msgctxtid + offset instead of two strings, to avoid duplication
- of string constants if the compiler/linker don't perform constant
- suffix merging. (#502590, Christian Persch)
-
- * glib/gi18n.h:
- * glib/gi18n-lib.h: Adapt the definitions of C_() and Q_().
-
-2007-12-09 Hans Breuer <hans@breuer.org>
-
- * tests/gio-ls.c : (new file) a test program emulating some of 'ls'
- * tests/makefile.msc.in : build it (currently on win32)
-
- * **/makefile.msc glib/makefile.msc.in : removed -GD to compile
- with msvc9 (vs2008) with less complains
-
- * glibconfig.h.win32.in : #define G_HAVE_ISO_VARARGS 1 for
- msv8 (vs2005) and above
+ * configure.in: Add Autoconf variable GLIB_EXTRA_CFLAGS which will
+ contain the -mms-bitfields flag on Windows.
- * glib/gfileutils.c : s/stricmp/_stricmp/
- * msvc_recommended_pragmas.h : work around Microsoft's premature
- attempt to deprecate the C-Library
-
- * tests/makefile.msc.in : added checksum-test
-
-2007-12-08 Christian Persch <chpe@gnome.org>
-
- * gio/glocalfileinfo.c: (get_thumbnail_attributes): Add forgotten
- #ifdef G_OS_WIN32 to fix the build on linux.
-
-2007-12-08 Hans Breuer <hans@breuer.org>
-
- * glib/makefile.msc.in : build gchecksum.obj
-
-2007-12-06 Mathias Hasselmann <mathias@openismus.com>
-
- * glib/ghash.c: Call destroy notify when destroying
- the hash table in g_hash_table_unref.
+ * glib-2.0.pc.in: Add it to Cflags.
-2007-12-06 13:29:00 Tim Janik <timj@imendio.com>
+2008-04-21 Tor Lillqvist <tml@novell.com>
- * glib/gtester.c (child_report_cb): detect non-blocking fd EOF
- by read()==0 following poll(), needed on MacOS.
+ * configure.in
+ * */Makefile.am: More work on enabling static building on
+ Windows. When building statically: Also define
+ GOBJECT_STATIC_COMPILATION in glibconfig.h so that also the
+ variables in gparamspecs.h get declared without any
+ dllimport/dllexport decorations. Don't install .def files which
+ obviously have no meaning for static libraries. Don't create MS
+ import libraries. Don't do any resource object files.
-2007-12-06 Mathias Hasselmann <mathias@openismus.com>
+2008-04-18 17:40:58 Tim Janik <timj@imendio.com>
- * glib/gunidecomp.c: Mention g_utf8_normalize()
- returns NULL on invalid string. (#501997)
+ * tests/testglib.c: fixed gstdio.h include.
-2007-12-06 Mathias Hasselmann <mathias@openismus.com>
+ * tests/Makefile.am: properly list testglib.c SOURCES.
- * glib/gerror.c: Improve wording for g_propagate_error docs.
+2008-04-17 Emmanuele Bassi <ebassi@gnome.org>
-2007-12-06 09:27:42 Tim Janik <timj@imendio.com>
-
- * tests/scannerapi.c: added new scanner test from #501654, by
- Patrick Hulin with various modifications.
- reworked coding style, adapted to new testing framework, fixed
- token parser test and use a forked sub process to test
- g_scanner_error() output messages.
-
-2007-12-05 17:58:18 Tim Janik <timj@imendio.com>
-
- * glib/gtester.c: added -m=thorough support to gtester.
-
-2007-12-05 17:21:05 Tim Janik <timj@imendio.com>
-
- * glib/glib/gtestutils.c: print out random seed for verbose tests,
- also adapted test result reporting slightly in verbose mode to allow
- custom debugging output. support "thorough" as test mode alis for "slow".
-
- * glib/glib/gtestutils.h: added g_test_thorough().
-
- * glib/glib/gtester.c: print out the last random seed when tests fail.
- added result attribute to test case status logging to easily spot
- failing tests in log files. disabled debugging output when skipping tests.
-
-2007-12-05 11:43:22 Tim Janik <timj@imendio.com>
+ * glib/gchecksum.c:
+ (sha_byte_reverse): Use the macro GLib provides for byte-swapping
+ as it can be optimized.
+
+ (g_checksum_update): Fix a compiler warning.
- * glib/gtestutils.[hc]: added g_test_add_data_func() to pass data
- into tests. allow data arguments for fixture tests.
+2008-04-15 Mukund Sivaraman <muks@mukund.org>
- * glib/gtestutils.c: fixed fatal log flag setup, so tests really abort
- upon criticals/warnings/errors.
+ * gio/gfile.c: Fixed typos in gtk-doc comments.
- * glib/tests/testing.c: test test_data arguments.
+2008-04-10 Mathias Hasselmann <mathias@openismus.com>
- * glib/gtester.c: some prototype fixups.
+ Bug 519137 – g_slice_dup macro needs cast for 64-bit platform
-2007-12-05 Tor Lillqvist <tml@novell.com>
+ * glib/gslice.h (g_slice_copy): Apply type casts needed
+ for proper compilation on 64-bit platforms.
- * glib/win_iconv.c: Add "shift-jis" as an alternative spelling of
- "shift_jis".
+2008-04-09 Federico Mena Quintero <federico@novell.com>
-2007-12-05 Ryan Lortie <desrt@desrt.ca>
+ * glib/gbookmarkfile.c (bookmark_metadata_free): Don't leak
+ the apps_by_name hash table if the applications list is empty.
- * autogen.sh: for the benefit of git users, checkout build/ if it is
- missing
- * .gitignore: but after that, ignore it.
+2008-04-08 Behdad Esfahbod <behdad@gnome.org>
-2007-12-05 Ryan Lortie <desrt@desrt.ca>
+ * glib/gunicode.h: Add ISO 15924 code comments for new scripts.
- * glib/ghash.c: ungtk-docify some comments for internal functions
+2008-04-07 Matthias Clasen <mclasen@redhat.com>
-2007-12-04 Emmanuele Bassi <ebassi@gnome.org>
+ Bug 491554 – Update to Unicode 5.1.0
- * gio/glocalfileinfo.c: Replace the copy-and-paste MD5 digest
- generation with GChecksum.
+ * glib/gunichartables.h:
+ * glib/gunicode.h:
+ * glib/gunibreak.h:
+ * glib/gmirroringtable.h:
+ * glib/gscripttable.h:
+ * glib/gen-script-table.pl: Update to Unicode 5.1.0. Patch by
+ Behdad Esfahbod
-2007-12-04 Emmanuele Bassi <ebassi@gnome.org>
+2008-04-07 Matthias Clasen <mclasen@redhat.com>
- * glib/gchecksum.[ch]: Add GChecksum, a generic wrapper around
- various hashing algorithms. At the moment, the MD5, SHA-1 and
- SHA-256 algorithms are supported. (#443648)
+ Bug 526619 – make test-report crash
- * glib/glib.h:
- * glib/Makefile.am:
- * glib/glib.symbols: Build glue for GChecksum
+ * glib/gtester.c: Allocate enough space for argv. Patch by
+ Hiroyuki Ikezoe
- * tests/Makefile.am
- * tests/checksum-test.c: Add test suite for GChecksum.
+2008-04-04 Matthias Clasen <mclasen@redhat.com>
-2007-12-03 Ryan Lortie <desrt@desrt.ca>
+ * glib/gmain.c: Make the fix for bug 448943 work.
- * glib/ghash.c: no code changes; add comments to document the internal
- functions.
+2008-04-04 Tor Lillqvist <tml@novell.com>
-2007-12-03 Ryan Lortie <desrt@desrt.ca>
+ * configure.in: Make sure we don't build both shared and static at
+ the same time on Windows. Put a #define for
+ GLIB_STATIC_COMPILATION into glibconfig.h in the static case, so
+ that the use of variables from libglib gets the GLIB_VAR macro in
+ gtypes.h automatically correct. This means that a shared and
+ static build of GLib can't be installed in the same prefix on
+ Windows, which sucks a bit. But with variables in the GLib API,
+ there isn't much we can do otherwise. The alternative would be to
+ force the developer who compiles against a statically built GLib
+ to use -DGLIB_STATIC_COMPILATION.
- * glib/ghash.c: no code changes; reorder functions to remove the need
- for forward declarations.
+ * glibconfig.h.win32.in: Define GLIB_STATIC_COMPILATION here also,
+ if needed.
-2007-12-03 Ryan Lortie <desrt@desrt.ca>
+2008-04-03 Tor Lillqvist <tml@novell.com>
- * glib/ghash.c (g_hash_table_lookup_node,
- g_hash_table_lookup_extended, g_hash_table_insert_internal,
- g_hash_node_new): improve clarity in some functions
+ * configure.in: Don't enforce shared library build only on
+ Windows. It might well make sense to build static libraries in
+ some use cases.
-2007-12-03 Ryan Lortie <desrt@desrt.ca>
+ * glib/gutils.c: Don't compile the DllMain if building libglib
+ statically. Also in that case don't return NULL from
+ _glib_get_installation_directory(), but return the installation
+ directory of the program's .exe file.
- * glib/ghash.c: rename 'node' to 'node_ptr' where appropriate
+2008-04-03 Tor Lillqvist <tml@novell.com>
-2007-12-03 Ryan Lortie <desrt@desrt.ca>
+ Bug 525972 - UCS-4 not in the new win_iconv implementation
- * glib/ghash.c: convert G_HASH_TABLE_RESIZE() macro to inline function
+ * glib/win_iconv.c: Add UCS-4. Also add spelling of UCS-2 without
+ the hyphen.
-2007-12-03 Ryan Lortie <desrt@desrt.ca>
+2008-04-03 Matthias Clasen <mclasen@redhat.com>
- * glib/glib.symbols (glib_gettext): remove stray (duplicate) entry
- from file to fix the build
+ Bug 448943 – g_timeout_add_seconds() problems
-2007-12-03 Behdad Esfahbod <behdad@gnome.org>
+ * glib/gmain.c (g_timeout_set_expiration): Prevent expiration
+ time going negative. Reported by Cody Russell, analyzed by
+ Olivier Crete, patch by Sjoerd Simons.
- * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
+2008-04-03 Matthias Clasen <mclasen@redhat.com>
-2007-12-03 Hans Breuer <hans@breuer.org>
+ Bug 525674 – A typo in gmarkup.c
- * glib/glib.symbols : added glib_gettext (in use by gio)
- * makefile.msc : also try building gio
-
- * glib/gmarkup.c : use G_GUINT64_CONSTANT() to avoid
- 'bad suffix on number'
- * glib/gtestutils.c : declare cariable at the beginning of the block,
- include <io.h> for G_OS_WIN32
- * makefile.msc.in : add gurifuncs and gtestutils
+ * glib/gmarkup.c (g_markup_parse_context_get_element_stack): Fix
+ the docs, reported by Hiroyuki Ikezoe
-2007-12-03 Ryan Lortie <desrt@desrt.ca>
+2008-04-03 Matthias Clasen <mclasen@redhat.com>
- * glib/ghash.c: create a common function for the many places where all
- nodes in the table are removed (remove_all, steal_all, destroy, unref,
- etc...)
+ Bug 525732 – Error in documentation for g_list_first
-2007-12-03 Ryan Lortie <desrt@desrt.ca>
+ * glib/glist.c (g_list_first): Fix the docs, reported by
+ Salvatore Iovene
- * tests/hash-test.c (second_hash_test): fix memory leak, add a few
- extra sanity tests.
+2008-04-02 Tor Lillqvist <tml@novell.com>
-2007-12-03 Matthias Clasen <mclasen@redhat.com>
+ Bug 524314 - g_convert() on Win32 implicitly converts full width
+ alphanumerics into half width
- * glib/gkeyfile.c: Don't call g_get_language_names() per-key.
- (#500638, Michael Meeks)
-
-2007-12-03 Marco Barisione <marco@barisione.org>
-
- * glib/gregex.c:
- * glib/gregex.h: Add new error codes for when compilation fails and
- make compilation error translatable. (#482313, Morten Welinder)
-
-2007-12-03 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gkeyfile.c: Add a hash table to speed up group lookups,
- which GKeyFile does quite a lot.
+ * glib/win_iconv.c: Update from Yukihiro Nakadaira. Use
+ WC_NO_BEST_FIT_CHARS flag for WideCharToMultiByte() unless the
+ //translit flag was suffixed to the codeset name.
-2007-12-03 Alexander Larsson <alexl@redhat.com>
+ * glib/gconvert.c: Include win_iconv.c earlier so that its
+ definition of WINVER before it includes <windows.h> is used.
- * configure.in:
- Add xattr checks for OSX style API (#500506)
-
-2007-12-03 Ryan Lortie <desrt@desrt.ca>
-
- * glib/ghash.c: merge more common code into functions. Vastly
- simplify loop logic in g_hash_table_foreach_remove_or_steal().
-
-2007-12-01 Behdad Esfahbod <behdad@gnome.org>
+2008-03-31 Tor Lillqvist <tml@novell.com>
- * Makefile.am: Don't descend into build/. (#500875)
+ * glib/gmain.c (g_poll): Improve fix for #525192 below: Use
+ SleepEx() so that the sleep is alertable. Thanks to John
+ Ehresman.
-2007-11-28 Matthias Clasen <mclasen@redhat.com>
+2008-03-31 Tor Lillqvist <tml@novell.com>
- * glib/gmarkup.h:
- * glib/gmarkup.c:
- * glib/gerror.c: Add Since: tags to new API, other doc improvements.
-
-2007-11-28 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gurifuncs.c: Some doc cleanups
+ * glib/gwin32.c
+ (g_win32_get_package_installation_directory_of_module): Fix Cygwin
+ breakage. Patch by Lieven van der Heide.
-2007-11-28 Matthias Clasen <mclasen@redhat.com>
+2008-03-31 10:39:17 Tim Janik <timj@imendio.com>
- * glib/gtestutils.c: Fix up some doc comments, avoid C99 comments
+ * glib/gutils.h: reapply inlining fix from r6333 to fix:
+ Bug 522292 – Gives warnings in glib/gutils.h with GCC in C99 mode
+ and again:
+ Bug 315437 – extern inline -> static inline
- * glib/gconvert.c: De-doc-commentify static functions to
- shut up gtk-doc.
+2008-03-31 Tor Lillqvist <tml@novell.com>
- * glib/gutils.c: Fix the glib_gettext doc comment.
+ Bug 525192 - 100% CPU if run main loop with no IO sources
-2007-11-28 Tor Lillqvist <tml@novell.com>
+ * glib/gmain.c (g_poll) [Win32]: Patch by Neil Roberts.
- * config.h.win32.in: Update to match what configure produces.
+2008-03-30 Matthias Clasen <mclasen@redhat.com>
-2007-11-28 Alexander Larsson <alexl@redhat.com>
+ * glib/gtester.c: Don't use ARG_MAX. (#522335, patch by
+ Samuel Thibault, adapted by Sebastian Dröge)
- * glib/gstring.c (g_string_append_uri_escaped):
- Move this function before g_string_append_c so that
- we avoid the plt call due to the undefinf of g_string_append_c
+2008-03-30 Matthias Clasen <mclasen@redhat.com>
-2007-11-28 Emmanuele Bassi <ebassi@gnome.org>
+ * glib/gmacros.h: Add macros wrapping the gcc alloc_size
+ function attribute. (#523019, Rodrigo Moya)
- * gio/Makefile.am: Remove makegioalias.pl from the marshal files
- and avoid it being cleaned up when running make clean.
+ * glib/gmem.h:
+ * glib/gslice.h:
+ * glib/gstrfuncs.h: Use the new attribute where appropriate.
-2007-11-28 Alexander Larsson <alexl@redhat.com>
+2008-03-30 Matthias Clasen <mclasen@redhat.com>
- * glib/glib.symbols:
- Add in the new symbols
-
- * glib/gurifuncs.c:
- Use the aliases framework
-
* glib/glibintl.h:
- * glib/gutils.c:
- Make the alias stuff work now that glib_gettext
- is exported to libgio.
-
-2007-11-27 Ryan Lortie <desrt@desrt.ca>
-
- * glib/ghash.c (g_hash_table_insert, g_hash_table_replace,
- g_hash_table_insert_internal): insert/replace were identical except
- for a single line. Replace both with a common function.
-
-2007-11-27 Alexander Larsson <alexl@redhat.com>
-
- * gio/Makefile.am:
- * gio/gurifuncs.[ch]:
- * glib/Makefile.am:
- * glib/gstring.[ch]:
- * glib/gurifuncs.[ch]:
- Moved gurifuncs from gio to glib
-
-2007-11-27 Alexander Larsson <alexl@redhat.com>
+ * glib/gstrfuncs.c:
+ * glib/gutils.c: Simple fixes to help building GLib on
+ embedded systems without NLS. (#524350, Peter Kjellerstedt)
- * gio/gfileinfo.[ch]:
- * glib/gfileutils.[ch]:
- Move g_format_file_size_for_display from gio to glib
+2008-03-30 Matthias Clasen <mclasen@redhat.com>
-2007-11-27 Alexander Larsson <alexl@redhat.com>
+ * glib/ghash.c: Fix the build with -DG_DISABLE_ASSERT.
+ (#525060, Arfrever Frehtes Taifersar Arahesis)
- * configure.in:
- Allow configuration of gio-module-dir
+2008-03-30 Matthias Clasen <mclasen@redhat.com>
- * gio-2.0.pc.in:
- Export giomodules location as giomodule variable
-
-2007-11-26 Matthias Clasen <mclasen@redhat.com>
+ * glib/gthread.h: Replace occurrances of G_GNUC_PRETTY_FUNCTION
+ by G_STRFUNC. (#524344, Peter Kjellerstedt)
- * tests/markup-collect.c: Add some tests for invalid booleans
+2008-03-30 Matthias Clasen <mclasen@redhat.com>
-2007-11-26 Ryan Lortie <desrt@desrt.ca>
-
- Add new function g_markup_collect_attributes (bug #496847).
-
- * glib/glib.symbols: add g_markup_collect_attributes
-
- * docs/reference/glib/glib-sections.txt:
- * glib/gmarkup.h:
- * glib/gmarkup.c: add g_markup_collect_attributes and new enumerated
- type GMarkupCollectType. Add new error code
- G_MARKUP_ERROR_MISSING_ATTRIBUTE that is thrown by the attribute
- collector.
+ * glib/gtestutils.c: Fix a doc typo. (#524742, Hiroyuki Ikezoe)
-2007-11-27 Tor Lillqvist <tml@novell.com>
+2008-03-22 Claudio Saavedra <csaavedra@gnome.org>
- * glib/win_iconv.c: Some improvements, being upstreamed.
- (must_use_null_useddefaultchar): New function, checks for those
- codepages for which one must pass a NULL lpUsedDefaultChar pointer
- to WideCharToMultiByte().
- (kernel_wctomb): Use it.
- (kernel_wctomb): Return with E2BIG immediately if bufsize is zero.
+ Bug 523877 – gbookmarkfile: avoid using g_string_append_printf() and
+ other optimizations
-2007-11-27 Tor Lillqvist <tml@novell.com>
+ * glib/gbookmarkfile.c: (bookmark_metadata_dump),
+ (bookmark_item_dump), (g_bookmark_file_dump), (expand_exec_line):
+ Replace all calls to g_string_append_printf with g_strconcat () or
+ g_string_append () where appropriate, to reduce the file creation time.
+ Also, use g_string_sized_new () with an appropriate buffer size instead
+ of g_string_new (NULL), to reduce time spent in memory reallocation.
+ (#523877, Claudio Saavedra, Emmanuele Bassi)
- * glib/gutils.c (_glib_get_locale_dir) [Win32]: Use either
- lib/locale or share/locale depending on which one is in
- GLIB_LOCALE_DIR. When the configury recognizes GNU gettext (based
- on the _nl_msg_cat_cntr variable, eek), share/locale gets used.
+2008-03-22 Emmanuele Bassi <ebassi@gnome.org>
- * glib-zip.in: Likewise, look for message catalogs either in
- lib/locale or share/locale.
+ Bug 518160 - replace two g_strdup_printf calls in GBookmarkFile
-2007-11-26 Matthias Clasen <mclasen@redhat.com>
+ * glib/gbookmarkfile.c (is_element_full): Compare the fragments
+ instead of building two strings; this avoids two g_strdup_printf()
+ per namespaced element enountered. (#518160, Felix Riemann)
- * gio/gfileattribute.c: Fix up a doc comment.
+2008-03-20 Alexander Larsson <alexl@redhat.com>
-2007-11-26 Alexander Larsson <alexl@redhat.com>
-
- * Makefile.am:
* configure.in:
- * gio-2.0-uninstalled.pc.in:
- * gio-2.0.pc.in:
- * gio-unix-2.0-uninstalled.pc.in:
- * gio-unix-2.0.pc.in:
- * gio/
- * docs/reference/gio
- Merged gio-standalone into glib.
-
- * glib/glibintl.h:
- * glib/gutils.c:
- Export glib_gettext so that gio can use it
- Add P_ (using same domain for now)
- Add I_ as g_intern_static_string
-
-2007-11-26 Tor Lillqvist <tml@novell.com>
-
- * glib/win_iconv.c: ISO8859-1 is CP28591, not CP1252.
-
-2007-11-26 Tor Lillqvist <tml@novell.com>
-
- Implement #491549: On Windows, always use the native API for
- character set conversions instead of GNU libiconv. Almost all
- codesets supported by GNU libiconv exist as Windows codepages.
- One missing feature is the "C99" and "JAVA" pseudo codesets, but I
- doubt that is worth worrying about.
-
- * glib/win_iconv.c: New file. iconv() implementation for
- Windows. Placed in the public domain by Yukihiro Nakadaira
- <yukihiro.nakadaira@gmail.com>. From
- http://yukihiro.nakadaira.googlepages.com/win_iconv.zip, his
- 2007-11-17 version.
-
- * glib/gconvert.c: Include win_iconv.c on Windows.
-
- * glib/Makefile.am: Add win_iconv.c to EXTRA_DIST.
-
- * configure.in: Bypass iconv checks on Windows.
-
-2007-11-25 Tor Lillqvist <tml@novell.com>
-
- * glib/gtestutils.c: Add conditionals for non-Unix. Just g_error()
- unless G_OS_UNIX for now.
-
-2007-11-25 Matthias Clasen <mclasen@redhat.com>
-
- * configure.in: Require gtk-doc 1.8.
-
- * glib/gasyncqueue.c:
- * glib/gdate.c:
- * glib/gfileutils.c:
- * glib/gmain.c:
- * glib/gmarkup.c:
- * glib/gregex.c:
- * glib/gtestutils.c:
- * glib/gutils.c: Use gtk-doc abbreviations for
- examples in doc comments.
-
-2007-11-24 Matthias Clasen <mclasen@redhat.com>
-
- * */Makefile.am: Replace INCLUDES by AM_CPPFLAGS, other
- cleanups.
-
-2007-11-24 Matthias Clasen <mclasen@redhat.com>
-
- * tests/base64-test.c: Fix a memory overrun.
-
-2007-11-24 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gutils.c: Remove leftover ENABLE_NLS #ifdefs.
-
-2007-11-23 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gbase64.c (g_base64_encode): Don't refuse to encode
- a single byte. (Milan Crha)
-
- * tests/base64-test.c: Test encoding short strings.
-
-2007-11-23 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gi18n-lib.h:
- * glib/gi18n.h: Define a two-argument macro C_() for marking
- translatable strings with context and implement C_() and Q_()
- using g_dpgettext(). (#142676, Morten Welinder)
-
- * glib/glib.symbols:
- * glib/gstrfuncs.[hc]: Implement g_dpgettext().
-
-2007-11-23 Matthias Clasen <mclasen@redhat.com>
-
- * glib/goption.c: Use g_print to print out --help text in
- locale encoding. (#469551, Takao Fujiwara)
-
-2007-11-22 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gkeyfile.c: Set length out param in list-returning functions
- to 0 when returning NULL. (#498728, Christian Persch)
-
-2007-11-21 21:06:47 Tim Janik <timj@imendio.com>
-
- * Makefile.decl: initialize automake variables EXTRA_DIST and
- TEST_PROGS for unconditional appending via += in other makefiles.
- define recursive test targets: test, test-report, perf-report,
- full-report, as described here:
- http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
-
- * Makefile.am:
- * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
- * build/win32/Makefile.am, build/Makefile.am:
- * docs/Makefile.am, docs/reference/Makefile.am:
- * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
- * gmodule/Makefile.am, tests/Makefile.am:
- * tests/refcount/Makefile.am, tests/gobject/Makefile.am:
- * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
- * glib/tests/Makefile.am, glib/pcre/Makefile.am:
- * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
- * gthread/Makefile.am, glib/Makefile.am:
- include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
-
- * glib/tests/Makefile.am: removed example testing rules.
-
- * glib/tests/testing.c: conditionalized performance and slow tests.
-
- * glib/gtestutils.h:
- * glib/gtestutils.c: work around g_test_config_vars not changing its
- exported value after value assignments, aparently due to symbol aliases.
-
- * glib/gtester.c: fixed off-by-one error which produced junk in logs.
-
- * configure.in: check for python >= 2.4 and provide $PYTHON for scripts.
-
-Tue Nov 20 15:59:55 2007 +0100 Tim Janik
-
- Renamed gtestframework to gtestutils.
-
- * glib/glib.h:
- * glib/Makefile.am: added gtestutils.h to public includes.
-
- * glib/gtestutils.c: include gtestutils.h.
-
- * glib/gtestutils.h:
- * glib/glib.symbols:
- * glib/tests/testing.c: renamed gtestframework to gtestutils.
-
- * glib/gtestframework.h: renamed to gtestutils.h.
-
- * glib/gtestframework.c: renamed to gtestutils.c.
-
-Tue Nov 20 15:29:34 2007 +0100 Tim Janik
-
- glib/gtestframework.c: g_test_init(): make warnings and criticals fatal for all test programs.
-
-Wed Nov 14 20:35:05 2007 +0100 Tim Janik
-
- gtestframework.c: added test API documentation by Sven Herzberg and Tim Janik.
-
-Wed Nov 14 19:10:28 2007 +0100 Tim Janik
-
- gtestframework.[hc]: implemented g_test_queue_destroy() and g_test_queue_unref().
-
-Fri Nov 9 12:28:52 2007 +0100 Tim Janik
-
- Added g_test_bug() and related API.
-
- * gtester.c: handle G_TEST_LOG_MESSAGE and test test message API.
-
- * gtestframework.h, gtestframework.c: added test message API and convenience
- API to send test messages about bug URLs.
-
-Fri Nov 9 11:35:11 2007 +0100 Tim Janik
-
- Added API to access test framework configuration.
-
- * gtestframework.h, gtestframework.c: export testing configuration to test
- programs with g_test_quick(), g_test_perf(), g_test_verbose(), g_test_quiet().
-
-Thu Nov 8 17:55:09 2007 +0100 Tim Janik
-
- gtester: implemented logic to handle failing tests, self tests, and validate XML reports.
-
- * gtester.c: terminate when tests failed. keep XML valid when test cases fail.
- restart test binaries when tests fail, resuming after the last processed test.
- support --gtester-selftest to run gtester itself as test program.
- support --test-arg=<arg> to pass args along to test programs. added
- main_selftest() which does a simplistic fixture test. fail if exit
- code of test programs is not 0.
-
- * gtestframework.h: added G_TEST_LOG_SKIP_CASE test log message type.
-
- * gtestframework.c: support --GTestSkipCount=<n> to skip a number of tests.
-
- * tests/Makefile.am: added test-report: for demonstration purposes.
- added gtester-xmllint-check: and hooked it up into check:, this rule calls
- gtester as test program, running it's selftest, and then uses xmllint to
- validate the generate XML test log file.
-
-Thu Nov 8 14:51:37 2007 +0100 Tim Janik
-
- gtester: implemented XML logging.
-
- * glib/gtester.c: log test messages to XML output file. beautified normal test
- result output.
-
- * glib/gtestframework.c: fixed GTimer leak.
-
- * glib/tests/Makefile.am: start gtester with --verbose.
-
-Thu Nov 8 12:33:31 2007 +0100 Tim Janik
-
- tests/Makefile.am: execute test programs with gtester, add test: to check:
-
-Thu Nov 8 12:18:51 2007 +0100 Tim Janik
-
- Fixed PLT symbol exports for gtestframework.h.
-
- * glib/glib.symbols: added all exported gtestframework.h symbols.
-
- * glib/gtestframework.c: include galias.h, galiasdef.c, define __G_TESTFRAMEWORK_C__.
-
-Thu Nov 8 11:31:12 2007 +0100 Tim Janik
-
- glib/gtester.c: fixed debugging flag.
-
-Wed Nov 7 17:56:26 2007 +0100 Tim Janik
-
- fixed bogus unistd.h include.
-
-Wed Nov 7 17:53:30 2007 +0100 Tim Janik
-
- Implemented test log IPC.
+ Final fixes for struct statfs.f_fstypename checks (OpenBSD). (#521045)
+ Patch from ephraim_owns@hotmail.com
- * gtester.c: read and decode log messages from test binary child processes.
- fixed GIOChannel and child watch handling to process all messages and avoid
- hangs. pass --verbose and --quiet on to children, default to --quiet.
+2008-03-19 Tor Lillqvist <tml@novell.com>
- * gtestframework.h: export g_test_log_type_name().
+ Bug 523298 - win_iconv can't convert from UTF-8 to GB18030 (or vice versa)
- * gtestframework.c: send test log to --GTestLogFD=<fd> if given, removed
- bogus -o-option.
+ * glib/win_iconv.c: Fixes for code page 54936 (GB18030)
+ (mbtowc_flags): New function. Check if a code page is one of those
+ for which the dwFlags parameter to MultiByteToWideChar() must be
+ zero. Return 0 or MB_ERR_INVALID_CHARS.
+ (mbcs_mblen): New function for multi-byte (more than two bytes for
+ some characters) code pages. Only handles 54936 for now.
+ (make_csconv): Use it for 54936.
+ (kernel_mbtowc): Use mbtowc_flags().
-Tue Nov 6 20:07:44 2007 +0100 Tim Janik
+2008-03-18 Sebastian Dröge <slomo@circular-chaos.org>
- gtester.c: support test case listing through gtester.
+ Bug 522292 - Gives warnings in glib/gutils.h with GCC in C99 mode
-Tue Nov 6 20:01:06 2007 +0100 Tim Janik
+ * glib/gutils.h: Use "__attribute__ ((__gnu_inline__))" for inlining
+ if either __GNUC_STDC_INLINE__ or __GNUC_GNU_INLINE__ are defined. In
+ gcc version prior to 4.3 no correct C99-inline was implemented which
+ has semantic differences to GNU inline.
- gtestframework.c: fixed testpath matches for automatic root suite.
+2008-03-16 Tor Lillqvist <tml@novell.com>
-Tue Nov 6 19:50:33 2007 +0100 Tim Janik
+ * configure.in: Don't bother defining Autoconf variables for
+ glib.def, gmodule.def, gobject.def and gthread.def when this can
+ be handled easily in */Makefile.am which are the only files that
+ use them. Remove also TESTGMODULE_EXP which isn't used at all.
- gtester.c: adapted to become a rudimentary test binary launcher.
-
- * gtester.c: increased read buffer size to match common unix pipe buffer size.
- added argument parsing and usage. changed io handling to capture and replicate
- stdout. fixed io handlers to be cleaned up when the child process exits (catch
- G_IO_ERR | G_IO_HUP). we now use pending/iteration instead of a main loop
- structure, to keep running until the child process exits and all io has been
- processed. launch the test binaries given on the command line. don't quit when
- a child couldn't be launched but --keep-going was specified.
-
-Tue Nov 6 17:11:37 2007 +0100 Tim Janik
-
- Integrated gtester program into build process.
-
- * Makefile.am: build and install gtester binary.
-
- * gtester.c: fixed up coding style and removed hard wired test coded.
-
-Tue Nov 6 16:12:32 2007 +0100 Sven Herzberg
-
- glib/gtester.c:Small -Wall fix
-
-Tue Nov 6 16:05:06 2007 +0100 Sven Herzberg
-
- glib/gtester.c:Implemented nonblocking reading properly now
-
-Mon Nov 5 13:53:23 2007 +0100 Sven Herzberg
-
- glib/gtester.c:Quit the application when the output is parsed completely, not just the process finished
-
-Mon Nov 5 12:00:16 2007 +0100 Sven Herzberg
-
- glib/gtester.c:Read the output of the child process
-
-Mon Nov 5 11:50:59 2007 +0100 Sven Herzberg
-
- glib/gtester.c:Use g_spawn_async_with_pipes()
-
-Mon Nov 5 11:50:08 2007 +0100 Sven Herzberg
-
- glib/gtester.c:Spawn a process async and quit gtester after the child process exited
-
-Mon Nov 5 11:30:45 2007 +0100 Sven Herzberg
-
- glib/gtester.c:Added a first revision of gtester
-
-Tue Nov 6 16:47:06 2007 +0100 Tim Janik
-
- Implemented test log serialization.
-
- * glib/gtestframework.h: added g_test_log*() API.
-
- * glib/gtestframework.c: implement test log serialization.
-
-Tue Nov 6 14:24:54 2007 +0100 Tim Janik
-
- Implemented test logging basics.
-
- * glib/gtestframework.c: added --debug-log and --verbose, implemented
- test information logging.
-
- * testing.c: test g_test_maximized_result() and g_test_minimized_result().
-
-Tue Nov 6 11:52:14 2007 +0100 Tim Janik
-
- Implemented g_test_timer*().
-
- * gtestframework.c: implemented g_test_timer*().
-
- * tests/testing.c: added a g_test_timer*() test.
-
-Mon Nov 5 18:28:24 2007 +0100 Tim Janik
-
- Implemented support for testpaths.
-
- * gtestframework.c: implemented g_test_add_vtable() and g_test_add_func().
-
- * tests/testing.c: use g_test_add() and g_test_add_func() to majorly simplify main().
-
-Mon Nov 5 15:56:42 2007 +0100 Tim Janik
-
- testing.c: added tests for the g_test_rand*() API.
-
-Mon Nov 5 15:55:38 2007 +0100 Tim Janik
-
- Implemented g_test_rand*().
-
- * gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once.
- added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints,
- doubles and ranges.
-
- * gtestframework.c: fixed "--seed" option and implemented g_test_rand*().
-
-Mon Nov 5 15:51:43 2007 +0100 Tim Janik
-
- testing.c: added tests for g_assert_cmphex() and forked test traps.
-
-Mon Nov 5 15:10:18 2007 +0100 Tim Janik
-
- Implemented g_test_trap_fork() API.
-
- * gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API.
-
- * gtestframework.c: implemented g_test_trap_fork() API.
-
-Thu Nov 1 15:05:07 2007 +0100 Tim Janik
-
- * glib/gtestframework.c:
-
- that match a given test path.
- (g_test_run_suite): run suite only if it matches the existing test paths.
-
- * glib/tests/testing.c: minor rename.
-
-Thu Nov 1 13:45:55 2007 +0100 Tim Janik
-
- GTest framework started.
-
- * glib/gtestframework.h: testing framework API as proposed on gtk-devel-list.
- includes elaborate assertions, performance report functions, test traps,
- test timer, test random numbers, teardoiwn garbage collection functions
- and general test case / test suite management APIs.
-
- * glib/gtestframework.c: first test framework implementation. already covers
- some test suite management APIs and assertion message implementations.
-
- * glib/tests/testing.c: test program for the testing framework.
-
- * glib/tests/Makefile.am: complie testing.c as test. run all tests as part of
- make test:.
-
-Wed Oct 31 15:42:48 2007 +0100 Tim Janik
-
- glib/Makefile.am: build tests/ subdir after building libglib.
-
-Tue Oct 30 16:17:32 2007 +0100 Tim Janik
-
- Fixed up internal 'g_test*' names.
-
- * refcount/signals.c:
- * refcount/objects.c:
- * refcount/objects2.c:
- * refcount/closures.c:
- * refcount/properties.c:
- * refcount/properties2.c: changed namespace prefix from g_test_* to my_test_*
- to not clash with newly introduced g_test* API in glib.
-
-Tue Oct 30 14:41:26 2007 +0100 Tim Janik
-
- Added gtestframework.[hc] and glib/tests/.
-
-2007-11-20 Sven Neumann <sven@gimp.org>
-
- * glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
- g_strjoin() to concatenate two strings.
-
-2007-11-19 Marco Barisione <marco@barisione.org>
-
- * glib/gregex.c: When the compilation of a pattern fails in the error
- message use the character offset and not the byte offset.
-
- * glib/gregex.c: Pass an unsigned long instead of an int to
- pcre_fullinfo() to avoid problems on 64-bit systems (#498113, Kouhei
- Sutou)
-
-2007-11-19 10:30:33 Tim Janik <timj@imendio.com>
-
- * configure.in: updated version number to 2.15.0 for development.
-
-2007-11-18 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gbase64.c: Documentation improvements. (#496518,
- Stefan Schulze Frielinghaus)
-
-2007-11-18 Matthias Clasen <mclasen@redhat.com>
-
- * configure.in: Check whether assembler supports numerical local
- labels.
-
- * glib/gatomic.c: Fix powerpc implementation of atomic ops for
- platforms where the assembler doesn't support numerical local
- labels. (#445362)
-
-2007-11-15 Ryan Lortie <desrt@desrt.ca>
-
- * docs/reference/glib/tmpl/markup.sgml:
- * glib/gmarkup.h:
- * glib/gmarkup.c: new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the
- parser to prepend location information (ie: "Error on line %d, char
- %d:") to errors generated by the GMarkupParser callbacks.
-
- Closes #496046.
-
-2007-11-15 Ryan Lortie <desrt@desrt.ca>
-
- * docs/reference/glib/glib-sections.txt:
- * glib/glib.symbols:
- * glib/gerror.h:
- * glib/gerror.c: new functions g_prefix_error and
- g_propagate_prefixed_error.
-
-2007-11-13 Cody Russell <bratsche@gnome.org>
-
- * docs/reference/gobject/gobject-docs.sgml:
- * docs/reference/gobject/tut_gsignal.xml:
- * docs/reference/gobject/tut_gtype.xml:
- * docs/reference/gobject/tut_intro.xml:
- * docs/reference/gobject/tut_tools.xml:
- * docs/reference/gobject/tut_howto.xml:
- * docs/reference/gobject/tut_gobject.xml: Documentation fixes.
- Recommend macro type names such as NAUTILUS_TYPE_WINDOW (not
- NAUTILUS_WINDOW_TYPE). Fixed text which erroneously stated that
- superclass initializers don't run when an object is
- instantiated. Fixed numerous spelling mistakes. Minor grammar
- edits. (#490637, Adam Dingle)
-
-2007-11-09 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gkeyfile.c: Coding style cleanups and doc
- improvements. (#491979, #491982, Areg Beketovski)
-
-2007-11-09 Matthias Clasen <mclasen@redhat.com>
-
- * glib/giochannel.c: Coding style cleanups and doc
- improvements. (#491975, Areg Beketovski)
-
-2007-11-09 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gmain.c (g_main_context_iteration): Improve the
- docs. (#491974, Areg Beketovski)
-
-2007-11-09 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gdate.c: Coding style fixes.
-
-2007-11-09 Matthias Clasen <mclasen@redhat.com>
-
- * configure.in: Add AM_PROG_CC_C_O.
-
- * Makefile.am: Remove the install-exec-local hook and use
- configexecincludedir_DATA instead, in an attempt to avoid
- automake 1.9 <> 1.10 incompatibilities.
-
- * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since
- automake 1.10 complains.
-
-2007-11-09 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gspawn.c (g_spawn_sync): Improve the docs. (#491968,
- Areg Beketovski)
-
-2007-11-08 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gmain.c (g_main_context_release):
- (g_main_context_acquire):
- (g_main_context_new): Fix the doc wording. (#491957,
- #491965, #491966, Areg Beketovski)
-
-2007-11-08 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gutils.c (g_set_application_name): Add a missing
- since tag. (#464259, Mark Doliner)
-
-2007-11-08 Matthias Clasen <mclasen@redhat.com>
-
- * glib/goption.c (g_option_context_new): Improve the docs.
- (#436293, Vincent Untz)
-
-2007-11-08 Matthias Clasen <mclasen@redhat.com>
-
- * glib/gmain.c (g_main_loop_quit): Expand the docs
- a bit. (#317775, Søren Sandmann)
-
-2007-11-08 Matthias Clasen <mclasen@redhat.com>
+ * glib/Makefile.am: Corrsponding change.
- * autogen.sh: Accept automake 1.10, too
-
- * mkinstalldirs: Temporarily add this script, to fix building
- from svn.
-
- * Makefile.am: Use MKDIRS_P instead of mkinstalldirs, add
- ChangeLog.pre-2-14 and mkinstalldirs to EXTRA_DIST.
-
-2007-11-08 Matthias Clasen <mclasen@redhat.com>
+2008-03-14 Michael Natterer <mitch@imendio.com>
- * glib/gmarkup.h: Include gslist.h. Pointed out by Michael Natterer.
+ * glib/*.h: make it possible to disable single-file includes by
+ defining G_DISABLE_SINGLE_INCLUDES when building against GLib.
+ Approved by Tim Janik.
-2007-11-08 Matthias Clasen <mclasen@redhat.com>
+ * glib/glib.h: include <glib/gslice.h>.
- * glib/gconvert.c (g_convert_with_iconv): Try harder to reset
- shift state with AIX iconv(). (#467537)
+ * glib/gi18n.h
+ * glib/gi18n-lib.h
+ * glib/gprintf.h: include <glib.h> so the above works when these
+ files are included without including <glib.h> first.
-2007-11-08 Matthias Clasen <mclasen@redhat.com>
+2008-03-14 Alexander Larsson <alexl@redhat.com>
- * configure.in:
- * m4macros/glib-2.0.m4: Require pkg-config 0.16 in configure
- and in AM_PATH_GLIB_2_0 to be consistent with the use of
- PKG_PROG_PKG_CONFIG which was introduced in 0.16. (#418778,
- Loïc Minier)
+ * configure.in:
+ Add required includes for f_fstypename member check.
-2007-11-08 Matthias Clasen <mclasen@redhat.com>
+2008-03-14 Alexander Larsson <alexl@redhat.com>
- * glib/gstrfuncs.c (g_parse_long_long): Don't leave
- out parameters uninitialized. (#490061, Benjamin Otte)
+ * configure.in:
+ Added checks for FEN (Solaris File Event Notification)
-2007-11-07 Matthias Clasen <mclasen@redhat.com>
+2008-03-13 Tor Lillqvist <tml@novell.com>
- * glib/gmain.c (g_main_context_unref): Don't leak the
- condvar. (#479724, Areg Beketovski)
+ * glib-zip.in: Add lib/gio-2.0.lib and lib/gio-2.0.def.
-2007-11-07 Matthias Clasen <mclasen@redhat.com>
+2008-03-12 Tor Lillqvist <tml@novell.com>
- * glib/glib.symbols:
- * glib/gmarkup.[hc] (g_markup_parse_context_get_element_stack):
- New function, to get the stack of open elements. (#452887,
- Ryan Lortie)
+ * configure.in: Expand gio/win32/Makefile.
-2007-11-07 Matthias Clasen <mclasen@redhat.com>
+2008-03-12 Matthias Clasen <mclasen@redhat.com>
- * glib/gkeyfile.[hc]: Make some functions that take
- a GError return boolean instead of void. (#375651, Matt Barnes)
+ * configure.in: Bump version to 2.17.0
-2007-11-07 Matthias Clasen <mclasen@redhat.com>
+ * ChangeLog.pre-2-16: rotate ChangeLog
- * autogen.sh: Use automake 1.9
-
- * acinclude.m4:
- * configure.in: Move some inter-*.m4 includes from
- configure.in to acinclude.m4 to avoid warnings when
- using automake 1.9. (#449937)
-
-2007-11-07 Matthias Clasen <mclasen@redhat.com>
-
- === Branch for 2.14 ===
+ * === branch for 2.16 ===