Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 4 | -11/+14 |
| | | | | | | 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 | 4 | -4/+102 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 |
| | |||||
* | Removed unused logging helper function | ael-code | 2016-11-25 | 1 | -35/+0 |
| | |||||
* | Merge branch 'automatic-cd-osx' of https://github.com/arshiamufti/ranger | hut | 2016-11-04 | 1 | -0/+2 |
|\ | |||||
| * | Add correct path to ranger on OS X | Arshia Mufti | 2016-09-06 | 1 | -0/+2 |
| | | |||||
* | | 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. | ||||
* | | | Merge branch 'urxvt_preview' of https://github.com/Vifon/ranger | hut | 2016-11-04 | 1 | -6/+20 |
|\ \ \ | |||||
| * | | | urxvt previews: Allow the preview maximization | Wojciech Siewierski | 2016-10-11 | 1 | -6/+20 |
| |/ / | |||||
* | | | added comments to code from 9361c51 (#693) | hut | 2016-11-04 | 2 | -2/+6 |
| | | | |||||
* | | | Merge branch 'master' of https://github.com/valoq/ranger | hut | 2016-11-04 | 2 | -2/+5 |
|\ \ \ | |||||
| * | | | fixed 7z crash | valoq | 2016-10-23 | 2 | -2/+5 |
| |/ / | |||||
* | | | Merge branch 'statusbar_percentage_crashes' of ↵ | hut | 2016-11-04 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | | | | | https://github.com/richboss/ranger | ||||
| * | | | fix issue #679: Statusbar percentage crashes on python 2.6.6 | Richard Boß | 2016-10-24 | 1 | -1/+1 |
| |/ / | |||||
* | | | Merge branch 'windows_line_endings' of https://github.com/richboss/ranger | hut | 2016-11-04 | 1 | -1/+1 |
|\ \ \ | |||||
| * | | | fix issue #698: replace Windows line endings with Unix line endings | Richard Boß | 2016-10-25 | 1 | -1/+1 |
| |/ / | |||||
* | | | ext.vcs.vcs: code deduplication | hut | 2016-11-04 | 2 | -16/+43 |
| | | | |||||
* | | | code deduplication | hut | 2016-11-04 | 2 | -9/+9 |
| | | | |||||
* | | | Merge branch 'subprocess_check_output' of https://github.com/richboss/ranger | hut | 2016-11-04 | 2 | -3/+16 |
|\ \ \ | |||||
| * | | | fix argument order | Richard Boß | 2016-10-25 | 2 | -2/+2 |
| | | | | |||||
| * | | | fix issue #695: FileInfo Linemode crashes Ranger on Python 2.6 | Richard Boß | 2016-10-24 | 2 | -3/+16 |
| |/ / | | | | | | | | | | | | | - 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 |
| | | | |||||
* | | | VCS: Handle exceptions | nfnty | 2016-10-31 | 1 | -9/+14 |
|/ / | |||||
* | | Fix the urxvt preview documentation | Wojciech Siewierski | 2016-10-08 | 4 | -8/+8 |
| | | |||||
* | | Implement the urxvt-based image previews | Wojciech Siewierski | 2016-10-05 | 7 | -12/+132 |
|/ | |||||
* | manpage: rebuild | hut | 2016-09-03 | 2 | -27/+20 |
| | |||||
* | manpage: Document how to escape macros | hut | 2016-09-03 | 2 | -2/+6 |
| | |||||
* | Revert "Add github issue/PR templates" | hut | 2016-08-27 | 2 | -14/+0 |
| | | | | This reverts commit 0757fe98dcb238133dcac664c972bdecb7b78b65. | ||||
* | Add github issue/PR templates | hut | 2016-08-27 | 2 | -0/+14 |
| | |||||
* | Merge branch 'open_terminal_with_options' of https://github.com/Vifon/ranger | hut | 2016-08-26 | 3 | -14/+18 |
|\ | |||||
| * | Refactor and improve the TERMCMD handling | Wojciech Siewierski | 2016-06-30 | 3 | -14/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge branch 'anomalous-backslash-in-string' of ↵ | hut | 2016-08-26 | 1 | -1/+1 |
|\ \ | | | | | | | | | | https://github.com/stepshal/ranger | ||||
| * | | gui.ansi: fix anomalous backslash in string. | stepshal | 2016-07-11 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'master' of https://github.com/nfnty/ranger | hut | 2016-08-26 | 5 | -75/+80 |
|\ \ \ | |||||
| * | | | VCS: Add _run rstrip_newline | nfnty | 2016-08-08 | 5 | -60/+64 |
| | | | | | | | | | | | | | | | | Ensure that only one newline is rstripped | ||||
| * | | | VCS: git: Fix log output containing control characters, Fixes #641 | nfnty | 2016-08-02 | 1 | -17/+18 |
| |/ / | |||||
* | | | Merge branch 'master' of https://github.com/nightsense/ranger | hut | 2016-08-26 | 1 | -1/+1 |
|\ \ \ | |||||
| * | | | add hash to escaped characters in shell commands | nightsense | 2016-08-06 | 1 | -1/+1 |
| |/ / | | | | | | | | | | | | | | | | This is required for shell commands to succeed with filenames that start with the hash character. The 'mv' command invoked by 'bulkrename', for instance, will fail with such files unless hashes are escaped. | ||||
* | | | Merge branch 'master2' of https://github.com/nightsense/ranger | hut | 2016-08-26 | 1 | -1/+1 |
|\ \ \ | |||||
| * | | | fix documentation typo | nightsense | 2016-08-15 | 1 | -1/+1 |
| |/ / | |||||
* | | | README: document more optional "dependencies" for scope.sh | hut | 2016-08-26 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | added these to the list: - pygmentize - acat - bsdtar - unrar | ||||
* | | | README: document commit d2f1817 (from PR #658) | hut | 2016-08-26 | 1 | -0/+1 |
| | | | |||||
* | | | Added preview option for odt, ods, odp and sxw files using odt2txt | Florian Sattler | 2016-08-26 | 1 | -0/+3 |
| | | | |||||
* | | | Revert "gui.displayable: more safe DisplayableContainer.replace_child" | hut | 2016-08-22 | 1 | -13/+3 |
| | | | | | | | | | | | | This reverts commit 8132885c2fbddc9e686f2285b307e28a1f29f2a7. | ||||
* | | | gui.displayable: more safe DisplayableContainer.replace_child | hut | 2016-08-21 | 1 | -3/+13 |
| | | |