| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |\
| |
| | |
[2.1] Update Gradle-Android buildtool
|
| | | |
|
| |/
|
|
|
|
|
|
| |
Fixes GDNative build error on Android.
It's also discouraged by Google to rely on it. In case someone needs to check, use ``__ANDROID__`` instead, provided by the very same compiler.
(cherry picked from commit 6ea233434ade064c07db0cfa8ba9e8dcc4442154)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Same as _master_'s 0ae3336a329b1fd14b66bb26707c2461b66e5aa8; namely:
- Prefix all __adb__ commands with device specification to avoid errors when multiple devices connected.
- Include Android release in device data collection.
- Force system user:.
- Ability to enable/disable.
- Apply only if OS release >= 17 (when multiuser was introduced.
- Fix argument passing.
- Rename local variable `port` to `dbg_port` to better match its partner `fs_port`.
- Fix typo in error message.
But adds:
- Get the debug port from the editor settings, where it lives now.
Fixes #8581.
|
| | |
|
| | |
|
| |
|
|
| |
(cherry picked from commit c8aea60324e3e219945a805f871363c10292f38b)
|
| |
|
|
| |
(cherry picked from commit f8309f86c2d9042789574ab5ec2ea37d38457574)
|
| |
|
|
| |
(cherry picked from commit 93b417fe17dd92e8fe22c3c4b72347d948ca128e)
|
| | |
|
| |
|
|
|
| |
getting sku detail runs only if mod != 0 which means querying 20*n will not get sku details.
referenced from https://github.com/googlesamples/android-play-billing/blob/master/TrivialDrive/app/src/main/java/com/example/android/trivialdrivesample/util/IabHelper.java#L1029-L1062
|
| | |
|
| |
|
|
| |
Expose it in editor settings.
|
| |\
| |
| | |
Fix compile error when use "android_add_jni_dir"
|
| | | |
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
| |
/godot_dev/platform/android/java/src/com/google/android/vending/expansion/downloader/impl/DownloaderService.java:575: Error: The WIFI_SERVICE must be looked up on the Application context or memory will leak on devices < Android N. Try changing to .getApplicationContext() [WifiManagerLeak]
mWifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Explanation for issues of type "WifiManagerLeak":
On versions prior to Android N (24), initializing the WifiManager via
Context#getSystemService can cause a memory leak if the context is not the
application context. Change context.getSystemService(...) to
context.getApplicationContext().getSystemService(...).
1 errors, 0 warnings
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
Fix crash on Android-x86 (2.1)
|
| | | |
|
| |/
|
|
|
|
|
|
| |
Updating project repository,
added jcenter() since Android Studio uses it by default.
https://www.jfrog.com/knowledge-base/why-should-i-use-jcenter-over-maven-central/
(cherry picked from commit 77c81a21d84d30b2b78027821db45a53d583762f)
|
| |
|
|
|
|
| |
All the warnings are factored out of the platform-specific files and moved to
SConstruct. Will have to check that it does not introduce regressions on some
platforms/compilers.
|
| | |
|
| |
|
|
| |
(cherry picked from commit 27c7d253aa1f2125e37344d7829b5b87a4b9a901)
|
| |
|
|
| |
(cherry picked from commit 55835167a4bf88d67b1c5d80bda606a57b919555)
|
| |
|
|
|
| |
Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6e3e905b94b8764e99491e608122261.
|
| |
|
|
|
|
|
|
| |
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
(Manual redo of 49c065d29ca07040c3fd810026121164ad86b247)
|
| |
|
|
| |
(cherry picked from commit f44ee891beaad397481dd88da41cb80e6539774f)
|
| |
|
|
| |
(cherry picked from commit aa7490ffd03149930a7526e4464f47a73496b32e)
|
| |
|
|
| |
(cherry picked from commit 8c19a6cb85bc4ff00a8b2f7afe602c5724222a23)
|
| | |
|
| |
|
|
| |
Fixes #7421
|
| |
|
|
|
|
|
|
|
|
| |
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!
(cherry picked from commit c7bc44d5ad9aae4902280012f7654e2318cd910e)
|
| |
|
|
| |
(cherry picked from commit 9a20068ab7108357c78e9ac00eb90a3d72da7651)
|
| |
|
|
|
|
|
| |
Fix wrong path for 32-bit Windows, which fixes #7084
Exclude 32-bit Windows from multi-threaded linking because it's not supported by the NDK
Remove 32-bit Linux as there is no NDK variant for it
(cherry picked from commit 5a26459c065558546a708c18ad84830674d5972d)
|
| |
|
|
| |
(cherry picked from commit 56721e5d9daf3bda0ad0711c165105c7ceedd29f)
|
| |
|
|
|
|
| |
Fix #7014
(cherry picked from commit 8d454ed9a7105bf1a4c19c238a0e904f220c1bb5)
|
| |
|
|
|
|
| |
Also prefix all thirdparty-related toggles with `builtin`.
(cherry picked from commit cc95d4448c6005c3007c8460f09b8be1595eb3c0)
|
| |
|
|
| |
(cherry picked from commit b18ff942be0dd89bda32e01cc30a41c196fc9290)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Done with `autopep8 --select=E7`, fixes:
- E701 - Put colon-separated compound statement on separate lines.
- E702 - Put semicolon-separated compound statement on separate lines.
- E703 - Put semicolon-separated compound statement on separate lines.
- E711 - Fix comparison with None.
- E712 - Fix (trivial case of) comparison with boolean.
- E713 - Fix (trivial case of) non-membership check.
- E721 - Fix various deprecated code (via lib2to3).
|
| |
|
|
|
|
|
|
|
|
|
| |
Done with `autopep8 --select=E3,W3`, fixes:
- E301 - Add missing blank line.
- E302 - Add missing 2 blank lines.
- E303 - Remove extra blank lines.
- E304 - Remove blank line following function decorator.
- E309 - Add missing blank line.
- W391 - Remove trailing blank lines.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Done with `autopep8 --select=E2,W2`, fixes:
- E201 - Remove extraneous whitespace.
- E202 - Remove extraneous whitespace.
- E203 - Remove extraneous whitespace.
- E211 - Remove extraneous whitespace.
- E221 - Fix extraneous whitespace around keywords.
- E222 - Fix extraneous whitespace around keywords.
- E223 - Fix extraneous whitespace around keywords.
- E224 - Remove extraneous whitespace around operator.
- E225 - Fix missing whitespace around operator.
- E226 - Fix missing whitespace around operator.
- E227 - Fix missing whitespace around operator.
- E228 - Fix missing whitespace around operator.
- E231 - Add missing whitespace.
- E231 - Fix various deprecated code (via lib2to3).
- E241 - Fix extraneous whitespace around keywords.
- E242 - Remove extraneous whitespace around operator.
- E251 - Remove whitespace around parameter '=' sign.
- E261 - Fix spacing after comment hash.
- E262 - Fix spacing after comment hash.
- E265 - Format block comments.
- E271 - Fix extraneous whitespace around keywords.
- E272 - Fix extraneous whitespace around keywords.
- E273 - Fix extraneous whitespace around keywords.
- E274 - Fix extraneous whitespace around keywords.
- W291 - Remove trailing whitespace.
- W293 - Remove trailing whitespace.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Done with `autopep8 --select=E1`, fixes:
- E101 - Reindent all lines.
- E112 - Fix under-indented comments.
- E113 - Fix over-indented comments.
- E115 - Fix under-indented comments.
- E116 - Fix over-indented comments.
- E121 - Fix a badly indented line.
- E122 - Fix a badly indented line.
- E123 - Fix a badly indented line.
- E124 - Fix a badly indented line.
- E125 - Fix indentation undistinguish from the next logical line.
- E126 - Fix a badly indented line.
- E127 - Fix a badly indented line.
- E128 - Fix a badly indented line.
- E129 - Fix a badly indented line.
|
| |
|
|
|
|
| |
Also switch existing shebangs to "better" /usr/bin/env python.
(cherry picked from commit fc8ccd5b8c8b779bffd0f4d7f22f2f964c939163)
|
| |
|
|
| |
(cherry picked from commit 4ffa8f224d8d57520bd4953d67291c83152cd5e5)
|
| |
|
|
| |
(cherry picked from commit cbf52606f4928df46fc89d37d781bad782f0616e)
|