Commit graph

9430 commits

Author SHA1 Message Date
DevPoodle
5579edb137 Add descriptions to remaining properties of RDSamplerState 2024-01-16 16:10:46 -08:00
Micky
8467245526 Overhaul AABB's documentation 2024-01-16 19:20:17 +01:00
Micky
0b02b9571c Add "missing description" tag to constant documentation
Revives #85836

Co-Authored-By: krysperz2 <106302189+krysperz2@users.noreply.github.com>
2024-01-16 18:33:33 +01:00
Rémi Verschelde
079d58be9c
Merge pull request #86971 from YuriSizov/makerst-parity-check
Add code sample language parity check to `make_rst.py`
2024-01-16 15:07:40 +01:00
Yuri Sizov
dc3b07e551 Introduce editor theme spacing presets
This change adds a new editor setting related to theming
which controls base and additional spacing used in the
generated editor theme. These values can also be changed
manually by the user to customize their experience.

Limited effort was applied to make sure both Compact and
Spacious presets work and look fine, but further tuning
and adjustments are totally expected. Some controls will
require layout changes or additional fixes to their constants.
2024-01-16 11:57:45 +01:00
Rémi Verschelde
3ba18b3fc1
Merge pull request #87223 from Mickeon/documentation-uncommon-words
Replace some "uncommon" words in class reference
2024-01-16 10:39:13 +01:00
Rémi Verschelde
5af0cb4aef
Merge pull request #87218 from Calinou/makerst-code-warning-hint-skip-lint
makerst: Suggest using `[code skip-lint]` to skip warnings if intended
2024-01-16 10:38:49 +01:00
Rémi Verschelde
a69e23b23b
Merge pull request #87216 from Calinou/editor-print-rich-handle-meta
Handle clickable `[url]` tags in `print_rich()` editor output log
2024-01-16 10:38:26 +01:00
Rémi Verschelde
c16facaa67
Merge pull request #87180 from 31/dev/31/animation-length-ex
Include `animation.length` in Animation example
2024-01-16 10:36:49 +01:00
Rémi Verschelde
3df0c5be6a
Merge pull request #86473 from reduz/audio-playback-parameters
Implement audio stream playback parameters.
2024-01-16 10:35:36 +01:00
Juan Linietsky
a40fe16866 Implement audio stream playback parameters.
Implements a way for audio stream playback to be configured via parameters
directly in the edited AudioStreamPlayer[2D/3D].

Currently, configuring the playback stream is not possible (or is sometimes hacky
as the user has to obtain the currently played stream, which is not always immediately available).

This PR only implements this new feature to control looping in stream playback instances (a commonly requested feature, which was lost in the transition from Godot 2 to Godot 3).
But the idea is that it can do a lot more:

