Changelog-Designer

Release Notes
MDRIVEN: CHANGELOG - DESIGNER
All the latest MDriven Fixes and Updates
ChangeLog - MDriven Designer

May 2024

  • Revision 15622 (Modified on 2024-05-02): Action opt out has been clarified in UI - and opt-out button is removed from viewmodelactions since it does not make sense there

April 2024

  • Revision 15620 (Modified on 2024-04-30): Issue with comparison between numbers and string , this is generally allowed in sql and so it was allowed in OCL-PS, and so we made it allowed in OCL - but it turned out that it was not accepted for > and < in runtime -> Fixed We now remove context menu on Comboboxes in WPF in order to stay consistent with Turnkey - a function that was not maintained and not used CrossRef has ref to self for admin reasons - this is now removed from UsedBy menu to avoid confusion If a DisplayLoop issue occurs - stemming from OCL issue - we now show the Ocl/OclSymbolImplementations.cs
  • Revision 15619 (Modified on 2024-04-29): Major change to how variables and validations are edited in the ViewModelEditor - moved into tree to give better access and overview
  • Revision 15617 (Modified on 2024-04-29): AutoDiagram filter update
  • Revision 15616 (Modified on 2024-04-28): Changes to ErrorDetection to reduce the number of items checked
  • Revision 15615 (Modified on 2024-04-27): EditEnumerations control updated to WPF and few design updates
  • Revision 15610 (Modified on 2024-04-25): Fixed a couple of spelling and text misses.
  • Revision 15604 (Modified on 2024-04-24): Issues with PC move up down with buttons - work in progress
  • Revision 15603 (Modified on 2024-04-24): ViewModelTree - Control+up/down moves columns - even multiselected
  • Revision 15602 (Modified on 2024-04-24): In the ViewModelEditor as it grows Nesting lines are hard to follow - now a button will appear if the endpoint is out of screen - and the button will scroll you to the nesting - or back
  • Revision 15601 (Modified on 2024-04-24): null checks
  • Revision 15600 (Modified on 2024-04-23): SortOrder in combos for crosslinks
  • Revision 15599 (Modified on 2024-04-23): The CrossRefLinks in the AutoClass-Diagram was in a long list increasingly hard to read on growing models -> redesign to comboboxes
  • Revision 15597 (Modified on 2024-04-23): ViewModelEditor combo did not correctly adjust its name when switching to No-Category. Fixed.
  • Revision 15595 (Modified on 2024-04-22):
  • Revision 15594 (Modified on 2024-04-22): AutoDiagram Filter associations changed to Filter members, now filters all things on screen. AutoDiagram rendering had performance issues due to drawing during measuring - changed for the better
  • Revision 15579 (Modified on 2024-04-18): Nullchecks
  • Revision 15574 (Modified on 2024-04-17): Changes to reduce time on of second and following error checks in modlr (track locally changed things, what they will effect, and only re-check effected ones)
  • Revision 15573 (Modified on 2024-04-17): Changes to reduce time on of second and following error checks in modlr (track locally changed things, what they will effect, and only re-check effected ones)
  • Revision 15572 (Modified on 2024-04-17): Changes to reduce time on of second and following error checks in modlr (track locally changed things, what they will effect, and only re-check effected ones)
  • Revision 15569 (Modified on 2024-04-16): DeadLock in Designer when errorcheck tried to look up ViewModelNames for Class.ViewModels variables
  • Revision 15565 (Modified on 2024-04-11): Problem with hardcoded backslash for unix - Path.DirectorySeparatorChar
  • Revision 15564 (Modified on 2024-04-11): WPF issue of dragging from debugger to app had stopped working. Turned out to be a Yearlong issue that I now cleaned up by removing unnecessary parameters
  • Revision 15562 (Modified on 2024-04-10): ChecksumAttribute attribute added to eco.Interfaces - this is to speed up Codegen with checksum written to code checks Better CodeGenGoverningInfo that now can find codegen diffs regardless if you or someone else forgot to codgen
  • Revision 15547 (Modified on 2024-04-04): The CloudForm "Changes" button has been improved. It starts with a quick Checksum check, then an optional view of the checksum diff, and thirdly the optional view of what changes that will be performed on DB

