Commit Graph

36 Commits

Author SHA1 Message Date
a3d44e0fee Prevent project file regeneration running while compiling scripts 2023-10-14 17:29:03 +03:00
Andrew Spiering
f40657ea04 macOS support fixes
* Adding macOS FileSystemWatcher, this should allow files to be monitored and update like the other OSs
* Reworked how macOS launches processes to use NSTask which just deals with escaped and unescaped paths better
* Made a change to the ScriptsBuilder::RunBuildTool, this was adding the escaped values to the path, in reality it should be up to the underlying OS to make sure things are properly escaped, so removed those as they just end up causing issues. Also instead of appending the args to the fileName we just properly use the Arguments variable on the CreateProcessSettings
* No longer use open in order to show files in the finder, we use the proper method selectFile
* made a slight cleanup change to the MacPlatform Tick function
* Added ToNSString functions just to make that easier
* Added a ParseArguments function that will take a string and turn it into an array for NSTask
2023-09-19 20:58:12 -07:00
0ee6aad3ec Remove old hot-reload files in project references 2023-06-30 13:01:02 +03:00
Wojtek Figat
338e3bbd42 Updates for arm64 usage 2023-04-12 14:00:03 +02:00
Wojtek Figat
a9b706becf Reset AOT Assemblies game cooker cache when Flax.Build gets modified 2023-04-05 19:17: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
7d4bf8356e Update to the latest Platform::CreateProcess 2023-03-22 14:18:52 +01:00
Wojtek Figat
64752781ed Add arm64 support for macOS 2023-02-21 18:15:22 +01:00
Wojtek Figat
30fa911832 Merge remote-tracking branch 'origin/master' into dotnet7
# Conflicts:
#	README.md
2023-02-16 09:54:22 +01:00
Wojtek Figat
19c24e2a4d Fix missing game scripts types when starting editor from IDE with -skipCompile arg 2023-02-13 17:14:53 +01:00
Wojtek Figat
173f4e8092 Fix building scripts on Linux from Editor 2023-01-25 20:11:11 +01:00
Wojciech Figat
405ae519dd Refactor generated bindings P/Invoke to support name mangling for symbols 2023-01-23 18:41:12 +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
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
15af6502a0 Log error whenever build tool fails to run 2022-12-21 00:40:38 +02:00
96dc279ebd Implement .NET 7 runtime support and bindings generation 2022-11-26 14:37:07 +02:00
Wojtek Figat
56491569df Optimize C# bindings in Engine code to static functions that native ABI matches managed signature 2022-02-19 00:29:09 +01:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
ca62cd2661 Mac impl progress 2022-01-03 13:59:52 +01:00
Wojtek Figat
9b991bcfdf Add Editor for Mac impl progress 2021-12-31 17:12:55 +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
a72ac91ebc Fix support for codeless game projects 2021-10-05 15:54:55 +02:00
Zbigniew Skowron
b5f7c96c80 Removed unnecessary NULL terminator in RunBuildTool() to fix #402: "Copying new log after clearing partially fails" 2021-08-15 22:12:46 +02:00
Wojtek Figat
d1b7b2d26d Optimize flushing active transform of physically simulated actors 2021-07-07 16:45:35 +02:00
Wojtek Figat
99012725dc Adjust includes 2021-06-17 14:15:19 +02:00
Wojtek Figat
0e75dba142 Optimize C++ compilation time 2021-04-30 16:27:57 +02:00
Wojtek Figat
d85a020971 Fix picking game binaries target when EditorTarget is not SetupTargetEnvironment
#398
2021-03-28 23:25:52 +02:00
Wojtek Figat
b193a7abc4 Add support for binary modules with native-code only 2021-02-25 13:01:15 +01:00
Wojtek Figat
5a9ca6f130 Merge remote-tracking branch 'origin/1.1' into linux-editor
# Conflicts:
#	Source/Engine/Core/Math/BoundingSphere.cs
#	Source/Engine/Debug/DebugDraw.cpp
#	Source/Engine/Platform/Win32/Win32Platform.cpp
#	Source/Engine/Platform/Win32/Win32Platform.h
2021-02-23 22:32:17 +01:00
Wojtek Figat
c25abfda65 Remove ProjectInfo.h include from Editor.h 2021-02-19 09:36:23 +01:00
Wojtek Figat
fc4dc8cb50 Merge remote-tracking branch 'origin/1.1' into linux-editor
# Conflicts:
#	Source/FlaxEngine.Gen.cs
#	Source/Tools/Flax.Build/Utilities/Utilities.cs
2021-02-16 18:54:25 +01:00
mafiesto4
c68e3af566 Use bundled mono on Linux for C# compilation 2021-02-14 23:04:42 +01:00
mafiesto4
837174582b Fixes for Editor on Linux 2021-01-17 21:48:15 +01:00
W2.Wizard
8fd0af3f39 Fixed Typos and padding 2021-01-17 10:18:30 +01: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