Commit graph

7203 commits

Author SHA1 Message Date
Rémi Verschelde
72a6fee3f7
Merge pull request #75464 from KoBeWi/undoreditor
Update UndoRedo description
2023-04-03 17:09:33 +02:00
Rémi Verschelde
d3c93a63c4
Merge pull request #74119 from KoBeWi/more_documentation_rng
Fill random docs
2023-04-03 17:08:19 +02:00
Rémi Verschelde
57e3651763
Merge pull request #72028 from kilojool/option_button_reselection
OptionButton: allow reselection of selected item
2023-04-03 17:06:36 +02:00
Rémi Verschelde
a9855a3a4c
Merge pull request #75494 from MewPurPur/line-edit-get-selected-text
Implement LineEdit.get_selected_text()
2023-04-03 16:03:58 +02:00
Rémi Verschelde
9c492204ca
Merge pull request #75340 from Barugon/tree_colunm_title_alignment
Implement column title alignment for `Tree`
2023-04-03 16:03:10 +02:00
kobewi
eac65fd0a8 Fill random docs 2023-04-03 16:02:29 +02:00
Rémi Verschelde
b237df8cea
Merge pull request #75326 from smix8/navigationagent_expose_parameters_4.x
Expose NavigationAgent path postprocessing and pathfinding algorithm options
2023-04-03 16:02:21 +02:00
kobewi
3a06e6af76 Update UndoRedo description 2023-04-03 15:54:43 +02:00
Yuri Sizov
49c17bb262
Merge pull request #75606 from skyace65/OSClipboard
Remove reference to clipboard in OS class doc
2023-04-03 15:08:30 +02:00
Yuri Sizov
76444699cb
Merge pull request #75565 from kleonc/canvasitem-improve-self-modulate-docs
Improve `CanvasItem.self_modulate` docs
2023-04-03 15:03:39 +02:00
kleonc
4fb9aa2294 Improve CanvasItem.self_modulate docs 2023-04-03 12:56:06 +02:00
skyace65
a65d99b541 Remove reference to clipboard in OS class doc 2023-04-02 19:45:55 -04:00
kobewi
c4e08a4e1a Add _get_configuration_warnings() example 2023-04-02 13:42:29 +02:00
Yuri Sizov
1522762dc9 Make icons of scripted and custom classes fit the editor UI
Also:
- Add an option to limit the icon size in PopupMenu.
This is similar to how this works in Tree and TreeItem.
- Add the same option to TabBar.
- Add a theme constant for Tree, PopupMenu, Button, and
TabBar to apply this limit on the control level.

Co-authored-by: Daylily-Zeleen <daylily-zeleen@foxmail.com>
2023-03-31 21:39:02 +02:00
kleonc
f53d3382af C# Truncate instead of round in Vector2/3/4 to Vector2I/3I/4I conversion 2023-03-31 10:59:11 +02:00
VolTer
1856ceeb76 Implement LineEdit.get_selected_text() 2023-03-30 22:58:12 +02:00
Barugon
c56ff437ae Implement column title alignment for Tree 2023-03-27 09:23:46 -07:00
Yuri Sizov
2a275b985e
Merge pull request #75389 from timothyqiu/typo-fixes
Fix typos and inconsistencies in classref
2023-03-27 16:53:31 +02:00
Yuri Sizov
868fcfd3eb
Merge pull request #70046 from MewPurPur/improve-number-docs
Improve documentation of int
2023-03-27 16:39:09 +02:00
Haoyu Qiu
ff97c481d3 Fix typos and inconsistencies in classref
* Typo fixes.
* Navigation agent's `velocity_computed` signal is not emitted by
  `set_velocity`, but at the end of that frame if `set_velocity` is
  called.
* Simplify link in navigation agent's `avoidance_enabled` description.
* Unify `navigation_layers` description across `NavigationAgent{2,3}D`.
* Unify `is_normalized()` description across `Vector2`, `Vector3`, and
  `Vector4`
