summary refs log tree commit diff stats
path: root/ranger
Commit message (Collapse)AuthorAgeFilesLines
* 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 '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-081-1/+1
|
* Implement the urxvt-based image previewsWojciech Siewierski2016-10-054-2/+76
|
* 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
|\ \ \
| * | | add hash to escaped characters in shell commandsnightsense2016-08-061-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.
* | | Added preview option for odt, ods, odp and sxw files using odt2txtFlorian Sattler2016-08-261-0/+3
| | |
* | | Revert "gui.displayable: more safe DisplayableContainer.replace_child"hut2016-08-221-13/+3
| | | | | | | | | | | | This reverts commit 8132885c2fbddc9e686f2285b307e28a1f29f2a7.
* | | gui.displayable: more safe DisplayableContainer.replace_childhut2016-08-211-3/+13
| | |
* | | Merge branch 'fix/cursor-on-viewmode-change' of https://github.com/Enzime/rangerhut2016-08-212-7/+13
|\ \ \
| * | | Fix cursor being lost when changing viewmodesMichael Hoang2016-08-212-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This results from finalize being called in order for the widgets. Previously when ranger changed viewmodes, it would delete then readd the widget object which meant that the finalize for the viewmode was called last instead of before console, which meant the finalize of the viewmode was setting and overriding the cursor position.
* | | | Fix full folder size being shown incorrectlyMichael Hoang2016-08-211-1/+1
|/ / / | | | | | | | | | | | | The full size is only shown when ALL files (hidden or filtered) are selected.
* | | Remove incorrect part of conditionalMichael Hoang2016-08-201-3/+2
| | | | | | | | | | | | | | | The incorrect part of the conditional is already covered correctly in has_preview(), so it is redundant and can be removed.
* | | rc.conf: Fix map for `r` (open_with command)Shotaro Fujimoto2016-08-041-1/+1
|/ /
* | Command chaining now handles semicolon whitespace.The Flying Rapist2016-07-101-1/+1
| |
* | Merge branch 'document-scout-flag-r' of https://github.com/nevimov/rangerhut2016-07-051-0/+1
|\ \
| * | Document -r flag for scout commandnevimov2016-06-271-0/+1
| | | | | | | | | | | | | | | The default rc.conf uses 'scout' with the '-r' flag in several places, but the flag isn't documented.
* | | use importlib on py2.7+ to fix loading commands from pluginshut2016-07-041-2/+10
| | |
* | | container.settings: use constants for `setopt` signal prioritieshut2016-07-043-4/+18
| | |
* | | widgets.view_miller: fix `set column_ratios ...`hut2016-07-041-1/+2
| |/ |/| | | | | the view was rebuilt *before* the setting was changed, not *after*