Fredia Huya-Kouadio
4587d14796
Add logic to automatically pick up jar/aar library dependencies in the `res://addons` directory
2024-09-29 14:32:10 -07:00
Fredia Huya-Kouadio
5e0805a813
Provide access to the Android runtime to GDScript
...
Thanks for the fix of `JavaClassWrapper` in https://github.com/godotengine/godot/pull/96182 and the changes in the previous commit, this introduces an `AndroidRuntime` plugin which provides GDScript access to the Android runtime capabilities.
This allows developers to get access to various Android capabilities without the need of a plugin.
For example, the following logic can be used to check whether the device supports vibration:
```
var android_runtime = Engine.get_singleton("AndroidRuntime")
if android_runtime:
print("Checking if the device supports vibration")
var vibrator_service = android_runtime.getApplicationContext().getSystemService("vibrator")
if vibrator_service:
if vibrator_service.hasVibrator():
print("Vibration is supported on device!")
else:
printerr("Vibration is not supported on device")
else:
printerr("Unable to retrieve the vibrator service")
else:
printerr("Couldn't find AndroidRuntime singleton")
```
2024-09-29 14:32:10 -07:00
Fredia Huya-Kouadio
07cae26abe
Remove the restriction on supported types for Godot Android plugins
...
The Android plugin implementation is updated to use `JavaClassWrapper` which was fixed in https://github.com/godotengine/godot/pull/96182 , thus removing the limitation on supported types.
Note that `JavaClassWrapper` has also been updated in order to only provide access to public methods and constructor to GDScript.
2024-09-29 14:32:10 -07:00
Rémi Verschelde
1fc8208765
Merge pull request #97589 from pkowal1982/fix_97454
...
Fix error message on startup when camera is busy
2024-09-29 00:47:15 +02:00
Rémi Verschelde
0e2a76d57f
Merge pull request #97547 from lalitshankarchowdhury/audio-code-fix
...
Vorbis: Remove redundant bounds check
2024-09-29 00:47:12 +02:00
Rémi Verschelde
99aec99421
Merge pull request #97534 from j20001970/camerafeed-setter
...
Expose CameraFeed setters
2024-09-29 00:47:09 +02:00
Rémi Verschelde
a53d0a36e4
Merge pull request #97503 from Repiteo/ci/merge_queue
...
CI: Support merge queues with default runner
2024-09-29 00:47:05 +02:00
Rémi Verschelde
422306ef87
Merge pull request #97325 from BlueCube3310/bcdec
...
Replace squish with bcdec for BC decompression
2024-09-29 00:47:02 +02:00
Rémi Verschelde
3fbd33af85
Merge pull request #97229 from aryan-11825114/ctrl-x-visual-shader
...
Add `GraphEdit.cut_nodes_request` signal
2024-09-29 00:46:59 +02:00
Rémi Verschelde
a11f970f91
Merge pull request #96290 from Macksaur/export-action-callable
...
Add `@export_tool_button` annotation for easily creating inspector buttons.
2024-09-29 00:46:55 +02:00
Rémi Verschelde
d6c0509b5a
Merge pull request #91069 from Repiteo/scons/msvc-detect-compiler
...
SCons: Detect MSVC compiler version
2024-09-29 00:46:52 +02:00
Rémi Verschelde
285ebed828
Merge pull request #83360 from ywmaa/vertex_shading
...
Implement vertex shading
2024-09-29 00:46:48 +02:00
Rémi Verschelde
e7a9104f37
Merge pull request #97554 from clayjohn/batching-uniform-sets
...
Combine texture and instance data into one uniform set in the 2D renderer
2024-09-29 00:46:44 +02:00
ywmaa
0a9ad8f9de
Implement vertex shading
...
This adds support in all backends, but the Compatibility renderer works the best.
Mobile and Forward+ can only support one directional light shader (the first in the tree)
While the Compatibility renderer supports any number of shadows.
Co-authored-by: Clay John <claynjohn@gmail.com>
2024-09-29 00:36:09 +02:00
Rémi Verschelde
b2b13d46c2
Merge pull request #97581 from AThousandShips/owners_fix_3
...
Add a few missing CODEOWNERS
2024-09-28 17:42:38 +02:00
Paweł
0178bb88e0
Fix error message on startup when camera is busy
2024-09-28 17:00:29 +02:00
A Thousand Ships
ae45d19ad6
Add a few missing CODEOWNERS
2024-09-28 11:58:43 +02:00
Danil Alexeev
85dfd89653
Add `@export_tool_button` annotation for easily creating inspector buttons
...
Co-authored-by: jordi <creptthrust@gmail.com>
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com>
2024-09-27 22:24:15 +01:00
clayjohn
4d635b7a3a
Combine texture and instance data into one uniform set in the 2D renderer
...
Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
2024-09-27 11:05:46 -07:00
Thaddeus Crews
1043c00137
SCons: Detect msvc compiler version
...
• C standard now passed on msvc if the version is supported
2024-09-27 11:16:33 -05:00
Lalit Shankar Chowdhury
2caaa2cae5
Vorbis: Remove redundant bounds check
2024-09-27 21:04:46 +05:30
Rémi Verschelde
76a135926a
Merge pull request #97517 from syntaxerror247/android-themed-icon
...
Add support for Android Themed Icons (monochrome)
2024-09-27 14:57:34 +02:00
Jason Kuo
38d7ec1640
Expose CameraFeed setters
2024-09-27 20:07:36 +08:00
Anish Mishra
dbcc7f3051
Add support for Android Themed Icons (monochrome)
2024-09-27 13:56:34 +02:00
Rémi Verschelde
ac3eadf976
Merge pull request #97524 from BastiaanOlij/openxr_1141
...
Update thirdparty OpenXR to 1.1.41
2024-09-27 13:53:41 +02:00
Rémi Verschelde
ab1f55e738
Merge pull request #97489 from TokageItLab/deferred-skin-registration
...
Move skin registration process into deferred on ready
2024-09-27 13:53:38 +02:00
Rémi Verschelde
58ec7a95a4
Merge pull request #97477 from m4gr3d/update_xr_editor_excluded_permissions
...
[XR Editor] Update the set of excluded permissions
2024-09-27 13:53:33 +02:00
Rémi Verschelde
7b393c6cee
Merge pull request #97453 from Calinou/project-manager-enter-accepts-dialog
...
Make pressing Enter confirm project creation/import in the project manager
2024-09-27 13:53:29 +02:00
Rémi Verschelde
b537d2f15c
Merge pull request #97450 from megalon/alpha_curve-docs-fix
...
Update notes for Color Curve members in ParticleProcessMaterial
2024-09-27 13:53:26 +02:00
Rémi Verschelde
61fce325ca
Merge pull request #96548 from timothyqiu/item-list-signals
...
Improve documentation of some `ItemList` signals
2024-09-27 13:53:22 +02:00
Rémi Verschelde
83b2ca3107
Merge pull request #95930 from aaronfranke/bind-array-set
...
Bind Array and Packed*Array `get` and `set` functions
2024-09-27 13:53:19 +02:00
Rémi Verschelde
8a9a26ef19
Merge pull request #93311 from dsnopek/gdextension-required-virtuals
...
GDExtension: Mark virtual function as `is_required` in `extension_api.json`
2024-09-27 13:53:16 +02:00
Rémi Verschelde
543fa16b4c
Merge pull request #68233 from raulsntos/dotnet/raise-events
...
C#: Generate strongly-typed method to raise signal events and fix event accessibility
2024-09-27 13:53:11 +02:00
Haoyu Qiu
76691afd94
Improve documentation of some ItemList signals
2024-09-27 16:19:40 +08:00
Bastiaan Olij
e0478fe3a3
Update thirdparty OpenXR to 1.1.41
2024-09-27 14:34:43 +10:00
aryan-11825114
b4460c6ba3
Add cut_nodes_request signal to GraphEdit
2024-09-27 08:47:11 +05:30
megalon
49212b81e5
Update alpha_curve and emission_curve notes in ParticleProcessMaterial
...
Update doc/classes/ParticleProcessMaterial.xml
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Update doc/classes/ParticleProcessMaterial.xml
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-09-26 17:41:49 -04:00
Aaron Franke
cc9f2b58a0
Bind Array get and set functions
2024-09-26 13:00:17 -07:00
Raul Santos
da37998dc8
C#: Generate On{EventName} method to raise signal events
2024-09-26 20:10:53 +02:00
Rémi Verschelde
506d6e427a
Merge pull request #89486 from AThousandShips/owners_fix
...
Update CODEOWNERS
2024-09-26 18:54:05 +02:00
Thaddeus Crews
cb9a457153
CI: Support merge queues with default runner
2024-09-26 11:49:34 -05:00
Rémi Verschelde
b181ff28e8
Merge pull request #97491 from akien-mga/fix-filesystem-invalid-icon-crash
...
Fix EditorFileSystem crash when fetching icons for unknown file types
2024-09-26 18:45:56 +02:00
Rémi Verschelde
645af49919
Merge pull request #97488 from KoBeWi/zakaz_tłumaczeń
...
Disable auto translation in EditorDirDialog
2024-09-26 18:45:53 +02:00
Rémi Verschelde
8126d81d0c
Merge pull request #97487 from Ivorforce/patch-2
...
Rename `Vector4.components` -> `coord` for consistency
2024-09-26 18:45:50 +02:00
Rémi Verschelde
3cde5a37f9
Merge pull request #97455 from Calinou/doc-lineedit-text-submitted
...
Clarify when LineEdit's `text_submitted` signal is emitted
2024-09-26 18:45:46 +02:00
Rémi Verschelde
807136b679
Merge pull request #97425 from CrayolaEater/better-description-multiplayer-spawner-signals
...
Better description for multiplayer spawner signals
2024-09-26 18:45:42 +02:00
Rémi Verschelde
56d50c30a2
Merge pull request #97414 from AThousandShips/code_highlight_fix
...
Fix editing of some properties in `CodeHighlighter`
2024-09-26 18:45:38 +02:00
Rémi Verschelde
01d567ba1b
Merge pull request #97406 from timothyqiu/tooltip-atm
...
Add auto translate mode for tooltips
2024-09-26 18:45:35 +02:00
Rémi Verschelde
9a8dcc1eeb
Merge pull request #97397 from timothyqiu/shortcut-in-tooltips
...
Make `_make_custom_tooltip` receive raw tooltip for buttons with shortcut enabled
2024-09-26 18:45:31 +02:00
Rémi Verschelde
775edd568b
Merge pull request #97389 from timothyqiu/button-autowrap-min-size
...
Fix button text autowrap overflow when inside a container
2024-09-26 18:45:28 +02:00