platform/upstream/glib.git
19 years agoUpdated Japanese translation for v2.7.1.
Takeshi AIHANA [Sat, 2 Jul 2005 09:23:45 +0000 (09:23 +0000)]
Updated Japanese translation for v2.7.1.

2005-07-02  Takeshi AIHANA <aihana@gnome.gr.jp>

* ja.po: Updated Japanese translation for v2.7.1.

19 years agoTranslation updated.
Priit Laes [Sat, 2 Jul 2005 08:43:57 +0000 (08:43 +0000)]
Translation updated.

2005-07-02  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated.

19 years agoAnd remove a redundant cast
Matthias Clasen [Fri, 1 Jul 2005 19:29:33 +0000 (19:29 +0000)]
And remove a redundant cast

19 years agoFix an extra indirection
Matthias Clasen [Fri, 1 Jul 2005 19:28:37 +0000 (19:28 +0000)]
Fix an extra indirection

19 years agoDon't reverse the order of multiline comments.
Matthias Clasen [Fri, 1 Jul 2005 18:54:25 +0000 (18:54 +0000)]
Don't reverse the order of multiline comments.

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

* glib/gkeyfile.c (g_key_file_get_key_comment):
(g_key_file_get_top_comment): Don't reverse the order of multiline
comments.
(g_key_file_get_group_comment): Actually get the group comment.

