summary refs log tree commit diff stats
path: root/ranger.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix mktemp invocation to work on Mac OS X and LinuxJesse Byler2015-06-101-1/+1
| | | | | | | | | | | mktemp on Mac OS X (and probably all BSDs) just returns an error when invoked without any arguments. The -t option used in this change is interpreted differently on Mac OS X and Linux, and is deprecated on Linux, but this invocation works as expected on both. See discussion at https://unix.stackexchange.com/questions/30091 Another alternative would be to use Python's tempfile module: https://docs.python.org/2/library/tempfile.html
* ranger.py: fixed issues with $tempfile in embedded shellEiichi Sato2015-03-281-2/+2
| | | | | | | | | | | | Previously, $tempfile (namely, /tmp/chosendir) was not cleaned up correctly when the ranger process quit in `pwd` without moving to other directory. This causes permission errors in multi-user environments trying to overwrite $tempfile created by a different user. This commit solves the problem in two ways: - Correctly clean up temporary files - Avoid writing to the same temporary by using mktemp(1)
* Neater copyright headerhut2015-03-191-3/+2
|
* update email addresshut2014-12-111-1/+1
|
* Changed email address in source codehut2013-08-081-1/+1
| | | | | Since lavabit.com ceased providing email services, I had to change my address from hut lavabit com to hut lepus uberspace de.
* updated rest of the copyright noticeshut2013-02-221-1/+1
|
* update email address (romanz@lavabit.com -> hut@lavabit.com)hut2013-02-221-1/+1
|
* replaced tabs with 4 spaces in all python fileshut2013-02-101-3/+3
| | | | | | | | | PEP 8 (Style Guide for Python Code) suggests the use of 4 spaces: http://www.python.org/dev/peps/pep-0008/#indentation If you need to use tools like "git blame", you can use the -w option to ignore this commit entirely. Patches will continue to work if you substitute tabs with 4 spaces everywhere except in the Makefile.
* shorten all copyright messages for better readabilityhut2012-03-141-13/+1
|
* Updated copyright headershut2011-10-101-1/+1
| | | | As much as I hate this, it has to be done
* README: polished, removed INSTALLhut2011-10-051-5/+2
|
* ranger.py: made the argument optional in embedded bash scripthut2011-10-041-15/+16
|
* Fixed minor issue in ranger.pyhut2011-10-011-3/+3
|
* another correction of the bash wrapper scriptshut2011-09-281-1/+2
|
* shortened ranger.pyhut2011-09-281-6/+3
|
* sanitized bash wrapper scripts, reformulated BUGS section in manualhut2011-09-281-2/+2
|
* minor optimization in ranger.pyhut2011-09-281-6/+1
|
* improved bash wrappers in ranger.py and man pagehut2011-09-281-5/+7
|
* ranger.py: More reliable check for whether ./ranger.py is startedhut2011-05-071-1/+1
|
* ranger.py: minor change, more general exception handlinghut2011-04-051-1/+1
|
* improved ranger.pyhut2011-04-051-2/+10
|
* Polished ranger.pyhut2010-10-161-3/+3
|
* Small simplification of ranger.pyhut2010-09-291-3/+2
|
* Don't write any bytecode with --clean optionhut2010-09-291-0/+10
|
* ranger.py: Return 0 on success in embedded scripthut2010-09-221-1/+1
|
* simplify ranger.pyhut2010-09-221-25/+11
|
* ranger.py Fixed embedded shellscript (quotes for bash)hut2010-09-111-2/+2
|
* ranger.py: fixed escape in embedded shellscripthut2010-09-111-1/+1
|
* Changed default config dir to $XDG_CONFIG_HOME/rangerhut2010-08-281-1/+5
|
* main: catch SystemExit and return the exit valuehut2010-06-181-2/+3
|
* renamed "--fail-if-run" to the more accurate "--fail-unless-cd"hut2010-06-091-1/+1
| | | | The old name, --fail-if-run, is still valid and working.
* Reverted hashbang for ranger.py.hut2010-06-091-1/+1
| | | | | It causes an error here: /usr/bin/env: python -O: No such file or directory
* Changed hashbang line to "#!/usr/bin/env python"hut2010-06-091-1/+1
|
* Run python with flag "-O" by defaulthut2010-05-101-1/+1
| | | | | This will discard assert statements which are unnecessary for end users.
* Fixed bug #65 by adding flag "--fail-if-run"hut2010-04-261-1/+1
|
* ranger.py: removed whitespacehut2010-04-121-4/+0
|
* reverted a part of 45cf5174. Allow "source ranger ranger" againhut2010-04-011-8/+7
| | | | This is OK since it comes at almost no cost
* removed the cd-after-exit hackhut2010-03-291-13/+8
| | | | | | | | | Fear not. You still get the same functionality by using a function like: ranger() { $(which ranger) $@ && cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)" }
* ranger.__init__: don't implicitly import ranger.__main__hut2010-03-261-1/+1
|
* Changed license to the GNU General Public Licensehut2010-02-281-12/+14
|
* ranger.py: fixed cd-after-exit with spaces in directoryhut2010-02-241-1/+1
|
* ranger.py: removed unnecessary codehut2010-02-151-1/+1
|
* ranger.py: reverted cd-after-exit to the old wayhut2010-02-141-10/+1
| | | | | | | | This breaks cd-after-exit after Ctrl+C again, but enables compatibility with zsh which I prefer over the former. If you only use bash, you can safely revert this commit unless future changes make it break.
* ranger.py: more simple '--debug' flag checkhut2010-02-141-1/+1
|
* ranger.py: improved handling of bad importhut2010-01-261-1/+2
|
* ranger.py: more fixeshut2010-01-121-2/+2
|
* ranger.py: cleanup/fixhut2010-01-111-9/+8
|
* fixed #31, cd-after-exit works even after pressing ^Chut2010-01-111-1/+12
|
* added license informationhut2010-01-081-3/+17
|
* F1 key (inside console) for viewing information about the commandhut2009-12-291-1/+1
|
class='oid'>1d04c2a ^
8be59ca ^
5701b6e ^
1d04c2a ^
8be59ca ^


