summaryrefslogtreecommitdiff
path: root/platform/android
AgeCommit message (Collapse)Author
2018-08-26Fixes several resource leaks in ...Crazy-P
- gdscript - gdscript_compiler - regex - android/export - gles3/rasterizer (scene and storage)
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-08-24Add print_verbose to print to stdout only in verbose modeRémi Verschelde
Equivalent of the cumbersome: if (OS::get_singleton()->is_stdout_verbose()) print_line(msg);
2018-08-23Fix file hintsMarcin Zawiejski
Fixes file hints so the file dialog actually displays the files with given extension (e.g. *.apk).
2018-08-23Merge pull request #20507 from rdhafidh/android_libcpp_shared_masterRémi Verschelde
add support libc++_shared on android (master)
2018-08-23add support libc++_shared stl on androidRidwan Abdul Hafidh
2018-08-21BPTC supportelasota
2018-08-20fix Android/HTML5 custom templates option does not workAlessandro
2018-08-20Add PROPERTY_HINT_PLACEHOLDER_TEXT for String propertiesRémi Verschelde
Use it to provide a better example for application identifiers on Android, iOS and macOS, where users thought they *had* to use this as a magic token.
2018-08-17Update detect.pyTiago Quendera
Fixed a typo in detect.py
2018-08-10Revert "added get_creation_time function for gdscript"Juan Linietsky
2018-08-10Merge pull request #18914 from notwarp/masterJuan Linietsky
added get_creation_time function for gdscript
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
2018-07-24Removed unnecessary assignmentsWilson E. Alvarez
2018-07-21-Fix disable_3d flagJuan Linietsky
-Add extra flag optimize=[size,speed] to be able to prioritize size
2018-07-20Fix build issues and typos after c69de2ba4Rémi Verschelde
2018-07-19-Project/Editor settings now use new inspectorJuan Linietsky
-Project/Editor settings now show tooltips properly -Settings thar require restart now will show a restart warning -Video driver is now visible all the time, can be changed easily -Added function to request current video driver
2018-07-18Style: Format code with clang-format 6.0.1Rémi Verschelde
2018-07-17Merge pull request #20132 from ibrahn/fix-android-device-poll-threadRémi Verschelde
fixed branch on uninit and data race in editor android device polling
2018-07-17Fix keep screen on property path for Android/iOS/UWPvolzhs
2018-07-13fixed branch on uninit and data race in editor android device pollingIbrahn Sahir
Initialised relevant variables before stating thread, to prevent a branch on uninitialised data. Fixed race condition in polling that could miss a device change.
2018-07-08Merge pull request #20041 from hpvb/fix-android-exportHein-Pieter van Braam
Write new permissions to the AndroidManifest.xml
2018-07-08Write new permissions to the AndroidManifest.xmlHein-Pieter van Braam
Instead of editing the placeholder permissions actually write new ones. This should solve the privacy statement problems for the Play store. This means we also no longer need to placeholder permissions in the template.
2018-07-05added 'android_add_asset_dir('...') method to Android module gradle build configPatrick Kaster
(cherry picked from commit 9190ae2be7068c8a84f60766a2f7c1da3e0bcd4b)
2018-07-03Merge pull request #19799 from kosz78/android-payment-fixMax Hilbrunner
Fix possible NullPointerException crash on cancel payment
2018-07-04Change required gles version to 2 for androidvolzhs
2018-06-28Optimize images losslessly using `oxipng -o6 --strip all --zopfli`Hugo Locurcio
2018-06-27Fix possible NullPointerException crash on cancel paymentKonstantin Zaitsev
2018-06-26Implement OpenGL ES rasterizer selection logic for Android.geequlim
2018-06-07Oops, for some reason gedit used this file as my notebook, though I made a ↵Juan Linietsky
new one.
2018-06-07Entirely new (and much improved) animation editor.Juan Linietsky
2018-05-29Allow setting higher numbers in Android version/codeDmitry Pupinin
2018-05-16added get_creation_time function for gdscriptDaniele Giuliani
2018-05-08Merge pull request #18726 from volzhs/remove-legacyRémi Verschelde
Remove android compatibility under API 16
2018-05-09Remove android compatibility under API 16volzhs
2018-05-08Android: Increase targetSdkVersion to 27Rémi Verschelde
Matches the change for 2.1 in #18626, and the new requirements from Google for new apps starting with August 2018 (targetSdkVersion 26 or higher): https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html
2018-05-07Fix: JAR files signed with the MD5 algorithm as unsignedRameshRavone
2018-05-02Merge pull request #17196 from RandomShaper/improve-gui-touchRémi Verschelde
Implement universal translation of touch to mouse (3.1)
2018-04-30Implement universal translation of touch to mousePedro J. Estébanez
Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*) The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers. Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse. *: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest. On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction. Plus: Improve/fix tracking of current mouse position. ** Summary of changes to settings: ** - `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse` - New setting: `input/pointing_devices/emulate_mouse_from_touch`
2018-04-26Fix _export_begin not being called when exporting to androidIgnacio Etcheverry
2018-04-22Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio
2018-04-19Provide error details when in-app purchase failsRuslan Mustakov
2018-04-16Fix Android input source checksRuslan Mustakov
Input source types are not pure bit flags, they are combinations of flags, so != 0 check was incorrect and resulted in crashes later, when trying to obtain the device.
2018-03-27Add safety checks when handling Android inputRuslan Mustakov
It is possible that input comes before the engine is fully initialized. This fixes the crashes that ocurred when that happens.
2018-03-21Prevent android to split-screenXavier Sellier
2018-03-20Fix getting Android device informationvolzhs
Fix #17644
2018-03-11Properly closing all files in Python codeViktor Ferenczi
2018-03-04Clean and expose get_audio/video_driver_* funcs on OS classMarcelo Fernandez
2018-03-01Fix intermittent audio driver crash during startup on AndroidRuslan Mustakov
set_pause can be called before the driver is initialized, and there already is a check for that. The problem is that the 'active' field was not initialied in the constructor, which lead to it having an undefined value.
2018-02-27Android: Mark GLES3 as required in the manifestRémi Verschelde
Fixes #17076.