1
0
Fork 0
Commit Graph

7280 Commits

Author SHA1 Message Date
Pāvels Nadtočajevs b9bafbd2ca
[macOS] Process joypad input directly in the embedded process. 2025-08-29 13:40:56 +03:00
Pāvels Nadtočajevs 9214cd879a
[macOS] Fix keyboard mapping init in embedded display server. 2025-08-29 10:28:37 +03:00
Thaddeus Crews 4ebf67c12d
Merge pull request #109818 from syntaxerror247/safe-area-regression
Fix safe area regression on older Android versions
2025-08-27 13:39:44 -05:00
Anish Mishra 3bc1fa0c37 Fix safe area regression on older Android versions 2025-08-27 21:14:48 +05:30
bruvzg 01d7abb9d0 [Windows] Save and restore window rect when switching to/from maximized+borderless mode. 2025-08-27 11:12:04 +03:00
Ricardo Sanchez-Saez 6d9983e958
[apple embedded] Replace individual iOS/visionOS Xcode templates by Apple embedded template 2025-08-25 12:42:34 -07:00
Thaddeus Crews 17fb6e3bd0
Merge pull request #109790 from adamscott/tentative-fix-for-109144
[Web] Fix `AudioStreamPlayer.get_playback_position()` returning incorrect values for samples
2025-08-25 09:54:18 -05:00
Thaddeus Crews 6db7f65110
Merge pull request #109819 from Nintorch/fix-get-connected-joypads
Fix DirectInput controllers on game startup
2025-08-25 09:54:17 -05:00
clayjohn 70d9c2eb22 Revert "[Web] Disregard touch events in pointer callbacks"
This reverts commit e7e5c2b832.
2025-08-24 11:11:53 -07:00
Thaddeus Crews 88547a19e8
Merge pull request #109857 from bruvzg/dbus_init
[Linux/BSD] Initialize DBus only once.
2025-08-22 14:00:49 -05:00
Thaddeus Crews 1d204f1fc7
Merge pull request #109724 from bruvzg/mac_emb_app_focus
[macOS] Forward application focus events to the embedded process.
2025-08-22 12:35:35 -05:00
ArchercatNEO 188b47a29b Wayland: Implement the xdg-toplevel-icon-v1 protocol
Closes #87747
Requires a compositor which supports xdg-toplevel-icon-v1.
As of this commit only KWin supports this protocol.
2025-08-22 09:45:28 +01:00
Pāvels Nadtočajevs 0edb6bd4a0
[Linux/BSD] Initialize DBus only once. 2025-08-22 09:26:11 +03:00
Thaddeus Crews b432e108d5
Merge pull request #109791 from Talkashie/master
Typo cleanup pass
2025-08-21 18:39:37 -05:00
Thaddeus Crews d86369a865
Merge pull request #109723 from bruvzg/macos_rm
[macOS] Remove FEATURE_MOUSE from embedded display server.
2025-08-21 06:24:26 -05:00
Nintorch dd2e1b104b Fix DirectInput controllers on game startup
Now SDL and DirectInput don't complain when a game starts with a DirectInput controller already connected. Fixes "JoypadSDL::process_events: Error opening gamepad at index 1: IDirectInputDevice8::SetCooperativeLevel() DirectX error 0x80070006"
2025-08-21 13:21:48 +05:00
Pāvels Nadtočajevs 6e76a9467f
[macOS] Always use "Regular" activation policy for GUI, and headless main loop for command line only tools. 2025-08-20 10:07:33 +03:00
Talkashie bc7e68dfd1 Typos 2025-08-19 18:32:59 -05:00
Adam Scott 21dd72bc21
[Web] Fix `AudioStreamPlayer.get_playback_position()` returning incorrect values for samples 2025-08-19 19:30:49 -04:00
Thaddeus Crews 28bd72a7e1
Merge pull request #109758 from Repiteo/scons/dlltool-fix
SCons: Fix `dlltool` on Windows MinGW builds
2025-08-19 10:29:47 -05:00
Thaddeus Crews d9a77a42ee
SCons: Fix `dlltool` on Windows MinGW builds
- Expand `env.Run` function to accept optional command string, because we can't just call `env.Action` for some reason
2025-08-18 18:49:50 -05:00
Pāvels Nadtočajevs 98bef37f55
Use org.a11y.Status/ScreenReaderEnabled on Linux. 2025-08-18 17:36:49 +03:00
Pāvels Nadtočajevs ba097ffd49
[macOS] Remove FEATURE_MOUSE from embedded display server. 2025-08-18 14:22:16 +03:00
Pāvels Nadtočajevs 7858030975
[macOS] Forward application focus events to the embedded process. 2025-08-18 13:01:05 +03:00
Pāvels Nadtočajevs 274f88c5b8
[Windows] Fix color picker on old versions of Windows 10. 2025-08-18 09:23:31 +03:00
Thaddeus Crews a02ff4402e
Merge pull request #109577 from AdriaandeJongh/clarify-build-version
[Docs] Mention 'build version' in iOS, macOS, and visionOS export docs
2025-08-14 09:28:00 -05:00
Anish Mishra 1763b43dca
Android: Fix build command in standard AAB export 2025-08-14 17:13:21 +05:30
Thaddeus Crews 90ba13bd0b
Merge pull request #109528 from syntaxerror247/drive-selection-issue
Fix drive selection issue on Android
2025-08-13 18:42:13 -05:00
Adriaan de Jongh a8bcf40c40 mention 'build version' in iOS, macOS, and visionOS export docs 2025-08-13 23:22:31 +02:00
Anish Mishra 097ccbc5cd Android: Only validate keystore relevant to current export mode
- Debug builds skip release keystore validation.
- Release builds skip debug keystore validation.
2025-08-13 13:35:50 +05:30
Thaddeus Crews 29ff6c3469
Merge pull request #107681 from m4gr3d/revert_remove_compress_native_lib_option
Revert the removal of the `gradle_build/compress_native_libraries` export option
2025-08-12 11:46:33 -05:00
Fredia Huya-Kouadio 74eba7a770 Revert the removal of the `gradle_build/compress_native_libraries` export option 2025-08-11 19:01:11 -07:00
Anish Mishra 0ad232423d Android: Add method to set root window color at runtime 2025-08-11 22:25:53 +05:30
Anish Mishra 5bcf9a5a57 Fix drive selection issue on Android 2025-08-11 21:47:00 +05:30
Pāvels Nadtočajevs 3b813d08b5
[macOS] Fix `warp_mouse` in game mode. 2025-08-10 11:38:25 +03:00
h1v9 b787b0dbb5
Thread Syncronization for FileAccessHandler and DirectoryAccessHandler
- Switching to ReentrantLock
- Thread locking for DirectoryAccessHandler (dependencies)

