Commit Graph

4625 Commits

Author SHA1 Message Date
Wojtek Figat
be7da82cfc Add printing output C# files size in game cooker 2023-04-03 18:26:17 +02:00
Wojtek Figat
bb84a51478 Add FileSystem::GetDirectorySize 2023-04-03 18:22:57 +02:00
Wojtek Figat
03b16875c7 Add SkipUnusedDotnetLibsPackaging to build settings for optional whole C# stdlib packaging 2023-04-03 18:03:28 +02:00
Wojtek Figat
84bb56d68b Minor dotnet tweaks 2023-04-03 14:12:27 +02:00
Wojtek Figat
d28be9cf44 Optimize out debug symbols generation for C# stdlib in Mono AOT builds 2023-04-03 13:53:03 +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
e995736012 Optimize out System.ComponentModel.TypeConverter assembly usage to reduce cooked game builds 2023-04-03 13:51:33 +02:00
Wojtek Figat
493f3430bc Improve AOT cache usage when using different build configurations 2023-04-03 13:49:53 +02:00
Wojtek Figat
350112a0d7 Fix C# string chars getter in AOT build 2023-04-03 11:23:32 +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
21f419dd4b Fix C# assemblies loading in AOT mode (use file path to correctly load precompiled native assembly) 2023-04-02 14:50:42 +02:00
Wojtek Figat
a3517b273c Add warning check to Mono AOT process to detect not supported features usage 2023-04-01 23:35:20 +02:00
Wojtek Figat
e1a0e51bc7 Optimzie Newtonsoft.Json lib by removing Xml, Schema support and making it AOT-friendly for AOT game builds 2023-04-01 23:34:24 +02:00
Wojtek Figat
12f4dc74d2 Optimize default C# stdlib references to prevent using jit-ed features in a game assembly 2023-04-01 23:34:05 +02:00
Wojtek Figat
2196a3d791 Add USE_AOT define to C# when compiling with AOT-enabled 2023-04-01 21:23:49 +02:00
Wojtek Figat
809a1041b3 Merge remote-tracking branch 'origin/1.6' into 1.6 2023-03-31 19:38:05 +02:00
Wojtek Figat
29d0281932 Missing change 2023-03-31 19:37:55 +02:00
Wojtek Figat
e562a7d72c Fix loading C# assemblies from Mono AOT output 2023-03-31 18:31:25 +02:00
Wojtek Figat
7bec45dacf Typo fixes 2023-03-31 18:29:44 +02:00
Wojtek Figat
5a96c0e717 Add AOT cache invalidation when AOT Mode gets changed for next iterative cook 2023-03-31 18:23:50 +02:00
Wojtek Figat
a7c9c6142c Remove test logs 2023-03-31 18:23:24 +02:00
Wojtek Figat
dfca248ebd Optimize C# IsCollectible to be used in Editor-only builds 2023-03-31 14:56:57 +02:00
Wojtek Figat
4cc0807384 Skip nethost dependency from automatic building (manual-only) 2023-03-31 14:42:14 +02:00
Wojtek Figat
7cbafcd86b Implement C# AOT process for .NET 7 for Windows platform 2023-03-31 14:41:42 +02:00
Wojtek Figat
20ce4642ea Add nethost usage for iOS build 2023-03-30 18:39:19 +02:00
Wojtek Figat
4528cce71c Fixes for macOS game building 2023-03-30 18:38:58 +02:00
Wojtek Figat
aeb0bf700f Fix old Platform proces api usage 2023-03-30 18:07:47 +02:00
Wojtek Figat
bb27f85951 Optimize MCore::Array::GetAddress usage in MUtils 2023-03-29 10:39:20 +02:00
Wojtek Figat
94e7531109 Fix native libs loading on Android 2023-03-29 10:32:47 +02:00
Wojtek Figat
fd23a61846 Fix ManagedDictionary error on null object 2023-03-29 10:32:30 +02:00
Wojtek Figat
de566a361a Implement Mono hosting for .NET 7 on Android 2023-03-29 10:32:09 +02:00
Wojtek Figat
d925c8dab8 Fixes for Android 2023-03-28 17:21:27 +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
6f7b138488 Implement missing dotnet7 api 2023-03-28 13:00:42 +02:00
Wojtek Figat
52fb941237 Refactor Native Interop codebase with cleanup/rename 2023-03-28 12:53:06 +02:00
Wojtek Figat
0694f87b0d Fixes for Visual Scripting interop via C# on new dotnet7 hosting 2023-03-28 12:01:55 +02:00
Wojtek Figat
ed13de2d5b Fix using managed arrays with Variant in dotnet7 2023-03-27 19:41:53 +02:00
Wojtek Figat
8d7225c056 Remove debug code leftover from 4755c42d70 2023-03-27 17:35:56 +02:00
Wojtek Figat
4755c42d70 Fix .NET generic class typename to match old mono style without inlined assembly name and ver 2023-03-27 17:30:48 +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
eed2cdfe04 Progress on dotnet7 runtime hosting with mono 2023-03-22 17:59:46 +01:00
Wojtek Figat
4c4a559125 Improve dotnet host runtime detection if pack has multiple different versions 2023-03-22 14:20:38 +01: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
2253b5713b Fix dotnet sdk detection 2023-03-22 14:19:12 +01:00
Wojtek Figat
7d4bf8356e Update to the latest Platform::CreateProcess 2023-03-22 14:18:52 +01:00
Wojtek Figat
c31e4023c4 Optimize TypeInfo.GetFullNameNative for simple types 2023-03-22 14:12:25 +01:00
Wojtek Figat
3bbc7faf11 Refactor platform process startup with CreateProcessSettings 2023-03-22 14:09:20 +01:00
Wojtek Figat
30e825db75 Add dotnet7 for Android (wip) 2023-03-21 22:49:09 +01:00
Wojtek Figat
5dbc5f42d2 Remove mono files 2023-03-20 19:32:24 +01:00
Wojtek Figat
154076a5d0 Migrate Linux build from mono to to dotnet7 2023-03-20 19:25:00 +01:00