1
0
Fork 0
Commit Graph

11562 Commits

Author SHA1 Message Date
Rémi Verschelde bb634fd9e4
Merge pull request #103302 from dsnopek/missing-method-flag
Bind new core `METHOD_FLAG_VIRTUAL_REQUIRED` bitfield
2025-02-26 00:17:56 +01:00
Rémi Verschelde bc0d58b07e
i18n: Sync translations with Weblate 2025-02-26 00:05:03 +01:00
David Snopek e0370b9596 Bind new core `METHOD_FLAG_VIRTUAL_REQUIRED` bitfield 2025-02-25 16:46:50 -06:00
David Snopek a285d1aa98 `texture_create_from_native_handle()` should return `RID` for texture from `RenderingServer`, not `RenderingDevice` 2025-02-25 14:20:33 -06:00
Hugo Locurcio 07fa717b34
Document creating Texture2DArray, Cubemap and CubemapArray from code 2025-02-24 23:02:30 +01:00
Rémi Verschelde 39c201ca58
Merge pull request #103247 from Faless/mbedtls/backport_defragment_tls_handshake
[mbedTLS] Integrate TLS handshake defragmentation PR
2025-02-24 17:33:35 +01:00
Thaddeus Crews f931a65177
Merge pull request #103132 from syntaxerror247/docs-sensors
Android: Inform that sensors must be enabled in ProjectSettings
2025-02-24 09:06:16 -06:00
Fabio Alessandrelli fe84b84b51 [mbedTLS] Enable TLS 1.3 negotiation by default 2025-02-24 14:04:09 +01:00
Rémi Verschelde b77423370a
Fix cross-platform configuration of rendering driver settings
Simpler alternative to #103026 which avoids breaking compatibility.

Instead of introducing a new `auto` default value, we ensure that all
supported drivers are registered regardless of the editor's host platform,
and that the defaults are the intended ones.

This solves the following issues:
- macOS exports are meant to default to Metal in 4.4, but they would
  default to Vulkan if exported from Linux, Windows, or Android editors.
- Windows exports couldn't be made with Direct3D 12 from Linux, macOS, or
  Android editors, as the option couldn't be selected outside Windows.

Unlike #103026, it doesn't solve the issue of not always saving the
rendering drivers to `project.godot`, but now the defaults are at least
consistent between editor platforms.

Co-authored-by: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-02-23 12:28:59 +01:00
Rémi Verschelde 11f56d8265
Revert "Always allow selecting any rendering driver in the settings, add "auto" option."
This reverts commit dea20c4a9b.

This had unforeseen consequences for editor code that relies on querying these settings,
and possibly thirdparty code that would do the same. In hindsight, it's a bit too late
in the release cycle to make such a compatibility breaking change.
2025-02-23 12:19:20 +01:00
Rémi Verschelde 0c3787a152
Merge pull request #103148 from nathanhoad/fix-docs-typo-editortranslationplugin
Fix typo in EditorTranslationParserPlugin docs
2025-02-23 12:13:09 +01:00
Rémi Verschelde 54545d78d3
Merge pull request #101983 from markdibarry/parallax2d-remove-experimental
Remove Parallax2D's experimental flag
2025-02-23 12:12:42 +01:00
Nathan Hoad b3aeaa66d4 Fix typo in EditorTranslationParserPlugin docs 2025-02-22 16:26:02 +10:00
Anish Mishra 93bababb8c Android: Inform that sensors must be enabled in ProjectSettings 2025-02-21 23:04:01 +05:30
Rémi Verschelde 394508d26d
i18n: Sync translations with Weblate 2025-02-21 10:07:12 +01:00
Rémi Verschelde 413b7941f3
Merge pull request #103026 from bruvzg/drv_names
Always allow selecting any rendering driver in the settings, add "auto" option.
2025-02-20 16:51:54 +01:00
Rémi Verschelde cbb22caa35
Merge pull request #102964 from akien-mga/mbedtls-2.28-compat
mbedtls: Don't set TLS max version on Mbed TLS < 3.0
2025-02-20 16:51:51 +01:00
A Thousand Ships fec3d9e68c
[Editor] Fix return of `EditorTranslationParserPlugin._parse_file`
Merged `_get_comments` into `_parse_file` and changed to using a
returned `Array[PackedStringArray]` instead.
2025-02-19 20:11:24 +01:00
Pāvels Nadtočajevs dea20c4a9b Always allow selecting any rendering driver in the settings, add "auto" option. 2025-02-19 12:05:04 +02:00
Rémi Verschelde 5f8b5a34c6
mbedtls: Don't set TLS max version on Mbed TLS < 3.0
Relevant for Linux distribution packages which may link against system Mbed TLS.

