Commit graph

600 commits

Author SHA1 Message Date
Joshua Suskalo
8ca1efcb26
Update changelog 2025-03-03 16:05:37 -05:00
Joshua Suskalo
00faaaa78b
Merge remote-tracking branch 'rutenkolk/master' into develop 2025-03-03 15:48:44 -05:00
Joshua Suskalo
5d94afdbf3
Add tests for string variables in native 2025-02-27 10:44:55 -05:00
Joshua Suskalo
053166d0f4
Add arglists to serialize-into and deserialize-from 2025-02-27 10:43:40 -05:00
Joshua Suskalo
544cf59280
Revert "Fix issue with StaticVariable failing on pointer-carried types"
This reverts commit c1fa08586a.
2025-02-27 10:43:18 -05:00
Joshua Suskalo
c1fa08586a
Fix issue with StaticVariable failing on pointer-carried types 2025-02-26 14:50:42 -05:00
Kristin Rutenkolk
6383c6e425 fix defstruct pointer members 2025-02-23 16:54:06 +01:00
Kristin Rutenkolk
f307d1ed51 fix file not found error: replace load-file with load 2025-02-18 19:05:09 +01:00
Kristin Rutenkolk
f9784b33cc allow global offset to be expression for
register-new-struct-deserialization
2025-01-07 18:45:09 +01:00
Kristin Rutenkolk
a6b7ece504 remove layout dependency from mem test 2025-01-07 17:22:00 +01:00
Kristin Rutenkolk
8d29234db4 move with-c-layout back to layout.clj and load layout namespace from mem 2025-01-07 17:18:14 +01:00
Kristin Rutenkolk
1f5efb0982 emit serde registration and omit padding from defstruct 2025-01-04 23:32:59 +01:00
Kristin Rutenkolk
06cd910279 remove typename argument from typelist 2025-01-04 21:02:25 +01:00
Kristin Rutenkolk
637f156663 fix order of type and fieldname for defstruct in tests 2025-01-04 20:40:03 +01:00
Kristin Rutenkolk
5a9d156e17 reverse type and fieldname in defstruct definition 2025-01-04 20:33:22 +01:00
Kristin Rutenkolk
d2afb2b170 remove bulk deserialization for vectors 2025-01-03 01:23:59 +01:00
Kristin Rutenkolk
e25ad22ae6 fix unmatched parantheses 2025-01-03 00:25:34 +01:00
Kristin Rutenkolk
a6864fdba5
refactor generate-struct-type to return the form via syntax quote
Co-authored-by: Joshua Suskalo <joshua@suskalo.org>
2025-01-03 00:23:36 +01:00
Kristin Rutenkolk
d24ebc7810 refactor struct-vec-iterator to camel case 2025-01-03 00:20:03 +01:00
Kristin Rutenkolk
0dfb6bd3de
use syntax quoted expression in generate-deserialize implementation for strings
Co-authored-by: Joshua Suskalo <joshua@suskalo.org>
2025-01-02 23:50:26 +01:00
Kristin Rutenkolk
10b8baafa2 refactor multimethod dispatch function to use ffirst 2025-01-02 23:44:26 +01:00
Kristin Rutenkolk
cb3e62057f fix mangled keyword in coffitype->typename 2025-01-02 23:40:05 +01:00
Joshua Suskalo
78d39b1541 Don't use underscore on used args
Signed-off-by: Kristin Rutenkolk <kristin.rutenkolk@hhu.de>
2025-01-02 23:33:12 +01:00
Joshua Suskalo
33e1a95ba9 Remove duplicate c-layout implementation
Signed-off-by: Kristin Rutenkolk <kristin.rutenkolk@hhu.de>
2025-01-02 23:33:05 +01:00
Joshua Suskalo
8ea121723c Fix warning about defstruct redefinition
Signed-off-by: Kristin Rutenkolk <kristin.rutenkolk@hhu.de>
2025-01-02 23:32:58 +01:00
Joshua Suskalo
d763b39b51 Use a once-only impl rather than with-typehints
Signed-off-by: Kristin Rutenkolk <kristin.rutenkolk@hhu.de>
2025-01-02 23:32:37 +01:00
Kristin Rutenkolk
51dfbc39ed fix array serialization 2024-12-29 17:54:40 +01:00
Kristin Rutenkolk
c49dc796b2 remove array-copy-method 2024-12-29 16:16:41 +01:00
Kristin Rutenkolk
869e6787fa refactor array serdes & auto-choose copy methods 2024-12-29 15:28:50 +01:00
Kristin Rutenkolk
18f5699f3a remove necessity to create array when deserializing 2024-12-29 11:32:31 +01:00
Kristin Rutenkolk
ab8cc0c859 fix write-byte typehint 2024-12-29 10:23:01 +01:00
Kristin Rutenkolk
7bcdb8c227 typehint inline functions 2024-12-28 01:08:45 +01:00
Kristin Rutenkolk
a358fb6d77 add array-copy-method var to switch behavior 2024-12-21 17:56:25 +01:00
Kristin Rutenkolk
0467fe6006 add native array read functions 2024-12-20 21:53:01 +01:00
Kristin Rutenkolk
b03635e231 rewrite write array functions to take a length parameter 2024-12-20 17:26:52 +01:00
Kristin Rutenkolk
d1f54b1e05 fix defstruct cons implementation for mapentries and respective type
hints
2024-12-20 11:30:13 +01:00
Kristin Rutenkolk
b2cc9e6549 remove maplike option from defstruct generation 2024-12-20 10:40:55 +01:00
Kristin Rutenkolk
f3f156c53a add suppoort for native array write functions 2024-12-19 16:11:00 +01:00
Kristin Rutenkolk
e648c26a25 clean up deserializing logic 2024-12-19 15:12:10 +01:00
Kristin Rutenkolk
0c84c323b3 make private with-c-layout implementation behave like the one in
`layout`
2024-12-19 14:17:18 +01:00
Kristin Rutenkolk
bba05c7dfd improve defstruct doc 2024-12-19 12:28:43 +01:00
Kristin Rutenkolk
87e9bb7a7b adjust tests to make use of :raw? option in arrays 2024-12-12 12:36:15 +01:00
Kristin Rutenkolk
86c4f99a3f add optional :raw? true option for arrays 2024-12-12 12:35:37 +01:00
Kristin Rutenkolk
ff0bd6c568 make multimethods hygenic 2024-12-08 12:40:00 +01:00
Joshua Suskalo
167d3e0d9b
Add line for graalvm native-image in future plans 2024-11-22 10:26:52 -05:00
Joshua Suskalo
030c091c6d
Update api docs link 2024-11-22 10:25:14 -05:00
Joshua Suskalo
f7037b7a67
Link to cljdoc instead of codox documentation 2024-11-22 10:23:49 -05:00
Joshua Suskalo
7700f3f5e6
Add functions header in builtin types 2024-11-22 10:15:52 -05:00
Joshua Suskalo
2d708fa772
Add cross-link for tagged union type mention 2024-11-22 10:14:52 -05:00
Kristin Rutenkolk
2b1d062277 add non raw array ffi test 2024-10-30 21:00:45 +01:00