Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | print_shquoted: respect Qflag | Leah Neukirchen | 2018-04-17 | 1 | -1/+1 |
| | |||||
* | NEWS.md: update for 1.3 v1.3 | Leah Neukirchen | 2018-04-05 | 1 | -0/+3 |
| | |||||
* | bump copyright message | Leah Neukirchen | 2018-04-05 | 2 | -2/+2 |
| | |||||
* | support $NO_COLOR | Leah Neukirchen | 2018-01-29 | 2 | -0/+5 |
| | | | | http://no-color.org/ | ||||
* | lr.1: mention tw(1) | Leah Neukirchen | 2017-12-11 | 1 | -1/+2 |
| | |||||
* | print file size in groups of three digits when -G is used | Leah Neukirchen | 2017-11-24 | 2 | -2/+24 |
| | | | | | We use a custom printing function as %'jd is locale-dependent (and not implemented in musl). | ||||
* | add -P for $'...' escaping, verify UTF-8 filenames | Leah Neukirchen | 2017-11-24 | 4 | -19/+106 |
| | | | | Closes #1. | ||||
* | print_format: add escapes for octal and hex bytes | Leah Neukirchen | 2017-11-19 | 2 | -3/+32 |
| | |||||
* | NEWS.md: update for 1.2 v1.2 | Leah Neukirchen | 2017-11-17 | 1 | -1/+3 |
| | |||||
* | _lr: add completion for -B | Leah Neukirchen | 2017-11-17 | 1 | -1/+2 |
| | |||||
* | callback: free unregistered fileinfo immediately | Leah Neukirchen | 2017-11-13 | 1 | -5/+7 |
| | |||||
* | set sensible default widths for -U | Leah Neukirchen | 2017-11-13 | 1 | -0/+10 |
| | |||||
* | traverse: avoid out of bounds read | Leah Neukirchen | 2017-11-13 | 1 | -1/+1 |
| | |||||
* | add action 'skip' which is always false | Leah Neukirchen | 2017-11-12 | 4 | -0/+10 |
| | |||||
* | revert making prune be false | Leah Neukirchen | 2017-11-12 | 2 | -5/+2 |
| | | | | | This makes things more confusing in the end (and is not how find(1) works either). | ||||
* | fitree_walk: don't crash on empty tree | Leah Neukirchen | 2017-11-12 | 1 | -0/+2 |
| | |||||
* | NEWS.md: update | Leah Neukirchen | 2017-11-10 | 1 | -0/+1 |
| | |||||
* | replace use of <search.h> (tsearch etc.) with own tree implementation | Leah Neukirchen | 2017-11-10 | 1 | -127/+242 |
| | | | | | | | | tsearch(3) can be terribly inefficient on some systems, degrading to linear search. This AA-tree implementation is not measurably slower than e.g. musl's AVL tree implementation. Meanwhile, get rid of the silly tsearch API. | ||||
* | replace GNU-extension tdestroy(3) with something portable | Leah Neukirchen | 2017-11-08 | 1 | -3/+7 |
| | |||||
* | lr.vim: update | Leah Neukirchen | 2017-11-08 | 1 | -3/+3 |
| | |||||
* | fix -1 and -A | Leah Neukirchen | 2017-11-08 | 1 | -2/+2 |
| | |||||
* | make prune evaluate to false | Leah Neukirchen | 2017-11-08 | 3 | -1/+10 |
| | |||||
* | add ternary (conditional) operator | Leah Neukirchen | 2017-11-08 | 4 | -4/+35 |
| | |||||
* | new option -B for breadth first search | Leah Neukirchen | 2017-11-08 | 4 | -13/+68 |
| | | | | | | | | We use two trees and add the newly found files to the other one, then loop until no more files are found. prune, -t, -L and -x work, depth needs a slight hack; loop detection and -U doesn't work. | ||||
* | free fileinfo when -U is used | Leah Neukirchen | 2017-11-08 | 1 | -3/+15 |
| | |||||
* | callback: use ino_t for entry count. | Leah Neukirchen | 2017-11-08 | 1 | -2/+3 |
| | |||||
* | define PATH_MAX to a sensible upper bound if undefined | Leah Neukirchen | 2017-11-07 | 1 | -0/+5 |
| | |||||
* | readlin: check if buffer is too small | Leah Neukirchen | 2017-11-07 | 1 | -2/+2 |
| | |||||
* | _lr: update completion | Leah Neukirchen | 2017-11-05 | 1 | -0/+3 |
| | |||||
* | scan_filesystems: on Linux, try /proc/mounts if _PATH_MOUNTED does not exist | Leah Neukirchen | 2017-11-04 | 1 | -0/+2 |
| | | | | (Discovered on WSL 1703) | ||||
* | eval: clean up code | Leah Neukirchen | 2017-11-03 | 1 | -11/+11 |
| | |||||
* | NEWS.md: update for 1.1 v1.1 | Leah Neukirchen | 2017-10-29 | 1 | -1/+2 |
| | |||||
* | README.md: update | Leah Neukirchen | 2017-10-29 | 1 | -2/+2 |
| | |||||
* | scan_filesystems: support DragonFlyBSD | Leah Neukirchen | 2017-10-17 | 1 | -1/+1 |
| | |||||
* | lr.1: use single quotes around - | Leah Neukirchen | 2017-09-24 | 1 | -1/+1 |
| | | | | Closes #14. | ||||
* | add -e REGEX as a shortcut to filter basenames | Leah Neukirchen | 2017-09-20 | 4 | -33/+48 |
| | |||||
* | NEWS.md: update | Leah Neukirchen | 2017-09-20 | 1 | -0/+5 |
| | |||||
* | recurse: guard DT_DIR optimization | Leah Neukirchen | 2017-09-17 | 1 | -0/+4 |
| | |||||
* | detect when stat(2)-ing all files is not needed | Leah Neukirchen | 2017-09-17 | 1 | -32/+83 |
| | | | | | | | | | | | For plain file listing, no stat(2) information is needed; inspect the format string and ordering options to ensure this is true. We assume any custom test implies needing to stat for now. recurse detects in opendir/readdir whether to recurse on DT_DIR etc. This massively speeds up listing large trees, making lr -U almost as fast as plain GNU find(1). | ||||
* | recurse: lstat on symlink loops, don't fail | Leah Neukirchen | 2017-09-17 | 1 | -1/+2 |
| | |||||
* | lr: hyperlink_on: print hostname and use RFC3986-style URI encoding | Leah Neukirchen | 2017-09-12 | 1 | -4/+34 |
| | |||||
* | add -X for OSC 8 hyperlinks | Leah Neukirchen | 2017-09-12 | 3 | -4/+49 |
| | |||||
* | style | Leah Neukirchen | 2017-08-31 | 1 | -40/+40 |
| | |||||
* | print_format: cleanup | Leah Neukirchen | 2017-08-29 | 1 | -4/+4 |
| | |||||
* | style: consistent casts | Leah Neukirchen | 2017-08-29 | 1 | -7/+7 |
| | |||||
* | NEWS.md: update for 1.0 v1.0 | Leah Neukirchen | 2017-08-29 | 1 | -0/+3 |
| | |||||
* | recurse: need special case for "lr /" | Leah Neukirchen | 2017-08-29 | 1 | -1/+2 |
| | |||||
* | print_format: use snprintf for bounded strcpy | Leah Neukirchen | 2017-08-29 | 1 | -1/+1 |
| | |||||
* | print_format: compute time_t difference as long | Leah Neukirchen | 2017-08-29 | 1 | -4/+5 |
| | |||||
* | xattr_string: return empty static string | Leah Neukirchen | 2017-08-29 | 1 | -2/+4 |
| |