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

7289 Commits

Author SHA1 Message Date
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
Riteo
c3b04e6e1e Wayland: fix error spam when closing popup
Previously we did not check whether the value actually changed or not
and thus would get constant errors for no reason.
2025-05-12 05:11:24 +02: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
Raul Santos
6464347157 [Android] Store native libraries uncompressed in APK 2025-05-11 21:02:44 +02:00
Pāvels Nadtočajevs
5441a82cfb Do not call accessibility_set_window_rect on Wayland, fix main windows accessibility context creation. 2025-05-11 12:51:46 +03:00
Rémi Verschelde
e9e8ddc5be Linux: Fix build with dbus=no or threads=no 2025-05-09 15:26:13 +02:00
Fredia Huya-Kouadio
c29545f793 Bump the minimum supported SDK version to 24
Raise the minimum supported Android version from Android 5 (Lollipop) to Android 7 (Nougat).
2025-05-08 09:45:32 -04:00
Thaddeus Crews
9b6e06dcf3 Merge pull request #106152 from m4gr3d/bump_target_sdk
Annual versions bump for the Android platform
2025-05-08 07:19:34 -05: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
Fredia Huya-Kouadio
4b4144cc39 Annual versions bump for the Android platform
- gradle: 8.2 -> 8.11.1
- androidx.constraintlayout:constraintlayout: 2.1.4 -> 2.2.1
- Android gradle plugin: 8.2.0 -> 8.6.1
- Android compile sdk: 34 -> 35
- Android target sdk: 34 -> 35
- Android build tools: 34.0.0 -> 35.0.0
- kotlin: 1.9.20 -> 2.1.20
- androidx.fragment:fragment: 1.7.1 -> 1.8.6
- OpenXR vendors plugin: 3.1.2-stable -> 4.0.0-stable
2025-05-07 13:14:49 -04: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
8ab73248bc Merge pull request #106083 from Riteo/pointing-somewhere
Wayland: Ensure pointed window's existence in `mouse_get_position`
2025-05-05 11:24:18 -05: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
Riteo Siuga
d4dabd15aa Wayland: Ensure pointed window's existence in mouse_get_position
Should fix a crash with certain compositors.
2025-05-03 20:24:44 +02:00
Alexander Hartmann
cf00265386 Fix Xbox Controller on Android 2025-05-03 01:09:05 +02:00
Thaddeus Crews
01fc9aee6c Core: Modernize C headers with C++ equivalents 2025-05-02 08:23:01 -05:00
uno1982
5ce11b1eac Fix for ps4 and ps5 controller options and share buttons 2025-05-01 11:30:02 -05:00
Thaddeus Crews
f4f1471b57 Merge pull request #105910 from lawnjelly/global_get_fast4
Add `GLOBAL_GET` cached macros.
2025-04-30 09:18:44 -05:00
lawnjelly
f8f350a32a Add GLOBAL_GET cached macros.
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +01:00
tthhr
e7a3729175 fix:Compile error in wayland display server when compiling linuxbsd platform after disabling dbus 2025-04-30 14:22:52 +08:00
Thaddeus Crews
a13d05421f Merge pull request #105914 from adamscott/add_ignore_case_2
[Buildsystem] Add `EnumVariable(ignorecase=2)`
2025-04-29 16:05:19 -05:00
Adam Scott
1fbc0c5631 [Buildsystem] Add EnumVariable(ignorecase=2) 2025-04-29 13:35:40 -04:00
Anish Mishra
f8e935d406 Enable close button on PicoOS 2025-04-29 22:38:37 +05:30
Fredia Huya-Kouadio
ccf61650bd Use separate_debug_symbols to control generation of the separate Android debug symbols file 2025-04-28 08:33:12 -07:00
Thaddeus Crews
2242bf9b3d Merge pull request #105697 from akien-mga/scons-x86_32-mfpmath-sse
SCons: Explicitly enable `-mfpmath=sse -mstackrealign` for x86_32
2025-04-28 10:01:31 -05:00
Thaddeus Crews
f8a8d6cf04 Merge pull request #105700 from dementive/config-file-get-improvement
Improve ConfigFile get_sections and get_section_keys by returning Vector<String>
2025-04-27 19:21:31 -05: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
Marcos Casagrande
197b307061 [Web] Optimize GL.getSource for known-length shader sources 2025-04-27 17:44:08 +02:00
Pāvels Nadtočajevs
152423230c [macOS] Update entered state from mouseMoved. 2025-04-27 16:00:28 +03:00
Pāvels Nadtočajevs
3e8c99b346 Fix uiautomationcore linking in 32-bit x86 MinGW builds. 2025-04-26 23:45:07 +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
Pāvels Nadtočajevs
46c690e4b2 [MinGW] Explicitly link shell32 library. 2025-04-25 21:27:15 +03:00
Thaddeus Crews
2bf7184ed9 Merge pull request #103865 from Repiteo/scons/__has_include
SCons: Remove `check_c_headers`
2025-04-25 11:36:06 -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
041c69db2f Merge pull request #101454 from Riteo/fifo_ftw
Wayland: Handle `fifo_v1` and clean up suspension logic
2025-04-25 11:36:04 -05:00
Thaddeus Crews
795b11e705 Merge pull request #105741 from bruvzg/scr_bt_crash
Print script backtrace in the crash handler.
2025-04-25 11:36:03 -05:00
Thaddeus Crews
007717faf9 SCons: Remove check_c_headers
• Can instead check for headers directly with `__has_include`, a C++17 feature
2025-04-25 11:30:39 -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
Pāvels Nadtočajevs
43e9b04f66 Update Mesa-NIR library detection and download script. 2025-04-25 08:11:14 +03:00
dementive
b8e44a0000 Improve ConfigFile get_sections and get_section_keys by returning Vector<String> 2025-04-24 20:10:31 -04: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