Kristin Rutenkolk
|
fc62e1f345
|
remove vector-native struct version
|
2024-10-30 11:59:46 +01:00 |
|
Kristin Rutenkolk
|
8fb300c5c9
|
fix string deserialization for strings in structs
|
2024-10-28 22:42:59 +01:00 |
|
Kristin Rutenkolk
|
9765ec0deb
|
fix strings in defstruct
|
2024-10-28 22:18:49 +01:00 |
|
Kristin Rutenkolk
|
8844eef320
|
fix array handling code
|
2024-10-28 21:28:50 +01:00 |
|
Kristin Rutenkolk
|
fd0f22fda5
|
implement java.util.Map and MapEquivalence
|
2024-10-28 14:35:01 +01:00 |
|
Kristin Rutenkolk
|
18679c435e
|
fix struct entryAt
|
2024-10-24 14:38:09 +02:00 |
|
Kristin Rutenkolk
|
9404ef4cf8
|
fix struct assoc
|
2024-10-24 14:24:54 +02:00 |
|
Kristin Rutenkolk
|
003a7377dd
|
fix struct map containsKey
|
2024-10-24 14:05:58 +02:00 |
|
Kristin Rutenkolk
|
ec418cb6c9
|
fix map cons
|
2024-10-24 13:45:16 +02:00 |
|
Kristin Rutenkolk
|
4c408043ec
|
improve error message
|
2024-10-24 12:04:36 +02:00 |
|
Kristin Rutenkolk
|
b6f1e44ce0
|
make defstruct robust against dangling and unbound vars
|
2024-10-24 11:45:17 +02:00 |
|
Kristin Rutenkolk
|
020e10264f
|
add error message for invalid type usage
|
2024-10-24 11:37:40 +02:00 |
|
Kristin Rutenkolk
|
cf2decedcd
|
introduce custom vector iterator
|
2024-10-24 09:07:46 +02:00 |
|
Kristin Rutenkolk
|
913c004adb
|
fix forEach reference
|
2024-10-22 13:19:07 +02:00 |
|
Kristin Rutenkolk
|
f08fa20cf6
|
draft of new type generation
|
2024-10-19 03:26:45 +02:00 |
|
Kristin Rutenkolk
|
4f5b9fa60a
|
fix seq of new type and remove indirection
|
2024-10-18 18:06:02 +02:00 |
|
Kristin Rutenkolk
|
53a8435768
|
add pprint impl for struct types
|
2024-10-13 22:08:01 +02:00 |
|
Kristin Rutenkolk
|
21c547c469
|
add custom deftype for struct type generation
|
2024-10-12 15:52:03 +02:00 |
|
Kristin Rutenkolk
|
f702096ed5
|
fix array handling for defstruct macro
|
2024-10-12 00:36:21 +02:00 |
|
Kristin Rutenkolk
|
eea1b43da3
|
fix nested types serdes
|
2024-10-11 22:26:41 +02:00 |
|
Kristin Rutenkolk
|
37b74fc638
|
add serialization generation
|
2024-10-11 17:48:58 +02:00 |
|
Kristin Rutenkolk
|
c5d18e9e50
|
add generate-serialize multimethod
|
2024-10-11 16:55:03 +02:00 |
|
Kristin Rutenkolk
|
8bfc156d10
|
add deserialization generation
|
2024-10-11 15:52:40 +02:00 |
|
Kristin Rutenkolk
|
b0cb0f2ff3
|
add c-layout to struct generation
|
2024-10-11 15:18:35 +02:00 |
|
Kristin Rutenkolk
|
df29b16d71
|
remove namespace qualifiers from with-c-layout
|
2024-10-11 15:17:54 +02:00 |
|
Kristin Rutenkolk
|
d04a9f6286
|
copy with-c-layout to mem namespace
|
2024-10-11 14:53:09 +02:00 |
|
Kristin Rutenkolk
|
cf6dff3b52
|
add defstruct macro and helper functions
|
2024-10-11 14:25:18 +02:00 |
|
Kristin Rutenkolk
|
f96df719eb
|
remove namespaced references
|
2024-10-10 15:59:28 +02:00 |
|
Kristin Rutenkolk
|
557cd27763
|
add write functions for arrays
|
2024-10-04 16:17:27 +02:00 |
|
Joshua Suskalo
|
6ff882b85d
|
Update docstring to reflect address-of returning a long
|
2024-10-03 14:12:51 -04:00 |
|
Joshua Suskalo
|
f752a1592a
|
Optimize re-serializing deserialized functions
|
2024-10-03 11:12:37 -04:00 |
|
Joshua Suskalo
|
cce6c823f6
|
Implement memoization of upcall and downcall classes
|
2024-10-03 10:55:54 -04:00 |
|
Joshua Suskalo
|
bd7216a06e
|
Add null for implementing serdes
|
2024-10-02 16:26:24 -04:00 |
|
Joshua Suskalo
|
fd8d649f63
|
Fix bad usage of static fields as calls
|
2024-10-02 16:22:00 -04:00 |
|
Joshua Suskalo
|
2073f15767
|
WIP: Update documentation for arenas instead of sessions
This is a part of the push for completing coffi 1.0 for a release tested
against JDK 22 and newer.
|
2024-09-30 12:17:04 -04:00 |
|
Kristin Rutenkolk
|
4160b1cb68
|
consistently serialize strings to MemorySegment instead of addresses
(Longs) and remove ad-hoc upcall-class Long to MemorySegment conversion
|
2024-07-23 15:39:58 +02:00 |
|
Kristin Rutenkolk
|
854d6ce850
|
migrate as-segment to jdk22 API
|
2024-06-27 16:26:22 +02:00 |
|
Kristin Rutenkolk
|
56481ea9e3
|
revert regression as it breaks user code (for now)
|
2024-06-27 15:40:42 +02:00 |
|
Kristin Rutenkolk
|
854914350c
|
rename reference to nonexistent MemoryAddress class to MemorySegment
|
2024-06-27 15:17:14 +02:00 |
|
Kristin Rutenkolk
|
85d52f64b7
|
fix upcalls with strings
|
2024-06-26 13:22:47 +02:00 |
|
Kristin Rutenkolk
|
a04fe7253f
|
change String handling to match new FFI API
|
2024-06-12 11:10:52 -07:00 |
|
Joshua Suskalo
|
b7092b4af6
|
WIP Finish updating files to fully be on JDK 21
This is still incomplete, I get crashes on upcalls.
|
2024-01-29 06:22:39 -06:00 |
|
Joshua Suskalo
|
2325abf53b
|
WIP Update coffi.mem to JDK 21
|
2023-12-27 09:14:44 -06:00 |
|
Joshua Suskalo
|
36f1685718
|
Update to .find(String) api in loader
|
2023-09-21 10:39:15 -05:00 |
|
Joshua Suskalo
|
5deac64934
|
Fix primitive static variables not deserializing
|
2023-03-28 14:26:33 -05:00 |
|
Joshua Suskalo
|
f22cf8f81d
|
Fix uses of defvar not compiling
|
2023-03-28 14:26:33 -05:00 |
|
Joshua Suskalo
|
218545feb7
|
Fix bug where defvar and friends didn't work
One function was private that didn't need to be since it was being used
by the macros. This commit just makes it public.
|
2023-03-28 14:26:32 -05:00 |
|
Joshua Suskalo
|
2c45d8e875
|
Add support for primitive types to raws
|
2022-11-29 21:31:28 -06:00 |
|
Joshua Suskalo
|
5ccf369477
|
Fix a dumb of my dumb
|
2022-11-29 20:21:34 -06:00 |
|
Joshua Suskalo
|
8401cc3add
|
Fix bug where with-acquired did not return a value
|
2022-11-29 20:06:20 -06:00 |
|