1101 Commits

Author SHA1 Message Date
ChatGPT
fbcdc3f8db Keep unstable utf8 test build-only in CMake 2026-06-03 13:46:15 +02:00
OpenAI
dfac00bd51 Build libowfat tests with asserts enabled 2026-06-03 13:35:36 +02:00
Mario Fetka
9c4faae381 Rewrite prefixed libowfat exported header includes 2026-06-03 13:25:48 +02:00
Mario Fetka
610fed2936 Export prefixed libowfat build include tree 2026-06-03 13:07:21 +02:00
Mario Fetka
3d940f24bb Improve CMake test discovery 2026-06-03 11:56:21 +02:00
OpenAI
77be5b0815 Refine CMake install and tests 2026-06-03 11:35:56 +02:00
Mario Fetka
c9b73926fe Standardise to libowfat 2026-06-03 10:56:42 +02:00
Mario Fetka
35a2887c8f Dont build static 2026-06-03 10:48:38 +02:00
OpenAI
4ed6d195c4 Add standalone CMake build for mars-libowfat 2026-06-03 10:46:57 +02:00
leitner
8fc74a2d57 fix buffer_flush after recent gcc 15 update 2025-05-14 11:09:04 +00:00
leitner
b7d4d7f2ad don't trip ubsan in uint32.h
make pic adds to $CC instead of overwriting it
2025-05-14 10:59:45 +00:00
leitner
e03ac00fa1 add att_nonstring to compiler.h (for gcc 15) 2025-05-14 10:51:37 +00:00
leitner
5daa91a981 define _GNU_SOURCE for strdup 2025-04-29 20:32:08 +00:00
leitner
d3557b2b3a finish refactor 2025-04-25 21:40:45 +00:00
leitner
3867c1d7d3 remove annotation that marked the cookie in io_setcookie as pointer 2025-04-25 21:03:12 +00:00
leitner
fc52e39090 FreeBSD needs special care to declare gettimeofday 2025-04-25 20:59:14 +00:00
leitner
b7b8a0efc1 gcc 15 and C23 force some union trickery on buffer.h :-(
add a few buffer_init*_forread variants to pretend we have type safety
  make sure buffer_init_staticcontents handles flushing attempts
2025-04-22 09:32:03 +00:00
leitner
9bf6db9a02 #include <sys/cdefs.h> ifdef __dietlibc__ 2025-03-21 23:06:30 +00:00
leitner
0508738e51 add "if newer" functionality :) 2025-03-20 13:17:22 +00:00
leitner
42f4b56443 add lnifnewer 2025-03-20 13:15:21 +00:00
leitner
cce6666e57 use lnifnewer 2025-03-20 13:14:58 +00:00
leitner
cccf894ecd ownership warnings for clang (can diagnose double free if you free after iob_addbuf_free) 2025-03-20 13:11:18 +00:00
leitner
e420a90d32 fix build failures with test && ln 2025-03-20 13:04:15 +00:00
leitner
0619e08092 fix ownership annotations. clang's aren't as good as I hoped 2025-03-20 12:39:46 +00:00
leitner
246ea3f94d try to unify ownership over gcc and clang 2025-03-20 10:57:15 +00:00
leitner
404bc78a11 more compiler annotations 2025-03-17 13:27:47 +00:00
leitner
fb5dcdf7fe some more compiler attributes
make sure all textcode/scan_* routines work if dest or destlen is NULL
2025-03-17 13:21:55 +00:00
leitner
144912a41d more compiler attribute annotations 2025-03-17 12:59:03 +00:00
leitner
e680441fa7 improve comments 2025-01-24 16:53:42 +00:00
leitner
5324c74b6f add starter build.ninja 2025-01-22 20:09:17 +00:00
leitner
13ffd6ac96 fix ninja.build 2025-01-22 18:56:24 +00:00
leitner
ea2b3e6c6f updates makefile dependencies
remove compiler.h include from tryinline.c
add #ifdef INTERNAL to files included by n.c and ent.c so they don't need headers in libowfat/ and can compile without an installed or build libowfat
2025-01-22 17:32:17 +00:00
leitner
e019297cce add annotations
remove warnings when compiling as c++
2025-01-21 17:09:21 +00:00
leitner
402e5b0c39 update Makefile 2025-01-20 19:05:37 +00:00
leitner
8e676caf4b add tool to generate dependencies (not in production yet) 2025-01-20 19:03:05 +00:00
leitner
5c11339f72 trivial tool to remove "\\\n " from gcc -MM output 2025-01-20 19:02:29 +00:00
leitner
2d90963bf8 add fmt_utf8_scratch 2025-01-20 19:00:58 +00:00
leitner
4e1eb3d06f include cleanup 2025-01-20 18:47:18 +00:00
leitner
cf32aafe8a great include cleanup 2025-01-20 18:40:47 +00:00
leitner
def61cd5ce great include fix 2025-01-20 18:39:18 +00:00
leitner
639f9f534f great include cleanup 2025-01-20 18:07:12 +00:00
leitner
a9cae64b0e don't need compiler.h 2025-01-20 16:49:14 +00:00
leitner
e87d81a93d include cleanup 2025-01-20 16:46:22 +00:00
leitner
3b70f1cd8f long overdue include cleanup 2025-01-20 16:43:48 +00:00
leitner
a06799a368 long overdue header cleanup 2025-01-20 16:39:51 +00:00
leitner
a1d9fe90b9 str_diff* included byte.h instead of str.h (Mathias Gumz) 2025-01-19 17:27:36 +00:00
leitner
7bcee7d593 commit to C24 2025-01-15 12:37:58 +00:00
leitner
8659c2122c try to fix kqueue on netbsd 2024-11-26 20:37:42 +00:00
leitner
c6496422b8 update attributes 2024-11-26 15:32:45 +00:00
leitner
120d605a31 update Makefile from GNUmakefile 2024-11-26 11:11:42 +00:00