applied patch by Tommi Komulainen to fix int64 printouts, fixes #502511.
[platform/upstream/glib.git] / ChangeLog
index 1ddca7c..46993bd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,435 @@
+2007-12-10 13:02:08  Tim Janik  <timj@imendio.com>
+
+       * 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
+       
+       * 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.
+
+2007-12-06 13:29:00  Tim Janik  <timj@imendio.com>
+
+       * glib/gtester.c (child_report_cb): detect non-blocking fd EOF
+       by read()==0 following poll(), needed on MacOS.
+
+2007-12-06  Mathias Hasselmann  <mathias@openismus.com>
+
+       * glib/gunidecomp.c: Mention g_utf8_normalize()
+       returns NULL on invalid string. (#501997)
+
+2007-12-06  Mathias Hasselmann  <mathias@openismus.com>
+
+       * glib/gerror.c: Improve wording for g_propagate_error docs.
+
+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/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
+       upon criticals/warnings/errors.
+
+       * glib/tests/testing.c: test test_data arguments.
+
+       * glib/gtester.c: some prototype fixups.
+
+2007-12-05  Tor Lillqvist  <tml@novell.com>
+
+       * glib/win_iconv.c: Add "shift-jis" as an alternative spelling of
+       "shift_jis".
+
+2007-12-05  Ryan Lortie  <desrt@desrt.ca>
+
+       * autogen.sh: for the benefit of git users, checkout build/ if it is
+       missing
+       * .gitignore: but after that, ignore it.
+
+2007-12-05  Ryan Lortie  <desrt@desrt.ca>
+
+       * glib/ghash.c: ungtk-docify some comments for internal functions
+
+2007-12-04  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gio/glocalfileinfo.c: Replace the copy-and-paste MD5 digest
+       generation with GChecksum.
+
+2007-12-04  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * 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)
+
+       * glib/glib.h:
+       * glib/Makefile.am:
+       * glib/glib.symbols: Build glue for GChecksum
+
+       * tests/Makefile.am
+       * tests/checksum-test.c: Add test suite for GChecksum.
+
+2007-12-03  Ryan Lortie  <desrt@desrt.ca>
+
+       * glib/ghash.c: no code changes; add comments to document the internal
+       functions.
+
+2007-12-03  Ryan Lortie  <desrt@desrt.ca>
+
+       * glib/ghash.c: no code changes; reorder functions to remove the need
+       for forward declarations.
+
+2007-12-03  Ryan Lortie  <desrt@desrt.ca>
+
+       * 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
+
+2007-12-03  Ryan Lortie  <desrt@desrt.ca>
+
+       * glib/ghash.c: rename 'node' to 'node_ptr' where appropriate
+
+2007-12-03  Ryan Lortie  <desrt@desrt.ca>
+
+       * glib/ghash.c: convert G_HASH_TABLE_RESIZE() macro to inline function
+
+2007-12-03  Ryan Lortie  <desrt@desrt.ca>
+
+       * glib/glib.symbols (glib_gettext): remove stray (duplicate) entry
+       from file to fix the build
+
+2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
+
+       * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
+
+2007-12-03  Hans Breuer  <hans@breuer.org>
+
+       * 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
+
+2007-12-03  Ryan Lortie  <desrt@desrt.ca>
+
+       * 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...)
+
+2007-12-03  Ryan Lortie  <desrt@desrt.ca>
+
+       * tests/hash-test.c (second_hash_test): fix memory leak, add a few
+       extra sanity tests.
+
+2007-12-03  Matthias Clasen  <mclasen@redhat.com>
+       
+       * 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.  
+
+2007-12-03  Alexander Larsson  <alexl@redhat.com>
+
+        * 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>
+
+       * Makefile.am: Don't descend into build/. (#500875)
+
+2007-11-28  Matthias Clasen  <mclasen@redhat.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
+
+2007-11-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gtestutils.c: Fix up some doc comments, avoid C99 comments
+
+       * glib/gconvert.c: De-doc-commentify static functions to
+       shut up gtk-doc.
+
+       * glib/gutils.c: Fix the glib_gettext doc comment.
+
+2007-11-28  Tor Lillqvist  <tml@novell.com>
+
+       * config.h.win32.in: Update to match what configure produces.
+
+2007-11-28  Alexander Larsson  <alexl@redhat.com>
+
+       * 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
+
+2007-11-28  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gio/Makefile.am: Remove makegioalias.pl from the marshal files
+       and avoid it being cleaned up when running make clean.
+
+2007-11-28  Alexander Larsson  <alexl@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>
+
+        * 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:
+       Allow configuration of gio-module-dir
+       
+        * gio-2.0.pc.in:
+       Export giomodules location as giomodule variable
+
+2007-11-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/markup-collect.c: Add some tests for invalid booleans
+
+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.
+
+2007-11-27  Tor Lillqvist  <tml@novell.com>
+
+       * 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.
+
+2007-11-27  Tor Lillqvist  <tml@novell.com>
+
+       * 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.
+
+       * glib-zip.in: Likewise, look for message catalogs either in
+       lib/locale or share/locale.
+
+2007-11-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * gio/gfileattribute.c: Fix up a doc comment.
+
+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