Commit Graph

1387 Commits

Author SHA1 Message Date
bryan sefcik
07894f4a07 Removed redundant private include paths from build.cs files.
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.

#jira
#preflight 631a717cec45fbf3d74d4ba7

[CL 21916033 by bryan sefcik in ue5-main branch]
2022-09-09 00:53:22 -04:00
lina lam
fc382c5408 Improved import setting button behaviour:
When users click on import and open an appearance setting, it will automatically apply the theme if it exists. If not, prompt users to import a theme from the same location as the Appearance setting config file. If import succeeds, the new theme is applied and the .json file is copied to user-level theme directoy. If users choose not to import, keep the current theme.

#jira UE-160593: Update Theme Saving Location
#rb Sebastian.Nordgren
#preflight 631a105fd31788ea3a46ff72

[CL 21895626 by lina lam in ue5-main branch]
2022-09-08 12:17:14 -04:00
steve robb
1b07d845e6 Delegate move semantics.
Interface support for AddDynamic and BindDynamic.
Nested binding types deprecated (only ever used for getting a function pointer - better options exist).

#rb andriy.tylychko
[FYI] paxton.mason
#preflight 6317a205b069eea9ab10d46b

[CL 21835802 by steve robb in ue5-main branch]
2022-09-06 20:07:34 -04:00
joe pribele
3cdbbb2797 [CoreUObject] fix for PrintScriptCallstack not printing callstack to the immediate window
logging buffers any call not from the logging thread, added a call to Flush() to force the logger write.

added to improve efficiency in building a stacktrace

FFrame::GetStackDescription(FStringBuilderBase& StringBuilder)
FFrame::GetStackTrace(FStringBuilderBase& StringBuilder)
FFrame::GetScriptCallstack(FStringBuilderBase& StringBuilder, bool bReturnEmpty = false, bool bTopOfStackOnly = false)
UObjectBaseUtility::GetFullName(FStringBuilderBase& ResultString, const UObject* StopOuter = NULL, EObjectFullNameFlags Flags = EObjectFullNameFlags::None) const

#jira UE-161358
#rb zousar.shaker devin.doucette
#preflight 63178f86304480f8f8e1c961

[CL 21826435 by joe pribele in ue5-main branch]
2022-09-06 15:08:01 -04:00
daren cheng
12c7fd4ea4 Add new LLM subtags for UI & increase UI LLM coverage.
#jira UE-154837
#rb ionut.matasaru, Vincent.Gauthier
#preflight 6305051bc00af5e2942bdb21

[CL 21525488 by daren cheng in ue5-main branch]
2022-08-23 19:31:20 -04:00
lina lam
4b968ac633 Added import/export buttons to Active Theme:
- Clicking "Import..." opens "document" from the OS window. Importing a theme will update the current active theme. After import, this theme should be found where user imported it from (i.e., document) AND the themes folder within the engine. Cannot import a theme with names that already exist. Also cannot import an invalid .json file.

- Clicking "Export..." opens "document" from the OS window. After export, this theme should be found where user exported it to (i.e., document) AND remain in the themes folder within the engine.

- Both import and export will prompt success/failure message within the engine.


UI Changes:
- "Color" header for Active Theme is now called "Theme"
-  Uploaded new icons for import / export (both 16x16 and 20x20 versions)
-  ThemeID now also gets exported when exporting Appearance setting.
- "Viewport Selection Color" and "Editor Window Background Color" are now under "User Interface"


#jira UE-160592: Import/Export Workflow for Themes
#rb editor-ux
#preflight 6304d98fc85b7fef228068f7

[CL 21507950 by lina lam in ue5-main branch]
2022-08-23 10:15:02 -04:00
lina lam
d2abde83a4 Duplicating a theme will now start from the current theme rather than the default dark theme.
#preflight 62f41b10bc175ec68c4f5ca1

