about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* container.fsobject: satisfy pylinthut2017-07-161-1/+1
|
* widgets.statusbar: add visual indicator for "freeze_files" optionhut2017-07-164-1/+13
|
* add "F" key to toggle new "freeze_files" optionhut2017-07-167-3/+34
| | | | | | | | | Excerpt from man page: Toggle "freeze_files" setting. When active, directories and files will not be loaded, improving performance when all the files you need are already loaded. This does not affect file previews, which can be toggled with "zI".
* .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
| |
?id=1cc33cc4915b04d08604d959ff3286a753bfc813'>1cc33cc4 ^
07308673 ^
ae9ef75b ^
94bcf188 ^

07308673 ^
94bcf188 ^
1cc33cc4 ^
07308673 ^
ae9ef75b ^
94bcf188 ^

07308673 ^
94bcf188 ^
1cc33cc4 ^
07308673 ^
ae9ef75b ^
94bcf188 ^

07308673 ^
94bcf188 ^
1cc33cc4 ^
07308673 ^
ae9ef75b ^
94bcf188 ^

07308673 ^
94bcf188 ^
1cc33cc4 ^
07308673 ^
ae9ef75b ^
94bcf188 ^

07308673 ^
94bcf188 ^
1cc33cc4 ^
07308673 ^
ae9ef75b ^
94bcf188 ^

07308673 ^
3a22719b ^
8bdab23e ^
3a22719b ^
07308673 ^
ae9ef75b ^
3a22719b ^

07308673 ^
3a22719b ^
8bdab23e ^
3a22719b ^
07308673 ^
ae9ef75b ^
3a22719b ^

07308673 ^
d239a127 ^


07308673 ^




ae9ef75b ^

d239a127 ^

07308673 ^
d239a127 ^


07308673 ^




ae9ef75b ^

d239a127 ^

07308673 ^
d239a127 ^


07308673 ^




ae9ef75b ^

d239a127 ^

07308673 ^
d239a127 ^


07308673 ^




ae9ef75b ^

94bcf188 ^
e263e00a ^







ae9ef75b ^

e263e00a ^








ae9ef75b ^

1c5efaeb ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214