March 2024

  • Revision 15525 (Modified on 2024-03-27): ReadOnlyMode advanced: when an action that brings up a modal in itself does not change persistent data it would be enabled during ReadOnlyMode - but if the ExpressionAfterModelOK will change persistent data one could argue that the bringing-up of the modal is in vain - since the user will not be able to say ok. ReadOnlyMode now tries to deduce if ExpressionAfterModelOK effects persistent data and if so the bringing up action will also be disabled during readonlymode
  • Revision 15521 (Modified on 2024-03-26): Debugger seekers used sqllike instead of sqllikecaseinsensitive - fixed
  • Revision 15516 (Modified on 2024-03-25): Error on periodic - avoid if connected to abstractaction that DOES have enable expr
  • Revision 15515 (Modified on 2024-03-25): Null checks
  • Revision 15512 (Modified on 2024-03-23): Improved message for new warning about periodic actions.
  • Revision 15510 (Modified on 2024-03-22): Added Pair to the description so that it's less prone to misunderstanding
  • Revision 15509 (Modified on 2024-03-22): Problem with locked files after unzipping. Added exception handing to dispose zip files.
  • Revision 15502 (Modified on 2024-03-21): Better marking of PeriodicAction - also warning if PeriodicAction is left with blank Enable expression as this is considered an error
  • Revision 15501 (Modified on 2024-03-21): The ViewModelEditor now clearly shows any tagged values that are set on ViewModel,Nesting,ViewModelColumn or PLacingContainer - double-click leads to TaggedValue-editor Whenever you use a periodicAction we report an error if you have left the Enable expression empty
  • Revision 15500 (Modified on 2024-03-21): Important Placingcontainer min-height/min-width change: ViewModelColumn column Span and Row span now is shown even when column is in Placingcontainer If the PC Min-size is NOT set we will use the corresponding column/row-span * viewmodel.ColumWidth/RowHeight and use this as the min-size in the direction (width when PC is row, height when PC is column) Reasons: #1 column span did have effect in Turnkey already (grids max height was controlled by this), #2 span > 1 on textfields also turned textfields into multiline - it was hard to control this AFTER you turned the View to PC #3 The min-size is very pixel focused and using the column/row-span * viewmodel.ColumWidth/RowHeight will quantify the used min-size values in a better way Remaining issues: In WPF even textfields, combos, datepickers etc adhere to min-size, but in web the min-size is controlling the controls outer div - but css does not resize the native control the way one would expect
  • Revision 15485 (Modified on 2024-03-08): Better focusing of correct thing when clicking error in Model-errors, specially when you have conversion errors that makes further eval impossible
  • Revision 15484 (Modified on 2024-03-08): Slow destruction of modlr tree , improved I think
  • Revision 15483 (Modified on 2024-03-08): recent changes to EnsureCurrentDomain_AssemblyResolve broke CodeGen - fixed
  • Revision 15481 (Modified on 2024-03-08): HideOnDisable introduced on AbstractAction - this will be set automatically on trigger actions when added from statediagram - but is now also available on all actions When abstract action has error and shows in ViewModel error list - it now opens action editor when double clicked When error check has an error on a State it now opens the correct state diagram on click
  • Revision 15480 (Modified on 2024-03-08): Added the WPFViewModelExternalControls to Gaffr
  • Revision 15477 (Modified on 2024-03-07): Added loading of dependant assemblies from ModelCodeAssemblies
  • Revision 15471 (Modified on 2024-03-05): Model upload rewritten to become async to avoid UI lock for large models
  • Revision 15468 (Modified on 2024-03-04): vCurrent_Root cannot be used on Mounted Viewmodels (since the type and object may differ) we now avoid to add it and warn if used on Mounted ViewModels
  • Revision 15467 (Modified on 2024-03-04): null check, adding Nesting.RendersAsList:bool method
  • Revision 15462 (Modified on 2024-03-01): Issue with Diagram AssociationEnd lables not following the setting of the diagram - showdefault,showdimmed etc - fixed
  • Revision 15461 (Modified on 2024-03-01): To increase the rename-ease and copy-easy of view models we now suggest you use the new vCurrent_Root variable instead of vCurrent_<ViewModelName> This will make a copied/renamed ViewModel stay correct without any changes
  • Revision 15460 (Modified on 2024-03-01): Seen occurencies when VS hangs on "file has changed" dialog box - rewriting and using other signaling instead of modal messagebox (yellow File has changed overlay in model and tree)

