platform/upstream/glib.git
20 years agoNew section on file name encodings.
Federico Mena Quintero [Wed, 16 Jun 2004 00:20:54 +0000 (00:20 +0000)]
New section on file name encodings.

2004-06-15  Federico Mena Quintero  <federico@ximian.com>

* glib/tmpl/conversions.sgml: New section on file name encodings.

* glib/file-name-encodings.sxd: New diagram of how file name
encodings work.

* glib/file-name-encodings.png: Same as above, for inclusion in
the generated docs.

* glib/Makefile.am (HTML_IMAGES): Add file-name-encodings.png.
(EXTRA_DIST): Add the new images.

* glib/running.sgml: Add ids to the corresponding paragraphs that
describe G_FILENAME_ENCODING and G_BROKEN_FILENAMES, to be able to
reference them from elsewhere.

20 years agoIgnore a missing newline at EOF for single line comments. (#83674, Sven
Matthias Clasen [Sat, 12 Jun 2004 03:00:05 +0000 (03:00 +0000)]
Ignore a missing newline at EOF for single line comments. (#83674, Sven

Fri Jun 11 22:56:46 2004  Matthias Clasen  <maclas@gmx.de>

* glib/gscanner.c (g_scanner_get_token_ll): Ignore a
missing newline at EOF for single line comments.
(#83674, Sven Neumann)

20 years agoActually set any_failed on failure. (#143552, Philippe Blain)
Matthias Clasen [Fri, 11 Jun 2004 03:45:54 +0000 (03:45 +0000)]
Actually set any_failed on failure. (#143552, Philippe Blain)

Thu Jun 10 23:38:02 2004  Matthias Clasen  <maclas@gmx.de>

* tests/printf-test.c (TEST): Actually set any_failed on
failure.  (#143552, Philippe Blain)

20 years agoAdd an example for GModule usage. (#144127, Tommi Komulainen)
Matthias Clasen [Fri, 11 Jun 2004 01:31:02 +0000 (01:31 +0000)]
Add an example for GModule usage. (#144127, Tommi Komulainen)

Thu Jun 10 21:29:55 2004  Matthias Clasen  <maclas@gmx.de>

* glib/tmpl/modules.sgml: Add an example for GModule
usage.  (#144127, Tommi Komulainen)

20 years agointegrate the last changes by Stefan gobject_0_9_0
Mathieu Lacage [Thu, 10 Jun 2004 20:21:59 +0000 (20:21 +0000)]
integrate the last changes by Stefan

20 years agoFix a typo reported by Laurent Lemaitre. Tweak the GType section on instiable objects...
Mathieu Lacage [Thu, 10 Jun 2004 11:00:53 +0000 (11:00 +0000)]
Fix a typo reported by Laurent Lemaitre. Tweak the GType section on instiable objects and update the change list.

20 years agoadd chain up section
Mathieu Lacage [Thu, 10 Jun 2004 09:41:43 +0000 (09:41 +0000)]
add chain up section

20 years agoFix expected results (ha ha) for URIs that *should* have been invalid, or
Federico Mena Quintero [Thu, 10 Jun 2004 00:17:57 +0000 (00:17 +0000)]
Fix expected results (ha ha) for URIs that *should* have been invalid, or

2004-06-09  Federico Mena Quintero  <federico@ximian.com>

* tests/uri-test.c (to_uri_tests): Fix expected results (ha ha)
for URIs that *should* have been invalid, or viceversa.
(from_uri_tests): Likewise.

20 years agocommit first patches from stefan, work on the chaining up section
Mathieu Lacage [Wed, 9 Jun 2004 20:22:04 +0000 (20:22 +0000)]
commit first patches from stefan, work on the chaining up section

20 years agoUpdated nepali translation
Pawan Chitrakar [Wed, 9 Jun 2004 09:10:39 +0000 (09:10 +0000)]
Updated nepali translation

2004-06-09  Pawan Chitrakar  <pawan@nplinux.org>

* ne.po: Updated nepali translation

20 years agoFixes #140532.
Federico Mena Quintero [Tue, 8 Jun 2004 03:27:03 +0000 (03:27 +0000)]
Fixes #140532.

2004-06-07  Federico Mena Quintero  <federico@ximian.com>

Fixes #140532.

* glib/gconvert.c (is_asciialphanum): Renamed from
is_escalphanum(); ensures that this is an ASCII character.
(is_asciiescalpha): Renamed from is_escalpha().
(hostname_validate): Use the two functions above.
(g_filename_to_uri): Don't convert the filename to UTF-8.
(g_filename_from_uri): Don't convert the filename from UTF-8.

20 years agoMake "make check" less noisy.
Matthias Clasen [Tue, 8 Jun 2004 02:29:16 +0000 (02:29 +0000)]
Make "make check" less noisy.

20 years agoFix the docs for G_DEFINE_TYPE() and friends. (#143800, Crispin Flowerday)
Matthias Clasen [Mon, 7 Jun 2004 03:22:17 +0000 (03:22 +0000)]
Fix the docs for G_DEFINE_TYPE() and friends. (#143800, Crispin Flowerday)

Sun Jun  6 23:20:42 2004  Matthias Clasen  <maclas@gmx.de>

* gobject/tmpl/gtype.sgml: Fix the docs for G_DEFINE_TYPE()
and friends.  (#143800, Crispin Flowerday)

20 years agoAdd name of bug reporter.
Tor Lillqvist [Sun, 6 Jun 2004 17:19:03 +0000 (17:19 +0000)]
Add name of bug reporter.

20 years agoCheck home for being NULL. (#143812)
Tor Lillqvist [Sun, 6 Jun 2004 17:16:58 +0000 (17:16 +0000)]
Check home for being NULL. (#143812)

2004-06-06  Tor Lillqvist  <tml@iki.fi>

* glib/gutils.c (g_get_any_init): Check home for being
NULL. (#143812)

20 years agoAdded "ne.po" Nepali translation
Pawan Chitrakar [Sun, 6 Jun 2004 09:45:34 +0000 (09:45 +0000)]
Added "ne.po" Nepali translation

Sun Jun  6 15:23:00 2004  Pawan Chitrakar  <pawan@nplinux.org>

* ne.po: Added "ne.po" Nepali translation

* configure.in: Added "ne"(Nepali) in ALL_LINGUAS

20 years agocpp #directives should always have the "#" in the first column of the the
Manish Singh [Sat, 5 Jun 2004 02:25:56 +0000 (02:25 +0000)]
cpp #directives should always have the "#" in the first column of the the

Fri Jun  4 19:26:47 2004  Manish Singh  <yosh@gimp.org>

        * glib/galloca.h: cpp #directives should always have the "#" in the
        first column of the the line. Do that for "#pragma alloca". Fixes
        bug #143744.

20 years agoUse higher precision for the mathematical constants. (#141941, Morten
Matthias Clasen [Wed, 2 Jun 2004 04:58:24 +0000 (04:58 +0000)]
Use higher precision for the mathematical constants. (#141941, Morten

Wed Jun  2 00:57:16 2004  Matthias Clasen  <maclas@gmx.de>

* glib/gtypes.h: Use higher precision for the mathematical
constants.  (#141941, Morten Welinder)

20 years agoFix an off-by-one error in g_markup_parse_context_parse(). (#142794,
Matthias Clasen [Wed, 2 Jun 2004 02:02:31 +0000 (02:02 +0000)]
Fix an off-by-one error in g_markup_parse_context_parse(). (#142794,

Tue Jun  1 21:56:31 2004  Matthias Clasen  <maclas@gmx.de>

* glib/gmarkup.c (advance_char): Fix an off-by-one error
in g_markup_parse_context_parse().  (#142794, Morten Welinder)

20 years agoAdd gmodule-ar.c. (#85930, Tomas Ögren)
Matthias Clasen [Mon, 31 May 2004 04:09:37 +0000 (04:09 +0000)]
Add gmodule-ar.c. (#85930, Tomas Ögren)

Mon May 31 00:07:12 2004  Matthias Clasen  <maclas@gmx.de>

* Makefile.am (EXTRA_DIST): Add gmodule-ar.c. (#85930, Tomas Ögren)

20 years agoMerged from 2.4:
Matthias Clasen [Mon, 17 May 2004 03:24:41 +0000 (03:24 +0000)]
Merged from 2.4:

Sun May 16 23:23:29 2004  Matthias Clasen  <maclas@gmx.de>

        Merged from 2.4:

* glib/gcompletion.c (g_completion_add_items):
(g_completion_remove_items): Remove unnecessary
checks.  (#142559, Morten Welinder)

20 years ago[Win32] Only believe HOME if it is an absolute path and exists. (#138618)
Tor Lillqvist [Sat, 15 May 2004 03:24:16 +0000 (03:24 +0000)]
[Win32] Only believe HOME if it is an absolute path and exists. (#138618)

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

* glib/gutils.c (g_get_any_init): [Win32] Only believe HOME if it
is an absolute path and exists. (#138618)

20 years agoHandle empty digit string for precision correctly. (#142400)
Tor Lillqvist [Fri, 14 May 2004 04:58:19 +0000 (04:58 +0000)]
Handle empty digit string for precision correctly. (#142400)

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

* glib/gnulib/vasnprintf.c (vasnprintf): Handle empty digit string
for precision correctly. (#142400)

For backward compatibility with the Trio implementation, make "ll"
format modifer work on Win32, too. Change into "I64" before
passing to the system printf. (#142433)

* tests/printf-test.c (main): Add tests for the above.

20 years agoMake it compile on AIX. (#141159, Michael Wilson)
Matthias Clasen [Wed, 12 May 2004 03:31:55 +0000 (03:31 +0000)]
Make it compile on AIX. (#141159, Michael Wilson)

Tue May 11 23:23:21 2004  Matthias Clasen  <maclas@gmx.de>

* gmodule-ar.c (_g_module_open): Make it compile on AIX.
(#141159, Michael Wilson)

20 years agoMerge from 2.4:
Matthias Clasen [Mon, 10 May 2004 19:21:28 +0000 (19:21 +0000)]
Merge from 2.4:

2004-05-10  Matthias Clasen  <mclasen@redhat.com>

Merge from 2.4:

* glib/gmain.c (block_source, unblock_source): Make these
static.  (#142230, Morten Welinder)

20 years agoRemove two duplicated lines. Thanks to Benoît Carpentier.
Tor Lillqvist [Sun, 9 May 2004 23:48:57 +0000 (23:48 +0000)]
Remove two duplicated lines. Thanks to Benoît Carpentier.

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

* glib/giowin32.c (g_win32_print_gioflags): Remove two duplicated
lines. Thanks to Benoît Carpentier.

20 years agoMerge from 2.4:
Matthias Clasen [Sun, 9 May 2004 06:07:16 +0000 (06:07 +0000)]
Merge from 2.4:

Sun May  9 02:04:14 2004  Matthias Clasen  <maclas@gmx.de>

Merge from 2.4:

* glib/guniprop.c (g_utf8_casefold): Avoid an unnecessary
memleak.  (#141998, Nikolai Weibull)

20 years agoAdd bug reference.
Matthias Clasen [Sun, 9 May 2004 03:09:25 +0000 (03:09 +0000)]
Add bug reference.

20 years agoMerge from 2.4:
Matthias Clasen [Sun, 9 May 2004 03:08:19 +0000 (03:08 +0000)]
Merge from 2.4:

Sat May  8 23:02:26 2004  Matthias Clasen  <maclas@gmx.de>

Merge from 2.4:

* glib/gutils.h: Remove vestigial g_get_codeset().
* glib/gutils.c (g_get_codeset): Call g_get_charset().

20 years agoBump version number to 2.5.0.
Matthias Clasen [Thu, 6 May 2004 13:26:26 +0000 (13:26 +0000)]
Bump version number to 2.5.0.

2004-05-06  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Bump version number to 2.5.0.

20 years agoQuote the file scheme to mark it as untranslatable. String change.
Matthias Clasen [Thu, 6 May 2004 03:36:48 +0000 (03:36 +0000)]
Quote the file scheme to mark it as untranslatable. String change.

Wed May  5 23:35:44 2004  Matthias Clasen  <maclas@gmx.de>

* glib/gconvert.c (g_filename_from_uri): Quote the file
scheme to mark it as untranslatable. String change.
(#133144, Danilo Segan)

20 years agoAdd multiple indices.
Matthias Clasen [Wed, 5 May 2004 17:32:12 +0000 (17:32 +0000)]
Add multiple indices.

2004-05-05  Matthias Clasen  <mclasen@redhat.com>

* gobject/gobject-docs.sgml:
* glib/glib-docs.sgml: Add multiple indices.

20 years agoAdd multiple indices.
Matthias Clasen [Wed, 5 May 2004 17:30:47 +0000 (17:30 +0000)]
Add multiple indices.

2004-05-05  Matthias Clasen  <mclasen@redhat.com>

* glib/glib-docs.sgml: Add multiple indices.

20 years agoMove aside ChangeLog for 2.4 glib-2-4-branchpoint
Owen Taylor [Tue, 4 May 2004 20:13:47 +0000 (20:13 +0000)]
Move aside ChangeLog for 2.4

20 years agoUpdated Norwegian translation.
Kjartan Maraas [Tue, 4 May 2004 13:38:04 +0000 (13:38 +0000)]
Updated Norwegian translation.

2004-05-04  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

20 years agoAdded Walloon file
Pablo Saratxaga [Mon, 3 May 2004 12:36:16 +0000 (12:36 +0000)]
Added Walloon file

20 years agocheck for __pentium4__ when deciding whether to use bswap for
Manish Singh [Sun, 2 May 2004 10:55:08 +0000 (10:55 +0000)]
check for __pentium4__ when deciding whether to use bswap for

Sun May  2 03:51:59 2004  Manish Singh  <yosh@gimp.org>

        * glib/gtypes.h: check for __pentium4__ when deciding whether to
        use bswap for GUINT32_SWAP_LE_BE_IA32(). Fixes bug #141620.

20 years agoadded makefile.msc to EXTRA_DIST fixes #141563, Steve Lhomme
Hans Breuer [Sat, 1 May 2004 13:48:24 +0000 (13:48 +0000)]
added makefile.msc to EXTRA_DIST fixes #141563, Steve Lhomme

2004-05-01  Hans Breuer  <hans@breuer.org>

* glib/gnulib/Makefile.am : added makefile.msc to EXTRA_DIST
fixes #141563, Steve Lhomme

20 years ago2004-05-01 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>
Updated ja.po. T.Aihana [Sat, 1 May 2004 02:15:03 +0000 (02:15 +0000)]
2004-05-01 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>

20 years ago=== Released 2.4.1 === GLIB_2_4_1
Matthias Clasen [Fri, 30 Apr 2004 14:45:14 +0000 (14:45 +0000)]
=== Released 2.4.1 ===

2004-04-30  Matthias Clasen  <mclasen@redhat.com>

* === Released 2.4.1 ===

* glib/libcharset/Makefile.am (INCLUDES): Add -I$(top_srcdir)
to make make distcheck happy.

* configure.in: Version 2.4.1, interface age 1.

* NEWS: Updates

20 years agoUpdated Welsh translation from Rhys Jones.
Telsa Gwynne [Fri, 30 Apr 2004 14:09:14 +0000 (14:09 +0000)]
Updated Welsh translation from Rhys Jones.

20 years agoUpdated Ukrainian translation
Yuri Syrota [Fri, 30 Apr 2004 04:59:35 +0000 (04:59 +0000)]
Updated Ukrainian translation

20 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Thu, 29 Apr 2004 04:58:39 +0000 (04:58 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

20 years agoUpdated Serbian translation (and fixed ChangeLog encoding, argh).
Danilo Šegan [Wed, 28 Apr 2004 23:12:56 +0000 (23:12 +0000)]
Updated Serbian translation (and fixed ChangeLog encoding, argh).

20 years agoUpdated Catalan translation.
Jordi Mallach [Tue, 27 Apr 2004 11:50:36 +0000 (11:50 +0000)]
Updated Catalan translation.

20 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Tue, 27 Apr 2004 01:18:11 +0000 (01:18 +0000)]
Translation updated by Tino Meinen.

2004-04-27  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

20 years agoUpdated Czech translation.
Miloslav Trmac [Mon, 26 Apr 2004 13:18:23 +0000 (13:18 +0000)]
Updated Czech translation.

2004-04-26  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

20 years agoUpdated British English translation
Gareth Owen [Mon, 26 Apr 2004 03:26:11 +0000 (03:26 +0000)]
Updated British English translation

20 years agoPlug memory leak. (#140770, John Ehresman)
Tor Lillqvist [Sun, 25 Apr 2004 22:51:46 +0000 (22:51 +0000)]
Plug memory leak. (#140770, John Ehresman)

2004-04-25  Tor Lillqvist  <tml@iki.fi>

* glib/gwin32.c (g_win32_get_package_installation_subdirectory):
Plug memory leak. (#140770, John Ehresman)

20 years agoUpdated the Greek translation
Kostas Papadimas [Sun, 25 Apr 2004 09:02:31 +0000 (09:02 +0000)]
Updated the Greek translation

20 years agoFinnish translation updated by Sami Pesonen <sampeson@iki.fi>
Sami Pesonen [Sat, 24 Apr 2004 22:43:02 +0000 (22:43 +0000)]
Finnish translation updated by Sami Pesonen <sampeson@iki.fi>

20 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Sat, 24 Apr 2004 20:13:03 +0000 (20:13 +0000)]
Updated Polish translation by GNOME PL Team.

2004-04-24  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation by GNOME PL Team.

20 years agoUpdated French translation.
Christophe Merlet [Sat, 24 Apr 2004 18:30:37 +0000 (18:30 +0000)]
Updated French translation.

20 years agoUpdated Portuguese translation.
Duarte Loreto [Sat, 24 Apr 2004 15:44:48 +0000 (15:44 +0000)]
Updated Portuguese translation.

2004-04-24  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

20 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sat, 24 Apr 2004 12:04:13 +0000 (12:04 +0000)]
Updated Spanish translation.

2004-04-24  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

20 years agoUpdated Canadian English translation.
Adam Weinberger [Sat, 24 Apr 2004 05:02:47 +0000 (05:02 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

20 years agoUpdated Swedish translation.
Christian Rose [Fri, 23 Apr 2004 20:33:32 +0000 (20:33 +0000)]
Updated Swedish translation.

2004-04-23  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

20 years agoReinstate LIBCHARSET_ALIAS_DIR support which got lost at some point.
Matthias Clasen [Fri, 23 Apr 2004 14:47:44 +0000 (14:47 +0000)]
Reinstate LIBCHARSET_ALIAS_DIR support which got lost at some point.

2004-04-23  Matthias Clasen  <mclasen@redhat.com>

* glib/libcharset/localcharset.c (_g_locale_get_charset_aliases):
Reinstate LIBCHARSET_ALIAS_DIR support which got lost at some
point.  (#139134, Piotr Klaban)

20 years agoDon't call g_strerror() here, since it can lead to infinite recursion.
Matthias Clasen [Fri, 23 Apr 2004 14:12:54 +0000 (14:12 +0000)]
Don't call g_strerror() here, since it can lead to infinite recursion.

2004-04-23  Matthias Clasen  <mclasen@redhat.com>

* glib/gconvert.c (open_converter): Don't call g_strerror() here,
since it can lead to infinite recursion.  (#139133, Piotr Klaban)

20 years agoActually convert escape chars in --vprod. (#139058, Christophe Saout)
Matthias Clasen [Thu, 22 Apr 2004 21:02:34 +0000 (21:02 +0000)]
Actually convert escape chars in --vprod. (#139058, Christophe Saout)

2004-04-22  Matthias Clasen  <mclasen@redhat.com>

* glib-mkenums.in: Actually convert escape chars in
--vprod.   (#139058, Christophe Saout)

20 years agoTrivial warning fix.
Matthias Clasen [Thu, 22 Apr 2004 20:58:37 +0000 (20:58 +0000)]
Trivial warning fix.

2004-04-22  Matthias Clasen  <mclasen@redhat.com>

* tests/testglib.c (main): Trivial warning fix.

20 years agoAdd some tests for off-by-one errors.
Matthias Clasen [Thu, 22 Apr 2004 20:51:07 +0000 (20:51 +0000)]
Add some tests for off-by-one errors.

2004-04-22  Matthias Clasen  <mclasen@redhat.com>

* tests/queue-test.c (main): Add some tests for off-by-one errors.

* glib/gqueue.c (g_queue_pop_nth_link): Fix an off-by-one
error.  (#139703, Philippe Blain)

20 years agoAdd testcases for g_message() involving non-printable and unsafe
Matthias Clasen [Thu, 22 Apr 2004 20:17:54 +0000 (20:17 +0000)]
Add testcases for g_message() involving non-printable and unsafe

2004-04-22  Matthias Clasen  <mclasen@redhat.com>

* tests/testglib.c (main): Add testcases for g_message() involving
non-printable and unsafe characters.

* glib/gmessages.c (escape_string): Don't assume that
string->str remains unchanged over g_string_insert()
calls.  (#139030, Christophe Saout)

20 years agoFix problems when a locale-specific decimal separator directly follows a
Matthias Clasen [Thu, 22 Apr 2004 15:51:16 +0000 (15:51 +0000)]
Fix problems when a locale-specific decimal separator directly follows a

2004-04-22  Matthias Clasen  <mclasen@redhat.com>

* glib/gstrfuncs.c (g_ascii_strtod): Fix problems when a
locale-specific decimal separator directly follows a
number.  (#138424, Nickolay V. Shmyrev)

* tests/strtod-test.c (main): Add some more testcases.

20 years agoOnly set time_is_current to FALSE if context->timeout is not zero.
Matthias Clasen [Thu, 22 Apr 2004 14:32:58 +0000 (14:32 +0000)]
Only set time_is_current to FALSE if context->timeout is not zero.

2004-04-22  Matthias Clasen  <mclasen@redhat.com>

* glib/gmain.c (g_main_context_query): Only set time_is_current to
FALSE if context->timeout is not zero.  (#137795, Christian Krause)

20 years agoComment out a nonessential testcase which fails on HP-UX. (#136283, Jonas
Matthias Clasen [Wed, 21 Apr 2004 18:56:48 +0000 (18:56 +0000)]
Comment out a nonessential testcase which fails on HP-UX. (#136283, Jonas

2004-04-21  Matthias Clasen  <mclasen@redhat.com>

* tests/printf-test.c (main): Comment out a nonessential testcase
which fails on HP-UX.  (#136283, Jonas Jonsson)

20 years agoCorrect the initial minimal value to be -G_MAXFLOAT. The initial values
Matthias Clasen [Thu, 15 Apr 2004 16:45:31 +0000 (16:45 +0000)]
Correct the initial minimal value to be -G_MAXFLOAT. The initial values

2004-04-15  Matthias Clasen  <mclasen@redhat.com>

* gparamspecs.c (param_float_init): Correct the initial
minimal value to be -G_MAXFLOAT. The initial values were
inconsistant before, with the initial default being smaller
than the inital minimum.
(param_double_init): Correct the initial minimal value
to be -G_MAXDOUBLE.

* glib/tmpl/types.sgml: Correct the description of the
gfloat and gdouble ranges.

20 years agoAdd tests for the empty pattern.
Matthias Clasen [Thu, 15 Apr 2004 13:58:29 +0000 (13:58 +0000)]
Add tests for the empty pattern.

2004-04-15  Matthias Clasen  <mclasen@redhat.com>

* tests/patterntest.c (main): Add tests for the empty pattern.

* glib/gpattern.c (g_pattern_spec_new): Don't read and write out
of bounds when the pattern is empty.  (#140032, Stanislav Brabec,
Stefan Fent)

20 years agoAdd new language and sublanguage codes, from GNU gettext. (#137958)
Tor Lillqvist [Sat, 10 Apr 2004 03:43:39 +0000 (03:43 +0000)]
Add new language and sublanguage codes, from GNU gettext. (#137958)

2004-04-10  Tor Lillqvist  <tml@iki.fi>

* glib/gwin32.c (g_win32_getlocale): Add new language and
sublanguage codes, from GNU gettext. (#137958)

20 years agoglib/giowin32.c glib/gmain.c glib/gstrfuncs.c Decorating variable
Tor Lillqvist [Sat, 10 Apr 2004 01:55:57 +0000 (01:55 +0000)]
glib/giowin32.c glib/gmain.c glib/gstrfuncs.c Decorating variable

2004-04-10  Tor Lillqvist  <tml@iki.fi>

* glib/giowin32.c
* glib/gmain.c
* glib/gstrfuncs.c
* glib/gthread.c: Decorating variable definitions with
__declspec(dllexport) causes problems on Cygwin build, and isn't
really needed for a native Win32 build with mingw or MSVC, so
remove. (#138402, Roger Leigh)

* glib/libcharset/localcharset.c: Use Win32-specific code also on
Cygwin.
* tests/uri-test.c: Don't assume that local filenames are in UTF-8
on Cygwin, either. (#138412, Roger Leigh)

20 years agoadded gujarati translations
Guntupalli Karunakar [Thu, 8 Apr 2004 15:28:47 +0000 (15:28 +0000)]
added gujarati translations

20 years agoUpdated Basque translation.
Iñaki Larrañaga [Wed, 7 Apr 2004 10:11:40 +0000 (10:11 +0000)]
Updated Basque translation.

2004-04-07  Iñaki Larrañaga  <dooteo@euskalgnu.org>

        * eu.po: Updated Basque translation.

20 years agoRemove AC_CYGWIN, obsolete. Don't let pthreads be found on Cygwin, they
Tor Lillqvist [Sat, 3 Apr 2004 04:46:41 +0000 (04:46 +0000)]
Remove AC_CYGWIN, obsolete. Don't let pthreads be found on Cygwin, they

2004-04-03  Tor Lillqvist  <tml@iki.fi>

* configure.in: Remove AC_CYGWIN, obsolete. Don't let pthreads be
found on Cygwin, they don't work. (#138401, Roger Leigh)

20 years agoUpdated Indonesian translation
Mohammad DAMT [Wed, 31 Mar 2004 03:24:37 +0000 (03:24 +0000)]
Updated Indonesian translation

2004-03-31 Mohammad DAMT  <mdamt@bisnisweb.com>

* id.po: Updated Indonesian translation

20 years agoUse UTF-16LE explicitly also on Cygwin. (#138423, Roger Leigh)
Tor Lillqvist [Wed, 31 Mar 2004 02:19:10 +0000 (02:19 +0000)]
Use UTF-16LE explicitly also on Cygwin. (#138423, Roger Leigh)

2004-03-31  Tor Lillqvist  <tml@iki.fi>

* tests/unicode-encoding.c (process): Use UTF-16LE explicitly also
on Cygwin. (#138423, Roger Leigh)

20 years agoMinor Cygwin fix. (#138405, Roger Leigh)
Tor Lillqvist [Wed, 31 Mar 2004 02:13:52 +0000 (02:13 +0000)]
Minor Cygwin fix. (#138405, Roger Leigh)

2004-03-31  Tor Lillqvist  <tml@iki.fi>

* tests/spawn-test-win32-gui.c: Minor Cygwin fix. (#138405, Roger
Leigh)

20 years agoOn Cygwin, use the "cyg" prefix, and accept also the normal "lib".
Tor Lillqvist [Wed, 31 Mar 2004 02:02:02 +0000 (02:02 +0000)]
On Cygwin, use the "cyg" prefix, and accept also the normal "lib".

2004-03-31  Tor Lillqvist  <tml@iki.fi>

* gmodule-win32.c (_g_module_build_path): On Cygwin, use the "cyg"
prefix, and accept also the normal "lib". (#138403, Roger Leigh)

20 years agoAdded en_CA to ALL_LINGUAS. Added Canadian English translation.
Adam Weinberger [Tue, 30 Mar 2004 21:24:20 +0000 (21:24 +0000)]
Added en_CA to ALL_LINGUAS. Added Canadian English translation.

* configure.in: Added en_CA to ALL_LINGUAS.
* po/en_CA.po: Added Canadian English translation.

20 years agoUpdated Hebrew translation.
Gil Osher [Thu, 25 Mar 2004 21:30:25 +0000 (21:30 +0000)]
Updated Hebrew translation.

* he.po: Updated Hebrew translation.

20 years agoUpdated Hebrew translation.
Gil Osher [Thu, 25 Mar 2004 21:28:56 +0000 (21:28 +0000)]
Updated Hebrew translation.

20 years agoFix Win32 behaviour in some cases where a drive letter is present. For
Tor Lillqvist [Sun, 21 Mar 2004 21:43:13 +0000 (21:43 +0000)]
Fix Win32 behaviour in some cases where a drive letter is present. For

2004-03-21  Tor Lillqvist  <tml@iki.fi>

* glib/gutils.c (g_path_get_dirname): Fix Win32 behaviour in some
cases where a drive letter is present. For 'a:' or 'a:foo', return
'a:.'. This is mostly just for consistency with the behaviour
without a drive letter. But very important is to for 'a:\foo' or
'a:\', return 'a:\', and not 'a:'. (Ditto for forward slashes
instead of backslashes.) (#137316)

* tests/dirname-test.c (main): More complete testing on
Win32. If a test fails, include expected and actual result in
error message.

20 years agoAdd credit ChangeLog
Owen Taylor [Fri, 19 Mar 2004 20:26:00 +0000 (20:26 +0000)]
Add credit ChangeLog

20 years agoFix the accidental revert of the fixes from #112222 that happened when the
Owen Taylor [Fri, 19 Mar 2004 20:25:03 +0000 (20:25 +0000)]
Fix the accidental revert of the fixes from #112222 that happened when the

Fri Mar 19 15:21:09 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c: Fix the accidental revert of the
        fixes from #112222 that happened when the GChildWatch
        code was added.

20 years agoMake computation of "biggest_pointer" vaguely more portable. (#137498,
Owen Taylor [Fri, 19 Mar 2004 16:13:37 +0000 (16:13 +0000)]
Make computation of "biggest_pointer" vaguely more portable. (#137498,

Fri Mar 19 11:07:06 2004  Owen Taylor  <otaylor@redhat.com>

        * tests/atomic-test.c (main): Make computation
        of "biggest_pointer" vaguely more portable.
        (#137498, Jonas Jonsson)

20 years agoUpdated Slovak translation.
Stanislav Visnovsky [Thu, 18 Mar 2004 08:16:45 +0000 (08:16 +0000)]
Updated Slovak translation.

2004-03-18  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation.

20 years agoDefine HAVE_INT64_AND_I64 also in the mingw (gcc on Win32) case, where the
Tor Lillqvist [Wed, 17 Mar 2004 19:07:37 +0000 (19:07 +0000)]
Define HAVE_INT64_AND_I64 also in the mingw (gcc on Win32) case, where the

2004-03-16  Tor Lillqvist  <tml@iki.fi>

* configure.in: Define HAVE_INT64_AND_I64 also in the mingw (gcc
on Win32) case, where the 64-bit type is called long long, but the
system printf/scanf format modifier for 64-bit integers is still I64.

20 years agoAdded en_GB to ALL_LINGUAS Added British translation
Gareth Owen [Wed, 17 Mar 2004 02:37:04 +0000 (02:37 +0000)]
Added en_GB to ALL_LINGUAS Added British translation

2004-03-16  Gareth Owen  <gowen72@yahoo.com>

* configure.in: Added en_GB to ALL_LINGUAS
* po/en_GB.po: Added British translation

20 years ago=== Released 2.4.0 === GLIB_2_4_0
Owen Taylor [Tue, 16 Mar 2004 19:10:34 +0000 (19:10 +0000)]
=== Released 2.4.0 ===

Tue Mar 16 11:50:56 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.4.0 ===

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

        * README.in: Updates

        * NEWS: Updates

20 years agoMark the two entries that shouldn't be in the import library (see below)
Tor Lillqvist [Tue, 16 Mar 2004 00:50:10 +0000 (00:50 +0000)]
Mark the two entries that shouldn't be in the import library (see below)

2004-03-10  Tor Lillqvist  <tml@iki.fi>

* gobject.def: Mark the two entries that shouldn't be in the
import library (see below) as PRIVATE.

20 years agoUpdated Romanian translation by Misu Moldovan <dumol@go.ro>
Mugurel Tudor [Mon, 15 Mar 2004 19:53:04 +0000 (19:53 +0000)]
Updated Romanian translation by Misu Moldovan <dumol@go.ro>

2004-03-15  Mugurel Tudor  <mugurelu@go.ro>

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

20 years ago*** empty log message ***
Denis Lackovic [Sun, 14 Mar 2004 21:51:57 +0000 (21:51 +0000)]
*** empty log message ***

20 years agoHandle invalid UTF-8. (#131218, patch from Matthias Clasen)
Owen Taylor [Sun, 14 Mar 2004 18:59:33 +0000 (18:59 +0000)]
Handle invalid UTF-8. (#131218, patch from Matthias Clasen)

Sun Mar 14 13:56:48 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gmessages.c (escape_string): Handle invalid
        UTF-8. (#131218, patch from Matthias Clasen)

20 years agoUse fork1() not fork for G_THREADS_IMPL_SOLARIS. (#136971, Sebastian
Owen Taylor [Sun, 14 Mar 2004 18:26:47 +0000 (18:26 +0000)]
Use fork1() not fork for G_THREADS_IMPL_SOLARIS. (#136971, Sebastian

Sun Mar 14 13:23:36 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gspawn.c: Use fork1() not fork for
        G_THREADS_IMPL_SOLARIS. (#136971, Sebastian Wilhelmi)

20 years agoif _POLL_EMUL_H is defined, undefine HAVE_POLL to prefer our own poll()
Owen Taylor [Sun, 14 Mar 2004 18:02:37 +0000 (18:02 +0000)]
if _POLL_EMUL_H is defined, undefine HAVE_POLL to prefer our own poll()

Sun Mar 14 12:58:30 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c: if _POLL_EMUL_H is defined, undefine
        HAVE_POLL to prefer our own poll() emulation to the
        lame OS/X one. (#136956, Manish Singh)

20 years agoSGML markup fix
Owen Taylor [Sun, 14 Mar 2004 16:35:54 +0000 (16:35 +0000)]
SGML markup fix

20 years agoDocument the fact that g_signal_connect_object() does *not* remove the
Owen Taylor [Sun, 14 Mar 2004 16:34:23 +0000 (16:34 +0000)]
Document the fact that g_signal_connect_object() does *not* remove the

Sun Mar 14 11:00:41 2004  Owen Taylor  <otaylor@redhat.com>

        * gobject/tmpl/signals.sgml: Document the fact that
        g_signal_connect_object() does *not* remove the signal
        when the object is disconnected currently and describe
        a workaround to prevent memory leaks.

20 years agoAdd __extension__ to G_STMT_START to quite gcc -pedantic. (#131899,
Owen Taylor [Sun, 14 Mar 2004 04:36:04 +0000 (04:36 +0000)]
Add __extension__ to G_STMT_START to quite gcc -pedantic. (#131899,

Sat Mar 13 23:30:53 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gmacros.h (G_STMT_START): Add __extension__
        to G_STMT_START to quite gcc -pedantic. (#131899,
        Olivier Biot)

20 years agoRemove critical log handler; we can't trigger g_return_if_fails() in our
Owen Taylor [Sun, 14 Mar 2004 04:27:26 +0000 (04:27 +0000)]
Remove critical log handler; we can't trigger g_return_if_fails() in our

Sat Mar 13 23:18:45 2004  Owen Taylor  <otaylor@redhat.com>

        * tests/env-test.c (main): Remove critical log handler;
        we can't trigger g_return_if_fails() in our test suite
        even silently, because the user could have compiled
        with --disable-debug. #if 0 the tests for
        g_setenv/g_unsetenv with a "foo=bar" variable name.
        (#136709, reported by Frédéric L. W. Meunier)

20 years agoSome warning fixes for the Sun compiler (Reported by David L. Cooper II,
Owen Taylor [Sun, 14 Mar 2004 04:15:10 +0000 (04:15 +0000)]
Some warning fixes for the Sun compiler (Reported by David L. Cooper II,

Sat Mar 13 23:10:35 2004  Owen Taylor  <otaylor@redhat.com>

        Some warning fixes for the Sun compiler (Reported by
        David L. Cooper II, #136401)

        * glib/giochannel.c (g_io_channel_read): Return
        G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte
        function returns a GIOError.

        * glib/guniprop.c: Fix some guchar/gchar confusion
        with special_case_table.

20 years agoia32's G_BREAKPOINT() implementation works on amd64 too. Enable it.
Manish Singh [Fri, 12 Mar 2004 23:31:23 +0000 (23:31 +0000)]
ia32's G_BREAKPOINT() implementation works on amd64 too. Enable it.

Fri Mar 12 15:30:58 2004  Manish Singh  <yosh@gimp.org>

        * glib/gbacktrace.h: ia32's G_BREAKPOINT() implementation works on
        amd64 too. Enable it.