about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | Improve filter_stack documentationtoonn2019-12-274-35/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'sigboe-3dpreview'toonn2019-12-303-2/+40
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| * | | | | | | Clean up 3d model previewstoonn2019-12-291-24/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added more supported formats. Moved the section to `handle_image` because it generates image previews. Extracted the common functionality into a function.
| * | | | | | | add support for 3D files including STL and DXFsigurdb2019-12-293-0/+36
| | | | | | | |
* | | | | | | | Merge branch 'mime-extensions'toonn2019-12-292-3/+4
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Add extensions not previously covered by scope.shtoonn2019-12-292-3/+4
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `.dff` extension to `mime.types`. Add `dff|wv|wvc` to `handle_extension` because they're not caught by the `audio/*)` clause in `handle_mime`.
* | | | | | | Merge branch 'unicode-surrogates' of https://github.com/toonn/rangerWojciech Siewierski2019-12-281-45/+44
|\ \ \ \ \ \ \
| * | | | | | | Avoid adding newlines to pathstoonn2019-12-281-1/+1
| | | | | | | |
| * | | | | | | Switch from surrogatepass to surrogateescapetoonn2019-09-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Vim (and presumably other editors) can't render the mixed utf-8 with utf-16 surrogates text properly.
| * | | | | | | Improve surrogate pair handlingtoonn2019-09-261-46/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several locations were left that didn't handle surrogate pairs. File reading was also switched to using context handlers.
| * | | | | | | Pass surrogates when listing files for bulkrenametoonn2019-09-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Surrogates aren't allowed in the UTF-8 encoding but filenames can contain any bytes. We need to pass the surrogates literally because otherwise `mv` won't be renaming the right files.
* | | | | | | | Merge branch 'wilecoyote2015-wilecoyote2015-tab-separator'toonn2019-12-281-1/+1
|\ \ \ \ \ \ \ \
| * | | | | | | | cd: append sep to multiple results of tab matchingBjörn2019-12-281-1/+1
|/ / / / / / / /
* | | | | | | | bulkrename: Don't create empty mkdir callsWojciech Siewierski2019-12-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | basepath being any false-like value (None and '' in this case) should warrant skipping a mkdir call creation, not just None. The (broken) mkdir calls were created even for trivial renames inside a single directory. Improves upon #1342.
* | | | | | | | Merge pull request #1708 from toonn/chain-macrosWojciech Siewierski2019-12-282-1/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Don't resolve macros for chain
| * \ \ \ \ \ \ \ Merge branch 'master' into chain-macrosWojciech Siewierski2019-12-2828-1051/+1572
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | Merge branch 'wraptext' of https://github.com/toonn/rangerWojciech Siewierski2019-12-286-6/+29
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Placate our pep 8 overlordstoonn2019-11-062-6/+10
| | | | | | | | | |
| * | | | | | | | | Add a setting to wrap plain text previewstoonn2019-11-065-7/+26
| | |_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Fixes #1304
* | | | | | | | | Merge pull request #1793 from toonn/fix-fuzzy-tabWojciech Siewierski2019-12-271-2/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Fix fuzzy tab completion when prefix is valid dir
| * | | | | | | | | Fix fuzzy tab completion when prefix is valid dirtoonn2019-12-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fuzzy tab completion was dropping the entire valid prefix instead of showing the path relative to the current directory. ``` / $ cd usr/sh<tab> / $ cd share/ # `usr/` is dropped because it's already a valid # directory. / $ cd usr/share/ # Proper result with the fix. ``` Fixes #1792
* | | | | | | | | | Merge pull request #1789 from toonn/mime-dsfWojciech Siewierski2019-12-272-1/+9
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | Add Direct Stream Digital/Transfer to mime types
| * | | | | | | | | Add Direct Stream Digital/Transfer to mime typestoonn2019-12-262-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Direct Stream Digital/Transfer (`.dsf`) files have MIME type `application/octet-stream` but they're audio so `audio/something` is more useful for rifle. Scope also runs `mediainfo` and `exiftool` for miscellaneous `audio/*` files but we can't match on MIME type here so I added a similar clause in `handle_extension`.
* | | | | | | | | | Merge branch 'drop-icon-title-setting'toonn2019-12-271-5/+1
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | |
| * | | | | | | | | Drop the update_icon_title settingtoonn2019-12-271-5/+1
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I forgot to remove the setting from `rc.conf` when I merged the behavior into the `update_title` setting.
* | | | | | | | | Merge branch 'siikamiika-feat-update-icon-title'toonn2019-12-225-13/+26
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Merge the title settingstoonn2019-12-226-34/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upon further consideration we've reconsidered and decided to merge the seperate title update settings.
| * | | | | | | | | Merge branch 'master' into feat-update-icon-titlesiikamiika2019-12-0925-183/+571
| |\ \ \ \ \ \ \ \ \ | | | |_|_|/ / / / / | | |/| | | | | | |
| * | | | | | | | | store escape sequence in a constant for claritysiikamiika2019-07-301-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Escape character is also represented with octal notation to be consistent with prior usage
| * | | | | | | | | add update_icon_title optionsiikamiika2019-07-256-8/+32
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | resolves #1637
* | | | | | | | | Merge branch 'laktak-paste_conflict'toonn2019-12-227-33/+89
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Use readable formatting for the examplestoonn2019-12-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `F<file_>` is rendered using underline in a man page, which makes the underscore hard to see. So I switched the file name examples for `pp` to use `C<file_>` which is rendered using "double quotation marks."
| * | | | | | | | | Add example and remove reference from docstoonn2019-12-222-4/+8
| | | | | | | | | |
| * | | | | | | | | Rename APPENDIX to SUFFIXtoonn2019-12-221-3/+3
| | | | | | | | | |
| * | | | | | | | | Merge branch 'master' into paste_conflictChristian Zangl2019-12-0310-41/+83
| |\ \ \ \ \ \ \ \ \ | | | |/ / / / / / / | | |/| | | | | | |
| * | | | | | | | | Merge branch 'master' into paste_conflictChristian Zangl2019-10-0419-144/+490
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | set default make_safe_path=get_safe_pathChristian Zangl2019-07-214-26/+34
| | | | | | | | | | |
| * | | | | | | | | | fix docsChristian Zangl2019-07-192-4/+5
| | | | | | | | | | |
| * | | | | | | | | | Added a make_safe_path parameter to pasteChristian Zangl2019-07-188-90/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It allows you to specify your own function to generate the path for conflicting files.
| * | | | | | | | | | fix CopyLoaderChristian Zangl2019-07-141-1/+2
| | | | | | | | | | |
| * | | | | | | | | | Added a conflict parameter to the paste actionChristian Zangl2019-07-147-44/+89
| | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | It allows you to specify 'overwrite', 'rename', or 'rename_ext' (=default) in case of a file name conflict. This obsoletes the overwrite parameter.
* | | | | | | | | | Merge branch 'mime-rifle'toonn2019-12-211-9/+15
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Bring custom mime types in line with file(1)toonn2019-11-171-19/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Non-standard formats missing the `x-` prefix: flac and flv Renamed mime types: video/mkv -> video/x-matroska video/divx -> video/x-msvideo Dropped extension: divx