Thaddeus Crews
bf1c2583f4
Merge pull request #101954 from bruvzg/uid_deref
...
[Export] Convert `uid://` names to `res://` when exporting files.
2025-03-24 10:01:07 +07:00
Thaddeus Crews
1cb3cfaa8e
Style: Convert namespaces to PascalCase
2025-03-23 19:10:24 +07:00
Thaddeus Crews
f09ee0171a
Style: Begin integrating simple `.clangd` fixes
2025-03-22 13:24:35 +07:00
Anish Mishra
afe68f672f
Add support for "Mute Game" toggle in the Android Editor
2025-03-21 01:33:38 +07:00
Pāvels Nadtočajevs
f3b6a4009d
[Export] Convert `uid://` names to `res://` when exporting files.
2025-03-19 16:58:52 +07:00
Thaddeus Crews
83cf424b5f
SCons: Expand `NoCache` coverage
2025-03-18 09:54:55 +07:00
Anish Mishra
f3155412af
Convert `compress_native_libraries` to a basic export option
2025-03-18 12:26:25 +07:00
Thaddeus Crews
ea62170dac
Core: Add `constexpr` constructors/operators to math structs
...
• Begin integrating `constexpr` on math tests; use `static_assert` where appropriate
2025-03-17 12:15:31 +07:00
Thaddeus Crews
54278a48e7
SCons: Restore hardcoded build path on Android
2025-03-15 23:26:01 +07:00
Thaddeus Crews
863a5ff139
Merge pull request #101641 from Repiteo/scons/separate-build-dir-emitter
...
SCons: Add emitter to declutter build objects
2025-03-15 19:42:44 +07:00
Thaddeus Crews
10ed66f28c
SCons: Add emitter to declutter build objects
2025-03-15 12:08:24 +07:00
Fredia Huya-Kouadio
845c925b67
Add support for export plugins to modify the Android prebuilt manifest
2025-03-14 16:05:09 +07:00
David Snopek
2091899d55
JavaClassWrapper: Fix mistake in last fix for `org.godotengine.godot.Dictionary` conversion
2025-03-14 18:01:12 +07:00
Aaron Franke
97ee05e9b7
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp
2025-03-12 11:11:38 +07:00
Thaddeus Crews
e9e4760335
Merge pull request #83538 from bruvzg/size_and_at
...
[FileAccess] Implement `get_size` and `get_access_time` methods.
2025-03-11 14:00:58 +07:00
Thaddeus Crews
d64a94c1f5
Merge pull request #102910 from syntaxerror247/hiding-something
...
Hide debug keystore export settings
2025-03-11 14:00:45 +07:00
Thaddeus Crews
56bc9bc2f4
Merge pull request #102984 from syntaxerror247/volume-buttons
...
Android: enable support for volume button events
2025-03-11 09:34:46 +07:00
Thaddeus Crews
dcbddb64d5
Merge pull request #103571 from timothyqiu/wrap-not-found
...
Improve error message from `JavaClassWrapper.wrap()`
2025-03-11 09:34:45 +07:00
Thaddeus Crews
991d01fb52
Merge pull request #103891 from shahriarlabib000/update_readme
...
Update logo/run icon path in platform READMEs
2025-03-10 21:05:55 +07:00
A Thousand Ships
331a43a9d8
Add `String::remove_char(s)` methods for performance and convenience
2025-03-10 13:19:28 +07:00
shahriarlabib000
25a8b808d3
update logo/run icon path in README
2025-03-10 12:03:41 +07:00
bruvzg
85d3be8070
[FileAccess] Implement `get_size` and `get_access_time` methods.
2025-03-09 16:07:00 +07:00
A Thousand Ships
466590d0ec
Use `get_slicec` instead of `get_slice` for single character splitters
2025-03-08 20:36:37 +07:00
Thaddeus Crews
324512e11c
Style: Replace header guards with `#pragma once`
2025-03-07 17:33:47 +07:00
Thaddeus Crews
67d4a245d8
Merge pull request #103267 from YeldhamDev/reality_got_too_extended
...
Allow to compile the engine without XR support
2025-03-07 15:12:54 +07:00
Thaddeus Crews
3d9b37911d
Merge pull request #103011 from Repiteo/style/svgo-newline
...
Style: Ensure svgs have trailing newlines
2025-03-07 15:12:41 +07:00
Thaddeus Crews
3c43508ed7
Merge pull request #102427 from AThousandShips/fix_substr
...
Clean up some uses of `String::substr`
2025-03-07 15:12:33 +07:00
Thaddeus Crews
0c8f4f3d91
Merge pull request #97908 from atlasapplications/just-linux-bionic
...
Add `linux-bionic` RID export option
2025-03-07 15:12:32 +07:00
Thaddeus Crews
c937b6d180
Merge pull request #102419 from Ivorforce/std-size
...
Use `std::size` instead of `sizeof(a) / sizeof(a[0])` pattern throughout the codebase.
2025-03-07 15:12:25 +07:00
A Thousand Ships
5113022dfe
Clean up some uses of `String::substr`
...
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +07:00
David Snopek
f52b2e4db4
JavaClassWrapper: Fix conversion to/from `org.godotengine.godot.Dictionary` that regressed
2025-03-06 17:35:01 +07:00
bruvzg
3e4e6e6c0c
Improve native file dialog parent window selection.
2025-03-06 17:15:39 +07:00
Thaddeus Crews
07220f75c5
Merge pull request #103384 from bruvzg/andr_font_v
...
[Android] Skip non-existing system font files.
2025-03-05 12:07:59 +07:00
Thaddeus Crews
8ef0075193
Merge pull request #102817 from dsnopek/java-class-wrapper-array-improvements
...
JavaClassWrapper: Improve handling of typed array arguments
2025-03-05 12:07:44 +07:00
Thaddeus Crews
b4e86825c4
Merge pull request #103375 from dsnopek/java-class-wrapper-more-array-improvements
...
JavaClassWrapper: Fix converting returned arrays to Godot types
2025-03-05 12:07:43 +07:00
Haoyu Qiu
554aa6ad95
Improve error message from JavaClassWrapper.wrap()
2025-03-04 21:14:05 +07:00
Rémi Verschelde
1753893c60
Merge pull request #103523 from akien-mga/android-fix-disable_3d
...
Android: Fix build with `disable_3d`
2025-03-04 01:02:46 +07:00
Rémi Verschelde
c301b2ad9a
Merge pull request #103419 from Alex2782/fix_issue_96770
...
Fix crash after changing device language
2025-03-04 01:02:27 +07:00
Rémi Verschelde
2e57cbe57a
Merge pull request #103413 from m4gr3d/request_pointer_capture_on_ui_thread
...
Fix Android mouse capture issues
2025-03-04 01:02:23 +07:00
Rémi Verschelde
e8c555b002
Merge pull request #103409 from darksylinc/matias-swappy-2025-01
...
Update to latest version of Swappy
2025-03-04 01:02:14 +07:00
Matias N. Goldberg
89ea5b3d00
Update to latest version of Swappy
...
Fixes #103294
2025-03-03 20:43:14 +07:00
Rémi Verschelde
a7dd4ad5f8
Android: Fix build with `disable_3d`
...
Fixes #103516 .
2025-03-03 22:19:05 +07:00
David Snopek
bbc66056a8
JavaClassWrapper: Fix converting returned arrays to Godot types
2025-03-03 15:10:30 +07:00
David Snopek
d7672128b5
JavaClassWrapper: Improve handling of typed array arguments
2025-03-03 12:07:45 +07:00
Alex
1c02316365
Fix crash after changing device language
...
The app was restarting unexpectedly due to missing configChanges flags.
Added "locale|layoutDirection" to AndroidManifest.xml to prevent activity recreation.
2025-03-01 02:42:56 +07:00
Fredia Huya-Kouadio
bea6472ea4
Fix Android mouse capture issues
...
- Allow mouse capture to be enabled in `_ready`
- Update the input handler logic to avoid dropping mouse captured motion events
2025-02-28 13:54:30 +07:00
Pāvels Nadtočajevs
e76a8b0f27
[Android] Skip non-existing system font files.
2025-02-28 07:47:52 +07:00
Anish Mishra
5ce16dfc69
Android: enable support for volume button events
...
- Enable events KEY_VOLUMEUP and KEY_VOLUMEDOWN on Android.
- Adds a project setting to override volume buttons. It would disable system volume changes when the buttons are used within the project.
2025-02-28 09:47:22 +07:00
Fredia Huya-Kouadio
7fb37a088b
Add checks to prevent crashes when accessing the GameMenu api
...
This should address crashes reported on the Play store. Note that those crashes lack debug symbols which reduces our ability to narrow down the exact cause of the crash. We aim to resolve that in Godot 4.5.
2025-02-27 13:20:23 +07:00
Michael Alexsander
aea559b39a
Allow to compile the engine without XR support
2025-02-25 17:07:21 +07:00
Anish Mishra
28d1dccf63
Android: Fix export and runtime logic to check if using Vulkan
...
Also fix iOS export logic that would force a min target of iOS 14.0 (for Metal)
even when targeting the Compatibility renderer.
Co-authored-by: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-02-23 12:28:59 +07:00
Rémi Verschelde
545ca2538e
Merge pull request #103122 from syntaxerror247/fix-crash
...
Android: Fix excessive `getRotation` calls
2025-02-23 12:13:02 +07:00
Anish Mishra
ee4e809d4c
Android: Fix excessive getRotation calls
2025-02-21 20:32:54 +07:00
Anish Mishra
129ffce06a
Android Editor: Fix expand button black bar issue
2025-02-21 13:00:49 +07:00
Thaddeus Crews
7e5baa0426
Style: Enforce trailing newlines on svgs
2025-02-18 11:02:45 +07:00
Ricardo Buring
99f9561be7
When code signing, specify which keystore is not found
2025-02-18 16:54:49 +07:00
Anish Mishra
8595f5aa16
Hide debug keystore export settings
2025-02-16 13:55:47 +07:00
David Snopek
5d69d20059
JavaClassWrapper: Allow handling exceptions (rather than just crashing)
2025-02-14 09:45:14 +07:00
Rémi Verschelde
3787cc4901
Merge pull request #102802 from syntaxerror247/fix_orientation_handling
...
Android Editor: Fix embed mode orientation handling
2025-02-13 23:35:12 +07:00
Anish Mishra
4a22e007f6
Android Editor: Fix embed mode orientation handling
2025-02-13 22:22:50 +07:00
Fredia Huya-Kouadio
8ed8b4a89d
Bump the version of the openxr vendors plugin dependency
2025-02-12 09:51:07 +07:00
Fredia Huya-Kouadio
2a66335ec2
Address API regression from https://github.com/godotengine/godot/pull/101050
2025-02-11 10:19:47 +07:00
Fredia Huya-Kouadio
7495a8a02e
Add support for embedding game process in the Android Editor
...
- Implement Android editor specific `EmbeddedGodotGame` to support embedding the game window in the Android editor
2025-02-11 02:20:18 +07:00
Thaddeus Crews
c90fd7f3da
Merge pull request #98066 from TCROC/fix-android-mono-export
...
Fix Android mono export with 2 or more cpu architectures fails
2025-02-10 12:21:32 +07:00
Thaddeus Crews
0b9fd7e190
Merge pull request #102627 from raulsntos/dotnet/android-export-validate-tfm
...
C#: Validate project TFM for Android template exports
2025-02-10 12:21:30 +07:00
Raul Santos
70ff213de5
C#: Validate project TFM for Android template exports
...
The C# Android export template includes `.jar` dependencies from .NET 8.0, so other TFMs are not supported.
2025-02-10 17:19:05 +07:00
Travis Lange
5e2fd7b1d7
fix android mono export causing conflicts
2025-02-10 10:09:52 +07:00
Rémi Verschelde
eb4538b8a2
Merge pull request #102590 from syntaxerror247/custom-snackbar
...
Android: Add Snackbar UI component
2025-02-10 10:49:38 +07:00
Anish Mishra
b89957efce
Android: Add Snackbar UI component
2025-02-08 22:09:46 +07:00
Lukas Tenbrink
e34f1f504c
Use `std::size` instead of `sizeof(a) / sizeof(a[0])` pattern throughout the codebase.
2025-02-07 14:57:48 +07:00
David Snopek
96bde8f221
JavaClassWrapper: Give additional error when trying to call non-static method directly on the class
2025-02-06 12:45:29 +07:00
Fredia Huya-Kouadio
9e4365f1a7
Export the `rendering/renderer/rendering_method.mobile` project setting to the AndroidManifest
...
The AndroidManifest already stores the Godot editor and library versions. The addition of this meta-data allows to identify Godot Android apps that may be subject to renderer specific issues addressed in future versions of the engine.
2025-02-04 21:11:56 +07:00
Pāvels Nadtočajevs
b3f7c8f5d3
[Export] Respect icon/splash screen import settings.
2025-01-31 07:45:16 +07:00
Thaddeus Crews
3c80c14092
Merge pull request #101924 from adamscott/game-editor-non-cached-mouse-mode
...
Delegate handling `mouse_mode` to the `DisplayServer`
2025-01-28 16:08:56 +07:00
Justin Sasso
8a4bc9881f
Add linux-bionic RID Export Option
...
Adds an export option to enable the linux-bionic RID so Android can export with NativeAOT enabled.
2025-01-28 12:54:10 +07:00
Adam Scott
47f553ae0b
Delegate to the DisplayServer the task of handling mouse_mode
...
- Add `MOUSE_MODE_MAX` and various index checks
2025-01-28 11:22:27 +07:00
Thaddeus Crews
b238fe25e1
Merge pull request #101996 from syntaxerror247/fix-swipe-to-dismiss
...
Android: Keep swipe-to-dismiss disabled by default
2025-01-28 09:03:30 +07:00
Anish Mishra
6df21a8fdc
Android: Keep swipe-to-dismiss disabled by default
2025-01-27 23:45:58 +07:00
Thaddeus Crews
c019f3d4a5
Merge pull request #102049 from timothyqiu/editor-i18n
...
Fix several i18n issues in editor
2025-01-27 09:46:15 +07:00
Haoyu Qiu
4c4f29a490
Fix several i18n issues in editor
2025-01-26 16:41:10 +07:00
Rémi Verschelde
90208f7dd4
SCons: Fix handling of platform-specific tools, notably `mingw`
...
Add optional `detect.py` `get_tools` method to let platforms register SCons
tools they need.
This helps move this logic out of SConstruct, keeping platforms more self
contained, and helping thirdparty platforms define their own custom tools.
This logic was also unreliable (the `use_mingw` one would only work if
passed manually on the command line, not in e.g. `get_flags`).
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2025-01-25 13:59:30 +07:00
Thaddeus Crews
b0655dc86f
Merge pull request #101050 from jamie-pate/fix_android_godot_app_create_instance
...
Fix create_instance in android GodotApp so non-editor apps can restart
2025-01-22 16:32:29 +07:00
Thaddeus Crews
24fb28af55
Merge pull request #101689 from syntaxerror247/native-dialogs
...
Make dialogs non-cancelable on Android
2025-01-20 10:05:43 +07:00
Jamie Pate
605b97075f
Fix create_instance in android GodotApp so non-editor apps can restart
...
Enables OS.create_instance(args) and OS.set_restart_on_exit(true, args)
on android.
Borrowed the logic from the editor, so it completely restarts the
process so you can pass --rendering-method, --rendering-driver to switch
between forward_plus, mobile, gl_compatibility etc on an exported app.
Related:
https://github.com/godotengine/godot-proposals/issues/6423
2025-01-19 03:23:45 +07:00
Anish Mishra
401310d74d
Make dialogs non-cancelable on Android.
2025-01-17 19:45:34 +07:00
Fredia Huya-Kouadio
b4f25b1863
Clean up the XR editor logic
...
- Coalesce common logic into the `main` flavor to avoid duplication
- Code cleanup
2025-01-16 09:40:30 +07:00
Rémi Verschelde
4d1cfc1784
Merge pull request #101061 from syntaxerror247/first-pr-2025
...
Android: Implement support for `native dialog`
2025-01-14 15:05:59 +07:00
Anish Mishra
cb9ee099ac
Android: Implement support for native dialog
...
This adds support for DisplayServer::dialog_show() on Android, aligning it with the functionality already available on macOS and Windows.
2025-01-14 15:03:14 +07:00
Anish Mishra
867ae4d85a
Update Android editor name and add missing icons
2025-01-14 13:46:45 +07:00
Rémi Verschelde
e8981308f2
Merge pull request #101498 from m4gr3d/run_launcher_godot_app_from_editor
...
Use implicit launch when running a Godot Android project from the editor
2025-01-13 20:22:52 +07:00
Rémi Verschelde
aa72d56d50
Merge pull request #101458 from syntaxerror247/fix-back-request
...
Fix double emission of `NOTIFICATION_WM_GO_BACK_REQUEST`
2025-01-13 20:22:24 +07:00
Rémi Verschelde
b7c0a0fbd1
Merge pull request #101387 from picoxr/add-picoos-immersivemode
...
Add PICO OS Immersive Mode
2025-01-13 20:22:11 +07:00
Fredia Huya-Kouadio
17279cdf45
Use implicit launch when running a Godot Android project from the editor
...
This allows developers to override the default launching activity (`com.godot.game.GodotApp`) with a custom one if desired.
Logic is added to fallback to the default launching activity if the implicit launch fails.
2025-01-13 08:52:17 +07:00
ygz-bd
a2bfb7cff2
Enable XR Preview Mode for PICO OS
...
Supported features in the immersive preview mode
- Passthrough
- Hand tracking
Notes:
- Multi-window is only available for internal apps on PICO OS, therefore launching adjacent windows is not possible currently.
- Passthrough splash screen is not supported on PICO OS
2025-01-13 16:34:22 +07:00
Fredia Huya-Kouadio
4bc8918c19
Add support for specifying whether to play the current scene or a specific scene in XR or regular mode
...
The functionality is only activated for the XR Editor, when a project has OpenXR enabled.
2025-01-12 22:02:24 +07:00
Anish Mishra
c327b5797e
Fix double emission of NOTIFICATION_WM_GO_BACK_REQUEST
2025-01-13 09:09:22 +07:00
Thaddeus Crews
9d0c41a489
Style: Unify `.editorconfig` logic
2025-01-12 08:49:01 +07:00
Yufeng Ying
34d8255947
Force build editor with regex module, remove checking code.
...
Fix include.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-07 19:43:23 +07:00
Rémi Verschelde
52f542b342
Merge pull request #101180 from syntaxerror247/editor-themed-icon
...
Android Editor: Fix themed icon
2025-01-06 22:49:25 +07:00
Rémi Verschelde
d15e559355
Merge pull request #100103 from Summersay415/idsig
...
Android: Delete `.idsig` on One Click Deploy
2025-01-06 22:47:29 +07:00