Commit graph

9628 commits

Author SHA1 Message Date
kobewi
57e046541d Add a way to force history for undoredo 2024-06-26 13:24:34 +02:00
Silc Lizard (Tokage) Renew
793f3832e5 Rework migration of animate_physical_bones to compatibility 2024-06-25 18:54:59 +09:00
Rémi Verschelde
30ae23c086
Merge pull request #93562 from Calinou/doc-input-echo-keyword
Add "repeat" keyword alias for InputEvent "echo" in the class reference
2024-06-25 09:20:04 +02:00
Rémi Verschelde
c4660105b7
Merge pull request #93499 from Meorge/fix_audiostreamwav_docs
Change "sample" to "stream" in AudioStreamWAV documentation
2024-06-25 09:19:50 +02:00
Rémi Verschelde
b63df071bd
Merge pull request #92514 from /addWordSeparators 2024-06-25 09:19:35 +02:00
smix8
f9876d3a88 Add navigation obstacles to performance monitor stats
Adds navigation obstacle count to navigation performance monitor.
2024-06-25 05:17:27 +02:00
Volkan Gezer
e60678f193 enable custom separators to treat different characters as words 2024-06-24 20:43:13 +02:00
Hugo Locurcio
4097cfa17b
Add "repeat" keyword alias for InputEvent "echo" in the class reference
"echo" is an uncommon term and the action is most commonly referred
to as a "repeated" key press.

This also improves the documentation related to echo behavior.
2024-06-24 19:23:18 +02:00
Rémi Verschelde
25ff1306d6
Merge pull request #93554 from akien-mga/remove-editor-pseudolocalization
Remove editor pseudolocalization debug feature
2024-06-24 17:49:13 +02:00
Malcolm Anderson
13f7f41575
Fix incorrect text in ResourceImporterWAV description
The descriptions for the edit/loop_begin and edit/loop_end members now
correctly state that the units are samples, rather than seconds.
2024-06-24 17:46:58 +02:00
Rémi Verschelde
f11e8d033d
Remove editor pseudolocalization debug feature
We've seen multiple users enable it by mistake and get utterly confused,
reporting as a bug that the interface text is garbled.

On the other hand we haven't really seen much use of the feature by editor
UI developers, so we can likely simply remove it.

If there's a need eventually, we can re-add it as a command line option
(which is also better than an editor setting as one would typically want
to toggle it during development).
2024-06-24 17:08:26 +02:00
Rémi Verschelde
09a5708df3
Merge pull request #90785 from jsjtxietian/low-process
Update outdated `low_processor_usage_mode` doc
2024-06-24 11:13:49 +02:00
jsjtxietian
c24103cc20 Update outdated low_processor_usage_mode doc 2024-06-24 11:33:02 +08:00
Malcolm Anderson
48622e57bf Change "sample" to "stream" 2024-06-22 19:58:45 -07:00
Rémi Verschelde
16ab5345ef
Merge pull request #79054 from bruvzg/word_brk_fix
[TextServer] Fix `get_word_breaks` and its uses.
2024-06-22 16:22:03 +02:00
Rémi Verschelde
4226dbf469
Merge pull request #90136 from KoBeWi/re-add_root_node
Fix `add_root_node()` being no-op
2024-06-21 16:49:37 +02:00
bruvzg
b5e3238109
[TextServer] Fix get_word_breaks and it uses. 2024-06-21 14:56:57 +03:00
Rémi Verschelde
f24893b43d
Merge pull request #93373 from Calinou/doc-lightmapprobe-bake-required
Clarify lightmap rebaking being required for LightmapProbe changes
2024-06-20 16:18:50 +02:00
Hugo Locurcio
3f5c9c644a
Clarify lightmap rebaking being required for LightmapProbe changes 2024-06-20 00:58:55 +02:00
A Thousand Ships
0ae4298a3a
Fix invalid inheritance of OccluderInstance3D 2024-06-19 16:47:37 +02:00
Rémi Verschelde
e5ed515f24
Merge pull request #93337 from bruvzg/rename_img_fnt_imp
Remove `monospace/fixed-width` from the `ResourceImporterImageFont` name and description.
2024-06-19 10:10:21 +02:00
Rémi Verschelde
4541f64026
Merge pull request #93190 from AThousandShips/session_doc
[Doc] Clarify the session-specific nature of `RID` and `ObjectID`
2024-06-19 10:10:17 +02:00
bruvzg
049cf70fbf
Remove monospace/fixed-width from the ResourceImporterImageFont name and description. 2024-06-19 08:42:13 +03:00
A Thousand Ships
6ab303cd76
[Doc] Clarify the session-specific nature of RID and ObjectID 2024-06-18 20:19:21 +02:00
Adam Scott
52fa4f05f3
Add samples playback support 2024-06-18 11:06:31 -04:00
Fabio Alessandrelli
ae7045f67e [Crypto] Expose OS.get_entropy 2024-06-17 12:02:37 +02:00
Rémi Verschelde
63cb43a059
Merge pull request #93233 from dalexeev/anim-doc-sprite-frames-frame-duration
Animation: Document frame duration units in `SpriteFrames`
2024-06-17 10:59:06 +02:00
Rémi Verschelde
f6bd88090d
Merge pull request #93218 from thmasn/color-documentation
Mention inverse of hex functions in `Color`
2024-06-17 10:59:03 +02:00
Rémi Verschelde
4671bbc42e
Merge pull request #93195 from shak2/patch-2
Fix description of `Vector2/3.dot`
2024-06-17 10:59:00 +02:00
Rémi Verschelde
c3336aa110
Merge pull request #93178 from Faless/crypto/expose_tls_options_getters
[Crypto] Expose TLSOptions getters
2024-06-17 10:58:51 +02:00
Rémi Verschelde
8cbe4fb2d4
Merge pull request #93176 from Faless/crypto/expose_get_system_ca_certificates
[Crypto] Expose `get_system_ca_certificates`.
2024-06-17 10:58:10 +02:00
Danil Alexeev
3c7b713ef9
Animation: Document frame duration units in SpriteFrames 2024-06-16 18:43:20 +03:00
thmasn
aa9bd34d68
mention inverse of hex functions in Color.xml 2024-06-16 08:38:02 +02:00
shak2
451d0999ca Fix description of Vector2/3.dot
A 90 degree angle is a right angle.
2024-06-15 18:21:05 +02:00
Fabio Alessandrelli
3639c1f0ca [Crypto] Expose TLSOptions getters 2024-06-14 22:33:10 +02:00
Fabio Alessandrelli
33d0e1c50c [Crypto] Expose get_system_ca_certificates. 2024-06-14 22:27:03 +02:00
clayjohn
ea4be9afa6 Add more validation to UBO size and alignment in Compatibility renderer 2024-06-14 12:56:29 -07:00
bruvzg
e651421905
[TextServer, GDExtension] Fix building text servers as GDExtension, expose new/changed low-level methods to GDExtension API. 2024-06-12 19:30:19 +03:00
Rémi Verschelde
f3cb890107
Merge pull request #93060 from clayjohn/adjustments-enabled
Ensure post processing happens when adjustments are enabled in the Compatibility renderer
2024-06-12 18:17:06 +02:00
Haoyu Qiu
2ab9344b3b Fix description for Input.vibrate_handheld() 2024-06-12 17:42:25 +08:00
clayjohn
9000a9d36f Ensure post processing happens when adjustments are enabled in the Compatibility renderer 2024-06-11 14:31:06 -07:00
Rémi Verschelde
e4fa8543ea
Revert "Fix FileSystem dock won't show any file folders"
This reverts commit 72856d633a.

