Commit Graph

31 Commits

Author SHA1 Message Date
Zousar Shaker
3f4252aa56 ObjectPtr upgrade for engine plugins used from UnrealEditor -allmodules. Automated upgrade process.
#rb none
#preflight 62fe7f270601ad0504910c30

[CL 21447894 by Zousar Shaker in ue5-main branch]
2022-08-18 15:08:49 -04:00
Patrick Boutot
1022bd41a2 Move function from the MVVM editor module to the blueprint compiler module.
#preflight 62da87adac71f3a225a75336

[CL 21219105 by Patrick Boutot in ue5-main branch]
2022-07-22 07:39:25 -04:00
Patrick Boutot
9618684983 MVVM: Create helper function to find all the PropertyPath use by a graph.
#review-21201965 sebastian.nordgren
#preflight 62d97797bc175ec68c7ca7f8

[CL 21203122 by Patrick Boutot in ue5-main branch]
2022-07-21 12:35:25 -04:00
Patrick Boutot
2d4bd9b8ce MVVM: Add "Optional" on viewmodel context to prevent logging warning when the viewmodel is not set and that it's optional.
#review-21184624 sebastian.nordgren
#preflight 62d813754b6d775f5fa770ca

[CL 21184623 by Patrick Boutot in ue5-main branch]
2022-07-20 13:37:40 -04:00
Patrick Boutot
736d4b85fa MVVM: Add the rename and delete option to the viewmodel panel.
#review-21160712 sebastian.nordgren
#jira none
#preflight 62d679d0d76ea4b5031b57f1

[CL 21160710 by Patrick Boutot in ue5-main branch]
2022-07-19 07:54:42 -04:00
patrick boutot
d8956d00d0 MVVM: Work in progress for viewmodel in viewmodel
#rb sebatian.nordgren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 21045209 via CL 21045498 via CL 21045763
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21075357 by patrick boutot in ue5-main branch]
2022-07-13 13:52:41 -04:00
patrick boutot
7a499cf935 MVVM: Use the viewmodel name instead of the class name. Create the menu to add a viewmodel. Use a UClass of any class at implement the NotifyFieldValue interface in BlueprintViewModelContext instead a ViewModelBase class.
#rb sebastien.nordgren
#preflight 62bc45213771c5710de91653

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20874026 via CL 20881496 via CL 20881723
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20885743 by patrick boutot in ue5-main branch]
2022-06-29 19:00:59 -04:00
patrick boutot
2cbd1c0d98 MVVM: Remove FMVVMBlueprintViewModelContext::OverrideDisplayName and replace it by the ViewModelName as a FName.
#jira UE-155919
#rb sebastian.nordgren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20857721 via CL 20857726 via CL 20857739
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20870270 by patrick boutot in ue5-main branch]
2022-06-29 01:01:28 -04:00
sebastian nordgren
4f51da0292 Deleting cpp that erroneously ended up in Public folder.
#rnx

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20836198 via CL 20836960 via CL 20837137
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20838785 by sebastian nordgren in ue5-main branch]
2022-06-27 16:25:11 -04:00
sebastian nordgren
3a3f846e36 MVVM: Setting a conversion function with multiple arguments now generates a FunctionGraph in the widget blueprint that is used to call the function, which allows us to bind multiple properties to conversion functions.
Removed IFieldPathHelper. The functionality was moved to the editor subsystem, which made the abstraction unnecessary and unavailable to blueprint.

FBindingSource no longer contains the IsSelected member. This was very context-specific, and doesn't really make sense in the general case.

[REVIEW] [at]patrick.boutot
#jira UE-145128
#rnx
#preflight 62b9c947e77151e5996f3f36

