about summary refs log tree commit diff stats
path: root/ranger/core
Commit message (Collapse)AuthorAgeFilesLines
...
* | | self is not available in default argument valuetoonn2019-11-071-1/+3
| | |
* | | Check current dir exists when pastingtoonn2019-11-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | I changed the default `dest` for paste to the value that's used if `None` were passed to the `CopyLoader`, i.e., `self.thistab.path`, because the current directory was bypassing the `isdir()` check otherwise. Fixes #1660
* | | Merge branch 'master' into image-displayer-registryJoe Rice2019-10-141-1/+3
|\ \ \
| * | | Fix long lines for pylinttoonn2019-10-111-1/+3
| | | |
* | | | moved image displayer registry getter logic into ext.img_displayJoseph Rice2019-10-111-7/+2
| | | |
* | | | Merge branch 'master' into image-displayer-registryJoseph Rice2019-10-111-1/+1
|\| | |
| * | | Merge branch 'swalladge-support-wayland'toonn2019-10-071-1/+1
| |\ \ \ | | |_|/ | |/| |
| | * | expand X condition onlySamuel Walladge2019-07-241-1/+1
| | | |
| | * | support wayland condition for rifleSamuel Walladge2019-07-231-1/+1
| | |/ | | | | | | | | | - also support wayland for flag t (opening in new terminal)
* | / added registry for ImageDisplayer objectsJoseph Rice2019-09-101-21/+5
|/ /
* | core.actions: Log which files were deletedWojciech Siewierski2019-09-101-1/+1
| |
* | Drop truth values; rename warning settingToon Nolten2019-08-181-3/+3
| |
* | Warn when nesting rangertoonn2019-08-031-0/+10
|/ | | | | | | | | | | | | | | Users frequently request that launching ranger in a subshell started from ranger (using `S`) instead exits the subshell so they end up in their original ranger instance without nesting, which is rarely useful. This isn't possible because a process can't easily kill its parent shell. To at least avoid such confusion we warn about nesting by default. A new setting `nested_ranger_warning` is added to `rc.conf`. The warning can be either disabled or the severity increased so the message is more visible. Fixes #1645
* Atone for @Vifon's rash fixing of bugstoonn2019-05-281-3/+4
| | | | | This required ritual sacrifice of many CPU cycles to appease the Almighty PyLint.
* Replace the accidental str.join (as path.join) with os.path.joinWojciech Siewierski2019-05-271-1/+1
|
* Merge branch 'germainz-skip_ask'toonn2019-05-201-1/+2
|\
| * Do not include "ask" in open_with options (fixes #1047)GermainZ2018-10-151-1/+2
| |
* | Add a blank line between internal and external importsWojciech Siewierski2019-04-271-0/+1
| |
* | Merge branch 'human-linemodes' of https://github.com/joelostblom/ranger into ↵Wojciech Siewierski2019-04-271-1/+26
|\ \ | | | | | | | | | joelostblom-human-linemodes
| * | Move helper into ranger/exttoonn2019-04-231-19/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | There's already a `human_readable` for size in `ranger/ext`, I figure we might as well add the new helper there, make it easily accessible in other code. Did some renaming, no need to drop the `readable` part to shorten the names. Similarly I changed one of the mappings to be more intuitive.
| * | Increase function name accuracyjoelostblom2018-12-261-3/+3
| | |
| * | Break out common code into helper funcitonjoelostblom2018-12-251-18/+14
| | |
| * | Choose more recognizable numbersjoelostblom2018-12-251-4/+4
| | |
| * | Remove else after returnjoelostblom2018-12-251-7/+5
| | |
| * | Add new linemode classesjoelostblom2018-12-181-0/+43
| | |
* | | Expand on Vifon's tag_toggle argument swaptoonn2019-04-141-4/+18
| | |
* | | core.actions: Simplify the usage of :tag_toggleWojciech Siewierski2019-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Now it's possible to call :tag_toggle with tag as the positional argument (:tag_toggle X), not only by name (:tag_toggle tag=X). All our usage of tag_toggle() is done with named arguments so there shouldn't be any internal breakage.
* | | Revert "core.main: reactivate file opening with ranger directly"toonn2019-04-141-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hut misunderstood an issue people were having with ranger's "open focused on a file" feature and undeprecated the rifle-like functionality. The feature's still broken but I'm already redeprecating because people'll get upset if they start using ranger as rifle and it stops working again when I fix the feature in the near future. This reverts commit 67e4ea4e143ed3516e5fe02607bbaf8aedf3534d.
* | | core.main: reactivate file opening with ranger directlyhut2019-04-031-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | The normal way to open files with ranger would be to use the tool "rifle" like "rifle <filename>". Ranger used to be able to open files directly, but that feature was removed in 924135e1934a01faef64e94d2425d23f9790b6cf. People have been trying to use ranger like that though, and why force rifle on them?
* | | core.main: fixed error when starting in inaccessible pathhut2019-04-031-1/+2
| | |
* | | core.actions: avoid error message when pressing right in empty dirhut2019-03-311-0/+2
| | |
* | | Add a notification for the open_all_images autodisablingWojciech Siewierski2019-03-101-0/+1
| | |
* | | Temporarily disable open_all_images if there are too many imagesWojciech Siewierski2019-03-101-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | In extreme cases, all the images may be too much to handle by the system ("Argument list too long", errno 7). In such cases, let's Do The Right Thing™ and temporarily disable the open_all_images setting. Without this option we'll only open the single image. Fixes #1488.
* | | Fix dest check for :pastetoonn2019-03-051-7/+7
| | | | | | | | | | | | | | | | | | | | | The new destination argument for `:paste` requires a guard on whether it is a valid target. A bug snuck in because of copious negation : ) This is now fixed, we only allow the target to be a directory or `None` which means the current tab's working directory.
* | | Minor docstring rephrasingtoonn2019-02-281-2/+2
| | |
* | | Fixing the dumb clearing mistakeStanislav Arnaudov2019-02-271-1/+1
| | |
* | | Clearing up some whitespacesStanislav Arnaudov2019-02-262-2/+2
| | |
* | | Implementing destination argument for the built in paste commandStanislav Arnaudov2019-02-242-7/+12
| | |
* | | Ensure that `--clean` doesn't require writable confdirhut2019-02-052-3/+12
| | |
* | | Merge pull request #1418 from cjbassi/masterWojciech Siewierski2019-01-251-2/+9
|\ \ \ | | | | | | | | Load plugin directories located in ~/.config/ranger/plugins
| * | | Load plugin directories located in ~/.config/ranger/pluginsCaleb Bassi2019-01-241-2/+9
| |/ /
* | | Don't create the image cache directory preemptivelyWojciech Siewierski2019-01-091-5/+0
| | | | | | | | | | | | | | | | | | Since now this directory is recreated if needed on each use of it, there is no need to create it just because the user has these options enabled on startup.
* | | Always check for the image cache directory and create it if neededWojciech Siewierski2019-01-091-0/+2
| | | | | | | | | | | | Fixes #1435.
* | | Merge branch 'master' into anypathmacroWojciech Siewierski2018-12-264-27/+117
|\| |
| * | Merge branch 'seebye-master'toonn2018-11-071-1/+5
| |\ \
| | * \ Merge branch 'master' into masterWojciech Siewierski2018-10-272-9/+11
| | |\ \
| | * \ \ Merge branch 'master' into masterseebye2018-10-251-2/+5
| | |\ \ \ | | | | |/ | | | |/|
| | * | | Merge branch 'master' into masterseebye2018-10-102-5/+98
| | |\ \ \
| | * | | | quit image displayer on changing preview_images_methodseebye2018-08-281-0/+2
| | | | | |
| | * | | | support ueberzug image displayerseebye2018-08-251-1/+3
| | | | | |