about summary refs log tree commit diff stats
path: root/ranger/core
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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
|\ \
| * | Make at least two spaces before inline commentstepshal2016-06-192-6/+6
| |/
* | Merge branch 'membership' of https://github.com/stepshal/rangerhut2016-06-213-5/+5
|\ \
| * | test for membership should be 'not in'stepshal2016-06-193-5/+5
| |/
* | Merge branch 'comparison' of https://github.com/stepshal/rangerhut2016-06-211-2/+2
|\ \
| * | comparison to None should be 'if cond is None:'stepshal2016-06-191-2/+2
| |/
* | Merge branch 'comparison1' of https://github.com/stepshal/rangerhut2016-06-211-3/+3
|\ \
| * | Comparison to True/False should be 'if cond is True/False:' or 'if not cond:'.stepshal2016-06-191-3/+3
| |/
* | core.loader: removed redundant `.readlines()`hut2016-06-211-1/+1
| | | | | | | | Thanks to @Vifon for pointing it out
* | Merge branch 'ambiguous' of https://github.com/stepshal/rangerhut2016-06-211-3/+3
|\ \
| * | Change ambiguous variable name 'l' to 'L'stepshal2016-06-201-3/+3
| |/
* | Merge branch 'E251' of https://github.com/stepshal/rangerhut2016-06-211-1/+1
|\ \
| * | Remove unexpected spaces around keyword / parameter equalsstepshal2016-06-191-1/+1
| |/
* | core.loader: added docstring to Loader classhut2016-06-211-0/+3
| |
* | core.loader: added signals 'loader.{before,after,destroy}'hut2016-06-211-0/+3
|/
* Merge branch 'whitespaces' of https://github.com/stepshal/rangerhut2016-06-181-1/+1
|\
| * Fix whitespacesstepshal2016-06-161-1/+1
| |
* | Merge branch 'reduntant' of https://github.com/stepshal/rangerhut2016-06-181-3/+0
|\ \
| * | Remove reduntant blank linesstepshal2016-06-161-3/+0
| |/