Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-22 | Bump to 0.79.0.79 | Tavian Barnes | |
2016-05-22 | Use complete sentences in error messages consistently. | Tavian Barnes | |
2016-05-22 | Use argc/argv naming consistently. | Tavian Barnes | |
2016-05-22 | Implement -{exec,ok}{,dir}. | Tavian Barnes | |
2016-05-22 | dstring: Clean up the API a bit. | Tavian Barnes | |
2016-05-17 | bftw: Use realloc() to grow the dirqueue. | Tavian Barnes | |
2016-05-17 | bftw: Remove some debugging counters that were left in accidentally. | Tavian Barnes | |
2016-04-13 | dstring: Split out the dynamic string logic. | Tavian Barnes | |
2016-04-10 | Remove an errant debugging printf(). | Tavian Barnes | |
2016-03-12 | Bump the version to 0.74.0.74 | Tavian Barnes | |
2016-03-12 | Implement -size. | Tavian Barnes | |
2016-03-05 | Implement -used. | Tavian Barnes | |
This doesn't agree with find's output, but I think find is buggy here. For example, find -used +0 is returning fewer results than find -used 1, which makes no sense given that 1 is greater than 0. | |||
2016-02-27 | Fix a typo that caused a segfault with missing arguments. | Tavian Barnes | |
2016-02-27 | Implement (most of) -newerXY. | Tavian Barnes | |
2016-02-27 | Fix -daystart to not round 0 upwards. | Tavian Barnes | |
2016-02-27 | Fix potential leaks in -lname. | Tavian Barnes | |
2016-02-27 | Fix uninitialized read in parse_colors(). | Tavian Barnes | |
2016-02-27 | Don't repeat reported error messages from bftw(). | Tavian Barnes | |
Fixes #7. | |||
2016-02-24 | Color broken symlinks correctly. | Tavian Barnes | |
2016-02-23 | Don't export .git* files in archives. | Tavian Barnes | |
2016-02-23 | Bump the version to 0.70.0.70 | Tavian Barnes | |
2016-02-23 | Implement -O. | Tavian Barnes | |
2016-02-23 | Implement -D tree. | Tavian Barnes | |
2016-02-23 | bftw: Update at_flags when not following a broken symbolic link. | Tavian Barnes | |
2016-02-23 | bftw: Plug a leak when the root is not a directory. | Tavian Barnes | |
2016-02-22 | Implement -D stat. | Tavian Barnes | |
2016-02-22 | bftw: Use the currently open directory as at_fd in BFTW_CHILD mode. | Tavian Barnes | |
2016-02-21 | Simplify double-negation. | Tavian Barnes | |
2016-02-21 | bftw: Use O_CLOEXEC. | Tavian Barnes | |
2016-02-21 | Make optimizations based on the purity of predicates. | Tavian Barnes | |
This allows something like $ ./bfs -empty -false to avoid evaluating -empty, just like find. | |||
2016-02-21 | Fix infinite recursion in eval_not(). | Tavian Barnes | |
And use a helper function to prevent this kind of bug in the future. | |||
2016-02-21 | bftw: Don't store the terminating '\0' in dircache_entry names. | Tavian Barnes | |
2016-02-21 | bftw: Use a better cache eviction policy. | Tavian Barnes | |
Instead of simple LRU, we now evict the open entry with the lowest refcount. This reduces the average number of components passed to openat() by a significant margin, and speeds bfs up by about ~5%. | |||
2016-02-20 | bftw: Shrink the LRU before finding the parent. | Tavian Barnes | |
Otherwise we might close the found parent. | |||
2016-02-19 | bftw: Clean up dirqueue implementation a bit. | Tavian Barnes | |
2016-02-19 | bftw: Don't keep DIR*'s around. | Tavian Barnes | |
DIR*'s were being kept around so dirfd(dir) could be passed to future openat() calls. But DIR*'s are big, holding a cache of filenames etc. read by readdir(). Instead, store the raw fd and dup() it to open a DIR* with fdopendir(). This way we can call dirclose() as soon as possible, while still keeping an open fd. Ideally there would be a way to closedir() without invoking close() on the underlying fd, but this is a good approximation. Reduces memory footprint by around 64% in a large directory tree. | |||
2016-02-18 | -follow is a positional option. | Tavian Barnes | |
2016-02-17 | bftw: Use a circular buffer to implement the dirqueue. | Tavian Barnes | |
2016-02-17 | Fix an uninitialized value warning. | Tavian Barnes | |
2016-02-17 | Initialize expr.cmp for -user and -group. | Tavian Barnes | |
2016-02-16 | Add missing "error:" tag to error messages. | Tavian Barnes | |
2016-02-14 | Makefile: Add install and uninstall targets. | Tavian Barnes | |
2016-02-14 | Set the version to 0.67.0.67 | Tavian Barnes | |
For now, version numbers are the fraction of GNU find features supported. | |||
2016-02-14 | Implement -user and -group. | Tavian Barnes | |
2016-02-14 | s/color_table/colors/. | Tavian Barnes | |
2016-02-14 | Refactor color handling. | Tavian Barnes | |
The main benefit is colored warnings/errors during parsing. | |||
2016-02-14 | Don't modify the result of getenv(). | Tavian Barnes | |
2016-02-14 | Implement -lname and -ilname. | Tavian Barnes | |
2016-02-14 | "Implement" -noleaf. | Tavian Barnes | |
2016-02-14 | Implement -mount/-xdev. | Tavian Barnes | |