Commit Graph

14 Commits

Author SHA1 Message Date
matija kecman
4373d015fd Report EditCondition errors to the Output Log
#rb sebastian.nordgren
#rnx
#preflight 61af4d2d353890ce23ef5360

#ROBOMERGE-AUTHOR: matija.kecman
#ROBOMERGE-SOURCE: CL 18393881 in //UE5/Release-5.0/... via CL 18393892
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18393895 by matija kecman in ue5-release-engine-test branch]
2021-12-07 07:31:28 -05:00
sebastian nordgren
72216a61d9 Fixed crash when neither a result nor an error is set in the expression parser result when evaluating edit conditions.
#jira UE-134260
#rb paul.chipchase

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 18132435 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v889-18060218)

[CL 18133182 by sebastian nordgren in ue5-release-engine-test branch]
2021-11-10 13:00:13 -05:00
sebastian nordgren
926e5fe8bb Added support for parentheses in EditConditions. Added as a result of a UDN feature request.
[at]lauren.barnes

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 18017850 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 18017926 by sebastian nordgren in ue5-release-engine-test branch]
2021-11-02 09:24:19 -04:00
sebastian nordgren
3ae17ebfe9 Removed unnecessary typename retrieval in EditConditionParser.
Added comment clarifying intent in EditConditionContext.

#rb paul.chipchase
#preflight 61406534b5a4fa0001f2e4ff

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 17516578 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17516584 by sebastian nordgren in ue5-release-engine-test branch]
2021-09-15 03:14:53 -04:00
sebastian nordgren
ecd61847af FEditConditionParser::ConsumeBool is now case-insensitive since UHT turns an unquoted true/false into TRUE/FALSE.
[FYI] jamie.dale
#preflight 6135f890bf137d0001e343b0

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 17437812 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17437814 by sebastian nordgren in ue5-release-engine-test branch]
2021-09-06 08:28:25 -04:00
TheJamsh
647838fb28 PR #8266: Fix crash in EditConditionParser when using invalid enum/value. (Contributed by TheJamsh)
#jira UE-120769
#rb lauren.barnes

#ROBOMERGE-SOURCE: CL 17030503 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v846-17029325)

[CL 17030512 by TheJamsh in ue5-release-engine-test branch]
2021-08-03 10:37:21 -04:00
JeanMichel Dignard
70d074639f Merging //UE4/Dev-Main @ 10886849 to Dev-Tools-Staging (//UE4/Dev-Tools-Staging)
#rb none
#rnx

[CL 10906274 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-08 13:26:18 -05:00
ryan durand
627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00
sebastian nordgren
cf86a119f9 EditCondition now supports bitflags that use enums. Eg. MyIntProperty & MyEnum::Flag (and negation by tacking on == false).
Flags must be enums with integral values. Powers of two are not checked for to allow for the use of combinations of flags, eg. Foo = 1, Bar = 2, FooAndBar = Foo | Bar.

#rb chris.gagnon

[CL 9580343 by sebastian nordgren in Dev-Editor branch]
2019-10-15 03:46:06 -04:00
sebastian nordgren
5a26ba3922 Added handling of UObject pointers to edit conditions to enable equality, inequality and nullptr checks of UObject pointers in the form of: MyProperty != nullptr, or MyProperty == OtherProperty.
#rb chris.gagnon

[CL 9533510 by sebastian nordgren in Dev-Editor branch]
2019-10-10 10:08:16 -04:00
Chris Gagnon
930e33cb48 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none

[CL 6838042 by Chris Gagnon in Main branch]
2019-06-04 15:42:48 -04:00
sebastian nordgren
567f78dfd0 Fixed EditCondition triggering ensures when an EditCondition uses a property that does not exist in a struct (anymore).
Fixed enum value evaluation when a property is stored as a TEnumAsByte. Split EditConditionContext into its own file. Added unit tests using UObject to confirm that edit conditions don't break in the future.

#jira UE-75420

#rb chris.gagnon

#lockdown chris.gagnon

[CL 6829359 by sebastian nordgren in Dev-Editor branch]
2019-06-04 05:48:07 -04:00
sebastian nordgren
4f28ef8ac8 Missed includes.
#rb none

[CL 6663144 by sebastian nordgren in Dev-Editor branch]
2019-05-29 08:14:48 -04:00
sebastian nordgren
069b2fab65 UPROPERTY meta EditCondition now supports a full-fledged expression parser, allowing for multiple conditions to be used in EditConditions.
Previous functionality still works as it did before.

#rb chris.gagnon

[CL 6662859 by sebastian nordgren in Dev-Editor branch]
2019-05-29 05:16:00 -04:00