platform/upstream/glib.git
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

20 years agoupdated externals, including those from bug #135386
Hans Breuer [Sat, 28 Feb 2004 13:03:55 +0000 (13:03 +0000)]
updated externals, including those from bug #135386

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

* glib/glib.def : updated externals, including those
from bug #135386

* glib/makefile.msc.in : build gatomic.c

* glibconfig.h.win32.in : removed duplicate definition
of G_MAXSIZE, typedef void* GPid instead of int

* 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

20 years agoadded g_strv_get_type
Hans Breuer [Sat, 28 Feb 2004 13:02:07 +0000 (13:02 +0000)]
added g_strv_get_type

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

* gobject.def : added g_strv_get_type

20 years agoDocumentation updates.
Matthias Clasen [Fri, 27 Feb 2004 21:11:51 +0000 (21:11 +0000)]
Documentation updates.

20 years agoReading access to ref_count only with g_atomic_int_get().
Sebastian Wilhelmi [Fri, 27 Feb 2004 17:19:32 +0000 (17:19 +0000)]
Reading access to ref_count only with g_atomic_int_get().

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

* glib/gasyncqueue.c, glib/gasyncqueue.h: Reading access to
ref_count only with g_atomic_int_get().

20 years agoUse g_atomic_int_(inc|dec_and_test) for reference counting.
Sebastian Wilhelmi [Fri, 27 Feb 2004 16:06:31 +0000 (16:06 +0000)]
Use g_atomic_int_(inc|dec_and_test) for reference counting.

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

* glib/gasyncqueue.c, glib/gasyncqueue.h: Use
g_atomic_int_(inc|dec_and_test) for reference
counting. g_async_queue_unref_and_unlock and
g_async_queue_ref_locked is deprecated, but still there to
preserve ABI.

20 years agoTranslation updated by Allan Sims.
Priit Laes [Fri, 27 Feb 2004 09:59:18 +0000 (09:59 +0000)]
Translation updated by Allan Sims.

2004-02-27  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Allan Sims.

20 years agoquote AC_DEFUN macro names so automake 1.8 won't whine at us. (#134882)
Matthias Clasen [Fri, 27 Feb 2004 00:57:25 +0000 (00:57 +0000)]
quote AC_DEFUN macro names so automake 1.8 won't whine at us. (#134882)

Fri Feb 27 02:00:34 2004  Matthias Clasen  <maclas@gmx.de>

* acglib.m4: quote AC_DEFUN macro names so automake
1.8 won't whine at us.  (#134882)

