Commit Graph

6985 Commits

Author SHA1 Message Date
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
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
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 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