Commit Graph

2777 Commits

Author SHA1 Message Date
Haoyu Qiu fa709e7169
Fix LineEdit center and right alignment
(cherry picked from commit 64fcf7ee77)
2022-01-25 18:40:49 +01:00
Rémi Verschelde 71066cd63b
Update copyright statements to 2022
Happy new year to the wonderful Godot community!

(cherry picked from commit a627cdafc5)
2022-01-13 16:00:37 +01:00
kobewi 63799b2a8e
Set max value of inactive TextEdit scrolls to 0
(cherry picked from commit 892d93759c)
2022-01-12 17:36:53 +01:00
kobewi 90525d5781
Improve FileDialog filters
(cherry picked from commit b403954e41)
2022-01-12 17:34:06 +01:00
LeaoLuciano 92ce352cc2
Fix memory leak in RichTextLabel.remove_line
(cherry picked from commit f21b5e4d2f)
2022-01-12 17:32:23 +01:00
jmb462 33e5093e02
Fix PopupMenu bad item offset with custom vseparation
(cherry picked from commit 4de860c6d5)
2022-01-12 16:47:26 +01:00
Haoyu Qiu 575999a932
Fix BBCode underline prevents strikethrough from rendering
(cherry picked from commit 09397f10c5)
2022-01-12 16:40:52 +01:00
Haoyu Qiu 73ca0533d0
Fix RichTextLabel underline appearance when inside fill tag
(cherry picked from commit 23c64fc43c)
2022-01-12 16:40:42 +01:00
Rémi Verschelde 2e8fdd0112
Fix typos with codespell
Using codespell 2.1.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
readded
seeked
statics
synching
te
uint
unselect
webp
EOF

