summary refs log tree commit diff stats
path: root/ranger
Commit message (Collapse)AuthorAgeFilesLines
* core.actions: Log which files were deletedWojciech Siewierski2019-09-101-1/+1
|
* Correct the description of 'quit'Benno Schulenberg2019-09-101-3/+3
| | | | | | | Quit closes a tab only when there is more than one tab; otherwise, it quits the program. Also fix a typo.
* Add GitHub Actions citoonn2019-09-031-1/+0
| | | | | | | | | | Run our python tests and shellcheck in seperate workflows only when relevant files are changed, respectively python files or `scope.sh`. This tests with one extra version of python, 3.7. GitHub's version of shellcheck seems to be missing a few flags. So we download the latest stable version, 0.7.0 currently.
* Merge PR #1649Wojciech Siewierski2019-08-183-0/+17
|\
| * Drop truth values; rename warning settingToon Nolten2019-08-183-6/+5
| |
| * Warn when nesting rangertoonn2019-08-033-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Update settings.pyuser0622019-08-031-1/+1
| |
* | fixes setlocal on dirs with regex metacharsb2019-08-031-1/+1
|/
* Updated mupdf and zathura linesUmut Hökelek2019-06-301-1/+1
|
* zathura has been added as comicbook viewerUmut Hökelek2019-06-301-0/+3
|
* mupdf has been added as epub viewerUmut Hökelek2019-06-301-0/+1
|
* Merge branch 'master' into masterUmut Hökelek2019-06-291-1/+1
|\
| * VCS: Replace the √ sign (square root) with a proper checkmark (✓)Wojciech Siewierski2019-06-291-1/+1
| |
* | zathura has been added as epub viewerUmut Hökelek2019-06-271-0/+1
|/
* Fix shellcheck warnings for new additionstoonn2019-06-181-10/+10
| | | | | | | Rewrote the epub clauses to avoid overlap warnings `SC2221/SC2222`, users could've potentially been confused if they uncommented both Calibre and epub-thumbnailer clauses and didn't see epub-thumbnailer previews.
* Replace fluff command with shellcheck directivetoonn2019-06-181-3/+1
| | | | | | Hid an `echo $VAR` in a comment to get rid of the unused variable warning, that's now been replaced with a shellcheck directives suited to the purpose.
* Document ## convention and $$ sed rangetoonn2019-06-181-0/+4
|
* Add a section for commands to avoid SC2034 warningstoonn2019-06-181-0/+3
| | | | | | | Shellcheck warns about unused variables, for good reason, but sometimes you legitimately want to include an unused variable in a script. Rather than ignore the warning completely I decided to circumvent the warning through the use of fluff (useless commands that "use" variables).
* Double up comment characters for commentstoonn2019-06-181-58/+59
| | | | | | To make it easy to automatically strip comments from sections of code I doubled up the comment characters for actual comments. This works for everything but the shebang line.
* Add double quotes SC2086toonn2019-06-181-2/+2
|
* Merge branch 'key_enter'toonn2019-06-181-0/+2
|\
| * Treat KP_ENTER the same regardless of Num Lock statetoonn2019-05-281-0/+2
| | | | | | | | | | | | | | | | KP_ENTER is only treated as newline by curses when Num Lock is on. This, like anything involving Num Lock, is confusing and has therefore been dealt with : ) Fixes #1568
* | Add gpicview to rifle.confFrederik “Freso” S. Olesen2019-06-151-0/+1
| |
* | Merge branch 'master' into pr/safe-image-wdWojciech Siewierski2019-06-133-8/+12
|\ \
| * \ Merge branch 'scope_svg'toonn2019-06-061-1/+1
| |\ \
| | * | Some SVG have MIME type image/svgtoonn2019-06-061-1/+1
| | |/ | | | | | | | | | | | | | | | Scope now treats `image/svg` the same as `image/svg+xml` `image/svg` is not an official MIME type afaics *but* `file(1)` does sometimes determine it to be an svg's MIME type.
| * | Stop git errors before they reach usertoonn2019-06-061-1/+2
| | | | | | | | | | | | Fixes #1577
| * | fix to call git describe in ranger's source directoryu91o2019-06-041-0/+1
| | |
| * | Fix py2.6 incompatible use of subprocesstoonn2019-05-291-4/+5
| |/
| * 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
| |
* | Open image displaying subprocesses in safe workdirFichteFoll2019-05-241-2/+4
|/ | | | | | | | | Otherwise, the current working directory of ranger would be used and could block operations like unmounting, because the handles would be kept alive by the previewer even when the directory isn't in use by ranger anymore. Fixes #1565.
* Add ape extension to mime.typestoonn2019-05-211-0/+1
|
* Merge branch 'flexible_highlight'toonn2019-05-201-3/+3
|\
| * Give HIGHLIGHT_TABWIDTH some lovetoonn2019-05-191-3/+3
| | | | | | | | | | | | Same treatment as for `HIGHLIGHT_STYLE`. The default value can be overridden by either setting the environment variable or specifying `--replace-tabs=` in `HIGHLIGHT_OPTIONS`.
* | Merge branch 'germainz-skip_ask'toonn2019-05-202-2/+5
|\ \
| * | Do not include "ask" in open_with options (fixes #1047)GermainZ2018-10-152-2/+5
| | |
* | | Merge branch 'germainz-bulkrename_mkdir'toonn2019-05-191-6/+19
|\ \ \ | |_|/ |/| |
| * | Updated the style to be more modern and pythonictoonn2019-05-191-7/+14
| | | | | | | | | | | | | | | Replaced the erroneous used of `extend` with `append`. It was working out by coincidence but probably making the `join` much less efficient.
| * | Make bulkrename create destination directories (fixes #963)GermainZ2018-10-161-3/+9
| |/
* | Scope no longer interferes with users' configurationtoonn2019-05-151-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Our setup for syntax highlighting in `scope.sh` was actively preventing people's configuration for `highlight` from working. Now `HIGHLIGHT_OPTIONS` takes precendence over the default and over the `HIGHLIGHT_STYLE` environment variable. Users can specify `HIGHLIGHT_STYLE` or `PYGMENTIZE_STYLE` enviroment variables now to customize the syntax coloring theme without having to edit *and keep up to date* `scope.sh`. Fixes #1556
* | Merge branch 'chmod_000'toonn2019-05-051-2/+3
|\ \
| * | Fix quantifier checktoonn2019-04-251-2/+3
| | | | | | | | | | | | | | | `not self.quantifier` excluded `0`, which is a perfectly valid quantifier for `chmod`.
* | | Add a blank line between internal and external importsWojciech Siewierski2019-04-272-0/+2
| | |
* | | Merge branch 'human-linemodes' of https://github.com/joelostblom/ranger into ↵Wojciech Siewierski2019-04-274-2/+47
|\ \ \ | |/ / |/| | | | | joelostblom-human-linemodes
| * | Move helper into ranger/exttoonn2019-04-234-24/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | |