Commit Graph

636 Commits

Author SHA1 Message Date
bb9d6d0d02 Merge pull request #107113 from mihe/macos-open-in-program
Add `OS::open_with_program` for opening files/directories with a specific program on macOS
2025-06-05 13:13:49 +02:00
f610c81943 Add OS::open_with_program for opening files/directories with a specific program on macOS
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2025-06-05 10:12:01 +02:00
98f377d9d0 Use system timer/wait functions for frame delay when screen reader is active. 2025-06-04 13:44:02 +03:00
bdc8ef3325 Merge pull request #81266 from bruvzg/mac_shell_env
[macOS] Add support for loading shell environment from UI apps.
2025-06-03 15:30:27 -05:00
57bf364f36 Merge pull request #107058 from mihe/script-backtrace-deadlock
Fix various race conditions with capturing of script backtraces
2025-06-03 15:30:16 -05:00
ee181951b6 [macOS] Add support for loading shell environment from UI apps. 2025-06-03 18:27:29 +03:00
12b97c250d Merge pull request #104907 from bruvzg/scr_ids
Cleanup and unify `DisplayServer` screen methods and documentation.
2025-06-02 18:51:45 -05:00
6929823838 Fix various race conditions with capturing of script backtraces 2025-06-02 19:46:19 +02:00
b41d6ecf8c Allow to override editor settings per project 2025-06-02 17:51:26 +02:00
2d93e004b9 Cleanup and unify DisplayServer screen methods and documentation. 2025-06-02 08:03:48 +03:00
798a644dd5 [macOS] Fix borderless window maximization. 2025-05-30 00:13:53 +03:00
5a30a7e7cd Add shader baker to project exporter.
Metal Support contributed by Migeran (https://migeran.com) and Stuart Carnie.

Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
Co-authored-by: Gergely Kis <gergely.kis@migeran.com>
2025-05-27 12:45:27 -03:00
4cb8a0c77e Add resize_initialized and resize_uninitialized to Vector. These functions serve as replacements for resize, to make sure the caller understands whether elements need to be initialized 'by hand' after the call. 2025-05-26 18:35:41 +02:00
d609cf62a0 Implement get_filesystem_type on macOS and Linux. 2025-05-23 23:05:06 +03:00
ffc948c6c4 Fix GodotApplicationDelegate init. 2025-05-21 13:49:07 +03:00
25a3c27c41 Merge pull request #105628 from rsanchezsaez/apple/ios-visionos-4.5
Native visionOS platform support
2025-05-20 23:09:07 +02:00
aae3370fcd macOS: Support vsync when embedding OpenGL processes
Closes #106379
2025-05-20 09:39:13 +10:00
457299449d Introduce 'drivers/apple_embedded' abstract platform for code reuse 2025-05-19 15:37:13 -07:00
c58078ba42 macOS: Ensure LayerHost size is set when first embedded
Closes #106431
2025-05-18 08:36:29 +10:00
9a631d1e45 macOS: Send initial modifier keys as input events
This ensures if a user is holding SHIFT or OPTION to perform a modified
action, it is correctly handled by the application.

Examples include SHIFT+Click to add to the selection.
2025-05-15 16:58:49 +10:00
428a762e98 Merge pull request #106367 from stuartcarnie/sgc_fix_embedded_crash
macOS: Fix a crash if no input event is set for a specific window
2025-05-14 09:44:17 -05:00
ae68a216b9 Merge pull request #106383 from bruvzg/macos_isdef
Fix macOS build with `dev_build=yes` and `target=template_debug`
2025-05-14 09:44:12 -05:00
ffb7358232 Merge pull request #105673 from bruvzg/macos_close_fs
[macOS] Fix close button hidden and title bar transparent in fullscreen mode.
2025-05-14 09:44:07 -05:00
dfb2bc5f7e Fix macOS build with dev_build=yes and target=template_debug 2025-05-14 09:47:51 +03:00
aad8f57f95 Merge pull request #106355 from bruvzg/mac_emb_trans
[macOS] Fix transparent window state detection for embedded process.
2025-05-13 16:22:30 -05:00
19dcd7162b macOS: Fix a crash if no input event is set for a specific window 2025-05-14 06:57:56 +10:00
887fa78fc1 [macOS] Fix transparent window state detection for embedded process. 2025-05-13 17:09:51 +03:00
ddefe73c41 [macOS] Fix embedded window position when host control is moved, but not resized. 2025-05-13 14:17:45 +03:00
af62a09b42 Merge pull request #106348 from akien-mga/macos-fix-template_debug-build
macOS: Fix `template_debug` build after #105884
2025-05-13 12:49:11 +02:00
3e2c064302 macOS: Fix template_debug build after #105884 2025-05-13 12:42:13 +02:00
6a118b5027 Draw checkerboard (or clear color) under embedded window. 2025-05-13 13:16:22 +03:00
c0ebba60de Merge pull request #106166 from stuartcarnie/macos_embed_fixes
macOS: Embedded window fixes
2025-05-13 12:11:35 +02:00
544ab4ccab macOS: Process first click event without requiring focus
This improves the user experience for macOS users, to be consistent with
other macOS applications. When a Godot window is not focused, and the
user clicks on the window, the event is forwarded to the receiving
control to be processed as if the window was already focused.
2025-05-13 05:21:51 +10:00
f658161619 macOS: Embedded window can be dismissed by clicking close
- Installed a SIGINT handler to terminate the application gracefully.
- Handle varying display scaling
2025-05-12 07:09:42 +10:00
872ca1b3c9 Merge pull request #106139 from akien-mga/crash-handler-backtrace-print
Improve script backtrace print in crash handlers
2025-05-07 12:48:25 -05:00
a6398d71a3 Improve script backtrace print in crash handlers
Also fix the editor crash handler message for bug reports not properly
using the `.editor` override.
2025-05-07 09:52:50 +02:00
9290adee38 MacOS: Additional improvements and fixes for embedded window support 2025-05-07 06:11:05 +10:00
4cb030d6bf Merge pull request #106089 from mihe/rogue-newlines
Fix empty lines being added for errors with no script backtrace
2025-05-06 08:38:04 -05:00
aa24e3b671 Merge pull request #105884 from stuartcarnie/macos_embedded
macOS: Embedded window support.
2025-05-06 08:37:59 -05:00
00e1fdec2c MacOS: Embedded window support. 2025-05-06 06:09:05 +10:00
c40c56b406 Merge pull request #105822 from bruvzg/mm_update_enter
[macOS] Update entered state from `mouseMoved`.
2025-05-05 11:24:15 -05:00
31b90246e7 Fix empty lines being added for errors with no script backtrace 2025-05-05 13:27:21 +02:00
01fc9aee6c Core: Modernize C headers with C++ equivalents 2025-05-02 08:23:01 -05:00
1fbc0c5631 [Buildsystem] Add EnumVariable(ignorecase=2) 2025-04-29 13:35:40 -04:00
4104931e4a Merge pull request #105804 from bruvzg/tb_crash
[macOS] Fix touch bar observer crash.
2025-04-27 19:21:25 -05:00
1a2a1b07df Merge pull request #105799 from Repiteo/scons/enum-conversion-warnings
SCons: Add enum conversion warning
2025-04-27 19:21:23 -05:00
3947cbe3b2 Merge pull request #104386 from Repiteo/core/cpp-math
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
152423230c [macOS] Update entered state from mouseMoved. 2025-04-27 16:00:28 +03:00
4450594fb5 [macOS] Fix touch bar observer crash. 2025-04-26 23:29:07 +03:00
dc9c34f0c6 SCons: Add enum conversion warning 2025-04-26 12:06:20 -05:00