summaryrefslogtreecommitdiff
path: root/platform/android
AgeCommit message (Collapse)Author
2022-09-12Exclude small screens from the set of supported devices.Fredia Huya-Kouadio
2022-09-12Update the versioning logic for the Godot Android EditorFredia Huya-Kouadio
This is necessary to separate subsequent uploads to the Google Play store as each upload needs to increment the version code.
2022-09-08SCons: Refactor LTO options with `lto=<none|thin|full>`Rémi Verschelde
Adds support for LTO on macOS and Android. We don't have much experience with LTO on these platforms so for now we keep it disabled by default even when `production=yes` is set. Similarly for iOS where we ship object files for the user to link in Xcode so LTO makes builds extremely slow to link. `production=yes` defaults to full LTO. ThinLTO is much faster for LLVM-based compilers but seems to produce bigger binaries (at least for the Web platform).
2022-09-08Merge pull request #65501 from m4gr3d/fix_invalid_project_manager_path_mainRémi Verschelde
Fix issue causing the project manager to crash because of missing path argument
2022-09-07Fix issue causing the project manager to crash because of missing path argumentFredia Huya-Kouadio
In the process, the initialization logic is updated to show an error message and gracefully close the engine when setup errors occur.
2022-09-07Enable long press, pan and scale gestures for the Godot Android EditorFredia Huya-Kouadio
Fix the bug causing the editor to crash when running the project.
2022-09-07Cleanup the Android input logic implementationFredia Huya-Kouadio
2022-08-30Additional fixes to the Android `get_current_dir()` implementation.Fredia Huya-Kouadio
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-26Merge pull request #64912 from m4gr3d/fix_android_arch_mapping_mainRémi Verschelde
Revert the architecture values update made to the Android export logic
2022-08-25Revert the architecture values update made to the Android export logicFredia Huya-Kouadio
2022-08-25Improve platform-specific READMEs to add useful linksHugo Locurcio
This also adds READMEs for all platforms.
2022-08-25Unify bits, arch, and android_arch into env["arch"]Aaron Franke
Fully removes the `bits` option and adapts the code that relied on it. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-08-23Merge pull request #64414 from m4gr3d/fix_get_current_dir_mainRémi Verschelde
2022-08-22Replace Array return types with TypedArraykobewi
2022-08-19Fix issue with `get_current_dir()` returning the wrong path on AndroidFredia Huya-Kouadio
2022-08-15Disable threads used to check on plugins to loadFredia Huya-Kouadio
The functionality is unavailable on Android (requires export capability) and unnecessarily consumes resources
2022-08-15Fix issue preventing the Android Editor from displaying the project contentFredia Huya-Kouadio
The issue was causing by a bug within the logic for `FileAccessFilesystemJAndroid#eof_reached()` causing that value to remain false after the eof was reached. This in turn caused an infinite loop in the file scanner preventing the project's content from showing up.
2022-08-14Refactor the export checking logic to improve separation of concernsFredia Huya-Kouadio
2022-08-08Merge pull request #62885 from madmiraal/fix-59931Rémi Verschelde
2022-08-04Add support for multiple virtual keyboard typesBrian Semrau
2022-08-02Add override keywords to FileAccess derived classesMarcel Admiraal
2022-08-01File: Re-add support to skip CR (`\r`) in `File::get_as_text`Rémi Verschelde
This was removed in #63481, and we confirmed that it's better like this, but we add back the possibility to strip CR as an option, to optionally restore the previous behavior. For performance this is done directly in `String::parse_utf8`. Also fixes Android `FileAccess::get_line()` as this one _should_ strip CR. Supersedes #63717.
2022-07-30Merge pull request #63563 from aaronfranke/export-archRémi Verschelde
2022-07-29Update export dialog to handle many architecturesAaron Franke
2022-07-29Make some editor export methods constAaron Franke
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-27Merge pull request #63121 from aaronfranke/editor-export-splitRémi Verschelde
2022-07-26Address remaining scoped storage regressionsFredia Huya-Kouadio
- Accelerate common path used to check the storage scope for a given path - Update the logic for the `get_as_text()` method - previous logic loads the content of a text file one byte at a time
2022-07-26Split up editor export code into multiple filesAaron Franke
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-13Fix incorrect Android scancodesMarcel Admiraal
2022-07-08Add static methods for creating Image and ImageTexturekobewi
2022-07-07Use clang as assembler to ensure preprocessing is done, and add assembler ↵bruvzg
"target" flag.
2022-07-05Add full support for Android scoped storage.Fredia Huya-Kouadio
This was done by refactoring directory and file access handling for the Android platform so that any general filesystem access type go through the Android layer. This allows us to validate whether the access is unrestricted, or whether it falls under scoped storage and thus act appropriately.
2022-07-03Merge pull request #62611 from akien-mga/android-preset-refactor-custom-buildRémi Verschelde
2022-07-03Android: Refactor Custom Build options in export presetRémi Verschelde
Instead of reusing the custom_template/ prefix which is actually only used for the prebuilt APK workflow, we add a new custom_build/ prefix. This is a slight compat breakage (users will have to redo their config) but enables us to group the Min SDK and Target SDK options where they make sense, and avoid reusing the previously hardcoded Target SDK 30 from Godot 3.4. Those two options are now strings instead of integers so that we can keep them empty by default, and show their default value using a placeholder. So some validation has been added to make sure they are proper ints. The upper bound on Target SDK was also removed as it's a common use case to use it to try to target newer released SDKs. But we warn the user that this wasn't validated by us. The export info dialog is now exclusive so that when it doesn't auto-close, i.e. when it errors, you don't close it by mistake by clicking outside. Fixes #62465.
2022-07-02Fix exit code of --help and --version, and test them in CIJan Haller
Corrects prior regression which caused ERROR output and exit code of 1.
2022-06-26Merge pull request #61691 from madmiraal/android-ndk-23Rémi Verschelde
Upgrade Android NDK to r23 LTS
2022-06-25Merge pull request #62289 from madmiraal/fix-61816Fredia Huya-Kouadio
Remove broken scroll gesture on Android
2022-06-25Upgrade Android NDK to r23 LTSMarcel Admiraal
2022-06-23Update android:targetSdkVersion from 30 to 31Gustavo Maciel
Starting in August 2022, new apps will need to target API level 31 (Android 12) or higher and adjust for behavioral changes. Read more here: https://developer.android.com/google/play/requirements/target-sdk
2022-06-21Remove broken scroll gesture on AndroidMarcel Admiraal
2022-06-16Ensure joystick has been added or not already removed when processing inputMarcel Admiraal
2022-06-09Migrate the Godot Editor java source file to Kotlin.Fredia Huya-Kouadio
2022-06-08Add readable export errors.bruvzg
2022-06-01Merge pull request #61579 from madmiraal/android-kotlin-java-versionRémi Verschelde
Ensure Android Java and Kotlin compile to the same version
2022-06-01Ensure Android Java and Kotlin compile to the same versionMarcel Admiraal
2022-05-31Misc editor tweaks and polishes:Fredia Huya-Kouadio
- Using a bucketized approach to select the editor scale in order to avoid too high values - Add default app dimensions: used on Android devices with free floating app windows to set the default app frame - Add ability to launch the Game window in an adjacent frame when in multi window mode
2022-05-31Merge pull request #61573 from madmiraal/android-cleanupRémi Verschelde
Cleanup Android C++ code