5167bed9f0
Merge pull request #79053 from Daylily-Zeleen/daylily-zeleen/rich_text_label_missing_default_method_value
...
Bind missing default value for `RichTextLabel` methods.
2023-07-12 15:09:41 +02:00
7550b02dfc
Merge pull request #77117 from Calinou/richtextlabel-add-pulse-effect
...
Add a `[pulse]` built-in effect to RichTextLabel
2023-07-12 15:08:43 +02:00
4029a05fae
Add missing default value for RichTextLabel method
2023-07-11 11:17:45 +08:00
1b38e9258b
Merge pull request #78975 from YuriSizov/rtl-fix-refactoring-typo
...
Prevent crash when processing line caches in `RichTextLabel`
2023-07-03 15:26:31 +02:00
40f2227a65
Prevent crash when processing line caches in RichTextLabel
2023-07-03 13:33:51 +02:00
21365606d3
[RTL] Fix multithreaded scrollbar visibility update 2.
2023-07-03 10:34:42 +03:00
ec97c7c1d9
[RTL] Fix multithreaded scrollbar visibility update.
2023-06-29 15:37:54 +03:00
cda9cd7587
[RTL] Fix multithreaded resizing.
2023-06-14 23:15:16 +03:00
38b8e23206
[RTL] Fix parsing tags with multiple features.
2023-06-13 15:24:30 +03:00
488626701d
Fix editor log flicker.
2023-06-12 20:15:23 +03:00
37d1dfef9d
Merge pull request #78000 from RandomShaper/let_users_mess_up
...
Let user scripts disable thread safety checks
2023-06-10 12:12:13 +02:00
dcd2b883eb
Use NULL instead of COND checks when appropriate
...
Restricted to scene
2023-06-10 08:56:30 +02:00
2b001db76e
Let user scripts disable thread safety checks
2023-06-09 18:24:01 +02:00
70e6c3cbb0
Add a [pulse] built-in effect to RichTextLabel
...
In games, blinking text is one of the more frequently used animations.
It can be (sparingly) used to bring attention to important messages
in a chat log or inventory tooltip, for instance.
This effect accepts the following options:
- `freq`: How fast text blinks (higher is faster).
- `color`: The target color multiplier for blinking.
The default mostly fades out text, but not entirely (for better accessibility).
- `ease`: The easing function exponent to use.
Negative values provide in-out easing, which is why `-2.0` is the default.
2023-06-05 18:45:00 +02:00
a1058313a9
Merge pull request #75622 from joao-pedro-braz/parse_string_paths_with_quotes_correctly_bb_code
...
Make sure to normalize subtags when parsing BBCode
2023-05-24 08:45:35 +02:00
adbdf9a86e
Merge pull request #77234 from RandomShaper/fix_rtl_mt
...
Allow threads to mark themselves as safe for nodes
2023-05-24 08:42:59 +02:00
e725b4b02b
Allow threads to mark themselves as safe for nodes
2023-05-24 00:22:58 +02:00
8b6e57256f
Make sure to normalize subtags when parsing BBCode
...
This PR makes it so that all subtags are normalized before usage.
Normalization means removing any leading and/or trailing quotation marks
from any given subtag.
Fixes: https://github.com/godotengine/godot/issues/75501
2023-05-23 18:55:06 -03:00
fb78889904
[RichTextLabel] Add support for tab stops.
2023-05-20 22:58:51 +03:00
9163d8c336
Expose TextServer justification flags to Label, Label3D, TextMesh and RTL. Add flags to control last/single line justification.
2023-05-15 19:23:54 +03:00
fb3e4e7967
Merge pull request #75975 from bruvzg/bidi_and_log_errors
...
Improve line BiDi handling, prevent crash on recursive log updates.
2023-04-12 13:28:12 +02:00
282e4231c2
Improve line BiDi handling, prevent crash on recursive log updates.
2023-04-12 11:39:05 +03:00
d904516e55
[TextServer] Use dedicated flag for object replacement characters.
2023-04-12 10:08:51 +03:00
23a3e3984b
Merge pull request #74117 from Animtim/RichTextLabel_LocalizationFix
...
Add translation support to RichTextLabel
2023-04-11 19:40:07 +02:00
ca808c88a4
Merge pull request #71747 from Koyper/rich_text_label_dropcap_selection_bug
...
Fixed RichTextLabel wrong selection offset after drop cap
2023-04-11 18:25:39 +02:00
99376eebe0
Fixed RichTextLabel wrong selection offset after drop cap.
2023-04-11 10:09:26 -05:00
e861ea5903
Add translation support to RichTextLabel
...
BUG: 34050
add translation support to RichTextLabel, and respect its Auto Translate setting
2023-04-11 14:17:59 +02:00
6a65597569
Merge pull request #71742 from Koyper/rich_text_label_cell_padding_select_bug
...
Fixed RichTextLabel wrong selection offset in padded table cell.
2023-04-11 13:16:35 +02:00
36141dc469
Fix get_drag_data not overridable in some Controls
2023-03-20 21:42:13 +01:00
4793b6eee9
[RTL] Add option to customize list bullet, use U+2022 by default.
2023-03-17 09:34:28 +02:00
44592c8c19
Fix RichTextLabel crash with out of bound exception
...
Fixes #68242 .
2023-02-28 22:49:57 +01:00
28b7556914
Ensure minimal thickness for RichTextLabel underlines
2023-02-19 13:42:25 +01:00
7246b229e1
Set RTL minimal dash size to 2.0, add invalid dash size error to the draw_dashed_line.
2023-02-17 08:53:08 +02:00
22dd621cf9
RichTextLabel fixes
...
- Unexpose ItemType enum, since it is not used in public API.
- Fix documentation for meta tag, since it has no BBCode equivalent.
2023-02-14 17:20:05 +01:00
fb107e04d3
Fix RichTextLabel context menu not customizable
2023-02-03 12:07:36 +03:00
0cc1f4240a
[RichTextLabel] Fix thread unsafe set_physics_process_internal usage. Use WorkerThreadPool instead of creating new threads.
2023-01-30 20:47:45 +02:00
af1ef4c94f
Merge pull request #72149 from MinusKube/rich_text_visible_chars_bug
...
Fix char offset calculation when processing RichTextLabel line caches
2023-01-27 10:30:15 +01:00
03df4e3fce
Fix char offset calculation when processing RichTextLabel line caches
2023-01-27 01:54:47 +01:00
8cebd0a2ce
Merge pull request #71983 from vmedea/push-customfx
...
Expose RichTextLabel::push_customfx to GDScript
2023-01-25 14:41:01 +01:00
fd66a86d72
Merge pull request #71330 from Geometror/richtextlabel-fit-content
...
[RichTextLabel] Match minimum size calculation of Label (proper content fitting)
2023-01-25 09:16:38 +01:00
be733ea3d1
Expose RichTextLabel::push_customfx to GDScript
2023-01-24 18:16:24 +01:00
6f11cf7d31
Fixed RichTextLabel wrong selection offset in padded table cell.
2023-01-20 09:55:27 -06:00
5361ec9f43
Implement BiDi override mode for GDScript source.
2023-01-18 19:22:20 +02:00
e59d6b1b8c
[RichTextLabel] Match minimum size calculation of Label
...
(optional via fit_content property)
2023-01-13 15:17:26 +01:00
312703ca1f
Merge pull request #70566 from cg9999/richtextlabel_fix
...
Fix crash in RichTextLabel table parsing
2023-01-12 14:52:02 +01:00
81d0f42800
Fix crash in RichTextLabel table parsing
...
Fixed with help of feedback from bruvzg. Prevents invalid items getting to stack.
2023-01-12 12:27:25 +02:00
d95794ec8a
One Copyright Update to rule them all
...
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
ecc5c275f4
Merge pull request #70407 from Koyper/rich_text_bold_italics
...
[RTL] Fix push bold or italics not using bold_italics_font when required
2022-12-23 00:10:53 +03:00
81343ae210
Fixed RichTextLabel push bold/italic to correctly use bold_italic font.
2022-12-22 13:30:52 -06:00
e846b22da6
Renamed RTL remove_line() to remove_paragraph().
2022-12-21 11:54:18 -06:00