1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00
Commit Graph

602 Commits

Author SHA1 Message Date
Pāvels Nadtočajevs
7fc4521dd8 Adjust hex code box baseline calculation. 2025-05-20 08:53:40 +03:00
Danil Alexeev
decf5bf865 GUI: Copy all text in RichTextLabel if nothing is selected 2025-05-14 19:31:57 +03:00
Thaddeus Crews
3947cbe3b2 Merge pull request #104386 from Repiteo/core/cpp-math
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
Thaddeus Crews
4dbfcbfbbd Merge pull request #105504 from ExEago/master
`RichTextLabel`: Add methods to compute the height and width of a line
2025-04-27 19:21:15 -05:00
Pāvels Nadtočajevs
5b49fd4207 Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default. 2025-04-23 12:47:31 +03:00
ExEago
4115b813fe Add two methods to compute the height and width of an individual line in a RichTextLabel 2025-04-21 10:25:47 +02:00
yahkr
fc051c8b36 Add [br] to bbcode parsing for rich_Text_label 2025-04-18 09:59:47 -04:00
Thaddeus Crews
ad40939b6f Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Thaddeus Crews
aba5841b34 Merge pull request #105323 from bruvzg/rtl_right_trim
[RTL] Fix VC_GLYPHS_RTL visible character trimming mode.
2025-04-15 12:28:48 -05:00
Thaddeus Crews
4cc419f6e6 Merge pull request #105259 from bruvzg/rtl_track_custom_font_changes
[RTL] Track external changes in the custom fonts set by BBCode / `push_*`.
2025-04-14 19:39:45 -05:00
Pāvels Nadtočajevs
d782d827f7 [RTL] Fix VC_GLYPHS_RTL visible character trimming mode. 2025-04-12 21:13:19 +03:00
Thaddeus Crews
94282d88f9 Core: Use Math namespace for constants 2025-04-10 16:29:30 -05:00
Pāvels Nadtočajevs
1ddd503213 [RTL] Track external changes in the custom fonts set by BBCode / push_*. 2025-04-11 00:10:45 +03:00
A Thousand Ships
889410dcda Add String::replace_char(s) methods for performance and convenience 2025-04-10 13:08:45 +02:00
Pāvels Nadtočajevs
b106dfd4f9 Base accessibility API. 2025-04-08 20:14:28 +03:00
Yufeng Ying
7a1a970c25 size() <= 0 and size() < 1. 2025-04-02 19:18:44 +08:00
Yufeng Ying
4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
Rémi Verschelde
1a367f3a68 Merge pull request #104685 from bruvzg/rtl_vpad
[RTL] Improve vertical padding.
2025-03-28 17:30:44 +01:00
Pāvels Nadtočajevs
a2919f8127 [RTL] Improve vertical padding. 2025-03-27 08:51:21 +02:00
Pāvels Nadtočajevs
42edbcd748 [RTL] Fix size/alignment of tables with padded cells. 2025-03-26 20:50:59 +02:00
Pāvels Nadtočajevs
7675bc7df6 [RTL] Fix float and int matching in FX environment. 2025-03-24 09:27:22 +02:00
kobewi
10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
Pāvels Nadtočajevs
2bbf0f2317 Add properties to configure space trimming on line break. 2025-03-16 16:15:37 +02:00
Pāvels Nadtočajevs
9f8d8b7c4e [RTL] Fix custom effects not updating. 2025-03-14 16:35:35 +02:00
Rémi Verschelde
cbb1e0ef7a Merge pull request #103653 from dugramen/popup_respect_scale
Apply transforms for LineEdit, RichTextLabel, and TextEdit popup positions
2025-03-12 22:56:58 +01:00
dugramen
ad812cf29d Apply transform for LineEdit, RichTextLabel, and TextEdit popup positions 2025-03-08 17:57:44 -05:00
Thaddeus Crews
3c43508ed7 Merge pull request #102427 from AThousandShips/fix_substr
Clean up some uses of `String::substr`
2025-03-07 15:12:33 -06:00
Thaddeus Crews
6b4fda04c9 Merge pull request #89442 from KoBeWi/internal_duplicaten't
Don't duplicate internal nodes
2025-03-07 12:06:36 -06:00
Thaddeus Crews
5e48f26e7f Merge pull request #103580 from yangyey/bugfixing
Add space for BBCode Ordered Lists
2025-03-07 12:06:32 -06:00
kobewi
92ab92114e Don't duplicate internal nodes 2025-03-07 16:08:53 +01:00
A Thousand Ships
5113022dfe Clean up some uses of String::substr
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
Pedro Yang
9270fcd9d2 Fix #103433: Added space for BBCode Ordered Lists
Now [ol] and [ul] have a seperating space by default
2025-03-04 20:01:18 +00:00
Pāvels Nadtočajevs
7397e33cc9 Fix text shadow outline draw batching. 2025-03-02 19:28:48 +02:00
A Thousand Ships
5dcab0e606 Prevent some internal nodes being duplicated in Controls 2025-02-10 13:27:08 +01:00
Thaddeus Crews
4186f57fe8 Merge pull request #102344 from bruvzg/rtl_reg
[RTL] Fix updating region without updating texture.
2025-02-04 09:04:06 -06:00
Pāvels Nadtočajevs
5b57904bef [RTL] Fix updating region without updating texture. 2025-02-03 00:06:55 +02:00
Pāvels Nadtočajevs
50740c4e91 Make CharFXTransform.font property read only, add some extra documentation notes. 2025-02-02 23:08:35 +02:00
Pāvels Nadtočajevs
a5e8c266af [RTL] Fix ready signal sent too early in single threaded RTL. 2025-01-21 08:37:08 +02:00
Pāvels Nadtočajevs
88a719f291 [RTL] Fix character effect offset. 2025-01-14 11:56:24 +02:00
Pāvels Nadtočajevs
b983b9d9f4 [RTL] Add cell option to control if cell is shrinked to its contents width. 2025-01-13 21:44:06 +02:00
Rémi Verschelde
2c521ea57d Merge pull request #101481 from bruvzg/rtl_fade
[RTL] Fix "fade" effect char index calculations.
2025-01-13 20:22:37 +01:00
HolonProduction
617e3456fd Allow dragging selection when selecting whole words in RichTextLabel 2025-01-13 09:56:09 +01:00
Pāvels Nadtočajevs
c5dc6e1c6d [RTL] Fix "fade" effect char index calculations. 2025-01-13 08:11:59 +02:00
Rémi Verschelde
2e657bf2ae Merge pull request #101205 from voylin/get_visible_line_count_fix
Fix `get_visible_line_count` in RichTextLabel
2025-01-09 13:50:51 +01:00
voylin
3e333df623 fix get_visible_lint_count in RichTextLabel 2025-01-09 10:24:52 +09:00
bruvzg
cc1db569e1 [TextServer] Improve embedded objects handling performance. 2025-01-07 08:01:29 +02:00
Rémi Verschelde
c1f65b429d Merge pull request #100329 from eviltrout/add-custom-line-offset
Add `get_selection_line_offset` to `RichTextLabel`
2025-01-06 22:47:33 +01:00
A Thousand Ships
a1846b27ea Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Yufeng Ying
73d85f46c9 Remove unused headers in scene.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
Rémi Verschelde
8a743f23e6 Merge pull request #98385 from RandomShaper/thread_yield
Rationalize busy waits
2024-12-20 23:56:39 +01:00