Commit Graph

481 Commits

Author SHA1 Message Date
Wojtek Figat
15377acc25 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-28 12:01:34 +02:00
bcccb71373 Show full exception message in error message box for managed exceptions 2023-09-28 00:25:26 +03:00
Wojtek Figat
1c20398d8c Merge remote-tracking branch 'origin/master' into 1.7 2023-09-22 22:43:29 +02:00
Wojtek Figat
79aba00ab4 Merge branch 'macos-bugs-two' of https://github.com/wackoisgod/FlaxEngine into wackoisgod-macos-bugs-two 2023-09-22 13:01:21 +02:00
Andrew Spiering
d4c71b5fd9 Launching Rider on macOS
* Fixing issues where when the editor would try and launch rider on an M1/2 machine it would not properly open because it was the wrong architecture which is now resolved because open will do the right thing
* Making the ParseArgs function a little more resilient against escaped arguments
2023-09-20 23:16:38 -07:00
fea296bcbb Fix white window flickering in context menus 2023-09-20 22:00:16 +03:00
Wojtek Figat
9f97787099 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-20 16:02:48 +02:00
Wojtek Figat
1740cbf2eb Improve process starting on mac 2023-09-20 09:21:56 +02:00
Wojtek Figat
e3cf9c05e4 Fix logging macOS process to remove redundant newlines 2023-09-20 09:06:54 +02: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
Wojtek Figat
b6971e1788 Merge branch 'fix/launch_editor_second_time_on_linux' of https://github.com/eLeSTRaGo-Dev/FlaxEngine into eLeSTRaGo-Dev-fix/launch_editor_second_time_on_linux 2023-09-19 21:53:31 +02:00
Denys
4c5168a976 Use xdg-open to open file manager in Linux
`nautilus` is GNOME file manager. Other distros might use another FM.

As a common ground we can use `xdg-open` which is a part of `freedesktop.org` and should be available almost everywhere.
2023-09-19 16:50:17 +02:00
Andrew Spiering
76945b9144 MacOS Rider Support
* Adding in code to properly look for rider on macOS
* Also fixing an issue in the macOS CreateProcess where spaces where not properly escaped for popen(which one should likely use NSTask long term)
2023-09-17 14:56:22 -07:00
elestrago
2efc31a74e Execute map window before resize in LinuxWindow 2023-09-15 02:13:13 +02:00
Wiktor Kocielski
5ceafaad77 WindowBase::Resized delegate 2023-09-06 05:47:51 +03:00
Wojtek Figat
bd750d2634 Fix incoming drag drop location on macOS 2023-08-27 22:41:57 +02:00
Wojtek Figat
87e19ef4bc Fix crash on terrain export in Editor
#1330
2023-08-27 16:19:25 +02:00
Wojtek Figat
50c85aec6d Minor improvements to #1315 and add getter of current window style 2023-08-21 23:33:33 +02:00
Wojtek Figat
b4adb7f3e1 Merge branch 'set-window-mode' of https://github.com/Tryibion/FlaxEngine into Tryibion-set-window-mode 2023-08-21 22:42:13 +02:00
Wojtek Figat
122524bd19 Fix linux build 2023-08-18 09:12:10 +02:00
Wojtek Figat
925b5abb78 Fix crash on Linux when using unmapped keyboard Keyboard
#1321
2023-08-17 21:47:02 +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
db56284ca4 Fix WindowsPlatform::LoadLibrary to not modify the string parameter 2023-08-01 20:19:10 +03:00
Wojtek Figat
011162744c Fix various keyboard handling on macOS 2023-07-16 12:04:22 +02:00
Wojtek Figat
6853aa6e81 Add control/command/option keys handling on macOS 2023-07-16 12:04:18 +02:00
Wojtek Figat
6fc168bdf1 Add macOS message box with buttons 2023-07-16 12:04:12 +02:00
Wojtek Figat
6d48fce763 Fix mouse cursor setting on macOS to properly handle screen scale 2023-07-16 12:04:06 +02:00
Wojtek Figat
615ec636d4 Fix crash when window gets deleted before show/close sequence 2023-07-04 10:42:49 +02:00
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
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
d5cb34f1b4 Minor fix for settings 2023-06-12 14:44:12 +02:00
Wojtek Figat
26f4574358 Various improvements for iOS 2023-06-11 14:56:46 +02:00
Wojtek Figat
2df931e090 Improve tooltip 2023-06-11 00:45:46 +02:00
Wojtek Figat
8cf10bf71d Add app pausing and focus management to iOS 2023-06-10 23:26:40 +02:00
Wojtek Figat
621d408078 Add iOS app exporting 2023-06-10 23:05:52 +02:00
Wojtek Figat
5e07a42417 Add app version and ui orientation settings to iOS 2023-06-10 12:43:10 +02:00
Wojtek Figat
ea4f97aad8 Remove unused codesigning (ios uses xcode now) 2023-06-10 12:08:22 +02:00
Wojtek Figat
092df84170 Add touch input to ios 2023-06-10 11:54:17 +02:00
Wojtek Figat
22288b0561 Add dpi for ios 2023-06-10 10:47:15 +02:00
Wojtek Figat
43c1e40461 Add iOS platform info for device network, screen and battery status 2023-06-10 10:31:39 +02:00
Wojtek Figat
3953e6ddc0 Merge commit 'f2ecefb7ee9b9e6c5daac9f44fe40ebdccbb1c76' into 1.6 2023-06-01 01:06:14 +02:00
Wojtek Figat
40f5032898 Add iOS view linkage for Metal rendering and invoke window resizing properly on a main thread 2023-06-01 01:05:06 +02:00
Wojtek Figat
a2e2ef51be Various twekas 2023-06-01 00:47:05 +02:00
Wojtek Figat
c46f78885e Refactor iOS deployment to use XCode project 2023-06-01 00:46:39 +02:00
Wojtek Figat
5416d385d3 iOS runtime impl progress 2023-05-30 22:03:17 +02: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