summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fix crash in sha encode of previewsNathan Typanski2014-06-111-0/+3
| | | | | | | | | | | | | | | When opening certain filetypes, for which Ranger can't render a preview (they appear as 0 bytes), Ranger will crash on the sha1_encode: Traceback (most recent call last): File "~/ranger/ranger/core/main.py", line 139, in main cacheimg = os.path.join(ranger.CACHEDIR, self.sha1_encode(path)) File "~/ranger/ranger/core/actions.py", line 821, in sha1_encode sha1(path.encode('utf-8')).hexdigest()) + '.jpg' AttributeError: 'NoneType' object has no attribute 'encode' This solves that by checking at the beginning of get_preview() that `file.realpath` is not None, and returning early if it is None.
* added MATE edition of image and PDF viewerZoran Plesivčak2014-06-011-0/+3
|
* Fix cdpath commit, which was broken in several waysAbdo Roig-Maranges2014-05-031-9/+5
| | | | | | | | | | | | This fixes commit 04681ff7ceb8a as follows: - check when cdpath is None. Otherwise split fails on None objects and causes ranger to crashes when CDPATH is not set in the environment. - actually set cdpath variable in the lowercase case. Before it was not assigned to any variable. - join paths with os.path.join instead of concatenating with '/'.
* Merge remote-tracking branch 'perdu/CDPATH'hut2014-04-291-0/+12
|\
| * Handle CDPATHCélestin Matte2014-04-281-0/+12
| | | | | | | | | | | | This shell feature allows one to cd directly to remote directories located in paths defined in the variable. Allow handling of such variable in ranger. Compatible with: bash, ksh, zsh, csh, and possibly others.
* | Merge remote-tracking branch 'perdu/patch_editor'hut2014-04-281-3/+3
|\ \
| * | Allow $EDITOR to contain spacesCélestin Matte2014-04-281-3/+3
| |/ | | | | | | | | | | | | | | | | $EDITOR variables consisting of "program name + options" are not handled correctly because of quotes around $EDITOR. As a result, if $EDITOR is not a simple program name (i.e. if it includes options, as in "emacs -nw"), the full string is taken as a program and fails to run. Error message: (/bin/sh: 1: emacs -nw: not found) Removing quotes fixes this problem.
* / doc/ranger.1: Added more key bindings to the man pagehut2014-04-282-3/+93
|/
* core.actions: Enhanced :tab_new so you can type 5<C-n>hut2014-04-231-3/+4
|
* core.actions: Enhanced :tab_move so you can type 5gthut2014-04-231-1/+3
|
* Merge remote-tracking branch 'potato/fix'hut2014-04-231-1/+1
|\
| * Fix an erroneous function callEmanuel Guevel2014-04-131-1/+1
| |
* | Workaround in py3.4.0 for swapped x/y in curses addch()hut2014-04-232-2/+7
|/ | | | | See http://bugs.python.org/issue21088, https://github.com/hut/ranger/issues/122
* Turn "automatically_count_files" on by defaulthut2014-04-111-1/+1
|
* Merge remote-tracking branch 'taylorchu/master'hut2014-04-111-1/+4
|\
| * improve keyerror fixtaylorchu2014-04-051-1/+4
| |
| * fix keyerror when updated_preview is calledtaylorchu2014-04-051-1/+1
| |
* | rebuilt man pagehut2014-04-111-0/+8
| |
* | Add setting "automatically_count_files"hut2014-04-116-4/+27
| |
* | ext.img_display: fixed ImageDisplayer.quit when crashing in initializehut2014-03-191-1/+1
|/
* Merge remote-tracking branch 'germain/w3m-previews' into w3m-previewshut2014-03-127-6/+54
|\
| * Add extensionGermainZ2014-03-091-2/+4
| |
| * Python2 fix for utf-8 characters in file pathsGermainZ2014-03-091-1/+9
| |
| * Update rc.confGermainZ2014-03-091-1/+1
| |
| * Disable video image previews by defaultGermainZ2014-03-091-2/+3
| |
| * Allow scope.sh to be used for image previewsGermainZ2014-03-096-5/+42
| |
* | gui.widgets/taskview: Higher precision in progressbarhut2014-03-071-1/+1
| |
* | ext.img_display: fix misplacement of image in previous commithut2014-02-171-0/+3
| | | | | | | | Thanks to majutsushi, see https://github.com/hut/ranger/issues/109
* | ext.image_display: new _get_font_dimensions implementation (broken)hut2014-02-161-0/+9
| | | | | | | | | | | | | | | | | | | | | | This allows drawing of images in gnome_terminal and tmux. It is currently broken, since the image is drawn at the wrong place. Thanks to CasperVector, joehillen, majutsushi and progandy for the patch and corrections. See https://github.com/hut/ranger/issues/109 and https://savannah.nongnu.org/bugs/?40888
* | examples/vim_file_chooser: fixed redrawinghut2014-02-151-0/+1
| |
* | container.settings: sort ALLOWED_SETTINGS alphabeticallyhut2014-02-151-4/+4
| |
* | config/rc.conf: polishinghut2014-02-151-1/+1
| |
* | container.file: disable preview_max_size when value is 0hut2014-02-151-1/+2
| |
* | config/rc.conf: Added default value for preview_max_sizehut2014-02-151-0/+4
| |
* | doc/ranger.pod: Added man page entry for "preview_max_size" settinghut2014-02-151-0/+5
| |
* | Merge branch 'master' of https://github.com/punzik/rangerhut2014-02-152-0/+3
|\ \
| * | Add preview_max_size option.Nikolay Puzanov2013-12-032-0/+3
| | |
* | | Merge branch 'master' of https://github.com/pkkm/rangerhut2014-02-151-1/+1
|\ \ \
| * | | Strip leading whitespace when parsing configPaweł Kraśnicki2013-12-221-1/+1
| | | |
* | | | doc/ranger.pod: added man page entry for "cd_bookmarks" settinghut2014-02-151-0/+5
| | | |
* | | | Merge branch 'cd_bookmarks' of https://github.com/serpent7776/rangerhut2014-02-153-1/+6
|\ \ \ \
| * | | | Added setting to specify whether bookmarks are included in tab-complete for ↵serpent77762014-01-313-1/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | cd command Because this feature really annoyed me.
* | | | Merge branch 'master' of https://github.com/introom/rangerhut2014-02-151-1/+1
|\ \ \ \
| * | | | fix improper display of disk free size on os xintroom2013-12-281-1/+1
| |/ / /
* | | | ext.keybinding_parser: added doctestshut2014-02-031-4/+16
| | | |
* | | | Makefile: allow selecting files for "make test" by setting $FILTERhut2014-02-031-1/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | For example: FILTER=signals make test will test only files that match "signals", i.e. only ranger/ext/signals.py. FILTER is passed as a pattern directly to grep.
* | | Merge branch 'master' of https://github.com/mvdan/rangerhut2013-12-161-0/+4
|\ \ \ | |/ / |/| |
| * | Add mpv, an active mplayer+mplayer2 forkDaniel Martí2013-10-081-0/+4
| | |
* | | doc/tools/print_colors.py: more stable in unfriendly environmentshut2013-11-121-4/+12
| | |
* | | gui.color: deal with terminals without "default" colorhut2013-11-112-2/+17
| | |