Fredia Huya-Kouadio
2f4c3d411c
Address API 35 UI behavior changes
...
- Fix issue on foldable where the embedded window would obscure the main window when launching
- Fix edge-to-edge support for non-immersive apps / games
- Add edge-to-edge export option to allow non-immersive apps / games to extend edge to edge
2025-06-20 13:29:38 -07:00
Thaddeus Crews
f7c6f0057c
Merge pull request #103972 from m4gr3d/xr_editor_hybrid_support
...
Add support for running hybrid apps from the XR editor
2025-06-20 08:38:55 -05:00
Thaddeus Crews
7b4f98c9f7
Merge pull request #107112 from AThousandShips/fix_web_build
...
[Web] Fix build failure on Windows
2025-06-18 18:14:03 -05:00
Thaddeus Crews
d69ca31768
Merge pull request #107574 from stuartcarnie/apple_embedded_fixes
...
Apple: Improve Apple embedded export and debugging
2025-06-18 18:13:47 -05:00
Thaddeus Crews
856d7108e0
Merge pull request #106414 from Riteo/unexpected-frame
...
Wayland: Fix stuck pointer buttons on window leave
2025-06-18 18:13:45 -05:00
Stuart Carnie
939f29f6d5
Apple: Improve reliability of Apple Embedded build and deployment
2025-06-19 06:33:08 +10:00
A Thousand Ships
b616e857aa
[Web] Fix build failure on Windows
2025-06-17 11:05:45 +02:00
Rémi Verschelde
9e1e2fdbd5
Merge pull request #107550 from AdrienUfferte/fix-spelling
...
Fix spelling in comments
2025-06-16 01:52:48 +02:00
Fredia Huya-Kouadio
09f5be761c
Add support for running hybrid apps from the XR editor
2025-06-15 07:05:12 -07:00
Adrien Ufferte
a11a64fbf4
Comments spelling fixes
2025-06-15 01:36:10 +02:00
Anish Mishra
dcab8a721e
Revert "Add support for exporting to Google Play Instant"
...
This reverts commit 12ad9ed4e0 .
Shortly after the feature was merged, we received news that Google will shut down Instant Apps in December 2025. Since this feature is being discontinued soon, there’s no value in keeping it for just a few months.
2025-06-14 15:51:08 +05:30
Rémi Verschelde
4dae2f893a
Merge pull request #102866 from m4gr3d/implement_godot_service
...
Add support for using an Android Service to host the Godot engine
2025-06-14 00:00:00 +02:00
Rémi Verschelde
d9cda33090
Merge pull request #107415 from adamscott/add-emscripten-version-to-log-header
...
[Web] Add Web-build specific stdout header
2025-06-13 18:37:37 +02:00
Pāvels Nadtočajevs
dfb11f8cea
[macOS] Add `--path` argument when instance is created by project started from editor.
2025-06-13 10:22:31 +03:00
Fredia Huya-Kouadio
dc589e239c
Add support for using an Android Service to host the Godot engine
...
- Provide a `GodotService` Android service implementation which can be used to host an instance of the Godot engine
- Provide a `RemoteGodotFragment` Android fragment implementation which provides the view and logic to wrap connection to a `GodotService` instance
2025-06-12 16:37:38 -07:00
Rémi Verschelde
22702244f8
Merge pull request #105414 from KoBeWi/disable_uid_here
...
Add `@export_file_path` to export raw paths (no UID)
2025-06-13 01:30:24 +02:00
Rémi Verschelde
ae33da972b
Merge pull request #106709 from m4gr3d/fix_transparency_flags
...
Fix transparency background issue on Android
2025-06-12 23:32:44 +02:00
Rémi Verschelde
4adef85151
Merge pull request #106447 from kojurohan42/instant-build
...
Add support for exporting to Google Play Instant via Google Play Instant Export Option
2025-06-12 23:32:38 +02:00
Rémi Verschelde
6845898461
Merge pull request #107385 from Alex2782/fix_vibrate_android
...
Fix `Input.vibrate_handheld` on Android.
2025-06-12 22:48:54 +02:00
Rémi Verschelde
1a64b6b5b6
Merge pull request #106913 from Ivorforce/string-resize-uninitialized
...
Rename `String::resize` to `resize_uninitialized`
2025-06-12 22:48:45 +02:00
Rémi Verschelde
e0072e9169
Merge pull request #105800 from adamscott/add-emscripten-include-path
...
[Web] Include emscripten headers by default
2025-06-12 22:48:40 +02:00
Adam Scott
f411c5b2f1
[Web] Add Web-build specific stdout header
2025-06-12 13:00:36 -04:00
Alexander Hartmann
a1e12dca3f
Fix `Input.vibrate_handheld` on Android.
2025-06-12 12:38:18 +02:00
Stuart Carnie
962d788c14
MacOS: Initialize member field
2025-06-12 14:57:36 +10:00
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
Thaddeus Crews
fda6faeebf
Merge pull request #107356 from ArchercatNEO/wayland-protocols-scsub
...
Wayland: Simplify including protocols
2025-06-10 19:22:42 -05:00
Pāvels Nadtočajevs
66fec3c3d7
Remove TTS debug print.
2025-06-10 18:27:27 +03:00
Rémi Verschelde
cc9761c3f0
Merge pull request #107188 from berarma/moviewriter-add-theora
...
Add Ogg Theora support to MovieWriter
2025-06-10 16:22:57 +02:00
Bernat Arlandis
a16b04fe07
Add Ogg Theora support to MovieWriter
...
Movie Maker mode can now record files in `.ogv` format, which can be
directly viewed in Godot's VideoStreamPlayer node along with most
video players. This is a lossy format with inter-frame compression,
unlike AVI + MJPEG which only performs intra-frame compression.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: Leo de Penning <leo.depenning@illuminoo.com>
2025-06-10 15:52:24 +02:00
Rémi Verschelde
6e5bcd2f41
Merge pull request #107207 from syntaxerror247/filePicker-save
...
Android: Fix save issue when using native file dialog
2025-06-10 12:30:21 +02: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
ArchercatNEO
367cabf692
Wayland: Simplify including protocols
2025-06-10 08:39:20 +01: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
Thaddeus Crews
b3bd9dce0f
Merge pull request #107328 from adamscott/android-use-os-path-join
...
Fix Android build files joining paths without join
2025-06-09 17:08:40 -05:00
Danil Alexeev
24494d840e
Core: Unify display of error type prefixes
2025-06-09 20:18:51 +03:00
Adam Scott
026ba0dbbc
Fix Android build files joining paths without join
2025-06-09 10:37:54 -04: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
c596d93478
Merge pull request #106175 from akien-mga/linux-build-no-dbus
...
Linux: Fix build with `dbus=no` or `threads=no`
2025-06-09 00:44:12 +02: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
7d10c2a3f2
Merge pull request #104686 from bruvzg/bmaxwin
...
[Windows] Fix borderless maximized window mode.
2025-06-07 00:43:45 +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
Rémi Verschelde
847042e050
Merge pull request #107184 from m4gr3d/cleanup_horizonos_camera_permission_request
...
Fix the `CAMERA` permission request on HorizonOS devices
2025-06-06 17:37:54 +02:00
Anish Mishra
8bf87a6b2c
Show shader baker related export warnings only if enabled
2025-06-06 21:05:39 +05:30
Anish Mishra
a28697f2fe
Android: Fix save issue when using native file dialog
...
Fixes the issue where saving a file without `MANAGE_EXTERNAL_STORAGE` permission using the `native file dialog` to get the file path causes the `ERR_FILE_NOT_FOUND` error.
2025-06-06 16:07:41 +05:30
Pāvels Nadtočajevs
1484771f26
Fix native file dialog crash with invalid filter.
2025-06-06 09:24:42 +03:00
Fredia Huya-Kouadio
a0cb64569b
Fix the `CAMERA` permission request on HorizonOS devices
2025-06-05 14:56:07 -07: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
225c8c6f9b
Merge pull request #103596 from Chubercik/zstd-1.5.7
...
zstd: Update to 1.5.7, fix support for GAS `.S` files on Windows/MinGW
2025-06-05 17:24:38 +02:00
Rémi Verschelde
6b14aa07ae
Merge pull request #75950 from pkowal1982/icon
...
Export: Modify template without rcedit
2025-06-05 17:24:32 +02:00
Rémi Verschelde
5904f4f2d4
SCons: Fix support for compiling .S files on Windows/MinGW
2025-06-05 15:53:10 +02:00
Rémi Verschelde
445a51834e
Merge pull request #107136 from Airyzz/airyzz/web-pen-pressure
...
[Web] Add support for pen pressure
2025-06-05 13:14:00 +02: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
Rémi Verschelde
8d14f8332f
Merge pull request #105343 from bruvzg/ac_wait_loop_timer
...
[Accessibility] Use system timer/wait functions for frame delay when screen reader is active.
2025-06-05 13:10:54 +02:00
unknown
6f071a8054
Export: Modify template without rcedit
2025-06-05 13:05:45 +02:00
Airyzz
5f8f0ac305
[web] add support for pen pressure
2025-06-05 18:04:37 +09:30
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
Adam Scott
64b0d5c1c2
[Web] Add required exported functions and runtime methods for emscripten
2025-06-04 09:53:05 -04: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
Fredia Huya-Kouadio
547450befd
Fix transparency background issue on Android
...
Fixes https://github.com/godotengine/godot/issues/106703
2025-06-02 22:45:16 -07:00
Thaddeus Crews
7a3d2f6779
Merge pull request #106606 from aaronfranke/pow2_64
...
Add 64-bit versions of core power of 2 functions
2025-06-02 18:51:56 -05:00
Thaddeus Crews
9ee7d78274
Merge pull request #106859 from syntaxerror247/alias
...
Add support for `OS.get_version_alias()` on Android
2025-06-02 18:51:56 -05:00
Thaddeus Crews
1c0669bd23
Merge pull request #106970 from m4gr3d/update_documentation_javaclasswrapper_androidruntimeplugin
...
Update the documentation for `JavaClassWrapper` and `AndroidRuntimePlugin`
2025-06-02 18:51:50 -05:00
Thaddeus Crews
a6be6d1cd1
Merge pull request #106959 from bruvzg/w10_cleanup
...
[Windows] Drop support for Windows 7/8/8.1.
2025-06-02 18:51:46 -05: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
Aaron Franke
f6f1df7d73
Add 64-bit versions of core power of 2 functions
2025-06-01 23:11:12 -07:00
Pāvels Nadtočajevs
2d93e004b9
Cleanup and unify `DisplayServer` screen methods and documentation.
2025-06-02 08:03:48 +03:00
Rémi Verschelde
4bbef7dd0a
Merge pull request #106942 from bruvzg/macos_borderless_maximize
...
[macOS] Fix borderless window maximization.
2025-06-01 00:31:53 +02:00
Rémi Verschelde
2df41d8144
Merge pull request #104458 from marcosc90/fix-thread-collision-shape-3d
...
[Web] Use actual `PThread` pool size for `get_default_thread_pool_size()`
2025-06-01 00:31:44 +02:00
Marcos Casagrande
a7d18f51a2
Web: Add godot_pool_size/emscripten_pool_size config
2025-05-30 20:38:24 +02:00
Fredia Huya-Kouadio
658d3736f4
Update the documentation for `JavaClassWrapper` and `AndroidRuntimePlugin`
...
Follow-up to https://github.com/godotengine/godot-docs/pull/10979
2025-05-30 09:39:53 -07:00
Pāvels Nadtočajevs
617e12a6b4
[Windows] Drop support for Windows 7/8/8.1.
2025-05-30 17:30:23 +03:00
Anish Mishra
458850b2d9
Add support for `OS.get_version_alias()` on Android
2025-05-30 19:57:15 +05:30
Pāvels Nadtočajevs
798a644dd5
[macOS] Fix borderless window maximization.
2025-05-30 00:13:53 +03:00
Thaddeus Crews
de37627404
Merge pull request #102552 from DarioSamo/shader-baker
...
Add shader baker to project exporter.
2025-05-28 17:09:38 -05:00
David Snopek
cc7f2e5160
JavaClassWrapper: Don't discard overloaded methods that differ by object type
2025-05-28 14:19:26 -05:00
Thaddeus Crews
6228c7c762
Merge pull request #105451 from bruvzg/x11_splash
...
Fix X11 boot splash scaling.
2025-05-28 09:47:42 -05:00
Thaddeus Crews
bb47f01481
Merge pull request #106390 from akien-mga/linux-drop-ppc32
...
Linux: Drop `ppc32` (32-bit PowerPC) architecture support
2025-05-28 09:47:34 -05: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
Thaddeus Crews
7eabfab466
Merge pull request #106836 from Riteo/return-is-missing
...
Wayland: Add missing return in selection logic
2025-05-27 09:39:31 -05:00
Thaddeus Crews
0f67c3e992
Merge pull request #104522 from Ivorforce/localvector-force-trivial-resize
...
Core: Add `resize_initialized` and `resize_uninitialized` to `Vector` and `LocalVector`
2025-05-27 09:39:27 -05:00
Thaddeus Crews
363b7638b0
Merge pull request #106797 from syntaxerror247/nomedia-crash
...
Android Editor: Disable `nomedia` file creation for Android 11 (api level 30)
2025-05-27 09:39:22 -05:00
Riteo
67c317c58d
Wayland: Add missing return in selection logic
...
Fixup to "Wayland: Check selection devices before using them"
This slipped under the radar... until for some reason optimized builds
started crashing, perhaps due to timing-related shenanigans, no idea.
2025-05-26 20:36:15 +02: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
Thaddeus Crews
d5301d1cc9
Merge pull request #106736 from TCROC/fix-ios-plugins-broken
...
Fix ios plugin always invalid due to null ConfigFile
2025-05-26 11:24:46 -05:00
Thaddeus Crews
1c151e9980
Merge pull request #106724 from syntaxerror247/theme-attributes
...
Android: Add export option for custom theme attributes
2025-05-26 11:24:42 -05:00
Thaddeus Crews
e2d244b7f1
Merge pull request #106052 from uno1982/correct-get_unique_id-windows-null-termination
...
Fix Windows `OS.get_unique_id()` null termination issue
2025-05-26 11:24:37 -05:00
Thaddeus Crews
4db474d4ab
Merge pull request #106810 from syntaxerror247/Fix-UI
...
Fix Android editor UI
2025-05-26 11:24:35 -05:00
Anish Mishra
e084e479bf
Fix Android editor UI
2025-05-25 22:59:41 +05:30
Anish Mishra
a89f083ffa
Fix `OS.get_version()` on Android.
2025-05-25 21:17:07 +05:30
Patrick Gelvin
6842a5861b
Workaround X11 crash issue
2025-05-25 08:07:24 -07:00
uno1982
d79258c2e7
Fix: Windows OS.get_unique_id() null termination issue
...
use ascii for encoding-neutral
check buffer size as well
2025-05-23 15:05:41 -05:00
Pāvels Nadtočajevs
d609cf62a0
Implement `get_filesystem_type` on macOS and Linux.
2025-05-23 23:05:06 +03:00
kojurohan42
12ad9ed4e0
Add support for exporting to Google Play Instant
2025-05-23 22:00:14 +05:45
Travis Lange
a350e01dc7
Fix ios and android plugin always invalid due to null ConfigFile
2025-05-23 11:41:13 -04:00
Anish Mishra
0312a0cc9e
Android: Add export option for custom theme attributes
...
- Regenerates the `GodotAppMainTheme` and `GodotAppSplashTheme` during Android export. Any manual changes to these styles will be cleared and replaced with default theme attributes.
- Adds a new export option `gradle_build/custom_theme_attributes` for injecting custom theme attributes directly via the export window, avoiding the need to manually modify themes.xml.
2025-05-23 20:00:47 +05:30
Thaddeus Crews
cdd3632902
Merge pull request #106672 from bruvzg/macos_delegate_init_fix
...
Fix `GodotApplicationDelegate` init.
2025-05-22 12:15:00 -05:00
kobewi
42249bb659
Add @export_file_path to export raw paths (no UID)
2025-05-22 13:25:17 +02:00
Thaddeus Crews
7951a1bb87
Merge pull request #106359 from m4gr3d/remove_compress_native_libs_option
...
Remove the `gradle_build/compress_native_libraries` export option
2025-05-21 09:06:25 -05: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
Adam Scott
b0e472c8e4
[Web] Include emscripten headers by default
2025-05-20 10:53:28 -04:00
Stuart Carnie
aae3370fcd
macOS: Support vsync when embedding OpenGL processes
...
Closes #106379
2025-05-20 09:39:13 +10:00
Ricardo Sanchez-Saez
47971c0a27
Introduce 'visionos' platform derived from 'apple_embedded'
2025-05-19 15:47:01 -07:00
Ricardo Sanchez-Saez
457299449d
Introduce 'drivers/apple_embedded' abstract platform for code reuse
2025-05-19 15:37:13 -07:00
Fredia Huya-Kouadio
ec7fb37db1
Update to the AAB directory layout
...
Follow-up to https://github.com/godotengine/godot/pull/106152 to address the regression described in https://github.com/godotengine/godot/issues/106582
2025-05-19 10:50:43 -07:00
Thaddeus Crews
52124a1262
Merge pull request #106538 from stuartcarnie/macos_embedded_size_fix
...
macOS: Ensure LayerHost size is set when first embedded
2025-05-19 08:01:31 -05:00
Stuart Carnie
c58078ba42
macOS: Ensure LayerHost size is set when first embedded
...
Closes #106431
2025-05-18 08:36:29 +10:00
Adam Scott
6e6c4d3045
[Web] Always return `0` for `OS::get_process_id()`
2025-05-16 15:46:34 -04:00
Thaddeus Crews
202b1176a4
Merge pull request #106251 from ArchercatNEO/wayland-cursor-shape
...
[Wayland] Implement the cursor-shape-v1 protocol
2025-05-16 10:29:02 -05:00
Thaddeus Crews
596a8eb54c
Merge pull request #106462 from shiena/fix/prevent-camera-permission
...
Android: Don't request `CAMERA` permission on editor startup
2025-05-16 07:43:14 -05:00
Thaddeus Crews
5620a215a1
Merge pull request #106021 from Alex2782/fix_xbox_controller_on_android
...
Fix Xbox Controller on Android
2025-05-16 07:43:09 -05:00
Fredia Huya-Kouadio
1b0bd35f09
Update the GodotOpenXR meta-data removal logic
...
Godot OpenXR Vendor plugin version 4.0.0-stable changed the plugin's manifest declaration, so this updates the logic to remove that manifest declaration to match.
2025-05-15 16:38:11 -07:00
Fredia Huya-Kouadio
773fc96ab2
Update the logic to validate the java version
...
Loosen the check to allow Java version >= 17
2025-05-15 16:28:07 -07:00
KOGA Mitsuhiro
64e2c31c10
Android: Don't request CAMERA permission on editor startup
2025-05-16 06:45:37 +09:00
Fredia Huya-Kouadio
e3d60bbd0c
Remove the option to compress Android native libraries
...
Follow-up to https://github.com/godotengine/godot/pull/106358 , this is a separate commit / PR since it shouldn't be cherry-picked in previous releases as it removes existing functionality.
Support for 16kb page size added in the previous PR requires the native libraries to be uncompressed, so we're deprecating and removing the option to compress native libraries.
See https://developer.android.com/guide/practices/page-sizes#agp_version_851_or_higher for more details.
2025-05-15 08:41:46 -07:00
Thaddeus Crews
7d46f0f733
Merge pull request #106365 from stuartcarnie/sgc_macos_modifier_state_focus
...
macOS: Send initial modifier keys as input events
2025-05-15 10:22:28 -05:00
Thaddeus Crews
82ea0b9293
Merge pull request #106358 from m4gr3d/update_ndk_28
...
[Android] Add support for 16 KB page sizes, update to NDK r28b
2025-05-15 10:22:27 -05:00
Thaddeus Crews
59cd4b823b
Merge pull request #106435 from akien-mga/android-readd-generate_apk-alias
...
Android: Re-add `generate_apk` alias for compatibility
2025-05-15 10:22:20 -05:00
Thaddeus Crews
902d2b45bb
Merge pull request #106400 from RandomShaper/win_compat
...
Improve platform compatibility of Windows and Direct3D 12
2025-05-15 10:22:16 -05:00
Thaddeus Crews
8134f3fe4b
Merge pull request #106394 from vmedea/2025-libdecor
...
Wayland: Unbreak build with `libdecor=no`
2025-05-15 10:22:15 -05:00
ArchercatNEO
3cd7b5b9a8
[Wayland] Implement the cursor-shape-v1 protocol
...
Related #106229 . The cursor-shape protocol allows us to not have to deal with cursor theming and instead depend on the
compositor for it.
This still does not quite solve the issue when the compositor doesn't implement the protocol
(or running under the x11 backend) but for gnome/kde and a few more this should resolve things.
2025-05-15 15:42:48 +01:00
Rémi Verschelde
8851c5a54d
Android: Re-add `generate_apk` alias for compatibility
2025-05-15 12:42:29 +02:00
Pedro J. Estébanez
820380817a
Exclude RD creation test functions from templates
2025-05-15 10:12:38 +02:00
Pedro J. Estébanez
53bee4eb56
Windows: Restrict time API use to the desktop flavor
2025-05-15 10:12:16 +02: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
Riteo
a3913b045d
Wayland: Fix stuck pointer buttons on window leave
...
This issue came from the frame-based refactoring done in the multiwin
PR.
It looks like some (all?) compositors group certain events alongside
`wl_pointer::leave`, which I absolutely did not expect. The docs don't
seem to mention it either from what I can tell.
We now fall-back on the old pointed window if and only if the current
window is invalid and the old one isn't. Each state fetch is guarded
with an `ERR_FAIL_NULL` so this should still catch any potentially
corrupted window with missing data but a valid ID.
I also added the usual big comment so that this "quirk" does not get
lost to time.
2025-05-14 23:30:16 +02:00
Pedro J. Estébanez
7759296594
Direct3D 12: Let platforms report support for direct composition
2025-05-14 17:48:19 +02: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
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
mara
d213e72866
wayland: Unbreak build with libdecor=no
...
In #101774 , some libdecor-specific code was added, but without adding the guards. This broke the build with
`libdecor=no`.
Add `#ifdef` guard as necessary.
2025-05-14 13:36:45 +00:00
Rémi Verschelde
1de9789806
Linux: Drop `ppc32` (32-bit PowerPC) architecture support
...
This was added together with `ppc64le` in #54490 , but seemingly only for the
purpose of getting it to compile on a Linux distro that aims at maximizing
support for all CPU architectures.
I don't think anyone has ever _run_ Godot on a `ppc32` system (do those even
support OpenGL ES 3.0?) and so I don't think we should aim to support it.
Debian dropped support for its PowerPC (`ppc32`) arch in Debian 9, released
in 2017.
2025-05-14 10:22:12 +02: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
Fredia Huya-Kouadio
27bdc86ed1
Bump the NDK to version 28.1.13356709
...
Doing so automatically adds support for 16kib page to the Godot Android shared libraries.
See https://developer.android.com/guide/practices/page-sizes#compile-16-kb-alignment for details.
2025-05-13 08:27:36 -07: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
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