February 2024

  • Revision 15457 (Modified on 2024-02-29): The operator selfVM.NavigateUrl did not work in WPF - fixed
  • Revision 15450 (Modified on 2024-02-28): corrections to new codgen to work on vs2019
  • Revision 15449 (Modified on 2024-02-28): Changes to unfreeze codegen in VisualStudio 2022
  • Revision 15447 (Modified on 2024-02-27): Bug in detection of used variables made us miss to evaluate certain expressions - fixed
  • Revision 15436 (Modified on 2024-02-21): In WPF when a Popup is shown , and that popup executes an AreYouSure question prior to action - the click in the areyousure could initiate popupclose so that vCurrent vars where destroyed prior to action execution - fixed
  • Revision 15434 (Modified on 2024-02-20): NavigateOnSingleClick setting added to ViewModelEditor Nesting
  • Revision 15432 (Modified on 2024-02-18):
  • Revision 15427 (Modified on 2024-02-16): AccessGroups did not init fast enough on wpf
  • Revision 15424 (Modified on 2024-02-15): More matching types when reversing postgresql Better matching of SQLServerTypes
  • Revision 15423 (Modified on 2024-02-15): Before the evolve detected switch of attribute PMapper as reason for drop of column - I am now removing that - its common to change a pmapper on a attribute - specially in reversed scenarios StringAsChar and StringAsVarChar now converts non string types to strings to help with reversing of odd things in dbs Int32 and Int16 pmappers are extended to tolerate Int16 vs Int32 to help with crappy reversed databases
  • Revision 15422 (Modified on 2024-02-15): Unfortunate change knocked out CrossRef in modlr - fixed
  • Revision 15415 (Modified on 2024-02-14):
  • Revision 15410 (Modified on 2024-02-13): PostgreSQL updates on reversing
  • Revision 15403 (Modified on 2024-02-11): Now PostgreSQL reversing works!
  • Revision 15401 (Modified on 2024-02-11): Adding a tab to OCLDebugger that lists all operators seen by OCL. Action and OCLPS languages
  • Revision 15400 (Modified on 2024-02-09): Bug in RuntimeDefaultOnViews and null checks
  • Revision 15399 (Modified on 2024-02-09): Issues with codegen, creating doublets of certain TV's
  • Revision 15398 (Modified on 2024-02-09): Readonly issue with members fixed, readonly is off if selfVM.IsDirty
  • Revision 15396 (Modified on 2024-02-09): IMDrivenMiscSettings service added, covered by optional model class SysMDrivenMiscSettingsSingleton as described here https://wiki.mdriven.net/index.php?title=SysMDrivenMiscSettingsSingleton ViewModelHelper.CreateFromViewModelWithExtendedUIFunctions added - this differs from existing CreateFromViewModel overloads in the way that it checks for RuntimeDefaultOnViews AccessGroup, and the GlobalReadOnlyMode https://wiki.mdriven.net/Per_viewmodel_ReadOnly_mode
  • Revision 15395 (Modified on 2024-02-08):
  • Revision 15393 (Modified on 2024-02-08): Adding the frameworkaction ReadOnlyModeToogle Adding style for WPF ReadOnlyMode button ReadOnlyModeToogleButton Adding button for ReadOnlyMode in WPF tab Adding button for ReadOnlyMode in Turnkey
  • Revision 15392 (Modified on 2024-02-08): The ReadOnlyMode - if used - will be entered Automatically on new View/root combination, and re-entered on Save or Cancel Long standing issue with LabelOnTop when LabelSpan took effectiveXPos to negative (EffectiveXPos=XPos-PresentationSpan) is now handled the same way in WPF and Web, both changed slightly
  • Revision 15389 (Modified on 2024-02-06): Work with AccessGroup RuntimeDefaultOnViews
  • Revision 15388 (Modified on 2024-02-06): Changes to how ClassActions behave regarding the ViewEnable accessgroup expression New tagged value added WillEffectPersistedDataOverrideValue that allow for override of the automatic deduction connected with ViewEnableExpression Issue with use of stacked AccessGroups where they all counted as true if no explicit expression was set - and this gave wrong result since one true is enough: Fixed
  • Revision 15382 (Modified on 2024-02-02): Before Copy of ModlrThings appended _Copy prior to putting in on the clipboard - that logic is now changed to LateUniqify, meaning that we decide any postfix after paste. This has several advantages and reduce the the labour involved in after-paste Copy-Paste will take the list of selected ViewModelVariables and not only the currrent
  • Revision 15381 (Modified on 2024-02-01): Bug in ViewModel subcolumns could cause modlr to hang due to never finished When checking Unused vars we cannot check the OnShowExpression from the calling ViewModel context since it depends on vars in the shown ViewModelContext
  • Revision 15380 (Modified on 2024-02-01): Build issues made me change to await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync(); for VS stuff

