Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-05 | bftw: Pass a const struct BFTW * to the callback | Tavian Barnes | |
2019-05-04 | bftw: Add a caching stat() API to struct BFTW | Tavian Barnes | |
2019-05-04 | stat: Unify the flags arguments | Tavian Barnes | |
2019-04-15 | Release 1.41.4 | Tavian Barnes | |
2019-03-06 | bftw: Work around d_type being wrong for bind mounts on Linux | Tavian Barnes | |
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 | |||
2019-02-06 | Turn on -Wstrict-prototypes | Tavian Barnes | |
2019-01-02 | diag: Unify diagnostic formatting | Tavian Barnes | |
This adds a bfs: prefix to error/warning messages for consistency with other command line tools, and leaves only the "error:"/"warning:" part colored like GCC. It also uniformly adds full stops after messages. | |||
2018-12-20 | stat: Unify bfs_stat_time() implementations | Tavian Barnes | |
2018-12-17 | bftw: Move bftw_typeflag conversion out of util | Tavian Barnes | |
Turns out incomplete enum types are a GNU C extension. | |||
2018-09-24 | Update copyright dates | Tavian Barnes | |
2018-08-16 | Add some missing fallthrough comments | Tavian Barnes | |
2018-07-24 | printf: Support all standard strftime() directives | Tavian Barnes | |
2018-07-24 | printf: Support %B, GNU find's undocumented birth time specifier | Tavian Barnes | |
2018-07-24 | stat: Don't assume blocks are 512 bytes | Tavian Barnes | |
POSIX says > The unit for the st_blocks member of the stat structure is not defined > within POSIX.1‐2008. and recommends using DEV_BSIZE from <sys/param.h> if available. Also, for -printf '%S', print 1 instead of NaN for empty files with no blocks. | |||
2018-07-20 | printf: Output ? for errors in %Y | Tavian Barnes | |
2018-01-20 | printf: Add %w and %Wk for file birth times | Tavian Barnes | |
%w and %W were chosen to match the format specifiers for file birth times from stat(1) | |||
2018-01-08 | stat: New wrapper around the stat() family | Tavian Barnes | |
This lets bfs transparently support the new statx() system call on Linux, giving it access to file birth times. | |||
2017-11-13 | color: Implement %m for cfprintf() | Tavian Barnes | |
2017-11-05 | Add support for file birth/creation times on platforms that have it | Tavian Barnes | |
Fixes #19 | |||
2017-09-16 | opt: Separate optimization from parsing | Tavian Barnes | |
2017-08-27 | printf: Save some lines in time specifier parsing | Tavian Barnes | |
2017-07-27 | Re-license under the BSD Zero Clause License | Tavian Barnes | |
2017-07-09 | Handle ENOTDIR the same as ENOENT | Tavian Barnes | |
For a/b/c, ENOTDIR is returned instead of ENOENT if a or b are not directories. Handle this uniformly when detecting broken symlinks, readdir races, etc. | |||
2017-06-10 | printf: Fix embedded nul bytes | Tavian Barnes | |
Fixes #26. | |||
2017-04-29 | Don't parse the mount table until it's needed | Tavian Barnes | |
2017-04-23 | Implement -fstype | Tavian Barnes | |
Fixes #6! | |||
2017-04-08 | Move bftw_typeflag converters to util.c | Tavian Barnes | |
2017-03-11 | Implement -ls and -fls | Tavian Barnes | |
2017-03-11 | Make a printf()-style API for colored messages | Tavian Barnes | |
2017-03-11 | Implement -printf %Ak, %Ck, and %Tk | Tavian Barnes | |
2017-02-09 | bftw: Make the nameoff of "///" point to "/" | Tavian Barnes | |
This simplifies a few things such as -name handling for ///. | |||
2017-02-08 | Add support for -x?type with multiple types | Tavian Barnes | |
This functionality is already part of GNU findutils git. | |||
2017-02-07 | Add some missing perror() calls | Tavian Barnes | |
2017-02-06 | Fix a memory leak parsing -printf | Tavian Barnes | |
2017-02-05 | Implement -printf/-fprintf | Tavian Barnes | |
Based on a patch by Fangrui Song <i@maskray.me>. Closes #16. |