1
0
Fork 0
Commit Graph

10786 Commits

Author SHA1 Message Date
Thaddeus Crews 5e77d93781
Merge pull request #98194 from bruvzg/fd_parent
Improve native file dialog parent window selection.
2025-03-06 16:36:27 -06:00
Thaddeus Crews 3d816853e5
Merge pull request #100209 from Flarkk/simplify_fix_projection
Simplify and fix `Projection`'s getter functions
2025-03-06 16:36:19 -06:00
Thaddeus Crews 25e43b011d
Merge pull request #103701 from bruvzg/doc_pool
[Docs] Fix WorkerThreadPool wrong max thread value description.
2025-03-06 16:36:10 -06:00
Thaddeus Crews 4bafafaeb3
Merge pull request #102777 from darksylinc/matias-astc-hdr
Add ASTC HDR format variants
2025-03-06 16:36:06 -06:00
Florent Guiocheau 1d416fc2ba Simplify and fix `Projection`'s getter functions 2025-03-06 16:48:01 +01:00
bruvzg 3e4e6e6c0c Improve native file dialog parent window selection. 2025-03-06 17:15:39 +02:00
Pāvels Nadtočajevs 1866988724 [Docs] Fix WorkerThreadPool wrong max thread value description. 2025-03-06 17:06:10 +02:00
Hugo Locurcio 0c91e38a4a
Improve BaseMaterial3D/Label3D/SpriteBase3D's `fixed_size` documentation
This documents the behavior more precisely and fixes a typo in
SpriteBase3D where it referred to a label instead of a sprite.
2025-03-06 02:10:08 +01:00
Thaddeus Crews e6cb2e83b0
Merge pull request #103619 from bruvzg/stdio_binds
Add missing default values to the `read_*_from_stdin` binds.
2025-03-05 12:08:09 -06:00
Thaddeus Crews dc03cf9fc0
Merge pull request #103508 from KoBeWi/caret_can_into_draw
Fix `caret_force_displayed`
2025-03-05 12:08:08 -06:00
Thaddeus Crews 0544ed3ff4
Merge pull request #103316 from Rindbee/make-EditorProperty-and-its-children-behave-like-sibling-nodes
Make `EditorProperty` and its child `EditorProperty` behave like sibling nodes when handling mouse events
2025-03-05 12:08:02 -06:00
Thaddeus Crews 113fc5a647
Merge pull request #102648 from bruvzg/el_force
Expose `OVERRUN_ENFORCE_ELLIPSIS` flag to the controls.
2025-03-05 12:07:55 -06:00
Cyclone 144d95d96c
EditorInterface: Add `get_open_scene_roots` to retrieve all opened scenes root nodes 2025-03-05 11:57:40 +01:00
Pāvels Nadtočajevs ff118b63e2 Add missing default values to the `read_*_from_stdin` binds. 2025-03-05 10:23:31 +02:00
Hugo Locurcio 39cb5a92f0
Document Glow Upscale Mode project setting only affecting Forward+/Mobile 2025-03-03 20:53:44 +01:00
kobewi 6d2f18c6c6 Fix caret_force_displayed 2025-03-03 15:58:58 +01:00
Haoyu Qiu a79076c5b1 Fix various typos in the class reference 2025-02-28 17:58:06 +08: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 +05:30
风青山 d0437d5052
Revert "Fix inspector jumping when gaining focus"
This reverts commit 9226424401.
2025-02-26 18:18:30 +08: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 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
AbstractionFactory 0f419898d7
Adding explanation for the PROPERTY_HINT_DICTIONARY_TYPE data format
Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com>
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2025-02-16 16:04:37 +01:00
Pāvels Nadtočajevs b3c0eaeeb8 Add editor setting to override tablet driver. 2025-02-15 23:16:58 +02: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
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
Matias N. Goldberg fcd785ace2 Add ASTC HDR format variants 2025-02-13 11:45:42 -03:00
smix8 9dfeabc92a Add path query region filters
Adds filter lists to exclude or include specific regions in path queries.
2025-02-13 15:05:34 +01: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
Innaias eb99adb11b Added warning line highlight 2025-02-11 18:59:28 -08: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
kobewi d29a7450fa Drop preload Resources as UID 2025-02-11 14:17:05 +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
Pāvels Nadtočajevs 912b52a6a5 Expose `OVERRUN_ENFORCE_ELLIPSIS` flag to the controls. 2025-02-10 08:41:31 +02:00
Danil Alexeev ead16435bf
Script Editor: Add option to disable documentation tooltips 2025-02-09 11:02:10 +03:00
Thaddeus Crews 2d1d51a14c
Merge pull request #102472 from bruvzg/ime_hl
[TextEdit] Update syntax highlighting when IME composition string is updated.
2025-02-07 14:50:39 -06:00
Tim Krief 8367e6243c
Use float instead of integers for durations 2025-02-07 11:02:12 +01:00
Pāvels Nadtočajevs 7da0767f35 [TextEdit] Update syntax highlighting when IME composition string is updated. 2025-02-07 11:54:56 +02:00
Pāvels Nadtočajevs 1bc86c2626 Fix `PackedStringArray.to_byte_array()` to return UTF-8 encoded data instead of pointers. 2025-02-07 10:19:32 +02:00
Rémi Verschelde 5d037d3a24 Merge pull request #102477 from Calinou/lightmapgi-decrease-max-rays-per-pass
Decrease default Max Rays per Pass setting to 4 to fix some lightmapping crashes
2025-02-07 01:39:44 +01:00
Rémi Verschelde 239cfe2460 Merge pull request #102044 from Muller-Castro/blender-executable-path
Documentation change from Blender directory to executable
2025-02-07 01:39:27 +01:00
Rémi Verschelde e87f4f67b0 Merge pull request #100913 from larspet/tooltip-hover-oob
Prevent tooltip from showing when hovering past the end of script line
2025-02-07 01:39:11 +01:00
Hugo Locurcio 0c4834b20f Decrease default Max Rays per Pass setting to 4 to fix some lightmapping crashes 2025-02-06 14:36:23 +01:00
Thaddeus Crews 525aa0a7f4
Merge pull request #100939 from Faless/fix/js_singleton_cb_docs
[Web] Clarify JavaScriptBridge callback requirements
2025-02-05 18:50:43 -06:00
Hugo Locurcio 8af5072652
Mention visibility layers and inheritance in `Node3D.is_visible_in_tree()` docs 2025-02-05 10:57:06 +01:00
Thaddeus Crews ea2770eb4f
Merge pull request #101947 from Rudolph-B/Issue-101750
Add Heightfield mask to GPUParticlesCollisionHeightField3D
2025-02-04 09:04:11 -06:00
Thaddeus Crews c9887d25e3
Merge pull request #102342 from bruvzg/no_font_set
Make `CharFXTransform.font` property read only, add some extra documentation notes.
2025-02-04 09:03:58 -06:00
Rudolph Bester b162c59097 Fix GPUParticlesCollisionHeightField3D adding collisions excluded by its layer_mask
Co-authored-by: Yahia Zakaria <yahiazakaria13@gmail.com>
2025-02-04 08:02:44 +02:00
A Thousand Ships 46b6acdabb
[Core] Expose `Packed*Array::erase` 2025-02-03 19:25:09 +01:00
Thaddeus Crews 654b5993e2
Merge pull request #99890 from Sauermann/fix-vp-mouse-notifications
Introduce `Viewport` functions for keeping the mouse over state consistent
2025-02-03 11:14:42 -06:00
Pāvels Nadtočajevs e6e108d091 Implement `get_length()` for pipes. 2025-02-03 16:50:00 +02:00
Thaddeus Crews 03385f9e34
Merge pull request #101836 from Calinou/doc-worldboundaryshape3d-fix-jolt-note
Fix Jolt note in WorldBoundaryShape3D documentation
2025-02-03 08:15:56 -06:00
Robert Yevdokimov 5878b880ae Add "active" state to one of the multiple selected Node3Ds to determine basis in Local mode 2025-02-03 16:57:30 +04:00
Pāvels Nadtočajevs 50740c4e91 Make `CharFXTransform.font` property read only, add some extra documentation notes. 2025-02-02 23:08:35 +02:00
Thaddeus Crews 4f827e6190
Merge pull request #95169 from Calinou/editorspinslider-float-step-1-slider
Make EditorSpinSlider display a slider for floats with a step of 1.0
2025-01-31 09:15:55 -06:00
Hilderin f601117c74 Fix Embed Game not available when multi window is disabled 2025-01-31 07:56:54 -05:00
kobewi 0b397d979d Add editor setting for FPS mode and compat 2025-01-30 14:01:48 +01: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 -06:00
ChildLearningClub 2710c359d6 Changed if false to if true "Emoji and Symbols" menu is enabled. 2025-01-28 18:42:05 +01: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 -05:00
Thaddeus Crews 998a21782f
Merge pull request #101768 from KoBeWi/just_spread_the_code_with_another_layer_of_hacks_what_can_go_wrong_huh
Fix inspector jumping when gaining focus
2025-01-28 09:03:43 -06:00
Kayne Ruse a3728cb387 Specified max_slides must be greater than zero 2025-01-28 17:40:39 +11:00
Hugo Locurcio daa6198925 Add built-in GUI to display license notices
Press Ctrl/Cmd + Shift + L (`ui_toggle_licenses_dialog` built-in action)
to show/hide the notices dialog.

The dialog can be shown via script using
`SceneTree.licenses_dialog_visible = true|false`.

Co-authored-by: MewPurPur <mew.pur.pur@abv.bg>
2025-01-27 18:35:04 +01:00
kobewi 9226424401 Fix inspector jumping when gaining focus 2025-01-27 17:41:18 +01:00