2023-03-27 22:26:56 +08:00
VolTer
0f3197501e Improve documentation of int 2023-03-27 16:09:30 +02:00
Yuri Sizov
61e4f91ea1
Merge pull request #75384 from timothyqiu/cultural-heritage
Auto translate popup menus of MenuButton and OptionButton
2023-03-27 15:54:21 +02:00
Yuri Sizov
1589f0b161
Merge pull request #75350 from AThousandShips/nodepath_doc_fix
Fix `NodePath` subname index range documentation
2023-03-27 12:29:38 +02:00
Haoyu Qiu
150f89352b Auto translate popup menus of MenuButton and OptionButton
Currently, `auto_translate` property of a `MenuButton` or `OptionButton`
won't affect its popup menu. It's okay if you want to auto translate,
but requires extra setup if you don't.
2023-03-27 18:09:24 +08:00
Yuri Sizov
9b0bee860f
Merge pull request #75300 from Calinou/doc-log-log10
Document how to use logarithm of base 10 with `log()`
2023-03-26 23:58:59 +02:00
Hugo Locurcio
3c4f0ca9c6
Document how to use logarithm of base 10 with log() 2023-03-26 22:23:13 +02:00
Ninni Pipping
c75870f798 Fix NodePath subname index range documentation 2023-03-26 09:54:37 +02:00
smix8
6e324bb341 Expose NavigationAgent path postprocessing and pathfinding algorithm options
Exposes the path postprocessing and pathfinding algorithm options of the NavigationAgent internal NavigationPathQueryParameters object.
2023-03-25 21:37:18 +01:00
Yuri Sizov
18f70195e6
Merge pull request #75251 from AThousandShips/area_doc
Improve documentation for Area monitor callbacks in `PhysicsServer3D`
2023-03-25 15:43:51 +01:00
Yuri Sizov
d20c520d96
Merge pull request #74848 from BastiaanOlij/add_xr_system_info
Add a get_system_info method to XRInterface
2023-03-25 15:07:51 +01:00
Yuri Sizov
e4e63f976a
Merge pull request #73225 from bruvzg/wchar_to_from
Add GDScript `to_wchar_buffer` and `get_string_from_wchar` functions.
2023-03-25 15:05:59 +01:00
Yuri Sizov
82814f42b9
Merge pull request #74454 from Pennycook/get_loops_left
Add get_loops_left() function to Tween
2023-03-25 15:04:26 +01:00
Ninni Pipping
4124271241 Improve documentation for Area monitor callbacks in PhysicsServer3D 2023-03-25 14:27:47 +01:00
Yuri Sizov
8f2c41b4dd
Merge pull request #73818 from kilojool/virtual_get_tooltip
Add missing virtual bind for control::get_tooltip
2023-03-25 14:14:10 +01:00
Yuri Sizov
4640b553a2
Merge pull request #75260 from rburing/fix_collide_shape_return
Fix `collide_shape` return type
2023-03-25 13:54:05 +01:00
Ricardo Buring
61429a5f49 Fix collide_shape return type
Fix PhysicsDirectSpaceState3D::_collide_shape return type.
Also PhysicsDirectSpaceState2D::_collide_shape.
2023-03-23 16:16:23 +01:00
kilojool
a95cd3872a Add missing virtual bind for control::get_tooltip 2023-03-21 17:39:51 +01:00
bruvzg
d72b563250
Add GDScript to_wchar_buffer and get_string_from_wchar functions. 2023-03-21 15:39:54 +02:00
Yuri Sizov
2a05522283
Merge pull request #75174 from Rindbee/fix-wrong-descriptions
Fix some wrong descriptions in the docs
2023-03-21 14:36:27 +01:00
Yuri Sizov
ed13a52f94
Merge pull request #75134 from Rindbee/configured-as-a-radio-button
Add instructions for configuring CheckBox as a radio button
2023-03-21 12:15:54 +01:00
Rindbee
f29a7c0404 Fix some wrong descriptions in the docs 2023-03-21 19:10:48 +08:00
John Pennycook
4cb2085543 Add get_loops_left() function to Tween
Implements godotengine/godot-proposals#5141.

Adds a new get_loops_left() function to Tween, allowing developers to
reason about how many times a tweening sequence will repeat and whether
to expect finished or loop_finished as the next signal.

Co-authored-by: Tomek <kobewi4e@gmail.com>
2023-03-20 20:49:31 -07:00
Rindbee
3dc487b450 Add instructions for configuring CheckBox as a radio button 2023-03-21 06:55:51 +08:00
Yuri Sizov
05d373c64b
Merge pull request #75017 from bruvzg/rlt_list_bullet
[RTL] Add option to customize list bullet, use U+2022 by default.
2023-03-20 19:08:31 +01:00
Yuri Sizov
b6d033b0e6
Merge pull request #75080 from adamscott/set-vehiculewheel3d-reasonable-value
Set `VehiculeWheel3D` `suspension_travel` default value to a reasonable one
2023-03-20 19:04:44 +01:00
Yuri Sizov
b1c18f807b
Merge pull request #75116 from dsnopek/multiplayer-peer-extension-missing-docs
Add missing documentation for MultiplayerPeerExtension
2023-03-20 16:39:40 +01:00
Yuri Sizov
7ca4ad8647
Merge pull request #75079 from mihe/shape-margin
Update property/documentation of shape margins
2023-03-20 16:30:10 +01:00
Yuri Sizov
27038ca74f
Merge pull request #74442 from rburing/thicc_polygons
Fix concave/convex polygon shape documentation
2023-03-20 16:13:59 +01:00
David Snopek
4d13be3c5e Add missing documentation for MultiplayerPeerExtension 2023-03-20 08:08:59 -07:00
Dipal Zambare
8901986d56 Fix typo in the type-safe examples
Fix type in the type-safe examples of snapped, lerp and sign function.
2023-03-19 18:23:13 +01:00