about summary refs log tree commit diff stats
path: root/ranger
Commit message (Collapse)AuthorAgeFilesLines
...
* | | core.main: Refactor to use open23 and apply sensible lintstoonn2021-07-201-10/+10
| | |
* | | loader: Disable lint because of peculiar uses of opentoonn2021-07-201-1/+5
| | |
* | | actions: Disable lints because of peculiar use of opentoonn2021-07-201-0/+9
| | |
* | | tags: Refactor version conditional opentoonn2021-07-202-14/+27
| | | | | | | | | | | | | | | Moving the open contextmanager that drops py3 keywords for py2 open to its own module so it can be reused.
* | | tags: Use with where possible disable frivolous linttoonn2021-07-201-8/+14
| | |
* | | history: Replace branching with min/max builtinstoonn2021-07-201-8/+2
| | |
* | | bookmarks: Switch to using withtoonn2021-07-201-14/+13
| | |
* | | img_display: Drop redundant close callstoonn2021-07-151-3/+0
| | |
* | | img_display: Use with where possibletoonn2021-07-151-34/+37
| | |
* | | rifle.py: Pylint insists on no bare Popen()stoonn2021-07-151-1/+2
| | |
* | | rifle.py: Using with where possibletoonn2021-07-151-26/+35
|/ /
* | actions.py: Another implicit returntoonn2021-07-151-1/+1
| |
* | actions.py: Simplify a boolean condition to appease pylinttoonn2021-07-151-1/+1
| |
* | commands.py: Pylint doesn't like mixing im/explicit returnstoonn2021-07-151-3/+6
| |
* | Merge branch 'clarify-imgdisplayunsupported'toonn2021-07-141-3/+9
|\ \
| * | img_display: Make the unsupported exception friendliertoonn2021-06-251-3/+9
| | | | | | | | | | | | Fixes #2373
* | | Add IOError to handler.chu4ng2021-07-101-1/+1
|/ /
* | tags: Fix argument length checkingtoonn2021-06-221-3/+3
| | | | | | | | | | | | Fixes #2295 Co-authored-by: chu4ng <chu4ng@users.noreply.github.com>
* | mime.types: Recognize .eml as message/rfc822toonn2021-06-221-0/+2
| | | | | | | | | | | | | | This'll help to trigger the `mu` previews. There's also `.emlx` files but mine include a nonce or count of some sort on the first line and `mu view` doesn't seem capable of reading from stdin so we can simply cut the first line.
* | new edits commentsMarie-Helene Burle2021-06-211-1/+1
| |
* | minor edits of commentsMarie-Helene Burle2021-06-211-2/+2
| |
* | scope.sh: add mime handling for message/rfc822Marie-Helene Burle2021-06-211-0/+6
| |
* | Fix tmux image display for other possible TERMsCullen Ross2021-06-041-2/+2
| | | | | | | | | | | | Check substrings Properly check substrings
* | browsercolumn: Fix regression when clicking previewtoonn2021-05-171-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | When clicking the preview column ranger used to open the targeted file. This behavior was broken when implementing preview scrolling. This reenables that behavior when using the right mouse button. I decided to deviate from the original behavior because it's prone to accidentally opening a file when clicking on the terminal window to bring it to the foreground. This should be an acceptable middle ground. Fixes #2330
* | Fix rifle rule alignmenttoonn2021-04-251-3/+3
| |
* | adding zathura in archivespirate4867431862021-04-251-0/+1
| |
* | adding qcomicbook in archivespirate4867431862021-04-251-0/+1
| |
* | mcomix and atril updatepirate4867431862021-04-251-0/+2
| |
* | fix(git): support hierarchical branch namesomermizr2021-04-181-1/+1
| | | | | | Resolve https://github.com/ranger/ranger/issues/2311
* | Merge branch '5hir0kur0-fix-1798-crashes-when-deleting-to-trash'toonn2021-03-282-5/+61
|\ \
| * | fm: Py2 doesn't handle implicit format referencestoonn2021-03-281-1/+2
| | |
| * | trash: Move paths_to_filesystem_objects to fm.py5hir0kur02020-03-072-38/+38
| | | | | | | | | | | | | | | This commit also renames the method to "get_filesystem_objects" for symmetry to "get_directory".
| * | trash: Fix crash on OSError5hir0kur02020-03-071-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | The trash command used to crash ranger when passing so may arguments that the argument length limit of the OS is reached. See the discussion in pull request #1871 for steps to reproduce. Now it displays an error message instead of crashing. (It does not move the files to trash though.)
| * | trash: Don't call the File() constructor5hir0kur02020-03-061-2/+40
| | | | | | | | | | | | | | | | | | | | | | | | Previously the File() constructor was called for every path (if the paths to be moved to trash were supplied after the command instead of deleting the selection, e.g. ":trash a b c"). This commit adds a method paths_to_filesystem_objects() to find the existing objects that ranger has in memory and use those instead.
| * | Fix crashes when deleting to trash5hir0kur02020-03-051-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The execute() method of the trash command (in ranger/config/commands.py) used to pass a list of file paths (as strings) to fm.execute_file(). The documentation of the execute_file() method states that the 'files' parameter must not be strings: [...] files: a list of file objects (not strings!) [...] So I changed 'files' to be a list of File objects and that seems to fix the issue. Fixes #1798
* | | rifle: qcomicbook does not support the -- conventiontoonn2021-03-271-1/+1
| | |
* | | rifle: Add mcomix and qcomicbooktoonn2021-03-271-2/+4
| | | | | | | | | | | | Fixes #2292
* | | dart -- support additionritikrajdev2021-03-211-1/+1
| | |
* | | dart support addition in rifle.confritikrajdev2021-03-211-5/+6
| | |
* | | Check man is available before usetoonn2021-03-081-11/+13
| | |
* | | Rephrase message if man is not installedideal2021-03-081-1/+1
| | |
* | | Fix crash if man is not installed when hit '?' and 'm'.ideal2021-03-071-0/+3
| | | | | | | | | | | | | | | | | | On some systems (e.g. archlinuxarm) man is not installed by default, hit '?' and 'm' will cause ranger crashed, showing: AttributeError: 'NoneType' object has no attribute 'poll'.
* | | Fix incorrect file URI scheme prefixtrk2021-03-041-1/+1
| | | | | | | | | For the correct file URI scheme specification, see RFC 8089 at https://tools.ietf.org/html/rfc8089.
* | | Merge branch 'SimSaladin-issue-1744'toonn2021-02-283-10/+8
|\ \ \ | | | | | | | | | | | | Fixes #1744
| * | | drop custom MimeTypes object in core.fmSamuli Thomasson2020-09-111-5/+4
| | | |
| * | | Fix mimetypes initialization #1744Samuli Thomasson2020-09-083-9/+8
| | | |
* | | | scope.sh: add quotes around variablesPaweł Kraśnicki2021-02-071-5/+5
| | | |
* | | | console: Rename to sentinel for claritytoonn2021-01-231-6/+5
| | | |
* | | | console: Never set command empty in the first placetoonn2021-01-231-3/+1
| | | |
* | | | console: Fix empty console when used without position optionDaniel K2021-01-231-0/+2
| | | |