Fix the pthread compiler flag detection.
[glib.git] / ChangeLog
blobab63155fa34dce8384cfd16b567bbc240bf3caa3
1 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
3         * configure.in: Fix the pthread compiler flag detection.
5         * glib/gunicode.h: 
6         * glib/gutf8.c (_g_utf8_make_valid): Rename make_valid_utf8
7         from gconvert.c, move it to gutf8.c, and export it privately.
9         * glib/gconvert.c (g_filename_display_name): Adjust callers.
11         * glib/gkeyfile.c: Use _g_utf8_make_valid() in a number of
12         places to ensure error messages are valid UTF-8.  (#351853,
13         Simon Budig)
15 2006-08-20  Tor Lillqvist  <tml@novell.com>
17         * glib/gnulib/vasnprintf.c (vasnprintf): Fix crash when printing
18         large 64-bit values on Win32 using the %I64x format. (#351034,
19         Neil Piercy)
21 Wed Aug 16 13:59:07 2006  Tim Janik  <timj@gtk.org>
23         * tests/gobject/Makefile.am:
24         * tests/gobject/singleton.c: added test program which demonstrates
25         and checks singleton construction.
27 2006-08-15  Matthias Clasen  <mclasen@redhat.com>
29         * glib/gbookmarkfile.c (g_bookmark_file_get_groups):
30         * glib/gmain.c (g_source_is_destroyed): Add Since tags.
31         * glib/gkeyfile.c (g_key_file_get_double_list): Fix
32         Since tag.  (#351583, Brian Cameron)
34         * configure.in: Bump version
36         * === Released 2.12.2 ===
38         * NEWS: Updates
40 2006-08-08  Emmanuele Bassi  <ebassi@gnome.org>
42         * glib/gbookmarkfile.c (g_bookmark_file_remove_group)
43         (g_bookmark_file_set_app_info): Plug a couple of leaks
44         when removing data from a bookmark.
46 2006-08-05  Matthias Clasen  <mclasen@redhat.com>
48         * glib/gbookmarkfile.c (find_file_in_data_dirs): Correct the
49         grammar of an error message.  (#349792, Jakub Friedl)
51         * glib/gkeyfile.c (g_key_file_to_data): Don't insert unnecessary
52         newlines in keyfiles.  (#349825, Chris Wilson)
54         * glib/guniprop.c (g_unichar_toupper, g_unichar_tolower) 
55         (real_toupper, real_tolower): If a character can't be converted,
56         don't replace it with a NUL byte, but leave it unchanged.  
57         (#348491, Nikolai Weibull)
59         * tests/unicode-caseconv.c: Adapt to this change. 
61         * tests/unicode-caseconv.c (main): Add a comment to point out
62         a quirk in the test data that we are working around here.
64 2006-07-31  Behdad Esfahbod  <behdad@gnome.org>
66         * glib/guniprop.c (g_unichar_isxdigit): Make it only accept those
67         characters that we accept i g_unichar_xdigit_value(), i.e. don't
68         accept non-decimal digits. (#347842, Nikolai Weibull)
70 2006-07-31  Behdad Esfahbod  <behdad@gnome.org>
72         * glib/gunidecomp.c (_g_utf8_normalize_wc): Update to reflect Unicode
73         PR #29 (#348694, Nikolai Weibull)
75         * tests/unicode-normalize.c (encode), (test_form): Make output more
76         useful, reporting the unexpected output of the test.
78 2006-07-24  Tor Lillqvist  <tml@novell.com>
80         * tests/slice-test.c: Use g_get_current_time() insted of
81         gettimeofday().
83 2006-07-22  Matthias Clasen  <mclasen@redhat.com>
85         * configure.in: Bump version
87         * === Released 2.12.1 ===
89         * glib/gconvert.c: Fix the prototype of _g_charset_get_aliases.
90         (#346494, Thomas Klausner)
92         * NEWS: Updates
94 2006-07-21  Behdad Esfahbod  <behdad@gnome.org>
96         * glib/gmirroringtable.h: Updated to Unicode Character Database 5.0.0.
98 2006-07-20  Matthias Clasen  <mclasen@redhat.com>
100         * glib/guniprop.c (real_toupper, real_tolower): Small optimization.
101         (#348011, Nikolai Weibull)
103 2006-07-19  Behdad Esfahbod  <behdad@gnome.org>
105         * glib/gunibreak.h:
106         * glib/gunichartables.h:
107         * glib/gunicomp.h:
108         * glib/gunidecomp.h:
109         Update to final Unicode Character Database 5.0.0. (#336281)
111 2006-07-06  Behdad Esfahbod  <behdad@gnome.org>
113         * glib/gutils.c (g_parse_debug_string): When matching debug flag keys, 
114         ignore case and accept any of comma, colon, semicolon, space, and tab
115         as separators.  Also, match dash with underscore.
117 2006-07-05  Matthias Clasen  <mclasen@redhat.com>
119         * glib/gbase64.c: Fix typos in the docs.  (#346660, Mark
120         Drago)
122 2006-07-03  Runa Bhattacharjee <runabh@gmail.com>
124         * configure.in: Added Bengali India (bn_IN) in ALL_LINGUAS.
126 2006-07-02  Matthias Clasen  <mclasen@redhat.com>
128         * configure.in: Bump version
130         * === Released 2.12.0 ===
132 2006-06-30  Matthias Clasen  <mclasen@redhat.com>
134         * NEWS: Updates
136         * configure.in: Set version to 2.12.0
138 2006-06-20  Matthias Clasen  <mclasen@redhat.com>
140         * glib/gtimer.c (mktime_utc): Fix an off-by-2 error
141         in the leap year calculation.  (#344905, Dan Winship)
143         * tests/testglib.c (main): Change the test data for
144         the g_time_val_from_iso8601 tests to expose an off-by-2
145         error in the leap year calculation.
147         * configure.in: Bump version
149         * === Released 2.11.4 ===
151         * NEWS: Updates
153 2006-06-16  Matthias Clasen  <mclasen@redhat.com>
155         * tests/file-test.c (test_mkstemp): Add tests.
157         * glib/gfileutils.c (g_mkstemp): Allow the XXXXXX to occur
158         inside the template, not just at the end.  
160 2006-06-14  Matthias Clasen  <mclasen@redhat.com>
161         
162         * glib/gkeyfile.c (g_key_file_to_data): Separate groups by
163         an empty line  (#344868, Christian Persch)
165 2006-06-14  Tor Lillqvist  <tml@novell.com>
167         * glib/gutils.c (g_listenv): Add Windows notes to doc comment.
169 2006-06-12  Emmanuele Bassi  <ebassi@cvs.gnome.org>
171         * glib/gbookmarkfile.h:
172         * glib/gbookmarkfile.c (g_bookmark_file_remove_item): Return
173         a boolean instead of void.
175         * tests/bookmarkfile-test.c (test_modify): Add a test case
176         for g_bookmark_file_remove_item().
178 2006-06-12  Matthias Clasen  <mclasen@redhat.com>
180         * Bump version
182         * === Released 2.11.3 ===
184         * NEWS: Updates
186 2006-06-09  Emmanuele Bassi  <ebassi@cvs.gnome.org>
188         * glib/gbookmarkfile.c (g_bookmark_file_remove_application): Use
189         an empty string to pass the test in set_app_info.
191         (g_bookmark_file_move_item): Remove the old item from the
192         look up table; return success in case of empty target.
194 2006-06-08  Tor Lillqvist  <tml@novell.com>
196         * glib/gunicollate.c (msc_strxfrm_wrapper): Workaround for bug in
197         strxfrm() in Microsoft's newer C runtimes. (#343919, Kazuki
198         Iwamoto)
200 2006-06-05  Matthias Clasen  <mclasen@redhat.com>
202         * configure.in: Bump version
204         * === Released 2.11.2 ===
206         * configure.in: Set interface age to 0.
208         * NEWS: Updates
210         * glib/gmain.c: Fix some doc formatting issues.
212         * glib/gstrfuncs.c: Revert accidental commit.
214         * glib/gmain.c (get_dispatch): Don't leak the
215         dispatch struct.  (#321886)
217         * tests/strtod-test.c: Add some tests involving
218         leading whitespace.
220         * glib/gstrfuncs.c (g_ascii_formatd): Skip leading 
221         whitespace.  (#343899, Ã˜ystein Johansen)
223 2006-06-01  Matthias Clasen  <mclasen@redhat.com>
225         * glib/gmain.h: 
226         * glib/gmain.c: Add three new functions, 
227         g_main_current_source, g_source_set_funcs and 
228         g_source_is_destroyed, that will be necessary to 
229         solve thread-safety issues with idles in GTK+.  
230         (#321886, Chris Wilson)
232 2006-06-01  Matthias Clasen  <mclasen@redhat.com>
234         * glib/giochannel.c (g_io_channel_write_chars): Avoid
235         running in an assertion with small writes.  (#343566, Chris
236         Wilson)
238         * tests/iochannel-test.c: Add a testcase for small writes.
240         * glib/glib.symbols: 
241         * glib/ghash.h: 
242         * glib/ghash.c: Add g_hash_table_{remove,steal}_all to
243         remove all nodes from a hash table.  (#168538, Matt Barnes)
245 2006-06-01  Behdad Esfahbod  <behdad@gnome.org>
247         * glib/gkeyfile.c (g_key_file_to_data),
248         (g_key_file_parse_value_as_comment),
249         (g_key_file_parse_comment_as_value):
250         * glib/gscanner.c (g_scanner_get_token_ll): Cleanup. Use return
251         value of g_string_free(...). (#343548, Chris Wilson)
253 2006-05-28  Matthias Clasen  <mclasen@redhat.com>
255         * glib/gmarkup.c (g_markup_parse_context_parse): 
256         Don't use g_str_has_{prefix,suffix} here.
258 2006-05-28  Matthias Clasen  <mclasen@redhat.com>
260         * glib/gmarkup.h: Add a GMarkupParseFlags flag for
261         treating CDATA as text. 
263         * glib/gmarkup.c (g_markup_parse_context_parse): 
264         Implement it here.
266 2006-05-28  Matthias Clasen  <mclasen@redhat.com>
268         * tests/markups/expected-*: Output that test-markup
269         is expected to produce when run on the valid gmarkup 
270         examples.
272         * tests/markup-test.c: Only dump the results of the
273         first, unchunked parse, to compare it against the expected
274         output. 
276         * tests/run-markup-tests.sh: For valid examples, compare
277         the output of test-markup against the corresponding
278         expected-<n> file.
279         
280 2006-05-24  Matthias Clasen  <mclasen@redhat.com>
282         * configure.in: Don't compile timeloop on Minix. 
283         (Leonard den Ottolander)
285 2006-05-22  Sebastian Wilhelmi  <wilhelmi@google.com>
287         * glib/gthread.c (g_thread_init_glib): Run _g_atomic_thread_init
288         as the first of the full fledged initializers to allow the later
289         to potentially use atomic ints (which they currently do
290         not). (#342563, Peter Kjellerstedt)
292 2006-05-16  Matthias Clasen  <mclasen@redhat.com>
294         * tests/Makefile.am: 
295         * tests/strtoll-test.c: Add tests for g_ascii_strtoll()
296         and g_ascii_strtoull().
298         * glib/glib.symbols:
299         * glib/gstrfuncs.h: 
300         * glib/gstrfuncs.c (g_ascii_strtoll): New function to
301         parse signed 64bit integers like strtoll does.  
303         * glib/goption.c (parse_int64): Use g_ascii_strtoll(),
304         since strtoll() is C99 and not available on some
305         systems.  (#341826, Kazuki Iwamoto)
307 2006-05-15  Matthias Clasen  <mclasen@redhat.com>
308         
309         * configure.in: Bump version
311         * === Released 2.11.1 ===
313         * NEWS: Updates
315 2006-05-13  Matthias Clasen  <mclasen@redhat.com>
317         * glib/grel.c: Fix several cases of deref-before-NULL-check.
318         (#341191, Pascal Terjan)
320         * glib/glib.symbols: 
321         * glib/goption.h: 
322         * glib/goption.c: Allow optional summary and description
323         texts before and after the option descriptions, and add
324         a way to translate them.  (#336120, Behdad Esfahbod)
326 2006-05-12  Tor Lillqvist  <tml@novell.com>
328         * glib/giowin32.c (g_io_win32_sock_set_flags): Implement
329         setting/clearing G_IO_FLAG_NONBLOCK for channels attached to
330         sockets. (#341192)
331         (g_io_win32_unimpl_set_flags): set_flags method for the
332         unimplemented case.
333         
334 2006-05-11  Bastien Nocera  <hadess@hadess.net>
336         * glib/goption.c: (parse_int64), (parse_arg), (free_changes_list):
337         * glib/goption.h:
338         * tests/option-test.c: (arg_test6), (main): add an int64 type for
339         GOption (G_OPTION_ARG_INT64) (#341237)
341 2006-05-10  Sebastian Wilhelmi  <wilhelmi@google.com>
343         * glib/gthread.h, gthread/gthread-impl.c: Make the magic and
344         location arguments to the error-checking-mutex functions const and
345         do not write to them, as we might not own them. Clean up the
346         error-checking-mutex code quite a bit. (#335198, Chris Wilson)
348         * glib/gthread.c: Use g_atomic_pointer_set instead of old
349         homegrown version now that we have it. (#335198, Chris Wilson)
351         * gthread/gthread-posix.c, gthread/gthread-win32.c: Prevent
352         calling into g_cond_wait resp. g_mutex_lock/unlock directly to
353         avoid recursions into the errorcheking mutex code (and out of
354         principle anyway). (#335198, Chris Wilson)
356         * tests/errorcheck-mutex-test.c: Adapt to GLib coding standards.
358 2006-05-09  Sebastian Wilhelmi  <wilhelmi@google.com>
360         * glib/gthreadinit.h: Renamed to glib/gthreadprivate.h and moved
361         system thread identifier comparision and assignment macros from
362         glib/gthread.c to glib/gthreadprivate.h.
364         * glib/Makefile.am, glib/gatomic.c, glib/gconvert.c, glib/gmain.c,
365         glib/gmem.c, glib/gmessages.c, glib/grand.c, glib/gslice.c,
366         glib/gthread.c, glib/gutils.c, gthread/gthread-impl.c: Use
367         glib/gthreadprivate.h instead of glib/gthreadinit.h.
369         * gthread/gthread-impl.c: Use GSystemThread instead of GThread for
370         owner determination. (#311043, jylefort@FreeBSD.org)
372         * tests/Makefile.am, tests/errorcheck-mutex-test: New test program
373         to test for all checked violations.
375         * glib/gprintf.c, glib/gspawn-win32.c, glib/gutf8.c,
376         gthread/gthread-impl.c, gthread/gthread-posix.c,
377         gthread/gthread-win32.c: Use canonical include form for internal
378         headers. config.h is always there.
380         * Remove obsolete gthread/gthread-solaris.c.
382 2006-05-08  Matthias Clasen  <mclasen@redhat.com>
384         * tests/convert-test.c (test_one_half): Use encoding names which 
385         may work better on Solaris.  (#340434, Alessandro Vesely)
387         * tests/keyfile-test.c (test_number): Add some tests for
388         invalid floating point numbers.
390         * glib/gkeyfile.c (g_key_file_parse_value_as_double): Return
391         an error for the empty string.  (#339105, Morten Welinder)
393         * glib/gscanner.c (g_scanner_config_template): Make const,
394         noticed by Kjartan Maraas.
396 2006-05-06  Matthias Clasen  <mclasen@redhat.com>
398         * glib/gkeyfile.c (g_key_file_set_string_list)
399         (g_key_file_set_locale_string_list): Fix invalid memory
400         reads.  (#340816, Nick Treleaven)
402 2006-05-04  Alexander Larsson  <alexl@redhat.com>
404         * glib/gbase64.c: (g_base64_decode_step):
405         Fix OOB write (#340538)
407 2006-05-03  Matthias Clasen  <mclasen@redhat.com>
409         * tests/base64-test.c: Add some more tests.
411         * glib/gbase64.c (g_base64_decode_step): Avoid writing
412         beyond the guaranteed lenght of the output buffer, if
413         there is padding.
415         * tests/base64-test.c (test_incremental): Use malloced memory
416         instead of stack-allocated, so that MALLOC_CHECK_=2 catches
417         the OOB write...
419         * glib/gbookmarkfile.c (g_bookmark_file_load_from_data): Remove
420         an overzealous return_if_fail check that causes make check to 
421         fail.
423 2006-05-02  Matthias Clasen  <mclasen@redhat.com>
425         * configure.in: Bump version
426         
427         * === Released 2.11.0 ===
429         * NEWS: Updates
431         * tests/casemap.txt: 
432         * tests/casefold.txt: Regenerate from Unicode 5.0 data. 
434         * glib/guniprop.c: Make interval_compare static.
436 Tue May  2 15:00:00 2006  Tim Janik  <timj@gtk.org>
438         * tests/gobject/deftype.c: added test code from Behdad Esfahbod, 
439         see #337128.
441 Tue May  2 14:18:25 2006  Tim Janik  <timj@gtk.org>
443         * glib/goption.c (g_option_context_parse): fixed leak in short
444         option parsing. rewrote parts of the code to be more concise to
445         enhance readability. fixed exaggerated uses of strlen.
447 2006-04-28  Behdad Esfahbod  <behdad@gnome.org>
449         * glib/guniprop.c: #include <stdlib.h>
451 2006-04-27  Matthias Clasen  <mclasen@redhat.com>
453         * glib/glib.symbols: Add g_unichar_iswide_cjk.
454         * glib/guniprop.c: Add a "Since: 2.12".
456         * NEWS: Updates
458 2006-04-27  Behdad Esfahbod  <behdad@gnome.org>
460         * docs/reference/glib/glib-sections.txt,
461         * glib/gunicode.h glib/guniprop.c: Implement g_unichar_iswide_cjk().
462         (#105626)
464 2006-04-27  Matthias Clasen  <mclasen@redhat.com>
466         * glib/gbookmarkfile.c (g_bookmark_file_set_description) 
467         (g_bookmark_file_set_title, g_bookmark_file_set_icon): 
468         Remove some special-casing of empty string which led to 
469         dangling pointers.  (#339337, Morten Welinder)
470         (expand_exec_line): Don't use printf() needlessly, handle
471         trailing '%' gracefully.  (#339338, Morten Welinder)
472         (is_element_full): Silence the compiler.
473         (g_bookmark_file_dump, bookmark_metadata_dump): 
474         (bookmark_app_info_dump): Escape strings before dumping 
475         them in xml.  (#339340, Morten Welinder)
477 2006-04-27  Behdad Esfahbod  <behdad@gnome.org>
479         * glib/gunibreak.h, glib/gunichartables.h: Regenerated using
480         Unicode Character Database 5.0 beta.
482 2006-04-26  Matthias Clasen  <mclasen@redhat.com>
484         * glib/grand.c (g_rand_new): Don't repeat a failed fclose()
485         call, since that invokes undefined behaviour.  (Coverity)
487 2006-04-25  Matthias Clasen  <mclasen@redhat.com>
489         * glib/gbookmarkfile.c (is_element_full): Avoid a possible
490         NULL dereference (found by Coverity), also avoid some 
491         pointless strdups.
493         * tests/keyfile-test.c (test_comments): Add a test for
494         the previous change.
496         * glib/gkeyfile.c (g_key_file_lookup_group_node): Remove
497         redundant code.
498         (g_key_file_get_group_comment): Don't dereference before
499         checking for NULL.  (#338572, Coverity, Pascal Terjan)
501 2006-04-19  Matthias Clasen  <mclasen@redhat.com>
503         * glib/gdataset.c: Add some missing Since: 2.8 tags.
505 2006-04-19  Tor Lillqvist  <tml@novell.com>
507         * glib/gatomic.c: Adapt to the changed prototype of
508         InterlockedCompareExchange() in newer SDKs. Use
509         InterlockedCompareExchangePointer() when applicable. (#155884,
510         John Ehresman)
512 2006-04-18  Matthias Clasen  <mclasen@redhat.com>
514         * glib/gkeyfile.h:
515         * glib/glib.symbols:
516         * glib/gkeyfile.c: Add api to get and set doubles and 
517         lists of doubles.  (#164719, Maurizio Monge, Dom Lachowicz)
519         * tests/keyfile-test.c: Add tests for new api.
521         * glib/gkeyfile.c (g_key_file_add_group): Accept duplicate
522         groups.  (#157877, Sebastien Bacher)
524         * tests/keyfile-test.c: Add tests for duplicate key and
525         duplicate group handling.
527 2006-04-17  Matthias Clasen  <mclasen@redhat.com>
529         * glib/gcompletion.c (g_completion_complete_utf8): Make passing
530         NULL for new_prefix work as documented.  (#338845, Yevgen Muntyan)
532         * tests/completion-test.c: Test that passing NULL for 
533         new_prefix in g_completion_complete_utf8 works.
535 2006-04-17  Kjartan Maraas  <kmaraas@gnome.org>
537         * configure.in: Remove obsolete entry for no_NO.
538         * po/no.po: And the translation.
540 2006-04-16  Matthias Clasen  <mclasen@redhat.com>
542         * glib/gdate.c (g_date_fill_parse_tokens): Avoid an array
543         overrun.  (Coverity, fix by Pascal Terjan)
545 2006-04-12  Bastien Nocera  <hadess@hadess.net>
547         reviewed by: Matthias Clasen <mclasen@redhat.com>
549         * glib/gconvert.c: add more details about which RFC is concerned
550         when using g_filename_to_uri (#337553)
552 2006-04-12  Matthias Clasen  <mclasen@redhat.com>
554         * glib/goption.c (parse_arg): Add an assert to make it
555         clear when value can be NULL.
557 2006-04-07  Martyn Russell  <martyn@imendio.com>
559         * tests/threadpool-test.c: (test_thread_stop_unused): Removed an
560         assertion which can fail and is not a critical test.
562 2006-04-07  Hans Breuer  <hans@breuer.org>
564         * glib/makefile.msc.in : added gbase64.obj and derive the static libs
565         name from auto* variables
566         * glib/makefile.msc.in : link user32.lib for MessageBox()
568 2006-04-07  Martyn Russell  <martyn@imendio.com>
570         * glib/gasyncqueue.[ch]: Added private API
571         _g_async_queue_get_mutex so that g_thread_pool_free() can use the
572         async queue mutex. 
573         
574         * glib/gthreadpool.c: Make sure
575         g_thread_pool_stop_unused_threads() actually stops unused threads
576         and global limits (like max idle time and max unused threads) can
577         be set without creating a thread pool first. Fixed #335215 (patch
578         from Chris Wilson).  
579         
580         * tests/threadpool-test.c: Added two new tests, tests setting
581         global limits before creating a thread pool. The second test
582         makes sure unused threads are actually stopped when using the
583         g_thread_pool_stop_unused_threads(). 
585 2006-04-05  Matthias Clasen  <mclasen@redhat.com>
587         * glib/gnulib/vasnprintf.c (vasnprintf): Make
588         long long printing work if snprintf is not 
589         available.  (#332841, Michael McDonald)
591 2006-04-05  Behdad Esfahbod  <behdad@gnome.org>
593         * tests/option-test.c: Check the return value of g_get_prgname for
594         NULL before passing to strcmp.
596         * tests/slice-test.c: Report the correct name in Usage summary.
598 2006-04-05  Matthias Clasen  <mclasen@redhat.com>
600         * tests/run-collate-tests.sh: Fix up shell script.
602         * tests/option-test.c (arg_test5): Skip the test if
603         setting the locale fails.
604         (empty_test1): Reset prgname before the test.
606         * tests/Makefile.am: Arrange for run-bookmark-test.sh
607         to be run by make check.
609         * tests/utf8-pointer.c: 
610         * tests/tree-test.c: Silence warnings.
612 2006-04-04  Matthias Clasen  <mclasen@redhat.com>
614         * glib/glib.symbols:
615         * glib/gbase64.[hc]: Add G_GNUC_MALLOC where
616         appropriate, use glib types.
618 2006-04-04  Alexander Larsson  <alexl@redhat.com>
620         * glib/Makefile.am:
621         * glib/gbase64.[ch]:
622         * glib/glib.symbols:
623         Add base64 encode/decode functions
624         
625         * glib/glib.h:
626         Include gbase64.h
627         
628         * tests/Makefile.am:
629         * tests/base64-test.c:
630         Tests for base64 functions
632 2006-04-04  Matthias Clasen  <mclasen@redhat.com>
634         * glib/gdate.c: Move short_month_names and long_month_names
635         to bss.
637         * glib/gspawn-win32.c (g_spawn_error_quark):
638         * glib/gspawn.c (g_spawn_error_quark):
639         * glib/gshell.c (g_shell_error_quark):
640         * glib/gmarkup.c (g_markup_error_quark):
641         * glib/goption.c (g_option_error_quark):
642         * glib/gkeyfile.c (g_key_file_error_quark):
643         * glib/giochannel.c (g_io_channel_error_quark):
644         * glib/gfileutils.c (g_file_error_quark):
645         * glib/gconvert.c (g_convert_error_quark):
646         * glib/gbookmarkfile.c (g_bookmark_file_error_quark):
647         * glib/gthread.c (g_thread_error_quark): No point in making
648         the error path fast by caching quarks.
650         * glib/gbookmarkfile.c: Make the parser struct const.
652 2006-04-04  Behdad Esfahbod  <behdad@gnome.org>
654         * glib/gbookmarkfile.c: Fix accidentally broken build.
656 2006-04-03  Matthias Clasen  <mclasen@redhat.com>
658         * glib/gbookmarkfile.c: Don't include sys/time.h  (#337027,
659          Kazuki IWAMOTO)
661 2006-03-31  Tor Lillqvist  <tml@novell.com>
663         * glib/gstdio.c (g_remove): Revert change below. It wasn't a good
664         idea after all, says the original bug reporter. See bug for
665         discussion.
667 2006-03-30  Tor Lillqvist  <tml@novell.com>
669         * glib/gstdio.c (g_remove): [Win32] call rmdir() only if remove()
670         fails with errno set to ENOENT, to leave errno set to EACCESS if
671         that is the problem. (#334799, Yevgen Muntyan)
673 2006-03-30  Matthias Clasen  <mclasen@redhat.com>
675         * glib/gbookmarkfile.c (g_bookmark_file_get_app_info): Sync
676         the parameter names with the .h files, otherwise gtk-doc
677         misbehaves.
679 2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>
681         * tests/.cvsignore: Add bookmarkfile-test to the ignored files.
683 2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>
685         * tests/Makefile.am:
686         * tests/bookmarkfile-test.c:
687         * tests/run-bookmark-test.sh:
688         * tests/bookmarks/*.xbel: Add test suite for GBookmarkFile.
690 2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>
692         * docs/reference/glib/glib-docs.sgml:
693         * docs/reference/glib/glib-sections.txt:
694         * docs/reference/glib/tmpl/bookmarkfile.sgml: Add documentation for
695         GBookmarkFile to GLib's reference guide.
697 2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>
699         * glib/glib.h:
700         * glib/gbookmarkfile.h
701         * glib/gbookmarkfile.c: Add GBookmarkFile, a parser for files
702         containing bookmarks stored using the Desktop Bookmark
703         specification. Fixes bug #327662.
705         * glib/glib.symbols:
706         * glib/Makefile.am:
707         * glib/makefile.msc.in:
708         * glib/makefile.mingw.in: Build glue for GBookmarkFile.
710 2006-03-27  Dom Lachowicz  <cinamod@hotmail.com>
712         * tests/option-test.c: Copy-and-paste error slipped into test5. Enable
713         test5, as per Matthias' comments in bug 329548#c11.
715         Change a gboolean to an int. Fixes bug #329789.
717         * configure.in: Bump version number to 2.11.0
718         
719 2006-03-27  Matthias Clasen  <mclasen@redhat.com>
721         Add support for floating point numbers to goption.
722         (#329548, Behdad Esfahbod, patch by Antoine Dopffer and 
723          Dom Lachowicz)
725         * glib/goption.h:
726         * glib/goption.c: Support double arguments.
728         * tests/option-test.c: Test double arguments.`
730 2006-03-26  Matthias Clasen  <mclasen@redhat.com>
732         * glib/goption.c (g_option_context_new): Improve the description
733         of parameter_string in the docs.  (#336085, Claudio Saavedra)
735 2006-03-24  Martyn Russell  <martyn@imendio.com>
737         * glib/gthreadpool.c: Updated the documentation to explain that
738         when the maximum threads is > 1 the sort functionality is not 100%
739         accurate due to the ramdom nature of the scheduler choosing which
740         threads to execute. Fixes bug #334943.
742         * tests/threadpool-test.c: Disabled the debugging by default and
743         fixed the sort test to set the maximum threads to 1 to guarantee
744         the thread entry function is called in order. 
746 2006-03-23  Matthias Clasen  <mclasen@redhat.com> 
748         === Branch for 2.10 ===