Commit Graph

98 Commits

Author SHA1 Message Date
Wojtek Figat
9f7ae5bb58 Fix warning 2023-07-03 22:13:13 +02:00
Wojtek Figat
9d640656e6 Fix StringUtils::ConvertANSI2UTF16 to properly handle multi-byte characters Length
#1225
2023-07-03 12:10:06 +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
3bbc7faf11 Refactor platform process startup with CreateProcessSettings 2023-03-22 14:09:20 +01:00
68e04ca7e4 Add FLAXENGINE_API to platform specific classes 2023-02-26 17:29:51 +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
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
20075e0fbd Fixes for compilation on Windows for x86 2022-03-02 21:06:21 +01:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
fab7bd48c5 Optimize atomic and interlocked memory operations on Win32Platform (Windows and Xbox) by inlining 2021-08-30 20:31:40 +02:00
honzapatCZ
c17d86a134 removal of old XboxOneStuff 2021-07-21 15:10:39 +02:00
Wojtek Figat
43e5805e50 Tweaks 2021-07-06 11:13:43 +02:00
Wojtek Figat
404891fe01 Fix building for Xbox Scarlett 2021-07-02 10:53:38 +02:00
GoaLitiuM
cc60814334 Increase accuracy of Windows Sleep function
Windows 10 version 1803 (build 17134) and later versions support
high-resolution waitable timer, which offers much better accuracy over
Sleep function without the need of increasing the global timer
resolution. For older versions of Windows, we reduce the timer
resolution to 1ms and use normal waitable timer for sleeping.
2021-05-30 01:48:15 +03: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
8f1f88b3ba Fix running Flax on Windows with STD console output 2021-05-14 21:44:13 +02:00
Wojtek Figat
a8f0035b8b Fix regression in win32 filesystem api using potential substring of StringView
#516 #510
2021-05-12 10:19:31 +02:00
Wojtek Figat
543d1a3c0e Add Tracy profiler support 2021-05-02 11:27:10 +02:00
Wojtek Figat
0e75dba142 Optimize C++ compilation time 2021-04-30 16:27:57 +02:00
Vizepi
6e885ece34 [CLEAN] Added missing includes in headers 2021-04-23 13:59:02 +02:00
Wojtek Figat
b2729e35c2 Fixes for UWP build 2021-04-17 19:36:38 +02:00
Wojtek Figat
0754434295 Fix UWP build 2021-03-27 19:27:22 +01:00
Wojtek Figat
b9ca496aff Fix compilation 2021-03-16 22:32:02 +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
5de2998774 Format code 2021-03-08 09:30:52 +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
8b4a001641 Move Win32 GetBatteryInfo into Windows and UWP platforms impl 2021-02-26 15:42:46 +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
cf3ac7a26e Merge remote-tracking branch 'origin/master' into linux-editor
# Conflicts:
#	Source/Engine/Core/Math/Color.cs
#	Source/Engine/Navigation/Navigation.cpp
#	Source/Engine/Platform/Win32/Win32Platform.cpp
2021-02-23 22:29:07 +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
Wojtek Figat
05d5fd4fec Optimize compilation time for Win32 platforms 2021-02-20 19:45:58 +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
cc0fe5bc28 Use Platform::Allocate/Free. + tweaks. 2021-02-18 23:04:45 +01:00
Jean-Baptiste Perrier
bdfdb422fa Fix. 2021-02-18 22:41:43 +01:00
Jean-Baptiste Perrier
81bb322fd2 Refactor NetworkSocketOption to support user defined size. 2021-02-18 22:41:05 +01:00
Jean-Baptiste Perrier
7b0717094b Fix. 2021-02-18 22:39:41 +01:00
Jean-Baptiste Perrier
431c21caa8 Refactor ClearGroup. 2021-02-18 19:45:16 +01:00
Jean-Baptiste Perrier
d1f30a973d Add RemoveSocketFromGroup. 2021-02-18 19:40:45 +01:00
Jean-Baptiste Perrier
0be22bf4b6 Tweaks. 2021-02-18 18:07:24 +01:00
Jean-Baptiste Perrier
4ec2381716 Add GetSocketFromGroup. 2021-02-18 18:07:12 +01:00
Jean-Baptiste Perrier
4408e3bb3b Add socket option TYPE. 2021-02-18 18:06:36 +01:00
Jean-Baptiste Perrier
af0fb6c6fa Add NetworkAddress. 2021-02-18 18:05:45 +01:00
Jean-Baptiste Perrier
bc6281ee63 Add MTU option. 2021-02-15 20:53:07 +01:00
Jean-Baptiste Perrier
134aec2d15 Simplified name NetworkProtocol. 2021-02-15 20:52:35 +01:00
Wojtek Figat
cd2ae08da0 Fixes and tweaks to the networking impl 2021-01-27 10:37:15 +01:00