summary refs log tree commit diff stats
path: root/ranger
Commit message (Collapse)AuthorAgeFilesLines
* Move new methods to handle_mimetoonn2019-12-301-42/+35
| | | | | | | The MIME type handler is preferable because it can match files that have the "wrong" extension or a ".backup" suffix for example. Fixes #1633
* remove pandoc fallback support for json filesMarie-Helene Burle2019-12-301-1/+0
|
* Add '--', empty lines, and pandoc fallback support for html and jsonMarie-Helene Burle2019-12-301-6/+10
|
* Minor change in commentMarie-Helene Burle2019-12-301-3/+3
|
* Move pandoc support for ePub and FB2 back to handle_extension()Marie-Helene Burle2019-12-301-8/+1
|
* Fix minor comment inconsistencyMarie-Helene Burle2019-12-301-0/+1
|
* More sensible way to add pandoc support for ePub, FB2, and ODTMarie-Helene Burle2019-12-301-1/+8
|
* Add pandoc support for odt, epub, and fb2Marie-Helene Burle2019-12-301-2/+10
|
* Add -s flag to pandocMarie-Helene Burle2019-12-301-1/+1
| | | | | By default, pandoc produces a document fragment. Adding the --standalone flag allows to get the title of the document.
* Add information on how to get xls2csv and xlsx2csv applicationsMarie-Helene Burle2019-12-301-0/+4
|
* Fix typo in a comment of previous commitMarie-Helene Burle2019-12-301-1/+1
|
* Add preview support to .rtf, .doc, .docx, .xlsx, .xlsMarie-Helene Burle2019-12-301-1/+25
|
* Fix keyword argument assignment whitespacetoonn2019-12-301-1/+1
|
* Merge branch 'colorschemes-thisfile'toonn2019-12-301-1/+0
|\
| * 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 'aRkedos-unique-file'toonn2019-12-304-4/+144
|\ \
| * | Remove comment and doubled up spacetoonn2019-12-292-2/+1
| | |
| * | Fix hash_chunks generatortoonn2019-12-282-6/+9
| | |
| * | 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 'sigboe-3dpreview'toonn2019-12-301-2/+28
|\ \ \ | |_|/ |/| |
| * | 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-291-0/+24
| | |
* | | 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.
* | | 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 branch 'master' into chain-macrosWojciech Siewierski2019-12-2821-108/+350
|\ \ \
| * \ \ Merge branch 'wraptext' of https://github.com/toonn/rangerWojciech Siewierski2019-12-284-5/+19
| |\ \ \
| | * | | Placate our pep 8 overlordstoonn2019-11-062-6/+10
| | | | |
| | * | | Add a setting to wrap plain text previewstoonn2019-11-063-5/+15
| | | | | | | | | | | | | | | | | | | | 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`.
| * | | | | 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-222-7/+19
| |\ \ \ \
| | * | | | Merge the title settingstoonn2019-12-223-16/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upon further consideration we've reconsidered and decided to merge the seperate title update settings.
| | * | | | Merge branch 'master' into feat-update-icon-titlesiikamiika2019-12-0914-50/+217
| | |\ \ \ \ | | | | |_|/ | | | |/| |
| | * | | | 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