Commit Graph

140 Commits

Author SHA1 Message Date
Wojtek Figat
b3eb17f61e Add Platform.Users to handle users per-platform 2021-11-07 20:46:56 +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
0b3d6b03ac Add helper docs 2021-10-23 16:43:14 +02:00
Wojtek Figat
25be2902ac Fixes 2021-10-17 16:01:57 +02:00
Wojtek Figat
48a867ef16 Add PS5 platform defines and types 2021-10-08 16:25:16 +02:00
Wojtek Figat
53022ff013 Fix code quality issues detected by PVS-Studio 2021-09-21 18:23:31 +02:00
Wojtek Figat
151f551bc9 Merge branch 'fixing-strigview-gettext-uses' of git://github.com/Zbyl/FlaxEngine into Zbyl-fixing-strigview-gettext-uses 2021-08-13 13:57:02 +02:00
Wojtek Figat
2e18db7bb8 Reenable memory allocations profiling in Editor with Tracy 2021-08-13 13:44:48 +02:00
Zbigniew Skowron
aecc81f5e5 Fixed many invalid uses of StringView::GetText(), where a null-terminated string was required.
Renamed GetText() to GetNonTerminatedText() to reduce chance of same bugs appearing in the future.
2021-08-09 00:29:19 +02:00
Wojtek Figat
1e6d4026da Change WindowBase to allow for better code sharing for platforms without advanced windowing 2021-07-22 17:02:27 +02:00
Wojtek Figat
4765e1af12 Add support for allocator type in Dictionary 2021-07-08 00:34:50 +02:00
Wojtek Figat
ec40a9ba75 Add more profiler events 2021-07-07 13:46:33 +02:00
Wojtek Figat
9f9d946d69 Fixes 2021-07-06 15:33:28 +02:00
Wojtek Figat
a84afc207e Disable tracy mem allocs recording in Editor due to too big impact on profiler buffers usage 2021-07-05 14:59:27 +02:00
stefnotch
0f505f56ad Improve privacy
We don't need the computer name or user name in the log files by default
2021-06-20 19:07:39 +02:00
Wojtek Figat
4cd31ce2b4 Remove some unsued lines 2021-06-12 23:20:04 +02:00
Wojtek Figat
3c72abad37 Refactor FileSystemWatcher interface to make it simpler 2021-05-30 14:12:17 +02:00
Wojtek Figat
9a617c630b Fix api error 2021-05-16 18:54:40 +02:00
Wojtek Figat
5e401b6a78 Refactor Network api, add more dcos, expose it to scripting 2021-05-16 14:28:54 +02:00
Wojtek Figat
543d1a3c0e Add Tracy profiler support 2021-05-02 11:27:10 +02:00
Wojtek Figat
09671823e4 Optimize String usage with StringView for basic file paths operations 2021-05-02 11:25:42 +02:00
Wojtek Figat
0e75dba142 Optimize C++ compilation time 2021-04-30 16:27:57 +02:00
Wojtek Figat
766a79af12 Remove unused include 2021-04-27 14:29:01 +02:00
Wojtek Figat
ace8295ab7 Merge remote-tracking branch 'origin/master' into localization
# Conflicts:
#	Source/Platforms/DotNet/Newtonsoft.Json.dll
#	Source/Platforms/DotNet/Newtonsoft.Json.pdb
#	Source/Platforms/UWP/Binaries/Newtonsoft.Json.dll
#	Source/Platforms/XboxOne/Binaries/Newtonsoft.Json.dll
2021-04-22 16:10:36 +02:00
Wojtek Figat
a7a6dc7671 Add path utils to support StringView 2021-04-21 23:47:27 +02:00
Wojtek Figat
b27c832cb7 Add error log when trying to load bytes from file data that is too big 2021-03-29 13:49:49 +02:00
Wojtek Figat
40c537d114 Merge branch 'master' into 1.2
# Conflicts:
#	Source/Engine/Platform/Network.h
2021-03-22 11:26:36 +01:00
Wojtek Figat
1567f8723d Fix typo 2021-03-16 22:31:51 +01:00
Wojtek Figat
bb6bbe9793 Tweaks for network impl on Win32 2021-03-16 22:15:46 +01:00
Wojtek Figat
c7c339957b Merge remote-tracking branch 'origin/1.1' into 1.2
# Conflicts:
#	Source/Editor/Editor.Build.cs
2021-03-15 09:38:58 +01:00
Wojtek Figat
e09f4eb6dc Switch impl progress 2021-03-09 19:18:40 +01:00
Wojtek Figat
f82117c6fb Remove unused WindowsManager::CalcCenteredWinPos 2021-03-09 14:32:53 +01:00
Wojtek Figat
48ae338fb2 Move default AllocatePages/FreePages impl from Unix to PlatformBase 2021-03-09 14:32:24 +01:00
Wojtek Figat
cc201e198d Add Switch platform 2021-03-09 14:26:30 +01:00
Wojtek Figat
81f3a65a5f Merge branch 'fix-per-window-dpi' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-per-window-dpi
# Conflicts:
#	Source/Editor/Utilities/Utils.cs
#	Source/Editor/Windows/Assets/MaterialWindow.cs
#	Source/Editor/Windows/Assets/ParticleEmitterWindow.cs
#	Source/Engine/Platform/Linux/LinuxWindow.cpp
#	Source/Engine/Platform/Windows/WindowsWindow.cpp
2021-03-08 20:50:31 +01:00
Wojtek Figat
85c29c3d2b Merge branch 'network' of git://github.com/jb-perrier/FlaxEngine into 1.1
# Conflicts:
#	Source/Engine/Platform/Win32/Win32Network.cpp
2021-03-08 09:30:25 +01:00
Wojtek Figat
77b21de534 Fix UTF-8 and UTF-16 encoding support usage in Json resources
Closes #310
Closes #27
2021-03-07 21:30:01 +01:00
Wojtek Figat
400cc97100 Add StringUtils::ConvertUTF162UTF8 2021-03-07 21:05:19 +01:00
Wojtek Figat
2b42e9256c Cleanup and optimize StringUtils::ConvertUTF82UTF16 2021-03-07 18:09:26 +01:00
Wojtek Figat
21d96c6baf Fix loading game assets in cooked build via path relative to the project folder 2021-03-01 13:00:07 +01:00
Wojtek Figat
957b92eac7 Fix windows cleanup to prevent unmapped leftovers on Linux X11 2021-02-28 16:11:59 +01:00
Wojtek Figat
a45b71617d Add separate Platform::GetStackTrace and Platform::GetStackFrames 2021-02-26 13:58:02 +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
stefnotch
0a9e9e6695 Address review comments 2021-02-21 20:50:21 +01:00
Damian Korczowski
1b234fd32b Update AllocatePages comment to point to the correct page size API 2021-02-21 14:45:31 +01:00
Damian Korczowski
15028c60ba Remove GetDefaultPageSize
Duplicate. We already have the API for this: `Platform::GetCPUInfo().PageSize`.
2021-02-21 14:44:16 +01:00
Jean-Baptiste Perrier
78c5644de0 Tweak default value. 2021-02-20 15:28:46 +01:00
Damian Korczowski
161e9bd373 Add page allocation utility functions 2021-02-19 21:47:17 +01:00
Jean-Baptiste Perrier
81bb322fd2 Refactor NetworkSocketOption to support user defined size. 2021-02-18 22:41:05 +01:00
Jean-Baptiste Perrier
d1f30a973d Add RemoveSocketFromGroup. 2021-02-18 19:40:45 +01:00