about summary refs log tree commit diff stats
path: root/ranger/ext
Commit message (Collapse)AuthorAgeFilesLines
...
* img_display: Use with where possibletoonn2021-07-151-34/+37
|
* rifle.py: Pylint insists on no bare Popen()stoonn2021-07-151-1/+2
|
* rifle.py: Using with where possibletoonn2021-07-151-26/+35
generated by cgit-pink 1.4.1-2-gfad0 (git 2.36.2.497.gbbea4dcf42) at 2024-07-11 10:33:15 +0000 5'>| | | Dict comprehensions were add in 2.7 so we can't use them for COMPAT reasons.
* Merge branch 'py-version-checks'toonn2020-07-053-3/+6
|\
| * Factor out python 3 version checkingtoonn2020-06-291-1/+2
| | | | | | | | | | | | We check whether we're running python 2 or 3 in many places. In some places we do more specific version checks but with the new `PY3` constant modeled after `six` this code should be slightly more readable.
| * Factor PY3 constant out into ranger moduletoonn2020-06-292-2/+4
| |
* | Merge branch 'rc_macro_error'toonn2020-07-051-0/+81
|\ \
| * | Add MacroDicttoonn2019-09-271-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Macros are resolved for set commands. A contributor wanted to add a setting for a date format string to be used in ranger's status bar. The string they tried happened to include `%d` which is a valid ranger macro for the name of `thisdir`. This attribute is not yet defined when ranger is reading `rc.conf` and this uncaught exception would crash ranger. To work around this we need to catch `AttributeError`s for values that might not exist yet. To avoid the repetition that'd come with all these try-catch statements that behavior has been encapsulated in a new MacroDict. This is almost as easy to use as the regular python dictionary used previously. The only difference being that we need to wrap values that might cause problems in a python `lambda`, though it doesn't do any harm to wrap values that can't raise exceptions.
* | | Py26 does not support implicit format spec numberingtoonn2020-03-041-7/+11
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | As FichteFoll rightly pointed outin #1840, python 2.6 did *not* support implicit format spec numbering for positional arguments. This commit brings the code back in line with our promise that it is compatible with python 2.6. I used the following patterns to grep for occurences: - '"\{\}"' - '"\{:.*\}"' - "'\{\}'" - "'\{:.*\}'"
* | Tax loss harvesting release, nothing to see here v1.9.3toonn2019-12-311-1/+1
| |
* | Merge branch 'davidgur-master'toonn2019-12-311-0/+1
|\ \ | | | | | | | | | Fixes #859, #1071, #1308
| * \ Merge branch 'master' into masterDavid Gurevich2019-11-161-0/+3
| |\ \
| * | | Fixed issue with W3MImgPreview not clearing previous imageDavid Gurevich2019-11-111-0/+1
| | | |
* | | | Merge branch 'aRkedos-unique-file'toonn2019-12-301-0/+30
|\ \ \ \
| * | | | Remove comment and doubled up spacetoonn2019-12-291-1/+1
| | | | |
| * | | | Fix hash_chunks generatortoonn2019-12-281-1/+2
| | | | |
| * | | | Extract hash_chunks to ranger.exttoonn2019-12-241-0/+29
| | |/ / | |/| | | | | | | | | | `hash_chunks` now returns a hash even for 0 byte files.
* | | | Merge branch 'laktak-paste_conflict'toonn2019-12-222-27/+37
|\ \ \ \
| * | | | Rename APPENDIX to SUFFIXtoonn2019-12-221-3/+3
| | | | |
| * | | | Merge branch 'master' into paste_conflictChristian Zangl2019-12-032-1/+41
| |\| | |
| * | | | set default make_safe_path=get_safe_pathChristian Zangl2019-07-212-24/+30
| | | | |
| * | | | Added a make_safe_path parameter to pasteChristian Zangl2019-07-182-58/+36
| | | | | | | | | | | | | | | | | | | | It allows you to specify your own function to generate the path for conflicting files.
| * | | | Added a conflict parameter to the paste actionChristian Zangl2019-07-142-32/+58
| | |_|/ | |/| | | | | | | | | | It allows you to specify 'overwrite', 'rename', or 'rename_ext' (=default) in case of a file name conflict. This obsoletes the overwrite parameter.
* | | | Merge branch 'kdheepak-fix-python3-image-preview-iterm2'toonn2019-12-181-1/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | Return decoded string instead of byte string of imageDheepak Krishnamurthy2019-06-201-1/+1
| |/ /
* | | Merge branch 'vifon-rifle-offbyone-hotfix'toonn2019-11-161-0/+3
|\ \ \ | |_|/ |/| |
| * | Hotfix for an off-by-one in rifleWojciech Siewierski2019-10-021-0/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | After #1341 the action IDs displayed by the UI were inconsistent with the actual numbers used by rifle. It was caused by the `ask` action being skipped entirely (including incrementing the ID) but only in the UI. This is a hotfix that makes the hidden `ask` action to still take up a number (usually (always?) 0) and thus keeping the numbering consistent. Bad side effect: sometimes the counting starts with 1 instead of 0 but for a time being let's choose a small inconsistency over a BIG one.
* | Merge branch 'master' into image-displayer-registryJoe Rice2019-10-141-1/+3
|\ \
| * | Fix long lines for pylinttoonn2019-10-111-1/+3
| | |
* | | made variables in image displayer registry accessors less genericJoseph Rice2019-10-111-6/+10
| | |
* | | moved image displayer registry getter logic into ext.img_displayJoseph Rice2019-10-111-0/+5
| | |
* | | added registry keys for kitty and ueberzug displayersJoseph Rice2019-10-111-0/+2
| | |
* | | Merge branch 'master' into image-displayer-registryJoseph Rice2019-10-111-1/+1
|\| |
| * | expand X condition onlySamuel Walladge2019-07-241-7/+2
| | |