e42c604bc3
Ported: Switch from recursion to iterative for backfilling colour regions.
...
- Paulb23
ee4a1c99a7
2023-02-21 13:11:37 +01:00
a79792ee67
Ported: Fix color region end key seach and start key order.
...
- Paulb23
6cdcdbc242
2023-02-21 13:08:49 +01:00
6ea9b581d7
Ported: Fix colour region continuation over blank lines, issue 41120
...
- Paulb23
5cf2cf8646
2023-02-21 12:53:41 +01:00
634bdfbb69
Ported: Changed line_edited_from(from) to lines_edit_from(from, to)
...
- Paulb23
907f9f2a84
2023-02-21 12:37:52 +01:00
0016b64316
Fix inconsistent overrides warning.
2023-02-21 01:34:30 +01:00
c356806ebf
Ported: Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighter
...
- Extacted all syntax highlighting code from text edit
- Removed enable syntax highlighting from text edit
- Added line_edited_from signal to text_edit
- Renamed get/set_syntax_highlighting to get/set_syntax_highlighter
- Added EditorSyntaxHighligher
- Paulb23
bc4cee4458
2023-02-21 01:30:59 +01:00
0edf8fe956
Ported: Convert syntax highlighters into a resource
...
- Paulb23
2f1080be9b
2023-02-20 14:51:10 +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
3bd027f068
Ported: Add dumb theme item cache to Control
...
- YuriSizov, jordo
1647f4d85e
2023-02-07 02:11:52 +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
stmSi
a872971e46
Fixed: Save Branch as Scene
not workking in Remote Tree (only work when u pause)
2023-02-07 01:08:29 +01:00
8c9d7bc567
Ported: Set touch input as handled only after _gui_call_input - necrashter
...
147de75e52
2023-01-16 14:46:29 +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
Haoyu Qiu
dc27330752
Make CollisionShape selection box use shape AABB
2023-01-16 14:19:35 +01:00
OsakiTsukiko
536884aa68
Fix RichTextLabel discards appended BBCode text on window resize when using DynamicFont
2023-01-16 13:54:31 +01:00
Haoyu Qiu
71c28de437
Fix Tree overflow without scrolling being enabled
2023-01-16 13:53:12 +01:00
Hugo Locurcio
04338a5018
Tweak particles animation offset property hint to allow more precise values
2023-01-16 13:47:55 +01:00
2cd4e4d828
Renamed Set to RBSet.
2023-01-15 19:42:08 +01:00
1b0aac6028
Renamed Map to RBMap.
2023-01-15 19:12:50 +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
8aa456b4c4
Ported: Add Vector2/3 linking to more properties
...
- Camera2D.zoom
- CanvasLayer.scale
- ParallaxBackground.scroll_base_scale
- ParallaxLayer.motion_scale
- Polygon2D.texture_scale
- SpatialMaterial.uv1_scale
- SpatialMaterial.uv2_scale
- fire-forge and timothyqiu
0d602ce881
2022-12-22 18:52:47 +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
Paweł Fertyk
845b70faad
Fix get_visible_line_count in RichTextLabel with newlines
...
Fixed #59359 .
2022-12-22 14:36:03 +01:00
kleonc
12e28bd557
AtlasTexture Fix calculating rects when flipping
...
(cherry picked from commit c3851b91db7a6dfd7170d6171109255ecb4a3809)
2022-12-22 14:31:21 +01:00
Paweł Fertyk
6ef3d20fb1
Fix BitMap.resize
error spam
...
Fixes #70187 .
2022-12-22 14:27:15 +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
Haoyu Qiu
520f6d19f6
Fix possible Tween leak on exit
...
(cherry picked from commit e173710963c3316833ac2e2c26ab3830551fd790)
2022-12-22 14:06:21 +01:00
Wilson E. Alvarez
f7d04cc052
Avoid compiling Editor checks in release builds for VisibilityNotifier2D
2022-12-22 14:00:42 +01:00
Wilson E. Alvarez
f95c511c7a
Do not fire VisibilityNotifier screen_entered and screen_exited signals in the Editor
2022-12-22 13:54:25 +01:00
Haoyu Qiu
e75af6af1d
Fix crash after executing ItemList.set_icon_scale
...
(cherry picked from commit 8d0fa193c344be8e1ec801b1a45341801b80a5f8)
2022-12-22 13:53:53 +01:00
lawnjelly
25c3232a77
VariantParser make readahead optional
...
It turns out some areas are independently moving / reading filepointers outside of the VariantParser, which can cause the readahead caching to get out of sync.
This PR makes the VariantParser readahead to be optional to allow for these use cases.
2022-12-22 13:52:51 +01:00
Hugo Locurcio
b1c99f29e3
Fix infinite loop when calling Control.popup_centered_minsize()
...
Co-authored-by: sriramun <sriramun2@gmail.com>
(cherry picked from commit 08e804b3b718862e92e6b296b914e3829e43717e)
2022-12-22 13:51:14 +01:00
Dawid Marzec
289b16fa7b
Fix errors while deselecting all tree items; issue #65185
...
(cherry picked from commit d4d5df2314208a99c589456a75299a334672acd2)
2022-12-22 13:44:05 +01:00
c7809991b2
Fixed an another issue with touch gui input handling.
2022-12-12 18:30:35 +01:00
37961b1990
Fix regression in touch input handling.
2022-12-12 14:26:54 +01:00
smix8
4a9c859c6d
Add detail to NavigationPolygon outline error msg
...
Adds additional information to the error msg when the convex partition fails due to invalid outline arrays.
(cherry picked from commit f30ebacbe851bd207e1c55e82d04caf150a59690)
2022-12-12 12:13:36 +01:00
Phnix
6040a9b37c
incorrect range value with min value and step
...
If the minimum value and the steps are greater than 0, the value will not be calculated correctly.
Co-Authored-By: Astral-Sheep <109028693+Astral-Sheep@users.noreply.github.com>
(cherry picked from commit fe1f8443a411c64eb8a2934512ab982f3df3d550)
2022-12-12 12:13:15 +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
bruvzg
0c95c634bb
Fix auto-translation and ignore control chars.
2022-12-11 19:14:14 +01:00
Haoyu Qiu
0a11c9e1bf
Fix TreeItem.remove_child not updating Tree immediately
2022-12-11 19:13:20 +01:00
Silc Renew
c8a090fa42
Fix animation signal caches_cleared firing timing
...
(cherry picked from commit 962b6a3e8f9d91f92f2547e2da6ba8dbd5a661dc)
2022-12-11 19:12:37 +01:00
Haoyu Qiu
5e3a86aea6
Fix CanvasLayer visibility toggle can only run once per frame
2022-12-11 19:08:52 +01:00
Dawid Marzec
03ae12b069
Remove auto selecting the first file for FileDialog with Save file mode selected
...
(cherry picked from commit 5cd30be56d1d34d84bd423fb99f8fa03edbfe75e)
2022-12-11 19:04:39 +01:00
kobewi
43cb6e940a
Remove error condition from get_global_transform()
...
(cherry picked from commit 2ff676a696a9cc1d77c0a8f4d5f31de8c7b5bc1a)
2022-12-11 19:02:12 +01:00
Markus Sauermann
fc7038b073
Update root order on layer change
...
When the layer of a CanvasLayer changes, the order of roots needs to be recalculated.
(cherry picked from commit 8d60e8b5d4120d9f9a4868bfb8f0059e733d6d5f)
2022-12-11 18:35:56 +01:00