Newline @ EOF

Forgot import

Revert

Better locking

Forgot return

Restore last empty line
2025-08-07 13:08:53 -05:00
Thaddeus Crews b7f5ddd256
Merge pull request #109300 from bruvzg/win_ndrag_rel
[Windows] Release mouse buttons after native window drag/resize operation.
2025-08-06 12:01:18 -05:00
Pāvels Nadtočajevs 9f8626ccaa
[Windows] Try reading GPU driver information directly from registry. 2025-08-06 08:01:05 +03:00
Pāvels Nadtočajevs 33c92af2b5
[Windows] Release mouse buttons after native window drag/resize operation. 2025-08-04 15:14:27 +03:00
Pāvels Nadtočajevs 7c81d43b10
[Windows] Additionally use `cpuid` instruction to detect SSE4.2 support. 2025-08-03 22:13:59 +03:00
Thaddeus Crews ca515cf650
Merge pull request #108373 from Nintorch/fix-sowrap-enabled
Fix the usage of udev and dbus with SDL joystick input driver
2025-08-03 10:51:17 -05:00
Thaddeus Crews 4b23f09e2f
Merge pull request #109267 from syntaxerror247/misc
Android: Misc changes
2025-08-03 10:51:15 -05:00
Thaddeus Crews a6e6d133ab
Merge pull request #109227 from limbonaut/harden-jni-find-class
Harden jni_find_class() and its setup/cleanup
2025-08-03 10:51:09 -05:00
Thaddeus Crews a0c7127829
Merge pull request #109162 from bruvzg/android_tts
Fix Android TTS on-demand init.
2025-08-03 10:51:08 -05:00
Thaddeus Crews 321f2391d9
Merge pull request #108384 from adamscott/fix-sample-deletion
[Web] Fix sample playback deletion and `AudioStreamPolyphonic` issue
2025-08-03 10:50:49 -05:00
Anish Mishra ae678b4085 Android: Misc changes 2025-08-03 13:09:10 +05:30
Serhii Snitsaruk 4749ce1637
Harden jni_find_class() and its setup/cleanup 2025-08-02 09:52:08 +02:00
Serhii Snitsaruk fa36abeacc
Fix FindClass() failing to find Dictionary on Android leading to crash 2025-08-01 17:46:58 +02:00
Pāvels Nadtočajevs 4915d61362
Fix Android TTS on-demand init. 2025-07-31 17:11:12 +03:00
Nintorch 0e19ad507e Fix the usage of libudev and dbus with SDL
Previously, libudev was ignored if SOWRAP_ENABLED was defined (it is defined by default) because otherwise it would crash CI builds due to a missing header, and dbus was always linked dynamically. This commit should fix this issue and make libudev usable again
2025-07-31 15:05:06 +05:00
Thaddeus Crews ec8e6aeb82
Merge pull request #108557 from syntaxerror247/Fix-system-bar-regression
Android: Fix system bar regression
2025-07-30 09:03:37 -05:00
Stuart Carnie c62ad8dc65 MacOS: Fix embedded screen_get_scale API 2025-07-30 06:06:15 +10:00
Anish Mishra 0506299c21 Android: Add option to change background color and fix system bar regression 2025-07-29 09:27:16 +05:30
Pāvels Nadtočajevs 838cb0eefc
[macOS] Add support for exporting macOS 26 Liquid Glass icons. 2025-07-28 14:35:48 +03:00
Thaddeus Crews 8b2739ee55
Merge pull request #108956 from m4gr3d/misc_xr_editor_updates
Update the OpenXR Vendors plugin for the XR editor to the latest stable version
2025-07-27 10:28:35 -05:00
Adam Scott 09a9024658
[macOS] Add Tahoe 26.0 to version alias 2025-07-25 14:25:52 -04:00
Fredia Huya-Kouadio 291b89686d Update the OpenXR Vendors plugin for the XR editor to the latest stable version 2025-07-24 18:32:26 -07:00
Thaddeus Crews fc9bd38293
Merge pull request #108874 from adamscott/runtime-free
[Web] Fix inappropriate `memfree()` use
2025-07-24 14:23:43 -05:00
Thaddeus Crews e0603aeda3
Merge pull request #108796 from syntaxerror247/get-clipboard-crash
Android: Run clipboard tasks on UI thread
2025-07-23 13:27:12 -05:00
Thaddeus Crews 9471a4ace7
Merge pull request #108659 from jdavasligil/x11-unicode-keysym-fix
Add keypad codes to the keysym unicode map.
2025-07-23 13:27:09 -05:00
Thaddeus Crews cc4e6dd612
Merge pull request #107460 from adamscott/fix-emscripten-webxr
[Web] Fix Emscripten for WebXR and update minimum version
2025-07-23 13:27:01 -05:00
Adam Scott 793258919b
[Web] Fix Emscripten for WebXR and update minimum version 2025-07-22 14:02:44 -04:00
Adam Scott acc989f711
[Web] Fix inappropriate `memfree()` use 2025-07-22 13:28:58 -04:00
Thaddeus Crews 3843a30b53
Merge pull request #108825 from bruvzg/fix_run_opt_icons
Fix editor one-click icons not showing.
2025-07-22 11:20:10 -05:00
Thaddeus Crews 8d04657ec8
Merge pull request #108692 from m4gr3d/fix_debugger_immediate_disconnect
Fix debugger immediate disconnect
2025-07-22 11:20:08 -05:00
Thaddeus Crews 04524f4748
Merge pull request #108747 from adamscott/fix-web-mousewheel-scrolling
[Web] Fix Web MouseWheel scrolling
2025-07-22 11:20:05 -05:00
Anish Mishra 67b45299c7 Android: Run clipboard tasks on UI thread
Fixes crashes on older Android versions (API level <= 27) by ensuring
that all clipboard operations are executed on the UI thread.
2025-07-22 20:58:22 +05:30
Fredia Huya-Kouadio d47e3fd3bf Misc XR editor updates:
- Bump the OpenXR Vendors plugin version to `4.1.0-stable`
- Include `quest2` in the supported devices manifest config
2025-07-21 11:17:48 -07:00
Adam Scott 6e5994eca8
[Web] Fix Web MouseWheel scrolling 2025-07-21 11:10:42 -04:00
Pāvels Nadtočajevs e407f55fbf
Fix editor one-click icons not showing. 2025-07-21 12:18:44 +03:00
Fredia Huya-Kouadio f713a20c94 Fix debugger immediate disconnect
Address https://github.com/godotengine/godot/issues/108518
2025-07-18 15:12:37 -07:00
jdavasligil 93cd0a136f Add keypad codes to the keysym unicode map #74578 2025-07-18 14:30:28 -07:00
Thaddeus Crews 71a9948157
Merge pull request #108287 from syntaxerror247/fix-virtual-keyboard-height
Fix immersive mode and virtual keyboard height issue on Android
2025-07-18 11:05:19 -05:00
Thaddeus Crews d6f031b805
Merge pull request #108729 from m4gr3d/setup_mavencentral_debug_upload
Add a debug version for Godot's maven central artifact
2025-07-18 11:05:16 -05:00
Adam Scott 8420468647
[Web] Disable GDScript LSP 2025-07-18 11:14:58 -04:00
Fredia Huya-Kouadio 2509b2f457 Add a debug version for Godot's maven central artifact 2025-07-17 17:17:40 -07:00
Thaddeus Crews 4b8e025023
Merge pull request #108696 from bruvzg/maco_full_headless
[macOS] Do not use NSApplication main loop for headless mode.
2025-07-17 10:34:49 -05:00
Thaddeus Crews 24ad16c2fc
Merge pull request #108472 from bruvzg/win_proj_ver
[Windows export] Use project version as fallback.
2025-07-17 10:34:49 -05:00
Thaddeus Crews ca374f91a2
Merge pull request #108624 from bruvzg/mac_emb
[macOS] Fix mouse enter/exit event and custom cursor shape in embedded game mode.
2025-07-17 10:34:47 -05:00
Pāvels Nadtočajevs 8b045ca8fe
[macOS] Do not use NSApplication main loop for headless mode. 2025-07-17 08:42:55 +03:00
Anish Mishra d8d3c86d71 Fix Immersive mode and keyboard height issues on Android 2025-07-16 23:31:47 +05:30
Thaddeus Crews 64c58c225a
Merge pull request #107473 from m4gr3d/address_transparency_feedback
Address remaining feedback on Android background transparency
2025-07-16 11:27:54 -05:00
Pāvels Nadtočajevs f20e5152ad
[EditorExportPlatform] Move initialization to a dedicated method. 2025-07-16 08:55:23 +03:00
Thaddeus Crews 16dde54635
Merge pull request #108637 from bruvzg/lto_fix_sse42
[Windows] Fix SSE4.2 detection with LTO build.
2025-07-15 16:58:37 -05:00
Pāvels Nadtočajevs 6ec518dfc4
[Windows] Fix SSE4.2 detection with LTO build. 2025-07-15 17:23:35 +03:00
kobewi d591bcc09c Remove unnecessary cpp files 2025-07-15 15:19:23 +02:00
Thaddeus Crews af4e96b1b3
Merge pull request #108604 from deralmas/fitting-shenanigans
Wayland: Workaround tooltip issues
2025-07-15 08:04:27 -05:00
Pāvels Nadtočajevs 090e0347f0
[macOS] Fix mouse enter/exit event and custom cursor shape in embedded game mode. 2025-07-15 10:19:59 +03:00
Thaddeus Crews 61956f2e06
SCons: Ensure `CPPDEFINES` is properly utilized 2025-07-14 13:07:53 -05:00
Dery Almas 98537b2e0c Wayland: Fix error condition in window_get_current_screen
Leftover from when the Wayland backend was single-window only.
2025-07-14 15:56:43 +02:00
Pāvels Nadtočajevs e363601226
[Windows] Add SSE4.2 support runtime check. 2025-07-13 12:58:29 +03:00
Thaddeus Crews fb26c2603b
Merge pull request #108329 from m4gr3d/fix_android_eof_detection
Android: Fix the EOF detection logic
2025-07-10 11:39:25 -05:00
Thaddeus Crews 6c2f057fb4
Merge pull request #108455 from bruvzg/win_exp_symbols
[Windows export] Move debug symbol sections on export.
2025-07-10 11:39:22 -05:00
Pāvels Nadtočajevs 2dcdbd3416
[Windows export] Move debug symbol sections on export. 2025-07-10 18:06:30 +03:00
Adam Scott 1328921e04
[Web] Fix sample playback deletion and `AudioStreamPolyphonic` issue 2025-07-10 08:46:34 -04:00
Pāvels Nadtočajevs 4a08cdcff0
[Windows export] Use project version as fallback. 2025-07-10 12:54:37 +03:00
Anish Mishra 836b762e23 Fix Android splash theme regression 2025-07-09 23:33:21 +05:30
Thaddeus Crews 75bcb643c2
Merge pull request #108172 from adamscott/move-threads-options
Move Web export threads options out of variant mk2
2025-07-09 11:33:14 -05:00
Fredia Huya-Kouadio 3a36726feb Update the maven publishing configuration following the deprecation of the OSSHR service
https://central.sonatype.org/news/20250326_ossrh_sunset/
2025-07-07 15:57:04 -07:00
Fredia Huya-Kouadio 3ade4b4b63 Address remaining feedback on https://github.com/godotengine/godot/pull/106709
Address https://github.com/godotengine/godot/pull/106709#discussion_r2114489487
2025-07-07 12:11:21 -07:00
Fredia Huya-Kouadio 2cfe31f9a1 Fix the EOF detection logic on Android
The current logic was causing loading to omit the last character because the EOF flag was triggered too early.
2025-07-06 01:09:33 -07:00
Fredia Huya-Kouadio c376348b16 Fix the build logic to generate the native debug symbols 2025-07-05 10:38:22 -07:00
A Thousand Ships f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Thaddeus Crews eb2625cf57
Merge pull request #108243 from m4gr3d/fix_android_plugin_init
Android: Fix Android plugins regression
2025-07-04 10:09:06 -05:00
Fredia Huya-Kouadio bbf22a39c1 Assign the `primaryHost` prior to initializing the registered Android plugins.
Address a regression introduced in https://github.com/godotengine/godot/pull/102866.
The proper behavior for Android plugins is to use `getContext` instead of `getActivity`, but since not all plugins follow this pattern, this fix provides backward compat to avoid breaking the plugins that don't.
2025-07-03 09:43:24 -07:00
Anish Mishra 4f695e1713 Android: Don't exclude display cutout in immersive mode 2025-07-03 08:07:08 +05:30
Thaddeus Crews 4c42faa202
Merge pull request #108082 from timothyqiu/x-query-tree
X11: Fix memory leak when using window embedding
2025-07-01 17:57:58 -05:00
Adam Scott d0042851f8
Move Web export threads options out of variant mk2 2025-07-01 15:42:58 -04:00
Anish Mishra 1338e29bf5 Android: Fix `DisplayServer.get_display_safe_area()` issues 2025-06-29 13:11:03 +05:30
Haoyu Qiu 9051b546c6 X11: Fix memory leak when using window embedding 2025-06-28 22:50:51 +08:00
Thaddeus Crews 72ab203c79
Merge pull request #108019 from limbonaut/fix-jni-generic-array-conversion
Add missing JNI variant conversion for generic Array
2025-06-27 09:39:56 -05:00
Thaddeus Crews 1632c98226
Merge pull request #108043 from syntaxerror247/native-file-dialog
Document that `native file dialog` is only available on Android 10+ devices.
2025-06-27 09:39:51 -05:00
Anish Mishra c82f7feb53 Document that `native file dialog` is only available on Android 10+ devices. 2025-06-27 17:07:50 +05:30
Serhii Snitsaruk 1bea370df7
Add JNI variant conversion for generic Array 2025-06-26 19:16:52 +02:00
Adam Scott c56d131876
[Web] Poll controllers only if at least one is detected
Keeps the spirit of #105601
2025-06-26 08:33:25 -04:00
Adam Scott 722accc5c8
Revert "Web: Avoid unnecessary gamepad polling when no gamepads are connected"
This reverts commit 3e7e09f915.
2025-06-26 08:07:29 -04:00
Pāvels Nadtočajevs 42733a2a5c
Implement sparse bundle PCK support. 2025-06-26 00:47:25 +02:00
Rémi Verschelde 30456ba095
Merge pull request #107948 from adamscott/reintroduce-sample-position-worklet-pooling
[Web] Fix Webkit leak caused by the position reporting audio worklets
2025-06-25 11:47:11 +02:00
Pāvels Nadtočajevs 71dd7b5712
Fix SDL threading on macOS/Linux.
And fixup pkg-config check for SDL on Linux.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-06-25 10:36:39 +02:00
Nintorch 0b3496fb4f
Add support for SDL3 joystick input driver
Made possible by EIREXE, xsellier and the SDL team.

