| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | |
| | | | |
Adding kitty image previews to ranger : )
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Changed response recieving to use bytestrings
Pythonic "if b'XX' in resp:" used in response checks
Disabled kitty preview when kitty is not in TERM
PEP8 new style fixes
Fixed operator newline in core/fm.py
Added a new ignore for pylint in core/main.py:374,25: Using deprecated method load_module() (deprecated-method)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Created late_init method to handle task dependent on late facilities
Enabled automatic network detection (required stdin to be properly init)
Fixed proper handling of import Errors (required ranger Exception handling)
Fixed handling of binary stdio differnces between py2/3
Unified said handling aross the module
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixed grammar horrors in ranger.pod and ranger.conf
Improved resize handling
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixed support for terminology terminal emulator
Fixed the annoying bug affecting fast scrolling (tnkx@kovidgoyal)
Refactored some code repeated for the whole module
Eliminated some dependencies
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Displays images by sending kitty Application Programming Command.
Requires PIL/pillow to work, possible enhancment to add a Imagemagik
based version.
Support for two modes, one slower that is network aware, possible
enhancment to add sutomatic mode selection.
Known BUGS: scrolling too fast will breakthe response catcher, leaking
escape seq into stdin and corrupting the display. FIX? Ask
kovidgoyal@kitty to implement a control sequence to disable responses
|
| | | | |
|
|/ / / |
|
|\ \ \ |
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Due to this commit, pressing `<Right>` on a file does nothing. Normally
it should open the file. Until this is fixed, I'll remove this commit
to restore this basic functionality. Unfortunately, the revert makes
ranger crash when run like `ranger <somefilename>`, but this is a much
less frequent use case, so the revert is still warranted.
This reverts commit 2288a40b45ccdc57d287648c96c5bbe378b95a6d.
|
| | |\ \ \ |
|
| | | |\ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Only get_tab_list() implicitly assumed that tab keys are numbers, or at
least homogeneous. This assumption has now been removed by using a
simple ordering class that orders numbers as expected but anything else
lexically.
|
| | | | | | | |
|
| | | | | |/
| | | | |/|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Remove the check preventing the active tab from being saved.
Fixes #883
|
| | | |\ \ \ |
|
| | | | |/ / |
|
| | | |\ \ \
| | | | | |/
| | | | |/| |
|
| | | | | | |
|
| | | | |/
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Because `ranger somefile` used to invoke rifle but that moved to its own
command `ranger somefile` seemed defunct. People expected ranger to
select the file and were baffled when it crashed. Now the documentation
using the verbiage "path" is no longer confusing/a lie because it just
works™ (until it breaks).
Fixes #930
|
| | | |\ \ |
|
| | | | | | |
|
| | | | | | |
|
| | | |\ \ \
| | | | |_|/
| | | |/| | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Both rc.conf and commands.py are now additionally loaded from
`/etc/ranger` if they exist.
Fix #869
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Pep8 was changed to recommend breaking lines *before* rather than after
binary operators. This patch makes everything right with the universe.
Fixes #1145
|
| | | | | |
|
| | | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If it's not available, test utf-8 and utf-16. If everything fails,
fall back to latin1 as previously.
Fixes #990.
|
|/ / /
| | |
| | |
| | | |
* bound to { by default
|
| |/
|/|
| |
| |
| |
| | |
os.getcwd() dereferences symlinks and it's usually undesirable.
Fixes #1105.
|
|\ \ |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| | |
I see no good reason why realpath was preferred there over abspath and
it clearly was breaking the process substitution (">(...)") by turning
for instance "/proc/self/fd/13" into "/proc/32444/fd/pipe:[4935093]",
the latter not being a valid file.
|
| |
| |
| |
| |
| |
| | |
Without this, there is no way to reload the “tagged” file. Being able to
reload it is nice, because you can tag paths using external utilities (e.g. a
feh action).
|
|/
|
|
|
|
| |
The metavar "PATH" is likely being confused with the environment
variable PATH. OUTFILE makes it clearer that the "PATH" in question is a
file.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
When reading a file for which Ranger doesn't have permissions, Python3
throws an OSError. Python2 on the other hand throws a IOError, which
wasn't being caught and caused Ranger to crash. IOError was added to
catch statements for this reason.
|
|/ |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
Some of the changes definitely could have been done better with some
refactoring instead of adding a "return" or two. Patches welcome!
|
| | |
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Ignore the RANGER_LOAD_DEFAULT_RC environmental variable if the user
config doesn't exist or is unreadable because not loading any config
would result in an unusable ranger instance.
|
| | | |
|