11 Commits

Author SHA1 Message Date
rex hill
8e2942a557 EditorConfig - Adjust error messages to include line number to assist with fixing .json file errors.
#preflight 6423711fa86ae7cbcce004b7
#rnx

[CL 24831964 by rex hill in ue5-main branch]
2023-03-29 02:31:05 -04:00
bryan sefcik
8cc129f2b6 IWYU Pass 1 - Engine/Source/Editor/...
#jira
#preflight 6306736ac85b7fef22be7751

[CL 21558583 by bryan sefcik in ue5-main branch]
2022-08-24 22:45:13 -04:00
sebastian nordgren
14ddaf399b Enum properties in EditorConfigs now serialize correctly. Previously we were casting directly to int64*, which in the case of smaller enum types (eg. uint8), would cause more memory to be read and the values to be incorrect.
EditorConfig will now always keep $type keys.

Fixed some unit test failures that hadn't been caught previously, caused by eg. ANY_PACKAGE change.

#review @aditya.ravichandran
#preflight 62bef519a3568e30669ce1b6

[CL 20913918 by sebastian nordgren in ue5-main branch]
2022-07-01 10:05:15 -04:00
sebastian nordgren
73e62b9ef3 JsonConfig shared pointers are now passed by const&.
Added tests for EditorConfig.

#review-20127432 @aditya.ravichandran, @lauren.barnes
#preflight 628764ef2c34da686ac74123
#rnx

[CL 20292425 by sebastian nordgren in ue5-main branch]
2022-05-20 06:20:33 -04:00
jason stasik
a650434255 Log error when JSON deserializer fails to parse an EditorConfig file
#rb rex.hill,eric.knapik
#preflight 6259d6ca201cdc3ec501a4b3

#ROBOMERGE-AUTHOR: jason.stasik
#ROBOMERGE-SOURCE: CL 19794091 via CL 19798053 via CL 19798283 via CL 19798394
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v939-19570697)

[CL 19809723 by jason stasik in ue5-main branch]
2022-04-19 11:41:31 -04:00
sebastian nordgren
526239e053 Actually fixed PVS warnings in JsonConfig.cpp.
#jira UE-108183
#rb paul.chipchase

#ROBOMERGE-SOURCE: CL 15406850 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15406853 by sebastian nordgren in ue5-main branch]
2021-02-15 11:02:57 -04:00
sebastian nordgren
6cb594177e Changed conditions in JsonConfig.cpp to satisfy PVS.
#jira UE-108183

#ROBOMERGE-SOURCE: CL 15375842 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15378755 by sebastian nordgren in ue5-main branch]
2021-02-10 15:19:35 -04:00
sebastian nordgren
109c631cfc Added checks to satisfy PVS.
#jira UE-107941

#ROBOMERGE-SOURCE: CL 15356313 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15360316 by sebastian nordgren in ue5-main branch]
2021-02-08 17:05:30 -04:00
sebastian nordgren
f037fcf1ed Fixed incorrect operator usage in FJsonConfig picked up by static analysis.
#jira UE-107503
#rb paul.chipchase

[CL 15279024 by sebastian nordgren in ue5-main branch]
2021-02-02 05:20:46 -04:00
sebastian nordgren
1853026606 Fixed CIS errors in previous submits.
[CL 15208595 by sebastian nordgren in ue5-main branch]
2021-01-26 12:19:41 -04:00
sebastian nordgren
6fe795953f Initial submit of the new JSON-based editor config system. This consists of two layers - the JSON config system enables access to JSON objects through the use of JSON paths of the form $.Object.Array[3].Member. The editor config system applies this system to UObjects and UStructs.
#rb chris.gagnon
#jira UETOOL-2769

[CL 15208207 by sebastian nordgren in ue5-main branch]
2021-01-26 11:48:50 -04:00