Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 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 |
| | |||||
* | scan_filesystems: support DragonFlyBSD | Leah Neukirchen | 2017-10-17 | 1 | -1/+1 |
| | |||||
* | add -e REGEX as a shortcut to filter basenames | Leah Neukirchen | 2017-09-20 | 1 | -32/+39 |
| | |||||
* | 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 | 1 | -1/+42 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | add strop negations | Leah Neukirchen | 2017-08-21 | 1 | -0/+19 |
| | |||||
* | lr: add action "color <num>" to override colors | Leah Neukirchen | 2017-07-27 | 1 | -0/+16 |
| | |||||
* | lr: breaking change: swap meaning of -Q | Leah Neukirchen | 2017-07-27 | 1 | -10/+14 |
| | | | | This is a bit unfortunate, but the better behavior in the long run. | ||||
* | lr: use setlocale. | Leah Neukirchen | 2017-07-19 | 1 | -0/+3 |
| | | | | | | | | This will enable date stamp formatting for %A, %C, %T as known from date(1). Note that LC_COLLATE and LC_CTYPE is not respected, as we continue to use strcmp. Closes #12. | ||||
* | lr: print errors and return status 1 when a toplevel argument cannot be stat'ed | Leah Neukirchen | 2017-07-13 | 1 | -4/+14 |
| | |||||
* | lr: fix output of empty string | Leah Neukirchen | 2017-06-20 | 1 | -2/+5 |
| | |||||
* | lr: add -C to allow coloring of files | Leah Neukirchen | 2017-06-20 | 1 | -8/+45 |
| | |||||
* | lr: allow empty string for . | Leah Neukirchen | 2017-06-20 | 1 | -7/+11 |
| | |||||
* | lr: support @file to read file names from file | Leah Neukirchen | 2017-06-20 | 1 | -0/+9 |
| | |||||
* | lr: set prefixl to 0 when reading from stdin | Leah Neukirchen | 2017-06-20 | 1 | -1/+5 |
| | |||||
* | Leahize | Leah Neukirchen | 2017-04-25 | 1 | -1/+1 |
| | |||||
* | parse_error: portably declare noreturn | Christian Neukirchen | 2016-08-30 | 1 | -1/+11 |
| | | | | Squelches many clang-analyzer false positives. | ||||
* | lr: argument '-' means read files from standard input | Christian Neukirchen | 2016-07-24 | 1 | -1/+36 |
| | |||||
* | print_format: use 4 digits for the age in days | Christian Neukirchen | 2016-06-03 | 1 | -1/+1 |
| | |||||
* | store result of getopt in int, to not break on architectures with unsigned chars | Christian Neukirchen | 2016-05-20 | 1 | -2/+1 |
| | |||||
* | parse_strcmp: rearrange to check for token =~ before = | Christian Neukirchen | 2016-03-31 | 1 | -7/+7 |
| | |||||
* | use <sys/xattr.h> v0.3 | Christian Neukirchen | 2016-02-28 | 1 | -1/+1 |
| | |||||
* | update copyright years | Christian Neukirchen | 2016-02-28 | 1 | -1/+1 |
| | |||||
* | use same color for broken links as for dates in future | Christian Neukirchen | 2016-02-27 | 1 | -1/+1 |
| | |||||
* | highlight symlink targets, needs an additional lstat for -G | Christian Neukirchen | 2016-02-27 | 1 | -2/+26 |
| | |||||
* | typo | Christian Neukirchen | 2016-02-27 | 1 | -1/+1 |
| | |||||
* | read chmod X flag from old permissions | Christian Neukirchen | 2016-02-27 | 1 | -1/+1 |
| | |||||
* | clean up code for setting flags | Christian Neukirchen | 2016-02-27 | 1 | -1/+1 |
| | |||||
* | skip over ugo as permissions | Christian Neukirchen | 2016-02-27 | 1 | -3/+3 |
| | |||||
* | off by one... | Christian Neukirchen | 2016-02-27 | 1 | -1/+1 |
| | |||||
* | add clauses for -1 -A -d to the beginning of the expression | Christian Neukirchen | 2016-02-27 | 1 | -3/+5 |
| | |||||
* | zero-terminate pathbuf in traverse | Christian Neukirchen | 2016-02-27 | 1 | -0/+1 |
| | |||||
* | fix default mask computation | Christian Neukirchen | 2016-02-27 | 1 | -1/+1 |
| | |||||
* | implement matching against chmod-style symbolic modes | Christian Neukirchen | 2016-02-27 | 1 | -0/+71 |
| | |||||
* | fix sticky bit in %M | Christian Neukirchen | 2016-02-27 | 1 | -1/+1 |
| | |||||
* | map -TA -TC -TM to %A %C %T properly | Christian Neukirchen | 2016-02-27 | 1 | -2/+2 |
| |