summary refs log tree commit diff stats
path: root/ranger
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | Fix commit 520e76esquigz2018-01-051-2/+1
| | | | | | | | |
| | * | | | | | | Another pylint fix (2 spaces before in-line comment)squigz2018-01-051-1/+1
| | | | | | | | |
| | * | | | | | | Merge branch 'master' into mastersquigglezworth2018-01-051-1/+0
| | |\ \ \ \ \ \ \
| | * | | | | | | | Disable pylint too-many-branches for _draw_borderssquigz2018-01-051-0/+1
| | | | | | | | | |
| | * | | | | | | | Further draw_borders refactoring, "both" isn't now a distinct stateWojciech Siewierski2018-01-051-9/+17
| | | | | | | | | |
| | * | | | | | | | Clean up the draw_borders codeWojciech Siewierski2018-01-051-12/+11
| | | | | | | | | |
| | * | | | | | | | draw_borders: treat true as both for backwards compatibilitysquigz2018-01-041-1/+1
| | | | | | | | | |
| | * | | | | | | | remove unnecessary checkssquigz2018-01-041-2/+2
| | | | | | | | | |
| | * | | | | | | | Reduce calls to string.lower()squigz2018-01-041-5/+4
| | | | | | | | | |
| | * | | | | | | | Fix rc.confsquigz2018-01-041-1/+1
| | | | | | | | | |
| | * | | | | | | | Use True/False instead of 1/0squigz2018-01-041-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update padding conditions to not show when draw_borders is set to separators or none
| | * | | | | | | | Remove draw_separators from ALLOWED_SETTINGSsquigz2018-01-041-1/+0
| | | | | | | | | |
| | * | | | | | | | Changes draw_borders setting to a stringsquigz2018-01-043-38/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows drawing vertical separators between columns, borders around all the columns, both of the two, or none
| | * | | | | | | | Remove _draw_separators and integrate with _draw_borders with the ↵squigz2018-01-041-64/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `separators_only` argument
| | * | | | | | | | Fix draw_separators setting in rc.confsquigz2018-01-041-1/+1
| | | | | | | | | |
| | * | | | | | | | Add 'draw_separators' option to rc.confsquigz2018-01-041-0/+3
| | | | | | | | | |
| | * | | | | | | | Add option to draw separators between columns instead of drawing boxessquigz2018-01-032-0/+47
| | | | | | | | | |
| * | | | | | | | | Merge branch 'moveright'toonn2018-09-071-2/+5
| |\ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / | |/| | | | | | | |
| | * | | | | | | | Switch if/else branches to minimize negationToon Nolten2018-08-211-3/+3
| | | | | | | | | |
| | * | | | | | | | Fix type in execute_file docstringToon Nolten2018-08-211-1/+1
| | | | | | | | | |
| | * | | | | | | | Add selection argument to move actionToon Nolten2018-08-211-1/+4
| | | |_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If `selection == False` don't operate on the entire selection (the marked files) but only on the file under the cursor. Inconsistent, I noticed `move to=100 percentage=true` works as expected but `move right=1 selection=false` doesn't. You need to pass `False`, most other values test as `True` in python, so `true` works *but* surprisingly imo, `false == True`. Fixes #1233
| * | | | | | | | Merge branch 'jakanaka-evan-archive-img'toonn2018-09-071-0/+37
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Change description commenttoonn2018-09-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I wanted to mention comic books explicitly because most people looking for comic book previews probably won't look for archive previews.
| | * | | | | | | | scope.sh: Explain what archive img-previewing doesjakanakae-envangel2018-09-071-1/+1
| | | | | | | | | |
| | * | | | | | | | scope.sh: Simplify archive-img extraction codejakanakae-envangel2018-08-301-21/+14
| | | | | | | | | |
| | * | | | | | | | scope.sh: Simplify exit status checkingjakanakae-envangel2018-08-281-14/+7
| | | | | | | | | |
| | * | | | | | | | scope.sh: Handle archive filenames starting with '-'jakanakae-envangel2018-08-251-2/+2
| | | | | | | | | |
| | * | | | | | | | scope.sh: Use python's mimetypes for finding imgsjakanakae-envangel2018-08-231-1/+4
| | | | | | | | | |
| | * | | | | | | | scope.sh: Fix rm-ing a nonexistent filejakanakae-envangel2018-08-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For archive previews, if bsdtar failed to extract a 7z file, it would attempt to rm the already removed IMAGE_CACHE_PATH file.
| | * | | | | | | | scope.sh: Comment archive previewing by defaultjakanakae-envangel2018-08-231-45/+45
| | | | | | | | | |
| | * | | | | | | | scope.sh: Implement image previews for archivesjakanakae-envangel2018-08-231-0/+47
| | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Take the first alphabetically sorted png, jpg or gif image from the archive, or fallback to normal file listing if there are none. Supported formats: zip, cbz, rar, cbr, 7z, cb7, tar, cbt, txz, tgz, tbz2. Optional deps: tar or bsdtar (from libarchive) for cbt and t* formats, bsdtar or unzip for zip and cbz, bsdtar or unrar for rar and cbr, bsdtar for 7z and cb7.
* | / / / / / / / Silence KeyError for bookmarks while expanding macrostoonn2018-12-261-2/+0
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implementation for the `%any_path` macro relies on the bookmark being defined, however when expanding the macro for uses of `%any` that don't involve existing bookmarks you get error messages even though the failure's expected. Simplest solution is to just fail silently, like the existing `%any` macro already did. Lazy evaluation would silence the error for all uses of `%any`, since the value for `%any_path` would never be used, but that would require altering all the generation and consumption of macro values. Another solution is to only resolve the `%any_path` macro when it's necessary but that would involve changing the way `wildcards` are passed distinguishing between `any` and `any_path` macros. Fixes #1419
* | | | | | | | Fixed up pylint/flake8 warningstoonn2018-09-061-7/+9
| | | | | | | |
* | | | | | | | Add the %any_path macrotoonn2018-09-061-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `%any` macro is very useful for commands that know about bookmarks. Bookmarks are just short names for paths really, so it'd be nice if they could be used with any commands that take paths as arguments. Now they can! `%any_pathX` where `X` refers to the which `<any>` the macro corresponds to (`%any_path` is synonymous with `%any_path0`) is replaced with the path of the bookmark entered if that bookmark exists. Fixes #1277
* | | | | | | | Add mapping to open console and pre-fill it with previous commandLeo Vivier2018-09-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #1293. Behaviour assigned to Ctrl-p. Non-essential change which can be removed if we find a better use for Ctrl-p.
* | | | | | | | Map C-p to `console` for faster history accessLeo Vivier2018-09-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows user to press C-p to open the console from the main view and to press C-p again to go up in the history of previous commands.
* | | | | | | | Set default and alternative bindings for word-movementsLeo Vivier2018-09-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Alt-B and Alt-F are set as the default bindings (cmap), - Alt-LEFT and Alt-RIGHT are set as alternative bindings (copycmap).
* | | | | | | | Add support for default terminal word-movement commands to consoleLeo Vivier2018-09-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Alt-b for moving backwards by words, - Alt-f for moving forwards by words.
* | | | | | | | Fix the tilde support in the titlebarWojciech Siewierski2018-08-312-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously it was possible to have "/home/user" as one's home and enter "/home/user2", which gets incorrectly abbreviated to "~2/". Now such case is left intact, as expected.
* | | | | | | | Applies Tilde Setting to Window TitleThe Flying Rapist2018-08-291-1/+1
| | | | | | | |
* | | | | | | | Fix the filter_stack previews on Python 3Wojciech Siewierski2018-08-281-1/+1
| | | | | | | |
* | | | | | | | Add <C-g> as an alias to <ESC> in consoleLeo Vivier2018-08-261-0/+1
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | Mimics the behaviour of <C-g> in Emacs.
* | | | | | | Merge branch 'rangerpath'Toon Nolten2018-08-201-7/+6
|\ \ \ \ \ \ \
| * | | | | | | Check whether tfile is a dir not the entire selectionToon Nolten2018-08-201-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Was erroneously checking the entire selection for being *a* directory but a list of 1 or more files/directories is obviously not a directory. Fixes #1269
* | | | | | | | Merge pull request #1222 from Vifon/filter_stackWojciech Siewierski2018-08-204-0/+206
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Implement the filter stack
| * | | | | | | | Add an explicit "AND" filter combinatorWojciech Siewierski2018-08-192-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #1268.
| * | | | | | | | Implement the filter stack rotationWojciech Siewierski2018-08-192-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested to work both ways, so one can rotate by negative number to undo the previous positive rotation.
| * | | | | | | | Implement the filter stackWojciech Siewierski2018-07-044-0/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inspired by https://github.com/Fuco1/dired-hacks#dired-filter
* | | | | | | | | Merge pull request #1198 from toonn/rangerversionWojciech Siewierski2018-08-191-1/+20
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Introduce a helper function for versioning
| * | | | | | | | | Introduce a helper function for versioningtoonn2018-06-061-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `version_helper` function should make version changes simpler, upon a release simple bump `__version__` and change `__release__` to `True`, afterwards change `__release__` back to `False`. It also tries to call `git describe` so `ranger --version` reports a commit hash if available. This should prevent slip-ups where released versions report ambiguously as being `ranger-master x.y.z` which is what we use for non-release versions. Fixes #1197, which was a misunderstanding caused by a slip-up.