summaryrefslogtreecommitdiffstats
path: root/platform/android/java_godot_lib_jni.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename InputFilter back to InputRémi Verschelde2020-04-281-6/+6
| | | | | | | | | | | | | | | | It changed name as part of the DisplayServer and input refactoring in #37317, with the rationale that input no longer goes through the main loop, so the previous Input singleton now only does filtering. But the gains in consistency are quite limited in the renaming, and it breaks compatibility for all scripts and tutorials that access the Input singleton via the scripting language. A temporary option was suggested to keep the scripting singleton named `Input` even if its type is `InputFilter`, but that adds inconsistency and breaks C#. Fixes godotengine/godot-proposals#639. Fixes #37319. Fixes #37690.
* Add signal support to Godot Android plugin:fhuya2020-04-101-0/+2
| | | | Supports registering and emitting signal from a Godot Android plugin
* Display Server supportPouleyKetchoupp2020-04-081-50/+27
|
* Vulkan rendering for AndroidPouleyKetchoupp2020-04-031-3/+8
|
* Replace NULL with nullptrlupoDharkael2020-04-021-9/+9
|
* Refactored input, goes all via windows now.Juan Linietsky2020-03-261-1/+3
| | | | Also renamed Input to InputFilter because all it does is filter events.
* Refactored Input, create DisplayServer and DisplayServerX11Juan Linietsky2020-03-261-1/+1
|
* Update the naming scheme for the GodotPlugin's methods in preparate of the ↵fhuya2020-03-191-1/+1
| | | | vulkan integration.
* Re-architecture of the Godot Android plugin.fhuya2020-03-051-88/+1
|
* Miscellaneous cleanup for the Android codebase:fhuya2020-03-041-928/+66
| | | | | | | | - update gradle plugins versions - add formatting rules for AndroidManifest and gradle build files - cleanup java_godot_lib_jni Note: logic was mostly moved around and no new logic/functionality was added.
* Merge pull request #36682 from nekomatata/android-compilation-fixRémi Verschelde2020-03-041-15/+11
|\ | | | | Compilation fixes on Android
| * Compilation fixes on AndroidPouleyKetchoupp2020-03-041-15/+11
| |
* | Merge pull request #18020 from bruvzg/input_fix_non_latin_and_add_hw_scancodesRémi Verschelde2020-03-011-8/+9
|\ \ | |/ |/| Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
| * Rename `scancode` to `keycode`.bruvzg2020-02-251-8/+9
| | | | | | | | | | Add `physical_keycode` (keyboard layout independent keycodes) to InputEventKey and InputMap. Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
* | Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.Juan Linietsky2020-02-251-12/+19
|/ | | | | | | | | | | | | | | | | | | | | - Renames PackedIntArray to PackedInt32Array. - Renames PackedFloatArray to PackedFloat32Array. - Adds PackedInt64Array and PackedFloat64Array. - Renames Variant::REAL to Variant::FLOAT for consistency. Packed arrays are for storing large amount of data and creating stuff like meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of memory. That said, many users requested the ability to have 64 bits packed arrays for their games, so this is just an optional added type. For Variant, the float datatype is always 64 bits, and exposed as `float`. We still have `real_t` which is the datatype that can change from 32 to 64 bits depending on a compile flag (not entirely working right now, but that's the idea). It affects math related datatypes and code only. Neither Variant nor PackedArray make use of real_t, which is only intended for math precision, so the term is removed from there to keep only float.
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-7/+7
| | | | objects and made them default.
* PoolVector is gone, replaced by VectorJuan Linietsky2020-02-181-32/+32
| | | | | Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
* Fix ClassDB API portability with some android and editor classesIgnacio Etcheverry2020-01-191-2/+1
| | | | | | | | | | | | | | | | | | - `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).
* fixes android double tap regressionAlexander Holland2020-01-131-1/+1
|
* Fixes Android FileDialogAlexander Holland2020-01-101-0/+14
| | | | | | - 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
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | 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.
* Add Android NetSocket implementation.Fabio Alessandrelli2019-12-141-0/+2
| | | | Automatically acquire and release multicast lock when needed.
* Add request permission automatically at androidCagdas2019-10-221-0/+4
|
* Adds Pen support for AndroidAlexander Holland2019-10-041-0/+7
|
* Add new events and accompanying logic to notify when the app is paused and ↵fhuya2019-09-191-0/+18
| | | | resumed on Android devices.
* Update the fallback input mapping for the Oculus mobile devices.fhuya2019-08-261-1/+1
|
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", ↵Robin Hübner2019-08-091-11/+2
| | | | "modules/gdnative", "modules/gdscript" directories.
* Added release function to PoolVector::Access.Ibrahn Sahir2019-07-061-4/+4
| | | | | | For clarity, assign-to-release idiom for PoolVector::Read/Write replaced with a function call. Existing uses replaced (or removed if already handled by scope)
* Restructuring glue code to make it easier to extendBastiaan Olij2019-04-051-0/+1398