Commit graph

7985 commits

Author SHA1 Message Date
Yuri Sizov a13635cdf8
Merge pull request #70901 from timothyqiu/tree-scroll-offset
Add scrollbar offset theme constants to Tree
2023-04-07 13:24:01 +02:00
Yuri Sizov 3abe4781b6
Merge pull request #75241 from Calinou/doc-compressedtexturelayered
Fix CompressedTextureLayered description in the class reference
2023-04-07 13:08:48 +02:00
Rémi Verschelde 92b7a9603a
Merge pull request #75701 from reduz/notification-moved-in-parent
Remove NOTIFICATION_MOVED_IN_PARENT
2023-04-06 14:35:04 +02:00
Juan Linietsky 104392ef4e Remove NOTIFICATION_MOVED_IN_PARENT
* This notification makes node children management very inefficient.
* Replaced by a NOTIFICATION_CHILDREN_CHANGED (and children_changed signal).
* Changed Canvas code (and similar) to use the above signal, to perform more efficiently.

This PR breaks compatibility (although this notification was very rarely used, even within the engine), but provides an alternate way to do the same.
It is required for the changes in #75627 to be entirely effective.
2023-04-06 13:57:13 +02:00
Haoyu Qiu 498d538578 Add scrollbar offset theme constants to Tree 2023-04-06 15:04:28 +08:00
bendn ca0feabbb0
add hex_decode() to String 2023-04-05 19:44:00 +07:00
Rémi Verschelde c3184c614b
Merge pull request #67466 from KoBeWi/proceed
Scene tab closing refactor
2023-04-05 12:03:00 +02:00
Rémi Verschelde ef025711a6
i18n: Sync translations with Weblate
(cherry picked from commit 9099ac39cf)
2023-04-04 00:34:07 +02:00
kobewi ddc8567022 Scene tab closing refactor 2023-04-03 22:19:07 +02:00
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
Hugo Locurcio 0d24016db0
Fix CompressedTextureLayered description in the class reference
This also updates the list of compression modes available for textures.
2023-03-22 22:06:55 +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