Commit Graph

784 Commits

Author SHA1 Message Date
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
5c9a27a6d6 Serialize C++ includes cache results
Almost half the build tool runtime is spent scanning includes in C++-files, now the results are cached and invalidated when files last write timestamp changes.
2022-12-28 14:25:11 +02:00
53de6d018b Return container types as return parameters 2022-12-27 19:02:40 +02:00
Wojciech Figat
d9042b3db2 Fix building various plugin projects with new dotnet7 2022-12-27 13:49:47 +01:00
Wojciech Figat
7440cb0963 Rename generated method parameters in bindings to prevent name collisions 2022-12-24 15:35:46 +01:00
48214f925b Fix wrong import name in generated plugin bindings 2022-12-24 01:13:56 +02:00
80c3056daf Fix errors when compiling plugins 2022-12-23 22:33:22 +02:00
22b4e25c02 Improve array allocations when marshalling method parameters 2022-12-22 19:54:58 +02:00
Wojciech Figat
75130fcca3 Fix using Function in scripting api to pass function pointer to native code when running in dotnet7 2022-12-22 11:50:29 +01:00
Wojciech Figat
3f172442be Add DotNetSdk to simplify using it 2022-12-21 14:13: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
ac99dc0ac4 Add Platform.BuildTargetArchitecture 2022-12-21 11:33:25 +01:00
Wojciech Figat
8dc5c4e00b Restore assembly config for Flax.Build 2022-12-21 11:07:58 +01:00
Wojciech Figat
edac611444 Fix generated plugin projects that use both C++ and C# scripting 2022-12-21 11:04:41 +01:00
Wojciech Figat
37a8380521 Cleanup code 2022-12-21 11:04:28 +01:00
Wojciech Figat
b2beeb653b Remove unused using statement 2022-12-21 11:04:13 +01:00
Wojciech Figat
6ff5dcfa50 Improve build rules assembly cache to include build tool changes 2022-12-21 10:45:24 +01:00
Wojciech Figat
9a5c105db9 Merge branch '1.5' into dotnet7 2022-12-21 10:35:58 +01:00
Wojciech Figat
aea28ce499 Optimize Flax.Build to not use Nuget 2022-12-21 10:23:50 +01:00
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
Wojciech Figat
2fee75517d Updates for vs2022 2022-12-20 18:23:20 +01:00
Wojciech Figat
580f4120dc Update nunit for Unit Tests running with .net7 2022-12-20 18:21:45 +01:00
Wojciech Figat
f874a0ad57 Update csprojects to the latest NetCore7 2022-12-19 17:39:39 +01:00
Wojciech Figat
a56090e70f Update deprecated WebClient into HttpClient in Flax.Build files download utility 2022-12-19 11:17:09 +01:00
Wojciech Figat
979f8bcfee Remove Flax.Stats project 2022-12-19 10:10:12 +01:00
Wojciech Figat
84a68c5977 Update Newtonsoft.Json to 13.0.2 and .Net 7 2022-12-17 13:38:30 +01:00
Wojciech Figat
6eaecc8793 Fix VisualStudioInstance.GetInstances() to be sorted from newest to oldest 2022-12-17 12:58:58 +01:00
Wojciech Figat
df6bf1e04d Disable UWP platform from build 2022-12-16 15:19:03 +01:00
Wojciech Figat
ff1ccdb7ee Improvements for Flax.Build setup 2022-12-16 15:18:45 +01:00
Wojciech Figat
d544c43744 Style fix 2022-12-08 16:30:58 +01:00
Wojciech Figat
f426c75696 Fix recursive binary modules usage in scripting 2022-12-06 11:43:19 +01:00
fcd1366d26 Fix memory leaks caused by unreleased GCHandles 2022-12-02 00:06:32 +02:00
Wojciech Figat
e5b4ce06b9 Add support for C# properties automatic replication codegen 2022-11-30 16:19:32 +01:00
4e4fb91a6f Prevent optimizing C#-projects in Development builds for better debugging 2022-11-29 21:18:42 +02:00
55e287c890 Disable self-contained Flax.Build binaries and other build script fixes 2022-11-29 19:38:12 +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
bf190810dd Fix building VC++-projects 2022-11-27 15:49:39 +02:00
76ee695a59 Cleanup and minor fixes 2022-11-27 14:45:55 +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
89ac54520a Add Linux support for nethost module, build tool and build scripts 2022-11-26 23:19:46 +02:00
96dc279ebd Implement .NET 7 runtime support and bindings generation 2022-11-26 14:37:07 +02:00
fe943ca010 Temporary fix to build errors in VC++ projects 2022-11-26 13:55:19 +02:00
c4be764f61 Add nethost module and EngineConfiguration for .NET runtime 2022-11-26 13:50:32 +02:00
cb09fb570d Change build scripts to call build tool with dotnet 2022-11-26 13:50:32 +02:00
7e80a4fe0f Use Roslyn C#-compiler for build rules compilation 2022-11-26 13:50:31 +02:00
44d1527759 Fix CopyFiles not working on Linux 2022-11-26 13:50:31 +02:00
5e6fcc9669 Prepare Flax.Build project for .NET 7
Add .NET SDK project generator and upgrade Flax.Build project files
2022-11-26 13:50:31 +02:00