Commit Graph

2151 Commits

Author SHA1 Message Date
Owen Taylor
4bfe2a42f5 Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
Mon Jun  2 14:18:21 2003  Owen Taylor  <otaylor@redhat.com>

        Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)

        * glib/gspawn.c (read_data): Don't read() into '&buf', while this
        is technically okay - it is clearer as just 'buf'.
        (write_all): New helper function that handles write() interrupts.
        (write_err_and_exit): Use write_all() instead of write().
        (fork_exec_with_pipes): Same here.
2003-06-02 18:20:38 +00:00
Owen Taylor
acc12ec518 Put the g_return_val_if_fail() in the right place.
Sun Jun  1 09:42:36 2003  Owen Taylor  <otaylor@redhat.com>

        * glib/giochannel.c (g_io_error_get_from_g_error): Put
        the g_return_val_if_fail() in the right place.
2003-06-01 13:44:35 +00:00
Ray Strode
a8af015958 Fix typo: should be G_IO_ERROR_UNKNOWN not G_ERROR_ERROR_UNKNOWN
Fri May 31 1:17:45 2003  Ray Strode  <halfline@hawaii.rr.com>

	* glib/giochannel.c (g_io_channel_error_from_errno):
	Fix typo: should be G_IO_ERROR_UNKNOWN not
	G_ERROR_ERROR_UNKNOWN
