about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Refactor the bookmark validation codeWojciech Siewierski2019-01-272-6/+13
| | | | | 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-272-5/+6
| | | | | 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.
* 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
| * Load plugin directories located in ~/.config/ranger/pluginsCaleb Bassi2019-01-241-2/+9
| |
* | Merge branch 'zaeph-font-viewing'toonn2019-01-192-0/+26
|\ \
| * | Invert conditionLeo Vivier2019-01-191-2/+2
| | | | | | | | | | | | | | | Since we’re now checking whether fontimage runs successfully rather than if it throws an error, the conditions needs to be inverted.
| * | Fix couple shellcheck suggestionstoonn2019-01-191-11/+11
| | | | | | | | | | | | | | | | | | One un-double-quoted variable substitution. Directly use the commands escape code rather than relying on "$?", this also drops the need to rely on `>` which is for string comparison specifically.
| * | Overhaul the previewLeo Vivier2019-01-191-1/+2
| | | | | | | | | | | | | | | | | | - Make font-name bigger than the body - Vertically center the body so that the newline at the bottom doesn’t stand out as much
| * | Add right paddingLeo Vivier2019-01-191-4/+4
| | |
| * | Add left padding to previewLeo Vivier2019-01-191-4/+4
| | |
| * | UntabifyLeo Vivier2019-01-191-17/+17
| | |
| * | Add -- before positional argumentsLeo Vivier2019-01-141-1/+1
| | |
| * | Add font preview with fontimageLeo Vivier2019-01-141-0/+20
| | |
| * | Change singular to pluralLeo Vivier2019-01-141-1/+1
| | |
| * | Rename ‘Font’ section and put it after ‘Archives’Leo Vivier2019-01-141-5/+5
| | |
| * | Fix typoLeo Vivier2019-01-141-1/+1
| | | | | | | | | | | | ‘X’ was present two times.
| * | Add font viewing section and option to rifleLeo Vivier2019-01-141-0/+5
| | | | | | | | | | | | | | | Adds fontforge as a default option, but would benefit from adding other common options for previewing fonts.
* | | Merge branch 'chakravala-master'toonn2019-01-151-0/+7
|\ \ \
| * | | Move djvu txt preview to handle_mimetoonn2019-01-151-7/+7
| | | |
| * | | Fix comment indentationtoonn2019-01-141-2/+2
| | | |
| * | | inserted fmt to the DJVU text conversionMichael Reed2018-10-241-2/+2
| | | |
| * | | added support for DJVU text conversionMichael Reed2018-10-231-0/+7
| | | |
* | | | Merge pull request #1444 from Zaeph/rifle-fixupToon Nolten2019-01-141-3/+3
|\ \ \ \ | |_|/ / |/| | | Rifle fixup
| * | | Change singular to pluralLeo Vivier2019-01-141-2/+2
| | | |
| * | | Change ‘Code’ to ‘Script’Leo Vivier2019-01-141-1/+1
| | | |
| * | | Remove ‘Viewing’ from ‘Image Viewing’Leo Vivier2019-01-141-1/+1
| | | |
| * | | Remove unnecessary colonsLeo Vivier2019-01-141-2/+2
|/ / /
* | | Merge pull request #1436 from Vifon/imagecachedirWojciech Siewierski2019-01-092-5/+2
|\ \ \ | | | | | | | | Create the image cache directory only when needed and always if needed
| * \ \ Merge branch 'master' into imagecachedirWojciech Siewierski2019-01-093-3/+5
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #1433 from MarkusLohmayer/patch-1Toon Nolten2019-01-071-1/+1
|\ \ \ \ | | | | | | | | | | changed pip command ; package is called ranger-fm
| * | | | changed pip command ; package is called ranger-fmMarkus Lohmayer2019-01-071-1/+1
|/ / / /
* | | | Merge pull request #1432 from Vifon/kitty-fullscreenWojciech Siewierski2019-01-061-1/+3
|\ \ \ \ | | | | | | | | | | Fix the Kitty previews in fullscreen mode
| * \ \ \ Merge branch 'master' into kitty-fullscreenWojciech Siewierski2019-01-061-1/+1
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #1428 from saschagrunert/patch-1Toon Nolten2019-01-021-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix typo in scope.sh
| * | | | | Fix little typoSascha Grunert2019-01-021-1/+1
|/ / / / /
| * / / / Fix the Kitty previews in fullscreen modeWojciech Siewierski2019-01-061-1/+3
|/ / / / | | | | | | | | | | | | Fixes #1431.
| * | | 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.
* | | Set the default PREFIX in MakefileWojciech Siewierski2018-12-291-0/+1
| | |
* | | Support the PREFIX flag in "make install"Wojciech Siewierski2018-12-291-1/+2
| | | | | | | | | | | | Before that it was necessary to use setup.py directly.
* | | Merge pull request #1426 from Zaeph/documentationToon Nolten2018-12-281-15/+14
|\ \ \ | | | | | | | | Syntactic fixups in README.md
| * | | Remove unnecessary hyphensLeo Vivier2018-12-281-2/+2
| | | |
| * | | Various syntactic fixupsLeo Vivier2018-12-281-13/+13
| | | |
| * | | Remove unnecessary new-lineLeo Vivier2018-12-271-1/+0
|/ / /
* | | Add repology.org badgesWojciech Siewierski2018-12-271-1/+22
| | |