20 years agoSupport parsing of intializers containing macros with arguments. (#129717)
Matthias Clasen [Fri, 27 Feb 2004 00:49:56 +0000 (00:49 +0000)]
Support parsing of intializers containing macros with arguments. (#129717)

Fri Feb 27 01:49:22 2004  Matthias Clasen  <maclas@gmx.de>

* glib-mkenums.in: Support parsing of intializers containing
macros with arguments.  (#129717)

20 years agoTranslate from locale era to AD in g_date_set_parse(). (#133400, Theppitak
Matthias Clasen [Fri, 27 Feb 2004 00:42:39 +0000 (00:42 +0000)]
Translate from locale era to AD in g_date_set_parse(). (#133400, Theppitak

Fri Feb 27 01:44:41 2004  Matthias Clasen <maclas@gmx.de>

* glib/gdate.c: Translate from locale era to AD in
g_date_set_parse().  (#133400, Theppitak Karoonboonyanan)

20 years agoDon't modify errno. (#116617, Balazs Scheidler)
Matthias Clasen [Thu, 26 Feb 2004 23:43:45 +0000 (23:43 +0000)]
Don't modify errno. (#116617, Balazs Scheidler)

Fri Feb 27 00:46:29 2004  Matthias Clasen  <maclas@gmx.de>

* glib/gstrfuncs.c (g_strerror): Don't modify errno.  (#116617,
Balazs Scheidler)

20 years agoLast commit log was wrong: Should have been:
Sebastian Wilhelmi [Thu, 26 Feb 2004 17:33:09 +0000 (17:33 +0000)]
Last commit log was wrong: Should have been:

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

* glib/gatomic.h: Fix the !G_THREADS_ENABLED case.

20 years agoempty G_ATOMIC_MEMORY_BARRIER() definition for !G_THREADS_ENABLED
Sebastian Wilhelmi [Thu, 26 Feb 2004 17:31:38 +0000 (17:31 +0000)]
empty G_ATOMIC_MEMORY_BARRIER() definition for !G_THREADS_ENABLED

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

* glib/gatomic.h: empty G_ATOMIC_MEMORY_BARRIER() definition for
!G_THREADS_ENABLED

20 years ago.cvsignore updates
Sebastian Wilhelmi [Thu, 26 Feb 2004 17:20:29 +0000 (17:20 +0000)]
.cvsignore updates

.cvsignore updates

20 years agoOnly run, if threads are enabled.
Sebastian Wilhelmi [Thu, 26 Feb 2004 17:20:01 +0000 (17:20 +0000)]
Only run, if threads are enabled.

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

* tests/child-test.c (main): Only run, if threads are enabled.

20 years agoempty G_ATOMIC_MEMORY_BARRIER() definition for !G_THREADS_ENABLED
Sebastian Wilhelmi [Thu, 26 Feb 2004 16:53:55 +0000 (16:53 +0000)]
empty G_ATOMIC_MEMORY_BARRIER() definition for !G_THREADS_ENABLED

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

* glib/gatomic.h: empty G_ATOMIC_MEMORY_BARRIER() definition for
!G_THREADS_ENABLED

* glib/gthread.h: Define g_once and
g_static_mutex_get_mutex_impl_shortcut in terms of
G_MEMORY_BARRIER, if defined and if we can inline.

* configure.in: Remove double checked locking feature check.

20 years agoRemoved the PID niceness surrogate for thread priorities as requested by
Sebastian Wilhelmi [Thu, 26 Feb 2004 14:44:42 +0000 (14:44 +0000)]
Removed the PID niceness surrogate for thread priorities as requested by

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

* configure.in, config.h.win32.in, glib/gthread.c: Removed the PID
niceness surrogate for thread priorities as requested by Tim. It
does more harm than good.

        * glib/tmpl/threads.sgml: Updated to reflect removal of the PID
niceness surrogate for thread priorities.

20 years agoNew files to implement atomic operations for different platforms. Fixes
Sebastian Wilhelmi [Thu, 26 Feb 2004 14:30:35 +0000 (14:30 +0000)]
New files to implement atomic operations for different platforms. Fixes

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

* glib/gatomic.c, glib/gatomic.h: New files to implement atomic
operations for different platforms. Fixes bug #63621.

* glib/glib.h: Include gatomic.h.

* configure.in: Add test for assembler routines for atomic operations.

* glib/Makefile.am: Add gatomic.c, gatomic.h.

* tests/Makefile.am, tests/atomic-test.c: Unit test for atomic
operations.

* glib/glib-overrides.txt, glib/glib-sections.txt,
glib/glib-docs.sgml, glib/tmpl/atomic_operations.sgml: Add docs
for atomic operations.

20 years agoadded g_hash_table_find and a bunch of g_queue_*
Hans Breuer [Wed, 25 Feb 2004 23:48:22 +0000 (23:48 +0000)]
added g_hash_table_find and a bunch of g_queue_*

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

* glib/glib.def : added g_hash_table_find and a
bunch of g_queue_*

* glib/gmain.c : make it compile on win32,
child_wake_up_pipe replaced by semaphore like it is done
for the other wake_up_pipe

* config.h.win32.in : added HAVE_INT64_AND_I64
* glibconfig.h.win32.in : G_MAXSIZE .. G_M??INT64,
and typedef for GPid

* test/env-test.c : don't let the local log function
collide in namespace with standard C

20 years agoFor the PID thread priorities surrogate use gettid instead of getpid. This
Sebastian Wilhelmi [Wed, 25 Feb 2004 13:23:14 +0000 (13:23 +0000)]
For the PID thread priorities surrogate use gettid instead of getpid. This

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

* configure.in, glib/gthread.c: For the PID thread priorities
surrogate use gettid instead of getpid. This also works with nptl
(on linux-2.6), as well as with linuxthreads (on linux-2.4).

20 years agoUpdated Irish translation
Alastair McKinstry [Tue, 24 Feb 2004 23:03:50 +0000 (23:03 +0000)]
Updated Irish translation

20 years agoAdd Since: 2.4, where due
Sebastian Wilhelmi [Tue, 24 Feb 2004 21:17:10 +0000 (21:17 +0000)]
Add Since: 2.4, where due

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

* glib/grand.c: Add Since: 2.4, where due

20 years ago=== Released 2.3.3 === GLIB_2_3_3
Owen Taylor [Tue, 24 Feb 2004 19:27:19 +0000 (19:27 +0000)]
=== Released 2.3.3 ===

Tue Feb 24 14:09:21 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.3 ===

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

20 years agoUpdated Welsh translation by Rhys Jones and myself.
Dafydd Harries [Tue, 24 Feb 2004 06:29:24 +0000 (06:29 +0000)]
Updated Welsh translation by Rhys Jones and myself.

20 years agoStart of 2.3.3 section.
Matthias Clasen [Mon, 23 Feb 2004 21:20:22 +0000 (21:20 +0000)]
Start of 2.3.3 section.

Mon Feb 23 22:24:00 2004  Matthias Clasen  <maclas@gmx.de>

* NEWS: Start of 2.3.3 section.