about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | ext.spawn: Refactornfnty2016-12-184-57/+42
| | | | | | | | | | | | | | | | | | | | Rename `spawn` to `check_output` Mimic `subprocess.check_output`
* | | | ext.vcs: Improve loggingnfnty2016-12-211-6/+12
|/ / /
* | | 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
| |/ / /
* | | | Expose logging facilities to commandsael-code2016-11-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All the subclass of the Command class can now use the the class object `Command.log` for logging pourposes. This is a standard `logging.Logger` instance, thus the standard logging api must be used. Example: ``` class dummy_cmd(Command): def execute(self): self.log.info("the dummy command has been invoked") ```
* | | | 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-254-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 logsael-code2016-11-254-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 optionael-code2016-11-251-0/+2
| | | |
* | | | Removed unused nested function in FM classael-code2016-11-251-2/+0
| | | |
* | | | Removed unused logging helper functionael-code2016-11-251-35/+0
|/ / /
* | | Merge branch 'automatic-cd-osx' of https://github.com/arshiamufti/rangerhut2016-11-041-0/+2
|\ \ \ | |_|/ |/| |
| * | Add correct path to ranger on OS XArshia Mufti2016-09-061-0/+2
| | |
* | | 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.
* | | | Merge branch 'urxvt_preview' of https://github.com/Vifon/rangerhut2016-11-041-6/+20
|\ \ \ \
| * | | | urxvt previews: Allow the preview maximizationWojciech Siewierski2016-10-111-6/+20
| |/ / /
* | | | added comments to code from 9361c51 (#693)hut2016-11-042-2/+6
| | | |
* | | | Merge branch 'master' of https://github.com/valoq/rangerhut2016-11-042-2/+5
|\ \ \ \
| * | | | fixed 7z crashvaloq2016-10-232-2/+5
| |/ / /
* | | | Merge branch 'statusbar_percentage_crashes' of ↵hut2016-11-041-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | https://github.com/richboss/ranger
| * | | | fix issue #679: Statusbar percentage crashes on python 2.6.6Richard Boß2016-10-241-1/+1
| |/ / /
* | | | Merge branch 'windows_line_endings' of https://github.com/richboss/rangerhut2016-11-041-1/+1
|\ \ \ \
| * | | | fix issue #698: replace Windows line endings with Unix line endingsRichard Boß2016-10-251-1/+1
| |/ / /
* | | | ext.vcs.vcs: code deduplicationhut2016-11-042-16/+43
| | | |
* | | | code deduplicationhut2016-11-042-9/+9
| | | |
* | | | Merge branch 'subprocess_check_output' of https://github.com/richboss/rangerhut2016-11-042-3/+16
|\ \ \ \
| * | | | fix argument orderRichard Boß2016-10-252-2/+2
| | | | |
| * | | | fix issue #695: FileInfo Linemode crashes Ranger on Python 2.6Richard Boß2016-10-242-3/+16
| |/ / / | | | | | | | | | | | | | | | | - 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
| | | |
* | | | VCS: Handle exceptionsnfnty2016-10-311-9/+14
|/ / /
* | | Fix the urxvt preview documentationWojciech Siewierski2016-10-084-8/+8
| | |
* | | Implement the urxvt-based image previewsWojciech Siewierski2016-10-057-12/+132
|/ /
* | manpage: rebuildhut2016-09-032-27/+20
| |
* | manpage: Document how to escape macroshut2016-09-032-2/+6
| |
* | Revert "Add github issue/PR templates"hut2016-08-272-14/+0
| | | | | | | | This reverts commit 0757fe98dcb238133dcac664c972bdecb7b78b65.
* | Add github issue/PR templateshut2016-08-272-0/+14
| |
* | Merge branch 'open_terminal_with_options' of https://github.com/Vifon/rangerhut2016-08-263-14/+18
|\ \
| * | Refactor and improve the TERMCMD handlingWojciech Siewierski2016-06-303-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 ↵hut2016-08-261-1/+1
|\ \ \ | | | | | | | | | | | | https://github.com/stepshal/ranger
| * | | gui.ansi: fix anomalous backslash in string.stepshal2016-07-111-1/+1
| | | |
* | | | Merge branch 'master' of https://github.com/nfnty/rangerhut2016-08-265-75/+80
|\ \ \ \
| * | | | VCS: Add _run rstrip_newlinenfnty2016-08-085-60/+64
| | | | | | | | | | | | | | | | | | | | Ensure that only one newline is rstripped
| * | | | VCS: git: Fix log output containing control characters, Fixes #641nfnty2016-08-021-17/+18
| |/ / /
* | | | Merge branch 'master' of https://github.com/nightsense/rangerhut2016-08-261-1/+1
|\ \ \ \