2250 Commits

Author SHA1 Message Date
noahbackus 9714a6fe79 Merged upstream 4.7 into downstream 4.6
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
2026-06-27 13:51:14 -04:00
Fredia Huya-Kouadio fff89b78e7 Update download URL for GABE 2026-06-03 11:59:10 -07:00
KOGA Mitsuhiro fcc194c585 Android: Fix infinite recursion in proxy equals handler
Kotlin's `==` on the proxy compiles to `proxy.equals(args[0])`, which
the JDK proxy dispatches back through the InvocationHandler, hitting
the same branch and recursing into StackOverflowError. Use `===` for
reference equality, matching the default Object#equals behavior.
2026-05-22 22:22:45 +09:00
Muteem 471a4a79c0 Android: Fix ClassCastException in proxy hashCode when ObjectID is returned as Long
Object.hashCode() must return Int (32-bit), but the proxy InvocationHandler
returned godotObjectID directly (Long, 64-bit). When a HashMap-like container
called proxy.hashCode(), the auto-generated proxy did (Integer) result on a
java.lang.Long and threw ClassCastException.

Signed-off-by: Muteem <29696635+Muteem@users.noreply.github.com>
2026-05-22 22:20:52 +09:00
Muteem 08c08bfef2 Android: Fix NPE when proxy interface method has no arguments
JDK contract: InvocationHandler.invoke's args parameter is null when
the proxied interface method takes no arguments. The proxy handlers
in AndroidRuntimePlugin used `*args` directly, which spread-deref'd
null and threw NullPointerException.

Signed-off-by: Muteem <29696635+Muteem@users.noreply.github.com>
2026-05-20 16:23:30 +08:00
Thaddeus Crews 8ae90e9442 Merge pull request #119495 from m4gr3d/fix_main_path_use_for_android
[Android] Fix the use of `--main-pack` in template builds
2026-05-18 11:06:25 -05:00
Fredia Huya-Kouadio 948032c89c [Android] Fix the use of --main-pack 2026-05-15 23:03:54 -07:00
Michael Alexsander 088cd1faa4 Fix wrong path in EditorExportPlugin._export_begin() when zipping 2026-05-14 19:44:40 -03:00
Thaddeus Crews 9a33066a27 Merge pull request #119297 from m4gr3d/misc_bug_fixes
[Android] Miscellaneous bug fixes
2026-05-13 09:53:54 -05:00
Anish Kumar 1f5c3cbb7f Fix Android plugin signal regression 2026-05-13 04:29:11 +05:30
Fredia Huya-Kouadio ca46bafc51 Fix the command line parsing logic for the --main-pack argument 2026-05-06 13:11:35 -07:00
Thaddeus Crews cb490e6e23 Merge pull request #119172 from syntaxerror247/gabe-ready-for-release
Remove experimental warning from `Use Gradle Build` option on Android
2026-05-06 10:53:35 -05:00
Anish Kumar 9ecaf9307f Remove experimental warning from Use Gradle Build option on Android 2026-05-06 17:23:31 +05:30
Fredia Huya-Kouadio 51876c561c Set the Game window to a different task affinity than the Editor window.
This allows to distinguish between both running activities in the `Recent Apps` screen.
2026-05-05 17:54:17 -07:00
Anish Kumar 7338c3475b Fix Android plugin regression 2026-05-05 20:17:57 +05:30
Anish Kumar d8cfa71eaf Add tests to validate Android plugin signal 2026-05-05 20:17:57 +05:30
Thaddeus Crews d8227b7a78 Merge pull request #118860 from syntaxerror247/editor-minsdk-revert
Revert Android Editor minSdk bump to 24
2026-04-27 12:05:42 -05:00
Anish Kumar bb63952a5f Revert Android Editor minSdk bump to 24 2026-04-25 22:24:53 +05:30
Anish Kumar b236b0950b Android: Set the default minSdk for compatibility renderer to 24 2026-04-25 10:59:35 +05:30
Anish Kumar eec5730b32 Fix embedded window minimum size bug on Android 2026-04-17 22:04:51 +05:30
Thaddeus Crews f4c839f7b3 Merge pull request #118417 from syntaxerror247/resize-and-move
Allow moving and resizing the embedded game window on Android
2026-04-16 09:41:10 -05:00
Anish Kumar eb3d2940e3 Allow moving and resizing the embedded game window on Android 2026-04-15 22:18:12 +05:30
Rémi Verschelde 972d21ebf4 Merge pull request #118283 from m4gr3d/deprecate_and_remove_obb
Android: Remove deprecated Google Play OBB support
2026-04-15 12:40:59 +02:00
Thaddeus Crews 8d80b74623 Merge pull request #118514 from bruvzg/be
Remove unused and broken big endian support code.
2026-04-13 11:46:02 -05:00
Pāvels Nadtočajevs cdd274199e Remove unused and broken big endian support code. 2026-04-13 12:41:46 +03:00
Fredia Huya-Kouadio f06290bbfa Enable 'perfetto' by default for Android debug builds. 2026-04-12 12:41:50 -07:00
Fredia Huya-Kouadio 31b595cd5e Deprecate and remove obb support
The current obb support was specific to the Google Play store which has deprecated the format in favor on Android bundle and Play asset delivery.
For projects that still have a dependency on the Play store obb support, the deprecated logic has been moved into a separate Godot Obb Android plugin.
2026-04-10 12:25:44 -07:00
Anish Kumar ee82a8f69d Android: Add export options to customize splash screen 2026-04-09 11:39:36 +05:30
Fredia Huya-Kouadio 50f6eff29b [Android] Clean up Godot.kt by moving natively accessed methods to the (new) GodotNativeBridge.kt internal class 2026-04-08 10:24:37 -07:00
Thaddeus Crews 9dd0719d30 Merge pull request #117341 from FarizzDev/add-android-export-etc2-astc-error-message
Android export: Add error message when ETC2/ASTC compression is not enabled
2026-04-08 09:25:20 -05:00
FarizzDev c454b4aebf Android export: add error message when ETC2/ASTC compression is not enabled
When `rendering/textures/vram_compression/import_etc2_astc` is disabled
in Project Settings, the Android export would silently fail with only a
generic "configuration errors" message, giving no indication of what
needed to be fixed.

