Commit Graph

654 Commits (cb1569345a6f17da08241e645ab03cb2e1b78d2f)

Author SHA1 Message Date
Haoyu Qiu 72d437c030 Move localized number formatting methods to TranslationServer
Co-Authored-By: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-11-10 15:01:22 +07:00
Thaddeus Crews 6af0c2a21c
Merge pull request #110340 from bruvzg/ts_dup_r
[RTL] Use separate paragraph copy for the partially visible paragraphs.
2025-11-07 10:32:27 +07:00
Pāvels Nadtočajevs 0d19e18b00
[RTL] Use separate paragraph copy for the partially visible paragraphs. 2025-11-05 17:51:22 +07:00
Pāvels Nadtočajevs dcb40b52ac
[RTL] Fix meta hover signals not emitted. 2025-11-05 12:33:45 +07:00
Robob27 82ddbe7878 Fix scrollbar render with RTL scroll following visible 2025-10-27 06:37:18 +07:00
Thaddeus Crews 9e96c7d9b8
Merge pull request #110378 from timothyqiu/rtl-preview
Make text-related nodes translation domain aware
2025-10-16 12:48:05 +07:00
Lukas Tenbrink 33689d7beb Remove transitive `mesh.h`, `rendering_server.h` and `shader.h` includes from `node.h`. 2025-10-08 12:16:52 +07:00
Thaddeus Crews ccccb9d3cb
Merge pull request #111258 from Koyper/fix_rich_text_label_bullet_list_issues
[RichTextLabel] Fix bullet list font color and formatting issues
2025-10-07 11:54:43 +07:00
Thaddeus Crews 9efb50bad7
Merge pull request #111250 from scgm0/Fix-RichTextLabel-Focus
Fix RichTextLabel Focus Box
2025-10-07 11:54:39 +07:00
Koyper faf1ab126d Fix RichTextLabel bullet list font issues 2025-10-07 09:52:34 +07:00
chocola-mint 19c47c5d99 Remove `#include "scene/main/timer.h"` from `control.h` 2025-10-05 14:41:06 +07:00
scgm0 8657d8a090 Fix RichTextLabel Focus 2025-10-04 20:52:03 +07:00
Thaddeus Crews 71a485a1af
Merge pull request #104715 from Andrewyuan34/add-auto-scroll
Add auto-scroll behavior when selecting text outside the visible area in RichTextLabel
2025-10-03 12:01:05 +07:00
Thaddeus Crews 38af23a654
Merge pull request #89409 from aaronfranke/server-folders
Move server files into their subfolders
2025-10-03 12:01:00 +07:00
Thaddeus Crews 486626413b
Merge pull request #110444 from bruvzg/rtl_bb_sp
[RTL] Fix `outline_size=0` and `font`/`otf` tags with invalid arguments breaking tag stack and spamming errors.
2025-10-01 13:12:39 +07:00
Aaron Franke 3d1c9fd5de
Move server files into their subfolders 2025-09-30 19:39:39 +07:00
Pāvels Nadtočajevs 9a1fbff651
[RTL] Fix `outline_size=0` and `font`/`otf` tags with invalid arguments breaking tag stack and spamming errors. 2025-09-27 20:42:05 +07:00
Aaron Franke 1a7be001d2
Use const Array ref in `set_structured_text_bidi_override_options` 2025-09-26 14:31:38 +07:00
Thaddeus Crews be421bcdd4
Merge pull request #110250 from YeldhamDev/i_just_cant_keep_focused
Hide `Control` focus when given via mouse input
2025-09-22 13:28:44 +07:00
Haoyu Qiu 172c80df67 Make text-related nodes translation domain aware
- Makes `is_layout_rtl()` translation domain aware
- Makes various text-drawing controls translation domain aware
- Makes translation preview use the project's fallback locale when disabled
2025-09-22 09:39:14 +07:00
kobewi 98a4b46b6a Add more PROPERTY_HINT_GROUP_ENABLE uses 2025-09-20 21:11:12 +07:00
Michael Alexsander aeb3a45c97
Hide `Control` focus when given via mouse input 2025-09-19 13:43:29 +07:00
Thaddeus Crews 2c1ad5b07a
Merge pull request #109031 from bruvzg/tab_spacing
Include `SPACING_SPACE` in tab stops calculation.
2025-09-19 09:17:00 +07:00
Pāvels Nadtočajevs 0bd9437237
[RTL] Fix text around `visible_characters` boundary being added twice to the buffer. 2025-08-17 18:45:25 +07:00
Thaddeus Crews 6807ec688d
Merge pull request #109441 from aaronp64/rtl_table_search
Fix issues searching `RichTextLabel` when search result is in a table
2025-08-11 09:55:19 +07:00
aaronp64 f0eddb8e6f Fix issues searching RichTextLabel when search result is in a table
Fixes for cases where search results would be skipped or repeatedly found involving tables in RichTextLabel:
- If previous result was found in last cell of table, earlier cells would be skipped, since the end of the table was reached.  Updated to not skip earlier cells when searching in reverse.
- When choosing next line to continue from after searching table, the inner line number within the table's cell was added, causing the search to jump forward if not on line 0 in the cell.  This could cause lines to get skipped when searching forward, or searching the table again when searching in reverse.  Updated to continue from the immediate next line before/after the table.
- If a table cell has multiple lines, repeated searching would only include the line where the previous result was found, then jump to the next cell.  Updated to search remaining lines in the same cell first.
2025-08-08 15:28:53 +07:00
Pāvels Nadtočajevs d13b5361b4
[TextServer] Fix caret hit test rounding. 2025-08-08 11:06:07 +07:00
Thaddeus Crews f9313aa27b
Merge pull request #108924 from bruvzg/ac17
Update access-kit to 0.17.0
2025-07-31 10:39:09 +07:00
Pāvels Nadtočajevs 3f757c41fc
Update access-kit to 0.17.0 2025-07-29 08:37:01 +07:00
Pāvels Nadtočajevs 2409956297
Include `SPACING_SPACE` into tab stops calculation. 2025-07-27 21:26:36 +07:00
DanielSnd c424d85a73 Fix RichTextLabel nested tables not sizing properly. 2025-07-24 08:54:58 +07:00
Pāvels Nadtočajevs 2a5833148d
[RTL] Fix text selection offset in padded cells. 2025-07-14 10:43:48 +07:00
Thaddeus Crews d36f394714
Merge pull request #108399 from bruvzg/rtl_vflscr
[RTL] Add option to scroll follow visible characters.
2025-07-10 11:39:31 +07:00
Thaddeus Crews c83ccae9bf
Merge pull request #108469 from bruvzg/rtl_emb_click
[RTL] Fix padding and alignment of embedded image clicks.
2025-07-10 11:39:29 +07:00
Pāvels Nadtočajevs 45a564f4f8
[RTL] Add option to scroll follow visible characters. 2025-07-10 17:30:09 +07:00
Pāvels Nadtočajevs 406a22d0da
[RTL] Add method to get visible content bounding box. 2025-07-10 15:49:35 +07:00
Pāvels Nadtočajevs 17e050c64f
[RTL] Fix padding and alignment of embedded image clicks. 2025-07-10 15:12:10 +07:00
Rémi Verschelde 95e72a36f3
Merge pull request #107347 from bruvzg/hr_hr_hr
[RTL] Decouple image width/height "in percent" properties. Add [hr] tag support.
2025-06-13 01:30:47 +07:00
Rémi Verschelde 1a64b6b5b6
Merge pull request #106913 from Ivorforce/string-resize-uninitialized
Rename `String::resize` to `resize_uninitialized`
2025-06-12 22:48:45 +07:00
Lukas Tenbrink b13a0e1834 Rename `String::resize` to `resize_uninitialized`, to better communicate to callers that new characters must be initialized. 2025-06-11 18:13:02 +07:00
Pāvels Nadtočajevs c11c44961b
Improve performance of `visible_characters`updates in `VC_CHARS_BEFORE_SHAPING` mode. 2025-06-11 10:59:06 +07:00
Pāvels Nadtočajevs cbd1e1cfe9
Partially revert 107110, process all lines in VC_CHARS_BEFORE_SHAPING mode to return correct line count. 2025-06-10 20:44:28 +07:00
Pāvels Nadtočajevs a262747cdf
[RTL] Decouple image width/height "in percent" properties. Add [hr] tag support. 2025-06-10 12:22:02 +07:00
Pāvels Nadtočajevs 1e2fc9bcad
[RTL] Add paragraph separation theme property. 2025-06-10 12:13:48 +07:00
Rémi Verschelde 63578eae68
Merge pull request #107110 from bruvzg/rtl_vis_line
Unify `get_[_visible]paragraph/line_count` behavior.
2025-06-09 00:44:37 +07:00
AndrewYuan34 4774b57e4d Add auto-scroll behavior when selecting text outside the visible area in RichTextLabel 2025-06-07 11:28:54 +07:00
Rémi Verschelde d37a1134eb
Merge pull request #107092 from bruvzg/rtl_ol_offset
[RTL] Fix outline offset.
2025-06-05 13:13:36 +07:00
Pāvels Nadtočajevs 332352d37f
[RTL] Add options to override underline color and default alpha. 2025-06-05 12:39:25 +07:00
Pāvels Nadtočajevs f4f26e6edc
Unify `get_[_visible]paragraph/line_count` behavior. 2025-06-04 09:39:01 +07:00
Pāvels Nadtočajevs 3652614837
[RTL] Fix outline offset. 2025-06-03 19:35:18 +07:00