2003-05-31 01:18:15 +00:00
Owen Taylor
5d3b236047 glib/gstrfuncs.c (g_ascii_strncasecmp) Use TOLOWER() macro instead of
Fri May 30 19:23:47 2003  Owen Taylor  <otaylor@redhat.com>

        * glib/gstrfuncs.c (g_ascii_strncasecmp)
        * glib/gstrfuncs.c (g_ascii_strcasecmp): Use TOLOWER()
        macro instead of g_ascii_tolower() (#107138)
2003-05-30 23:30:00 +00:00
Owen Taylor
c49d866b1d Backport better handling of ALL_LINGUAS from gettext.m4. (#103808, Andras
Fri May 30 19:09:25 2003  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-gettext.m4: Backport better handling
        of ALL_LINGUAS from gettext.m4. (#103808, Andras Salamon)
2003-05-30 23:14:30 +00:00
Owen Taylor
a1f542cbc6 expand $exec_prefix as well as $prefix. (#107290, reported by Morten
Fri May 30 18:46:05 2003  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-gettext.m4: expand $exec_prefix as
        well as $prefix. (#107290, reported by Morten Welinder,
        patch from Raja Harinath)
2003-05-30 22:49:06 +00:00
Owen Taylor
128b2c8e59 Quote $srcdir to handle $srcdir with spaces (#107850, Evan Martin)
Fri May 30 17:24:23 2003  Owen Taylor  <otaylor@redhat.com>

        * glib-gettextize.in: Quote $srcdir to handle $srcdir
        with spaces (#107850, Evan Martin)
2003-05-30 21:25:32 +00:00
Owen Taylor
492bddd538 Silently return G_IO_CHANNEL_ERROR_FAILED for EINTR, since close() can
Fri May 30 16:48:26 2003  Owen Taylor  <otaylor@redhat.com>

        * glib/giochannel.c (g_io_channel_error_from_errno):
        Silently return G_IO_CHANNEL_ERROR_FAILED for EINTR,
        since close() can return EINTR. (#11842, Balazs Scheidler)
2003-05-30 21:11:19 +00:00
Owen Taylor
fb0a0dfea9 Rework debug_default handling to work with autoconf-2.5x. (#106348)
Fri May 30 15:58:33 2003  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Rework debug_default handling to work
        with autoconf-2.5x. (#106348)
2003-05-30 20:15:54 +00:00
Owen Taylor
b44a496841 Do a g_return_val_if_fail() on err == NULL to be a bit more robuts on
Fri May 30 15:51:43 2003  Owen Taylor  <otaylor@redhat.com>

        * glib/giochannel.c (g_io_error_get_from_g_error):
        Do a g_return_val_if_fail() on err == NULL to be a
        bit more robuts on buggy IO channel implementations.
        (#113396, Dan Winship)
2003-05-30 19:54:26 +00:00
Owen Taylor
a6c815ec8f Order refs/unrefs so setting the same object back is safe. (#112861,
Fri May 30 14:42:24 2003  Owen Taylor  <otaylor@redhat.com>

        * gobject.c (g_value_set_object): Order refs/unrefs
        so setting the same object back is safe. (#112861,
        Morten Welinder)
2003-05-30 18:44:54 +00:00
Telsa Gwynne
f74d348a4d Please let this be on the branch, so it shows up in the status table
this time...

(Adding Welsh translation)
2003-05-30 14:30:39 +00:00
Owen Taylor
21de12bb3c __PRETTY_FUNCTION__ was made a non-token before gcc-3.0.0 for C++. (Fix
Tue May 27 19:56:35 2003  Owen Taylor  <otaylor@redhat.com>

        * glib/gmacros.h: __PRETTY_FUNCTION__ was made a non-token
        before gcc-3.0.0 for C++. (Fix from Martin Kretzschmar,
        #113797)
2003-05-28 16:53:29 +00:00
Matthias Clasen
c8fd4c22c9 Document that g_strdup() and g_strndup() accept NULL. (#106987, Christian
2003-05-28  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/string_utils.sgml: Document that g_strdup() and
	g_strndup() accept NULL.  (#106987, Christian Biere)
2003-05-27 22:26:17 +00:00
Matthias Clasen
8367049586 Remain silent when sucessful.
2003-05-28  Matthias Clasen  <maclas@gmx.de>

	* tests/patterntest.c: Remain silent when sucessful.

	* tests/Makefile.am: Add patterntest to make check.  (#113143,
	Zach Frey)
2003-05-27 22:10:22 +00:00
Matthias Clasen
ad982cd573 Use memcpy instead of strcpy. (#106988, Christian Biere)
2003-05-27  Matthias Clasen  <maclas@gmx.de>

	* glib/gstrfuncs.c (g_strdup): Use memcpy instead of
	strcpy. (#106988, Christian Biere)
2003-05-27 21:26:14 +00:00
Kwok-Koon Cheung
f7e87117c5 Updated traditional Chinese translation.
* zh_TW.po: Updated traditional Chinese translation.
2003-05-27 13:32:18 +00:00
Noah Levitt
561a247982 Fix typo in UNICODE_VALID (related to #107427).
2003-05-23  Noah Levitt  <nlevitt@columbia.edu>

	* glib/gutf8.c: Fix typo in UNICODE_VALID (related to #107427).
2003-05-23 21:22:18 +00:00
Noah Levitt
ddfac0d868 Update g_unichar_iswide to Unicode 4.0 (#113404).
2003-05-22  Noah Levitt  <nlevitt@columbia.edu>

        * glib/guniprop.c: Update g_unichar_iswide to Unicode 4.0 (#113404).
2003-05-22 19:55:48 +00:00
Noah Levitt
b27a3e97cb Fix obscure typo in case conversion routine (#113469).
2003-05-21  Noah Levitt  <nlevitt@columbia.edu>

	* glib/guniprop.c: Fix obscure typo in case conversion routine
	(#113469).
2003-05-21 22:03:56 +00:00
Manish Singh
ff902140ac wrap 64-bit MIN/MAX limit constants in G_GINT64_CONSTANT. Fixes bug
Tue May 20 14:17:20 2003  Manish Singh  <yosh@gimp.org>

        * configure.in: wrap 64-bit MIN/MAX limit constants in
        G_GINT64_CONSTANT. Fixes bug #108699.
2003-05-20 21:18:38 +00:00
Noah Levitt
0ab753ab52 Fix cut-and-pasto: g_unichar_break_type should return
2003-05-19  Noah Levitt  <nlevitt@columbia.edu>

	* glib/gunibreak.c: Fix cut-and-pasto: g_unichar_break_type should
	return G_UNICODE_BREAK_UNKNOWN if the character is greater than
	G_UNICODE_LAST_CHAR.
2003-05-20 03:36:25 +00:00
Noah Levitt
61131532cc Remove unused function g_list_sort2 (bug #113203).
2003-05-19  Noah Levitt  <nlevitt@columbia.edu>

	* glib/glist.c: Remove unused function g_list_sort2 (bug #113203).
2003-05-19 17:00:45 +00:00
Noah Levitt
96944ea426 Fix off-by-one error in g_unicode_canonical_ordering (bug #113260).
2003-05-19  Noah Levitt  <nlevitt@columbia.edu>

	* glib/gunidecomp.c: Fix off-by-one error in
	g_unicode_canonical_ordering (bug #113260).
2003-05-19 16:01:20 +00:00
Christophe Merlet
4d09cc7188 Updated French translation. 2003-05-08 12:17:01 +00:00
Matthias Clasen
ee4d8a5b6a Some doc fixes. (#111805)
2003-05-05  Matthias Clasen  <maclas@gmx.de>

	* glib/gstrfuncs.c (g_ascii_dtostr):
	(g_ascii_formatd):
	(g_ascii_strtod): Some doc fixes.  (#111805)
2003-05-05 18:25:11 +00:00
Christian Rose
5153dd6624 Added sr and sr@Latn to ALL_LINGUAS. Added Serbian translation by Danilo
2003-05-05  Christian Rose  <menthos@menthos.com>

	* configure.in: Added sr and sr@Latn to ALL_LINGUAS.
	* po/sr.po, po/sr@Latn.po: Added Serbian translation by
	Danilo Šegan <dsegan@gmx.net>.
2003-05-05 13:48:25 +00:00
Havoc Pennington
c34961c36d for non-nul-terminated strings, this would read one past the end of the
2003-05-01  Havoc Pennington  <hp@pobox.com>

	* glib/gmarkup.c (advance_char): for non-nul-terminated strings,
	this would read one past the end of the string. valgrind never
	showed this up because most people use g_file_get_contents()
	which leaves a nul termination which is initialized.
2003-05-02 02:45:06 +00:00
Owen Taylor
f322e6413e Accept libtool-1.5. (#111483)
Thu Apr 24 19:12:05 2003  Owen Taylor  <otaylor@redhat.com>

        * autogen.sh (have_libtool): Accept libtool-1.5. (#111483)
2003-04-24 23:51:37 +00:00
Matthias Clasen
aeca77805b Forgotten fix. 2003-04-18 00:19:16 +00:00
Matthias Clasen
f2aea5d811 Correct the documentation GSignalEmissionHook (#110906) and some cleanups.
2003-04-18  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/signals.sgml: Correct the documentation
	GSignalEmissionHook (#110906) and some cleanups.
2003-04-18 00:16:45 +00:00
Fatih Demir
24420d2a8e Updated ta.po 2003-04-12 21:13:31 +00:00
Raphael Finkel
fde4730d99 Updated Yiddish translation
2003-04-11  Raphael Finkel <raphael@cs.uky.edu>

	* yi.po: Updated Yiddish translation
2003-04-11 16:44:26 +00:00
Owen Taylor
80bbe3240b When waiting for the main loop to be freed up, wait on either
Mon Apr  7 13:40:28 2003  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c (g_main_loop_run): When waiting for
        the main loop to be freed up, wait on either
        !loop->is_running or got_ownership, not both.
        (Caused gtk_dialog_run() not to work in other
        threads, reported by Jean-Yves Lefort)
2003-04-07 17:51:31 +00:00
Matthias Clasen
87ede42b48 Warn if p == NULL && max != 0. (#110087)
2003-04-07  Matthias Clasen  <maclas@gmx.de>

	* glib/gutf8.c (g_utf8_strlen): Warn if p == NULL && max != 0.
	(#110087)
2003-04-06 22:17:18 +00:00
Raphael Finkel
ca35a3e5f3 Updated Yiddish translation by Raphael Finkel <raphael@cs.uky.edu>.
2003-04-04  Raphael Finkel <raphael@cs.uky.edu>

	* yi.po: Updated Yiddish translation by
	Raphael Finkel <raphael@cs.uky.edu>.
2003-04-04 20:44:56 +00:00
Matthias Clasen
fb0d5025eb Fix formatting of examples.
* glib/tmpl/error_reporting.sgml:
	* glib/tmpl/random_numbers.sgml:
	* glib/tmpl/arrays_pointer.sgml:
	* glib/tmpl/arrays.sgml: Fix formatting of examples.
2003-03-31 22:49:17 +00:00
Sven Neumann
e466d7203f for inline docs, use the parameter name as spelled in the header file.
2003-03-31  Sven Neumann  <sven@gimp.org>

	* gobject.c (g_object_class_install_property): for inline docs,
	use the parameter name as spelled in the header file.

2003-03-31  Sven Neumann  <sven@gimp.org>

	* gobject/tmpl/param_value_types.sgml: removed docs for
	g_param_spec_ulong() since this function is documented inline.
2003-03-31 10:54:26 +00:00
Matthias Clasen
f526e82a0c Optimize the common cases (init == NULL or init == "") a bit. replace uses
2003-03-30  Matthias Clasen  <maclas@gmx.de>

	* glib/gstring.c (g_string_new): Optimize the common cases
	(init == NULL or init == "") a bit.
	* glib/gmarkup.c, glib/gmessages.c, glib/gscanner.c,
	glib/gshell.c, glib/gspawn-win32-helper.c, glib/gspawn-win32.c,
	glib/gspawn.c, gobject/gvaluetransform.c: replace uses of
	g_string_new ("") by g_string_new (NULL).  (#106973, Morten Welinder)
2003-03-30 22:01:50 +00:00
Matthias Clasen
44605616f0 2003-03-a30 Matthias Clasen <maclas@gmx.de>
* glib/gutf8.c (UNICODE_VALID): Update to Unicode 3.1 and optimize
	a bit.  (#107427, Noah Lewitt)
2003-03-30 21:51:49 +00:00
Matthias Clasen
18a78cef56 Add cp1251 support for Solaris. (#104738, Hidetoshi Tajima)
2003-03-30  Matthias Clasen  <maclas@gmx.de>

	* glib/libcharset/config.charset: Add cp1251 support for Solaris.
	(#104738, Hidetoshi Tajima)
2003-03-30 21:30:16 +00:00
Matthias Clasen
503ee78d32 Get rid of UNSAFE_DOS_PATH. (acceptable): Align with RFC2396. (#59653)
2003-03-30  Matthias Clasen  <maclas@gmx.de>

	* glib/gconvert.c (UnsafeCharacterSet): Get rid of
	UNSAFE_DOS_PATH.
	(acceptable): Align with RFC2396.  (#59653)

	* tests/uri-test.c: Adjust to the changes above.
2003-03-30 21:23:34 +00:00
Christian Rose
102d548ce5 Added "yi" to ALL_LINGUAS. Added Yiddish translation by Raphael Finkel
2003-03-26  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "yi" to ALL_LINGUAS.
	* po/yi.po: Added Yiddish translation by
	Raphael Finkel <raphael@cs.uky.edu>.
2003-03-26 21:52:37 +00:00
Sven Neumann
06fe974cbd removed leftover debugging message (bug #109093).
2003-03-24  Sven Neumann  <sven@gimp.org>

	* gtype.c (type_data_finalize_class_ifaces_Wm): removed leftover
	debugging message (bug #109093).
2003-03-24 16:59:33 +00:00
Guntupalli Karunakar
2a022bb984 Added Malayalam translation 2003-03-20 14:20:42 +00:00
Matthias Clasen
7f99de2b1d Fix docs.
2003-03-19  Matthias Clasen  <maclas@gmx.de>

	* glib/giochannel.c (g_io_channel_read_to_end): Fix docs.
2003-03-19 21:41:01 +00:00
Matthias Clasen
744b4d1d71 Fix 0/FALSE confusion. (#107662, Morten Welinder)
2003-03-06  Matthias Clasen  <maclas@gmx.de>

	* gsignal.c (g_signal_handlers_block_matched):
	(g_signal_handlers_unblock_matched):
	(g_signal_handlers_disconnect_matched): Fix 0/FALSE confusion.
	(#107662, Morten Welinder)
2003-03-06 22:49:48 +00:00
Matthias Clasen
a5755f1dc3 Fix FALSE/NULL confusion. (#107646, Morten Welinder)
2003-03-06  Matthias Clasen  <maclas@gmx.de>

	* glib/gmain.c (g_main_context_find_source_by_id):
	(g_main_context_find_source_by_funcs_user_data): Fix FALSE/NULL
	confusion.  (#107646, Morten Welinder)
2003-03-06 22:44:18 +00:00
James Henstridge
15413fffa4 merge changes from trunk, to allow "make distcheck" to pass with newer
2003-03-05  James Henstridge  <james@daa.com.au>

        * po/Makefile.in.in: merge changes from trunk, to allow "make
        distcheck" to pass with newer automakes.  This helps packages
        using glib-gettextize that want to upgrade to automake > 1.4.
2003-03-06 00:26:35 +00:00
Tor Lillqvist
3ca1c975cf Add a couple of missing entries, thanks to Cedric Gustin.
2003-02-25  Tor Lillqvist  <tml@iki.fi>

	* glib/glib.def: Add a couple of missing entries, thanks to Cedric
	Gustin.
2003-02-25 21:26:02 +00:00