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