summaryrefslogtreecommitdiffstats
path: root/platform/android/export/export_plugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #72552 from m4gr3d/cleanup_custom_build_mainRémi Verschelde2023-02-061-33/+33
|\ | | | | | | Rename Godot's 'custom build' to 'gradle build' to better reflect the underlying build process
| * Rename Godot's 'custom build' to 'gradle build' to better reflect the ↵Fredia Huya-Kouadio2023-02-021-33/+33
| | | | | | | | underlying build process.
* | Improve logic to detect whether vulkan is used for renderingFredia Huya-Kouadio2023-02-061-6/+9
| |
* | Improve vulkan capability detection on AndroidFredia Huya-Kouadio2023-02-051-0/+23
|/ | | | | - 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
* Clean up the XR export logicFredia Huya-Kouadio2023-02-011-40/+6
| | | | | | 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.
* Implement file provider capabilitiesFredia Huya-Kouadio2023-02-011-0/+4
| | | | 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.
* Refactor high quality texture importJuan Linietsky2023-01-301-0/+1
| | | | | | | | | | | | | | | * 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.
* Update the XR manifest configsFredia Huya-Kouadio2023-01-271-5/+0
| | | | | 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
* [Android export] Added validation of the project name when using $genname in ↵S.V.I. Vilcrow2023-01-201-5/+30
| | | | the 'Unique Name' field.
* Merge pull request #63312 from bruvzg/one_clickRémi Verschelde2023-01-131-4/+19
|\ | | | | | | [Export] Add one-click deploy over SSH for the desktop exports.
| * [Export] Add one-click deploy over SSH for the desktop exports.bruvzg2022-12-291-4/+19
| | | | | | | | | | | | 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.
* | Fix writing value for hand-tracking V2.0 to AndroidManifest.xmlTom Beckmann2023-01-111-1/+1
| |
* | One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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".
* | Merge pull request #63483 from qianjunakasumi/qianjunakasumi/masterRémi Verschelde2023-01-031-3/+7
|\ \ | |/ |/| | | Introduce `appCategory` attribute of android to set category
| * Introduce `appCategory` attribute of android to set category千橘 雫霞2023-01-011-3/+7
| |
* | Merge pull request #67668 from nikitalita/apk-signerRémi Verschelde2022-12-231-20/+108
|\ \ | | | | | | | | | Improve get_apksigner_path() robustness
| * | improve get_apksigner_path() robustnessnikitalita2022-10-201-20/+108
| | |
* | | Rename all gdnative occurences to gdextensionGilles Roudière2022-12-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Use system fonts as fallback and improve system font handling.bruvzg2022-12-041-2/+2
| | | | | | | | | | | | | | | | | | | | | Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
* | | Updating the minimum Android target api for proper Vulkan supportFredia Huya-Kouadio2022-11-301-1/+1
| | |
* | | Fix periods in editor strings and messagesHugo Locurcio2022-11-141-9/+9
| | | | | | | | | | | | | | | | | | - Ensure all strings with ellipsis end with 3 periods instead of 2. - Fix extraneous period in "Error calling from signal '...' to callable" messages.
* | | [Android] Fix GDExtension export and loading.bruvzg2022-11-081-35/+57
| | |
* | | Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-22/+22
|/ /
* | Merge pull request #67259 from lucasnlm/optimiza-android-exportFredia Huya-Kouadio2022-10-171-12/+14
|\ \ | | | | | | Optimize Android export process
| * | Revert changeLucas Lima2022-10-111-2/+1
| | |
| * | Optimize Android export processLucas Lima2022-10-111-13/+16
| | |
* | | Make some Image methods statickobewi2022-10-141-1/+1
|/ /
* | Use `JSON::stringify` where possibleMicky2022-10-111-2/+1
| |
* | Split rendering driver project setting into renderer_name and ↵clayjohn2022-09-191-8/+1
| | | | | | | | rendering_driver. To differentiate between a driver (e.g. Vulkan or D3D12) and a renderer (e.g. clustered or mobile renderer).
* | Fixes #65377: get_datetime_* functions can return wrong valuesJames2022-09-101-8/+7
| |
* | Rename String `plus_file` to `path_join`Aaron Franke2022-08-291-17/+17
| |
* | Revert the architecture values update made to the Android export logicFredia Huya-Kouadio2022-08-251-4/+4
| |
* | Unify bits, arch, and android_arch into env["arch"]Aaron Franke2022-08-251-4/+4
| | | | | | | | | | | | Fully removes the `bits` option and adapts the code that relied on it. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* | Disable threads used to check on plugins to loadFredia Huya-Kouadio2022-08-151-4/+6
| | | | | | | | The functionality is unavailable on Android (requires export capability) and unnecessarily consumes resources
* | Refactor the export checking logic to improve separation of concernsFredia Huya-Kouadio2022-08-141-2/+15
| |
* | Update export dialog to handle many architecturesAaron Franke2022-07-291-0/+2
| |
* | Make some editor export methods constAaron Franke2022-07-291-2/+2
|/
* Add static methods for creating Image and ImageTexturekobewi2022-07-081-7/+2
|
* Add full support for Android scoped storage.Fredia Huya-Kouadio2022-07-051-6/+15
| | | | | 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.
* Android: Refactor Custom Build options in export presetRémi Verschelde2022-07-031-28/+66
| | | | | | | | | | | | | | | | | | | | | | Instead of reusing the custom_template/ prefix which is actually only used for the prebuilt APK workflow, we add a new custom_build/ prefix. This is a slight compat breakage (users will have to redo their config) but enables us to group the Min SDK and Target SDK options where they make sense, and avoid reusing the previously hardcoded Target SDK 30 from Godot 3.4. Those two options are now strings instead of integers so that we can keep them empty by default, and show their default value using a placeholder. So some validation has been added to make sure they are proper ints. The upper bound on Target SDK was also removed as it's a common use case to use it to try to target newer released SDKs. But we warn the user that this wasn't validated by us. The export info dialog is now exclusive so that when it doesn't auto-close, i.e. when it errors, you don't close it by mistake by clicking outside. Fixes #62465.
* Update android:targetSdkVersion from 30 to 31Gustavo Maciel2022-06-231-1/+1
| | | | | | 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
* Add readable export errors.bruvzg2022-06-081-31/+38
|
* Cleanup Android C++ codeMarcel Admiraal2022-05-311-9/+7
|
* Fix the logic to restart the Godot applicationFredia Huya-Kouadio2022-05-231-5/+0
|
* Add a new HashSet templatereduz2022-05-201-1/+1
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Add dedicated macros for property name extractionHaoyu Qiu2022-05-191-6/+6
| | | | | | | * Replace case-by-case extraction with PNAME & GNAME * Fix group handling when group hint begins with property name * Exclude properties that are PROPERTY_USAGE_NO_EDITOR * Extract missing ADD_ARRAY*, ADD_SUBGROUP* macros
* Replace most uses of Map by HashMapreduz2022-05-161-1/+1
| | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
* Fix ZipIO crash when reused (and possible leaks).bruvzg2022-05-111-3/+5
|
* Update Meta hand tracking versionFredy Huya-Kouadio2022-04-271-5/+12
| | | | https://developer.oculus.com/blog/presence-platforms-hand-tracking-api-gets-an-upgrade/
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-111-22/+15
|