3158 Commits

Author SHA1 Message Date
Matthias Clasen
aa7e411e11 Fix usage of nanosleep(). (#163039, Bastien Nocera)
2005-02-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/gtimer.c (g_usleep): Fix usage of
	nanosleep().  (#163039, Bastien Nocera)
2005-02-21 03:56:02 +00:00
Christophe Merlet
43f5257353 Updated French translation. 2005-02-20 11:37:15 +00:00
Christophe Merlet
9600b942dd Updated French translation. 2005-02-20 11:03:48 +00:00
Adi Attar
da2a2e6c8b Added Xhosa translation Added "xh" to ALL_LINGUAS.
2005-02-16  Adi Attar  <aattar@cvs.gnome.org>

	* xh.po: Added Xhosa translation
	* configure.in: Added "xh" to ALL_LINGUAS.
2005-02-16 16:46:02 +00:00
Benoît Dejean
bfd8f4529c Updated French translation.
* fr.po: Updated French translation.
2005-02-14 10:28:59 +00:00
Priit Laes
195eb43404 Translation updated.
2005-02-14  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated.
2005-02-14 08:35:51 +00:00
Danilo Šegan
8e8db9e8c0 Updated Serbian translation. 2005-02-11 12:49:52 +00:00
Matthias Clasen
69f6c3a4a0 Take main group options into account when calculating column size.
2005-02-10  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.c (print_help): Take main group options into
	account when calculating column size.  (#166921)
	(g_option_context_parse): Accept -? as documented.  (#166977)
2005-02-11 04:14:18 +00:00
Kjartan Maraas
2fdf35f819 Update Update
2005-02-10  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Update
	* no.po: Update
2005-02-10 12:48:20 +00:00
Matthias Clasen
9d99261b99 Don't leak path here. (#166801, Kjartan Maraas)
2005-02-09  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c (find_file_in_data_dirs): Don't leak path
	here.  (#166801, Kjartan Maraas)
2005-02-09 15:41:25 +00:00
Maxim Dziumanenko
e293df15d0 Update Ukrainian translation.
2005-02-09  Maxim Dziumanenko <mvd@mylinux.com.ua>

	* Update Ukrainian translation.
2005-02-09 11:56:29 +00:00
Matthias Clasen
09a323fe17 Don't write out of bounds.
2005-02-08  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c (g_key_file_parse_value_as_string): Don't
	write out of bounds.

	* glib/goption.c (g_option_context_parse): Fix a
	one-too-short memory allocation.  (#166609, Nicolas Laurent)

	* tests/Makefile.am (TESTS_ENVIRONMENT): Add tests with
	MALLOC_CHECK_.

	* tests/option-test.c: Add a test for unkown short options.
2005-02-08 15:15:16 +00:00
Tor Lillqvist
13a1a39f77 Add gmodule-no-export-2.0.pc.
2005-02-07  Tor Lillqvist  <tml@novell.com>

	* glib-zip.in: Add gmodule-no-export-2.0.pc.
2005-02-07 16:33:19 +00:00
Kostas Papadimas
d5b60eedfa Updated Greek Translation. 2005-02-07 08:40:25 +00:00
Manish Singh
ccfa910206 feed the contents of config.h and glibconfig.h into the preprocessor,
Sun Feb  6 22:00:46 2005  Manish Singh  <yosh@gimp.org>

        * abicheck.sh: feed the contents of config.h and glibconfig.h
        into the preprocessor, since glib.symbols could need #defines
        from them.
2005-02-07 06:08:14 +00:00
Manish Singh
95119404a5 feed the contents of config.h and glibconfig.h into the preprocessor,
Sun Feb  6 21:59:09 2005  Manish Singh  <yosh@gimp.org>

        * glib/abicheck.sh: feed the contents of config.h and glibconfig.h
        into the preprocessor, since glib.symbols could need #defines
        from them.
2005-02-07 06:07:44 +00:00
Manish Singh
a6a6e933f5 Don't use matching constraints for asm mem parameters. This makes the code
Sun Feb  6 12:09:55 2005  Manish Singh  <yosh@gimp.org>

        * glib/gatomic.c: Don't use matching constraints for asm mem
        parameters. This makes the code match with current glibc, and
        quiets some warnings with gcc 3.4.
2005-02-06 20:30:15 +00:00
Pauli Virtanen
2cb0cb18f3 Updated Finnish translation.
2005-02-06  Pauli Virtanen <pauli.virtanen@hut.fi>

	 * fi.po: Updated Finnish translation.
2005-02-06 01:07:04 +00:00
Tor Lillqvist
e7a2901167 In the Win32 ABI stability version, call g_file_get_contents_utf8(), not
2005-02-05  Tor Lillqvist  <tml@novell.com>

	* glib/gfileutils.c (g_file_get_contents): In the Win32 ABI
	stability version, call g_file_get_contents_utf8(), not
	itself. (#166386)
2005-02-05 22:08:30 +00:00
Matthias Clasen
d988d0903e Define a HAVE_GNUC_VISIBILITY automake conditional.
2005-02-04  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Define a HAVE_GNUC_VISIBILITY automake
	conditional.

	* glib/Makefile.am (TESTS): Only check the abi if
	the compiler supports visibility, otherwise we
	know there will be (harmless) extra symbols.
	(#166181, Ed Avis)
2005-02-05 02:54:42 +00:00
Matthias Clasen
50426fbbd8 Bump version 2005-02-04 05:55:27 +00:00
Matthias Clasen
9c9f489183 2.6.2 GLIB_2_6_2 2005-02-04 05:16:12 +00:00
Matthias Clasen
367b691023 Add a warning against using g_quark_from_static_string() in dynamically
2005-02-03  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/quarks.sgml: Add a warning against
	using g_quark_from_static_string() in dynamically
	loaded modules.
2005-02-03 05:43:50 +00:00
Tor Lillqvist
098b0aa7a5 Remove unnecessary MSVC-only typedef for pid_t. (#165910) GLib does not
2005-02-02  Tor Lillqvist  <tml@novell.com>

	* glib/gwin32.h: Remove unnecessary MSVC-only typedef for
	pid_t. (#165910) GLib does not pretend to be a POSIX emulation
	library.
2005-02-02 23:55:31 +00:00
Tor Lillqvist
88c24ad385 Don't use potentially incorrect errno in several places. (#165951)
2005-02-02  Tor Lillqvist  <tml@novell.com>

	* glib/gfileutils.c: Don't use potentially incorrect errno in
	several places. (#165951)
	(g_mkstemp): Set errno appropriately.
2005-02-02 23:31:01 +00:00
Tor Lillqvist
93d0c9c19d In the Win32 part of all functions, handle invalid UTF-8 more robustly.
2005-02-02  Tor Lillqvist  <tml@novell.com>

	* glib/gstdio.c: In the Win32 part of all functions, handle
	invalid UTF-8 more robustly. Don't pass the resulting NULL
	wide-char or codepage strings on to C library functions, but bail
	out early. (#166084)
2005-02-02 23:15:14 +00:00
Matthias Clasen
d296fd7247 Updates 2005-02-02 06:36:04 +00:00
Matthias Clasen
463d50a17a Add test case for key removal.
2005-02-01  Matthias Clasen  <mclasen@redhat.com>

	* tests/keyfile-test.c (test_key_remove): Add test case for
	key removal.

	* glib/gkeyfile.c (g_key_file_remove_key): Actually remove
	the key from the list of pairs.  (#165980, David Hoover)
2005-02-02 03:23:10 +00:00
Raphael Higino
cef3255de4 Updated pt_BR translation 2005-02-01 23:42:42 +00:00
Matthias Clasen
f9d5d74e5b Doc clarifications. (#165907, Vincent Untz)
2005-02-01  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c: Doc clarifications.  (#165907, Vincent Untz)
2005-02-01 14:15:46 +00:00
Matthias Clasen
130b7c90be Add test case for group removal.
2005-02-01  Matthias Clasen  <mclasen@redhat.com>

	* tests/keyfile-test.c (test_group_remove): Add test case for
	group removal.

	* glib/gkeyfile.c (g_key_file_remove_group): Don't segfault
	if the group doesn't exist.  (#165887, Mathias Hasselmann)
2005-02-01 14:09:55 +00:00
Žygimantas Beručka
993cb4c754 Updated Lithuanian translation.
2005-01-31  Žygimantas Beručka  <uid0@akl.lt>

        * lt.po: Updated Lithuanian translation.
2005-01-31 09:35:27 +00:00
Matthias Clasen
e4f8b7b1ef Some more unit tests.
2005-01-30  Matthias Clasen  <mclasen@redhat.com>

	* tests/keyfile-test.c: Some more unit tests.
2005-01-30 06:35:26 +00:00
Priit Laes
646f7b5789 Translation updated.
2005-01-29  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated.
2005-01-29 18:57:44 +00:00
Christian Rose
6c9e491798 Added "tl" to ALL_LINGUAS. Added Tagalog translation by Eric Pareja
2005-01-28  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "tl" to ALL_LINGUAS.
	* po/tl.po: Added Tagalog translation by
	Eric Pareja <xenos@upm.edu.ph>.
2005-01-28 18:51:11 +00:00
Changwoo Ryu
a20146fd12 Updated Korean translation.
2005-01-26  Changwoo Ryu  <cwryu@debian.org>

	* ko.po: Updated Korean translation.
2005-01-26 04:35:10 +00:00
Matthias Clasen
e69ff6741d Add a test with a long entity name.
2005-01-24  Matthias Clasen  <mclasen@redhat.com>

	* tests/markups/fail-40.gmarkup: Add a test with a long entity
	name.

	* glib/gmarkup.c (unescape_text_state_inside_entity_name): Don't
	copy the entity name into a short buffer of fixed length. Instead,
	compare it in place with strncmp(), and do a full strdup() in the
	error path.  (#165100, Simon Budig)
2005-01-24 17:34:01 +00:00
Tor Lillqvist
43be4b1fa4 Don't g_assert that localtime() returns non-NULL. It does return NULL at
2005-01-22  Tor Lillqvist  <tml@novell.com>

	* glib/gdate.c (g_date_set_time): Don't g_assert that localtime()
	returns non-NULL. It does return NULL at least on Win32 if you
	pass it a negative time_t, which although wrong, shouldn't cause
	an application to abort. Instead return 2000-01-01 as a default
	date. Print a warning unless G_DISABLE_CHECKS. (#164622)
2005-01-22 22:16:11 +00:00
Priit Laes
71b729d6b7 Translation updated by Ivar Smolin.
2005-01-21  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-01-21 16:38:50 +00:00
Matthias Clasen
af5b0f8e5b Don't interpret leading zeros as octal. The specification requires %f
2005-01-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c (g_key_file_parse_value_as_integer): Don't
	interpret leading zeros as octal. The specification requires
	%f parsing, and %f doesn't allow octal.

	* tests/keyfile-test.c: Add some more tests.
2005-01-20 17:17:32 +00:00
Matthias Clasen
90b06662b6 Add some more tests.
2005-01-20  Matthias Clasen  <mclasen@redhat.com>

	* tests/keyfile-test.c: Add some more tests.

	* glib/gkeyfile.c (g_key_file_get_keys): Return keys in
	the order found in the file, rather than the opposite.
	(g_key_file_parse_value_as_string): Fix error reporting.
2005-01-20 15:32:56 +00:00
Matthias Clasen
7cb58a1f62 Accept \r\n as line end. (#163030, Bastian Nocera)
2005-01-19  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c (g_key_file_parse_data): Accept \r\n as
	line end.  (#163030, Bastian Nocera)
	(g_key_file_load_from_data): Make -1 work as a size.

	* tests/keyfile-test.c: Some unit tests for the keyfile
	parser.

	* tests/Makefile.am (test_programs): Add keyfile-test.
2005-01-19 14:16:58 +00:00
Tor Lillqvist
6b955c9725 Nah, don't use FatalAppExit(). abort() is better. 2005-01-19 02:28:11 +00:00
Tor Lillqvist
942dcc179e sh portability fix. Use "test" and not [. (#163144, Robert Ögren)
2005-01-19  Tor Lillqvist  <tml@novell.com>

	* configure.in: sh portability fix. Use "test" and not [.
	(#163144, Robert Ögren)

	* glib/gbacktrace.c (g_on_error_stack_trace): On Win32 call
	G_BREAKPOINT() if being debugged.

	* glib/gmessages.c (g_logv): For fatal messages on Win32, use
	G_BREAKPOINT() also without G_ENABLE_DEBUG, but only if being
	debugged. Suggestion by Ulf Lamping. Otherwise use FatalAppExit().
2005-01-19 02:04:32 +00:00
Matthias Clasen
d9d36b1bc8 Fix a sparse warning. (#164467, Kjartan Maraas)
2005-01-18  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c (g_key_file_get_boolean_list): Fix a
	sparse warning.  (#164467, Kjartan Maraas)
2005-01-18 13:20:08 +00:00
Matthias Clasen
1845226939 Don't crash if G_FILENAME_ENCODING is empty. (#164330, Pawel Sakowski)
2005-01-17  Matthias Clasen  <mclasen@redhat.com>

	* glib/gconvert.c (g_get_filename_charsets): Don't crash
	if G_FILENAME_ENCODING is empty.  (#164330, Pawel Sakowski)
2005-01-17 15:29:56 +00:00
Matthias Clasen
5afe7a55b3 Fix an example. (#164269, Sebastian Bacher)
2005-01-16  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/enumerations_flags.sgml: Fix an
	example.  (#164269, Sebastian Bacher)
2005-01-17 03:20:28 +00:00
Jordi Mallach
344d269f92 Updated Catalan translation. 2005-01-14 09:52:24 +00:00
Duarte Loreto
1b1f6638d3 Updated Portuguese translation.
2005-01-14  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2005-01-14 08:18:41 +00:00
Marcel Telka
61d3495761 Updated Slovak translation.
2005-01-14  Marcel Telka  <marcel@telka.sk>

	* sk.po: Updated Slovak translation.
2005-01-14 06:14:09 +00:00