about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* .flake8: ignore bad line continuationhut2017-07-161-1/+1
|
* ext.lazy_property: don't redefine resetter functionhut2017-07-161-15/+16
| | | | | | | | | | | | | Without this change, binding a signal to a resetter function with a weak reference would delete the signal after it's called, because the function would be disconnected from the object and market for garbage collection. Also adapted the test cases to check for this problem. For example, commit 22ffd78ef654cd7ae4357a908408ac19 binds vcs__reset() to the signal "setopt.vcs_aware" with a weak ref. Because of that, the signal is only triggered the first time the setting is changed.
* container.directory: no need to Ctrl+R on ":set vcs_aware!"hut2017-07-161-4/+11
| | | | | this is done through setting the "vcs" attribute to a lazy_property and binding its __reset() function to the signal 'setopt.vcs_aware'.
* ext.lazy_property: create XYZ__reset() as soon as possiblehut2017-07-161-1/+1
| | | | | this allows using XYZ__reset from inside a lazy_property, for example to bind the reset function to a signal. See following commit
* container.settings: fix signal binding for LocalSettingshut2017-07-161-0/+2
|
* container.fsobject: move __init__ definition to the tophut2017-07-161-15/+15
|
* container.fsobject: fix failing style testshut2017-07-161-4/+3
|
* container.fsobject: faster loading with lazy_propertyhut2017-07-161-26/+30
|
* ext.lazy_property: allow resetting lazy propertieshut2017-07-161-1/+25
|
* fix pylint nagging about performance_test.py on py2hut2017-07-161-0/+1
|
* add doc/tools/performance_test.pyhut2017-07-161-0/+40
|
* rifle.conf: Handle .mobi too; add a positional parameter separatorWojciech Siewierski2017-07-141-1/+2
|
* Open epub files with ebook-viewerAndrew Rabert2017-07-141-0/+2
|
* core.fm: more efficient preview cache cleaninghut2017-07-071-1/+1
|
* container.fsobject: more readable attribute initializationhut2017-07-071-34/+34
|
* Properly handle toggling 'preview_images'Wojciech Siewierski2017-07-062-1/+7
| | | | | | 1. Don't use the cached image previews if 'preview_images' is turned off. 2. Wipe the preview cache after toggling 'preview_images' for it to take effect immediately.
* ext.cached_function: comment about functools.lru_cachehut2017-06-221-0/+1
|
* core.runner: show stderr when using 'p' flag (#884)hut2017-06-221-2/+2
|
* reset hint colortesu2017-06-221-0/+1
|
* Update the manpage: add --show-only-dirsWojciech Siewierski2017-06-162-1/+12
|
* moved inode filtering from choosedir to show-only-dirsrandnobx2017-06-151-1/+3
|
* rc.conf: set no inode type filter by defaulthut2017-06-091-0/+4
|
* Merge branch 'choosedir-821' of https://github.com/randynobx/rangerhut2017-06-084-14/+29
|\
| * Resolve the pylint warningsWojciech Siewierski2017-05-201-7/+10
| | | | | | | | Fix one typo too.
| * Separate the inode filter constants into their own classWojciech Siewierski2017-05-202-7/+9
| |
| * fixed SettingsAware.settings to fm.settingsrandnobx2017-05-201-1/+1
| |
| * refactor inode_filter assignment; change function namerandnobx2017-05-201-6/+3
| |
| * added global_inode_filter_type setting; show only directories when --choosedirrandnobx2017-05-204-14/+27
| | | | | | | | merged local and global inode_filter handling; refactored hidden_inode_filter_func
* | Merge branch 'vifon/867/filter_command_to_only_show_marked_files' of ↵hut2017-06-084-1/+30
|\ \ | | | | | | | | | https://github.com/Vifon/ranger
| * | Add a :narrow keybind to rc_emacs.confWojciech Siewierski2017-05-211-0/+1
| | |
| * | Fix the pylint warningsWojciech Siewierski2017-05-212-1/+6
| | |
| * | Add the :narrow commandWojciech Siewierski2017-05-213-0/+23
| |/ | | | | | | | | | | | | The name is derived from https://www.gnu.org/software/emacs/manual/html_node/emacs/Narrowing.html Closes #867.
* | rc.conf: removed redundant "ys" key bindinghut2017-06-081-1/+0
| |
* | Merge branch 'master' of https://github.com/toonn/rangerhut2017-06-072-4/+64
|\ \
| * | Blank line before local definitionToon Nolten2017-05-281-0/+1
| | |
| * | Locally import subprocess; improve docstring; give a more meaningful name to ↵Toon Nolten2017-05-281-5/+4
| | | | | | | | | | | | input_argument
| * | Avoid redefining file built-in for python 2.7Toon Nolten2017-05-281-1/+1
| | |
| * | Resolve pylint issuesToon Nolten2017-05-281-28/+28
| | |
| * | Change the yank mappings to use the new yank commandToon Nolten2017-05-281-4/+4
| | |
| * | Yank command that makes use of any available clipboard managerToon Nolten2017-05-281-0/+60
| |/
* | Merge branch 'master' of https://github.com/daizeng1984/rangerhut2017-06-071-13/+9
|\ \
| * | Switch the order of experimental plugin loading and rc.conf sourcingdaizeng19842017-06-071-13/+9
| |/
* | Merge branch 'master' of https://github.com/nvllsvm/rangerhut2017-06-071-0/+1
|\ \ | |/ |/|
| * Add nomacs image viewer supportAndrew Rabert2017-03-281-0/+1
| |
* | Do not import unused modules; fix the pylint testsWojciech Siewierski2017-05-061-1/+0
| |
* | Do not strip the current working directoy from sys.pathWojciech Siewierski2017-05-061-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #861. This code was assuming that cwd is being added to `sys.path` but according to my investigation it isn't true. On the other hand, the script directory is added to `sys.path`, which would be `/usr/bin/` in this case. `/usr/bin/` is neither a vulnerability, nor affected by this code, so I'm removing it. I'm pasting my brief tests of the Python module loading behavior: ``` [root@de5476e76587 test]# tree . ├── main.py └── ranger └── __init__.py 1 directory, 2 files [root@de5476e76587 test]# cat main.py import ranger print("Done") [root@de5476e76587 test]# cat ranger/__init__.py print("I'm a bad module doing bad stuff to good people.") [root@de5476e76587 test]# ./main.py I'm a bad module doing bad stuff to good people. Done [root@de5476e76587 test]# cd ../ [root@de5476e76587 ~]# ./test/main.py I'm a bad module doing bad stuff to good people. Done [root@de5476e76587 ~]# cd - /root/test [root@de5476e76587 test]# mv main.py .. [root@de5476e76587 test]# ../main.py Done [root@de5476e76587 test]# PATH=..:$PATH main.py Done [root@de5476e76587 test]# mv ../main.py . [root@de5476e76587 test]# cd .. [root@de5476e76587 ~]# PATH=$PWD/test:$PATH main.py I'm a bad module doing bad stuff to good people. Done [root@de5476e76587 ~]# ```
* | config/rifle.conf: list/extract archives without atoolhut2017-04-231-3/+10
| |
* | setup.py: Make executables executablenfnty2017-04-121-4/+26
| |
* | config/rc.conf: Properly set `preview_script` by defaultnfnty2017-04-123-6/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Multiple users have complained about having problems with the way `scope.sh` sourcing is handled: * When running in clean mode * When wanting to run with the default config * When having non-default `$XDG_CONFIG_HOME` Lays groundwork for further default setting handling in the future. Fixes #840 Fixes #849 Closes #853
* | core.fm: confpath, datapath: Be strict about clean modenfnty2017-04-122-35/+42
| | | | | | | | Fixes #848