Commit Graph

173 Commits

Author SHA1 Message Date
673414d913 More compile fixes. 2024-09-07 13:23:24 +02:00
ff5a033b27 Compile fixes. 2024-09-07 12:41:30 +02:00
06c251749e Compile fixes. 2024-09-07 12:31:06 +02:00
048920302e Fix compile errors. 2024-09-07 12:13:19 +02:00
bruvzg
8479340f52 Add audio/general/text_to_speech project setting to enable/disable TTS. 2024-09-07 11:55:21 +02:00
Fredia Huya-Kouadio
8a274947c3 Fix GodotTTS native initialization 2024-09-07 10:46:09 +02:00
7ffe8780fe Fix includes. 2024-09-07 10:40:06 +02:00
bruvzg
66af3f29eb Backport text-to-speech support. 2024-09-07 10:28:39 +02:00
Alexander Hartmann
2f27d74f3f fix lost old callback when continuous call requestRenderAndNotify 2024-07-20 20:50:16 +02:00
c7ac1db971 Clang format everything. 2024-07-16 21:23:54 +02:00
9d6680ce6d Adding back the GLES3 renderer pt1. Unlike in godot it can be disabled compile time. It will be enabled afer if works. 2024-07-16 00:14:10 +02:00
melquiadess
33c6c019fa Add POST_NOTIFICATIONS permission to the list of permissions available in the Export dialog
(cherry picked from commit 739190ca2b7f1b67a78eff33154a4bfd1964f5c4)
2024-07-14 21:03:39 +02:00
Fredia Huya-Kouadio
7f8a39725e Fix gradle build errors when the build path contains non-ASCII characters
(cherry picked from commit f1887a30f35dafac405014ef5ca6e3d76b4da960)
2024-07-14 08:54:36 +02:00
f09ab537e0 Clang-format everything. 2024-04-21 15:27:36 +02:00
535184f230 Fix android editor build. 2024-04-20 14:29:19 +02:00
66de30fbaa Added missing namespace. 2024-04-20 13:44:19 +02:00
914c956b75 Backported Update Android dependencies for the project
- Update Java version from 11 to 17
- Update Android gradle plugin version from 7.2.1 to 8.2.0
- Update gradle version from 7.4.2 to 8.2
- Update target SDK from 33 to 34
- Update build tools version from 33.0.2 to 34.0.0
- Update kotlin version from 1.7.0 to 1.9.20
- Update Android fragment version from 1.3.6 to 1.6.2
- Update AndroidX window version from 1.0.0 to 1.2.0
- Update Nexus plugin version from 1.1.0 to 1.3.0
- m4gr3d
eba77be573
Unfortunately this raises the required java version to 17. On the flip side hovewer there is a new editor java home setting, and also the JAVA_HOME environment variable gets picked up.
2024-04-20 13:35:32 +02:00
Aleksey Kapustyanenko
11cdb79005 Rotary input for 3.x 2024-04-06 12:20:05 +02:00
BZ1234567890
1b6d3f3e6e Fix GodotEditText white box showing during game load 2024-04-06 12:14:56 +02:00
cf7b59b6c8 Fix small formatting inconsistencies. 2024-03-01 16:25:19 +01:00
6a6d3acd96 Clang format everything. 2024-03-01 11:56:19 +01:00
973b686a86 Found and updated some remaining old package paths. 2024-02-23 00:51:21 +01:00
d44d8c2bcd Fix checking the wrong property in the Android's export plugin. 2024-02-23 00:49:31 +01:00
deec900b5e Ported: Update the logic used to start / stop the GL thread
Currently the GL thread is started / stopped when the activity is respectively resumed / paused. However, according to the `GLSurfaceView` documentation, this should be done instead when the activity is started / stopped, so this change updates the start / stop logic for the GL thread to match the documentation.
- m4gr3d
194452bf38
2024-02-08 22:10:48 +01:00
f927e2db73 Ran the clang format script. 2023-12-25 20:27:28 +01:00
Fredia Huya-Kouadio
6713693291 Add Android project settings for gesture support
- Include project setting to enable long press for Android devices
- Include project setting to enable pan and scale gestures on Android devices
2023-12-20 23:08:39 +01:00
Fredia Huya-Kouadio
312a907ce7 Update the launchMode for the GodotApp activity to allow other activities to be part of the same task
For details, see https://developer.android.com/guide/topics/manifest/activity-element#lmode
2023-12-20 22:53:17 +01:00
Fredia Huya-Kouadio
8452eb6c97 Fix Android editor crash issue
Fix issue causing the Android editor to crash when pressing back from a running project
2023-12-20 22:52:19 +01:00
Fredia Huya-Kouadio
7000a13bda Automatically pick the Android sdk path using environment variables 2023-12-20 22:50:59 +01:00
98912a89e8 File copyright header updates pt9. 2023-12-18 00:25:33 +01:00
9022a74db3 Ported from godot: Fix Android input routing logic when using a hardware keyboard
When a hardware keyboard is connected, all key events come through so we can route them directly to the engine.
This is not the case for soft keyboards, for which the current logic was designed as it requires extra processing.
- m4gr3d
620fdd1f07
2023-10-02 17:10:27 +02:00
15f092866b Fix JNI method names and java class lookup names in the android backend. 2023-08-31 21:59:44 +02:00
Hiroki Taira
39bb646127 Add support for DPAD Center key of Android TV remote controller
(cherry picked from commit 9dc84e35816fbb41cfabb1b6e11536edd7263c67)
2023-08-30 11:12:51 +02:00
Omar Shehata
eea5d96503 Fix double tap & drag on Android
(cherry picked from commit 0c94750642978df5b5a100692c7b8be8522fd668)
2023-08-30 10:58:05 +02:00
Ben Rog-Wilhelm
222dcf6c7c Fix: incorrectly .gitignored files.
(cherry picked from commit 90f3992036b2f2fc1b4d08d1cc854d9cd62f6930)
2023-08-30 10:30:35 +02:00
b18d0a5fc9 Fix the android lib's package locations. 2023-08-27 22:56:41 +02:00
8c6856e77b Fix the android editor's package locations. 2023-08-27 22:54:20 +02:00
ae92596f9b Ported: Add parameters for the Godot Activity starting intent to allow restarting or force-quitting the engine
Follow-up code cleanup for #78130
- m4gr3d
5cf0ba88e3
2023-06-28 18:58:29 +02:00
556ffc09f7 Ported from godot: Fix issue causing the last edited project to open while switching to another one.
Fixes #76562
-m4gr3d
ee07f60b07
2023-06-28 13:16:58 +02:00
e79ea9f3a8 Ported form godot: Fix spatial viewport multitouch detection support
Regression introduced by #77497
- m4gr3d
8f44765831
2023-06-28 12:50:27 +02:00
c978f27634 Implemented switching between the running game and the editor in the android editor. 2023-06-15 10:21:23 +02:00
0a4065bb9e Fix error. 2023-06-11 13:56:35 +02:00
59c6ca8d85 Fix android build. 2023-06-11 13:46:15 +02:00
dbbfcdd526 Ported: Fix issue causing the Android editor to crash when creating a new AudioStreamMicrophone
Fixes #73801
- m4gr3d
9c334fa242
2023-06-11 13:40:47 +02:00
d7499a0868 Ported: Improve touchpad and mouse support for the Android editor
- m4gr3d
ccd36e0dbe
2023-06-11 13:29:53 +02:00
d6f5dd35e8 Ported: Enable granular control of touchscreen related settings
- m4gr3d
61e41facc7
2023-06-11 12:57:25 +02:00
4f2f3f4cf0 Fix android editor build. 2023-06-11 10:45:38 +02:00
3331a7ae04 Ported: Augment the InputEvent class with a CANCELED state
The `InputEvent` class currently supports the `pressed` and `released` states, which given the binary nature, is represented by a `bool` field.
This commit introduced the `CANCELED` state, which signals that an ongoing input event has been canceled.
To represent all the states, the `InputEventState` enum is added and the `InputEvent` logic is refactored accordingly.
- m4gr3d
94d6c3dcc6
2023-06-11 10:26:23 +02:00
7e64510427 Ported: Add setting to control the window used to run the project for the Android editor
The follow options were added to the (new) `run/window_placement/android_window` editor setting:

- `Auto`: choose how to run the project based on the device screen size
- `Same as Editor`: run the project in the same window as the editor
- `Side-by-side with Editor`: run the project in an adjacent window to the editor
- m4gr3d
b5a908c985
Removed my force launch adjacent solution in favor of this.
2023-06-11 09:52:39 +02:00
ca982ac507 Ported: Add benchmark logic
Add benchmarking measuring methods to `OS` to allow for platform specific overrides (e.g: can be used to hook into platform specific benchmarking and tracing capabilities).
- m4gr3d
Also contains some mouse pointer improvements.
2023-05-01 15:32:01 +02:00