clanker
|
8e2d4fb4b0
fix: HashSet/Lifo item ownership — nodes never unreffed their contents
|
1 月之前 |
clanker
|
b2b135a6fd
fix(containers): complete element ownership in Series/Fifo/Lifo/PriorityQueue — insertion already dups via t_dup_func and clear() destroys, but pop_start, remove_first_where/remove_all_where, Fifo/Lifo/PriorityQueue pop and iteration, and the queue destructors never released the stored value (one leaked ref per removal, whole contents leaked at finalize); remove_items additionally advanced through the deleted node (node->next after delete — use-after-free on every remove_all_where past a match, previously surviving by allocator luck; a regression test made it a deterministic segfault). All removal paths now null the item's value before delete so valac emits the t_destroy_func release, and remove_items walks a saved next pointer. No signature, vapi, or ABI change: add(T) keeps copy-on-insert semantics, pop/remove transfer their dup out as before, so the only observable difference is the container's own reference is dropped. Regression tests pin the contract: statement temporaries survive add+clear cycles, pop/remove/clear/destructor restore refcounts, and 603-test suite passes with zero valgrind errors on a probe that adds statement-temporary strings and objects and reads them after (the daemon-side saddle pin.c workaround is unnecessary against this build)
|
1 月之前 |
clanker
|
25020cc4a9
fix: transfer delegate ownership in PropertyMappingBuilder ((owned) casts) — valac emits copy-and-destroy for plain param-to-owned-field delegate assignments, freeing the stored closure when the builder method returns and leaving every long-lived PropertyMapper reading freed memory on map_into/map_from (the intermittent, layout-dependent SIGSEGV that surfaced far from the cause, e.g. during Statum slot signing)
|
1 月之前 |
clanker
|
fd2a7d29c7
Drop libc.so.6 from runtime deps (implicit on Linux, absent on musl)
|
1 月之前 |
clanker
|
0418fb4398
Declare gcc build dep in MANIFEST
|
1 月之前 |
clanker
|
0b9dae6b5f
Add USM packaging: MANIFEST.usm, usm-scripts, .usmignore
|
1 月之前 |
clanker
|
9992e252d0
fix(mapping): keep PropertyMapper target alive after builder disposal
|
1 月之前 |
Billy Barrow
|
169d933579
feat(expressions): add DateTimeFunctionAccessor for DateTime functions
|
7 月之前 |
Billy Barrow
|
1028887ad9
fix(expressions): add explicit type checks before casting
|
7 月之前 |
Billy Barrow
|
10c3a74123
feat(expressions): add literal type suffixes and char support
|
7 月之前 |
Billy Barrow
|
752d726731
feat(expressions): allow expr() to be called without parameters
|
7 月之前 |
Billy Barrow
|
905bf49545
refactor(expressions): change parse_with_params to accept enumerable
|
7 月之前 |
Billy Barrow
|
dc782a4e7e
feat(expressions): add parameterized expression support with $N syntax
|
7 月之前 |
Billy Barrow
|
0583c95dea
Clean up
|
7 月之前 |
Billy Barrow
|
d7f39f81b5
feat(expressions): add nullable type support and handlebars-style format function
|
7 月之前 |
Billy Barrow
|
7446b2204e
fix(datastructures): handle null index in remove_first_where
|
7 月之前 |
Billy Barrow
|
956b152ae9
feat(expressions): add to_value method for type conversion
|
7 月之前 |
Billy Barrow
|
897cdf3e70
feat(expressions): add TypeAccessorRegistry and string accessors
|
7 月之前 |
Billy Barrow
|
4427901b4d
feat(expressions): add global functions and fix nested property access
|
7 月之前 |
Billy Barrow
|
132e8fd399
feat(expressions): add lot literals and global iterate functions
|
7 月之前 |
Billy Barrow
|
24613fa490
Expressive vibes
|
7 月之前 |
Billy Barrow
|
a1ab95e0c7
chore: remove debug print statements
|
7 月之前 |
Billy Barrow
|
bb6762edaa
fix(series): correct item count and ownership in pop_first
|
7 月之前 |
Billy Barrow
|
282f43ce45
Bugfix
|
7 月之前 |
Billy Barrow
|
8edf68cd63
refactor: extract va_list handling to Wrap module
|
8 月之前 |
Billy Barrow
|
cf049729e9
fix(attempts): pass result to predicate in where method
|
8 月之前 |
Billy Barrow
|
b0cc9d8590
Fix namespace
|
8 月之前 |
Billy Barrow
|
8211cfc83e
Begin work on set catalogue
|
8 月之前 |
Billy Barrow
|
51b9e6a249
fix(series): decrement n_items on node removal
|
8 月之前 |
Billy Barrow
|
168c929abd
refactor(grouping): replace ReadOnlyGrouped with CategoryIndex interfaces
|
8 月之前 |