summaryrefslogtreecommitdiffstats
path: root/platform/android/export
Commit message (Collapse)AuthorAgeFilesLines
* Fix copyright headers referring to GodotSpartan3222024-10-278-16/+16
|
* Rebrand preambles to RedotSpartan3222024-10-138-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit e8542b06acca3c1bdeee4b528411771f0819f084) Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Rebrand Godot 4.3 to RedotTrashguy2024-10-131-1/+1
|
* Fix editor_doc_cache locked on editor startupHilderin2024-09-171-1/+3
| | | | (cherry picked from commit e064efccbc0c48576bc23087ba8fd0773d13714d)
* [Windows] Fix broken apksigner detection.bruvzg2024-09-171-0/+5
| | | | (cherry picked from commit 2c991a727b1ff94fa5adca3a5a196ffa1162f98d)
* Fixed Android export failing when no JDK is setup in the OS environment and ↵Chris2024-07-271-1/+2
| | | | custom keystores have been set in the export dialog.
* Fix issue preventing enabling the remote button for AndroidFredia Huya-Kouadio2024-07-161-0/+1
| | | | | | | | https://github.com/godotengine/godot/pull/92032 updated the logic to enable / disable the remote debug button, and in doing so added a `can_export` check. However, no events / notifications are dispatched when the value of the `can_export` check changes, which in turn prevents the logic used to enable / disable the remote debug button from running again. The fix consists then in removing the `can_export` check, so that the remote debug button shows as `enabled` when a preset is present and is runnable.
* Revert hiding of custom templates under the `Advanced Options` toggleFredia Huya-Kouadio2024-06-241-1/+1
|
* Style: Optimize `.svg` files with `svgo`Thaddeus Crews2024-06-232-2/+2
|
* Update the splash screen logic for the Godot app templateFredia Huya-Kouadio2024-06-102-139/+15
| | | | Due to limitations to the splash screen introduced in Android 12, the splash screen logic is updated to the same logic as used on other platforms, i.e: the splash screen is rendered by the Godot engine instead of the Android runtime.
* Replace `find` with `contains/has` where applicableA Thousand Ships2024-05-081-4/+4
| | | | | | | * Replaces `find(...) != -1` with `contains` for `String` * Replaces `find(...) == -1` with `!contains` for `String` * Replaces `find(...) != -1` with `has` for containers * Replaces `find(...) == -1` with `!has` for containers
* Reduce and prevent unnecessary random-access to `List`A Thousand Ships2024-05-041-3/+3
| | | | | | | | | Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element) * Removed subscript operator, in favor of a more explicit `get` * Added conversion from `Iterator` to `ConstIterator` * Remade existing operations into other solutions when applicable
* Merge pull request #90611 from m4gr3d/automatically_generate_debug_keystoreRémi Verschelde2024-04-223-7/+93
|\ | | | | | | Automatically generate the Android debug keystore
| * Automatically generate the Android debug keystoreFredia Huya-Kouadio2024-04-123-7/+93
| | | | | | | | Automatically generate the Android debug keystore when the Java SDK path is specified.
* | Fix issue with resolving the path for the Android keystore fileFredia Huya-Kouadio2024-04-122-8/+18
|/ | | | The previous logic passed the path to the Android keystore as-is to an external tool. This causes the tool to fail if the path is Godot-specific (e.g: 'res://<path_to_keystore>'
* Revert pack trimming introduced by #82084Mikael Hermansson2024-04-101-5/+5
|
* [.NET] Disable output embedding on macOS, move it to the advanced options on ↵bruvzg2024-04-091-0/+6
| | | | other platforms.
* Add POST_NOTIFICATIONS permission to the list of permissions available in ↵melquiadess2024-04-081-0/+1
| | | | the Export dialog
* Merge pull request #88840 from m4gr3d/update_android_export_advanced_optionsRémi Verschelde2024-04-051-1/+9
|\ | | | | | | Update the list of advanced export options for the Android platform
| * Update the list of advanced export options for the Android platformFredia Huya-Kouadio2024-02-251-1/+9
| |
* | Fix gdextensionlibs.json storage path in Android gradle buildbeicause2024-03-171-1/+1
| | | | | | | | It should relative to gradle build directory
* | Merge uid_cache.bin and global_script_class_cache.cfg after mounting PCKsDavid Nikdel2024-03-061-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | fixes godotengine#82061 fixes godotengine#61556 Also, distinguish between main pack and DLC packs. It's desirable to downloaded content to be as small as possible. This change avoids bloating non-main pack files with new versions of resources that are all read on startup and never used again. They have no effect if loaded after startup. - project.godot/project.binary file - extension_list.cfg - app icon and boot_splash - .ico and .icns files (these can still be opted in for DLC by listing them explicitly in the include filter)
* | Update the Android export validation logic to account for the custom gradle ↵Fredia Huya-Kouadio2024-03-051-1/+14
| | | | | | | | | | | | | | | | android source template Follow-up to https://github.com/godotengine/godot/pull/88297 to address the following issues: - Ensure that the custom gradle android source template is valid. Show a warning if it's not - Don't show an error when the official export templates are not installed but a custom android source template is specified
* | Pre-commit: Update to clang-format 17.0.6 and black 24.2.0Rémi Verschelde2024-02-281-1/+1
| |
* | Don't attempt shutting down adb on exit if not startedRémi Verschelde2024-02-261-1/+1
| | | | | | | | Fixes #88864.
* | Display a warning if device CPU architecture is not active in the export preset.Alexander Hartmann2024-02-232-1/+11
|/
* Fix crash on documentation generation on macOS.bruvzg2024-02-191-2/+3
|
* Merge pull request #88419 from m4gr3d/add_export_preset_advanced_options_toggleRémi Verschelde2024-02-191-5/+14
|\ | | | | | | Add an `Advanced Options` toggle to the editor export preset
| * Add an `Advanced Options` toggle to the editor export presetFredia Huya-Kouadio2024-02-181-5/+14
| |
* | Merge pull request #87823 from KoBeWi/ban_adbRémi Verschelde2024-02-172-2/+35
|\ \ | |/ |/| | | Don't invoke adb with no runnable Android preset
| * Don't invoke adb with no runnable Android presetkobewi2024-02-152-2/+35
| |
* | Merge pull request #88385 from m4gr3d/enable_legacy_packaging_mainRémi Verschelde2024-02-171-0/+8
|\ \ | | | | | | | | | Add export setting to specify whether the native libraries should be compressed for the gradle build
| * | Add export setting to specify whether the native libraries should be ↵Fredia Huya-Kouadio2024-02-151-0/+8
| |/ | | | | | | compressed for the gradle build
* / Android: Allow using alternative Gradle build directoryDavid Snopek2024-02-164-59/+95
|/
* Update Android dependencies for the projectFredia Huya-Kouadio2024-01-181-1/+1
| | | | | | | | | | - Update Android gradle plugin version from 7.2.1 to 8.2.0 - Update gradle version from 7.4.2 to 8.2 - Update target SDK from 33 to 34 - Update build tools version from 33.0.2 to 34.0.0 - Update kotlin version from 1.7.0 to 1.9.20 - Update Android fragment version from 1.3.6 to 1.6.2 - Update AndroidX window version from 1.0.0 to 1.2.0
* Merge pull request #86383 from m4gr3d/editor_export_specify_java_sdk_path_mainYuri Sizov2024-01-183-4/+54
|\ | | | | | | Specify the path to the Java SDK used for the Android gradle build
| * Specify the path to the Java SDK used for the Android gradle buildFredia Huya-Kouadio2024-01-183-4/+54
| | | | | | | | Introduce an editor setting to allow users the ability to specify the path to the Java SDK used for the Android gradle build.
* | Reorganize code related to editor themingYuri Sizov2024-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces a new EditorThemeManager class to abstract theme generatio and its subroutines. Logic related to EditorTheme, EditorColorMap, and editor icons has been extracted into their respective files with includes cleaned up. All related files have been moved to a separate folder to better scope them in the project. This includes relevant generated files as well.
* | Add clearer error message for missing project icon during android exportAlex Drozd2024-01-151-1/+5
| |
* | Hide Keystore Release password on Android's Export windowMicky2024-01-062-2/+3
| |
* | Merge pull request #84445 from Rubonnek/add-const-references-clang-tidyRémi Verschelde2024-01-041-1/+1
|\ \ | | | | | | | | | Add const references detected by clang-tidy
| * | Add const references detected by clang-tidyWilson E. Alvarez2023-12-161-1/+1
| |/
* | Merge pull request #83702 from Patchcoat/VerifyKeystoreRémi Verschelde2024-01-042-0/+54
|\ \ | |/ |/| | | Ensure Android keystore username and password are checked on export
| * android keystore username and password are checked on exportPatchcoat2023-11-032-0/+54
| |
* | Merge pull request #85845 from YuriSizov/editor-export-hidden-errorsYuri Sizov2023-12-081-9/+11
|\ \ | | | | | | | | | Ensure more export errors are reported to users
| * | Ensure more export errors are reported to usersYuri Sizov2023-12-061-9/+11
| | | | | | | | | | | | | | | | | | | | | Also fixes the timing issue when exporting all presets at the same time, where the error report would try to appear while the progress dialog was still visible.
* | | Merge pull request #84676 from m4gr3d/update_package_name_validation_logicYuri Sizov2023-12-081-8/+8
|\ \ \ | |/ / |/| | | | | Update the validation logic for the package name
| * | Update the validation logic for the package name:Fredia Huya-Kouadio2023-11-091-8/+8
| | | | | | | | | | | | | | | - When using the project name, allow underscore (`_`) characters - Send a warning instead of an error when the project name is modified to fit the package name format
* | | Preserve the output from the gradle build commandFredia Huya-Kouadio2023-11-121-4/+10
| | | | | | | | | | | | Updates `EditorNode#execute_and_show_output(...)` to return the output of the executed command.
* | | Remove Android specific abis from the export preset feature listFredia Huya-Kouadio2023-11-101-1/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The presence of those abis cause them to be included in the set of `p_features` passed to the `gdextension_export_plugin#_export_file(...)` method, which caused them to be lumped in the `features_wo_arch` set. When trying to find the gdextension library path, we use a predicate with the following logic: ``` [features_wo_arch, arch_tag](String p_feature) { return features_wo_arch.has(p_feature) || (p_feature == arch_tag); } ``` For a `gdextension` config file like the one below, this causes the first android entry (`android.armeabi-v7a = ...`) to always be returned regardless of archs since it always satisfies the predicate. ``` [configuration] entry_symbol = "example_library_init" compatibility_minimum = 4.1 [libraries] linux.x86_64 = "res://libgdexample.so" android.armeabi-v7a = "res://libgdexample.android.template_release.armeabi-v7a.so" android.arm32 = "res://libgdexample.android.template_release.armeabi-v7a.so" android.x86 = "res://x86/libgdexample.android.template_release.x86.so" android.x86_32 = "res://x86/libgdexample.android.template_release.x86.so" android.x86_64 = "res://libgdexample.android.template_release.x86_64.so" android.arm64-v8a = "res://libgdexample.android.template_release.arm64-v8a.so" android.arm64 = "res://libgdexample.android.template_release.arm64-v8a.so" ```