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
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
Adam Scott
fd1dfdb960
Set VehiculeWheel3D suspension_travel
default value to a resonable one
2023-03-18 16:33:33 -04:00
Mikael Hermansson
33a6c80abb
Change documentation of Shape3D.margin
to reflect current situation
2023-03-18 20:35:42 +01:00
bruvzg
4793b6eee9
[RTL] Add option to customize list bullet, use U+2022 by default.
2023-03-17 09:34:28 +02:00
Yuri Sizov
98d95f3a0e
Merge pull request #74149 from bruvzg/get_char
...
[Font] Implement `get_char_from_glyph_index` function.
2023-03-16 13:07:11 +01:00
lawnjelly
cca01afd82
Improve Vector2 / 3 / 4 normalized() classref.
...
Mention that the results will be unreliable with initial vector near zero.
2023-03-16 11:20:30 +00:00
Yuri Sizov
7d2080f81a
Merge pull request #74800 from smix8/navagent2d_thin_line_4.x
...
Allow negative NavigationAgent2D path debug line_width for thin lines
2023-03-16 11:44:34 +01:00
smix8
f6a10c0565
Allow negative NavigationAgent2D path debug line_width for thin lines
...
Allows the line_width for NavigationAgent2D path debug to go negativ for thin line rendering.
2023-03-16 09:04:53 +01:00
Haoyu Qiu
57d4272984
Fix typos and inconsistencies in classref
2023-03-16 14:10:20 +08:00
Yuri Sizov
3596443de1
Merge pull request #74727 from AThousandShips/project_settings
...
Exposing more project settings for documentation
2023-03-15 15:59:10 +01:00
Yuri Sizov
d67c1a5903
Merge pull request #74838 from dsnopek/quaternion-constructor-3
...
Documents the "arc-based" Quaternion constructor
2023-03-15 14:51:38 +01:00
Ninni Pipping
bd30847e59
Exposing more project settings for documentation
2023-03-15 14:25:40 +01:00
Yuri Sizov
c981a305a5
Merge pull request #73144 from chutchinson/bug/openxr-init-alert-dialog
...
Replaced OpenXR operating system alert dialog with a warning log message
2023-03-15 14:07:05 +01:00
Yuri Sizov
d9bd6a359a
Merge pull request #74731 from brettchalupa/patch-1
...
Fix CharacterBody2D get_slide_collision docs
2023-03-15 13:37:51 +01:00
Bastiaan Olij
e31c2e4277
Add a get_system_info method to XRInterface
2023-03-15 13:11:48 +11:00
Rémi Verschelde
e5cc494fbf
i18n: Sync translations with Weblate
...
(cherry picked from commit d23922ffeb
)
2023-03-15 02:31:09 +01:00
Clay John
79454bfd3b
Merge pull request #74847 from pcamp/patch-2
...
Fix typo in Window class.
2023-03-13 11:19:25 -07:00
pcamp
112977be26
Fix typo in Window class.
...
"event as" -> "events will be"
2023-03-12 19:53:12 -05:00
David Snopek
2d6deb10b0
Documents the "arc-based" Quaternion constructor
2023-03-12 15:53:41 -05:00
John Veness
4505049ba6
Corrected capitalisation of macOS
...
In documentation and comments, ignoring thirdparty code
2023-03-12 16:48:52 +00:00
Brett Chalupa
2b6e1550ff
Fix CharacterBody2D get_slide_collision docs
...
The indentation was off and the code usage was incorrect for Godot 4.0 GDScript.
2023-03-10 18:25:54 -05:00
Rémi Verschelde
0c59e0c35b
Merge pull request #74707 from mihe/recovery-as-collision
...
Add `recovery_as_collision` to extension binding of `_body_test_motion`
2023-03-10 14:06:38 +01:00
Rémi Verschelde
82c8f57763
Merge pull request #74675 from AThousandShips/scene_name_casing
...
Document `editor/naming/scene_name_casing` setting
2023-03-10 14:05:27 +01:00
Rémi Verschelde
1528aefc1f
Merge pull request #74627 from titus125/master
...
Fixed typos in Transform2D and Transform3D class reference
2023-03-10 14:03:30 +01:00
Rémi Verschelde
4779389d3a
Merge pull request #74242 from mihe/pick-ray
...
Add `pick_ray` parameter to extension binding of `intersect_ray`
2023-03-10 14:02:43 +01:00
Mikael Hermansson
1bad2e30ee
Add recovery_as_collision
to extension binding of _body_test_motion
2023-03-10 09:37:21 +01:00
titus125
36270d39d2
Fixed typos in the Transform2D and Transform3D class reference
2023-03-09 17:05:25 -08:00
Ninni Pipping
3de5332fcb
Document editor/naming/scene_name_casing
setting
...
Moved definitions of editor related project settings to `editor/register_editor_types.cpp` to make documentation work.
2023-03-09 21:17:49 +01:00
Rémi Verschelde
b201db0cc1
Merge pull request #74638 from timothyqiu/typora
...
Fix various typos in the classref
2023-03-09 12:21:09 +01:00
Rémi Verschelde
e7b05327df
Merge pull request #74610 from vnen/array-dict-readonly-doc
...
Remove outdated note about const in Dictionary and Array docs
2023-03-09 12:18:32 +01:00
Haoyu Qiu
03fcac3aa5
Fix various typos in the classref
2023-03-09 14:56:23 +08:00
George Marques
d2b1d6e69b
Remove outdated note about const in Dictionary and Array docs
2023-03-08 12:13:17 -03:00
BrunoSXS
df0de07494
Fix for AABB methods with wrong description
2023-03-08 10:17:14 -03:00
Rémi Verschelde
b8126b18dc
Merge pull request #73429 from bruvzg/macos_no_sc
...
[macOS] Re-add support for the _sc_ inside app bundle.
2023-03-07 08:36:51 +01:00
Rémi Verschelde
5f2137a050
Merge pull request #74087 from bruvzg/get_screen_px
...
[DisplayServer] Implement screen_get_pixel method for LinuxBSD/X11, macOS and Windows.
2023-03-06 21:58:58 +01:00
Isaac Clerencia
2a4f38d54f
Clarify Thread documentation
...
The current documentation uses the term "running" for two different things.
In the description of get_id() it claims "it will return empty string if the thread is not running", but it actually will return the thread id until wait_to_finish is called.
In the description of is_alive() it claims "it will return true if the thread is running", but in this case it means "the provided function hasn't finished running yet".
Updated the functions documentation slighly to make this clear.
2023-03-06 09:01:25 -05:00
Rémi Verschelde
0b98b470cc
Merge pull request #73716 from bruvzg/improve_locale_selection
...
Improve layout direction/locale automatic selection.
2023-03-06 10:57:56 +01:00
Rémi Verschelde
2a5fc1fe6c
Merge pull request #74306 from dalexeev/gds-var-colon-style
...
Fix GDScript code style regarding colon
2023-03-06 10:49:11 +01:00
Ricardo Buring
e61a127042
Fix concave/convex polygon shape documentation
...
Removes some outdated/incorrect/duplicated info, adds correct info.
Also removes no longer applicable "editor-only helper" statements.
2023-03-05 17:19:50 +01:00
Danil Alexeev
ea5fd3d732
Fix GDScript code style regarding colon
2023-03-05 17:03:20 +03:00
Rémi Verschelde
3f522f1b50
Merge pull request #74283 from Calinou/doc-shell-open-uri-encode
...
Document using `String.uri_encode()` with `OS.shell_open()`
2023-03-05 13:27:09 +01:00
Rémi Verschelde
24d4719ac1
Merge pull request #74258 from KoBeWi/do_not_fricking_reuse_tweens
...
Discourage reusing Tweens
2023-03-05 13:25:57 +01:00
kobewi
9785b23a0a
Discourage reusing Tweens
2023-03-04 19:51:52 +01:00
Rémi Verschelde
2daf664c90
Merge pull request #74235 from and-rad/turbulence-mixup
...
Fixed minor typo in turbulence documentation
2023-03-03 11:08:39 +01:00
Rémi Verschelde
c329acafed
Merge pull request #74226 from timothyqiu/privacy-please
...
Hide internal settings from the classref
2023-03-03 11:08:16 +01:00
Hugo Locurcio
81ac3c3e71
Document using String.uri_encode()
with OS.shell_open()
2023-03-03 11:07:34 +01:00
Rémi Verschelde
b9301a89b7
Merge pull request #74157 from themancalledjakob/DocumentationFontVariation
...
Documentation font variation
2023-03-03 11:05:45 +01:00
Rémi Verschelde
7bb68278bb
Merge pull request #74151 from BastiaanOlij/add_world_origin_prop
...
Add XRServer.world_origin property
2023-03-03 11:05:21 +01:00
Rémi Verschelde
9ab74fee3b
Merge pull request #74042 from KoBeWi/rm_-rf_System32
...
Safeguard Makefile commands
2023-03-03 11:04:32 +01:00
Rémi Verschelde
a2ecbb7c37
Merge pull request #73749 from fabriceci/expose-apply-floor-snap
...
Exposes the apply_floor_snap function to allow manual snap
2023-03-03 11:03:42 +01:00
Andreas Raddau
c618f9fce2
Fixed minor typo in turbulence documentation
2023-03-03 10:41:41 +01:00
Mikael Hermansson
fb3454a3ec
Add pick_ray
parameter to extension binding of intersect_ray
2023-03-02 18:00:03 +01:00
themancalledjakob
fb5c2d9f75
improve documentation for Font and FontVariation
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-03-02 14:34:19 +01:00
Rémi Verschelde
f339f8e3d2
Merge pull request #73713 from SirQuartz/graph-node-close-button
...
Fix Graph Node close rect default position
2023-03-02 11:26:28 +01:00
Rémi Verschelde
cdddb726b1
Merge pull request #74130 from iamjustkoi/patch-1
...
Fix small mistake in Window.xml
2023-03-02 11:20:56 +01:00
Haoyu Qiu
1e0b8d6240
Hide internal settings from the classref
...
Default actions are no longer internal since we want to document them.
They are still hidden from the Project Setting dialog because we hid the
whole `input/` group manually.
2023-03-02 17:52:37 +08:00
Bastiaan Olij
fd8f26f26e
Add XRServer.world_origin property
2023-03-01 22:18:47 +11:00
bruvzg
e7647b5ee5
[DisplayServer] Implement screen_get_pixel method for LinuxBSD/X11, macOS and Windows.
2023-03-01 09:32:23 +02:00
bruvzg
8459aeaab0
[Font] Implement get_char_from_glyph_index
function.
2023-03-01 09:29:11 +02:00
Rémi Verschelde
1c1524a651
Bump version to 4.1-dev
...
Can't stop, won't stop, they said, huh?
2023-03-01 01:44:37 +01:00
Rémi Verschelde
2f34a35722
i18n: Sync translations with Weblate
2023-03-01 00:11:39 +01:00
JustKoi
7f8425d6fb
Fix small mistake in Window.xml
...
Fix small mistake in Window.xml
2023-02-28 18:05:58 -05:00