summaryrefslogtreecommitdiff
path: root/platform/android
AgeCommit message (Collapse)Author
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-26Fix refactored Object::cast_to in NO_SAFE_CAST branchHenrik Andersson
2017-08-24Convert Object::cast_to() to the static versionHein-Pieter van Braam
Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-23Merge pull request #10575 from henkz1/android_quit_errorRémi Verschelde
fix UnsatisfiedLinkError when quitting on android
2017-08-23fix UnsatisfiedLinkError when quittingHenrik Andersson
2017-08-22Removed unnecessary returns and break statementsWilson E. Alvarez
2017-08-21Removed unnecessary assignmentsWilson E. Alvarez
2017-08-21Fixes for new two-dash long command line argumentsRémi Verschelde
- Fixes some single-dash leftovers that were missed in the previous commit - Reorder the help output for clarity, and document missing options - Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit - Improve error message on malformed arguments and do not display help on error - Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping - Cleanup obsolete code here and there
2017-08-19Revert "Second take at making command-line arguments more UNIX-like + ↵Juan Linietsky
main.cpp and help cleanup"
2017-08-19Fixes for new two-dash long command line argumentsRémi Verschelde
- Fixes some single-dash leftovers that were missed in the previous commit - Reorder the help output for clarity, and document missing options - Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit - Improve error message on malformed arguments and do not display help on error - Cleanup obsolete code here and there
2017-08-17Add closest_power_of_2 func and implement mix_rate/latency on OS XMarcelo Fernandez
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-10Removes type information from method bindsIgnacio Etcheverry
2017-08-08removed calls to cursor_set_visible on all platforms fixes #10167toger5
2017-08-07Makes all Godot API's methods Lower CaseIndah Sylvia
2017-08-04Merge pull request #9976 from ISylvox/update-gradle-android-masterRémi Verschelde
[3.0] Update Gradle-Android buildtool
2017-08-01Merge pull request #9838 from RandomShaper/android-arm64Rémi Verschelde
Add support for ARMv8 (64-bit) on Android
2017-07-30update gradle-android buildtool for masterISylvox
2017-07-27Fix Android debug/runPedro J. Estébanez
- 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.
2017-07-25Add support for ARMv8 (64-bit) on AndroidPedro J. Estébanez
2017-07-25Remove ANDROID definePedro J. Estébanez
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.
2017-07-23Merge pull request #9765 from Noshyaar/pr-clangRémi Verschelde
Clang-formatting *.cpp and *.h (some files excluded)
2017-07-22Several changes to better run in mobile.Juan Linietsky
2017-07-22Clang-formatting *.cpp and *.h (some files excluded)Poommetee Ketson
2017-07-19-Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky
-Added system for feature overrides, it's pretty cool :)
2017-07-20Fix android export templates buildRuslan Mustakov
This commit fixes errors occurring during Android export template builds. This required modification in third-party library (libpng) to compile with NEON. Most likely a similar patch will be applied by them and we could then replace the modified version.
2017-07-17-Reorganized all properties of project settings (Sorry, Again).Juan Linietsky
(Lot's of bloat accumulated, so it was time for clean up.) -Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-07-01Buildsystem: Improve detect.py readability and fix issuesRémi Verschelde
Tried to organize the configure(env) calls in sections, using the same order for all platforms whenever possible. Apart from cosmetic changes, the following issues were fixed: - Android: cleanup linkage, remove GLESv1_CM and GLESv2 - iPhone: Remove obsolete "ios_gles22_override" option - OSX: * Fix bits detection (default to 64) and remove obsolete "force_64_bits" option (closes #9449) * Make "fat" bits argument explicit - Server: sync with X11 - Windows: clean up old DirectX 9 stuff - X11: * Do not require system OpenSSL for building (closes #9443) * Fix typo'ed use_leak_sanitizer option * Fix .llvm suffix overriding custom extra_suffix
2017-06-27Use custom native-run icons for Android and HTML5L. Krause
2017-06-25BuildSystem: generated files have .gen.extensionPoommetee Ketson
2017-06-10Fix `network/debug/remote_port` editor setting not working properlyFabio Alessandrelli
2017-06-08Merge pull request #8949 from RandomShaper/improve-mobile-buildsRémi Verschelde
Improve/harmonize mobile builds
2017-06-06Fix input event related android build issuesChris Serino
2017-06-03InputEvent: Renamed "pos" property to "position"Andreas Haas
Make the naming consistent with other classes.
2017-05-27Improve/harmonize mobile buildsPedro J. Estébanez
2017-05-26Fix android build regression by be7ced4volzhs
2017-05-20Removal of InputEvent as built-in Variant type..Juan Linietsky
this might cause bugs I haven't found yet..
2017-05-20Merge pull request #8824 from volzhs/android-payment-masterRémi Verschelde
Fix android payment logical error
2017-05-19Fix android payment logical errorvolzhs
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
2017-05-17Use new Godot icon consistently everywhereRémi Verschelde
2017-05-17Removal of Image from Variant, converted to a Resource.Juan Linietsky
2017-05-16Upgrade Android build tools to the latestPedro J. Estébanez
2017-05-12Merge pull request #8725 from volzhs/android-jni-masterRémi Verschelde
Fix compile error when use "android_add_jni_dir"
2017-05-12Merge pull request #8723 from volzhs/fix-android-masterRémi Verschelde
Fix possible memory leak for Android and update gradle
2017-05-12Fix compile error when use "android_add_jni_dir"volzhs
2017-05-12Update to latest gradlevolzhs
2017-05-12Fix possible memory leak for Androidvolzhs
/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
2017-05-07Improve documentation of thirdparty code snippetsRémi Verschelde
2017-04-26Fix error or download again if use obb for Androidvolzhs
2017-04-10Fix crash on exit.Andreas Haas
First it crashed in the thread that checks for android devices, then in the audio driver.