Commit graph

548 commits

Author SHA1 Message Date
Joshua Suskalo
928b0f42c8
Update changelog for removal of deprecations etc. 2024-10-01 13:36:46 -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
Joshua Suskalo
7da20f74cf
remove more --enable-preview 2024-07-24 18:43:15 -05:00
Joshua Suskalo
bb341977ad
Update changelog 2024-07-24 18:32:30 -05:00
Joshua Suskalo
4272c7d05d
Remove "--enable-preview" flag on java compilation 2024-07-24 18:30:18 -05:00
Joshua Suskalo
74af3c084d
Merge branch 'feature/jdk21-support' into develop 2024-07-24 18:29:18 -05:00
Joshua Suskalo
917141b6a2
Use 4-space indentation in the C code 2024-07-24 18:27:17 -05:00
Joshua Suskalo
a1a7cd0d47
Merge pull request #9 from rutenkolk/feature/jdk21-support
migrate to jdk 22 and fix upcalls
2024-07-24 18:25:26 -05:00
Joshua Suskalo
fc4307fc1f
Delete the class dir when compilation fails 2024-07-24 14:26:46 -05: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
0bf267e44a add more failing test cases 2024-07-23 15:35:21 +02:00
Kristin Rutenkolk
510763f68e add new failing test case 2024-07-23 15:04:44 +02:00
Kristin Rutenkolk
b37b975b17 revert build.clj changes fully 2024-06-28 11:41:24 +02:00
Kristin Rutenkolk
854d6ce850 migrate as-segment to jdk22 API 2024-06-27 16:26:22 +02:00
Kristin Rutenkolk
b68f8af549 revert build.clj changes 2024-06-27 16:07:38 +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
6fc0101914 fix build/jar to call write-pom without arguments 2024-06-27 14:40:28 +02:00
Kristin Rutenkolk
ef1dcfb6d0 fix ill-defined test 2024-06-26 15:13:41 +02:00
Kristin Rutenkolk
85d52f64b7 fix upcalls with strings 2024-06-26 13:22:47 +02:00
Kristin Rutenkolk
4a7659cf2a add more upcall tests 2024-06-17 10:57:15 -07:00
Kristin Rutenkolk
c740745d49 restructure build.clj functions to not need to accept options and return them, so that they may return useful data relevant to their task 2024-06-12 15:52:44 -07:00
Kristin Rutenkolk
a04fe7253f change String handling to match new FFI API 2024-06-12 11:10:52 -07:00
Kristin Rutenkolk
c43bce4768 switch to java22 support 2024-06-10 16:33:30 -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
0094634818
Update target version to 21 2023-09-21 10:38:31 -05:00
Joshua Suskalo
3948e63089
Update readme 2023-03-31 11:03:15 -05:00
Joshua Suskalo
5799e4f8da
Update readme 2023-03-31 11:02:54 -05:00
Joshua Suskalo
37d994fb2f
Update changelog 2023-03-31 10:33:42 -05:00
Joshua Suskalo
788b3cd521
Merge branch 'master' into develop 2023-03-31 10:33:14 -05:00
Joshua Suskalo
272df03fba
Merge branch 'release/v0.6.409' 2023-03-31 10:30:09 -05:00
Joshua Suskalo
58f1e69b00
Update codox documentation 2023-03-31 10:26:19 -05:00
Joshua Suskalo
9d60512365
Update readme for new release tag 2023-03-31 10:25:02 -05:00
Joshua Suskalo
f19eabe819
Update changelog 2023-03-31 10:22:05 -05:00
Joshua Suskalo
f97444639d
Version bump 2023-03-31 10:18:28 -05:00
Joshua Suskalo
0b323e0909
Update changelog 2023-03-28 14:26:33 -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
955063b1ba
Update the clojure dep 2022-11-29 20:06:44 -06:00
Joshua Suskalo
8401cc3add
Fix bug where with-acquired did not return a value 2022-11-29 20:06:20 -06:00
Joshua Suskalo
379dc95c66
Fix dumb implementation of copy-segment 2022-11-29 18:52:11 -06:00
Joshua Suskalo
4c60ff5085
Add test for global variables 2022-11-29 13:43:06 -06:00
Joshua Suskalo
12b7661295
Update readme to use session rather than scope 2022-11-29 13:41:55 -06:00
Joshua Suskalo
65c7544cc7
Add extra constructors for sessions 2022-11-16 16:58:20 -06:00
Joshua Suskalo
139341af99
Add a paragraph about catching exceptions in upcalls 2022-11-16 16:57:58 -06:00