platform/upstream/glib.git
16 years agoUpdate Ukrainian translation.
Maxim Dziumanenko [Fri, 7 Mar 2008 23:25:57 +0000 (23:25 +0000)]
Update Ukrainian translation.

2008-03-08 Maxim Dziumanenko <dziumanenko@gmail.com>

* Update Ukrainian translation.

svn path=/trunk/; revision=6641

16 years ago*ro.po: Updated Romanian translation
Mugurel Tudor [Fri, 7 Mar 2008 18:08:56 +0000 (18:08 +0000)]
*ro.po: Updated Romanian translation

2008-03-07  Mugurel Tudor  <mugurelu@gnome.ro>

*ro.po: Updated Romanian translation

svn path=/trunk/; revision=6639

16 years agoUse struct statfs.f_fstypename if availible (e.g. on OpenBSD) Patch from
Alexander Larsson [Fri, 7 Mar 2008 14:36:15 +0000 (14:36 +0000)]
Use struct statfs.f_fstypename if availible (e.g. on OpenBSD) Patch from

2008-03-07  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
        (g_local_file_query_filesystem_info):
Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
Patch from Jasper Lievisse Adriaanse

svn path=/trunk/; revision=6638

16 years agoMore edits.
Tor Lillqvist [Fri, 7 Mar 2008 01:58:49 +0000 (01:58 +0000)]
More edits.

svn path=/trunk/; revision=6637

16 years agoUpdates.
Tor Lillqvist [Fri, 7 Mar 2008 01:47:26 +0000 (01:47 +0000)]
Updates.

2008-03-07  Tor Lillqvist  <tml@novell.com>

* README.win32: Updates.

svn path=/trunk/; revision=6636

16 years agoUpdated Lithuanian translation.
Gintautas Miliauskas [Fri, 7 Mar 2008 00:07:57 +0000 (00:07 +0000)]
Updated Lithuanian translation.

2008-03-07  Gintautas Miliauskas  <gintas@akl.lt>

* lt.po: Updated Lithuanian translation.

svn path=/trunk/; revision=6635

16 years agoCorrect milliseconds to microseconds in the doc comments for the *_USEC
Tor Lillqvist [Thu, 6 Mar 2008 13:10:06 +0000 (13:10 +0000)]
Correct milliseconds to microseconds in the doc comments for the *_USEC

2008-03-06  Tor Lillqvist  <tml@novell.com>

* gfileinfo.h: Correct milliseconds to microseconds in the doc
comments for the *_USEC attributes.

svn path=/trunk/; revision=6634

