Commit Graph

371 Commits

Author SHA1 Message Date
316b50ba8d [TextServer] Use all available space when string is too short for ellipsis. 2025-02-10 08:24:46 +02:00
b50d9742c2 Fix is_valid_float, Variant parser, Expression parser, script highlighter, and TextServer not handing capital E in scientific notation. 2025-02-05 18:39:40 +02:00
f2709c7ded [TextServer] Fix line/word breaks not always updated when applying overrun. 2025-02-04 11:37:05 +02:00
382c760ea6 SCons: Apply new ruff/mypy fixes 2025-02-03 09:55:09 -06:00
7f4481284e [TextServer] Fix embedded object keys in substrings. 2025-01-19 10:22:46 +02:00
14093fdacf [TextServer] Fix ICU data incorrectly marked as loaded even if file was not found. 2025-01-17 15:46:04 +02:00
fd88acc671 Merge pull request #101008 from Repiteo/scons/nocache-all-text
SCons: Properly `NoCache` all text files
2025-01-16 17:17:59 -06:00
73278bf35d SCons: Properly NoCache all text files 2025-01-16 16:59:12 -06:00
43bc44e3b0 [TextServer] Fix text buffer not processing strings added after shape. 2025-01-16 08:57:27 +02:00
85fbf7ca84 Merge pull request #101367 from akien-mga/msdfgen-1.12
msdfgen: Update to 1.12
2025-01-10 23:06:25 +01:00
c97c7b73e6 msdfgen: Update to 1.12 2025-01-09 22:03:43 +01:00
269b1dfa03 harfbuzz: Update to 10.1.0 2025-01-09 21:04:11 +01:00
f1f33169d9 SCons: Specify optional dependencies for modules 2025-01-08 21:59:18 -06:00
76c8e76560 Merge pull request #101284 from akx/tyops
A handful of typo fixes
2025-01-08 15:53:33 +01:00
f134769506 Fix various typos
* Add TODO notes for typos that should be fixed for 5.0

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-08 14:47:42 +02:00
a29294fddc SCons: Refactor color output implementation 2025-01-07 18:44:53 -06:00
6e9be55ee2 Merge pull request #100104 from bruvzg/ts_data_in_template
[Export] Allow using ICU data from export templates instead of editor embedded data.
2025-01-07 10:14:34 +01:00
3d60ce9389 [Export] Allow using ICU data from export templates instead of editor embedded data. 2025-01-07 08:15:09 +02:00
cc1db569e1 [TextServer] Improve embedded objects handling performance. 2025-01-07 08:01:29 +02:00
33817b186f Remove unused header in drivers and modules.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2024-12-24 00:40:47 +08:00
15b4331fb1 [TextServer] Fix use of find_char in text servers
The `find_char` method is not (currently) available to extensions and
can't be used in the text servers which can be built as extensions, so
now controlled by compile option
2024-12-19 21:44:30 -05:00
d45825347d Merge pull request #100300 from edwin0cheng/improve_emoji
Improve emoji SVG parsing by caching
2024-12-18 17:23:28 +01:00
61d387135f Improve emoji SVG parsing by caching
Basically, when we first encounter the document, we parse it as before, but we also note the offsets of other glyphs and store the remaining XML. The next time we see another glyph, we can simply parse that glyph node and insert it back into the stored XML.
2024-12-18 19:02:03 +08:00
182b4741ea Merge pull request #93479 from Repiteo/scons/better-colored-output
SCons: Improve colored output
2024-12-17 16:18:41 +01:00
f962fdce0e Merge pull request #100185 from Repiteo/scons/fix-thirdparty-warnings
SCons: Fix MSVC bypassing disabled warnings
2024-12-10 14:16:02 -06:00
d8761f2c79 SCons: Improve colored output 2024-12-10 11:44:48 -06:00
070aeb5688 SCons: Fix MSVC bypassing disabled warnings 2024-12-09 11:49:42 -06:00
b5c31ebb41 Add contains_char() for single-character 'contains' calls. 2024-12-06 20:23:35 +01:00
26e7b6bdd6 Merge pull request #99164 from bruvzg/int_files
[Export] Write text server data from memory, instead of using temporary file.
2024-12-03 14:40:58 -06:00
c5ca56f40b [Export] Write text server data from memory, instead of using temporary file. 2024-12-02 18:22:55 +02:00
fa264115ce Merge pull request #98664 from bruvzg/ts_reset_subpixel_shift
[TextServer] Reset subpixel shift on blank glyphs.
2024-12-02 17:20:07 +01:00
d58b2e879f Get rid of easily removable uses of const_cast 2024-12-01 17:50:13 -08:00
7f37e88658 Fix SVG font rendering. 2024-11-21 22:11:53 +02:00
4daa336d92 [TextServer] Only load ellipsis glyph when it's used. 2024-11-05 11:04:48 +02:00
e81a2afbc4 [TextServer] Reset subpixel shift on blank glyphs and import option to enable/disable it. 2024-11-01 10:18:57 +02:00
e698870caa Update ICU to 76.1 2024-10-24 22:47:59 +03:00
991b741f6c Merge pull request #97677 from bruvzg/hb1001
Update HarfBuzz to 10.0.1
2024-10-02 15:01:23 +02:00
24b4607309 Merge pull request #97693 from bruvzg/ts_fb_silent
[TextServer] Silently skip invalid system fallback fonts.
2024-10-01 17:33:38 +02:00
d222daa9c8 [TextServer] Silently skip invalid system fallback fonts. 2024-10-01 17:22:16 +03:00
b6a369de79 Update HarfBuzz to 10.0.1 2024-10-01 08:20:45 +03:00
c4b7d6f5c3 Fix ICU support data loading
This fixes an error in loading the ICU support data on platforms that
don't use either the builtin icu4c or the static ICU support data.
2024-09-30 09:03:15 -07:00
9f9ee0c813 SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
b37fc1014a Style: Apply new clang-format changes 2024-09-20 08:09:48 -05:00
13a90e938f Merge pull request #70096 from rune-scape/stringname-dict
StringName Dictionary keys
2024-09-03 17:38:06 +02:00
154049ce17 StringName Dictionary keys
also added 'is_string()' method to Variant
and refactored many String type comparisons to use it instead
2024-08-29 13:39:27 -07:00
4ba7738a1f TextServerAdvanced: improve performance by removing redundant lookups
+ caching editor setting
+ using a faster hash method on the FontForSizeAdvanced cache
+ SafeFlag for ShapedTextDataAdvanced::valid
2024-08-28 13:01:11 -07:00
f01e052162 Merge pull request #95549 from timothyqiu/split-translation-server
Split `TranslationServer` into its own file
2024-08-16 14:36:16 +02:00
751d285f3f Merge pull request #95417 from bruvzg/win_dll_exports
Remove unnecessary DLL export attributes.
2024-08-16 14:34:08 +02:00
7343dc3a5d Split TranslationServer into its own file 2024-08-15 15:00:47 +08:00
3156856aa1 Remove unnecessary DLL export attributes. 2024-08-12 09:53:05 +03:00