| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=629116
|
|
|
|
|
|
|
|
|
|
|
| |
Previously gvfs-open exited with success (error code 0) even when open
failed, either because file was not found or there was no default
application registred to open it. Without easy testing for error codes,
it was hard to use it in scripts. Now it exits with code 1 when any of
the given files are either not found or its default application is not
registered.
https://bugzilla.gnome.org/show_bug.cgi?id=655470
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=655474
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=641856
|
|
|
|
| |
The case resolved to the default anyway.
|
|
|
|
|
|
|
| |
argc contains the number of arguments, including the name of the program, so it
is one more than expected.
In addition, value must also be checked, otherwise segfault ensues.
|
|
|
|
|
| |
Commit 68607708bc34cfdc357a823fb6f909d3696fec78 added the unset type but
forgot to add it to the documentation.
|
|
|
|
|
|
|
| |
Most of those programs would return 0 even on error. They
should instead return 1 when an error occurred.
https://bugzilla.gnome.org/show_bug.cgi?id=611891
|
| |
|
|
|
| |
Last part to fix bug #593045
|
|
|
| |
Partly fixes bug #593045
|
|
|
| |
Partly fixes bug #593045
|
|
|
|
|
|
| |
GIO gained has support for file-monitoring "move events" since 2.23.4.
Make use of those in gvfs-monitor-[dir|file] unless new commandline
option "-N" is specified. (Bump glib requirement accordingly).
|
|
|
|
|
|
|
|
|
|
|
| |
The "default location" of the given mount is a path that reflects
the main entry point for the user (e.g. the home directory, or the
root of the volume).
Backends can use g_vfs_backend_set_default_location () to set the
default location (before registering the mount).
https://bugzilla.gnome.org/show_bug.cgi?id=561998
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=593045
|
|
|
|
| |
This memory leak was reported by clang. Bug 594829.
|
|
|
|
| |
Lots of not translated strings, some errors did not go to stderr, etc.
|
|
|
|
| |
Also clean up things a bit, and fix up translations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Port everything to use _with_operation() variants of unmount/eject
methods
- Add support for g_file_poll_mountable()
- new job class: GVfsJobPollMountable
- Pass mount operation for unmount/eject ops on GDaemonFile and
GDaemonMount
- receive in the appropriate GVfsJob classes
- also pass unmount flags where it was missing
- port all backends to use this
- Teach GMountSource and GMountOperationDBus about the new
GMountOperation::show-processes signal
- also provide new API
- g_mount_source_is_dummy() - e.g. when the client didn't
passed NULL for the GMountOperation
- g_mount_source_abort() - to send the ::abort signal to the
client-side GMountOperation
- make the client-side of GMountSource return ::reply with
NOT_HANDLED when we do an abort
- Refactor the mount operation handling in GProxyVolumeMonitor
- Pass mount operation for unmount/ejects in GProxyVolumeMonitor
- Pass the process id of the actual reader/writer in OpenForRead
and OpenForWrite daemon methods
- add some private API for making the FUSE client set the
pid of the POSIX client (otherwise it looks like the FUSE
client is blocking) and pass the right pid.
This is because the FUSE client is basically impersonating the
POSIX processes.
- Make the process id mentioned above available in appropriate
GVfsJob classes
- GVfsJobOpenForRead
- GVfsJobOpenForWrite
- GVfsChannel
- Provide API to get a list of all blocking clients, e.g. an array
of GPid
- g_vfs_daemon_get_blocking_processes()
- Provide convenience API to easily doing the right thing on unmount;
e.g. interact with the user about blocking processes - see the gphoto2
backend for example usage
- g_vfs_backend_has_blocking_processes()
- g_vfs_backend_unmount_with_operation() and
g_vfs_backend_unmount_with_operation_finish()
- Only the gphoto2 backend supports ::show-processes right now. Support
for other backends will be added shortly.
- Implement support for ::show-processes in the GDU volume monitor
- right now we don't support "Unmount Anyway" since it requires
ABI changes in libgdu.so - this will be changed as soon as there's
a new gnome-disk-utility release
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
For example:
vuntz@lyon ~/>gvfs-info -a standard::content-type ~/blah.txt
type: unknown
size: 0
attributes:
standard::content-type: text/plain
type and size probably shouldn't be displayed if a specific attribute was
requested..
|
| |
|
|
|
|
|
|
|
|
|
| |
This is the GVfs implementation for the new GIO API for
starting/stopping drives. See
http://bugzilla.gnome.org/show_bug.cgi?id=585591
for details.
|
| |
|
| |
|
| |
|
|
|
|
| |
Update old ignore files and add new ones as needed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-04-16 Alexander Larsson <alexl@redhat.com>
Bug 523420 – gvfs-bash-completion.sh has a shebang and is executable
* programs/Makefile.am:
Don't install gvfs-bash-completion.sh as executable
* programs/gvfs-bash-completion.sh:
Remove shebang
svn path=/trunk/; revision=2376
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-09 Alexander Larsson <alexl@redhat.com>
Bug 523732 – gvfs-bash-completion.sh should not modify COMP_WORDBREAKS
* programs/gvfs-bash-completion.sh:
Don't override COMP_WORDBREAKS, instead workaround the colon problem
svn path=/trunk/; revision=2307
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-03 Alexander Larsson <alexl@redhat.com>
Bug 561172 – gnome-open fails on local URIs with anchors
* programs/gvfs-open.c:
Don't pass file:// uris with anchor as filename
svn path=/trunk/; revision=2283
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-01 Alexander Larsson <alexl@redhat.com>
* client/gdaemonmount.c:
* client/gdaemonvolumemonitor.c:
* monitor/proxy/Makefile.am:
* monitor/proxy/gproxydrive.c:
* monitor/proxy/gproxymount.c:
* monitor/proxy/gproxyvolume.c:
* monitor/proxy/gproxyvolume.h:
* monitor/proxy/gproxyvolumemonitor.c:
* monitor/proxy/gproxyvolumemonitor.h:
* monitor/proxy/remote-volume-monitor-module.c:
* monitor/proxy/gproxyshadowmount.[ch]:
Use the new support for shadow mounts instead
of g_volume_monitor_adopt_orphan_mount
Patch from David Zeuthen (#555332)
* programs/gvfs-mount.c:
Add support to monitor volume monitor events
svn path=/trunk/; revision=2119
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-24 Alexander Larsson <alexl@redhat.com>
* programs/gvfs-info.c (show_attributes):
Don't show fallback setting for GThemedIcon (this is a construct only property).
List icons on same line.
svn path=/trunk/; revision=2076
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-20 Richard Hughes <richard@hughsie.com>
reviewed by: Christian Kellner <ck@xatom.net>
* programs/gvfs-info.c: (show_attributes):
Whilst debugging an icon theme bug, I wanted to know what icon
would be chosen for a file. It turns out gvfs-info gets all the
properties and prints them, but for an icon prints:
standard::icon: GThemedIcon:0x8df7200
This isn't very helpful. I've fixed this to print out the icons and
the order they should be chosen like:
standard::icon: (fallbacks: FALSE)
1. name:application-x-cd-image
2. name:gnome-mime-application-x-cd-image
3. name:application-x-generic
4. name:text-x-generic
svn path=/trunk/; revision=2068
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-29 David Zeuthen <davidz@redhat.com>
* client/gdaemonmount.c:
* common/gmounttracker.c:
* common/gmounttracker.h:
* daemon/gvfsbackend.c:
* daemon/gvfsbackend.h:
* daemon/gvfsbackendcdda.c:
* daemon/gvfsbackendgphoto2.c:
* daemon/mount.c:
Add x-content/* support to daemon mounts. Right now a backend
can only set the x-content/* type ahead of time. We might want
to add support dynamically obtaining it too (e.g. support
force_rescan).
* monitor/hal/ghalmount.c:
* monitor/hal/ghalvolume.c:
* monitor/hal/ghalvolumemonitor.c:
* monitor/hal/hal-utils.c:
* monitor/hal/hal-utils.h:
Add x-content/* support to the HAL volume monitor.
* monitor/proxy/gproxymount.c:
* monitor/proxy/gproxymount.h:
* monitor/proxy/gproxyvolumemonitor.c:
* monitor/proxy/gproxyvolumemonitor.h:
* monitor/proxy/gvfsproxyvolumemonitordaemon.c:
Add x-content/* support to proxy volume monitor. Also fix
a number of bugs the initial implementation had.
* programs/gvfs-mount.c:
Print out x-content-types.
svn path=/trunk/; revision=1845
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* */*.[ch]: get rid of modelines
The modelines were inconsistent and caused issues when used in
different editors.
svn path=/trunk/; revision=1756
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-07 David Zeuthen <davidz@redhat.com>
* hal/ghalvolume.c (g_hal_volume_new): Unbreak the gphoto2 backend
by allowing automounting.
* programs/gvfs-mount.c (main, unmount_all_with_scheme): Add a
new option --unmount-scheme
* AUTHORS: Add cdda and gphoto2 backends
svn path=/trunk/; revision=1726
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* hal/hal-utils.h:
* hal/hal-utils.c:
Create new files for utility functions and move get_disc_icon()
and get_disc_name() here.
Also create get_themed_icon_with_fallbacks() to create
GThemedIcons with default fallbacks but with the ability to
pass in another name to create the fallbacks from then the
icon name.
* hal/ghalmount.c:
* hal/ghalvolume.c:
Use newly created get_themed_icon_with_fallbacks () and pass
in custom fallback name for encrypted mounts/volumes (#525153).
* hal/Makefile.am:
Add hal-utils.[hc]
* programs/gvfs-mount.c:
Display the icon names for mounts/volumes if the icon is
a GThemedIcon.
[Merged from gnome-2-22]
svn path=/trunk/; revision=1720
|
|
|
|
|
|
|
|
|
|
| |
2008-03-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
* programs/gvfs-rename.c (main): Fix wording of error
messages. Don't include "Error renaming file" since
that's what the error->message might contain as well.
svn path=/trunk/; revision=1661
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-14 Christian Kellner <gicmo@gnome.org>
* programs/Makefile.am:
* programs/gvfs-rename.c:
Add a little helper program that renames files
by calling g_file_set_display_name ().
svn path=/trunk/; revision=1659
|
|
|
|
|
|
|
|
|
| |
2008-03-07 Kjartan Maraas <kmaraas@gnome.org>
* programs/gvfs-mount.c: ANSIfication
* daemon/gvfsbackendnetwork.c: Same.
svn path=/trunk/; revision=1597
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-05 A. Walton <awalton@svn.gnome.org>
* programs/gvfs-cat.c (main):
* programs/gvfs-copy.c (main):
* programs/gvfs-info.c (main):
* programs/gvfs-ls.c (main):
* programs/gvfs-move.c (main):
* programs/gvfs-open.c (main):
* programs/gvfs-save.c (main):
* programs/gvfs-tree.c (main):
Error out if the user passes invalid flags and warn the user.
Fixes bug #520086.
svn path=/trunk/; revision=1576
|
|
|
|
|
|
|
|
|
|
| |
2008-02-27 Benjamin Otte <otte@gnome.org>
* programs/gvfs-mount.c: (prompt_for):
don't mess up my terminal when entering passwords
svn path=/trunk/; revision=1407
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-26 Alexander Larsson <alexl@redhat.com>
* programs/gvfs-bash-completion.sh:
* programs/gvfs-ls.c:
Better completion
svn path=/trunk/; revision=1393
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-25 Alexander Larsson <alexl@redhat.com>
* programs/Makefile.am (EXTRA_DIST):
Add gvfs-bash-completion.sh
* NEWS:
Update for release
svn path=/trunk/; revision=1375
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-24 David Zeuthen <davidz@redhat.com>
* client/gdaemonfile.c:
* client/gdaemonvolumemonitor.c:
* client/gdaemonvolumemonitor.h: Prefer to return a GDaemonMount
from an existing GDaemonVolumeMonitor rather than rolling our own
for GDaemonFile's g_file_find_enclosing_mount()
implementation. This is to ensure that g_mount_get_volume() will
work properly with mounts that are adopted by GVolume objects from
other volume monitors.
* configure.ac: Check for libgphoto2
* daemon/Makefile.am:
* daemon/gvfsbackendcdda.c: Use HAL to detect when the disc is
removed and then forcibly unmount the mount. Report size of
disc. Hint the file manager to preview files.
* hal/ghaldrive.c:
* hal/ghalmount.c:
* hal/ghalvolume.c:
* hal/ghalvolumemonitor.c:
* hal/ghalvolumemonitor.h:
* hal/hal-pool.c: Ensure that audio and blank CD's are
displayed (#514139). Read info.desktop.[icon|name] properties
from hal and use these if found. Use proper icon for audio players
and make the gphoto2 detection support it as well. Also check for
subsystem when filtering on hal capabilities. Also revert the
commit to ignore NFS mounts as gio will now only report an user
visible mount if it's in /media or $HOME. Make LUKS encrypted
volumes work.
* daemon/Makefile.am:
* daemon/gphoto2.mount.in:
* daemon/gvfsbackendgphoto2.c:
Land the gphoto2 backend.
* programs/Makefile.am:
* programs/gvfs-ls.c: Make the --hidden option work. Default
to short listing and add a --long option. Implement new options
--show-completions and --show-mounts that can be used for
shell completions.
* programs/gvfs-tree.c: New program
* programs/gvfs-bash-completion.sh: Bash completion for gvfs;
uses the new --show-completions and --show-mounts options in
gvfs-ls.
svn path=/trunk/; revision=1359
|