summaryrefslogtreecommitdiffstats
path: root/platform/android/export/export.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Core: Drop custom `copymem`/`zeromem` definesRémi Verschelde2021-04-271-1/+1
| | | | | | | | 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.
* Remove deprecated xr features properties. These properties are now provided ↵Fredia Huya-Kouadio2021-04-261-49/+0
| | | | directly by the plugin.
* Fix issue causing export to fail with "Could not unzip temporary unaligned ↵Fredia Huya-Kouadio2021-04-151-10/+28
| | | | APK" error and improve command output logging.
* Fix custom boot splash image scaling.Fredia Huya-Kouadio2021-04-121-7/+23
|
* Style: Apply clang-tidy's `readability-braces-around-statements`Rémi Verschelde2021-04-051-3/+5
|
* Style: Apply clang-tidy's `modernize-use-nullptr`Rémi Verschelde2021-04-051-4/+4
|
* Merge pull request #46457 from m4gr3d/fix_invalid_missing_templates_error_masterRémi Verschelde2021-02-271-7/+10
|\ | | | | Fix invalid missing template error when the Android build template is not installed
| * Fix invalid missing template error when the Android build template is not ↵Fredia Huya-Kouadio2021-02-261-7/+10
| | | | | | | | installed.
* | Update the logic to load Godot Android plugins packaged into the binary.Fredia Huya-Kouadio2021-02-261-9/+1
|/ | | | The previous logic had the side effect of imposing a limit of one plugin per `aar` binary. The update lifts that restriction.
* Update the filtering logic to properly handle directories with `.gdignore` ↵Fredia Huya-Kouadio2021-02-241-0/+3
| | | | files.
* Add logic to record the version of the Godot engine for the Android platform.Fredia Huya-Kouadio2021-02-241-0/+1
|
* Merge pull request #45617 from RandomShaper/modernize_atomicsRémi Verschelde2021-02-181-19/+19
|\ | | | | Modernize atomics (and fix `volatile`)
| * Modernize atomicsPedro J. Estébanez2021-02-181-19/+19
| | | | | | | | | | | | | | | | | | | | - Based on C++11's `atomic` - Reworked `SafeRefCount` (based on the rewrite by @hpvb) - Replaced free atomic functions by the new `SafeNumeric<T>` - Replaced wrong cases of `volatile bool` by the new `SafeFlag` - Platform-specific implementations no longer needed Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
* | Reorganize Project Settingsreduz2021-02-181-1/+1
| | | | | | | | | | | | | | -Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.
* | Disable engine splash logic on Android; this is now handled by the Android ↵Fredia Huya-Kouadio2021-02-181-4/+29
|/ | | | | | | theme api. In addition, add support for scaling and applying filter to the splash screen on Android. One limitation of the api being used is that the splash screen aspect ratio is not maintained when it's scaled up.
* Add verbose logging to help with troubleshooting the Android build/export ↵Fredia Huya-Kouadio2021-02-171-3/+71
| | | | process.
* Modernize ThreadPedro J. Estébanez2021-01-291-4/+3
| | | | | | | | | - Based on C++11's `thread` and `thread_local` - No more need to allocate-deallocate or check for null - No pointer anymore, just a member variable - Platform-specific implementations no longer needed (except for the few cases of non-portable functions) - Simpler for `NO_THREADS` - Thread ids are now the same across platforms (main is 1; others follow)
* [Plugins] Rename 'PluginConfig' struct to platform specific nameSergey Minakov2021-01-151-15/+15
|
* Split OS::execute into two methodsMarcel Admiraal2021-01-091-11/+11
| | | | | 1. execute(): Executes a command and returns the results. 2. create_process(): Creates a new process and returns the new process' id.
* Merge pull request #44645 from m4gr3d/update_apk_signing_logicRémi Verschelde2021-01-011-80/+130
|\ | | | | Update the logic to sign prebuilt Godot Android apks
| * Update the logic to sign prebuilt Godot Android apks.Fredia Huya-Kouadio2021-01-011-80/+130
| | | | | | | | | | | | | | The previously used tool, `jarsigner` has been deprecated in favor of `apksigner` which is bundled with the Android SDK. The logic is refactored accordingly and a few editor settings have been deprecated in the process as they're no longer necessary. Note: As a side effect, specifying the Android SDK path is now required. The docs will be updated to reflect that change.
* | Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
|/ | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* Merge pull request #44638 from m4gr3d/export_format_util_methodRémi Verschelde2020-12-301-17/+24
|\ | | | | Hardcode the export format for the editor 'run' feature
| * Add utility method to export the project using a preset format and sign ↵Fredia Huya-Kouadio2020-12-291-17/+24
| | | | | | | | parameter.
* | Rename empty() to is_empty()Marcel Admiraal2020-12-281-21/+21
|/
* Initialize class/struct variables with default values in platform/ and editor/Rafał Mikrut2020-12-021-3/+3
|
* Update gradle build files to automatically perform signing and zipalign ↵Fredia Huya-Kouadio2020-11-221-94/+19
| | | | tasks for custom builds.
* Export: Reorder options for consistency across platformsRémi Verschelde2020-11-201-25/+33
|
* Fix zipalign command name on Windows machines.Fredia Huya-Kouadio2020-11-181-1/+8
|
* Merge pull request #43526 from m4gr3d/address_new_custom_build_logic_issuesRémi Verschelde2020-11-141-16/+104
|\ | | | | Address new custom build logic issues
| * Add missing zip alignment step for generated apks.Fredia Huya-Kouadio2020-11-141-2/+80
| |
| * Fix issue causing `Export all` to fail.Fredia Huya-Kouadio2020-11-141-0/+4
| |
| * Clear unneeded assets when generating an apk expansion.Fredia Huya-Kouadio2020-11-141-14/+20
| | | | | | | | Clean up export wording to account for the different export formats.
* | Added the .jks file extension as valid preset for Android keystore filesMarcus Brummer2020-11-141-3/+3
|/
* Remove duplicate Android `orientation` settings.Fredia Huya-Kouadio2020-11-131-4/+2
|
* Reorganized core/ directory, it was too fatty alreadyreduz2020-11-071-1/+1
| | | | | | -Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
* Release .build_version file handle in Android custom build exportPouleyKetchoupp2020-10-281-9/+12
|
* Fix android apk contents having mtime 1 month in futureMark Riedesel2020-10-231-1/+1
| | | | | | minizip documentation describes tm_mon as expecting the number of months since January - [0, 11], but the month returned by OS.get_date() is in the range of [1, 12].
* Merge pull request #41385 from m4gr3d/fix_splash_loading_masterRémi Verschelde2020-09-281-5/+86
|\ | | | | Fix splash screen loading on Android
| * Fix splash screen loading on AndroidFredia Huya-Kouadio2020-08-191-5/+86
| |
* | Adds PCK encryption support (using script encryption key for export).bruvzg2020-09-051-3/+3
| | | | | | | | Change default encryption mode from ECB to CFB.
* | [Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.bruvzg2020-09-031-4/+4
|/
* Add 'Export App Bundle' to Android Export OptionsAman Jain2020-08-051-91/+173
|
* refactor apk signing into it's own methodAman Jain2020-07-271-82/+90
|
* Write an AndroidManifest.xml file to be merged with app module's manifest.Aman Jain2020-07-241-6/+35
|
* Copy icons to Gradle projectAman Jain2020-07-231-53/+100
|
* Create strings.xml files in the gradle project to handle localizationAman Jain2020-07-151-3/+15
|
* Add override keywords.Marcel Admiraal2020-07-101-18/+18
|
* Refactor permissions and command line flags into separate methodsAman Jain2020-07-091-140/+148
|
* Remove String::find_last (same as rfind)Stijn Hinlopen2020-07-031-1/+1
|