Commit Graph

149 Commits

Author SHA1 Message Date
a5381e1c18 Fix typo. 2022-08-02 16:29:52 +02:00
7a274ee454 Fix android editor build. 2022-08-02 16:27:43 +02:00
a917d1bed4 Ported: 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
- m4gr3d
fc2c202312
2022-07-29 23:48:31 +02:00
e7100658d4 Ported: Fix exit code of --help and --version, and test them in CI
Corrects prior regression which caused ERROR output and exit code of 1. - Bromeon
861e155543
2022-07-29 21:45:04 +02:00
8107f6fea6 Fix an another import. 2022-07-29 21:05:20 +02:00
17f9583dc0 Fix imports. 2022-07-29 20:33:57 +02:00
7ed3705487 Ported: 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
- m4gr3d
27b63247fd
2022-07-29 20:15:01 +02:00
65b888f597 Fix typo. 2022-07-29 20:01:31 +02:00
64d315631a Added overrides. 2022-07-29 19:46:24 +02:00
6291a6695d Fix typo. 2022-07-29 19:38:24 +02:00
9d76074b58 Ported: 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.
- m4gr3d
24e3b3b88d
2022-07-29 19:24:07 +02:00
baad7f01a0 Ported:Upgrade Android NDK to r23 LTS - madmiraal
061c280873
2022-07-29 18:12:25 +02:00
fef163cd57 Ported: 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
- gumaciel
a38119a746
2022-07-29 12:07:26 +02:00
845d0771b1 Ported: Remove broken scroll gesture on Android - madmiraal
9091309ab7
2022-07-29 11:46:13 +02:00
1e747ac9ba Ported: Ensure joystick has been added or not already removed when processing input.
50bf882fcc
2022-07-29 10:12:37 +02:00
6225d5e6b5 Added missing scripts. 2022-07-29 09:22:06 +02:00
d6e3a9e014 Ported: Migrate the Godot Editor java source file to Kotlin. - m4gr3d
5946b4bdc6
2022-07-29 09:00:31 +02:00
b829fff345 Ported: Ensure Android Java and Kotlin compile to the same version - madmiraal
9f0dba8b65
2022-07-29 08:35:59 +02:00
43131ad4cb Ported: Add readable export errors. Add RTL image vertical alignment support. - bruvzg
f5fa1ca944
2022-07-28 18:40:46 +02:00
d95091efab Ported: 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
-m4gr3d
05fc140ee6
2022-07-28 14:14:34 +02:00
5a72ab5669 Ported: Only use Android fullscreen theme for splash screen - madmiraal
caaaef68b4
2022-07-28 13:24:22 +02:00
Rémi Verschelde
0f9ab62c91 Android: Change export plugin poll to 300 ms
This removes the reliance on the not-so-fully-implemented Power API,
which throws an error in the HTML5 editor.

This was already changed to 200 ms in the master branch, and here I
picked 300 ms to be consistent with the iOS export plugin. All these
thread sleeps need to be re-assessed together to be made more
consistent (and possibly configurable - and most importantly battery
preserving by default).
2022-07-28 11:11:52 +02:00
ed207ab5da Ported: Remove duplicate Android sensor listener registrations - madmiraal
b66b153b8c
2022-07-28 10:08:07 +02:00
92e1759b39 Ported: Fix the logic to restart the Godot application - m4gr3d
b162e7ac39
2022-07-28 10:06:47 +02:00
Hugo Locurcio
c0c4418ce7 Increase compiler optimization when using target=release on iOS/Android
(cherry picked from commit 78b4ec2d4d0d6233ca0f4d8cfeb74640063e970f)
2022-07-27 18:48:04 +02:00
02eef8fc57 Ported: Check for null when retrieving clip data item text on Android - madmiraal
fe60de2c6a
2022-07-27 14:28:26 +02:00
720fac314f Fix an another typo. 2022-07-27 00:33:10 +02:00
f3f3d61a94 Fx typo. 2022-07-27 00:25:58 +02:00
f3ec84fa78 Ported: Add a method for obtaining display cutouts on Android - madmiraal
ec2270b88f
2022-07-27 00:21:20 +02:00
634345f152 Ported: Remove duplicate resizable settings - m4gr3d
a3b445d7e8
2022-07-26 12:33:36 +02:00
d14f7d0134 Ported: Update resize settings:
- Unlock resizing for the Godot Editor
- Add an option to specify whether a game is resizeable for the Godot template
- m4gr3d
4ff726b933
2022-07-26 12:25:24 +02:00
ef7f5a8c43 Fix an another error. 2022-07-25 22:30:16 +02:00
08ee0b9406 Fix android build. 2022-07-25 22:26:55 +02:00
15b447d880 Ported: Update the editor display scale based on the device's scaled density - m4gr3d
3ba0508f79
2022-07-25 22:07:34 +02:00
7641f064d0 Fixed low processor mode on android. The fix was inspired by https://github.com/godotengine/godot/pull/59606, although I did it differently. 2022-03-28 13:21:41 +02:00
d328372f38 Updated old paths in the android jni wrapper classes. This fixes the export templates. 2022-03-24 21:39:55 +01:00
8710bc131e Changed all icons. Also small cleanups. 2022-03-24 01:09:27 +01:00
e5e17fcd68 Removed a few now unneeded files. 2022-03-24 00:17:36 +01:00
32f148ac0c Mass replaced godot to pandemonium. 2022-03-23 20:46:05 +01:00
c9ad789c17 Add comment on why the low processor usage doesn't work on android. 2022-03-23 12:02:20 +01:00
068d2b506b Removed remaining xr specific things. 2022-03-23 11:36:11 +01:00
a271898744 Fix typo. 2022-03-23 08:26:29 +01:00
b74c00ea65 Backported the 3.x android editor port pr by m4gr3d and thebestnom. (Godot pr 57747). 2022-03-22 19:35:57 +01:00
4d7df62b8e Clang format all files. 2022-03-18 19:00:13 +01:00
3e97039c99 Added compile options for rtti and exceptions. They are disabled by default. They used to be enabled on most platforms, it does not seem to break anything. 2022-03-18 17:04:14 +01:00
9fd8fc6eed Same change to classes under platform. 2022-03-17 22:38:14 +01:00
3965d70ac5 Moved more includes to cpp files. 2022-03-17 19:35:23 +01:00
00285e8b24 Removed the gles3 driver. There are still mentions of it in a few places, I did not removed all of those. 2022-03-15 17:01:21 +01:00
49f8e8c398 Added godot with all my currently used engine modules. 2022-03-15 13:29:32 +01:00