Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Work around https://github.com/llvm/llvm-project/issues/64946 | Tavian Barnes | 2023-08-23 | 1 | -0/+3 | |
| | ||||||
* | parse: Allow -files0-from an empty set of paths | Tavian Barnes | 2023-08-14 | 1 | -10/+3 | |
| | | | | This follows a behaviour change in GNU findutils 4.9.0. | |||||
* | parse: Reject -j0 | Tavian Barnes | 2023-07-12 | 1 | -1/+9 | |
| | ||||||
* | Use strcmp() instead of fnmatch() if possible | Tavian Barnes | 2023-07-06 | 1 | -5/+12 | |
| | ||||||
* | parse: Warn about errors parsing $LS_COLORS | Tavian Barnes | 2023-06-29 | 1 | -1/+5 | |
| | ||||||
* | Unify macro naming conventions | Tavian Barnes | 2023-06-24 | 1 | -2/+2 | |
| | | | | | In particular, macros that decide whether to use a particular API/ dependency should be spelled BFS_USE_*, and should be configurable. | |||||
* | alloc: New header for memory allocation utilities | Tavian Barnes | 2023-06-20 | 1 | -25/+3 | |
| | ||||||
* | bfstd: New xmemdup() function | Tavian Barnes | 2023-06-20 | 1 | -5/+2 | |
| | ||||||
* | parse: Shell-escape arguments in diagnostics | Tavian Barnes | 2023-06-16 | 1 | -6/+6 | |
| | ||||||
* | parse: Don't default to depth-first when argv[0] is "find" | Tavian Barnes | 2023-06-14 | 1 | -6/+0 | |
| | ||||||
* | bftw: Use an I/O queue to open directories | Tavian Barnes | 2023-06-13 | 1 | -1/+25 | |
| | | | | Parallelism is controlled by the new -j flag. | |||||
* | sanity: Add wrappers for sanitizer interfaces | Tavian Barnes | 2023-05-25 | 1 | -0/+1 | |
| | ||||||
* | Switch from assert() to bfs_assert()/bfs_verify() | Tavian Barnes | 2023-05-18 | 1 | -4/+3 | |
| | ||||||
* | Use bfs_bug("...") over assert(!"...") | Tavian Barnes | 2023-05-18 | 1 | -2/+2 | |
| | ||||||
* | config: Provide <stdalign.h> and <stdbool.h> | Tavian Barnes | 2023-05-11 | 1 | -1/+0 | |
| | | | | In anticipation of C23, since those headers won't be necessary any more. | |||||
* | config: s/BFS_FALLTHROUGH/fallthru/ | Tavian Barnes | 2023-05-10 | 1 | -9/+9 | |
| | ||||||
* | config: s/BFS_UNINIT/uninit/ | Tavian Barnes | 2023-05-10 | 1 | -4/+4 | |
| | ||||||
* | config: Hoist the assignment outside of BFS_UNINIT() | Tavian Barnes | 2023-05-08 | 1 | -4/+4 | |
| | ||||||
* | Replace license boilerplate with SPDX tags | Tavian Barnes | 2023-01-25 | 1 | -15/+2 | |
| | | | | | | | And while I'm at it, remove years from copyright declarations. Link: https://spdx.dev/about/ Link: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/ | |||||
* | opt: Move probabilities out of the parser | Tavian Barnes | 2023-01-24 | 1 | -120/+29 | |
| | ||||||
* | opt: Move costs out of the parser | Tavian Barnes | 2023-01-24 | 1 | -51/+3 | |
| | ||||||
* | opt: Move always_{true,false} out of the parser | Tavian Barnes | 2023-01-24 | 1 | -50/+6 | |
| | ||||||
* | opt: Move purity out of the parser | Tavian Barnes | 2023-01-24 | 1 | -25/+2 | |
| | ||||||
* | bfstd: New wrappers for dirname()/basename() | Tavian Barnes | 2023-01-19 | 1 | -2/+4 | |
| | ||||||
* | parse: Mark another variable with BFS_UNINIT() | Tavian Barnes | 2022-12-09 | 1 | -1/+1 | |
| | ||||||
* | config: New BFS_UNINIT() macro for intentionally uninitialized variables | Tavian Barnes | 2022-12-09 | 1 | -3/+3 | |
| | ||||||
* | expr: Rename bfs_expr_has_children() to _is_parent() | Tavian Barnes | 2022-12-05 | 1 | -6/+6 | |
| | ||||||
* | parse: Fix crash on -xdev -mount | Tavian Barnes | 2022-11-30 | 1 | -1/+1 | |
| | ||||||
* | parse: Pass the right argument when warning about -O9 | Tavian Barnes | 2022-11-30 | 1 | -1/+1 | |
| | ||||||
* | expr: Remove the singleton bfs_{true,false} expressions | Tavian Barnes | 2022-11-30 | 1 | -138/+168 | |
| | ||||||
* | expr: Remove the synthetic flag | Tavian Barnes | 2022-11-29 | 1 | -9/+0 | |
| | | | | | Only diagnostics cares about this, and we can just check if the pointers are equal. | |||||
* | Dump expression trees in a multi-line format | Tavian Barnes | 2022-11-29 | 1 | -50/+71 | |
| | ||||||
* | expr: Don't use reftime for -ls | Tavian Barnes | 2022-11-17 | 1 | -8/+2 | |
| | | | | | reftime is part of a different union than the print actions are supposed to use. | |||||
* | Use BFS_COMMAND over "bfs" in more places | Tavian Barnes | 2022-11-13 | 1 | -5/+8 | |
| | ||||||
* | Try to report I/O errors earlier and only once | Tavian Barnes | 2022-11-10 | 1 | -0/+2 | |
| | ||||||
* | parse: Squelch an uninitialized variable warning | Tavian Barnes | 2022-11-09 | 1 | -1/+1 | |
| | ||||||
* | pwcache: Fill the user/group caches lazily | Tavian Barnes | 2022-11-09 | 1 | -42/+26 | |
| | | | | | | | Iterating all the users/groups can be expensive, especially with NSS. Android has so many that it doesn't even return them all from get{pw,gr}ent() for performance reasons, leading to incorrect behaviour of -user/-group/etc. | |||||
* | xtime: Move parse_gettime() to xgettime() | Tavian Barnes | 2022-11-07 | 1 | -24/+2 | |
| | ||||||
* | xtime: s/parse_timestamp/xgetdate/ | Tavian Barnes | 2022-11-07 | 1 | -1/+1 | |
| | ||||||
* | bfstd: Rename from util and reorganize it | Tavian Barnes | 2022-11-06 | 1 | -1/+1 | |
| | ||||||
* | config: Split out some of util.h into a new header | Tavian Barnes | 2022-11-06 | 1 | -2/+2 | |
| | ||||||
* | parse: Don't free uninitialized data on error paths | Tavian Barnes | 2022-10-19 | 1 | -0/+13 | |
| | ||||||
* | parse: They're called "primary expressions," not "literals" | Tavian Barnes | 2022-07-05 | 1 | -6/+6 | |
| | ||||||
* | parse: Warn on paths found within -exclude | Tavian Barnes | 2022-05-13 | 1 | -0/+5 | |
| | ||||||
* | Source / Include Folder (#88) | トトも | 2022-04-16 | 1 | -0/+3959 | |
Moved Source Files Into `src` Folder |