summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* update NEWS.md v1.4.1Leah Neukirchen2019-02-081-1/+3
|
* update copyright yearsLeah Neukirchen2019-02-082-2/+2
|
* parse_string: off-by-one for reallocationLeah Neukirchen2019-01-291-1/+1
|
* README.md: fix skip expression commentDuncaen2019-01-251-1/+1
|
* callback: ensure trailing nul byteLeah Neukirchen2018-08-081-1/+1
|
* NEWS.md: update for 1.4 v1.4Leah Neukirchen2018-04-171-0/+4
|
* print_shquoted: respect QflagLeah Neukirchen2018-04-171-1/+1
|
* NEWS.md: update for 1.3 v1.3Leah Neukirchen2018-04-051-0/+3
|
* bump copyright messageLeah Neukirchen2018-04-052-2/+2
|
* support $NO_COLORLeah Neukirchen2018-01-292-0/+5
| | | | http://no-color.org/
* lr.1: mention tw(1)Leah Neukirchen2017-12-111-1/+2
|
* print file size in groups of three digits when -G is usedLeah Neukirchen2017-11-242-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 filenamesLeah Neukirchen2017-11-244-19/+106
| | | | Closes #1.
* print_format: add escapes for octal and hex bytesLeah Neukirchen2017-11-192-3/+32
|
* NEWS.md: update for 1.2 v1.2Leah Neukirchen2017-11-171-1/+3
|
* _lr: add completion for -BLeah Neukirchen2017-11-171-1/+2
|
* callback: free unregistered fileinfo immediatelyLeah Neukirchen2017-11-131-5/+7
|
* set sensible default widths for -ULeah Neukirchen2017-11-131-0/+10
|
* traverse: avoid out of bounds readLeah Neukirchen2017-11-131-1/+1
|
* add action 'skip' which is always falseLeah Neukirchen2017-11-124-0/+10
|
* revert making prune be falseLeah Neukirchen2017-11-122-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 treeLeah Neukirchen2017-11-121-0/+2
|
* NEWS.md: updateLeah Neukirchen2017-11-101-0/+1
|
* replace use of <search.h> (tsearch etc.) with own tree implementationLeah Neukirchen2017-11-101-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 portableLeah Neukirchen2017-11-081-3/+7
|
* lr.vim: updateLeah Neukirchen2017-11-081-3/+3
|
* fix -1 and -ALeah Neukirchen2017-11-081-2/+2
|
* make prune evaluate to falseLeah Neukirchen2017-11-083-1/+10
|
* add ternary (conditional) operatorLeah Neukirchen2017-11-084-4/+35
|
* new option -B for breadth first searchLeah Neukirchen2017-11-084-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 usedLeah Neukirchen2017-11-081-3/+15
|
* callback: use ino_t for entry count.Leah Neukirchen2017-11-081-2/+3
|
* define PATH_MAX to a sensible upper bound if undefinedLeah Neukirchen2017-11-071-0/+5
|
* readlin: check if buffer is too smallLeah Neukirchen2017-11-071-2/+2
|
* _lr: update completionLeah Neukirchen2017-11-051-0/+3
|
* scan_filesystems: on Linux, try /proc/mounts if _PATH_MOUNTED does not existLeah Neukirchen2017-11-041-0/+2
| | | | (Discovered on WSL 1703)
* eval: clean up codeLeah Neukirchen2017-11-031-11/+11
|
* NEWS.md: update for 1.1 v1.1Leah Neukirchen2017-10-291-1/+2
|
* README.md: updateLeah Neukirchen2017-10-291-2/+2
|
* scan_filesystems: support DragonFlyBSDLeah Neukirchen2017-10-171-1/+1
|
* lr.1: use single quotes around -Leah Neukirchen2017-09-241-1/+1
| | | | Closes #14.
* add -e REGEX as a shortcut to filter basenamesLeah Neukirchen2017-09-204-33/+48
|
* NEWS.md: updateLeah Neukirchen2017-09-201-0/+5
|
* recurse: guard DT_DIR optimizationLeah Neukirchen2017-09-171-0/+4
|
* detect when stat(2)-ing all files is not neededLeah Neukirchen2017-09-171-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 failLeah Neukirchen2017-09-171-1/+2
|
* lr: hyperlink_on: print hostname and use RFC3986-style URI encodingLeah Neukirchen2017-09-121-4/+34
|
* add -X for OSC 8 hyperlinksLeah Neukirchen2017-09-123-4/+49
|
* styleLeah Neukirchen2017-08-311-40/+40
|
* print_format: cleanupLeah Neukirchen2017-08-291-4/+4
|