summaryrefslogtreecommitdiff
path: root/platform/android
AgeCommit message (Collapse)Author
2020-06-22Remove GodotPayment android pluginTimo Schwarzer
This is now available in a separate repository at https://github.com/godotengine/godot-google-play-billing
2020-06-19Merge pull request #39053 from timoschwarzer/static-assert-variant-arg-maxRémi Verschelde
Add static_assert checks where code assumes VARIANT_ARG_MAX == 5
2020-06-16Clean up the `GodotPlugin` public API.Fredia Huya-Kouadio
2020-06-04Add support for focus awarenessFredia Huya-Kouadio
2020-06-04Check if the specified Android release keystore existsMarcus Brummer
2020-06-01Fix inconsistent error messages with Android custom export templatesPouleyKetchoupp
2020-05-28Add missing consumePurchase plugin method for GodotPaymentvolzhs
2020-05-27Validate that `Use Custom Build` is enabled when `Plugins` are selectedFredia Huya-Kouadio
Remove `GodotPayment` from the default build template
2020-05-27Merge pull request #39080 from m4gr3d/fix_emit_signalRémi Verschelde
Use compile-time constant for the size of the signal parameters
2020-05-27Use compile-time constant for the size of the signal parametersFredia Huya-Kouadio
2020-05-27Provide the ability for clients of the Godot library to add their own ↵Fredia Huya-Kouadio
command line arguments
2020-05-26Merge pull request #39050 from timoschwarzer/google-play-billing-4.0Rémi Verschelde
(4.0) Re-implement GodotPayment Android plugin using the Google Play Billing library
2020-05-25Re-implement GodotPayment Android plugin using the Google Play Billing libraryTimo Schwarzer
2020-05-25Merge pull request #38996 from mbrlabs/android-plugin-fixRémi Verschelde
Perform a clean Gradle build if android plugins changed
2020-05-25Merge pull request #39047 from m4gr3d/fix_emit_signalRémi Verschelde
Fix parameters passing when emitting signal
2020-05-25Add static_assert checks where code assumes VARIANT_ARG_MAX == 5Timo Schwarzer
2020-05-25Stop ignoring hidden files and directories in the `assets` directoryFredia Huya-Kouadio
2020-05-25Fix parameters passing when emitting signalFredia Huya-Kouadio
The issue was caused because we were using variables local to the `for` loop block.
2020-05-25Perform a clean Gradle build if android plugins changedMarcus Brummer
Fixes #38986
2020-05-24Merge pull request #39004 from nekomatata/android-reset-surfaceRémi Verschelde
Proper surface reset when resuming app on Android
2020-05-24Proper surface reset when resuming app on AndroidPouleyKetchoupp
Just re-creating the window instead of restarting the app entirely.
2020-05-24Use long instead of int for object id in Android java wrapperPouleyKetchoupp
Using int for 64-bit values might cause issues with objects not found in ObjectDB when the id is truncated.
2020-05-20Merge pull request #38309 from SkyLucilfer/AndroidLineEditRémi Verschelde
Fix Android LineEdit editing bugs
2020-05-19Style: Fix unnecessary semicolons that confused clang-formatRémi Verschelde
2020-05-18Update the permission string for the Oculus hand tracking to match the ↵Fredia Huya-Kouadio
latest api update
2020-05-18Move mix_rate, ouput_latency to AudioDriverManagerFabio Alessandrelli
Each driver used to define the (same) project settings values `audio/mix_rate` and `audio/output_latency`, but the setting names are not driver specific. Overriding is still possible via platform tags.
2020-05-17Implementation of the Godot Android Plugin configuration fileFredia Huya-Kouadio
2020-05-16Fix Android LineEdit editing bugsSkyJJ
2020-05-16Merge pull request #37924 from thebestnom/migrate-to-androidXRémi Verschelde
Android: Migrate deprecated support library to AndroidX
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2020-05-14Style: Enforce separation line between function definitionsRémi Verschelde
I couldn't find a tool that enforces it, so I went the manual route: ``` find -name "thirdparty" -prune \ -o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \ -o -name "*.glsl" > files perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files) misc/scripts/fix_style.sh -c ``` This adds a newline after all `}` on the first column, unless they are followed by `#` (typically `#endif`). This leads to having lots of places with two lines between function/class definitions, but clang-format then fixes it as we enforce max one line of separation. This doesn't fix potential occurrences of function definitions which are indented (e.g. for a helper class defined in a .cpp), but it's better than nothing. Also can't be made to run easily on CI/hooks so we'll have to be careful with new code. Part of #33027.
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
2020-05-14Port member initialization from constructor to declaration (C++11)Rémi Verschelde
Using `clang-tidy`'s `modernize-use-default-member-init` check and manual review of the changes, and some extra manual changes that `clang-tidy` failed to do. Also went manually through all of `core` to find occurrences that `clang-tidy` couldn't handle, especially all initializations done in a constructor without using initializer lists.
2020-05-10Android: Migrate deprecated support library to AndroidXthebestnom
2020-05-10Style: clang-format: Disable AllowShortCaseLabelsOnASingleLineRémi Verschelde
Part of #33027.
2020-05-10Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde
Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
2020-05-10Style: Add missing copyright headersRémi Verschelde
2020-05-06clang-format: Add JavaImportGroups for Java codeRémi Verschelde
2020-05-05Address `OS.request_permissions()` bug when non-platform permission(s) is ↵Fredia Huya-Kouadio
included
2020-04-28Rename InputFilter back to InputRémi Verschelde
It changed name as part of the DisplayServer and input refactoring in #37317, with the rationale that input no longer goes through the main loop, so the previous Input singleton now only does filtering. But the gains in consistency are quite limited in the renaming, and it breaks compatibility for all scripts and tutorials that access the Input singleton via the scripting language. A temporary option was suggested to keep the scripting singleton named `Input` even if its type is `InputFilter`, but that adds inconsistency and breaks C#. Fixes godotengine/godot-proposals#639. Fixes #37319. Fixes #37690.
2020-04-28Merge pull request #37193 from madmiraal/fix-android-export-unicode-errorsRémi Verschelde
Fix Android export throwing Unicode errors.
2020-04-24Fix detection logic for the Android sdk pathFredia Huya-Kouadio
The previous logic used the 'tools' directory within the Android sdk to validate it. That directory was recently deprecated and removed from the Android sdk folder (https://developer.android.com/studio/releases/sdk-tools)
2020-04-23Fix Android templates size regressionFredia Huya-Kouadio
The issue was caused by PR #36906 which changes prevented the generated shared libraries from being stripped. Since the change is only needed for development (debugging) purposes, it's commented out by default.
2020-04-15Migrate legacy apache dependency to the GodotPayment pluginfhuya
This is the only location in the codebase where it's being used, so no need to make the main lib have a dependency on it.
2020-04-14Android: Bump build tools to 29.0.3Rémi Verschelde
2020-04-13Delete unused drawable resources.fhuya
2020-04-13Validate supported architectures when exporting to AndroidSkyJJ
2020-04-10Add signal support to Godot Android plugin:fhuya
Supports registering and emitting signal from a Godot Android plugin
2020-04-10Merge pull request #37256 from m4gr3d/add_custom_build_gradle_settingsRémi Verschelde
Update Android custom template build configuration
2020-04-10Fix extra warnings in Android buildPouleyKetchoupp