kindlich
422ee64c85
[WIP, I have no idea what I'm doing]Get types declared in StdLibs from the registry
преди 5 години
kindlich
8dd4cef26d
Added type mapping when generic base type is a class
преди 5 години
kindlich
ff6514edae
[WIP, I have no idea what I'm doing] Trying to get generic parameters working
Let's see if putting them all into one TypeVariableContext works..?
Also, a lambda that returns void cannot conclude the generic header. How should we deal with this?
преди 5 години
kindlich
10fc19cc9f
WIP: Saving so that it is safe :smile:
преди 5 години
Jared
1d02904fea
Maybe fixed type arguments, added more logger info
преди 5 години
Jared
c7466e5c37
Log more info about what package is trying to be registered into
преди 5 години
Jared
4cbbe1f387
work on getting this working
преди 5 години
Jared
6335559b29
Remove stdlib as a resource, as it is causing duplicate jar entries
преди 5 години
Jared
cc51395056
made stdlibs a jar file
преди 5 години
Jared
459781d075
Revert back to the zip file
преди 5 години
Jared
6de9e2f3fc
don't include StdLibs in the build anymore
преди 5 години
Jared
1f4b126e18
Added FolderPackage, made stdlibs read from a folder instead of zip
преди 5 години
Jared
cb2950a278
Revert "test with naming StdLibs as zsp (zs package)"
This reverts commit 95d9aa2b32 .
преди 5 години
Jared
95d9aa2b32
test with naming StdLibs as zsp (zs package)
преди 5 години
kindlich
2e09623f39
Fixed Module using class name instead of annotation name
преди 5 години
Jared
71844ec536
Added a logger to ScriptingEngine to catch a few extra errors
преди 5 години
kindlich
07d6866fb2
Fixed Bridge methods IncompatibleClassChangeError
Reason was that it tried to invokeInterface whereas a bridge redirects to a local (virtual) method.
The local method was flagged incorrectly as the same type as the bridger which would be interface, hence the error
преди 5 години
kindlich
4a078a08ae
Added Storage tag annotation
преди 5 години
kindlich
eca522b4f9
Some GetForName Changes
преди 5 години
kindlich
215e92e5bf
Added TypeParsing to JNM#getTypeFromName
преди 5 години
Jared
1ac2cb0bb6
fixed crash when value.name is null
преди 5 години
Jared
6f6b96ddb5
More work on expansions, casters are done
преди 5 години
kindlich
c7c34cbc2a
Expansions: Check if the 1st parameter is the expanded type
преди 5 години
kindlich
b1a2691cbf
First step towards ZenExpansions
They worked in my simple, void test example
преди 5 години
kindlich
58a34905c6
Fix optional not counting as nullable
The Optional annotation is parameter, not type bound
преди 5 години
kindlich
1dd20f24a2
JavaNativeModule: Moved definition register up to help with circular hierarchies
E.g. IIngredient has a method that accepts an IItemStack, which is a sub-interface
преди 5 години
kindlich
5d6ed900ad
Allow the use of default expressions in Optional annotation
преди 5 години
Jared
93d75695ec
fix optionals not inheriting nullable and expecting a default type
преди 5 години
Jared
ba2b04790b
small code cleanup
преди 5 години
kindlich
cebae626fe
ShouldLoadClass now checks for Name annotation
преди 5 години
Jared
d9e8ef65ea
Made the Name error say which class caused the issue
преди 5 години
kindlich
5e9d773084
Allow Already converted classes from dependencies to be used, even if in another package
преди 5 години
Jared
cbf1ac90e6
Added kindlich's name fix
преди 5 години
Jared
191edd6cae
Added better logging in JavaNativeModule
преди 5 години
kindlich
fa8a3588cb
Fixed Exception for invalid package even if the class name was overriden using @Name
преди 5 години
Stan Hebben
c3b948d8fe
Fixed support for optional parameters. Also implemented java integration for them.
преди 5 години
kindlich
b34bdf376a
Enums now are registered to their class package, fields use the correct modifiers
TODO: Verify that the access check is correct
преди 5 години
kindlich
5374b6f716
WIP: Loggers, added parsing logger
преди 5 години
kindlich
2255428bd9
Created ScriptingEngine#createScriptedModule overload that accepts loggers
преди 5 години
kindlich
a4d4176e7f
JavaNativeLoader: removed unneccessary Field
преди 5 години
kindlich
608baebce8
Added modules getter to the ScriptingEngine and allow empty base base package names in JavaNativeModule
преди 5 години
Stan Hebben
a86086cdec
Added native loader to resolve dependencies between native modules.
преди 5 години
Stan Hebben
d151b5ef99
Fix nullable types.
преди 5 години
Stan Hebben
5ea804b3d3
Fix method signatures containing only the short name instead of full class name.
преди 5 години
Stan Hebben
00e09fc358
Fix modifiers on functional interfaces
преди 5 години
Stan Hebben
5f9aac70c8
Added missing update to JavaNativeModule
преди 5 години
Stan Hebben
70bd868af4
Added support for functional interfaces.
преди 6 години
Stan Hebben
9c650d0f5b
- Added correct type variable resolution
- Fixed a number of bugs
- Upgrading build system to a more uniform system
- Improving error output (for IDE)
- Changed parser to generate line offsets differently (easier for IDE to process)
преди 6 години
Stan Hebben
aab7cc69f1
- Continued implementation of interfaces in the bytecode compiler.
- Added support to have a native method both as operator and named method
преди 6 години
kindlich
75785f413f
Minor code reformat
преди 6 години