fixed build order to build gobject after gmodule gthread so gobject tests
[platform/upstream/glib.git] / ChangeLog
index 678e026..2799940 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,354 @@
+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>
+
+       * configure.in: Check for gmtime_r. Missing part of bug #511807.
+
+2008-02-01  Yannig Marchegay  <yannig@marchegay.org>
+
+       * 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  Christian Persch  <chpe@gnome.org>
+
+       * docs/reference/glib/tmpl/macros_misc.sgml: G_GNUC_[PRETTY_]FUNCTION
+       are deprecated since 2.16, not 2.14.
+
+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>
+
+       * 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)
+
+2008-01-27  Murray Cumming  <murrayc@murrayc.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 ===
+
+       * NEWS: Updates
+
+2008-01-20  Murray Cumming  <murrayc@murrayc.com>
+
+       * glib/gchecksum.c: (g_checksum_update): Accept -1 for the data 
+       length if the data is a null-terminated string. Bug #510855.
+
+2008-01-21  Alexander Larsson  <alexl@redhat.com>
+
+       * configure.in:
+       Only check for sys/inotify.h (see gio/ChangeLog) 
+
+2008-01-18 16:51:23  Tim Janik  <timj@imendio.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.
+
+2008-01-18  Murray Cumming  <murrayc@murrayc.com>
+
+       * glib/gfileutils.c:
+       * glib/gsequence.c:
+       * glib/gstring.c: Fixed some minor typos in the documentation.
+
+2008-01-16  Dan Winship  <danw@gnome.org>
+
+       * glib/gchecksum.c (md5_sum_update): Fix another bug (which
+       doesn't affect the results, but may cause it to read bad memory).
+
+2008-01-15  Alexander Larsson  <alexl@redhat.com>
+
+       * glib/gurifuncs.c:
+       Clarify docs for g_uri_unescape_string() (#508773)
+
+2008-01-14  Dan Winship  <danw@gnome.org>
+
+       * m4macros/glib-2.0.m4: Support gio in AM_PATH_GLIB_2_0 (#509465)
+
+2008-01-15  Dan Winship  <danw@gnome.org>
+
+       * 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
+
+       * tests/checksum-test.c: Rewrite this to be much more exhaustive
+       (and in particular to test the md5_sum_update bugfix).
+
+2008-01-14  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Bump version
+
+       * === Released 2.15.2 ===
+
+       * NEWS: Updates
+
+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
+
+       * === Released 2.15.1 ===
+
+2008-01-07  Alexander Larsson  <alexl@redhat.com>
+
+       * 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-19 20:30:18  Tim Janik  <timj@imendio.com>
 
-        * glib/gtestutils.c: capture g_log() messages and send to gtester.
+       * glib/gtestutils.c: capture g_log() messages and send to gtester.
        also, send assertion messages to gtester.
 
        * glib/gtester.c: add error messages to output log file.
 
 2007-12-19  Alexander Larsson  <alexl@redhat.com>
 
-        * glib/gfileutils.[ch]:
-        * glib/glib.symbols:
-        Rename g_format_file_size_for_display to g_format_size_for_display.
+       * 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>
 
 
 2007-12-10 15:08:59  Tim Janik  <timj@imendio.com>
 
-        * let g_warn_if_fail replace g_assert as discussed here:
-          http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html
+       * let g_warn_if_fail replace g_assert as discussed here:
+         http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html
 
-        * fix bug #502498: Test framework assertion failures should follow
-        gcc error format.
+       * fix bug #502498: Test framework assertion failures should follow
+       gcc error format.
 
-        * 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.
+       * 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.
 
-        * 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.
+       * 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.
 
-        * gkeyfile.c, gbookmarkfile.c: changed g_assert*() to g_warn_if_fail()
-        or g_return_if_fail() where suitable.
+       * gkeyfile.c, gbookmarkfile.c: changed g_assert*() to g_warn_if_fail()
+       or g_return_if_fail() where suitable.
 
-        * gio/: changed g_assert to g_warn_if_fail.
+       * gio/: changed g_assert to g_warn_if_fail.
 
 2007-12-10 13:02:08  Tim Janik  <timj@imendio.com>
 
 
 2007-12-05 11:43:22  Tim Janik  <timj@imendio.com>
 
-        * glib/gtestutils.[hc]: added g_test_add_data_func() to pass data
+       * glib/gtestutils.[hc]: added g_test_add_data_func() to pass data
        into tests. allow data arguments for fixture tests.
 
        * glib/gtestutils.c: fixed fatal log flag setup, so tests really abort
 
 2007-12-03  Alexander Larsson  <alexl@redhat.com>
 
-        * configure.in:
+       * configure.in:
        Add xattr checks for OSX style API (#500506)
 
 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
 
 2007-11-28  Alexander Larsson  <alexl@redhat.com>
 
-        * glib/glib.symbols:
+       * glib/glib.symbols:
        Add in the new symbols
        
-        * glib/gurifuncs.c:
+       * glib/gurifuncs.c:
        Use the aliases framework
        
-        * glib/glibintl.h:
-        * glib/gutils.c:
+       * glib/glibintl.h:
+       * glib/gutils.c:
        Make the alias stuff work now that glib_gettext
        is exported to libgio. 
 
 
 2007-11-27  Alexander Larsson  <alexl@redhat.com>
 
-        * gio/Makefile.am:
-        * gio/gurifuncs.[ch]:
-        * glib/Makefile.am:
-        * glib/gstring.[ch]:
-        * glib/gurifuncs.[ch]:
+       * 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>
 
-        * gio/gfileinfo.[ch]:
-        * glib/gfileutils.[ch]:
-        Move g_format_file_size_for_display from gio to glib
+       * gio/gfileinfo.[ch]:
+       * glib/gfileutils.[ch]:
+       Move g_format_file_size_for_display from gio to glib
 
 2007-11-27  Alexander Larsson  <alexl@redhat.com>
 
-        * configure.in:
+       * configure.in:
        Allow configuration of gio-module-dir
        
-        * gio-2.0.pc.in:
+       * gio-2.0.pc.in:
        Export giomodules location as giomodule variable
 
 2007-11-26  Matthias Clasen  <mclasen@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:
+       * 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:
+       * 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
        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
+       http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
 
        * Makefile.am:
        * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am: