Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Fixed trailing space bug in config parsing. | Vlad | 2016-11-15 | 1 | -1/+1 | |
| |/ | ||||||
* | | Move startup log calls in main function | ael-code | 2016-11-25 | 2 | -5/+5 | |
| | | ||||||
* | | Added some useful debugging message | ael-code | 2016-11-25 | 2 | -5/+18 | |
| | | ||||||
* | | Update all the log calls | ael-code | 2016-11-25 | 3 | -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 logs | ael-code | 2016-11-25 | 3 | -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 option | ael-code | 2016-11-25 | 1 | -0/+2 | |
| | | ||||||
* | | Removed unused nested function in FM class | ael-code | 2016-11-25 | 1 | -2/+0 | |
|/ | ||||||
* | Merge branch 'preview_method_set_fix' of https://github.com/Vifon/ranger | hut | 2016-11-04 | 1 | -1/+8 | |
|\ | ||||||
| * | Update the image preview method upon setting it in runtime | Wojciech Siewierski | 2016-10-10 | 1 | -1/+8 | |
| | | | | | | | | | | Previously the displayer was not changed after the initialization, so only the value read from rc.conf was used. | |||||
* | | code deduplication | hut | 2016-11-04 | 1 | -8/+2 | |
| | | ||||||
* | | Merge branch 'subprocess_check_output' of https://github.com/richboss/ranger | hut | 2016-11-04 | 1 | -2/+9 | |
|\ \ | ||||||
| * | | fix argument order | Richard Boß | 2016-10-25 | 1 | -1/+1 | |
| | | | ||||||
| * | | fix issue #695: FileInfo Linemode crashes Ranger on Python 2.6 | Richard Boß | 2016-10-24 | 1 | -2/+9 | |
| |/ | | | | | | | | | - replaced calls to subprocess.check_output by code downported from Python 2.7 | |||||
* | | Increase `fm.log` maxlen | nfnty | 2016-10-31 | 1 | -1/+1 | |
| | | ||||||
* | | Always extend left side of `fm.log` | nfnty | 2016-10-31 | 2 | -8/+7 | |
|/ | ||||||
* | Implement the urxvt-based image previews | Wojciech Siewierski | 2016-10-05 | 1 | -0/+4 | |
| | ||||||
* | Merge branch 'open_terminal_with_options' of https://github.com/Vifon/ranger | hut | 2016-08-26 | 1 | -6/+2 | |
|\ | ||||||
| * | Refactor and improve the TERMCMD handling | Wojciech Siewierski | 2016-06-30 | 1 | -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 plugins | hut | 2016-07-04 | 1 | -2/+10 | |
| | | ||||||
* | | container.settings: use constants for `setopt` signal priorities | hut | 2016-07-04 | 1 | -1/+3 | |
|/ | ||||||
* | Fix misspellings | stepshal | 2016-06-26 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'whitespace' of https://github.com/stepshal/ranger | hut | 2016-06-25 | 3 | -4/+4 | |
|\ | ||||||
| * | Add missing whitespaces around arithmetic operators | stepshal | 2016-06-22 | 3 | -4/+4 | |
| | | ||||||
* | | Reintroduce some changes from cbe0062 after reverting it | Wojciech Siewierski | 2016-06-22 | 1 | -0/+1 | |
| | | ||||||
* | | Revert "use importlib to load pugins, and try to load commands from them" | Wojciech Siewierski | 2016-06-22 | 1 | -3/+1 | |
|/ | | | | | | This reverts commit cbe0062dfe75b50be1eecf7501d5331d07701d37. It was breaking the compatibility with Python 2.6. | |||||
* | Use 'except Exception:' instead of 'except:' | stepshal | 2016-06-22 | 6 | -30/+30 | |
| | ||||||
* | Put colon-separated compound statement on separate lines. | stepshal | 2016-06-21 | 2 | -5/+10 | |
| | ||||||
* | Merge branch 'whitespace' of https://github.com/stepshal/ranger | hut | 2016-06-21 | 1 | -4/+4 | |
|\ | ||||||
| * | Remove whitespace in blank lines | stepshal | 2016-06-19 | 1 | -4/+4 | |
| | | ||||||
* | | Merge branch 'backslash' of https://github.com/stepshal/ranger | hut | 2016-06-21 | 4 | -10/+10 | |
|\ \ | ||||||
| * | | Remove reduntant backslash between brackets. | stepshal | 2016-06-19 | 4 | -10/+10 | |
| |/ | ||||||
* | | Merge branch 'comment' of https://github.com/stepshal/ranger | hut | 2016-06-21 | 2 | -6/+6 | |
|\ \ | ||||||
| * | | Make at least two spaces before inline comment | stepshal | 2016-06-19 | 2 | -6/+6 | |
| |/ | ||||||
* | | Merge branch 'membership' of https://github.com/stepshal/ranger | hut | 2016-06-21 | 3 | -5/+5 | |
|\ \ | ||||||
| * | | test for membership should be 'not in' | stepshal | 2016-06-19 | 3 | -5/+5 | |
| |/ | ||||||
* | | Merge branch 'comparison' of https://github.com/stepshal/ranger | hut | 2016-06-21 | 1 | -2/+2 | |
|\ \ | ||||||
| * | | comparison to None should be 'if cond is None:' | stepshal | 2016-06-19 | 1 | -2/+2 | |
| |/ | ||||||
* | | Merge branch 'comparison1' of https://github.com/stepshal/ranger | hut | 2016-06-21 | 1 | -3/+3 | |
|\ \ | ||||||
| * | | Comparison to True/False should be 'if cond is True/False:' or 'if not cond:'. | stepshal | 2016-06-19 | 1 | -3/+3 | |
| |/ | ||||||
* | | core.loader: removed redundant `.readlines()` | hut | 2016-06-21 | 1 | -1/+1 | |
| | | | | | | | | Thanks to @Vifon for pointing it out | |||||
* | | Merge branch 'ambiguous' of https://github.com/stepshal/ranger | hut | 2016-06-21 | 1 | -3/+3 | |
|\ \ | ||||||
| * | | Change ambiguous variable name 'l' to 'L' | stepshal | 2016-06-20 | 1 | -3/+3 | |
| |/ | ||||||
* | | Merge branch 'E251' of https://github.com/stepshal/ranger | hut | 2016-06-21 | 1 | -1/+1 | |
|\ \ | ||||||
| * | | Remove unexpected spaces around keyword / parameter equals | stepshal | 2016-06-19 | 1 | -1/+1 | |
| |/ | ||||||
* | | core.loader: added docstring to Loader class | hut | 2016-06-21 | 1 | -0/+3 | |
| | | ||||||
* | | core.loader: added signals 'loader.{before,after,destroy}' | hut | 2016-06-21 | 1 | -0/+3 | |
|/ | ||||||
* | Merge branch 'whitespaces' of https://github.com/stepshal/ranger | hut | 2016-06-18 | 1 | -1/+1 | |
|\ | ||||||
| * | Fix whitespaces | stepshal | 2016-06-16 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch 'reduntant' of https://github.com/stepshal/ranger | hut | 2016-06-18 | 1 | -3/+0 | |
|\ \ | ||||||
| * | | Remove reduntant blank lines | stepshal | 2016-06-16 | 1 | -3/+0 | |
| |/ |