Hugo Locurcio
a836b6bc88
Mention `String.match()` is also called "glob"/"globbing"
...
This is mostly for Ctrl + F purposes, in case someone is looking
how to perform globbing on a string.
(cherry picked from commit 64906bd1f7
)
2023-03-06 13:05:17 +01:00
Rémi Verschelde
0cee4a85f5
Merge pull request #74284 from Calinou/doc-shell-open-uri-encode-3.x
...
Document using `String.percent_encode()` with `OS.shell_open()` (3.x)
2023-03-06 12:38:04 +01:00
Hugo Locurcio
1a6343729b
Document using `String.percent_encode()` with `OS.shell_open()`
2023-03-03 11:17:21 +01:00
Ninni Pipping
8185fa8e2a
[3.x] Backport Tree::set_selected
...
Backport function from godotengine#68448
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2023-02-27 20:26:15 +01:00
Rémi Verschelde
8adf26540c
Merge pull request #69200 from tbveralrud/ios-touch-leak-fix-3.x
...
iOS: Fix memory leak on touch input [3.x]
2023-02-17 12:15:00 +01:00
Travis Veralrud
28b11a0785
iOS: Fix memory leak on touch input
...
Replaces iOS gesture with touch implementation
Fixes #66422
Remove godot_view_gesture_recognizer
It's now unused.
Remove input_devices/pointing/ios/touch_delay
Unused with removal of gesture.
Remove unused methods from interface
Implementation made obsolete in prior commit
Style conformance
2023-02-15 21:38:55 -08:00
Aaron Franke
1949b7c652
[3.x] Improve the clarity of Viewport's documentation
2023-02-13 16:23:07 -06:00
Rémi Verschelde
fb846d3522
Merge pull request #71425 from Calinou/spinbox-add-independent-arrow-step-3.x
...
Add independent spinbox arrow step precision
2023-02-01 13:05:43 +01:00
Fredia Huya-Kouadio
aed400cce2
Merge pull request #71654 from m4gr3d/increase_scroll_bar_size_for_touchscreen_3x
...
[3.x] Update the size of the scrollbar for the editor on touchscreen devices
2023-01-31 21:52:03 -08:00
lawnjelly
5a0cb54b3a
Improve error messages and classref for occluders and portals
...
Misused functions would previously produce no error messages which was confusing for users.
2023-01-24 14:05:48 +00:00
Rémi Verschelde
ae47e1d37c
Merge pull request #71889 from Calinou/doc-environment-background-energy
...
Document Environment's `background_energy` property affecting lighting
2023-01-23 17:04:25 +01:00
Rémi Verschelde
dd7f517407
Merge pull request #66711 from rsubtil/port_popup_menu_rework
...
[3.x] PopupMenu rework and enhancements
2023-01-23 17:04:17 +01:00
Hugo Locurcio
646a2d9d94
Document Environment's `background_energy` property affecting lighting
...
Godot 4.0 allows controlling ambient and specular light intensity
separately, but 3.x doesn't.
2023-01-23 00:43:59 +01:00
Fredia Huya-Kouadio
8170b7ae1e
Add a theme usability setting which updates the touch area of UI elements (e.g: scrollbar) for the editor on touchscreen devices
2023-01-22 07:09:48 -08:00
EricEzaM
6a5992c9f1
PopupMenu rework and enhancements
...
Many scrolling behaviour improvements and the ability to limit popup size.
2023-01-21 21:36:26 +00:00
Hugo Locurcio
04225415c3
Document image size restrictions for custom mouse cursors in HTML5
...
(cherry picked from commit 296b8f299a
)
2023-01-20 12:15:07 +01:00
Rémi Verschelde
f3da393b44
Merge pull request #70378 from Calinou/os-expose-read-from-stdin-3.x
...
Expose `OS.read_string_from_stdin()` to the scripting API (3.x)
2023-01-20 12:12:35 +01:00
Rémi Verschelde
d4f66544ce
Merge pull request #71146 from dalexeev/3.x-fix-sprite-frames-doc
...
[3.x] Fix wrong `SpriteFrames` docs
2023-01-16 22:22:02 +01:00
Hugo Locurcio
badcfa2523
Expose `OS.read_string_from_stdin()` to the scripting API
...
This can be used in scripts to read user input in a blocking manner.
This also removes the unused `block` argument, which is always `true`.
2023-01-16 11:39:53 +01:00
Jóhannes Gunnar Þorsteinsson
e09d4d255e
Add independent spinbox arrow step precision
...
Backported from the `master` branch, with a property hint added.
2023-01-14 20:14:17 +01:00
Rémi Verschelde
1ee7c5a62c
Merge pull request #62444 from lawnjelly/faster_queue_free3
...
[3.x] Faster queue free
2023-01-10 10:55:36 +01:00
Danil Alexeev
398ed4efc3
[3.x] Fix wrong `SpriteFrames` docs
2023-01-10 10:02:04 +03:00
Fabio Alessandrelli
d0ba1517a7
[Web] Expose API to force file system sync.
2023-01-09 21:30:42 +01:00
Rémi Verschelde
3b7bb812fd
Merge pull request #70310 from Sauermann/3x-fix-follow-viewport-transform
...
[3.x] Include the follow-viewport-transform into CanvasLayer transform calculations
2022-12-22 08:55:28 +01:00
Rémi Verschelde
76bcc90da8
Merge pull request #70228 from Calinou/add-transparent-viewport-project-setting-3.x
...
Add a project setting to make the root viewport transparent (3.x)
2022-12-22 08:55:21 +01:00
Markus Sauermann
608cbd8296
Include the follow-viewport-transform into CanvasLayer transform calculations
...
The follow-viewport-transform was missing from several calculations
3.x version of #59682
2022-12-19 19:18:54 +01:00
Zak
f974bcf074
Add `uri` property for LinkButton
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit d73a9b56b0
)
2022-12-18 10:43:39 +08:00
smix8
17e6d76de6
Fix Navigation agent callback wild pointer crash
...
Fixes crash in sanitizer builds when callback agent or object are already freed.
(cherry picked from commit 194c1c44e0
)
2022-12-18 10:32:04 +08:00
Hugo Locurcio
be3017114f
Silence `Input.vibrate_handheld()` warning as it's already documented
...
The warning causes messages to be spammed if you are calling this
method in a game that runs on both desktop and mobile platforms,
unless you guard all calls to `Input.vibrate_handheld()` with
`OS.has_feature("mobile") or OS.has_feature("web")`.
Since the limitation is already documented (and is obvious enough
given the method's name), the warning message is redundant.
(cherry picked from commit 4a991887bf
)
2022-12-18 10:32:04 +08:00
kobewi
9499ebecee
Add vector value linking
...
Co-authored-by: redlamp <244062+redlamp@users.noreply.github.com>
(cherry picked from commit 5553e27fe8
)
2022-12-18 10:32:04 +08:00
Hugo Locurcio
65465f309c
Add a project setting to make the root viewport transparent
...
This allows creating a project with a transparent window without having
to write any script.
2022-12-18 00:38:05 +01:00
Rémi Verschelde
6963ba631e
Fix typos with codespell
2022-12-15 12:26:59 +01:00
Rémi Verschelde
2c714f19e5
Merge pull request #65453 from timothyqiu/agent-target-3.x
...
[3.x] Make NavigationAgent `target_location` a property
2022-12-12 16:07:25 +01:00
Rémi Verschelde
16ad014dd3
Merge pull request #67040 from Calinou/xdg-paths-linux-only-3.x
...
Only support XDG directory path configuration on Linux (3.x)
2022-12-12 12:27:56 +01:00
Hugo Locurcio
06c266f231
Only support XDG directory path configuration on Linux
...
This also harmonizes the server code to be consistent with Linux desktop
(with warnings printed for relative XDG paths).
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-12 11:13:19 +01:00
Hugo Locurcio
4475a93736
Document debanding only affecting 3D rendering by default
2022-12-12 11:01:26 +01:00
Steve Cotton
8770197731
doc: link GPUParticles2D to the 2D Particles demo
...
Add a comment in the link to the Dodge The Creeps demo too. That demo only uses
particles for one thing (to leave a trail when the player moves), they're not
interacting with anything else in the demo; it took me a bit of searching to
find where they were used.
(cherry picked from commit 6db9752f23
)
2022-12-12 14:06:49 +08:00
Haoyu Qiu
dd1c96b547
Add note about GROUP_CALL_UNIQUE not considering arguments
...
(cherry picked from commit 3f2d6f5f6c
)
2022-12-12 13:57:28 +08:00
Hugo Locurcio
5115db63aa
Fix BackBufferCopy `rect` property appearing when not relevant in inspector
...
The `rect` property is only effective if `copy_mode` is Rect.
2022-12-08 20:04:56 +01:00
Hugo Locurcio
9a0a9bbaec
Document `Array.sort()` and `sort_custom()` using unstable sorting
...
(cherry picked from commit 85b617a6a3
)
2022-12-04 20:12:27 +08:00
Zak Grumbles
aa8c63f8af
Add note regarding RefCounted to EditorScript docs
...
(cherry picked from commit e5dc2ed982
)
2022-12-04 20:06:18 +08:00
kobewi
2f13adbdb6
Remove error condition from get_global_transform()
...
(cherry picked from commit 2ff676a696
)
2022-12-01 11:47:52 +08:00
Haoyu Qiu
21856280fa
Describe the left mouse button constant as the primary button
...
(cherry picked from commit f6e9565bdc
)
2022-12-01 11:38:54 +08:00
streq
a001932790
clarify [member polygons] functionality in the Polygon2D class documentation
...
(cherry picked from commit de66acc624
)
2022-12-01 10:41:59 +08:00
Lyuma
099e90e00d
Make Node editable_instance methods available to GDScript
...
(cherry picked from commit 7eb6ae2798
)
2022-12-01 10:15:06 +08:00
Rémi Verschelde
7f0b3bc2a0
Add editor setting for AcceptDialog OK/Cancel buttons positioning
...
The position (left/right) of the Cancel and OK buttons in AcceptDialog
are DisplayServer specific, as Windows uses OK/Cancel and macOS uses Cancel/OK.
Linux/X11 currently uses the macOS convention which is also the GTK+/GNOME one,
though it's not consistent with Qt/KDE applications which follow the Windows
convention.
Since that can't satisfy everyone, it's best if it's configurable also for the
editor (it's already configurable for the project).
Fixes #59379 .
(cherry picked from commit 9bb05de89f
)
2022-12-01 09:50:51 +08:00
Ev1lbl0w
6d030f93b7
Document PopupMenu id behavior
...
(cherry picked from commit b8aa5ebfeb
)
2022-11-30 15:44:05 +01:00
voidshine
7284230ebe
Fix MIDI note-on events being converted to note-off events
...
Update documentation with note about MIDI velocity interpretation
(cherry picked from commit f0f72b3132
)
2022-11-30 15:36:03 +01:00
Fireflash
239b2e4bbc
Update AudioStreamGeneratorPlayback.xml
...
Fixed incorrect method description for `get_frames_available`.
According to [The AudioStreamGenerator source](https://github.com/godotengine/godot/blob/master/servers/audio/effects/audio_stream_generator.cpp#L132 ), the `get_frames_available` method should return the space remaining in the sample buffer.
(cherry picked from commit 7823ca1367
)
2022-11-30 15:05:26 +01:00
lawnjelly
edc85d22fc
Faster queue free
...
Calling queue_free() for large numbers of siblings could previously be very slow, with the time taken rising exponentially with number of children. This looked partly due to ordered_remove from the child list and notifications.
This PR identifies objects that are nodes, and sorts the deletion queue so that children are deleted in reverse child order. This minimizes the costs of reordering.
2022-11-25 09:53:50 +00:00