summaryrefslogtreecommitdiffstats
path: root/platform/android/export/export.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improve EditorExportPlatform interface.Fabio Alessandrelli2019-10-231-8/+19
| | | | | Convert all get_device* methods to get_option* and normalize their usage as icon, label, tooltip.
* Cleanup fix for the meta-data parsing crashing bug.fhuya2019-10-111-12/+4
|
* Android: Work around crash in _fix_manifestRémi Verschelde2019-10-111-2/+4
| | | | | Works around #32553, not fixing the underlying cause but preventing the crash.
* Merge pull request #32514 from akien-mga/android-one-click-dont-uninstallRémi Verschelde2019-10-031-1/+1
|\ | | | | Android one-click deploy: Don't clear by default
| * Android one-click deploy: Don't clear by defaultRémi Verschelde2019-10-031-1/+1
| | | | | | | | | | | | | | This makes iteration faster as you don't need to monitor your phone to allow the installation each time. Fixes #32183.
* | Android: Fix manifest parsing and APK names in export codeRémi Verschelde2019-10-031-4/+4
|/ | | | | | | | | | | A better fix would be to make Godot's export code properly parse the tag over multiple lines (and maybe even use XMLParser instead of doing it ad-hoc?). As for the APK names, we could alternatively pick the first .apk found in the `debug` and `release` folders without expecting a specific name. Fixes #32414.
* Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde2019-09-251-3/+3
|\ | | | | Added some obvious errors explanations
| * Added some obvious errors explanationsqarmin2019-09-251-3/+3
| |
* | Merge pull request #32055 from qarmin/some_code_fixesRémi Verschelde2019-09-231-3/+3
|\ \ | | | | | | Changed some code found by Clang Tidy and Coverity
| * | Changed some code found by Clang Tidy and Coverityqarmin2019-09-221-3/+3
| | |
* | | Fix starting intent problemCagdas2019-09-221-1/+1
|/ /
* | Distinguish editor-originating messages in the editor logHugo Locurcio2019-09-201-4/+4
| | | | | | | | | | | | | | This fades out messages originating from the editor to make messages printed by the project stand out more. This also tweaks wording in some editor messages for consistency.
* | Split the Android platform java logic into an Android library module (`lib`) ↵fhuya2019-09-041-0/+4
|/ | | | | | and an application module (`app`). The application module `app` serves double duties of providing the prebuilt Godot binaries ('android_debug.apk', 'android_release.apk') and the Godot custom build template ('android_source.zip').
* Android: Improve dialogs about custom build templateRémi Verschelde2019-08-291-6/+3
| | | | | | | The language didn't make it clear that it's installing a *source* template to the project folder, for later use when compiling custom APKs. Fixes #28736.
* Export: Remove temp files from cache after exportRémi Verschelde2019-08-121-36/+54
| | | | | | | | | So far we left most temporary files lying around, so this attempts to fix that. I added a helper method to DirAccess to factor out the boilerplate of creating a DirAccess, checking if the file exists, remove it or print an error on failure.
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", ↵Robin Hübner2019-08-091-10/+5
| | | | "modules/gdnative", "modules/gdscript" directories.
* Add feature tag for hmd devices based on DOFCameron Reikes2019-08-071-0/+133
| | | | - Necessary according to https://developers.google.com/vr/develop/android/3dof-to-6dof
* Make the meta-data name attribute settable. This will facilitate reuse for ↵fhuya2019-07-021-3/+9
| | | | ARCore integration.
* Merge pull request #29824 from m4gr3d/add_ovr_exportRémi Verschelde2019-07-021-0/+19
|\ | | | | Add XR mode selection to the Android export process.
| * Add XR mode selection to the Android export process.fhuya2019-07-021-0/+19
| |
* | Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde2019-07-011-1/+1
|\ \ | | | | | | Replace ` + "/" + ` with `String::file_add()`
| * | Replace ` + "/" + ` with `String::file_add()`Nils ANDRÉ-CHANG2019-06-231-1/+1
| |/
* | Merge pull request #29910 from m4gr3d/dev_deprecate_armv6Rémi Verschelde2019-06-201-3/+0
|\ \ | | | | | | Deprecate support for Android armv6 architecture
| * | Deprecate armv6 support for Androidfhuya2019-06-191-3/+0
| |/
* / Made use of semicolons more consitent, fixed formattingJohnJLight2019-06-191-1/+1
|/
* Fix error macro calls not ending with semicolonRémi Verschelde2019-06-111-1/+1
| | | | | | | It's not necessary, but the vast majority of calls of error macros do have an ending semicolon, so it's best to be consistent. Most WARN_DEPRECATED calls did *not* have a semicolon, but there's no reason for them to be treated differently.
* Allow project export to be canceledGeorge Marques2019-05-181-12/+34
|
* Merge pull request #27676 from qarmin/small_fixes_2Rémi Verschelde2019-05-011-2/+0
|\ | | | | Small fixes to static analyzer bugs
| * Small fixes to static analyzer bugsqarmin2019-04-041-2/+0
| |
* | Clean up latency related functionsJuan Linietsky2019-04-271-2/+2
| |
* | Android now (optionally) builds the template when exportingJuan Linietsky2019-04-071-24/+375
| | | | | | | | | | Added new way to create add-ons Removed old way to create add-ons
* | Small fixes, mostly dupicated codeqarmin2019-04-081-4/+0
|/
* Fix directory check when exporting projectvolzhs2019-03-061-1/+1
| | | | Fix #26702
* Merge pull request #26633 from akien-mga/driver-fallback-etcRémi Verschelde2019-03-061-0/+10
|\ | | | | Disable driver fallback to GLES2 by default
| * Disable driver fallback to GLES2 by defaultRémi Verschelde2019-03-051-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GLES2 is not designed to be a drop-in replacement for the GLES3 backend, so the fallback mode has to be used knowingly. It *can* make sense for simple projects which make sure to handle the differences between both rendering backends, but most users should stick to one supported backend. By making it opt-in, we can now use this parameter to define whether to export ETC textures to Android and iOS when using GLES3 + Fallback. When using GLES3 without Fallback on Android, set the proper min GLES version in the AndroidManifest. Also made the option boolean and renamed it for clarity and to avoid conflict with the previous String option (which would always evaluate as "true" otherwise). Fixes #26569.
* | Fixes misleading error message when trying to exportRicardo Lüders2019-03-051-0/+4
|/ | | | | | | This patch fixes the misleading error message when users try to "export all" into an invalid destination path. Closes #26539
* Improve VRAM texture compression checks for mobile/webRémi Verschelde2019-03-031-8/+2
| | | | | | | | | | | For HTML5, we need to support S3TC if running on desktop, and ETC or ETC2 for mobile, so make this explicit. Add logic to check for ETC2 support on GLES3, and remove incorrect ETC feature for GLES3 on Android. Fix ETC check invalidating templates on HTML5. Fixes #26476.
* -Properly handle missing ETC support on exportJuan Linietsky2019-02-261-0/+6
| | | | | -Added ability for resource importers to save metadata -Added ability for resource importers to validate depending on project settings
* Add -Wshadow=local to warnings and fix reported issues.marxin2019-02-201-2/+2
| | | | Fixes #25316.
* Platform: Ensure classes match their header filenameRémi Verschelde2019-02-121-6/+6
| | | | | | | | | | | | | | | | | | | | Also drop some unused files. Renamed: - `platform/iphone/sem_iphone.h` -> `semaphore_iphone.h` (same for `osx`) - `platform/uwp/gl_context_egl.h` -> `context_egl_uwp.h` - in `platform/windows`: `context_gl_win.h`, `crash_handler_win.h`, `godot_win.cpp`, `joypad.h` and `key_mapping_win.h` all renamed to use `windows`. Some classes renamed accordingly too. - `EditorExportAndroid` and `EditorExportUWP` renamed to `EditorExportPlatformAndroid` and `EditorExportPlatformUWP` - `power_android` and `power_osx` renamed to `PowerAndroid` and `PowerOSX` - `OSUWP` renamed to `OS_UWP` Dropped: - `platform/windows/ctxgl_procaddr.h`
* ExportDialog: Make error messages translatableRémi Verschelde2019-01-211-33/+16
| | | | Also fix missing newlines that caused #24202.
* Android: Enable arm64-v8a export by defaultRémi Verschelde2019-01-161-1/+1
| | | | | | | | | | From August 1, 2019, Google Play requires that all new apps and app updates include 64-bit versions, so we enable ARM64 by default. IINM support for x86 and x86_64 is still be optional, so not enabling them out of the box. Part of #25030.
* Android: Add support for x86_64 architectureRémi Verschelde2019-01-161-3/+2
| | | | | | | Like arm64v8, this is only supported by API 21 and later, so we enforce 21 as min API for x86_64. Part of #25030.
* Merge pull request #24592 from volzhs/android-etcRémi Verschelde2019-01-041-2/+3
|\ | | | | Make possible to use ETC texture format with GLES3 on Android
| * Make possible to use ETC texture format with GLES3 on Androidvolzhs2018-12-261-2/+3
| | | | | | | | | | Currently, textures are not exported if use ETC on project settings and export project with GLES3. GLES3 should be able to use ETC format also.
* | Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
|/ | | | Happy new year to the wonderful Godot community!
* Add option to add debug keystore in Android exportGeorge Marques2018-12-191-6/+20
|
* Fix lint error/warning while building android templatevolzhs2018-12-181-1/+1
|
* Android: Don't expose x86_64 ABI for export if we can't build templates for itRémi Verschelde2018-12-141-2/+5
| | | | | Support for x86_64 *could* be added in detect.py, but AFAIK this is not a widespread architecture for Android, much less for gaming devices.
* Change custom permissions in Android export to an arrayGeorge Marques2018-11-301-13/+9
| | | | | Don't limit the amount of permissions and makes it simpler to understand.