be720257ca
Fix crash when marshalling generated managed interfaces
...
Marshaller returns a permanent handle, avoid releasing it during marshalling
2023-01-16 20:12:42 +02:00
Wojciech Figat
59ba9102a6
Merge branch 'dotnet7' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet7
2023-01-12 15:15:40 +01:00
Wojciech Figat
daa92db25c
Add support for using managed method thunks on dotnet7 in all cases
2023-01-12 15:14:43 +01:00
Wojciech Figat
3df10d1d0a
Add configuration-specific C# libs references to generates csproj file
2023-01-11 16:25:47 +01:00
Wojciech Figat
b1ecb2f0eb
Fix xcopy path on Windows in Flax.Build
2023-01-11 14:27:37 +01:00
Wojciech Figat
474ce10e7e
Update test projects to properly build and run under dotnet7
2023-01-11 14:27:17 +01:00
Wojciech Figat
3c40c22049
Tweaks to tests
2023-01-11 11:06:10 +01:00
Wojciech Figat
6ef5c76e1a
Fix regression from recent scripting fixes/features on 1.5
2023-01-10 16:13:53 +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
Wojciech Figat
e7f40a4c0e
Fix unit test if running under .net 4.6.2 unit test agent
2023-01-10 14:33:51 +01:00
Wojtek Figat
ca2e2e1f41
Fix native scripting interface method override in managed scripts on Clang-platforms
2023-01-10 11:45:23 +01:00
Wojtek Figat
17f9219cd0
Add TargetCompiler to Flax.Build toolchains
2023-01-10 11:45:23 +01:00
7048281931
Hide AbstractWrappers in Editor
2023-01-09 15:20:24 +02:00
Wojtek Figat
4e4f4e700b
Updates for dev with dotnet on linux
2023-01-08 20:27:28 +01:00
Wojtek Figat
c53af39c92
Merge remote-tracking branch 'origin/1.5' into dotnet7
2023-01-08 15:05:56 +01:00
Wojtek Figat
5ec9716eac
Progress for dotnet7 support on Linux
2023-01-08 15:05:36 +01:00
Wojtek Figat
58844622a0
Simplify managed method invoke generation for AOT vs JIT platforms
2023-01-08 13:50:45 +01:00
Wojtek Figat
cfcf29a62e
Fixes for passing new unit tests with edge cases of scripting bindigns usage
2023-01-08 00:34:33 +01:00
Wojciech Figat
8896ebadda
Minor fixes for dotnet7
2023-01-06 11:31:08 +01:00
Wojtek Figat
63d3c9b1e0
Fix build on Linux
2023-01-04 19:00:06 +01:00
Wojciech Figat
0b8d4850f0
Use manual pdb file loading for debug symbols in C#
2023-01-04 09:56:58 +01:00
Wojtek Figat
4012434102
Fix test
2023-01-03 23:04:09 +01:00
Wojciech Figat
26f8e5aa9e
Use embedded debug information for C# dll to have proper stack trace information on game scripts exceptions
2023-01-03 18:38:44 +01:00
Wojciech Figat
e596d48729
Merge remote-tracking branch 'origin/1.5' into dotnet7
2023-01-03 14:34:20 +01:00
Wojciech Figat
ceacdc8d08
Fixes for dotnet7 bindings to pass unit tests
2023-01-03 14:34:16 +01:00
Wojtek Figat
b4faa128b7
Fix case when Variant wrappers overlap with the name
2023-01-02 22:04:14 +01:00
Wojciech Figat
dea307179f
Merge branch 'dotnet7' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet7
...
# Conflicts:
# Source/Engine/Engine/NativeInterop.cs
2023-01-02 11:04:36 +01:00
Wojciech Figat
e718766073
Merge branch 'dotnet7' of https://github.com/envision3d/FlaxEngine into envision3d-dotnet7
2023-01-02 10:59:39 +01:00
Wojciech Figat
d3cdca6b33
Merge remote-tracking branch 'origin/1.5' into dotnet7
2023-01-02 10:37:04 +01:00
Wojciech Figat
9acb597d5d
Adjust scripting types visibility in editor
2023-01-02 10:36:24 +01:00
Wojciech Figat
00d960d61e
Refactor abstract classes handling for scripting types creation (eg. Script or GPUResource) under dotnet7
2023-01-02 10:35:39 +01:00
Wojtek Figat
081305fab7
Fix regression from 0ca8fe2f45 for value types
2022-12-31 13:23:36 +01:00
Wojtek Figat
0ca8fe2f45
Fix passing reference types back to the native code from scripting event
2022-12-31 00:22:04 +01:00
8b80f73641
Implement ManagedHandle replacement for GCHandles
...
Allows for more controlled management of weak handles, increasing their lifetime for slightly longer than with GCHandles.
2022-12-30 22:14:48 +02:00
Wojciech Figat
af7b53814d
Merge remote-tracking branch 'origin/1.5' into dotnet7
...
# Conflicts:
# Content/Shaders/GI/DDGI.flax
# Content/Shaders/TAA.flax
2022-12-30 09:24:10 +01:00
64809f553b
Skip cached rules assembly after changing project references
2022-12-30 01:34:52 +02:00
Wojtek Figat
e2e66e0eec
Fix crash when unboxing integer value type from managed callback via generated bindings
2022-12-30 00:08:32 +01:00
envision3d
78a2f2e8f0
Remove UWP platform from deployer script to fix platform packaging
2022-12-29 16:40:10 -06:00
Wojtek Figat
418aeb281c
Add warning to UWP build tool
2022-12-29 23:03:37 +01:00
Wojtek Figat
4b79bcb8d2
Add VS2022 support for building for UWP platform
2022-12-29 23:02:54 +01:00
Wojciech Figat
da08b18ec5
Fix VisualStudioInstance.GetInstances() to be sorted from newest to oldest
...
(cherry picked from commit 6eaecc8793 )
2022-12-29 22:23:37 +01:00
Wojciech Figat
28da925c52
Fix DisableRuntimeMarshalling attribute usage to be declared once per C# assembly
2022-12-29 14:11:22 +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
16e7c429fc
Minor code cleanup #873
2022-12-28 17:25:30 +01:00
Wojtek Figat
7fcd66588c
Merge branch 'includes_cache_lastwrite' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-includes_cache_lastwrite
2022-12-28 17:18:23 +01:00
Wojtek Figat
3a393b6825
Fix crash on Clang-platforms when calling base method from overriden scripting method (C# or Visual Script)
2022-12-28 16:56:52 +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
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