Pedro J. Estébanez
6ea233434a
Remove ANDROID define
...
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-25 11:08:52 +02:00
Rémi Verschelde
38c471bef6
Merge pull request #9765 from Noshyaar/pr-clang
...
Clang-formatting *.cpp and *.h (some files excluded)
2017-07-23 13:16:48 +02:00
Juan Linietsky
772485cdb3
Several changes to better run in mobile.
2017-07-22 14:08:17 -03:00
Poommetee Ketson
c7c65ca6ba
Clang-formatting *.cpp and *.h (some files excluded)
2017-07-22 18:14:08 +07:00
Juan Linietsky
25678b1876
-Renamed GlobalConfig to ProjectSettings, makes more sense.
...
-Added system for feature overrides, it's pretty cool :)
2017-07-19 17:06:03 -03:00
Ruslan Mustakov
fbb27a0c43
Fix android export templates build
...
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-20 01:58:47 +07:00
Juan Linietsky
bbada82f80
-Reorganized all properties of project settings (Sorry, Again).
...
(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-17 22:18:58 -03:00
Rémi Verschelde
e91a267a7c
Buildsystem: Improve detect.py readability and fix issues
...
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-07-01 08:20:51 +02:00
L. Krause
92367968e7
Use custom native-run icons for Android and HTML5
2017-06-27 21:06:26 +02:00
Poommetee Ketson
e3998528e0
BuildSystem: generated files have .gen.extension
2017-06-25 07:55:01 +07:00
Fabio Alessandrelli
b76275ab12
Fix network/debug/remote_port
editor setting not working properly
2017-06-10 23:34:35 +02:00
Rémi Verschelde
71c7dcab65
Merge pull request #8949 from RandomShaper/improve-mobile-builds
...
Improve/harmonize mobile builds
2017-06-08 07:41:06 +02:00
Chris Serino
bdffd2ecd0
Fix input event related android build issues
2017-06-06 22:30:04 -05:00
Andreas Haas
9bc5348961
InputEvent: Renamed "pos" property to "position"
...
Make the naming consistent with other classes.
2017-06-03 11:26:39 +02:00
Pedro J. Estébanez
854b3cc158
Improve/harmonize mobile builds
2017-05-27 23:26:59 +02:00
volzhs
781ca6773c
Fix android build regression by be7ced4
2017-05-26 20:44:45 +09:00
Juan Linietsky
5b3709d309
Removal of InputEvent as built-in Variant type..
...
this might cause bugs I haven't found yet..
2017-05-20 17:05:38 -03:00
Rémi Verschelde
e80d2b8dfb
Merge pull request #8824 from volzhs/android-payment-master
...
Fix android payment logical error
2017-05-20 09:49:18 +02:00
volzhs
209f61b6d4
Fix android payment logical error
...
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-19 12:20:51 +09:00
Rémi Verschelde
519df0d34d
Use new Godot icon consistently everywhere
2017-05-17 19:53:59 +02:00
Juan Linietsky
98a3296702
Removal of Image from Variant, converted to a Resource.
2017-05-17 07:37:45 -03:00
Pedro J. Estébanez
78f44831f6
Upgrade Android build tools to the latest
2017-05-16 00:57:50 +02:00
Rémi Verschelde
ed6baffc72
Merge pull request #8725 from volzhs/android-jni-master
...
Fix compile error when use "android_add_jni_dir"
2017-05-12 08:24:40 +02:00
Rémi Verschelde
413e68fced
Merge pull request #8723 from volzhs/fix-android-master
...
Fix possible memory leak for Android and update gradle
2017-05-12 08:24:22 +02:00
volzhs
be7ced4826
Fix compile error when use "android_add_jni_dir"
2017-05-12 15:10:59 +09:00
volzhs
8be9b98b8e
Update to latest gradle
2017-05-12 14:44:47 +09:00
volzhs
9d33f51066
Fix possible memory leak for Android
...
/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-12 14:44:37 +09:00
Rémi Verschelde
c8aea60324
Improve documentation of thirdparty code snippets
2017-05-07 11:42:37 +02:00
volzhs
889ce29fc2
Fix error or download again if use obb for Android
2017-04-26 04:06:45 +09:00
Andreas Haas
246dfc65ca
Fix crash on exit.
...
First it crashed in the thread that checks for android devices, then in the audio driver.
2017-04-10 19:51:07 +02:00
Rémi Verschelde
61a27601f7
Merge pull request #8341 from RameshRavone/master
...
Android: avoiding duplicates in build.gradle
2017-04-10 08:58:15 +02:00
Sergey Pusnei
8589ca3903
Rename [gs]et_pos to [gs]et_position for Controls
...
Control set_pos -> set_position
Control set_global_pos -> set_global_position
[gs]et_mouse_pos -> [gs]et_mouse_position
[gs]et_global_mouse_pos -> [gs]et_global_mouse_position
fixes #8005
2017-04-10 08:27:34 +02:00
Ramesh Ravone
f8309f86c2
Android: avoiding duplicates in build.gradle
2017-04-10 08:34:40 +05:30
Ramesh Ravone
93b417fe17
Android: Support to change minSdkVersion ( #8313 )
2017-04-09 23:35:34 +02:00
Rémi Verschelde
df61dc4b2b
Add "Godot Engine contributors" copyright line
2017-04-08 00:11:42 +02:00
Pedro J. Estébanez
2443946307
Fix crash on Android-x86
2017-04-05 22:18:16 +02:00
Rémi Verschelde
9d28a5e7d9
Merge pull request #8159 from Hinsbart/last_id
...
Input: Remove usage of platform dependent event IDs.
2017-03-27 08:52:58 +02:00
Rémi Verschelde
fbebd32b5f
Merge pull request #8147 from RameshRavone/patch-1
...
Update build.gradle.template for jcenter
2017-03-27 08:50:47 +02:00
Rémi Verschelde
d8f32637be
SCons: Add option to toggle warnings (on by default)
...
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 31107daa1a
)
2017-03-26 21:58:37 +02:00
Andreas Haas
c0b6756875
Input: Remove usage of platform dependent event IDs.
...
The ID property for InputEvents is set by `SceneTree` when sending the event down the tree.
So there's no need for the platform specific code to set this value when it will later be overriden anyway...
2017-03-26 15:59:32 +02:00
Ramesh Ravone
77c81a21d8
Update build.gradle.template
...
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/
2017-03-25 17:41:20 +05:30
Rémi Verschelde
6674c556ae
Merge pull request #8128 from volzhs/fix-android-app-name
...
Fix wrong app name for Android export
2017-03-24 22:52:25 +01:00
Rémi Verschelde
debeee56f7
Fix typos in source code using codespell
...
From https://github.com/lucasdemarchi/codespell
2017-03-24 21:45:31 +01:00
volzhs
f912bcd943
Fix wrong name for Android export
2017-03-24 15:26:55 +09:00
Juan Linietsky
efaeebab4d
Several fixes to Android exporter and port.
...
Android seems to be working again!
2017-03-23 20:14:12 -03:00
Juan Linietsky
b5a06cecff
Export template management dialog.
...
Missing download (need to discuss this!)
2017-03-21 08:42:06 -03:00
Rémi Verschelde
60bdc37056
Merge pull request #8035 from DenisComtesse/android-screentouch-fix
...
Update mouse position on touch and release events (Android)
2017-03-18 10:48:26 +01:00
Ramesh Mani Maran
27c7d253aa
android: adding classpath and gradle plugins
2017-03-18 10:27:30 +01:00
Rémi Verschelde
111d3e8063
Merge pull request #7953 from RameshRavone/patch-1
...
support for multiple maven url
2017-03-18 10:25:49 +01:00
denis
55835167a4
Update mouse position on touch and release events (Android)
2017-03-15 17:41:21 +01:00