about summary refs log tree commit diff stats
path: root/ranger
Commit message (Collapse)AuthorAgeFilesLines
* tests.manpage_completion: Use withtoonn2021-07-201-1/+1
| | | | | This test revealed an exception that wasn't covered in `ranger/__init__.py` due to the refactor to a with-statement.
* container.history: Fix type error due to forgotten lentoonn2021-07-201-1/+1
|
* config.commands: Refactor to use withtoonn2021-07-202-16/+42
| | | | | This required adding another argument to `open23` so I just implemented all the arguments the open builtin has.
* ranger.__init__: Refactor to use withtoonn2021-07-201-6/+8
|
* gui.widgets.console: Refactor to use withtoonn2021-07-201-21/+24
|
* gui.colorscheme: Use with for file creationtoonn2021-07-201-1/+3
|
* ext.vcs.vcs: Disable frivolous lintstoonn2021-07-201-0/+2
|
* ext.spawn: Refactor to use withtoonn2021-07-201-4/+4
|
* ext.popen_forked: Refactor to use withtoonn2021-07-201-3/+6
| | | | Because the process forks we can closed the fds on this side.
* ext.macrodict: Disable lint because of py2 compattoonn2021-07-201-1/+1
|
* ext.img_display: Disable lint for peculiar use of opentoonn2021-07-201-0/+4
|
* ext.accumulator: Use max rather than branchtoonn2021-07-201-2/+1
|
* core.runner: Disable lints because of peculiar uses of opentoonn2021-07-201-0/+3
|
* 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