summaryrefslogtreecommitdiff
path: root/programs
Commit message (Collapse)AuthorAgeFilesLines
* build: replace obsolete INCLUDES by CPPFLAGSOndrej Holy2014-01-171-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=722354
* programs: Escape string properlyRoss Lagerwall2013-11-071-2/+2
| | | | | | | | Use an unsigned char to avoid implementation-defined behavior of a right shift. Shift by 4 rather than 8 to get the second half of a byte. https://bugzilla.gnome.org/show_bug.cgi?id=711457
* Update .gitignore filesRoss Lagerwall2013-11-011-0/+1
|
* Show URI in gvfs-infoAlexander Larsson2013-10-161-3/+7
|
* gvfs-ls: added option to output URIsIhar Hrachyshka2013-10-161-4/+18
| | | | | | | | | | Add a new -u option to gvfs-ls utility which will make it output properly escaped URIs. These URIs may then be passed to other gvfs-* tools. Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=683295
* Use g_list_free_full() where applicableTomas Bzatek2013-01-171-12/+6
|
* gvfs-info: Print out symbolic-icon tooWilliam Jon McCann2012-12-031-2/+7
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=684328 Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
* Add a cmdline way to empty the trashMatthias Clasen2012-11-251-1/+44
| | | | Support gvfs-trash --empty to empty the trash.
* Remove calls to g_type_init(), bump GLib required versionColin Walters2012-10-3017-34/+0
| | | | | | See http://git.gnome.org/browse/glib/commit/?id=2002479c02fa6e468fc3f67ddc663657a52ebde8 https://bugzilla.gnome.org/show_bug.cgi?id=687236
* Add support for getting symbolic iconsWilliam Jon McCann2012-08-301-5/+32
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=681458
* Improve translations a bit and add hint for etagFelix Möller2012-08-231-0/+3
| | | | Closes https://bugzilla.gnome.org/show_bug.cgi?id=595087
* Adding a translator comment for misleading attribute nameFelix Möller2012-08-231-0/+2
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=595070
* Spelling correction "filesystem" -> "file system"Felix Möller2012-07-311-1/+1
| | | | | | | Unify the spelling. For the discussion see: https://bugzilla.gnome.org/show_bug.cgi?id=520902 Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
* Update the Address of the FSFFelix Möller2012-07-3019-36/+36
| | | | | | | | | | | | | | | Updating the address of the FSF. This has been done by: while read file; do sed -i 's:59 Temple Place:51 Franklin Street:' $file sed -i 's:Suite 330:Fifth Floor:' $file sed -i 's:02111-1307:02110-1301:' $file done https://bugzilla.gnome.org/show_bug.cgi?id=656598 Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
* programs: Return proper exit value when something failsTomas Bzatek2012-07-204-25/+65
| | | | | | The rule for the returning value and multiple arguments is to go through all of them and return non-zero exit code when one or more fails.
* Improve wordingMatthias Clasen2012-06-291-2/+2
| | | | One can trash directories too, thus use LOCATION instead of FILE.
* Reorder some optionsMatthias Clasen2012-06-291-1/+1
| | | | | Move --detail to the end so it comes after the options that it affects, in help output.
* gvfs-save: use - instead of _ in long optionsMatthias Clasen2012-06-291-1/+1
| | | | The option --print_etag was misnamed. Now it is --print-etag.
* Apply some love to the gvfs utilitiesMatthias Clasen2012-06-2917-164/+396
| | | | | | | | | | | This makes the --help output more consistent across the utilities. - Capitalize parameters - Make summaries full sentences - Shorten some overlong strings - Strip . off option descriptions - Make descriptions of identical options the same - Improve error handling for option parsing Also, do proper gettext setup in all utilities.
* gvfs-open: Construct full URI for local pathsTomas Bzatek2012-06-251-3/+18
| | | | | | | | Apparently g_app_info_launch_default_for_uri() can't handle invalid URIs like the plain local path, returning G_IO_ERROR_NOT_SUPPORTED. Let's go through GFile to get a full URI as a fallback. https://bugzilla.gnome.org/show_bug.cgi?id=676313
* build: Install bash completion files in /usr/share/Tomas Bzatek2012-06-222-2/+2
| | | | | | | bash-completion upstream has changed the preferred location for completion scripts, let's make it consistent across our stack. https://bugzilla.gnome.org/show_bug.cgi?id=678537
* gvfs-open: use g_app_info_launch_default_for_uri()Dan Winship2012-06-201-70/+14
| | | | | | | g_app_info_launch_default_for_uri() didn't exist when gvfs-open was first written, but now that it does, there's no reason not to use it. https://bugzilla.gnome.org/show_bug.cgi?id=676313
* gvfs-mount: add new -e option to eject a mountDavid Zeuthen2012-05-151-0/+49
| | | | | | Like the rest of gvfs-mount(1), this is mostly useful for debugging. Signed-off-by: David Zeuthen <davidz@redhat.com>
* programs: Print something when no recommended appsBastien Nocera2012-01-091-0/+4
|
* programs: List recommended applications tooBastien Nocera2012-01-061-0/+11
| | | | As used by the app chooser button
* Support get_sort_key() in out-of-process volume monitors and gvfs-mount(1)David Zeuthen2011-10-181-0/+13
| | | | | | | | | | | | | This is detailed in this bug https://bugzilla.gnome.org/show_bug.cgi?id=661711 Also extend the private D-Bus protocol used between the client- and service-side for out-of-process volume monitors. In particular, introduce a new a{sv} member that we can use in the future to for expansion without breaking ABI. Signed-off-by: David Zeuthen <davidz@redhat.com>
* Purge hardcoded -DG_DISABLE_DEPRECATEDColin Walters2011-10-121-2/+1
| | | | | Especially now that deprecations are proper gcc warnings, no need to hardcode this.
* programs: Add simple gvfs-mime test applicationBastien Nocera2011-08-262-0/+173
| | | | | | List the apps registered for a particular mime-type, and set a particular application as the default handler for a mime-type.
* Minor string tweaks for translatorsTomas Bzatek2011-08-251-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=629116
* gvfs-open: Exit with error code > 0 when open failsRodrigo Silva2011-08-231-4/+8
| | | | | | | | | | | 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
* gvfs-copy: Do not use deprecated g_format_size_for_display()Vincent Untz2011-08-151-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=655474
* Add translation context. Reported by Jorge González. Fixes bug #592926.Kjartan Maraas2011-05-241-0/+1
|
* Cleanups and fixes for compiler warningsKjartan Maraas2011-03-171-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=641856
* gvfs-set-attribute: Remove non-enum switch caseBenjamin Otte2010-12-071-1/+0
| | | | The case resolved to the default anyway.
* Correctly detect the missing argumentsÉric Piel2010-06-231-2/+8
| | | | | | | 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.
* describe the unset typeÉric Piel2010-06-231-1/+1
| | | | | Commit 68607708bc34cfdc357a823fb6f909d3696fec78 added the unset type but forgot to add it to the documentation.
* Correct return values on error for programsBastien Nocera2010-03-056-8/+25
| | | | | | | 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
* gvfs-save: cmd-line help fix newly introduced typo (oops) Christian Kellner2010-02-191-1/+1
|
* gvfs-save: Fix cmd-line help and error reportingChristian Kellner2010-02-181-1/+1
| | | Last part to fix bug #593045
* gvfs-move: Fix cmd-line help and error reportingChristian Kellner2010-02-181-4/+19
| | | Partly fixes bug #593045
* gvfs-copy: Fix cmd-line help and error reportingChristian Kellner2010-02-181-4/+19
| | | Partly fixes bug #593045
* gvfs-monitor-[dir|file]: Support for "move events"Christian Kellner2010-02-182-13/+61
| | | | | | 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).
* Add "default location" support for mountsChristian Kellner2009-11-261-1/+10
| | | | | | | | | | | 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
* Fixed description for gvfs-mkdirJonh Wendell2009-10-011-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=593045
* Remove dead codeMatthias Clasen2009-09-111-2/+0
| | | | This memory leak was reported by clang. Bug 594829.
* Fix up various errors with i18n of programs/*.cAlexander Larsson2009-08-2414-660/+665
| | | | Lots of not translated strings, some errors did not go to stderr, etc.
* Add -f support to gvfs-rm and gvfs-trashAlexander Larsson2009-08-242-19/+31
| | | | Also clean up things a bit, and fix up translations.
* Bug 587484 – Interaction when unmounting mounts and misc fixesDavid Zeuthen2009-07-081-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* Allow unsetting attributes with gvfs-set-attributesAlexander Larsson2009-06-251-1/+6
|
* Don't show not requested info in gvfs-info (#582175)Andreas Henriksson2009-06-231-10/+16
| | | | | | | | | | | | 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..