475b697 ^
887ff65 ^


475b697 ^
67fb093 ^
475b697 ^



7a489cb ^






36c6030 ^






67fb093 ^






2c486cb ^

1f52939 ^



577248f ^













29de329 ^
1f52939 ^


29de329 ^











f77d7c2 ^









577248f ^
8534720 ^



577248f ^


2a4dd5c ^
577248f ^

6c36e04 ^
887ff65 ^
6c36e04 ^

b0bf09b ^



2b3e123 ^
6c36e04 ^
67fb093 ^


6c36e04 ^


6c36e04 ^



6c36e04 ^

1d04c2a ^
6c36e04 ^

6c36e04 ^
8d9d94f ^
67fb093 ^



6c36e04 ^
67fb093 ^




6c36e04 ^
67fb093 ^









































92dc31b ^
6c36e04 ^
67fb093 ^
ceeb30a ^






67fb093 ^
29de329 ^



67fb093 ^

59df06f ^
29de329 ^






cef784b ^
29de329 ^



1d04c2a ^
29de329 ^

7899d15 ^


bb620e0 ^
7899d15 ^




6c36e04 ^
7899d15 ^
6c36e04 ^
29de329 ^
7899d15 ^
bb620e0 ^



























7899d15 ^













bb620e0 ^
cef784b ^


6c36e04 ^

7899d15 ^














c9a909f ^
7899d15 ^






























0ee7d30 ^



7899d15 ^

0ee7d30 ^















7899d15 ^






bb46b2b ^
bb46b2b ^
887ff65 ^

bb46b2b ^
29de329 ^
887ff65 ^



















a974027 ^
887ff65 ^



bb46b2b ^

f37508a ^














0a52124 ^










f4b7741 ^
0ceea02 ^
f4b7741 ^
0ceea02 ^



f4b7741 ^
0a52124 ^


f4b7741 ^











0a52124 ^


f4b7741 ^























67fb093 ^










bb46b2b ^




577248f ^
577248f ^














2a4dd5c ^














577248f ^
bb46b2b ^
2c486cb ^





bb46b2b ^




887ff65 ^
7899d15 ^
a669233 ^
7899d15 ^





bb46b2b ^

7899d15 ^
887ff65 ^






d851890 ^
887ff65 ^

7899d15 ^






887ff65 ^
bb46b2b ^



















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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698