Commit Graph

2133 Commits

Author SHA1 Message Date
Matthias Clasen
80eca10e6f Work around gtk-doc stupidity.
2003-07-25  Matthias Clasen  <maclas@gmx.de>

	* glib/gutf8.c (g_utf8_get_char_validated): Work around gtk-doc stupidity.
2003-07-24 23:09:51 +00:00
Matthias Clasen
cf4f6e3c18 Mention the restriction on message length. (#118043, Martyn Russell)
* glib/tmpl/messages.sgml: Mention the restriction on message length.  (#118043, Martyn Russell)
2003-07-23 22:42:26 +00:00
Danilo Šegan
d2164029ad Updated Serbian translation by Serbian team (Prevod.org).
2003-07-14  Danilo Šegan  <dsegan@gmx.net>

	* sr.po, sr@Latn.po: Updated Serbian translation by Serbian team
	(Prevod.org).
2003-07-14 05:16:32 +00:00
Joel Brich
75031bc8d8 Added "eo" to ALL_LINGUAS. Added Esperanto translation from Charles
2003-07-12  Joel Brich  <joel.brich@laposte.net>

	* configure.in: Added "eo" to ALL_LINGUAS.
	* po/eo.po: Added Esperanto translation
	from Charles Voegler <cvoegler@dweasel.com>
2003-07-12 16:18:54 +00:00
Manish Singh
949f8eda9f check if context->poll_chunk is set before trying to destroy it. For
Wed Jul  9 16:27:26 2003  Manish Singh  <yosh@gimp.org>

        * glib/gmain.c (g_main_context_unref_and_unlock): check if
        context->poll_chunk is set before trying to destroy it. For example,
        this can happen if no sources are added to a context before it is
        freed.
2003-07-10 00:17:44 +00:00
Matthias Clasen
25f3d9ddde *2003-07-02 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/string_utils.sgml: Document g_strfreev(NULL).
2003-07-01 22:17:07 +00:00
Andy Lanoix
d60c75f1fb Copy glib/giowin32.c MAIN to glib-2-2 branch for:
* glib/giowin32.c: Resolved thread deadlocks in socket
	ichannel code to support Add-Cancel-Add watch functionality
	on windows. Also cleaned up socket error handling to not
	segfault and do the right thing. <alanoix@umich.edu>

	* glib/giowin32.c: Fix indentation and spacing. Use
	INADDR_LOOPBACK instead of inet_addr("127.0.0.1") and
	gethostbyaddr(). <tml@iki.fi>
2003-06-28 20:33:01 +00:00
Tor Lillqvist
5de9232f2a Pass real &optval and &optlen to getsockopt() instead of NULL. Don't
2003-06-25  Tor Lillqvist  <tml@iki.fi>

	* glib/giowin32.c (g_io_channel_unix_new): Pass real &optval and
	&optlen to getsockopt() instead of NULL. Don't remember why I
	thought that NULL could be used (as we don't actually use the
	returned value for anything), the Platform SDK documentation
	doesn't imply so.
2003-06-25 03:02:57 +00:00
Ivan Stojmirov
8b354a16ef Updated Macedonian translation 2003-06-23 10:28:54 +00:00
Metin Amiroff
ab60b0207f Updated Azerbaijani translation.
2003-06-22  Metin Amiroff <metin@karegen.com>

	* az.po: Updated Azerbaijani translation.
2003-06-22 16:20:04 +00:00
Ivan Stojmirov
9b05df0ca7 updated Macedonian translation 2003-06-19 11:09:28 +00:00
Matthias Clasen
8a249d2053 Move the documentation inline and add details. (#108505)
* glib/gutils.c (g_path_get_basename): Move the documentation
	inline and add details.  (#108505)
2003-06-18 23:13:53 +00:00
Matthias Clasen
a15bc43580 Move the documentation inline and add details. (#108505)
2003-06-19  Matthias Clasen  <maclas@gmx.de>

	* glib/gutils.c (g_path_get_basename): Move the documentation
	inline and add details.  (#108505)

	* glib/tmpl/misc_utils.sgml: Move g_path_get_basename() docs inline.
2003-06-18 23:13:45 +00:00
Tor Lillqvist
d99d5eba8b Test where the DLLs actually are.
2003-06-15  Tor Lillqvist  <tml@iki.fi>

	* glib-zip.in (DLLDIR): Test where the DLLs actually are.

	* README.win32: Point to FSF's binary Win32 distributions of
	libiconv and gettext-runtime.
2003-06-15 23:22:20 +00:00
Arafat Medini
9a1d86156d Added Arabic translation.
2003-06-14  Arafat Medini  <lumina@silverpen.de>

	* ar.po: Added Arabic translation.
2003-06-15 10:10:36 +00:00
Andraz Tori
b1a5ba7022 Updated Slovenian translation 2003-06-15 09:06:28 +00:00
Guntupalli Karunakar
491771cc56 Updated Malayalam translations 2003-06-12 15:21:59 +00:00
Tor Lillqvist
e46cd33c75 libtool 1.5 installs DLLs in the bin subdirectory, so get them from there.
2003-06-11  Tor Lillqvist  <tml@iki.fi>

	* glib-zip.in (DEVZIP): libtool 1.5 installs DLLs in the bin
	subdirectory, so get them from there.

	* glib/gwin32.c (g_win32_getlocale): Use "sr@Latn" and "sr" in the
	same way as the po files for Serbian in Latin and Cyrillic script.
2003-06-11 22:00:19 +00:00
Sebastian Wilhelmi
c927995164 Remove false &. Spotted by Albert Chin
2003-06-11  Sebastian Wilhelmi  <seppi@seppi.de>

        * configure.in: Remove false &. Spotted by Albert Chin
        <gtk-devel-list@thewrittenword.com>.
2003-06-11 13:34:41 +00:00
Owen Taylor
4a13070696 === Released 2.2.2 ===
Sun Jun  8 12:42:39 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.2.2 ===
GLIB_2_2_2
2003-06-08 16:46:25 +00:00
Owen Taylor
f0e2b2f4d9 XML fix.
Sun Jun  8 12:28:39 2003  Owen Taylor  <otaylor@redhat.com>

        * glib/tmpl/error_reporting.sgml: XML fix.

        * glib/glib-sections.txt: Updated.
2003-06-08 16:34:06 +00:00
Owen Taylor
7026ad3c21 Updated.
Sun Jun  8 11:57:16 2003  Owen Taylor  <otaylor@redhat.com>

        * NEWS: Updated.

        * configure.in: Update version to 2.2.2, interface age 2.
2003-06-08 16:03:44 +00:00
Matthias Clasen
b585a90e04 Correct the documentation for G_MINFLOAT and G_MINDOUBLE. (#114513,
* glib/tmpl/limits.sgml: Correct the documentation for
	G_MINFLOAT and G_MINDOUBLE.  (#114513, Christophe Fergeau)
2003-06-06 21:20:48 +00:00
Hidetoshi Tajima
fc43da3b8b Test for Solaris native gettext in libc, seeing if it supports GNU catalog
Fri Jun  6 10:24:23 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>

	* m4macros/glib-gettext.m4: Test for Solaris native gettext
	in libc, seeing if it supports GNU catalog format (#85217).
2003-06-06 17:32:56 +00:00
Owen Taylor
4b6b7e9c9f When dispatching a source that is !CAN_RECURSE, temporarily remove any
Thu Jun  5 23:40:31 2003  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c: When dispatching a source that is
        !CAN_RECURSE, temporarily remove any file descriptors
        that that source has registered from the main loop, to keep
        recursive main loops from busy-waiting if input
        becomes available on one of those file descriptors.
        (#112222, Christian Krause)

        * glib/gmain.c (g_source_set_priority): Properly
        remove the source from the context's source list
        and reinsert it sorted, rather than simply setting
        source->next/prev to NULL! (#114274)
2003-06-06 03:54:27 +00:00
Tor Lillqvist
764eebc178 glib/giochannel.h Remove bogus (Win32-only) declaration of
2003-06-05  Tor Lillqvist  <tml@iki.fi>

	* glib/giochannel.h
	* glib/gmain.h: Remove bogus (Win32-only) declaration of
	g_main_poll_win32_msg_add(). No such function exists.

	* glib/gmain.c (g_poll) [Win32]: Use g_win32_error_message() for
	better warning messages.
2003-06-05 22:14:25 +00:00
Matthias Clasen
a3720c8753 Use the current g_file_get_contents() as example. 2003-06-04 22:47:54 +00:00
Matthias Clasen
284be13ec0 Fix an example. 2003-06-04 22:35:36 +00:00
Noah Levitt
9c25c2f108 Fix typo (#114375). Also, make the function static.
2003-06-04  Noah Levitt  <nlevitt@columbia.edu>

	* glib/gunidecomp.c (combine): Fix typo (#114375). Also, make the
	function static.
2003-06-04 21:01:01 +00:00
Kwok-Koon Cheung
563280e8b5 Global fix of broken tamil translation 2003-06-04 19:19:32 +00:00
Mathieu van Woerkom
e067eb521b Added Limburgish translation.
2003-06-04  Mathieu van Woerkom  <mathieu@brabants.org>

	* li.po: Added Limburgish translation.

2003-06-04  Kenneth Rohde Christiansen  <kenneth@gnu.org>

	* configure.in: Added "li" (Limburgish) to ALL_LINGUAS.
2003-06-04 11:32:58 +00:00
Sebastian Wilhelmi
7fe4bdadc9 Test for pthread_setschedparam. If not existant, disable priorities.
2003-06-03  Sebastian Wilhelmi  <seppi@seppi.de>

	* configure.in: Test for pthread_setschedparam. If not existant,
	disable priorities. (#104718)
2003-06-03 14:09:41 +00:00
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