summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add (de)marshalling functions for GFileInfos.Alexander Larsson2009-02-2716-27/+1270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-27 Alexander Larsson <alexl@redhat.com> * common/Makefile.am: * common/gvfsfileinfo.[ch]: Add (de)marshalling functions for GFileInfos. * common/gvfsdaemonprotocol.h: Add protocol extensions for query info over streams * client/gdaemonfileinputstream.c: Support sync query_info. * daemon/Makefile.am: * daemon/gvfsjobqueryinforead.[ch]: * daemon/gvfsbackend.h: Added query info job and backend call for input streams * daemon/gvfsbackendtest.c: Implement query_info_on_read * daemon/gvfschannel.[ch]: Add g_vfs_channel_send_info * daemon/gvfsreadchannel.c: (read_channel_handle_request): Handle query info * test/Makefile.am: * test/test-query-info-stream.c: Add test for stream query info. svn path=/trunk/; revision=2257
* Updated Italian translation.Luca Ferretti2009-02-272-293/+294
| | | | | | | | 2009-02-27 Luca Ferretti <elle.uca@libero.it> * it.po: Updated Italian translation. svn path=/trunk/; revision=2256
* Bug 570977 – sftp backend sends trailing zeros to communication dataAlexander Larsson2009-02-262-11/+10
| | | | | | | | | | | | | | 2009-02-26 Alexander Larsson <alexl@redhat.com> Bug 570977 – sftp backend sends trailing zeros to communication data * daemon/gvfsbackendsftp.c (get_data_from_command_stream): Use g_memory_output_stream_get_data_size instead of old workaround. Patch from Pekka Vuorela svn path=/trunk/; revision=2255
* Implement --device option for gvfs-mount.David Zeuthen2009-02-262-1/+114
| | | | | | | | | | | | | | | | | | | | 2009-02-26 David Zeuthen <davidz@redhat.com> Implement --device option for gvfs-mount. This allows things like this $ gvfs-mount -d /dev/sdb3 The device "Generic STORAGE DEVICE" contains encrypted data on partition 3. Password: Mounted /dev/dm-0 at /media/Encrypted Stuff Reviewed by: Alexander Larsson <alexl@redhat.com> * programs/gvfs-mount.c: See above. svn path=/trunk/; revision=2254
* Lots of proxy monitor fixes.David Zeuthen2009-02-2610-324/+1843
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-26 David Zeuthen <davidz@redhat.com> Lots of proxy monitor fixes. Reviewed by: Alexander Larsson <alexl@redhat.com> o add support for proxying GMountOperation to the remote volume monitor process. o add support for proxying GCancellable to the remote volume monitor process. o make each volume monitor process track callers and cancels operations initiated by callers that disconnects from the bus o makes the client side proxy monitor track the remote monitor. If the monitor process disconnects, then all drives/volumes/mounts are removed. If the monitor process reconnects, we reseed the internal monitor and add drives/volumes/mounts. o Each monitor process now uses ALLOW_REPLACEMENT when claiming a name and also kills itself on NameLost (e.g. if it is replaced). Coupled with the above disconnection/reconnection logic it this makes it a lot more tolerable to hack on a remote volume monitor. Simply just compile it, start it and the existing (system-wide) copy will kill itself. And all the clients (Nautilus, panel, drive applet, gvfsd-computer, etc.) will reconnect and do the right thing. o make the get_mount_for_mount_path() method on the class GNativeVolumeMonitor actually work. It turns out that at least gvfs-mount -u needs that. o use /org/gtk/Private/RemoteVolumeMonitor instead of / as the object name. Cf. the version D-Bus debacle on Lennart Poettering's blog. o make the proxy monitor client module resident o For shadow mounts, redirect can_eject() and eject() to the volume for the shadow mount. Without this patch eject on e.g. cdda:// volumes won't work since cdda:// volumes are GDaedmonMount and these don't implement eject. * monitor/proxy/*.[ch]: See above. svn path=/trunk/; revision=2253
* Immediately close the stream we get from g_file_replace(), so truncationHans Petter Jansson2009-02-262-0/+16
| | | | | | | | | | | 2009-02-26 Hans Petter Jansson <hpj@novell.com> * client/gvfsfusedaemon.c (vfs_ftruncate): Immediately close the stream we get from g_file_replace(), so truncation becomes visible. Fixes BRC #479199. svn path=/trunk/; revision=2251
* Fix order of SSH_FXP_SYMLINK arguments. It seems openssh is not followingAlexander Larsson2009-02-262-1/+9
| | | | | | | | | | | 2009-02-26 Alexander Larsson <alexl@redhat.com> * daemon/gvfsbackendsftp.c (try_make_symlink): Fix order of SSH_FXP_SYMLINK arguments. It seems openssh is not following the docs here. svn path=/trunk/; revision=2250
* Updated Portuguese translation.Duarte Loreto2009-02-252-400/+505
| | | | | | | | 2009-02-25 Duarte Loreto <happyguy_pt@hotmail.com> * pt.po: Updated Portuguese translation. svn path=/trunk/; revision=2249
* Updated Slovenian translationMatej Urbančič2009-02-241-177/+189
| | | | svn path=/trunk/; revision=2248
* Always use g_strerrorPaolo Borelli2009-02-246-30/+39
| | | | | | | | | | | | | | 2009-02-24 Paolo Borelli <pborelli@katamail.com> * test/benchmark-posix-small-files.c: * test/benchmark-posix-big-files.c: * daemon/trashlib/dirwatch.c: * daemon/gvfsbackendsmbbrowse.c: * client/gvfsfusedaemon.c: Always use g_strerror svn path=/trunk/; revision=2247
* remove unused variableBenjamin Otte2009-02-242-1/+6
| | | | | | | | | | | 2009-02-24 Benjamin Otte <otte@gnome.org> * daemon/gvfsbackendftp.c: (ftp_connection_ensure_data_connection_pasv): remove unused variable svn path=/trunk/; revision=2246
* Bug 525283 - handle short reads in ftpBenjamin Otte2009-02-242-5/+15
| | | | | | | | | | | | | | 2009-02-24 Benjamin Otte <otte@gnome.org> Bug 525283 - handle short reads in ftp * daemon/gvfsbackendftp.c: (ftp_connection_receive): fix usage of n_bytes variable that changed meaning with the last ftp fixes. Spotted by Filippo Argiolas <filippo.argiolas@gmail.com> svn path=/trunk/; revision=2245
* Updated British English translation.Philip Withnall2009-02-232-539/+823
| | | | | | | | | 2009-02-23 Philip Withnall <philip@tecnocode.co.uk> * en_GB.po: Updated British English translation. svn path=/trunk/; revision=2244
* Updated Brazilian Portuguese translation.Og B. Maciel2009-02-232-395/+491
| | | | svn path=/trunk/; revision=2243
* Updated Turkish tranlation.Baris Cicek2009-02-222-397/+498
| | | | svn path=/trunk/; revision=2242
* fix typo in my name (thx Wouter)Benjamin Otte2009-02-222-1/+6
| | | | | | | | | | 2009-02-22 Benjamin Otte <otte@gnome.org> * daemon/gvfsbackendftp.c: fix typo in my name (thx Wouter) svn path=/trunk/; revision=2241
* add Andreas as author of the ftp backendBenjamin Otte2009-02-203-1/+10
| | | | | | | | | | | 2009-02-19 Benjamin Otte <otte@gnome.org> * AUTHORS: * daemon/gvfsbackendftp.c: add Andreas as author of the ftp backend svn path=/trunk/; revision=2240
* Make the gphoto2 backend work with buggy devices (such as the iPhone)David Zeuthen2009-02-205-204/+213
| | | | | | | | | | | | | | | | | | | | | | | | 2009-02-20 David Zeuthen <davidz@redhat.com> Make the gphoto2 backend work with buggy devices (such as the iPhone) where the basedir of the store changes. * daemon/gvfsbackendgphoto2.c: Revert the patch from #520123 that removed the ignore_prefix handling. Change ensure_ignore_prefix() to only use an ignore prefix if there is exactly one storage head. * monitor/gphoto2/ggphoto2volumemonitor.c: Nuke orphan mount handling since that is superseeded by shadow mounts. Also avoid appending the store name if there is only one storage head. * monitor/gphoto2/ggphoto2volume.[ch]: Rename foreign_mount_root to activation_root since that is really what it is now. Also fix a silly logical bug whereby music players (as reported by HAL) weren't detected. svn path=/trunk/; revision=2239
* reviewed by: Andreas Henriksson <andreas@fatal.se>Benjamin Otte2009-02-192-49/+57
| | | | | | | | | | | | | | | 2009-02-19 Benjamin Otte <otte@gnome.org> reviewed by: Andreas Henriksson <andreas@fatal.se> Bug 525283 - handle short reads in ftp * daemon/gvfsbackendftp.c: (ftp_connection_receive): account for cases where soup_socket_read_until() would not read up to the boundary on the first read. svn path=/trunk/; revision=2238
* Committed Translation by Sweta KothariSweta Kothari2009-02-192-478/+576
| | | | svn path=/trunk/; revision=2237
* Updated Finnish translationIlkka Tuohela2009-02-192-74/+81
| | | | svn path=/trunk/; revision=2236
* Updated Romanian translation from Adi Roiban.Jani Monoses2009-02-182-3/+8
| | | | svn path=/trunk/; revision=2235
* Bug 563623 – build dies on platforms lacking poll() implimentationAlexander Larsson2009-02-182-6/+15
| | | | | | | | | | | | | | | 2009-02-18 Alexander Larsson <alexl@redhat.com> Bug 563623 – build dies on platforms lacking poll() implimentation * client/gvfsdaemondbus.c: (setup_async_fd_receive): (_g_vfs_daemon_call_sync): Use g_poll instead of poll. Patch from ephraim_owns@hotmail.com svn path=/trunk/; revision=2234
* one-linerTimo Jyrinki2009-02-181-2/+2
| | | | svn path=/trunk/; revision=2233
* Updated Korean translationChangwoo Ryu2009-02-182-79/+91
| | | | svn path=/trunk/; revision=2232
* Updated be@latin.poIhar Hrachyshka2009-02-172-458/+575
| | | | svn path=/trunk/; revision=2231
* rescan NFS mounts when enumerating trash (since not all change events areRyan Lortie2009-02-172-1/+13
| | | | | | | | | | 2009-02-17 Ryan Lortie <desrt@desrt.ca> * daemon/trashlib/trashwatcher.c: rescan NFS mounts when enumerating trash (since not all change events are reported). svn path=/trunk/; revision=2230
* add myself as trash authorRyan Lortie2009-02-171-0/+4
| | | | svn path=/trunk/; revision=2229
* alex needs a better editor =)Ryan Lortie2009-02-171-122/+122
| | | | svn path=/trunk/; revision=2228
* Post release version bumpAlexander Larsson2009-02-163-1/+10
| | | | | | | | | | | 2009-02-16 Alexander Larsson <alexl@redhat.com> * configure.ac: Post release version bump === gvfs 1.1.6 === svn path=/trunk/; revision=2227
* Update for releaseGVFS_1_1_6Alexander Larsson2009-02-162-0/+16
| | | | | | | | | | 2009-02-16 Alexander Larsson <alexl@redhat.com> * NEWS: Update for release svn path=/trunk/; revision=2225
* Return G_IO_ERROR_CANT_CREATE_BACKUP in the below case instead of notAlexander Larsson2009-02-162-6/+20
| | | | | | | | | | | 2009-02-16 Alexander Larsson <alexl@redhat.com> * daemon/gvfsbackendsftp.c (replace_create_temp_reply): Return G_IO_ERROR_CANT_CREATE_BACKUP in the below case instead of not copying the ownership. svn path=/trunk/; revision=2224
* Bug 546482 – Keep ownership when replacing files on sftpAlexander Larsson2009-02-162-1/+125
| | | | | | | | | | | | | | | | | 2009-02-16 Alexander Larsson <alexl@redhat.com> Bug 546482 – Keep ownership when replacing files on sftp * daemon/gvfsbackendsftp.c: Try to copy ownership. If this fails revert to truncate and overwrite, unless make_backup is set. Ideally we should handle the backup case too, but that requires more code. Patch from Jesse van den Kieboom. svn path=/trunk/; revision=2223
* Bug 546256 – Crash in g_vfs_get_file_for_uri()Christian Kellner2009-02-162-28/+21
| | | | | | | | | | | | | | | 2009-02-16 Christian Kellner <gicmo@gnome.org> Bug 546256 – Crash in g_vfs_get_file_for_uri() * client/httpuri.c: Make sure we never return a non-NULL GVfsUriMountInfo with the path component set to NULL, since this leads to dead kittens. NB: This only fixes the symptom. The real problem is deep in the uri parsing logic. svn path=/trunk/; revision=2222
* 536305 – incorrect GError propagation in the httChristian Kellner2009-02-162-1/+38
| | | | | | | | | | | | 2009-02-16 Christian Kellner <gicmo@gnome.org> 536305 – incorrect GError propagation in the htt * daemon/gvfsbackenddav.c: Convert soup errors to gio errors. Patch from Jesse van den Kieboom svn path=/trunk/; revision=2221
* Bug 529349 – Redirects with username doesn't workAlexander Larsson2009-02-162-0/+12
| | | | | | | | | | | | | | 2009-02-16 Alexander Larsson <alexl@redhat.com> Bug 529349 – Redirects with username doesn't work * daemon/gvfsbackenddav.c: (redirect_handler): Copy username and password when redirecting. Patch from Mads Chr. Olesen svn path=/trunk/; revision=2220
* Bug 566452 – Error when creating folder on webdav shareAlexander Larsson2009-02-162-6/+16
| | | | | | | | | | | | | | 2009-02-16 Alexander Larsson <alexl@redhat.com> Bug 566452 – Error when creating folder on webdav share * daemon/gvfsbackenddav.c: (redirect_handler): Don't intercept "201 Created" return as a redirection Patch from Mads Chr. Olesen svn path=/trunk/; revision=2219
* Updated Polish translationTomasz Dominikowski2009-02-152-591/+707
| | | | | | | | 2009-02-15 Tomasz Dominikowski <tdominikowski@aviary.pl> * pl.po: Updated Polish translation svn path=/trunk/; revision=2218
* Updated Danish translationKenneth Nielsen2009-02-152-397/+499
| | | | svn path=/trunk/; revision=2217
* Updated French translation.Claude Paroz2009-02-142-471/+531
| | | | | | | | 2009-02-14 Claude Paroz <claude@2xlibre.net> * fr.po: Updated French translation. svn path=/trunk/; revision=2216
* Updated Dutch translation by Wouter Bolsterlee.Wouter Bolsterlee2009-02-142-26/+25
| | | | | | | | | 2009-02-14 Wouter Bolsterlee <wbolster@svn.gnome.org> * nl.po: Updated Dutch translation by Wouter Bolsterlee. svn path=/trunk/; revision=2215
* Bug 570533 – use g_set_error_literalCosimo Cecchi2009-02-134-17/+29
| | | | | | | | | | | | | | | | 2009-02-13 Cosimo Cecchi <cosimoc@gnome.org> Bug 570533 – use g_set_error_literal * daemon/gvfsbackendobexftp.c: (_push_single_file_helper): * daemon/gvfsbackendtrash.c: (trash_backend_get_file), (trash_backend_open_for_read), (trash_backend_delete), (trash_backend_pull): * daemon/trashlib/trashitem.c: (trash_item_delete): use g_set_error_literal() when appropriate. Patch by Christian Persch. svn path=/trunk/; revision=2214
* Bug 531705 – Won't build with libarchive 1.3.1Cosimo Cecchi2009-02-132-2/+9
| | | | | | | | | | | 2009-02-13 Cosimo Cecchi <cosimoc@gnome.org> Bug 531705 – Won't build with libarchive 1.3.1 * configure.ac: check for archive_entry_filetype() instead of archive_read_open(). Patch from Tom Parker. svn path=/trunk/; revision=2213
* Added Romanian translations from Adi RoibanJani Monoses2009-02-123-0/+1813
| | | | svn path=/trunk/; revision=2212
* Updated Basque translation.Inaki Larranaga Murgoitio2009-02-122-438/+533
| | | | | | | | | 2009-02-12 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org> * eu.po: Updated Basque translation. svn path=/trunk/; revision=2211
* Updated Thai translation.Theppitak Karoonboonyanan2009-02-122-438/+545
| | | | | | | | | 2009-02-12 Theppitak Karoonboonyanan <thep@linux.thai.net> * th.po: Updated Thai translation. svn path=/trunk/; revision=2210
* Translation updated.Gabor Kelemen2009-02-122-410/+509
| | | | | | | | 2009-02-12 Gabor Kelemen <kelemeng@gnome.hu> * hu.po: Translation updated. svn path=/trunk/; revision=2209
* sv.po: Updated Swedish translationDaniel Nylander2009-02-112-47/+62
| | | | svn path=/trunk/; revision=2208
* Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>Alexander Shopov2009-02-112-154/+178
| | | | | | | | | 2009-02-11 Alexander Shopov <ash@contact.bg> * bg.po: Updated Bulgarian translation by Alexander Shopov <ash@contact.bg> svn path=/trunk/; revision=2207
* Updated Norwegian bokmål translation.Kjartan Maraas2009-02-102-68/+77
| | | | | | | | 2009-02-10 Kjartan Maraas <kmaraas@gnome.org> * nb.po: Updated Norwegian bokmål translation. svn path=/trunk/; revision=2206