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

20 years agoUpdated the Greek translation
Kostas Papadimas [Mon, 23 Feb 2004 12:45:06 +0000 (12:45 +0000)]
Updated the Greek translation

20 years agoupdate tamil translation
Guntupalli Karunakar [Mon, 23 Feb 2004 10:26:45 +0000 (10:26 +0000)]
update tamil translation

20 years agoSet the gmodule suffix to 'a' for aix and use the aix gmodule
Matthias Clasen [Sun, 22 Feb 2004 01:31:24 +0000 (01:31 +0000)]
Set the gmodule suffix to 'a' for aix and use the aix gmodule

Sun Feb 22 02:28:43 2004  Matthias Clasen  <maclas@gmx.de>

* configure.in: Set the gmodule suffix to 'a' for aix and
use the aix gmodule implementation.  (#85930, Laurent Vivier)

Bug #85930, Laurent Vivier:

* gmodule-ar.c: Implementation of native module management for AIX.
* gmoduleconf.h.in:
* gmodule.c: Support gmodule-ar.c

20 years agoNew function to deep-copy a GNode and its children. (#93464, James M.
Matthias Clasen [Sat, 21 Feb 2004 23:56:54 +0000 (23:56 +0000)]
New function to deep-copy a GNode and its children. (#93464, James M.

Sun Feb 22 00:47:04 2004  Matthias Clasen  <maclas@gmx.de>

* glib/gnode.c (g_node_copy_deep): New function to deep-copy a
GNode and its children.  (#93464, James M. Cape)

20 years agoSome documentation fixes.
Soeren Sandmann [Sat, 21 Feb 2004 14:58:09 +0000 (14:58 +0000)]
Some documentation fixes.

Sat Feb 21 15:42:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* glib/gqueue.c: Some documentation fixes.

20 years agoFix ChangeLog
Søren Sandmann Pedersen [Sat, 21 Feb 2004 12:49:56 +0000 (12:49 +0000)]
Fix ChangeLog

20 years agoExtend GQueue API to match the GList API. (#118439).
Soeren Sandmann [Sat, 21 Feb 2004 12:48:08 +0000 (12:48 +0000)]
Extend GQueue API to match the GList API. (#118439).

Sat Feb 21 13:45:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* glib/gqueue.[ch]: Extend GQueue API to match the GList
API. (#118439).

* tests/queue-test.c: Update test suite to cover the new API.

20 years agoapplied patch from #131937 with slight renames. provides
Tim Janik [Fri, 20 Feb 2004 02:05:36 +0000 (02:05 +0000)]
applied patch from #131937 with slight renames. provides

Fri Feb 20 03:02:05 2004  Tim Janik  <timj@gtk.org>

        * glib/ghash.[hc]: applied patch from #131937 with slight
        renames. provides g_hash_table_find().

20 years agoadded (GTypeFlags) cast needed by C++.
Tim Janik [Fri, 20 Feb 2004 01:47:26 +0000 (01:47 +0000)]
added (GTypeFlags) cast needed by C++.

Fri Feb 20 02:44:54 2004  Tim Janik  <timj@gtk.org>

        * gtype.h (G_DEFINE_TYPE_EXTENDED): added (GTypeFlags) cast needed by C++.

20 years agoapplied patch from David Schleef <ds@schleef.org> which implements a
Tim Janik [Fri, 20 Feb 2004 01:41:00 +0000 (01:41 +0000)]
applied patch from David Schleef <ds@schleef.org> which implements a

Fri Feb 20 02:39:03 2004  Tim Janik  <timj@gtk.org>

        * applied patch from David Schleef <ds@schleef.org> which implements
        a G_MODULE_BIND_LOCAL flag to g_module_open() to disable global
        symbol registration.

20 years agoFixed Albanian translation
Laurent Dhima [Fri, 20 Feb 2004 01:09:46 +0000 (01:09 +0000)]
Fixed Albanian translation

* sq.po: Fixed Albanian translation

20 years agoUpdated
Laurent Dhima [Fri, 20 Feb 2004 01:08:32 +0000 (01:08 +0000)]
Updated

20 years agofor G_CAN_INLINE environments, inline g_string_append_c() for efficiency.
Tim Janik [Thu, 19 Feb 2004 17:42:00 +0000 (17:42 +0000)]
for G_CAN_INLINE environments, inline g_string_append_c() for efficiency.

Thu Feb 19 18:40:01 2004  Tim Janik  <timj@gtk.org>

        * glib/gstring.[hc]: for G_CAN_INLINE environments, inline
        g_string_append_c() for efficiency. (vaguely based on #118707).

20 years agoForgot ChangeLog again......
Sebastian Wilhelmi [Thu, 19 Feb 2004 09:14:09 +0000 (09:14 +0000)]
Forgot ChangeLog again......

Forgot ChangeLog again......

20 years agoInclude signal.h for SIGCHLD. (#134622, Damien Carbery)
Matthias Clasen [Wed, 18 Feb 2004 22:55:15 +0000 (22:55 +0000)]
Include signal.h for SIGCHLD. (#134622, Damien Carbery)

Wed Feb 18 23:57:42 2004  Matthias Clasen  <maclas@gmx.de>

* glib/gmain.c: Include signal.h for SIGCHLD.  (#134622, Damien
Carbery)

20 years agoLazy creation of GCond. Only signal GCond, if threads are waiting.
Sebastian Wilhelmi [Wed, 18 Feb 2004 12:30:01 +0000 (12:30 +0000)]
Lazy creation of GCond. Only signal GCond, if threads are waiting.

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

* glib/gasyncqueue.c: Lazy creation of GCond. Only
signal GCond, if threads are waiting.

20 years agoForgot ChangeLog
Sebastian Wilhelmi [Wed, 18 Feb 2004 12:21:22 +0000 (12:21 +0000)]
Forgot ChangeLog

Forgot ChangeLog

20 years agoAdd the new g_rand_* functions
Sebastian Wilhelmi [Wed, 18 Feb 2004 12:20:13 +0000 (12:20 +0000)]
Add the new g_rand_* functions

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

* glib/glib-sections.txt: Add the new g_rand_* functions

20 years agoSet context->wake_up_pipe only for G_THREADS_ENABLED.
Sebastian Wilhelmi [Wed, 18 Feb 2004 09:14:17 +0000 (09:14 +0000)]
Set context->wake_up_pipe only for G_THREADS_ENABLED.

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

* glib/gmain.c (g_main_context_new): Set context->wake_up_pipe
only for G_THREADS_ENABLED.

20 years agoshut up cvs
Manish Singh [Sat, 14 Feb 2004 19:05:21 +0000 (19:05 +0000)]
shut up cvs

20 years agoRemove unnecessary STRIP_* definitions, and GNU make check. Really fixes
Manish Singh [Sat, 14 Feb 2004 19:05:02 +0000 (19:05 +0000)]
Remove unnecessary STRIP_* definitions, and GNU make check. Really fixes

Sat Feb 14 11:05:26 2004  Manish Singh  <yosh@gimp.org>

        * configure.in: Remove unnecessary STRIP_* definitions, and GNU
        make check. Really fixes #134102.

20 years agoMake the check for GNU make work when MAKE is a full path. (#134102, Julio
Matthias Clasen [Sat, 14 Feb 2004 01:08:15 +0000 (01:08 +0000)]
Make the check for GNU make work when MAKE is a full path. (#134102, Julio

Sat Feb 14 02:11:08 2004  Matthias Clasen  <maclas@gmx.de>

* configure.in: Make the check for GNU make work when MAKE is a
full path.  (#134102, Julio M. Merino Vidal)

20 years agoSuppress xsltproc and xmlcatalog checks if enable_man=no. (#134091, Julio
Matthias Clasen [Sat, 14 Feb 2004 01:04:47 +0000 (01:04 +0000)]
Suppress xsltproc and xmlcatalog checks if enable_man=no. (#134091, Julio

Sat Feb 14 02:08:03 2004  Matthias Clasen  <maclas@gmx.de>

* configure.in: Suppress xsltproc and xmlcatalog checks
if enable_man=no.  (#134091, Julio M. Merino Vidal)

20 years agoWrap waitpid() as a GSource. This is a partial implementation of the "Unix
Matthias Clasen [Sat, 14 Feb 2004 00:23:36 +0000 (00:23 +0000)]
Wrap waitpid() as a GSource. This is a partial implementation of the "Unix

Sat Feb 14 01:21:34 2004  Matthias Clasen  <maclas@gmx.de>

* glib/gmain.h:
* glib/gmain.c (g_child_watch_source_new):
* glib/gmain.c (g_child_watch_add):
* glib/gmain.c (g_child_watch_add_full): Wrap waitpid() as a
GSource. This is a partial implementation of the "Unix signal
source".  (#50296, Jonathan R. Blandford)

* configure.in: Add the necessary configury to typedef GPid
appropriately.

* tests/Makefile.am:
* tests/child-test.c: Test child_watch sources.

20 years agoFix a typo.
Matthias Clasen [Fri, 13 Feb 2004 22:13:02 +0000 (22:13 +0000)]
Fix a typo.

20 years agoUpdated Albanian translation
Laurent Dhima [Thu, 12 Feb 2004 13:31:00 +0000 (13:31 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

20 years agoUpdated
Laurent Dhima [Thu, 12 Feb 2004 13:29:49 +0000 (13:29 +0000)]
Updated

20 years agoReviewed Serbian translation.
Danilo Šegan [Wed, 11 Feb 2004 23:42:01 +0000 (23:42 +0000)]
Reviewed Serbian translation.

20 years agoUpdated Ukrainian translation
Maxim Dziumanenko [Mon, 9 Feb 2004 17:06:54 +0000 (17:06 +0000)]
Updated Ukrainian translation

2004-02-09  Maxim Dziumanenko <mvd@mylinux.com.ua>

* Updated Ukrainian translation

20 years agoFix broken test for gsize formats.
Manish Singh [Sat, 7 Feb 2004 23:03:35 +0000 (23:03 +0000)]
Fix broken test for gsize formats.

Sat Feb  7 15:02:01 2004  Manish Singh  <yosh@gimp.org>

        * tests/type-test.c: Fix broken test for gsize formats.