Commit Graph

7078 Commits

Author SHA1 Message Date
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
c376348b16 Fix the build logic to generate the native debug symbols 2025-07-05 10:38:22 -07:00
f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
eb2625cf57 Merge pull request #108243 from m4gr3d/fix_android_plugin_init
Android: Fix Android plugins regression
2025-07-04 10:09:06 -05:00
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
4f695e1713 Android: Don't exclude display cutout in immersive mode 2025-07-03 08:07:08 +05:30
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
d0042851f8 Move Web export threads options out of variant mk2 2025-07-01 15:42:58 -04:00
1338e29bf5 Android: Fix DisplayServer.get_display_safe_area() issues 2025-06-29 13:11:03 +05:30
9051b546c6 X11: Fix memory leak when using window embedding 2025-06-28 22:50:51 +08:00
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
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
c82f7feb53 Document that native file dialog is only available on Android 10+ devices. 2025-06-27 17:07:50 +05:30
1bea370df7 Add JNI variant conversion for generic Array 2025-06-26 19:16:52 +02:00
c56d131876 [Web] Poll controllers only if at least one is detected
Keeps the spirit of #105601
2025-06-26 08:33:25 -04:00
722accc5c8 Revert "Web: Avoid unnecessary gamepad polling when no gamepads are connected"
This reverts commit 3e7e09f915.
2025-06-26 08:07:29 -04:00
42733a2a5c Implement sparse bundle PCK support. 2025-06-26 00:47:25 +02:00
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
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
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
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
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
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
e7e5c2b832 [Web] Disregard touch events in pointer callbacks
Update library_godot_input.js

fix style
2025-06-24 18:17:50 +09:30
350b1936ee [macOS] Move keyboard layout related code to base display server. 2025-06-24 10:45:19 +03:00
a3f8a067a9 cleanup closed embedded processes on macos 2025-06-23 02:00:37 -07:00
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
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
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
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
7b4f98c9f7 Merge pull request #107112 from AThousandShips/fix_web_build
[Web] Fix build failure on Windows
2025-06-18 18:14:03 -05:00
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
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
939f29f6d5 Apple: Improve reliability of Apple Embedded build and deployment 2025-06-19 06:33:08 +10:00
b616e857aa [Web] Fix build failure on Windows 2025-06-17 11:05:45 +02:00
9e1e2fdbd5 Merge pull request #107550 from AdrienUfferte/fix-spelling
Fix spelling in comments
2025-06-16 01:52:48 +02:00
09f5be761c Add support for running hybrid apps from the XR editor 2025-06-15 07:05:12 -07:00
a11a64fbf4 Comments spelling fixes 2025-06-15 01:36:10 +02:00
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
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
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
dfb11f8cea [macOS] Add --path argument when instance is created by project started from editor. 2025-06-13 10:22:31 +03:00
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
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
ae33da972b Merge pull request #106709 from m4gr3d/fix_transparency_flags
Fix transparency background issue on Android
2025-06-12 23:32:44 +02:00
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
6845898461 Merge pull request #107385 from Alex2782/fix_vibrate_android
Fix `Input.vibrate_handheld` on Android.
2025-06-12 22:48:54 +02:00
1a64b6b5b6 Merge pull request #106913 from Ivorforce/string-resize-uninitialized
Rename `String::resize` to `resize_uninitialized`
2025-06-12 22:48:45 +02:00
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
f411c5b2f1 [Web] Add Web-build specific stdout header 2025-06-12 13:00:36 -04:00