summaryrefslogtreecommitdiff
path: root/platform/android/export
AgeCommit message (Collapse)Author
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-25Revert the architecture values update made to the Android export logicFredia Huya-Kouadio
2022-08-25Unify bits, arch, and android_arch into env["arch"]Aaron Franke
Fully removes the `bits` option and adapts the code that relied on it. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-08-15Disable threads used to check on plugins to loadFredia Huya-Kouadio
The functionality is unavailable on Android (requires export capability) and unnecessarily consumes resources
2022-08-14Refactor the export checking logic to improve separation of concernsFredia Huya-Kouadio
2022-07-29Update export dialog to handle many architecturesAaron Franke
2022-07-29Make some editor export methods constAaron Franke
2022-07-26Split up editor export code into multiple filesAaron Franke
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-08Add static methods for creating Image and ImageTexturekobewi
2022-07-05Add full support for Android scoped storage.Fredia Huya-Kouadio
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-07-03Android: Refactor Custom Build options in export presetRémi Verschelde
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.
2022-06-23Update android:targetSdkVersion from 30 to 31Gustavo Maciel
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
2022-06-08Add readable export errors.bruvzg
2022-05-31Cleanup Android C++ codeMarcel Admiraal
2022-05-23Fix the logic to restart the Godot applicationFredia Huya-Kouadio
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-19Add dedicated macros for property name extractionHaoyu Qiu
* 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
2022-05-16Replace most uses of Map by HashMapreduz
* 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!
2022-05-11Fix ZipIO crash when reused (and possible leaks).bruvzg
2022-04-27Update Meta hand tracking versionFredy Huya-Kouadio
https://developer.oculus.com/blog/presence-platforms-hand-tracking-api-gets-an-upgrade/
2022-04-11Make FileAccess and DirAccess classes reference counted.bruvzg
2022-04-06Fix some issues found by cppcheck.bruvzg
2022-04-04Remove duplicate `resizable` settingsFredia Huya-Kouadio
2022-04-04Update `resize` settings:Fredia Huya-Kouadio
- Unlock resizing for the Godot Editor - Add an option to specify whether a game is resizeable for the Godot template
2022-03-16Implement GDExtension export plugin.bruvzg
2022-03-11Merge pull request #58986 from akien-mga/diraccessrefRémi Verschelde
2022-03-11Merge pull request #58751 from bruvzg/loc_str_propsRémi Verschelde
2022-03-11Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde
`DirAccess *` needs to be deleted manually, and this is often forgotten especially when doing early returns with `ERR_FAIL_COND`. `DirAccessRef` is deleted automatically when it goes out of scope. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-03-05Rename StreamTexture* to CompressedTexture*reduz
* Its not and will not be used for streaming. * Streaming will be implemented in 4.1 and it will work different. * It makes more sense to be called CompressedTexture since it imports and compresses texture files.
2022-03-04Improve app name and system permission message localization.bruvzg
Add localizable string (Dictionary<Lang Code, String>) property editor and property hint. Add localized "app name" property to the project settings. Add localized permission and copyright properties to the macOS and iOS export settings. Remove some duplicated ("app name") and deprecated ("info") macOS and iOS export properties.
2022-02-15Editor: Cleanup some includes dependenciesRémi Verschelde
Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-01-26Fix XR Android manifest metadataFredia Huya-Kouadio
- Adds the parameters for supported Meta devices, which is required to access some device specific capabilities - Remove the 'com.samsung.android.vr.application.mode' metadata
2022-01-18Merge pull request #47522 from madmiraal/rename-test_width-test_heightRémi Verschelde
2022-01-12Merge pull request #56673 from winterpixelgames/bugfix-android-keystore-pathsRémi Verschelde
2022-01-10Android export plugin passes absolute file paths to gradle for keystores.Jason Knight
2022-01-05Fix decoding UTF-8 filenames on unzipping.bruvzg
2022-01-04Rename Project Window width and height settings to match their functionMarcel Admiraal
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-10Merge pull request #43181 from nathanfranke/string-emptyRémi Verschelde
Replace String comparisons with "", String() to is_empty()
2021-12-09Merge pull request #55767 from m4gr3d/config_hand_tracking_frequency_masterRémi Verschelde
2021-12-09Merge pull request #55759 from m4gr3d/enable_exclude_from_recents_masterRémi Verschelde
2021-12-09Add support for configuring the xr hand tracking frequency modene0fhyk
2021-12-09Enable configuration of the `android:excludeFromRecents` activity attribute.Fredia Huya-Kouadio
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-08Add configs to specify the min and target sdk versions.Fredia Huya-Kouadio
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-20Add support for OpenXR export configurations.Fredia Huya-Kouadio