about summary refs log tree commit diff stats
path: root/ranger
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Expand on Vifon's tag_toggle argument swaptoonn2019-04-141-4/+18
| | |
* | | Merge branch 'Vifon-remote_free_space'toonn2019-04-141-1/+1
|\ \ \
| * | | Calculate the free space on remote filesystems correctlyWojciech Siewierski2019-03-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The remote filesystems report their mount path as the mount root even if they contain other mount points on the remote side. Fixes #1505.
* | | | 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
| | | |
* | | | Revert "A E S T H E T I C"hut2019-04-032-48/+1
| | | | | | | | | | | | | | | | This reverts commit 0bffe922cee451cba6c457dbf641bbcd3a12b64a.
* | | | A E S T H E T I Chut2019-04-012-1/+48
| | | |
* | | | 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.
* | | Merge branch 'rnhmjoj-invalid-mtimes'toonn2019-03-051-1/+5
|\ \ \
| * | | Fix crash when entering directories with invalid mtimesrnhmjoj2019-03-041-1/+5
| | | | | | | | | | | | | | | | closes #1020
* | | | Merge branch 'palikar-paste-dest'toonn2019-03-051-7/+7
|\ \ \ \ | |/ / / |/| | |
| * | | 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.
* | | | Move reset_previews command to commands.pydive2019-03-032-8/+11
| | | |
* | | | Add a reset_previews commanddive2019-03-031-0/+8
|/ / / | | | | | | | | | | | | This add a reset_previews command, which helps when switching preview_script on-the-fly.
* | | New keybindings for paste to destinationtoonn2019-02-281-0/+3
| | | | | | | | | | | | | | | pd opens up the console to allow pasting to a path. p'<any> and p`<any> allow for pasting to a bookmark.
* | | Minor docstring rephrasingtoonn2019-02-281-2/+2
| | |
* | | Fixing the dumb clearing mistakeStanislav Arnaudov2019-02-271-1/+1
| | |
* | | Merge branch 'master' into paste-destStanislav Arnaudov2019-02-271-0/+2
|\ \ \
| * | | filter out empty lines before parsing the statusVictor Lopez2019-02-241-0/+2
| | | |
* | | | Clearing up some whitespacesStanislav Arnaudov2019-02-262-2/+2
| | | |
* | | | Implementing destination argument for the built in paste commandStanislav Arnaudov2019-02-242-7/+12
|/ / /
* | | Merge conditions with an ‘or’Leo Vivier2019-02-131-5/+1
| | |
* | | rename_append: Use `rename` if point is on a directoryLeo Vivier2019-02-101-0/+4
| | | | | | | | | | | | | | | | | | When the directory at point has full-stops in it, rename_append would put the point at the last period in the dir-name, as it would with a file.
* | | Ensure that `--clean` doesn't require writable confdirhut2019-02-052-3/+12
| | |
* | | add imv to rifle.confCarlo Abelli2019-01-291-0/+1
| | |
* | | Fix #1452 for Python 2 tooWojciech Siewierski2019-01-271-3/+3
| | |
* | | Alternative approach to #1452 (which didn't seem to work)Wojciech Siewierski2019-01-271-4/+4
| | |
* | | Add .txz to CONTAINER_EXTENSIONStoonn2019-01-271-4/+6
| | | | | | | | | | | | | | | It's in the mime database so it's common enough for me. I also fixed up the line widths because they overflowed 80 columns.
* | | Merge pull request #1454 from Vifon/lazy-bookmark-validationWojciech Siewierski2019-01-271-2/+9
|\ \ \
| * | | Refactor the bookmark validation codeWojciech Siewierski2019-01-271-4/+6
| | | | | | | | | | | | | | | | | | | | Now it's trivial for the test module to mock the bookmark validation without introducing too much logic about this mocking to the actual class.
| * | | Make it easier to test bookmarks by optionally disabling validationWojciech Siewierski2019-01-271-3/+4
| | | | | | | | | | | | | | | | | | | | The test bookmarks were intentionally bogus as we cannot reliably predict valid paths on the test system, so validation doesn't make any sense there.
| * | | container.bookmarks: Don't remove invalid bookmarks at allWojciech Siewierski2019-01-261-2/+1
| | | | | | | | | | | | | | | | | | | | Non-existent bookmarks may be only temporarily unreachable (eg. pendrive, NFS), no point in removing them.
| * | | container.bookmarks: Remove invalid bookmarks only on accessWojciech Siewierski2019-01-261-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously ranger was validating the bookmarks (whether they are existing directories) when loading the bookmark file. It caused the remote filesystems like autofs to wake up unnecessarily and in general caused more problems than solved. Fixes #1365.
* | | | Mock the SettingsAware class for one test that accesses the settingsWojciech Siewierski2019-01-271-0/+7
| | | | | | | | | | | | | | | | Related issue: #1457
* | | | doctests are no longer silently failing (when failing)Wojciech Siewierski2019-01-2711-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | Related issue: #1457 See: https://stackoverflow.com/a/25691978
* | | | Merge branch 'more-previews' of https://github.com/pkkm/rangerWojciech Siewierski2019-01-261-3/+26
|\ \ \ \ | |/ / / |/| | |
| * | | scope.sh: Add Calibre e-book previews (commented out)Paweł Kraśnicki2019-01-181-4/+6
| | | |
| * | | Drop dots after file typestoonn2019-01-181-2/+2
| | | |
| * | | scope.sh: Minor code style changePaweł Kraśnicki2019-01-181-1/+1
| | | |
| * | | scope.sh: Small refactor for robustnessPaweł Kraśnicki2019-01-181-2/+3
| | | |
| * | | scope.sh: Add ePub previews (commented out)Paweł Kraśnicki2019-01-181-0/+9
| | | |
| * | | scope.sh: Add DjVu previews (commented out)Paweł Kraśnicki2019-01-181-1/+12
| | | |
* | | | Merge pull request #1452 from s-n-g/masterWojciech Siewierski2019-01-261-1/+1
|\ \ \ \ | | | | | | | | | | fix Ctrl+Space crash
| * | | | adding py2 supportSpiros Georgaras2019-01-261-1/+1
| | | | |
| * | | | fix Ctrl+Space crashSpiros Georgaras2019-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When in input mode (e.g. search, :mkdir, :rename, etc.), pressing Ctrl+Space makes ranger crash This will fix this issue Crash example: ``` ranger version: ranger-master 1.9.2 Python version: 3.7.2 (default, Jan 10 2019, 23:51:51) [GCC 8.2.1 20181127] Locale: el_GR.UTF-8 Current file: '/home/spiros/1. "aaa" \'aaa\'' Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/ranger/gui/curses_shortcuts.py", line 36, in addstr self.win.addstr(*args) ValueError: embedded null character During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/ranger/core/main.py", line 195, in main fm.loop() File "/usr/lib/python3.7/site-packages/ranger/core/fm.py", line 394, in loop ui.redraw() File "/usr/lib/python3.7/site-packages/ranger/gui/ui.py", line 338, in redraw self.draw() File "/usr/lib/python3.7/site-packages/ranger/gui/ui.py", line 365, in draw DisplayableContainer.draw(self) File "/usr/lib/python3.7/site-packages/ranger/gui/displayable.py", line 256, in draw displayable.draw() File "/usr/lib/python3.7/site-packages/ranger/gui/widgets/console.py", line 111, in draw self.addstr(0, len(self.prompt), str(line[x:])) File "/usr/lib/python3.7/site-packages/ranger/gui/curses_shortcuts.py", line 44, in addstr self.win.addstr(*_fix_surrogates(args)) ValueError: embedded null character ranger crashed. Please report this traceback at: https://github.com/ranger/ranger/issues ```
* | | | | Merge pull request #1418 from cjbassi/masterWojciech Siewierski2019-01-251-2/+9
|\ \ \ \ \ | |/ / / / |/| | | | Load plugin directories located in ~/.config/ranger/plugins