Fixes #93022.
2024-06-11 11:46:35 +02:00
Rémi Verschelde
1415684af9
Merge pull request #92701 from bruvzg/button_align
[Button] Adds theme option to align button text and icon to either largest or current stylebox.
2024-06-11 10:48:49 +02:00
Rémi Verschelde
0a9f2d2262
Merge pull request #92650 from Hilderin/fix-fileSystem-dock-wont-show-any-file-folders
Fix FileSystem dock won't show any file folders
2024-06-11 10:48:46 +02:00
Rémi Verschelde
430812980c
Merge pull request #86721 from Naros/gde-debugger-tooling
Improve GDExtension Tools Integration with Editor Debug Tooling
2024-06-11 10:48:34 +02:00
Hilderin
72856d633a Fix FileSystem dock won't show any file folders 2024-06-10 19:54:37 -04:00
Chris Cranford
8577340501 Expose several EngineDebugger methods and signals as plugin callbacks 2024-06-10 19:46:23 -04:00
kobewi
21345defe9 Restore "Confirm Insert Track" editor setting 2024-06-10 17:47:59 +02:00
bruvzg
721a663aa3
[Button] Adds theme option to align button text and icon to either largest or current stylebox. 2024-06-10 18:40:52 +03:00
Rémi Verschelde
821338c0d1
Merge pull request #92925 from TokageItLab/concatenated-bone-names
Add `get_concatenated_bone_names()` to `Skeleton3D` for `SkeletonModifier3D`'s enum hints
2024-06-10 16:12:08 +02:00
Rémi Verschelde
76b1a1f834
Merge pull request #92896 from TokageItLab/skeleton-mod-get-skeleton
Expose `get_skeleton()` from `SkeletonModifier3D`
2024-06-10 16:12:02 +02:00
Rémi Verschelde
3d170c56d6
Merge pull request #92861 from TokageItLab/fix-animation-player-just-after-started
Fix seeking Animation immediate after playback for Discrete track
2024-06-10 16:11:55 +02:00
Rémi Verschelde
95b84f1239
Merge pull request #92787 from groud/tilemap_x_sort
Implement X-draw-order switch in TileMapLayer
2024-06-10 16:11:48 +02:00
Gilles Roudière
c283db2130 Implement X-draw-order switch in TileMapLayer 2024-06-10 15:53:58 +02:00
Mart Jõgi
771f52e477
Fix example for Basis * Vector3 in documentation
Fixes: godotengine/godot-docs#9394
2024-06-10 13:31:29 +02:00
Silc Lizard (Tokage) Renew
a57f9f863d Add get_concatenated_bone_names() to Skeleton3D for Modifier's hint 2024-06-10 10:19:36 +09:00
Silc Lizard (Tokage) Renew
e92a453840 Expose get_skeleton() from SkeletonModifier3D 2024-06-09 23:58:05 +09:00
Silc Lizard (Tokage) Renew
bea47d877b Fix seeking Animation immediate after playback for Discrete track 2024-06-08 22:09:37 +09:00
Rémi Verschelde
ea7d988b72
Merge pull request #92781 from bruvzg/menu_open_close_imp
[macOS] Improve native menu open/close callbacks.
2024-06-07 23:30:15 +02:00
Grahame Watt
f7eb16c4b1 Clarify documentation for Geometry2D.line_intersects_line 2024-06-05 10:26:16 -07:00
bruvzg
1f7bf27780
[macOS] Improve native menu open/close callbacks. 2024-06-05 20:22:41 +03:00
Thomas ten Cate
6e45eb91c3
Remove note about night sky in PhysicalSkyMaterial
A night sky texture has been supported for quite some time now: https://github.com/godotengine/godot/pull/38791 So the instruction to use your own shader for this seems to be outdated.
2024-06-04 15:34:27 +02:00
Rémi Verschelde
2f26842d86
Merge pull request #92707 from GrahameGW/vector_normalized_docs
Clarify the results of `VectorN.normalized()` in the docs
2024-06-04 10:10:13 +02:00
Grahame Watt
0560e890ca Clarify the results of VectorN.normalized() in the docs 2024-06-03 14:17:12 -07:00
Rémi Verschelde
482e45c62b
Merge pull request #92716 from clayjohn/DOC-light-attenuation
Correct documentation for Omni and Spot light distance attenuation
2024-06-03 10:36:18 +02:00
clayjohn
079a75e144 Correct documentation for Omni and Spot light distance attenuation 2024-06-03 09:37:57 +02:00
Rémi Verschelde
7728839247
Rename FBX2glTF binary path setting back to 4.2 name
This preserves compatibility when upgrading Godot 4.2 projects which relied on that
path being configured in the editor settings.