* If effects are bundled to the stream, control per playback instance parameters such as cutoff or resoance, or any other exposed effect parameter per playback instance.
* For the upcoming interactive music PR (#64488), this exposes an easy way to change the active clip, which was not possible before.
* For the upcoming parametrizable audio support (https://github.com/godotengine/godot-proposals/issues/3394) this allows editing and animating audio graph parameters.

In any case, this PR is required to complete #64488.

Update modules/vorbis/audio_stream_ogg_vorbis.h

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Update modules/minimp3/audio_stream_mp3.h

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Update modules/minimp3/audio_stream_mp3.h

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Update modules/vorbis/audio_stream_ogg_vorbis.h

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Update doc/classes/AudioStream.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-01-16 10:31:52 +01:00
Erik Johnson
498f46063d Add descpription for rendering/limits/spatial_indexer/threaded_cull_minimum_instances 2024-01-15 19:41:26 -05:00
DevPoodle
0bb744e555 Add descriptions to the remaining properties of RDPipelineDepthStencilState 2024-01-15 12:33:24 -08:00
Micky
61bdbdd9ee Replace some "uncommon" words in class reference 2024-01-15 18:51:52 +01:00
Hugo Locurcio
cd3078e45b
makerst: Suggest using [code skip-lint] to skip warnings if intended 2024-01-15 15:09:21 +01:00
Hugo Locurcio
4a11d48420
Handle clickable [url] tags in print_rich() editor output log
Since this uses `OS.shell_open()`, this allows the use of any standard URL
including `file://` paths, `mailto:`, custom protocols set up by the user, etc.
2024-01-15 14:54:13 +01:00
Yuri Sizov
bba3c70722 Add code sample language parity check to make_rst.py 2024-01-15 14:38:04 +01:00
Rémi Verschelde
378b3ca3ba
Merge pull request #87011 from Mickeon/missing-description-primitive-mesh
Add missing descriptions to PrimitiveMesh and SoftBody3D
2024-01-15 13:26:38 +01:00
Rémi Verschelde
03767fbf3b
Merge pull request #86446 from reduz/transient-to-focused
Implement a `transient_to_focused` Window mode
2024-01-15 13:25:00 +01:00
31
698c67d540 Include animation.length in Animation example
The length of an Animation isn't automatically set by adding keys, and
it must be set manually. The existing example only has keys up to 0.5s,
so the default value of 1.0s may be acceptable. However, this results in
unexpected behavior for anyone who makes an animation longer than 1.0s.
Include animation.length in the example because it's important.

Also, increase the key position to 2.0s so it won't be confusing that
the assignment is somewhat redundant.
2024-01-14 10:29:02 -08:00
Juan Linietsky
15144c24bd Implement a transient_to_focused mode
This intends to be the correct way to handle non-child windows becoming covered by the current window when becoming focused.
Enabling this property on select windows, they will become transient to the currently focused one when becoming visible.

This deprecates the "unparent_when_invisible" function introduced by #76025.
2024-01-14 18:51:44 +01:00
Jakub Marcowski
06534f8ad5 Add deprecation notice to a duplicate method of class Window 2024-01-12 18:18:28 +01:00
Rémi Verschelde
bf4fb987e6
Merge pull request #87035 from Mickeon/deprecate-RenderingServer-has-feature
Deprecate RenderingServer's `has_feature` and Features enum
2024-01-11 17:41:50 +01:00
Rémi Verschelde
ea83a12ba2
Merge pull request #86968 from Mickeon/reduz-mystery-meat
Add class reference documentation for GDExtension & GDExtensionManager
2024-01-11 17:41:01 +01:00
Rémi Verschelde
cab27498bd
Merge pull request #86957 from RandomShaper/mt_mends
A couple of enhancements to user-visible threading semantics
2024-01-11 17:40:37 +01:00
Rémi Verschelde
880c12004b
Merge pull request #86881 from AThousandShips/gizmo_fix
[Editor] Add missing virtual bind to `EditorNode3DGizmo(Plugin)`
2024-01-11 17:39:48 +01:00
Rémi Verschelde
339a793fa2
Merge pull request #86639 from Mickeon/please-this-took-me-15-minutes-can-we-merge-it-before-2025
Fixing few reports to String's documentation
2024-01-11 17:38:35 +01:00
Rémi Verschelde
dc79e956b6
Merge pull request #86587 from RandomShaper/wtp_enhance
Enhance & fix `WorkerThreadPool`
2024-01-11 17:38:09 +01:00
Rémi Verschelde
50f68ed704
Merge pull request #84886 from Calinou/doc-window-resizable
Document changing the window's resizable status at runtime
2024-01-11 17:35:14 +01:00
Rémi Verschelde
f3fc35eb17
Merge pull request #81506 from twobitadder/reparent_keep_owner
Fix `reparent()` losing owner
2024-01-11 17:34:19 +01:00
Micky
c4d7d7c02e Add documentation for GDExtension & GDExtensionManager 2024-01-10 22:02:23 +01:00
Micky
63a08f2493 Deprecate RenderingServer's has_feature and Features enum 2024-01-10 12:26:04 +01:00
Micky
46b0f3e9d6 Fixing some reports to String's documentation
Closes https://github.com/godotengine/godot-docs/issues/8043
Closes https://github.com/godotengine/godot-docs/issues/8044
Mitigates https://github.com/godotengine/godot-docs/issues/8190
Closes https://github.com/godotengine/godot/issues/86734
2024-01-10 12:21:08 +01:00
Rémi Verschelde
3524346689
Merge pull request #87024 from jsjtxietian/CollisionPolygon2D-polygon
Mention `CollisionPolygon2D.polygon` is local to the given CollisionPolygon2D
2024-01-10 12:03:50 +01:00
Rémi Verschelde
74f3d168c8
Merge pull request #87022 from DarioSamo/clear_region_continue_fix
Fix incorrect mapping of initial action as clear region continue to clear.
2024-01-10 12:03:45 +01:00
Rémi Verschelde
af7eae9f50
Merge pull request #86997 from Mickeon/documentation-image
Add missing descriptions for Image's documentation
2024-01-10 12:03:41 +01:00
jsjtxietian
f5409dc132 Mention CollisionPolygon2D.polygon is local to the given CollisionPolygon2D 2024-01-10 11:14:57 +08:00
Dario
80eacf1b7a Fix incorrect mapping of initial action as clear region continue to clear. 2024-01-09 22:03:21 -03:00
Micky
e01b91777a Add missing descriptions for Image's documentation 2024-01-09 19:37:37 +01:00
Rémi Verschelde
60865dab6b
Merge pull request #85336 from DevPoodle/rduniform-descriptions
Add descriptions to all RDUniform methods
2024-01-09 17:56:44 +01:00
Rémi Verschelde
2bbe1e8e2c
Merge pull request #85468 from RedMser/audio-capture-record-confusion
Clarify difference between Capture and Record audio effects
2024-01-09 17:47:08 +01:00
Micky
a33777d49d Add missing descriptions to PrimitiveMesh and SoftBody3D 2024-01-09 17:31:12 +01:00
Pedro J. Estébanez
acac31ba5c Allow EditorImportPlugin to override can_import_threaded() 2024-01-09 17:30:24 +01:00
Dario
cc4d39b0c1 Acyclic Command Graph for RenderingDevice.
Adds a new system to automatically reorder commands, perform layout transitions and insert synchronization barriers based on the commands issued to RenderingDevice.
2024-01-08 14:54:56 -03:00
Rémi Verschelde
a7e347482b
Merge pull request #86687 from TokageItLab/AnimationMixer-remove-object-pointer
Fix TrackCache conflict when tracks have same name but different type
2024-01-08 14:52:30 +01:00
Rémi Verschelde
129332e3b9
Merge pull request #82468 from kitbdev/tabcontainer-bottom
Option to put TabContainer tabs at bottom
2024-01-08 14:51:37 +01:00
Silc Lizard (Tokage) Renew
a51958a2a0 Remove Object pointer/solve types conflict in AnimationTrackCache
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-01-08 21:48:19 +09:00
Pedro J. Estébanez
9444d297ed WorkerThreadPool: Overhaul scheduling and synchronization
This commits rewrites the sync logic in a way that the
`use_system_threads_for_low_priority_tasks` setting, which was added due to
the lack of a cross-platform wait-for-multiple-objects functionality, can be
removed (it's as if it was effectively hardcoded to `false`).

With the new implementation, we have the best of both worlds: threads don't
have to poll, plus no bespoke threads are used.

In addition, regarding deadlock prevention, since not every possible case of
wait-deadlock could be avoided, this commits removes the current best-effort
avoidance mechanisms and keeps only a simple, pessimistic way of detection.

It turns out that the only current user of deadlock prevention, ResourceLoader,
works fine with it and so every possible situation in resource loading is now
properly handled, with no possibilities of deadlocking. There's a comment in
the code with further details.

Lastly, a potential for load tasks never being awaited/disposed is cleared.
2024-01-08 12:45:42 +01:00
Rémi Verschelde
07f5dac81a
Merge pull request #86895 from Mickeon/documentation-textserver-missing-descriptions
Add missing descriptions to TextServer's constants
2024-01-08 12:01:07 +01:00
Rémi Verschelde
f5e2529584
Merge pull request #86848 from Mickeon/documentation-canvas-texture-note
Specify how CanvasTexture does not work in 3D
2024-01-08 11:58:43 +01:00
Rémi Verschelde
ff79ec75de
Merge pull request #86349 from DSteve595/patch-1
Clarify doc: `Node.get_child` returns null for invalid index
2024-01-08 11:53:04 +01:00
Mansur Isaev
631d722674
Add set_slot_custom_icon and get_slot_custom_icon to GraphNode 2024-01-08 08:30:10 +01:00
Micky
e03f2b65c2 Fill the documentation of a few overlooked classes 2024-01-07 17:51:04 +01:00
A Thousand Ships
c909354396
Clarify that Callable will not be encoded with var_to_bytes 2024-01-07 14:10:36 +01:00
A Thousand Ships
4850b866e8
Clarify PackedByteArray.decompress* limitations with external data 2024-01-07 13:34:39 +01:00
Steven Schoen
3c416f3a64 Clarify Node doc: get_child returns null for invalid index 2024-01-07 00:01:03 -04:00
kit
f6a212837b TabContainer bottom position 2024-01-06 15:31:08 -05:00
Micky
d3150c9c8f Add missing descriptions to TextServer's constants 2024-01-06 19:06:48 +01:00
A Thousand Ships
c794ce195b
[Editor] Add missing virtual bind to EditorNode3DGizmo(Plugin)
Method `_begin_handle_action` was not bound
2024-01-06 17:27:50 +01:00
Micky
52d062560b Specify how CanvasTexture does not work in 3D 2024-01-06 01:43:40 +01:00
Rémi Verschelde
89cc635c05
Merge pull request #86820 from sepTN/fix-typos-3
Fix various typos in documentation
2024-01-05 12:06:45 +01:00
Rémi Verschelde
e59b4deec0
Merge pull request #84140 from HexagonNico/quaternion-docs
Complete the docs for Quaternion
2024-01-05 12:03:31 +01:00
Rémi Verschelde
85e999dc5e
Merge pull request #64908 from marcinn/lightmap-gi-texel-scale
Add `texel_scale` property to LightmapGI
2024-01-05 12:01:49 +01:00
Nico
d67e7f8729 Complete the docs for Quaternion 2024-01-05 11:31:59 +01:00
Septian
d3e7b8c8a8 Fix various typos in documentation 2024-01-05 15:47:58 +07:00
Rémi Verschelde
179dfdc8d7
Merge pull request #86742 from paulloz/doc/dotnet-basis-examples
Add C# examples in `Basis.xml`
2024-01-04 18:05:44 +01:00
Rémi Verschelde
acd37f98c0
Merge pull request #83353 from Chubercik/expose_delaunay_3d
Expose 3D Delaunay tetrahedralization in `Geometry3D`
2024-01-04 16:39:23 +01:00
Rémi Verschelde
c772a5b050
Merge pull request #78960 from kleonc/inspector-follow-focus
Make editor inspector follow focus
2024-01-04 16:38:46 +01:00
Rémi Verschelde
b88eddb682
Merge pull request #78378 from 0xafbf/curve-evaluate-correct-transform
Changed the way the rotation of a curve at a point is evaluated to match PathFollow2D
2024-01-04 16:38:38 +01:00
Marcin Nowak
eea2ad4019 Add texel_scale property to LightmapGI 2024-01-04 16:24:19 +01:00
Rémi Verschelde
18e9133d5a
Merge pull request #86364 from aaronfranke/basis-divide
Add and expose Basis/Transform2D/3D division by float operator
2024-01-04 14:26:16 +01:00
Rémi Verschelde
574e076f51
Merge pull request #84666 from MewPurPur/document-resize-performance
Add performance note to `Array.resize()`
2024-01-04 14:26:11 +01:00
Rémi Verschelde
bbfcfe50da
Merge pull request #81267 from Chaosus/astargrid_isometric_mode
Add isometric cell shape mode to `AStarGrid2D`.
2024-01-04 14:25:00 +01:00
Rémi Verschelde
ea3e3b088a
Merge pull request #80282 from Mickeon/doc-peeves-ostrich
Overhaul OS documentation
2024-01-04 14:24:39 +01:00
Micky
465e843d40 Overhaul OS documentation 2024-01-04 12:37:56 +01:00
Rémi Verschelde
91f0789efb
Merge pull request #85240 from krazy-j/nodepath-get-name-documentation
Fix example in `NodePath.get_name()` documentation
2024-01-03 15:43:16 +01:00
Rémi Verschelde
9a7207928a
Merge pull request #84656 from AThousandShips/clamp_detail
Clarify that `@GlobalScope.clamp` does not do component-wise clamping
2024-01-03 15:42:25 +01:00
Rémi Verschelde
73c5deff76
Merge pull request #82916 from jsjtxietian/update-scene-tree-tooltip-after-editor-description-chnage
Support updating tooltip immediately after editor description change
2024-01-03 15:41:31 +01:00
Rémi Verschelde
9561160a6a
Merge pull request #80094 from Sauermann/fix-window-sizechange-doc
Explain which nodes receive `NOTIFICATION_WM_SIZE_CHANGED`
2024-01-03 15:40:11 +01:00
Rémi Verschelde
078ed369f1
Merge pull request #68560 from Mickeon/doc-peeves-nodeworthy
Overhaul Node Documentation
2024-01-03 15:39:21 +01:00
Paul Joannon
8b5894843c
Add C# examples in Basis.xml
Follow up to #86664
2024-01-03 11:54:55 +01:00
Rémi Verschelde
f38076e15c
Merge pull request #86664 from Mickeon/doc-peeves-basis-examples
Add code examples to Basis' documentation
2024-01-03 10:13:50 +01:00
Rémi Verschelde
a6dc1b3907
Merge pull request #84527 from Calinou/colorpicker-display-revert-icon
Display a revert icon on ColorPicker's old sample
2024-01-03 09:59:06 +01:00
Rémi Verschelde
22e880ad20
Merge pull request #83163 from Chubercik/vectorXi_dist_methods
Implement `Vector2i/3i/4i` methods: `distance_to` and `distance_squared_to`
2024-01-03 09:58:36 +01:00
Rémi Verschelde
c10251af59
Merge pull request #86685 from jsjtxietian/update-get-image-doc
Update `get_image` doc to mention that it will return an empty image with invalid texture
2024-01-02 18:06:21 +01:00
Rémi Verschelde
b4b96ab4e3
Merge pull request #86672 from qwofford/qwofford/issue85805
Fix incorrect VehicleWheel3D Roll Influence description
2024-01-02 18:06:13 +01:00
Rémi Verschelde
dc95a3de56
Merge pull request #86666 from Mickeon/merge-this-before-2024-i-bet-you-wont
Link to mentioned articles in the docs instead of just naming them
2024-01-02 18:06:09 +01:00
Rémi Verschelde
7fc37a8981
Merge pull request #86649 from SGiygas/patch-1
Correct C# syntax in `_validate_property` example for the Object class
2024-01-02 18:06:06 +01:00
Rémi Verschelde
14b1bb47a7
Merge pull request #86570 from RandomShaper/remove_traces_of_rid_prealloc
Remove traces of the extinct RID preallocate feature
2024-01-02 18:05:41 +01:00
Rémi Verschelde
cf519ab898
Merge pull request #86551 from bruvzg/agility_dynamic_load
[D3D12] Dynamically load Agility SDK.
2024-01-02 18:05:33 +01:00
Rémi Verschelde
1f1a971bf4
Merge pull request #86549 from sepTN/fix-docs-typos2
Fix various typos in documentation
2024-01-02 18:05:30 +01:00
Rémi Verschelde
3dae50aa4f
Merge pull request #86520 from touilleMan/fix-ScriptLanguageExtension-_find_function-documentation
Fix `ScriptLanguageExtension::_find_function` documentation
2024-01-02 18:05:26 +01:00
Rémi Verschelde
b5c6e870e8
Merge pull request #82264 from dalexeev/core-builtin-methods-as-callables
Core: Allow methods of built-in `Variant` types to be used as Callables
2024-01-02 18:05:05 +01:00
Micky
78c9e2c53a Link to the "article" in the docs instead of saying "article" 2024-01-02 16:38:39 +01:00
bruvzg
126a763f7a
[D3D12] Dynamically load Agility SDK. 2024-01-02 17:15:59 +02:00
jsjtxietian
d73312d5e9 Update get_image doc to mention that it will return an empty image with invalid texture 2024-01-02 11:31:38 +08:00
Micky
e88a819194 Add more examples to Basis' Documentation 2024-01-01 19:32:01 +01:00
Quincy Wofford
c979d02db2 corrected tooltip information Roll Influence property of VehicleWheel3D 2023-12-31 15:10:46 -07:00
Gwen
e40b23c619
Correct C# syntax in _validate_property example for the Object class 2023-12-30 19:13:58 +01:00
Pedro J. Estébanez
c217041afd Remove traces of the extinct RID preallocate feature 2023-12-28 10:18:05 +01:00