History log of /external/bluetooth/glib/glib/gkeyfile.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0f6b25ca96e70cd3b2c105dce7ef166ee2e0c220 31-Dec-2008 Matthias Clasen <matthiasc@src.gnome.org> Fix some compiler warnings

svn path=/trunk/; revision=7755
/external/bluetooth/glib/glib/gkeyfile.c
20bc7adfb8d23ce88f7e602d263a290a9313e98a 02-Dec-2008 Matthias Clasen <matthiasc@src.gnome.org> Some more documentation additions

svn path=/trunk/; revision=7726
/external/bluetooth/glib/glib/gkeyfile.c
0be828b4f8f518cc06383091f116dd137fd3f607 28-Nov-2008 Matthias Clasen <matthiasc@src.gnome.org> Explain the difference to g_key_file_get_value(). Pointed out by Mart

* glib/gkeyfile.c (g_key_file_get_string): Explain the difference
to g_key_file_get_value(). Pointed out by Mart Raudsepp.



svn path=/trunk/; revision=7705
/external/bluetooth/glib/glib/gkeyfile.c
a2830c774d4a178f6c95a7b924ac47f403371568 28-Nov-2008 Matthias Clasen <matthiasc@src.gnome.org> Improve docs

svn path=/trunk/; revision=7704
/external/bluetooth/glib/glib/gkeyfile.c
da8591c7a81a29283a7665cdea4564179badbdd5 23-Nov-2008 Christian Persch <chpe@src.gnome.org> Bug 560568 – gkeyfile docs buglet

svn path=/trunk/; revision=7674
/external/bluetooth/glib/glib/gkeyfile.c
47d6d6a45179997b337a6d01e2352e080ce77f65 23-Nov-2008 Christian Persch <chpe@src.gnome.org> Bug 560569 – gkeyfile doesn't use the set list_separator in some cases

svn path=/trunk/; revision=7673
/external/bluetooth/glib/glib/gkeyfile.c
9c17697b56501d11b4c653432cc9e290347aa03e 16-Jun-2008 Christian Persch <chpe@src.gnome.org> Use g_set_error_literal where appropriate. Patch from bug #535947.

svn path=/trunk/; revision=7051
/external/bluetooth/glib/glib/gkeyfile.c
1d7f6706328fd076f72a5c7d8807c8696df90614 11-Jun-2008 Matthias Clasen <matthiasc@src.gnome.org> Improve the docs

svn path=/trunk/; revision=7002
/external/bluetooth/glib/glib/gkeyfile.c
a24587ad098dcdf76d1b4c4fb7d007fc2cc11dc5 23-Feb-2008 Matthias Clasen <mclasen@redhat.com> Return NULL when the key is not found. (#513171, Дилян

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, Дилян Палаузов)



