| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
For archive previews, if bsdtar failed to extract a 7z file, it would
attempt to rm the already removed IMAGE_CACHE_PATH file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | | |
Implement the filter stack
|
| | |
| | |
| | |
| | | |
Closes #1268.
|
| | |
| | |
| | |
| | |
| | | |
Tested to work both ways, so one can rotate by negative number to undo
the previous positive rotation.
|
| |\ \ |
|
| |\ \ \ |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Inspired by https://github.com/Fuco1/dired-hacks#dired-filter
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Update PYTHON variable
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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`.
|
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
`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`...
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Introduce a helper function for versioning
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
|\ \ \ \ \ \
| | |_|_|_|/
| |/| | | | |
Actually check whether selection is a directory for rangerpath patch
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
`Actions.move()` used `enter_dir()` to determine whether the selection
was a directory. Now we explicitly check whether it's a directory.
Fixes #1177
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
`Actions.move()` used `enter_dir()` to determine whether the selection
was a directory. Now we explicitly check whether it's a directory.
Fixes #1177
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Remove hard code of ranger path
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Replace StopIteration with bare return
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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).
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix run as root on macOS
|
| | |_|/ / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
su on macOS requires the user to be explicitly specified for a command
to be run.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Update rifle
|
| |/ / / / /
| | | | | |
| | | | | | |
I added djview for opening djvu files.
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | |
| | | | |
| | | | |
| | | | | |
I'm so sorry about the accidental push to master!
|
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 322479d11c05fdc0264c5eda817b7b3163e99f0a.
|
| |_|_|/
|/| | |
| | | |
| | | |
| | | | |
We don't want the linters' behavior to suddenly change like right now
after the release of pylint 2.0.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Revamped context section of the colorscheme doc
|
| |\ \ \ \
| |/ / / /
|/| | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Update colorscheme docs path in setup.py
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`colorschemes.txt` markup was improved and the file got a `.md`
extension to match.
Fixes #1221
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
Change formatting of colorscheme doc to markdown
|
| | | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
Added basic instruction on how to add a context key with a working
example.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Helps readability.
|
|/ / /
| | |
| | |
| | |
| | | |
Makes the file easier to read in github while still maintaining the
current easy-to-read format found in the raw file
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
Closes #1205.
|