[CL 21326231 by lina lam in ue5-main branch]
2022-08-10 17:10:45 -04:00
lina lam
75109aab0b Added a Delete button for Active Themes. When users delete any user-created themes, they're prompted with a "Are you sure" dialog box. If the user selects "OK", the active theme is set to the default dark theme. When the active theme is Dark, users do not have the option to delete it.
#preflight 62f2a91ee36c91e6860d6cd5

[CL 21294924 by lina lam in ue5-main branch]
2022-08-09 14:44:39 -04:00
ennorehling
664320eb6b PR #9375: Common typo: doens't -> doesn't (Contributed by ennorehling)
#preflight 62f27e1a0264595302eefa12
#jira UE-158763
#rb trivial

[CL 21292281 by ennorehling in ue5-main branch]
2022-08-09 13:21:24 -04:00
lina lam
5afa48530d - Themes are now saved to the right location in engine folder.
- Implemented theme name checks to avoid duplicating names.
- Editing existing theme name will update the .json file name as well in the engine theme folder.

#jira UE-148387: Creating a new theme is lost once the editor is restarted
#rb editor-ux
#preflight 62f25d0f3b773d041625eeb0

[CL 21285132 by lina lam in ue5-main branch]
2022-08-09 09:28:36 -04:00
tyler staples
7e7bf0ea83 Only set SImage MouseDown and DoubleClick event if bound.
This can save a fair amount of memory when there are many widgets.

#rb patrick.boutot, jc.authier

#ROBOMERGE-AUTHOR: tyler.staples
#ROBOMERGE-SOURCE: CL 21162894 via CL 21163447 via CL 21172136 via CL 21174135 via CL 21180049
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21192210 by tyler staples in ue5-main branch]
2022-07-20 18:26:27 -04:00
robert seiver
98a126ea93 Fixed copy paste error for LargeBold font being assigned to a small font
#jira none
#review-21188597 @Lauren.Barnes
#rb Brandon.Schaefer
#preflight none

[CL 21189750 by robert seiver in ue5-main branch]
2022-07-20 17:14:39 -04:00
aditya ravichandran
5566693ea9 Filter Widgets: Fix an issue where the search text could go over the save search button in the Content Browser
Fix an issue where the text boxes in the custom text filter dialog would resize

#rb lauren.barnes
#preflight 62d6eeb21133256db6e97e6f

#ROBOMERGE-AUTHOR: aditya.ravichandran
#ROBOMERGE-SOURCE: CL 21165676 via CL 21167113 via CL 21172120 via CL 21172392
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21183840 by aditya ravichandran in ue5-main branch]
2022-07-20 12:59:46 -04:00
Bryan sefcik
b4a6e947d8 Ran IWYU on Public headers under Engine/Source/Runtime/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira

#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
bryan sefcik
06f6cf2700 Added IWYU pragmas.
#preflight 62d018faa6141b6adfe93e82

[CL 21090145 by bryan sefcik in ue5-main branch]
2022-07-14 09:41:39 -04:00
Lauren Barnes
c4f2982b25 Adding BoldItalic and Italic font style to FStyleFonts, use cases in AnimCurve viewer and Class Viewer respectively
#preflight 62cf2131456e3727b1d50608
#rb aditya.ravichandran
#jira UE-143100
#jira UE-158618

[CL 21080225 by Lauren Barnes in ue5-main branch]
2022-07-13 16:40:47 -04:00
erin wasik
8caf6792a4 Editable Text Blocks: add way to set font and font materials in blueprint
[REVIEW] [at]editor-ui-systems, [at]ui-tech-design

#ROBOMERGE-AUTHOR: erin.wasik
#ROBOMERGE-SOURCE: CL 21058049 via CL 21058073 via CL 21058083 via CL 21058085
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21078149 by erin wasik in ue5-main branch]
2022-07-13 15:34:20 -04:00
ronald koppers
12979e53c2 FMessageLog::CriticalError has been deprecated.
FMessageLog::CriticalError has a delay before throwing an assert to allow compositing of the message. As a result the assert isn't thrown at the location of the problem, but somewhere in the surrounding area, which makes the problem harder to debug and generates misleading log entries. Due to these problems FMessageLog::CriticalError and EMessageSeverity::CriticalError have been deprecated. It's recommended to use checkf instead.

