Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ctx: Escape paths when reporting errors in bfs_ctx_free() | Tavian Barnes | 2024-04-24 | 1 | -1/+1 |
| | |||||
* | Re-run include-what-you-use | Tavian Barnes | 2024-03-11 | 1 | -0/+1 |
| | |||||
* | ctx: Fill in ctx->threads earlier | Tavian Barnes | 2024-02-06 | 1 | -0/+16 |
| | |||||
* | expr: Make expressions variadic | Tavian Barnes | 2024-01-07 | 1 | -1/+1 |
| | | | | | | | | | Rather than only unary/binary expressions, we now support an arbitrary number of children. The optimizer has been re-written almost completely and now supports optimal reordering of longer expression chains, rather than just arm-swapping. Fixes #85. | ||||
* | expr: Arena-allocate expressions | Tavian Barnes | 2023-12-20 | 1 | -3/+8 |
| | |||||
* | ctx: Switch paths from darray to RESERVE() | Tavian Barnes | 2023-11-23 | 1 | -3/+2 |
| | |||||
* | ctx: Store the original and current RLIMIT_NOFILE | Tavian Barnes | 2023-11-06 | 1 | -4/+2 |
| | |||||
* | diag: Move enum debug_flags out of ctx.h | Tavian Barnes | 2023-10-12 | 1 | -25/+0 |
| | |||||
* | Formatting fixes | Tavian Barnes | 2023-09-27 | 1 | -1/+0 |
| | |||||
* | Use the new list macros | Tavian Barnes | 2023-09-25 | 1 | -2/+2 |
| | |||||
* | alloc: New header for memory allocation utilities | Tavian Barnes | 2023-06-20 | 1 | -28/+3 |
| | |||||
* | bftw: Use an I/O queue to open directories | Tavian Barnes | 2023-06-13 | 1 | -0/+1 |
| | | | | Parallelism is controlled by the new -j flag. | ||||
* | Use bfs_bug("...") over assert(!"...") | Tavian Barnes | 2023-05-18 | 1 | -2/+1 |
| | |||||
* | 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/ | ||||
* | expr: Don't use reftime for -ls | Tavian Barnes | 2022-11-17 | 1 | -0/+5 |
| | | | | | reftime is part of a different union than the print actions are supposed to use. | ||||
* | Try to report I/O errors earlier and only once | Tavian Barnes | 2022-11-10 | 1 | -5/+27 |
| | |||||
* | ctx: Flush the user/group caches when executing commands | Tavian Barnes | 2022-11-09 | 1 | -0/+5 |
| | | | | | | This fixes (admittedly uncommon) commands like $ bfs -nouser -exec add-missing-user.sh {} \; | ||||
* | pwcache: Fill the user/group caches lazily | Tavian Barnes | 2022-11-09 | 1 | -35/+15 |
| | | | | | | | 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. | ||||
* | trie: Make leaves into a linked list | Tavian Barnes | 2022-10-29 | 1 | -3/+1 |
| | |||||
* | Source / Include Folder (#88) | トトも | 2022-04-16 | 1 | -0/+311 |
Moved Source Files Into `src` Folder |