summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 0.99.2GVFS_0_99_2Matthias Clasen2008-07-223-3/+6
| | | | svn path=/trunk/; revision=1831
* Bump glib requirementMatthias Clasen2008-07-223-1/+3
| | | | svn path=/trunk/; revision=1830
* UpdatesMatthias Clasen2008-07-222-0/+12
| | | | svn path=/trunk/; revision=1829
* Use 'camera-photo' rather than just 'camera' since gnome-icon-theme inDavid Zeuthen2008-07-213-3/+11
| | | | | | | | | | | | | 2008-07-21 David Zeuthen <davidz@redhat.com> * monitor/gphoto2/ggphoto2volume.c (do_update_from_hal_for_camera): * daemon/gvfsbackendgphoto2.c (compute_icon_name): (find_udi_for_device): Use 'camera-photo' rather than just 'camera' since gnome-icon-theme in 2.23/2.24 no longer ships 'camera'. Now the icons look fine again. svn path=/trunk/; revision=1828
* Separate the hal and gphoto2 volume monitors - this is in part needed toDavid Zeuthen2008-07-2123-263/+2693
| | | | | | | | | | | | | | 2008-07-21 David Zeuthen <davidz@redhat.com> * configure.ac: * monitor/Makefile.am: * monitor/hal/*: * monitor/gphoto2/*: Separate the hal and gphoto2 volume monitors - this is in part needed to solve bug #520123. svn path=/trunk/; revision=1827
* Use the correct hash functions for the hash table of existing proxy volumeDavid Zeuthen2008-07-212-1/+8
| | | | | | | | | | | | 2008-07-21 David Zeuthen <davidz@redhat.com> * monitor/proxy/gproxyvolumemonitor.c (g_proxy_volume_monitor_setup_session_bus_connection): Use the correct hash functions for the hash table of existing proxy volume monitors svn path=/trunk/; revision=1826
* #include <locale.h> to fix the build.Kjartan Maraas2008-07-212-0/+6
| | | | | | | | | 2008-07-21 Kjartan Maraas <kmaraas@gnome.org> * monitor/proxy/gvfsproxyvolumemonitordaemon.c: #include <locale.h> to fix the build. svn path=/trunk/; revision=1825
* Don't leak D-Bus messages.Hans Petter Jansson2008-07-192-0/+7
| | | | | | | | | | 2008-07-19 Hans Petter Jansson <hpj@novell.com> * client/gdaemonfile.c (g_daemon_file_set_attribute): Don't leak D-Bus messages. svn path=/trunk/; revision=1823
* Hold the file handle lock while opening the stream. Second part of fix forHans Petter Jansson2008-07-182-1/+14
| | | | | | | | | | | 2008-07-18 Hans Petter Jansson <hpj@novell.com> * client/gvfsfusedaemon.c (vfs_open) (vfs_create): Hold the file handle lock while opening the stream. Second part of fix for #536614. svn path=/trunk/; revision=1822
* Steal the old file handle record from the global hash table beforeHans Petter Jansson2008-07-182-1/+9
| | | | | | | | | | | 2008-07-17 Hans Petter Jansson <hpj@novell.com> * client/gvfsfusedaemon.c (reindex_file_handle_for_path): Steal the old file handle record from the global hash table before replacing its path, not after. Part of fix for #536614. svn path=/trunk/; revision=1819
* Avoid setting up proxy volume monitors if no session bus is available.David Zeuthen2008-07-164-3/+19
| | | | | | | | | | | | | | 2008-07-16 David Zeuthen <davidz@redhat.com> * monitor/proxy/gproxyvolumemonitor.c: * monitor/proxy/gproxyvolumemonitor.h: * monitor/proxy/remote-volume-monitor-module.c: Avoid setting up proxy volume monitors if no session bus is available. Fixes a crasher with the Fedora NetworkManager system settings plug-in that is now using GIO to do file monitoring. svn path=/trunk/; revision=1818
* Fix 'make distcheck'.David Zeuthen2008-07-084-7/+15
| | | | | | | | | 2008-07-08 David Zeuthen <davidz@redhat.com> * monitor/hal/Makefile.am: Fix 'make distcheck'. svn path=/trunk/; revision=1817
* Move hal/ to monitor/hal/.David Zeuthen2008-07-0823-5/+14
| | | | | | | | | | | | | | 2008-07-08 David Zeuthen <davidz@redhat.com> * configure.in: * Makefile.am: * hal/*: * monitor/Makefile.am: * monitor/hal/*: Move hal/ to monitor/hal/. svn path=/trunk/; revision=1816
* Provide infrastructure for out of process volume monitors and port the halDavid Zeuthen2008-07-0833-156/+4591
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-07-08 David Zeuthen <davidz@redhat.com> Provide infrastructure for out of process volume monitors and port the hal volume monitor to use it (#520132). * Makefile.am: * configure.ac: Add the monitor and monitor/proxy directories. * hal/Makefile.am: Don't build a gio module for the hal volume monitor; instead build a volume monitor daemon. * hal/ghaldrive.[ch]: * hal/ghalmount.[ch]: * hal/ghalvolume.[ch]: * hal/ghalvolumemonitor.[ch]: * hal/hal-device.[ch]: * hal/hal-device.[ch]: * hal/hal-pool.[ch]: Make all types static and implement g_volume_get_activation_root() added to gio (#541793). Also emit the drive-eject-button signal (#541794). * hal/hal-module.c: Removed since the monitor is being moved out of process. * hal/hal-volume-monitor-daemon.c: * hal/hal.monitor: * hal/org.gtk.Private.HalVolumeMonitor.service.in: New files for remote volume monitor. * monitor/Makefile.am: New file. * monitor/proxy/*: Add proxy volume monitor gio module (the D-Bus client side of out-of-process volume monitors) and a static library for providing the D-Bus server side of out of process volume monitors. * programs/gvfs-mount.c: Print activation uri for a volumes and icons for drives. Also unref volume monitor when no longer in use. svn path=/trunk/; revision=1815
* Correctly check the right libhal for hal featuresChristian Kellner2008-07-012-0/+8
| | | | | | | * configure.ac: Correctly check the right libhal for hal features. Patch from Andreas Rottmann <a.rottmann@gmx.at> (#537149) svn path=/trunk/; revision=1814
* Bug 536252 – GFileEnumerator should allow access to the containing GFileRoss Burton2008-06-164-5/+18
| | | | | | | | | | | | | | | 2008-06-16 Ross Burton <ross@burtonini.com> Bug 536252 – GFileEnumerator should allow access to the containing GFile * client/gdaemonfile.c: * client/gdaemonfileenumerator.c: * client/gdaemonfileenumerator.h: Pass the GFile to the file enumerator constructor and use it to set the container property. (Requires glib r7044) svn path=/trunk/; revision=1810
* added programs/gvfs-mkdir.c.Andre Klapper2008-06-142-0/+5
| | | | | | | | | 2008-06-14 Andre Klapper <a9016009@gmx.de> * POTFILES.in: added programs/gvfs-mkdir.c. svn path=/trunk/; revision=1809
* Updated Arabic Translation by Khaled Hosny. Djihed Afifi2008-06-112-275/+284
| | | | svn path=/trunk/; revision=1808
* Add -p to create parents (using g_file_make_directory_with_parents, justRoss Burton2008-06-112-10/+43
| | | | | | | | | | | 2008-06-11 Ross Burton <ross@burtonini.com> * programs/gvfs-mkdir.c: Add -p to create parents (using g_file_make_directory_with_parents, just landed in glib). Patch from A Walton (#511367) svn path=/trunk/; revision=1807
* Use hex escapes in the trash backend. Patch by Andreas Henriksson. FixesA. Walton2008-06-112-17/+39
| | | | | | | | | | | | | 2008-06-11 A. Walton <awalton@gnome.org> * daemon/gvfsbackendtrash.c (escape_pathname), (unescape_pathname): Use hex escapes in the trash backend. Patch by Andreas Henriksson. Fixes bug #523139. svn path=/trunk/; revision=1805
* Fix recursive copy of directories (#522933) Introduce new error 550Tomas Bzatek2008-06-112-7/+86
| | | | | | | | | | | 2008-06-11 Tomas Bzatek <tbzatek@redhat.com> * daemon/gvfsbackendftp.c: Fix recursive copy of directories (#522933) Introduce new error 550 handling framework svn path=/trunk/; revision=1803
* Fix build warnings with GCC 4.3.0 (#537588).Cosimo Cecchi2008-06-108-50/+80
| | | | | | | | | | | | | | | | | | | | | 2008-06-10 Cosimo Cecchi <cosimoc@gnome.org> * daemon/gvfsbackendarchive.c: (gvfs_archive_pop_job): * daemon/gvfsbackenddav.c: (stat_location), (write_ready), (close_write_ready), (do_make_directory), (do_delete): * daemon/gvfsbackendftp.c: (ftp_connection_set_error_from_response): * daemon/gvfsbackendhttp.c: (g_vfs_job_failed_from_http_status), (open_for_read_ready), (read_ready), (try_seek_on_read), (close_read_ready): * daemon/gvfsbackendobexftp.c: (_query_file_info_helper), (error_occurred_cb), (do_delete): Fix build warnings with GCC 4.3.0 (#537588). * daemon/gvfsjob.c: (g_vfs_job_failed), (g_vfs_job_failed_literal): * daemon/gvfsjob.h: Add g_vfs_job_failed_literal (). svn path=/trunk/; revision=1802
* Patch from Tomáš Bžatek <tbzatek@redhat.com> to fix the fugly iconsBastien Nocera2008-06-092-0/+9
| | | | | | | | | | | | 2008-06-09 Bastien Nocera <hadess@hadess.net> * daemon/gvfsbackendobexftp-fl-parser.c (fl_parser_start_node_cb): Patch from Tomáš Bžatek <tbzatek@redhat.com> to fix the fugly icons when the mime-type of a file isn't known to us. See: https://bugzilla.redhat.com/show_bug.cgi?id=450453 svn path=/trunk/; revision=1801
* Updated Vietnamese translationClytie Siddall2008-06-052-3/+7
| | | | svn path=/trunk/; revision=1800
* Translation updated by Ivar SmolinPriit Laes2008-06-052-3/+7
| | | | | | | | 2008-06-05 Priit Laes <plaes at svn dot gnome dot org> * et.po: Translation updated by Ivar Smolin svn path=/trunk/; revision=1799
* Don't add devices that are both audio players and cameras twice, as itBastien Nocera2008-06-042-0/+24
| | | | | | | | | | | | | 2008-06-04 Bastien Nocera <hadess@hadess.net> * hal/ghalvolumemonitor.c (update_cameras): Don't add devices that are both audio players and cameras twice, as it causes 1) error messages when plugging in (it tries to mount the device another time) 2) weird behaviour in nautilus' computer:/ (See #536601) svn path=/trunk/; revision=1798
* Post-release bump to 0.99.2.Hans Petter Jansson2008-06-032-1/+5
| | | | | | | | | 2008-06-03 Hans Petter Jansson <hpj@novell.com> * configure.ac: Post-release bump to 0.99.2. svn path=/trunk/; revision=1797
* Prepare for 0.99.1 release.GVFS_0_99_1Hans Petter Jansson2008-06-033-0/+23
| | | | | | | | | 2008-06-03 Hans Petter Jansson <hpj@novell.com> * NEWS: Prepare for 0.99.1 release. svn path=/trunk/; revision=1795
* Fix definition of giomodulesdir, so we install GIO modules to the libdirHans Petter Jansson2008-06-032-1/+6
| | | | | | | | | | 2008-06-03 Hans Petter Jansson <hpj@novell.com> * configure.ac: Fix definition of giomodulesdir, so we install GIO modules to the libdir specified by the user. Fixes distcheck. svn path=/trunk/; revision=1794
* Added vi.poClytie Siddall2008-06-031-0/+1486
| | | | svn path=/trunk/; revision=1793
* Added Vietnamese translationClytie Siddall2008-06-022-0/+5
| | | | svn path=/trunk/; revision=1792
* Return G_IO_ERROR_IS_DIRECTORY when attempting to read a directory (fixes ↵Tomas Bzatek2008-05-282-2/+24
| | | | | | #522933 for SMB) svn path=/trunk/; revision=1790
* Don't set domain to mountspec when not setting usernameTomas Bzatek2008-05-272-4/+12
| | | | svn path=/trunk/; revision=1789
* Don't allow setting a null parameter in mountspec (coming from broken backend)Tomas Bzatek2008-05-272-0/+9
| | | | svn path=/trunk/; revision=1788
* Fix fuse daemon locking and file handle life-cycle issues that wereGVFS_0_2_4Hans Petter Jansson2008-05-232-36/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-22 Hans Petter Jansson <hpj@novell.com> Fix fuse daemon locking and file handle life-cycle issues that were causing frequent crashes. * client/gvfsfusedaemon.c (file_handle_new): Add a "path" field pointing to a string representing the path this file handle is associated with, for reverse mapping. (file_handle_unref): Is now responsible for decrementing the ref count and freeing the handle if it reaches 0. Note that we need to check the ref count again after obtaining the global mutex. (file_handle_free): The new path member is freed here. (get_file_handle_for_path): Ref the obtained handle. (get_or_create_file_handle_for_path): Ditto, and hold the lock the whole time. (reindex_file_handle_for_path): Steal the old entry to avoid buildup of stale handles. (free_file_handle_for_path): Remove. (vfs_getattr): Unref the handle when we're done with it. (vfs_rename): Ditto. (vfs_unlink): Ditto. (vfs_truncate): Ditto. (vfs_open): Don't ref the obtained handle; it's done in the helper. (vfs_create): Ditto. (vfs_release): Let file_handle_unref() free the handle if appropriate. Note that the old logic here was inverted, meaning we'd try to free the handle if the ref count was non-zero. (vfs_init): The hash table no longer owns the path key strings - the file handle does. svn path=/trunk/; revision=1783
* A more complete fix for GNOME bug #531516.Hans Petter Jansson2008-05-232-19/+27
| | | | | | | | | | | | | | | | | | | 2008-05-22 Hans Petter Jansson <hpj@novell.com> A more complete fix for GNOME bug #531516. * client/gvfsfusedaemon.c (subthread_main): Send SIGHUP to the main thread just before subthread exits. (dbus_filter_func): When gvfsd goes away, exit the subthread's main loop instead of immediately sending SIGHUP to parent thread. Do the same when the session bus goes away. (shutdown_on_idle): Remove, no longer needed. (shutdown_signal): Remove, no longer needed. (vfs_init): Tell dbus to not exit when session bus goes down. Don't catch signals anymore, since Fuse does this for us. svn path=/trunk/; revision=1781
* Updated Arabic Translation by Khaled Hosny. Djihed Afifi2008-05-222-64/+49
| | | | svn path=/trunk/; revision=1780
* Translation updated by Ivar SmolinPriit Laes2008-05-222-7/+11
| | | | | | | | 2008-05-22 Priit Laes <plaes at svn dot gnome dot org> * et.po: Translation updated by Ivar Smolin svn path=/trunk/; revision=1778
* Improve error handling allowing to mount non-standard ISO imagesTomas Bzatek2008-05-222-2/+19
| | | | svn path=/trunk/; revision=1777
* When the process receives one of the HUP, TERM or INT signals, shut downHans Petter Jansson2008-05-212-0/+24
| | | | | | | | | | | | 2008-05-22 Hans Petter Jansson <hpj@novell.com> * client/gvfsfusedaemon.c (shutown_on_idle) (shutdown_signal) (vfs_init): When the process receives one of the HUP, TERM or INT signals, shut down gracefully. Fixes GNOME bug #531516. svn path=/trunk/; revision=1775
* Fix username & domain tests while setting mount specTomas Bzatek2008-05-212-2/+7
| | | | svn path=/trunk/; revision=1774
* Add GVFS_SMB_DEBUG env variable to control smb debugging.Christian Kellner2008-05-212-1/+14
| | | | svn path=/trunk/; revision=1773
* Set the information on the mount spec at the right timeChristian Kellner2008-05-212-17/+26
| | | | svn path=/trunk/; revision=1772
* Check for gphoto2 >= 2.4.0. Fixes #531702Christian Kellner2008-05-212-1/+7
| | | | svn path=/trunk/; revision=1771
* Make the bash completion script conditionally (#530772)Christian Kellner2008-05-203-2/+32
| | | | | | | | | | * configure.ac: * programs/Makefile.am: Allow to disable the installation of the bash completion scripts. Also make it possible to choose the directory where the file gets installed. Fixes #530772 svn path=/trunk/; revision=1770
* Fill in the display name, even if layers above should be able to doBastien Nocera2008-05-202-1/+11
| | | | | | | | | | | 2008-05-20 Bastien Nocera <hadess@hadess.net> * daemon/gvfsbackendobexftp-fl-parser.c (fl_parser_fill_file_info): Fill in the display name, even if layers above should be able to do without (Closes: #523699) svn path=/trunk/; revision=1769
* Updated Arabic Translation by Djihed Afifi. Djihed Afifi2008-05-192-450/+332
| | | | svn path=/trunk/; revision=1768
* Fix erroneous copyright header and provide a better description of theHans Petter Jansson2008-05-122-4/+8
| | | | | | | | | | 2008-05-11 Hans Petter Jansson <hpj@novell.com> * client/gvfsfusedaemon.c: Fix erroneous copyright header and provide a better description of the source file. svn path=/trunk/; revision=1766
* Oops, fix the ChangeLogFederico Mena Quintero2008-05-101-3/+3
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=1765
* bgo532375 - fix strdup and g_free() confusionFederico Mena Quintero2008-05-103-4/+16
| | | | | | | | | | | | | | | | | 2008-05-09 Federico Mena Quintero <federico@novell.com> http://bugzilla.gnome.org/show_bug.cgi?id=532375 - Fix strdup() / g_free() confusion. * hal/hal-device.c (hal_device_new_from_udi_and_properties): g_strdup() the UDI. We can't just steal it, since it comes from libhal, which uses strdup() (and we do g_free() in our finalizer). * hal/hal-pool.c (hal_pool_new): Free the actual device strings here. Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=1762