summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Fix white text on white background in titlebartoonn2019-12-301-1/+0
| | | | | | | We were doubling up bold and BRIGHT for the name of the selected file in the titlebar. Fixes #1800
* 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
| * | | | | | | Refine custom mime types for rifletoonn2019-11-171-9/+20
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge branch 'doc-optional-deps'toonn2019-12-213-15/+167
|\ \ \ \ \ \ \
| * | | | | | | Add list of optional deps to man pagetoonn2019-12-213-15/+167
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The man page was missing the various optional dependencies for previews. I revised and then copied the list from the `README.md`. Fixes #1781
* | | | | | | Merge branch 'leiserfg-patch-1'toonn2019-12-214-5/+20
|\ \ \ \ \ \ \
| * | | | | | | Add bat to documentationtoonn2019-12-203-5/+17
| | | | | | | |
| * | | | | | | Uncomment bat for code highlightingtoonn2019-12-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our default behavior is to use a dependency whenever it's available. Only things that would slow previews down too much are commented out by default.
| * | | | | | | Replace COLORTERM with 8bit for avoiding problems with truecolor.leiserfg2018-12-271-1/+1
| | | | | | | |
| * | | | | | | Remove spacesleiserfg2018-12-251-2/+2
| | | | | | | |
| * | | | | | | Add bat support for code highlightingLeiser Fernández Gallo2018-11-301-0/+3
| | | | | | | |
* | | | | | | | Merge branch 'fix-clean-cache'toonn2019-12-212-5/+2
|\ \ \ \ \ \ \ \