platform/upstream/glib.git
20 years agoUpdated Albanian translation
Laurent Dhima [Thu, 15 Jan 2004 23:31:08 +0000 (23:31 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

20 years agoUpdated
Laurent Dhima [Thu, 15 Jan 2004 23:29:33 +0000 (23:29 +0000)]
Updated

20 years agoMove initialization of variables after g_return_val_if_fail. (#131564,
Matthias Clasen [Thu, 15 Jan 2004 21:33:58 +0000 (21:33 +0000)]
Move initialization of variables after g_return_val_if_fail. (#131564,

Thu Jan 15 22:35:04 2004  Matthias Clasen  <maclas@gmx.de>

* glib/gstring.c (g_string_up):
* glib/gstring.c (g_string_down):
* glib/gstring.c (g_string_ascii_up):
* glib/gstring.c (g_string_ascii_down): Move initialization of
variables after g_return_val_if_fail.  (#131564, Olivier Poncet)

20 years agoIrish translation
Alastair McKinstry [Tue, 13 Jan 2004 21:33:09 +0000 (21:33 +0000)]
Irish translation

20 years agoUpdated Norwegian translation.
Kjartan Maraas [Tue, 13 Jan 2004 20:18:29 +0000 (20:18 +0000)]
Updated Norwegian translation.

2004-01-13  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

20 years agoAdd G_MAXSIZE, define in terms of G_MAXUfoo.
Manish Singh [Mon, 12 Jan 2004 00:16:18 +0000 (00:16 +0000)]
Add G_MAXSIZE, define in terms of G_MAXUfoo.

Sun Jan 11 16:13:20 2004  Manish Singh  <yosh@gimp.org>

        * configure.in: Add G_MAXSIZE, define in terms of G_MAXUfoo.

        * tests/type-test.c: Add test for G_MAXSIZE.

        * glibconfig.h.win32.in: Cleanup, add some missing bits.

20 years ago#define _POSIX_SOURCE for SSIZE_MAX. Fixes #128853.
Manish Singh [Mon, 12 Jan 2004 00:06:54 +0000 (00:06 +0000)]
#define _POSIX_SOURCE for SSIZE_MAX. Fixes #128853.

Sun Jan 11 16:05:35 2004  Manish Singh  <yosh@gimp.org>

        * glib/giounix.c: #define _POSIX_SOURCE for SSIZE_MAX. Fixes #128853.

20 years agowrap g_io_channel_ref in a function that returns the passed in GIOChannel,
Manish Singh [Sun, 11 Jan 2004 23:59:49 +0000 (23:59 +0000)]
wrap g_io_channel_ref in a function that returns the passed in GIOChannel,

Sun Jan 11 15:34:35 2004  Manish Singh  <yosh@gimp.org>

        * gsourceclosure.c: wrap g_io_channel_ref in a function that returns
        the passed in GIOChannel, so we aren't abusing GBoxedCopyFunc
        semantics. Fixes bug #131076.

20 years agoImprove docs for G_DEFINE_TYPE_* macros.
Matthias Clasen [Sun, 11 Jan 2004 00:23:57 +0000 (00:23 +0000)]
Improve docs for G_DEFINE_TYPE_* macros.

Sun Jan 11 01:25:44 2004  Matthias Clasen  <maclas@gmx.de>

* gobject/tmpl/gtype.sgml: Improve docs for G_DEFINE_TYPE_* macros.

Sun Jan 11 01:25:29 2004  Matthias Clasen  <maclas@gmx.de>

* gobject/gobject-sections.txt: Add G_DEFINE_TYPE_EXTENDED.

20 years agoDocument the lowercase_name trigraph option.
Matthias Clasen [Sat, 10 Jan 2004 22:57:59 +0000 (22:57 +0000)]
Document the lowercase_name trigraph option.

Sat Jan 10 23:55:42 2004  Matthias Clasen  <maclas@gmx.de>

* glib-mkenums.1: Document the lowercase_name trigraph option.

20 years ago64-bit cleanliness fixes.
Manish Singh [Sat, 10 Jan 2004 08:15:24 +0000 (08:15 +0000)]
64-bit cleanliness fixes.

Sat Jan 10 00:11:12 2004  Manish Singh  <yosh@gimp.org>

        * glib/gutils.h (g_bit_nth_lsf,g_bit_nth_msf): 64-bit cleanliness
        fixes.

        * docs/reference/glib/tmpl/misc_utils.sgml: update to reflect the
        above take gulongs now. My docs suck, someone should revisit it.

20 years agomade G_DEFINE_TYPE_INTERNAL() public by renaming it to
Tim Janik [Sat, 10 Jan 2004 01:46:23 +0000 (01:46 +0000)]
made G_DEFINE_TYPE_INTERNAL() public by renaming it to

Sat Jan 10 02:43:20 2004  Tim Janik  <timj@gtk.org>

        * gtype.h: made G_DEFINE_TYPE_INTERNAL() public by renaming it to
        G_DEFINE_TYPE_EXTENDED() and moving it into the appropriate section.

20 years agoAdd the init_by_array functionality from the reference implementation of
George Lebl [Sat, 10 Jan 2004 01:38:55 +0000 (01:38 +0000)]
Add the init_by_array functionality from the reference implementation of

Fri Dec 19 11:49:21 2003  George Lebl <jirka@5z.com>

        * glib/grand.c
          glib/grand.h (g_rand_new) (g_rand_new_with_seed)
          (g_rand_new_with_seed_array) (g_rand_set_seed_array):  Add
          the init_by_array functionality from the reference implementation
          of the mersenne twister (mt19937ar.c) and change the naming
          to fit with the rest of the grand API.  New functions are
          g_rand_new_with_seed_array, g_rand_set_seed_array.  This is only
          reliable/tested for the 2.2 version of the seeding as that's what
          the reference implementation uses.  Also modify g_rand_new to
          get 4 longs from /dev/urandom since that will always be available
          anyway and we get more entropy and if /dev/urandom is unavailable
          use also 4 longs for seeding using secs, usecs, getpid and getppid.
          For version 2.0 use only a simple seed again but be more careful
          about seeding with secs/usecs in this case.

        * glib/grand.c
          glib/grand.h (g_rand_copy):  Add g_rand_copy function to copy the
          current state of the random number generator.

        * glib/grand.c (g_rand_new):  Add testing for EINTR when reading
          from /dev/urandom

        * tests/rand-test.c: add testing of the array seeding stuff against
          the reference implementation, plus add statistical sanity check
          to see that the values outputted are truly kind of random.  And
          check that g_rand_copy truly copies the state by checking a few
          terms.

20 years agoDocument the new GType boilerplate macros with an example.
Matthias Clasen [Sat, 10 Jan 2004 01:16:47 +0000 (01:16 +0000)]
Document the new GType boilerplate macros with an example.

Sat Jan 10 02:18:32 2004  Matthias Clasen  <maclas@gmx.de>

* gobject/tmpl/gtype.sgml: Document the new GType boilerplate macros
with an example.

20 years agoDocument g_type_class_peek_static.
Matthias Clasen [Sat, 10 Jan 2004 00:34:26 +0000 (00:34 +0000)]
Document g_type_class_peek_static.

Sat Jan 10 01:36:01 2004  Matthias Clasen  <maclas@gmx.de>

* gobject/tmpl/gtype.sgml: Document g_type_class_peek_static.

Sat Jan 10 01:23:58 2004  Matthias Clasen  <maclas@gmx.de>

* gobject/gobject-sections.txt: Add g_type_class_peek_static,
G_DEFINE_TYPE, G_DEFINE_TYPE_WITH_CODE, G_DEFINE_ABSTRACT_TYPE,
G_DEFINE_ABSTRACT_TYPE_WITH_CODE, G_IMPLEMENT_INTERFACE.

Sat Jan 10 01:23:01 2004  Matthias Clasen  <maclas@gmx.de>

* gobject/tmpl/objects.sgml: Update docs of g_object_connect.

Fri Jan  9 23:40:23 2004  Matthias Clasen  <maclas@gmx.de>

* gobject/tmpl/gboxed.sgml:
* gobject/gobject-sections.txt: Add G_TYPE_STRV and GStrv.

20 years agoAdd a boxed type for nul-terminated string arrays. (#110528)
Matthias Clasen [Fri, 9 Jan 2004 22:39:55 +0000 (22:39 +0000)]
Add a boxed type for nul-terminated string arrays. (#110528)

Fri Jan  9 23:41:00 2004  Matthias Clasen  <maclas@gmx.de>

* gboxed.h:
* gboxed.c (g_strv_get_type): Add a boxed type for nul-terminated
string arrays.  (#110528)

20 years agoadded convenience macros G_IMPLEMENT_INTERFACE() and G_DEFINE_TYPE() plus
Tim Janik [Fri, 9 Jan 2004 14:40:31 +0000 (14:40 +0000)]
added convenience macros G_IMPLEMENT_INTERFACE() and G_DEFINE_TYPE() plus

Fri Jan  9 15:34:15 2004  Tim Janik  <timj@gtk.org>

        * gtype.h: added convenience macros G_IMPLEMENT_INTERFACE() and
        G_DEFINE_TYPE() plus variants.

20 years agoUpdated Mongolian translation.
Sanlig Badral [Wed, 7 Jan 2004 00:20:19 +0000 (00:20 +0000)]
Updated Mongolian translation.

20 years agoCheck defined (__OPTIMIZE__) not __OPTIMIZE__. (Zack Rusin)
Owen Taylor [Tue, 6 Jan 2004 20:45:21 +0000 (20:45 +0000)]
Check defined (__OPTIMIZE__) not __OPTIMIZE__. (Zack Rusin)

Tue Jan  6 15:38:30 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gutils.h: Check defined (__OPTIMIZE__) not
        __OPTIMIZE__. (Zack Rusin)

20 years agoUpdated German translation.
Christian Neumair [Tue, 6 Jan 2004 14:07:46 +0000 (14:07 +0000)]
Updated German translation.

20 years agoUpdated Persian translation.
Roozbeh Pournader [Thu, 1 Jan 2004 15:08:38 +0000 (15:08 +0000)]
Updated Persian translation.

2004-01-01  Roozbeh Pournader  <roozbeh@sharif.edu>

* fa.po: Updated Persian translation.

20 years agoUpdated Norwegian Nynorsk translation.
Åsmund Skjæveland [Thu, 1 Jan 2004 13:27:01 +0000 (13:27 +0000)]
Updated Norwegian Nynorsk translation.

2004-01-01  Åsmund Skjæveland  <aasmunds@fys.uio.no>

* nn.po: Updated Norwegian Nynorsk translation.

21 years ago*** empty log message ***
Denis Lackovic [Thu, 1 Jan 2004 00:11:59 +0000 (00:11 +0000)]
*** empty log message ***

21 years agoAdded a lowercase_name option, to be used next to the enum declaration,
Murray Cumming [Tue, 30 Dec 2003 10:42:57 +0000 (10:42 +0000)]
Added a lowercase_name option, to be used next to the enum declaration,

2003-12-30  Murray Cumming  <murrayc@usa.net>

        * gobject/glib-mkenums.in: Added a lowercase_name option, to be used
        next to the enum declaration, where the flag option is already used,
        when it is not possible to guess where to put the underscores in the
        _get_type() function name, for instance for GNOMEVFSURIHide.

21 years agoCVS_SILENT
Görkem Çetin [Sun, 28 Dec 2003 20:56:54 +0000 (20:56 +0000)]
CVS_SILENT

21 years agoUpdated Norwegian Nynorsk translation.
Åsmund Skjæveland [Fri, 26 Dec 2003 23:31:19 +0000 (23:31 +0000)]
Updated Norwegian Nynorsk translation.

2003-12-27  Åsmund Skjæveland  <aasmunds@fys.uio.no>

* nn.po: Updated Norwegian Nynorsk translation.

21 years agoNew function to call a function for each element of a GPtrArray. (#114790)
Matthias Clasen [Fri, 26 Dec 2003 01:04:12 +0000 (01:04 +0000)]
New function to call a function for each element of a GPtrArray. (#114790)

Fri Dec 26 02:03:58 2003  Matthias Clasen  <maclas@gmx.de>

* glib/garray.[hc] (g_ptr_array_foreach): New function to
call a function for each element of a GPtrArray.  (#114790)

* tests/array-test.c (main): Add a test for g_ptr_array_foreach().

21 years agoDon't acquire a read lock here. (#106433, Owen Taylor)
Matthias Clasen [Fri, 26 Dec 2003 00:36:56 +0000 (00:36 +0000)]
Don't acquire a read lock here. (#106433, Owen Taylor)

Fri Dec 26 01:34:01 2003  Matthias Clasen  <maclas@gmx.de>

* gtype.c (g_type_class_peek_parent): Don't acquire a read lock
here.  (#106433, Owen Taylor)

21 years agoQuote macro names to support reading the file multiple times. (#125537)
Matthias Clasen [Sun, 21 Dec 2003 21:57:32 +0000 (21:57 +0000)]
Quote macro names to support reading the file multiple times. (#125537)

Sun Dec 21 22:57:58 2003  Matthias Clasen  <maclas@gmx.de>

* m4macros/glib-gettext.m4: Quote macro names to support
reading the file multiple times.  (#125537)

21 years agoFix the locking of the mem_chunks list. (#127096, Balazs Scheidler)
Matthias Clasen [Sun, 21 Dec 2003 21:51:39 +0000 (21:51 +0000)]
Fix the locking of the mem_chunks list. (#127096, Balazs Scheidler)

Sun Dec 21 22:42:42 2003  Matthias Clasen  <maclas@gmx.de>

* glib/gmem.c (g_mem_chunk_destroy): Fix the locking of the
mem_chunks list.  (#127096, Balazs Scheidler)

21 years agoDocument the encoding of g_get_real_name().
Matthias Clasen [Sun, 21 Dec 2003 00:01:03 +0000 (00:01 +0000)]
Document the encoding of g_get_real_name().

Sun Dec 21 01:01:34 2003  Matthias Clasen  <maclas@gmx.de>

* glib/tmpl/misc_utils.sgml: Document the encoding of
g_get_real_name().

21 years agoUpdated Arabic translation
Arafat Medini [Sat, 20 Dec 2003 10:53:00 +0000 (10:53 +0000)]
Updated Arabic translation

2003-12-20  Arafat Medini  <lumina@silverpen.de>

* ar.po: Updated Arabic translation

21 years agoSome rewording.
Matthias Clasen [Fri, 19 Dec 2003 20:39:37 +0000 (20:39 +0000)]
Some rewording.

21 years agoUse g_assert() instead of g_return_val_if_fail(), suggested by Sheldon
Matthias Clasen [Wed, 17 Dec 2003 22:29:07 +0000 (22:29 +0000)]
Use g_assert() instead of g_return_val_if_fail(), suggested by Sheldon

Wed Dec 17 23:29:17 2003  Matthias Clasen  <maclas@gmx.de>

* gvalue.c (g_value_peek_pointer): Use g_assert() instead of
g_return_val_if_fail(), suggested by Sheldon Simms.

21 years agomake g_file_test(,G_FILE_TEST_IS_EXECUTABLE) return something useful on
Hans Breuer [Sun, 14 Dec 2003 19:05:29 +0000 (19:05 +0000)]
make g_file_test(,G_FILE_TEST_IS_EXECUTABLE) return something useful on

2003-12-14  Hans Breuer  <hans@breuer.org>

* glib/gfileutils.c : make g_file_test(,G_FILE_TEST_IS_EXECUTABLE)
return something useful on win32, too.

21 years agoget_filename_charset() needs to return false for filenames not encoded in
Hans Breuer [Sat, 13 Dec 2003 14:38:18 +0000 (14:38 +0000)]
get_filename_charset() needs to return false for filenames not encoded in

2003-12-13  Hans Breuer  <hans@breuer.org>

* glib/gconvert.c : get_filename_charset() needs to
return false for filenames not encoded in utf-8,
which is always true on win32

* glibconfig.h.win32.in : (u)int64 modifier isn't the
gcc 'll' but always the msvcrt one 'I64'

* glib/glib.def : updated

21 years agogobject.def : update externals
Hans Breuer [Sat, 13 Dec 2003 14:35:21 +0000 (14:35 +0000)]
gobject.def : update externals

2003-12-13  Hans Breuer  <hans@breuer.org>

gobject.def : update externals

21 years agochange #elif with no expression to #else in G_STRFUNC definition. Thanks
Manish Singh [Thu, 11 Dec 2003 18:31:46 +0000 (18:31 +0000)]
change #elif with no expression to #else in G_STRFUNC definition. Thanks

Thu Dec 11 10:31:21 2003  Manish Singh  <yosh@gimp.org>

        * glib/gmacros.h: change #elif with no expression to #else in
        G_STRFUNC definition. Thanks to Damien Carbery, fixes #129101.

21 years ago=== Released 2.3.1 === GLIB_2_3_1
Owen Taylor [Mon, 8 Dec 2003 17:18:42 +0000 (17:18 +0000)]
=== Released 2.3.1 ===

Mon Dec  8 12:02:40 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.1 ===

        * NEWS: Further updates for 2.3.1.

21 years agofix gint/gsize confusion.
Manish Singh [Fri, 5 Dec 2003 20:09:34 +0000 (20:09 +0000)]
fix gint/gsize confusion.

Fri Dec  5 12:09:13 2003  Manish Singh  <yosh@gimp.org>

        * glib/gunidecomp.c (_g_utf8_normalize_wc): fix gint/gsize confusion.

21 years agoAdd hangul composition and decomposition to unicode normalization.
Noah Levitt [Thu, 4 Dec 2003 19:47:52 +0000 (19:47 +0000)]
Add hangul composition and decomposition to unicode normalization.

2003-12-04  Noah Levitt  <nlevitt@columbia.edu>

* glib/gunidecomp.c: Add hangul composition and decomposition to
unicode normalization. (#100456)

* tests/unicode-normalize.c: Test hangul.

21 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Wed, 3 Dec 2003 13:54:26 +0000 (13:54 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

21 years agofix with ko-po-check
Nam SungHyun [Wed, 3 Dec 2003 08:31:32 +0000 (08:31 +0000)]
fix with ko-po-check

21 years agoUpdated and revised Portuguese translation.
Duarte Loreto [Wed, 3 Dec 2003 01:51:38 +0000 (01:51 +0000)]
Updated and revised Portuguese translation.

2003-12-03  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated and revised Portuguese translation.

21 years agoFix for #103710, Mark Jones:
Matthias Clasen [Tue, 2 Dec 2003 01:31:43 +0000 (01:31 +0000)]
Fix for #103710, Mark Jones:

Tue Dec  2 02:29:41 2003  Matthias Clasen  <maclas@gmx.de>

Fix for #103710, Mark Jones:

* glib/gtypes.h (G_MAXINT64): Define G_{MIN,MAX,MAXU}INT{8,16,32,64}.
* configure.in: Don't put G_{MIN,MAX,MAXU}INT64 in glibconfig.h.

21 years agofix g_object_set() whithin _init() implementations not working for
Tim Janik [Sat, 29 Nov 2003 14:00:06 +0000 (14:00 +0000)]
fix g_object_set() whithin _init() implementations not working for

Sat Nov 29 14:57:20 2003  Tim Janik  <timj@gtk.org>

        * gobject.c: fix g_object_set() whithin _init() implementations
        not working for construct-only properties.
        (g_object_init): make the object enter a construct_objects list.
        (g_object_newv): remove object from construct_objects after creation.
        (g_object_set_valist):
        (g_object_set_property): allow construct-only properties for
        objects which are in construct_objects.

21 years agohandle NULL arguments gracefully.
Tim Janik [Thu, 27 Nov 2003 17:08:58 +0000 (17:08 +0000)]
handle NULL arguments gracefully.

Thu Nov 27 17:04:08 2003  Tim Janik  <timj@gtk.org>

        * glib/gstrfuncs.c (g_strconcat): handle NULL arguments
        gracefully.

        * glib/gmacros.h: defined G_STRFUNC, which (pretty) prints the
        current function (since G_STRLOC and G_GNUC_*FUNCTION became
        unusable with gcc-3.0).

21 years agovariant of class_peek() which works for static types only.
Tim Janik [Thu, 27 Nov 2003 17:08:06 +0000 (17:08 +0000)]
variant of class_peek() which works for static types only.

Thu Nov 27 17:53:52 2003  Tim Janik  <timj@gtk.org>

        * gtype.[hc]:
        (g_type_class_peek_static): variant of class_peek() which works for
        static types only.

        * gobject.c:
        (g_object_do_class_init): make ::notify a run-action signal.
        (g_object_newv): use g_type_class_peek_static() by default to
        speed up common code path (trades two write-locks for one read-lock).
        (g_object_disconnect):
        (g_object_connect): allow signal specification words to be
        seperated by '-'.
        (g_object_set_valist):
        (g_object_new_valist): don't leak values.
        (g_object_get_property): check property for readability.
        (g_object_set_property): check property for writability and to
        not be construct-only.
        (g_object_set_valist): check property to not be construct-only.

21 years agoFixed a bad pointer comparison in g_ascii_strtod that came up in fa_IR
Roozbeh Pournader [Wed, 26 Nov 2003 13:22:42 +0000 (13:22 +0000)]
Fixed a bad pointer comparison in g_ascii_strtod that came up in fa_IR

Wed Nov 26 16:45:16 2003  Roozbeh Pournader  <roozbeh@sharif.edu>

        * glib/gstrfuncs.c: Fixed a bad pointer comparison in
        g_ascii_strtod that came up in fa_IR locale (#126640, Behdad
        Esfahbod).

        * tests/strtod-test.c: Fixed the tests to catch the above.

21 years agoBind inter-thread comminication sockets to INADDR_LOOPBACK instead of
15 2003 Andrew Lanoix [Sat, 22 Nov 2003 19:28:04 +0000 (19:28 +0000)]
Bind inter-thread comminication sockets to INADDR_LOOPBACK instead of

Sat Nov 22 14:16:51.15 2003  Andrew Lanoix  <alanoix@umich.edu>

* glib/giowin32.c: Bind inter-thread comminication
sockets to INADDR_LOOPBACK instead of INADDR_ANY.

21 years agoUpdated French translation.
Christophe Merlet [Sat, 22 Nov 2003 10:44:06 +0000 (10:44 +0000)]
Updated French translation.

21 years agoAdded G_GSIZE_FORMAT and friends.
Manish Singh [Thu, 20 Nov 2003 23:12:05 +0000 (23:12 +0000)]
Added G_GSIZE_FORMAT and friends.

Thu Nov 20 15:09:40 2003  Manish Singh  <yosh@gimp.org>

        * configure.in: Added G_GSIZE_FORMAT and friends.

        * tests/printf-test.c
        * tests/testglib.c
        * tests/type-test.c: Add tests for the above.

21 years agoUpdated Danish translation.
Ole Laursen [Thu, 20 Nov 2003 20:30:06 +0000 (20:30 +0000)]
Updated Danish translation.

2003-11-20  Ole Laursen  <olau@hardworking.dk>

* da.po: Updated Danish translation.

21 years agoUpdated Norwegian Nynorsk translation.
Åsmund Skjæveland [Wed, 19 Nov 2003 09:56:33 +0000 (09:56 +0000)]
Updated Norwegian Nynorsk translation.

2003-11-19  Åsmund Skjæveland  <aasmunds@fys.uio.no>

* nn.po: Updated Norwegian Nynorsk translation.

21 years agoUpdate Czech translation
Miloslav Trmac [Tue, 18 Nov 2003 20:39:26 +0000 (20:39 +0000)]
Update Czech translation

21 years agoUse GUINT_TO_POINTER for g_thread_create data.
Manish Singh [Tue, 18 Nov 2003 01:29:36 +0000 (01:29 +0000)]
Use GUINT_TO_POINTER for g_thread_create data.

Mon Nov 17 17:28:10 2003  Manish Singh  <yosh@gimp.org>

        * tests/thread-test.c (test_g_thread_once): Use GUINT_TO_POINTER
        for g_thread_create data.

21 years agoAdd a NULL check to be consistent with the other g_utf8_ functions.
Matthias Clasen [Sat, 15 Nov 2003 22:04:39 +0000 (22:04 +0000)]
Add a NULL check to be consistent with the other g_utf8_ functions.

Sat Nov 15 23:00:57 2003  Matthias Clasen  <maclas@gmx.de>

* glib/guniprop.c (g_utf8_casefold): Add a NULL check
to be consistent with the other g_utf8_ functions.  (#121618,
Tim-Philipp Müller)

21 years agoFix for MSVC build: Skip strtod-test, use correct glib libraries, with 2.0
Tor Lillqvist [Sat, 15 Nov 2003 03:08:57 +0000 (03:08 +0000)]
Fix for MSVC build: Skip strtod-test, use correct glib libraries, with 2.0

2003-11-15  Tor Lillqvist  <tml@iki.fi>

* tests/makefile.msc.in: Fix for MSVC build: Skip strtod-test, use
correct glib libraries, with 2.0 in the names. (#126906, John
Ehresman)

21 years agoDon't blindly set glib_cv_long_long_format to "ll" when using the included
Matthias Clasen [Fri, 14 Nov 2003 23:48:03 +0000 (23:48 +0000)]
Don't blindly set glib_cv_long_long_format to "ll" when using the included

Sat Nov 15 00:46:14 2003  Matthias Clasen  <maclas@gmx.de>

* configure.in: Don't blindly set glib_cv_long_long_format to
"ll" when using the included printf. As long as the native
printf supports 64bit printing, use the native format.
(#119525, Tor Lillquist)

21 years agoUpdated Catalan translation.
Jordi Mallach [Thu, 13 Nov 2003 14:06:31 +0000 (14:06 +0000)]
Updated Catalan translation.

21 years agoVersion 2.3.1, interface age 0.
Owen Taylor [Wed, 12 Nov 2003 20:28:35 +0000 (20:28 +0000)]
Version 2.3.1, interface age 0.

Wed Nov 12 15:06:27 2003  Owen Taylor  <otaylor@redhat.com>

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

        * NEWS: Update for 2.3.1.

21 years agoUpdated Spanish translation by Francisco Javier F. Serrador
Pablo Gonzalo del Campo [Mon, 10 Nov 2003 18:44:30 +0000 (18:44 +0000)]
Updated Spanish translation by Francisco Javier F. Serrador

2003-11-10  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation by
                 Francisco Javier F. Serrador <serrador@arrakis.es>.

21 years agocroatian translations updated
Denis Lackovic [Mon, 10 Nov 2003 15:58:24 +0000 (15:58 +0000)]
croatian translations updated

21 years agore-work to retain a copy of the cached charset rather than the actual
Mark McLoughlin [Sun, 9 Nov 2003 13:17:23 +0000 (13:17 +0000)]
re-work to retain a copy of the cached charset rather than the actual

2003-11-07  Mark McLoughlin  <mark@skynet.ie>

        * glib/gconvert.c: (get_filename_charset): re-work to
        retain a copy of the cached charset rather than the
        actual return value from g_get_charset (which may
        change). Also, re-initialize the cache if it does
        change. See bug #126454.

21 years agocroatian translations added
Denis Lackovic [Fri, 7 Nov 2003 18:11:15 +0000 (18:11 +0000)]
croatian translations added

21 years agoAdd an i18n section. Include the corresponding entity. Template for i18n
Matthias Clasen [Thu, 6 Nov 2003 00:43:48 +0000 (00:43 +0000)]
Add an i18n section. Include the corresponding entity. Template for i18n

Thu Nov  6 01:42:36 2003  Matthias Clasen  <maclas@gmx.de>

* glib/glib-sections.txt: Add an i18n section.
* glib/glib-docs.sgml: Include the corresponding entity.
* glib/tmpl/i18n.sgml: Template for i18n section.

Thu Nov  6 00:56:04 2003  Matthias Clasen  <maclas@gmx.de>

* glib/running.sgml: Document G_FILENAME_ENCODING.

21 years agoReplacement for have_broken_filenames() which consults the environment
Matthias Clasen [Wed, 5 Nov 2003 23:05:49 +0000 (23:05 +0000)]
Replacement for have_broken_filenames() which consults the environment

Thu Nov  6 00:04:46 2003  Matthias Clasen  <maclas@gmx.de>

* glib/gconvert.c (get_filename_charset): Replacement for
have_broken_filenames() which consults the environment variable
G_FILENAME_ENCODINGS in addition to G_BROKEN_FILENAMES.
* glib/gconvert.c (g_filename_from_utf8):
* glib/gconvert.c (g_filename_to_utf8):
* glib/gconvert.c (_g_convert_thread_init): Use
get_filename_charset() instead of have_broken_filenames().

21 years agoNew headers defining common gettext-support macros.
Matthias Clasen [Wed, 5 Nov 2003 21:07:47 +0000 (21:07 +0000)]
New headers defining common gettext-support macros.

Wed Nov  5 22:05:19 2003  Matthias Clasen  <maclas@gmx.de>

* glib/gi18n-lib.h:
* glib/gi18n.h: New headers defining common gettext-support
macros.

* glib/Makefile.am (glibsubinclude_HEADERS): Add gi18n.h
and gi18n-lib.h.

* glib/gstrfuncs.h:
* glib/gstrfuncs.c (g_strip_context): Auxiliary function for
the implementation of Q_().

21 years agoMake it compile. (#119337, self.)
Morten Welinder [Wed, 5 Nov 2003 17:15:24 +0000 (17:15 +0000)]
Make it compile. (#119337, self.)

2003-11-05  Morten Welinder  <terra@gnome.org>

* glib/garray.c (g_ptr_array_remove_range): Make it compile.
(#119337, self.)

21 years agoHandle the case where the to-be-inserted string is a substring of the
Morten Welinder [Wed, 5 Nov 2003 16:24:44 +0000 (16:24 +0000)]
Handle the case where the to-be-inserted string is a substring of the

2003-11-05  Morten Welinder  <terra@gnome.org>

* glib/gstring.c (g_string_insert_len): Handle the case where the
to-be-inserted string is a substring of the target string.
(g_string_assign): Handle "s = s;".
(#114260, self.)

21 years agoFix 64bit printing for MSVC builds (#119292, Hans Breuer):
Matthias Clasen [Sun, 2 Nov 2003 00:54:02 +0000 (00:54 +0000)]
Fix 64bit printing for MSVC builds (#119292, Hans Breuer):

Sun Nov  2 01:47:31 2003  Matthias Clasen  <maclas@gmx.de>

Fix 64bit printing for MSVC builds (#119292, Hans Breuer):

* configure.in (HAVE_INT64_AND_I64): Define for MSVC to
include support for printing __int64 with format %I64 in
the gnulib printf wrappers.
* glib/gnulib/printf-args.h (enum arg_type): Add TYPE_INT64
and TYPE_UINT64.
* glib/gnulib/printf-args.h (struct argument): Add a_int64 and
a_uint64 members.
* glib/gnulib/printf-args.c (printf_fetchargs): Support
TYPE_INT64 and TYPE_UINT64.
* glib/gnulib/printf-parse.c (printf_parse): Parse I64 format
modifier and map formats to TYPE_INT64.
* glib/gnulib/vasnprintf.c (vasnprintf): Print TYPE_INT64 with
format modifier I64.
* glib/gnulib/README: Document the __int64 support.

21 years agoSet the return value from the result of g_main_context_check() (after we
Owen Taylor [Sat, 1 Nov 2003 13:57:48 +0000 (13:57 +0000)]
Set the return value from the result of g_main_context_check() (after we

Sat Nov  1 08:45:38 2003  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c (g_main_context_iterate): Set the
        return value from the result of g_main_context_check()
        (after we poll) rather than g_main_context_prepare.
        (#121675, Padraig O'Briain)

21 years agoUpdated Norwegian translation.
Kjartan Maraas [Fri, 31 Oct 2003 09:22:21 +0000 (09:22 +0000)]
Updated Norwegian translation.

2003-10-31  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

21 years agoRemove the semicolon from the definition of g_once(), so that
Matthias Clasen [Thu, 30 Oct 2003 23:17:57 +0000 (23:17 +0000)]
Remove the semicolon from the definition of g_once(), so that

Fri Oct 31 00:13:53 2003  Matthias Clasen  <maclas@gmx.de>

* configure.in: Remove the semicolon from the definition of
g_once(), so that GPOINTER_TO_INT (g_once (...)) works.

21 years agoChange the %e tests to not check for actual string equality, but rather
Matthias Clasen [Tue, 28 Oct 2003 22:40:51 +0000 (22:40 +0000)]
Change the %e tests to not check for actual string equality, but rather

Tue Oct 28 23:38:30 2003  Matthias Clasen  <maclas@gmx.de>

* tests/printf-test.c: Change the %e tests to not check for
actual string equality, but rather equality under g_ascii_strtod(),
since the number of leading digits in the exponent seems to
be not exactly prescribed by SUS.

21 years agoAdd /*< public >*/ and /*< private >*/ markers for documentation purposes.
Matthias Clasen [Tue, 28 Oct 2003 22:26:18 +0000 (22:26 +0000)]
Add /*< public >*/ and /*< private >*/ markers for documentation purposes.

Tue Oct 21 23:17:06 2003  Matthias Clasen  <maclas@gmx.de>

* genums.h (struct _GEnumClass):
* genums.h (struct _GFlagsClass):
* gtypemodule.h (struct _GTypeModuleClass):
* gtypemodule.h (struct _GTypeModule): Add /*< public >*/
and /*< private >*/ markers for documentation purposes.

21 years agoshut up cvs
Manish Singh [Mon, 27 Oct 2003 23:38:05 +0000 (23:38 +0000)]
shut up cvs

21 years agoUpdated Japanese translation.
KAMAGASAKO Masatoshi [Mon, 27 Oct 2003 15:49:59 +0000 (15:49 +0000)]
Updated Japanese translation.

2003-10-28  KAMAGASAKO Masatoshi  <emerald@gnome.gr.jp>

* ja.po: Updated Japanese translation.

21 years ago100%
Matthias Clasen [Fri, 24 Oct 2003 23:10:37 +0000 (23:10 +0000)]
100%

21 years ago=== Released 2.3.0 === GLIB_2_3_0
Owen Taylor [Fri, 24 Oct 2003 21:28:34 +0000 (21:28 +0000)]
=== Released 2.3.0 ===

Fri Oct 24 17:09:04 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.0 ===

        * NEWS: Small update.

21 years agoForce shared library (DLL) only on Windows. (I don't think that is
Tor Lillqvist [Fri, 24 Oct 2003 03:41:22 +0000 (03:41 +0000)]
Force shared library (DLL) only on Windows. (I don't think that is

2003-10-24  Tor Lillqvist  <tml@iki.fi>

* configure.in: Force shared library (DLL) only on Windows.
(I don't think that is controversial?) Remove unnecessary
AC_LIBTOOL_WIN32_DLL. Don't use -D_REENTRANT on
Win32, it is not used by mingw or MSVC headers.

* config.h.win32.in
* glibconfig.h.win32.in: Match what configure produces.

* glib/gconvert.c
* glib/gutils.c: Mark a couple of functions and variables that
aren't public as static.

* glib/gnulib/g-gnulib.h: Undef HAVE_SNPRINTF before (re)defining
it potentially differently, to silence compiler.

* glib/glib.def: Add some missing entries.

* tests/gobject/Makefile.am (LDADD): Reorder, put libgobject after
libtestgobject.

* tests/gobject/ifaceproperties.c (main): NULL-terminate arg list
to g_object_set() and _get().

21 years ago=== Released 2.3.0 ===
Owen Taylor [Thu, 23 Oct 2003 22:42:31 +0000 (22:42 +0000)]
=== Released 2.3.0 ===

Thu Oct 23 12:38:24 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.0 ===

        * tests/gobject/Makefile.am (dist-hook): Remove
        and extra backslash.

        * tests/gobject/Makefile.am (EXTRA_DIST): Add
        testmarshal.list.

        * glib/Makefile.am (libglib_2_0_la_SOURCES): Add
        missing gunicode-private.h.

        * tests/testglib.c (main): Fix a warning.

        * tests/gobject/ifaceinherit.c: Remove check that
        wasn't supposed to work (adding an interface already
        added to the derived class to the base class),
        fix a bug.

21 years agoUpdate NEWS for 2.3.0.
Matthias Clasen [Wed, 22 Oct 2003 21:41:45 +0000 (21:41 +0000)]
Update NEWS for 2.3.0.

21 years agoAdditions.
Matthias Clasen [Tue, 21 Oct 2003 21:49:21 +0000 (21:49 +0000)]
Additions.

Tue Oct 21 23:29:54 2003  Matthias Clasen  <maclas@gmx.de>

* gobject/tmpl/gtypemodule.sgml:
* gobject/tmpl/enumerations_flags.sgml:
* gobject/tmpl/gtype.sgml: Additions.

21 years agoAdd "Since 2.4" markers where appropriate.
Matthias Clasen [Tue, 21 Oct 2003 21:10:26 +0000 (21:10 +0000)]
Add "Since 2.4" markers where appropriate.

Tue Oct 21 23:09:15 2003  Matthias Clasen  <maclas@gmx.de>

* gobject/tmpl/gparamspec.sgml:
* gobject/tmpl/param_value_types.sgml:
* gobject/tmpl/gtype.sgml:
* gobject/tmpl/signals.sgml: Add "Since 2.4" markers where
appropriate.

21 years agoTest for interface properties and GParamSpecOverride.
Owen Taylor [Tue, 21 Oct 2003 19:15:07 +0000 (19:15 +0000)]
Test for interface properties and GParamSpecOverride.

Tue Oct 14 17:44:38 2003  Owen Taylor  <otaylor@redhat.com>

        * tests/gobject/ifaceproperties.c: Test for interface
        properties and GParamSpecOverride.

21 years agoDocument interface properties and GParamSpecOverride.
Owen Taylor [Tue, 21 Oct 2003 19:14:04 +0000 (19:14 +0000)]
Document interface properties and GParamSpecOverride.

Tue Oct 14 17:45:33 2003  Owen Taylor  <otaylor@redhat.com>

        * gobject/gobject-sections.txt gobject/tmpl/objects.sgml
        gobject/tmpl/param_value_types.sgml gobject/tmpl/gparamspec.sgml:
        Document interface properties and GParamSpecOverride.

21 years agoAdd a new GParamSpecOverride type that is a pointer to a different
Owen Taylor [Tue, 21 Oct 2003 19:12:27 +0000 (19:12 +0000)]
Add a new GParamSpecOverride type that is a pointer to a different

Tue Oct 14 17:40:19 2003  Owen Taylor  <otaylor@redhat.com>

        * gparamspecs.[ch]: Add a new GParamSpecOverride type
        that is a pointer to a different paramspec in a parent
        class or interface.

        * gparam.[ch]: Add g_paramspec_get_redirect_target()
        which follows GParamSpecOverride to the real property.
        Make g_param_spec_pool_list() hand redirections,
        properties on interfaces.

        * gobject.[ch] gobjectnotifyqueue.c: Add
        g_object_interface_install_property,
        g_object_interface_find_property,
        g_object_interface_list_properties(). Redirect virtually all
        publically exposed GParamSpec's to the redirect target if
        any. (->constructor is the exception.)
        (#105894)

21 years agoDocumentation additions.
Matthias Clasen [Mon, 20 Oct 2003 20:07:45 +0000 (20:07 +0000)]
Documentation additions.

21 years agoRemoved... ...and readded. Change to the standard file extension for
Matthias Clasen [Mon, 20 Oct 2003 18:40:00 +0000 (18:40 +0000)]
Removed... ...and readded. Change to the standard file extension for

Mon Oct 20 20:38:06 2003  Matthias Clasen  <maclas@gmx.de>

* gobject/gobject.i: Removed...
* gobject/gobject.cI: ...and readded.
* gobject/gobject.types: Change to the standard file
extension for included hunks of C code.

Mon Oct 20 20:34:33 2003  Matthias Clasen  <maclas@gmx.de>

* gobject/Makefile.am (INCLUDES): Add $(top_builddir)/glib
as an include dir again, this time for real.

21 years agoAdditions.
Matthias Clasen [Sun, 19 Oct 2003 23:17:30 +0000 (23:17 +0000)]
Additions.

Mon Oct 20 01:12:46 2003  Matthias Clasen  <maclas@gmx.de>

* gobject/tmpl/gtype.sgml:
* gobject/tmpl/param_value_types.sgml:
* gobject/tmpl/value_arrays.sgml: Additions.

* gobject/tmpl/gboxed.sgml:
* gobject/gobject-sections.txt: Remove prematurely added
GStrv documentation.

21 years agoAdd $(top_builddir)/glib as an include dir. (#124934, Mariano
Matthias Clasen [Sun, 19 Oct 2003 20:20:17 +0000 (20:20 +0000)]
Add $(top_builddir)/glib as an include dir. (#124934, Mariano

Sun Oct 19 22:18:28 2003  Matthias Clasen  <maclas@gmx.de>

* gobject/Makefile.am (INCLUDES): Add $(top_builddir)/glib
as an include dir.  (#124934, Mariano Suárez-Alvarez)

21 years agoDutch translation updated by Tino Meinen.
Vincent van Adrighem [Sun, 19 Oct 2003 16:25:55 +0000 (16:25 +0000)]
Dutch translation updated by Tino Meinen.

2003-10-19   Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Dutch translation updated by Tino Meinen.

21 years agoAdditions.
Matthias Clasen [Sat, 18 Oct 2003 22:55:00 +0000 (22:55 +0000)]
Additions.

Sun Oct 19 00:33:28 2003  Matthias Clasen  <maclas@gmx.de>

* gobject/tmpl/gtype.sgml:
* gobject/tmpl/generic_values.sgml:
* gobject/tmpl/objects.sgml:
* gobject/tmpl/signals.sgml: Additions.

21 years agoAdd /*< public >*/ and /*< private >*/ markers for documentation purposes.
Matthias Clasen [Fri, 17 Oct 2003 23:33:03 +0000 (23:33 +0000)]
Add /*< public >*/ and /*< private >*/ markers for documentation purposes.

Sat Oct 18 01:30:47 2003  Matthias Clasen  <maclas@gmx.de>

* gtypeplugin.h (struct _GTypePluginClass): Add /*< public >*/
and /*< private >*/ markers for documentation purposes.

* gobject/tmpl/gboxed.sgml:
* gobject/tmpl/gtypeplugin.sgml:
* gobject/tmpl/enumerations_flags.sgml: Additions.

21 years agoList GObject here, since the documentation misses the notify signal
Matthias Clasen [Fri, 17 Oct 2003 22:08:04 +0000 (22:08 +0000)]
List GObject here, since the documentation misses the notify signal

Sat Oct 18 00:04:22 2003  Matthias Clasen  <maclas@gmx.de>

* gobject/gobject.types: List GObject here, since the
documentation misses the notify signal otherwise. Needs
a little bit of a hack to work around a gtkdoc-scangobj
limitation, see the comment in gobject/gobject.i.

* gobject/gobject.i: New file, containing a trivial
g_object_get_type() function.

21 years agoAdd the necessary stuff to compile gobject-scan.
Matthias Clasen [Thu, 16 Oct 2003 22:24:57 +0000 (22:24 +0000)]
Add the necessary stuff to compile gobject-scan.

Fri Oct 17 00:23:51 2003  Matthias Clasen  <maclas@gmx.de>

* gobject/Makefile.am (GTKDOC_LIBS):
(INCLUDES): Add the necessary stuff to compile gobject-scan.

* gobject/gobject.types: Add g_type_module_get_type() and
g_type_plugin_get_type().

21 years agoAdditions, document GParamSpecPool.
Matthias Clasen [Wed, 15 Oct 2003 23:03:20 +0000 (23:03 +0000)]
Additions, document GParamSpecPool.

Thu Oct 16 01:02:04 2003  Matthias Clasen  <maclas@gmx.de>

* gobject/tmpl/gparamspec.sgml: Additions, document
GParamSpecPool.

21 years agoImprovements from Owen's feedback.
Matthias Clasen [Tue, 14 Oct 2003 22:57:32 +0000 (22:57 +0000)]
Improvements from Owen's feedback.

* gobject/tmpl/gclosure.sgml: Improvements from Owen's feedback.

21 years agoDocument closures.
Matthias Clasen [Tue, 14 Oct 2003 00:37:18 +0000 (00:37 +0000)]
Document closures.