56e54b49b6
Merge pull request #81551 from YuriSizov/gui-cache-all-the-theme
...
Bind remaining theme properties to their respective classes
2023-09-14 15:21:45 +02:00
fe000277ea
Bind remaining theme properties to their respective classes
...
This adds binds for GraphEdit/GraphElement/GraphNode, which were
skipped before due to a rework. This also adds binds for Window,
which was skipped before due to a complicated code organization.
Also adds theme cache entries/direct cache access to a few places
that previously missed it. Some theme properties are now exposed
to other classes via friendships or public getters for convenience.
This removes all string-based theme access from scene/ classes.
2023-09-13 19:31:35 +02:00
a29416e332
[Scene,Main] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
2023-09-12 12:53:06 +02:00
5c43e4c1ef
Fix various typos with codespell
...
Using 2.2.6.dev180+ge3a2cfbd.
2023-09-12 08:54:18 +02:00
2924bfd4d3
Register theme properties with ThemeDB
2023-09-11 13:45:23 +02:00
ba1089689a
Merge pull request #80954 from bruvzg/sp_per_font
...
[Text Server] Store extra spacing of individual font variations.
2023-08-28 20:37:58 +02:00
713bfaf5ea
Merge pull request #81064 from bruvzg/rtl_char_count_line_edge
...
[RTL] Fix character line index for non-visual characters and characters on the line edge.
2023-08-28 12:12:22 +02:00
b00796eb1a
Merge pull request #79818 from garychia/select_all
...
RichTextLabel: Ensure the `select_all` function selects all items
2023-08-28 12:03:29 +02:00
2273509721
[RTL] Fix character line index for non-visual characters and characters on the line edge.
2023-08-28 10:50:01 +03:00
88177a5a58
[RTL] Use list iterators for item/paragraph removal.
2023-08-25 17:49:13 +03:00
d66c7a2ac5
Ensure the 'select_all' function selects all items
2023-08-25 21:07:33 +08:00
5453503697
[Text Server] Store extra spacing of individual font variations.
2023-08-24 11:58:12 +03:00
8e0346bade
Merge pull request #80848 from bruvzg/rtl_lang
...
[RTL] Adds "lang" tag to allow overriding language specific text rendering without starting a new paragraph.
2023-08-21 19:32:29 +02:00
299808cc26
[RTL] Adds "lang" tag to allow overriding language specific text rendering without starting a new paragraph.
2023-08-21 14:56:43 +03:00
cd6b0368f6
[RTL] Fix remove_paragraph crashes.
2023-08-21 14:36:07 +03:00
b51ee8b029
Merge pull request #80650 from bruvzg/comp_char_fix
...
[TextServer] Fix system font fallback and caret/selection behavior for composite characters.
2023-08-18 17:24:54 +02:00
5d3fcc5766
[TextServer] Fix system font fallback and caret/selection behavior for composite characters.
2023-08-15 11:42:40 +03:00
3709ca5404
[RTL] Improve scroll bar responsiveness during updates.
2023-08-14 11:36:05 +03:00
3e958cfa8d
Merge pull request #79705 from 398utubzyt/gui/snap-charfx-fix
...
GUI: Snap CharFX offset to nearest pixel when setting is enabled
2023-08-02 12:18:46 +02:00
d8cbb6d645
Merge pull request #79563 from danny88881/drag-and-drop-text-setting
...
Add drag'n'drop text option for `LineEdit` and `RichTextLabel`
2023-08-02 12:17:56 +02:00
e38dc58199
Merge pull request #76759 from Nidjo123/master
...
Fix RichTextLabel character line and paragraph index getters
2023-07-21 17:54:11 +02:00
aac2dfc1b4
Snap CharFX transforms to pixels when enabled
2023-07-20 06:01:08 -07:00
cfe98c57b9
Add drag and drop option for line edit and rich text label
2023-07-19 22:18:34 -04:00
7e21eb7e00
Extract and reorganize texture resource classes
2023-07-14 20:04:21 +02:00
5c56206e6c
Merge pull request #79011 from bruvzg/pop_all
...
[RTL] Add `pop_all`, `push_context` and `pop_context` methods, and use it for `print_rich` to avoid unclosed tags.
2023-07-14 18:49:21 +02:00
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
5216a08617
[RTL] Add pop_all, push_context and pop_context methods, and use it for print_rich to avoid unclosed tags.
2023-07-09 19:53:15 +03: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
e2536d0643
Fix RichTextLabel character line and paragraph index getters
2023-05-05 21:10:27 +02: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