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
Stuart Carnie
9290adee38
MacOS: Additional improvements and fixes for embedded window support
2025-05-07 06:11:05 +10:00
Thaddeus Crews
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
Thaddeus Crews
aa24e3b671
Merge pull request #105884 from stuartcarnie/macos_embedded
...
macOS: Embedded window support.
2025-05-06 08:37:59 -05:00
Stuart Carnie
00e1fdec2c
MacOS: Embedded window support.
2025-05-06 06:09:05 +10:00
Thaddeus Crews
c40c56b406
Merge pull request #105822 from bruvzg/mm_update_enter
...
[macOS] Update entered state from `mouseMoved`.
2025-05-05 11:24:15 -05:00
Mikael Hermansson
31b90246e7
Fix empty lines being added for errors with no script backtrace
2025-05-05 13:27:21 +02:00
Thaddeus Crews
01fc9aee6c
Core: Modernize C headers with C++ equivalents
2025-05-02 08:23:01 -05:00
Adam Scott
1fbc0c5631
[Buildsystem] Add EnumVariable(ignorecase=2)
2025-04-29 13:35:40 -04:00
Thaddeus Crews
4104931e4a
Merge pull request #105804 from bruvzg/tb_crash
...
[macOS] Fix touch bar observer crash.
2025-04-27 19:21:25 -05:00
Thaddeus Crews
1a2a1b07df
Merge pull request #105799 from Repiteo/scons/enum-conversion-warnings
...
SCons: Add enum conversion warning
2025-04-27 19:21:23 -05:00
Thaddeus Crews
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
Pāvels Nadtočajevs
152423230c
[macOS] Update entered state from mouseMoved.
2025-04-27 16:00:28 +03:00
Pāvels Nadtočajevs
4450594fb5
[macOS] Fix touch bar observer crash.
2025-04-26 23:29:07 +03:00
Thaddeus Crews
dc9c34f0c6
SCons: Add enum conversion warning
2025-04-26 12:06:20 -05:00
Thaddeus Crews
60726563c9
Merge pull request #105621 from Repiteo/scons/begin-decouple
...
SCons: Begin decoupling generation & build code
2025-04-25 11:36:04 -05:00
Thaddeus Crews
5c9f93ce03
SCons: Begin decoupling generation & build code
2025-04-25 08:23:01 -05:00
Pāvels Nadtočajevs
e61edcadb8
Print script backtrace in the crash handler.
2025-04-25 09:15:20 +03:00
Thaddeus Crews
28089c40c1
Merge pull request #91006 from reduz/live-backtrace
...
Ability to print and log script backtraces
2025-04-24 17:18:52 -05:00
reduz
d1dcb40d56
Ability to print and log script backtraces
...
Co-authored-by: Mikael Hermansson <mikael@hermansson.io >
2025-04-24 18:54:41 +02:00
Thaddeus Crews
240cf0d60a
Merge pull request #105709 from bruvzg/angle_no_vlk
...
Fix macOS build with ANGLE enabled and Vulkan disabled.
2025-04-24 09:09:28 -05:00
Pāvels Nadtočajevs
e096e2fa8a
Fix macOS build with ANGLE enabled and Vulkan disabled.
2025-04-24 15:57:13 +03:00
Pāvels Nadtočajevs
e6d3cf63fb
[ColorPicker, macOS] Add link to request required screen recording permission.
2025-04-23 22:25:10 +03:00
Pāvels Nadtočajevs
e45dd45156
[macOS] Fix close button hidden and title bar transparent in fullscreen mode.
2025-04-23 08:13:33 +03:00
Thaddeus Crews
ad40939b6f
Core: Replace C math headers with C++ equivalents
...
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Thaddeus Crews
0d267e7b1e
Core: Add dedicated BitField template
2025-04-11 11:53:26 -05:00
Thaddeus Crews
0964badc05
Merge pull request #105210 from nikitalita/gdsoftclass-fa-da
...
Add GDSOFTCLASS to FileAccess and DirAccess derived classes
2025-04-11 09:51:08 -05:00
Thaddeus Crews
cad0cd94ef
Merge pull request #105225 from bruvzg/ds_gdsoft
...
Change `DisplayServerMacOS` from `GDCLASS` to `GDSOFTCLASS`. Add `GDSOFTCLASS` to other display servers.
2025-04-10 16:53:42 -05:00
Thaddeus Crews
cade15a163
Merge pull request #92475 from AThousandShips/string_replace_char
...
Add `String::replace_char(s)` methods for performance and convenience
2025-04-10 10:18:16 -05:00
Thaddeus Crews
fc1dbda769
Merge pull request #105164 from stuartcarnie/apple_pthread
...
Apple: Add pthread implementation of `Thread` class
2025-04-10 10:18:12 -05:00
A Thousand Ships
889410dcda
Add String::replace_char(s) methods for performance and convenience
2025-04-10 13:08:45 +02:00
Pāvels Nadtočajevs
0497522933
Change DisplayServerMacOS from GDCLASS to GDSOFTCLASS. Add GDSOFTCLASS to other display servers.
2025-04-10 09:18:58 +03:00
Stuart Carnie
8c8d6de3e7
Apple: Add pthread implementation of Thread class
...
This allows Apple platforms to override the default stack size of
a thread in the WorkerThreadPool, which is 512KiB by default.
This must be increased, as SPIRV-Cross, used by the Metal driver, can
use deeply nested stacks, as can debug builds.
2025-04-10 09:35:40 +10:00
nikitalita
2d0ae77719
add GDSOFTCLASS to FileAccess and DirAccess derived classes
2025-04-09 11:52:50 -07:00