Commit Graph

369 Commits

Author SHA1 Message Date
c8cc899128 Optimize allocations in method parameter marshalling and invocation 2022-12-21 00:40:38 +02:00
55747edaae Cleanup 2022-12-21 00:40:38 +02:00
fcd1366d26 Fix memory leaks caused by unreleased GCHandles 2022-12-02 00:06:32 +02:00
676d87129c Fix array count output parameter handling when returning arrays 2022-11-28 00:07:02 +02:00
4a1c1ebe3a Fix ScriptingObject handles getting released during marshalling 2022-11-27 23:53:30 +02:00
0d68e90b59 Fix array count output parameter handling when returning arrays 2022-11-27 14:42:11 +02:00
3b80a01813 Fix build errors on Linux 2022-11-26 23:20:13 +02:00
96dc279ebd Implement .NET 7 runtime support and bindings generation 2022-11-26 14:37:07 +02:00
Wojciech Figat
2644b4d75a Various improvements to the networking 2022-11-23 17:26:30 +01:00
Wojciech Figat
043beb03a9 Add support for DataContainer in scripting api bindings 2022-11-03 08:53:07 +01:00
Wojtek Figat
949f16fba8 Fix returning bool value in overriden scripting method 2022-11-02 20:30:40 +01:00
Wojciech Figat
e8d39e706f Add C++ properties replication support 2022-10-27 16:21:53 +02:00
Wojciech Figat
52e0e70908 Add support for different access level for scripting property functions 2022-10-27 15:14:34 +02:00
Wojciech Figat
3ede538fcb Add support for non-const ref parameters with conversion (eg. string or array) in scripting api function parameters 2022-10-26 15:59:34 +02:00
Wojciech Figat
19f1c4251c Fix scripting api bindings for types with changed scripting name (other than native type name) 2022-10-26 15:00:29 +02:00
Wojciech Figat
d90245bf32 Add Tag parsing in scripting type (for custom extensions) 2022-10-26 14:59:50 +02:00
Wojciech Figat
b3eb38009d Improve various types usage in scripting api 2022-10-26 14:58:46 +02:00
Wojciech Figat
3f1dba86a3 Fix parsing scripting function parameters with function parameter within default parameter value 2022-10-26 14:58:05 +02:00
Wojciech Figat
e115aa2c4e Merge remote-tracking branch 'origin/master' into 1.5
# Conflicts:
#	Source/Engine/Content/JsonAsset.cpp
2022-10-19 13:36:46 +02:00
Wojciech Figat
76b14af7ec Add various improvements 2022-10-18 15:03:56 +02:00
Wojciech Figat
5c24f8c365 Add ScriptingTypeHandle support for scripting bindings as System.Type 2022-10-13 13:35:15 +02:00
Wojtek Figat
3c9d9cd8d6 Add support for deserialization of deprecated properties in scripting types 2022-10-12 20:39:40 +02:00
Wojciech Figat
09b35266f7 Add automatic network serializers generation for NetworkReplicated fields in C++ types 2022-10-12 11:22:53 +02:00
Wojciech Figat
09e50bb0e1 Simplify code in bindings generator 2022-10-11 11:38:35 +02:00
Wojciech Figat
4c71f40bc2 Add Module tags feature for build config in custom plugins 2022-10-10 15:02:52 +02:00
Wojciech Figat
4d08dc77b2 Add custom Tags for scripting api types to be used by plugins 2022-10-10 14:40:59 +02:00
Wojciech Figat
7924a62db6 Add support for custom types/members attributes parsing in scripting bindings 2022-10-10 14:38:54 +02:00
Wojciech Figat
5faa11e0a2 Fix reading type inheritance in bindings generation with comment at the end 2022-10-10 13:27:37 +02:00
Wojtek Figat
e6996ff22f Fix missing virtual C++ function override in C# if the thunk points to vtable index at offset=0 2022-09-14 22:14:25 +02:00
Wojtek Figat
1d7ba2210a Fix crash on API event in C# after Editor hot-reload 2022-09-01 22:55:29 +02:00
Wojciech Figat
e59de73948 Fix small issues 2022-08-02 16:53:31 +02:00
Wojtek Figat
fe1cab6a7f Add Default auto-generated member to scripting structures and improve deserialization 2022-08-01 18:49:54 +02:00
Wojtek Figat
bdb69d57dd Refactor Plugins system to support plugins in C++ scripts 2022-07-28 21:05:03 +02:00
Wojtek Figat
2bd3c0f74f Add support for constexpr fields in Scripting API 2022-06-16 21:56:48 +02:00
Wojciech Figat
4cabf9de53 Merge remote-tracking branch 'origin/master' into gi 2022-06-14 12:03:28 +02:00
Wojciech Figat
c6e909c867 Refactor API_INJECT_CPP_CODE into API_INJECT_CODE to support code injection in other languages 2022-06-14 11:53:31 +02:00
Wojtek Figat
b815ba51a5 Fix build issues 2022-06-13 23:37:11 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojtek Figat
1303740611 Add proper template types inflating with typedef searching for new scripting api features usage 2022-05-25 19:55:22 +02:00
Wojtek Figat
edbf0761d2 Minor code simplification 2022-05-25 19:54:50 +02:00
Wojtek Figat
a116a1fb8d Add FLAX_BUILD_BINDINGS define for Scripting API parser to be used if needed 2022-05-23 19:57:38 +02:00
Wojtek Figat
c87f2f5b56 Optimize empty comments parsing in Scripting API 2022-05-23 19:57:07 +02:00
Wojtek Figat
e4e5745101 Fix parsing comments for Scripting API types that are templates 2022-05-23 19:56:43 +02:00
Wojtek Figat
e9c8584656 Format code in Flax.Build 2022-05-23 19:56:13 +02:00
Wojtek Figat
85fd540b97 Add new API_TYPEDEF metadata for Scriptign API types instantiation (with Alias option) 2022-05-23 19:50:37 +02:00
Wojtek Figat
b70bce1746 Add support for generic types in Scripting API with Template flag 2022-05-23 19:43:34 +02:00
Wojtek Figat
d39b6d7120 Fix processing else and elif preprocessor blocks in Flax.Build bindings parser 2022-05-23 17:46:26 +02:00
Wojtek Figat
c0412cc4f4 Fix using preprocessor define values in Flax.Build bindings parsing 2022-05-23 17:45:18 +02:00
Wojtek Figat
4a9c746bed Add SoftAssetReference type 2022-02-28 23:15:35 +01:00
Wojtek Figat
56491569df Optimize C# bindings in Engine code to static functions that native ABI matches managed signature 2022-02-19 00:29:09 +01:00