Fredia Huya-Kouadio
be4b07c3e4
Add double_tap
attribute to InputEventScreenTouch
...
This provides parity with the `InputEventMouseButton` allowing for proper conversion between the two events.
2022-10-20 11:56:11 -07:00
Fredia Huya-Kouadio
6f153593dc
Merge pull request #66945 from m4gr3d/add_mouse_cursor_shape_support_3x
...
Add cursor shape support for the Android platform
2022-10-05 13:06:58 -07:00
Fredia Huya-Kouadio
46f091a803
Add cursor shape support for the Android platform
2022-10-05 12:08:54 -07:00
Jason Knight
31fe6848e8
Fix null in android keyboard handling.
2022-10-05 11:18:39 -06:00
Rémi Verschelde
bfe60393f5
Merge pull request #65503 from m4gr3d/fix_invalid_project_manager_path_3x
2022-09-08 09:48:43 +02:00
Fredia Huya-Kouadio
4be7c91cd9
Fix issue causing the project manager to crash because of missing path argument
...
In the process, the initialization logic is updated to show an error message and gracefully close the engine when setup errors occur.
2022-09-07 14:25:22 -07:00
Fredia Huya-Kouadio
440fa10246
Cleanup the Android input logic implementation
2022-09-07 13:29:31 -07:00
Fredia Huya-Kouadio
30479543b0
Fix issue preventing the Android Editor from displaying the project content
...
The issue was causing by a bug within the logic for `FileAccessFilesystemJAndroid#eof_reached()` causing that value to remain false after the eof was reached.
This in turn caused an infinite loop in the file scanner preventing the project's content from showing up.
2022-08-15 02:21:34 -07:00
Fredia Huya-Kouadio
ef44e63f22
Fix GodotTTS native initialization
2022-08-14 22:01:31 -07:00
Rémi Verschelde
8cc8127bb1
Merge pull request #62886 from madmiraal/fix-59931-3.x
2022-08-08 15:54:39 +02:00
Rémi Verschelde
0bed7ea63f
Merge pull request #61316 from bruvzg/tts_3x
...
[3.x] Backport text-to-speech support.
2022-08-05 23:45:51 +02:00
Rémi Verschelde
26762a71b6
Merge pull request #58537 from winterpixelgames/feature/virtual-keyboard-types-3.x
2022-08-05 19:37:13 +02:00
Fredia Huya-Kouadio
fc2c202312
Address remaining scoped storage regressions
...
- Accelerate common path used to check the storage scope for a given path
- Update the logic for the `get_as_text()` method - previous logic loads the content of a text file one byte at a time
2022-07-26 07:42:49 -07:00
Marcel Admiraal
2f7de4c8ed
Fix incorrect Android scancodes
2022-07-13 16:24:37 +01:00
Brian Semrau
ce24b48e50
Add support for multiple virtual keyboard types
2022-07-07 14:22:28 -04:00
Fredia Huya-Kouadio
27b63247fd
Fix issue causing the Android Editor port to crash when saving a scene
...
In addition:
- Disable 'adb devices' query (not supported when running the editor on Android devices
- Add `move_to_trash` implementation for Android devices
2022-07-05 02:59:52 -07:00
Fredia Huya-Kouadio
0abc4ad129
Fix the directory copy bug issue
...
The issue was caused by a logic bug causing end of file to be reported for empty files.
2022-07-04 12:56:53 -07:00
bruvzg
6489fe890e
Backport text-to-speech support.
2022-07-01 11:04:50 +03:00
ne0fhyk
24e3b3b88d
Add full support for Android scoped storage.
...
This was done by refactoring directory and file access handling for the Android platform so that any general filesystem access type go through the Android layer.
This allows us to validate whether the access is unrestricted, or whether it falls under scoped storage and thus act appropriately.
2022-06-26 16:53:02 -07:00
Rémi Verschelde
af4e3cb931
Merge pull request #62290 from madmiraal/fix-61816-3.x
...
[3.x] Remove broken scroll gesture on Android
2022-06-26 08:38:08 +02:00
Gustavo Maciel
a38119a746
Update android:targetSdkVersion from 30 to 31
...
Starting in August 2022, new apps will need to target API level 31 (Android 12) or higher and adjust for behavioral changes.
Read more here: https://developer.android.com/google/play/requirements/target-sdk
(cherry picked from commit ec6d5d6cba
)
2022-06-23 15:59:15 +02:00
Marcel Admiraal
9091309ab7
Remove broken scroll gesture on Android
2022-06-21 17:04:42 +01:00
Marcel Admiraal
50bf882fcc
Ensure joystick has been added or not already removed when processing input
...
(cherry picked from commit 806e7d18d1
)
2022-06-16 20:47:49 +02:00
Fredia Huya-Kouadio
05fc140ee6
Misc editor tweaks and polishes:
...
- Using a bucketized approach to select the editor scale in order to avoid too high values
- Add default app dimensions: used on Android devices with free floating app windows to set the default app frame
- Add ability to launch the Game window in an adjacent frame when in multi window mode
(cherry picked from commit 6f7ec7f723
)
2022-06-08 10:11:28 +02:00
Marcel Admiraal
9f0dba8b65
Ensure Android Java and Kotlin compile to the same version
2022-06-01 16:24:12 +01:00
Marcel Admiraal
b66b153b8c
Remove duplicate Android sensor listener registrations
...
(cherry picked from commit cf0f967e6d
)
2022-05-24 00:06:20 +02:00
Fredia Huya-Kouadio
b162e7ac39
Fix the logic to restart the Godot application
2022-05-23 13:15:25 -07:00
Marcel Admiraal
fe60de2c6a
Check for null when retrieving clip data item text on Android
...
(cherry picked from commit 5924e2b90e
)
2022-05-05 13:44:00 +02:00
Rémi Verschelde
d8e702b010
Merge pull request #60552 from madmiraal/implement-3466-3.x
...
[3.x] Add a method for obtaining display cutouts on Android
2022-05-02 07:58:05 +02:00
Marcel Admiraal
9a4d4ec2d5
Remove superfluous null check
...
(cherry picked from commit 988432b8bb
)
2022-04-27 12:25:58 +02:00
Marcel Admiraal
76b5c31433
Replace index iterators with for each loops.
...
(cherry picked from commit 334ebd7eb7
)
2022-04-27 12:25:47 +02:00
Marcel Admiraal
23b649b673
Remove superfluous check for minimum Android SDK.
...
(cherry picked from commit 2f225bf2c5
)
2022-04-27 12:25:34 +02:00
Marcel Admiraal
ec2270b88f
Add a method for obtaining display cutouts on Android
2022-04-26 13:52:33 +02:00
Marcel Admiraal
b5402818d7
Remove superfluous Android InputManager interface and implementation
2022-04-22 19:10:01 +02:00
Fredia Huya-Kouadio
3ba0508f79
Update the editor display scale based on the device's scaled density
2022-04-04 04:18:56 -07:00
Fredia Huya-Kouadio
8ca32d1727
Fix flickering issues with low processor mode on Android
2022-03-29 12:17:25 -07:00
Fredy Huya-Kouadio
6f2442b17a
Cleanup the gradle build configuration
...
These changes resolve the inconsistency between gradle and scons targets by configuring the gradle buildtypes to match the scons targets.
2022-03-28 08:12:55 -07:00
Fredy Huya-Kouadio
cb0b2aefc3
Android port of the Godot Editor
...
These set of changes focus primarily on getting the core logic and overall Godot Editor UI and functionality up and running natively on Android devices.
UI tweaks / cleanup / polish, as well configuration for Android specific functionality / restrictions will be addressed in follow-up PRs iteratively based on feedback.
Co-authored-by: thebestnom <shoval.arad@gmail.com>
2022-03-28 07:54:10 -07:00
Fredia Huya-Kouadio
b8178a7f0a
Setup logic to publish the Godot Android library to MavenCentral
...
(cherry picked from commit a2bf47de2b
)
2022-03-17 14:45:19 +01:00
Hugo Locurcio
cec7c908ca
Add get_screen_refresh_rate()
to OS
...
This method can be used to get the refresh rate of a given screen.
It is supported on Windows, macOS, Linux, Android and iOS (but not
HTML5).
2022-03-10 22:10:48 +01:00
Haoyu Qiu
76297e744d
Add OS.has_clipboard()
to check clipboard content
2022-01-19 20:19:06 +08:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Marcel Admiraal
b5d325e6ff
Only rotate Android sensor values for sensors that need them rotated
2021-12-15 18:15:25 +00:00
Rémi Verschelde
451bba967a
Merge pull request #55158 from m4gr3d/add_oculus_openxr_config_3x
2021-11-22 10:29:49 +01:00
Marcel Admiraal
05744ee0e2
Fix Android get_screen_orientation()
not returning valid values
2021-11-21 12:14:29 +00:00
Fredia Huya-Kouadio
9c50bcabed
Add support for OpenXR export configurations.
2021-11-20 06:59:36 -08:00
Pedro J. Estébanez
4f8bc77a4c
Drop broken Android 32-bit framebuffer setting
2021-11-15 10:44:41 +01:00
Pedro J. Estébanez
abdf931832
Add off-screen GL context
2021-11-09 12:19:12 +01:00
Fredia Huya-Kouadio
724ef83971
Add default minSdkVersion
and targetSdkVersion
in the AndroidManifest.xml file
2021-11-03 21:49:22 -07:00
Rémi Verschelde
87c80f529f
clang-format: Enable BreakBeforeTernaryOperators
...
clang-format keeps breaking the way it handles break *after* ternary operators,
so I give up and go with the only style they seem to actually test.
2021-10-28 14:50:33 +02:00