summaryrefslogtreecommitdiff
path: root/platform/android/export
AgeCommit message (Collapse)Author
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-10-28Release .build_version file handle in Android custom build exportPouleyKetchoupp
2020-10-23Fix android apk contents having mtime 1 month in futureMark Riedesel
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].
2020-09-28Merge pull request #41385 from m4gr3d/fix_splash_loading_masterRémi Verschelde
Fix splash screen loading on Android
2020-09-05Adds PCK encryption support (using script encryption key for export).bruvzg
Change default encryption mode from ECB to CFB.
2020-09-03[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.bruvzg
2020-08-19Fix splash screen loading on AndroidFredia Huya-Kouadio
2020-08-05Add 'Export App Bundle' to Android Export OptionsAman Jain
2020-07-27refactor apk signing into it's own methodAman Jain
2020-07-24Write an AndroidManifest.xml file to be merged with app module's manifest.Aman Jain
2020-07-23Copy icons to Gradle projectAman Jain
2020-07-15Create strings.xml files in the gradle project to handle localizationAman Jain
2020-07-10Add override keywords.Marcel Admiraal
2020-07-10Merge pull request #40244 from amanj120/forward_port_bundle_pr_permissionsRémi Verschelde
Refactor permissions and command line flags into separate methods
2020-07-09Refactor permissions and command line flags into separate methodsAman Jain
2020-07-09Utility methods for writing files to Gradle project.Aman Jain
2020-07-03Remove String::find_last (same as rfind)Stijn Hinlopen
2020-06-27Fix the logic to enable focus awarenessFredia Huya-Kouadio
2020-06-04Add support for focus awarenessFredia Huya-Kouadio
2020-06-04Check if the specified Android release keystore existsMarcus Brummer
2020-06-01Fix inconsistent error messages with Android custom export templatesPouleyKetchoupp
2020-05-27Validate that `Use Custom Build` is enabled when `Plugins` are selectedFredia Huya-Kouadio
Remove `GodotPayment` from the default build template
2020-05-25Perform a clean Gradle build if android plugins changedMarcus Brummer
Fixes #38986
2020-05-18Update the permission string for the Oculus hand tracking to match the ↵Fredia Huya-Kouadio
latest api update
2020-05-17Implementation of the Godot Android Plugin configuration fileFredia Huya-Kouadio
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
2020-05-10Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde
Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
2020-04-28Merge pull request #37193 from madmiraal/fix-android-export-unicode-errorsRémi Verschelde
Fix Android export throwing Unicode errors.
2020-04-24Fix detection logic for the Android sdk pathFredia Huya-Kouadio
The previous logic used the 'tools' directory within the Android sdk to validate it. That directory was recently deprecated and removed from the Android sdk folder (https://developer.android.com/studio/releases/sdk-tools)
2020-04-13Validate supported architectures when exporting to AndroidSkyJJ
2020-04-02Replace NULL with nullptrlupoDharkael
2020-03-23Adding missing include guards to header files identified by LGTM.Rajat Goswami
This addresses the issue godotengine/godot#37143
2020-03-20Fix Android export throwing Unicode errors.Marcel Admiraal
2020-03-05Re-architecture of the Godot Android plugin.fhuya
2020-02-26Reimplement Mutex with C++'s <mutex>Pedro J. Estébanez
Main: - It's now implemented thanks to `<mutex>`. No more platform-specific implementations. - `BinaryMutex` (non-recursive) is added, as an alternative for special cases. - Doesn't need allocation/deallocation anymore. It can live in the stack and be part of other classes. - Because of that, it's methods are now `const` and the inner mutex is `mutable` so it can be easily used in `const` contexts. - A no-op implementation is provided if `NO_THREADS` is defined. No more need to add `#ifdef NO_THREADS` just for this. - `MutexLock` now takes a reference. At this point the cases of null `Mutex`es are rare. If you ever need that, just don't use `MutexLock`. - Thread-safe utilities are therefore simpler now. Misc.: - `ScopedMutexLock` is dropped and replaced by `MutexLock`, because they were pretty much the same. - Every case of lock, do-something, unlock is replaced by `MutexLock` (complex cases where it's not straightfoward are kept as as explicit lock and unlock). - `ShaderRD` contained an `std::mutex`, which has been replaced by `Mutex`.
2020-02-23Fix suspicious | and + operatorsRafał Mikrut
2020-02-18PoolVector is gone, replaced by VectorJuan Linietsky
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
2020-02-14Remove incomplete battery status/power APIRémi Verschelde
It was initially implemented in #5871 for Godot 3.0, but never really completed or thoroughly tested for most platforms. It then stayed in limbo and nobody seems really keen to finish it, so it's better to remove it in 4.0, and re-add eventually (possibly with a different API) if there's demand and an implementation confirmed working on all platforms. Closes #8770.
2020-02-13Remove obsolete GLES3 backendRémi Verschelde
Due to the port to Vulkan and complete redesign of the rendering backend, the `drivers/gles3` code is no longer usable in this state and is not planned to be ported to the new architecture. The GLES2 backend is kept (while still disabled and non-working) as it will eventually be ported to serve as the low-end renderer for Godot 4.0. Some GLES3 features might be selectively ported to the updated GLES2 backend if there's a need for them, and extensions we can use for that. So long, OpenGL driver bugs!
2020-02-11Texture refactorJuan Linietsky
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
2020-02-05Remove per-file progress reporting when exporting to AndroidHugo Locurcio
Calling `step()` on EditorProgress too often will slow down the rest of the editor, so it's best avoided. This is also more consistent with other exporters, as most of them don't report per-file progress either. Exporting a 2D project with ~1,100 files to Android now takes about 10 seconds from a debug editor build instead of 65 seconds. This closes #30850.
2020-02-05Remove duplicate ERR_PRINT macro.Marcel Admiraal
2020-01-27Revert "Fix Android deploy with Remote Debug or Network FS over Wi-Fi"Rémi Verschelde
2020-01-26Check if can export before exporting; show error message if can't export.Mark Wynn Garcia
2020-01-17Android: Improve name of icon export propertiesRémi Verschelde
This seems more readable and still includes the required dimensions.
2020-01-14Add support for Android adaptive icons.Bruno Lourenço
2020-01-10Add support for generating a Oculus Mobile VR apk with hand tracking support.fhuya
2020-01-09Fix Android exporter manifest creation.Bruno Lourenço
2020-01-07Export: Improve usability of command line interfaceRémi Verschelde
I'm barely scratching the surface of the changes needed to make the --export command line interface easy to use, but this should already improve things somewhat. - Streamline `can_export()` templates check in all platforms, checking first for the presence of official templates, then of any defined custom template, and reporting on the absence of any. Shouldn't change the actual return value much which is still true if either release or debug is usable - we might want to change that eventually and better validate against the requested target. - Fix discrepancy between platforms using `custom_package/debug` and `custom_template/debug` (resp. `release`). All now use `custom_template`, which will break compatibility for `export_presets.cfg` with earlier projects (but is easy to fix). - Use `can_export()` when attempting a command line export and report the same errors that would be shown in the editor. - Improve error reporting after a failed export attempt, handling missing template and invalid path more gracefully. - Cleanup of unused stuff in EditorNode around the export workflow. - Improve --export documentation in --help a bit. Fixes #16949 (at least many of the misunderstandings listed there). Fixes #18470.