* tests/keyfile-test.c (test_comments): Test that comments are
handled properly.  (#309263, Mikael Magnusson)

19 years agoTest that comments are handled properly. (#309263, Mikael Magnusson)
Matthias Clasen [Fri, 1 Jul 2005 15:56:03 +0000 (15:56 +0000)]
Test that comments are handled properly. (#309263, Mikael Magnusson)

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

* tests/keyfile-test.c (test_comments): Test that comments are
handled properly.  (#309263, Mikael Magnusson)

19 years agoUpdated Traditional Chinese translation.
Chao-Hsiung Liao [Fri, 1 Jul 2005 12:52:58 +0000 (12:52 +0000)]
Updated Traditional Chinese translation.

2005-07-01  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

        * zh_TW.po: Updated Traditional Chinese translation.

19 years agoBump version
Matthias Clasen [Fri, 1 Jul 2005 04:11:48 +0000 (04:11 +0000)]
Bump version

19 years ago2.7.1 GLIB_2_7_1
Matthias Clasen [Thu, 30 Jun 2005 21:01:58 +0000 (21:01 +0000)]
2.7.1

19 years agoUpdates
Matthias Clasen [Thu, 30 Jun 2005 20:18:29 +0000 (20:18 +0000)]
Updates

19 years agoFix portability issues. (#307064, Morten Welinder)
Matthias Clasen [Thu, 30 Jun 2005 19:50:43 +0000 (19:50 +0000)]
Fix portability issues. (#307064, Morten Welinder)

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

* glib/gstring.c (g_str_hash): Fix portability issues.
(#307064, Morten Welinder)

19 years agoApply a patch which may make GLib work on BeOS again. (#309157, Kian
Matthias Clasen [Thu, 30 Jun 2005 19:43:48 +0000 (19:43 +0000)]
Apply a patch which may make GLib work on BeOS again. (#309157, Kian

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

Apply a patch which may make GLib work on BeOS again.
(#309157, Kian Duffy)

* glib/gmain.c: Update the BeOS includes.

* glib/gstdio.c:
* glib/gutils.c (g_find_program_in_path):
* glib/gbacktrace.c (g_on_error_stack_trace): Use the UNIX
implementation on BeOS, as well.

* configure.in: Don't put glib 1.0 into G_MODULE_LIBS, even
on BeOS.

19 years agoInclude stdlib.h
Matthias Clasen [Thu, 30 Jun 2005 19:32:33 +0000 (19:32 +0000)]
Include stdlib.h

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

* gmodule-ar.c: Include stdlib.h

19 years agoUpdates
Matthias Clasen [Thu, 30 Jun 2005 04:17:33 +0000 (04:17 +0000)]
Updates

19 years agoUpdates
Matthias Clasen [Thu, 30 Jun 2005 03:13:35 +0000 (03:13 +0000)]
Updates

19 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Tue, 28 Jun 2005 09:58:07 +0000 (09:58 +0000)]
Updated Thai translation.

2005-06-28  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

19 years agoShut up CVS
Manish Singh [Mon, 27 Jun 2005 21:18:38 +0000 (21:18 +0000)]
Shut up CVS

19 years agolibtool installs/uninstalls the import library, no need to do it
Tor Lillqvist [Sun, 26 Jun 2005 18:07:13 +0000 (18:07 +0000)]
libtool installs/uninstalls the import library, no need to do it

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

* Makefile.am: libtool installs/uninstalls the import library, no
need to do it ourselves. Do still install/uninstall the .def file,
though.

19 years agolibtool installs/uninstalls the import library, no need to do it
Tor Lillqvist [Sun, 26 Jun 2005 18:04:08 +0000 (18:04 +0000)]
libtool installs/uninstalls the import library, no need to do it

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

* glib/Makefile.am: libtool installs/uninstalls the import
library, no need to do it ourselves. Do still install/uninstall
the .def file, though.

* glib/gmappedfile.c: Add Win32 implementation.
(g_mapped_file_free): Don't mention writable shared mappings in
the doc comment. Free the GMappedFile struct.

* tests/mapping-test.c (main): No kill() or SIGUSR1 on Win32, use
a flag file instead to stop the child. Use g_usleep() instead of
sleep().

19 years agoUpdated Slovak translation.
Marcel Telka [Sat, 25 Jun 2005 20:33:21 +0000 (20:33 +0000)]
Updated Slovak translation.

2005-06-25  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation.

19 years agoAdd an mmap() wrapper called GMappedFile. (#148218, David Schleef, Behdad
Matthias Clasen [Sat, 25 Jun 2005 03:38:32 +0000 (03:38 +0000)]
Add an mmap() wrapper called GMappedFile. (#148218, David Schleef, Behdad

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

Add an mmap() wrapper called GMappedFile. (#148218,
David Schleef, Behdad Esfahbod)

* glib/gmappedfile.[hc]: New files.

* configure.in: Check for mmap.

* glib/Makefile.am: Add new files.

* glib/glib.symbols: Add new functions.

* glib/glib.h: Include gmappedfile.h

* tests/mapping-test.c: Tests for GMappedFile.

* tests/Makefile.am: Add new file.

19 years agoAdd --enable-man.
Matthias Clasen [Fri, 24 Jun 2005 14:44:50 +0000 (14:44 +0000)]
Add --enable-man.

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

* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Add --enable-man.

19 years agoglib/Makefile.am gmodule/Makefile.am Current GNU tools do understand the
Tor Lillqvist [Fri, 24 Jun 2005 13:26:45 +0000 (13:26 +0000)]
glib/Makefile.am gmodule/Makefile.am Current GNU tools do understand the

2005-06-24  Tor Lillqvist  <tml@novell.com>

* glib/Makefile.am
* gmodule/Makefile.am
* gobject/Makefile.am: Current GNU tools do understand the
PRIVATE keyword.

* glib/gfileutils.c (g_mkdir_with_parents): Return error with
EINVAL also for empty pathnames.
(g_build_pathname_va): Fix typo.

19 years agofix language team reference
Kwok-Koon Cheung [Fri, 24 Jun 2005 03:29:10 +0000 (03:29 +0000)]
fix language team reference

19 years agog_build_filename_va is only use in the G_OS_WIN32 case, so compile it
Manish Singh [Thu, 23 Jun 2005 22:52:49 +0000 (22:52 +0000)]
g_build_filename_va is only use in the G_OS_WIN32 case, so compile it

Thu Jun 23 15:52:08 2005  Manish Singh  <yosh@gimp.org>

        * glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32
        case, so compile it conditionally.

19 years agoDon't leak memory here.
Matthias Clasen [Thu, 23 Jun 2005 16:28:55 +0000 (16:28 +0000)]
Don't leak memory here.

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

* tests/keyfile-test.c (test_group_remove): Don't leak
memory here.

* glib/gkeyfile.c (g_key_file_load_from_data_dirs): Don't
leak output_path.  (#308546, Kjartan Maraas)

19 years agoDon't leak output_path. (#308546, Kjartan Maraas)
Matthias Clasen [Thu, 23 Jun 2005 16:13:33 +0000 (16:13 +0000)]
Don't leak output_path. (#308546, Kjartan Maraas)

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

* glib/gkeyfile.c (g_key_file_load_from_data_dirs): Don't
leak output_path.  (#308546, Kjartan Maraas)

19 years agoAdd new functions
Matthias Clasen [Thu, 23 Jun 2005 05:51:40 +0000 (05:51 +0000)]
Add new functions

19 years agoAdd some language-binding friendly variants
Matthias Clasen [Thu, 23 Jun 2005 05:50:53 +0000 (05:50 +0000)]
Add some language-binding friendly variants

19 years agoglib/gfileutils.c glib/gfileutils.h glib/glib.symbols Rename g_makepath()
Tor Lillqvist [Wed, 22 Jun 2005 18:55:33 +0000 (18:55 +0000)]
glib/gfileutils.c glib/gfileutils.h glib/glib.symbols Rename g_makepath()

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

* glib/gfileutils.c
* glib/gfileutils.h
* glib/glib.symbols
* tests/testglib.c: Rename g_makepath() to g_mkdir_with_parents().

19 years agoProperly store changes for arrays. (#308528, Roger Leigh)
Matthias Clasen [Wed, 22 Jun 2005 17:09:31 +0000 (17:09 +0000)]
Properly store changes for arrays. (#308528, Roger Leigh)

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

* glib/goption.c (parse_arg): Properly store changes for arrays.  (#308528,
Roger Leigh)

19 years agoPass the option name also in the NO_ARG case. (#308602, Masatake YAMATO)
Matthias Clasen [Wed, 22 Jun 2005 16:24:22 +0000 (16:24 +0000)]
Pass the option name also in the NO_ARG case. (#308602, Masatake YAMATO)

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

* glib/goption.c (parse_short_option, parse_long_option):
Pass the option name also in the NO_ARG case.  (#308602,
Masatake YAMATO)

19 years agoNew function. Creates a directory including intermediate parent
Tor Lillqvist [Wed, 22 Jun 2005 09:43:37 +0000 (09:43 +0000)]
New function. Creates a directory including intermediate parent

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

* glib/gfileutils.c (g_makepath): New function. Creates a
directory including intermediate parent directories as
needed. (#60509)

* glib/gfileutils.h: Declare it.

* glib/glib.symbols: Add it.

* tests/testglib.c: Test it.

19 years agoAdd Since: 2.8 to g_get_host_name().
Tor Lillqvist [Wed, 22 Jun 2005 09:02:41 +0000 (09:02 +0000)]
Add Since: 2.8 to g_get_host_name().

19 years agoNew function. Returns the machine's name, or one of its names. Document
Tor Lillqvist [Wed, 22 Jun 2005 08:54:28 +0000 (08:54 +0000)]
New function. Returns the machine's name, or one of its names. Document

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

* glib/gutils.c (g_get_host_name): New function. Returns the
machine's name, or one of its names. Document that it is
best-effort only, and not guaranteed to be unique or anything.
(g_get_any_init): Get the host name here. On Unix use
gethostname(), on Windows use GetComputerName(). (#5200)

* glib/gutils.h
* glib/glib.symbols: Add here, too.

* tests/testglib.c: Test it.

19 years agoTranslation updated.
Priit Laes [Mon, 20 Jun 2005 21:01:38 +0000 (21:01 +0000)]
Translation updated.

2005-06-21  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated.

19 years agoAvoid a warning. (#308295, Murray Cumming).
Matthias Clasen [Mon, 20 Jun 2005 03:09:35 +0000 (03:09 +0000)]
Avoid a warning. (#308295, Murray Cumming).

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

* gparam.h (GParamFlags): Avoid a warning.  (#308295,
Murray Cumming).

19 years agoAdd G_OPTION_FLAG_NO_ARG and G_OPTION_FLAG_FILENAME to allow greater
Matthias Clasen [Sat, 18 Jun 2005 04:55:26 +0000 (04:55 +0000)]
Add G_OPTION_FLAG_NO_ARG and G_OPTION_FLAG_FILENAME to allow greater

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

* glib/goption.h:
* glib/goption.c: Add G_OPTION_FLAG_NO_ARG and
G_OPTION_FLAG_FILENAME to allow greater control of
G_OPTION_ARG_CALLBACK options. (#302632, Dan Winship)

* tests/option-test.c: test callback args

19 years agoUpdated Canadian English translation.
Adam Weinberger [Fri, 17 Jun 2005 05:39:09 +0000 (05:39 +0000)]
Updated Canadian English translation.

2005-06-17  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

19 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Thu, 16 Jun 2005 16:20:48 +0000 (16:20 +0000)]
Translation updated by Tino Meinen.

2005-06-16  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

19 years agofix typo reported by Hong Gang XU.
Mathieu Lacage [Thu, 16 Jun 2005 07:46:37 +0000 (07:46 +0000)]
fix typo reported by Hong Gang XU.

2005-06-16  Mathieu Lacage <mathieu@gnome.org>

* gobject/tut_gtype.xml: fix typo reported by Hong Gang XU.

19 years agoUpdated Slovak translation.
Marcel Telka [Wed, 15 Jun 2005 19:09:33 +0000 (19:09 +0000)]
Updated Slovak translation.

2005-06-15  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation.

19 years agoAdded 'th' (Thai) to ALL_LINGUAS. Added Thai translation.
Theppitak Karoonboonyanan [Tue, 14 Jun 2005 09:30:08 +0000 (09:30 +0000)]
Added 'th' (Thai) to ALL_LINGUAS. Added Thai translation.

2005-06-14  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* configure.in: Added 'th' (Thai) to ALL_LINGUAS.
* po/th.po: Added Thai translation.

19 years agoupdated by rranajn
Rajesh Ranjan [Tue, 14 Jun 2005 05:27:48 +0000 (05:27 +0000)]
updated by rranajn

19 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Mon, 13 Jun 2005 19:18:53 +0000 (19:18 +0000)]
Updated Spanish translation.

2005-06-13  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

19 years agoRe-add G_PARAM_PRIVATE as a deprecated name for bit 5, since some language
Matthias Clasen [Mon, 13 Jun 2005 18:08:05 +0000 (18:08 +0000)]
Re-add G_PARAM_PRIVATE as a deprecated name for bit 5, since some language

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

* gparam.h (GParamFlags): Re-add G_PARAM_PRIVATE as a
deprecated name for bit 5, since some language bindings
have it bound.

19 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Mon, 13 Jun 2005 06:21:43 +0000 (06:21 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2005-06-13  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>

19 years agoUpdated Norwegian translation. Same as above.
Terance Sola [Sun, 12 Jun 2005 22:33:22 +0000 (22:33 +0000)]
Updated Norwegian translation. Same as above.

2005-06-13  Terance Sola  <terance@lyse.net>

* nb.po: Updated Norwegian translation.
* no.po: Same as above.

19 years agoUpdated Czech translation.
Miloslav Trmac [Sun, 12 Jun 2005 12:46:33 +0000 (12:46 +0000)]
Updated Czech translation.

2005-06-12  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

19 years agoUpdated Danish translation.
Martin Willemoes Hansen [Sat, 11 Jun 2005 08:24:39 +0000 (08:24 +0000)]
Updated Danish translation.

        * da.po: Updated Danish translation.

19 years agoTranslation updated.
Priit Laes [Fri, 10 Jun 2005 18:45:17 +0000 (18:45 +0000)]
Translation updated.

2005-06-10  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated.

19 years agoPost-release version bump
Matthias Clasen [Fri, 10 Jun 2005 16:06:40 +0000 (16:06 +0000)]
Post-release version bump

19 years ago2.7.0 GLIB_2_7_0
Matthias Clasen [Fri, 10 Jun 2005 15:48:25 +0000 (15:48 +0000)]
2.7.0

19 years agoUpdates
Matthias Clasen [Fri, 10 Jun 2005 14:58:32 +0000 (14:58 +0000)]
Updates

19 years agoForgotten log entry
Matthias Clasen [Fri, 10 Jun 2005 13:25:11 +0000 (13:25 +0000)]
Forgotten log entry

19 years agoForgotten file
Matthias Clasen [Fri, 10 Jun 2005 13:24:30 +0000 (13:24 +0000)]
Forgotten file

19 years agoMinor stylistic fix
Matthias Clasen [Fri, 10 Jun 2005 13:24:02 +0000 (13:24 +0000)]
Minor stylistic fix

19 years agoAdd g_chdir
Matthias Clasen [Fri, 10 Jun 2005 03:13:43 +0000 (03:13 +0000)]
Add g_chdir

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

* glib/glib-sections.txt: Add g_chdir

19 years agoSet errno to 0 before calling strtol. (#306388, Morten Welinder)
Matthias Clasen [Thu, 9 Jun 2005 15:39:29 +0000 (15:39 +0000)]
Set errno to 0 before calling strtol. (#306388, Morten Welinder)

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

* glib/goption.c (parse_int): Set errno to 0 before calling
strtol.  (#306388, Morten Welinder)

19 years agoAllow setstacksize to fail. (#304790, Michael Banck)
Matthias Clasen [Thu, 9 Jun 2005 15:25:01 +0000 (15:25 +0000)]
Allow setstacksize to fail. (#304790, Michael Banck)

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

* gthread-posix.c (g_thread_create_posix_impl): Allow
setstacksize to fail.  (#304790, Michael Banck)

19 years agoglib/gstdio.h glib/gstdio.c Add a chdir() wrapper, too.
Tor Lillqvist [Thu, 9 Jun 2005 10:46:21 +0000 (10:46 +0000)]
glib/gstdio.h glib/gstdio.c Add a chdir() wrapper, too.

2005-06-09  Tor Lillqvist  <tml@novell.com>

* glib/gstdio.h
* glib/gstdio.c
* glib/glib.symbols: Add a chdir() wrapper, too.

* glib/glib.symbols: Add g_win32_locale_filename_from_utf8().

* glib/gwin32.c (g_win32_locale_filename_from_utf8): Clarify doc
comment.

19 years agoNew helper function on Win32, returns the root of the drive (or possibly
Tor Lillqvist [Wed, 8 Jun 2005 20:03:12 +0000 (20:03 +0000)]
New helper function on Win32, returns the root of the drive (or possibly

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

* glib/gutils.c (get_windows_directory_root): New helper function
on Win32, returns the root of the drive (or possibly share) where
the Windows directory is. (In the case of Terminal Server sessions
the Windows directory is a per-user folder.)
(g_get_any_init): Use get_windows_directory_root() as last resort
for both temp directory and home directory. g_get_home_dir() now
never returns NULL on Win32. Don't look at HOMEDRIVE and
HOMEPATH. HOME, USERPROFILE, CSIDL_PROFILE and Windows directory
drive root should be enough.

19 years agoUpdated Danish translation.
Martin Willemoes Hansen [Wed, 8 Jun 2005 12:28:43 +0000 (12:28 +0000)]
Updated Danish translation.

        * da.po: Updated Danish translation.

19 years agoUpdated Danish translation.
Martin Willemoes Hansen [Wed, 8 Jun 2005 11:50:43 +0000 (11:50 +0000)]
Updated Danish translation.

        * da.po: Updated Danish translation.

19 years agoUpdated Danish translation.
Martin Willemoes Hansen [Wed, 8 Jun 2005 11:49:47 +0000 (11:49 +0000)]
Updated Danish translation.

        * da.po: Updated Danish translation.

19 years agoNew function to calculate collation keys which are more suitable for
Matthias Clasen [Wed, 8 Jun 2005 05:22:05 +0000 (05:22 +0000)]
New function to calculate collation keys which are more suitable for

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

* glib/glib.symbols:
* glib/gunicode.h:
* glib/gunicollate.c (g_utf8_collate_key_for_filename):
New function to calculate collation keys which are more
suitable for sorting filenames.  (#172690, Ole Laursen)

19 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Mon, 6 Jun 2005 16:46:54 +0000 (16:46 +0000)]
Translation updated by Tino Meinen.

2005-06-06  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

19 years ago*** empty log message ***
Ignacio Casal Quinteiro [Sun, 5 Jun 2005 18:04:23 +0000 (18:04 +0000)]
*** empty log message ***

19 years agoUpdated Simplified Chinese translation
Funda Wang [Mon, 30 May 2005 02:15:18 +0000 (02:15 +0000)]
Updated Simplified Chinese translation

19 years agoUpdated Mongolian translation.
Sanlig Badral [Sun, 29 May 2005 23:27:48 +0000 (23:27 +0000)]
Updated Mongolian translation.

19 years agoUpdated Czech translation.
Miloslav Trmac [Sun, 29 May 2005 12:16:12 +0000 (12:16 +0000)]
Updated Czech translation.

2005-05-29  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

19 years agoUpdated Canadian English translation.
Adam Weinberger [Sat, 28 May 2005 18:39:55 +0000 (18:39 +0000)]
Updated Canadian English translation.

2005-05-28  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

19 years agoinitialize option_name before using it.
Manish Singh [Sat, 28 May 2005 00:19:14 +0000 (00:19 +0000)]
initialize option_name before using it.

Fri May 27 17:18:00 2005  Manish Singh  <yosh@gimp.org>

        * glib/goption.c (parse_short_option): initialize option_name
        before using it.

19 years agoReturn an error if an option is missing its argument. (#305576, Björn
Matthias Clasen [Fri, 27 May 2005 18:30:34 +0000 (18:30 +0000)]
Return an error if an option is missing its argument. (#305576, Björn

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

* glib/goption.c (parse_short_option, parse_long_option):
Return an error if an option is missing its argument.  (#305576,
Björn Lindqvist)

* tests/option-test.c (missing_arg_test): Add a testcase.

19 years agofix lots of typos, some of which were reported by Leonardo Boshell.
Mathieu Lacage [Fri, 27 May 2005 12:04:54 +0000 (12:04 +0000)]
fix lots of typos, some of which were reported by Leonardo Boshell.

2005-05-25  Mathieu Lacage <mathieu@gnome.org>

* gobject/tut_*.xml: fix lots of typos,
some of which were reported by Leonardo Boshell.

19 years agorest_description should be const.
Manish Singh [Wed, 25 May 2005 22:37:48 +0000 (22:37 +0000)]
rest_description should be const.

Wed May 25 15:33:51 2005  Manish Singh  <yosh@gimp.org>

        * glib/goption.c (print_help): rest_description should be const.

19 years agoDon't eat Hangul when normalizing. (#301742, reported by Christian Biere,
Matthias Clasen [Wed, 25 May 2005 16:03:13 +0000 (16:03 +0000)]
Don't eat Hangul when normalizing. (#301742, reported by Christian Biere,

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

* glib/gunidecomp.c (combine_hangul): Don't eat Hangul
when normalizing.  (#301742, reported by Christian Biere,
patch by Noah Levitt)

19 years agoIf the remaining argument has an arg_description, display the synopsis as
Matthias Clasen [Wed, 25 May 2005 02:42:21 +0000 (02:42 +0000)]
If the remaining argument has an arg_description, display the synopsis as

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

* glib/goption.c (print_help): If the remaining argument
has an arg_description, display the synopsis as
PROGNAME [OPTION...] REST  (#305346, Noah Levitt)

19 years agoPoint out exceptions to the general GLib data structure locking rules.
Matthias Clasen [Mon, 23 May 2005 19:10:54 +0000 (19:10 +0000)]
Point out exceptions to the general GLib data structure locking rules.

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

* glib/tmpl/threads.sgml: Point out exceptions to the
general GLib data structure locking rules.

19 years agonepali translation updated
Pawan Chitrakar [Sat, 21 May 2005 10:45:40 +0000 (10:45 +0000)]
nepali translation updated

19 years agodup the new value before freeing the old, just in case. (#172142, Morten
Matthias Clasen [Fri, 20 May 2005 20:51:38 +0000 (20:51 +0000)]
dup the new value before freeing the old, just in case. (#172142, Morten

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

* gvaluetypes.c (g_value_set_string): dup the new value
before freeing the old, just in case.  (#172142, Morten
Welinder)

19 years agoMerged from glib-2-6:
Federico Mena Quintero [Fri, 20 May 2005 19:30:02 +0000 (19:30 +0000)]
Merged from glib-2-6:

2005-05-20  Federico Mena Quintero  <federico@ximian.com>

Merged from glib-2-6:

* glib/gspawn.c (g_spawn_command_line_sync): Clarify the meaning
of exit_status(); it's not the return code from the child, but
rather the waitpid() status.

19 years agoAdd a paragraph about thread safety of GLib data structures.
Matthias Clasen [Fri, 20 May 2005 17:15:37 +0000 (17:15 +0000)]
Add a paragraph about thread safety of GLib data structures.

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

* glib/tmpl/threads.sgml: Add a paragraph about thread
safety of GLib data structures.

19 years agoAdd a warning
Matthias Clasen [Fri, 20 May 2005 14:33:21 +0000 (14:33 +0000)]
Add a warning

19 years agoUpdate an example from 1.3 to 2.x
Matthias Clasen [Fri, 20 May 2005 14:27:54 +0000 (14:27 +0000)]
Update an example from 1.3 to 2.x

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

* glib/compiling.sgml: Update an example from 1.3 to 2.x

19 years agoCorrect the end of the Hangul Syllables range, from 0xd7af to 0xd7a3, in
Matthias Clasen [Wed, 18 May 2005 13:41:11 +0000 (13:41 +0000)]
Correct the end of the Hangul Syllables range, from 0xd7af to 0xd7a3, in

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

* glib/gunidecomp.c: Correct the end of the Hangul
Syllables range, from 0xd7af to 0xd7a3, in several
places.  (#301984, Changwoo Ryu)

19 years agoCheck the return values of g_tree_remove().
Matthias Clasen [Tue, 17 May 2005 15:33:36 +0000 (15:33 +0000)]
Check the return values of g_tree_remove().

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

* tests/tree-test.c (main): Check the return values of
g_tree_remove().

* glib/gtree.c (g_tree_remove, g_tree_steal): Return
a boolean indicating wether the key was found.  (#302545,
Matthew F. Barnes)

19 years agoupdated nepali translation
Pawan chitrakr [Sun, 15 May 2005 01:32:51 +0000 (01:32 +0000)]
updated nepali translation

2005-05-15  Pawan chitrakr  <pawan@nplinux.org>

* ne.po: updated nepali translation

19 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Sat, 14 May 2005 15:48:35 +0000 (15:48 +0000)]
Translation updated by Tino Meinen.

2005-05-14  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

19 years agoTranslation updated by Ivar Smolin.
Priit Laes [Sat, 14 May 2005 15:20:53 +0000 (15:20 +0000)]
Translation updated by Ivar Smolin.

2005-05-14  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

19 years agoMention 64bit integer types.
Matthias Clasen [Fri, 13 May 2005 18:09:01 +0000 (18:09 +0000)]
Mention 64bit integer types.

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

* gobject/glib-genmarshal.1:
* gobject/glib-genmarshal.xml: Mention 64bit integer
types.

19 years agoFix sloppy language, pointed out by Daniel Vaillard.
Matthias Clasen [Tue, 10 May 2005 13:30:27 +0000 (13:30 +0000)]
Fix sloppy language, pointed out by Daniel Vaillard.

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

* glib/tmpl/markup.sgml: Fix sloppy language, pointed out by
Daniel Vaillard.

19 years agoShut up CVS
Manish Singh [Mon, 9 May 2005 18:21:02 +0000 (18:21 +0000)]
Shut up CVS

19 years agoAdd long descriptions.
Matthias Clasen [Mon, 9 May 2005 05:25:21 +0000 (05:25 +0000)]
Add long descriptions.

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

* gobject/tmpl/value_collection.sgml:
* gobject/tmpl/gboxed.sgml:
* gobject/tmpl/enumerations_flags.sgml:
* gobject/tmpl/objects.sgml: Add long descriptions.

19 years agoAdded gmodule-no-export-2.0-uninstalled.pc.in to allow building of other
Brian Cameron [Fri, 6 May 2005 21:54:52 +0000 (21:54 +0000)]
Added gmodule-no-export-2.0-uninstalled.pc.in to allow building of other

2005-05-06  Brian Cameron  <brian.cameron@sun.com>

        * configure.in, gmodule-no-export-2.0-uninstalled.pc.in,
          Makefile.am:  Added gmodule-no-export-2.0-uninstalled.pc.in
          to allow building of other libraries like pango when
          glib is uninstalled.

19 years agoAdd a testcase.
Matthias Clasen [Fri, 6 May 2005 20:10:52 +0000 (20:10 +0000)]
Add a testcase.

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

* tests/option-test.c: Add a testcase.

* glib/goption.c (g_option_context_parse): Treat '-'
on its own as a non-option argument.  (#168008, Tim Musson,
Thomas Leonard and others)

19 years agoAdd g_object_add/remove_toggle_ref() functions to get notification when a
Owen Taylor [Thu, 5 May 2005 14:57:29 +0000 (14:57 +0000)]
Add g_object_add/remove_toggle_ref() functions to get notification when a

2005-05-05  Owen Taylor  <otaylor@redhat.com>

        * gobject.[ch] gobject.symbols: Add
        g_object_add/remove_toggle_ref() functions to get notification
        when a reference count is the last remaining reference; this
        enables better memory management for language bindings.
        (http://mail.gnome.org/archives/gtk-devel-list/2005-April/msg00095.html)

2005-05-05  Owen Taylor  <otaylor@redhat.com>

        * glib/gdataset.[ch] glib/gdatasetprivate.h: Add
        g_datalist_set/unset_flags(), g_datalist_get_flags() functions
        to squeeze some bits into a GDataSet... this is needed for
        efficient implementation of toggle references in GObject.

        * tests/gobject/references.c tests/gobject/Makefile.am:
        Add a test case for weak and toggle references.

        * glib/gfileutils.[ch]: Rename g_file_replace() back
        to g_file_set_contents().

        * glib/glib.symbols: Update.

2005-05-05  Owen Taylor  <otaylor@redhat.com>

        * glib/Makefile.am glib/glib-sections.txt gobject/gobject-sections.txt:
        Update

        * gobject/tmpl/objects.sgml: Document toggle-references.

19 years agoDocumentation trivia
Matthias Clasen [Mon, 2 May 2005 15:45:45 +0000 (15:45 +0000)]
Documentation trivia

19 years agoSmall additions.
Matthias Clasen [Mon, 2 May 2005 15:29:43 +0000 (15:29 +0000)]
Small additions.

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

* gobject/tmpl/signals.sgml:
* gobject/tmpl/generic_values.sgml:
* gobject/tmpl/gtype.sgml:
* gobject/tmpl/value_arrays.sgml:
* gobject/tmpl/param_value_types.sgml:
* gobject/tmpl/gtypemodule.sgml:
* gobject/tmpl/enumerations_flags.sgml: Small additions.

19 years agoTranslation updated by Ivar Smolin.
Priit Laes [Mon, 2 May 2005 06:07:16 +0000 (06:07 +0000)]
Translation updated by Ivar Smolin.

2005-05-02  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.