Commit Graph

213 Commits

Author SHA1 Message Date
Wojciech Figat
71e2cbe856 Minor tweaks to dotnet interop 2022-12-30 15:36:35 +01:00
Wojtek Figat
c48a81a068 Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Editor/Managed/ManagedEditor.Internal.cpp
#	Source/Engine/Core/Config/LayersAndTagsSettings.cs
2022-12-28 18:49:14 +01:00
Wojtek Figat
7859e64db1 Fix crash on Clang-platforms when calling base method from overriden scripting method (C# or Visual Script) 2022-12-28 16:28:50 +01:00
d3e02e23e5 Cleanup 2022-12-27 19:40:50 +02:00
f12475ea99 Prefer NativeMemory.AlignedAlloc over Marshal.Alloc* 2022-12-27 19:08:56 +02:00
Wojciech Figat
c53bf2b7e3 Fix crash when catching exception in managed code but native code ignores it in dotnet7 2022-12-27 13:50:38 +01:00
Wojciech Figat
219ad40088 Fix exception when using null version object for marshalling into native data 2022-12-27 13:50:11 +01:00
Wojciech Figat
d8805dc801 Tweaks 2022-12-24 15:24:51 +01:00
759a9bd365 Fix native library resolver not working after hot-reload 2022-12-24 03:13:40 +02:00
80c3056daf Fix errors when compiling plugins 2022-12-23 22:33:22 +02:00
Wojtek Figat
8918c71312 Update old header usage 2022-12-22 19:31:01 +01:00
2e502ce82a Cache managed type MonoTypeEnum values 2022-12-22 20:17:06 +02:00
3c79be2910 Cleanup 2022-12-22 20:16:02 +02:00
Wojciech Figat
94c5211ee6 Rename gchandle to MGCHandle 2022-12-22 13:02:00 +01:00
Wojciech Figat
04799c89dc Merge branch 'dotnet7' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet7 2022-12-21 12:28:55 +01:00
Wojciech Figat
9a5c105db9 Merge branch '1.5' into dotnet7 2022-12-21 10:35:58 +01:00
55747edaae Cleanup 2022-12-21 00:40:38 +02:00
Wojciech Figat
f874a0ad57 Update csprojects to the latest NetCore7 2022-12-19 17:39:39 +01:00
b9f11298e8 Avoid pre-allocating custom attributes for managed types 2022-12-17 15:39:04 +02:00
fcd1366d26 Fix memory leaks caused by unreleased GCHandles 2022-12-02 00:06:32 +02:00
76ee695a59 Cleanup and minor fixes 2022-11-27 14:45:55 +02:00
Wojtek Figat
8e52e2fb10 Merge branch 'master' into 1.5 2022-11-27 12:11:50 +01: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
c4be764f61 Add nethost module and EngineConfiguration for .NET runtime 2022-11-26 13:50:32 +02:00
Wojtek Figat
76c1045444 Code cleanup after #823 2022-11-23 19:18:30 +01:00
Wojtek Figat
b581bf7bac Merge branch 'Better-Actor-Toolbox' of https://github.com/Tryibion/FlaxEngine into Tryibion-Better-Actor-Toolbox 2022-11-23 19:02:26 +01:00
Wojtek Figat
2ad6eb0c72 Merge branch 'master' into 1.5 2022-11-22 19:58:53 +01:00
Wojtek Figat
af244718be Merge branch 'organized-content-new-cm' of https://github.com/Tryibion/FlaxEngine into Tryibion-organized-content-new-cm 2022-11-21 16:15:04 +01:00
Wojtek Figat
93c0dd704e Merge branch 'master' into 1.5
# Conflicts:
#	Source/Engine/Serialization/Stream.cpp
2022-11-21 15:51:57 +01:00
Wojciech Figat
efb48697fa Add network RPCs 2022-11-16 17:31:28 +01:00
Wojciech Figat
c0f596a00e Add ScriptingObjectReference for Read/WriteStream and scripting interop as an array 2022-11-16 17:31:26 +01:00
Chandler Cox
6b4da88ef0 Added the ability to specify the name of the actor in the toolbox, works in searching as well. 2022-11-11 17:03:04 -06:00
Chandler Cox
4515844219 changed how the actor toolbox is created. Allows fo user to enter their own tabs and actors with an attribute 2022-11-11 16:37:45 -06:00
Chandler Cox
a1e4400994 changed to use attribute to add items to the content context menu, this also allows users to add their own items to the CM 2022-11-02 17:57:40 -05:00
Chandler Cox
1af0188a3c changed how actor context menus are created. 2022-10-31 19:18:43 -05:00
Wojtek Figat
00be6ffb89 Merge branch 'master' into 1.5 2022-10-29 20:45:51 +02:00
Wojtek Figat
6379171fa6 Fix crash due to bdb69d57dd (Mono typenames are invalid after dll unloaded) 2022-10-29 18:56:21 +02:00
Wojtek Figat
4ba93d9d86 Code cleanup #765 2022-10-29 12:04:42 +02:00
Wojciech Figat
0dec70847f Add support for StringAnsi in scripting api 2022-10-26 15:00:39 +02:00
Wojciech Figat
7621252f46 Add automatic replication for C# types with fields marked with NetworkReplicated attribute 2022-10-19 09:26:40 +02:00
Wojciech Figat
76b14af7ec Add various improvements 2022-10-18 15:03:56 +02:00
Wojciech Figat
c12ea8428e Add FlaxEngine.Object.FromUnmanagedPtr for native object raw pointer conversion to managed object 2022-10-13 13:35:59 +02:00
Wojciech Figat
5c24f8c365 Add ScriptingTypeHandle support for scripting bindings as System.Type 2022-10-13 13:35:15 +02:00
Wojciech Figat
77f8df02e5 Add ModuleInitializer attribute for C# scripting initialization code running on load 2022-10-12 17:00:40 +02:00
Preben Eriksen
2efc97b64f Added: ScriptingObject* TryFindObject(MClass* mclass), Allow you from c++ to use MAssembly GetBinaryModuleGame, and get a monoobject from a class, monoobject is needed later to Invoke a method from the class. 2022-10-11 10:45:28 +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
Wojciech Figat
439f74c540 Fix comparison operators on object reference types 2022-09-12 14:48:48 +02:00
Wojciech Figat
4fa9b4a741 Fix comparison operators on object reference types 2022-09-09 15:29:17 +02:00
Wojciech Figat
05064402b1 Various improvements 2022-09-07 11:53:03 +02:00