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