Commit Graph

2072 Commits

Author SHA1 Message Date
2d86b69bf1 Merge pull request #112507 from Benjamin-Dobell/fix/android-assets-pck-loading
Android: Fix loading sparse `.pck` from `assets://`
2025-11-10 08:20:25 -06:00
57311e717a Merge pull request #112556 from m4gr3d/fix_editor_crash_on_exit
[Android editor] Fix editor crash on exit
2025-11-10 08:20:07 -06:00
8c469be225 Fix editor crash on exit 2025-11-08 10:57:19 -08:00
b8a8f8b35a Allow localizing the application name with project translations 2025-11-08 13:06:55 +08:00
84365402f8 Android: Fixed assets:// access i.e. fixed .pck from assets:// 2025-11-07 23:42:22 +11:00
0cad83f7e7 Merge pull request #112398 from LanzaSchneider/patch-5
Fix compile error with android export plugin
2025-11-06 08:13:14 -06:00
8d6a76154e Fix compile error with android export plugin 2025-11-06 09:03:41 +08:00
5e07b74bf5 Update Android build tools to version 35.0.1 2025-11-05 14:29:56 +01:00
90cab74af9 Merge pull request #110248 from KoBeWi/unexpected_include_hell
Misc cleanup in EditorExportPlatform
2025-11-04 16:32:39 -06:00
700aa5cee2 Merge pull request #112036 from MBCX/report-supported-api-android
Change API 21 references to API 24
2025-11-04 16:32:35 -06:00
b0cb297cde Fix 64-bit integers being truncated to 32-bit in JNI 2025-10-30 22:57:53 +01:00
1c1c3200e4 Misc cleanup in EditorExportPlatform 2025-10-29 22:25:37 +01:00
1e481b2d14 Removed API 21 references and simplified messages 2025-10-27 10:42:56 -04:00
cc008b288a Merge pull request #110829 from m4gr3d/javaclasswrapper_regression_tests
Add Android instrumented tests to the `app` module
2025-10-24 11:23:08 -05:00
9d2b619f51 Merge pull request #108737 from bruvzg/adb_scrcpy
[Android] Add export option to use "scrcpy" to run project from editor.
2025-10-24 11:23:03 -05:00
16bdc8c4f1 Add Android instrumented tests to the app module
This builds on the work from @dsnopek in https://github.com/dsnopek/javaclasswrapper-test, by importing the set of JavaClassWrapper tests from that repo within the Godot core repo in order to bootstrap and standardize how we write and run Android instrumented tests.
The approach used here should serve as a base to build upon to expand the set of instrumented tests used to validate the project's stability.

Co-authored-by: David Snopek <dsnopek@gmail.com>
2025-10-24 07:46:22 -07:00
5277c94fe4 Update the source sets configuration for the app and lib modules to match the default configuration
Both the `app` and `lib` modules had custom source sets configuration originating from the early days of the project. This updates the configuration to match the default Android Studio configuration which will simplify the addition of unit tests and instrumented tests to the project.