$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```

(cherry picked from commit b197de6f5f)
2022-01-07 00:17:47 +01:00
PucklaMotzer09 1ef1a84c22
Unfocus Control on NOTIFICATION_EXIT_TREE
(cherry picked from commit be2d59fa0a)
2022-01-06 00:58:33 +01:00
kobewi 0c2e919567
Fix TabContainer not setting layout immediately
(cherry picked from commit a7a41a3431)
2022-01-06 00:58:30 +01:00
Zae d55deabae7
[3.x]Fix BaseButton's localization for tooltip text with shortcut
(cherry picked from commit 23aaf78391)
2021-12-21 12:23:20 +01:00
ator-dev 43d23c3926
Prevent hidden tab close buttons from intercepting input [3.x]
(cherry picked from commit a8977006fd)
2021-11-30 10:59:32 +01:00
bruvzg 552feba40b
Fix RTL min/max line width calculation.
(cherry picked from commit 33b26e5cdc)
2021-11-29 16:45:32 +01:00
kobewi 97404dc612
Fix right alignment in RichTextLabel
(cherry picked from commit 820f7c9d15)
2021-11-29 16:45:22 +01:00
Yuri Sizov 93fe9ecb97
Add methods to get position from column and line in TextEdit
(cherry picked from commit ba747e2a26)
2021-11-29 16:44:34 +01:00
Red Headphone d5bd37a1d1
progress_offset now added to reference cross draw function
(cherry picked from commit 8a6c6d5329)
2021-11-29 16:43:57 +01:00
Haoyu Qiu 58dc743a2c
Allow toggle TextEdit bookmark gutter
(cherry picked from commit eb6f74855f)
2021-11-25 23:13:14 +01:00
Lenny Critchley 0ce0af221a
Add error condition for Control EXIT_TREE notif
(cherry picked from commit 3d1249a520)
2021-11-15 23:36:23 +01:00
Rémi Verschelde 63b5d5de64
Modules: Make sure to include `modules_enabled.gen.h` where needed
Fixes #51677.

Co-authored-by: Arkadiusz Marcin Kołek <aksoftware91@gmail.com>
(cherry picked from commit 6f4858f184)
2021-11-15 22:36:02 +01:00
Michael Alexsander d5adb9e4b4
Fix uninteractable singular tab in `TabBar`
(cherry picked from commit 96fdb030ec)
2021-10-31 23:10:47 +01:00
Rémi Verschelde 14ef65e49b
Merge pull request #54348 from akien-mga/3.x-clang-format-dont-align-operands 2021-10-28 15:43:15 +02:00
Rémi Verschelde 1b65550ec7
clang-format: Various fixes to comments alignment from `clang-format` 13
All reviewed manually and occasionally rewritten to avoid bad auto formatting.
2021-10-28 14:50:32 +02:00
Rémi Verschelde 42d385b312
clang-format: Disable alignment of operands, too unreliable
Sets `AlignOperands` to `DontAlign`.

`clang-format` developers seem to mostly care about space-based indentation and
every other version of clang-format breaks the bad mismatch of tabs and spaces
that it seems to use for operand alignment. So it's better without, so that it
respects our two-tabs `ContinuationIndentWidth`.
2021-10-28 13:23:38 +02:00
Yuri Sizov b3fc278dcf Ignore property groups and categories in GDScript code completion 2021-10-26 20:01:49 +03:00
Yuri Sizov 7fe0dab69b Add focus font color to Button and derivatives 2021-10-26 17:40:51 +03:00
Rémi Verschelde 8ff437822a
Control: Rename `Input` group that confuses GDScript completion
Fixes #47926.
2021-10-25 22:07:20 +02:00
Anton Christoffersson 35eeafdb0c Fixes crash in caused by calling `ColorPickerButton.propagate_notification(33)` 2021-10-25 08:47:44 +02:00
Rémi Verschelde 62f56af694
Merge pull request #54146 from akien-mga/3.x-cherrypicks 2021-10-23 18:34:23 +02:00
Rémi Verschelde 5a48cba649
Merge pull request #54152 from bjauny/fix_treenotification 2021-10-23 18:33:32 +02:00
Bastien JAUNY e74db1de23 #54143 Fix potential null pointer dereference 2021-10-23 14:47:02 +02:00
Robin Arys 0dcf1e3a45
Fix Tabs crash where it still tries to detect the clicked tab even if there are none
(cherry picked from commit 2203670ccc)
2021-10-23 11:53:58 +02:00
Haoyu Qiu 5366743454 Fix RichTextLabel meta link detection when used inside a fill tag 2021-10-22 16:20:56 +08:00
Haoyu Qiu 7e6e6c871b Make RichTextLabel honor content margin when drawing font shadow 2021-10-21 11:30:45 +08:00
Haoyu Qiu 37ef6036d0 Add missing cache clear in RichTextLabel::_process_line 2021-10-20 23:46:57 +08:00
floppyhammer 0b5724514d
Fix bilinear TextureProgressBar with nine patch enabled
(cherry picked from commit a238816f0b)
2021-10-15 12:51:42 +02:00
Michael Alexsander eeb6652436
Fix invisible tabs not being ignored in `Tabs`
(cherry picked from commit 3c5103ac1d)
2021-10-10 12:27:51 +02:00
Haoyu Qiu 52a840b9c9 Fix crash when tooltip_request_func object is freed 2021-10-06 15:33:31 +08:00
Michael Alexsander a5214f437f
Fix `Tabs` offset overreaching when scrolling fast
(cherry picked from commit 0dd65fff3b)
2021-10-05 10:53:06 +02:00
Yuri Sizov 98cf645258 Expose API to retrieve Theme's default font 2021-10-04 17:44:53 +03:00
Rémi Verschelde 2b642d68c1
Merge pull request #52752 from Pineapple/fix-richtextlabel-character-offsets 2021-10-04 08:52:26 +02:00
Haoyu Qiu eab1e228c8 Fix LineEdit undo crash
Make sure all related member variables are initialized before creating
the first undo state.
2021-09-29 13:52:40 +08:00
Matthew Newall e01d609c02
Updated Tabs to not update excessively
(cherry picked from commit 082f924566)
2021-09-27 18:09:47 +02:00
Michael Alexsander b4d6afb7ad
Expose `TabContainer`'s tab hidding for scripts
(cherry picked from commit 7ce02b642e)
2021-09-27 18:06:36 +02:00
Yuri Sizov 020807dc0f Correctly calculate position of the folding arrow in Tree 2021-09-25 02:01:35 +03:00
skysphr f53294f874
Added increment_pressed and decrement_pressed icons to scrollbars
(cherry picked from commit e27ab2708f)
2021-09-21 17:14:59 +02:00
kobewi 44a56c9742
Add offset for TextureProgress progress texture
(cherry picked from commit e78ee616f7)
2021-09-21 17:14:59 +02:00
Rémi Verschelde d92405de74
Merge pull request #52728 from jmb462/ninepatchrect_node_warning 2021-09-17 20:22:10 +02:00
jmb462 a9d0baa4f4 Add a node warning using NinePatchRect's Tile or Tile Fit modes in GLES2 2021-09-17 06:29:10 +02:00
Bartłomiej T. Listwon 903765f94d Fix RichTextLabel character horizontal offset calculation 2021-09-16 21:44:17 +02:00