summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement a depth-first mode (-dfs)Tavian Barnes2019-05-286-14/+170
|
* bftw: Visit multiple roots breadth-firstTavian Barnes2019-05-285-94/+85
| | | | This makes `bfs a b` treat `a` and `b` as siblings.
* bftw: Refactor the implementation a bitTavian Barnes2019-05-281-218/+180
|
* Makefile: Make the all target really build allTavian Barnes2019-05-271-2/+4
|
* fsade: Fix ACL detection on macOSTavian Barnes2019-05-243-21/+86
|
* Add documentation for -xattrTavian Barnes2019-05-243-9/+22
|
* Implement -xattr predicateTavian Barnes2019-05-2411-5/+136
|
* fsade: Refactor the POSIX.1e abstractionsTavian Barnes2019-05-2412-216/+334
| | | | | | | Since we're going to want to abstract more things that aren't part of POSIX.1e (like xattrs) in a similar way, let's give this a more generic name. And while we're at it, give it some more precise error reporting, and add some tests.
* dstring: Add a printf()-style creation APITavian Barnes2019-05-232-0/+42
|
* tests: Fix a typoTavian Barnes2019-05-231-1/+1
|
* bftw: Take dir->{dev,ino} from the right stat bufferTavian Barnes2019-05-231-1/+1
| | | | I don't think this can cause any observable bugs, but it's still wrong.
* tests: Work around Bash 4 not updating $COLUMNSTavian Barnes2019-05-091-0/+7
|
* tests: Add some more --sudo testsTavian Barnes2019-05-094-5/+54
| | | | | | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912180#17 pointed out that d_ino is not trustworthy on mount points either. Make sure we don't use it.
* Release 1.4.11.4.1Tavian Barnes2019-05-053-2/+13
|
* color: Don't stat() if we don't need toTavian Barnes2019-05-055-33/+95
|
* bftw: Pass a const struct BFTW * to the callbackTavian Barnes2019-05-057-83/+84
|
* tests: Add missing expectation fileTavian Barnes2019-05-041-0/+0
|
* bftw: Add a caching stat() API to struct BFTWTavian Barnes2019-05-049-343/+432
|
* stat: Get rid of bfs_fstat()Tavian Barnes2019-05-043-15/+13
| | | | We can just use bfs_stat() with a NULL at_path.
* stat: Unify the flags argumentsTavian Barnes2019-05-0410-45/+66
|
* tests: Fix test_xtype_reorderTavian Barnes2019-04-281-2/+2
|
* Add support for the NO_COLOR environment variableTavian Barnes2019-04-271-4/+10
| | | | C.f. https://no-color.org/
* parse: Add some missing costs/probabilitiesTavian Barnes2019-04-241-0/+4
| | | | Previously we weren't re-ordering -type in front of -newerXY
* tests: Add some tests that require sudoTavian Barnes2019-04-245-13/+89
|
* tests: Redirect stdin from /dev/nullTavian Barnes2019-04-241-0/+3
|
* tests: Use more colorsTavian Barnes2019-04-241-32/+39
|
* parse: Allow things like -uid ++10Tavian Barnes2019-04-216-3/+105
| | | | GNU find does too.
* tests: Fix --bfs=pathTavian Barnes2019-04-211-10/+10
|
* tests: Don't test symlink permissionsTavian Barnes2019-04-202-32/+32
| | | | They're different between platforms.
* tests: Add a test with -printf %H and multiple rootsTavian Barnes2019-04-202-0/+36
| | | | To make sure we're keeping track of different root paths correctly
* trie: Make trie_remove() take a leaf instead of a keyTavian Barnes2019-04-205-62/+27
|
* tests: Refuse to run as rootTavian Barnes2019-04-181-256/+267
| | | | | Suggested by Chris Lamb here: https://salsa.debian.org/lamby/pkg-bfs/commit/b173efb35da126adb39b0984219d6a2fd9ff428f#note_74877
* Release 1.41.4Tavian Barnes2019-04-1510-9/+23
|
* tests: Fix color NUL byte test on platforms where sort expects textTavian Barnes2019-03-283-1/+17
|
* color: Implement ln=targetTavian Barnes2019-03-283-18/+82
| | | | | With ln=target in LS_COLORS, links should be colored according to their target's stat() info, not their own.
* color: Implement escape sequence parsingTavian Barnes2019-03-284-196/+426
| | | | | GNU ls allows custom escape sequences inside color values, including control characters and embedded NULs.
* dstring: Add a dstrdup() functionTavian Barnes2019-03-272-6/+23
|
* trie: Store void* values rather than const void*Tavian Barnes2019-03-274-5/+5
| | | | Fewer casts needed this way.
* opt: Optimize redundant comma expressionsTavian Barnes2019-03-214-5/+21
|
* tests: Respond to terminal resizesTavian Barnes2019-03-211-3/+9
|
* tests: Make the output more colorful and nicerTavian Barnes2019-03-201-18/+16
|
* opt: Replace -a -false/-o -true with -not when possibleTavian Barnes2019-03-203-0/+25
|
* tests: Add utilities for comparing colors to lsTavian Barnes2019-03-193-1/+93
|
* tests: Use archive extensions for color testsTavian Barnes2019-03-1726-6/+82
|
* color: Match the behaviour of GNU ls more closelyTavian Barnes2019-03-1727-51/+289
|
* main: Add pointer to trie.[ch]Tavian Barnes2019-03-171-0/+1
|
* README: Reorganize it a bitTavian Barnes2019-03-081-15/+27
|
* tests: Add a test for extension overridesTavian Barnes2019-03-073-0/+44
|
* eval: Fix -unique with -depthTavian Barnes2019-03-074-1/+33
|
* bftw: Work around d_type being wrong for bind mounts on LinuxTavian Barnes2019-03-068-43/+121
| | | | | | C.f. https://savannah.gnu.org/bugs/?54913 C.f. https://lkml.org/lkml/2019/2/11/2027 Fixes https://github.com/tavianator/bfs/issues/37