Fixes #102957.
2025-02-17 17:51:15 +01:00
Rémi Verschelde 11d8e2e811
Merge pull request #102862 from dsnopek/java-class-wrapper-get-exception
JavaClassWrapper: Allow handling exceptions (rather than just crashing)
2025-02-14 22:58:31 +01:00
Rémi Verschelde e20f01ea27
Merge pull request #102820 from allenwp/update-tonemapping-docs
Update tonemapping docs.
2025-02-14 22:58:22 +01:00
Rémi Verschelde 9d2b6d2fb8
Merge pull request #102796 from caimantilla/fix-graph-edit-frame-rect-changed-signal-parameter-type
Fix `GraphEdit::frame_rect_changed` signal parameter type
2025-02-14 22:58:19 +01:00
Caiman bcd99bdb17
Fix GraphEdit::frame_rect_changed signal parameter type
Changes the parameter type from Vector2 to Rect2, which is what is actually emitted.
2025-02-14 22:39:27 +01:00
Fabio Alessandrelli 488cdbacdb [TLS] Disable TLSv1.3 support by default 2025-02-14 18:06:46 +01:00
David Snopek 5d69d20059 JavaClassWrapper: Allow handling exceptions (rather than just crashing) 2025-02-14 09:45:14 -06:00
Thaddeus Crews f41987356d
Merge pull request #102824 from 3DartBlade/patch-1
Clarify that `Vector2.angle_to` returns a signed angle
2025-02-14 08:25:31 -06:00
Thaddeus Crews 3c8bf62398
Merge pull request #102567 from tetrapod00/add-parentheses
Add parentheses to method links in online class reference
2025-02-14 08:25:25 -06:00
3DartBlade e8e8977b38
Updated "Vector2.angle_to" description in Vector2.xml
Added a minor detail to the description of "angle_to" so that it specifies that the returned angle is signed. Hopefully helps others not to waste several hours not realizing this.
2025-02-13 21:59:33 +01:00
Allen Pestaluky 9d9cf99f9c Update tonemapping docs. 2025-02-13 14:23:37 -05:00
bruvzg 3f2a29cd9d [Windows] Read Wacom config to check if Windows Ink is disabled and auto switch to WinTab. 2025-02-13 15:10:16 +02:00
Thaddeus Crews be7b640cde
Merge pull request #102776 from timothyqiu/tile-coordinate-range
Document the valid range of tile coordinates in TileMapLayer
2025-02-12 12:56:37 -06:00
Thaddeus Crews 449c84f3d3
Merge pull request #102742 from Calinou/doc-control-layout-direction-force
Improve documentation on forcing right-to-left layout in Control
2025-02-12 12:56:33 -06:00
Thaddeus Crews 13f8316114
Merge pull request #102773 from Calinou/doc-fix-urls
Fix dead links across the class reference
2025-02-12 12:56:32 -06:00
Thaddeus Crews 1939e87db1
Merge pull request #101561 from darksylinc/matias-device-address-api
Change how device address is requested to avoid future API breakage
2025-02-12 12:56:25 -06:00
Haoyu Qiu 9fbceb79eb Document the valid range of tile coordinates in TileMapLayer 2025-02-13 00:10:10 +08:00
Hugo Locurcio 4905d033e5
Fix dead links across the class reference
This was found using lychee, which is being set up in godot-docs' CI.
2025-02-12 16:03:06 +01:00
Hugo Locurcio e05f0a45f6 Improve documentation on forcing right-to-left layout in Control 2025-02-12 02:20:31 +01:00
Matias N. Goldberg af900a5825 Change how device address is requested to avoid future API breakage
PR #100062 introduced BUFFER_USAGE_DEVICE_ADDRESS_BIT.

However it did so by adding a boolean to uniform_buffer_create(), called
"bool p_enable_device_address".

This makes maintaining backwards compatibility harder because I am
working on another feature that would require introducing yet another
bit flag.

This would save us the need to add fallback routines when the feature I
am working on makes it to Godot 4.5.

Even if my feature doesn't make it to 4.5 either, this PR makes the
routine more future-proof.

This PR also moves STORAGE_BUFFER_USAGE_DEVICE_ADDRESS into
BUFFER_CREATION_DEVICE_ADDRESS_BIT, since it's an option available to
both storage and uniforms.

This PR also moves the boolean use_as_storage into
BUFFER_CREATION_AS_STORAGE.
2025-02-11 20:00:18 -03:00
Rémi Verschelde 9ac02ccbcb Merge pull request #102726 from mihe/jolt/thread-safe-errors
Skip `Object::to_string` when Jolt Physics is on separate thread
2025-02-11 23:59:40 +01:00
Rémi Verschelde 4f137bb1ad Merge pull request #102716 from Calinou/doc-control-layout-direction
Clarify the behavior of `Control.layout_direction` in the documentation
2025-02-11 23:59:33 +01:00
Mikael Hermansson 1006fa9c42 Skip `Object::to_string` when Jolt Physics is on separate thread 2025-02-11 22:55:32 +01:00
Hugo Locurcio 65c795eb35
Clarify the behavior of `Control.layout_direction` in the documentation 2025-02-11 16:56:22 +01:00
Thaddeus Crews cc678ec312
Merge pull request #102675 from Calinou/doc-canvasitem-draw-dashed-line
Document `CanvasItem.draw_dashed_line()`'s `dash` and `align` parameters
2025-02-11 09:13:22 -06:00
Thaddeus Crews b6894b9a45
Merge pull request #102691 from bruvzg/mix_rates
[AudioStreamGenerator] Add mixing rate presets, update docs.
2025-02-11 09:13:20 -06:00
Hugo Locurcio d1af005fed
Document `CanvasItem.draw_dashed_line()`'s `dash` and `align` parameters 2025-02-11 15:15:46 +01: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 -08:00
Pāvels Nadtočajevs 3965bdfd62 [AudioStreamGenerator] Add mixing rate presets, update docs. 2025-02-11 11:22:34 +02:00
SheepYhangCN c0eec97e98 macOS: Implement fallback from Metal to Vulkan for x86_64 2025-02-10 13:23:46 +01:00
Danil Alexeev ead16435bf
Script Editor: Add option to disable documentation tooltips 2025-02-09 11:02:10 +03:00