Commit Graph

156 Commits

Author SHA1 Message Date
Wojtek Figat
d42e315e55 Fix atomics to accept constant 2024-04-13 19:20:49 +02:00
Wojtek Figat
d719c381ea Merge remote-tracking branch 'origin/master' into 1.8 2024-03-11 23:49:33 +01:00
Wojtek Figat
04761c69f1 Fix error loggig in headless mode on char16 platforms
#2235
2024-03-04 14:43:48 +01:00
Wojtek Figat
14902dc29e Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-02-26 19:49:39 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
10180de9c6 Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Source/Editor/Utilities/EditorUtilities.cpp
#	Source/Editor/Utilities/EditorUtilities.h
2024-02-19 22:26:16 +01:00
Wojtek Figat
668b03a409 Use #2234 for all platforms by default 2024-02-19 20:40:30 +01:00
Wojtek Figat
082768d08c Refactor ThreadLocal when running on hardware with more cores than PLATFORM_THREADS_LIMIT 2024-02-07 23:39:02 +01:00
Wojtek Figat
8e3123a129 Add better stack trace reporting in crashes when running on non-Windows platforms 2024-01-18 16:06:34 +01:00
Wojtek Figat
b4186052df Add printing stack trace even when not using log file 2024-01-18 16:04:22 +01:00
Wojtek Figat
5b3e7f0bf8 Fix FileSystem::CopyDirectory not failing when source folder is missing 2024-01-12 13:44:01 +01:00
Wojtek Figat
4e190c2e3c Add decoding stack trace function names on Apple platforms 2023-11-19 18:04:24 +01:00
Wojtek Figat
ae85a94261 Fix memory leak while doing drag&drop with Debug Draw in use
#1723
2023-11-06 17:18:20 +01:00
Wojtek Figat
e7b1fce3eb Merge DoDragDropJob to hsare the same code for Mac and Windows
#1723
2023-11-06 17:03:03 +01:00
Wojtek Figat
c88e184df3 Fix crash when window gets removed during windows update loop 2023-10-22 15:56:25 +02:00
Wojtek Figat
7180080f19 Refactor FileMode, FileAccess, FileShare enums into normal enums with docs 2023-10-13 15:44:47 +02:00
Wiktor Kocielski
5ceafaad77 WindowBase::Resized delegate 2023-09-06 05:47:51 +03:00
Wojtek Figat
50c85aec6d Minor improvements to #1315 and add getter of current window style 2023-08-21 23:33:33 +02:00
Chandler Cox
cfd11a7e77 Add borderless window on Windows platform and add easy function in Screen class to change window mode. 2023-08-14 18:11:05 -05:00
Wojtek Figat
615ec636d4 Fix crash when window gets deleted before show/close sequence 2023-07-04 10:42:49 +02:00
Wojtek Figat
9b570a46d2 Codestyle tweak 2023-06-23 21:28:16 +02:00
74760a7661 Add support for writing UTF-8 files in FileBase::WriteAllText 2023-06-21 13:17:46 +03:00
Wojtek Figat
f2ecefb7ee Refactor StringUtils 2023-05-28 21:16:29 +02:00
Wojtek Figat
587578ccfb Update platforms impl 2023-05-28 16:45:08 +02:00
Wojtek Figat
81ae687238 Merge remote-tracking branch 'origin/master' into 1.6 2023-05-28 16:34:38 +02:00
Wojtek Figat
9cdd1cbc45 Add Platform::GetMousePosition/WindowsPlatform::SetMousePosition for unified access to screen-space mouse position on all platforms
#1109
2023-05-28 15:30:16 +02:00
Wojtek Figat
ecc6f83130 Use Utilities::HertzToText from #1120 to log cpu clock speed 2023-05-28 12:03:22 +02:00
Wojtek Figat
7b8c013918 Various minor cleanups 2023-05-19 13:53:18 +02:00
Wojtek Figat
69cdb1268a Merge remote-tracking branch 'origin/master' into 1.6 2023-05-08 12:58:42 +02:00
Wojtek Figat
1c12e3d530 Fix bug in StringUtils::PathRemoveRelativeParts when going up to the Windows drive with relative path bits 2023-05-04 11:54:55 +02:00
Wojtek Figat
364676ceae Fix compile warning in 32-bit build 2023-04-18 18:19:34 +02:00
Wojtek Figat
bb84a51478 Add FileSystem::GetDirectorySize 2023-04-03 18:22:57 +02:00
Wojtek Figat
aeb0bf700f Fix old Platform proces api usage 2023-03-30 18:07:47 +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
3bbc7faf11 Refactor platform process startup with CreateProcessSettings 2023-03-22 14:09:20 +01:00
Wojtek Figat
0ba261d338 Add iOS platform (refactor Mac into shared Apple platform impl) 2023-03-15 20:58:23 +01:00
Wojtek Figat
60f21d1a92 Update old copyright headers 2023-03-03 17:14:35 +01:00
5b23a4b318 Update tracy to v0.9 2023-02-18 22:35:26 +02:00
Wojtek Figat
4b08cd3fd7 Fix compilation warning 2023-02-16 20:08:53 +01:00
Wojtek Figat
4fb336bc9e Add thread object usage docs #917 2023-02-15 15:39:01 +01:00
Wojtek Figat
ab3e4afb53 Merge branch 'fix_thread_join' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_thread_join 2023-02-15 15:33:44 +01:00
0ac5db45d1 Improve Linux file dialog support
Adds support for multi selection, filtering and initial folder for both zenity and kdialog. kdialog is also preferred over zenity when KDE is detected.
2023-02-03 22:27:27 +02:00
b0bc1fa310 Fix error when joining exited threads
The internal thread handles were cleared prematurely when attempting to join them. The handles should be also cleared when trying to kill already exited threads.
2023-01-29 21:30:01 +02: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
19f1c4251c Fix scripting api bindings for types with changed scripting name (other than native type name) 2022-10-26 15:00:29 +02:00
Cristhofer Marques
84009baeb0 change vars name and add code doc 2022-10-13 09:10:35 -03:00
Cristhofer Marques
7656c6981e added is flipping variables 2022-10-13 01:09:31 -03:00
Wojciech Figat
a3a44f0cef Add StringUtils tests and Paths test and fix detected problem with rooted path starting with ./ 2022-08-19 11:54:09 +02:00