about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Use identity rather than equality comparison for Nonetoonn2020-11-181-1/+1
|
* Explicit truthy logic for draw_borders_multipaneEthan Kiang2020-11-182-2/+8
|
* Update ALLOWED_VALUES in settings.py for draw_borders_multipaneEthan Kiang2020-11-181-1/+3
|
* Use "draw_borders_multipane" instead and "draw_borders" as fallbackEthan Kiang2020-11-182-6/+10
|
* Fixed borders not redrawing upon setting change, renamed floating -> active-paneEthan Kiang2020-11-181-2/+11
|
* pylint fixesEthan Kiang2020-11-181-2/+2
|
* created floating style borders for multipaneEthan Kiang2020-11-182-31/+42
|
* Fixed borders drawing over the 1st and last directoryEthan Kiang2020-11-181-1/+19
| | | | | | pylint flake8 errors fixed
* Added draw_borders setting support for view_multipaneEthan Kiang2020-11-181-0/+53
|
* Merge branch 'Nfanja-patch-1'toonn2020-11-151-1/+1
|\
| * Add decrementtoonn2020-11-151-1/+1
| | | | | | | | | | | | When adding the max function call the decrementing was dropped. Fixes #1603
| * add forgotten maxFedor2020-11-151-1/+1
| |
| * Fix ranger freeze after shell command during kitty previewFedor2020-11-151-1/+1
|/
* Merge branch 'pretty-make'toonn2020-11-131-8/+17
|\
| * Change "sgr0" to "normal" for legibilitytoonn2020-11-131-9/+9
| |
| * Add formatting to make output for claritytoonn2020-11-131-8/+17
|/
* Merge branch 'fix-travis'toonn2020-11-116-42/+51
|\
| * Fix test_py2_compat formattingtoonn2020-11-111-0/+1
| |
| * Drop py3 specific pylint for ranger/configtoonn2020-11-111-1/+1
| |
| * Shortcut py2 incompatible pytest teststoonn2020-11-111-0/+11
| | | | | | | | | | | | Three of our pytest tests aren't compatible with python 2 by returning early from these testcases and always making them pass, we avoid false negatives in CI results.
| * Unalign code because bad-whitspace was removedtoonn2020-11-113-40/+37
| |
| * Add new py3 specific pylint warnings to disabledtoonn2020-11-111-1/+1
|/
* Merge branch 'politas-fix/1880-multipane-status'toonn2020-11-111-1/+7
|\
| * Merge branch 'master' into fix/1880-multipane-statusMyk2020-11-072-13/+20
| |\
| * | unbind from tab.changeMyk2020-08-061-1/+0
| | |
| * | Merge branch 'fix/1880-multipane-status' of ↵Myk2020-08-022-2/+22
| |\ \ | | | | | | | | | | | | https://github.com/politas/ranger into fix/1880-multipane-status
| | * \ Merge branch 'master' into fix/1880-multipane-statusMyk2020-08-022-2/+22
| | |\ \
| * | | | Add handler for tab.layoutchangeMyk2020-08-021-0/+1
| |/ / /
| * | | Handle all column changesMyk2020-08-011-4/+4
| | | |
| * | | Test for and follow tab changes in multipane modeMyk2020-08-011-1/+7
| | | |
* | | | Merge branch 'plesiv-master'toonn2020-11-084-15/+15
|\ \ \ \ | |_|_|/ |/| | |
| * | | Regenerate rifle man pagetoonn2020-11-081-1/+1
| | | |
| * | | Update the docs to reflect changes to codeZoran Plesivcak2020-11-083-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to code in: - previous commit (THIS_COMMIT^) - c826091a74e88102ca1795ab9798dd8b8498f653
| * | | Allow $PAGER to contain spaces (handle pager flags)Zoran Plesivcak2020-11-081-8/+8
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is similar to: c826091a74e88102ca1795ab9798dd8b8498f653 . See the referenced commit for the explanation. Note that $PAGER is not a strictly better than "$PAGER". In the cases where the pager executable in PAGER contains spaces e.g. "/path with spaces/bin/less" the "$PAGER" works correctly and $PAGER doesn't. This occurrence is much less frequent than pager in PAGER containing flags, e.g. "less -R" which works correctly with $PAGER, but doesn't with "$PAGER". This change is a desirable trade-off.
* | | Merge branch 'swalladge-extra-rifle-apps'toonn2020-11-061-12/+19
|\ \ \
| * | | Fix rifle rule alignmenttoonn2020-11-061-10/+10
| | | |
| * | | Add support for more apps in rifle default configSamuel Walladge2019-10-231-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - audacity - firefox dev edition - scribus projects - sc (cli spreadsheet editor) - krita image editor Also fix existing regex patterns for video|audio.
* | | | Merge branch 'cache-hash'toonn2020-10-041-1/+1
|\ \ \ \ | |_|_|/ |/| | |
| * | | Fix encoding of cached filenamestoonn2020-10-041-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | A typo crept into the encoding of paths used for the hashes of cached images. The error handler "backslashescape" doesn't exist, it should've been "backslashreplace." Fixes #2119
* | | Merge branch 'multipane-selection'toonn2020-08-012-2/+22
|\ \ \ | |_|/ |/| |
| * | Add initialization and fix indentationtoonn2020-08-011-3/+6
| | |
| * | Selection in multipane viewmode was misleadingtoonn2020-07-272-2/+19
|/ / | | | | | | | | | | | | | | | | | | | | Tabs only remembered the pointer of their browsercolumn. This lead to erroneous rendering of the selection. By additionally keeping track of the object which is pointed at we can restore the remembered pointer even when sorting or (un)filtering completely invalidates the remembered index. Fixes #1511 Fixes #1995
* | Merge branch 'cache-hash'toonn2020-07-241-4/+5
|\ \
| * | Fix unicode decode issues in py2toonn2020-07-241-4/+5
|/ / | | | | | | | | | | | | | | | | | | | | | | | | Python 2 implicitly decodes strings as ASCII or the system's default encoding before encoding a string to bytes. This results in problems if the string already contains characters outside the ASCII range (> 127). I reintroduced this bug thinking encoding a string in both python 2 and 3 would be harmless. Actually swapped the order of the inode and the path which should've happened in the previous commit. Fixes #2054
* | Merge branch 'cache-hash'toonn2020-07-081-8/+13
|\ \
| * | Fix check for Nonetoonn2020-07-081-2/+2
| | | | | | | | | | | | | | | `not inode` would fail if the inode happened to be 0. Switched from appending to prepending the inode to avoid appending to long strings.
| * | Add path to cache hashtoonn2020-07-081-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without the `st_dev` the `st_ino` is no longer enough to uniquely identify a file. A disadvantage of including the mtime in the hash is that changed previews don't overwrite the old cache path so the cached grows faster. We use the path to the file to uniquely identify a device. We concatenate it with the `st_ino` which ensures that replacing a file is not enough to cause a collision. This is hashed to create the cache path. Every time we check whether a preview is cached we verify that the file being preview is as old or older than the cached preview. The only differences from the original scheme are the algorithm (SHA-512 now), accepting previews of with the same mtime as the original file and including the inode identifier in the hash.
| * | Drop st_dev from sha512_encodetoonn2020-07-071-2/+1
| | | | | | | | | | | | | | | | | | The device identifier is not necessarily consistent across reboots or system crashes. Since we don't want to regenerate cached previews at every reboot we can't rely on it.
| * | Switch to packing fields for sha512_encodetoonn2020-07-071-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The easy solution was to render the `st_dev, st_ino, st_mtime` to a string and encode that before hashing. This solution is more efficient because it packs the numbers as bytes rather than the digits. Technically POSIX.1 does not specify an upper limit on the sizes for these fields. I think it's safe to say none of the major operating systems will use more than 8 bytes/64 bits any time soon.
| * | Fix indendation of sha512_encodetoonn2020-07-071-4/+5
| | |