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