January 2024

  • Revision 15377 (Modified on 2024-01-30): MDrivenServer .- changed to Show update in header A lot of changes to facilitate async codegen - but still not all there New Menu: Expressions that will show score from MDrivenServer imported stats
  • Revision 15369 (Modified on 2024-01-28): Added setting CodeDressAssemblies as a way to restrict what assemblies are loaded for CodeDress
  • Revision 15363 (Modified on 2024-01-23): Build issues fixed
  • Revision 15361 (Modified on 2024-01-23): Checkbox SoftwareRendering added to AboutDialogs in both MDrivenDesigner and MDrivenVisualStudio - Software rendering removes Animations in AutoDiagram and ViewMOdel (yellow dots) ClassActions in AutoDiagram now can navigate to their ViewModel StateDiagrams in AutoDiagram are now below classes - but still clickable
  • Revision 15347 (Modified on 2024-01-18): Null check in ModlrEditorPane
  • Revision 15344 (Modified on 2024-01-17): RichTextBox Document should have pageWidth equal to Control - Fixed issue ViewModelEditor better show what other Views Use this by Class.ViewModels.Name reference and by ViewModel Mount in top row with hyperlinks
  • Revision 15343 (Modified on 2024-01-16): SVG images in grids in WPF now supported Some nullref errors stemming from increased cleaning in CleanForFree fixed in Modlr
  • Revision 15334 (Modified on 2024-01-14): AccessGroups update to WillThisExpressionEffectPersistentData now also handles buttons on screen connected to AbstractAction
  • Revision 15329 (Modified on 2024-01-13): Nullcheck in abstractaction Use of ValueForTagBoolean instead of ValueForTag
  • Revision 15321 (Modified on 2024-01-10): Better texts in AccessGroups
  • Revision 15319 (Modified on 2024-01-09): Issues on VS2022 start and restoring loaded model - DTE not available - fixed

December 2023

  • Revision 15303 (Modified on 2023-12-29): Sorting of classes in ExpressionBuilder DBReverse reverse updated and tested with Adventuworks
  • Revision 15297 (Modified on 2023-12-25): null checks
  • Revision 15296 (Modified on 2023-12-25): Rename to IGlobalActionAndAccessGroupService
  • Revision 15290 (Modified on 2023-12-22): New improved signaling to user when files are touched outside of environment
  • Revision 15282 (Modified on 2023-12-19): MDrStats had the wrong value for Max/Avg on Multilinks Nullchecks Catching exception in OnColumnUIApplyStyle for WPF due to logged issue Changed to AllClassesView to visualize expression cost
  • Revision 15279 (Modified on 2023-12-17): StayOnTop setting was a bad idea - very bad for modal windows etc No menu on Variables in WebView fixed
  • Revision 15276 (Modified on 2023-12-16): LeftSide Action-Enable clean up for WPF since found issues in .net6
  • Revision 15274 (Modified on 2023-12-16):
  • Revision 15270 (Modified on 2023-12-13): Unused var warning did not correctly compensate for auto vars like vModalResult_ and vSender_ - fixed
  • Revision 15267 (Modified on 2023-12-12): Check for unused variables did not check the contextactions so we coould get false indications -> fixed
  • Revision 15265 (Modified on 2023-12-12): Issues with rendering speed in Modlr - removing the row coloring in the debugger - introduce CleanForFree on ViewModel
  • Revision 15263 (Modified on 2023-12-12): Adding param to skip codedress - to use in LiveEdit debugger in VS since codedress confuse a bit
  • Revision 15255 (Modified on 2023-12-11): Microsoft.Extensions.Logging.Abstractions
  • Revision 15253 (Modified on 2023-12-11): Major version confusion: Root cause VisualStudio use Microsoft.Bcl.AsyncInterfaces.dll and System.IO.Pipelines.dll or older versions than 8, and strips any references from VSIX for these assemblies. Worked around by use of <SuppressFromVsix>false</SuppressFromVsix> in project file-download System.Text.Encodings.Web -> 8 System.Text.Json -> 8 System.Text.Encodings.Web ->8 OCLEditor StayOnTop checks current app and hides unless it is us, Also ApplyAndClose button added
  • Revision 15239 (Modified on 2023-12-07): Vertical align in ocleditor runtimes OclDebugger limits fetch even on Ocl accordning to maxfetch to avoid stupid mistakes that kill the WPF GridSnap Trying to solve the sometimes locking FileCHanged-box in VS2022 Null checks