platform/upstream/glib.git
19 years agovi.po: Updated Vietnamese translation.CVS: -------------------------------------...
Clytie Siddall [Mon, 29 Aug 2005 03:33:56 +0000 (03:33 +0000)]
vi.po: Updated Vietnamese translation.CVS: ----------------------------------------------------------------------

19 years agoUpdated Spanish translation
Francisco Javier F. Serrador [Sun, 28 Aug 2005 17:23:28 +0000 (17:23 +0000)]
Updated Spanish translation

2005-08-28  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation

19 years agokill fuzzy.
Tomasz Kłoczko [Sun, 28 Aug 2005 15:49:12 +0000 (15:49 +0000)]
kill fuzzy.

19 years agoUpdated mk translation
Ivan Stojmirov [Sun, 28 Aug 2005 14:57:45 +0000 (14:57 +0000)]
Updated mk translation

19 years agoUpdated Ukrainian translation.
Maxim Dziumanenko [Sun, 28 Aug 2005 14:05:31 +0000 (14:05 +0000)]
Updated Ukrainian translation.

2005-08-28  Maxim Dziumanenko <mvd@mylinux.ua>

* Updated Ukrainian translation.

19 years agoUpdated Catalan translation.
Josep Puigdemont i Casamajó [Sun, 28 Aug 2005 08:21:44 +0000 (08:21 +0000)]
Updated Catalan translation.

19 years agoUpdated Translations
Ankitkumar Rameshchandra Patel [Sun, 28 Aug 2005 07:48:17 +0000 (07:48 +0000)]
Updated Translations

