1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00
Commit Graph

650 Commits

Author SHA1 Message Date
Lukas Tenbrink
b13a0e1834 Rename String::resize to resize_uninitialized, to better communicate to callers that new characters must be initialized. 2025-06-11 18:13:02 +02:00
Rémi Verschelde
042ad3a62f Merge pull request #107038 from bruvzg/emb_scr
Add support for taking embedded window screenshots.
2025-06-11 12:10:12 +02:00
Pāvels Nadtočajevs
66fec3c3d7 Remove TTS debug print. 2025-06-10 18:27:27 +03:00
Rémi Verschelde
823f4f8b58 Merge pull request #107135 from bruvzg/emb_clipboard
[macOS] Fix clipboard and TTS not working in embedded game mode.
2025-06-10 12:30:16 +02:00
Thaddeus Crews
8ecc6da249 Merge pull request #100899 from dalexeev/core-unify-display-of-error-type-prefixes
Core: Unify display of error type prefixes
2025-06-09 17:08:41 -05:00
Danil Alexeev
24494d840e Core: Unify display of error type prefixes 2025-06-09 20:18:51 +03:00
Pāvels Nadtočajevs
43b41092a0 Add support for taking embedded window screenshots. 2025-06-09 11:40:36 +03:00
Pāvels Nadtočajevs
e8126f114e [macOS] Switch Angle to Metal backend. 2025-06-09 10:29:30 +03:00
Rémi Verschelde
a663949a7d Merge pull request #107215 from syntaxerror247/fix-warning
Show shader baker related export warnings only if enabled
2025-06-07 00:44:06 +02:00
Rémi Verschelde
0c5b14ed6c Merge pull request #107197 from bruvzg/fd_cr
Fix native file dialog crash with invalid filter.
2025-06-06 17:38:13 +02:00
Anish Mishra
8bf87a6b2c Show shader baker related export warnings only if enabled 2025-06-06 21:05:39 +05:30
Pāvels Nadtočajevs
1484771f26 Fix native file dialog crash with invalid filter. 2025-06-06 09:24:42 +03:00
Stuart Carnie
afd82d7cb3 Editor: Fix multi-instance behaviour with embedded game view
Closes #107066
2025-06-06 07:37:04 +10:00
Rémi Verschelde
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
Mikael Hermansson
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
Pāvels Nadtočajevs
09727b29c3 [macOS] Fix clipboard and TTS not working in embedded game mode. 2025-06-05 11:06:04 +03:00
Pāvels Nadtočajevs
98f377d9d0 Use system timer/wait functions for frame delay when screen reader is active. 2025-06-04 13:44:02 +03:00
Thaddeus Crews
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
Thaddeus Crews
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
bruvzg
ee181951b6 [macOS] Add support for loading shell environment from UI apps. 2025-06-03 18:27:29 +03:00
Thaddeus Crews
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
Mikael Hermansson
6929823838 Fix various race conditions with capturing of script backtraces 2025-06-02 19:46:19 +02:00
kobewi
b41d6ecf8c Allow to override editor settings per project 2025-06-02 17:51:26 +02:00
Pāvels Nadtočajevs
2d93e004b9 Cleanup and unify DisplayServer screen methods and documentation. 2025-06-02 08:03:48 +03:00
Pāvels Nadtočajevs
798a644dd5 [macOS] Fix borderless window maximization. 2025-05-30 00:13:53 +03:00
Dario
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
Lukas Tenbrink
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
Pāvels Nadtočajevs
d609cf62a0 Implement get_filesystem_type on macOS and Linux. 2025-05-23 23:05:06 +03:00
Pāvels Nadtočajevs
ffc948c6c4 Fix GodotApplicationDelegate init. 2025-05-21 13:49:07 +03:00
Rémi Verschelde
25a3c27c41 Merge pull request #105628 from rsanchezsaez/apple/ios-visionos-4.5
Native visionOS platform support
2025-05-20 23:09:07 +02:00
Stuart Carnie
aae3370fcd macOS: Support vsync when embedding OpenGL processes
Closes #106379
2025-05-20 09:39:13 +10:00
Ricardo Sanchez-Saez
457299449d Introduce 'drivers/apple_embedded' abstract platform for code reuse 2025-05-19 15:37:13 -07:00
Stuart Carnie
c58078ba42 macOS: Ensure LayerHost size is set when first embedded
Closes #106431
2025-05-18 08:36:29 +10:00
Stuart Carnie
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
Thaddeus Crews
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
Thaddeus Crews
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
Thaddeus Crews
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
Pāvels Nadtočajevs
dfb2bc5f7e Fix macOS build with dev_build=yes and target=template_debug 2025-05-14 09:47:51 +03:00
Thaddeus Crews
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
Stuart Carnie
19dcd7162b macOS: Fix a crash if no input event is set for a specific window 2025-05-14 06:57:56 +10:00
Pāvels Nadtočajevs
887fa78fc1 [macOS] Fix transparent window state detection for embedded process. 2025-05-13 17:09:51 +03:00
Pāvels Nadtočajevs
ddefe73c41 [macOS] Fix embedded window position when host control is moved, but not resized. 2025-05-13 14:17:45 +03:00
Rémi Verschelde
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
Rémi Verschelde
3e2c064302 macOS: Fix template_debug build after #105884 2025-05-13 12:42:13 +02:00
Pāvels Nadtočajevs
6a118b5027 Draw checkerboard (or clear color) under embedded window. 2025-05-13 13:16:22 +03:00
Rémi Verschelde
c0ebba60de Merge pull request #106166 from stuartcarnie/macos_embed_fixes
macOS: Embedded window fixes
2025-05-13 12:11:35 +02:00
Stuart Carnie
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
Stuart Carnie
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
Thaddeus Crews
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
Rémi Verschelde
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