Note that for backcompat reasons, some folders (such as the `res` folder in the `app` module) are left as is.
2025-10-24 07:44:19 -07:00
4483871cd3 Android: Stabilize camera lifecycle handling
- Pause camera feeds during lifecycle transitions to avoid crashes
- Refresh camera metadata after rotation to keep orientation accurate
2025-10-23 01:32:16 +09:00
70f07467be Merge pull request #110127 from AayushSarikhada/android-back-gesture-fail-fix
Fix Android back gesture failing after keyboard dismissal
2025-10-21 19:09:27 -05:00
58a64124e8 Merge pull request #111135 from m4gr3d/add_emit_signal_overload
[Android] Minor updates to the `GodotPlugin` APIs
2025-10-21 15:10:55 -05:00
06e7ac969c Merge pull request #111688 from Alex2782/android_export_webp
Fix custom icon in Android export
2025-10-21 10:27:04 -05:00
e6eb49834d Merge pull request #111296 from syntaxerror247/speed-control
Android Editor: Add game speed control options in game menu bar
2025-10-21 10:27:02 -05:00
4501f0f0fe Android Editor: Add game speed control options in game menu bar 2025-10-20 10:23:03 +05:30
60710df3b6 Merge pull request #94047 from KoBeWi/resource_printer
Improve `to_string()` and add it to Resource
2025-10-16 12:48:11 -05:00
ede217754a Fix custom icon in Android export 2025-10-15 20:38:17 +02:00
f7263b9517 [Android] Add export option to use "scrcpy" to run project from editor. 2025-10-14 15:12:48 +03:00
d3285f5468 Merge pull request #111185 from WhalesState/vp-disable-xr
More XR disable for Viewport and export.
2025-10-13 19:28:56 -05:00
b9c3b1d4c0 Misc improvements to the GodotPlugin API
- Add overload method for `GodotPlugin#emitSignal(...)`
- Allow passing `null` values as signal arguments
2025-10-11 23:16:31 -07:00
e6783dbdd1 Improve to_string() and add it to Resource 2025-10-09 00:54:38 +02:00
9894256e3a More XR disable for Viewport and export. 2025-10-06 20:15:07 +03:00
5935a32e32 Core: Cleanup headers in core/config
- `MainLoop` now forward-declared in `OS`
2025-10-06 09:20:56 -05:00
d1d28c0bcf Merge pull request #111223 from Ivorforce/remove-iterator-include
Replace `std::size` usage with `std_size` to avoid `<iterator>` include.
2025-10-06 09:06:49 -05:00
fa1c53bb8e Merge pull request #111204 from syntaxerror247/suspend-btn
Android Editor: Update suspend button icon in GameMenuBar
2025-10-06 09:06:46 -05:00
9d44b68867 Remove rw_lock.h and rb_map.h includes from object.h. 2025-10-05 23:29:04 +02:00
1db0a60dc0 Replace std::size usage with std_size to avoid <iterator> include. 2025-10-05 00:26:11 +02:00
4b519317cd Android Editor: Update suspend button icon in GameMenuBar 2025-10-03 15:59:37 +05:30
3d1c9fd5de Move server files into their subfolders 2025-09-30 19:39:39 -07:00
5240f1c283 Merge pull request #108658 from bruvzg/ed_pl_init
[EditorExportPlatform] Move initialization to a dedicated method.
2025-09-30 18:35:25 -05:00
ef4863ab97 Merge pull request #109764 from ydeltastar/android-fragment-fix
Android: Ensure proper cleanup of the fragment
2025-09-28 10:07:48 -05:00
f6fc2f4a08 Core: Remove skip_cr argument from String 2025-09-28 10:07:24 -05:00
9283328fe7 Merge pull request #109491 from syntaxerror247/window-color
Android: Add method to set root window color at runtime
2025-09-26 13:47:32 -05:00
3a16864c33 Merge pull request #107075 from m4gr3d/implement_javaclasswrapper_has_method
[Android] `JavaClassWrapper` bug fixes
2025-09-26 13:47:31 -05:00
6a3d37ef1c Android: Ensure proper cleanup of the fragment 2025-09-26 10:18:11 -03:00
e366471fdc Add GDSOFTCLASS to deeper inheritors of Object 2025-09-24 19:15:56 +01:00
35fda7f857 Fix JNI local reference table overflow when wrapping Java class with large method counts 2025-09-23 12:23:26 -04:00
72a9d2128f Replace Android icons with lossless WebP files
See https://developer.android.com/develop/ui/views/graphics/reduce-image-sizes#webp. From a precursory glance the minimum API level for Godot is 24, which should support this.
2025-09-22 20:33:16 +02:00
91befbbc52 Optimize PNG assets
Losslessly optimizes the PNG assets with oxipng, defluff and DeflOpt.

Tests and third party imports are omitted.
2025-09-22 20:33:16 +02:00
0622cee189 Implement has_java_method(...) for JavaClassWrapper and JNISingleton 2025-09-22 00:01:50 -04:00
d61a337a70 Improve usage of String.split() vs get_slice() 2025-09-19 16:31:55 +02:00
78d1539709 Merge pull request #110452 from limbonaut/prevent-jni-variant-conv-stack-overflow
Prevent JNI Variant conversion stack overflow
2025-09-19 09:17:05 -05:00