Wojtek Figat
77f962b33d
Fix soft refs in bindings to match C# version that is not generic
2023-09-28 11:47:16 +02:00
Wojtek Figat
934457ac0b
Merge branch 'unsub_event_nothrow' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-unsub_event_nothrow
2023-09-27 13:21:12 +02:00
Wojtek Figat
523a14af56
Fix missing Variant marshalling for scripting structures bindings
...
#1395
2023-09-27 13:04:14 +02:00
Wojtek Figat
6621e70ae7
Add objects replication and RPC stats table to Network Profiler
2023-09-26 10:33:12 +02:00
Wojtek Figat
62c2008cbc
Fix crash in C# JobSystem.Dispatch due to GC collecting Delegate object
2023-09-22 12:50:50 +02:00
Wojtek Figat
abcfc8af35
Add using exact C# method profiler data for profiler events in overriden thunk method callbacks
2023-09-22 12:04:41 +02:00
785943bef8
Add missing marshaller methods for compatibility
2023-09-16 16:00:12 +03:00
Wojtek Figat
722133165b
Fix marshalling Array<Variant> as object[] (C# codegen error)
2023-09-14 13:18:52 +02:00
Wojtek Figat
1948a84301
Add crash to soft-return if managed event bind target object native instance is gone
...
#1278
2023-08-14 18:40:03 +02:00
5e3018817c
Fix marshalling issue with PostFxMaterialSettings Materials
2023-08-14 18:25:48 +03:00
c2fffbcfdb
Fix API_INJECT_CODE injecting duplicated code
2023-07-25 20:49:20 +03:00
d1a6bdceed
Add params tag to API_PARAM for C# variadic parameters support
2023-07-23 12:47:00 +03:00
Wojtek Figat
7b88569e73
Add sealed tag to virtual functions in API bindings to block inheritance in C#/VS
2023-07-14 11:57:38 +02:00
4f78f79201
Support line-breaks in API_INJECT_CODE macro
2023-07-02 22:13:04 +03:00
Wojtek Figat
04c1cf469d
Fix codegen for C++ RPS with Array ParameterDefinition
...
#1209
2023-06-28 20:08:35 +02:00
Wojtek Figat
16159a9d98
Merge branch 'master' of https://github.com/Withaust/FlaxEngine into Withaust-master
2023-06-18 18:31:13 +02:00
Wojtek Figat
9e2e6759bd
Implement proper POD types check in C# network replication codegen
2023-06-18 15:33:57 +02:00
Wiktor Kocielski
2485987901
Fix binding generation for interfaces
2023-06-18 10:48:46 +03:00
Wojtek Figat
21a3081b9f
Fix 6b8d8b7913 from using filename into namespaces
2023-06-17 17:34:48 +02:00
Wojtek Figat
b0134ab1ce
Fix missing MConverter codegen for array and generic types used in non-POD struct fields
2023-06-13 16:38:08 +02:00
Wojtek Figat
6b8d8b7913
Various fixes and improvements to auto-generated bindings usability
2023-06-12 14:35:11 +02:00
Wojtek Figat
979168e82c
Refactor various Editor APIs to use auto-generated bindings instead of manual code
2023-06-12 14:34:07 +02:00
Wojtek Figat
c2cd3b64ff
Improve generated bindings code usability in Editor
2023-05-24 23:50:51 +02:00
Wojtek Figat
48b18bf84e
Fix regression from 7c0d1ab977 when using different access level to property getter/setter
2023-05-24 23:40:40 +02:00
Wojtek Figat
694980160b
Merge remote-tracking branch 'origin/master' into 1.6
...
# Conflicts:
# Source/Editor/CustomEditors/CustomEditorsUtil.cs
# Source/Engine/Networking/NetworkReplicator.cpp
# Source/Engine/Scripting/ManagedCLR/MUtils.cpp
# Source/Tools/Flax.Build/Bindings/BindingsGenerator.Cpp.cs
2023-05-24 23:28:38 +02:00
Wojtek Figat
914f7b842e
Optimize interface method lookup to eliminate strlen
2023-05-23 18:22:23 +02:00
Wojtek Figat
2881ca17a0
Fix bindings code instance object param obj to __obj to prevent name collisions
2023-05-22 18:06:08 +02:00
Wojtek Figat
ed70eb24c7
Fix using proper default value in scripting bindings for IntPtr value type
2023-05-19 13:49:15 +02:00
66de1e744a
Use Unsafe.As casting in generated managed marshallers
2023-05-08 23:28:54 +03:00
Wojtek Figat
7c0d1ab977
Fix access level of generated type marshaller if target type is protected or private
2023-04-29 11:11:30 +02:00
Wojtek Figat
644eb35b97
Fix building bindings-only cross-platform with dotnet7
2023-04-18 20:25:06 +02:00
Wojtek Figat
8b2d3db3f1
Fix passing boxed reference values to managed thunk and properly unbox non-POD structures
2023-04-18 15:54:54 +02:00
Wojtek Figat
024dd74ae1
Fix interface marshaller codegen for dotnet7
2023-04-17 22:34:00 +02:00
Wojtek Figat
9322a2006a
Post merge fixes for new dotnet7
2023-04-17 14:04:08 +02:00
Wojtek Figat
67b373c6df
Merge remote-tracking branch 'origin/master' into 1.6
2023-04-17 13:18:08 +02:00
Wojtek Figat
89704bebe9
Add Span<T> support for scripting fields
2023-04-14 15:01:22 +02:00
Wojtek Figat
58e5c988af
Optimize Utils.InitStructure usage in generated bindings code if structure can be zero-inited
2023-04-03 13:52:15 +02:00
Wojtek Figat
5ca6dae8c3
Fix crash in AOT build when platform has overridden AOT mode
2023-04-02 14:56:33 +02:00
Wojtek Figat
a25eae5d10
Move dotnet7 native interop, wrappers and marshalers into FlaxEngine.Interop namespace
2023-03-28 13:20:18 +02:00
Wojtek Figat
52fb941237
Refactor Native Interop codebase with cleanup/rename
2023-03-28 12:53:06 +02:00
Wojtek Figat
ed13de2d5b
Fix using managed arrays with Variant in dotnet7
2023-03-27 19:41:53 +02:00
Wojtek Figat
510fc443e8
Refactor CoreCLR runtime into explicit dotnet api instead of mocking mono api
...
Required by platforms that will use mono under the hood for .Net 7
New `USE_CSHARP` define for C# ability
Engine doesn't use `mono_*` apis directly but via MCore/MClass/MMethod/ apis
2023-03-27 17:29:42 +02:00
Wojtek Figat
4c1519ba1b
Fix bindings generation for in-built Char type used in Array
2023-03-22 14:19:52 +01:00
Wojtek Figat
c31e4023c4
Optimize TypeInfo.GetFullNameNative for simple types
2023-03-22 14:12:25 +01:00
2f9e72e03e
Use caching for filesystem queries in BindingsGenerator
2023-03-14 20:03:33 +02:00
Wojtek Figat
aaaf7c5c37
Various fixes to scripting
2023-03-06 16:17:52 +01:00
Wojtek Figat
0112f70c05
Merge remote-tracking branch 'origin/master' into dotnet7
2023-03-01 19:50:22 +01:00
87e9046e41
Fix native to managed marshalling of System.Array
2023-02-19 20:33:12 +02:00
Wojtek Figat
bef4ba1829
Fix crash when cross-compiling C# bindings-only without toolchain installed
2023-02-19 18:17:51 +01:00
Wojtek Figat
c00769e2b8
Fix deprecation warning
2023-02-19 14:32:34 +01:00