summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tests.sh: Try a bit harder to clean up scratchTavian Barnes2019-06-171-4/+3
| | | | | This matters if some directories aren't readable/searchable and we get ^C'd, for example.
* parse: Sort the parse tableTavian Barnes2019-06-161-6/+6
|
* bfs.1: Color -S and bfs/dfs/ids differentlyTavian Barnes2019-06-161-5/+5
|
* eval: Get rid of a level of indirection for quitTavian Barnes2019-06-161-13/+10
|
* exec: Assert that at_fd is the immediate parentTavian Barnes2019-06-161-0/+3
|
* spawn: Move the pipe FD out of the way of input FDs tooTavian Barnes2019-06-161-1/+1
|
* main: Update comment for fsadeTavian Barnes2019-06-161-1/+1
|
* parse: Reject unknown search strategiesTavian Barnes2019-06-041-1/+17
|
* parse: Use -S {bfs,dfs,ids} rather than -{bfs,dfs,ids}Tavian Barnes2019-06-043-24/+35
|
* Add documentation for -bfs/-dfs/-idsTavian Barnes2019-06-032-1/+19
|
* parse: Pipe bfs -help to a pager when interactiveTavian Barnes2019-05-311-3/+125
|
* spawn: Add dup2() and close() file actionsTavian Barnes2019-05-312-6/+75
|
* parse: Fix some line wrappingTavian Barnes2019-05-311-2/+2
|
* Implement an iterative deepening mode (-ids)Tavian Barnes2019-05-295-2/+142
|
* 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.