1 2006-11-15 Matthias Clasen <mclasen@redhat.com>
3 * m4macros/glib-gettext.m4: Apply a patch from James
4 Henstridge for compatibility with automake 2.60 (#343825)
6 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
8 * sanity_check: Replace bash-specific == with sh-understood =.
11 2006-10-16 Behdad Esfahbod <behdad@gnome.org>
13 * glib/gnulib/Makefile.am: Add $(GLIB_DEBUG_FLAGS). (#362543,
16 2006-10-15 Sebastian Wilhelmi <seppi@seppi.de>
18 * tests/Makefile.am: Compile errorcheck-mutex-test with thread
19 libraries explicitly. (#74748, Javier Villavicencio)
21 2006-10-08 Matthias Clasen <mclasen@redhat.com>
23 * tests/run-markup-tests.sh: Small portability fix. (#347944,
26 2006-10-07 Tor Lillqvist <tml@novell.com>
28 * glib/gwin32.c (get_package_directory_from_module)
29 (g_win32_get_package_installation_directory): g_strdup the keys
30 that we are passed before adding them to the hash tables, to guard
31 against the caller freeing them. (#355955, Andreas Köhler)
33 2006-10-06 Matthias Clasen <mclasen@redhat.com>
35 * glib/gtimer.c: Fix a typo. (#359190)
37 2006-10-01 Matthias Clasen <mclasen@redhat.com>
39 * configure.in: Bump version
41 * === Released 2.12.4 ===
45 * glib/gtimer.c (g_usleep): Use nsleep to implement
46 g_usleep on AIX. (#321974, Andrew Paprocki)
48 * configure.in: Check for nsleep
50 * glib/gmain.c: Fix typos in doc comments.
53 2006-09-30 Matthias Clasen <mclasen@redhat.com>
55 * glib/pltcheck.sh: A script to check PLT entries.
56 * glib/Makefile.am (TESTS): Run pltcheck.sh
58 * glib/*: Fix includes to correct some issues with
59 PLT entries. (#354522, Behdad Esfahbod)
61 2006-09-10 Matthias Clasen <mclasen@redhat.com>
63 * glib/gstdio.c (g_rename): Initialize save_errno.
64 (#355206, Mike Edenfield)
66 2006-09-01 Abel Cheung <abel@oaka.org>
68 * configure.in: Added 'dz' 'hy' to ALL_LINGUAS.
70 2006-09-01 Matthias Clasen <mclasen@redhat.com>
72 * configure.in: Check for CLOCK_MONOTONIC.
74 * glib/gtimer.c: Only use clock_gettime if we
75 have a monotonic clock.
77 2006-08-31 Matthias Clasen <mclasen@redhat.com>
79 * configure.in: Add missing includes to a few test
80 programs. (#353580, Chris Wilson)
82 2006-08-30 Matthias Clasen <mclasen@redhat.com>
84 * glib/gmarkup.c (g_markup_vprintf_escaped): Don't call
85 va_end on caller-provided va_args. (#353584, Chris Wilson)
89 * === Released 2.12.3 ===
93 2006-08-27 Matthias Clasen <mclasen@redhat.com>
95 * configure.in: Fix the pthread compiler flag detection more.
97 * configure.in: Check for clock_gettime.
98 * glib/gtimer.c: Use Posix monotonic clocks instead of
99 gettimeofday when available. (#336114, William Jon McCann)
101 2006-08-25 Matthias Clasen <mclasen@redhat.com>
103 * configure.in: Fix the pthread compiler flag detection.
106 * glib/gutf8.c (_g_utf8_make_valid): Rename make_valid_utf8
107 from gconvert.c, move it to gutf8.c, and export it privately.
109 * glib/gconvert.c (g_filename_display_name): Adjust callers.
111 * glib/gkeyfile.c: Use _g_utf8_make_valid() in a number of
112 places to ensure error messages are valid UTF-8. (#351853,
115 2006-08-20 Tor Lillqvist <tml@novell.com>
117 * glib/gnulib/vasnprintf.c (vasnprintf): Fix crash when printing
118 large 64-bit values on Win32 using the %I64x format. (#351034,
121 Wed Aug 16 13:59:07 2006 Tim Janik <timj@gtk.org>
123 * tests/gobject/Makefile.am:
124 * tests/gobject/singleton.c: added test program which demonstrates
125 and checks singleton construction.
127 2006-08-15 Matthias Clasen <mclasen@redhat.com>
129 * glib/gbookmarkfile.c (g_bookmark_file_get_groups):
130 * glib/gmain.c (g_source_is_destroyed): Add Since tags.
131 * glib/gkeyfile.c (g_key_file_get_double_list): Fix
132 Since tag. (#351583, Brian Cameron)
134 * configure.in: Bump version
136 * === Released 2.12.2 ===
140 2006-08-08 Emmanuele Bassi <ebassi@gnome.org>
142 * glib/gbookmarkfile.c (g_bookmark_file_remove_group)
143 (g_bookmark_file_set_app_info): Plug a couple of leaks
144 when removing data from a bookmark.
146 2006-08-05 Matthias Clasen <mclasen@redhat.com>
148 * glib/gbookmarkfile.c (find_file_in_data_dirs): Correct the
149 grammar of an error message. (#349792, Jakub Friedl)
151 * glib/gkeyfile.c (g_key_file_to_data): Don't insert unnecessary
152 newlines in keyfiles. (#349825, Chris Wilson)
154 * glib/guniprop.c (g_unichar_toupper, g_unichar_tolower)
155 (real_toupper, real_tolower): If a character can't be converted,
156 don't replace it with a NUL byte, but leave it unchanged.
157 (#348491, Nikolai Weibull)
159 * tests/unicode-caseconv.c: Adapt to this change.
161 * tests/unicode-caseconv.c (main): Add a comment to point out
162 a quirk in the test data that we are working around here.
164 2006-07-31 Behdad Esfahbod <behdad@gnome.org>
166 * glib/guniprop.c (g_unichar_isxdigit): Make it only accept those
167 characters that we accept i g_unichar_xdigit_value(), i.e. don't
168 accept non-decimal digits. (#347842, Nikolai Weibull)
170 2006-07-31 Behdad Esfahbod <behdad@gnome.org>
172 * glib/gunidecomp.c (_g_utf8_normalize_wc): Update to reflect Unicode
173 PR #29 (#348694, Nikolai Weibull)
175 * tests/unicode-normalize.c (encode), (test_form): Make output more
176 useful, reporting the unexpected output of the test.
178 2006-07-24 Tor Lillqvist <tml@novell.com>
180 * tests/slice-test.c: Use g_get_current_time() insted of
183 2006-07-22 Matthias Clasen <mclasen@redhat.com>
185 * configure.in: Bump version
187 * === Released 2.12.1 ===
189 * glib/gconvert.c: Fix the prototype of _g_charset_get_aliases.
190 (#346494, Thomas Klausner)
194 2006-07-21 Behdad Esfahbod <behdad@gnome.org>
196 * glib/gmirroringtable.h: Updated to Unicode Character Database 5.0.0.
198 2006-07-20 Matthias Clasen <mclasen@redhat.com>
200 * glib/guniprop.c (real_toupper, real_tolower): Small optimization.
201 (#348011, Nikolai Weibull)
203 2006-07-19 Behdad Esfahbod <behdad@gnome.org>
206 * glib/gunichartables.h:
209 Update to final Unicode Character Database 5.0.0. (#336281)
211 2006-07-06 Behdad Esfahbod <behdad@gnome.org>
213 * glib/gutils.c (g_parse_debug_string): When matching debug flag keys,
214 ignore case and accept any of comma, colon, semicolon, space, and tab
215 as separators. Also, match dash with underscore.
217 2006-07-05 Matthias Clasen <mclasen@redhat.com>
219 * glib/gbase64.c: Fix typos in the docs. (#346660, Mark
222 2006-07-03 Runa Bhattacharjee <runabh@gmail.com>
224 * configure.in: Added Bengali India (bn_IN) in ALL_LINGUAS.
226 2006-07-02 Matthias Clasen <mclasen@redhat.com>
228 * configure.in: Bump version
230 * === Released 2.12.0 ===
232 2006-06-30 Matthias Clasen <mclasen@redhat.com>
236 * configure.in: Set version to 2.12.0
238 2006-06-20 Matthias Clasen <mclasen@redhat.com>
240 * glib/gtimer.c (mktime_utc): Fix an off-by-2 error
241 in the leap year calculation. (#344905, Dan Winship)
243 * tests/testglib.c (main): Change the test data for
244 the g_time_val_from_iso8601 tests to expose an off-by-2
245 error in the leap year calculation.
247 * configure.in: Bump version
249 * === Released 2.11.4 ===
253 2006-06-16 Matthias Clasen <mclasen@redhat.com>
255 * tests/file-test.c (test_mkstemp): Add tests.
257 * glib/gfileutils.c (g_mkstemp): Allow the XXXXXX to occur
258 inside the template, not just at the end.
260 2006-06-14 Matthias Clasen <mclasen@redhat.com>
262 * glib/gkeyfile.c (g_key_file_to_data): Separate groups by
263 an empty line (#344868, Christian Persch)
265 2006-06-14 Tor Lillqvist <tml@novell.com>
267 * glib/gutils.c (g_listenv): Add Windows notes to doc comment.
269 2006-06-12 Emmanuele Bassi <ebassi@cvs.gnome.org>
271 * glib/gbookmarkfile.h:
272 * glib/gbookmarkfile.c (g_bookmark_file_remove_item): Return
273 a boolean instead of void.
275 * tests/bookmarkfile-test.c (test_modify): Add a test case
276 for g_bookmark_file_remove_item().
278 2006-06-12 Matthias Clasen <mclasen@redhat.com>
282 * === Released 2.11.3 ===
286 2006-06-09 Emmanuele Bassi <ebassi@cvs.gnome.org>
288 * glib/gbookmarkfile.c (g_bookmark_file_remove_application): Use
289 an empty string to pass the test in set_app_info.
291 (g_bookmark_file_move_item): Remove the old item from the
292 look up table; return success in case of empty target.
294 2006-06-08 Tor Lillqvist <tml@novell.com>
296 * glib/gunicollate.c (msc_strxfrm_wrapper): Workaround for bug in
297 strxfrm() in Microsoft's newer C runtimes. (#343919, Kazuki
300 2006-06-05 Matthias Clasen <mclasen@redhat.com>
302 * configure.in: Bump version
304 * === Released 2.11.2 ===
306 * configure.in: Set interface age to 0.
310 * glib/gmain.c: Fix some doc formatting issues.
312 * glib/gstrfuncs.c: Revert accidental commit.
314 * glib/gmain.c (get_dispatch): Don't leak the
315 dispatch struct. (#321886)
317 * tests/strtod-test.c: Add some tests involving
320 * glib/gstrfuncs.c (g_ascii_formatd): Skip leading
321 whitespace. (#343899, Øystein Johansen)
323 2006-06-01 Matthias Clasen <mclasen@redhat.com>
326 * glib/gmain.c: Add three new functions,
327 g_main_current_source, g_source_set_funcs and
328 g_source_is_destroyed, that will be necessary to
329 solve thread-safety issues with idles in GTK+.
330 (#321886, Chris Wilson)
332 2006-06-01 Matthias Clasen <mclasen@redhat.com>
334 * glib/giochannel.c (g_io_channel_write_chars): Avoid
335 running in an assertion with small writes. (#343566, Chris
338 * tests/iochannel-test.c: Add a testcase for small writes.
342 * glib/ghash.c: Add g_hash_table_{remove,steal}_all to
343 remove all nodes from a hash table. (#168538, Matt Barnes)
345 2006-06-01 Behdad Esfahbod <behdad@gnome.org>
347 * glib/gkeyfile.c (g_key_file_to_data),
348 (g_key_file_parse_value_as_comment),
349 (g_key_file_parse_comment_as_value):
350 * glib/gscanner.c (g_scanner_get_token_ll): Cleanup. Use return
351 value of g_string_free(...). (#343548, Chris Wilson)
353 2006-05-28 Matthias Clasen <mclasen@redhat.com>
355 * glib/gmarkup.c (g_markup_parse_context_parse):
356 Don't use g_str_has_{prefix,suffix} here.
358 2006-05-28 Matthias Clasen <mclasen@redhat.com>
360 * glib/gmarkup.h: Add a GMarkupParseFlags flag for
361 treating CDATA as text.
363 * glib/gmarkup.c (g_markup_parse_context_parse):
366 2006-05-28 Matthias Clasen <mclasen@redhat.com>
368 * tests/markups/expected-*: Output that test-markup
369 is expected to produce when run on the valid gmarkup
372 * tests/markup-test.c: Only dump the results of the
373 first, unchunked parse, to compare it against the expected
376 * tests/run-markup-tests.sh: For valid examples, compare
377 the output of test-markup against the corresponding
380 2006-05-24 Matthias Clasen <mclasen@redhat.com>
382 * configure.in: Don't compile timeloop on Minix.
383 (Leonard den Ottolander)
385 2006-05-22 Sebastian Wilhelmi <wilhelmi@google.com>
387 * glib/gthread.c (g_thread_init_glib): Run _g_atomic_thread_init
388 as the first of the full fledged initializers to allow the later
389 to potentially use atomic ints (which they currently do
390 not). (#342563, Peter Kjellerstedt)
392 2006-05-16 Matthias Clasen <mclasen@redhat.com>
395 * tests/strtoll-test.c: Add tests for g_ascii_strtoll()
396 and g_ascii_strtoull().
400 * glib/gstrfuncs.c (g_ascii_strtoll): New function to
401 parse signed 64bit integers like strtoll does.
403 * glib/goption.c (parse_int64): Use g_ascii_strtoll(),
404 since strtoll() is C99 and not available on some
405 systems. (#341826, Kazuki Iwamoto)
407 2006-05-15 Matthias Clasen <mclasen@redhat.com>
409 * configure.in: Bump version
411 * === Released 2.11.1 ===
415 2006-05-13 Matthias Clasen <mclasen@redhat.com>
417 * glib/grel.c: Fix several cases of deref-before-NULL-check.
418 (#341191, Pascal Terjan)
422 * glib/goption.c: Allow optional summary and description
423 texts before and after the option descriptions, and add
424 a way to translate them. (#336120, Behdad Esfahbod)
426 2006-05-12 Tor Lillqvist <tml@novell.com>
428 * glib/giowin32.c (g_io_win32_sock_set_flags): Implement
429 setting/clearing G_IO_FLAG_NONBLOCK for channels attached to
431 (g_io_win32_unimpl_set_flags): set_flags method for the
434 2006-05-11 Bastien Nocera <hadess@hadess.net>
436 * glib/goption.c: (parse_int64), (parse_arg), (free_changes_list):
438 * tests/option-test.c: (arg_test6), (main): add an int64 type for
439 GOption (G_OPTION_ARG_INT64) (#341237)
441 2006-05-10 Sebastian Wilhelmi <wilhelmi@google.com>
443 * glib/gthread.h, gthread/gthread-impl.c: Make the magic and
444 location arguments to the error-checking-mutex functions const and
445 do not write to them, as we might not own them. Clean up the
446 error-checking-mutex code quite a bit. (#335198, Chris Wilson)
448 * glib/gthread.c: Use g_atomic_pointer_set instead of old
449 homegrown version now that we have it. (#335198, Chris Wilson)
451 * gthread/gthread-posix.c, gthread/gthread-win32.c: Prevent
452 calling into g_cond_wait resp. g_mutex_lock/unlock directly to
453 avoid recursions into the errorcheking mutex code (and out of
454 principle anyway). (#335198, Chris Wilson)
456 * tests/errorcheck-mutex-test.c: Adapt to GLib coding standards.
458 2006-05-09 Sebastian Wilhelmi <wilhelmi@google.com>
460 * glib/gthreadinit.h: Renamed to glib/gthreadprivate.h and moved
461 system thread identifier comparision and assignment macros from
462 glib/gthread.c to glib/gthreadprivate.h.
464 * glib/Makefile.am, glib/gatomic.c, glib/gconvert.c, glib/gmain.c,
465 glib/gmem.c, glib/gmessages.c, glib/grand.c, glib/gslice.c,
466 glib/gthread.c, glib/gutils.c, gthread/gthread-impl.c: Use
467 glib/gthreadprivate.h instead of glib/gthreadinit.h.
469 * gthread/gthread-impl.c: Use GSystemThread instead of GThread for
470 owner determination. (#311043, jylefort@FreeBSD.org)
472 * tests/Makefile.am, tests/errorcheck-mutex-test: New test program
473 to test for all checked violations.
475 * glib/gprintf.c, glib/gspawn-win32.c, glib/gutf8.c,
476 gthread/gthread-impl.c, gthread/gthread-posix.c,
477 gthread/gthread-win32.c: Use canonical include form for internal
478 headers. config.h is always there.
480 * Remove obsolete gthread/gthread-solaris.c.
482 2006-05-08 Matthias Clasen <mclasen@redhat.com>
484 * tests/convert-test.c (test_one_half): Use encoding names which
485 may work better on Solaris. (#340434, Alessandro Vesely)
487 * tests/keyfile-test.c (test_number): Add some tests for
488 invalid floating point numbers.
490 * glib/gkeyfile.c (g_key_file_parse_value_as_double): Return
491 an error for the empty string. (#339105, Morten Welinder)
493 * glib/gscanner.c (g_scanner_config_template): Make const,
494 noticed by Kjartan Maraas.
496 2006-05-06 Matthias Clasen <mclasen@redhat.com>
498 * glib/gkeyfile.c (g_key_file_set_string_list)
499 (g_key_file_set_locale_string_list): Fix invalid memory
500 reads. (#340816, Nick Treleaven)
502 2006-05-04 Alexander Larsson <alexl@redhat.com>
504 * glib/gbase64.c: (g_base64_decode_step):
505 Fix OOB write (#340538)
507 2006-05-03 Matthias Clasen <mclasen@redhat.com>
509 * tests/base64-test.c: Add some more tests.
511 * glib/gbase64.c (g_base64_decode_step): Avoid writing
512 beyond the guaranteed lenght of the output buffer, if
515 * tests/base64-test.c (test_incremental): Use malloced memory
516 instead of stack-allocated, so that MALLOC_CHECK_=2 catches
519 * glib/gbookmarkfile.c (g_bookmark_file_load_from_data): Remove
520 an overzealous return_if_fail check that causes make check to
523 2006-05-02 Matthias Clasen <mclasen@redhat.com>
525 * configure.in: Bump version
527 * === Released 2.11.0 ===
532 * tests/casefold.txt: Regenerate from Unicode 5.0 data.
534 * glib/guniprop.c: Make interval_compare static.
536 Tue May 2 15:00:00 2006 Tim Janik <timj@gtk.org>
538 * tests/gobject/deftype.c: added test code from Behdad Esfahbod,
541 Tue May 2 14:18:25 2006 Tim Janik <timj@gtk.org>
543 * glib/goption.c (g_option_context_parse): fixed leak in short
544 option parsing. rewrote parts of the code to be more concise to
545 enhance readability. fixed exaggerated uses of strlen.
547 2006-04-28 Behdad Esfahbod <behdad@gnome.org>
549 * glib/guniprop.c: #include <stdlib.h>
551 2006-04-27 Matthias Clasen <mclasen@redhat.com>
553 * glib/glib.symbols: Add g_unichar_iswide_cjk.
554 * glib/guniprop.c: Add a "Since: 2.12".
558 2006-04-27 Behdad Esfahbod <behdad@gnome.org>
560 * docs/reference/glib/glib-sections.txt,
561 * glib/gunicode.h glib/guniprop.c: Implement g_unichar_iswide_cjk().
564 2006-04-27 Matthias Clasen <mclasen@redhat.com>
566 * glib/gbookmarkfile.c (g_bookmark_file_set_description)
567 (g_bookmark_file_set_title, g_bookmark_file_set_icon):
568 Remove some special-casing of empty string which led to
569 dangling pointers. (#339337, Morten Welinder)
570 (expand_exec_line): Don't use printf() needlessly, handle
571 trailing '%' gracefully. (#339338, Morten Welinder)
572 (is_element_full): Silence the compiler.
573 (g_bookmark_file_dump, bookmark_metadata_dump):
574 (bookmark_app_info_dump): Escape strings before dumping
575 them in xml. (#339340, Morten Welinder)
577 2006-04-27 Behdad Esfahbod <behdad@gnome.org>
579 * glib/gunibreak.h, glib/gunichartables.h: Regenerated using
580 Unicode Character Database 5.0 beta.
582 2006-04-26 Matthias Clasen <mclasen@redhat.com>
584 * glib/grand.c (g_rand_new): Don't repeat a failed fclose()
585 call, since that invokes undefined behaviour. (Coverity)
587 2006-04-25 Matthias Clasen <mclasen@redhat.com>
589 * glib/gbookmarkfile.c (is_element_full): Avoid a possible
590 NULL dereference (found by Coverity), also avoid some
593 * tests/keyfile-test.c (test_comments): Add a test for
596 * glib/gkeyfile.c (g_key_file_lookup_group_node): Remove
598 (g_key_file_get_group_comment): Don't dereference before
599 checking for NULL. (#338572, Coverity, Pascal Terjan)
601 2006-04-19 Matthias Clasen <mclasen@redhat.com>
603 * glib/gdataset.c: Add some missing Since: 2.8 tags.
605 2006-04-19 Tor Lillqvist <tml@novell.com>
607 * glib/gatomic.c: Adapt to the changed prototype of
608 InterlockedCompareExchange() in newer SDKs. Use
609 InterlockedCompareExchangePointer() when applicable. (#155884,
612 2006-04-18 Matthias Clasen <mclasen@redhat.com>
616 * glib/gkeyfile.c: Add api to get and set doubles and
617 lists of doubles. (#164719, Maurizio Monge, Dom Lachowicz)
619 * tests/keyfile-test.c: Add tests for new api.
621 * glib/gkeyfile.c (g_key_file_add_group): Accept duplicate
622 groups. (#157877, Sebastien Bacher)
624 * tests/keyfile-test.c: Add tests for duplicate key and
625 duplicate group handling.
627 2006-04-17 Matthias Clasen <mclasen@redhat.com>
629 * glib/gcompletion.c (g_completion_complete_utf8): Make passing
630 NULL for new_prefix work as documented. (#338845, Yevgen Muntyan)
632 * tests/completion-test.c: Test that passing NULL for
633 new_prefix in g_completion_complete_utf8 works.
635 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
637 * configure.in: Remove obsolete entry for no_NO.
638 * po/no.po: And the translation.
640 2006-04-16 Matthias Clasen <mclasen@redhat.com>
642 * glib/gdate.c (g_date_fill_parse_tokens): Avoid an array
643 overrun. (Coverity, fix by Pascal Terjan)
645 2006-04-12 Bastien Nocera <hadess@hadess.net>
647 reviewed by: Matthias Clasen <mclasen@redhat.com>
649 * glib/gconvert.c: add more details about which RFC is concerned
650 when using g_filename_to_uri (#337553)
652 2006-04-12 Matthias Clasen <mclasen@redhat.com>
654 * glib/goption.c (parse_arg): Add an assert to make it
655 clear when value can be NULL.
657 2006-04-07 Martyn Russell <martyn@imendio.com>
659 * tests/threadpool-test.c: (test_thread_stop_unused): Removed an
660 assertion which can fail and is not a critical test.
662 2006-04-07 Hans Breuer <hans@breuer.org>
664 * glib/makefile.msc.in : added gbase64.obj and derive the static libs
665 name from auto* variables
666 * glib/makefile.msc.in : link user32.lib for MessageBox()
668 2006-04-07 Martyn Russell <martyn@imendio.com>
670 * glib/gasyncqueue.[ch]: Added private API
671 _g_async_queue_get_mutex so that g_thread_pool_free() can use the
674 * glib/gthreadpool.c: Make sure
675 g_thread_pool_stop_unused_threads() actually stops unused threads
676 and global limits (like max idle time and max unused threads) can
677 be set without creating a thread pool first. Fixed #335215 (patch
680 * tests/threadpool-test.c: Added two new tests, tests setting
681 global limits before creating a thread pool. The second test
682 makes sure unused threads are actually stopped when using the
683 g_thread_pool_stop_unused_threads().
685 2006-04-05 Matthias Clasen <mclasen@redhat.com>
687 * glib/gnulib/vasnprintf.c (vasnprintf): Make
688 long long printing work if snprintf is not
689 available. (#332841, Michael McDonald)
691 2006-04-05 Behdad Esfahbod <behdad@gnome.org>
693 * tests/option-test.c: Check the return value of g_get_prgname for
694 NULL before passing to strcmp.
696 * tests/slice-test.c: Report the correct name in Usage summary.
698 2006-04-05 Matthias Clasen <mclasen@redhat.com>
700 * tests/run-collate-tests.sh: Fix up shell script.
702 * tests/option-test.c (arg_test5): Skip the test if
703 setting the locale fails.
704 (empty_test1): Reset prgname before the test.
706 * tests/Makefile.am: Arrange for run-bookmark-test.sh
707 to be run by make check.
709 * tests/utf8-pointer.c:
710 * tests/tree-test.c: Silence warnings.
712 2006-04-04 Matthias Clasen <mclasen@redhat.com>
715 * glib/gbase64.[hc]: Add G_GNUC_MALLOC where
716 appropriate, use glib types.
718 2006-04-04 Alexander Larsson <alexl@redhat.com>
723 Add base64 encode/decode functions
729 * tests/base64-test.c:
730 Tests for base64 functions
732 2006-04-04 Matthias Clasen <mclasen@redhat.com>
734 * glib/gdate.c: Move short_month_names and long_month_names
737 * glib/gspawn-win32.c (g_spawn_error_quark):
738 * glib/gspawn.c (g_spawn_error_quark):
739 * glib/gshell.c (g_shell_error_quark):
740 * glib/gmarkup.c (g_markup_error_quark):
741 * glib/goption.c (g_option_error_quark):
742 * glib/gkeyfile.c (g_key_file_error_quark):
743 * glib/giochannel.c (g_io_channel_error_quark):
744 * glib/gfileutils.c (g_file_error_quark):
745 * glib/gconvert.c (g_convert_error_quark):
746 * glib/gbookmarkfile.c (g_bookmark_file_error_quark):
747 * glib/gthread.c (g_thread_error_quark): No point in making
748 the error path fast by caching quarks.
750 * glib/gbookmarkfile.c: Make the parser struct const.
752 2006-04-04 Behdad Esfahbod <behdad@gnome.org>
754 * glib/gbookmarkfile.c: Fix accidentally broken build.
756 2006-04-03 Matthias Clasen <mclasen@redhat.com>
758 * glib/gbookmarkfile.c: Don't include sys/time.h (#337027,
761 2006-03-31 Tor Lillqvist <tml@novell.com>
763 * glib/gstdio.c (g_remove): Revert change below. It wasn't a good
764 idea after all, says the original bug reporter. See bug for
767 2006-03-30 Tor Lillqvist <tml@novell.com>
769 * glib/gstdio.c (g_remove): [Win32] call rmdir() only if remove()
770 fails with errno set to ENOENT, to leave errno set to EACCESS if
771 that is the problem. (#334799, Yevgen Muntyan)
773 2006-03-30 Matthias Clasen <mclasen@redhat.com>
775 * glib/gbookmarkfile.c (g_bookmark_file_get_app_info): Sync
776 the parameter names with the .h files, otherwise gtk-doc
779 2006-03-27 Emmanuele Bassi <ebassi@cvs.gnome.org>
781 * tests/.cvsignore: Add bookmarkfile-test to the ignored files.
783 2006-03-27 Emmanuele Bassi <ebassi@cvs.gnome.org>
786 * tests/bookmarkfile-test.c:
787 * tests/run-bookmark-test.sh:
788 * tests/bookmarks/*.xbel: Add test suite for GBookmarkFile.
790 2006-03-27 Emmanuele Bassi <ebassi@cvs.gnome.org>
792 * docs/reference/glib/glib-docs.sgml:
793 * docs/reference/glib/glib-sections.txt:
794 * docs/reference/glib/tmpl/bookmarkfile.sgml: Add documentation for
795 GBookmarkFile to GLib's reference guide.
797 2006-03-27 Emmanuele Bassi <ebassi@cvs.gnome.org>
800 * glib/gbookmarkfile.h
801 * glib/gbookmarkfile.c: Add GBookmarkFile, a parser for files
802 containing bookmarks stored using the Desktop Bookmark
803 specification. Fixes bug #327662.
807 * glib/makefile.msc.in:
808 * glib/makefile.mingw.in: Build glue for GBookmarkFile.
810 2006-03-27 Dom Lachowicz <cinamod@hotmail.com>
812 * tests/option-test.c: Copy-and-paste error slipped into test5. Enable
813 test5, as per Matthias' comments in bug 329548#c11.
815 Change a gboolean to an int. Fixes bug #329789.
817 * configure.in: Bump version number to 2.11.0
819 2006-03-27 Matthias Clasen <mclasen@redhat.com>
821 Add support for floating point numbers to goption.
822 (#329548, Behdad Esfahbod, patch by Antoine Dopffer and
826 * glib/goption.c: Support double arguments.
828 * tests/option-test.c: Test double arguments.`
830 2006-03-26 Matthias Clasen <mclasen@redhat.com>
832 * glib/goption.c (g_option_context_new): Improve the description
833 of parameter_string in the docs. (#336085, Claudio Saavedra)
835 2006-03-24 Martyn Russell <martyn@imendio.com>
837 * glib/gthreadpool.c: Updated the documentation to explain that
838 when the maximum threads is > 1 the sort functionality is not 100%
839 accurate due to the ramdom nature of the scheduler choosing which
840 threads to execute. Fixes bug #334943.
842 * tests/threadpool-test.c: Disabled the debugging by default and
843 fixed the sort test to set the maximum threads to 1 to guarantee
844 the thread entry function is called in order.
846 2006-03-23 Matthias Clasen <mclasen@redhat.com>
848 === Branch for 2.10 ===