Hugo Locurcio
e8d3159d6f
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 64906bd1f7ea77f2a2829ff9c65219aca0912f87)
2023-03-12 15:42:00 +01:00
Hugo Locurcio
f1a7db4597
Document using String.percent_encode()
with OS.shell_open()
2023-03-12 15:07:20 +01:00
Ninni Pipping
e8216d9ad1
Backport Tree::set_selected
...
Backport function from godotengine#68448
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2023-03-12 14:25:47 +01:00
75ed28f2b3
Ported: 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
- tbveralrud
28b11a0785
2023-03-12 14:08:29 +01:00
Aaron Franke
304c45fbf3
Improve the clarity of Viewport's documentation
2023-03-12 13:28:20 +01:00
15bf4aefd0
Ported: Rework how current Camera2D is determined
...
7e2a8afb57
- KoBeWi
and
Fix Camera2D crashes
724d6581d6
- KoBeWi
From godot4.
Also fixed issues with active Camera2D switching.
2023-03-04 21:29:49 +01:00
9490e255c7
Move EditorScriptEditor's doc.
2023-02-18 16:54:42 +01:00
6026725f3b
Renamed ScriptEditor to EditorScriptEditor.
2023-02-18 16:52:26 +01:00
Danil Alexeev
4f04b2233b
Fix wrong SpriteFrames
docs
2023-02-07 03:03:34 +01:00
Hugo Locurcio
a744936512
Document image size restrictions for custom mouse cursors in HTML5
...
(cherry picked from commit 296b8f299a1653abcaf194f154c26af07581b000)
2023-02-07 03:03:18 +01:00
Jóhannes Gunnar Þorsteinsson
d19c1fedfb
Add independent spinbox arrow step precision
...
Backported from the `master` branch, with a property hint added.
2023-02-07 02:51:05 +01:00
db67fa53ea
Ported: Add a theme usability setting which updates the touch area of UI elements (e.g: scrollbar) for the editor on touchscreen devices
...
- m4gr3d
8170b7ae1e
2023-02-07 02:50:11 +01:00
1f20512f8c
Ported: Improve error messages and classref for occluders and portals
...
Misused functions would previously produce no error messages which was confusing for users.
- lawnjelly
5a0cb54b3a
2023-02-07 02:28:29 +01:00
Hugo Locurcio
272d1af91c
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-02-07 02:00:15 +01:00
19baf2133a
Ported: PopupMenu rework and enhancements
...
Many scrolling behaviour improvements and the ability to limit popup size.
- EricEzaM, rsubtil
6a5992c9f1
2023-02-07 01:59:27 +01:00
79842beb9a
Ported: 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`.
- Calinou
badcfa2523
2023-02-07 01:07:31 +01:00
lawnjelly
85a4c5369b
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.
2023-01-16 14:24:25 +01:00
Fabio Alessandrelli
f2682927f0
Expose API to force file system sync.
2023-01-16 14:15:08 +01:00
fc991ede18
Re-extracted class docs.
2023-01-14 13:38:58 +01:00
3bf2b79d88
Added set_length helper method to String.
2022-12-22 21:10:04 +01:00
213f393293
Fix typos with codespell.
2022-12-22 19:51:25 +01:00
ce5e82d910
Ported: Include the follow-viewport-transform into CanvasLayer transform calculations
...
The follow-viewport-transform was missing from several calculations
3.x version of #59682
- Sauermann
608cbd8296
2022-12-22 19:06:10 +01:00
b8009c85f4
Ported: Add vector value linking - KoBeWi and timothyqiu
...
9499ebecee
2022-12-22 18:50:17 +01:00
Haoyu Qiu
1d2a560819
Make NavigationAgent target_location
a property
2022-12-22 14:42:05 +01:00
Zak
b5c01b8703
Add uri
property for LinkButton
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit d73a9b56b08864b5e5ccf0df910190b064ff7463)
2022-12-22 14:23:04 +01:00
smix8
9225e78f68
Fix Navigation agent callback wild pointer crash
...
Fixes crash in sanitizer builds when callback agent or object are already freed.
(cherry picked from commit 194c1c44e0a20faa4463e3a41bb12cf93a71fc03)
2022-12-22 14:12:00 +01:00
Hugo Locurcio
fe010a1efe
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 4a991887bf3dd5fbb687fb379f06ac85aa4a6245)
2022-12-22 14:08:01 +01:00
Hugo Locurcio
ef4fe36eb4
Document debanding only affecting 3D rendering by default
2022-12-22 13:39:09 +01:00
Haoyu Qiu
43146b2cf1
Add note about GROUP_CALL_UNIQUE not considering arguments
...
(cherry picked from commit 3f2d6f5f6cd9623d6aa7149bc1871b021d84304c)
2022-12-12 12:16:27 +01:00
Hugo Locurcio
7d1abdb3db
Fix BackBufferCopy rect
property appearing when not relevant in inspector
...
The `rect` property is only effective if `copy_mode` is Rect.
2022-12-11 19:18:17 +01:00
kobewi
43cb6e940a
Remove error condition from get_global_transform()
...
(cherry picked from commit 2ff676a696a9cc1d77c0a8f4d5f31de8c7b5bc1a)
2022-12-11 19:02:12 +01:00
streq
17989ca8ef
clarify [member polygons] functionality in the Polygon2D class documentation
...
(cherry picked from commit de66acc6243827d4b5543656ec588d841d8b7504)
2022-12-11 18:39:24 +01:00
Lyuma
6eb0adced6
Make Node editable_instance methods available to GDScript
...
(cherry picked from commit 7eb6ae279848e8300431cfe925be70fa7ffd7299)
2022-12-11 18:34:17 +01:00
Rémi Verschelde
f3801032b8
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 9bb05de89fcc286a0d78bea12dc779a56c274fb0)
2022-12-11 18:33:23 +01:00
Fireflash
6656d1a33d
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 7823ca13676648ae1f35b33ea18c9d699395f283)
2022-11-30 19:27:56 +01:00
voidshine
840c537d89
Fix MIDI note-on events being converted to note-off events
...
Update documentation with note about MIDI velocity interpretation
(cherry picked from commit f0f72b313236b3cd8793e6fe7487094d9a04694a)
2022-11-30 19:11:21 +01:00
Ev1lbl0w
608c16297e
Document PopupMenu id behavior
...
(cherry picked from commit b8aa5ebfeb30b01db6e70ccc790624632c7273ee)
2022-11-30 18:59:45 +01:00
Hugo Locurcio
8612d803b1
Document (Omni/Spot)Light ignoring Spatial's scale property
2022-11-30 14:23:33 +01:00
41f130d9fd
Re-extracted the class docs.
2022-11-20 23:27:04 +01:00
a3f2631d59
Ported: Add double_tap attribute to InputEventScreenTouch
...
This provides parity with the `InputEventMouseButton` allowing for proper conversion between the two events.
- m4gr3d
be4b07c3e4
2022-11-13 01:29:17 +01:00
Zach Coleman
6fd82aca20
Add ProMotion Support to iOS Exports
2022-11-13 00:51:09 +01:00
Zach Coleman
8b12c8babf
Add iOS UI Options
2022-11-13 00:50:47 +01:00
kleonc
d7ddaf619a
Add ShapeCast2D/3D::get_collider_rid
method
2022-11-13 00:50:18 +01:00
kleonc
3ee1c2b58c
Docs Clarify Array.fill behavior when reference type is passed in
2022-11-13 00:48:19 +01:00
Jordan Schidlowsky
91624a7561
expose additional global enums in 3.x which are available in master
2022-11-13 00:32:18 +01:00
Michael Alexsander
b85570c541
Expose various color themes for Button
2022-11-13 00:30:18 +01:00
Micky
6ca2dc959b
Rename set_indexed
& get_child
's params to be clearer
...
3.x backport of #67300 and #64463 .
2022-11-13 00:27:45 +01:00
Haoyu Qiu
177d20aeef
Remove leading spaces from enumerator name hints
2022-11-13 00:26:34 +01:00
54643bc1fc
Re-extracted class docs.
2022-10-09 12:43:55 +02:00
2159409dcc
Moved TileMap and TileSet's docs to their module.
2022-10-09 11:47:03 +02:00