bruvzg
a4b17e7852
[FileAccess] Return error codes from store_*
methods.
2024-11-29 23:22:31 +02:00
Thaddeus Crews
150c69c0f2
Merge pull request #99694 from dsnopek/android-os-create-instance-return-value
...
Android: `OS.create_instance()` should return `-1` on failure
2024-11-27 10:47:30 -06:00
Thaddeus Crews
78abba7b0b
Merge pull request #99385 from syntaxerror247/file_picker_extension_support
...
Implement extension support for native file dialog on Android
2024-11-27 10:47:08 -06:00
David Snopek
38e0532ffa
Android: OS.create_instance()
should return -1
on failure
2024-11-25 15:58:06 -06:00
Alexander Hartmann
796d943f14
Fix missing space after period in error message.
2024-11-24 02:46:42 +01:00
Yevhen Babiichuk (DustDFG)
6467beb75d
SCons: Move swappy
option to android and slightly refactor detect.py
...
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-11-20 12:48:18 +02:00
Thaddeus Crews
650e96b768
Merge pull request #99353 from syntaxerror247/some_uid_issues
...
Fix Android boot splash and gradle build issue
2024-11-19 15:20:23 -06:00
Anish Mishra
57541d53d3
Android: Extension support for native file dialog
2024-11-19 22:16:32 +05:30
Anish Mishra
728927425f
Fix Android boot splash and gradle build issue
2024-11-18 21:12:22 +05:30
Thaddeus Crews
8811b39968
Merge pull request #97992 from Nikitf777/android-sdk-path
...
Add default value of editor property `export/android/android_sdk_path` for Windows, Linux, and macOS
2024-11-18 09:23:42 -06:00
Nikita
c6f4228706
Add default value of editor propetry "export/android/android_sdk_path" for Windows, Linux, and macOS
2024-11-17 22:25:39 +03:00
A Thousand Ships
68f638cf02
Use (r)find_char
instead of (r)find
for single characters
2024-11-17 10:02:18 +01:00
Thaddeus Crews
1627912d11
Merge pull request #98918 from bruvzg/pck_enc_iv
...
Allow setting custom initialization vector for FileAccessEncrypted. Add export setting to set static seed for PCK encryption initialization vectors.
2024-11-13 08:34:31 -06:00
Thaddeus Crews
a767a65cdf
Merge pull request #99123 from tygyh/Update-vulnerable-plugins
...
Update JavaScript/Java plugins to solve known vulnerabilities
2024-11-13 08:34:00 -06:00
Fabio Alessandrelli
fc52821cfb
[Net] Properly rename NetSocketPosix to NetSocketUnix
2024-11-13 10:27:01 +01:00
bruvzg
45593d45b3
Allow setting custom initialization vector for FileAccessEncrypted. Add export setting to set static seed for PCK encryption initialization vectors.
2024-11-13 08:16:12 +02:00
Thaddeus Crews
cb411fa960
Merge pull request #98687 from m4gr3d/disable_swappy_requirement_for_as_debug_builds
...
Update the `production` build argument for Android Studio debug builds
2024-11-12 12:13:23 -06:00
Thaddeus Crews
a73e2d459e
Merge pull request #98604 from Summersay415/read-music
...
Android: Add various media permissions
2024-11-12 12:13:08 -06:00
Thaddeus Crews
5455eb1f34
Merge pull request #98890 from syntaxerror247/android-dialog-theme-update
...
Android: Update exported app and editor theme
2024-11-12 09:28:01 -06:00
Thaddeus Crews
b6bbd4034e
Merge pull request #98971 from syntaxerror247/new_appCategory
...
Add `CATEGORY_UNDEFINED` option in Android export
2024-11-12 09:27:45 -06:00
Thaddeus Crews
1cbe9715ea
Merge pull request #98969 from Faless/net/split_sockets
...
[Net] Split Unix/Windows NetSocket implementation
2024-11-12 09:27:40 -06:00
Dr. Dystopia
3077463151
Update JavaScript/Java plugins to solve known vulnerabilities
...
Done using the Snyk tool.
2024-11-12 16:06:35 +01:00
Juan
2ac562cdf8
Add ability for PCK patches to remove files
...
Co-authored-by: Mikael Hermansson <mikael@hermansson.io>
2024-11-11 16:34:37 +01:00
Fabio Alessandrelli
0c620b29cd
[Net] Split Unix/Windows NetSocket implementation
2024-11-10 16:13:50 +01:00
Anish Mishra
b2cb858572
Android: Add app_category "Undefined"
2024-11-08 23:37:27 +05:30
Anish Mishra
6fd8d7b634
Android: Update exported app and editor theme
2024-11-08 22:37:52 +05:30
Thaddeus Crews
b00e1cbf74
Merge pull request #97631 from m4gr3d/prompt_apk_install_after_generation
...
[Android editor] Enable automatic install of exported apks for the Android editor
2024-11-04 21:52:08 -06:00
Thaddeus Crews
7d950c1567
Merge pull request #98712 from syntaxerror247/android_accent_color
...
[Android] Implement support for accent color retrieval
2024-11-04 21:52:04 -06:00
Thaddeus Crews
2b49543478
Merge pull request #98709 from darksylinc/matias-upsidedown-splash
...
Fix splash screen upside down on Android
2024-11-04 21:52:01 -06:00
Thaddeus Crews
56310396db
Merge pull request #98603 from Summersay415/live-is-monochrome
...
Fix monochrome icon, add warning when it's not specified
2024-11-04 21:51:57 -06:00
Anish Mishra
7b866f302f
[Android] Implement support for accent color retrieval
2024-11-01 16:19:09 +05:30
Matias N. Goldberg
b9a2f108fc
Fix splash screen upside down on Android
...
Fixes an issue introduced in #96439 (see
https://github.com/godotengine/godot/pull/96439#issuecomment-2447288702 )
Godot was relying on Java's
activity.getWindowManager().getDefaultDisplay().getRotation(); to apply
pre-rotation but this is wrong.
First, getRotation() may temporarily return a different value from the
correct one; which is what was causing the splash screen to be upside
down. It would return -90 instead of 90 for the first rendered frame.
But unfortunately, the splash screen is just one frame rendered for a
very long time, so the error lingered for a long time for everyone to
see.
Second, to determine what rotation to use, we should be looking at what
Vulkan told us, which is the value we pass to
VkSurfaceTransformFlagBitsKHR::preTransform.
This commit removes the now-unnecessary
screen_get_internal_current_rotation() function (which was introduced by
#96439 ) and now saves the preTransform value in the swapchain.
2024-10-31 16:52:26 -03:00
Fredia Huya-Kouadio
d699d4b7d4
Update the production
build argument for Android Studio debug builds
...
Swappy is required for `production` build which breaks the Android Studio debug builds as those turns on the `production` argument.
This commit updates the logic so that the `production` argument is only used by Android Studio for `release` builds.
2024-10-30 21:15:31 -07:00
Anish Mishra
b2130efb31
[Android] Implement native file picker support
2024-10-30 14:53:02 +05:30
Anish Mishra
0dfd18c84b
[DisplayServer] Add feature flag for native file dialog access to user/res
and options
2024-10-30 14:13:43 +05:30
Thaddeus Crews
05a4620e88
Merge pull request #98615 from Summersay415/three-opengls-please
...
Fix fallbacks to OpenGL
2024-10-29 19:25:48 -05:00
Thaddeus Crews
08d8909a65
Merge pull request #98574 from syntaxerror247/android_input_dialog
...
[Android] Implement native input dialog support
2024-10-29 19:25:37 -05:00
Clay John
748f4079e3
Merge pull request #96439 from darksylinc/matias-TheForge-pr03-rebased
...
Add Swappy & Pre-Transformed Swapchain
2024-10-29 12:34:40 -07:00
Anish Mishra
be5d7f757d
[Android] Implement native input dialog support
2024-10-29 20:02:08 +05:30
Summersay415
a84292e835
Add warning when monochrome icon is not specified
2024-10-29 21:19:21 +07:00
Fredia Huya-Kouadio
af2423ba4d
Enable automatic install of export apks for the Android editor
2024-10-28 16:12:16 -07:00
Matias N. Goldberg
aaa0e2fddf
Add Swappy & Pre-Transformed Swapchain
...
- Adds Swappy for Android for stable frame pacing
- Implements pre-transformed Swapchain so that Godot's compositor is in
charge of rotating the screen instead of Android's compositor
(performance optimization for phones that don't have HW rotator)
============================
The work was performed by collaboration of TheForge and Google. I am
merely splitting it up into smaller PRs and cleaning it up.
Changes from original PR:
- Removed "display/window/frame_pacing/android/target_frame_rate" option
to use Engine::get_max_fps instead.
- Target framerate can be changed at runtime using Engine::set_max_fps.
- Swappy is enabled by default.
- Added documentation.
- enable_auto_swap setting is replaced with swappy_mode.
2024-10-28 18:55:37 -03:00
Summersay415
6d14cd6ff9
Fix fallbacks to OpenGL
2024-10-28 22:57:19 +07:00
Summersay415
4fd53eb128
Add media permissions
2024-10-28 19:14:20 +07:00
Thaddeus Crews
07e759b74a
Merge pull request #97771 from dsnopek/openxr-linux-egl
...
OpenXR: Add support for Wayland on Linux
2024-10-25 13:04:08 -05:00
Thaddeus Crews
17f06f6dae
Merge pull request #97555 from dustdfg/platform_methods/extract_validate_arch
...
Build System: Extract `validate_arch` helper functions
2024-10-25 13:03:48 -05:00
Thaddeus Crews
c278d57233
Merge pull request #98427 from syntaxerror247/document-immersive-mode
...
Add documentation for Android immersive mode
2024-10-24 13:23:05 -05:00
Thaddeus Crews
1001a8c663
Merge pull request #98380 from RandomShaper/mobile_strict_alias
...
Android & iOS: Enable strict aliasing
2024-10-24 13:22:55 -05:00
Anish Mishra
827961e4e5
Update documentation for Android immersive mode
2024-10-22 22:55:43 +05:30
Pedro J. Estébanez
c1fd4df3e4
Android & iOS: Enable strict aliasing
2024-10-21 13:33:42 +02:00