Commit Graph

2421 Commits

Author SHA1 Message Date
Matthias Clasen
e9da546b81 Assume string.h is available 2006-09-10 05:50:50 +00:00
Matthias Clasen
47133ec63f Bump version 2006-09-10 05:45:45 +00:00
Matthias Clasen
f8c1c1f9e0 Add functions for approximate timeouts 2006-09-10 05:44:46 +00:00
Matthias Clasen
4a7aeef16f Initialize save_errno. (#355206, Mike Edenfield)
2006-09-10  Matthias Clasen  <mclasen@redhat.com>

	* glib/gstdio.c (g_rename): Initialize save_errno.
	(#355206, Mike Edenfield)
2006-09-10 05:13:52 +00:00
Matthias Clasen
80aa03f7a2 Allocate GErrors using the slice allocator. (#354054, Matt Barnes)
2006-09-03  Matthias Clasen  <mclasen@redhat.com>

	* glib/gerror.c: Allocate GErrors using the slice allocator.
	(#354054, Matt Barnes)
2006-09-03 06:03:39 +00:00
Matthias Clasen
51453eab5d Forgotten macros 2006-09-03 03:49:38 +00:00
Tor Lillqvist
f8f4e16eb9 Correct C99ism (mixed declarations and code) in Win32 ifdef branch.
2006-09-02  Tor Lillqvist  <tml@novell.com>

	* glib/gutils.c (g_get_any_init_do): Correct C99ism (mixed
	declarations and code) in Win32 ifdef branch. (#353903, Mike
	Edenfield)
2006-09-01 23:32:05 +00:00
Abel Cheung
d6a4b61c33 Added 'dz' 'hy' to ALL_LINGUAS.
2006-09-01  Abel Cheung  <abel@oaka.org>

	* configure.in: Added 'dz' 'hy' to ALL_LINGUAS.
2006-09-01 11:28:14 +00:00
Matthias Clasen
514351b127 Improve clock_gettime check 2006-09-01 06:08:23 +00:00
Matthias Clasen
5d42c18262 Add missing includes to a few test programs. (#353580, Chris Wilson)
2006-08-31  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Add missing includes to a few test
	programs.  (#353580, Chris Wilson)
2006-08-31 18:29:12 +00:00
Matthias Clasen
c699743eca Don't call va_end on caller-provided va_args. (#353584, Chris Wilson)
2006-08-30  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmarkup.c (g_markup_vprintf_escaped): Don't call
	va_end on caller-provided va_args.  (#353584, Chris Wilson)
2006-08-30 19:07:54 +00:00
Tor Lillqvist
da422c0060 Remove support for Windows 9x/ME, as will be done also in Pango and GTK+.
2006-08-29  Tor Lillqvist  <tml@novell.com>

	Remove support for Windows 9x/ME, as will be done also in Pango
	and GTK+. GTK+ hasn't worked on Win9x since 2.6 or 2.8 anyway, so
	it's pretty pointless to keep the Win9x code in here either. If
	somebody is interested, the code can always be found in older GLib
	versions, and in CVS.

	* glib/gdir.c
	* glib/gfileutils.c
	* glib/gspawn-win32-helper.c
	* glib/gspawn-win32.c
	* glib/gstdio.c
	* glib/gutils.c
	* glib/gwin32.c
	* glib/gwin32.h: Remove the G_WIN32_IS_NT_BASED() and
	G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
	branches, and any variables or static functions used only by the
	Win9x branches.

	* glib/gwin32.c (g_win32_windows_version_init): Call g_error() if
	run on Win9x.
2006-08-29 22:45:00 +00:00
Matthias Clasen
77332513b9 fix pthread compiler flag detection 2006-08-28 03:54:28 +00:00
Matthias Clasen
72520d46bc Use Posix monotonic clocks instead of gettimeofday when available.
2006-08-27  Matthias Clasen  <mclasen@redhat.com>

	* glib/gtimer.c: Use Posix monotonic clocks instead of
	gettimeofday when available.  (#336114, William Jon McCann)
2006-08-28 03:01:33 +00:00
Matthias Clasen
ed9c3c2696 Fix some typos. (#351741, Kjartan Maraas)
2006-08-26  Matthias Clasen  <mclasen@redhat.com>

	* glib/gutils.h:
	* glib/gscanner.c: Fix some typos.  (#351741, Kjartan Maraas)
2006-08-26 04:03:37 +00:00
Matthias Clasen
8f05c1da81 Fix the pthread compiler flag detection.
2006-08-25  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Fix the pthread compiler flag detection.

	* glib/gunicode.h:
	* glib/gutf8.c (_g_utf8_make_valid): Rename make_valid_utf8
	from gconvert.c, move it to gutf8.c, and export it privately.

	* glib/gconvert.c (g_filename_display_name): Adjust callers.

	* glib/gkeyfile.c: Use _g_utf8_make_valid() in a number of
	places to ensure error messages are valid UTF-8.  (#351853,
	Simon Budig)
2006-08-26 03:44:45 +00:00
Sven Neumann
89f9ebaef3 changed return value of g_value_dup_object(), fixes #343292.
Wed Aug 23 10:35:32 2006  Tim Janik  <timj@gtk.org>

        * gobject.[hc]: changed return value of g_value_dup_object(), fixes #343292.

2006-08-23  Sven Neumann  <sven@gimp.org>

        * gobject/glib-genmarshal.[c1]: added new command-line option
        "--internal" that can be used to let glib-genmarshal generate
        internal functions using the G_GNUC_INTERNAL attribute (bug #346647).
2006-08-23 08:46:21 +00:00
Sven Neumann
fa293c86c6 added new command-line option "--internal" that can be used to let
2006-08-23  Sven Neumann  <sven@gimp.org>

	* gobject/glib-genmarshal.[c1]: added new command-line option
	"--internal" that can be used to let glib-genmarshal generate
	internal functions using the G_GNUC_INTERNAL attribute (bug
#346647).
2006-08-23 06:45:55 +00:00
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