Commit Graph

163 Commits

Author SHA1 Message Date
Wojtek Figat
cf40facefe Add engine fatal error types handling
Add general out-of-memory handling
Add safety memory buffer for crash or out of memory handling
Refactor Globals exit/error state to be in Engine class
2025-01-24 20:07:12 +01:00
Mateusz Karbowiak
db06f4f72e Fixed implicit type conversion for type specialization 2024-10-05 21:22:36 +02:00
Wojtek Figat
207c6a0cb5 Refactor platform apis comments and cleanup a bit 2024-09-24 18:29:30 +02:00
Wojtek Figat
21b4c7c916 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-16 14:52:57 +02:00
Chandler Cox
03de914dbc Add Requesting engine exit event. Expose Fatal erro and requesting exit to c# 2024-08-07 12:16:07 -05:00
e08b57e814 Support custom deprecation messages in bindings generator 2024-06-17 20:43:14 +03:00
Wojtek Figat
2492d0b38f Refactor WindowsFileSystemWatcher to properly handle file modifications 2024-06-02 00:51:11 +02:00
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