Fredia Huya-Kouadio
3a033c44b6
Fix issue causing export to fail with "Could not unzip temporary unaligned APK" error and improve command output logging.
2021-04-15 13:33:37 -07:00
Fredia Huya-Kouadio
b51dc2dc44
Fix custom boot splash image scaling.
2021-04-12 16:38:41 -07:00
Rémi Verschelde
d83761ba80
Style: Apply clang-tidy's `readability-braces-around-statements`
2021-04-05 14:09:59 +02:00
Rémi Verschelde
9bbe51dc27
Style: Apply clang-tidy's `modernize-use-nullptr`
2021-04-05 14:05:07 +02:00
Rémi Verschelde
0e8fae1038
Merge pull request #46457 from m4gr3d/fix_invalid_missing_templates_error_master
...
Fix invalid missing template error when the Android build template is not installed
2021-02-27 16:52:25 +01:00
Fredia Huya-Kouadio
6f0ca6c9f7
Fix invalid missing template error when the Android build template is not installed.
2021-02-26 12:31:12 -08:00
Fredia Huya-Kouadio
6fd881e43c
Update the logic to load Godot Android plugins packaged into the binary.
...
The previous logic had the side effect of imposing a limit of one plugin per `aar` binary. The update lifts that restriction.
2021-02-26 08:38:39 -08:00
Fredia Huya-Kouadio
eda18fcc1f
Update the filtering logic to properly handle directories with `.gdignore` files.
2021-02-24 18:40:36 -08:00
Fredia Huya-Kouadio
bc5120eb97
Add logic to record the version of the Godot engine for the Android platform.
2021-02-24 04:23:46 -08:00
Rémi Verschelde
310496a89f
Merge pull request #45617 from RandomShaper/modernize_atomics
...
Modernize atomics (and fix `volatile`)
2021-02-18 19:40:31 +01:00
Pedro J. Estébanez
8e128726f0
Modernize atomics
...
- 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>
2021-02-18 17:12:46 +01:00
reduz
64140eaf42
Reorganize Project Settings
...
-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.
2021-02-18 11:23:34 -03:00
Fredia Huya-Kouadio
526b99ee36
Disable engine splash logic on Android; this is now handled by the Android 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.
2021-02-18 03:20:49 -08:00
Fredia Huya-Kouadio
9714abf8cb
Add verbose logging to help with troubleshooting the Android build/export process.
2021-02-17 13:18:41 -08:00
Pedro J. Estébanez
99fe462452
Modernize Thread
...
- 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)
2021-01-29 12:02:13 +01:00
Sergey Minakov
7990c2c5e8
[Plugins] Rename 'PluginConfig' struct to platform specific name
2021-01-15 17:54:35 +03:00
Marcel Admiraal
2a74b388d0
Split OS::execute into two methods
...
1. execute(): Executes a command and returns the results.
2. create_process(): Creates a new process and returns the new process' id.
2021-01-09 10:03:23 +00:00
Rémi Verschelde
3433780c49
Merge pull request #44645 from m4gr3d/update_apk_signing_logic
...
Update the logic to sign prebuilt Godot Android apks
2021-01-01 22:58:11 +01:00
Fredia Huya-Kouadio
49969de221
Update the logic to sign prebuilt Godot Android apks.
...
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.
2021-01-01 13:36:27 -08:00
Rémi Verschelde
b5334d14f7
Update copyright statements to 2021
...
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 🎆
2021-01-01 20:19:21 +01:00
Rémi Verschelde
72c13c2631
Merge pull request #44638 from m4gr3d/export_format_util_method
...
Hardcode the export format for the editor 'run' feature
2020-12-30 09:11:31 +01:00
Fredia Huya-Kouadio
de64b783b4
Add utility method to export the project using a preset format and sign parameter.
2020-12-29 09:04:01 -08:00
Marcel Admiraal
5b937d493f
Rename empty() to is_empty()
2020-12-28 10:39:56 +00:00
Rafał Mikrut
e1811b689b
Initialize class/struct variables with default values in platform/ and editor/
2020-12-02 16:09:11 +01:00
Fredia Huya-Kouadio
918b218b55
Update gradle build files to automatically perform signing and zipalign tasks for custom builds.
2020-11-22 18:11:54 -08:00
Rémi Verschelde
504efc5f9b
Export: Reorder options for consistency across platforms
2020-11-20 11:17:50 +01:00
Fredia Huya-Kouadio
c4f2d87747
Fix zipalign command name on Windows machines.
2020-11-18 23:30:45 -08:00
Rémi Verschelde
9e7348f788
Merge pull request #43526 from m4gr3d/address_new_custom_build_logic_issues
...
Address new custom build logic issues
2020-11-14 22:58:16 +01:00
Fredia Huya-Kouadio
5f6a44f0bb
Add missing zip alignment step for generated apks.
2020-11-14 13:10:38 -08:00
Fredia Huya-Kouadio
3de720c11d
Fix issue causing `Export all` to fail.
2020-11-14 13:10:38 -08:00
Fredia Huya-Kouadio
3c1a1a760e
Clear unneeded assets when generating an apk expansion.
...
Clean up export wording to account for the different export formats.
2020-11-14 13:07:32 -08:00
Marcus Brummer
e1b9be4a6b
Added the .jks file extension as valid preset for Android keystore files
2020-11-14 00:29:23 +01:00
Fredia Huya-Kouadio
597d9409f3
Remove duplicate Android `orientation` settings.
2020-11-13 12:20:06 -08:00
reduz
127458ed17
Reorganized core/ directory, it was too fatty already
...
-Removed FuncRef, since Callable makes it obsolete
-Removed int_types.h as its obsolete in c++11+
-Changed color names code
2020-11-07 20:17:12 -03:00
PouleyKetchoupp
b271315bac
Release .build_version file handle in Android custom build export
2020-10-28 09:07:20 +01:00
Mark Riedesel
5fe902244a
Fix android apk contents having mtime 1 month in future
...
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-10-23 15:05:48 -04:00
Rémi Verschelde
4e19e3603b
Merge pull request #41385 from m4gr3d/fix_splash_loading_master
...
Fix splash screen loading on Android
2020-09-28 20:45:53 +02:00
bruvzg
f043eabdd8
Adds PCK encryption support (using script encryption key for export).
...
Change default encryption mode from ECB to CFB.
2020-09-05 14:53:39 +03:00
bruvzg
80b8eff6aa
[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.
2020-09-03 19:56:24 +03:00
Fredia Huya-Kouadio
2717891141
Fix splash screen loading on Android
2020-08-19 16:16:37 -07:00
Aman Jain
2b89944a3d
Add 'Export App Bundle' to Android Export Options
2020-08-05 12:55:02 -04:00
Aman Jain
e906ac4d3b
refactor apk signing into it's own method
2020-07-27 14:24:57 -04:00
Aman Jain
e53067c42e
Write an AndroidManifest.xml file to be merged with app module's manifest.
2020-07-24 12:53:27 -04:00
Aman Jain
4a5ddcbad2
Copy icons to Gradle project
2020-07-23 11:37:33 -04:00
Aman Jain
5ff6f7a86b
Create strings.xml files in the gradle project to handle localization
2020-07-15 13:02:59 -04:00
Marcel Admiraal
26fcf2b04c
Add override keywords.
2020-07-10 13:56:54 +01:00
Rémi Verschelde
dc856481ff
Merge pull request #40244 from amanj120/forward_port_bundle_pr_permissions
...
Refactor permissions and command line flags into separate methods
2020-07-10 13:19:37 +02:00
Aman Jain
f579057748
Refactor permissions and command line flags into separate methods
2020-07-09 16:34:08 -04:00
Aman Jain
78e003951a
Utility methods for writing files to Gradle project.
2020-07-09 13:57:15 -04:00
Stijn Hinlopen
929b98d24b
Remove String::find_last (same as rfind)
2020-07-03 15:26:22 +02:00