summary refs log tree commit diff stats
path: root/ranger/core
Commit message (Collapse)AuthorAgeFilesLines
* Fix keyword argument assignment whitespacetoonn2019-12-301-1/+1
|
* Merge branch 'aRkedos-unique-file'toonn2019-12-301-0/+107
|\
| * Fix hash_chunks generatortoonn2019-12-281-5/+7
| |
| * Add unique filter to filter_stacktoonn2019-12-241-26/+57
| | | | | | | | | | Extracted helper function to `group_by_hash` for both duplicate and unique filters.
| * Add duplicate filter to filter_stacktoonn2019-12-241-0/+41
| |
| * Extract hash_chunks to ranger.exttoonn2019-12-241-24/+7
| | | | | | | | `hash_chunks` now returns a hash even for 0 byte files.
| * Change hash filter to match on hashtoonn2019-12-241-41/+41
| | | | | | | | | | | | The `hash` filter for `filter_stack` requires a path as argument, defaulting to the currently selected file. It filters out any files or directories with a different hash.
| * Replacing md5 with sha256arkedos2019-12-231-7/+2
| |
| * Replacing md5 with blake2barkedos2019-12-231-2/+7
| |
| * Added a filter for unique files by md5 hasharkedos2019-12-231-0/+50
| |
* | Merge branch 'laktak-paste_conflict'toonn2019-12-222-5/+12
|\ \
| * | Merge branch 'master' into paste_conflictChristian Zangl2019-12-033-26/+9
| |\|
| * | Merge branch 'master' into paste_conflictChristian Zangl2019-10-042-1/+11
| |\ \
| * | | set default make_safe_path=get_safe_pathChristian Zangl2019-07-212-2/+4
| | | |
| * | | Added a make_safe_path parameter to pasteChristian Zangl2019-07-182-25/+13
| | | | | | | | | | | | | | | | It allows you to specify your own function to generate the path for conflicting files.
| * | | fix CopyLoaderChristian Zangl2019-07-141-1/+2
| | | |
| * | | Added a conflict parameter to the paste actionChristian Zangl2019-07-142-7/+23
| | | | | | | | | | | | | | | | It allows you to specify 'overwrite', 'rename', or 'rename_ext' (=default) in case of a file name conflict. This obsoletes the overwrite parameter.
* | | | Restore access to a preview cache in clean modetoonn2019-12-212-5/+2
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | `--clean` is incredibly useful when testing contributions to `scope.sh` among other things but some (most?) previews require the cache to function. As a compromise every invocation using `--clean` will create a temporary cache directory. Fixes #1783
* | | 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
| | |