Commit Graph

184 Commits

Author SHA1 Message Date
patrick boutot
ae23501700 Slate: Deprecate FSlateFontCache::GetOverflowEllipsisText. The glyph was cached forever. If the glyph contains a material, that material can be invalid/GCed. Reusing that same font later (with the same material but with a different instance) would reuse the same cached glyph with a dangling material pointer.
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20387888 via CL 20387889 via CL 20387896
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20389295 by patrick boutot in ue5-main branch]
2022-05-26 21:24:41 -04:00
David Harvey
9cc4146fbc move HoloLens runtime source to platform extension folder.
#jira UE-149794
#rnx
#rb Jeff.Fisher
#preflight 6284cd49614041edb76395dc

[CL 20258963 by David Harvey in ue5-main branch]
2022-05-18 06:59:59 -04:00
WinsonSS
0a4f4c4f8d PR #9068: Fix Bug: Some calculation with shadow offset doesn't take font scale ? (Contributed by WinsonSS)
#rb vincent.gauthier
#preflight 62557d6f3f5641db59f1d7de

[CL 19719812 by WinsonSS in ue5-main branch]
2022-04-12 09:33:32 -04:00
axel riffard
10f7d75ff4 Siri Remote touch panel is a dpad and add Virtual Keyboard support to tvOS
#rb.jack.porter
#jira UE-93988
#preflight 624576fcf4217035fa87b5c5

[CL 19570813 by axel riffard in ue5-main branch]
2022-03-31 05:55:09 -04:00
jack cai
9ccf699c97 Hlsl Syntax Highlighter:
+Created a custom syntax tokenizer for Hlsl Highlighter. The vanilla tokenizer does a greedy match, which can lead to cases like "FloatA" to be tokenized as "Float" and "A". The new tokenizer is more specific about when to check for a match
+Added ISyntaxTokenizer to be used as a based class for all syntax tokenizers

#jira UE-144112
#rb Halfdan.Ingvarsson
#fyi Jamie.Dale
#preflight skip

[CL 19380707 by jack cai in ue5-main branch]
2022-03-14 20:06:57 -04:00
jack cai
cd701caa55 TextLayout: Fixed a bug caused by LWC, double to float conversion caused a few conditional checks to have unexpected results
#jira none
#rb Jamie.Dale
#preflight skip

[CL 19323416 by jack cai in ue5-main branch]
2022-03-09 13:43:58 -05:00
jack cai
8078e3a885 SlateEditableTextLayout: Improved Scroll Behavior during search
+changed to apply minimal scroll needed to show the entirety of the matched text
+Scroll to the beginning of the line if both the line beginning and the matched text can fit into the view and if we are going from right to left

#jira none
#rb trivial
#preflight skip

[CL 19314473 by jack cai in ue5-main branch]
2022-03-08 19:59:08 -05:00
marshall beachy
ae2970a82a Converted SlateImageRun / SlateWidgetRun over to use a TAttribute<int16> for a baseline value, which allows for lambdas to be passed in. Updated all call sites that are reliant on the font service to request their baseline on demand. Fixes issues where the baseline was being computed before the font was loaded, resulting in an incorrect baseline value being used.
[REVIEW] [at]jamie.dale, [at]matt.kuhlenschmidt, [at]nick.darnell

#ROBOMERGE-AUTHOR: marshall.beachy
#ROBOMERGE-SOURCE: CL 19223208 via CL 19225521 via CL 19235407 via CL 19235442 via CL 19235445
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19236572 by marshall beachy in ue5-main branch]
2022-03-02 21:14:02 -05:00
marc audy
6553e6cd0a Remove as much C++ deprecation as possible up to 4.17 (along with a few scattered removals from beyond)
#preflight 61eefc77ba69a4fdb220bf23

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 18712765 in //UE5/Release-5.0/... via CL 18712784 via CL 18713147
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18713191 by marc audy in ue5-main branch]
2022-01-24 15:07:48 -05:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
matt kuhlenschmidt
dc1bc4eae2 Slate text widgets now have a "Text Overflow" argument that dicates what happens to text when it is larger than its clip rect. The two overflow methods are Clip and Ellipsis. Clip is the default and existing behavior where text is clipped per pixel. Ellipsis replaces clipped text with a "..." string to provide a more polished look when text is clipped.
Supports left and right justification and left and right text flows.

