Commit Graph

852 Commits

Author SHA1 Message Date
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
d5b8e44572 Cache networking code generation task results 2023-04-17 11:12:16 +02:00
Wojtek Figat
8a80a26523 Add networking replication codegen for C# array properties with object references or custom structures 2023-04-16 15:30:51 +02:00
Wojtek Figat
2e22abaff9 Refactor C# network replication codegen to be more extendable based on value context source 2023-04-16 14:56:54 +02:00
Wojtek Figat
d38badb54b Add array property replication code-gen for C# networking 2023-04-16 13:00:28 +02:00
Wojtek Figat
2d51332bf7 Rename networking codegen initializer to NetworkingPlugin for C# netcode 2023-04-15 12:05:33 +02:00
Wojtek Figat
e4804db160 Add NetworkRpcParams for sending RPC to specific set of clients or to read sender id 2023-04-15 12:04:40 +02:00
Wojtek Figat
89704bebe9 Add Span<T> support for scripting fields 2023-04-14 15:01:22 +02:00
Wojtek Figat
e5f4a52be1 Finish Mono AOT for iOS with .NET 7 2023-04-13 21:55:42 +02:00
Wojtek Figat
924ee9085f Add logging command in build tool when explicitly specified 2023-04-13 21:03:37 +02:00
Wojtek Figat
cffa9aa58e Add info about UWP platform support end 2023-04-13 10:07:51 +02:00
Wojtek Figat
0652a1c367 Add more code for iOS mono aot 2023-04-13 10:00:40 +02:00
Wojtek Figat
c5491eea97 Add Mono AOT for iOS to run C# 2023-04-13 08:34:49 +02:00
Wojtek Figat
cf397e1cc7 Fix var name typo and make improve class lib and platforms tools searching for Mono AOT 2023-04-13 08:27:49 +02:00
Wojtek Figat
d9855f2ed6 DIsable leftover debug aot 2023-04-12 23:16:39 +02:00
Wojtek Figat
7c39e5726d Improve csproj project files generation 2023-04-12 14:00:24 +02:00
Wojtek Figat
99566a0f0f Fix typo 2023-04-12 11:21:55 +02:00
Wojtek Figat
68c6a01805 Update Switch platform support 2023-04-11 15:53:53 +02:00
Wojtek Figat
aa64da9869 Mark iOS platform as AOT-only 2023-04-06 14:19:10 +02:00
Wojtek Figat
92520a3c17 Add .NET 7 improvements for platforms 2023-04-06 13:07:45 +02:00
Wojtek Figat
09bd7c696b Add .NET 7 for PlayStation 4 2023-04-05 19:17:22 +02:00
Wojtek Figat
0df9f5c797 Merge branch 'linux_rid_fix' of https://github.com/GoaLitiuM/FlaxEngine into 1.6 2023-04-04 15:09:37 +02:00
Wojtek Figat
0c4a608b65 Add .NET 7 support to Xbox 2023-04-04 14:46:08 +02:00
Wojtek Figat
eda07ac57b Fix build tool crash when includes cache file is corrupted 2023-04-03 23:42:32 +02:00
Wojtek Figat
820c18968a Add C# class library optimization for normal game builds (without AOT) 2023-04-03 23:41:18 +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
5ca6dae8c3 Fix crash in AOT build when platform has overridden AOT mode 2023-04-02 14:56:33 +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
a7c9c6142c Remove test logs 2023-03-31 18:23:24 +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
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
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
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
c31e4023c4 Optimize TypeInfo.GetFullNameNative for simple types 2023-03-22 14:12:25 +01:00