Rémi Verschelde
f34151ff0f
style: Various other PEP8 fixes in Python files
...
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).
2016-11-01 00:35:16 +01:00
Rémi Verschelde
817dd7ccbb
style: Fix PEP8 blank lines issues in Python files
...
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.
2016-11-01 00:35:16 +01:00
Rémi Verschelde
d4c17700aa
style: Fix PEP8 whitespace issues in Python files
...
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.
2016-11-01 00:35:16 +01:00
Rémi Verschelde
97c8508f5e
style: Start applying PEP8 to Python files, indentation issues
...
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.
2016-11-01 00:33:51 +01:00
Randy Tan Shaoxian
638a31d972
Fixed tiny error in detect.py causing compilation for Android to fail.
...
(cherry picked from commit c9d7f77c6f
)
2016-10-22 13:04:13 +02:00
Rémi Verschelde
e96c49f849
Merge pull request #6850 from akien-mga/pr-scsub-shebang
...
SCsub: Add python shebang as a hint for syntax highlighting
2016-10-17 20:13:18 +02:00
Rémi Verschelde
fc8ccd5b8c
SCsub: Add python shebang as a hint for syntax highlighting
...
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-17 20:10:46 +02:00
Rémi Verschelde
bdce7eefa0
Merge pull request #6846 from volzhs/android-dir-exists
...
Fix crash when using Directory.dir_exists(path) on Android
2016-10-17 10:10:25 +02:00
Rémi Verschelde
0eccf42884
Merge pull request #6723 from bvbfan/patch-1
...
Correct OS architecture detection
2016-10-17 09:48:26 +02:00
Błażej Szczygieł
4ffa8f224d
Theora: Don't compile unnecessary files, rename "x86_opt_*"
2016-10-16 22:31:27 +02:00
volzhs
4a57821349
Fix crash when using Directory.dir_exists(path) on Android
2016-10-17 01:29:31 +09:00
Rémi Verschelde
cbf52606f4
zlib: Split thirdparty files, simplify scons option
2016-10-15 12:20:47 +02:00
Rémi Verschelde
d9a291f641
ogg/vorbis/opus: Make them modules and unbundle thirdparty libs
...
Took the opportunity to undo the Godot changed made to the
opus source. The opus module should eventually be built in its
own environment to avoid polluting others with too many include
dirs and defines.
TODO: Fix the platform/ stuff for opus.
2016-10-15 11:50:40 +02:00
Rémi Verschelde
f63bf12193
Drop nedmalloc which is apparently not used anymore
2016-10-14 18:21:23 +02:00
Anthony Fieroni
f87e32696d
Correct OS architecture detection
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2016-10-11 20:58:24 +03:00
Pedro J. Estébanez
7f51bb7b1c
Fix compile flags not getting to the Android build
2016-10-04 16:55:29 +02:00
syskrank
af4b0db1e4
removed confusing "if(true)" statement with empty "else" block
2016-09-26 12:30:59 +03:00
Pedro J. Estébanez
2c9d98bb48
Fix manifest generation bug in Android export
2016-09-21 12:46:40 +02:00
Juan Linietsky
1f7fde299d
Revert "Change Android float ABI to hard"
2016-09-10 12:31:01 -03:00
Juan Linietsky
fc61eb37ce
Merge pull request #5920 from 29jm/fix-warnings
...
Fix some more warnings
2016-09-10 12:21:02 -03:00
Juan Linietsky
0a9c08f87c
Merge pull request #6438 from RandomShaper/android-hard-float-abi
...
Change Android float ABI to hard
2016-09-10 11:40:44 -03:00
Pedro J. Estébanez
68cd19a6c2
Change Android float ABI to hard
2016-09-09 13:31:35 +02:00
Pedro J. Estébanez
e9065632c6
Fix (potentially) Android libs packaging issue ( #5645 )
2016-09-07 02:41:16 +02:00
Johan Manuel
a4674bda47
Fix some comparisons between signed and unsigned integers
2016-08-13 13:21:35 +02:00
Johan Manuel
046f94d3ac
Remove some unused variables
2016-08-13 13:21:35 +02:00
Skyfrit
4f6a21b0df
Android: Rename values-zh to values-zh-rCN ( #6063 )
2016-08-08 11:51:30 +02:00
Skyfrit
664b5b5137
Android: Add support for Traditional Chinese (HK) ( #6061 )
2016-08-08 11:49:51 +02:00
Skyfrit
8ab4acd17f
Android: Add support for Traditional Chinese (TW) ( #6061 )
2016-08-08 11:49:35 +02:00
Juan Linietsky
9213400cd5
Merge pull request #5415 from volzhs/improve-android-payment
...
Improve android payment
2016-07-24 12:18:13 -03:00
Mario Schlack
beaa56bff2
Minor code formatting in platform/android
2016-07-21 12:07:01 +02:00
Rémi Verschelde
b1cca17053
Merge pull request #5835 from volzhs/issue-5831
...
Fix compile error if use android_stl=yes
2016-07-21 10:37:18 +02:00
volzhs
01e39ecec8
Fix compile error if use android_stl=yes
2016-07-21 17:31:46 +09:00
Rémi Verschelde
5274f2a126
Merge pull request #5819 from hurikhan/android_getScreenDPI
...
Implement get_screen_dpi() on Android
2016-07-21 09:09:49 +02:00
Mario Schlack
0717893772
Implement get_screen_dpi() on Android
2016-07-20 14:54:48 +02:00
Juan Linietsky
0988970c1f
Fixed properly not save signals that already exist in their base scenes, closes #5656
2016-07-19 21:26:12 -03:00
volzhs
79cb91dc84
Add querying details of IAP items for android
2016-07-18 23:45:58 +09:00
volzhs
f26f181ba9
Fix can't get all info if user purchases many items and not consumed
2016-07-18 23:45:58 +09:00
Jamil Halabi
370ae3512d
Added gyroscope support to Godot and Android
2016-07-16 01:43:32 +08:00
sanikoyes
978cb0e884
Fix crash in FileAccessJAndroid::file_exists (does not free local ref)
2016-07-11 12:41:54 +08:00
Juan Linietsky
d279d060e1
Merge pull request #5077 from RandomShaper/improve-android-build
...
Improve Android build
2016-07-10 13:57:17 -03:00
volzhs
40d3234304
Add android_add_default_config for config.py
...
usage : env.android_add_default_config("applicationId 'com.godot.game'")
2016-07-07 04:03:50 +09:00
volzhs
b09dbaa78e
Fix crash when null value through jni on android
2016-07-05 04:41:46 +09:00
Rémi Verschelde
9693f37fcc
Merge pull request #5491 from volzhs/fix-jni-bool-string
...
Fix wrong return bool, string, string array data through jni
2016-07-03 19:11:04 +02:00
Juan Linietsky
1726bacf78
missnig ;
2016-07-02 16:04:00 -03:00
Juan Linietsky
973a12c5f2
Data dir returns a symlink in Android 6.0, which confuses DirAccess on android, this should fix it
2016-07-02 11:49:52 -03:00
volzhs
aac0af043c
Fix wrong return bool, string, string array data through jni
2016-06-30 01:23:55 +09:00
Pedro J. Estébanez
e7b2626707
Make Android build smarter (SCons + Gradle)
...
Upgrade Gradle and Android plugin for Gradle
Disable all signing and zip-aligning for the export templates
Give correct names to generated APKs
Put .so files built by SCons right where Gradle has to pick them according to arch & build type
Downgrade NDK platform to 14 to match minSdkVersion
2016-06-27 10:49:15 +02:00
Rémi Verschelde
7d06d50e65
Merge pull request #5395 from vnen/android-sensors
...
Fix Android sensors polling rate on resume
2016-06-26 09:46:10 +02:00
Rémi Verschelde
fad6b29a59
Merge pull request #5390 from volzhs/jni-stringarray
...
Fix string array parameter check with jni
2016-06-26 09:45:36 +02:00
Juan Linietsky
8dac3bf3b1
Added function to notify ScriptLanguage when a thread is created/freed, allows scripts to allocate a stack there via TLS
2016-06-25 10:41:23 -03:00