Add g_hash_table_{remove,steal}_all to remove all nodes from a hash table.
[platform/upstream/glib.git] / ChangeLog
index 39e8010..c782756 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,123 @@
+2006-06-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/glib.symbols: 
+       * glib/ghash.h: 
+       * glib/ghash.c: Add g_hash_table_{remove,steal}_all to
+       remove all nodes from a hash table.  (#168538, Matt Barnes)
+
+2006-06-01  Behdad Esfahbod  <behdad@gnome.org>
+
+       * glib/gkeyfile.c (g_key_file_to_data),
+       (g_key_file_parse_value_as_comment),
+       (g_key_file_parse_comment_as_value):
+       * glib/gscanner.c (g_scanner_get_token_ll): Cleanup. Use return
+       value of g_string_free(...). (#343548, Chris Wilson)
+
+2006-05-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gmarkup.c (g_markup_parse_context_parse): 
+       Don't use g_str_has_{prefix,suffix} here.
+
+2006-05-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gmarkup.h: Add a GMarkupParseFlags flag for
+       treating CDATA as text. 
+
+       * glib/gmarkup.c (g_markup_parse_context_parse): 
+       Implement it here.
+
+2006-05-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/markups/expected-*: Output that test-markup
+       is expected to produce when run on the valid gmarkup 
+       examples.
+
+       * tests/markup-test.c: Only dump the results of the
+       first, unchunked parse, to compare it against the expected
+       output. 
+
+       * tests/run-markup-tests.sh: For valid examples, compare
+       the output of test-markup against the corresponding
+       expected-<n> file.
+       
+2006-05-24  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Don't compile timeloop on Minix. 
+       (Leonard den Ottolander)
+
+2006-05-22  Sebastian Wilhelmi  <wilhelmi@google.com>
+
+       * glib/gthread.c (g_thread_init_glib): Run _g_atomic_thread_init
+       as the first of the full fledged initializers to allow the later
+       to potentially use atomic ints (which they currently do
+       not). (#342563, Peter Kjellerstedt)
+
+2006-05-16  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/Makefile.am: 
+       * tests/strtoll-test.c: Add tests for g_ascii_strtoll()
+       and g_ascii_strtoull().
+
+       * glib/glib.symbols:
+       * glib/gstrfuncs.h: 
+       * glib/gstrfuncs.c (g_ascii_strtoll): New function to
+       parse signed 64bit integers like strtoll does.  
+
+       * glib/goption.c (parse_int64): Use g_ascii_strtoll(),
+       since strtoll() is C99 and not available on some
+       systems.  (#341826, Kazuki Iwamoto)
+
+2006-05-15  Matthias Clasen  <mclasen@redhat.com>
+       
+       * configure.in: Bump version
+
+       * === Released 2.11.1 ===
+
+       * NEWS: Updates
+
+2006-05-13  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/grel.c: Fix several cases of deref-before-NULL-check.
+       (#341191, Pascal Terjan)
+
+       * glib/glib.symbols: 
+       * glib/goption.h: 
+       * glib/goption.c: Allow optional summary and description
+       texts before and after the option descriptions, and add
+       a way to translate them.  (#336120, Behdad Esfahbod)
+
+2006-05-12  Tor Lillqvist  <tml@novell.com>
+
+       * glib/giowin32.c (g_io_win32_sock_set_flags): Implement
+       setting/clearing G_IO_FLAG_NONBLOCK for channels attached to
+       sockets. (#341192)
+       (g_io_win32_unimpl_set_flags): set_flags method for the
+       unimplemented case.
+       
+2006-05-11  Bastien Nocera  <hadess@hadess.net>
+
+       * glib/goption.c: (parse_int64), (parse_arg), (free_changes_list):
+       * glib/goption.h:
+       * tests/option-test.c: (arg_test6), (main): add an int64 type for
+       GOption (G_OPTION_ARG_INT64) (#341237)
+
+2006-05-10  Sebastian Wilhelmi  <wilhelmi@google.com>
+
+       * glib/gthread.h, gthread/gthread-impl.c: Make the magic and
+       location arguments to the error-checking-mutex functions const and
+       do not write to them, as we might not own them. Clean up the
+       error-checking-mutex code quite a bit. (#335198, Chris Wilson)
+
+       * glib/gthread.c: Use g_atomic_pointer_set instead of old
+       homegrown version now that we have it. (#335198, Chris Wilson)
+
+       * gthread/gthread-posix.c, gthread/gthread-win32.c: Prevent
+       calling into g_cond_wait resp. g_mutex_lock/unlock directly to
+       avoid recursions into the errorcheking mutex code (and out of
+       principle anyway). (#335198, Chris Wilson)
+
+       * tests/errorcheck-mutex-test.c: Adapt to GLib coding standards.
+
 2006-05-09  Sebastian Wilhelmi  <wilhelmi@google.com>
 
        * glib/gthreadinit.h: Renamed to glib/gthreadprivate.h and moved
        * tests/casemap.txt: 
        * tests/casefold.txt: Regenerate from Unicode 5.0 data. 
 
-Tue May  2 15:00:00 2006  Tim Janik  <timj@gtk.org>
-
        * glib/guniprop.c: Make interval_compare static.
 
+Tue May  2 15:00:00 2006  Tim Janik  <timj@gtk.org>
+
        * tests/gobject/deftype.c: added test code from Behdad Esfahbod, 
        see #337128.