This was especially problematic for headless/CI exports where there is
no visual feedback at all.
2026-04-08 13:57:40 +00:00
Thaddeus Crews 5c2b6814ea Merge pull request #117653 from m4gr3d/fix_back_navigation_handling
[Android] Fix handling of back navigation when targeting API level 36
2026-04-07 18:21:45 -05:00
Fredia Huya-Kouadio ea070aceec [Android] Fix handling of back navigation when targeting API level 36 2026-04-07 10:03:28 -07:00
Rémi Verschelde 7567211e8b GLES3: Split EGL includes in platform_egl.h
EGL brings in platform-specific headers such as the dreaded `windows.h`,
and `platform_gl.h` is used throughout `drivers/gles3` for basic OpenGL
types such as `GLuint`. We don't want `windows.h` pollution there.

Note for Android: EGL seems used explicitly only via `rasterizer_gles3.cpp`
to enable GL debug printing, and some custom stuff in `config.cpp`.
2026-04-07 12:07:22 +02:00
Thaddeus Crews a490c267a2 Merge pull request #115498 from m4gr3d/add_javaclasswrapper_proxy_interfaces
Android: Allow implementing java interfaces from GDScript
2026-04-01 12:55:15 -05:00
Fredia Huya-Kouadio 70c684a063 Allow implementing java interfaces from GDScript 2026-03-30 11:49:43 -07:00
Thaddeus Crews a644e7ff38 Merge pull request #114861 from dalexeev/improve-editor-only-class-checking
Improve editor-only class checking
2026-03-30 13:35:14 -05:00
Rémi Verschelde 40b218a679 Merge pull request #117643 from m4gr3d/android_editor_bug_fixes
[Android] Follow up fixes to enabling orientation change in the script editor
2026-03-26 16:01:30 +01:00
Danil Alexeev 32d1f518fa Improve editor-only class checking 2026-03-25 17:07:39 +03:00
Rémi Verschelde 0f53286459 Merge pull request #117682 from syntaxerror247/sigal-registration-issue
Fix plugin signal registration error on Android
2026-03-23 22:35:50 +01:00
Fredia Huya-Kouadio c214ef348a [Android] Follow up fixes to enabling orientation change in the script editor
- Fix project manager crash when rotating the device
- Fix title bar disappearing when rotating large screen devices (tablet and foldables)
2026-03-20 12:06:47 -07:00
Anish Kumar 2e208489e7 Fix plugin signal registration error on Android 2026-03-21 00:07:37 +05:30
Thaddeus Crews fb4a304dee Merge pull request #111965 from Ivorforce/memnew-typed
Make `memnew(RefCounted)` return `Ref`, to improve ownership safety
2026-03-19 15:39:15 -05:00
Fredia Huya-Kouadio 46984cf152 Bump the minimum api version and hardware version for Vulkan support
Follows the recommendations from https://developer.android.com/games/develop/vulkan/native-engine-support#recommendations
2026-03-18 20:47:48 -07:00
Lukas Tenbrink 05c33acbb1 Make memnew(RefCounted) return Ref, to force callers to take ownership of it through a reference. 2026-03-18 20:34:08 +01:00
Rémi Verschelde e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
Thaddeus Crews be33d1ceb0 Merge pull request #114941 from syntaxerror247/fix-HashMap-crash
Android: Fix java.util.HashMap handling
2026-03-17 13:44:11 -05:00
Anish Kumar 5387f0d596 Android: Fix crash when emitting signal with java.util.HashMap 2026-03-17 22:55:18 +05:30
Rémi Verschelde 7795057e4b Misc includes or modernize fixes found via clangd-tidy 2026-03-16 21:38:26 +01:00
Rémi Verschelde 0d7bd115da Remove unused includes in drivers with clangd-tidy 2026-03-14 22:38:02 +01:00