This commit includes statically linked SDL3 for Windows, Linux and macOS.
The vendored copy of SDL3 was setup to only build the required subsystems
for gamepad/joystick support, with some patches to be able to make it as
minimal as possible and reduce the impact on binary size and code size.

Co-authored-by: Álex Román Núñez <eirexe123@gmail.com>
Co-authored-by: Xavier Sellier <xsellier@gmail.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-06-25 01:28:50 +02:00
Adam Scott b58c6c829b
[Web] Fix Webkit leak caused by the position reporting audio worklets
Co-authored-by: PizzaLovers007 <trex@parkvue.com>
2025-06-24 14:49:02 -04:00
Thaddeus Crews f7d33b490d
Merge pull request #107837 from Airyzz/airyzz/web-pen-pressure
[Web] Disregard touch events in pointer callbacks
2025-06-24 09:58:44 -05:00
Thaddeus Crews 892e61857b
Merge pull request #107926 from bruvzg/move_more_ds
[macOS] Move keyboard layout related code to base display server.
2025-06-24 09:58:38 -05:00
Airyzz e7e5c2b832 [Web] Disregard touch events in pointer callbacks
Update library_godot_input.js

fix style
2025-06-24 18:17:50 +09:30
Pāvels Nadtočajevs 350b1936ee
[macOS] Move keyboard layout related code to base display server. 2025-06-24 10:45:19 +03:00
Adam Johnston a3f8a067a9 cleanup closed embedded processes on macos 2025-06-23 02:00:37 -07:00
Rémi Verschelde 260190c057
Merge pull request #107742 from m4gr3d/address_api_35_ui_issues
Android: Address API 35 UI behavior changes
2025-06-22 11:59:12 +02:00
Riteo Siuga b60b68055f Wayland: Fix division by zero when scale is less than 1
The `Vector2i` division operator casts doubles down to `int32_t`. It
would thus truncate the fractional scale factor to 0 if less than 1,
resulting in a FPE on x86_64.
2025-06-21 03:09:51 +02:00
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