Commit Graph

2403 Commits

Author SHA1 Message Date
Matthias Clasen
72c62ec2ac Branch for 2.12 2006-08-23 03:43:36 +00:00
Tor Lillqvist
0d37c815d9 Fix crash when printing large 64-bit values on Win32 using the %I64x
2006-08-20  Tor Lillqvist  <tml@novell.com>

	* glib/gnulib/vasnprintf.c (vasnprintf): Fix crash when printing
	large 64-bit values on Win32 using the %I64x format. (#351034,
	Neil Piercy)
2006-08-20 13:39:48 +00:00
Tim Janik
aa4c932630 added test program which demonstrates and checks singleton construction.
Wed Aug 16 13:59:07 2006  Tim Janik  <timj@gtk.org>

        * tests/gobject/Makefile.am:
        * tests/gobject/singleton.c: added test program which demonstrates
        and checks singleton construction.
2006-08-16 12:11:03 +00:00
Matthias Clasen
58ea1db43e Add Since tags. Fix Since tag. (#351583, Brian Cameron)
2006-08-15  Matthias Clasen  <mclasen@redhat.com>

        * glib/gbookmarkfile.c (g_bookmark_file_get_groups):
        * glib/gmain.c (g_source_is_destroyed): Add Since tags.
        * glib/gkeyfile.c (g_key_file_get_double_list): Fix
        Since tag.  (#351583, Brian Cameron)
2006-08-16 03:33:57 +00:00
Matthias Clasen
18be028241 bump version 2006-08-16 00:48:18 +00:00
Matthias Clasen
c4bc3fe91d 2.12.2 2006-08-16 00:45:03 +00:00
Emmanuele Bassi
efa3ee01de Plug a couple of leaks when removing data from a bookmark.
2006-08-08  Emmanuele Bassi  <ebassi@gnome.org>

	* glib/gbookmarkfile.c (g_bookmark_file_remove_group)
	(g_bookmark_file_set_app_info): Plug a couple of leaks
	when removing data from a bookmark.
2006-08-08 23:35:48 +00:00
Matthias Clasen
14ae5dba0c Correct the grammar of an error message. (#349792, Jakub Friedl)
2006-08-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/gbookmarkfile.c (find_file_in_data_dirs): Correct the
	grammar of an error message.  (#349792, Jakub Friedl)
2006-08-05 22:07:57 +00:00
Matthias Clasen
e94c42bd46 Don't insert unnecessary newlines in keyfiles. (#349825, Chris Wilson)
2006-08-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c (g_key_file_to_data): Don't insert unnecessary
	newlines in keyfiles.  (#349825, Chris Wilson)
2006-08-05 21:57:35 +00:00
Matthias Clasen
994d642cde If a character can't be converted, don't replace it with a NUL byte, but
2006-08-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/guniprop.c (g_unichar_toupper, g_unichar_tolower)
	(real_toupper, real_tolower): If a character can't be converted,
	don't replace it with a NUL byte, but leave it unchanged.
	(#348491, Nikolai Weibull)

	* tests/unicode-caseconv.c: Adapt to this change.

	* tests/unicode-caseconv.c (main): Add a comment to point out
	a quirk in the test data that we are working around here.
2006-08-05 21:53:49 +00:00
Behdad Esfahbod
fafabbb490 Make it only accept those characters that we accept i
2006-07-31  Behdad Esfahbod  <behdad@gnome.org>

        * glib/guniprop.c (g_unichar_isxdigit): Make it only accept those
        characters that we accept i g_unichar_xdigit_value(), i.e. don't
        accept non-decimal digits. (#347842, Nikolai Weibull)
2006-07-31 05:10:28 +00:00
Behdad Esfahbod
290443f86f Update to reflect Unicode PR #29 (#348694, Nikolai Weibull)
2006-07-31  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gunidecomp.c (_g_utf8_normalize_wc): Update to reflect Unicode
        PR #29 (#348694, Nikolai Weibull)

        * tests/unicode-normalize.c (encode), (test_form): Make output more
        useful, reporting the unexpected output of the test.
2006-07-31 04:50:05 +00:00
Tor Lillqvist
94322b96da Use g_get_current_time() insted of gettimeofday().
2006-07-24  Tor Lillqvist  <tml@novell.com>

	* tests/slice-test.c: Use g_get_current_time() insted of
	gettimeofday().
2006-07-24 12:42:18 +00:00
Matthias Clasen
cc2aaddeb2 Bump version 2006-07-22 18:28:17 +00:00
Matthias Clasen
395997df20 2.12.1 2006-07-22 18:21:48 +00:00
Matthias Clasen
c534348ea5 Updates 2006-07-22 17:12:27 +00:00
Behdad Esfahbod
bee7a828d6 Updated to Unicode Character Database 5.0.0.
2006-07-21  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gmirroringtable.h: Updated to Unicode Character Database 5.0.0.
2006-07-21 22:23:51 +00:00
Matthias Clasen
1637ce0a86 fix typo 2006-07-21 04:14:03 +00:00
Matthias Clasen
c639cfe436 Small optimization. (#348011, Nicolai Weibull)
2006-07-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/guniprop.c (real_toupper, real_tolower): Small optimization.
	(#348011, Nicolai Weibull)
2006-07-20 19:17:50 +00:00
Behdad Esfahbod
b240744539 Update to final Unicode Character Database 5.0.0. (#336281)
2006-07-19  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gunibreak.h:
        * glib/gunichartables.h:
        * glib/gunicomp.h:
        * glib/gunidecomp.h:
        Update to final Unicode Character Database 5.0.0. (#336281)
2006-07-19 22:35:17 +00:00
Behdad Esfahbod
4e866367a7 When matching debug flag keys, ignore case and accept any of comma, colon,
2006-07-06  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gutils.c (g_parse_debug_string): When matching debug flag keys,
        ignore case and accept any of comma, colon, semicolon, space, and tab
        as separators.  Also, match dash with underscore.
2006-07-06 20:30:16 +00:00
Matthias Clasen
5f4e467f33 Fix typos in the docs. (#346660, Mark Drago)
2006-07-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/gbase64.c: Fix typos in the docs.  (#346660, Mark
	Drago)
2006-07-05 16:42:19 +00:00
Runa Bhattacharjee
ce1030e0d2 Added entry for Bengali India (bn_IN) addition to ALL_LINGUAS in configure.in 2006-07-03 08:27:27 +00:00
Matthias Clasen
283a7e6013 Bump version 2006-07-02 20:17:00 +00:00
Matthias Clasen
7f25ce8987 2.12.0 2006-07-02 19:52:14 +00:00
Matthias Clasen
e16d1b499b Updates 2006-07-02 18:44:18 +00:00
Matthias Clasen
900a819f45 Set version to 2.12 2006-07-02 18:35:53 +00:00
Matthias Clasen
1f536d2f12 Fix an off-by-2 error in the leap year calculation. (#344905, Dan Winship)
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/gtimer.c (mktime_utc): Fix an off-by-2 error
	in the leap year calculation.  (#344905, Dan Winship)

	* tests/testglib.c (main): Change the test data for
	the g_time_val_from_iso8601 tests to expose an off-by-2
	error in the leap year calculation.
2006-06-20 16:37:43 +00:00
Matthias Clasen
de6a4865a0 Bump version 2006-06-20 15:10:41 +00:00
Matthias Clasen
2107d8e3ed 2.11.4 2006-06-20 15:09:06 +00:00
Matthias Clasen
6cc8a27894 Add tests.
2006-06-16  Matthias Clasen  <mclasen@redhat.com>

	* tests/file-test.c (test_mkstemp): Add tests.

	* glib/gfileutils.c (g_mkstemp): Allow the XXXXXX to occur
	inside the template, not just at the end.
2006-06-16 15:12:32 +00:00
Matthias Clasen
99998793d5 Fix 344868 2006-06-14 13:48:27 +00:00
Tor Lillqvist
fdc1c28a5e Add Windows notes to doc comment.
2006-06-14  Tor Lillqvist  <tml@novell.com>

	* glib/gutils.c (g_listenv): Add Windows notes to doc comment.
2006-06-13 22:46:52 +00:00
Emmanuele Bassi
cc37f43d1d Return a boolean instead of void.
2006-06-12  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* glib/gbookmarkfile.h:
	* glib/gbookmarkfile.c (g_bookmark_file_remove_item): Return
	a boolean instead of void.

	* tests/bookmarkfile-test.c (test_modify): Add a test case
	for g_bookmark_file_remove_item().
2006-06-12 17:19:13 +00:00
Matthias Clasen
e39b793341 Bump version 2006-06-12 15:40:07 +00:00
Matthias Clasen
ec50b87916 2.11.3 2006-06-12 15:37:27 +00:00
Matthias Clasen
7d95251dbe Updates 2006-06-12 14:38:50 +00:00
Emmanuele Bassi
99e40c9bfa Use an empty string to pass the test in set_app_info.
2006-06-09  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* glib/gbookmarkfile.c (g_bookmark_file_remove_application): Use
	an empty string to pass the test in set_app_info.

	(g_bookmark_file_move_item): Remove the old item from the
	look up table; return success in case of empty target.
2006-06-09 18:09:22 +00:00
Tor Lillqvist
c795837524 Workaround for bug in strxfrm() in Microsoft's newer C runtimes. (#343919,
2006-06-08  Tor Lillqvist  <tml@novell.com>

	* glib/gunicollate.c (msc_strxfrm_wrapper): Workaround for bug in
	strxfrm() in Microsoft's newer C runtimes. (#343919, Kazuki
	Iwamoto)
2006-06-08 15:24:10 +00:00
Matthias Clasen
c514cf2135 Bump version 2006-06-05 17:35:54 +00:00
Matthias Clasen
0c26468057 2.11.2 2006-06-05 17:34:53 +00:00
Matthias Clasen
643906d485 Revert accidental commit 2006-06-05 15:38:04 +00:00
Matthias Clasen
03c90584b8 Don't leak the dispatch struct. (#321886)
2006-06-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmain.c (get_dispatch): Don't leak the
	dispatch struct.  (#321886)
2006-06-05 15:02:51 +00:00
Matthias Clasen
c3d19b850f Add some tests involving leading whitespace.
2006-06-05  Matthias Clasen  <mclasen@redhat.com>

	* tests/strtod-test.c: Add some tests involving
	leading whitespace.

	* glib/gstrfuncs.c (g_ascii_formatd): Skip leading
	whitespace.  (#343899, Øystein Johansen)
2006-06-05 14:16:47 +00:00
Behdad Esfahbod
ef3d67bbec Moving ChangeLog entry to gobject/. 2006-06-02 21:54:04 +00:00
Behdad Esfahbod
934bc42c94 Make value_name and value_nick const in structs _GEnumValue and
2006-06-02  Behdad Esfahbod  <behdad@gnome.org>

        * gobject/genum.h: Make value_name and value_nick const in structs
        _GEnumValue and _GFlagValue.  (#317793)
2006-06-02 21:42:48 +00:00
Matthias Clasen
89a803beb4 More additions 2006-06-02 02:50:38 +00:00
Matthias Clasen
bef319723b Add two new functions, g_source_set_funcs and g_source_is_destroyed, that
2006-06-01  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/gmain.h:
	* glib/gmain.c: Add two new functions,
	g_source_set_funcs and g_source_is_destroyed,
	that will be necessary to solve thread-safety
	issues with idles in GTK+.  (#321886, Chris Wilson)
2006-06-02 02:36:30 +00:00
Matthias Clasen
14538bb8d6 Avoid running in an assertion with small writes. (#343566, Chris Wilson)
2006-06-01  Matthias Clasen  <mclasen@redhat.com>

	* glib/giochannel.c (g_io_channel_write_chars): Avoid
	running in an assertion with small writes.  (#343566, Chris
	Wilson)

	* tests/iochannel-test.c: Add a testcase for small writes.
2006-06-01 15:57:38 +00:00
Matthias Clasen
a5b4b8bfb1 Add g_hash_table_{remove,steal}_all to remove all nodes from a hash table.
2006-06-01  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/ghash.h:
	* glib/ghash.c: Add g_hash_table_{remove,steal}_all to
	remove all nodes from a hash table.  (#168538, Matt Barnes)
2006-06-01 14:16:39 +00:00