1
0
Fork 0
Commit Graph

6809 Commits

Author SHA1 Message Date
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 d043be6031
Merge pull request #105585 from marcosc90/fix-web-update-size
[Web] Prevent unnecessary canvas resizes by flooring scaled dimensions
2025-05-14 09:44:13 -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 fb39aa4fd3
Merge pull request #105833 from marcosc90/perf-web-shader-source
[Web] Optimize `GL.getSource` for known-length shader sources
2025-05-14 09:44:08 -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
Thaddeus Crews e3ad8129f7
Merge pull request #105601 from marcosc90/perf-web-gamepad
[Web] Avoid unnecessary gamepad polling when no gamepads are connected
2025-05-14 09:44:04 -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
Thaddeus Crews 4cd27d7fd4
Merge pull request #106094 from shiena/feature/support-android-camera
Add CameraFeed support for Android
2025-05-13 16:22:27 -05:00
Thaddeus Crews d3cd48cb51
Merge pull request #106319 from adamscott/web-simd
[Web] Add WebAssembly SIMD support (`wasm_simd`) and enable it by default
2025-05-13 16:22:18 -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
Leo de Penning 296ca79b9d Add CameraFeed support for Android
Co-authored-by: KOGA Mitsuhiro <shiena.jp@gmail.com>
2025-05-13 22:46:06 +09:00
Adam Scott f114a8d1d1
Add WebAssembly SIMD support 2025-05-13 07:35:53 -04: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 20f279cd34
Merge pull request #106345 from bruvzg/gl_leak
[X11] Fix GL init memory leak when transparency is enabled.
2025-05-13 12:49:08 +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 a12503b88c
[X11] Fix GL init memory leak when transparency is enabled. 2025-05-13 13:20:02 +03: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
Rémi Verschelde db66343528
Merge pull request #106317 from stuartcarnie/sgc_macos_first_click
macOS: Process first click event without requiring focus
2025-05-13 01:05:53 +02:00
Rémi Verschelde 8b93b67e14
Merge pull request #106315 from Riteo/popping-up-everywhere
Wayland: Fix error spam when closing popup
2025-05-13 01:05:49 +02:00
Rémi Verschelde cc07dc4273
Merge pull request #106288 from raulsntos/android/store_so_uncompressed
[Android] Store native libraries uncompressed in APK
2025-05-13 01:05:27 +02:00
Rémi Verschelde f23d1968b4
Merge pull request #106247 from bruvzg/ac_wl_resize
Do not call `accessibility_set_window_rect` on Wayland, fix main windows accessibility context creation.
2025-05-13 01:05:08 +02:00
Rémi Verschelde c1d3746a67
Merge pull request #105992 from uno1982/4.5-dev-fix-android-controller
Fix issues with Android controller input handling
2025-05-13 01:04:52 +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
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
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
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