platform/upstream/glib.git
16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Tue, 26 Feb 2008 16:59:00 +0000 (16:59 +0000)]
Updated Norwegian bokmål translation.

2008-02-26  Kjartan Maraas  <kmaraas@gnome.org>

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

2008-02-25  Matthias Clasen  <mclasen@redhat.com>

svn path=/trunk/; revision=6596

16 years agobump version
Matthias Clasen [Mon, 25 Feb 2008 19:38:54 +0000 (19:38 +0000)]
bump version

svn path=/trunk/; revision=6595

16 years ago2.15.6 GLIB_2_15_6
Matthias Clasen [Mon, 25 Feb 2008 19:32:42 +0000 (19:32 +0000)]
2.15.6

svn path=/trunk/; revision=6593

16 years agoAdd Since: markers to docs. (#518556, Jerry Yu)
Matthias Clasen [Mon, 25 Feb 2008 18:24:30 +0000 (18:24 +0000)]
Add Since: markers to docs. (#518556, Jerry Yu)

2008-02-25  Matthias Clasen  <mclasen@redhat.com>

        * glib/gtestfuncs.c: Add Since: markers to docs.  (#518556,
        Jerry Yu)

svn path=/trunk/; revision=6592

16 years agoFixup translator comments (#518578).
Wouter Bolsterlee [Mon, 25 Feb 2008 14:31:19 +0000 (14:31 +0000)]
Fixup translator comments (#518578).

2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* gfile.c (g_file_find_enclosing_mount):
* ginputstream.c (g_input_stream_set_pending):
* glocalfile.c (g_local_file_find_enclosing_mount):
* gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
* goutputstream.c (g_output_stream_set_pending):

Fixup translator comments (#518578).

svn path=/trunk/; revision=6591

16 years agoFix a few typos in translator comments and documentation.
Wouter Bolsterlee [Mon, 25 Feb 2008 14:04:38 +0000 (14:04 +0000)]
Fix a few typos in translator comments and documentation.

2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* gfile.c (g_file_find_enclosing_mount):
* giomodule.c:
* glocalfile.c (g_local_file_find_enclosing_mount):
* goutputstream.c:

Fix a few typos in translator comments and documentation.

svn path=/trunk/; revision=6590

16 years agoAdd translator comments (#518578)
Alexander Larsson [Mon, 25 Feb 2008 13:47:00 +0000 (13:47 +0000)]
Add translator comments (#518578)

2008-02-25  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
        * ginputstream.c:
        * glocalfile.c:
        * gmount.c:
        * goutputstream.c:
Add translator comments (#518578)

svn path=/trunk/; revision=6589

16 years agoRename g_uri_get_scheme to g_uri_parse_scheme. Keep g_uri_get_scheme()
Alexander Larsson [Mon, 25 Feb 2008 13:32:04 +0000 (13:32 +0000)]
Rename g_uri_get_scheme to g_uri_parse_scheme. Keep g_uri_get_scheme()

2008-02-25  Alexander Larsson  <alexl@redhat.com>

* glib/glib.symbols:
        * glib/gurifuncs.[ch]:
        Rename g_uri_get_scheme to g_uri_parse_scheme.
Keep g_uri_get_scheme() symbol for this
unstable release to avoid breaking to many apps.

svn path=/trunk/; revision=6588

16 years agoRename g_uri_get_scheme to g_uri_parse_scheme. Keep g_uri_get_scheme()
Alexander Larsson [Mon, 25 Feb 2008 13:28:44 +0000 (13:28 +0000)]
Rename g_uri_get_scheme to g_uri_parse_scheme. Keep g_uri_get_scheme()

2008-02-25  Alexander Larsson  <alexl@redhat.com>

        * glib/gurifuncs.[ch]:
        Rename g_uri_get_scheme to g_uri_parse_scheme.
Keep g_uri_get_scheme() symbol for this
unstable release to avoid breaking to many apps.

svn path=/trunk/; revision=6587

16 years agoReintroduce g_file_contains_file, keep around for one unstable release
Alexander Larsson [Mon, 25 Feb 2008 13:24:56 +0000 (13:24 +0000)]
Reintroduce g_file_contains_file, keep around for one unstable release

2008-02-25  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
        Reintroduce g_file_contains_file, keep around for one
unstable release cycle to avoid crashing to many apps.
Make sure to delete after release.

svn path=/trunk/; revision=6586

16 years agoRemove deprecated g_file_contains_file.
Alexander Larsson [Mon, 25 Feb 2008 13:19:58 +0000 (13:19 +0000)]
Remove deprecated g_file_contains_file.

2008-02-25  Alexander Larsson  <alexl@redhat.com>

        * gfile.[ch]:
Remove deprecated g_file_contains_file.

svn path=/trunk/; revision=6585

16 years agoEmit actual change signals in an idle handler. This avoids reentrance and
Alexander Larsson [Mon, 25 Feb 2008 12:34:30 +0000 (12:34 +0000)]
Emit actual change signals in an idle handler. This avoids reentrance and

2008-02-25  Alexander Larsson  <alexl@redhat.com>

        * gfilemonitor.c:
Emit actual change signals in an idle handler.
This avoids reentrance and locking problems in
the file notification backends.

svn path=/trunk/; revision=6584

16 years agoGrammar.
Tor Lillqvist [Mon, 25 Feb 2008 12:33:30 +0000 (12:33 +0000)]
Grammar.

svn path=/trunk/; revision=6583

16 years agoRemove type guessing, instead just display mounts in /media and in ~/.
Alexander Larsson [Mon, 25 Feb 2008 11:15:06 +0000 (11:15 +0000)]
Remove type guessing, instead just display mounts in /media and in ~/.

2008-02-25  Alexander Larsson  <alexl@redhat.com>

        * gunixmounts.c:
        (g_unix_mount_guess_should_display):
Remove type guessing, instead just display
mounts in /media and in ~/.

svn path=/trunk/; revision=6582

16 years agoMake new strings reuse old ones.
Alexander Larsson [Mon, 25 Feb 2008 09:11:09 +0000 (09:11 +0000)]
Make new strings reuse old ones.

2008-02-25  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
Make new strings reuse old ones.

svn path=/trunk/; revision=6581

16 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Mon, 25 Feb 2008 08:59:14 +0000 (08:59 +0000)]
Translation updated by Tino Meinen.

2008-02-25  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

svn path=/trunk/; revision=6580

16 years agosv.po: Updated Swedish translation
Daniel Nylander [Mon, 25 Feb 2008 08:25:10 +0000 (08:25 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=6579

16 years agoImplement trashing and filesystem::readonly for win32 (#517235) Patch from
Alexander Larsson [Mon, 25 Feb 2008 08:15:35 +0000 (08:15 +0000)]
Implement trashing and filesystem::readonly for win32 (#517235) Patch from

2008-02-25  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
Implement trashing and filesystem::readonly for win32 (#517235)
Patch from Yevgen Muntyan

svn path=/trunk/; revision=6578

16 years agoMention that the recent fix to the gspawn helper process
Tor Lillqvist [Sun, 24 Feb 2008 22:53:52 +0000 (22:53 +0000)]
Mention that the recent fix to the gspawn helper process
synchronization on Windows fixes #510664.

svn path=/trunk/; revision=6577

16 years agoGuard against _glib_get_installation_directory() returning NULL. In that
Tor Lillqvist [Sun, 24 Feb 2008 21:31:44 +0000 (21:31 +0000)]
Guard against _glib_get_installation_directory() returning NULL. In that

2008-02-24  Tor Lillqvist  <tml@novell.com>

* glib/gspawn-win32.c: Guard against
_glib_get_installation_directory() returning NULL. In that
case, just use the name of the helper process executable
without path.

svn path=/trunk/; revision=6576

16 years agoNew internal function.
Tor Lillqvist [Sun, 24 Feb 2008 21:15:47 +0000 (21:15 +0000)]
New internal function.

2008-02-24  Tor Lillqvist  <tml@novell.com>

* glib/gutils.c (_glib_get_installation_directory): New internal function.

* glib/gspawn-win32.c: When spawning the helper process, use an
explicit full path. (#518292)

* glib/gspawn-win32.c
* glib/gspawn-win32-helper.c: Fix race condition when using the
helper process: When the helper process writes the handle of the
actual started user process to the parent process, it must be
duplicated in the parent process with DuplicateHandle() so that it
is a valid handle in that process. However, if the helper process
has happened to exit before the DuplicateHandle() call, the
duplication will fail. Thus we must synchronise the helper
process's exit. Use another pipe for this.

Take care not to inherit the writing end of this pipe to the
helper process. Also, in the helper process, take care not to
inherit either of the pipes used for communication with the parent
process to the started user process.

svn path=/trunk/; revision=6575

16 years agoUpdated Norwegian Nynorsk translation.
Åsmund Skjæveland [Sun, 24 Feb 2008 16:34:26 +0000 (16:34 +0000)]
Updated Norwegian Nynorsk translation.

2008-02-24  Åsmund Skjæveland  <aasmunds@ulrik.uio.no>

* nn.po: Updated Norwegian Nynorsk translation.

svn path=/trunk/; revision=6574

16 years agoUpdated Norwegian Nynorsk translation.
Åsmund Skjæveland [Sun, 24 Feb 2008 16:33:09 +0000 (16:33 +0000)]
Updated Norwegian Nynorsk translation.

2008-02-24  Åsmund Skjæveland  <aasmunds@ulrik.uio.no>

* nn.po: Updated Norwegian Nynorsk translation.

svn path=/trunk/; revision=6573

16 years agoFix typo reported by Akom C.
Theppitak Karoonboonyanan [Sun, 24 Feb 2008 12:09:14 +0000 (12:09 +0000)]
Fix typo reported by Akom C.

2008-02-24  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Fix typo reported by Akom C.

svn path=/trunk/; revision=6572

16 years agoUse alertable wait functions so that I/O completion routines or user-mode
Tor Lillqvist [Sun, 24 Feb 2008 01:46:42 +0000 (01:46 +0000)]
Use alertable wait functions so that I/O completion routines or user-mode

2008-02-24  Tor Lillqvist  <tml@novell.com>

* glib/gmain.c (g_poll) [Win32]: Use alertable wait functions so
that I/O completion routines or user-mode Asynchronous Procedure
Calls can be run. (#517484, Vlad Grecescu)

svn path=/trunk/; revision=6571

16 years agoMention G_WIN32_DLLMAIN_FOR_DLL_NAME() will be deprecated in the future.
Tor Lillqvist [Sun, 24 Feb 2008 01:07:41 +0000 (01:07 +0000)]
Mention G_WIN32_DLLMAIN_FOR_DLL_NAME() will be deprecated in the future.

2008-02-24  Tor Lillqvist  <tml@novell.com>

* glib/gutils.h: Mention G_WIN32_DLLMAIN_FOR_DLL_NAME() will be
deprecated in the future.

* glib/gutils.c: Drop use of G_WIN32_DLLMAIN_FOR_DLL_NAME(). Use a
minimal DllMain() instead that just saves the DLL handle.
(g_win32_get_system_data_dirs_for_module, _glib_get_locale_dir)
(get_module_share_dir): Use
g_win32_get_package_installation_directory_of_module().

svn path=/trunk/; revision=6570

16 years agoNew function. Supersedes g_win32_get_package_installation_directory() and
Tor Lillqvist [Sun, 24 Feb 2008 00:38:01 +0000 (00:38 +0000)]
New function. Supersedes g_win32_get_package_installation_directory() and

2008-02-24  Tor Lillqvist  <tml@novell.com>

* glib/gwin32.c
(g_win32_get_package_installation_directory_of_module): New
function. Supersedes g_win32_get_package_installation_directory()
and g_win32_get_package_installation_directory().

It makes more sense to have the function for this functionality
take a HMODULE as parameter instead of DLL name. The typical use
scenario has been to have a DllMain() function that retrieves the
full pathname for the DLL in question, and saves just the basename
of that. Then later code passes that saved dll basename to
g_win32_get_package_installation_directory(), which retrieves the
corresponding DLL handle, and then retrieves up its full
pathname. (Which DLlMain() already had.) It is less convoluted to
have a DllMain() that just saves the DLL handle, and then when
needed call this function to get the corresponding installation
folder.

(get_package_directory_from_module): Use
g_win32_get_package_installation_directory_of_module().

(g_win32_get_package_installation_directory)
(g_win32_get_package_installation_subdirectory): Mention these
functions will be deprecated and recommend using
g_win32_get_package_installation_directory_of_module() instead.

* glib/gwin32.h: Declare
g_win32_get_package_installation_directory_of_module().

* glib/glib.symbols: Add it.

svn path=/trunk/; revision=6569

16 years agoTranslation updated
Gabor Kelemen [Sat, 23 Feb 2008 21:55:49 +0000 (21:55 +0000)]
Translation updated

2008-02-23  Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated

svn path=/trunk/; revision=6568

16 years agoEstonian translation update by Ivar Smolin.
Priit Laes [Sat, 23 Feb 2008 08:29:08 +0000 (08:29 +0000)]
Estonian translation update by Ivar Smolin.

2008-02-23  Priit Laes  <plaes@svn.gnome.org>

* et.po: Estonian translation update by Ivar Smolin.

svn path=/trunk/; revision=6567

16 years agoUpdates
Matthias Clasen [Sat, 23 Feb 2008 06:59:06 +0000 (06:59 +0000)]
Updates

svn path=/trunk/; revision=6566

16 years agoAdd new symbols
Matthias Clasen [Sat, 23 Feb 2008 06:34:41 +0000 (06:34 +0000)]
Add new symbols

svn path=/trunk/; revision=6565

16 years agoTypo fix
Matthias Clasen [Sat, 23 Feb 2008 06:34:00 +0000 (06:34 +0000)]
Typo fix

svn path=/trunk/; revision=6564

16 years agoReturn NULL when the key is not found. (#513171, Дилян
Matthias Clasen [Sat, 23 Feb 2008 05:25:27 +0000 (05:25 +0000)]
Return NULL when the key is not found. (#513171, Дилян

2008-02-23  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c (g_key_file_get_string_list): Return
        NULL when the key is not found.  (#513171, Дилян Палаузов)

svn path=/trunk/; revision=6563

16 years agoDon't test user directories for being non-null. (#517084, Yevgen Muntyan)
Matthias Clasen [Sat, 23 Feb 2008 05:14:34 +0000 (05:14 +0000)]
Don't test user directories for being non-null. (#517084, Yevgen Muntyan)

2008-02-23  Matthias Clasen  <mclasen@redhat.com>

        * tests/testglib.c: Don't test user directories for being
        non-null.  (#517084, Yevgen Muntyan)

svn path=/trunk/; revision=6562

16 years agoDocumentation updates
Matthias Clasen [Sat, 23 Feb 2008 05:06:18 +0000 (05:06 +0000)]
Documentation updates

svn path=/trunk/; revision=6561

16 years agoSmall doc fix
Matthias Clasen [Sat, 23 Feb 2008 05:05:39 +0000 (05:05 +0000)]
Small doc fix

svn path=/trunk/; revision=6560

16 years agoUpdates
Matthias Clasen [Sat, 23 Feb 2008 05:04:13 +0000 (05:04 +0000)]
Updates

svn path=/trunk/; revision=6559

16 years agoUpdated Italian translation.
Luca Ferretti [Fri, 22 Feb 2008 16:01:42 +0000 (16:01 +0000)]
Updated Italian translation.

2008-02-22  Luca Ferretti  <elle.uca@libero.it>

* it.po: Updated Italian translation.

svn path=/trunk/; revision=6558

16 years agoLook at old-style gnome mime icon names too, as many have not moved to the
Alexander Larsson [Fri, 22 Feb 2008 14:56:50 +0000 (14:56 +0000)]
Look at old-style gnome mime icon names too, as many have not moved to the

2008-02-22  Alexander Larsson  <alexl@redhat.com>

* gcontenttype.c (g_content_type_get_icon):
Look at old-style gnome mime icon names too, as many
have not moved to the new style.

svn path=/trunk/; revision=6557

16 years agoBrazilian Portuguese translation updated by Og Maciel.
Jonh Wendell [Fri, 22 Feb 2008 11:48:52 +0000 (11:48 +0000)]
Brazilian Portuguese translation updated by Og Maciel.

2008-02-22  Jonh Wendell  <jwendell@gnome.org>

* pt_BR.po: Brazilian Portuguese translation updated by Og Maciel.

svn path=/trunk/; revision=6556

16 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Fri, 22 Feb 2008 07:50:24 +0000 (07:50 +0000)]
Translation updated by Tino Meinen.

2008-02-22  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

svn path=/trunk/; revision=6555

16 years agoDoc fixes
Matthias Clasen [Thu, 21 Feb 2008 18:20:17 +0000 (18:20 +0000)]
Doc fixes

svn path=/trunk/; revision=6554

16 years agoUpdated zh_CN translation from manphiz
Yang Zhang [Thu, 21 Feb 2008 13:51:11 +0000 (13:51 +0000)]
Updated zh_CN translation from manphiz

svn path=/trunk/; revision=6553

16 years agoglib/gutf8.c (g_get_charset) glib/gconvert.c (g_locale_from_utf8) Clarify
Tor Lillqvist [Thu, 21 Feb 2008 13:07:49 +0000 (13:07 +0000)]
glib/gutf8.c (g_get_charset) glib/gconvert.c (g_locale_from_utf8) Clarify

2008-02-21  Tor Lillqvist  <tml@novell.com>

* glib/gutf8.c (g_get_charset)
* glib/gconvert.c (g_locale_from_utf8)
* docs/reference/glib/running.sgml: Clarify character set
issues on Windows.

svn path=/trunk/; revision=6551

16 years agoImplement this function by moving bits from glocalfileinfo.c
David Zeuthen [Thu, 21 Feb 2008 12:35:05 +0000 (12:35 +0000)]
Implement this function by moving bits from glocalfileinfo.c

2008-02-21  David Zeuthen  <davidz@redhat.com>

* glocalfileinfo.c: (_g_local_file_info_get):
* gcontenttype.c:
(g_content_type_get_icon): Implement this function by
moving bits from glocalfileinfo.c
(g_content_type_get_description): Unalias before getting
description (#517687)

* gfile.c: (g_file_class_init),
(g_file_query_filesystem_info_async),
(g_file_query_filesystem_info_finish),
(query_filesystem_info_data_free),
(query_filesystem_info_async_thread),
(g_file_real_query_filesystem_info_async),
(g_file_real_query_filesystem_info_finish):
* gfile.h: Implement async version of
g_file_query_filesystem_info()

* gfileinfo.h: Add new attributes for filesystem::use-preview

* gio.symbols: Update

* gthemedicon.c: (g_themed_icon_append_name):
* gthemedicon.h: Add new new convenience function.

* gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
(get_mounts), (get_volumes), (get_connected_drives),
(get_volume_for_uuid), (get_mount_for_uuid),
(g_union_volume_monitor_init), (populate_union_monitor),
(g_volume_monitor_get), (_g_mount_get_for_mount_path),
(g_volume_monitor_adopt_orphan_mount):
* gvolumemonitor.c:
* gvolumemonitor.h: Use recursive locks so it's safe for volume
monitor implementations to call into the main volume monitor. Also
separate object initialization and volume monitor initialization
such that non-native volume monitors can properly adopt their
mounts away.

svn path=/trunk/; revision=6550

16 years agoFix doc typo
Alexander Larsson [Thu, 21 Feb 2008 11:44:48 +0000 (11:44 +0000)]
Fix doc typo

2008-02-21  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
Fix doc typo

svn path=/trunk/; revision=6549

16 years agoFix doc typo
Alexander Larsson [Thu, 21 Feb 2008 11:43:55 +0000 (11:43 +0000)]
Fix doc typo

2008-02-21  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
Fix doc typo

svn path=/trunk/; revision=6548

16 years agoAdd more documentation about how GFiles work (from #517086)
Alexander Larsson [Thu, 21 Feb 2008 10:21:11 +0000 (10:21 +0000)]
Add more documentation about how GFiles work (from #517086)

2008-02-21  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
Add more documentation about how GFiles work (from #517086)

svn path=/trunk/; revision=6547

16 years agoAdd new g_file_has_prefix that does the same as g_file_contains_file.
Alexander Larsson [Thu, 21 Feb 2008 09:09:59 +0000 (09:09 +0000)]
Add new g_file_has_prefix that does the same as g_file_contains_file.

2008-02-21  Alexander Larsson  <alexl@redhat.com>

        * gfile.[ch]:
        * gio.symbols:
Add new g_file_has_prefix that does the same as g_file_contains_file.
Deprecate g_file_contains_file and add a macro that converts
it to g_file_has_prefix.
The reason for this change is that the contains_file() name seems to
imply that this does more work than what it does, but its really only
a name match (from #517086)

        * gdummyfile.c:
        * glocalfile.c:
        * tests/g-file.c:
Update to match the above change.

svn path=/trunk/; revision=6546

16 years agoeven more cases of not returning in error path
Benjamin Otte [Wed, 20 Feb 2008 18:52:10 +0000 (18:52 +0000)]
even more cases of not returning in error path

2008-02-20  Benjamin Otte  <otte@gnome.org>

* gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
(g_file_eject_mountable):
even more cases of not returning in error path

svn path=/trunk/; revision=6545

16 years agoreturn from function in error path.
Benjamin Otte [Wed, 20 Feb 2008 18:45:18 +0000 (18:45 +0000)]
return from function in error path.

2008-02-20  Benjamin Otte  <otte@gnome.org>

        * gfile.c: (g_file_mount_mountable):
return from function in error path.

svn path=/trunk/; revision=6544

16 years agoChange the g_error() to g_message() to avoid stopping on warnings. At
Tor Lillqvist [Tue, 19 Feb 2008 22:53:58 +0000 (22:53 +0000)]
Change the g_error() to g_message() to avoid stopping on warnings. At

2008-02-20  Tor Lillqvist  <tml@novell.com>

* glib/gtestutils.c (g_test_trap_fork) [Win32]: Change the
g_error() to g_message() to avoid stopping on warnings. At least
now testglib runs to completion and the old tests in it get
exercised even if the newfangled ones don't.
(g_test_trap_assertions) [Win32]: Bypass on Windows.

svn path=/trunk/; revision=6542

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Tue, 19 Feb 2008 22:33:50 +0000 (22:33 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=6541

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Tue, 19 Feb 2008 22:31:52 +0000 (22:31 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=6540

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Tue, 19 Feb 2008 22:12:09 +0000 (22:12 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=6539

16 years agomoved ChangeLog entries to their proper location in docs/reference
Sven Neumann [Tue, 19 Feb 2008 13:30:26 +0000 (13:30 +0000)]
moved ChangeLog entries to their proper location in docs/reference

svn path=/trunk/; revision=6537

16 years agoRemove trailing coma in GMountMountFlags struct
Sylvain Pasche [Tue, 19 Feb 2008 08:49:16 +0000 (08:49 +0000)]
Remove trailing coma in GMountMountFlags struct

2008-02-18  Sylvain Pasche <sylvain.pasche@gmail.com>

        * gfile.h:
 Remove trailing coma in GMountMountFlags struct

svn path=/trunk/; revision=6536

16 years agoUpdated Galician Translation.
Ignacio Casal Quinteiro [Mon, 18 Feb 2008 21:24:51 +0000 (21:24 +0000)]
Updated Galician Translation.

svn path=/trunk/; revision=6535

16 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 18 Feb 2008 17:46:31 +0000 (17:46 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=6534

16 years agoUse g_unlink/g_rename instead of unlink/rename; do not pass raw filenames
Alexander Larsson [Mon, 18 Feb 2008 15:35:16 +0000 (15:35 +0000)]
Use g_unlink/g_rename instead of unlink/rename; do not pass raw filenames

2008-02-18  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
        * glocalfileinfo.c:
        * glocalfileoutputstream.c:
Use g_unlink/g_rename instead of unlink/rename;
do not pass raw filenames to g_set_error. (#517239)
Patch from Yevgen Muntyan.

svn path=/trunk/; revision=6533

16 years agoUpdated Vietnamese translation
Nguyễn Thái Ngọc Duy [Mon, 18 Feb 2008 12:42:04 +0000 (12:42 +0000)]
Updated Vietnamese translation

2008-02-18  Nguyễn Thái Ngọc Duy <pclouds@gmail.com>

* vi.po: Updated Vietnamese translation

svn path=/trunk/; revision=6532

16 years agoOpen files with O_BINARY on windows. (#517140)
Alexander Larsson [Mon, 18 Feb 2008 10:10:58 +0000 (10:10 +0000)]
Open files with O_BINARY on windows. (#517140)

2008-02-18  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
        * glocalfileoutputstream.c:
Open files with O_BINARY on windows. (#517140)

svn path=/trunk/; revision=6531

16 years agoUpdated Finnish translation
Ilkka Tuohela [Mon, 18 Feb 2008 04:36:35 +0000 (04:36 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=6530

16 years agoupdated hebrew translation
Yair Hershkovitz [Sun, 17 Feb 2008 16:58:52 +0000 (16:58 +0000)]
updated hebrew translation

svn path=/trunk/; revision=6529

16 years agoAvoid some useless casts from const gchar * to gchar *. (#516597, patch by
Marco Barisione [Sun, 17 Feb 2008 14:26:30 +0000 (14:26 +0000)]
Avoid some useless casts from const gchar * to gchar *. (#516597, patch by

2008-02-17  Marco Barisione  <marco@barisione.org>

* glib/gregex.c: (translate_compile_error), (g_regex_new): Avoid some
useless casts from const gchar * to gchar *.  (#516597, patch by
Yevgen Muntyan)

svn path=/trunk/; revision=6528

16 years agoDon't return duplicate matches when matching empty strings. (#515944) Add
Marco Barisione [Sun, 17 Feb 2008 14:07:32 +0000 (14:07 +0000)]
Don't return duplicate matches when matching empty strings. (#515944) Add

2008-02-17  Marco Barisione  <marco@barisione.org>

* glib/gregex.c: (match_info_new), (g_match_info_next): Don't return
duplicate matches when matching empty strings.  (#515944)
* tests/regex-test.c: Add tests.

svn path=/trunk/; revision=6527

16 years agodefine CSIDL_MYPICTURES if not available use G_STRFUNC instead of compiler
Hans Breuer [Sun, 17 Feb 2008 12:49:12 +0000 (12:49 +0000)]
define CSIDL_MYPICTURES if not available use G_STRFUNC instead of compiler

2008-02-17  Hans Breuer  <hans@breuer.org>

* glib/gutils.c : define CSIDL_MYPICTURES if not available
* gthread/gthread-win32.c : use G_STRFUNC instead of compiler
specific __FUNCTION__

svn path=/trunk/; revision=6526

16 years agoUpdated Arabic Translation by Khaled Hosny.
Djihed Afifi [Sun, 17 Feb 2008 12:02:31 +0000 (12:02 +0000)]
Updated Arabic Translation by Khaled Hosny.

svn path=/trunk/; revision=6525

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sun, 17 Feb 2008 11:00:41 +0000 (11:00 +0000)]
Updated Norwegian bokmål translation.

2008-02-17  Kjartan Maraas  <kmaraas@gnome.org>

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

svn path=/trunk/; revision=6524

16 years agoUpdate en_GB translation
David Lodge [Sun, 17 Feb 2008 09:23:21 +0000 (09:23 +0000)]
Update en_GB translation

svn path=/trunk/; revision=6523

16 years agoUpdated Belarusian Latin translation.
Ihar Hrachyshka [Sat, 16 Feb 2008 21:34:05 +0000 (21:34 +0000)]
Updated Belarusian Latin translation.

svn path=/trunk/; revision=6522

16 years agoCorrectly check for HAVE_FCHMOD and HAVE_FCHOWN
Alexander Larsson [Thu, 14 Feb 2008 16:47:56 +0000 (16:47 +0000)]
Correctly check for HAVE_FCHMOD and HAVE_FCHOWN

2008-02-14  Alexander Larsson  <alexl@redhat.com>

        * glocalfileoutputstream.c:
Correctly check for HAVE_FCHMOD and HAVE_FCHOWN

svn path=/trunk/; revision=6518

16 years agoAdded Entry for Kannada Translation Updation by Shankar Prasad
Runa Bhattacharjee [Thu, 14 Feb 2008 12:25:46 +0000 (12:25 +0000)]
Added Entry for Kannada Translation Updation by Shankar Prasad

svn path=/trunk/; revision=6517

16 years agoUpdated Kannada Translations by Shankar Prasad
Runa Bhattacharjee [Thu, 14 Feb 2008 12:25:23 +0000 (12:25 +0000)]
Updated Kannada Translations by Shankar Prasad

svn path=/trunk/; revision=6516

16 years agoUpdated Catalan translation
Gil Forcada Codinachs [Thu, 14 Feb 2008 11:56:29 +0000 (11:56 +0000)]
Updated Catalan translation

svn path=/trunk/; revision=6515

16 years agoCopy permissions with file on copy (#514084) This is what cp does and
Alexander Larsson [Thu, 14 Feb 2008 11:00:09 +0000 (11:00 +0000)]
Copy permissions with file on copy (#514084) This is what cp does and

2008-02-14  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
Copy permissions with file on copy (#514084)
This is what cp does and makes sure e.g. the
exec permissions are kept.
Its kinda weird in that it keeps the permission bits
the same while the uid and gid are different. However
the new uid is the user so its not a security issue,
and I've heard no complaints about cp on this issue.

svn path=/trunk/; revision=6514

16 years agoUpdated Finnish translation
Ilkka Tuohela [Thu, 14 Feb 2008 04:15:52 +0000 (04:15 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=6512

16 years agoadd G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
Ryan Lortie [Wed, 13 Feb 2008 20:27:18 +0000 (20:27 +0000)]
add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT

2008-02-13  Ryan Lortie  <desrt@desrt.ca>

        * docs/reference/gio/gio-sections.txt: add
        G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT

2008-02-13  Ryan Lortie  <desrt@desrt.ca>

        * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT

svn path=/trunk/; revision=6511

16 years agoDefine IN_ONLYDIR if not in header (#515346)
Alexander Larsson [Wed, 13 Feb 2008 13:33:57 +0000 (13:33 +0000)]
Define IN_ONLYDIR if not in header (#515346)

2008-02-13  Alexander Larsson  <alexl@redhat.com>

* inotify/inotify-path.c:
Define IN_ONLYDIR if not in header (#515346)

svn path=/trunk/; revision=6510

16 years agoUpdated Finnish translation
Ilkka Tuohela [Wed, 13 Feb 2008 12:41:10 +0000 (12:41 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=6509

16 years agoDoc change: Deprecate passing anything but NULL for the "package"
Tor Lillqvist [Wed, 13 Feb 2008 11:59:14 +0000 (11:59 +0000)]
Doc change: Deprecate passing anything but NULL for the "package"

2008-02-13  Tor Lillqvist  <tml@novell.com>

* glib/gwin32.c: Doc change: Deprecate passing anything but NULL
for the "package" parameter to
g_win32_get_package_installation_directory() and
g_win32_get_package_installation_subdirectory().

svn path=/trunk/; revision=6508

16 years agoAdditions
Matthias Clasen [Wed, 13 Feb 2008 02:30:14 +0000 (02:30 +0000)]
Additions

svn path=/trunk/; revision=6507

16 years agoC89 fixes (#515892)
Alexander Larsson [Tue, 12 Feb 2008 10:06:01 +0000 (10:06 +0000)]
C89 fixes (#515892)

2008-02-12  Alexander Larsson  <alexl@redhat.com>

        * tests/live-g-file.c:
C89 fixes (#515892)

svn path=/trunk/; revision=6506

16 years agoBump version
Matthias Clasen [Mon, 11 Feb 2008 22:33:02 +0000 (22:33 +0000)]
Bump version

svn path=/trunk/; revision=6505

16 years ago2.15.5 GLIB_2_15_5
Matthias Clasen [Mon, 11 Feb 2008 22:30:35 +0000 (22:30 +0000)]
2.15.5

svn path=/trunk/; revision=6503

16 years agoUpdates
Matthias Clasen [Mon, 11 Feb 2008 21:51:23 +0000 (21:51 +0000)]
Updates

svn path=/trunk/; revision=6502

16 years agoAdd g_mount_mount_flags_get_type
Matthias Clasen [Mon, 11 Feb 2008 18:31:43 +0000 (18:31 +0000)]
Add g_mount_mount_flags_get_type

svn path=/trunk/; revision=6501

16 years agoMake the g_test_add macro work with gcc 4.3
Matthias Clasen [Mon, 11 Feb 2008 18:28:42 +0000 (18:28 +0000)]
Make the g_test_add macro work with gcc 4.3

2008-02-10  Matthias Clasen <mclasen@redhat.com>

        * glib/gtestutils.h: Make the g_test_add macro work with
        gcc 4.3

        * tests/gobject/paramspec-test.c: Adapt to recent changes in
        GParamGType initialization.

svn path=/trunk/; revision=6500

16 years agoFix a typo
Matthias Clasen [Mon, 11 Feb 2008 17:35:44 +0000 (17:35 +0000)]
Fix a typo

svn path=/trunk/; revision=6499

16 years agoCorrectly handle NULL GAttributeMatcher meaning matches nothing. (Fixes
Alexander Larsson [Mon, 11 Feb 2008 12:21:49 +0000 (12:21 +0000)]
Correctly handle NULL GAttributeMatcher meaning matches nothing. (Fixes

2008-02-11  Alexander Larsson  <alexl@redhat.com>

        * gfileinfo.c:
        (g_file_info_set_attribute_mask):
        (g_file_attribute_matcher_matches_id):
Correctly handle NULL GAttributeMatcher meaning
matches nothing. (Fixes #513492)

svn path=/trunk/; revision=6498

16 years agoAdded GMountMountFlags enum and added a flags argument to all mount calls.
Alexander Larsson [Mon, 11 Feb 2008 11:12:36 +0000 (11:12 +0000)]
Added GMountMountFlags enum and added a flags argument to all mount calls.

2008-02-11  Alexander Larsson  <alexl@redhat.com>

        * gfile.[ch]:
        * gmount.[ch]:
        * gvolume.[ch]:
Added GMountMountFlags enum and added a flags
argument to all mount calls.

This is an API/ABI change for future extensibility,
as I think we will need at least an
inhibit-autorun flag (the panel needs this).
There are no flags defined yet though.

svn path=/trunk/; revision=6497

16 years agoAdded new standard::description attribute. Requested by Vincent, and
Alexander Larsson [Mon, 11 Feb 2008 10:41:00 +0000 (10:41 +0000)]
Added new standard::description attribute. Requested by Vincent, and

2008-02-11  Alexander Larsson  <alexl@redhat.com>

* gfileinfo.h:
Added new standard::description attribute.
Requested by Vincent, and useful for both
panel and nautilus

svn path=/trunk/; revision=6496

16 years agoMinor docs cleanup
Alexander Larsson [Mon, 11 Feb 2008 08:47:17 +0000 (08:47 +0000)]
Minor docs cleanup

2008-02-11  Alexander Larsson  <alexl@redhat.com>

        * gdesktopappinfo.c:
Minor docs cleanup

svn path=/trunk/; revision=6495

16 years agoAdditions
Matthias Clasen [Mon, 11 Feb 2008 07:18:56 +0000 (07:18 +0000)]
Additions

svn path=/trunk/; revision=6494

16 years agoAdd more docs
Matthias Clasen [Mon, 11 Feb 2008 07:17:48 +0000 (07:17 +0000)]
Add more docs

svn path=/trunk/; revision=6493

16 years agoDocumentation additions
Matthias Clasen [Mon, 11 Feb 2008 07:12:56 +0000 (07:12 +0000)]
Documentation additions

svn path=/trunk/; revision=6492

16 years agoCheck for getmntent_r
Matthias Clasen [Sun, 10 Feb 2008 05:22:39 +0000 (05:22 +0000)]
Check for getmntent_r

svn path=/trunk/; revision=6491

16 years agoConsistently use getmntent_r() and fall back to getmntent(). (#515492)
Matthias Clasen [Sun, 10 Feb 2008 05:20:00 +0000 (05:20 +0000)]
Consistently use getmntent_r() and fall back to getmntent(). (#515492)

2008-02-09  Matthias Clasen <mclasen@redhat.com>

        * gunixmounts.c: Consistently use getmntent_r() and fall
        back to getmntent().  (#515492)

svn path=/trunk/; revision=6490

16 years agoFix a mismerge
Matthias Clasen [Sun, 10 Feb 2008 04:54:25 +0000 (04:54 +0000)]
Fix a mismerge

svn path=/trunk/; revision=6489

16 years agoImprove the documentation for the G_MODULE_EXPORT macro. (#514470)
Philip Withnall [Sun, 10 Feb 2008 04:48:31 +0000 (04:48 +0000)]
Improve the documentation for the G_MODULE_EXPORT macro. (#514470)

2008-02-10  Philip Withnall  <pwithnall@svn.gnome.org>

* glib/tmpl/modules.sgml: Improve the documentation for
the G_MODULE_EXPORT macro. (#514470)

svn path=/trunk/; revision=6488