Blame ChangeLog.pre-2-12

Packit ae235b
2006-08-22  Matthias Clasen <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* Branch for 2.12
Packit ae235b
Packit ae235b
2006-08-20  Tor Lillqvist  <tml@novell.com>
Packit ae235b
Packit ae235b
	* glib/gnulib/vasnprintf.c (vasnprintf): Fix crash when printing
Packit ae235b
	large 64-bit values on Win32 using the %I64x format. (#351034,
Packit ae235b
	Neil Piercy)
Packit ae235b
Packit ae235b
Wed Aug 16 13:59:07 2006  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* tests/gobject/Makefile.am:
Packit ae235b
	* tests/gobject/singleton.c: added test program which demonstrates
Packit ae235b
	and checks singleton construction.
Packit ae235b
Packit ae235b
2006-08-15  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gbookmarkfile.c (g_bookmark_file_get_groups):
Packit ae235b
	* glib/gmain.c (g_source_is_destroyed): Add Since tags.
Packit ae235b
	* glib/gkeyfile.c (g_key_file_get_double_list): Fix
Packit ae235b
	Since tag.  (#351583, Brian Cameron)
Packit ae235b
Packit ae235b
	* configure.in: Bump version
Packit ae235b
Packit ae235b
	* === Released 2.12.2 ===
Packit ae235b
Packit ae235b
	* NEWS: Updates
Packit ae235b
Packit ae235b
2006-08-08  Emmanuele Bassi  <ebassi@gnome.org>
Packit ae235b
Packit ae235b
	* glib/gbookmarkfile.c (g_bookmark_file_remove_group)
Packit ae235b
	(g_bookmark_file_set_app_info): Plug a couple of leaks
Packit ae235b
	when removing data from a bookmark.
Packit ae235b
Packit ae235b
2006-08-05  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gbookmarkfile.c (find_file_in_data_dirs): Correct the
Packit ae235b
	grammar of an error message.  (#349792, Jakub Friedl)
Packit ae235b
Packit ae235b
	* glib/gkeyfile.c (g_key_file_to_data): Don't insert unnecessary
Packit ae235b
	newlines in keyfiles.  (#349825, Chris Wilson)
Packit ae235b
Packit ae235b
	* glib/guniprop.c (g_unichar_toupper, g_unichar_tolower) 
Packit ae235b
	(real_toupper, real_tolower): If a character can't be converted,
Packit ae235b
	don't replace it with a NUL byte, but leave it unchanged.  
Packit ae235b
	(#348491, Nikolai Weibull)
Packit ae235b
Packit ae235b
	* tests/unicode-caseconv.c: Adapt to this change. 
Packit ae235b
Packit ae235b
	* tests/unicode-caseconv.c (main): Add a comment to point out
Packit ae235b
	a quirk in the test data that we are working around here.
Packit ae235b
Packit ae235b
2006-07-31  Behdad Esfahbod  <behdad@gnome.org>
Packit ae235b
Packit ae235b
	* glib/guniprop.c (g_unichar_isxdigit): Make it only accept those
Packit ae235b
	characters that we accept i g_unichar_xdigit_value(), i.e. don't
Packit ae235b
	accept non-decimal digits. (#347842, Nikolai Weibull)
Packit ae235b
Packit ae235b
2006-07-31  Behdad Esfahbod  <behdad@gnome.org>
Packit ae235b
Packit ae235b
	* glib/gunidecomp.c (_g_utf8_normalize_wc): Update to reflect Unicode
Packit ae235b
	PR #29 (#348694, Nikolai Weibull)
Packit ae235b
Packit ae235b
	* tests/unicode-normalize.c (encode), (test_form): Make output more
Packit ae235b
	useful, reporting the unexpected output of the test.
Packit ae235b
Packit ae235b
2006-07-24  Tor Lillqvist  <tml@novell.com>
Packit ae235b
Packit ae235b
	* tests/slice-test.c: Use g_get_current_time() insted of
Packit ae235b
	gettimeofday().
Packit ae235b
Packit ae235b
2006-07-22  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: Bump version
Packit ae235b
Packit ae235b
	* === Released 2.12.1 ===
Packit ae235b
Packit ae235b
	* glib/gconvert.c: Fix the prototype of _g_charset_get_aliases.
Packit ae235b
	(#346494, Thomas Klausner)
Packit ae235b
Packit ae235b
	* NEWS: Updates
Packit ae235b
Packit ae235b
2006-07-21  Behdad Esfahbod  <behdad@gnome.org>
Packit ae235b
Packit ae235b
	* glib/gmirroringtable.h: Updated to Unicode Character Database 5.0.0.
Packit ae235b
Packit ae235b
2006-07-20  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/guniprop.c (real_toupper, real_tolower): Small optimization.
Packit ae235b
	(#348011, Nikolai Weibull)
Packit ae235b
Packit ae235b
2006-07-19  Behdad Esfahbod  <behdad@gnome.org>
Packit ae235b
Packit ae235b
	* glib/gunibreak.h:
Packit ae235b
	* glib/gunichartables.h:
Packit ae235b
	* glib/gunicomp.h:
Packit ae235b
	* glib/gunidecomp.h:
Packit ae235b
	Update to final Unicode Character Database 5.0.0. (#336281)
Packit ae235b
Packit ae235b
2006-07-06  Behdad Esfahbod  <behdad@gnome.org>
Packit ae235b
Packit ae235b
	* glib/gutils.c (g_parse_debug_string): When matching debug flag keys, 
Packit ae235b
	ignore case and accept any of comma, colon, semicolon, space, and tab
Packit ae235b
	as separators.  Also, match dash with underscore.
Packit ae235b
Packit ae235b
2006-07-05  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gbase64.c: Fix typos in the docs.  (#346660, Mark
Packit ae235b
	Drago)
Packit ae235b
Packit ae235b
2006-07-03  Runa Bhattacharjee <runabh@gmail.com>
Packit ae235b
Packit ae235b
	* configure.in: Added Bengali India (bn_IN) in ALL_LINGUAS.
Packit ae235b
Packit ae235b
2006-07-02  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: Bump version
Packit ae235b
Packit ae235b
	* === Released 2.12.0 ===
Packit ae235b
Packit ae235b
2006-06-30  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* NEWS: Updates
Packit ae235b
Packit ae235b
	* configure.in: Set version to 2.12.0
Packit ae235b
Packit ae235b
2006-06-20  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gtimer.c (mktime_utc): Fix an off-by-2 error
Packit ae235b
	in the leap year calculation.  (#344905, Dan Winship)
Packit ae235b
Packit ae235b
	* tests/testglib.c (main): Change the test data for
Packit ae235b
	the g_time_val_from_iso8601 tests to expose an off-by-2
Packit ae235b
	error in the leap year calculation.
Packit ae235b
Packit ae235b
	* configure.in: Bump version
Packit ae235b
Packit ae235b
	* === Released 2.11.4 ===
Packit ae235b
Packit ae235b
	* NEWS: Updates
Packit ae235b
Packit ae235b
2006-06-16  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* tests/file-test.c (test_mkstemp): Add tests.
Packit ae235b
Packit ae235b
	* glib/gfileutils.c (g_mkstemp): Allow the XXXXXX to occur
Packit ae235b
	inside the template, not just at the end.  
Packit ae235b
Packit ae235b
2006-06-14  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
	
Packit ae235b
	* glib/gkeyfile.c (g_key_file_to_data): Separate groups by
Packit ae235b
	an empty line  (#344868, Christian Persch)
Packit ae235b
Packit ae235b
2006-06-14  Tor Lillqvist  <tml@novell.com>
Packit ae235b
Packit ae235b
	* glib/gutils.c (g_listenv): Add Windows notes to doc comment.
Packit ae235b
Packit ae235b
2006-06-12  Emmanuele Bassi  <ebassi@cvs.gnome.org>
Packit ae235b
Packit ae235b
	* glib/gbookmarkfile.h:
Packit ae235b
	* glib/gbookmarkfile.c (g_bookmark_file_remove_item): Return
Packit ae235b
	a boolean instead of void.
Packit ae235b
Packit ae235b
	* tests/bookmarkfile-test.c (test_modify): Add a test case
Packit ae235b
	for g_bookmark_file_remove_item().
Packit ae235b
Packit ae235b
2006-06-12  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* Bump version
Packit ae235b
Packit ae235b
	* === Released 2.11.3 ===
Packit ae235b
Packit ae235b
	* NEWS: Updates
Packit ae235b
Packit ae235b
2006-06-09  Emmanuele Bassi  <ebassi@cvs.gnome.org>
Packit ae235b
Packit ae235b
	* glib/gbookmarkfile.c (g_bookmark_file_remove_application): Use
Packit ae235b
	an empty string to pass the test in set_app_info.
Packit ae235b
Packit ae235b
	(g_bookmark_file_move_item): Remove the old item from the
Packit ae235b
	look up table; return success in case of empty target.
Packit ae235b
Packit ae235b
2006-06-08  Tor Lillqvist  <tml@novell.com>
Packit ae235b
Packit ae235b
	* glib/gunicollate.c (msc_strxfrm_wrapper): Workaround for bug in
Packit ae235b
	strxfrm() in Microsoft's newer C runtimes. (#343919, Kazuki
Packit ae235b
	Iwamoto)
Packit ae235b
Packit ae235b
2006-06-05  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: Bump version
Packit ae235b
Packit ae235b
	* === Released 2.11.2 ===
Packit ae235b
Packit ae235b
	* configure.in: Set interface age to 0.
Packit ae235b
Packit ae235b
	* NEWS: Updates
Packit ae235b
Packit ae235b
	* glib/gmain.c: Fix some doc formatting issues.
Packit ae235b
Packit ae235b
	* glib/gstrfuncs.c: Revert accidental commit.
Packit ae235b
Packit ae235b
	* glib/gmain.c (get_dispatch): Don't leak the
Packit ae235b
	dispatch struct.  (#321886)
Packit ae235b
Packit ae235b
	* tests/strtod-test.c: Add some tests involving
Packit ae235b
	leading whitespace.
Packit ae235b
Packit ae235b
	* glib/gstrfuncs.c (g_ascii_formatd): Skip leading 
Packit ae235b
	whitespace.  (#343899, Øystein Johansen)
Packit ae235b
Packit ae235b
2006-06-01  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gmain.h: 
Packit ae235b
	* glib/gmain.c: Add three new functions, 
Packit ae235b
	g_main_current_source, g_source_set_funcs and 
Packit ae235b
	g_source_is_destroyed, that will be necessary to 
Packit ae235b
	solve thread-safety issues with idles in GTK+.  
Packit ae235b
	(#321886, Chris Wilson)
Packit ae235b
Packit ae235b
2006-06-01  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/giochannel.c (g_io_channel_write_chars): Avoid
Packit ae235b
	running in an assertion with small writes.  (#343566, Chris
Packit ae235b
	Wilson)
Packit ae235b
Packit ae235b
	* tests/iochannel-test.c: Add a testcase for small writes.
Packit ae235b
Packit ae235b
	* glib/glib.symbols: 
Packit ae235b
	* glib/ghash.h: 
Packit ae235b
	* glib/ghash.c: Add g_hash_table_{remove,steal}_all to
Packit ae235b
	remove all nodes from a hash table.  (#168538, Matt Barnes)
Packit ae235b
Packit ae235b
2006-06-01  Behdad Esfahbod  <behdad@gnome.org>
Packit ae235b
Packit ae235b
	* glib/gkeyfile.c (g_key_file_to_data),
Packit ae235b
	(g_key_file_parse_value_as_comment),
Packit ae235b
	(g_key_file_parse_comment_as_value):
Packit ae235b
	* glib/gscanner.c (g_scanner_get_token_ll): Cleanup. Use return
Packit ae235b
	value of g_string_free(...). (#343548, Chris Wilson)
Packit ae235b
Packit ae235b
2006-05-28  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gmarkup.c (g_markup_parse_context_parse): 
Packit ae235b
	Don't use g_str_has_{prefix,suffix} here.
Packit ae235b
Packit ae235b
2006-05-28  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gmarkup.h: Add a GMarkupParseFlags flag for
Packit ae235b
	treating CDATA as text. 
Packit ae235b
Packit ae235b
	* glib/gmarkup.c (g_markup_parse_context_parse): 
Packit ae235b
	Implement it here.
Packit ae235b
Packit ae235b
2006-05-28  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* tests/markups/expected-*: Output that test-markup
Packit ae235b
	is expected to produce when run on the valid gmarkup 
Packit ae235b
	examples.
Packit ae235b
Packit ae235b
	* tests/markup-test.c: Only dump the results of the
Packit ae235b
	first, unchunked parse, to compare it against the expected
Packit ae235b
	output. 
Packit ae235b
Packit ae235b
	* tests/run-markup-tests.sh: For valid examples, compare
Packit ae235b
	the output of test-markup against the corresponding
Packit ae235b
	expected-<n> file.
Packit ae235b
	
Packit ae235b
2006-05-24  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: Don't compile timeloop on Minix. 
Packit ae235b
	(Leonard den Ottolander)
Packit ae235b
Packit ae235b
2006-05-22  Sebastian Wilhelmi  <wilhelmi@google.com>
Packit ae235b
Packit ae235b
	* glib/gthread.c (g_thread_init_glib): Run _g_atomic_thread_init
Packit ae235b
	as the first of the full fledged initializers to allow the later
Packit ae235b
	to potentially use atomic ints (which they currently do
Packit ae235b
	not). (#342563, Peter Kjellerstedt)
Packit ae235b
Packit ae235b
2006-05-16  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* tests/Makefile.am: 
Packit ae235b
	* tests/strtoll-test.c: Add tests for g_ascii_strtoll()
Packit ae235b
	and g_ascii_strtoull().
Packit ae235b
Packit ae235b
	* glib/glib.symbols:
Packit ae235b
	* glib/gstrfuncs.h: 
Packit ae235b
	* glib/gstrfuncs.c (g_ascii_strtoll): New function to
Packit ae235b
	parse signed 64bit integers like strtoll does.  
Packit ae235b
Packit ae235b
	* glib/goption.c (parse_int64): Use g_ascii_strtoll(),
Packit ae235b
	since strtoll() is C99 and not available on some
Packit ae235b
	systems.  (#341826, Kazuki Iwamoto)
Packit ae235b
Packit ae235b
2006-05-15  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
	
Packit ae235b
	* configure.in: Bump version
Packit ae235b
Packit ae235b
	* === Released 2.11.1 ===
Packit ae235b
Packit ae235b
	* NEWS: Updates
Packit ae235b
Packit ae235b
2006-05-13  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/grel.c: Fix several cases of deref-before-NULL-check.
Packit ae235b
	(#341191, Pascal Terjan)
Packit ae235b
Packit ae235b
	* glib/glib.symbols: 
Packit ae235b
	* glib/goption.h: 
Packit ae235b
	* glib/goption.c: Allow optional summary and description
Packit ae235b
	texts before and after the option descriptions, and add
Packit ae235b
	a way to translate them.  (#336120, Behdad Esfahbod)
Packit ae235b
Packit ae235b
2006-05-12  Tor Lillqvist  <tml@novell.com>
Packit ae235b
Packit ae235b
	* glib/giowin32.c (g_io_win32_sock_set_flags): Implement
Packit ae235b
	setting/clearing G_IO_FLAG_NONBLOCK for channels attached to
Packit ae235b
	sockets. (#341192)
Packit ae235b
	(g_io_win32_unimpl_set_flags): set_flags method for the
Packit ae235b
	unimplemented case.
Packit ae235b
	
Packit ae235b
2006-05-11  Bastien Nocera  <hadess@hadess.net>
Packit ae235b
Packit ae235b
	* glib/goption.c: (parse_int64), (parse_arg), (free_changes_list):
Packit ae235b
	* glib/goption.h:
Packit ae235b
	* tests/option-test.c: (arg_test6), (main): add an int64 type for
Packit ae235b
	GOption (G_OPTION_ARG_INT64) (#341237)
Packit ae235b
Packit ae235b
2006-05-10  Sebastian Wilhelmi  <wilhelmi@google.com>
Packit ae235b
Packit ae235b
	* glib/gthread.h, gthread/gthread-impl.c: Make the magic and
Packit ae235b
	location arguments to the error-checking-mutex functions const and
Packit ae235b
	do not write to them, as we might not own them. Clean up the
Packit ae235b
	error-checking-mutex code quite a bit. (#335198, Chris Wilson)
Packit ae235b
Packit ae235b
	* glib/gthread.c: Use g_atomic_pointer_set instead of old
Packit ae235b
	homegrown version now that we have it. (#335198, Chris Wilson)
Packit ae235b
Packit ae235b
	* gthread/gthread-posix.c, gthread/gthread-win32.c: Prevent
Packit ae235b
	calling into g_cond_wait resp. g_mutex_lock/unlock directly to
Packit ae235b
	avoid recursions into the errorcheking mutex code (and out of
Packit ae235b
	principle anyway). (#335198, Chris Wilson)
Packit ae235b
Packit ae235b
	* tests/errorcheck-mutex-test.c: Adapt to GLib coding standards.
Packit ae235b
Packit ae235b
2006-05-09  Sebastian Wilhelmi  <wilhelmi@google.com>
Packit ae235b
Packit ae235b
	* glib/gthreadinit.h: Renamed to glib/gthreadprivate.h and moved
Packit ae235b
	system thread identifier comparision and assignment macros from
Packit ae235b
	glib/gthread.c to glib/gthreadprivate.h.
Packit ae235b
Packit ae235b
	* glib/Makefile.am, glib/gatomic.c, glib/gconvert.c, glib/gmain.c,
Packit ae235b
	glib/gmem.c, glib/gmessages.c, glib/grand.c, glib/gslice.c,
Packit ae235b
	glib/gthread.c, glib/gutils.c, gthread/gthread-impl.c: Use
Packit ae235b
	glib/gthreadprivate.h instead of glib/gthreadinit.h.
Packit ae235b
Packit ae235b
	* gthread/gthread-impl.c: Use GSystemThread instead of GThread for
Packit ae235b
	owner determination. (#311043, jylefort@FreeBSD.org)
Packit ae235b
Packit ae235b
	* tests/Makefile.am, tests/errorcheck-mutex-test: New test program
Packit ae235b
	to test for all checked violations.
Packit ae235b
Packit ae235b
	* glib/gprintf.c, glib/gspawn-win32.c, glib/gutf8.c,
Packit ae235b
	gthread/gthread-impl.c, gthread/gthread-posix.c,
Packit ae235b
	gthread/gthread-win32.c: Use canonical include form for internal
Packit ae235b
	headers. config.h is always there.
Packit ae235b
Packit ae235b
	* Remove obsolete gthread/gthread-solaris.c.
Packit ae235b
Packit ae235b
2006-05-08  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* tests/convert-test.c (test_one_half): Use encoding names which 
Packit ae235b
	may work better on Solaris.  (#340434, Alessandro Vesely)
Packit ae235b
Packit ae235b
	* tests/keyfile-test.c (test_number): Add some tests for
Packit ae235b
	invalid floating point numbers.
Packit ae235b
Packit ae235b
	* glib/gkeyfile.c (g_key_file_parse_value_as_double): Return
Packit ae235b
	an error for the empty string.  (#339105, Morten Welinder)
Packit ae235b
Packit ae235b
	* glib/gscanner.c (g_scanner_config_template): Make const,
Packit ae235b
	noticed by Kjartan Maraas.
Packit ae235b
Packit ae235b
2006-05-06  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gkeyfile.c (g_key_file_set_string_list)
Packit ae235b
	(g_key_file_set_locale_string_list): Fix invalid memory
Packit ae235b
	reads.  (#340816, Nick Treleaven)
Packit ae235b
Packit ae235b
2006-05-04  Alexander Larsson  <alexl@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gbase64.c: (g_base64_decode_step):
Packit ae235b
	Fix OOB write (#340538)
Packit ae235b
Packit ae235b
2006-05-03  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* tests/base64-test.c: Add some more tests.
Packit ae235b
Packit ae235b
	* glib/gbase64.c (g_base64_decode_step): Avoid writing
Packit ae235b
	beyond the guaranteed lenght of the output buffer, if
Packit ae235b
	there is padding.
Packit ae235b
Packit ae235b
	* tests/base64-test.c (test_incremental): Use malloced memory
Packit ae235b
	instead of stack-allocated, so that MALLOC_CHECK_=2 catches
Packit ae235b
	the OOB write...
Packit ae235b
Packit ae235b
	* glib/gbookmarkfile.c (g_bookmark_file_load_from_data): Remove
Packit ae235b
	an overzealous return_if_fail check that causes make check to 
Packit ae235b
	fail.
Packit ae235b
Packit ae235b
2006-05-02  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: Bump version
Packit ae235b
	
Packit ae235b
	* === Released 2.11.0 ===
Packit ae235b
Packit ae235b
	* NEWS: Updates
Packit ae235b
Packit ae235b
	* tests/casemap.txt: 
Packit ae235b
	* tests/casefold.txt: Regenerate from Unicode 5.0 data. 
Packit ae235b
Packit ae235b
	* glib/guniprop.c: Make interval_compare static.
Packit ae235b
Packit ae235b
Tue May  2 15:00:00 2006  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* tests/gobject/deftype.c: added test code from Behdad Esfahbod, 
Packit ae235b
	see #337128.
Packit ae235b
Packit ae235b
Tue May  2 14:18:25 2006  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib/goption.c (g_option_context_parse): fixed leak in short
Packit ae235b
	option parsing. rewrote parts of the code to be more concise to
Packit ae235b
	enhance readability. fixed exaggerated uses of strlen.
Packit ae235b
Packit ae235b
2006-04-28  Behdad Esfahbod  <behdad@gnome.org>
Packit ae235b
Packit ae235b
	* glib/guniprop.c: #include <stdlib.h>
Packit ae235b
Packit ae235b
2006-04-27  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/glib.symbols: Add g_unichar_iswide_cjk.
Packit ae235b
	* glib/guniprop.c: Add a "Since: 2.12".
Packit ae235b
Packit ae235b
	* NEWS: Updates
Packit ae235b
Packit ae235b
2006-04-27  Behdad Esfahbod  <behdad@gnome.org>
Packit ae235b
Packit ae235b
	* docs/reference/glib/glib-sections.txt,
Packit ae235b
	* glib/gunicode.h glib/guniprop.c: Implement g_unichar_iswide_cjk().
Packit ae235b
	(#105626)
Packit ae235b
Packit ae235b
2006-04-27  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gbookmarkfile.c (g_bookmark_file_set_description) 
Packit ae235b
	(g_bookmark_file_set_title, g_bookmark_file_set_icon): 
Packit ae235b
	Remove some special-casing of empty string which led to 
Packit ae235b
	dangling pointers.  (#339337, Morten Welinder)
Packit ae235b
	(expand_exec_line): Don't use printf() needlessly, handle
Packit ae235b
	trailing '%' gracefully.  (#339338, Morten Welinder)
Packit ae235b
	(is_element_full): Silence the compiler.
Packit ae235b
	(g_bookmark_file_dump, bookmark_metadata_dump): 
Packit ae235b
	(bookmark_app_info_dump): Escape strings before dumping 
Packit ae235b
	them in xml.  (#339340, Morten Welinder)
Packit ae235b
Packit ae235b
2006-04-27  Behdad Esfahbod  <behdad@gnome.org>
Packit ae235b
Packit ae235b
	* glib/gunibreak.h, glib/gunichartables.h: Regenerated using
Packit ae235b
	Unicode Character Database 5.0 beta.
Packit ae235b
Packit ae235b
2006-04-26  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/grand.c (g_rand_new): Don't repeat a failed fclose()
Packit ae235b
	call, since that invokes undefined behaviour.  (Coverity)
Packit ae235b
Packit ae235b
2006-04-25  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gbookmarkfile.c (is_element_full): Avoid a possible
Packit ae235b
	NULL dereference (found by Coverity), also avoid some 
Packit ae235b
	pointless strdups.
Packit ae235b
Packit ae235b
	* tests/keyfile-test.c (test_comments): Add a test for
Packit ae235b
	the previous change.
Packit ae235b
Packit ae235b
	* glib/gkeyfile.c (g_key_file_lookup_group_node): Remove
Packit ae235b
	redundant code.
Packit ae235b
	(g_key_file_get_group_comment): Don't dereference before
Packit ae235b
	checking for NULL.  (#338572, Coverity, Pascal Terjan)
Packit ae235b
Packit ae235b
2006-04-19  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gdataset.c: Add some missing Since: 2.8 tags.
Packit ae235b
Packit ae235b
2006-04-19  Tor Lillqvist  <tml@novell.com>
Packit ae235b
Packit ae235b
	* glib/gatomic.c: Adapt to the changed prototype of
Packit ae235b
	InterlockedCompareExchange() in newer SDKs. Use
Packit ae235b
	InterlockedCompareExchangePointer() when applicable. (#155884,
Packit ae235b
	John Ehresman)
Packit ae235b
Packit ae235b
2006-04-18  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gkeyfile.h:
Packit ae235b
	* glib/glib.symbols:
Packit ae235b
	* glib/gkeyfile.c: Add api to get and set doubles and 
Packit ae235b
	lists of doubles.  (#164719, Maurizio Monge, Dom Lachowicz)
Packit ae235b
Packit ae235b
	* tests/keyfile-test.c: Add tests for new api.
Packit ae235b
Packit ae235b
	* glib/gkeyfile.c (g_key_file_add_group): Accept duplicate
Packit ae235b
	groups.  (#157877, Sebastien Bacher)
Packit ae235b
Packit ae235b
	* tests/keyfile-test.c: Add tests for duplicate key and
Packit ae235b
	duplicate group handling.
Packit ae235b
Packit ae235b
2006-04-17  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gcompletion.c (g_completion_complete_utf8): Make passing
Packit ae235b
	NULL for new_prefix work as documented.  (#338845, Yevgen Muntyan)
Packit ae235b
Packit ae235b
	* tests/completion-test.c: Test that passing NULL for 
Packit ae235b
	new_prefix in g_completion_complete_utf8 works.
Packit ae235b
Packit ae235b
2006-04-17  Kjartan Maraas  <kmaraas@gnome.org>
Packit ae235b
Packit ae235b
	* configure.in: Remove obsolete entry for no_NO.
Packit ae235b
	* po/no.po: And the translation.
Packit ae235b
Packit ae235b
2006-04-16  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gdate.c (g_date_fill_parse_tokens): Avoid an array
Packit ae235b
	overrun.  (Coverity, fix by Pascal Terjan)
Packit ae235b
Packit ae235b
2006-04-12  Bastien Nocera  <hadess@hadess.net>
Packit ae235b
Packit ae235b
	reviewed by: Matthias Clasen <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gconvert.c: add more details about which RFC is concerned
Packit ae235b
	when using g_filename_to_uri (#337553)
Packit ae235b
Packit ae235b
2006-04-12  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/goption.c (parse_arg): Add an assert to make it
Packit ae235b
	clear when value can be NULL.
Packit ae235b
Packit ae235b
2006-04-07  Martyn Russell  <martyn@imendio.com>
Packit ae235b
Packit ae235b
	* tests/threadpool-test.c: (test_thread_stop_unused): Removed an
Packit ae235b
	assertion which can fail and is not a critical test.
Packit ae235b
Packit ae235b
2006-04-07  Hans Breuer  <hans@breuer.org>
Packit ae235b
Packit ae235b
	* glib/makefile.msc.in : added gbase64.obj and derive the static libs
Packit ae235b
	name from auto* variables
Packit ae235b
	* glib/makefile.msc.in : link user32.lib for MessageBox()
Packit ae235b
Packit ae235b
2006-04-07  Martyn Russell  <martyn@imendio.com>
Packit ae235b
Packit ae235b
	* glib/gasyncqueue.[ch]: Added private API
Packit ae235b
	_g_async_queue_get_mutex so that g_thread_pool_free() can use the
Packit ae235b
	async queue mutex. 
Packit ae235b
	
Packit ae235b
	* glib/gthreadpool.c: Make sure
Packit ae235b
	g_thread_pool_stop_unused_threads() actually stops unused threads
Packit ae235b
	and global limits (like max idle time and max unused threads) can
Packit ae235b
	be set without creating a thread pool first. Fixed #335215 (patch
Packit ae235b
	from Chris Wilson).  
Packit ae235b
	
Packit ae235b
	* tests/threadpool-test.c: Added two new tests, tests setting
Packit ae235b
	global limits before creating a thread pool. The second test
Packit ae235b
	makes sure unused threads are actually stopped when using the
Packit ae235b
	g_thread_pool_stop_unused_threads(). 
Packit ae235b
Packit ae235b
2006-04-05  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gnulib/vasnprintf.c (vasnprintf): Make
Packit ae235b
	long long printing work if snprintf is not 
Packit ae235b
	available.  (#332841, Michael McDonald)
Packit ae235b
Packit ae235b
2006-04-05  Behdad Esfahbod  <behdad@gnome.org>
Packit ae235b
Packit ae235b
	* tests/option-test.c: Check the return value of g_get_prgname for
Packit ae235b
	NULL before passing to strcmp.
Packit ae235b
Packit ae235b
	* tests/slice-test.c: Report the correct name in Usage summary.
Packit ae235b
Packit ae235b
2006-04-05  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* tests/run-collate-tests.sh: Fix up shell script.
Packit ae235b
Packit ae235b
	* tests/option-test.c (arg_test5): Skip the test if
Packit ae235b
	setting the locale fails.
Packit ae235b
	(empty_test1): Reset prgname before the test.
Packit ae235b
Packit ae235b
	* tests/Makefile.am: Arrange for run-bookmark-test.sh
Packit ae235b
	to be run by make check.
Packit ae235b
Packit ae235b
	* tests/utf8-pointer.c: 
Packit ae235b
	* tests/tree-test.c: Silence warnings.
Packit ae235b
Packit ae235b
2006-04-04  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/glib.symbols:
Packit ae235b
	* glib/gbase64.[hc]: Add G_GNUC_MALLOC where
Packit ae235b
	appropriate, use glib types.
Packit ae235b
Packit ae235b
2006-04-04  Alexander Larsson  <alexl@redhat.com>
Packit ae235b
Packit ae235b
	* glib/Makefile.am:
Packit ae235b
	* glib/gbase64.[ch]:
Packit ae235b
	* glib/glib.symbols:
Packit ae235b
	Add base64 encode/decode functions
Packit ae235b
	
Packit ae235b
	* glib/glib.h:
Packit ae235b
	Include gbase64.h
Packit ae235b
	
Packit ae235b
	* tests/Makefile.am:
Packit ae235b
	* tests/base64-test.c:
Packit ae235b
	Tests for base64 functions
Packit ae235b
Packit ae235b
2006-04-04  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gdate.c: Move short_month_names and long_month_names
Packit ae235b
	to bss.
Packit ae235b
Packit ae235b
	* glib/gspawn-win32.c (g_spawn_error_quark):
Packit ae235b
	* glib/gspawn.c (g_spawn_error_quark):
Packit ae235b
	* glib/gshell.c (g_shell_error_quark):
Packit ae235b
	* glib/gmarkup.c (g_markup_error_quark):
Packit ae235b
	* glib/goption.c (g_option_error_quark):
Packit ae235b
	* glib/gkeyfile.c (g_key_file_error_quark):
Packit ae235b
	* glib/giochannel.c (g_io_channel_error_quark):
Packit ae235b
	* glib/gfileutils.c (g_file_error_quark):
Packit ae235b
	* glib/gconvert.c (g_convert_error_quark):
Packit ae235b
	* glib/gbookmarkfile.c (g_bookmark_file_error_quark):
Packit ae235b
	* glib/gthread.c (g_thread_error_quark): No point in making
Packit ae235b
	the error path fast by caching quarks.
Packit ae235b
Packit ae235b
	* glib/gbookmarkfile.c: Make the parser struct const.
Packit ae235b
Packit ae235b
2006-04-04  Behdad Esfahbod  <behdad@gnome.org>
Packit ae235b
Packit ae235b
	* glib/gbookmarkfile.c: Fix accidentally broken build.
Packit ae235b
Packit ae235b
2006-04-03  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gbookmarkfile.c: Don't include sys/time.h  (#337027,
Packit ae235b
	 Kazuki IWAMOTO)
Packit ae235b
Packit ae235b
2006-03-31  Tor Lillqvist  <tml@novell.com>
Packit ae235b
Packit ae235b
	* glib/gstdio.c (g_remove): Revert change below. It wasn't a good
Packit ae235b
	idea after all, says the original bug reporter. See bug for
Packit ae235b
	discussion.
Packit ae235b
Packit ae235b
2006-03-30  Tor Lillqvist  <tml@novell.com>
Packit ae235b
Packit ae235b
	* glib/gstdio.c (g_remove): [Win32] call rmdir() only if remove()
Packit ae235b
	fails with errno set to ENOENT, to leave errno set to EACCESS if
Packit ae235b
	that is the problem. (#334799, Yevgen Muntyan)
Packit ae235b
Packit ae235b
2006-03-30  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gbookmarkfile.c (g_bookmark_file_get_app_info): Sync
Packit ae235b
	the parameter names with the .h files, otherwise gtk-doc
Packit ae235b
	misbehaves.
Packit ae235b
Packit ae235b
2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>
Packit ae235b
Packit ae235b
	* tests/.cvsignore: Add bookmarkfile-test to the ignored files.
Packit ae235b
Packit ae235b
2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>
Packit ae235b
Packit ae235b
	* tests/Makefile.am:
Packit ae235b
	* tests/bookmarkfile-test.c:
Packit ae235b
	* tests/run-bookmark-test.sh:
Packit ae235b
	* tests/bookmarks/*.xbel: Add test suite for GBookmarkFile.
Packit ae235b
Packit ae235b
2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>
Packit ae235b
Packit ae235b
	* docs/reference/glib/glib-docs.sgml:
Packit ae235b
	* docs/reference/glib/glib-sections.txt:
Packit ae235b
	* docs/reference/glib/tmpl/bookmarkfile.sgml: Add documentation for
Packit ae235b
	GBookmarkFile to GLib's reference guide.
Packit ae235b
Packit ae235b
2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>
Packit ae235b
Packit ae235b
	* glib/glib.h:
Packit ae235b
	* glib/gbookmarkfile.h
Packit ae235b
	* glib/gbookmarkfile.c: Add GBookmarkFile, a parser for files
Packit ae235b
	containing bookmarks stored using the Desktop Bookmark
Packit ae235b
	specification. Fixes bug #327662.
Packit ae235b
Packit ae235b
	* glib/glib.symbols:
Packit ae235b
	* glib/Makefile.am:
Packit ae235b
	* glib/makefile.msc.in:
Packit ae235b
	* glib/makefile.mingw.in: Build glue for GBookmarkFile.
Packit ae235b
Packit ae235b
2006-03-27  Dom Lachowicz  <cinamod@hotmail.com>
Packit ae235b
Packit ae235b
	* tests/option-test.c: Copy-and-paste error slipped into test5. Enable
Packit ae235b
	test5, as per Matthias' comments in bug 329548#c11.
Packit ae235b
Packit ae235b
	Change a gboolean to an int. Fixes bug #329789.
Packit ae235b
Packit ae235b
	* configure.in: Bump version number to 2.11.0
Packit ae235b
	
Packit ae235b
2006-03-27  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
	Add support for floating point numbers to goption.
Packit ae235b
	(#329548, Behdad Esfahbod, patch by Antoine Dopffer and 
Packit ae235b
	 Dom Lachowicz)
Packit ae235b
Packit ae235b
	* glib/goption.h:
Packit ae235b
	* glib/goption.c: Support double arguments.
Packit ae235b
Packit ae235b
	* tests/option-test.c: Test double arguments.`
Packit ae235b
Packit ae235b
2006-03-26  Matthias Clasen  <mclasen@redhat.com>
Packit ae235b
Packit ae235b
        * glib/goption.c (g_option_context_new): Improve the description
Packit ae235b
        of parameter_string in the docs.  (#336085, Claudio Saavedra)
Packit ae235b
Packit ae235b
2006-03-24  Martyn Russell  <martyn@imendio.com>
Packit ae235b
Packit ae235b
	* glib/gthreadpool.c: Updated the documentation to explain that
Packit ae235b
	when the maximum threads is > 1 the sort functionality is not 100%
Packit ae235b
	accurate due to the ramdom nature of the scheduler choosing which
Packit ae235b
	threads to execute. Fixes bug #334943.
Packit ae235b
Packit ae235b
	* tests/threadpool-test.c: Disabled the debugging by default and
Packit ae235b
	fixed the sort test to set the maximum threads to 1 to guarantee
Packit ae235b
	the thread entry function is called in order. 
Packit ae235b
Packit ae235b
2006-03-23  Matthias Clasen  <mclasen@redhat.com> 
Packit ae235b
Packit ae235b
	=== Branch for 2.10 ===