svn path=/trunk/; revision=6563
/external/bluetooth/glib/glib/gkeyfile.c
2a7f1a1a9c90f84abcc45b7a05fd2b690abae434 23-Dec-2007 Matthias Clasen <mclasen@redhat.com> Remove wrong documentation about start group handling. (#476856, Areg

2007-12-22 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c: Remove wrong documentation about start group
handling. (#476856, Areg Beketovski)



svn path=/trunk/; revision=6190
/external/bluetooth/glib/glib/gkeyfile.c
20d002d4667110d3f5caaae6b3c35a2fea29f8d3 13-Dec-2007 Matthias Clasen <mclasen@redhat.com> Free group_hash. (#503420, Christian Persch)

2007-12-13 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_clear): Free group_hash.
(#503420, Christian Persch)


svn path=/trunk/; revision=6107
/external/bluetooth/glib/glib/gkeyfile.c
cc3de68e2151cf3341115212c56c17714ca03bb2 10-Dec-2007 15:08:59 Tim Janik <timj@imendio.com> http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html

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

* 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.

* 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.

* gio/: changed g_assert to g_warn_if_fail.



svn path=/trunk/; revision=6086
/external/bluetooth/glib/glib/gkeyfile.c
2efc55c68ee1bd571d9e49057d8326471b60e9d7 03-Dec-2007 Matthias Clasen <mclasen@redhat.com> Don't call g_get_language_names() per-key. (#500638, Michael Meeks)

2007-12-03 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c: Don't call g_get_language_names() per-key.
(#500638, Michael Meeks)


svn path=/trunk/; revision=6023
/external/bluetooth/glib/glib/gkeyfile.c
8e2e557633ded9f0774e25f73b026ac9a673c037 03-Dec-2007 Matthias Clasen <matthiasc@src.gnome.org> Speed up group lookups

svn path=/trunk/; revision=6018
/external/bluetooth/glib/glib/gkeyfile.c
ccf93c8693b73f08a19ba369dbd25db54fc79eed 23-Nov-2007 Matthias Clasen <mclasen@redhat.com> Set length out param in list-returning functions to 0 when returning NULL.

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)



svn path=/trunk/; revision=5915
/external/bluetooth/glib/glib/gkeyfile.c
dbe4c82b65cfc713a49b235bf6f82d0daa819f6d 10-Nov-2007 Matthias Clasen <matthiasc@src.gnome.org> One more

svn path=/trunk/; revision=5853
/external/bluetooth/glib/glib/gkeyfile.c
662f9e46d196a6a8e3a1df3147967ec730f7bf6f 10-Nov-2007 Matthias Clasen <mclasen@redhat.com> Coding style cleanups and doc improvements. (#491979, Areg Beketovski)

2007-11-09 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c: Coding style cleanups and doc
improvements. (#491979, Areg Beketovski)



svn path=/trunk/; revision=5852
/external/bluetooth/glib/glib/gkeyfile.c
1dc3d6f0882e557d110980159cdadb75ac596dd1 08-Nov-2007 Matthias Clasen <mclasen@redhat.com> Make some functions that take a GError return boolean instead of void.


2007-11-07 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.[hc]: Make some functions that take
a GError return boolean instead of void. (#375651, Matt Barnes)



svn path=/trunk/; revision=5815
/external/bluetooth/glib/glib/gkeyfile.c
0911f2e9078ffd83817c00b061506bdf0aae8fa5 05-Jun-2007 Matthias Clasen <mclasen@redhat.com> Don't assume the string is valid UTF-8, since it may be user data.

2007-06-05 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_is_key_name):
(g_key_file_is_group_name): Don't assume the string is
valid UTF-8, since it may be user data. (#444161, Ben Combee)



svn path=/trunk/; revision=5537
/external/bluetooth/glib/glib/gkeyfile.c
f69d1b7439dc29d5d9977753b3f3eeaad2b851d1 04-Jun-2007 Matthias Clasen <matthiasc@src.gnome.org> 2.13.3

svn path=/trunk/; revision=5531
/external/bluetooth/glib/glib/gkeyfile.c
4b6a5ee2e0bac450af02dbb6e09072d7411f935c 04-May-2007 Dan Winship <danw@src.gnome.org> Document the error return values rather than calling them undefined.

* glib/gkeyfile.c (g_key_file_get_boolean)
(g_key_file_get_boolean_list, g_key_file_get_integer)
(g_key_file_get_integer_list, g_key_file_get_double)
(g_key_file_get_double_list): Document the error return values
rather than calling them undefined. #435885.

svn path=/trunk/; revision=5484
/external/bluetooth/glib/glib/gkeyfile.c
fc161a705845f274c5f03aa628020865e6666c12 19-Apr-2007 William Jon McCann <mccann@jhu.edu> Add g_key_file_load_from_dirs for looking through a search path for a

2007-04-19 William Jon McCann <mccann@jhu.edu>

* glib/gkeyfile.[ch]: (find_file_in_data_dirs),
(g_key_file_load_from_dirs), (g_key_file_load_from_data_dirs):
Add g_key_file_load_from_dirs for looking through a search
path for a key-file. (#355334)


svn path=/trunk/; revision=5453
/external/bluetooth/glib/glib/gkeyfile.c
033e54e8a4dd2b55fec192fe8d334b8af9b40d5c 22-Mar-2007 Chris Wilson <chris@chris-wilson.co.uk> Track whether the last key=value pair in a group is a blank line and

2007-03-22 Chris Wilson <chris@chris-wilson.co.uk>

* glib/gkeyfile.c: Track whether the last key=value pair in a group
is a blank line and during to_data() only insert a new blank line
betweens group in its absence. This allows the beautification of the
GKeyFile and prevents newlines being inserted indefinitely. (#420686)

* tests/keyfile-test.c (test_reload_idempotency): Test that after a
single beautification pass, g_key_file_to_data() does not alter its
input data.


svn path=/trunk/; revision=5431
/external/bluetooth/glib/glib/gkeyfile.c
003dbec6c84798cb5c6a8759258f2b7180e5fa10 16-Mar-2007 Chris Wilson <chris@chris-wilson.co.uk> Convert to GSlice and check for redundant clears. (#418637)

2007-03-16 Chris Wilson <chris@chris-wilson.co.uk>

* glib/gkeyfile.c: Convert to GSlice and check for redundant
clears. (#418637)


svn path=/trunk/; revision=5413
/external/bluetooth/glib/glib/gkeyfile.c
b2eed3f16c9bdb999a9b89e8d9406038802ff793 15-Mar-2007 Matthias Clasen <mclasen@redhat.com> Fix a small typo. (#417947, Bobby Jack)

2007-03-14 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_get_double): Fix a
small typo. (#417947, Bobby Jack)



svn path=/trunk/; revision=5404
/external/bluetooth/glib/glib/gkeyfile.c
2a6150bc06f257c7693edb6deb370c4da1092a80 06-Mar-2007 Matthias Clasen <mclasen@redhat.com> Remove a NULL check that didn't do any good. (#360904, Paolo Borelli)

2007-03-06 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_parse_value_as_boolean):
Remove a NULL check that didn't do any good. (#360904,
Paolo Borelli)



svn path=/trunk/; revision=5375
/external/bluetooth/glib/glib/gkeyfile.c
38b9221961242702ec2a91d263d43aa08a630a7d 12-Jan-2007 Matthias Clasen <mclasen@redhat.com> Rework the handling of invalid keys/groups again. We are back to being

2007-01-12 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c: Rework the handling of invalid
keys/groups again. We are back to being liberal about
what we accept, and only reject things that would lead
to non-rereadable keyfiles.

* tests/keyfile-test.c: Adapt tests.



svn path=/trunk/; revision=5254
/external/bluetooth/glib/glib/gkeyfile.c
b021642caffc72147a31f039114e949825d440be 10-Jan-2007 Matthias Clasen <mclasen@redhat.com> Grr, allow '*' in keys, too. (#394262)

2007-01-10 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_is_key_name): Grr, allow '*' in keys,
too. (#394262)



svn path=/trunk/; revision=5239
/external/bluetooth/glib/glib/gkeyfile.c
01f78fa7f50ab61c0cfd6b5953614e164ebf5bef 19-Dec-2006 Matthias Clasen <mclasen@redhat.com> Accept '/', '+' and '.' in key names, since gnome-vfs uses mime types as

2006-12-19 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_is_key_name): Accept
'/', '+' and '.' in key names, since gnome-vfs uses
mime types as keys in some cache.

2
/external/bluetooth/glib/glib/gkeyfile.c
52ef9438ca3e958b7cfcfdcd010e0d49e01028be 18-Dec-2006 Matthias Clasen <mclasen@redhat.com> Accept '@' in locale names.

2006-12-18 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c: Accept '@' in locale names.
/external/bluetooth/glib/glib/gkeyfile.c
6b52690bb5e4e5f17a4850c0a26f44e073af947e 18-Dec-2006 Matthias Clasen <mclasen@redhat.com> Tighten up the check for allowed key and group names. (#343191, Tommi

2006-12-18 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c: Tighten up the check for allowed
key and group names. (#343191, Tommi Komulainen)

* tests/keyfile-test.c: Test handling of key and group names.
/external/bluetooth/glib/glib/gkeyfile.c
966872d78965178b8147279cd6cfabf49a89ccd4 15-Dec-2006 Matthias Clasen <mclasen@redhat.com> If the group is already there, make it current. (#385910, Joe Halliwell)

2006-12-14 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_add_group): If the group
is already there, make it current. (#385910, Joe Halliwell)

* tests/keyfile-test.c: Add a test for duplicate groups/keys.
/external/bluetooth/glib/glib/gkeyfile.c
8f05c1da81e240b9d838b807f2b87bad88d8019c 26-Aug-2006 Matthias Clasen <mclasen@redhat.com> Fix the pthread compiler flag detection.

2006-08-25 Matthias Clasen <mclasen@redhat.com>

* configure.in: Fix the pthread compiler flag detection.

* glib/gunicode.h:
* glib/gutf8.c (_g_utf8_make_valid): Rename make_valid_utf8
from gconvert.c, move it to gutf8.c, and export it privately.

* glib/gconvert.c (g_filename_display_name): Adjust callers.

* glib/gkeyfile.c: Use _g_utf8_make_valid() in a number of
places to ensure error messages are valid UTF-8. (#351853,
Simon Budig)
/external/bluetooth/glib/glib/gkeyfile.c
58ea1db43e02c99805d6baa76ac04d7d3486009b 16-Aug-2006 Matthias Clasen <mclasen@redhat.com> Add Since tags. Fix Since tag. (#351583, Brian Cameron)

2006-08-15 Matthias Clasen <mclasen@redhat.com>

* glib/gbookmarkfile.c (g_bookmark_file_get_groups):
* glib/gmain.c (g_source_is_destroyed): Add Since tags.
* glib/gkeyfile.c (g_key_file_get_double_list): Fix
Since tag. (#351583, Brian Cameron)
/external/bluetooth/glib/glib/gkeyfile.c
e94c42bd46382cabf70c5cc6dc356d586188423b 05-Aug-2006 Matthias Clasen <mclasen@redhat.com> Don't insert unnecessary newlines in keyfiles. (#349825, Chris Wilson)

2006-08-05 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_to_data): Don't insert unnecessary
newlines in keyfiles. (#349825, Chris Wilson)
/external/bluetooth/glib/glib/gkeyfile.c
99998793d5249477d2b830b834aa12d2a2061fca 14-Jun-2006 Matthias Clasen <matthiasc@src.gnome.org> Fix 344868
/external/bluetooth/glib/glib/gkeyfile.c
38b53eed54388d5268447ca73c20fbffb73c7035 01-Jun-2006 Behdad Esfahbod <behdad@gnome.org> Cleanup. Use return value of g_string_free(...). (#343548, Chris Wilson)

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)
/external/bluetooth/glib/glib/gkeyfile.c
eda3af554666ecd16bb135c446f0a68ce608e128 08-May-2006 Matthias Clasen <mclasen@redhat.com> Add some tests for invalid floating point numbers.

2006-05-08 Matthias Clasen <mclasen@redhat.com>

* tests/keyfile-test.c (test_number): Add some tests for
invalid floating point numbers.
/external/bluetooth/glib/glib/gkeyfile.c
6fbcec14dc1119f9178aebd97cd6ebaf44ad609c 07-May-2006 Matthias Clasen <mclasen@redhat.com> Fix invalid memory reads. (#340816, Nick Treleaven)

2006-05-06 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_set_string_list)
(g_key_file_set_locale_string_list): Fix invalid memory
reads. (#340816, Nick Treleaven)
/external/bluetooth/glib/glib/gkeyfile.c
3916fe18d63d90cee3e8a9d73fcb135dc695e6f1 25-Apr-2006 Matthias Clasen <mclasen@redhat.com> Remove redundant code. (g_key_file_get_group_comment): Don't dereference

2006-04-25 Matthias Clasen <mclasen@redhat.com>

* 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)
/external/bluetooth/glib/glib/gkeyfile.c
22ec64756c03bb45132b23f6216158fc07a3d21c 19-Apr-2006 Matthias Clasen <mclasen@redhat.com> Add api to get and set doubles and lists of doubles. (#164719, Maurizio

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.
/external/bluetooth/glib/glib/gkeyfile.c
64434acfe11a2f51a13b7c78c9646a5a000924a0 19-Apr-2006 Matthias Clasen <mclasen@redhat.com> Accept duplicate groups. (#157877, Sebastien Bacher)

2006-04-18 Matthias Clasen <mclasen@redhat.com>

* 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.
/external/bluetooth/glib/glib/gkeyfile.c
b58fb2bdb58bfa64d615e8d7f6cd1c607c109315 04-Apr-2006 Matthias Clasen <mclasen@redhat.com> Move short_month_names and long_month_names to bss.

2006-04-04 Matthias Clasen <mclasen@redhat.com>

* glib/gdate.c: Move short_month_names and long_month_names
to bss.

* glib/gspawn-win32.c (g_spawn_error_quark):
* glib/gspawn.c (g_spawn_error_quark):
* glib/gshell.c (g_shell_error_quark):
* glib/gmarkup.c (g_markup_error_quark):
* glib/goption.c (g_option_error_quark):
* glib/gkeyfile.c (g_key_file_error_quark):
* glib/giochannel.c (g_io_channel_error_quark):
* glib/gfileutils.c (g_file_error_quark):
* glib/gconvert.c (g_convert_error_quark):
* glib/gbookmarkfile.c (g_bookmark_file_error_quark):
* glib/gthread.c (g_thread_error_quark): No point in making
the error path fast by caching quarks.

* glib/gbookmarkfile.c: Make the parser struct const.
/external/bluetooth/glib/glib/gkeyfile.c
402a1081aef6cd276c0636557413ed5942a771ef 18-Jan-2006 Matthias Clasen <mclasen@redhat.com> Add a note about casting the results of g_new() and g_new0().

2006-01-17 Matthias Clasen <mclasen@redhat.com>

* glib/tmpl/memory.sgml: Add a note about casting the results
of g_new() and g_new0().
/external/bluetooth/glib/glib/gkeyfile.c
81719cc1645192142d2c974a1840f58ddf027cc6 14-Sep-2005 Matthias Clasen <mclasen@redhat.com> Add a test for grup names of length 1.

2005-09-14 Matthias Clasen <mclasen@redhat.com>

* tests/keyfile-test.c: Add a test for grup names of length 1.

* glib/gkeyfile.c (g_key_file_line_is_group): Accept group names
of length 1. (#316309)
/external/bluetooth/glib/glib/gkeyfile.c
1c0b68939937bed6fa8e3dd1e15337cd74aff33a 05-Sep-2005 Matthias Clasen <mclasen@redhat.com> The return value of read() is signed. (#315273, Kjartan Maraas)

2005-09-05 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_load_from_fd): The return value
of read() is signed. (#315273, Kjartan Maraas)
/external/bluetooth/glib/glib/gkeyfile.c
1f9b1179cd21b0c061b73b35067b15aa1035fa79 01-Jul-2005 Matthias Clasen <matthiasc@src.gnome.org> And remove a redundant cast
/external/bluetooth/glib/glib/gkeyfile.c
7e9c3ab12314d02785674056b9fa26e7a596a95e 01-Jul-2005 Matthias Clasen <matthiasc@src.gnome.org> Fix an extra indirection
/external/bluetooth/glib/glib/gkeyfile.c
9d6e10125b9dbf416550f86e435b577ab2a2a135 01-Jul-2005 Matthias Clasen <mclasen@redhat.com> Don't reverse the order of multiline comments.

2005-07-01 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_get_key_comment):
(g_key_file_get_top_comment): Don't reverse the order of multiline
comments.
(g_key_file_get_group_comment): Actually get the group comment.

* tests/keyfile-test.c (test_comments): Test that comments are
handled properly. (#309263, Mikael Magnusson)
/external/bluetooth/glib/glib/gkeyfile.c
58f83683e9ccd9e9e0781105ed1e676f7c2241e0 23-Jun-2005 Matthias Clasen <mclasen@redhat.com> Don't leak memory here.

2005-06-23 Matthias Clasen <mclasen@redhat.com>

* tests/keyfile-test.c (test_group_remove): Don't leak
memory here.

* glib/gkeyfile.c (g_key_file_load_from_data_dirs): Don't
leak output_path. (#308546, Kjartan Maraas)
/external/bluetooth/glib/glib/gkeyfile.c
f3a61fe4a04b105c4ddf24f09f8f028daefaf7fe 23-Jun-2005 Matthias Clasen <mclasen@redhat.com> Don't leak output_path. (#308546, Kjartan Maraas)

2005-06-23 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_load_from_data_dirs): Don't
leak output_path. (#308546, Kjartan Maraas)
/external/bluetooth/glib/glib/gkeyfile.c
42a32a781772f7490d0a459bd0e93dfa7db5e108 10-Jun-2005 Matthias Clasen <matthiasc@src.gnome.org> Forgotten file
/external/bluetooth/glib/glib/gkeyfile.c
ae98c7d6c53626a2892043b22143f0e00a317a84 17-Mar-2005 Matthias Clasen <mclasen@redhat.com> Update the documentation, reflecting the fact that the special case for

2005-03-17 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c: Update the documentation, reflecting the
fact that the special case for !group_name --> start_group
got removed. (#170566, Tim-Philipp Müller)
/external/bluetooth/glib/glib/gkeyfile.c
608a31b98e1420f487190871ee7312db2643d93d 14-Mar-2005 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in

2005-03-13 Matthias Clasen <mclasen@redhat.com>

Make PLT-reduction work with gcc4, and don't include
everything in galias.h:

* glib/glib.symbols: Group symbols by header and source file.
* glib/makegalias.pl: Protect definitions by the same
preprocessor symbols used to guard the headers. Move
the alias declarations to a separate file which is
produced when calling makegalias.pl -def
* glib/Makefile.am (galiasdef.c): Add a rule to generate this
file.
* glib/*.c: Include galias.h after the other GLib headers,
include galiasdef.c at the bottom.
/external/bluetooth/glib/glib/gkeyfile.c
de2763c99a35e473351787a7c77765bf5660b51e 09-Feb-2005 Matthias Clasen <mclasen@redhat.com> Don't leak path

2005-02-09 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (find_file_in_data_dirs): Don't leak path
/external/bluetooth/glib/glib/gkeyfile.c
348da88e27677d67b93c11d0f24391453783017a 08-Feb-2005 Matthias Clasen <mclasen@redhat.com> Don't write out of bounds.



2005-02-08 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_parse_value_as_string): Don't
write out of bounds.

* glib/goption.c (g_option_context_parse): Fix a
one-too-short memory allocation. (#166609, Nicolas Laurent)

* tests/Makefile.am (TESTS_ENVIRONMENT): Add tests with
MALLOC_CHECK_.

* tests/option-test.c: Add a test for unkown short options.
/external/bluetooth/glib/glib/gkeyfile.c
4a2773ee7b6594f14029bf10fe136637ab4a668c 02-Feb-2005 Matthias Clasen <mclasen@redhat.com> Add test case for key removal.

2005-02-01 Matthias Clasen <mclasen@redhat.com>

* tests/keyfile-test.c (test_key_remove): Add test case for
key removal.

* glib/gkeyfile.c (g_key_file_remove_key): Actually remove
the key from the list of pairs. (#165980, David Hoover)
/external/bluetooth/glib/glib/gkeyfile.c
afb83c6f3bd87cf739cdd9403e6e33c7b88192d7 01-Feb-2005 Matthias Clasen <mclasen@redhat.com> Doc clarifications. (#165907, Vincent Untz)

2005-02-01 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c: Doc clarifications. (#165907, Vincent Untz)
/external/bluetooth/glib/glib/gkeyfile.c
df59e8e19bf605d5c8b05cd78217b879efce08a7 01-Feb-2005 Matthias Clasen <mclasen@redhat.com> Add test case for group removal.

2005-02-01 Matthias Clasen <mclasen@redhat.com>

* tests/keyfile-test.c (test_group_remove): Add test case for
group removal.

* glib/gkeyfile.c (g_key_file_remove_group): Don't segfault
if the group doesn't exist. (#165887, Mathias Hasselmann)
/external/bluetooth/glib/glib/gkeyfile.c
3db329a61368ba90c1422e2b0e6197a103130287 20-Jan-2005 Matthias Clasen <mclasen@redhat.com> Don't interpret leading zeros as octal. The specification requires %f

2005-01-20 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_parse_value_as_integer): Don't
interpret leading zeros as octal. The specification requires
%f parsing, and %f doesn't allow octal.

* tests/keyfile-test.c: Add some more tests.
/external/bluetooth/glib/glib/gkeyfile.c
9775edea89a7ad65f989040ac066f6989fdbbd9e 20-Jan-2005 Matthias Clasen <mclasen@redhat.com> Add some more tests.

2005-01-20 Matthias Clasen <mclasen@redhat.com>

* tests/keyfile-test.c: Add some more tests.

* glib/gkeyfile.c (g_key_file_get_keys): Return keys in
the order found in the file, rather than the opposite.
(g_key_file_parse_value_as_string): Fix error reporting.
/external/bluetooth/glib/glib/gkeyfile.c
92a710ba28f274784318ebbb0c095a76a32e5689 19-Jan-2005 Matthias Clasen <mclasen@redhat.com> Accept \r\n as line end. (#163030, Bastian Nocera)

2005-01-19 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_parse_data): Accept \r\n as
line end. (#163030, Bastian Nocera)
(g_key_file_load_from_data): Make -1 work as a size.

* tests/keyfile-test.c: Some unit tests for the keyfile
parser.

* tests/Makefile.am (test_programs): Add keyfile-test.
/external/bluetooth/glib/glib/gkeyfile.c
c8a9a239ca2729946badb1931cb60193a78118e3 18-Jan-2005 Matthias Clasen <mclasen@redhat.com> Fix a sparse warning. (#164467, Kjartan Maraas)

2005-01-18 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_get_boolean_list): Fix a
sparse warning. (#164467, Kjartan Maraas)
/external/bluetooth/glib/glib/gkeyfile.c
40b4e103b4bd5d518bbd35b25638cd40100c9b15 27-Nov-2004 Matthias Clasen <mclasen@redhat.com> Don't access invalid memory address if p wasn't increased. (#159557,

2004-11-26 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_parse_value_as_string):
Don't access invalid memory address if p wasn't
increased. (#159557, Frederic Crozat)
/external/bluetooth/glib/glib/gkeyfile.c
f8b65c0a0eec5053ccd0433bb9afd6f125428c5e 17-Nov-2004 Matthias Clasen <matthiasc@src.gnome.org> *** empty log message ***
/external/bluetooth/glib/glib/gkeyfile.c
035484a411d67390b0a40d6fa5ce77d112ac5a49 15-Nov-2004 Matthias Clasen <mclasen@redhat.com> Use S_ISREG(), since S_IFMT and S_IFREG are apprarently missing on some

2004-11-15 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_load_from_fd): Use S_ISREG(), since
S_IFMT and S_IFREG are apprarently missing on some systems (they
are SUS, but not Posix). (#158263)
/external/bluetooth/glib/glib/gkeyfile.c
0a5580d8223085b08fce15dbf83738b61bbc77cf 01-Nov-2004 Ray Strode <rstrode@redhat.com> don't return an error if we come across a value with invalid utf8 or if we

2004-11-01 Ray Strode <rstrode@redhat.com>

* glib/gkeyfile.c:
(g_key_file_get_locale_string): don't return an
error if we come across a value with invalid utf8 or
if we don't find a translated string. Just fallback
to the untranslated string (Mark McLoughlin, bug
#156790).

* glib/gkeyfile.c:
(g_key_file_init), (g_key_file_clear): track the
actual start GKeyFileGroup rather than just its name
(g_key_file_parse_group): allow add_group() to
update the start group.
(g_key_file_remove_group_node): update the start
group if it gets removed (Mark McLoughlin, bug
#156790).

* glib/gkeyfile.c:
(g_key_file_parse_string_as_value): Don't escape
tabs and spaces in the middle of key values.
/external/bluetooth/glib/glib/gkeyfile.c
f72f7be1d371ab4610f80609393a7c00c88670a1 29-Oct-2004 Ray Strode <rstrode@redhat.com> clean up a leak (#156652, Morten Welinder) (g_key_file_load_from_fd):

2004-10-28 Ray Strode <rstrode@redhat.com>

* glib/gkeyfile.c
(find_file_in_data_dirs): clean up a leak (#156652,
Morten Welinder)
(g_key_file_load_from_fd): propagate fstat() error
conditions and retry read on EAGAIN (#156647, Morten
Welinder). Return error if file is NOT regular, not if
it is regular (bug introduced from last commited bug
fix).
(g_key_file_load_from_data_dirs): allocate enough space
for the terminating NULL.
/external/bluetooth/glib/glib/gkeyfile.c
6b931891bc526616f124f97a2b4c815ab8f4032c 28-Oct-2004 Ray Strode <rstrode@redhat.com> Don't use S_ISREG macro (#156728, Kazuki IWAMOTO)

2004-10-28 Ray Strode <rstrode@redhat.com>

* glib/gkeyfile.c: Don't use S_ISREG macro (#156728,
Kazuki IWAMOTO)
/external/bluetooth/glib/glib/gkeyfile.c
59501ed29279aa3c0a454a4205a7b5e4a821e646 28-Oct-2004 Matthias Clasen <mclasen@redhat.com> Add a missing "Since: 2.6" comment.

2004-10-28 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c: Add a missing "Since: 2.6" comment.
/external/bluetooth/glib/glib/gkeyfile.c
7e52a0584f2ec6f355f696d84d24e1dae4079280 28-Oct-2004 Tor Lillqvist <tml@iki.fi> Include gstdio.h and use g_open().

2004-10-28 Tor Lillqvist <tml@iki.fi>

* glib/gkeyfile.c: Include gstdio.h and use g_open().
/external/bluetooth/glib/glib/gkeyfile.c
31c3bd53a21335b06deac1564f22a4099bbb74f7 27-Oct-2004 Ray Strode <rstrode@redhat.com> Move file is regular check to load_from_file to use fstat() instead of

2004-10-27 Ray Strode <rstrode@redhat.com>

* glib/gkeyfile.c:
(g_key_file_load_from_fd),
(g_key_file_load_from_file):
Move file is regular check to load_from_file to use
fstat() instead of race prone g_file_test(). Don't
clear/init until needed. Change error messages to be
more consistent.
(g_key_file_load_from_data),
(g_key_file_load_from_data_dirs),
(g_key_file_parse_data),
(g_key_file_get_value),
(g_key_file_get_string),
(g_key_file_set_string),
(g_key_file_get_string_list),
(g_key_file_set_string_list),
(g_key_file_set_locale_string),
(g_key_file_get_locale_string),
(g_key_file_set_locale_string_list),
(g_key_file_get_boolean),
(g_key_file_set_boolean),
(g_key_file_get_boolean_list),
(g_key_file_set_boolean_list),
(g_key_file_get_integer),
(g_key_file_get_integer_list),
(g_key_file_set_integer_list),
(g_key_file_remove_key):
Add more g_return_*if_fail checks for public functions.
/external/bluetooth/glib/glib/gkeyfile.c
da9d1cd0f6cfe91ab456d6850d9f54bc583d7f6e 27-Oct-2004 Matthias Clasen <mclasen@redhat.com> Fix includes. (#156500, #156499, Kazuki IWAMOTO)

2004-10-27 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c: Fix includes. (#156500, #156499,
Kazuki IWAMOTO)
/external/bluetooth/glib/glib/gkeyfile.c
b5e4a809fa1956f13e05dc8e80600ffe4b8f1842 26-Oct-2004 Matthias Clasen <matthiasc@src.gnome.org> Add a missing include.
/external/bluetooth/glib/glib/gkeyfile.c
5a6df6dd6552d53dcf6b9d009610988e651ade23 26-Oct-2004 Matthias Clasen <matthiasc@src.gnome.org> Documentation fixes.
/external/bluetooth/glib/glib/gkeyfile.c
d59b22a9814aaad62f91e7a39c07fa67a5f5ef07 26-Oct-2004 Ray Strode <rstrode@redhat.com> Add Matthias to "Written by" lines (GKeyFileGroup): add field to hold

2004-10-26 Ray Strode <rstrode@redhat.com>

* glib/gkeyfile.c: Add Matthias to "Written by" lines
(GKeyFileGroup): add field to hold comments about groups
(g_key_file_load_from_fd): return TRUE on success and
FALSE on failure. Don't close fd's opened by other
parent function.
(g_key_file_load_from_file): run FILE_IS_REGULAR test
before trying to open file, to save an fd from being
leaked (would probably be better to use fstat()). Close
fd when done with it. Return TRUE on success and FALSE
on failure.
(g_key_file_load_from_data): Return TRUE on success and
FALSE on failure.
(g_key_file_load_from_data_dirs): remove superfluous
const modifier. Return TRUE on success and FALSE on
failure. Stop trying to load files when one succeeds.
(g_key_file_parse_key_value_pair): don't validate input
for UTF-8 until users uses a getter that does
validation. Don't leak copy of start_group_name.
(g_key_file_to_data): serialize new comment field for
groups.
(g_key_file_get_keys): Remove convenience code to let
NULL group mean start group. Get rid of unneeded NULL
check before g_strdup.
(g_key_file_get_groups): Reverse groups list before
sending to user because it is maintained in backward
order internally.
(g_key_file_get_value),
(g_key_file_set_value): add g_return checks at top of
public functions.
(g_key_file_get_string),
(g_key_file_get_string_list): validate key value is UTF-8.
(g_key_file_[sg]et_*comment): new functions for
setting/getting comments
(g_key_file_remove_comment): new function to remove
comment block
(g_key_file_remove_key_value_pair_node): new function to
pull a key-value pair out of the list and free it.
(g_key_file_remove_group_node): call
g_key_file_remove_key_value_pair_node instead of
freeing the list immediately to get better statistics
for approximate_size.
(g_key_file_remove_group): use lookup_group_node instead
of lookup_group to prevent a g_list_find call.
(g_key_file_add_key): report group also when unable to
find key.
(g_key_file_lookup_group_node): new function to make
getting the group node from a group name easier.
(g_key_file_lookup_group): use lookup_group_node under
the hood.
(g_key_file_lookup_key_value_pair_node): new function to
make getting the key-value pair from a group and key
name eaiser.
(g_key_file_parse_comment_as_value): new function to add '#' to the
beginning of every line.
(g_key_file_parse_value_as_comment): new function that
attempts to be the inverse of comment as value.
/external/bluetooth/glib/glib/gkeyfile.c
196be2da775bf1f9b79b61d5fdcabb9232bdaaff 26-Oct-2004 Matthias Clasen <mclasen@redhat.com> Don't include ctype.h needlessly. (#156424, Morten Welinder)

2004-10-26 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c: Don't include ctype.h needlessly. (#156424,
Morten Welinder)
/external/bluetooth/glib/glib/gkeyfile.c
1ec985a141ebae150a3d576a70861d4531b431cf 24-Oct-2004 Matthias Clasen <mclasen@redhat.com> Don't destroy the lookup map if it is NULL.


2004-10-24 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_remove_group_node): Don't
destroy the lookup map if it is NULL.

20
/external/bluetooth/glib/glib/gkeyfile.c
bfa8a37a9e143d78fc3c064960053c8dd452114a 23-Oct-2004 Matthias Clasen <mclasen@redhat.com> Add a parser for desktop entries and similar files with a .ini-like

2004-10-23 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.h:
* glib/gkeyfile.c: Add a parser for desktop entries and
similar files with a .ini-like syntax. (#139974, Ray Strode)

* glib/glib.h: Include gkeyfile.h

* glib/Makefile.am (libglib_2_0_la_SOURCES): Add gkeyfile.c
(glibsubinclude_HEADERS): Add gkeyfile.h

* glib/gutils.c (_g_compute_locale_variants): Make this
non-static and use it in gkeyfile.c
/external/bluetooth/glib/glib/gkeyfile.c