19 years agoUnify some near-duplicate strings. (#314654, Clytie Siddall)
Matthias Clasen [Sun, 28 Aug 2005 06:11:55 +0000 (06:11 +0000)]
Unify some near-duplicate strings. (#314654, Clytie Siddall)

2005-08-28  Matthias Clasen  <mclasen@redhat.com>

* glib/giochannel.c: Unify some near-duplicate strings. (#314654,
Clytie Siddall)

19 years agoUpdated Canadian English translation.
Adam Weinberger [Sat, 27 Aug 2005 23:13:15 +0000 (23:13 +0000)]
Updated Canadian English translation.

2005-08-27  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

19 years agoUpdated Norwegian bokmål translation. Same.
Terance Sola [Sat, 27 Aug 2005 18:00:14 +0000 (18:00 +0000)]
Updated Norwegian bokmål translation. Same.

2005-08-27  Terance Sola  <terance@lyse.net>

* nb.po: Updated Norwegian bokmål translation.
* no.po: Same.

19 years agovi.po: Updated Vietnamese translation.
Clytie Siddall [Sat, 27 Aug 2005 12:30:56 +0000 (12:30 +0000)]
vi.po: Updated Vietnamese translation.

19 years agoUpdated French translation.
Christophe Merlet [Sat, 27 Aug 2005 10:52:06 +0000 (10:52 +0000)]
Updated French translation.

19 years agoUpdated Macedonian Translation
Ivan Stojmirov [Sat, 27 Aug 2005 10:22:04 +0000 (10:22 +0000)]
Updated Macedonian Translation

19 years agoUpdated Translations
Ankitkumar Rameshchandra Patel [Sat, 27 Aug 2005 09:38:49 +0000 (09:38 +0000)]
Updated Translations

19 years agoUpdated Romanian translation by Misu Moldovan <dumol@gnome.ro>
Mugurel Tudor [Sat, 27 Aug 2005 07:22:07 +0000 (07:22 +0000)]
Updated Romanian translation by Misu Moldovan <dumol@gnome.ro>

2005-08-27  Mugurel Tudor  <mugurelu@gnome.ro>

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

19 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Fri, 26 Aug 2005 22:32:52 +0000 (22:32 +0000)]
Updated Spanish translation.

2005-08-27  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

19 years agoAdd new indices
Matthias Clasen [Fri, 26 Aug 2005 19:28:26 +0000 (19:28 +0000)]
Add new indices

19 years agoBump version
Matthias Clasen [Fri, 26 Aug 2005 19:27:01 +0000 (19:27 +0000)]
Bump version

19 years agoUpdated Albanian translation.
Laurent Dhima [Fri, 26 Aug 2005 17:03:12 +0000 (17:03 +0000)]
Updated Albanian translation.

2005-08-26  Laurent Dhima  <laurenti@alblinux.net>

* sq.po: Updated Albanian translation.

19 years agoImprovements pointed out by Behdad Esfahbod (#314460):
Matthias Clasen [Fri, 26 Aug 2005 16:46:09 +0000 (16:46 +0000)]
Improvements pointed out by Behdad Esfahbod (#314460):

2005-08-26  Matthias Clasen  <mclasen@redhat.com>

Improvements pointed out by Behdad Esfahbod (#314460):

* glib/tmpl/strings.sgml: Fix up some character/byte
sloppyness.

* glib/tmpl/iochannels.sgml: Don't mention deprecated
functions in the introduction.

19 years agoUpdated Catalan translation.
Jordi Mallach [Fri, 26 Aug 2005 13:00:04 +0000 (13:00 +0000)]
Updated Catalan translation.

19 years agoTranslation updated by Ivar Smolin.
Priit Laes [Fri, 26 Aug 2005 08:55:34 +0000 (08:55 +0000)]
Translation updated by Ivar Smolin.

2005-08-26  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

19 years agoImprove error reporting. Slight refactoring.
Tor Lillqvist [Fri, 26 Aug 2005 01:43:11 +0000 (01:43 +0000)]
Improve error reporting. Slight refactoring.

2005-08-26  Tor Lillqvist  <tml@novell.com>

* glib/gspawn-win32.c: Improve error reporting. Slight refactoring.

19 years agoMake also the g_spawn*() functions take parameters in the GLib file name
Tor Lillqvist [Thu, 25 Aug 2005 23:28:24 +0000 (23:28 +0000)]
Make also the g_spawn*() functions take parameters in the GLib file name

2005-08-25  Tor Lillqvist  <tml@novell.com>

Make also the g_spawn*() functions take parameters in the GLib
file name encoding, i.e. UTF-8, on Windows. Has no impact on Unix
API or ABI. Like the other GLib API that was earlier changed to
use UTF-8 on Windows, the names of the functions that take UTF-8
have _utf8 suffixes added by using preprocessor macros in the
header file. The old names are kept for functions with the old
behaviour, taking parameters in the system codepage, for DLL ABI
stability.

* glib/gspawn.h: On Win32 add the suffix _utf8 to the names of the
g_spawn*() functions.

* glib/gspawn-win32.c: Use wide-char API on NT-based
Windows. Convert parameters from UTF-8 to wide chars (NT) or
system codepage (Win9x) and call the C library _wspawn*() or
spawn*() functions respectvely. Add DLL ABI stability versions
that take parameters in the system codepage.

* glib/gspawn-win32-helper.c: On NT-based Windows use the
wide-char versions of argv and envp, and use wide-char API to
change directory and spawn the program to run. Remove the verbose
debugging output, it was too complex to modify for the wide-char
features. (Just add temporary debugging printouts if needed, no
need to have them permanently in the source.)

* glib/gspawn.c: Corresponding documentation updates.

* glib/glib.symbols: Corresponding changes: Mark the ABI stability
symbols as PRIVATE, add the new _utf8-suffixed ones.

19 years agoTruncate ChangeLog after moving aside
Owen Taylor [Wed, 24 Aug 2005 18:53:51 +0000 (18:53 +0000)]
Truncate ChangeLog after moving aside

19 years ago(G_MININT64): Cast to gint64.
Stepan Kasal [Wed, 24 Aug 2005 14:14:02 +0000 (14:14 +0000)]
(G_MININT64): Cast to gint64.

19 years agoFix the crt_externs.h include
Matthias Clasen [Wed, 24 Aug 2005 03:11:45 +0000 (03:11 +0000)]
Fix the crt_externs.h include

19 years agoStepan
Stepan Kasal [Tue, 23 Aug 2005 07:16:20 +0000 (07:16 +0000)]
Stepan

19 years agoBump version
Matthias Clasen [Tue, 23 Aug 2005 04:57:18 +0000 (04:57 +0000)]
Bump version

19 years ago2.8.1 GLIB_2_8_1
Matthias Clasen [Tue, 23 Aug 2005 04:35:33 +0000 (04:35 +0000)]
2.8.1

19 years agoPoint out time_t vs GTime pitfalls.
Matthias Clasen [Mon, 22 Aug 2005 15:39:34 +0000 (15:39 +0000)]
Point out time_t vs GTime pitfalls.

2005-08-22  Matthias Clasen  <mclasen@redhat.com>

* glib/tmpl/date.sgml: Point out time_t vs GTime pitfalls.

19 years agoUpdated Korean translation.
Changwoo Ryu [Sun, 21 Aug 2005 18:16:37 +0000 (18:16 +0000)]
Updated Korean translation.

2005-08-22  Changwoo Ryu  <cwryu@debian.org>

* ko.po: Updated Korean translation.

19 years agolink with ws2_32.lib
Hans Breuer [Sat, 20 Aug 2005 13:26:19 +0000 (13:26 +0000)]
link with ws2_32.lib

2005-08-20  Hans Breuer  <hans@breuer.org>

* glib/makefile.msc.in : link with ws2_32.lib

19 years agoUpdated Welsh translation.
Rhys Jones [Thu, 18 Aug 2005 17:24:10 +0000 (17:24 +0000)]
Updated Welsh translation.

2005-08-18  Rhys Jones  <rhys@sucs.org>

* cy.po: Updated Welsh translation.

19 years agoCheck for <sys/wait.h>
Tor Lillqvist [Thu, 18 Aug 2005 13:08:18 +0000 (13:08 +0000)]
Check for <sys/wait.h>

2005-08-18  Tor Lillqvist  <tml@novell.com>

* configure.in: Check for <sys/wait.h>

* glib/gbacktrace.c: Include <sys/wait.h> on if HAVE_SYS_WAIT_H.

19 years agoOptimise single-character insertions
Ross Burton [Thu, 18 Aug 2005 09:30:24 +0000 (09:30 +0000)]
Optimise single-character insertions

19 years agoCheck for crt_externs.h and _NSGetEnviron.
Matthias Clasen [Wed, 17 Aug 2005 18:31:08 +0000 (18:31 +0000)]
Check for crt_externs.h and _NSGetEnviron.

2005-08-17  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Check for crt_externs.h and _NSGetEnviron.

* glib/gutils.c: On Darwin, include crt-externs.h and
define environ using _NSGetEnviron().  (#313731)

19 years agoMove the body of the big if... (g_get_any_init_do): ... to this new
Stepan Kasal [Wed, 17 Aug 2005 12:00:51 +0000 (12:00 +0000)]
Move the body of the big if... (g_get_any_init_do): ... to this new

2005-08-16  Stepan Kasal  <kasal@ucw.cz>

* glib/gutils.c (g_get_any_init): Move the body of the big if...
(g_get_any_init_do): ... to this new function.
(g_get_any_init): Declare as inline.
(g_get_any_init_locked): New inline function, does the locking.
Make use of these two throughout the code.

19 years agoWait for the child process and then simply return. This makes The "S"
Matthias Clasen [Mon, 15 Aug 2005 19:32:32 +0000 (19:32 +0000)]
Wait for the child process and then simply return. This makes The "S"

2005-08-15  Matthias Clasen  <mclasen@redhat.com>

* glib/gbacktrace.c (g_on_error_stack_trace): Wait for
the child process and then simply return. This makes
The "S" option work as documented in g_on_error_query().
(#313125, Matthew F. Barnes)

19 years agoUpdate the link to Unicode category values. (#313369, Behnam Esfahbod)
Matthias Clasen [Mon, 15 Aug 2005 18:49:11 +0000 (18:49 +0000)]
Update the link to Unicode category values. (#313369, Behnam Esfahbod)

2005-08-15  Matthias Clasen  <mclasen@redhat.com>

* glib/gunicode.h: Update the link to Unicode category
values.  (#313369, Behnam Esfahbod)

19 years agoFix some formatting problems.
Matthias Clasen [Mon, 15 Aug 2005 18:45:27 +0000 (18:45 +0000)]
Fix some formatting problems.

19 years agoDocument that file_name can be NULL. (#313143, Gustavo Carneiro)
Matthias Clasen [Mon, 15 Aug 2005 18:35:30 +0000 (18:35 +0000)]
Document that file_name can be NULL. (#313143, Gustavo Carneiro)

2005-08-15  Matthias Clasen  <mclasen@redhat.com>

* glib/tmpl/modules.sgml: Document that file_name can
be NULL.  (#313143, Gustavo Carneiro)

19 years agoClarify docs a little. (#311727, Tristan van Berkom)
Matthias Clasen [Mon, 15 Aug 2005 18:28:12 +0000 (18:28 +0000)]
Clarify docs a little. (#311727, Tristan van Berkom)

2005-08-15  Matthias Clasen  <mclasen@redhat.com>

* glib/gqueue.c (g_queue_find_custom): Clarify docs
a little.  (#311727, Tristan van Berkom)

19 years agoUpdated Ukrainian translation.
Maxim Dziumanenko [Mon, 15 Aug 2005 17:53:13 +0000 (17:53 +0000)]
Updated Ukrainian translation.

2005-08-15  Maxim Dziumanenko <mvd@mylinux.ua>

* Updated Ukrainian translation.

19 years agoUpdated Catalan translation.
Jordi Mallach [Mon, 15 Aug 2005 17:04:35 +0000 (17:04 +0000)]
Updated Catalan translation.

19 years agoUpdated Romanian translation by Misu Moldovan <dumol@gnome.ro>
Mugurel Tudor [Mon, 15 Aug 2005 13:23:02 +0000 (13:23 +0000)]
Updated Romanian translation by Misu Moldovan <dumol@gnome.ro>

2005-08-15  Mugurel Tudor  <mugurelu@gnome.ro>

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

19 years agoFix abi checks for ia64.
Matthias Clasen [Mon, 15 Aug 2005 05:00:57 +0000 (05:00 +0000)]
Fix abi checks for ia64.

19 years agoBump version
Matthias Clasen [Fri, 12 Aug 2005 17:45:16 +0000 (17:45 +0000)]
Bump version

19 years ago2.8.0 GLIB_2_8_0
Matthias Clasen [Fri, 12 Aug 2005 17:18:55 +0000 (17:18 +0000)]
2.8.0

19 years agoSpecial-case flag value of 0. Instead of returning the first random
Tim-Philipp Müller [Fri, 12 Aug 2005 16:09:19 +0000 (16:09 +0000)]
Special-case flag value of 0. Instead of returning the first random

* gobject/genums.c: (g_flags_get_first_value): Special-case flag
value of 0. Instead of returning the first random GFlagsValue
we come across, return the GFlagsValue for 0 if it exists or
NULL if it does not exist. Never return the GFlagsValue for 0
if the requested flags value is nonzero.

19 years agoUpdated Greek Translation
Kostas Papadimas [Fri, 12 Aug 2005 15:43:04 +0000 (15:43 +0000)]
Updated Greek Translation

19 years agoBump version to 2.8.0
Matthias Clasen [Fri, 12 Aug 2005 12:56:57 +0000 (12:56 +0000)]
Bump version to 2.8.0

19 years agotwo stylistic fixes
Stepan Kasal [Fri, 12 Aug 2005 09:27:49 +0000 (09:27 +0000)]
two stylistic fixes

19 years agoShut up CVS
Manish Singh [Fri, 12 Aug 2005 00:07:17 +0000 (00:07 +0000)]
Shut up CVS

19 years agoUse "localhost" as fallback for g_get_host_name(), not "unknown".
Tor Lillqvist [Wed, 10 Aug 2005 21:13:29 +0000 (21:13 +0000)]
Use "localhost" as fallback for g_get_host_name(), not "unknown".

2005-08-11  Tor Lillqvist  <tml@novell.com>

* glib/gutils.c (g_get_any_init): Use "localhost" as fallback for
g_get_host_name(), not "unknown".

19 years agofix typos
Stepan Kasal [Wed, 10 Aug 2005 11:07:55 +0000 (11:07 +0000)]
fix typos

19 years agoa typo
Stepan Kasal [Wed, 10 Aug 2005 10:56:46 +0000 (10:56 +0000)]
a typo

19 years agomanual emulation of refresh of manual pages
Stepan Kasal [Wed, 10 Aug 2005 10:49:46 +0000 (10:49 +0000)]
manual emulation of refresh of manual pages

19 years agoFix typos: invokation -> invocation.
Stepan Kasal [Wed, 10 Aug 2005 10:46:55 +0000 (10:46 +0000)]
Fix typos: invokation -> invocation.

19 years agoTake a va_list*, not a va_list, to avoid compiler warnings about
Matthias Clasen [Wed, 10 Aug 2005 04:07:47 +0000 (04:07 +0000)]
Take a va_list*, not a va_list, to avoid compiler warnings about

2005-08-10  Matthias Clasen  <mclasen@redhat.com>

* glib/gfileutils.c (g_build_path_va, g_build_pathname_va):
Take a va_list*, not a va_list, to avoid compiler warnings
about uninitialized variables.

19 years agoAdd it here.
Matthias Clasen [Tue, 9 Aug 2005 19:20:33 +0000 (19:20 +0000)]
Add it here.

2005-08-09  Matthias Clasen  <mclasen@redhat.com>

* tests/gobject/Makefile.am (test_programs): Add it here.

* tests/gobject/gvalue-test.c: Beginning of a test suite
for GValue.

19 years agoUpdates
Matthias Clasen [Tue, 9 Aug 2005 14:10:19 +0000 (14:10 +0000)]
Updates

19 years agoAccess enum and flags values as v_long/v_ulong, not v_int/v_uint, to make
Matthias Clasen [Tue, 9 Aug 2005 14:04:37 +0000 (14:04 +0000)]
Access enum and flags values as v_long/v_ulong, not v_int/v_uint, to make

2005-08-09  Matthias Clasen  <mclasen@redhat.com>

* gvaluetransform.c: Access enum and flags
values as v_long/v_ulong, not v_int/v_uint,
to make value transformation of such types
work on bigendian 64bit machines.  (#312485,
Michael Lorenz)

19 years agoInitialize variables to not make gcc nervous.
Matthias Clasen [Tue, 9 Aug 2005 02:45:20 +0000 (02:45 +0000)]
Initialize variables to not make gcc nervous.

2005-08-08  Matthias Clasen  <mclasen@redhat.com>

* glib/gutils.c (_g_compute_locale_variants): Initialize
variables to not make gcc nervous.

19 years agoremove stray -V option to grep so it actually works.
Manish Singh [Tue, 9 Aug 2005 00:25:18 +0000 (00:25 +0000)]
remove stray -V option to grep so it actually works.

2005-08-08  Manish Singh  <yosh@gimp.org>

        * glib/abicheck.sh: remove stray -V option to grep so it actually
        works.

19 years agoEnable the endianness test.
Matthias Clasen [Mon, 8 Aug 2005 19:50:38 +0000 (19:50 +0000)]
Enable the endianness test.

2005-08-08  Matthias Clasen  <mclasen@redhat.com>

* tests/convert-test.c: Enable the endianness test.

* glib/gconvert.c: Make the caching of iconv descriptors
optional.

* configure.in: Add an --enable-iconv-cache option, and
default to disabling iconv caching on new enough glibc.
Somebody with access to Solaris systems will need to test
if opening/closing of iconv descriptors is enough of
a performance problem to warrant the caching on that
platform. Note that the caching is causing correctness
problems in some corner cases, thus turning it off
is desirable unless it has severe performance implications.

19 years agoFix up the testcase
Matthias Clasen [Mon, 8 Aug 2005 17:02:33 +0000 (17:02 +0000)]
Fix up the testcase

19 years agoAdd a test for endianness handling.
Matthias Clasen [Mon, 8 Aug 2005 16:48:23 +0000 (16:48 +0000)]
Add a test for endianness handling.

2005-08-08  Matthias Clasen  <mclasen@redhat.com>

* tests/convert-test.c: Add a test for
endianness handling.

19 years agoAdded Telugu translation done by Vikram Phaneendra <vikramphaneendra@yahoo.co.in...
Sunil Mohan Adapa [Mon, 8 Aug 2005 09:54:32 +0000 (09:54 +0000)]
Added Telugu translation done by Vikram Phaneendra <vikramphaneendra@yahoo.co.in>, Dandu Prasad <dandu_prasad2000@yahoo.com> and Ramana Sai <rmn_sai@yahoo.co.in>

19 years agoAdd convert-test here.
Matthias Clasen [Mon, 8 Aug 2005 05:30:20 +0000 (05:30 +0000)]
Add convert-test here.

2005-08-08  Matthias Clasen  <mclasen@redhat.com>

* tests/Makefile.am: Add convert-test here.

* tests/convert-test.c: Add the beginning of a testsuite
for g_convert() and friends.

19 years agoImprove ABI checks
Matthias Clasen [Sat, 6 Aug 2005 15:34:38 +0000 (15:34 +0000)]
Improve ABI checks

19 years agoImprove ABI checking
Matthias Clasen [Sat, 6 Aug 2005 15:26:49 +0000 (15:26 +0000)]
Improve ABI checking

19 years agoSmall fixes.
Matthias Clasen [Sat, 6 Aug 2005 03:40:07 +0000 (03:40 +0000)]
Small fixes.

2005-08-05  Matthias Clasen  <mclasen@redhat.com>

* gobject/tmpl/gparamspec.sgml:
* glib/tmpl/types.sgml:
* glib/tmpl/option.sgml: Small fixes.

19 years agoremove unused n_threads variable.
Manish Singh [Sat, 6 Aug 2005 00:33:49 +0000 (00:33 +0000)]
remove unused n_threads variable.

2005-08-05  Manish Singh  <yosh@gimp.org>

        * tests/refcount/closures.c: remove unused n_threads variable.

19 years agoShut up CVS
Manish Singh [Sat, 6 Aug 2005 00:32:33 +0000 (00:32 +0000)]
Shut up CVS

19 years agoSmall fixes
Matthias Clasen [Fri, 5 Aug 2005 20:40:52 +0000 (20:40 +0000)]
Small fixes

2005-08-05  Matthias Clasen  <mclasen@redhat.com>

* gobject/tmpl/generic_values.sgml: Small fixes

19 years agoBump version
Matthias Clasen [Fri, 5 Aug 2005 16:10:41 +0000 (16:10 +0000)]
Bump version

19 years ago2.7.7 GLIB_2_7_7
Matthias Clasen [Fri, 5 Aug 2005 16:09:42 +0000 (16:09 +0000)]
2.7.7

19 years agoAlways export g_atomic_int_get and g_atomic_pointer_get as functions, even
Matthias Clasen [Thu, 4 Aug 2005 17:21:03 +0000 (17:21 +0000)]
Always export g_atomic_int_get and g_atomic_pointer_get as functions, even

2005-08-04  Matthias Clasen  <mclasen@redhat.com>

* glib/glib.symbols:
* glib/gatomic.[hc]: Always export g_atomic_int_get and
g_atomic_pointer_get as functions, even if we have macros,
to avoid changing the ABI depending on configuration.

* glib/gatomic.c: Fix the s390 implementations of
g_atomic_pointer_compare_and_exchange.

19 years agoMove the G_BEGIN_DECLS/G_END_DECLS pair outside the #if/#else/#endif
Tor Lillqvist [Thu, 4 Aug 2005 17:07:21 +0000 (17:07 +0000)]
Move the G_BEGIN_DECLS/G_END_DECLS pair outside the #if/#else/#endif

2005-08-04  Tor Lillqvist  <tml@novell.com>

* glib/gstdio.h: Move the G_BEGIN_DECLS/G_END_DECLS pair outside
the #if/#else/#endif block. Otherwise we had G_BEGIN_DECLS without
matching G_END_DECLS on Unix, and G_END_DECLS without matching
G_BEGIN_DECLS on Win32.

19 years agoBump version
Matthias Clasen [Wed, 3 Aug 2005 21:03:17 +0000 (21:03 +0000)]
Bump version

19 years ago2.7.6 GLIB_2_7_6
Matthias Clasen [Wed, 3 Aug 2005 20:58:37 +0000 (20:58 +0000)]
2.7.6

19 years agoSmall doc updates
Ross Burton [Wed, 3 Aug 2005 20:24:18 +0000 (20:24 +0000)]
Small doc updates

19 years agoMark the vint member as volatile, which seems to be necessary to make
Matthias Clasen [Wed, 3 Aug 2005 20:20:47 +0000 (20:20 +0000)]
Mark the vint member as volatile, which seems to be necessary to make

2005-08-02  Matthias Clasen  <mclasen@redhat.com>

        * gclosure.c (union ClosureInt): Mark the vint member as
        volatile, which seems to be necessary to make atomic operations
        work on s390.

19 years agoAdd native atomic operations for s390.
Matthias Clasen [Wed, 3 Aug 2005 20:18:15 +0000 (20:18 +0000)]
Add native atomic operations for s390.

2005-08-03  Matthias Clasen  <mclasen@redhat.com>

        * glib/gatomic.c: Add native atomic operations
        for s390.

        * configure.in: ... and use them on s390.

19 years agoFix Docbook tag typo
Ross Burton [Wed, 3 Aug 2005 19:44:52 +0000 (19:44 +0000)]
Fix Docbook tag typo

19 years agoAdd G_BEGIN_DECLS/G_END_DECLS. (#312424)
Matthias Clasen [Wed, 3 Aug 2005 13:59:43 +0000 (13:59 +0000)]
Add G_BEGIN_DECLS/G_END_DECLS. (#312424)

2005-08-03  Matthias Clasen  <mclasen@redhat.com>

* glib/gstdio.h: Add G_BEGIN_DECLS/G_END_DECLS.  (#312424)

19 years agoName fixes
Matthias Clasen [Tue, 2 Aug 2005 21:30:49 +0000 (21:30 +0000)]
Name fixes

19 years agoDon't go in an infinite loop if the input text ends in an incomplete
Matthias Clasen [Tue, 2 Aug 2005 21:10:16 +0000 (21:10 +0000)]
Don't go in an infinite loop if the input text ends in an incomplete

2005-08-02  Matthias Clasen  <mclasen@redhat.com>

* glib/gconvert.c (g_convert_with_iconv): Don't go in an
infinite loop if the input text ends in an incomplete multibyte
character.  (#312402, Sebastian Bacher)

19 years agoBump version
Matthias Clasen [Tue, 2 Aug 2005 16:22:17 +0000 (16:22 +0000)]
Bump version

19 years ago2.7.5 GLIB_2_7_5
Matthias Clasen [Tue, 2 Aug 2005 16:17:48 +0000 (16:17 +0000)]
2.7.5

19 years agoRemove accidental documentation redundancies
Matthias Clasen [Tue, 2 Aug 2005 15:45:08 +0000 (15:45 +0000)]
Remove accidental documentation redundancies

19 years agoCleanup converter state after the conversion. Document streaming
Matthias Clasen [Tue, 2 Aug 2005 14:58:20 +0000 (14:58 +0000)]
Cleanup converter state after the conversion. Document streaming

2005-08-02  Matthias Clasen  <mclasen@redhat.com>

* glib/gconvert.c (g_convert_with_iconv, g_convert_with_fallback):
Cleanup converter state after the conversion. Document streaming
conversion pitfalls.  (#311337)

19 years agoForgotten log entry
Matthias Clasen [Tue, 2 Aug 2005 13:42:41 +0000 (13:42 +0000)]
Forgotten log entry

19 years agotests/refcount/objects.c tests/refcount/properties.c Use g_usleep()
Tor Lillqvist [Tue, 2 Aug 2005 06:55:38 +0000 (06:55 +0000)]
tests/refcount/objects.c tests/refcount/properties.c Use g_usleep()

2005-08-02  Tor Lillqvist  <tml@novell.com>

* tests/refcount/objects.c
* tests/refcount/properties.c
* tests/refcount/signals.c: Use g_usleep() instead of sleep() for
portability.

19 years agotest high contention on closure reference counts to trigger and catch
Tim Janik [Mon, 1 Aug 2005 21:47:15 +0000 (21:47 +0000)]
test high contention on closure reference counts to trigger and catch

Mon Aug  1 23:33:47 2005  Tim Janik  <timj@imendio.com>

        * tests/refcount/closures.c: test high contention on closure
        reference counts to trigger and catch non-atomic updates.

        * tests/refcount/objects.c:
        * tests/refcount/objects2.c:
        * tests/refcount/properties.c:
        * tests/refcount/properties2.c:
        * tests/refcount/signals.c:
        fixed up test and threading fundamentals. variables accessed from all
        threads need to be volatile. context switches are enforced by using
        g_thread_yield(), not g_usleep(1) which may result in busy waits on
        some platforms. for testcode, always consider all warnings and
        critical messages fatal. issue the currently running program on
        stdout. improved progress indicators.

        * tests/refcount/properties.c:
        * tests/refcount/objects.c:
        don't overdo the number of testing threads to keep the testing machine
        usable, 2 threads can produce as much contention as 20 if executing the
        same code.

        * tests/refcount/signals.c: only start 1 thread per object. GObject
        doesn't provide mutually exclusive object access, but only mutually
        exclusive reference count modification.

        * tests/Makefile.am: added closures test.

19 years agoturned all modifications to the first 32 integer bits in a closure into
Tim Janik [Mon, 1 Aug 2005 21:17:50 +0000 (21:17 +0000)]
turned all modifications to the first 32 integer bits in a closure into

Mon Aug  1 23:00:42 2005  Tim Janik  <timj@imendio.com>

        * gclosure.c: turned all modifications to the first 32 integer bits in a
        closure into atomic accesses. wrapped write accesses into special macros
        to keep the atomic modification logic in a single place. comment cleanups.

        * gclosure.h: made all atomicly accessed closure fields volatile.

        * gobject.h: made ref_count field volatile.

19 years agoMinor simplification in safe_strcmp_filename().
Tor Lillqvist [Mon, 1 Aug 2005 19:25:37 +0000 (19:25 +0000)]
Minor simplification in safe_strcmp_filename().

19 years agoUgh, fix braino.
Tor Lillqvist [Mon, 1 Aug 2005 19:23:10 +0000 (19:23 +0000)]
Ugh, fix braino.

19 years agoMake it pass on Win32. (from_uri_tests[]): Take into consideration that on
Tor Lillqvist [Mon, 1 Aug 2005 19:17:35 +0000 (19:17 +0000)]
Make it pass on Win32. (from_uri_tests[]): Take into consideration that on

2005-08-01  Tor Lillqvist  <tml@novell.com>

* tests/uri-test.c: Make it pass on Win32.
(from_uri_tests[]): Take into consideration that on Win32 we don't
return "localhost" hostnames.
(safe_strcmp_filename): New function that considers slash and
backslash equal on Win32.
(run_roundtrip_tests): Use safe_strcmp_filename().