When FMessageLog goes out of scope or is destroyed explicitly it will flush its messages to the log, which in turn means the log may immediately use the messages. In a few places a reference to the message was kept that outlived the lifetime of the owning FMessageLog in order to add arguments later on. The found cases have been updated to make sure FMessageLog doesn't outlive the addition of the arguments so the arguments are correctly passed to the log.

#jira: UE-155605
#rb brooke.hubert francis.hurteau jerome.delattre
#preflight 62cc4fca9922f7e5129e4e0a

[CL 21042765 by ronald koppers in ue5-main branch]
2022-07-11 12:58:26 -04:00
simon girard
b00bcc3921 Apply skew before the rendering of glyphs when added to the atlas
[REVIEW] [at]Vincent.Gauthier [at]ui-tech-design [at]Patrick.Boutot
#rb [at]Vincent.Gauthier [at]Adrienne.Pugh [at]Patrick.Boutot
#rnx

#ROBOMERGE-AUTHOR: simon.girard
#ROBOMERGE-SOURCE: CL 21040572 via CL 21040615 via CL 21040636
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21042222 by simon girard in ue5-main branch]
2022-07-11 12:34:33 -04:00
patrick boutot
2a2ecde812 Slate: Fix bad memory access after the invalidation widget list got resized.
#rb ui_system

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 21007893 via CL 21007905 via CL 21007914
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21019099 by patrick boutot in ue5-main branch]
2022-07-08 23:15:13 -04:00
ben hoffman
165f398825 Add a constructor for Pointer Input events that takes the new InputDeviceId instead of the old int32 controller id
#jira UE-147796
#preflight 62c8799c7e606620fd67cd05
#rnx
#rb dave.jones2

[CL 21013537 by ben hoffman in ue5-main branch]
2022-07-08 16:22:16 -04:00
Patrick Boutot
2190b998b3 Slate: Fix InvalidationWidgetReason unitest bad name.
#rb none
#rnx
#preflight 62c59b192a05d4f55b071029

[CL 20967127 by Patrick Boutot in ue5-main branch]
2022-07-06 10:57:04 -04:00
aditya ravichandran
3a86dab377 Content Browser: Add an alternate vertical filter layout
Remove the overflow menu and add wrapping for fiters in the horizontal layout
#jira UE-157471
#preflight 62bf1391d94b57687c7f3395
#rb Lauren.Barnes

#ROBOMERGE-AUTHOR: aditya.ravichandran
#ROBOMERGE-SOURCE: CL 20918175 via CL 20919826 via CL 20920342 via CL 20920507
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20923421 by aditya ravichandran in ue5-main branch]
2022-07-01 19:42:46 -04:00
zach bethel
34623f0321 Replaced thread-local MemStack with ConcurrentLinearAllocator across the renderer.
- Removed scene render mem-mark among others. MemStack usage is now restricted to local scopes with known marks.
 - Render resources with destructors are allocated using the FSceneRenderingBulkObjectAllocator on FSceneRenderer, which is deleted when the scene render is.

#preflight 62b266e20d4d6228de97babe
#rb mihnea.balta, yuriy.odonnell

[CL 20907647 by zach bethel in ue5-main branch]
2022-06-30 19:55:24 -04:00
ben hoffman
d0d6b8f9c6 Add a "Icons.AlertCircle" and "Icons.AlertCircleWithColor" to the StarshipCoreStyle. This uses the "Starship/Common/alert-circle" svg, which is currently utilized by the SourceControl plugin and a few other plugins as a generic "Warning" symbol. I wanted to add it here to the starship style so that for my use case I don't have to add a dependency on a source control icon, and instead can use a more generic one.
The source control icon also has a yellow accent color on the brush, which I don't want.

#jira UE-157638
#rb lauren.barnes
#rnx
#preflight 62b762548d780b2b0e81405e

[CL 20905411 by ben hoffman in ue5-main branch]
2022-06-30 17:58:44 -04:00