Commit Graph

28 Commits

Author SHA1 Message Date
Wojtek Figat
8bd6649510 Refactor managed array unboxing to handle case of C# array passes as object
#1415
2023-09-20 14:17:11 +02:00
Wojtek Figat
48d4a51c1b Fix crash when boxing native array to managed value 2023-09-11 15:06:26 +02:00
Wojtek Figat
ac67813198 Optimize code to alloc memory manually in #1088 2023-05-10 09:31:54 +02:00
cae07f3623 Optimize marshalling managed arrays of object references 2023-05-08 23:28:49 +03: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
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
Wojciech Figat
eebc4951de Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit-agent.exe
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/agents/net7.0/nunit.agent.addins
#	Source/Platforms/DotNet/NUnit/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.dll
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe.config
#	Source/Platforms/DotNet/NUnit/testcentric.engine.metadata.dll
#	Source/Tools/Flax.Build/Deps/Downloader.cs
#	Source/Tools/Flax.Stats/CodeFrame.cs
#	Source/Tools/Flax.Stats/CodeFrameNode.cs
#	Source/Tools/Flax.Stats/Flax.Stats.Build.cs
#	Source/Tools/Flax.Stats/Languages.cs
#	Source/Tools/Flax.Stats/Program.cs
#	Source/Tools/Flax.Stats/TaskType.cs
#	Source/Tools/Flax.Stats/Tools.cs
#	Source/Tools/FlaxEngine.Tests/TestEditorUtils.cs
2023-01-10 15:49:44 +01:00
Wojciech Figat
a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
63d3c9b1e0 Fix build on Linux 2023-01-04 19:00:06 +01:00
d3e02e23e5 Cleanup 2022-12-27 19:40:50 +02:00
Wojciech Figat
94c5211ee6 Rename gchandle to MGCHandle 2022-12-22 13:02:00 +01:00
96dc279ebd Implement .NET 7 runtime support and bindings generation 2022-11-26 14:37:07 +02:00
Wojciech Figat
c0f596a00e Add ScriptingObjectReference for Read/WriteStream and scripting interop as an array 2022-11-16 17:31:26 +01:00
Wojciech Figat
0dec70847f Add support for StringAnsi in scripting api 2022-10-26 15:00:39 +02:00
Wojciech Figat
5c24f8c365 Add ScriptingTypeHandle support for scripting bindings as System.Type 2022-10-13 13:35:15 +02:00
Wojtek Figat
bdb69d57dd Refactor Plugins system to support plugins in C++ scripts 2022-07-28 21:05:03 +02:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
192af7ec14 Refactor native core objects to simplify usage for newcomers 2022-01-08 15:06:23 +01:00
Wojtek Figat
8938f13a0b Add support for compiling and running engine without C# scripting
(configurable via `EngineConfiguration.UseCSharp` in Flax.Build)
2021-10-23 16:43:15 +02:00
Wojtek Figat
a928032f44 Remove unneeded comments 2021-07-09 11:04:40 +02:00
Wojtek Figat
f052d788fe Update fmt to version 6.2.1 (9 May 2020) 2021-07-08 17:46:23 +02:00
Wojtek Figat
0e75dba142 Optimize C++ compilation time 2021-04-30 16:27:57 +02:00
Wojtek Figat
e4d3989b71 Add support for nesting Array inside Dictionary in scripting API 2021-04-16 10:12:40 +02:00
Jean-Baptiste Perrier
03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
Wojtek Figat
6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00