platform/upstream/glib.git
20 years agoUpdated Serbian translation (and fixed ChangeLog encoding, argh).
Danilo Šegan [Wed, 28 Apr 2004 23:12:56 +0000 (23:12 +0000)]
Updated Serbian translation (and fixed ChangeLog encoding, argh).

20 years agoUpdated Catalan translation.
Jordi Mallach [Tue, 27 Apr 2004 11:50:36 +0000 (11:50 +0000)]
Updated Catalan translation.

20 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Tue, 27 Apr 2004 01:18:11 +0000 (01:18 +0000)]
Translation updated by Tino Meinen.

2004-04-27  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

20 years agoUpdated Czech translation.
Miloslav Trmac [Mon, 26 Apr 2004 13:18:23 +0000 (13:18 +0000)]
Updated Czech translation.

2004-04-26  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

20 years agoUpdated British English translation
Gareth Owen [Mon, 26 Apr 2004 03:26:11 +0000 (03:26 +0000)]
Updated British English translation

20 years agoPlug memory leak. (#140770, John Ehresman)
Tor Lillqvist [Sun, 25 Apr 2004 22:51:46 +0000 (22:51 +0000)]
Plug memory leak. (#140770, John Ehresman)

2004-04-25  Tor Lillqvist  <tml@iki.fi>

* glib/gwin32.c (g_win32_get_package_installation_subdirectory):
Plug memory leak. (#140770, John Ehresman)

20 years agoUpdated the Greek translation
Kostas Papadimas [Sun, 25 Apr 2004 09:02:31 +0000 (09:02 +0000)]
Updated the Greek translation

20 years agoFinnish translation updated by Sami Pesonen <sampeson@iki.fi>
Sami Pesonen [Sat, 24 Apr 2004 22:43:02 +0000 (22:43 +0000)]
Finnish translation updated by Sami Pesonen <sampeson@iki.fi>

20 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Sat, 24 Apr 2004 20:13:03 +0000 (20:13 +0000)]
Updated Polish translation by GNOME PL Team.

2004-04-24  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation by GNOME PL Team.

20 years agoUpdated French translation.
Christophe Merlet [Sat, 24 Apr 2004 18:30:37 +0000 (18:30 +0000)]
Updated French translation.

20 years agoUpdated Portuguese translation.
Duarte Loreto [Sat, 24 Apr 2004 15:44:48 +0000 (15:44 +0000)]
Updated Portuguese translation.

2004-04-24  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

20 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sat, 24 Apr 2004 12:04:13 +0000 (12:04 +0000)]
Updated Spanish translation.

2004-04-24  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

20 years agoUpdated Canadian English translation.
Adam Weinberger [Sat, 24 Apr 2004 05:02:47 +0000 (05:02 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

20 years agoUpdated Swedish translation.
Christian Rose [Fri, 23 Apr 2004 20:33:32 +0000 (20:33 +0000)]
Updated Swedish translation.

2004-04-23  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

20 years agoReinstate LIBCHARSET_ALIAS_DIR support which got lost at some point.
Matthias Clasen [Fri, 23 Apr 2004 14:47:44 +0000 (14:47 +0000)]
Reinstate LIBCHARSET_ALIAS_DIR support which got lost at some point.

2004-04-23  Matthias Clasen  <mclasen@redhat.com>

* glib/libcharset/localcharset.c (_g_locale_get_charset_aliases):
Reinstate LIBCHARSET_ALIAS_DIR support which got lost at some
point.  (#139134, Piotr Klaban)

20 years agoDon't call g_strerror() here, since it can lead to infinite recursion.
Matthias Clasen [Fri, 23 Apr 2004 14:12:54 +0000 (14:12 +0000)]
Don't call g_strerror() here, since it can lead to infinite recursion.

2004-04-23  Matthias Clasen  <mclasen@redhat.com>

* glib/gconvert.c (open_converter): Don't call g_strerror() here,
since it can lead to infinite recursion.  (#139133, Piotr Klaban)

20 years agoActually convert escape chars in --vprod. (#139058, Christophe Saout)
Matthias Clasen [Thu, 22 Apr 2004 21:02:34 +0000 (21:02 +0000)]
Actually convert escape chars in --vprod. (#139058, Christophe Saout)

2004-04-22  Matthias Clasen  <mclasen@redhat.com>

* glib-mkenums.in: Actually convert escape chars in
--vprod.   (#139058, Christophe Saout)

20 years agoTrivial warning fix.
Matthias Clasen [Thu, 22 Apr 2004 20:58:37 +0000 (20:58 +0000)]
Trivial warning fix.

2004-04-22  Matthias Clasen  <mclasen@redhat.com>

* tests/testglib.c (main): Trivial warning fix.

20 years agoAdd some tests for off-by-one errors.
Matthias Clasen [Thu, 22 Apr 2004 20:51:07 +0000 (20:51 +0000)]
Add some tests for off-by-one errors.

2004-04-22  Matthias Clasen  <mclasen@redhat.com>

* tests/queue-test.c (main): Add some tests for off-by-one errors.

* glib/gqueue.c (g_queue_pop_nth_link): Fix an off-by-one
error.  (#139703, Philippe Blain)

20 years agoAdd testcases for g_message() involving non-printable and unsafe
Matthias Clasen [Thu, 22 Apr 2004 20:17:54 +0000 (20:17 +0000)]
Add testcases for g_message() involving non-printable and unsafe

2004-04-22  Matthias Clasen  <mclasen@redhat.com>

* tests/testglib.c (main): Add testcases for g_message() involving
non-printable and unsafe characters.

* glib/gmessages.c (escape_string): Don't assume that
string->str remains unchanged over g_string_insert()
calls.  (#139030, Christophe Saout)

20 years agoFix problems when a locale-specific decimal separator directly follows a
Matthias Clasen [Thu, 22 Apr 2004 15:51:16 +0000 (15:51 +0000)]
Fix problems when a locale-specific decimal separator directly follows a

2004-04-22  Matthias Clasen  <mclasen@redhat.com>

* glib/gstrfuncs.c (g_ascii_strtod): Fix problems when a
locale-specific decimal separator directly follows a
number.  (#138424, Nickolay V. Shmyrev)

* tests/strtod-test.c (main): Add some more testcases.

20 years agoOnly set time_is_current to FALSE if context->timeout is not zero.
Matthias Clasen [Thu, 22 Apr 2004 14:32:58 +0000 (14:32 +0000)]
Only set time_is_current to FALSE if context->timeout is not zero.

2004-04-22  Matthias Clasen  <mclasen@redhat.com>

* glib/gmain.c (g_main_context_query): Only set time_is_current to
FALSE if context->timeout is not zero.  (#137795, Christian Krause)

20 years agoComment out a nonessential testcase which fails on HP-UX. (#136283, Jonas
Matthias Clasen [Wed, 21 Apr 2004 18:56:48 +0000 (18:56 +0000)]
Comment out a nonessential testcase which fails on HP-UX. (#136283, Jonas

2004-04-21  Matthias Clasen  <mclasen@redhat.com>

* tests/printf-test.c (main): Comment out a nonessential testcase
which fails on HP-UX.  (#136283, Jonas Jonsson)

20 years agoCorrect the initial minimal value to be -G_MAXFLOAT. The initial values
Matthias Clasen [Thu, 15 Apr 2004 16:45:31 +0000 (16:45 +0000)]
Correct the initial minimal value to be -G_MAXFLOAT. The initial values

2004-04-15  Matthias Clasen  <mclasen@redhat.com>

* gparamspecs.c (param_float_init): Correct the initial
minimal value to be -G_MAXFLOAT. The initial values were
inconsistant before, with the initial default being smaller
than the inital minimum.
(param_double_init): Correct the initial minimal value
to be -G_MAXDOUBLE.

* glib/tmpl/types.sgml: Correct the description of the
gfloat and gdouble ranges.

20 years agoAdd tests for the empty pattern.
Matthias Clasen [Thu, 15 Apr 2004 13:58:29 +0000 (13:58 +0000)]
Add tests for the empty pattern.

2004-04-15  Matthias Clasen  <mclasen@redhat.com>

* tests/patterntest.c (main): Add tests for the empty pattern.

* glib/gpattern.c (g_pattern_spec_new): Don't read and write out
of bounds when the pattern is empty.  (#140032, Stanislav Brabec,
Stefan Fent)

20 years agoAdd new language and sublanguage codes, from GNU gettext. (#137958)
Tor Lillqvist [Sat, 10 Apr 2004 03:43:39 +0000 (03:43 +0000)]
Add new language and sublanguage codes, from GNU gettext. (#137958)

2004-04-10  Tor Lillqvist  <tml@iki.fi>

* glib/gwin32.c (g_win32_getlocale): Add new language and
sublanguage codes, from GNU gettext. (#137958)

20 years agoglib/giowin32.c glib/gmain.c glib/gstrfuncs.c Decorating variable
Tor Lillqvist [Sat, 10 Apr 2004 01:55:57 +0000 (01:55 +0000)]
glib/giowin32.c glib/gmain.c glib/gstrfuncs.c Decorating variable

2004-04-10  Tor Lillqvist  <tml@iki.fi>

* glib/giowin32.c
* glib/gmain.c
* glib/gstrfuncs.c
* glib/gthread.c: Decorating variable definitions with
__declspec(dllexport) causes problems on Cygwin build, and isn't
really needed for a native Win32 build with mingw or MSVC, so
remove. (#138402, Roger Leigh)

* glib/libcharset/localcharset.c: Use Win32-specific code also on
Cygwin.
* tests/uri-test.c: Don't assume that local filenames are in UTF-8
on Cygwin, either. (#138412, Roger Leigh)

20 years agoadded gujarati translations
Guntupalli Karunakar [Thu, 8 Apr 2004 15:28:47 +0000 (15:28 +0000)]
added gujarati translations

20 years agoUpdated Basque translation.
Iñaki Larrañaga [Wed, 7 Apr 2004 10:11:40 +0000 (10:11 +0000)]
Updated Basque translation.

2004-04-07  Iñaki Larrañaga  <dooteo@euskalgnu.org>

        * eu.po: Updated Basque translation.

20 years agoRemove AC_CYGWIN, obsolete. Don't let pthreads be found on Cygwin, they
Tor Lillqvist [Sat, 3 Apr 2004 04:46:41 +0000 (04:46 +0000)]
Remove AC_CYGWIN, obsolete. Don't let pthreads be found on Cygwin, they

2004-04-03  Tor Lillqvist  <tml@iki.fi>

* configure.in: Remove AC_CYGWIN, obsolete. Don't let pthreads be
found on Cygwin, they don't work. (#138401, Roger Leigh)

20 years agoUpdated Indonesian translation
Mohammad DAMT [Wed, 31 Mar 2004 03:24:37 +0000 (03:24 +0000)]
Updated Indonesian translation

2004-03-31 Mohammad DAMT  <mdamt@bisnisweb.com>

* id.po: Updated Indonesian translation

20 years agoUse UTF-16LE explicitly also on Cygwin. (#138423, Roger Leigh)
Tor Lillqvist [Wed, 31 Mar 2004 02:19:10 +0000 (02:19 +0000)]
Use UTF-16LE explicitly also on Cygwin. (#138423, Roger Leigh)

2004-03-31  Tor Lillqvist  <tml@iki.fi>

* tests/unicode-encoding.c (process): Use UTF-16LE explicitly also
on Cygwin. (#138423, Roger Leigh)

20 years agoMinor Cygwin fix. (#138405, Roger Leigh)
Tor Lillqvist [Wed, 31 Mar 2004 02:13:52 +0000 (02:13 +0000)]
Minor Cygwin fix. (#138405, Roger Leigh)

2004-03-31  Tor Lillqvist  <tml@iki.fi>

* tests/spawn-test-win32-gui.c: Minor Cygwin fix. (#138405, Roger
Leigh)

20 years agoOn Cygwin, use the "cyg" prefix, and accept also the normal "lib".
Tor Lillqvist [Wed, 31 Mar 2004 02:02:02 +0000 (02:02 +0000)]
On Cygwin, use the "cyg" prefix, and accept also the normal "lib".

2004-03-31  Tor Lillqvist  <tml@iki.fi>

* gmodule-win32.c (_g_module_build_path): On Cygwin, use the "cyg"
prefix, and accept also the normal "lib". (#138403, Roger Leigh)

20 years agoAdded en_CA to ALL_LINGUAS. Added Canadian English translation.
Adam Weinberger [Tue, 30 Mar 2004 21:24:20 +0000 (21:24 +0000)]
Added en_CA to ALL_LINGUAS. Added Canadian English translation.

* configure.in: Added en_CA to ALL_LINGUAS.
* po/en_CA.po: Added Canadian English translation.

20 years agoUpdated Hebrew translation.
Gil Osher [Thu, 25 Mar 2004 21:30:25 +0000 (21:30 +0000)]
Updated Hebrew translation.

* he.po: Updated Hebrew translation.

20 years agoUpdated Hebrew translation.
Gil Osher [Thu, 25 Mar 2004 21:28:56 +0000 (21:28 +0000)]
Updated Hebrew translation.

20 years agoFix Win32 behaviour in some cases where a drive letter is present. For
Tor Lillqvist [Sun, 21 Mar 2004 21:43:13 +0000 (21:43 +0000)]
Fix Win32 behaviour in some cases where a drive letter is present. For

2004-03-21  Tor Lillqvist  <tml@iki.fi>

* glib/gutils.c (g_path_get_dirname): Fix Win32 behaviour in some
cases where a drive letter is present. For 'a:' or 'a:foo', return
'a:.'. This is mostly just for consistency with the behaviour
without a drive letter. But very important is to for 'a:\foo' or
'a:\', return 'a:\', and not 'a:'. (Ditto for forward slashes
instead of backslashes.) (#137316)

* tests/dirname-test.c (main): More complete testing on
Win32. If a test fails, include expected and actual result in
error message.

20 years agoAdd credit ChangeLog
Owen Taylor [Fri, 19 Mar 2004 20:26:00 +0000 (20:26 +0000)]
Add credit ChangeLog

20 years agoFix the accidental revert of the fixes from #112222 that happened when the
Owen Taylor [Fri, 19 Mar 2004 20:25:03 +0000 (20:25 +0000)]
Fix the accidental revert of the fixes from #112222 that happened when the

Fri Mar 19 15:21:09 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c: Fix the accidental revert of the
        fixes from #112222 that happened when the GChildWatch
        code was added.

20 years agoMake computation of "biggest_pointer" vaguely more portable. (#137498,
Owen Taylor [Fri, 19 Mar 2004 16:13:37 +0000 (16:13 +0000)]
Make computation of "biggest_pointer" vaguely more portable. (#137498,

Fri Mar 19 11:07:06 2004  Owen Taylor  <otaylor@redhat.com>

        * tests/atomic-test.c (main): Make computation
        of "biggest_pointer" vaguely more portable.
        (#137498, Jonas Jonsson)

20 years agoUpdated Slovak translation.
Stanislav Visnovsky [Thu, 18 Mar 2004 08:16:45 +0000 (08:16 +0000)]
Updated Slovak translation.

2004-03-18  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation.

20 years agoDefine HAVE_INT64_AND_I64 also in the mingw (gcc on Win32) case, where the
Tor Lillqvist [Wed, 17 Mar 2004 19:07:37 +0000 (19:07 +0000)]
Define HAVE_INT64_AND_I64 also in the mingw (gcc on Win32) case, where the

2004-03-16  Tor Lillqvist  <tml@iki.fi>

* configure.in: Define HAVE_INT64_AND_I64 also in the mingw (gcc
on Win32) case, where the 64-bit type is called long long, but the
system printf/scanf format modifier for 64-bit integers is still I64.

20 years agoAdded en_GB to ALL_LINGUAS Added British translation
Gareth Owen [Wed, 17 Mar 2004 02:37:04 +0000 (02:37 +0000)]
Added en_GB to ALL_LINGUAS Added British translation

2004-03-16  Gareth Owen  <gowen72@yahoo.com>

* configure.in: Added en_GB to ALL_LINGUAS
* po/en_GB.po: Added British translation

20 years ago=== Released 2.4.0 === GLIB_2_4_0
Owen Taylor [Tue, 16 Mar 2004 19:10:34 +0000 (19:10 +0000)]
=== Released 2.4.0 ===

Tue Mar 16 11:50:56 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.4.0 ===

        * configure.in: Version 2.4.0, interface age 0.

        * README.in: Updates

        * NEWS: Updates

20 years agoMark the two entries that shouldn't be in the import library (see below)
Tor Lillqvist [Tue, 16 Mar 2004 00:50:10 +0000 (00:50 +0000)]
Mark the two entries that shouldn't be in the import library (see below)

2004-03-10  Tor Lillqvist  <tml@iki.fi>

* gobject.def: Mark the two entries that shouldn't be in the
import library (see below) as PRIVATE.

20 years agoUpdated Romanian translation by Misu Moldovan <dumol@go.ro>
Mugurel Tudor [Mon, 15 Mar 2004 19:53:04 +0000 (19:53 +0000)]
Updated Romanian translation by Misu Moldovan <dumol@go.ro>

2004-03-15  Mugurel Tudor  <mugurelu@go.ro>

* ro.po: Updated Romanian translation by
Misu Moldovan <dumol@go.ro>

20 years ago*** empty log message ***
Denis Lackovic [Sun, 14 Mar 2004 21:51:57 +0000 (21:51 +0000)]
*** empty log message ***

20 years agoHandle invalid UTF-8. (#131218, patch from Matthias Clasen)
Owen Taylor [Sun, 14 Mar 2004 18:59:33 +0000 (18:59 +0000)]
Handle invalid UTF-8. (#131218, patch from Matthias Clasen)

Sun Mar 14 13:56:48 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gmessages.c (escape_string): Handle invalid
        UTF-8. (#131218, patch from Matthias Clasen)

20 years agoUse fork1() not fork for G_THREADS_IMPL_SOLARIS. (#136971, Sebastian
Owen Taylor [Sun, 14 Mar 2004 18:26:47 +0000 (18:26 +0000)]
Use fork1() not fork for G_THREADS_IMPL_SOLARIS. (#136971, Sebastian

Sun Mar 14 13:23:36 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gspawn.c: Use fork1() not fork for
        G_THREADS_IMPL_SOLARIS. (#136971, Sebastian Wilhelmi)

20 years agoif _POLL_EMUL_H is defined, undefine HAVE_POLL to prefer our own poll()
Owen Taylor [Sun, 14 Mar 2004 18:02:37 +0000 (18:02 +0000)]
if _POLL_EMUL_H is defined, undefine HAVE_POLL to prefer our own poll()

Sun Mar 14 12:58:30 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c: if _POLL_EMUL_H is defined, undefine
        HAVE_POLL to prefer our own poll() emulation to the
        lame OS/X one. (#136956, Manish Singh)

20 years agoSGML markup fix
Owen Taylor [Sun, 14 Mar 2004 16:35:54 +0000 (16:35 +0000)]
SGML markup fix

20 years agoDocument the fact that g_signal_connect_object() does *not* remove the
Owen Taylor [Sun, 14 Mar 2004 16:34:23 +0000 (16:34 +0000)]
Document the fact that g_signal_connect_object() does *not* remove the

Sun Mar 14 11:00:41 2004  Owen Taylor  <otaylor@redhat.com>

        * gobject/tmpl/signals.sgml: Document the fact that
        g_signal_connect_object() does *not* remove the signal
        when the object is disconnected currently and describe
        a workaround to prevent memory leaks.

20 years agoAdd __extension__ to G_STMT_START to quite gcc -pedantic. (#131899,
Owen Taylor [Sun, 14 Mar 2004 04:36:04 +0000 (04:36 +0000)]
Add __extension__ to G_STMT_START to quite gcc -pedantic. (#131899,

Sat Mar 13 23:30:53 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gmacros.h (G_STMT_START): Add __extension__
        to G_STMT_START to quite gcc -pedantic. (#131899,
        Olivier Biot)

20 years agoRemove critical log handler; we can't trigger g_return_if_fails() in our
Owen Taylor [Sun, 14 Mar 2004 04:27:26 +0000 (04:27 +0000)]
Remove critical log handler; we can't trigger g_return_if_fails() in our

Sat Mar 13 23:18:45 2004  Owen Taylor  <otaylor@redhat.com>

        * tests/env-test.c (main): Remove critical log handler;
        we can't trigger g_return_if_fails() in our test suite
        even silently, because the user could have compiled
        with --disable-debug. #if 0 the tests for
        g_setenv/g_unsetenv with a "foo=bar" variable name.
        (#136709, reported by Frédéric L. W. Meunier)

20 years agoSome warning fixes for the Sun compiler (Reported by David L. Cooper II,
Owen Taylor [Sun, 14 Mar 2004 04:15:10 +0000 (04:15 +0000)]
Some warning fixes for the Sun compiler (Reported by David L. Cooper II,

Sat Mar 13 23:10:35 2004  Owen Taylor  <otaylor@redhat.com>

        Some warning fixes for the Sun compiler (Reported by
        David L. Cooper II, #136401)

        * glib/giochannel.c (g_io_channel_read): Return
        G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte
        function returns a GIOError.

        * glib/guniprop.c: Fix some guchar/gchar confusion
        with special_case_table.

20 years agoia32's G_BREAKPOINT() implementation works on amd64 too. Enable it.
Manish Singh [Fri, 12 Mar 2004 23:31:23 +0000 (23:31 +0000)]
ia32's G_BREAKPOINT() implementation works on amd64 too. Enable it.

Fri Mar 12 15:30:58 2004  Manish Singh  <yosh@gimp.org>

        * glib/gbacktrace.h: ia32's G_BREAKPOINT() implementation works on
        amd64 too. Enable it.

20 years agoNon-optimizing compile fails for two asm statements on PowerPC. Use
Manish Singh [Fri, 12 Mar 2004 23:22:46 +0000 (23:22 +0000)]
Non-optimizing compile fails for two asm statements on PowerPC. Use

Fri Mar 12 15:21:22 2004  Manish Singh  <yosh@gimp.org>

        * glib/gatomic.c: Non-optimizing compile fails for two asm
        statements on PowerPC. Use generic implementaton for those
        cases. Spotted by Christof Petig <christof@petig-baender.de>,
        fix by Sebastian Wilhelmi. Bug #137006 has a possible alternate
solution, but we'll be conservative for now.

20 years agoCVS_SILENT
Görkem Çetin [Fri, 12 Mar 2004 20:39:10 +0000 (20:39 +0000)]
CVS_SILENT

20 years agoRemove an extra semicolon. Spotted by Kjartan Maraas.
Matthias Clasen [Thu, 11 Mar 2004 01:03:12 +0000 (01:03 +0000)]
Remove an extra semicolon. Spotted by Kjartan Maraas.

Thu Mar 11 02:05:13 2004  Matthias Clasen  <maclas@gmx.de>

* glib/gmain.c (g_main_depth): Remove an extra semicolon.
Spotted by Kjartan Maraas.

20 years agoglib/gspawn-win32.c Implement G_SPAWN_FILE_AND_ARGV_ZERO. (#136792, Bruce
Tor Lillqvist [Wed, 10 Mar 2004 22:59:14 +0000 (22:59 +0000)]
glib/gspawn-win32.c Implement G_SPAWN_FILE_AND_ARGV_ZERO. (#136792, Bruce

2004-03-10  Tor Lillqvist  <tml@iki.fi>

* glib/gspawn-win32.c
* glib/gspawn-win32-helper.c: Implement
G_SPAWN_FILE_AND_ARGV_ZERO. (#136792, Bruce Hochstetler)

* tests/spawn-test.c
* tests/spawn-test-win32-gui.c: Test it.

20 years ago=== Released 2.3.6 === GLIB_2_3_6
Owen Taylor [Tue, 9 Mar 2004 14:44:02 +0000 (14:44 +0000)]
=== Released 2.3.6 ===

Tue Mar  9 09:16:11 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.6 ===

        * configure.in: Version 2.3.6, interface age 1.

        * NEWS: Updates

20 years agoDo not run the g_child_watch_* test multi-threaded, as that doesn't work
Sebastian Wilhelmi [Tue, 9 Mar 2004 00:12:36 +0000 (00:12 +0000)]
Do not run the g_child_watch_* test multi-threaded, as that doesn't work

2004-03-09  Sebastian Wilhelmi  <seppi@seppi.de>

* tests/child-test.c: Do not run the g_child_watch_* test
multi-threaded, as that doesn't work on linux prior 2.6. Fixes
#136539.

20 years agoUpdated Irish translation
Alastair McKinstry [Mon, 8 Mar 2004 21:24:32 +0000 (21:24 +0000)]
Updated Irish translation

20 years agoAdd Irish to ALL_LINGUAS
Alastair McKinstry [Mon, 8 Mar 2004 21:22:48 +0000 (21:22 +0000)]
Add Irish to ALL_LINGUAS

20 years agoUpdated Belarusian translation.
Ales Nyakhaychyk [Mon, 8 Mar 2004 13:52:05 +0000 (13:52 +0000)]
Updated Belarusian translation.

20 years agoReference g_source_set_callback(), not g_source_attach(). (Takeshi AIHANA
Owen Taylor [Mon, 8 Mar 2004 13:35:38 +0000 (13:35 +0000)]
Reference g_source_set_callback(), not g_source_attach(). (Takeshi AIHANA

Mon Mar  8 08:32:36 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/tmpl/main.sgml: Reference g_source_set_callback(),
        not g_source_attach(). (Takeshi AIHANA )

20 years agoAdded Serbian Jekavian translation by Bojan Suzić.
Danilo Šegan [Sun, 7 Mar 2004 15:35:36 +0000 (15:35 +0000)]
Added Serbian Jekavian translation by Bojan Suzić.

20 years agoshortcut_spawn_retval which doesn't improve the implementation at all, it
Hans Breuer [Sun, 7 Mar 2004 15:01:00 +0000 (15:01 +0000)]
shortcut_spawn_retval which doesn't improve the implementation at all, it

2003-03-07  Hans Breuer  <hans@breuer.org>

* glib/gspawn-win32.c : (GPid)shortcut_spawn_retval which
doesn't improve the implementation at all, it just make it
compile with msvc ...

* glib/makefile.msc.in : build gatomic.c (now really:)

20 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sat, 6 Mar 2004 17:26:58 +0000 (17:26 +0000)]
Updated Spanish translation.

2004-03-06  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

20 years agoUpdate.
Tor Lillqvist [Sat, 6 Mar 2004 07:37:46 +0000 (07:37 +0000)]
Update.

2004-03-06  Tor Lillqvist  <tml@iki.fi>

* README.win32: Update.

* configure.in
* Makefile.am
* */Makefile.am: Drop the hand-written makefile.mingw(.in)
files. They haven't been maintained in a long time. As several
people have managed to build GLib for Win32 using the
autoconfiscation mechanism, there is no real reason to even try to
maintain the hand-written mingw makefiles.

20 years agoPatch by Sebastian Wilhemi to fix infinite recursion in g_atomic.
Matthias Clasen [Fri, 5 Mar 2004 21:10:45 +0000 (21:10 +0000)]
Patch by Sebastian Wilhemi to fix infinite recursion in g_atomic.

20 years agoAdd g_main_depth. (#136221, Cedric Gustin)
Tor Lillqvist [Fri, 5 Mar 2004 20:12:51 +0000 (20:12 +0000)]
Add g_main_depth. (#136221, Cedric Gustin)

2004-03-05  Tor Lillqvist  <tml@iki.fi>

* glib/glib.def: Add g_main_depth. (#136221, Cedric Gustin)

20 years agoAdded Punjabi translation
Guntupalli Karunakar [Thu, 4 Mar 2004 10:57:35 +0000 (10:57 +0000)]
Added Punjabi translation

20 years agoUse the atomic integer operations for GMainContext and GMainLoop reference
Sebastian Wilhelmi [Thu, 4 Mar 2004 10:12:55 +0000 (10:12 +0000)]
Use the atomic integer operations for GMainContext and GMainLoop reference

2004-03-04  Sebastian Wilhelmi  <seppi@seppi.de>

* glib/gmain.c: Use the atomic integer operations for GMainContext
and GMainLoop reference counting.

* glib/gmain.c: Hold the main_context_list lock, when iterating
the list. Only call g_main_context_wakeup for positive reference
count.

20 years agoAnother of the glib DLL's functions was erronously present in the stable
Tor Lillqvist [Thu, 4 Mar 2004 06:43:00 +0000 (06:43 +0000)]
Another of the glib DLL's functions was erronously present in the stable

2004-03-04  Tor Lillqvist  <tml@iki.fi>

* gobject.def: Another of the glib DLL's functions was erronously
present in the stable branch's gobject.def: g_unichar_validate,
and nobody noticed until too late. Thus there are applications
deployed that expect it to be found in the gobject DLL, and to
keep ABI compatibility, we must keep it there forever. Argh.

20 years agoUpdated Simplified Chinese translation
Funda Wang [Wed, 3 Mar 2004 18:34:53 +0000 (18:34 +0000)]
Updated Simplified Chinese translation

20 years agoUpdate to match a configure-generated glibconfig.h. Specifically: Remove
Tor Lillqvist [Wed, 3 Mar 2004 11:40:35 +0000 (11:40 +0000)]
Update to match a configure-generated glibconfig.h. Specifically: Remove

2004-03-03  Tor Lillqvist  <tml@iki.fi>

* glibconfig.h.win32.in: Update to match a configure-generated
glibconfig.h. Specifically: Remove G_{MIN,MAX,MAXU}INT64
definitions (now in gtypes.h). Remove g_once and
g_static_mutex_get_mutex_impl_shortcut definitions (now in
gthread.h).

20 years agoUse a macro GPID_FORMAT for the format to print GPid in (%p on Win32, %d
Tor Lillqvist [Wed, 3 Mar 2004 09:49:39 +0000 (09:49 +0000)]
Use a macro GPID_FORMAT for the format to print GPid in (%p on Win32, %d

2004-03-03  Tor Lillqvist  <tml@iki.fi>

* tests/child-test.c: Use a macro GPID_FORMAT for the format to
print GPid in (%p on Win32, %d on Unix). Maybe configure.in should
place that in glibconfig.h?

Print verbose error message if CreateProcess() fails.

Don't close the child handle until in the child watch callback.

Don't try to run /bin/true on Win32. Run ipconfig instead (just to
pick a program that should exist on all Window boxes).

20 years agoUpdated Finnish translation.
Pauli Virtanen [Wed, 3 Mar 2004 00:48:10 +0000 (00:48 +0000)]
Updated Finnish translation.

2004-03-03  Pauli Virtanen  <pauli.virtanen@hut.fi>

* fi.po: Updated Finnish translation.

20 years agoFixed missing definition for ppc code. Fix by Mark McLoughlin
Sebastian Wilhelmi [Tue, 2 Mar 2004 09:47:37 +0000 (09:47 +0000)]
Fixed missing definition for ppc code. Fix by Mark McLoughlin

2004-03-02  Sebastian Wilhelmi  <seppi@seppi.de>

* glib/gatomic.c: Fixed missing definition for ppc code. Fix by
Mark McLoughlin <mark@skynet.ie>.

20 years ago=== Released 2.3.5 === GLIB_2_3_5
Owen Taylor [Tue, 2 Mar 2004 00:05:36 +0000 (00:05 +0000)]
=== Released 2.3.5 ===

Mon Mar  1 16:49:51 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.5 ===

        * configure.in: Version 2.3.5, interface ago 0.

        * NEWS: Some further updates.

20 years agoDon't call waitpid() on a source that has already exited.
Owen Taylor [Mon, 1 Mar 2004 20:56:47 +0000 (20:56 +0000)]
Don't call waitpid() on a source that has already exited.

Mon Mar  1 15:49:09 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c (check_for_child_exited): Don't
        call waitpid() on a source that has already exited.

        * glib/gmain.c (g_child_watch_check): Return TRUE
        only if the child actually exited.

20 years agoAdd g_slist_remove_all back for ABI compatibility. That entry point
Tor Lillqvist [Mon, 1 Mar 2004 20:48:50 +0000 (20:48 +0000)]
Add g_slist_remove_all back for ABI compatibility. That entry point

2004-03-01  Tor Lillqvist  <tml@iki.fi>

* gobject.def: Add g_slist_remove_all back for ABI
compatibility. That entry point actually is in the glib DLL, but
it was at some time many years ago by mistake added to
gobject.def. Thus there presumably are executables out there that
expect it to be exported from the gobject DLL. We don't want to
break those. (#134813, J. Ali Harlow)

20 years agoPatch from J. Ali Harlow
Owen Taylor [Mon, 1 Mar 2004 20:47:49 +0000 (20:47 +0000)]
Patch from J. Ali Harlow

Mon Mar  1 15:39:57 2004  Owen Taylor  <otaylor@redhat.com>

       Patch from J. Ali Harlow

        * configure.in: Use void * not HANDLE for GPid on win32.

        * glib/gspawn.[ch] glib/gspawn-win32.[ch] glib/glib.def:
        Add g_spawn_close_pid().

        * glib/gspawn.[ch]: Make g_spawn functions take
        GPid * instead if int * (GPid == int on unix, will
        produce compile warnings until fixed on Win32.)

        * tests/child-test.c: Make the test a little more
        inappropriately verbose.

        * glib/gmain.c: Add some documentation warnings about
        not closing @pid while the source is active.

20 years ago- exit with $? instead of 1 in case of failure - exit with $? if
Tim Janik [Mon, 1 Mar 2004 19:32:34 +0000 (19:32 +0000)]
- exit with $? instead of 1 in case of failure - exit with $? if

Mon Mar  1 20:32:06 2004  Tim Janik  <timj@gtk.org>

        * autogen.sh:
        - exit with $? instead of 1 in case of failure
        - exit with $? if ./configure failed
          (that's so autogen.sh && make lines work)
        - removed --enable-gtk-doc option
        - added $AUTOGEN_CONFIGURE_ARGS

20 years ago- exit with $? instead of 1 in case of failure
Tim Janik [Mon, 1 Mar 2004 18:28:45 +0000 (18:28 +0000)]
- exit with $? instead of 1 in case of failure
- exit with $? if ./configure failed
  (that's so autogen.sh && make lines work)
- removed --enable-gtk-doc option
- added $AUTOGEN_CONFIGURE_ARGS

20 years agoClarify doc comment.
Owen Taylor [Mon, 1 Mar 2004 14:20:30 +0000 (14:20 +0000)]
Clarify doc comment.

Mon Mar  1 09:17:32 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c (g_main_depth): Clarify doc comment.

20 years agoUpdated Albanian translation
Laurent Dhima [Mon, 1 Mar 2004 13:21:00 +0000 (13:21 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

20 years agoUpdated
Laurent Dhima [Mon, 1 Mar 2004 13:18:54 +0000 (13:18 +0000)]
Updated

20 years agoDefine g_atomic_(int|pointer)_get only for
Sebastian Wilhelmi [Mon, 1 Mar 2004 10:21:26 +0000 (10:21 +0000)]
Define g_atomic_(int|pointer)_get only for

2004-03-01  Sebastian Wilhelmi  <seppi@seppi.de>

* glib/gatomic.c: Define g_atomic_(int|pointer)_get only for
G_ATOMIC_OP_MEMORY_BARRIER_NEEDED. Spotted by Hans Breuer.

20 years agoFix leftover references to g_main_context_depth() in docs.
Owen Taylor [Mon, 1 Mar 2004 02:45:15 +0000 (02:45 +0000)]
Fix leftover references to g_main_context_depth() in docs.

Sun Feb 29 21:42:47 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c: Fix leftover references to
        g_main_context_depth() in docs.

20 years agoAdd g_main_depth() (Request from Tim Janik and Stefan Westerfeld)
Owen Taylor [Mon, 1 Mar 2004 02:41:09 +0000 (02:41 +0000)]
Add g_main_depth() (Request from Tim Janik and Stefan Westerfeld)

Sun Feb 29 21:34:34 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.[ch]: Add g_main_depth() (Request from
        Tim Janik and Stefan Westerfeld)

20 years agoUpdate for 2.3.4
Matthias Clasen [Sun, 29 Feb 2004 23:22:15 +0000 (23:22 +0000)]
Update for 2.3.4

20 years agoforgotten changelog
Matthias Clasen [Sun, 29 Feb 2004 22:50:02 +0000 (22:50 +0000)]
forgotten changelog

20 years agoadded win32 api based implementation for G_PLATFORM_WIN32, !__GNUC__
Hans Breuer [Sun, 29 Feb 2004 21:32:27 +0000 (21:32 +0000)]
added win32 api based implementation for G_PLATFORM_WIN32, !__GNUC__

2003-02-29  Hans Breuer  <hans@breuer.org>

* glib/gatomic.c : added win32 api based implementation
for G_PLATFORM_WIN32, !__GNUC__

* glb/glib.def : change to g_atomi_* no _fallback

20 years agoMoved the assembler functions from gatomic.h to gatomic.c, which makes for
Sebastian Wilhelmi [Sun, 29 Feb 2004 16:48:37 +0000 (16:48 +0000)]
Moved the assembler functions from gatomic.h to gatomic.c, which makes for

2004-02-29  Sebastian Wilhelmi  <seppi@seppi.de>

* configure.in, glib/gatomic.c, glib/gatomic.h: Moved the
assembler functions from gatomic.h to gatomic.c, which makes for
better maintainability. Also use gint instead of gint32 to be able
to use reference counting for ABI-fixed structures with
gint/guint.

* glib/gthread.h: Adapted accordingly.

* tests/atomic-test.c: Updated to test for G_MAXINT and G_MININT.

20 years agoMoved the assembler functions from gatomic.h to gatomic.c, which makes for
Sebastian Wilhelmi [Sun, 29 Feb 2004 16:47:48 +0000 (16:47 +0000)]
Moved the assembler functions from gatomic.h to gatomic.c, which makes for

2004-02-29  Sebastian Wilhelmi  <seppi@seppi.de>

* configure.in, glib/gatomic.c, glib/gatomic.h: Moved the
assembler functions from gatomic.h to gatomic.c, which makes for
better maintainability. Also use gint instead of gint32 to be able
to use reference counting for ABI-fixed structures with
gint/guint.

* glib/gthread.h: Adapted accordingly.

* tests/atomic-test.c: Updated to test for G_MAXINT and G_MININT.

* glib/glib-overrides.txt, glib/glib-sections.txt,
glib/tmpl/atomic_operations.sgml: Updated according to code changes.

20 years agofix bug #135723
Sven Herzberg [Sun, 29 Feb 2004 01:32:03 +0000 (01:32 +0000)]
fix bug #135723

20 years agoapplied patch from J. Ali Harlow <ali@juiblex.co.uk> to fix g_child_watch
Hans Breuer [Sat, 28 Feb 2004 13:04:24 +0000 (13:04 +0000)]
applied patch from J. Ali Harlow <ali@juiblex.co.uk> to fix g_child_watch

2003-02-28  Hans Breuer  <hans@breuer.org>

* tests/child-test.c  glib/gmain.c :
applied patch from J. Ali Harlow <ali@juiblex.co.uk> to fix
g_child_watch implementation on win32, bug #50296