Commit Graph

518 Commits

Author SHA1 Message Date
mafiesto4 2dd16c1fb0 Merge branch 'honor-xdg_data_home' of https://github.com/MineBill/FlaxEngine into MineBill-honor-xdg_data_home 2023-11-05 20:51:31 +01:00
mafiesto4 c23f8f2b30 Fix loading delay-loaded-dll on Windows when using project plugin with native dependencies
#1873
2023-11-05 19:35:33 +01:00
MineBill 267e8daba5 Honor the XDG_DATA_HOME env var and use the approved default as per specification. 2023-11-05 19:36:01 +02:00
mafiesto4 0387f7df8a Add name to Android main thread 2023-11-04 22:21:52 +01:00
mafiesto4 0ab43dd301 Merge branch 'add-extended-buttons-linux' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-add-extended-buttons-linux 2023-11-04 19:19:29 +01:00
mafiesto4 fe3f64f06a Fix iOS build 2023-11-04 19:15:37 +01:00
mafiesto4 50bcbf980e Add SetThreadAffinityMask and SetThreadPriority and thread name for Apple platforms 2023-11-04 14:08:53 +01:00
Mr. Capybara 6cfc8c1b1a Add extended buttons support for linux 2023-10-31 14:52:09 -04:00
MineBill 6f773bd558 Make the message box a TASKMODEL to prevent interation with the editor. 2023-10-24 18:03:07 +03:00
mafiesto4 806590d1c3 Fix deadlock in scene loading
#1761 #1773
2023-10-24 14:08:34 +02:00
mafiesto4 9c4382dffb Fix using dock window panels on macOS in Editor 2023-10-23 15:59:09 +02:00
mafiesto4 f28947f59b Fix MacWindow::SetClientBounds to include screen scale 2023-10-23 14:50:10 +02:00
mafiesto4 6ff3e0f488 Various improvements to macOS platform 2023-10-22 20:06:54 +02:00
mafiesto4 ccf6c28b02 Add interval to Apple autoreleasepool 2023-10-22 19:55:20 +02:00
mafiesto4 c88e184df3 Fix crash when window gets removed during windows update loop 2023-10-22 15:56:25 +02:00
mafiesto4 1280e61af0 Add IsDebuggerPresent for macOS and iOS platforms 2023-10-22 15:33:21 +02:00
mafiesto4 9fa0b174f5 Fix deprecation warnings on Apple 2023-10-22 15:32:56 +02:00
mafiesto4 21f2e59d12 Add drag&drop support to macOS 2023-10-21 15:36:38 +02:00
mafiesto4 08a6a2b6dc Fix potential crashes on macOS due to missing window inside view event 2023-10-21 13:04:33 +02:00
GoaLitiuM dca6baee49 Use and store restored window position after minimizing the window 2023-10-14 16:44:21 +03:00
mafiesto4 c01614b8f5 Fix build regression from 7180080f19 2023-10-13 16:09:18 +02:00
mafiesto4 7180080f19 Refactor FileMode, FileAccess, FileShare enums into normal enums with docs 2023-10-13 15:44:47 +02:00
mafiesto4 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
mafiesto4 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
mafiesto4 09f2be907e Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Flax.flaxproj
2023-10-09 12:40:47 +02:00
mafiesto4 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
mafiesto4 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
mafiesto4 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
Tryibion b5d927baa5 Force windows window to be correct size when restoring window on maximize from minimize. 2023-10-03 16:22:43 -05:00
mafiesto4 b9198fc7a1 Merge remote-tracking branch 'origin/master' 2023-10-02 12:54:41 +02:00
mafiesto4 15377acc25 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-28 12:01:34 +02:00
GoaLitiuM bcccb71373 Show full exception message in error message box for managed exceptions 2023-09-28 00:25:26 +03:00
mafiesto4 dc324b4ec6 Fix crash when max files open limit is too small on macOS/iOS 2023-09-23 14:47:16 +02:00
mafiesto4 1c20398d8c Merge remote-tracking branch 'origin/master' into 1.7 2023-09-22 22:43:29 +02:00
mafiesto4 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
GoaLitiuM fea296bcbb Fix white window flickering in context menus 2023-09-20 22:00:16 +03:00
mafiesto4 9f97787099 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-20 16:02:48 +02:00
mafiesto4 1740cbf2eb Improve process starting on mac 2023-09-20 09:21:56 +02:00
mafiesto4 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
mafiesto4 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