summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Rename st_* to w3m_* here as well, oopsLeLobster2018-10-072-11/+15
| | | | Undo 'changes' to rifle doc
* Rename setting st_* to w3m_*. Did I really forget to change this earlier?LeLobster2018-10-061-1/+1
|
* Revert "Check the env variable TERM before setting w3m offset"LeLobster2018-10-061-7/+2
| | | | This reverts commit d5d668a62faeea07a7476a14fef0f63ea84a83e8.
* Update man pages and config opt name to be generic in stead of stLeLobster2018-10-053-6/+6
|
* Merge branch 'stborderw3mfix' of github.com:LeLobster/ranger into stborderw3mfixLeLobster2018-10-051-2/+2
|\
| * Merge branch 'master' into stborderw3mfixLeLobster2018-10-051-2/+2
| |\
| | * Merge pull request #1324 from Vifon/vifon/travis_updateWojciech Siewierski2018-10-031-2/+2
| | |\ | | | | | | | | Update the Travis handling
| | | * Travis: Python 3.7 seems to be broken on Travis, let's leave it for nowWojciech Siewierski2018-10-031-1/+0
| | | |
| | | * Travis: Update the checked python versionsWojciech Siewierski2018-10-031-1/+2
| | | |
| | | * Make sure Travis uses pipenv when testingWojciech Siewierski2018-10-031-1/+1
| | |/
* | / Check the env variable TERM before setting w3m offsetLeLobster2018-10-051-2/+7
|/ /
* | Add comment about st_border_offset in the man pageLeLobster2018-10-053-30/+28
| |
* | Comply with pylint's complaint about > 15 local varsLeLobster2018-10-051-4/+4
| |
* | Fix ALLOWED_SETTINGS orderLeLobster2018-10-041-1/+1
| |
* | Add option to set a border value for use with st termLeLobster2018-10-043-2/+9
|/
* Merge pull request #1319 from mark-dawn/kitty-format-fixToon Nolten2018-10-011-2/+2
|\ | | | | Fix for issue #1312 (wrong color format)
| * Fix for issue #1312 (wrong color format)mark-dawn2018-09-301-2/+2
|/ | | | | Moved the format conversion line from the stream section to the general one, as PIL does not autoconvert on save
* Updated release doctoonn2018-09-103-5/+5
| | | | | | The very last step changed. Also replaced a stale link in the man page.
* Business as usualtoonn2018-09-101-1/+1
|
* If you can read this on Debian, you're living in the future v1.9.2toonn2018-09-096-6/+48
|
* Merge branch 'master' into stableToon Nolten2018-09-0952-399/+1984
|\ | | | | | | Preparing for release 1.9.2
| * New filter type for matching mimetypesWojciech Siewierski2018-09-083-0/+22
| |
| * Merge branch 'Xunius-flagt'toonn2018-09-082-16/+95
| |\
| | * Change rifle fallback mechanism for flag ttoonn2018-06-232-9/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rifle used to just fall back to using `xterm` when `flag t` was used and `TERMCMD` didn't yield a valid command or the terminal emulator couldn't be determined from the `TERM` variable. Now when the need to fallback occurs rifle uses its own rules with a custom mime type i.e. `ranger/x-terminal-emulator`. This way we can provide a default sequence from rarer to more common terminal emulators and users can change the fallback by editing `rifle.conf` Fixes #1108
| | * remove term=term.lower()guangzhi2018-05-191-7/+5
| | |
| | * Merge branch 'master' into flagtXunius2018-05-1916-40/+59
| | |\
| | * \ Merge branch 'master' into flagtXunius2018-05-1521-68/+255
| | |\ \
| | * | | more terminals tested for fix of issue #1108guangzhi2018-03-161-20/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle aliases for 'xterm', 'xterm-256color' by using 'xterm' if $TERMCMD starts with 'xterm'. If $TERMCMD in ['urxvt', 'rxvt-unicode'], use 'urxvt'. If $TERMCMD in ['rxvt', 'rxvt-256color'], use 'rxvt' if found, otherwise 'urxvt'. Tested 'termite (13-1)', 'terminology (1.1.1-1)', 'pantheon-terminal (0.4.3-2)' and 'st (1:0.7.r38.g0ac685f-1)', these all use the -e flag. Tested 'tilda (1.4.1-1)', which uses -c flag. 'tilda', 'pantheon-terminal', 'terminology' and 'termite' don't work with the '/bin/sh --set' scheme. As a temp fix, get the application name and argument from `command` and compose the `cmd` list from these. See line 397--407 for details. Let's forget about mac users, shall we?
| | * | | Correct some formatting in fix of issue #1108.guangzhi2018-03-131-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove some trailing whitespaces etc. Another note: regarding iterm2 or some other terminals on mac, it seems to be rather different to launch a new window in mac than in linux. Some search suggests that you need to issue open -a terminal -n to open a new terminal window. So that would probably involve other changes than simply getting a correct cmdflag.
| | * | | re-organize block regarding flag t issue #1108guangzhi2018-03-131-21/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes made to rifle.py: * get `term` from `os.environ['TERMCMD']`, if failed, use `TERM` * if `term` not found in executables, fall back to `xterm` * choose `cmdflag` according to `term`, currently have 3 choices: * `-e`: tested terminals + versions: * xterm (331-1) * urxvt (9.22) * lxterminal (0.3.1-1) * konsole (17.12.2-1) * lilyterm (0.9.9.2-2) * cool-retro-term (1.0.1-1) * `-x`: * xfce4-terminal (0.8.7.1-1) * mate-terminal (1.20.0-1) * terminator (1.91-5) * gnome-terminal (3.26.2) * `--`: * gnome-terminal (3.26.2) * terminals that are found not working when tested: * pantheon-terminal (0.4.3-2): not -e or -x or --execute (people using elementary probably won't use ranger anyway). * terminology (1.1.1-1): not -e or -x * tilda (1.4.1-1): with -c tilda opens but not entering editor * kitty (0.8.0-1): don't think this has the functionality * terminals haven't tested: * st * termite (having conflicts on my system) * iterm2
| | * | | run test and fix some formattingguangzhi2018-03-111-9/+9
| | | | |
| | * | | Attempt to fix issue #1108 flag t problemguangzhi2018-03-111-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | issue #1108: Rifle's flag t only works with urxvt (and xterm) (because who cares about standards?). Urxvt passes any arguments after -e verbatim, most other terminals consume them as arguments. Some terminals use -e, others use -x. Fix: in rifle.py, if $TERMCMD is set to gnome-terminal, xfce4-terminal etc., give either -e or -x that pairs with the terminal. If $TERMCMD not found in executables, fall back to xterm and -e.
| * | | | Merge branch 'dbosst-master'toonn2018-09-082-0/+49
| |\ \ \ \
| | * | | | Removed ghost of function definitiontoonn2018-08-231-53/+0
| | | | | |
| | * | | | Remove limit and change pos to totoonn2018-08-221-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let's have the users report how they want shifting to work. You can currently create tabs at negative indices so it feels wrong not to be able to shift tabs there or have shifts of tabs at negative indices have a weird result.
| | * | | | use offset and pos to shift tabs:dbosst2018-08-221-16/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | offset will shift the tab number as seen pos will shift the tab to the tav number given preserves as much as possible the tab numbers
| | * | | | Added: shift tabs right/leftdbosst2018-08-221-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | shift selected tab right/left with ALT-p or ALT-o
| | * | | | Merge branch 'master' into masterdbosst2018-03-281-2/+2
| | |\ \ \ \
| | * | | | | use offset and pos to shift tabs:dbosst2018-03-282-18/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | offset will shift the tab number as seen pos will shift the tab to the tav number given preserves as much as possible the tab numbers
| | * | | | | Added: shift tabs right/leftdbosst2018-03-272-0/+30
| | | |/ / / | | |/| | | | | | | | | | | | | | | shift selected tab right/left with ALT-p or ALT-o
| * | | | | Merge branch 'boldisnotbright'toonn2018-09-083-5/+29
| |\ \ \ \ \
| | * | | | | Fix unbrightened selectionToon Nolten2018-09-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BRIGHT is additive, not idempotent like bold is. This caused what should be bright text to be "unbrightened" again.
| | * | | | | Restore the use of the bold attributetoonn2018-09-072-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brightness by itself is not always clear so in terminals that actually support boldface it can help to differentiate. Bright black can be hard to differentiate from white, this is the case in kitty's default colorscheme. It's still better than the bold black because while that was easily differentiated from white it was very hard to see.
| | * | | | | In terminals devoid of color cut items were invisibletoonn2018-09-073-16/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since most people use dark background terminals - yes, I'm assuming because it's my preference - the black color for cut items is nearly invisible the intention was for bold to be interpreted as bright but that's a dirty dirty trick. Since dim white sounds like bright black that's what we fall back to now for terminals that don't support BRIGHT colors. The solarized theme remains unchanged, so still uses bold, because it looks like it knows what it's doing. Fixes #1185
| * | | | | | Merge branch 'squigglezworth-master'toonn2018-09-086-56/+92
| |\ \ \ \ \ \
| | * | | | | | Fix documentationtoonn2018-09-084-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove a setting that no longer exists from the man page. Reformat the comment in `rc.conf`. Use lower case `'none'` for consistency
| | * | | | | | Fix commit 520e76esquigz2018-01-051-2/+1
| | | | | | | |
| | * | | | | | Another pylint fix (2 spaces before in-line comment)squigz2018-01-051-1/+1
| | | | | | | |
| | * | | | | | Merge branch 'master' into mastersquigglezworth2018-01-051-1/+0
| | |\ \ \ \ \ \
| | * | | | | | | Disable pylint too-many-branches for _draw_borderssquigz2018-01-051-0/+1
| | | | | | | | |