platform/upstream/glib.git
19 years agoAdd test case for group removal.
Matthias Clasen [Tue, 1 Feb 2005 14:10:46 +0000 (14:10 +0000)]
Add test case for group removal.

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

* tests/keyfile-test.c (test_group_remove): Add test case for
group removal.

* glib/gkeyfile.c (g_key_file_remove_group): Don't segfault
if the group doesn't exist.  (#165887, Mathias Hasselmann)

19 years agoUpdated Lithuanian translation.
Žygimantas Beručka [Mon, 31 Jan 2005 09:33:51 +0000 (09:33 +0000)]
Updated Lithuanian translation.

2005-01-31  Žygimantas Beručka  <uid0@akl.lt>

        * lt.po: Updated Lithuanian translation.

19 years agoUpdated Italian translation.
Alessio Frusciante [Sun, 30 Jan 2005 16:17:25 +0000 (16:17 +0000)]
Updated Italian translation.

19 years agoSome more unit tests.
Matthias Clasen [Sun, 30 Jan 2005 06:33:10 +0000 (06:33 +0000)]
Some more unit tests.

2005-01-30  Matthias Clasen  <mclasen@redhat.com>

* tests/keyfile-test.c: Some more unit tests.

19 years agoAdded "tl" to ALL_LINGUAS. Added Tagalog translation by Eric Pareja
Christian Rose [Fri, 28 Jan 2005 18:43:34 +0000 (18:43 +0000)]
Added "tl" to ALL_LINGUAS. Added Tagalog translation by Eric Pareja

2005-01-28  Christian Rose  <menthos@menthos.com>

* configure.in: Added "tl" to ALL_LINGUAS.
* po/tl.po: Added Tagalog translation by
Eric Pareja <xenos@upm.edu.ph>.

19 years agoLet $srcdir default to .
Matthias Clasen [Mon, 24 Jan 2005 17:35:44 +0000 (17:35 +0000)]
Let $srcdir default to .

2005-01-24  Matthias Clasen  <mclasen@redhat.com>

* tests/run-markup-tests.sh: Let $srcdir default to .

19 years agoAdd a test with a long entity name.
Matthias Clasen [Mon, 24 Jan 2005 17:25:37 +0000 (17:25 +0000)]
Add a test with a long entity name.

2005-01-24  Matthias Clasen  <mclasen@redhat.com>

* tests/markups/fail-40.gmarkup: Add a test with a long entity
name.