The old name also makes sense for this one, it's fine for fbx2gltf_path to be under
a generic fbx category which could have more settings also impacting ufbx.
2024-05-30 23:42:11 +02:00
Rémi Verschelde
17c98a5b08
Merge pull request #92110 from mihe/physics-server-margin
Bind shape margin methods for `PhysicsServer3D`
2024-05-30 22:38:26 +02:00
kobewi
17d3f26e5d Add event_index to InputEventAction 2024-05-30 12:51:15 +02:00
Rémi Verschelde
60844997bb
Merge pull request #92535 from timothyqiu/parentheses-mismatch
Fix mismatched parentheses in class reference
2024-05-30 11:48:18 +02:00
Rémi Verschelde
c9f249796d
Merge pull request #92317 from bruvzg/emb_decorations
Fix `get_position_with_decorations` and `get_size_with_decorations` for embedded windows.
2024-05-30 11:48:02 +02:00
Rémi Verschelde
53bd0d5acf
Merge pull request #90365 from KoBeWi/export_any%_speedrun
Allow skipping imported resource files from export
2024-05-30 11:47:34 +02:00
Rémi Verschelde
838eb5a0fd
Merge pull request #87099 from bitwise-aiden/ba-add-trim-newlines
Implement `trim_final_newlines` setting and functionality
2024-05-30 11:47:28 +02:00
Haoyu Qiu
9315583af3 Fix mismatched parentheses in class reference 2024-05-30 15:54:53 +08:00
Rémi Verschelde
036737e53f
Merge pull request #92508 from bruvzg/rtl_cell_docs
[RTL] Add references to cell and column configuration methods.
2024-05-29 22:14:06 +02:00
Rémi Verschelde
d1f6d4c8c3
Merge pull request #92339 from devloglogan/comp-layer-reference-frame
Apply reference frame transform to `OpenXRCompositionLayer` nodes
2024-05-29 22:13:56 +02:00
Rémi Verschelde
c42751cae2
Merge pull request #91033 from Hilderin/keep_current_bottom_panel_on_play
Add editor setting to keep bottom panel state on play and stop game
2024-05-29 22:13:45 +02:00
Rémi Verschelde
9b1dbd2556
Merge pull request #87446 from Mickeon/documentation-Joint-tweaks
Tweak Joint2D and Joint3D documentation for consistency
2024-05-29 22:13:18 +02:00
devloglogan
6a8f2f00ac Apply reference frame transform to OpenXRCompositionLayer nodes 2024-05-29 07:52:54 -05:00
Hilderin
76205d4276 Add editor setting to keep bottom panel state on play and stop game 2024-05-29 05:45:17 -04:00
Rémi Verschelde
20ad681da2
Merge pull request #92126 from TokageItLab/reset-dominant
Fix Deterministic blending with Dominant/Recessive doesn't have initial value even if there is no Discrete track
2024-05-29 11:19:45 +02:00
bruvzg
b8bb382115
[RTL] Adds references to cell and column configuration methods. 2024-05-29 12:15:01 +03:00
clayjohn
3b9d074fd7 Ensure MovieWriter output is in gamma space when using HDR 2D 2024-05-28 15:30:13 -07:00
Rémi Verschelde
7ac8717e16
Merge pull request #92456 from ckaiser/fix-light3d-docs
Fix Light3D BakeMode enum documentation
2024-05-28 17:48:50 +02:00
Rémi Verschelde
a8901a22be
Merge pull request #92451 from timothyqiu/not-3d-only
Fix `PhysicsMaterial` description being limited to 3D
2024-05-28 17:48:48 +02:00
Rémi Verschelde
c98fef08bf
Merge pull request #89033 from bruvzg/doc_end_err
[DisplayServer] Add error messages and descriptions to callbacks.
2024-05-28 17:48:42 +02:00
bruvzg
714effdf07
[DisplayServer] Add error messages and descriptions to callbacks. 2024-05-28 17:36:54 +03:00
Rémi Verschelde
4025c8e07b
Merge pull request #92416 from mateuseap/feat/mesh_library
Improve description of `find_item_by_name()` method in `MeshLibrary` class documentation
2024-05-28 15:49:54 +02:00
Rémi Verschelde
3ebc2ed056
Merge pull request #92380 from mateuseap/feat/mesh
Improve `Mesh` class description
2024-05-28 15:49:47 +02:00
Rémi Verschelde
f41966b302
Merge pull request #92363 from Calinou/doc-projectsettings-vsync-compatibility
Fix outdated `vsync_mode` project setting documentation
2024-05-28 15:49:40 +02:00
Rémi Verschelde
f87be863ca
Merge pull request #92322 from groud/implement_custom_data_label
Display custom data name instead of indices in TileData inspector
2024-05-28 15:49:12 +02:00
Rémi Verschelde
4ca4746b51
Merge pull request #92293 from rvenson/fix-navigation-agent-docs
Clarify `velocity_computed` signal description
2024-05-28 15:49:02 +02:00
Christian Kaiser
dcc4bc267c Fix Light3D BakeMode enum documentation 2024-05-28 01:48:43 -03:00
Haoyu Qiu
77ea6db1e2 Fix PhysicsMaterial description being limited to 3D 2024-05-28 08:25:33 +08:00
Mateus Elias
c622f202c0 Improve description of find_item_by_name() method in MeshLibrary class doc
Specify what the method find_item_by_name() returns if no item is found.
2024-05-27 05:51:30 -03:00
Mateus Elias
ce10a660d1 Improve Mesh class description
- Bind MAX_MESH_SURFACES constant in RenderingServer::_bind_methods()
- Add MAX_MESH_SURFACES constant to RenderingServer class documentation
- Reference the constant RenderingServer.MAX_MESH_SURFACES in the description of Mesh class documentation
2024-05-26 21:52:39 -03:00
rvenson
c8cab57079 Update velocity_computed signal description 2024-05-25 15:12:49 -03:00
Hugo Locurcio
0683677563
Fix outdated vsync_mode project setting documentation
Disabling V-Sync when using the Compatibility rendering method works
since Godot 4.2 at least.

