kindlich
17dad43f4d
WIP: Allow casts to nullables in default expressions
преди 4 години
kindlich
756599a677
Fixed remaining Test failures
преди 4 години
kindlich
2a5f279c6e
Fix missing assertions in tests
преди 4 години
kindlich
f6a3872faf
Added StdLibs as submodule
преди 4 години
kindlich
185f20b663
Make ExpressionFormatter compile for CrT
преди 4 години
kindlich
5b231b0574
Fixed NPE in FunctionHeader and Stackoverflow
преди 4 години
Stan Hebben
6945ba67be
WIP fixing stdlibs and compilation on the new version
Added functional interface types (Java)
преди 4 години
Stan Hebben
253c367b29
Fixed the JavaNativeModule class to be compatible with the new changes
преди 4 години
Stan Hebben
7c0db135d6
Merge branch 'feature/remove-stored-types' into feature/remove-storedtypes
преди 4 години
Stan Hebben
35e4f8585a
Merge remote-tracking branch 'kindlich/development' into development
преди 4 години
Stan Hebben
417e99aab0
WIP removing stored types
преди 4 години
Stan Hebben
4d53b6cc85
Fixed something with iterables (but I forgot what)
преди 4 години
Jared
84d5a1dabd
Made invalid imports log errors
преди 5 години
kindlich
f4639923f8
Check and escape more special Characters
This should fix https://github.com/CraftTweaker/CraftTweaker/issues/999
преди 4 години
kindlich
cfbaaf9f9b
Tests: Make ScriptBuilder use a LinkedHashMap to preserve file orde
преди 4 години
kindlich
5ab2f6bf08
Adds tests to check that functions in the same package can be read by each other
преди 4 години
kindlich
6b718fa47e
Two more tests
преди 4 години
kindlich
af2ca1e45a
Added a test for generic expansions and a more sophisticated one that uses that Game of life code
преди 4 години
kindlich
eb48f35453
Fixed function definitions not generating properly
преди 4 години
kindlich
1d0289c19f
Fix matchesExact check only comparing minimum amount of parametters
преди 4 години
kindlich
457cb2dbec
Some more tests for basic class members
преди 4 години
kindlich
4eb8d63929
Removed unused scripts, added Example script for Conway's game of life
преди 4 години
kindlich
1bf0933315
Change some logging for tests
преди 4 години
kindlich
e9ab512059
Added char to JavaNativeModule
преди 4 години
kindlich
9c5aaeb2a8
Pushed relevant changes of ScriptingExample.Main
преди 4 години
kindlich
6a77f27c9f
Started with Unit tests
преди 4 години
kindlich
6aae26601c
Fix duplicate Class Warnings
Expansions classes now properly get a number suffix so that expansion classes and scripts no longer share the same name. Also fixes that scripts and expansions cant be in one file
преди 4 години
kindlich
9c4f0081f5
First minor cleanups
преди 4 години
kindlich
6d5f6599ac
Log some suppressed error messages
преди 4 години
kindlich
b30bfeb61d
Fixed List Foreach
Changes how Classes from Stdlibs are found in the NativeModule so that their Java type parameters properly match the ones from the Stdlibs files
преди 4 години
kindlich
96f81433ef
Oops I forgot these for the logging and some cleanup
преди 4 години
kindlich
8173105c2b
Added checkcast in function interface wrapping's result
преди 4 години
kindlich
1b737430f9
Started working on propagating a logger object instead of having to resort to Sysout
Mwahaha, Jared you will have to review this :manic_laugther:
преди 4 години
kindlich
c4be2b92fa
Fix varargs for no argument and in static methods
преди 4 години
kindlich
f1fcb91619
Fix Expression Visitor using wrong typeParameter list
преди 4 години
kindlich
85386a9112
Merge remote-tracking branch 'kindlich/development' into development
преди 4 години
kindlich
ed7b56a39b
allow comparison of functionalStorage tags
преди 4 години
kindlich
370c2af1e9
Enums won't have superclasses
преди 4 години
kindlich
8ff353bcd1
Allow generic types in Java Signatures
Provide them as class parameters
преди 4 години
kindlich
d02abd30c3
Fix generic call arguments being overridden by the generic mapper's selfmapping
преди 4 години
kindlich
bc7f15b8ca
Match vararg types implicitly
преди 4 години
kindlich
4a05c341f0
More Matching moved to .equals
преди 4 години
kindlich
06b0859ce2
Some method matching stuff with equals
преди 4 години
kindlich
0880bc8dc2
JavaNativeModule: Added some suppress statements for raw use of types
It's unavoidable at times
преди 4 години
kindlich
916a4dd121
Scripting Engine: Moved Creaton of JavaByteCodeRunUnit to own method to make it accessible from the outside
преди 4 години
kindlich
6e70f7453e
JavaNativeModule: LoadStatic now uses already existing method(s) if present
преди 4 години
kindlich
959618f7fb
JavaNativeModule: CompiledModules now retrieve all compiled information from parent modules
преди 4 години
kindlich
5d07a9331d
JavaNativeModule: Allow ZenMethod annotation to be used alongside the others
преди 4 години
kindlich
7134ba06b3
JavaNativeModule: Allow getters in Expansions
преди 4 години
kindlich
7cd318a1ce
JavaBytecode: Fixed Contains check being inversed
преди 4 години