summaryrefslogtreecommitdiff
path: root/platform/android
AgeCommit message (Collapse)Author
2020-07-20Disable virtual keyboard focus adjustment on AndroidPouleyKetchoupp
Fixes #37190 The default adjustment setting was causing the view to pan down in order to adjust the focus on the text content. We don't need any focus adjustment since we're using a fixed size window for our application. Documentation: https://developer.android.com/reference/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_NOTHING
2020-07-14Android: fix display server always alerting no Vulkan supportthebestnom
2020-07-14Merge pull request #40354 from bruvzg/add_vulkan_init_messageRémi Verschelde
Display error popup instead of crashing if Vulkan init failed.
2020-07-13Commit other files changed by file_format.shAaron Franke
2020-07-13Add error messages if Vulkan init failed, prevent Vulkan context freeing ↵bruvzg
uninitialized device and instance.
2020-07-10Add override keywords.Marcel Admiraal
2020-07-10Merge pull request #40244 from amanj120/forward_port_bundle_pr_permissionsRémi Verschelde
Refactor permissions and command line flags into separate methods
2020-07-09Refactor permissions and command line flags into separate methodsAman Jain
2020-07-09Utility methods for writing files to Gradle project.Aman Jain
2020-07-03Remove String::find_last (same as rfind)Stijn Hinlopen
2020-06-30Add a separate application focus/in notification out from Window focus ↵Juan Linietsky
notification.
2020-06-27Fix the logic to enable focus awarenessFredia Huya-Kouadio
2020-06-25Enable the ability to use Godot as a subview within an Android appFredia Huya-Kouadio
2020-06-22Follow up cleanup for the godotpayment project moduleFredia Huya-Kouadio
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.