nativez
4 weeks agoMajor reworking of the generator, added junit5 tests. foreign-abi
Not Zed [Wed, 30 Jul 2025 11:31:07 +0000 (21:01 +0930)]
Major reworking of the generator, added junit5 tests.
 - all values now go through Value.{Scalar,Array,Hash} with simpler
   semantics.  Value is now an interface and each instance is a record.
 - junit5 tests for some classes, they run from the makefile only as yet.
 - enhanced api format
  - flags and named options on some objects/fields
  - pattern matched 'things' add named-group's from the pattern to the map
  - namespace for certain options
 - enhanced templates
   - 'builtin function's for naming convention conversion.
   - relative paths better defined (using '/') including leading '..' parts
   - better range specification/behaviour
   - comparisons use numbers (long) if they are numbers
 - bit better logging
 - removed some dumb ideas/dead code etc.
4 weeks agoWork on new Java based generator
Not Zed [Mon, 28 Jul 2025 00:49:16 +0000 (10:19 +0930)]
Work on new Java based generator
4 weeks agoMinor changes for dead-end code
Not Zed [Mon, 28 Jul 2025 00:48:25 +0000 (10:18 +0930)]
Minor changes for dead-end code
4 weeks agoPrint correct ctype for pointers
Not Zed [Mon, 28 Jul 2025 00:46:03 +0000 (10:16 +0930)]
Print correct ctype for pointers
2 years agoFix access of constant values in enumerations.
Not Zed [Tue, 11 Jul 2023 03:47:21 +0000 (13:17 +0930)]
Fix access of constant values in enumerations.
The documentation is unclear and what worked in gcc 12 no longer works.
2 years agoRemove references to uncommitted files.
Not Zed [Tue, 9 May 2023 22:53:14 +0000 (08:23 +0930)]
Remove references to uncommitted files.
2 years agoUpdate to JDK 20 foreign-abi preview API.
Not Zed [Tue, 9 May 2023 02:56:56 +0000 (12:26 +0930)]
Update to JDK 20 foreign-abi preview API.
2 years agoUpdate to OpenJDK 19, java.lang.foreign preview API.
Not Zed [Sun, 25 Sep 2022 11:07:48 +0000 (20:37 +0930)]
Update to OpenJDK 19, java.lang.foreign preview API.
2 years agoMove the config functions to config.pm
Not Zed [Wed, 14 Sep 2022 01:42:05 +0000 (11:12 +0930)]
Move the config functions to config.pm
3 years agoConvert to using jdk.foreign rather than jni.
Not Zed [Fri, 17 Jun 2022 09:42:03 +0000 (19:12 +0930)]
Convert to using jdk.foreign rather than jni.
3 years agotabify master
Not Zed [Thu, 19 May 2022 22:32:47 +0000 (08:02 +0930)]
tabify
3 years agoUpdate to netbeans 12.6
Not Zed [Tue, 7 Dec 2021 23:51:57 +0000 (10:21 +1030)]
Update to netbeans 12.6
3 years agoWhitespace cleanup
Not Zed [Tue, 7 Dec 2021 23:51:41 +0000 (10:21 +1030)]
Whitespace cleanup
3 years agoUse saner non-versioned defaults
Not Zed [Tue, 7 Dec 2021 23:49:44 +0000 (10:19 +1030)]
Use saner non-versioned defaults
Use full paths to java tools
5 years agoBump to jdk 13.
Michael Zucchi [Sat, 26 Oct 2019 01:13:45 +0000 (11:43 +1030)]
Bump to jdk 13.
5 years agoRemove .classes from jni .o
Michael Zucchi [Sat, 26 Oct 2019 00:38:53 +0000 (11:08 +1030)]
Remove .classes from jni .o
5 years agoUpdate java.make.
Michael Zucchi [Sat, 19 Oct 2019 04:02:55 +0000 (14:32 +1030)]
Update java.make.
Rename config.make to config.make.in so edits are not tracked.
Fixed REAMDE for changed file locations.
6 years agoTweaks to java.make.
Michael Zucchi [Fri, 2 Aug 2019 05:21:11 +0000 (14:51 +0930)]
Tweaks to java.make.
6 years agoFix, use library-path rather than library name for LoadLibrary
Michael Zucchi [Tue, 16 Jul 2019 09:52:44 +0000 (19:22 +0930)]
Fix, use library-path rather than library name for LoadLibrary
6 years agoHandle $ in type names.
Michael Zucchi [Tue, 14 May 2019 13:02:25 +0000 (22:32 +0930)]
Handle $ in type names.
6 years agoRevert previous changes. A rough solution to a rare problem.
Michael Zucchi [Tue, 14 May 2019 13:01:37 +0000 (22:31 +0930)]
Revert previous changes.  A rough solution to a rare problem.
6 years agoAdded helper for cleaning up jni-side references for callbacks.
Michael Zucchi [Sun, 12 May 2019 08:00:05 +0000 (17:30 +0930)]
Added helper for cleaning up jni-side references for callbacks.
This means the library is also now loaded by jni.
6 years agoSwitch trunk to pre 1.1 development.
Michael Zucchi [Tue, 23 Apr 2019 03:37:53 +0000 (13:07 +0930)]
Switch trunk to pre 1.1 development.
6 years agoBump to 1.0 release. nativez-1.0
Michael Zucchi [Tue, 23 Apr 2019 01:44:44 +0000 (11:14 +0930)]
Bump to 1.0 release.
6 years agoDon't include date in autogeneration.
Michael Zucchi [Tue, 23 Apr 2019 01:40:35 +0000 (11:10 +0930)]
Don't include date in autogeneration.
6 years agoAdded documentation for nativez-gen.
Michael Zucchi [Tue, 23 Apr 2019 01:25:47 +0000 (10:55 +0930)]
Added documentation for nativez-gen.
nativez-gen now passes all unknown arguments to cproto.
6 years agoAdded some useful variables to java.make
Michael Zucchi [Mon, 22 Apr 2019 09:16:06 +0000 (18:46 +0930)]
Added some useful variables to java.make
Use a generator for the java and native library lookups.
Change the library table to be read/write and include the full name.
6 years agoInitial import of pre-beta 1.0.
Michael Zucchi [Mon, 22 Apr 2019 00:51:09 +0000 (10:21 +0930)]
Initial import of pre-beta 1.0.