Commit graph

72 commits

Author SHA1 Message Date
99b713388a
more robuster multi-line recovery attempts
All checks were successful
Generic zig build / build (push) Successful in 1m36s
2026-09-02 17:05:25 -07:00
d5fcec35d9
make underflow detection more explicit; avoid advancing reader when unnecessary
All checks were successful
Generic zig build / build (push) Successful in 2m22s
2026-09-02 16:20:53 -07:00
c5e83f7569
attempt intra-record recovery for short length-prefixed strings, still produces ParseFailed at next record, with single diagnostic
All checks were successful
Generic zig build / build (push) Successful in 21s
2026-09-02 14:10:42 -07:00
e2b49957cd
avoid panic if rest of line is all whitespace
All checks were successful
Generic zig build / build (push) Successful in 30s
2026-09-02 13:09:45 -07:00
4bec474f7a
better diagnostics and parsability for short length specifiers
All checks were successful
Generic zig build / build (push) Successful in 38s
2026-09-02 12:58:30 -07:00
6749ee4145
account for indented columns in diagnostics 2026-09-02 10:20:17 -07:00
28fc4f858f
change diagnostic message to be more user friendly 2026-09-02 10:17:31 -07:00
08f06df810
surface more diagnostics
All checks were successful
Generic zig build / build (push) Successful in 32s
2026-09-01 14:27:12 -07:00
7692d85745
make errors take *const Self, which avoids a copy/stabilizes the pointer
All checks were successful
Generic zig build / build (push) Successful in 22s
2026-09-01 13:20:22 -07:00
d0599320f4
exclude strings from raw data (unnecessary/would complicate parsing)
All checks were successful
Generic zig build / build (push) Successful in 20s
2026-09-01 09:45:37 -07:00
eaaeb12f67
return ParseFailed when too many bytes are specified for the field
All checks were successful
Generic zig build / build (push) Successful in 25s
2026-09-01 09:31:45 -07:00
06ca27b3cf
add raw data if requested
All checks were successful
Generic zig build / build (push) Successful in 43s
2026-09-01 09:08:23 -07:00
ea2c35825d
throw errors on coercion rather than crashing on invalid input
All checks were successful
Generic zig build / build (push) Successful in 2m5s
2026-08-19 14:55:36 -07:00
8048de5e81
tombstone support (tests written by ai, code by human)
All checks were successful
Generic zig build / build (push) Successful in 27s
2026-07-06 16:13:45 -07:00
0e3cdb021f
a lot of performance dead ends, and 2 loc/a big comment now remains
All checks were successful
Generic zig build / build (push) Successful in 26s
2026-06-11 15:18:25 -07:00
4a3e5f00f1
fix leak with custom allocator + unions
All checks were successful
Generic zig build / build (push) Successful in 3m13s
2026-05-29 11:50:35 -07:00
d5a94b0ca8
doc comment/function cleanup + compileError for missing srfFormat
All checks were successful
Generic zig build / build (push) Successful in 20s
2026-05-29 11:32:31 -07:00
f149909075
remove parse() function
All checks were successful
Generic zig build / build (push) Successful in 20s
2026-05-29 11:17:04 -07:00
b1e784dbb2
provide allocator control and lieniency on to 2026-05-28 18:13:02 -07:00
d89a3b2a93
support for lienient number parsing (minus locale issues) 2026-05-28 16:45:36 -07:00
e21a7308c3
address all allocation edge cases
All checks were successful
Generic zig build / build (push) Successful in 59s
2026-05-27 17:04:26 -07:00
e6b6691a05
allow consumers to control allocation more granularly
All checks were successful
Generic zig build / build (push) Successful in 21s
2026-05-27 13:38:38 -07:00
12b755660e
allow outputting default values
All checks were successful
Generic zig build / build (push) Successful in 30s
2026-05-25 13:13:36 -07:00
a99adb0b29
handle commas in compact form 2026-05-25 13:03:59 -07:00
19246e5f83
switch active_tag default to type, which makes more sense from user perspective 2026-05-25 13:02:41 -07:00
512eab0db0
upgrade to zig 0.16.0
All checks were successful
Generic zig build / build (push) Successful in 25s
2026-04-14 14:30:55 -07:00
4a5d512128
remove allocator for message diagnostics
All checks were successful
Generic zig build / build (push) Successful in 27s
2026-04-14 11:30:37 -07:00
1a42735f11
missed one parseError allocator
All checks were successful
Generic zig build / build (push) Successful in 18s
2026-04-10 17:08:22 -07:00
5e47d9e71d
remove conditional errdefer
All checks were successful
Generic zig build / build (push) Successful in 19s
2026-04-10 17:01:25 -07:00
91269f604d
clean up diagnostics pattern
All checks were successful
Generic zig build / build (push) Successful in 27s
2026-04-10 14:46:59 -07:00
390b2f3a23
add passing test for blank lines
All checks were successful
Generic zig build / build (push) Successful in 21s
2026-03-09 16:47:35 -07:00
353f8bca35
add string-based boolean coercion
All checks were successful
Generic zig build / build (push) Successful in 28s
2026-03-09 16:28:56 -07:00
f4facdb700
add created/modified to fmt()
Some checks failed
Generic zig build / build (push) Failing after 13m22s
2026-03-09 15:19:21 -07:00
ca9e5cf09c
document directives 2026-03-09 15:17:01 -07:00
e45a5ffe34
add created/modified directives
All checks were successful
Generic zig build / build (push) Successful in 21s
2026-03-09 15:12:09 -07:00
3da4860ad2
move structs out of tests (removes srfParse/srfFormat from docs)
Some checks failed
Generic zig build / build (push) Failing after 12m4s
2026-03-09 13:41:06 -07:00
1f922c0b33
update readme and docs 2026-03-09 13:39:54 -07:00
fcce8e48d4
add comment about allocations, reduce footprint for fielditerator
All checks were successful
Generic zig build / build (push) Successful in 24s
2026-03-09 10:08:53 -07:00
8e12b7396a
introduce iterator version of to()
All checks were successful
Generic zig build / build (push) Successful in 34s
2026-03-09 09:45:21 -07:00
bb4a5e0bf3
handle multiple recorditerator.next() without processing fields 2026-03-09 09:45:05 -07:00
3f7953be74
cleanup and optimization 2026-03-07 17:39:11 -08:00
1a47ad0ad2
iterator - not optimized
All checks were successful
Generic zig build / build (push) Successful in 25s
2026-03-07 14:18:16 -08:00
95036e83e2
introduce emit_directives format option so consumers can implement append-only
All checks were successful
Generic zig build / build (push) Successful in 30s
2026-03-06 17:30:07 -08:00
ad894ff74a
add enum tests (code already handled properly)
All checks were successful
Generic zig build / build (push) Successful in 19s
2026-03-06 13:49:34 -08:00
7aa7ec112a
rename is_fresh -> isFresh
All checks were successful
Generic zig build / build (push) Successful in 19s
2026-03-06 10:36:36 -08:00
b314b0fd0f
union deserialization
All checks were successful
Generic zig build / build (push) Successful in 28s
2026-03-06 10:19:57 -08:00
14d82a13b7
use @hasDecl 2026-03-06 09:44:15 -08:00
b807ff8768
support for unions in fmtFrom
All checks were successful
Generic zig build / build (push) Successful in 30s
2026-03-06 09:33:56 -08:00
18a4558b47
use a bound function for srfFormat
Some checks failed
Generic zig build / build (push) Failing after 36s
2026-03-04 16:42:33 -08:00
84b8be4b25
add generic fmtFrom to serialize arrays of concrete data types
Some checks failed
Generic zig build / build (push) Failing after 22s
2026-03-04 16:32:13 -08:00