16 years agoAdd g_return_val_if_fail check (#520700)
Alexander Larsson [Thu, 6 Mar 2008 10:04:24 +0000 (10:04 +0000)]
Add g_return_val_if_fail check (#520700)

2008-03-06  Alexander Larsson  <alexl@redhat.com>

* gfile.c (g_file_query_exists):
Add g_return_val_if_fail check (#520700)

svn path=/trunk/; revision=6633

16 years agoFix sparse warnings (#519489)
Alexander Larsson [Thu, 6 Mar 2008 09:53:35 +0000 (09:53 +0000)]
Fix sparse warnings (#519489)

2008-03-06  Alexander Larsson  <alexl@redhat.com>

        * gdesktopappinfo.c:
        * gfilemonitor.c:
        * gthemedicon.c:
        * gunionvolumemonitor.c:
        * gunixmounts.c:
        * tests/g-file.c:
        * tests/live-g-file.c:
        * xdgmime/xdgmimecache.c:
Fix sparse warnings (#519489)

svn path=/trunk/; revision=6632

16 years agoUpdated Marathi Translations
Rahul Bhalerao [Wed, 5 Mar 2008 15:09:28 +0000 (15:09 +0000)]
Updated Marathi Translations

svn path=/trunk/; revision=6631

16 years agoMake cancellation threadsafe (i.e. guarantee its only done once, and
Alexander Larsson [Wed, 5 Mar 2008 11:50:27 +0000 (11:50 +0000)]
Make cancellation threadsafe (i.e. guarantee its only done once, and

2008-03-05  Alexander Larsson  <alexl@redhat.com>

        * gfilemonitor.c:
Make cancellation threadsafe (i.e.
guarantee its only done once, and always
done)

        * glocaldirectorymonitor.c:
Make sure we the monitor lives while the
mounts_changed callback is being called (#520484)

svn path=/trunk/; revision=6630

16 years agoTranslation updated by Ivar Smolin
Priit Laes [Wed, 5 Mar 2008 11:40:12 +0000 (11:40 +0000)]
Translation updated by Ivar Smolin

2008-03-05  Priit Laes  <plaes at svn dot gnome dot org>

* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=6629

16 years agoUpdated Finnish translation
Ilkka Tuohela [Wed, 5 Mar 2008 05:01:16 +0000 (05:01 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=6628

16 years agoRemove g_uri_get_scheme.
Tor Lillqvist [Wed, 5 Mar 2008 01:56:24 +0000 (01:56 +0000)]
Remove g_uri_get_scheme.

2008-03-05  Tor Lillqvist  <tml@novell.com>

* glib/glib.symbols: Remove g_uri_get_scheme.

svn path=/trunk/; revision=6626

16 years agoUpdated German translation.
Hendrik Richter [Tue, 4 Mar 2008 18:47:26 +0000 (18:47 +0000)]
Updated German translation.

2008-03-04  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation.

svn path=/trunk/; revision=6625

16 years agoupdating Translation for Punjabi
Amanpreet Singh Alam [Tue, 4 Mar 2008 18:04:47 +0000 (18:04 +0000)]
updating Translation for Punjabi

svn path=/trunk/; revision=6624

16 years agoFix typo in parameter documentation.
Wouter Bolsterlee [Tue, 4 Mar 2008 15:21:31 +0000 (15:21 +0000)]
Fix typo in parameter documentation.

2008-03-04  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* gio/gbufferedinputstream.c: Fix typo in parameter
documentation.

svn path=/trunk/; revision=6622

16 years agoRemove deprecated symbols we kept for one release.
Alexander Larsson [Tue, 4 Mar 2008 14:51:34 +0000 (14:51 +0000)]
Remove deprecated symbols we kept for one release.

2008-03-04  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
Remove deprecated symbols we kept for one release.

2008-03-04  Alexander Larsson  <alexl@redhat.com>

        * glib/gurifuncs.c:
Remove deprecated symbols we kept for one release.

svn path=/trunk/; revision=6621

16 years agoTiny documentation corrections.
Murray Cumming [Tue, 4 Mar 2008 13:15:57 +0000 (13:15 +0000)]
Tiny documentation corrections.

2008-03-04  Murray Cumming  <murrayc@murrayc.com>

* ginputstream.c:
* goutputstream.c: Tiny documentation corrections.

svn path=/trunk/; revision=6620

16 years agoUpdated Italian translation.
Luca Ferretti [Tue, 4 Mar 2008 09:21:54 +0000 (09:21 +0000)]
Updated Italian translation.

2008-03-04  Luca Ferretti  <elle.uca@libero.it>

* it.po: Updated Italian translation.

svn path=/trunk/; revision=6619

16 years agoFix the adopt_orphan_mount vfunc to take a volume_monitor reference in an
Alexander Larsson [Mon, 3 Mar 2008 21:38:30 +0000 (21:38 +0000)]
Fix the adopt_orphan_mount vfunc to take a volume_monitor reference in an

2008-03-03  Alexander Larsson  <alexl@redhat.com>

        * gunionvolumemonitor.c:
        * gvolumemonitor.h:
Fix the adopt_orphan_mount vfunc to take a
volume_monitor reference in an ABI compat way.
This change is not API compat, but the added
arg is not used in the only user of this vfunc, so
all we get is a harmless warning in gvfs (#520169)

svn path=/trunk/; revision=6618

16 years agocs.po: Updated Czech translation.
Petr Kovář [Mon, 3 Mar 2008 21:29:09 +0000 (21:29 +0000)]
cs.po: Updated Czech translation.

svn path=/trunk/; revision=6617

16 years agoAdd a version of G_INLINE_FUNC for __GNUC__ && __GNUC_STDC_INLINE__, patch
Matthias Clasen [Mon, 3 Mar 2008 14:42:32 +0000 (14:42 +0000)]
Add a version of G_INLINE_FUNC for __GNUC__ && __GNUC_STDC_INLINE__, patch

2008-03-03  Matthias Clasen  <mclasen@redhat.com>

        * glib/gutils.h: Add a version of G_INLINE_FUNC for
        __GNUC__ && __GNUC_STDC_INLINE__, patch by Jakub Jelinek

svn path=/trunk/; revision=6616

16 years agoUpdated Malayalam Translation
Ani Peter [Mon, 3 Mar 2008 12:17:36 +0000 (12:17 +0000)]
Updated Malayalam Translation

svn path=/trunk/; revision=6615

16 years agoUpdated Malayalam Translation
Ani Peter [Mon, 3 Mar 2008 12:17:23 +0000 (12:17 +0000)]
Updated Malayalam Translation

svn path=/trunk/; revision=6614

16 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Mon, 3 Mar 2008 08:42:04 +0000 (08:42 +0000)]
Updated Translation

svn path=/trunk/; revision=6613

16 years agoMust set the GError also in the unexpected EOF case.
Tor Lillqvist [Mon, 3 Mar 2008 04:23:16 +0000 (04:23 +0000)]
Must set the GError also in the unexpected EOF case.

2008-03-03  Tor Lillqvist  <tml@novell.com>

* glib/gspawn-win32.c (read_helper_report): Must set the GError
also in the unexpected EOF case.
(do_spawn_with_pipes): Must protect also new_argv[0].

svn path=/trunk/; revision=6612

16 years agoUpdated Italian translation.
Luca Ferretti [Sun, 2 Mar 2008 19:38:28 +0000 (19:38 +0000)]
Updated Italian translation.

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

* it.po: Updated Italian translation.

svn path=/trunk/; revision=6611

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sun, 2 Mar 2008 13:00:31 +0000 (13:00 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=6610

16 years agofix last commit.
Benjamin Otte [Sat, 1 Mar 2008 16:27:50 +0000 (16:27 +0000)]
fix last commit.

2008-03-01  Benjamin Otte  <otte@gnome.org>

* glib/glist.c:
fix last commit.

svn path=/trunk/; revision=6609

16 years agoclarify docs for g_file_delete().
Benjamin Otte [Sat, 1 Mar 2008 14:52:03 +0000 (14:52 +0000)]
clarify docs for g_file_delete().

2008-03-01  Benjamin Otte  <otte@gnome.org>

* gfile.c:
clarify docs for g_file_delete().

svn path=/trunk/; revision=6608

16 years agoMove docs inline
Matthias Clasen [Fri, 29 Feb 2008 21:16:21 +0000 (21:16 +0000)]
Move docs inline

svn path=/trunk/; revision=6607

16 years agoEstonian translation update by Ivar Smolin.
Priit Laes [Fri, 29 Feb 2008 21:02:17 +0000 (21:02 +0000)]
Estonian translation update by Ivar Smolin.

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

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

svn path=/trunk/; revision=6606

16 years agoMake sure empty files get text/plain type (#518720)
Alexander Larsson [Fri, 29 Feb 2008 09:49:08 +0000 (09:49 +0000)]
Make sure empty files get text/plain type (#518720)

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

        * glocalfileinfo.c:
        (get_content_type):
Make sure empty files get text/plain type (#518720)

svn path=/trunk/; revision=6605

16 years agoAdd some GNU libiconv compatibility: Recognize "" and "char" as aliases
Tor Lillqvist [Thu, 28 Feb 2008 22:59:39 +0000 (22:59 +0000)]
Add some GNU libiconv compatibility: Recognize "" and "char" as aliases

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

* glib/win_iconv.c (name_to_codepage): Add some GNU libiconv
compatibility: Recognize "" and "char" as aliases for the current
locale's charset. (We use the system ANSI codepage as returned by
GetACP().) Recognize "wchar_t" as an alias for UTF-16LE.

svn path=/trunk/; revision=6604

16 years agoTypo.
Tor Lillqvist [Thu, 28 Feb 2008 17:54:46 +0000 (17:54 +0000)]
Typo.

svn path=/trunk/; revision=6603

16 years agoUpdated French translation by Claude Paroz.
Stéphane Raimbault [Thu, 28 Feb 2008 13:02:33 +0000 (13:02 +0000)]
Updated French translation by Claude Paroz.

2008-02-28  Stéphane Raimbault  <stephane.raimbault@gmail.com>

* fr.po: Updated French translation by Claude Paroz.

svn path=/trunk/; revision=6602

16 years agoupdated assamese translations
Amitakhya Phukan [Thu, 28 Feb 2008 11:39:03 +0000 (11:39 +0000)]
updated assamese translations

svn path=/trunk/; revision=6601

16 years agoMake 'length' parameter signed to accomodate passing negative lengths.
Matthew Barnes [Thu, 28 Feb 2008 01:48:00 +0000 (01:48 +0000)]
Make 'length' parameter signed to accomodate passing negative lengths.

2008-02-27  Matthew Barnes  <mbarnes@redhat.com>

* glib/gchecksum.[ch] (g_checksum_update),
(g_compute_checksum_for_string): Make 'length' parameter
signed to accomodate passing negative lengths. (#510855)

svn path=/trunk/; revision=6600

16 years agoFix type warnings
Alexander Larsson [Wed, 27 Feb 2008 11:23:35 +0000 (11:23 +0000)]
Fix type warnings

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

        * gcontenttype.c:
Fix type warnings

        * gunixvolume.c:
        (g_unix_volume_mount):
Add missing GMountMountFlags argument

svn path=/trunk/; revision=6599

16 years agoHandle filesystems (like ntfs-3g) that return EEXIST instead of ENOTEMPTY
Alexander Larsson [Wed, 27 Feb 2008 11:16:58 +0000 (11:16 +0000)]
Handle filesystems (like ntfs-3g) that return EEXIST instead of ENOTEMPTY

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

        * glocalfile.c:
        (g_local_file_delete):
Handle filesystems (like ntfs-3g) that return EEXIST instead
of ENOTEMPTY (#518816)

svn path=/trunk/; revision=6598

16 years agoFurther patch by Vlad Grecescu: Drop the code path that called
Tor Lillqvist [Tue, 26 Feb 2008 17:26:28 +0000 (17:26 +0000)]
Further patch by Vlad Grecescu: Drop the code path that called

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

* glib/gmain.c (g_poll): Further patch by Vlad Grecescu: Drop
the code path that called WaitMessage(), as WaitMessage()
doesn't offer any chance for APCs to run. Instead just use the
code path with MsgWaitForMultipleObjectsEx() even for the
wait-only-for-messages case. (#517484)

svn path=/trunk/; revision=6597

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