summaryrefslogtreecommitdiff
path: root/platform/android
AgeCommit message (Collapse)Author
2023-02-15Android: Default Min SDK to 24 for Vulkan mobileRémi Verschelde
Users can still go down to 21 when using GL Compatibility. This makes the default behavior match the default renderer, and thus avoids a warning in the out of the box experience. Also mark texture compression settings as basic, since out of the box users who want to export to Android will need to enable ETC2/ASTC manually.
2023-02-14[InputEventKey] Avoid setting both key and modifier to the same value.bruvzg
2023-02-12Fix the issue causing long-press on a selected node on the scene tree to ↵Fredia Huya-Kouadio
trigger both the context menu and the rename functionality
2023-02-09Further refactoring to AudioDriver implementations after #69120.Emmanouil Papadeas
- Rename all instances of `capture_start()` and `capture_end()` to their new names. Fixes #72892. - More internal renames to match what was started in #69120. - Use `override` consistently so that such refactoring bugs can be caught. - Harmonize the order of definition of the overridden virtual methods in each audio driver. - Harmonize prototype for `set_output_device` and `set_input_device`. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-02-07Downgrade the vulkan abort logic to a warningFredia Huya-Kouadio
This addresses issues where some drivers are reporting they don't meet the vulkan hardware level 1 support requirements even though they render as expected when the check is removed.
2023-02-06Merge pull request #72552 from m4gr3d/cleanup_custom_build_mainRémi Verschelde
Rename Godot's 'custom build' to 'gradle build' to better reflect the underlying build process
2023-02-06Improve logic to detect whether vulkan is used for renderingFredia Huya-Kouadio
2023-02-05Improve vulkan capability detection on AndroidFredia Huya-Kouadio
- Add runtime check and abort when the device doesn't meet the requirements for vulkan support - Add filters to the AndroidManifest when exporting with a vulkan renderer
2023-02-02Rename Godot's 'custom build' to 'gradle build' to better reflect the ↵Fredia Huya-Kouadio
underlying build process.
2023-02-01Clean up the XR export logicFredia Huya-Kouadio
Remove the XR export logic from the legacy build system: - On Android, Godot 4 export requires the use of Android plugins which are not supported by the legacy build system - Provides added flexibility for configuring the Android manifest for XR specific capabilities.
2023-02-01More codespell fixes, do more changes from previous ignore listRémi Verschelde
2023-02-01Implement file provider capabilitiesFredia Huya-Kouadio
The previously used file sharing api was restricted after Android N causing the engine to crash whenever used on devices running Android N or higher.
2023-01-30Refactor high quality texture importJuan Linietsky
* Only two texture import modes for low/high quality now: * S3TC/BPTC * ETC2/ASTC * Makes sense given this is the general preferred and most compatible combination in most platforms. * Removed lossy_quality from VRAM texture compression options. It was unused everywhere. * Added a new "high_quality" option to texture import. When enabled, it uses BPTC/ASTC (BC7/ASTC4x4) instead of S3TC/ETC2 (DXT1-5/ETC2,ETCA). * Changed MacOS export settings so required texture formats depend on the architecture selected. This solves the following problems: * Makes it simpler to import textures as high quality, without having to worry about the specific format used. * As the editor can now run on platforms such as web, Mac OS with Apple Silicion and Android, it should no longer be assumed that S3TC/BPTC is available by default for it.
2023-01-27Update the XR manifest configsFredia Huya-Kouadio
Remove the ones provided automatically by the loaders, and the ones enabled by the default on the platform. Fixes https://github.com/GodotVR/godot_openxr_loaders/issues/19
2023-01-27Merge pull request #72168 from RandomShaper/sensible_lock_returnRémi Verschelde
Booleanize various sync primitives' wait & locking methods
2023-01-27Booleanize various sync primitives' wait & locking methodsPedro J. Estébanez
2023-01-26[Android] Fix virtual keyboard special keys.bruvzg
2023-01-26Merge pull request #72106 from ↵Rémi Verschelde
m4gr3d/fix_godot_android_editor_4_crash_after_running_game Fix the issue causing the Godot Android Editor to crash when returning from the launched and running game
2023-01-26Fix the issue causing the Godot Android Editor to crash when returning from ↵Fredia Huya-Kouadio
the launched and running game The issue was caused because the running game pid was not set, and thus had a value of `0`. When trying to stop the running game, the `EditorRun::stop()` logic would kill the process with pid 0, which on Android corresponds to the running app's own process, thus causing the editor to crash. This issue did not happen on Godot 3 because pid with value of `0` are not considered valid.
2023-01-25Address kotlin build warningsFredia Huya-Kouadio
2023-01-24Merge pull request #71917 from m4gr3d/update_godot_android_editor_labelRémi Verschelde
Update the Godot Android Editor name from `Godot Editor 4.x` to `Godot Editor 4`
2023-01-23Update the Godot Android Editor name from `Godot Editor 4.x` to `Godot ↵Fredia Huya-Kouadio
Editor v4`
2023-01-23Merge pull request #71836 from m4gr3d/fix_godot_editor_cropping_mainRémi Verschelde
Update the logic to calculate the screen scale on Android
2023-01-23Cleanup and unify keyboard input.bruvzg
- Unify keycode values (secondary label printed on a key), remove unused hardcoded Latin-1 codes. - Unify IME behaviour, add inline composition string display on Windows and X11. - Add key_label (localized label printed on a key) value to the key events, and allow mapping actions to the unshifted Unicode events. - Add support for physical keyboard (Bluetooth or Sidecar) handling on iOS. - Add support for media key handling on macOS. Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-22Update the logic to calculate the screen scale on AndroidFredia Huya-Kouadio
Takes into account the ratio between the screen size and the default window dimensions.
2023-01-20Merge pull request #71646 from Vilcrow/android-export-genname-checkRémi Verschelde
[Android export] Added validation of the project name when using $genname in the 'Unique Name' field.
2023-01-20[Android export] Added validation of the project name when using $genname in ↵S.V.I. Vilcrow
the 'Unique Name' field.
2023-01-19[GDExtension] Expose some low level functions and String operators.bruvzg
2023-01-17Improve DisplayServer message for video card drivers failureRémi Verschelde
And remove leftover duplicated message on Android.
2023-01-14Update all outdated online documentation linksYuri Sizov
2023-01-13Merge pull request #63312 from bruvzg/one_clickRémi Verschelde
[Export] Add one-click deploy over SSH for the desktop exports.
2023-01-11Fix writing value for hand-tracking V2.0 to AndroidManifest.xmlTom Beckmann
2023-01-08Use BitField<> in core type masksJuan Linietsky
* All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
2023-01-07Add support for the custom initial screen for the main window, fix primary ↵bruvzg
screen detection.
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-03Merge pull request #63483 from qianjunakasumi/qianjunakasumi/masterRémi Verschelde
Introduce `appCategory` attribute of android to set category
2023-01-01 Introduce `appCategory` attribute of android to set category千橘 雫霞
2022-12-29[Export] Add one-click deploy over SSH for the desktop exports.bruvzg
Add one-click deploy over SSH for the desktop exports. Add ZIP export option for Linux and Windows. Change export plugin icons to SVG format.
2022-12-23Merge pull request #67668 from nikitalita/apk-signerRémi Verschelde
Improve get_apksigner_path() robustness
2022-12-23Merge pull request #67759 from TechnoPorg/jni-64-bit-arraysRémi Verschelde
Improve support for 64-bit types on Android.
2022-12-16Add boot splash for the Godot Android EditorFredia Huya-Kouadio
2022-12-14Merge pull request #69990 from exoticorn/fix-android-touch-inputFredia Huya-Kouadio
Fix ambiguous touch input events on Android
2022-12-12handle ambiguous input events as touch eventsDennis Ranke
there can be events can have both SOURCE_TOUCHSCREEN and SOURCE_STYLUS. handle them as touch events rather than mouse events.
2022-12-12Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextensionRémi Verschelde
Rename all gdnative occurences to gdextension
2022-12-12Rename all gdnative occurences to gdextensionGilles Roudière
Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
2022-12-07Merge pull request #69712 from bruvzg/real_sizeRémi Verschelde
Rename `window_get_real_size`, add position counterpart.
2022-12-07Rename `window_get_real_size` to `window_get_size_with_decorations`, add ↵bruvzg
`window_get_position_with_decorations`.
2022-12-07Fix Determining Window for TouchscreenMarkus Sauermann
DisplayServer::screen_is_touchscreen will likely never utilize its parameter p_screen. This PR replaces this function by DisplayServer::is_touchscreen_available() with the same functionality. This solves the problem, that a SubViewport was used for determining the screen, which resulted in error messages.
2022-12-05Merge pull request #69578 from dsnopek/android-native-handlesRémi Verschelde
Clean up DisplayServerAndroid::window_get_native_handle() with the GLES3 renderer