summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
* container.settings: Log nonexistent `preview_script`nfnty2017-04-112-8/+5
| | | | Related to #849
* container.fsobject: Fix some issues with symlink stat handlingWojciech Siewierski2017-04-061-1/+1
| | | | | | | | | | In the file loading code, if the loaded file was a symlink, the last stored modification time of the real file (`self.stat`) was compared with the modification time of the symlink (`real_ctime`). It was leading to some subtle issues. The most visible result of this bug was a flickering image preview of the symlinked images. The bug was introduced in ec5dfcb1cb0f549fea3ecf7b0505f02e197887b2.
* config: Disable `cd_tab_smart` by defaultnfnty2017-03-261-1/+1
|
* commands: cd: Implement smart tab completion with less typingnfnty2017-03-266-47/+120
| | | | Thanks to @nanuda for the first implementation and inspiration.
* doc: ranger: Reorder some settingsnfnty2017-03-192-18/+18
|
* commands: Add setting for cd tab completion case sensitivityDmitry Kryukov2017-03-195-2/+29
|
* Add ability to save/restore tabsVitaly Belman2017-03-197-2/+40
| | | | | Fixes #502 Closes #505
* core.main: Add support for `file://` URIs as path argumentsnfnty2017-03-181-1/+4
| | | | Fixes #836
* core.main: Use `PWD` as starting path cwd if availablenfnty2017-03-181-1/+1
| | | | | | Prevents dereferencing symlinks on startup. Fixes #837
* gui.curses_shortcuts: Fix handling of strings for `add*` functionsnfnty2017-03-181-3/+3
| | | | Fixes #833
* Improve error message for some commands when called without argsSamuel Walladge2017-03-152-6/+19
| | | | | | | | | Commands improved: * `change_mode` * `flat` * `chain` * `chmod` * All `map` commands
* :cd tab completion again considers the whole lineWojciech Siewierski2017-03-121-2/+2
| | | | Important when the directory name contains spaces.
* config.commands.cd.tab: Now tab works fine with '-r'강동훈(DongHoon Kang)2017-03-121-3/+9
| | | | | cd tab completion didn't work in the presence of real path argument '-r'. Fixed that.
* data/scope.sh: highlight: Replace tabs with spacesnfnty2017-03-101-1/+3
|
* rc.conf: Map F2 to :renameWojciech Siewierski2017-02-261-0/+1
| | | | | | | | F2 is commonly used for renaming in various file managers. Since we support the other F-keys in a manner similar to Midnight Commander, mapping F2 to rename makes sense too. Closes #818.
* gui.widgets.console.Console: Don't crash when parsing corrupt history filenfnty2017-02-251-2/+6
| | | | Fixes #817
* core.main: `--version`: Report Python version and localenfnty2017-02-193-10/+15
| | | | | | Makes issue reporting easier. Fixes #812
* Beta release 1.9.0b5 v1.9.0b5nfnty2017-02-195-5/+5
|
* doc: howto-publish-a-release: Add tag stepsnfnty2017-02-191-1/+2
|
* setup.py: Add `keywords` and `classifiers`nfnty2017-02-191-0/+22
|
* Move license from `AUTHORS` to `LICENSE`nfnty2017-02-182-690/+675
|
* doc/howto-publish-a-release: Use `*` for bullet listsnfnty2017-02-171-29/+29
|
* settings: Allow any capitalization of `RANGER_LOAD_DEFAULT_RC`nfnty2017-02-162-2/+2
| | | | Fixes #810
* doc: man: Clarify config sourcingnfnty2017-02-163-26/+20
|
* linting: pylint: `sys.stdout.buffer.write`: Fix `no-member`nfnty2017-02-141-1/+1
|
* ext.img_display.Iterm2ImageDisplayer.draw: Fix `TypeError`nfnty2017-02-141-1/+5
| | | | Fixes #807
* setup.py: Fix Travis CI pylint errornfnty2017-02-111-1/+1
|
* setup.py: Use distutils by defaultnfnty2017-02-112-5/+5
| | | | Fixes #805
* gui.ansi.char_slice: Widestring awarenfnty2017-02-101-4/+6
| | | | | | Fix Python 2 widestrings being cut off Fixes #164
* ranger.VERSION: Change to `master`nfnty2017-02-101-1/+1
|
* Beta release 1.9.0b4 v1.9.0b4nfnty2017-02-105-6/+6
|
* ranger.VERSION: Change to `master`nfnty2017-02-101-1/+1
|
* Beta release 1.9.0b3 v1.9.0b3nfnty2017-02-105-6/+6
|
* doc/howto-publish-a-release: Change to markdownnfnty2017-02-102-39/+49
|
* release docs: Add PyPI releasenfnty2017-02-101-4/+16
|
* Makefile: Add help for different testsnfnty2017-02-101-13/+19
|
* ranger.VERSION: Change to `master`nfnty2017-02-101-1/+1
|
* Beta release 1.9.0b2 v1.9.0b2nfnty2017-02-105-6/+6
|
* setup.py: Minor changesnfnty2017-02-101-12/+11
|
* README: Change version formatnfnty2017-02-101-1/+1
|
* ranger.VERSION: Change to `master`nfnty2017-02-101-1/+1
|
* Beta release 1.9.0b1 v1.9.0b1nfnty2017-02-106-7/+7
|