summaryrefslogtreecommitdiff
path: root/platform/android
AgeCommit message (Collapse)Author
2021-07-02Merge pull request #50072 from madmiraal/android-remove-interface-modifiersRémi Verschelde
Remove redundant interface modifiers from Android Java code
2021-07-02Remove redundant interface modifiers from Android Java codeMarcel Admiraal
2021-07-02Remove unnecessary semicolons from Android Java codeMarcel Admiraal
2021-07-01Android: Add `isGame` application attribute, default to trueRémi Verschelde
It can be turned off in the export preset with `package/classify_as_game`. Upstream definition: https://developer.android.com/guide/topics/manifest/application-element#isGame > `android:isGame` > > Whether or not the application is a game. The system may group together > applications classifed as games or display them separately from other > applications. Also fixes replacing `android:allowBackup` in custom builds.
2021-06-30Fix unchecked call to put() warning in GodotInputHandler.javaMarcel Admiraal
2021-06-29Add GDNative libraries to Android custom Gradle buildsMarcel Admiraal
2021-06-24Update config versions and deprecate the use of the jcenter maven repo.ne0fhyk
2021-06-22Add support for custom debug keystore.ne0fhyk
2021-06-20Use mouse and joypad enums instead of plain integersAaron Franke
Also MIDIMessage
2021-06-20Move many input enums to their own fileAaron Franke
2021-06-19Rename `instance()`->`instantiate()` when it's a verbLightning_A
2021-06-19Add adb output to error message when install failsMarcel Admiraal
2021-06-12Merge pull request #49123 from aaronfranke/it-is-timeRémi Verschelde
Add a Time singleton
2021-06-11Rename Reference to RefCountedPedro J. Estébanez
2021-06-11Merge pull request #49511 from akien-mga/core-diraccess-fileaccess-ioRémi Verschelde
Core: Move DirAccess and FileAccess to `core/io`
2021-06-11Merge pull request #49279 from Calinou/rename-string-is-abs-path-methodRémi Verschelde
Rename `String.is_abs_path()` to `String.is_absolute_path()`
2021-06-11Add Time singletonAaron Franke
2021-06-11Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde
File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
2021-06-10Merge pull request #49435 from madmiraal/add-android-external-dirRémi Verschelde
Add OS.get_external_data_dir() to get Android external directory
2021-06-10Add OS.get_external_data_dir() to get Android external directoryMarcel Admiraal
2021-06-10Remove unused AudioDriverAndroid from AndroidMarcel Admiraal
2021-06-07Merge pull request #49382 from akien-mga/misc-cleanupRémi Verschelde
Style: Cleanup uses of double spaces between words
2021-06-07Style: Cleanup uses of double spaces between wordsRémi Verschelde
Or after punctuation. Tried to leave third-party stuff alone, unless it has been heavily modified for Godot.
2021-06-07Update Gradle archiveName and destinationDir propertiesMarcel Admiraal
2021-06-03Rename `String.is_abs_path()` to `String.is_absolute_path()`Hugo Locurcio
This is more consistent with `NodePath.is_absolute()`.
2021-06-01Merge pull request #48963 from ↵Rémi Verschelde
HaywardMorihara/export-android-keystore-debug-warnings Exporting -> Android: Keystore Warnings
2021-05-31Implement shader cachingreduz
* Shader compilation is now cached. Subsequent loads take less than a millisecond. * Improved game, editor and project manager startup time. * Editor uses .godot/shader_cache to store shaders. * Game uses user://shader_cache * Project manager uses $config_dir/shader_cache * Options to tweak shader caching in project settings. * Editor path configuration moved from EditorSettings to new class, EditorPaths, so it can be available early on (before shaders are compiled). * Reworked ShaderCompilerRD to ensure deterministic shader code creation (else shader may change and cache will be invalidated). * Added shader compression with SMOLV: https://github.com/aras-p/smol-v
2021-05-25Merge pull request #49069 from RandomShaper/android_data_backupRémi Verschelde
Allow basic user data backup on Android
2021-05-25Merge pull request #48422 from szymonm-google/android_orientation_fixRémi Verschelde
Fixed changing screen orientation on Android
2021-05-25Allow basic user data backup on AndroidPedro J. Estébanez
2021-05-25Rename File::get_len() get_length()Marcel Admiraal
2021-05-24Fixed screen orientation on AndroidSzymon Majewski
2021-05-24Exporting: Android Debug Keystore WarningsNathaniel Morihara
2021-05-24Merge pull request #48939 from Calinou/screen-orientation-use-enumRémi Verschelde
Use an enum to represent screen orientation in the Project Settings
2021-05-24Use an enum to represent screen orientation in the Project SettingsHugo Locurcio
- Tweak the setting property hint to be more informative. - Make the setting a "basic" setting so it appears when Advanced Settings is disabled. - Remove redundant orientation setting in the iOS export preset. The project setting is now used (like on Android). Projects upgrading from a previous version will have to set the screen orientation again in the Project Settings if it wasn't set to the default value ("landscape").
2021-05-22Add symlink API to the DirAccess (on macOS and Linux).bruvzg
2021-05-19Android: Add support for cursor iconsthebestnom
2021-05-19Android: Remove `-fno-integrated-as`, it can break arm64v8 buildRémi Verschelde
We found that this flag causes this error on PR #48812 which does not add any fancy inline assembly: ``` /tmp/tile_set-ce236a.s: Assembler messages: /tmp/tile_set-ce236a.s:34676: Error: selected processor does not support `bfc x0,#32,#32' clang++: error: assembler command failed with exit code 1 (use -v to see invocation) ``` That flag is mentioned in various errors related to assembler failures on arm64v8 with Clang from the Android NDK. It was added in Godot in #6958 when migrating from GCC to Clang, and is indeed referenced in the NDK's Clang migration guide: https://android.googlesource.com/platform/ndk/+/master/docs/ClangMigration.md > Especially for ARM and ARM64, Clang is much stricter about assembler rules > than GCC/GAS. Use `-fno-integrated-as` if Clang reports errors in inline > assembly or assembly files that you don't wish to modernize. We don't get those errors nowadays so it seems the flag is no longer needed.
2021-05-17Merge pull request #48168 from LightningAA/control-to-ctrl-4.0Rémi Verschelde
2021-05-17Make all file access 64-bit (uint64_t)Pedro J. Estébanez
This changes the types of a big number of variables. General rules: - Using `uint64_t` in general. We also considered `int64_t` but eventually settled on keeping it unsigned, which is also closer to what one would expect with `size_t`/`off_t`. - We only keep `int64_t` for `seek_end` (takes a negative offset from the end) and for the `Variant` bindings, since `Variant::INT` is `int64_t`. This means we only need to guard against passing negative values in `core_bind.cpp`. - Using `uint32_t` integers for concepts not needing such a huge range, like pages, blocks, etc. In addition: - Improve usage of integer types in some related places; namely, `DirAccess`, core binds. Note: - On Windows, `_ftelli64` reports invalid values when using 32-bit MinGW with version < 8.0. This was an upstream bug fixed in 8.0. It breaks support for big files on 32-bit Windows builds made with that toolchain. We might add a workaround. Fixes #44363. Fixes godotengine/godot-proposals#400. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-05-07Rename "Control" key to "Ctrl" and add "_pressed" suffix to all ↵Lightning_A
InputEventWithModifiers properties/methods
2021-05-07OS: Remove native video API only implemented on iOSRémi Verschelde
See discussion in #43811, it was only implemented on iOS and even that implementation was fairly limited. This would best be provided as plugins for Android and iOS without cluttering the shared OS API.
2021-05-06Rename `IP_Unix`, `IP_Address` and `TCP_Server` to remove underscoresHugo Locurcio
2021-05-04Rename `doubleclick` to `double_click`Aaron Franke
2021-04-28[Android] fix generateDevTemplatethebestnom
2021-04-28Merge pull request #48239 from akien-mga/goodbye-copymemRémi Verschelde
Core: Drop custom `copymem`/`zeromem` defines
2021-04-27Merge pull request #48228 from akien-mga/android-build-tools-30.0.3Rémi Verschelde
Android: Upgrade buildTools from 30.0.1 to 30.0.3
2021-04-27Core: Drop custom `copymem`/`zeromem` definesRémi Verschelde
We've been using standard C library functions `memcpy`/`memset` for these since 2016 with 67f65f66391327b2967a20a89c3627e1dd6e84eb. There was still the possibility for third-party platform ports to override the definitions with a custom header, but this doesn't seem useful anymore.
2021-04-26Remove deprecated xr features properties. These properties are now provided ↵Fredia Huya-Kouadio
directly by the plugin.
2021-04-26Android: Upgrade buildTools from 30.0.1 to 30.0.3Rémi Verschelde
It seems 30.0.1 had issues with compatibility with JDK 8 and 11, which appear to be solved in 30.0.3 as per godotengine/godot-docs#4796.