summary refs log tree commit diff stats
path: root/ranger/core
Commit message (Collapse)AuthorAgeFilesLines
...
* Python 3 division: Remove explicit float conversionsnfnty2017-01-211-3/+3
|
* Python 3 division: Import `division` from `__future__`nfnty2017-01-219-9/+9
|
* linting: Correct autopep8nfnty2017-01-185-73/+71
| | | | Allow bad whitespace in special circumstances
* linting: pylint 2.0.0nfnty2017-01-176-28/+25
|
* linting: Enable `attribute-defined-outside-init`nfnty2017-01-172-1/+5
|
* linting: Enable `access-member-before-definition`nfnty2017-01-172-3/+3
|
* linting: `ranger.core.runner.Context`: Init all attributesnfnty2017-01-171-5/+13
|
* linting: Do not convert arguments to `OpenStruct`nfnty2017-01-173-67/+68
|
* linting: Python 2 compat: Import from `__future__`nfnty2017-01-179-1/+19
|
* linting: Python 2 compatnfnty2017-01-172-29/+30
|
* linting: pylint and flake8nfnty2017-01-179-280/+309
|
* linting: autopep8nfnty2017-01-178-123/+128
|
* core/actions.py: search_file: Do not use `re.LOCALE`nfnty2017-01-151-1/+1
| | | | | | | | Caught by pylint. Continuation of bf36701d3b2cef579d89eb912aa3945de7a7f978 Fixes #664 Fixes #752
* ext.spawn: Refactornfnty2016-12-181-2/+2
| | | | | Rename `spawn` to `check_output` Mimic `subprocess.check_output`
* Merge branch 'fix_docstring_move' of https://github.com/ael-code/rangerhut2016-12-051-1/+1
|\
| * typo fix in move function docstringael-code2016-11-091-1/+1
| |
* | Merge branch 'trailing_space_fix' of https://github.com/vlad7777/rangerhut2016-12-051-1/+1
|\ \
| * | Refactored.Vlad2016-11-171-1/+1
| | |
| * | Fixed trailing space bug in config parsing.Vlad2016-11-151-1/+1
| |/
* | Move startup log calls in main functionael-code2016-11-252-5/+5
| |
* | Added some useful debugging messageael-code2016-11-252-5/+18
| |
* | Update all the log callsael-code2016-11-253-8/+10
| | | | | | | | | | | | All the log calls that were using the old logging approach (appending to FileManager.log queue) will now use the standard logging library of python. Proper log levels have been choosed for each call
* | Make use of standard logging library to handle logsael-code2016-11-253-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The goal is to provide an easy api to log stuff and a straigthforward way of inspect them. This has been achieved using the standard logging library. The default behaviour is pretty similar to the old one, in the sense that all the the produced logs will be collected in a queue that can be inspected with the curses log viewer (`display_log` command). Moreover the `--logfile` cli option has been added and it can be used to specifya destination file for all the logs in such a way that the same log can be viewed at runtime as well as inspected after a program crash. The verbosity and the format of the log message is controlled by the already existent `--debug` command line flag: - Normal mode: A concise log format will be used and only important message will be logged (log level > INFO) Example: ``` [INFO] Ranger version 1.7.2 [INFO] Running on Python 3.5.2 (default, Jun 28 2016, 08:46:01) [GCC 6.1.1 20160602] [INFO] Process ID is 1497 ``` - Debug mode: An extended log format will be used and all the message will be logged. Example: ``` 23:17:43,719 [ranger.core.main] |INFO| Ranger version 1.7.2 23:17:43,719 [ranger.core.main] |INFO| Running on Python 3.5.2 (default, Jun 28 2016, 08:46:01) [GCC 6.1.1 20160602] 23:17:43,719 [ranger.core.main] |INFO| Process ID is 1515 23:17:43,720 [ranger.core.main] |DEBUG| config dir: '/home/groucho/.config/ranger' 23:17:43,720 [ranger.core.main] |DEBUG| cache dir: '/home/groucho/.cache/ranger' 23:17:43,738 [ranger.core.actions] |DEBUG| Sourcing config file '/path/to/ranger/config/rc.conf' ``` fixes #713
* | cli: added logfile optionael-code2016-11-251-0/+2
| |
* | Removed unused nested function in FM classael-code2016-11-251-2/+0
|/
* Merge branch 'preview_method_set_fix' of https://github.com/Vifon/rangerhut2016-11-041-1/+8
|\
| * Update the image preview method upon setting it in runtimeWojciech Siewierski2016-10-101-1/+8
| | | | | | | | | | Previously the displayer was not changed after the initialization, so only the value read from rc.conf was used.
* | code deduplicationhut2016-11-041-8/+2
| |
* | Merge branch 'subprocess_check_output' of https://github.com/richboss/rangerhut2016-11-041-2/+9
|\ \
| * | fix argument orderRichard Boß2016-10-251-1/+1
| | |
| * | fix issue #695: FileInfo Linemode crashes Ranger on Python 2.6Richard Boß2016-10-241-2/+9
| |/ | | | | | | | | - replaced calls to subprocess.check_output by code downported from Python 2.7
* | Increase `fm.log` maxlennfnty2016-10-311-1/+1
| |
* | Always extend left side of `fm.log`nfnty2016-10-312-8/+7
|/
* Implement the urxvt-based image previewsWojciech Siewierski2016-10-051-0/+4
|
* Merge branch 'open_terminal_with_options' of https://github.com/Vifon/rangerhut2016-08-261-6/+2
|\
| * Refactor and improve the TERMCMD handlingWojciech Siewierski2016-06-301-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now only the first token of TERMCMD needs to exist in PATH. Previously the whole value was checked, which could contain additional parameters. The check and term guessing were performed in two places. Now it's done by the get_term() function to reduce the code duplication. In that function the second check was indented one level deeper (relative to the original code). Keeping both checks on the same level, while visually pleasing, was conveying the wrong message. One never wants to perform the second check if the first one fails. Nesting shouldn't be a problem: if the nesting will need to be any deeper than this, this code will need to be refactored anyway. Fixes #613.
* | use importlib on py2.7+ to fix loading commands from pluginshut2016-07-041-2/+10
| |
* | container.settings: use constants for `setopt` signal prioritieshut2016-07-041-1/+3
|/
* Fix misspellingsstepshal2016-06-261-1/+1
|
* Merge branch 'whitespace' of https://github.com/stepshal/rangerhut2016-06-253-4/+4
|\
| * Add missing whitespaces around arithmetic operatorsstepshal2016-06-223-4/+4
| |
* | Reintroduce some changes from cbe0062 after reverting itWojciech Siewierski2016-06-221-0/+1
| |
* | Revert "use importlib to load pugins, and try to load commands from them"Wojciech Siewierski2016-06-221-3/+1
|/ | | | | | This reverts commit cbe0062dfe75b50be1eecf7501d5331d07701d37. It was breaking the compatibility with Python 2.6.
* Use 'except Exception:' instead of 'except:'stepshal2016-06-226-30/+30
|
* Put colon-separated compound statement on separate lines.stepshal2016-06-212-5/+10
|
* Merge branch 'whitespace' of https://github.com/stepshal/rangerhut2016-06-211-4/+4
|\
| * Remove whitespace in blank linesstepshal2016-06-191-4/+4
| |
* | Merge branch 'backslash' of https://github.com/stepshal/rangerhut2016-06-214-10/+10
|\ \
| * | Remove reduntant backslash between brackets.stepshal2016-06-194-10/+10
| |/
* | Merge branch 'comment' of https://github.com/stepshal/rangerhut2016-06-212-6/+6
|\ \