Commit Graph

496 Commits

Author SHA1 Message Date
Wojtek Figat
dad3e1f77d Revert f1d57e47cb in favor of #1670 2023-10-11 17:17:46 +02:00
MineBill
1986f2b58b Only set WS_CAPTION if the window is a regular window 2023-10-11 17:06:16 +03:00
Wojtek Figat
d6d18e93e0 Merge branch 'fix-linux-open-files-dialog' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-fix-linux-open-files-dialog 2023-10-09 22:22:25 +02:00
nothingTVatYT
2ff4a69f53 fix reading of pipe buffer from external filechooser 2023-10-09 17:25:28 +02:00
Wojtek Figat
09f2be907e Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Flax.flaxproj
2023-10-09 12:40:47 +02:00
Wojtek Figat
6c0011bef5 Merge branch 'fix-linux-systeminfo' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-fix-linux-systeminfo 2023-10-09 10:44:08 +02:00
nothingTVatYT
5b866b643b fix GetDesktopSize for Linux 2023-10-08 22:05:53 +02:00
minebill
03642632f5 Use a maximum distance between clicks, when detecting a double click 2023-10-08 22:05:02 +03:00
minebill
e903348d71 Fix incorrect mapping of Alt key on linux 2023-10-07 22:28:39 +03:00
Wojtek Figat
e6c45fccb3 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Engine/Level/Actors/AnimatedModel.cpp
2023-10-05 10:44:03 +02:00
nothingTVatYT
bc872ebff5 fix menu misalignment problem on Linux 2023-10-05 00:06:51 +02:00
Wojtek Figat
f1d57e47cb Fix regression in some context menus on Windows due to recent changes to windows showing after first paint 2023-10-04 17:34:14 +02:00
Chandler Cox
b5d927baa5 Force windows window to be correct size when restoring window on maximize from minimize. 2023-10-03 16:22:43 -05:00
Wojtek Figat
b9198fc7a1 Merge remote-tracking branch 'origin/master' 2023-10-02 12:54:41 +02:00
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
dc324b4ec6 Fix crash when max files open limit is too small on macOS/iOS 2023-09-23 14:47:16 +02: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