Avoid a possible NULL dereference (found by Coverity), also avoid some
[platform/upstream/glib.git] / ChangeLog.pre-2-12
index 0ef48fc..052ba35 100644 (file)
@@ -1,3 +1,68 @@
+2006-04-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gbookmarkfile.c (is_element_full): Avoid a possible
+       NULL dereference (found by Coverity), also avoid some 
+       pointless strdups.
+
+       * tests/keyfile-test.c (test_comments): Add a test for
+       the previous change.
+
+       * glib/gkeyfile.c (g_key_file_lookup_group_node): Remove
+       redundant code.
+       (g_key_file_get_group_comment): Don't dereference before
+       checking for NULL.  (#338572, Coverity, Pascal Terjan)
+
+2006-04-19  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gdataset.c: Add some missing Since: 2.8 tags.
+
+2006-04-19  Tor Lillqvist  <tml@novell.com>
+
+       * glib/gatomic.c: Adapt to the changed prototype of
+       InterlockedCompareExchange() in newer SDKs. Use
+       InterlockedCompareExchangePointer() when applicable. (#155884,
+       John Ehresman)
+
+2006-04-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gkeyfile.h:
+       * glib/glib.symbols:
+       * glib/gkeyfile.c: Add api to get and set doubles and 
+       lists of doubles.  (#164719, Maurizio Monge, Dom Lachowicz)
+
+       * tests/keyfile-test.c: Add tests for new api.
+
+       * glib/gkeyfile.c (g_key_file_add_group): Accept duplicate
+       groups.  (#157877, Sebastien Bacher)
+
+       * tests/keyfile-test.c: Add tests for duplicate key and
+       duplicate group handling.
+
+2006-04-17  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gcompletion.c (g_completion_complete_utf8): Make passing
+       NULL for new_prefix work as documented.  (#338845, Yevgen Muntyan)
+
+       * tests/completion-test.c: Test that passing NULL for 
+       new_prefix in g_completion_complete_utf8 works.
+
+2006-04-17  Kjartan Maraas  <kmaraas@gnome.org>
+
+       * configure.in: Remove obsolete entry for no_NO.
+       * po/no.po: And the translation.
+
+2006-04-16  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gdate.c (g_date_fill_parse_tokens): Avoid an array
+       overrun.  (Coverity, fix by Pascal Terjan)
+
+2006-04-12  Bastien Nocera  <hadess@hadess.net>
+
+       reviewed by: Matthias Clasen <mclasen@redhat.com>
+
+       * glib/gconvert.c: add more details about which RFC is concerned
+       when using g_filename_to_uri (#337553)
+
 2006-04-12  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/goption.c (parse_arg): Add an assert to make it