* glib/gmarkup.c (unescape_text_state_inside_entity_name): Don't
copy the entity name into a short buffer of fixed length. Instead,
compare it in place with strncmp(), and do a full strdup() in the
error path.  (#165100, Simon Budig)

19 years agoDon't g_assert that localtime() returns non-NULL. It does return NULL at
Tor Lillqvist [Sat, 22 Jan 2005 22:10:45 +0000 (22:10 +0000)]
Don't g_assert that localtime() returns non-NULL. It does return NULL at

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

* glib/gdate.c (g_date_set_time): Don't g_assert that localtime()
returns non-NULL. It does return NULL at least on Win32 if you
pass it a negative time_t, which although wrong, shouldn't cause
an application to abort. Instead return 2000-01-01 as a default
date. Print a warning unless G_DISABLE_CHECKS. (#164622)

19 years agoShut up cvs
Manish Singh [Fri, 21 Jan 2005 23:28:48 +0000 (23:28 +0000)]
Shut up cvs

19 years agoDon't interpret leading zeros as octal. The specification requires %f
Matthias Clasen [Thu, 20 Jan 2005 17:16:47 +0000 (17:16 +0000)]
Don't interpret leading zeros as octal. The specification requires %f

2005-01-20  Matthias Clasen  <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_parse_value_as_integer): Don't
interpret leading zeros as octal. The specification requires
%f parsing, and %f doesn't allow octal.

* tests/keyfile-test.c: Add some more tests.

19 years agoAdd some more tests.
Matthias Clasen [Thu, 20 Jan 2005 15:31:55 +0000 (15:31 +0000)]
Add some more tests.

2005-01-20  Matthias Clasen  <mclasen@redhat.com>

* tests/keyfile-test.c: Add some more tests.

* glib/gkeyfile.c (g_key_file_get_keys): Return keys in
the order found in the file, rather than the opposite.
(g_key_file_parse_value_as_string): Fix error reporting.

19 years agoAccept \r\n as line end. (#163030, Bastian Nocera)
Matthias Clasen [Wed, 19 Jan 2005 14:14:27 +0000 (14:14 +0000)]
Accept \r\n as line end. (#163030, Bastian Nocera)

2005-01-19  Matthias Clasen  <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_parse_data): Accept \r\n as
line end.  (#163030, Bastian Nocera)
(g_key_file_load_from_data): Make -1 work as a size.

* tests/keyfile-test.c: Some unit tests for the keyfile
parser.

* tests/Makefile.am (test_programs): Add keyfile-test.

19 years agoNah, don't use FatalAppExit(). abort() is better.
Tor Lillqvist [Wed, 19 Jan 2005 02:27:37 +0000 (02:27 +0000)]
Nah, don't use FatalAppExit(). abort() is better.

19 years agoOn Win32 call G_BREAKPOINT() if being debugged.
Tor Lillqvist [Wed, 19 Jan 2005 01:55:40 +0000 (01:55 +0000)]
On Win32 call G_BREAKPOINT() if being debugged.

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

* glib/gbacktrace.c (g_on_error_stack_trace): On Win32 call
G_BREAKPOINT() if being debugged.

* glib/gmessages.c (g_logv): For fatal messages on Win32, use
G_BREAKPOINT() also without G_ENABLE_DEBUG, but only if being
debugged. Suggestion by Ulf Lamping. Otherwise use FatalAppExit().

19 years agoDon't include alloca.h. It is not needed, and does not exist on win32.
Matthias Clasen [Tue, 18 Jan 2005 13:41:57 +0000 (13:41 +0000)]
Don't include alloca.h. It is not needed, and does not exist on win32.

2005-01-18  Matthias Clasen  <mclasen@redhat.com>

* glib/gqsort.c: Don't include alloca.h. It is not needed,
and does not exist on win32.  (#164468, Kazuki IWAMOTO)

19 years agoFix a sparse warning. (#164467, Kjartan Maraas)
Matthias Clasen [Tue, 18 Jan 2005 13:19:02 +0000 (13:19 +0000)]
Fix a sparse warning. (#164467, Kjartan Maraas)

2005-01-18  Matthias Clasen  <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_get_boolean_list): Fix a
sparse warning.  (#164467, Kjartan Maraas)

19 years agoDon't crash if G_FILENAME_ENCODING is empty. (#164330, Pawel Sakowski)
Matthias Clasen [Mon, 17 Jan 2005 15:28:59 +0000 (15:28 +0000)]
Don't crash if G_FILENAME_ENCODING is empty. (#164330, Pawel Sakowski)

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

* glib/gconvert.c (g_get_filename_charsets): Don't crash
if G_FILENAME_ENCODING is empty.  (#164330, Pawel Sakowski)

19 years agofix a typo in my name
Sebastien Bacher [Mon, 17 Jan 2005 10:25:27 +0000 (10:25 +0000)]
fix a typo in my name

19 years agoFix an example. (#164269, Sebastian Bacher)
Matthias Clasen [Mon, 17 Jan 2005 03:16:29 +0000 (03:16 +0000)]
Fix an example. (#164269, Sebastian Bacher)

2005-01-16  Matthias Clasen  <mclasen@redhat.com>

* gobject/tmpl/enumerations_flags.sgml: Fix an
example.  (#164269, Sebastian Bacher)

2

19 years agosh portability fix. Use "test" and not [. (#163144, Robert Ögren)
Tor Lillqvist [Sat, 15 Jan 2005 22:40:16 +0000 (22:40 +0000)]
sh portability fix. Use "test" and not [. (#163144, Robert Ögren)

2005-01-15  Tor Lillqvist  <tml@iki.fi>

* configure.in: sh portability fix. Use "test" and not [.
(#163144, Robert Ögren)

19 years agoushe7
Ivan Stojmirov [Fri, 14 Jan 2005 22:20:12 +0000 (22:20 +0000)]
ushe7

19 years agoUpdated Catalan translation.
Jordi Mallach [Fri, 14 Jan 2005 09:53:39 +0000 (09:53 +0000)]
Updated Catalan translation.

19 years agoUpdated Slovak translation.
Marcel Telka [Fri, 14 Jan 2005 06:15:58 +0000 (06:15 +0000)]
Updated Slovak translation.

2005-01-14  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation.

19 years agoShut up cvs
Manish Singh [Thu, 13 Jan 2005 23:01:16 +0000 (23:01 +0000)]
Shut up cvs

19 years agoSync to glibc. (#133994, Morten Welinder, patch by Kjartan Maraas)
Matthias Clasen [Thu, 13 Jan 2005 18:04:18 +0000 (18:04 +0000)]
Sync to glibc. (#133994, Morten Welinder, patch by Kjartan Maraas)

2005-01-13  Matthias Clasen  <mclasen@redhat.com>

* glib/gqsort.c: Sync to glibc.  (#133994, Morten Welinder,
patch by Kjartan Maraas)

19 years agoCosmetic fixes (#163792, Benoît Carpentier):
Matthias Clasen [Wed, 12 Jan 2005 17:27:18 +0000 (17:27 +0000)]
Cosmetic fixes (#163792, Benoît Carpentier):

2005-01-12  Matthias Clasen  <mclasen@redhat.com>

Cosmetic fixes (#163792, Benoît Carpentier):

* gobject-query.c (main): Remove duplicate lines.

* gvaluetransform.c: Remove duplicate definitions of
value_transform_[u]int64_[u]int64.

19 years agoRevert accidental commit
Owen Taylor [Tue, 11 Jan 2005 20:40:09 +0000 (20:40 +0000)]
Revert accidental commit

19 years agoAdd gmodule-export-2.0.pc to AC_CONFIG_FILES.
Owen Taylor [Tue, 11 Jan 2005 20:39:00 +0000 (20:39 +0000)]
Add gmodule-export-2.0.pc to AC_CONFIG_FILES.

2005-01-11  Owen Taylor <otaylor@redhat.com>

        * configure.in: Add gmodule-export-2.0.pc to AC_CONFIG_FILES.

        * glib/Makefile.am gobject/Makefile.am gthread/Makefile.am:
        Use grep | head -n 1 instead of grep -m 1 which doesn't work
        with slightly older versions of GNU grep in
        install-libtool-import-lib rule.

19 years agoTypo fix.
Matthias Clasen [Tue, 11 Jan 2005 15:46:19 +0000 (15:46 +0000)]
Typo fix.

19 years agoUpdated Portuguese translation.
Duarte Loreto [Mon, 10 Jan 2005 22:05:13 +0000 (22:05 +0000)]
Updated Portuguese translation.

2005-01-10  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

19 years agoAdd missing ChangeLog.pre*
Owen Taylor [Mon, 10 Jan 2005 16:08:48 +0000 (16:08 +0000)]
Add missing ChangeLog.pre*

2005-01-10  Owen Taylor  <otaylor@redhat.com>

        * Makefile.am (EXTRA_DIST): Add missing ChangeLog.pre*

19 years agoSplit ChangeLog for 2.6 glib-2-6-branchpoint
Owen Taylor [Mon, 10 Jan 2005 15:52:23 +0000 (15:52 +0000)]
Split ChangeLog for 2.6

19 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Mon, 10 Jan 2005 14:19:02 +0000 (14:19 +0000)]
Updated Polish translation by GNOME PL Team.

2005-01-10  Artur Flinta  <aflinta@cvs.gnome.org>

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

19 years agoInclude also wchar.h for wcslen on Cygwin. (#163133, Roger Leigh)
Tor Lillqvist [Sun, 9 Jan 2005 22:55:52 +0000 (22:55 +0000)]
Include also wchar.h for wcslen on Cygwin. (#163133, Roger Leigh)

2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>

* glib/gwin32.c: Include also wchar.h for wcslen on
Cygwin. (#163133, Roger Leigh)

19 years agomake it compile with mvc6 default sdk, (#define INVALID_FILE_ATTRIBUTES,
Hans Breuer [Sun, 9 Jan 2005 21:43:40 +0000 (21:43 +0000)]
make it compile with mvc6 default sdk, (#define INVALID_FILE_ATTRIBUTES,

2005-01-09  Hans Breuer  <hans@breuer.org>

* glib/gfileutils.c : make it compile with mvc6 default sdk,
(#define INVALID_FILE_ATTRIBUTES, FILE_ATTRIBUTE_DEVICE)

19 years agoFix cast. (#163133, Roger Leigh)
Tor Lillqvist [Sun, 9 Jan 2005 19:11:40 +0000 (19:11 +0000)]
Fix cast. (#163133, Roger Leigh)

2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>

* glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger
Leigh)

19 years agoUpdated Italian translation.
Alessio Frusciante [Sun, 9 Jan 2005 10:42:58 +0000 (10:42 +0000)]
Updated Italian translation.

19 years agoInclude <io.h> on Windows for prototypes. (#163390, Kazuki Iwamoto)
Tor Lillqvist [Sun, 9 Jan 2005 01:18:32 +0000 (01:18 +0000)]
Include <io.h> on Windows for prototypes. (#163390, Kazuki Iwamoto)

2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>

* glib/gfileutils.c: Include <io.h> on Windows for
prototypes. (#163390, Kazuki Iwamoto)

19 years agoTypo fixes.
Matthias Clasen [Fri, 7 Jan 2005 17:42:19 +0000 (17:42 +0000)]
Typo fixes.

2005-01-07  Matthias Clasen  <mclasen@redhat.com>

* NEWS: Typo fixes.

19 years agoBump version
Matthias Clasen [Fri, 7 Jan 2005 17:39:54 +0000 (17:39 +0000)]
Bump version

2005-01-07  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Bump version

19 years ago2.6.1 GLIB_2_6_1
Matthias Clasen [Fri, 7 Jan 2005 16:58:16 +0000 (16:58 +0000)]
2.6.1

19 years agoGenerate and distribute gmodule-export-2.0.pc, which is currently just a
Matthias Clasen [Fri, 7 Jan 2005 15:20:15 +0000 (15:20 +0000)]
Generate and distribute gmodule-export-2.0.pc, which is currently just a

2005-01-07  Matthias Clasen  <mclasen@redhat.com>

* configure.in:
* Makefile.am: Generate and distribute gmodule-export-2.0.pc,
which is currently just a copy of gmodule-2.0.pc, but makes
it explicit that it adds --export-dynamic.

* gmodule-export-2.0.pc.in: Copy of gmodule-2.0.pc.in.

19 years agoAdd hint about group name case sensitivity. (#163029, Bastien Nocera)
Matthias Clasen [Thu, 6 Jan 2005 21:46:32 +0000 (21:46 +0000)]
Add hint about group name case sensitivity. (#163029, Bastien Nocera)

2005-01-06  Matthias Clasen  <mclasen@redhat.com>

* glib/tmpl/keyfile.sgml: Add hint about group name
case sensitivity.  (#163029, Bastien Nocera)

19 years agoconfigure.in glib/Makefile.am Win32 cross-compilation fixes. (#163144, J.
Tor Lillqvist [Thu, 6 Jan 2005 19:15:49 +0000 (19:15 +0000)]
configure.in glib/Makefile.am Win32 cross-compilation fixes. (#163144, J.

2005-01-06  Tor Lillqvist  <tml@iki.fi>

* configure.in
* glib/Makefile.am
* gobject/Makefile.am: Win32 cross-compilation fixes. (#163144,
J. Ali Harlow)

19 years agoglib/Makefile.am glib.def and gobject.def are generated, not in $(srcdir).
Tor Lillqvist [Thu, 6 Jan 2005 17:18:12 +0000 (17:18 +0000)]
glib/Makefile.am glib.def and gobject.def are generated, not in $(srcdir).

2005-01-06  Tor Lillqvist  <tml@iki.fi>

* glib/Makefile.am
* gobject/Makefile.am: glib.def and gobject.def are generated, not
in $(srcdir). (#163143, J. Ali Harlow)

19 years agoUpdated Welsh translation.
Rhys Jones [Thu, 6 Jan 2005 00:51:21 +0000 (00:51 +0000)]
Updated Welsh translation.

2005-01-06  Rhys Jones <rhys@sucs.org>

        * cy.po: Updated Welsh translation.

19 years agoUpdated Welsh translation (cy.po).
Rhys James Jones [Thu, 6 Jan 2005 00:26:06 +0000 (00:26 +0000)]
Updated Welsh translation (cy.po).

19 years agoSimplify the inlining magic to make it work at Oh zero. (#162990, Kalpesh
Matthias Clasen [Wed, 5 Jan 2005 20:10:57 +0000 (20:10 +0000)]
Simplify the inlining magic to make it work at Oh zero. (#162990, Kalpesh

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

* glib/gutils.h: Simplify the inlining magic to make it
work at Oh zero.  (#162990, Kalpesh Shah)

19 years agoUse g_win32_getlocale() instead of setlocale() on Windows. setlocale()
Tor Lillqvist [Tue, 4 Jan 2005 21:21:07 +0000 (21:21 +0000)]
Use g_win32_getlocale() instead of setlocale() on Windows. setlocale()

2005-01-04  Tor Lillqvist  <tml@iki.fi>

* glib/guniprop.c (get_locale_type): Use g_win32_getlocale()
instead of setlocale() on Windows. setlocale() returns strings
like "Turkish_Turkey".

19 years agoSmall addition. (#145158, Mariano Suárez-Alvarez)
Matthias Clasen [Tue, 4 Jan 2005 18:40:02 +0000 (18:40 +0000)]
Small addition. (#145158, Mariano Suárez-Alvarez)

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

* gobject/tmpl/signals.sgml: Small addition. (#145158,
Mariano Suárez-Alvarez)

19 years agoFix the inlining magic. (#157536, Jens Hatlak, and #149907, Morten
Matthias Clasen [Tue, 4 Jan 2005 05:31:44 +0000 (05:31 +0000)]
Fix the inlining magic. (#157536, Jens Hatlak, and #149907, Morten

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

Fix the inlining magic.  (#157536, Jens Hatlak, and
#149907, Morten Welinder)

* configure.in: Define G_CAN_INLINE in glibconfig.h

* glib/gutils.h: Streamline the inlining magic a bit,
don't use extern when implementing the non-inlined
version.

19 years agoDon't return directories. (#160738, Tommi Komulainen)
Matthias Clasen [Mon, 3 Jan 2005 19:57:20 +0000 (19:57 +0000)]
Don't return directories. (#160738, Tommi Komulainen)

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

* glib/gutils.c (g_find_program_in_path): Don't return
directories.  (#160738, Tommi Komulainen)

19 years agoClarify the documentation. (#162251, Mariano Suárez-Alvarez)
Matthias Clasen [Mon, 3 Jan 2005 18:56:20 +0000 (18:56 +0000)]
Clarify the documentation. (#162251, Mariano Suárez-Alvarez)

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

* glib/gfileutils.c (g_file_get_contents): Clarify the
documentation.  (#162251, Mariano Suárez-Alvarez)

19 years agoClarify the docs. (#162747, Crispin Flowerday)
Matthias Clasen [Mon, 3 Jan 2005 04:21:24 +0000 (04:21 +0000)]
Clarify the docs. (#162747, Crispin Flowerday)

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

* glib/gutils.c (g_setenv, g_unsetenv): Clarify the
docs.  (#162747, Crispin Flowerday)

19 years agoDon't use AC_TRY_RUN to test for long long format when using the
J. Ali Harlow [Mon, 3 Jan 2005 00:20:47 +0000 (00:20 +0000)]
Don't use AC_TRY_RUN to test for long long format when using the

2005-01-01  J. Ali Harlow  <ali@juiblex.co.uk>

* configure.in: Don't use AC_TRY_RUN to test for long long format
when using the MSVCRT.DLL runtime since we know the answer anyway
and it causes some mild inconvience when cross compiling.

* README.win32: Add a reference to the cross compiling section
of the reference manual.

* docs/reference/glib/cross.sgml: MinGW uses MSVCRT.DLL which
requires %I64i instead of %lli. (#161306)

19 years agoIt's wrong to call g_file_test() with more than one test (both
Tor Lillqvist [Sun, 2 Jan 2005 16:03:56 +0000 (16:03 +0000)]
It's wrong to call g_file_test() with more than one test (both

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

* gmodule.c (g_module_open): It's wrong to call g_file_test() with
more than one test (both G_FILE_TEST_EXISTS and _IS_REGULAR). (It
would succeed even if the pathname existed as a nonregular file.)
Just G_FILE_TEST_IS_REGULAR works fine. (#162594)

19 years agoMake the g_getenv() ABI backward compatibility wrapper more robust.
Tor Lillqvist [Sat, 1 Jan 2005 16:55:10 +0000 (16:55 +0000)]
Make the g_getenv() ABI backward compatibility wrapper more robust.

2005-01-01  Tor Lillqvist  <tml@iki.fi>

* glib/gutils.c: Make the g_getenv() ABI backward compatibility
wrapper more robust.

19 years agoglib/glib.symbols glib/gutils.h Make also g_getenv(), g_setenv(),
Tor Lillqvist [Sat, 1 Jan 2005 02:09:51 +0000 (02:09 +0000)]
glib/glib.symbols glib/gutils.h Make also g_getenv(), g_setenv(),

2005-01-01  Tor Lillqvist  <tml@iki.fi>

* glib/glib.symbols
* glib/gutils.h
* glib/gutils.c: Make also g_getenv(), g_setenv(), g_unsetenv()
and g_find_program_in_path() take and return UTF-8 strings on
Win32. Implement DLL ABI backward compatility for them, too. Move
all the DLL ABI stability wrappers to the end of the file. Use
wide character API when available in inner_find_program_in_path().

* glib/gfileutils.c: With the UTF-8ness of g_getenv() above, just
use g_getenv() to get PATHEXT. (Yeah, it's probably overdoing it
to consider somebody actually having anything else than ASCII
in PATHEXT, but...)

19 years agoRewrite the Win32 version to use GetFileAttributes() instead of stat().
Tor Lillqvist [Fri, 31 Dec 2004 01:15:15 +0000 (01:15 +0000)]
Rewrite the Win32 version to use GetFileAttributes() instead of stat().

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

* glib/gfileutils.c (g_file_test): Rewrite the Win32 version to
use GetFileAttributes() instead of stat(). stat() is unreliable
for corner cases like '\\server\share' or '.\'. Part of fixing
#161797. When testing for executability, in addition to the fixed
set of executable file name extensions also check the PATHEXT
environment variable.

19 years agoUse GetCurrentDirectory() directly for simpler buffer length management. I
Tor Lillqvist [Thu, 30 Dec 2004 17:48:23 +0000 (17:48 +0000)]
Use GetCurrentDirectory() directly for simpler buffer length management. I

2004-12-30  Tor Lillqvist  <tml@iki.fi>

* glib/gutils.c (g_get_current_dir): Use GetCurrentDirectory()
directly for simpler buffer length management. I don't trust
getcwd() getting it right all the time.

19 years agoTypo fix.
Matthias Clasen [Thu, 30 Dec 2004 05:18:56 +0000 (05:18 +0000)]
Typo fix.

19 years agoRequire UNC paths to start with exactly two slashes. (g_get_current_dir):
Tor Lillqvist [Thu, 30 Dec 2004 02:00:49 +0000 (02:00 +0000)]
Require UNC paths to start with exactly two slashes. (g_get_current_dir):

2004-12-30  Tor Lillqvist  <tml@iki.fi>

* glib/gutils.c (g_path_skip_root): Require UNC paths to start
with exactly two slashes.
(g_get_current_dir): Use wide character API when available.
(g_path_get_dirname): Handle UNC paths better. Part of fix for
#161797.

19 years agoAdd an OS_LINUX conditional.
Matthias Clasen [Mon, 27 Dec 2004 06:55:08 +0000 (06:55 +0000)]
Add an OS_LINUX conditional.

2004-12-27  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Add an OS_LINUX conditional.

* glib/Makefile.am (TESTS): Only check the ABI on
linux, since the shell script is not portable, and libtool
deficiencies may distort the ABI on other platforms.  (#161741)

19 years agoDon't show the special G_OPTION_REMAINING entry. (#161934, Matthew F.
Matthias Clasen [Wed, 22 Dec 2004 04:34:43 +0000 (04:34 +0000)]
Don't show the special G_OPTION_REMAINING entry. (#161934, Matthew F.

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

* glib/goption.c (print_entry): Don't show
the special G_OPTION_REMAINING entry.  (#161934,
Matthew F. Barnes)

19 years agoImprove docs.
Tor Lillqvist [Mon, 20 Dec 2004 22:33:11 +0000 (22:33 +0000)]
Improve docs.

2004-12-20  Tor Lillqvist  <tml@iki.fi>

* glib/gconvert.c (g_locale_to_utf8, g_filename_to_uri): Improve
docs.

19 years agoAdd some tests for '--' stripping.
Matthias Clasen [Mon, 20 Dec 2004 21:09:16 +0000 (21:09 +0000)]
Add some tests for '--' stripping.

2004-12-20  Matthias Clasen  <mclasen@redhat.com>

* tests/option-test.c: Add some tests for '--'
stripping.

* glib/goption.c (g_option_context_parse): Don't
strip '--' if it would be needed by a second option
parser.  (#161701)

19 years agoFix last commit.
Matthias Clasen [Mon, 20 Dec 2004 16:10:30 +0000 (16:10 +0000)]
Fix last commit.

19 years agoMake docs more accurate. (#161683, Marcin Krzyzanowski)
Matthias Clasen [Mon, 20 Dec 2004 16:10:04 +0000 (16:10 +0000)]
Make docs more accurate. (#161683, Marcin Krzyzanowski)

2004-12-20  Matthias Clasen  <mclasen@redhat.com>

* glib/gunicollate.c (g_utf8_collate): Make docs
more accurate.  (#161683, Marcin Krzyzanowski)

19 years agoFix a typo. (#161713, Vincent Untz)
Matthias Clasen [Mon, 20 Dec 2004 14:20:25 +0000 (14:20 +0000)]
Fix a typo. (#161713, Vincent Untz)

2004-12-20  Matthias Clasen  <mclasen@redhat.com>

* gobject/tmpl/signals.sgml: Fix a typo.  (#161713,
Vincent Untz)

19 years agoUpdated vi.po
Nguyen Thai Ngoc Duy [Mon, 20 Dec 2004 13:09:49 +0000 (13:09 +0000)]
Updated vi.po

19 years agoCall post-parse hooks also if argv is NULL. (#161668, Marcin Krzyzanowski)
Matthias Clasen [Sun, 19 Dec 2004 05:20:12 +0000 (05:20 +0000)]
Call post-parse hooks also if argv is NULL. (#161668, Marcin Krzyzanowski)

2004-12-19  Matthias Clasen  <mclasen@redhat.com>

* glib/goption.c (g_option_context_parse): Call
post-parse hooks also if argv is NULL.  (#161668,
Marcin Krzyzanowski)

19 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Sat, 18 Dec 2004 16:09:09 +0000 (16:09 +0000)]
Translation updated by Tino Meinen.

2004-12-18  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

19 years agoUpdated Swedish translation.
Christian Rose [Sat, 18 Dec 2004 14:59:59 +0000 (14:59 +0000)]
Updated Swedish translation.

2004-12-18  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

19 years agoUpdated German translation.
Hendrik Brandt [Sat, 18 Dec 2004 13:52:55 +0000 (13:52 +0000)]
Updated German translation.

2004-12-18  Hendrik Brandt  <heb@gnome-de.org>

        * de.po: Updated German translation.

19 years agoClarify g_get_prgname docs. (#161480, Danny Milo)
Matthias Clasen [Sat, 18 Dec 2004 02:06:58 +0000 (02:06 +0000)]
Clarify g_get_prgname docs. (#161480, Danny Milo)

2004-12-17  Matthias Clasen  <mclasen@redhat.com>

* glib/tmpl/misc_utils.sgml: Clarify g_get_prgname docs.
(#161480, Danny Milo)

19 years agoupdated Russian translation
Leonid Kanter [Fri, 17 Dec 2004 13:56:05 +0000 (13:56 +0000)]
updated Russian translation

19 years agoUpdated Albanian translation.
Laurent Dhima [Fri, 17 Dec 2004 12:37:52 +0000 (12:37 +0000)]
Updated Albanian translation.

2004-12-17  Laurent Dhima  <laurenti@alblinux.net>

* sq.po: Updated Albanian translation.

19 years agoImprove wording. (#161484, Christian Biere)
Matthias Clasen [Fri, 17 Dec 2004 01:42:03 +0000 (01:42 +0000)]
Improve wording. (#161484, Christian Biere)

2004-12-16  Matthias Clasen  <mclasen@redhat.com>

* glib/tmpl/version.sgml: Improve wording.  (#161484,
Christian Biere)

19 years agoBump version
Matthias Clasen [Thu, 16 Dec 2004 06:14:53 +0000 (06:14 +0000)]
Bump version

19 years ago2.6.0 GLIB_2_6_0
Matthias Clasen [Thu, 16 Dec 2004 05:48:25 +0000 (05:48 +0000)]
2.6.0

19 years agoFurther Win32 edits.
Tor Lillqvist [Wed, 15 Dec 2004 22:08:37 +0000 (22:08 +0000)]
Further Win32 edits.

19 years agoWin32 edits.
Tor Lillqvist [Wed, 15 Dec 2004 21:55:43 +0000 (21:55 +0000)]
Win32 edits.

19 years agoAdd g_rmdir
Matthias Clasen [Wed, 15 Dec 2004 16:42:36 +0000 (16:42 +0000)]
Add g_rmdir

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

* glib/glib-sections.txt: Add g_rmdir

19 years agoFix spelling Add g_return_val_if_fail.
Alexander Larsson [Wed, 15 Dec 2004 16:42:28 +0000 (16:42 +0000)]
Fix spelling Add g_return_val_if_fail.

2004-12-15  Alexander Larsson  <alexl@redhat.com>

* glib/gconvert.c: (g_filename_display_basename):
Fix spelling
Add g_return_val_if_fail.

* glib/glib.symbols:
Add g_filename_display_basename

19 years agoAdd g_filename_display_basename.
Alexander Larsson [Wed, 15 Dec 2004 16:34:49 +0000 (16:34 +0000)]
Add g_filename_display_basename.

2004-12-15  Alexander Larsson  <alexl@redhat.com>

* glib/gconvert.[ch]:
Add g_filename_display_basename.

19 years ago*** empty log message ***
Matthias Clasen [Wed, 15 Dec 2004 13:55:34 +0000 (13:55 +0000)]
*** empty log message ***

19 years agoUpdates
Matthias Clasen [Tue, 14 Dec 2004 18:54:33 +0000 (18:54 +0000)]
Updates

2004-12-14  Matthias Clasen  <mclasen@redhat.com>

* README.in: Updates

19 years agoSet version to 2.6.0
Matthias Clasen [Tue, 14 Dec 2004 13:38:14 +0000 (13:38 +0000)]
Set version to 2.6.0

2004-12-14  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Set version to 2.6.0

19 years agoUpdate.
Tor Lillqvist [Mon, 13 Dec 2004 23:05:16 +0000 (23:05 +0000)]
Update.

2004-12-13  Tor Lillqvist  <tml@iki.fi>

* NEWS: Update.

* glib/glib.symbols
* glib/gstdio.[ch]: Add g_rmdir().

19 years agoUpdated British translation.
David Lodge [Mon, 13 Dec 2004 20:12:18 +0000 (20:12 +0000)]
Updated British translation.

2004-12-13  David Lodge <dave@cirt.net>

        * en_GB.po: Updated British translation.

19 years agoUpdates
Matthias Clasen [Mon, 13 Dec 2004 15:09:00 +0000 (15:09 +0000)]
Updates

19 years agoUpdates
Matthias Clasen [Mon, 13 Dec 2004 14:46:32 +0000 (14:46 +0000)]
Updates

19 years agoglib/glib.symbols Implement Windows DLL ABI stability also for
Tor Lillqvist [Sun, 12 Dec 2004 20:53:02 +0000 (20:53 +0000)]
glib/glib.symbols Implement Windows DLL ABI stability also for

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

* glib/glib.symbols
* glib/gconvert.[ch]: Implement Windows DLL ABI stability also for
g_filename_{to,from}_uri().

19 years agoUpdated Bulgarian translation
Alexander Shopov [Sun, 12 Dec 2004 18:18:55 +0000 (18:18 +0000)]
Updated Bulgarian translation

2004-12-12  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation

19 years agoAdd doc comments about Windows restrictions on renaming and removing.
Tor Lillqvist [Sat, 11 Dec 2004 22:03:01 +0000 (22:03 +0000)]
Add doc comments about Windows restrictions on renaming and removing.

2004-12-11  Tor Lillqvist  <tml@iki.fi>

* glib/gstdio.c (g_rename, g_unlink, g_remove): Add doc comments
about Windows restrictions on renaming and removing.

(g_remove): Mimic POSIX remove() on Windows: Try also to rmdir if
removal as a file fails. Document this.

* glib/gstdio.h: Clarify comment about file name encoding on
Windows.

19 years agoFix #157255. Also some refactoring of this still very ugly source file.
Tor Lillqvist [Sat, 11 Dec 2004 03:47:32 +0000 (03:47 +0000)]
Fix #157255. Also some refactoring of this still very ugly source file.

2004-12-11  Tor Lillqvist  <tml@iki.fi>

* glib/gspawn-win32.c: Fix #157255. Also some refactoring of this
still very ugly source file.

19 years agoDon't print help options if the options of a specific group have been
Matthias Clasen [Thu, 9 Dec 2004 14:38:13 +0000 (14:38 +0000)]
Don't print help options if the options of a specific group have been

2004-12-09  Matthias Clasen  <mclasen@redhat.com>

* glib/goption.c (print_help): Don't print help options
if the options of a specific group have been
requested.  (#160645, Glynn Foster)

19 years agoUpdate the returned value after locale changes. (#160271, Christian
Matthias Clasen [Tue, 7 Dec 2004 15:20:15 +0000 (15:20 +0000)]
Update the returned value after locale changes. (#160271, Christian

2004-12-07  Matthias Clasen  <mclasen@redhat.com>

* glib/gutils.c (g_get_language_names): Update the returned
value after locale changes.  (#160271, Christian Persch)
(_g_utils_thread_init): Initialize the language name cache
before going threaded.

* glib/gthread.c (g_thread_init_glib): Call _g_utils_thread_init().

* glib/gthreadinit.h: Add _g_utils_thread_init().

19 years agoUpdated Danish translation.
Martin Willemoes Hansen [Tue, 7 Dec 2004 13:46:00 +0000 (13:46 +0000)]
Updated Danish translation.

        * da.po: Updated Danish translation.

19 years agoFix a write to freed memory: Unlock the channel's mutex before unrefing
Tor Lillqvist [Mon, 6 Dec 2004 23:43:43 +0000 (23:43 +0000)]
Fix a write to freed memory: Unlock the channel's mutex before unrefing

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

* glib/giowin32.c (g_io_win32_finalize): Fix a write to freed
memory: Unlock the channel's mutex before unrefing the channel.