about summary refs log tree commit diff stats
path: root/ranger
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
| | | |
* | | | console: -s remove only first sentinel occurrencetoonn2021-01-221-1/+1
| | | |
* | | | Small doc fix for more luciditychu4ng2021-01-221-1/+1
| | | |
* | | | Set argument from '-s' flag as key character.chu4ng2021-01-221-6/+8
| | | |
* | | | Added -s flag for set position by char seq '^&'.chu4ng2021-01-221-3/+12
| | | |
* | | | Fix comment typo in commands_sample.pyjmorsecode2021-01-201-1/+1
| | | |
* | | | transpose_subr/words: Format in accordance to PEP8toonn2021-01-161-2/+1
| | | |
* | | | transpose_subr: Appease the almighty pylinttoonn2021-01-161-1/+1
| | | |
* | | | transpose_words: Fix transposing last two wordstoonn2021-01-161-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Transpose last two words even if on the first letter of last word. This behavior is consistent with readline and emacs. The previous code move one word back if it was anywhere in the last word but that meant the third and second to last words were transposed if the cursor was on the first character of the last word.
* | | | transpose_chars: Add explicit check for start of linetoonn2021-01-161-1/+3
| | | | | | | | | | | | | | | | | | | | There's no sensible action at the start of the line but we don't want to issue the warning about invalid regions either.
* | | | transpose_subr: Refactor to swap both regions in one concatenationtoonn2021-01-161-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | The calculations for cutting out and repositioning the second now shifted region was complicated. Simply cutting the two regions out of the string and swapping them is conceptually simpler.
* | | | transpose_subr: Remove check for equal regionstoonn2021-01-161-2/+1
| | | | | | | | | | | | | | | | | | | | There's no point transposing equal regions, the result would be the same.
* | | | transpose_subr: Check lower boundtoonn2021-01-161-2/+2
| | | | | | | | | | | | | | | | | | | | Allowing negative regions makes it harder to verify there's no overlap between regions.
* | | | Add word/character transposition at the console44274505+ericricky@users.noreply.github.com2021-01-162-0/+77
| | | | | | | | | | | | | | | | Inspired by emacs/readline.
* | | | Merge branch 'fix-files-none'toonn2021-01-051-9/+12
|\ \ \ \
| * | | | Refactor error checking for _pointed_objtoonn2021-01-051-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #2086 Fixes #2125 Fixes #2136 Fixes #2173 Fixes #2205 Fixes #2209
| * | | | Fix IndexError(list index out of range);chu4ng2020-12-051-0/+2
| | | | | | | | | | | | | | | | | | | | Fix #2173.
| * | | | Merge remote-tracking branch 'toonn/fix-files-none' into fix-files-indexchu4ng2020-12-051-1/+4
| |\ \ \ \
| | * | | | If files is None we can't set the _pointed_objtoonn2020-08-121-1/+4
| | |/ / / | | | | | | | | | | | | | | | Fixes #2071
* | | | | Fix python versions compatibility in scope.shXuehaiPan2021-01-051-1/+2
| | | | |
* | | | | Import FileManagerAwaretoonn2020-12-311-1/+2
| | | | |
* | | | | Only write tags if they might've changedtoonn2020-12-311-0/+6
| | | | |
* | | | | Report errors if tag file does not existtoonn2020-12-311-8/+12
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A non-existent tag file leads to an opaque crash without indication to the user of what went wrong as in #2200. These errors are now reported through ranger's notify mechanism. The tag file is no longer created conditionally on `__init__`, only upon saving tags. This changes the behavior somewhat in that an empty "tagged" file should never be created.
* | | | scope.sh: add ipynb ext to jsonMarie-Helene Burle2020-12-141-1/+1
|/ / /
* | | Change chmod mapstoonn2020-11-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The maps without explicit target only changed user permissions. The chmod utility changes all permissions when the target's omitted. This brings both more in line. Fixes #2161