about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* loader: Drop disappeared Pylint optionstoonn2022-02-051-1/+0
|
* actions: Drop disappeared Pylint optionstoonn2022-02-051-5/+0
|
* tags: Drop Pylint option that disappearedtoonn2022-02-051-1/+0
|
* Merge branch 'kankaristo-patch-1'toonn2022-02-054-7/+17
|\
| * doc: Add rsvg-convert to the man pagetoonn2022-02-052-2/+8
| |
| * doc: Drop Imagemagick for SVG previewtoonn2022-02-051-1/+1
| |
| * README: Add link to librsvgtoonn2022-02-051-1/+2
| | | | | | | | | | I had a surprising amount of trouble finding the librsvg project so I figured a link was welcome.
| * Fix broken case statement (scope.sh does have tests, and they failed...)Sami Kankaristo2021-12-291-0/+1
| |
| * Add mention of `rsvg-convert` in README.mdSami Kankaristo2021-12-291-1/+2
| |
| * Add rsvg-convert for SVG previewsSami Kankaristo2021-12-291-3/+4
|/ | | | | | | `rsvg-convert` works much more reliably for SVGs than ImageMagick's `convert`, which freezes with large SVGs (seems to convert formats first, and resize only after that), and can drop out text during the conversion. Support for SVGs isn't great in ImageMagick, since it's a raster graphics program. `rsvg-convert` only supports conversion to PNG. The image preview works fine with PNGs, but Ranger assumes/requires a .jpg extension, so the file is just renamed from `xxx.jpg.png` to `xxx.jpg`. It's a bit of an ugly hack, but it works, and it's faster than a second image conversion from PNG to JPEG (and vector graphics usually look better with PNG than with JPEG, which is meant more for photos). On Ubuntu and Debian, `rsvg-convert` is in the `librsvg2-bin` package.
* Merge remote-tracking branch 'shervinsahba/master'toonn2021-12-131-1/+5
|\
| * broke up cases for OpenOffice docs, so ods/odp files would not use pandocShervin Sahba2021-12-131-1/+5
|/
* Merge branch 'guillermogf-man-previews'toonn2021-11-132-7/+7
|\
| * man: Regenerate ranger man pagetoonn2021-11-131-1/+1
| |
| * Fix wrong hotkeys in the manualGuillermo Gómez2021-11-122-6/+6
|/
* Merge branch 'pirate486743186-patch-3'toonn2021-11-111-0/+6
|\
| * scope: Remove exit to fallback in case of no thumbnailtoonn2021-11-111-2/+2
| |
| * thumbnail preview for audiopirate4867431862021-11-111-0/+6
|/
* Merge branch 'update-hacking-md'toonn2021-09-201-99/+4
|\
| * HACKING: Drop hut's email and PGP keytoonn2021-09-181-99/+4
|/ | | | | | Hut no longer actively manages contributions so people should use Github or the mailing list. Unfortunately we don't have a good setup for PGP-based communication about security issues with all maintainers.
* Merge remote-tracking branch 'N-R-K/sxiv-rifle'toonn2021-09-181-28/+44
|\
| * cleanup the commentNRK2021-09-191-4/+3
| |
| * dont hardcode /tmpNRK2021-09-191-1/+2
| |
| * add more detailed implementation noteNRK2021-09-191-0/+14
| |
| * add an implementation noteNRK2021-09-191-0/+4
| |
| * -print explicitly for posix complianceNRK2021-09-191-1/+1
| |
| * use grep -iE instead of -inameNRK2021-09-181-3/+2
| |
| * switch to -inameNRK2021-09-131-2/+2
| |
| * use more posix complaint flagsNRK2021-09-131-2/+4
| |
| * cleanupsNRK2021-09-131-22/+16
| | | | | | | | | | | | - remove invalid/old comment - use func args instead of global var - offload image loading into it's own function
| * rework the scriptNRK2021-09-131-3/+6
| | | | | | | | | | | | | | - remove null seperator - store the result of listfiles into a tmp file - remove -m 1 from grep, it's not needed. (it also wasn't posix) - remove dep on xargs
| * sxiv-rifle: only list extensionsNRK2021-09-081-1/+1
| |
| * sxiv-rifle: add tiff supportNRK2021-08-271-2/+2
| |
| * change order of bmpN-R-K2021-08-271-2/+2
| | | | | | Co-authored-by: toonn <toonn@toonn.io>
| * sxiv-rifle: handle unresolved `~`NRK2021-08-271-0/+1
| |
| * change func name to is_imgN-R-K2021-08-271-2/+2
| | | | | | Co-authored-by: toonn <toonn@toonn.io>
| * sxiv-rifle: don't grep non img extension filesNRK2021-08-271-1/+8
| |
| * sxiv-rifle: use parameter expansion instead of cutNRK2021-08-271-2/+2
| |
| * sxiv-rifle: don't grep if $target is not a fileNRK2021-08-271-1/+1
| |
| * fix edge case when file is in rootNRK2021-08-151-1/+1
| |
| * rifle_sxiv: add webp to listfiles()NRK2021-08-091-1/+1
| |
| * rifle_sxiv: performance improvementNRK2021-08-091-17/+9
| |
* | Merge remote-tracking branch 'marlyn-x86/feature/preview_elf_files'toonn2021-09-121-0/+5
|\ \
| * | Adds a preview for ELF files using readelfMarlyn2021-09-111-0/+5
|/ /
* | Merge branch 'jakanaka-eva-setlocal'toonn2021-09-074-40/+146
|\ \
| * | commands: Fix off-by-one shift in setinpath/regextoonn2021-09-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than complicating the matter by adding 1 to shift the specific set command (not sure why this works for me in testing, since `parse_setting_from_line` already drops the command) and then taking the minimum of the length of the path and 1 because of the "path=" bit that's always present, even if the path is an empty string, we just recreate the argument, substituting "=" for "path=", and iterate over the whitespace seperated parts and shift once for each.
| * | commands: Do not call the _arg propertytoonn2021-09-051-3/+3
| | |
| * | commands: Drop unused variable, define as propertytoonn2021-09-051-20/+14
| | | | | | | | | | | | | | | Was overriding the _arg property as a method but it can just be a property.
| * | doc: Document setinpath and setinregextoonn2021-09-052-23/+57
| | | | | | | | | | | | Fixes #2355
| * | commands: Implement setinregextoonn2021-09-051-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original behavior of `setlocal` allowed to pass in a regular expression that would be matched to paths. This was confusing for some users because many paths contain regular expression metacharacters and these would affect in which directories the settings apply in unexpected ways. To remedy this we decided to escape all metacharacters by default but this came at the cost of being unable to specify precisely which directories would match, as this made use of the `$` metacharacter with the original behavior. The behavior has been fixed to never match subdirectories but changing back to the original behavior and introducing a second backwards incompatible change was deemed a bad idea. So we decided to make `setlocal` an alias for the new `setinpath` and implement a `setinregex` that exhibits the original `setlocal` behavior, allowing for complex regular expressions.