The ellipsis uses the U+2026 character or 3 dots if the font does not have U+2026. Localizers can override the text used.

Unsupported:
- Simple, non-shaped text
- Non-axis aligned clip rects.
- Center justified text

#rb jamie.dale
#preflight 0f59f9a92cf890001166d15

#ROBOMERGE-SOURCE: CL 16898534 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16898560 by matt kuhlenschmidt in ue5-release-engine-test branch]
2021-07-20 13:21:50 -04:00
aurel cordonnier
02c0f425e8 Copy up from Release-Engine-Staging @ 16738359
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719

[CL 16738582 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-22 00:27:54 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00
Tim Smith
63de04a398 Fixing PVS 7.7 Issues:
warning V1065: Expression can be simplified, check 'XYZ' and similar operands.

#rb trivial
#jira UE-91644

[CL 15054409 by Tim Smith in ue5-main branch]
2021-01-12 16:18:42 -04:00
Josh Adams
5f135531a3 - Removed remaining vestiges of PLATFORM_TCHAR_IS_1_BYTE
#fyi jean-francois.dube

[CL 14483870 by Josh Adams in ue5-main branch]
2020-10-13 15:25:44 -04:00
Jason Bestimt
07c588c05c Merge keyboard fixes for HL2 (CL 14386403)
#RB: jackson.fields
#JIRA: UEVR-1962

[CL 14387000 by Jason Bestimt in ue5-main branch]
2020-09-24 10:59:41 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Matt Kuhlenschmidt
a8c78a7b5d Fixed up default highlight colors for text widgets
[CL 13955831 by Matt Kuhlenschmidt in ue5-main branch]
2020-07-28 11:36:51 -04:00
jamie dale
a8fc10aff0 Added an option to TextBlock/RichTextBlock to control the lexical transformation of the display text
This can be used to make the display text appear in all lower or upper case, and is preferred when using rich-text as the transformation can affect the format markup and break the parser

#rb Nick.Darnell

#ROBOMERGE-OWNER: jamie.dale
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 12974426 via CL 12974446 via CL 12974447 via CL 12974452
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12974455 by jamie dale in Main branch]
2020-04-22 10:07:44 -04:00
peter sauerbrei
fa55ae770c potential fix for crash while trying to hide the system text field
#rb lincoln.green


#ROBOMERGE-SOURCE: CL 11569658 via CL 11569661 via CL 11569931 via CL 11569966 via CL 11570010
#ROBOMERGE-BOT: (v654-11333218)

[CL 11570055 by peter sauerbrei in Main branch]
2020-02-20 16:17:19 -05:00
peter sauerbrei
6c3dab586e fix for crash when opening Locker Search bar on iOS with controller.
#rb thomas.ross


#ROBOMERGE-SOURCE: CL 11297003 via CL 11297009 via CL 11297035 via CL 11297059
#ROBOMERGE-BOT: (v647-11244347)

[CL 11297677 by peter sauerbrei in Main branch]
2020-02-07 17:46:17 -05:00
rafael cote
096a657fa8 Change the order of verification and the virtual keyboard dismiss logic in the hide method of IOSPlatformTextField.
[at]Peter.Sauerbrei


#ROBOMERGE-SOURCE: CL 11029027 via CL 11029079 via CL 11029103
#ROBOMERGE-BOT: (v633-10983880)

[CL 11033599 by rafael cote in Main branch]
2020-01-16 14:30:06 -05:00
nicolas bongi
6c574781d0 Back out changelist 10635678 to avoid heap-buffer-overflow, revert Fix for font size multiplier on text with Decorator
#rnx


#ROBOMERGE-SOURCE: CL 10905486 via CL 10905490 via CL 10905491 via CL 10905492 via CL 10905496
#ROBOMERGE-BOT: (v626-10872990)

[CL 10905498 by nicolas bongi in Main branch]
2020-01-08 12:10:19 -05:00