2654 Commits

Author SHA1 Message Date
Ray Strode
1c5a400097 strdup result so caller doesn't free internally managed memory.
Thu Aug 5 20:53:00 2004 Ray Strode <rstrode@redhat.com>

	* glib/gutils.h (g_get_codeset): strdup result so caller
	doesn't free internally managed memory.
2004-08-05 20:58:39 +00:00
Matthias Clasen
f038c1070a Include a test involving consecutive backslashes followed by a non-escaped
Sat Jul 31 20:33:07 2004  Matthias Clasen  <maclas@gmx.de>

	* tests/shell-test.c: Include a test involving consecutive
	backslashes followed by a non-escaped doublequote.

	* glib/gshell.c (tokenize_command_line): Count consecutive
	backslashes mod 2 to detect escaped doubleqotes.  (#127306)
2004-08-01 00:42:33 +00:00
Matthias Clasen
250a687740 Post-release version bump. 2004-07-30 19:51:55 +00:00
Matthias Clasen
30bca51387 Forgotten commit... GLIB_2_4_5 2004-07-30 19:47:58 +00:00
Matthias Clasen
bb955c809c Don't validate for UTF-8 here. (#148420, Robert Ögren)
2004-07-30  Matthias Clasen  <mclasen@redhat.com>

	* glib/gconvert.c (g_unescape_uri_string): Don't validate
	for UTF-8 here.  (#148420, Robert Ögren)

	* tests/uri-test.c (run_roundtrip_tests): Add tests for
	roundtrip compatibility. Going from filename to uri and
	back should always give you the same filename back.
2004-07-30 19:00:18 +00:00
Laurent Dhima
12b92ab58c Updated Albanian translation.
2004-07-28  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.
2004-07-28 17:03:04 +00:00
Matthias Clasen
e8622ec2ce Clarify docs for g_get_real_name(). (#143552, Danek Duvall)
2004-07-28  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/misc_utils.sgml: Clarify docs for
	g_get_real_name().  (#143552, Danek Duvall)
2004-07-28 15:39:23 +00:00
Matthias Clasen
62004950ad Catch cases of forgotten g_type_add_private(). (#148368, Tommi Komulainen)
2004-07-28  Matthias Clasen  <mclasen@redhat.com>

	* gtype.c (g_type_instance_get_private): Catch cases of
	forgotten g_type_add_private().  (#148368, Tommi Komulainen)
2004-07-28 15:33:05 +00:00
Matthias Clasen
c6383da427 Tests for handling of whitespace inside tags.
2004-07-28  Matthias Clasen  <mclasen@redhat.com>

	* tests/markups/valid-{9,10,11}.gmarkup:
	* tests/markups/fail-{37,38,39}.gmarkup: Tests for handling
	of whitespace inside tags.

	* glib/gmarkup.c (enum GMarkupParseState): Add
	STATE_AFTER_ATTRIBUTE_NAME and STATE_AFTER_CLOSE_TAG_NAME.
	(g_markup_parse_context_parse): Accept whitespace between
	attribute names, '=' and attribute values and between
	close tag name and '>'. (#148646, Hiroyuki Ikezoe)
2004-07-28 15:03:02 +00:00
Alexander Shopov
1f7503c1dd Updated Bulgarian translation by Rostislav "zbrox" Raykov
2004-07-27  Alexander Shopov  <ash@contact.bg>

	* bg.po: Updated Bulgarian translation by
	Rostislav "zbrox" Raykov <zbrox@i-space.org>
2004-07-27 19:11:53 +00:00
Soeren Sandmann
7026e27550 s/g_strtokenize/g_strsplit_set/ in docs.
Sat Jul 24 17:50:07 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* glib/gstrfuncs.c (g_strsplit_set):
	s/g_strtokenize/g_strsplit_set/ in docs.
2004-07-24 16:18:58 +00:00
Matthias Clasen
d90fa450dd Fix docs for G_MAXSIZE. (#148262, Christophe Fergeau)
Fri Jul 23 10:38:24 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/limits.sgml: Fix docs for G_MAXSIZE.  (#148262,
	Christophe Fergeau)
2004-07-23 14:41:46 +00:00
Matthias Clasen
723bc46642 Fix #132858, Sven Neumann, patch by James Henstridge:
2004-07-21  Matthias Clasen  <mclasen@redhat.com>

	Fix #132858, Sven Neumann, patch by James Henstridge:

	* glib-gettextize.in: modify so that mkinstalldirs will
	get installed into auxdir.

	* Makefile.am (gettext_SCRIPTS): install mkinstalldirs.
2004-07-21 18:15:01 +00:00
Matthias Clasen
a2468631c9 Use the correct fields for enums and flags. (#145015,Tommi Komulainen)
2004-07-21  Matthias Clasen  <mclasen@redhat.com>

	* glib-genmarshal.c (put_marshal_value_getters): Use the
	correct fields for enums and flags.  (#145015,Tommi Komulainen)
2004-07-21 18:00:31 +00:00
Matthias Clasen
dd61ca67b8 Fix #147651, reported by Oliver Guntermann:
2004-07-21  Matthias Clasen  <mclasen@redhat.com>

	Fix #147651, reported by Oliver Guntermann:

	* glib/gprintfint.h (_g_vasprintf): Don't wrap vasprintf(),
	_g_gnulib_vasprintf() in a macro, since they behave
	differently wrt. to memory allocation.

	* glib/gprintf.c (g_vasprintf): Instead, differentiate
	here between the three cases: system vasprintf(),
	_g_gnulib_vasprintf(), no vasprintf().
2004-07-21 17:54:15 +00:00
Guntupalli Karunakar
8a20b3487e updated hindi translation 2004-07-21 13:05:53 +00:00
Matthias Clasen
4b3b2b63d7 Don't choke on a zero handler_id.
2004-07-12  Matthias Clasen  <mclasen@redhat.com>

	* gsignal.c (g_signal_handler_is_connected): Don't
	choke on a zero handler_id.
2004-07-12 20:35:38 +00:00
Matthias Clasen
e5e42df830 Post-release version bump 2004-07-09 13:48:02 +00:00
Matthias Clasen
1e99fddcde 2.4.4 GLIB_2_4_4 2004-07-09 13:45:36 +00:00
Matthias Clasen
84593cfb4d Improve g_array_free() docs. (#146875, Ed Griffiths) 2004-07-09 13:10:34 +00:00
Matthias Clasen
769c61ca08 Convert filename to UTF-8 before using it in the error message. (#146054,
2004-07-09  Matthias Clasen  <mclasen@redhat.com>

	* glib/gdir.c (g_dir_open): Convert filename to UTF-8
	before using it in the error message.  (#146054, Federico
	Mena Quintero)
2004-07-09 13:06:53 +00:00
Matthias Clasen
409138ef0f Add top_srcdir to make srcdir != . work. (#145166, Kaz Sasayama)
Mon Jul  5 18:42:30 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gnulib/Makefile.am (INCLUDES): Add top_srcdir to
	make srcdir != . work.  (#145166, Kaz Sasayama)
2004-07-05 22:45:04 +00:00
Matthias Clasen
2ae6da1cdb Use a small test library instead of libpthread.so for testing RTLD_GLOBAL
Sun Jul  4 01:52:18 2004  Matthias Clasen  <maclas@gmx.de>

	* configure.in: Use a small test library instead of
	libpthread.so for testing RTLD_GLOBAL brokenness.  (#139567,
	Julio M. Merino Vidal)
2004-07-04 05:58:58 +00:00
John Ehresman
7d4b434e7e glib/giowin32.c (g_io_channel_win32_init, g_io_win32_free) Initialize
2004-07-01  John Ehresman  <jpe@wingide.com>

	* glib/giowin32.c (g_io_channel_win32_init, g_io_win32_free)
	Initialize reset_send & reset_recv fields and don't close
	sockets unless they were created.  (#145153)
2004-07-01 16:19:16 +00:00
Laurent Dhima
1af23090cb Translation updated.
2004-06-28  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Translation updated.
2004-06-28 15:07:39 +00:00
Nguyen Thai Ngoc Duy
5c9f1eea6b update vi.po 2004-06-24 22:39:24 +00:00
Matthias Clasen
a1dd44a996 Add an initializer for the g_define_type_info.value_table.
* gtype.h (G_DEFINE_TYPE_EXTENDED): Add an initializer for
	the g_define_type_info.value_table.  (#144678,Mariano
	Suárez-Alvarez)
2004-06-23 16:59:11 +00:00
Matthias Clasen
afd47a2f5a Actually define the guard after checking for it. (#108038, Morten
Fri Jun 18 22:55:36 2004  Matthias Clasen  <maclas@gmx.de>

	* gsourceclosure.h (__G_SOURCECLOSURE_H__): Actually
	define the guard after checking for it.  (#108038,
	Morten Welinder)
2004-06-19 02:56:56 +00:00
Federico Mena Quintero
ee36853a87 Merged from HEAD:
2004-06-15  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	* glib/tmpl/conversions.sgml: New section on file name encodings.

	* glib/file-name-encodings.sxd: New diagram of how file name
	encodings work.

	* glib/file-name-encodings.png: Same as above, for inclusion in
	the generated docs.

	* glib/Makefile.am (HTML_IMAGES): Add file-name-encodings.png.
	(EXTRA_DIST): Add the new images.

	* glib/running.sgml: Add ids to the corresponding paragraphs that
	describe G_FILENAME_ENCODING and G_BROKEN_FILENAMES, to be able to
	reference them from elsewhere.
2004-06-16 00:26:00 +00:00
Matthias Clasen
219c3c3fe0 Ignore a missing newline at EOF for single line comments. (#83674, Sven
Fri Jun 11 22:56:46 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gscanner.c (g_scanner_get_token_ll): Ignore a
	missing newline at EOF for single line comments.
	(#83674, Sven Neumann)
2004-06-12 03:00:57 +00:00
Matthias Clasen
f61fb554e3 Actually set any_failed on failure. (#143552, Philippe Blain)
Thu Jun 10 23:38:02 2004  Matthias Clasen  <maclas@gmx.de>

	* tests/printf-test.c (TEST): Actually set any_failed on
	failure.  (#143552, Philippe Blain)
2004-06-11 03:42:33 +00:00
Metin Amiroff
4ab8be3a4e Translation updated.
2004-06-10  Metin Amiroff  <metin@karegen.com>

	* az.po: Translation updated.
2004-06-10 17:43:07 +00:00
Federico Mena Quintero
e17755bac1 Merge from HEAD:
2004-06-09  Federico Mena Quintero  <federico@ximian.com>

	Merge from HEAD:

	* tests/uri-test.c (to_uri_tests): Fix expected results (ha ha)
	for URIs that *should* have been invalid, or viceversa.
	(from_uri_tests): Likewise.
2004-06-10 00:19:05 +00:00
Pawan Chitrakar
d686380d43 Updated translation
2004-06-09  Pawan Chitrakar  <pawan@nplinux.org>

	* ne.po: Updated translation
2004-06-09 09:07:32 +00:00
Pawan Chitrakar
2f1411c1ec Updated translation
2004-06-09   Pawan Chitrakar  <pawan@nplinux.org>

	* ne.po: Updated translation
2004-06-09 08:59:19 +00:00
Pawan Chitrakar
c5f415c4df Added ne.po Nepali Translation
2004-06-08  Pawan Chitrakar  <pawan@nplinux.org>

	* ne.po: Added ne.po Nepali Translation

	* configure.in: Added "ne" (Nepali) in ALL_LINGUAS
2004-06-08 06:55:31 +00:00
Federico Mena Quintero
06235517b0 Added a note about the changes below.
2004-06-07  Federico Mena Quintero  <federico@ximian.com>

	* README.in: Added a note about the changes below.

	Merge from HEAD:

	Fixes #140532.

	* glib/gconvert.c (is_asciialphanum): Renamed from
	is_escalphanum(); ensures that this is an ASCII character.
	(is_asciiescalpha): Renamed from is_escalpha().
	(hostname_validate): Use the two functions above.
	(g_filename_to_uri): Don't convert the filename to UTF-8.
	(g_filename_from_uri): Don't convert the filename from UTF-8.
2004-06-08 03:31:34 +00:00
Matthias Clasen
3f1e8d546d Make "make check" less noisy. 2004-06-08 02:27:26 +00:00
Matthias Clasen
0a69060630 Fix the docs for G_DEFINE_TYPE() and friends. (#143800, Crispin Flowerday)
Sun Jun  6 23:20:42 2004  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/gtype.sgml: Fix the docs for G_DEFINE_TYPE()
	and friends.  (#143800, Crispin Flowerday)
2004-06-07 03:25:44 +00:00
Tor Lillqvist
ca5f51ee33 Check home for being NULL. (#143812, Ivan Wong)
2004-06-06  Tor Lillqvist  <tml@iki.fi>

	* glib/gutils.c (g_get_any_init): Check home for being
	NULL. (#143812, Ivan Wong)
2004-06-06 17:18:28 +00:00
Manish Singh
66ca6e1ac7 cpp #directives should always have the "#" in the first column of the the
2004-06-04  Manish Singh  <yosh@gimp.org>

        * glib/galloca.h: cpp #directives should always have the "#" in the
        first column of the the line. Do that for "#pragma alloca". Fixes
        bug #143744.
2004-06-05 02:25:01 +00:00
Matthias Clasen
14bf57aabb Post-release version bump. 2004-06-04 14:46:18 +00:00
Matthias Clasen
22400b0094 2.4.2 GLIB_2_4_2 2004-06-04 13:58:58 +00:00
Matthias Clasen
d131dec3eb Fix an off-by-one error in g_markup_parse_context_parse(). (#142794,
Tue Jun  1 21:56:31 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gmarkup.c (advance_char): Fix an off-by-one error
	in g_markup_parse_context_parse().  (#142794, Morten Welinder)
2004-06-02 02:02:13 +00:00
Matthias Clasen
7d662e34e2 Add gmodule-ar.c. (#85930, Tomas Ögren)
Mon May 31 00:07:12 2004  Matthias Clasen  <maclas@gmx.de>

	* Makefile.am (EXTRA_DIST): Add gmodule-ar.c. (#85930, Tomas Ögren)
2004-05-31 04:08:52 +00:00
Alessio Frusciante
bc3b954f75 Updated Italian translation. 2004-05-25 20:17:22 +00:00
Matthias Clasen
a713b230d9 Remove unnecessary checks. (#142559, Morten Welinder)
Sun May 16 23:20:33 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gcompletion.c (g_completion_add_items):
	(g_completion_remove_items): Remove unnecessary
	checks.  (#142559, Morten Welinder)
2004-05-17 03:22:34 +00:00
Tor Lillqvist
da2a743f6f [Win32] Only believe HOME if it is an absolute path and exists. (#138618)
2004-05-15  Tor Lillqvist  <tml@iki.fi>

	* glib/gutils.c (g_get_any_init): [Win32] Only believe HOME if it
	is an absolute path and exists. (#138618)
2004-05-15 03:24:44 +00:00
Tor Lillqvist
95f40176af Handle empty digit string for precision correctly. (#142400)
2004-05-14  Tor Lillqvist  <tml@iki.fi>

	* glib/gnulib/vasnprintf.c (vasnprintf): Handle empty digit string
	for precision correctly. (#142400)

	For backward compatibility with the Trio implementation, make "ll"
	format modifer work on Win32, too. Change into "I64" before
	passing to the system printf. (#142433)

	* tests/printf-test.c (main): Add tests for the above.
2004-05-14 05:04:13 +00:00
Matthias Clasen
c5f8adf767 Make it compile on AIX. (#141159, Michael Wilson)
Tue May 11 23:23:21 2004  Matthias Clasen  <maclas@gmx.de>

	* gmodule-ar.c (_g_module_open): Make it compile on AIX.
	(#141159, Michael Wilson)
2004-05-12 03:27:08 +00:00