This also documents the `--disable-vsync` command line argument.
2024-05-25 20:04:14 +02:00
Gilles Roudière
85eac45513 Display custom data name instead of indices in TileData inspector 2024-05-25 17:21:31 +02:00
bruvzg
64d789aba7
Fix get_position_with_decorations and get_size_with_decorations for embedded windows. 2024-05-24 20:10:36 +03:00
Rémi Verschelde
73fdc30783
Merge pull request #92272 from timothyqiu/add-to-end
Explain `add_to_end` parameter of `add_property_editor()`
2024-05-23 23:25:55 +02:00
bruvzg
628c81d2d9
[DisplayServer] Add method to check if window transparency is supported and enabled. 2024-05-23 15:23:18 +03:00
Rémi Verschelde
01b804f8ac
Merge pull request #92242 from Daylily-Zeleen/daylily-zeleen/fix_ConfirmationDialog_doc
Fix confusing descriptions of ConfirmationDialog.
2024-05-23 08:59:17 +02:00
Haoyu Qiu
4def6b6fef Explain add_to_end parameter of add_property_editor() 2024-05-23 09:08:12 +08:00
Daylily-Zeleen
f523d4f16f Fix confusing descriptions of ConfirmationDialog's description. 2024-05-22 15:05:56 +08:00
Rémi Verschelde
dcc7cb01a7
Merge pull request #92154 from lawnjelly/is_polygon_clockwise_doc
Clarify `is_polygon_clockwise()` coordinate system
2024-05-21 11:22:53 +02:00
Rémi Verschelde
c0eb347946
Merge pull request #91557 from AThousandShips/dotnet_doc_fix
[C#] Unexpose `GodotSharp`
2024-05-21 11:22:40 +02:00
Silc Lizard (Tokage) Renew
3fde32a67e Fix Deterministic blending with Dominant doesn't have init value 2024-05-21 05:23:53 +09:00
lawnjelly
331ecf3ca8 Clarify is_polygon_clockwise() coordinate system
The function assumes a normal Cartesian coordinate system.
2024-05-20 18:34:45 +01:00
Rémi Verschelde
b0822250d6
Merge pull request #92112 from KoBeWi/is_there_something_this_class_can't_do
Improve documentation on TreeItem's cell modes
2024-05-20 17:06:52 +02:00
Rémi Verschelde
fc9a8d1e91
Merge pull request #92108 from KoBeWi/stash_focus_for_later
Disable follow focus while updating inspector
2024-05-20 17:06:48 +02:00
Riley Willows
ea7860c614
Fix CheckBox and CheckButton not using max_icon_width 2024-05-20 10:40:21 +02:00
kobewi
a541d4508f Improve documentation on TreeItem's cell modes 2024-05-19 14:15:38 +02:00
kobewi
ba96affd6c Disable follow focus while updating inspector 2024-05-19 12:44:30 +02:00
Mikael Hermansson
a23717c8c6 Bind physics server methods related to shape margin 2024-05-19 12:28:26 +02:00
Rémi Verschelde
b569ae3ddc
Merge pull request #92027 from dalexeev/gds-fix-standalone-expression-for-preload
GDScript: Fix `STANDALONE_EXPRESSION` warning for `preload()`
2024-05-17 13:00:33 +02:00
Rémi Verschelde
62353747e5
Merge pull request #91720 from kitbdev/fix-textedit-minimap
Fix TextEdit minimap tab drawing and click check
2024-05-17 11:13:52 +02:00
Danil Alexeev
7dd801c580
GDScript: Fix STANDALONE_EXPRESSION warning for preload() 2024-05-17 10:33:01 +03:00
Rémi Verschelde
ce00392fc3
Merge pull request #91974 from bruvzg/ts_notes
[TextServer] Add notes about high level text/font classes and getting active server instance.
2024-05-15 13:51:38 +02:00
Rémi Verschelde
693a13a849
Merge pull request #91601 from lander-vr/lightmap_seams_fix
LightmapGI: Fix lightleaks caused by insufficient padding and add denoiser range property for LightmapGI
2024-05-15 13:51:35 +02:00
Rémi Verschelde
e63b5ba9e4
Merge pull request #91416 from Calinou/d3d12-sdk-update-install-script
Update dependencies in D3D12 SDK installer script
2024-05-15 13:51:31 +02:00
bruvzg
cfb9639fc3
[TextServer] Add notes about high level text/font classes and getting active server instance. 2024-05-15 13:58:42 +03:00
landervr
e7bd1b0673 Add denoiser range property for LightmapGI 2024-05-15 08:26:04 +02:00
David Peck
d6715b4cde Fix hashing context example
Example now works for any file size instead of just multiples of CHUNK_SIZE
Example also uses correct method for looping over file data
2024-05-14 19:22:50 +12:00
bruvzg
151788f7e8
[Editor] Add editor setting to control "disable_embedded_bitmaps" property of the editor fonts. 2024-05-14 09:26:22 +03:00
Yaohua Xiong
ed3d311687 Add antialias support for CanvasItem draw primitives
including
- rect, circle; both filled and unfilled.
- polyline, multiline
2024-05-13 19:03:31 +08:00
Hendrik Brucker
62776842df [VisualShader] Add reroute node and improve port drawing 2024-05-13 03:26:01 +02:00
Rémi Verschelde
3a5593a721
Merge pull request #91761 from DarkiStar/crypto
[Doc] Update Crypto example
2024-05-10 09:56:09 +02:00
Rémi Verschelde
c469ab0104
Merge pull request #91507 from lyuma/expose_process_modification
Allow users to override `SkeletonModifier3D._process_modification`
2024-05-10 09:55:44 +02:00
Rémi Verschelde
19219f7716
Merge pull request #91348 from basicer/patch-1
Update CryptoKey documentation to mention ECC.
2024-05-10 09:55:40 +02:00
Lyuma
1ccf0c2947 Allow users to override SkeletonModifier3D._process_modification 2024-05-09 19:48:56 -07:00
Carsten
e119e48d4d
[Doc] Update Crypto example
- Removed redundant new() initializations
- removed _ready and node
- improved readability
2024-05-09 14:36:28 +02:00
Rob Blanckaert
ba07ae83b5 Update CryptoKey documentation to mention ECC.
The documentation makes it seem like CryptoKey can only hold an RSA key.  This is compounded by the fact that Cypto only has a function generate an RSA based key.  Godot however is perfectly happy loading and using ECC based keys.
2024-05-08 20:14:04 -07:00
kit
a53c8e8d70 Fix TextEdit minimap tab drawing and click check 2024-05-08 11:43:44 -04:00
Rémi Verschelde
1d101329c9
Merge pull request #91611 from AThousandShips/string_containsn
[Core] Add case-insensitive `String::containsn`
2024-05-08 14:35:41 +02:00
Rémi Verschelde
2c8a1f0c77
Merge pull request #91544 from MewPurPur/add-translation-server-note
Add notes in Object documentation about TranslationServer methods
2024-05-08 14:35:33 +02:00
Rémi Verschelde
0fcd30180f
Merge pull request #91039 from timothyqiu/dock-icons
Allow setting editor dock tabs to icon only
2024-05-08 14:35:29 +02:00
A Thousand Ships
b4c6cc7d82
[Core] Add case-insensitive String::containsn 2024-05-08 12:48:01 +02:00
Rémi Verschelde
7d03b1de0b
Style: Trim trailing whitespace and ensure newline at EOF
Found by apply the file_format checks again via #91597.
2024-05-08 10:12:46 +02:00
Rémi Verschelde
4c30718102
Merge pull request #91615 from Frozenfire92/remap-doc-nan-note
Add docs note about remap returning undefined when istart == istop
2024-05-08 09:54:20 +02:00
Blue Willow
b6c0d07dc8 Document AudioEffectSpectrumAnalyzerInstance, clarify relationship with AudioEffectSpectrumAnalyzer
Fully document AudioEffectSpectrumAnalyzerInstance, including the weird
return value of its sole method, and add a link to it in
AudioEffectSpectrumAnalyzer to make it easier to figure out how to use.
2024-05-08 00:17:59 -07:00
Joel Kuntz
26feefa91c Add notes for remap's return when istart and istop are the same
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
Co-Authored-By: kleonc <9283098+kleonc@users.noreply.github.com>
2024-05-07 19:37:29 -03:00
Rémi Verschelde
039aa28a60
Merge pull request #89574 from Riteo/scale-your-expectations-with-this-one
Wayland: Workaround API limitation in screen/UI scale logic
2024-05-07 21:52:44 +02:00
Riteo
1bb8199342 Wayland: Workaround API limitation in screen/UI scale logic
Mainly, this fixes auto UI scaling with _single-monitor_ fractional
setups (see the comment in `display_server_wayland.cpp` for more info).

This is the result of a bunch of current limitations, mainly the fact
that the UI scale is static (it's probed at startup) and the fact that
Wayland exposes fractional scales only at the window-level, by design.

The `screen_get_scale` special case should help in 99% of cases, while
the auto UI scale part will unfortunately only help with single-screen
situations, as multi-screen fractional scaling requires dynamic UI
scale changing.
2024-05-07 19:50:48 +02:00
Hugo Locurcio
47ac22486d
Update dependencies in D3D12 SDK installer script
- Add colored console output.
2024-05-07 19:10:58 +02:00
Rémi Verschelde
594498e718
Merge pull request #90966 from Calinou/debug-draw-use-runtime-colors
Use same colors for editor and running project for collision/path debug
2024-05-07 16:49:31 +02:00
Rémi Verschelde
37464c7d6e
Merge pull request #91658 from Flynsarmy/skele3d-returns
Add missing bone name return information
2024-05-07 13:49:06 +02:00
Flyn San
75dd33f834 Add missing bone name return information 2024-05-07 21:25:57 +10:00
Rémi Verschelde
4b070e8031
Fix various typos with codespell
Using 2.2.7.dev217+g10c2abcf.

Had to add `colour` to the ignore list as we used it as an alias/keyword for the
documentation of color-related APIs.
Also ignore recommendations to change `thirdparty` to either `third-party` or
`third party`, which are correct but we use the former fairly consistently.
2024-05-07 10:08:42 +02:00
Rémi Verschelde
965bae735e
Merge pull request #72323 from Koyper/flow_container_center_wrap_options
Add FlowContainer wrap options for center alignment.
2024-05-07 09:04:34 +02:00
Rémi Verschelde
e9c980d857
Merge pull request #91596 from TheKiromen/improve-body-create-documentation
Update `body_create` description in PhysicsServer2D/3D
2024-05-06 22:33:38 +02:00
Dominik Kruczek
343c2fc6b9 Update body_create description in PhysicsServer2D/3D 2024-05-06 18:30:20 +02:00
Rémi Verschelde
608096e55e
Merge pull request #91581 from TheKiromen/improve-physics-server-documentation
Update `area_create` description in `PhysicsServer2D/3D` to clear up possible confusions
2024-05-06 15:15:32 +02:00
Rémi Verschelde
ca64891acb
Merge pull request #91571 from pgh1686/master
Update ResourceLoader docs to clarify behavior when no file is found during load call
2024-05-06 15:15:23 +02:00
Rémi Verschelde
a7c59fe192
Merge pull request #91331 from dsnopek/expose-editor-file-dialog-popup-function
Expose `EditorFileDialog::popup_file_dialog()` to GDScript and GDExtension
2024-05-06 15:15:01 +02:00
pgh1686
62526ed1a5 Update ResourceLoader.xml to clarify behaviour when no file is found 2024-05-05 21:39:01 -04:00
Dominik Kruczek
2b5e0d98d2 Update area_create description in PhysicsServer2D/3D to clear up possible confusions 2024-05-05 19:38:21 +02:00
Marcel Offermans
2bb34a4489 Added a project setting to configure the maximum amount of timestamps, with a description and a reference to the setting when the limit is hit and an ERR_FAIL_COND is hit. 2024-05-05 09:09:04 +02:00
A Thousand Ships
aff2e47bff
[C#] Unexpose GodotSharp
This class seems to have been exposed accidentally, and breaks
documentation on non-mono builds, requiring hacks
2024-05-04 14:09:42 +02:00
Rémi Verschelde
a2fc5e2d78
Merge pull request #89894 from BastiaanOlij/improve_foveated_rendering
Improvements to VRS/Foveated rendering
2024-05-04 11:52:15 +02:00
Rémi Verschelde
471ddf4327
Merge pull request #87231 from Calinou/geometryinstance3d-transparency-warn-mobile-compatibility
Show warning for GeometryInstance3D transparency in Mobile/Compatibility
2024-05-04 11:52:06 +02:00
MewPurPur
409202d574 Add notes in Object about TranslationServer methods 2024-05-04 02:58:12 +03:00
Rémi Verschelde
03e6fbb010
Merge pull request #85474 from fire/packedvector4array
Add `PackedVector4Array` Variant type
2024-05-03 12:25:26 +02:00
ajreckof
cba9606611 Add colored margin in Inspector for arrays and dictionaries.
Apply suggestions from code review

Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Tomek <kobewi4e@gmail.com>
2024-05-03 10:56:23 +02:00
Rémi Verschelde
c968374caa
Merge pull request #91012 from TheSofox/editor-log-line-limit
Add line limit to Output Log in Editor
2024-05-03 10:31:42 +02:00
Bastiaan Olij
9042ddf19f Improvements to VRS/Foveated rendering 2024-05-03 17:20:30 +10:00
Aiden Storey
b4c1634b52 Implement trim_final_newlines functionality 2024-05-02 22:57:34 -04:00
Rémi Verschelde
34b5e8f55c
Merge pull request #91481 from TokageItLab/auto-capture-option
Add argument options to AnimationPlayer for auto capture
2024-05-03 01:21:43 +02:00
Rémi Verschelde
25fe3d4b46
Merge pull request #81639 from MJacred/is_letter
Add `is_valid_letter()` to `TextServer`
2024-05-03 01:21:34 +02:00
K. S. Ernest (iFire) Lee
f9b488508c
Add PackedVector4Array Variant type
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-03 00:58:27 +02:00
Silc Lizard (Tokage) Renew
6fd8b25d38 Add argument options to AnimationPlayer for auto capture 2024-05-03 07:06:37 +09:00
MJacred
717513a62d Add is_valid_letter() to TextServer 2024-05-02 21:32:20 +02:00
Radiant
789c6ebdfd Implement amplitude to Input.vibrate_handheld
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: m4gr3d <m4gr3d@users.noreply.github.com>
2024-05-02 19:09:42 +03:00
Rémi Verschelde
1bee81242e
Merge pull request #91423 from RadiantUwU/wutdahailboi
Fix outdated `AudioEffectSpectrumAnalyzer` documentation
2024-05-02 17:31:43 +02:00
Rémi Verschelde
8f2ff22bf5
Merge pull request #90742 from KoBeWi/PR_from_the_future
Change update checker version source
2024-05-02 17:31:25 +02:00
Rémi Verschelde
e249df4f5e
Merge pull request #89275 from bruvzg/status_rect
[StatusIndicator] Add method to get indicator icon screen rect.
2024-05-02 17:31:18 +02:00
kobewi
6e9dc0ee27 Change update checker version source 2024-05-02 15:32:24 +02:00
Radiant
3a85285048 Fix outdated documentation on AudioEffectSpectrumAnalyzer 2024-05-02 16:22:35 +03:00
Sofox
b823724e00 Add line limit to Editor Output Log 2024-05-02 13:28:59 +01:00
Rémi Verschelde
06d105e268
Merge pull request #91437 from TokageItLab/auto-capture
Add `auto_capture` option to AnimationPlayer
2024-05-02 14:01:25 +02:00
Rémi Verschelde
6ad0a1ffef
Merge pull request #91098 from bruvzg/rtl_fast_delete
[RTL] Add extra argument to `remove_paragraph` to skip cache invalidation and a method for manual cache invalidation.
2024-05-02 14:01:21 +02:00
bruvzg
e5205e589f
[StatusIndicator] Add method to get indicator icon screen rect. 2024-05-02 14:39:33 +03:00
bruvzg
360d365b33
[RTL] Adds extra argument to remove_paragraph to skip cache invalidation and a method for manual cache invalidation. 2024-05-02 14:03:21 +03:00
A Thousand Ships
0f5e0d1637
Expose Vector* component-wise and scalar min/max to scripting 2024-05-02 13:02:40 +02:00
Silc Lizard (Tokage) Renew
36abb55dd2 Add auto_capture option to AnimationPlayer 2024-05-02 19:57:36 +09:00
Rémi Verschelde
a0b0b19043
Merge pull request #91446 from HexagonNico/rect-doc-fix
Fix incorrect example in the documentation for the `expand` method in `Rect2`
2024-05-02 12:46:49 +02:00
Rémi Verschelde
a6a7325e3a
Merge pull request #91127 from CrayolaEater/hinge-joint-cleanup
Deprecate unused parameter `angular_limit/softness` in `HingeJoint3D`
2024-05-02 12:46:36 +02:00
Rémi Verschelde
9cb3a16a8e
Merge pull request #91014 from DeeJayLSP/qoa-wav-playback
Add QOA (Quite OK Audio) as a WAV compression mode
2024-05-02 12:46:32 +02:00
Rémi Verschelde
0b6c29f2d2
Merge pull request #89114 from AThousandShips/vec_elem_scalar
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
2024-05-02 12:46:22 +02:00
Rémi Verschelde
bbb86672fe
Merge pull request #84472 from xiongyaohua/canvas_item_draw_circle_non_filled
Extend `CanvasItem::draw_circle()`, making it also draw unfilled circle.
2024-05-02 12:46:14 +02:00
Nico
0854476ef1 Fix incorrect example in the documentation for the expand method in Rect2 2024-05-02 12:06:22 +02:00
Bastiaan Olij
527c30c594 Add support for OpenXR hand interaction extension 2024-05-02 19:15:02 +10:00
Bogdan Inculet
24bdd0b9c1
Deprecate unused paramater angular_limit/softness in HingeJoint3D 2024-05-02 10:50:58 +02:00
Yaohua Xiong
1f2aa17d14
Extend CanvasItem::draw_circle() with filled, width, and antialiased options
Make it possible to draw unfilled circle, like draw_rect(). Antialising is only implemented for unfilled version.
2024-05-02 10:42:24 +02:00
A Thousand Ships
308dbb8c63
[Core] Add scalar versions of Vector* min/max/clamp/snap(ped)
Convenience for a number of cases operating on single values
2024-05-02 10:31:13 +02:00
DeeJayLSP
b9cbf2c96f Add QOA (Quite OK Audio) as a WAV compression mode 2024-05-01 19:05:14 -03:00
Rémi Verschelde
f91db3dc58
Merge pull request #91399 from QbieShay/qbe/fix-pmul-name
Revert premul alpha to spell without the T
2024-05-01 23:47:46 +02:00
QbieShay
e41064388e reverted naming to premul alpha (no T)
Initially 3d had premulT alpha as a keyword.
Since Canvas item uses mixed premul and premult as keywords,
3D is changed as well to keep consistency with 2D.
Unfortunately this keeps inconsistency with the internal ENUM.
2024-05-01 22:24:49 +02:00
Rémi Verschelde
aa79d17305
Merge pull request #91415 from aaronp64/packedscene_docs
Minor `PackedScene` documentation improvements
2024-05-01 20:32:37 +02:00
Rémi Verschelde
7401ea3c55
Merge pull request #91393 from skyace65/LowProc
Remove text saying low processor mode only works on desktop
2024-05-01 20:32:22 +02:00
aaronp64
1fc9f10b2d Minor PackedScene documentation improvements
- Updated _bundled description to refer to "names" key instead of "rnames"

- Added description for pack method
2024-05-01 11:13:01 -04:00
Rémi Verschelde
4e30bc71f5
Merge pull request #91376 from clayjohn/DOCS-reflect-vec3
Update the description and parameter name for Vector3 reflect to correct how the plane is constructed
2024-05-01 09:55:27 +02:00
Rémi Verschelde
9ff72fa137
Merge pull request #91330 from Goldenlion5648/cell-rotation-docs
Document 0, 90, 180, and 270 degree TileMap cell rotations
2024-05-01 09:55:12 +02:00
Rémi Verschelde
a30fbc55c7
Merge pull request #91313 from fkeyzuwu/patch-1
Update Variant documentation comment about `class_name`
2024-05-01 09:55:09 +02:00
Rémi Verschelde
70247adf25
Merge pull request #89734 from BastiaanOlij/openxr_reorder_wait_frame
OpenXR: Change timing of xrWaitFrame and fix XR multithreading issues
2024-05-01 09:54:51 +02:00
Rémi Verschelde
85062e37ef
Merge pull request #89588 from bruvzg/status_ind_menu_direct
[StatusIndicator] Switch API to use Texture2D instead of Image, improve handling on macOS, add method to set native popup menu directly.
2024-05-01 09:54:44 +02:00
Bastiaan Olij
cbab7dc049 OpenXR: Change timing of xrWaitFrame and add thread safety features to OpenXR 2024-05-01 14:24:41 +10:00
skyace65
a47bf2a3c8 Remove text saying low processor mode only works on desktop 2024-04-30 22:46:05 -04:00
QbieShay
41a2b0e83e Added premult alpha blending to 3D (spatial) shaders.
Co-authored-by: jitspoe <jitspoe@yahoo.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2024-05-01 00:53:29 +02:00
clayjohn
4d580b15be Update the description and parameter name for Vector3 reflect to correct how the plane is constructed 2024-04-30 13:50:39 -07:00
fkeyz
62829b543e Update Variant documentation comment about class_name 2024-04-30 21:21:22 +03:00
Rémi Verschelde
4455747356
Merge pull request #91321 from Chaosus/doc_string_reverse
Add a note for `String::reverse` to warn about its implementation
2024-04-30 17:03:48 +02:00
Rémi Verschelde
3d03d73135
Merge pull request #91293 from timothyqiu/look-at-2d
Make it clear `Node2D.look_at()` aligns the +X axis
2024-04-30 17:03:34 +02:00
Rémi Verschelde
e19b808a7a
Merge pull request #86978 from kitbdev/multicaret-overhaul
Overhaul multicaret editing and selection in TextEdit
2024-04-30 17:03:04 +02:00
Goldenlion5648
d2ea303560 document 0, 90, 180, and 270 degree TileMap cell rotations 2024-04-30 09:16:54 -04:00
Yuri Rubinsky
d0af8901aa Add a note for String::reverse to warn about its implementation 2024-04-30 12:33:28 +03:00
Haoyu Qiu
1e20612940 Allow setting editor dock tabs to icon only 2024-04-30 09:34:14 +08:00
David Snopek
8ce54d4632 Expose EditorFileDialog::popup_file_dialog() to GDScript and GDExtension 2024-04-29 14:49:32 -05:00
Koyper
e3efd51592 Add FlowContainer wrap options for center alignment. 2024-04-29 08:26:45 -05:00
Rémi Verschelde
32070144af
Merge pull request #91100 from bruvzg/x_finks
Add symlink API support for Windows, expose symlink methods.
2024-04-29 13:00:37 +02:00
Haoyu Qiu
bd519bfbce Make it clear Node2D.look_at() aligns the +X axis 2024-04-29 08:12:26 +08:00
bruvzg
fc948e87f6 Add symlink API support for Windows, expose symlink methods. 2024-04-28 19:59:34 +03:00
brennen
9a28cfe717 doc fix typo that flipped the description of
window_set_max_size and window_set_min_size
2024-04-27 16:39:25 -05:00
kit
773a473807 Overhaul multiple caret editing in TextEdit.
Use a multicaret edit to delay merging overlapping carets until the end.
2024-04-26 14:26:10 -04:00
kit
154f727c7a Overhaul TextEdit selection.
The caret is now a part of the selection.
2024-04-26 14:24:10 -04:00
Rémi Verschelde
bd598d5657
Merge pull request #85678 from KoBeWi/editor_walktime
Add separate feature tags for editor runtime
2024-04-26 15:13:16 +02:00
Rémi Verschelde
34a12871d0
Merge pull request #85515 from KoBeWi/is_node_part_of_edited_scene_and_being_edited()
Expose `Node.is_part_of_edited_scene()`
2024-04-26 15:13:13 +02:00
Rémi Verschelde
7cb52a676f
Merge pull request #63515 from KoBeWi/script_jumper
Store line change in script navigation history
2024-04-26 15:12:47 +02:00
kobewi
3ebb5b84a0 Add separate feature tags for editor runtime 2024-04-26 14:44:38 +02:00
kobewi
0b877a9962 Expose is_part_of_edited_scene() 2024-04-26 11:49:38 +02:00
Rémi Verschelde
f55b81be1e
Merge pull request #91193 from timothyqiu/tab-icon-size
Allow setting max icon width per tab for TabContainer
2024-04-26 11:09:05 +02:00
Rémi Verschelde
9bb448fd9b
Merge pull request #91189 from emanvidmaker/patch-1
Docs: Fix FileAccess example conflicting with global scope `load`
2024-04-26 11:08:59 +02:00
Rémi Verschelde
0d589abcbd
Merge pull request #91130 from Malcolmnixon/xrhandtracker-dotnet-name-collision
Remove the Hand enum from XRHandTracker
2024-04-26 11:08:44 +02:00
Alex-Mayo
91c10a238b
Clarify docs for ParticleProcessMaterial emission_box_extents 2024-04-26 10:50:41 +02:00
Haoyu Qiu
779426b2fa Allow setting icon max width for TabContainer 2024-04-26 08:27:27 +08:00
Malcolm Nixon
e00e5c0386 Remove the Hand enum from XRHandTracker to fix name-collision with the hand property of the base class.
Co-Authored-By: David Snopek <191561+dsnopek@users.noreply.github.com>
2024-04-25 19:38:57 -04:00
Emanuel Acosta Gonzalez (emanvidmaker)
40651eb642
FileAccess.xml had conflicting function names in its example code
In the example code the declared load() function conflicts with global scope load(). so if you copy pasted it in godot 4.2.2 you would get a "Too few arguments for "load()" call. Expected at least 1 but received 0." error since it doesn't override global scope load().
2024-04-25 18:51:37 -04:00
kobewi
3a1246c198 Store line change in script navigation history 2024-04-25 23:22:47 +02:00
Rémi Verschelde
04d708d675
Merge pull request #91129 from timothyqiu/gdscripty
Fix syntax error in `camera_attributes_set_exposure` documentation
2024-04-25 12:11:25 +02:00
Haoyu Qiu
84d01347df Fix syntax error in camera_attributes_set_exposure documentation 2024-04-25 16:01:13 +08:00
Haoyu Qiu
4f4e8589df Fix Tree minimum size calculation
- Take scroll bar space and column title buttons into account
- Fix first column min size sometimes missing one level of indent
- Fix cell min size ignoring text overrun behavior and item inner margin
- Update min size when `hide_root` or `column_title_visible` changes

Wrong description of `item_inner_margin_*` constants is also fixed
2024-04-25 16:00:45 +08:00
kobewi
d04d58d387 Clarify transform inheritance of CanvasItem nodes 2024-04-24 16:31:07 +02:00
Rémi Verschelde
17d9c52ad9
Merge pull request #90894 from lyuma/animation_step_30
Set animation step from importers. Increase default step from 10 to 30FPS
2024-04-24 09:59:21 +02:00
Rémi Verschelde
bb9457d725
Merge pull request #89247 from 4d49/tab-tooltip
Add text tooltip for TabBar & TabContainer
2024-04-23 19:10:44 +02:00
Rémi Verschelde
b39afcda38
Merge pull request #84926 from jsjtxietian/update-worker-thread-doc
Update WorkerThreadPool doc to mention every task should be waited so that any allocated resources can be cleaned up.
2024-04-23 19:10:39 +02:00
Mansur Isaev
b37ddfc606 Add tab tooltip text 2024-04-23 08:28:48 +04:00
Rémi Verschelde
b7bc667fe1
Merge pull request #90985 from Fulanko/fix-class-docs-os_get_cmdline_args
Fix incorrect C# in `OS.get_cmdline_args` docs
2024-04-22 22:18:37 +02:00
Rémi Verschelde
2980a6b295
Merge pull request #90916 from Naros/expose-classdb-class-get-property-default-value
Expose `ClassDB::class_get_property_default_value` method
2024-04-22 22:18:26 +02:00
fulanko
1f32b22937 Fix incorrect c# in OS.get_cmdline_args 2024-04-22 19:16:31 +02:00
bruvzg
a116801ec7
Improve TextEdit/LineEdit word selection. 2024-04-22 14:02:07 +03:00