about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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-206-0/+293
|\ \ | | | | | | Implement the filter stack
| * | Add an explicit "AND" filter combinatorWojciech Siewierski2018-08-194-0/+31
| | | | | | | | | | | | Closes #1268.
| * | Implement the filter stack rotationWojciech Siewierski2018-08-194-2/+19
| | | | | | | | | | | | | | | Tested to work both ways, so one can rotate by negative number to undo the previous positive rotation.
| * | Merge branch 'master' into filter_stackWojciech Siewierski2018-07-163-6/+197
| |\ \
| * \ \ Merge branch 'master' into filter_stackWojciech Siewierski2018-07-155-95/+143
| |\ \ \
| * | | | Add the filter stack docsWojciech Siewierski2018-07-152-1/+69
| | | | |
| * | | | Implement the filter stackWojciech Siewierski2018-07-044-0/+177
| | | | | | | | | | | | | | | | | | | | Inspired by https://github.com/Fuco1/dired-hacks#dired-filter
* | | | | Merge pull request #1235 from hektr/patch-1Wojciech Siewierski2018-08-191-3/+10
|\ \ \ \ \ | | | | | | | | | | | | Update PYTHON variable
| * | | | | Remove strip because whitespace could be a valid nametoonn2018-08-191-1/+1
| | | | | |
| * | | | | Check PYTHON is properly definedtoonn2018-08-191-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't need to check for all the various versions, that's just a maintenance burden because `python33` shouldn't ever be available if `python3` isn't. Added a check for whether `PYTHON` is empty or just whitespace because that's useless and could actually lead to problems, if `setup.py` happens to be on the `PATH`.
| * | | | | Update PYTHON variablehektr2018-07-181-2/+3
| | |_|/ / | |/| | | | | | | | | | | | | `which python3` will likely show the latest version of python installed on system, so, it should go the first. I think, it's not necessary to write all of possible versions of python. You can just use `which python3 || which python`...
* | | | | Merge pull request #1198 from toonn/rangerversionWojciech Siewierski2018-08-192-2/+21
|\ \ \ \ \ | | | | | | | | | | | | Introduce a helper function for versioning
| * | | | | Update the release checklist about version bumpstoonn2018-06-061-1/+1
| | | | | |
| * | | | | 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.
* | | | | | Merge pull request #1178 from toonn/rangerpathWojciech Siewierski2018-08-191-4/+7
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | Actually check whether selection is a directory for rangerpath patch
| * | | | | Merge branch 'rangerpath' of github:toonn/ranger into rangerpathtoonn2018-05-171-1/+1
| |\ \ \ \ \
| | * | | | | Actually check whether selection is a directoryToon Nolten2018-05-161-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `Actions.move()` used `enter_dir()` to determine whether the selection was a directory. Now we explicitly check whether it's a directory. Fixes #1177
| * | | | | | Actually check whether selection is a directoryToon Nolten2018-05-161-3/+6
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `Actions.move()` used `enter_dir()` to determine whether the selection was a directory. Now we explicitly check whether it's a directory. Fixes #1177
* | | | | | Merge pull request #1265 from bulletmark/masterToon Nolten2018-08-191-3/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Remove hard code of ranger path
| * | | | | | Remove hard code of ranger pathMark Blakeney2018-08-191-3/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hard coding the path of ranger prohibits the bash_automatic_cd.sh script from working when the user has installed ranger in a different path such as in /usr/local/bin/, or ~/.local/bin/ etc.
* | | | | | Merge pull request #1244 from yannick-c/masterToon Nolten2018-08-071-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Replace StopIteration with bare return
| * | | | | | Replace StopIteration with bare returnYannick CouziniƩ2018-08-061-2/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A bare return in generators raises StopIteration (this is backwards compatible). Using StopIteration raised a warning in 3.6.x and raises an Error in 3.7.0 (and probably upwards).
* | | | | | Merge pull request #1238 from Enzime/fix/run-as-root-on-macosWojciech Siewierski2018-08-041-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix run as root on macOS
| * | | | | | Fix run as root on macOSMichael Hoang2018-07-251-1/+1
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | su on macOS requires the user to be explicitly specified for a command to be run.
* | | | | | Merge pull request #1240 from hektr/patch-2Wojciech Siewierski2018-07-311-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Update rifle
| * | | | | | Update riflehektr2018-07-301-0/+1
| |/ / / / / | | | | | | | | | | | | I added djview for opening djvu files.
* / / / / / Fix #1210 for Python 2 (it was never broken for Python 3)Wojciech Siewierski2018-07-311-1/+5
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new code from commit 08b08d70 returned a 'unicode' object instead of 'str' but here <https://github.com/ranger/ranger/blob/53e48ed044b3f69cf21a43a4c9c4450b56972165/ranger/gui/widgets/pager.py#L184> we were explicitly expecting 'str'. I wanted to use `isinstance(source, basestring)` (or `(str, unicode)` instead of `basestring`)) there but it won't work under Python 3. For now I'm re-encoding every Python 2 unicode string to a UTF-8 encoded 'str' object even though 'unicode' should work just as well, because it would be cumbersome under Python 3 otherwise.
* | | | | Fix the Travis buildWojciech Siewierski2018-07-163-6/+197
| | | | | | | | | | | | | | | | | | | | I'm so sorry about the accidental push to master!
* | | | | Revert "Use Pipfile/pipenv to manage the linters"Wojciech Siewierski2018-07-163-197/+6
| | | | | | | | | | | | | | | | | | | | This reverts commit 322479d11c05fdc0264c5eda817b7b3163e99f0a.
* | | | | Use Pipfile/pipenv to manage the lintersWojciech Siewierski2018-07-163-6/+197
| |_|_|/ |/| | | | | | | | | | | | | | | We don't want the linters' behavior to suddenly change like right now after the release of pylint 2.0.
* | | | Fix a typo in the manpageWojciech Siewierski2018-07-152-3/+3
| | | |
* | | | Merge pull request #1227 from parmort/masterToon Nolten2018-07-071-6/+63
|\ \ \ \ | | | | | | | | | | Revamped context section of the colorscheme doc
| * \ \ \ Merge branch 'master' into masterSaturnus Numerius2018-07-071-1/+1
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #1224 from toonn/colorschemes-mdToon Nolten2018-07-051-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Update colorscheme docs path in setup.py
| * | | | | Update colorscheme docs path in setup.pyToon Nolten2018-07-051-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `colorschemes.txt` markup was improved and the file got a `.md` extension to match. Fixes #1221
* | | | | Merge pull request #1220 from parmort/masterToon Nolten2018-07-042-92/+83
|\ \ \ \ \ | |_|_|_|/ |/| | | | Change formatting of colorscheme doc to markdown
| | * | | Fixed some capitalization issuesSaturnus Numerius2018-07-071-1/+1
| | | | |
| | * | | Revamped context section of the colorscheme docSaturnus Numerius2018-07-071-6/+63
| |/ / / | | | | | | | | | | | | | | | | Added basic instruction on how to add a context key with a working example.
| * | | Make more changesSaturnus Numerius2018-07-041-6/+7
| | | |
| * | | Made changes requested by @toonnSaturnus Numerius2018-07-041-9/+14
| | | | | | | | | | | | | | | | Helps readability.
| * | | Change formatting of colorscheme doc to markdownSaturnus Numerius2018-07-032-92/+77
|/ / / | | | | | | | | | | | | Makes the file easier to read in github while still maintaining the current easy-to-read format found in the raw file
* | | Fix the issues reported by the coverage test (#1206)Wojciech Siewierski2018-06-172-4/+4
| | | | | | | | | | | | | | | | | | Regarding the change in ranger/core/runner.py: setting the 'f' flag causes the 'r' flag to run sudo -b which forks on it own so it should be safe to not explicitly fork in this case.
* | | New setting: relative_current_zeroWojciech Siewierski2018-06-175-2/+17
| | | | | | | | | | | | Closes #1205.