Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests.manpage_completion: Use with | toonn | 2021-07-20 | 1 | -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 len | toonn | 2021-07-20 | 1 | -1/+1 |
| | |||||
* | config.commands: Refactor to use with | toonn | 2021-07-20 | 2 | -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 with | toonn | 2021-07-20 | 1 | -6/+8 |
| | |||||
* | gui.widgets.console: Refactor to use with | toonn | 2021-07-20 | 1 | -21/+24 |
| | |||||
* | gui.colorscheme: Use with for file creation | toonn | 2021-07-20 | 1 | -1/+3 |
| | |||||
* | ext.vcs.vcs: Disable frivolous lints | toonn | 2021-07-20 | 1 | -0/+2 |
| | |||||
* | ext.spawn: Refactor to use with | toonn | 2021-07-20 | 1 | -4/+4 |
| | |||||
* | ext.popen_forked: Refactor to use with | toonn | 2021-07-20 | 1 | -3/+6 |
| | | | | Because the process forks we can closed the fds on this side. | ||||
* | ext.macrodict: Disable lint because of py2 compat | toonn | 2021-07-20 | 1 | -1/+1 |
| | |||||
* | ext.img_display: Disable lint for peculiar use of open | toonn | 2021-07-20 | 1 | -0/+4 |
| | |||||
* | ext.accumulator: Use max rather than branch | toonn | 2021-07-20 | 1 | -2/+1 |
| | |||||
* | core.runner: Disable lints because of peculiar uses of open | toonn | 2021-07-20 | 1 | -0/+3 |
| | |||||
* | core.main: Refactor to use open23 and apply sensible lints | toonn | 2021-07-20 | 1 | -10/+10 |
| | |||||
* | loader: Disable lint because of peculiar uses of open | toonn | 2021-07-20 | 1 | -1/+5 |
| | |||||
* | actions: Disable lints because of peculiar use of open | toonn | 2021-07-20 | 1 | -0/+9 |
| | |||||
* | tags: Refactor version conditional open | toonn | 2021-07-20 | 2 | -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 lint | toonn | 2021-07-20 | 1 | -8/+14 |
| | |||||
* | history: Replace branching with min/max builtins | toonn | 2021-07-20 | 1 | -8/+2 |
| | |||||
* | bookmarks: Switch to using with | toonn | 2021-07-20 | 1 | -14/+13 |
| | |||||
* | img_display: Drop redundant close calls | toonn | 2021-07-15 | 1 | -3/+0 |
| | |||||
* | img_display: Use with where possible | toonn | 2021-07-15 | 1 | -34/+37 |
| | |||||
* | rifle.py: Pylint insists on no bare Popen()s | toonn | 2021-07-15 | 1 | -1/+2 |
| | |||||
* | rifle.py: Using with where possible | toonn | 2021-07-15 | 1 | -26/+35 |
| | |||||
* | actions.py: Another implicit return | toonn | 2021-07-15 | 1 | -1/+1 |
| | |||||
* | actions.py: Simplify a boolean condition to appease pylint | toonn | 2021-07-15 | 1 | -1/+1 |
| | |||||
* | commands.py: Pylint doesn't like mixing im/explicit returns | toonn | 2021-07-15 | 1 | -3/+6 |
| | |||||
* | Merge branch 'clarify-imgdisplayunsupported' | toonn | 2021-07-14 | 1 | -3/+9 |
|\ | |||||
| * | img_display: Make the unsupported exception friendlier | toonn | 2021-06-25 | 1 | -3/+9 |
| | | | | | | | | Fixes #2373 | ||||
* | | Add IOError to handler. | chu4ng | 2021-07-10 | 1 | -1/+1 |
|/ | |||||
* | tags: Fix argument length checking | toonn | 2021-06-22 | 1 | -3/+3 |
| | | | | | | Fixes #2295 Co-authored-by: chu4ng <chu4ng@users.noreply.github.com> | ||||
* | mime.types: Recognize .eml as message/rfc822 | toonn | 2021-06-22 | 1 | -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 comments | Marie-Helene Burle | 2021-06-21 | 1 | -1/+1 |
| | |||||
* | minor edits of comments | Marie-Helene Burle | 2021-06-21 | 1 | -2/+2 |
| | |||||
* | scope.sh: add mime handling for message/rfc822 | Marie-Helene Burle | 2021-06-21 | 1 | -0/+6 |
| | |||||
* | Fix tmux image display for other possible TERMs | Cullen Ross | 2021-06-04 | 1 | -2/+2 |
| | | | | | | Check substrings Properly check substrings | ||||
* | browsercolumn: Fix regression when clicking preview | toonn | 2021-05-17 | 1 | -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 alignment | toonn | 2021-04-25 | 1 | -3/+3 |
| | |||||
* | adding zathura in archives | pirate486743186 | 2021-04-25 | 1 | -0/+1 |
| | |||||
* | adding qcomicbook in archives | pirate486743186 | 2021-04-25 | 1 | -0/+1 |
| | |||||
* | mcomix and atril update | pirate486743186 | 2021-04-25 | 1 | -0/+2 |
| | |||||
* | fix(git): support hierarchical branch names | omermizr | 2021-04-18 | 1 | -1/+1 |
| | | | Resolve https://github.com/ranger/ranger/issues/2311 | ||||
* | Merge branch '5hir0kur0-fix-1798-crashes-when-deleting-to-trash' | toonn | 2021-03-28 | 2 | -5/+61 |
|\ | |||||
| * | fm: Py2 doesn't handle implicit format references | toonn | 2021-03-28 | 1 | -1/+2 |
| | | |||||
| * | trash: Move paths_to_filesystem_objects to fm.py | 5hir0kur0 | 2020-03-07 | 2 | -38/+38 |
| | | | | | | | | | | This commit also renames the method to "get_filesystem_objects" for symmetry to "get_directory". | ||||
| * | trash: Fix crash on OSError | 5hir0kur0 | 2020-03-07 | 1 | -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() constructor | 5hir0kur0 | 2020-03-06 | 1 | -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 trash | 5hir0kur0 | 2020-03-05 | 1 | -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 -- convention | toonn | 2021-03-27 | 1 | -1/+1 |
| | | |||||
* | | rifle: Add mcomix and qcomicbook | toonn | 2021-03-27 | 1 | -2/+4 |
| | | | | | | | | Fixes #2292 |