#ROBOMERGE-OWNER: sebastian.nordgren
#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20833893 via CL 20836430 via CL 20836446
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20838757 by sebastian nordgren in ue5-main branch]
2022-06-27 16:24:02 -04:00
patrick boutot
ca3eb26f53 MVVM: Fix crash when a field is renamed after the path was created.
#rb sebastian.nordgren
#prefligh 62a0a61ae820a589df465387

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20557185 via CL 20557206 via CL 20557218
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20559714 by patrick boutot in ue5-main branch]
2022-06-08 13:25:42 -04:00
sebastian nordgren
f034b4cf33 MVVM - FMVVMBlueprintPropertyPath can now be stored in containers due to added GetTypeHash() and list type traits override.
[REVIEW] [at]patrick.boutot
#rnx
#preflight 62a07b8f3f2a47521b7c46e5

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20554699 via CL 20554714 via CL 20554735
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20559549 by sebastian nordgren in ue5-main branch]
2022-06-08 13:19:34 -04:00
patrick boutot
37fce7d953 MVVM: First draft of the viewmodel panel.
#rb sebastian.nordren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20488825 via CL 20488833 via CL 20488842
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20490633 by patrick boutot in ue5-main branch]
2022-06-03 14:47:48 -04:00
patrick boutot
0051f8228b MVVM: Fix for range loop bind to temporary constructed type.
#rb none
#rnx none

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20364466 via CL 20364472 via CL 20364475
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20366301 by patrick boutot in ue5-main branch]
2022-05-25 12:09:47 -04:00
patrick boutot
a22ebd3b60 MVVM: Generate full path for Object property. It now load properly and support downcast.
#rb sebastian.nordgren
#prefligh 628cd4005665463c2104be4b

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20362934 via CL 20362942 via CL 20362944
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20366217 by patrick boutot in ue5-main branch]
2022-05-25 12:07:51 -04:00
sebastian nordgren
35fe208abe MVVM: Added transactions and property chain notifications to SMVVMViewBindingListEntryRow.
#jira UE-145128
[REVIEW] [at]patrick.boutot, [at]vincent.gauthier
#rnx
#preflight 62877376286cf1867a460c97

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20294192 via CL 20294679 via CL 20294841
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20305133 by sebastian nordgren in ue5-main branch]
2022-05-20 18:54:53 -04:00
sebastian nordgren
15e617f2aa MVVM: Removed FMVVMViewModelPropertyPath and FMVVMWidgetPropertyPath in favour of FMVVMBlueprintPropertyPath.
[REVIEW] [at]patrick.boutot
#jira UE-145128
#rnx
#preflight 6287737b1e478b95c703f783

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20293477 via CL 20293498 via CL 20293511
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20305090 by sebastian nordgren in ue5-main branch]
2022-05-20 18:54:05 -04:00
eric mcdaniel
ee48cd8262 Fix for uninitialized script variable FMVVMBlueprintPropertyPathBase::EBindingKind
#rb none
#jira none, CIS encountered
#preflight 62857fb9f239239af6ba4301
#rnx

[CL 20271209 by eric mcdaniel in ue5-main branch]
2022-05-18 19:30:02 -04:00
patrick boutot
5a5731c6b4 MVVM: Remove test code introduced with CL 20259322
[FYI] sebastian.nordgren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20259838 via CL 20259880 via CL 20259885
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20263003 by patrick boutot in ue5-main branch]
2022-05-18 12:55:05 -04:00
patrick boutot
38b2f19b88 MVVM: Blueprint Path can now support long path. A deprecation path exist. The compiler was modified to support long path. A ViewModelCreator is generated for Manual, this allow the setter to works in standalone.
#rb sebastian.nordgren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20259322 via CL 20259326 via CL 20259331
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20262972 by patrick boutot in ue5-main branch]
2022-05-18 12:54:12 -04:00
sebastian nordgren
1828823aea MVVM - Removed unnecessary SetBindingReference() overload.
[REVIEW] [at]vincent.gauthier, [at]patrick.boutot
#jira UE-147743
#preflight 62690d6d4c09420241070e76
#rnx

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20165329 via CL 20165339 via CL 20165348
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20167597 by sebastian nordgren in ue5-main branch]
2022-05-12 13:58:05 -04:00
patrick boutot
99e021c9de MVVM: Add add EMVVMBlueprintViewModelContextCreationType::Manual. An option for how to create/select a view model.
Rename a graph temporary function when the compiler didn't requested a GC at the end of the compilation.
#rb sebastian.nordgren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20106550 via CL 20107643 via CL 20108182
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20110552 by patrick boutot in ue5-main branch]
2022-05-09 16:35:28 -04:00
patrick boutot
cfe2d6be17 MVVM: Convert function path to member reference. Use the proper function skel class when compiling the conversion function.
#rb vincent.gauthier
#prelfight 6273eb01de15651eeb3547de

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20059860 via CL 20059875 via CL 20059885
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20062060 by patrick boutot in ue5-main branch]
2022-05-05 14:31:09 -04:00
eric mcdaniel
1c6e278160 Fix for uninitialized script struct member causing validation failure on QAGame cook
- default FMVVMPropertyPathBase::BindingKind to Function to pass validation test AttemptToFindUninitializedScriptStructMembers

- testing
  - BCR of Win64 QAGame locally

#rb none, trivial
#jira UE-151201
#preflight 62740ff1fd59d6606efbfc16

[CL 20061256 by eric mcdaniel in ue5-main branch]
2022-05-05 14:11:44 -04:00
patrick boutot
f381f16a34 MVVM: First version of the viewmodel editor
#rb sebastien.nordgren, daren.cheng
#preflight 6256afff2b4502493e72edc2

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19742639 via CL 19743098 via CL 19743424
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19745035 by patrick boutot in ue5-main branch]
2022-04-13 16:06:35 -04:00