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

20 years agoFix some external links.
Matthias Clasen [Fri, 6 Feb 2004 23:59:12 +0000 (23:59 +0000)]
Fix some external links.

20 years ago*** empty log message ***
Denis Lackovic [Thu, 5 Feb 2004 22:59:07 +0000 (22:59 +0000)]
*** empty log message ***

20 years agoTranslation updated.
Mətin Əmirov [Thu, 5 Feb 2004 21:17:25 +0000 (21:17 +0000)]
Translation updated.

2004-02-05  Mətin Əmirov  <metin@karegen.com>

* az.po: Translation updated.

20 years agoShut up CVS
Manish Singh [Thu, 5 Feb 2004 01:59:24 +0000 (01:59 +0000)]
Shut up CVS

20 years agoAdd prototype for g_completion_complete_utf8().
Manish Singh [Thu, 5 Feb 2004 01:58:47 +0000 (01:58 +0000)]
Add prototype for g_completion_complete_utf8().

Wed Feb  4 17:58:51 2004  Manish Singh  <yosh@gimp.org>

        * glib/gcompletion.h: Add prototype for g_completion_complete_utf8().

        * tests/completion-test.c: #include <string.h>

20 years agoAdd g_completion_complete_utf8.
Tor Lillqvist [Thu, 5 Feb 2004 00:22:58 +0000 (00:22 +0000)]
Add g_completion_complete_utf8.

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

* glib/glib.def: Add g_completion_complete_utf8.

20 years agoWeaken an g_assert() to a g_warning(), since apparently nothing in Posix
Matthias Clasen [Thu, 5 Feb 2004 00:17:28 +0000 (00:17 +0000)]
Weaken an g_assert() to a g_warning(), since apparently nothing in Posix

Thu Feb  5 01:19:12 2004  Matthias Clasen  <maclas@gmx.de>

* tests/file-test.c (test_mkstemp): Weaken an g_assert() to a
g_warning(), since apparently nothing in Posix forces mkstemp()
to reject templates without any X's.  (#133397)

20 years agoNew function which works like g_completion_complete(), but strips a
Matthias Clasen [Wed, 4 Feb 2004 23:54:17 +0000 (23:54 +0000)]
New function which works like g_completion_complete(), but strips a

Thu Feb  5 00:56:28 2004  Matthias Clasen  <maclas@gmx.de>

* glib/gcompletion.c (g_completion_complete_utf8): New function which
works like g_completion_complete(), but strips a trailing incomplete
UTF-8 character from the prefix.  (#133313, Theppitak Karoonboonyanan)

* tests/completion-test.c (main): Some GCompletion tests.

* tests/Makefile.am: Add completion-test.

20 years agoprovide a short-cut version for this macro in case
Tim Janik [Tue, 3 Feb 2004 20:30:23 +0000 (20:30 +0000)]
provide a short-cut version for this macro in case

Tue Feb  3 21:24:01 2004  Tim Janik  <timj@gtk.org>

        * gtype.h (_G_TYPE_CVH): provide a short-cut version for
        this macro in case value->g_type==checked_type for gcc, similar
        to instance and class check short-cuts. this speeds up code that
        makes frequent use of G_VALUE_HOLDS_*() (e.g. setters/getters).

        * gtype.c (type_data_last_unref_Wm): don't call class-cache functions
        for the uncached case, this rendered g_type_class_unref_uncached()
        useless. pointed out by Stefan Westerfeld.

20 years agoUpdated Malay translation.
Hasbullah Bin Pit [Mon, 2 Feb 2004 18:13:51 +0000 (18:13 +0000)]
Updated Malay translation.

2004-02-01  Hasbullah Bin Pit <sebol@my-penguin.org>

        * ms.po: Updated Malay translation.

20 years agoAdd g_strsplit_set.
Tor Lillqvist [Sun, 1 Feb 2004 18:17:50 +0000 (18:17 +0000)]
Add g_strsplit_set.

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

* glib/glib.def: Add g_strsplit_set.

20 years agoUpdated Albanian translation
Laurent Dhima [Sat, 31 Jan 2004 16:34:25 +0000 (16:34 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

20 years agoUpdated
Laurent Dhima [Sat, 31 Jan 2004 16:32:25 +0000 (16:32 +0000)]
Updated

20 years agoDon't return FALSE from a pointer function. (#131472, Morten Welinder)
Matthias Clasen [Sat, 31 Jan 2004 02:12:06 +0000 (02:12 +0000)]
Don't return FALSE from a pointer function. (#131472, Morten Welinder)

Sat Jan 31 03:13:56 2004  Matthias Clasen  <maclas@gmx.de>

* glib/garray.c (g_byte_array_remove_range): Don't return FALSE
from a pointer function.  (#131472, Morten Welinder)

20 years agoSize compose_table correctly. (#123421, Simon Josefsson)
Noah Levitt [Fri, 30 Jan 2004 23:20:16 +0000 (23:20 +0000)]
Size compose_table correctly. (#123421, Simon Josefsson)

2004-01-30  Noah Levitt  <nlevitt@columbia.edu>

* glib/gunicomp.h:
* glib/gunidecomp.c:
* glib/gen-unicode-tables.pl: Size compose_table correctly. (#123421,
        Simon Josefsson)

* glib/gen-unicode-tables.pl: Get rid of some new warnings from perl
5.8.1.

20 years agoRemove references to deprecated GTK+ and GDK functions. (#130756, Vincent
Matthias Clasen [Fri, 30 Jan 2004 22:23:59 +0000 (22:23 +0000)]
Remove references to deprecated GTK+ and GDK functions. (#130756, Vincent

Fri Jan 30 23:25:58 2004  Matthias Clasen  <maclas@gmx.de>

* glib/tmpl/iochannels.sgml:
* glib/tmpl/main.sgml: Remove references to deprecated GTK+ and
GDK functions.  (#130756, Vincent Untz)

20 years agoUpdated Korean translation.
Changwoo Ryu [Thu, 29 Jan 2004 18:57:34 +0000 (18:57 +0000)]
Updated Korean translation.

* ko.po: Updated Korean translation.

20 years agoUpdated Italian translation.
Alessio Frusciante [Thu, 29 Jan 2004 09:42:58 +0000 (09:42 +0000)]
Updated Italian translation.

20 years agoFixed Czech translation
Miloslav Trmac [Wed, 28 Jan 2004 10:55:41 +0000 (10:55 +0000)]
Fixed Czech translation