about summary refs log tree commit diff stats
path: root/ranger
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Merge pull request #1178 from toonn/rangerpathWojciech Siewierski2018-08-191-4/+7
|\ \ | | | | | | Actually check whether selection is a directory for rangerpath patch
| * | 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
* | | 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 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-173-2/+8
| | | | | | | | | | | | Closes #1205.
* | | Merge branch 'kitty-img-preview'toonn2018-06-076-51/+261
|\ \ \ | | | | | | | | | | | | Adding kitty image previews to ranger : )
| * | | Style Fixesmark-dawn2018-05-293-45/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | Consistency Fixesmark-dawn2018-05-291-3/+3
| | | | | | | | | | | | | | | | | | | | Made so images are displayed in the top left corner of the preview pane Fixed incorrect exit on python2
| * | | Fixed manpages, tmux handlingmark-dawn2018-05-293-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated manapages Corrections to rc.conf Silenced the warning from pillow about image sizes Tmux session with kitty raises ImgDisplayUnsupportedError changed pager.py to also notify on ImgDispalyUnsupported Error
| * | | Unstretched Image Previewsmark-dawn2018-05-292-22/+19
| | | | | | | | | | | | | | | | | | | | Implemented a way to obtain unstretched image previews Fixed wording in ranger.pod
| * | | Automatic network detection, python2 and Exception fixesmark-dawn2018-05-294-60/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Grammar Fixesmark-dawn2018-05-294-28/+35
| | | | | | | | | | | | | | | | | | | | Fixed grammar horrors in ranger.pod and ranger.conf Improved resize handling
| * | | Bugfixes & Improvementsmark-dawn2018-05-293-116/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Kitty image display alpha, merge-readymark-dawn2018-05-293-89/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added more comments to the code reverted changes to default values in rc.conf addes explanations in rc.config about the new options Couple of small stylistic corrections after running make test Updated the man pages
| * | | Kitty image protocol based preview, alphamark-dawn2018-05-293-3/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Fixed a pylint errorErez Shermer2018-06-071-2/+1
| | | |
* | | | Merge branch 'master' of https://github.com/esm7/rangerErez Shermer2018-06-0722-86/+254
|\ \ \ \ | | |_|/ | |/| |
| * | | Fix the testsWojciech Siewierski2018-06-011-1/+2
| | | |
| * | | Make the w3m delay configurableWojciech Siewierski2018-06-013-3/+9
| | | |
| * | | Add a new data type for rc.conf: floatWojciech Siewierski2018-06-012-0/+6
| | | |
| * | | Mitigate the issue with black horizontal barsWojciech Siewierski2018-05-311-0/+7
| |/ / | | | | | | | | | Fixes #1192.
| * | Merge branch 'master' into masterWojciech Siewierski2018-05-2822-79/+209
| |\ \
| | * \ Merge branch 'master' into detect_file_encodingWojciech Siewierski2018-05-2822-70/+176
| | |\ \
| | | * \ Merge branch 'chuanconggao-bugfix'toonn2018-05-171-1/+1
| | | |\ \
| | | | * \ Merge branch 'master' into bugfixChuancong Gao2018-05-1521-70/+179
| | | | |\ \
| | | | * | | Fix bug for "Improve VCS symbols" #1123Chuancong Gao2018-05-151-1/+1
| | | | | | |
| | | * | | | Revert "ranger <path> can select files"hut2018-05-161-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * | | | remove unnecessary if statement, uses lazy_propertyRodrigo Stuchi2018-05-152-7/+7
| | | | | | |
| | | * | | | Fixed yank name without extension in multiple filesRodrigo Stuchi2018-05-152-2/+3
| | | | |/ / | | | |/| | | | | | | | | | | | | | changed map `yw` to `y.` ref.: #1174
| | | * | | Merge pull request #1111 from vimeitor/masterhut2018-05-151-0/+2
| | | |\ \ \ | | | | | | | | | | | | | | Add delay after opening (quickly_executed) a file
| | | | * | | Add delay after opening (quickly_executed) a fileAdrià Farrés2018-03-181-0/+2
| | | | |/ / | | | | | | | | | | | | | | | | | | This is analogous to 6cae0ed but with files, not directories.
| | | * | | Merge pull request #1123 from chuanconggao/patch-1hut2018-05-152-4/+6
| | | |\ \ \ | | | | | | | | | | | | | | Improve VCS symbols
| | | | * \ \ Merge branch 'master' into patch-1hut2018-05-1514-49/+147
| | | | |\ \ \
| | | | * | | | Update VCS symbolsChuancong Gao2018-03-292-4/+6
| | | | | |/ / | | | | |/| |
| | | * | | | rc.conf: rename `yank name_no_ext` command to `yank name_without_extension`hut2018-05-152-2/+2
| | | | | | |
| | | * | | | Merge branch 'master' into yank_without_exthut2018-05-156-19/+19
| | | |\ \ \ \
| | | | * \ \ \ Merge branch 'master' into breakbeforebinopshut2018-05-1514-45/+142
| | | | |\ \ \ \ | | | | | | |/ / | | | | | |/| |
| | | | * | | | MISSION CRITICAL update to adhere to pep8toonn2018-04-216-18/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pep8 was changed to recommend breaking lines *before* rather than after binary operators. This patch makes everything right with the universe. Fixes #1145
| | | * | | | | Merge branch 'master' into yank_without_extRodrigo Stuchi2018-05-152-7/+18
| | | |\ \ \ \ \ | | | | | |/ / / | | | | |/| | |
| | | | * | | | Merge branch 'allthetabs'toonn2018-05-152-7/+18
| | | | |\ \ \ \
| | | | | * | | | Remove the implicit assumption tabs are numbers.toonn2018-04-191-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | | | * | | | Lift the limit on tabs for :tab_newtoonn2018-04-191-4/+4
| | | | | | | | |
| | | | | * | | | Save all the tabs, including the active tab.toonn2018-04-191-2/+2
| | | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the check preventing the active tab from being saved. Fixes #883