summaryrefslogtreecommitdiff
path: root/platform/android
AgeCommit message (Collapse)Author
2020-02-23Fix suspicious | and + operatorsRafał Mikrut
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-18PoolVector is gone, replaced by VectorJuan Linietsky
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
2020-02-14Remove incomplete battery status/power APIRémi Verschelde
It was initially implemented in #5871 for Godot 3.0, but never really completed or thoroughly tested for most platforms. It then stayed in limbo and nobody seems really keen to finish it, so it's better to remove it in 4.0, and re-add eventually (possibly with a different API) if there's demand and an implementation confirmed working on all platforms. Closes #8770.
2020-02-13Remove obsolete GLES3 backendRémi Verschelde
Due to the port to Vulkan and complete redesign of the rendering backend, the `drivers/gles3` code is no longer usable in this state and is not planned to be ported to the new architecture. The GLES2 backend is kept (while still disabled and non-working) as it will eventually be ported to serve as the low-end renderer for Godot 4.0. Some GLES3 features might be selectively ported to the updated GLES2 backend if there's a need for them, and extensions we can use for that. So long, OpenGL driver bugs!
2020-02-11Custom material support seems complete.Juan Linietsky
2020-02-11Texture refactorJuan Linietsky
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
2020-02-09Merge pull request #35701 from AlexHolly/fix-double_tap-pressed-regressionRémi Verschelde
Fix double tap pressed event regression
2020-02-05Remove per-file progress reporting when exporting to AndroidHugo Locurcio
Calling `step()` on EditorProgress too often will slow down the rest of the editor, so it's best avoided. This is also more consistent with other exporters, as most of them don't report per-file progress either. Exporting a 2D project with ~1,100 files to Android now takes about 10 seconds from a debug editor build instead of 65 seconds. This closes #30850.
2020-02-05Remove duplicate ERR_PRINT macro.Marcel Admiraal
2020-01-31Fixed LineEdit virtual keyboard inputs on AndroidPouleyKetchoupp
Changed the condition to add a length filter to make it consistent with the documentation (0 means no character limit). Otherwise the default value in LineEdit causes the virtual keyboard to be non-fonctional on Android.
2020-01-29Fix double tap pressed event regressionAlexander Holland
2020-01-27Merge pull request #35632 from ↵Rémi Verschelde
godotengine/revert-32854-fix-wireless-adb-debugging Revert "Fix Android deploy with Remote Debug or Network FS over Wi-Fi"
2020-01-27Revert "Fix Android deploy with Remote Debug or Network FS over Wi-Fi"Rémi Verschelde
2020-01-27Address crash caused by missing dependency.fhuya
2020-01-27Address crash caused by missing dependency.fhuya
2020-01-26Check if can export before exporting; show error message if can't export.Mark Wynn Garcia
2020-01-23Android virtual keyboard respecting LineEdit max length.Bruno Lourenço
2020-01-20Revert "Exposes capture methods to AudioServer + documentation" #30468Rémi Verschelde
Reverts the following commits: - c81ec6f26d40b70283958a4ef3e216fb32cbaf14: "Exposes capture methods to AudioServer, variable renames for consistency, added documentation." - 47c558b98abf842910c780294314326662410cdf: "Expose audio callbacks as signals." - dabaa11b3c451e9b8f2cca7e563bd9ec51edb169: "Fix to make sure the capture buffers are deallocated at shutdown. Silences warnings." Some documentation improvements were kept for pre-existing methods. See rationale for reverting these changes in #30468.
2020-01-19doc: Sync classref with current sourceRémi Verschelde
2020-01-19Fix ClassDB API portability with some android and editor classesIgnacio Etcheverry
- `EditorNavigationMeshGenerator` was being registered as part of the Core API, even after d3f48f88bb84d22b7805ce971ac86cf1953a29fd. We must make sure to set Editor as the current ClassDB API type before creating an instance. - The `VisualScriptEngineSingleton.constant` property has a property hint string that's different between tools and non-tools builds. This commit makes the hint string to no longer be set in `_bind_methods`, and to instead set it in `_validate_property`. This way it's ignored when calculating the API hash. - `JavaClassWrapper` is now registered in ClassDB on all platforms, using a dummy implementation on platforms other than Android. This fixes API portability between Android and other platforms. - Updated `--class-db-json` command to ignore non-virtual methods that start with an underscore (see: 4be87c6016a5893cbde897924e540df4c988cee5).
2020-01-17Android: Improve name of icon export propertiesRémi Verschelde
This seems more readable and still includes the required dimensions.
2020-01-14Add support for Android adaptive icons.Bruno Lourenço
2020-01-13fixes android double tap regressionAlexander Holland
2020-01-10Add support for generating a Oculus Mobile VR apk with hand tracking support.fhuya
2020-01-10Fixes Android FileDialogAlexander Holland
- Go up was not working, simplify was used one time too much - Added GestureHandler - Added doubleTap to recognize open dir - Fixed scroll where sometimes the scroll jumped between start and end when pointer was outside or on the edge of the scroll area
2020-01-09Fix Android exporter manifest creation.Bruno Lourenço
2020-01-07Export: Improve usability of command line interfaceRémi Verschelde
I'm barely scratching the surface of the changes needed to make the --export command line interface easy to use, but this should already improve things somewhat. - Streamline `can_export()` templates check in all platforms, checking first for the presence of official templates, then of any defined custom template, and reporting on the absence of any. Shouldn't change the actual return value much which is still true if either release or debug is usable - we might want to change that eventually and better validate against the requested target. - Fix discrepancy between platforms using `custom_package/debug` and `custom_template/debug` (resp. `release`). All now use `custom_template`, which will break compatibility for `export_presets.cfg` with earlier projects (but is easy to fix). - Use `can_export()` when attempting a command line export and report the same errors that would be shown in the editor. - Improve error reporting after a failed export attempt, handling missing template and invalid path more gracefully. - Cleanup of unused stuff in EditorNode around the export workflow. - Improve --export documentation in --help a bit. Fixes #16949 (at least many of the misunderstandings listed there). Fixes #18470.
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-30Replace the android.defaultConfig.applicationId in build.gradle with the ↵fhuya
package/unique_name.
2019-12-24Cleans up headers included in editor_node.hHaoyu Qiu
2019-12-22i18n: Sync translations with Weblate + update templateRémi Verschelde
Also fix a few stray clang-format formatting errors that passed through CI unnoticed.
2019-12-17Fix crash on Android with no manifest permissions.Fabio Alessandrelli
API allows for null array of permissions. It is now normalized with an empty array.
2019-12-14Add Android NetSocket implementation.Fabio Alessandrelli
Automatically acquire and release multicast lock when needed.
2019-12-14Add GodotNetUtils Java class for Android.Fabio Alessandrelli
Provides access to a MulticastLock. As specified by the Android API, broadcast/multicast packets may be filtered on some phones unless the application explicitly acquires a "MulticastLock".
2019-12-01iOS modular build and export implementation.bruvzg
2019-11-28Merge pull request #32854 from cooperra/fix-wireless-adb-debuggingRémi Verschelde
Fix Android deploy with Remote Debug or Network FS over Wi-Fi
2019-11-22Style: Add missing copyright headersRémi Verschelde
2019-11-11Revert "Android : implement InputEventMagnifyGesture and InputEventPanGesture"Rémi Verschelde
This reverts commit 9cc66495cfb6393102ce5ad4e82f2ccb716b9b33. This caused regressions with the handling of screen drag events. Fixes #33428. Fixes #33459. Fixes #33470.
2019-11-02Android : implement InputEventMagnifyGesture and InputEventPanGestureJérémy Zurcher
sets threshold constants PAN_GESTURE_MIN_DELTA and MAGNIFY_GESTURE_MIN_FACTOR
2019-10-23Improve EditorExportPlatform interface.Fabio Alessandrelli
Convert all get_device* methods to get_option* and normalize their usage as icon, label, tooltip.
2019-10-22Add request permission automatically at androidCagdas
2019-10-22Merge pull request #32858 from m4gr3d/expand_singleton_base_apiRémi Verschelde
Add `View SingletonBase#onMainCreateView(Activity activity)` api
2019-10-18Add `View onMainCreateView(Activity activity)` api to the ↵Fredia Huya-Kouadio
`Godot.SingletonBase` class. The new api allows plugins to define and provide their views for inclusion in the Godot Android view hierarchy.
2019-10-15Add connection information and serial number to device descriptionRobbie Cooper
The description appears when hovering over the one-click-deploy button (top-right). This information helps the user distinguish between their devices if multiple are connected or if the same device is connected by both usb and tcpip (two entries in the list for the same device).
2019-10-15Detect adb connection type and debug over Wi-Fi if neededRobbie Cooper
Avoid using adb reverse if deploying with adb tcpip. This still can fail if the user is attempting to debug over usb and has connected their device over BOTH usb and tcpip. I'm not sure how we would detect that problem in advance though.
2019-10-12Optimize images losslessly using `oxipng -o6 --strip all --zopfli`Hugo Locurcio
2019-10-11Cleanup fix for the meta-data parsing crashing bug.fhuya
2019-10-11Android: Work around crash in _fix_manifestRémi Verschelde
Works around #32553, not fixing the underlying cause but preventing the crash.
2019-10-04Adds Pen support for AndroidAlexander Holland