6601 Commits

Author SHA1 Message Date
Benjamin Otte
1feacdd38b only query file info in g_file_copy() when we need it
The default implementation of g_file_copy() checked the size of the file
to copy to give useful progress updates unconditionally. This can cause
long delays on 1-connection FTP servers while it tries to open a second
connection before it returns EBUSY. This patch makes this query only
happen when we actually send progress updates.
2009-06-23 12:57:47 -04:00
Alexander Larsson
d9b46acb72 Copy namespaces correctly in g_file_copy_attributes
File attribute namespaces are delimited with "::", but
build_attribute_list_for_copy only used ":", so we didn't copy
any writable namespaces.
2009-06-23 17:44:09 +02:00
Alexander Larsson
00547ece56 Use io_prio as mainloop prio for async-emulation (#579449)
I'm not sure why we used the elaborate formula to convert the io-priority
to the priority of the mainloop idle when emulating async i/o with idles.
However, it causes the default io priority to be less than the normal
idle prio, so the i/o won't be scheduled if there is an idle outstanding.

There is really no great mapping to use here, doing blocking i/o in an
idle of any prio is generally bad and apps doing a lot of async i/o should
initialize threads. However, if we use the io-priority directly we at least
avoid the starvation problem above and make things easier to understand.
2009-06-18 19:52:15 +02:00
A S Alam
5334599790 updating for Punjabi 2009-06-18 06:18:03 +05:30
Runa Bhattacharjee
fb9d3b9952 Updated Bengali India Translation 2009-06-09 11:55:38 +05:30
Matthias Clasen
7f1729b4fd Bump version to 2.20.4 2009-05-29 13:57:21 -04:00
Matthias Clasen
3c3776dce3 2.20.3 2.20.3 2009-05-29 13:15:11 -04:00
Matthias Clasen
61f78d562d Update for 2.20.3 2009-05-29 01:44:17 -04:00
Matthias Clasen
1f32eb927e Fix a locking problem in g_main_context_iterate()
We failed to ensure that the context is locked on every exit of
the function. This fixes bug 583324.
2009-05-29 01:18:56 -04:00
Alexander Larsson
91e8f21c93 Don't dereference identifier_type if it is NULL (#579558) 2009-05-29 01:18:07 -04:00
Robert Bragg
c2ed17a1a7 Take a reference on the gio file monitors while signaling pending file changes
It was possible for a signal handler to remove the last reference and
dispose the monitor.  If there were remaining pending_file_changes they
tried to dereference the disposed monitor.

This patch simply calls g_object_{ref,unref} around the loop that signals
the changes.
2009-05-29 01:17:32 -04:00
Christian Persch
eb6c59bc48 Preserve errno when using g_set_error with _() and g_strerror() 2009-05-29 01:16:12 -04:00
Shixin Zeng
faeeebab03 Fix string length bugs in GWinHttpFile (#580347) 2009-05-28 12:52:23 +03:00
Hans Breuer
8607901a74 Correct reference and implement close_fn (#578769)
Do proper referencing and unreferencing of
GWinHttpFileInputStream::file and
GWinHttpFileInputStream::file::vfs. Implement
GWinHttpFileInputStream::close_fn.
2009-05-27 15:16:38 +03:00
Miquel Esplà
cd7e05bd0d Added Valencian-Catalan translation 2009-05-25 00:25:21 +02:00
Matthias Clasen
0e79a64be2 Forgotten commit 2009-05-17 17:29:45 -04:00
Matthias Clasen
619200637a Bump version 2009-05-16 23:57:00 -04:00
Matthias Clasen
abdd332535 Update for 2.20.2 2.20.2 2009-05-16 22:52:14 -04:00
Paul Pogonyshev
56bbed8168 Don't try to ref NULL pointer in g_desktop_app_info_dup()
Fixes bug #573246.
2009-05-16 20:59:14 -04:00
Petr Kovar
9a040209b6 Updated Czech translation 2009-05-03 18:32:21 +02:00
Jordi Mas i Hernandez
517636c7a8 Minor fixes to Catalan translation 2009-04-26 20:15:55 +02:00
Johan Bilien
d71e37892c Fix translation from GIO's file attr to xattr attributes
Bug 579862 – requesting xattr::foo ends up calling getxattr(...,
user.:foo,...)

The patch makes sure we escape xattr::, not xattr:, before adding user.
and calling getxattr.
2009-04-22 19:40:13 +01:00
zabeeh khan
c17d4dd117 Pashto Translation committed as per the request made by Zabeeh Khan on the gnome-i18n list 2009-04-17 11:27:38 +05:30
Matthias Clasen
b85834c223 Bump version 2009-04-11 18:10:24 -04:00
Matthias Clasen
2c1dc529e8 Add a note about handling non-hal backends 2009-04-09 21:34:49 -04:00
Matthias Clasen
6e11246cc8 Release GLib 2.20.1 2.20.1 2009-04-09 18:47:28 -04:00
Matthias Clasen
009689e09b Update for 2.20.1 2009-04-09 17:43:59 -04:00
Matthias Clasen
e68a35689f Fix G_DEFINE_TYPE_EXTENDED docs
Make the docs for G_DEFINE_TYPE_EXTENDED match the actual
definition of the macro.  (#577985)
2009-04-09 14:56:49 -04:00
Gian Mario Tagliaretti
856632c496 Fix a typo in GFile docs
Fixed function name in GFile docs from g_set_display_name to
g_file_set_display_name so that gtk-doc can link correctly.  (#578002)
2009-04-09 14:35:57 -04:00
Kenneth Nielsen
950de29d0e Updated Danish translation\n\nUpdated Danish translation by Kenneth Nielsen. 2009-04-09 13:49:00 +02:00
Peter Kjellerstedt
efc2cdbfc9 Fix parsing of timezones
Make g_time_val_from_iso8601 handle timezones with minutes correctly;
also accept comma as a fraction separator.  (#578369)
2009-04-08 10:26:11 -04:00
Alexander Larsson
d0cf7b3878 Only mark regular files as backup files
Apps don't generally create backup directories, etc. So, if the file
ends with ~ but is not a regular file shouldn't be considered a backup
file. (#573673)
2009-04-08 09:12:02 +02:00
Funda Wang
85a795b9ba Updated Simplified Chinese translation from Ray Wang
<wanglei1123@gmail.com>
2009-04-05 11:05:47 +08:00
Thanos Lefteris
7fd8708308 Updated Greek translation
Signed-off-by: Simos Xenitellis <simos@gnome.org>
2009-04-03 20:12:27 +01:00
Matthias Clasen
e6e82c51a6 Move hex_digits to rodata
Turn a string into a constant array.
2009-04-03 00:35:43 -04:00
Matthias Clasen
25ff8ee748 Don't lie about ext4 filesystems
When returning a filesystem type id, say "ext3/ext4" instead of "ext3",
since both use the same superblock magic, so we can't discriminate
them without more work.
2009-04-03 00:23:54 -04:00
Paolo Borelli
e8a42bb81c Regex leak on error path
Don't leak the GRegex struct when g_regex_new() fails.
2009-04-03 00:04:39 -04:00
Matthias Clasen
82a5f787d6 Update requirements
Mention that the mimetype-functionality of GIO reqires update-mime-database
and update-desktop-database at runtime. (#577128)
2009-04-02 23:57:59 -04:00
Matthias Clasen
20774c5663 Add a rule to generate ChangeLog
We use the same rule pango uses to create a ChangeLog file with
the help of git-log. The format is somewhat different from traditional
ChangeLog, but it contains the relevant information.
2009-04-02 23:42:29 -04:00
Matthias Clasen
b7f9a1ac83 Rename ChangeLog to ChangeLog.pre-2-20
Rename ChangeLog to prevent old habits from luring me into adding
entries there. Also, this makes room for autogenerating a ChangeLog
at make dist.
2009-04-02 23:14:54 -04:00
Matthias Clasen
b160405aa0 remove generated files
README and INSTALL are generated files, no need to keep them
under source control.
2009-04-02 23:13:35 -04:00
Alexander Larsson
1ce74b0dd3 On trash, if rename fails with EXDEV, return G_IO_ERROR_NOT_SUPPORTED
Sometimes it seems like the trash dir and the file are on the same
filesystem but the rename fails with EXDEV anyway (can happen
e.g. with bind mounts or multiple mounts of the same device). In this
case we want to return the right error so that apps can fallback to
regular delete.
2009-04-02 19:01:56 +02:00
Tobias Mueller
20df6b6e88 Mark glib_gettext as string translation function
Make glib_gettext with G_GNUC_FORMAT to avoid warnings with
-Wformat -Wformat-nonliteral.
Signed-off-by: Matthias Clasen <mclasen@redhat.com>
2009-04-01 21:51:00 -04:00
Hagen Schink
86aa49594f fix a typo in g_io_channel_flush docs
Refer to the correct return values.

Signed-off-by: Matthias Clasen <mclasen@redhat.com>
2009-04-01 21:30:51 -04:00
Matthias Clasen
785bed2e18 Update README files to refer to git
Update various README files to refer to git instead of svn.
Add a README.commits that is pretty much a copy of the same file
in GTK+. Also discontinue ChangeLog files.
2009-03-31 19:39:16 -04:00
Manoj Kumar Giri
b5ef6da3c3 Added entries for Oriya language Translation updation.
svn path=/trunk/; revision=8023
2009-03-30 08:53:32 +00:00
Manoj Kumar Giri
b6a7cd609a Updated Oriya Translation.
svn path=/trunk/; revision=8022
2009-03-30 08:52:25 +00:00
Matthias Clasen
a6ebda3d69 Copy a va_list when using it multiple times. Reported by Wim Lewis.
* glib/gmessages.c (g_logv): Copy a va_list when using it
        multiple times. Reported by Wim Lewis.


svn path=/trunk/; revision=8021
2009-03-29 19:08:57 +00:00
Carlos Garnacho
dabbea65c6 Bug 575270 – GVolumeMonitor::mount-pre-unmount not being emitted
2009-03-26  Carlos Garnacho  <carlosg@gnome.org>

        Bug 575270 – GVolumeMonitor::mount-pre-unmount not being emitted

        * gunixmount.c (eject_unmount_cb) (eject_unmount_do_cb)
        (eject_unmount_do): Emit ::mount-pre-unmount and wait 500msec before
        actually trying to unmount.


svn path=/trunk/; revision=8020
2009-03-26 13:59:02 +00:00
Gintautas Miliauskas
3476bfe846 Updated Lithuanian translation.
2009-03-26  Gintautas Miliauskas  <gintautas@miliauskas.lt>

	* lt.po: Updated Lithuanian translation.



svn path=/trunk/; revision=8019
2009-03-26 13:52:46 +00:00