summary refs log tree commit diff stats
path: root/ranger
Commit message (Collapse)AuthorAgeFilesLines
* Improve filter_stack documentationtoonn2019-12-272-5/+8
| | | | | | | | | | | Add an entry about `filter_stack` to the man page, documenting the various subcommands and available filters. Add documentation about the new mappings. Add functionality to the `rotate` subcommand so you can pass the argument as a `quantifier`, i.e., a numeric prefix. Change the `.r` mapping to rely on this behavior accordingly, reducing the amount of unnecessary return pressing.
* Add unique filter to filter_stacktoonn2019-12-241-26/+57
| | | | | Extracted helper function to `group_by_hash` for both duplicate and unique filters.
* Add duplicate filter to filter_stacktoonn2019-12-241-0/+41
|
* Extract hash_chunks to ranger.exttoonn2019-12-242-24/+36
| | | | `hash_chunks` now returns a hash even for 0 byte files.
* Change hash filter to match on hashtoonn2019-12-242-41/+42
| | | | | | The `hash` filter for `filter_stack` requires a path as argument, defaulting to the currently selected file. It filters out any files or directories with a different hash.
* Replacing md5 with sha256arkedos2019-12-231-7/+2
|
* Replacing md5 with blake2barkedos2019-12-231-2/+7
|
* Added a filter for unique files by md5 hasharkedos2019-12-231-0/+50
|
* Merge branch 'callahad-webp-mimetype'toonn2019-11-171-0/+2
|\
| * Add image/webp to known mimetypesDan Callahan2019-07-301-0/+2
| |
* | Merge branch 'rifle-generic-open'toonn2019-11-171-0/+6
|\ \
| * | Add generic openers for linux and mactoonn2019-10-161-0/+6
| | | | | | | | | | | | | | | | | | Rifle serves a similar purpose to `xdg-open` on Linux and `open` on macOS. We fall back to those so users can enjoy their xdg and other configuration from rifle.
* | | Merge branch 'mime-opus'toonn2019-11-171-1/+1
|\ \ \
| * | | Add .opus as extension for audio/oggtoonn2019-10-021-1/+1
| | | |
* | | | Merge branch 'vifon-rifle-offbyone-hotfix'toonn2019-11-161-0/+3
|\ \ \ \
| * | | | Hotfix for an off-by-one in rifleWojciech Siewierski2019-10-021-0/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After #1341 the action IDs displayed by the UI were inconsistent with the actual numbers used by rifle. It was caused by the `ask` action being skipped entirely (including incrementing the ID) but only in the UI. This is a hotfix that makes the hidden `ask` action to still take up a number (usually (always?) 0) and thus keeping the numbering consistent. Bad side effect: sometimes the counting starts with 1 instead of 0 but for a time being let's choose a small inconsistency over a BIG one.
* | | | self is not available in default argument valuetoonn2019-11-071-1/+3
| | | |
* | | | Check current dir exists when pastingtoonn2019-11-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I changed the default `dest` for paste to the value that's used if `None` were passed to the `CopyLoader`, i.e., `self.thistab.path`, because the current directory was bypassing the `isdir()` check otherwise. Fixes #1660
* | | | Merge branch 'joe-rice-image-displayer-registry'toonn2019-11-062-23/+37
|\ \ \ \
| * \ \ \ Merge branch 'master' into image-displayer-registryJoe Rice2019-10-142-2/+6
| |\ \ \ \
| * | | | | made variables in image displayer registry accessors less genericJoseph Rice2019-10-111-6/+10
| | | | | |
| * | | | | moved image displayer registry getter logic into ext.img_displayJoseph Rice2019-10-112-7/+7
| | | | | |
| * | | | | added registry keys for kitty and ueberzug displayersJoseph Rice2019-10-111-0/+2
| | | | | |
| * | | | | Merge branch 'master' into image-displayer-registryJoseph Rice2019-10-117-12/+132
| |\ \ \ \ \
| * | | | | | added extra whitespace to satisfy flake8 rules on build serverJoseph Rice2019-09-111-0/+5
| | | | | | |
| * | | | | | added registry for ImageDisplayer objectsJoseph Rice2019-09-102-21/+24
| | | | | | |
* | | | | | | changed code to suggestion of toonarkedos2019-10-161-3/+1
| | | | | | |
* | | | | | | reworked if statement to elifarkedos2019-10-161-1/+1
| | | | | | |
* | | | | | | changed typoarkedos2019-10-161-1/+1
| | | | | | |
* | | | | | | fixing issue 1673arkedos2019-10-161-0/+2
| |_|_|_|/ / |/| | | | |
* | | | | | Reorder default rifle rules for popular browserstoonn2019-10-141-3/+3
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | Browser usage statistics are skewed *heavily* in favor of chrome/chromium so it goes against our custom of ordering programs by likelihood of preference, i.e., basically inverse frequency of usage.
* | | | | Fix long lines for pylinttoonn2019-10-112-2/+6
| |/ / / |/| | |
* | | | Merge branch 'swalladge-support-wayland'toonn2019-10-073-3/+3
|\ \ \ \
| * | | | expand X condition onlySamuel Walladge2019-07-243-12/+5
| | | | |
| * | | | support wayland condition for rifleSamuel Walladge2019-07-233-4/+11
| | |_|/ | |/| | | | | | | | | | - also support wayland for flag t (opening in new terminal)
* | | | add wl-clipboard supportSamuel Walladge2019-10-071-1/+4
| | | |
* | | | Fix interclass whitespacetoonn2019-10-021-0/+5
| | | |
* | | | Remove trailing whitespace in cunmap docstringtoonn2019-10-021-1/+1
| | | |
* | | | Fix typo in deprecation warning for tunmaptoonn2019-10-021-1/+1
| | | |
* | | | Deprecate c/p/tunmap in favor of unc/p/tmaptoonn2019-10-021-6/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `cunmap` definitely won't be missed because it was buggy. I'd expect the other two to be even less missed. I considered writing a decorator for deprecation because the code is repetitive but imo it should be removed in the *next* version after 1.9.3 so it shouldn't matter much. Fixes #1698
* | | | Fix cunmaptoonn2019-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | `cunmap` was broken and nobody noticed. It unmapped bindings in the `browser` context, so it was basically an alias for `unmap`.
* | | | Merge branch 'master' into vcs-truncateWojciech Siewierski2019-10-023-1/+71
|\ \ \ \
| * | | | Simplify alternative trash rifle ruletoonn2019-10-021-1/+1
| | | | |
| * | | | Remove MC-like F9 binding for :trashtoonn2019-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Provide a commented out alternative for the `<F8>` `:delete` key binding.
| * | | | Add bindings for :trash commandtoonn2019-10-021-0/+2
| | | | |
| * | | | Add :trash command relying on rifle's trash labeltoonn2019-10-021-0/+58
| | | | |
| * | | | Add "trash" label to rifle rules for conveniencetoonn2019-10-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add a generic rule that should serve a similar function to `trash-cli`, i.e., move the files somewhere so they're marked for deletion without actually deleting them. Should be fairly simple to delete the trash by `rm -r`ing the trash directory.
| * | | | Reword the rifle.conf commentsWojciech Siewierski2019-10-021-3/+8
| | | | |
| * | | | Offer trash-put as an option in rifleWojciech Siewierski2019-10-011-1/+5
| | |_|/ | |/| | | | | | | | | | Closes #1699.
* / | | Add a configurable VCS max message lengthWojciech Siewierski2019-10-013-1/+9
|/ / / | | | | | | | | | | | | | | | | | | | | | Previously it was hardcoded as 50, let's make it easy to change for the user. Improves upon #1705. Related to #1704.