Changelog-Designer
(Updating changelog)
(Updating changelog)
Line 81: Line 81:
<div class="changelogs">
<div class="changelogs">
=== April 2024 ===
=== April 2024 ===
* '''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 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 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
Line 186: Line 191:
* '''Revision 15200''' (Modified on 2023-11-25): Layout cleanup files
* '''Revision 15200''' (Modified on 2023-11-25): Layout cleanup files
* '''Revision 15179''' (Modified on 2023-11-20): Removing ReportViewer.xaml due to no use and change in api
* '''Revision 15179''' (Modified on 2023-11-20): Removing ReportViewer.xaml due to no use and change in api
* '''Revision 15177''' (Modified on 2023-11-20): Issues with DataMigrate showed issues with certain signs in xml - this was also a problem in XMLPersistance - both Fixed issue Also fixed issue with DataMigrate when loading exact multiple of batch size
* '''Revision 15167''' (Modified on 2023-11-15): StayOpen on Ocl-editor (non modality) fixes and warning when switching expression without apply
* '''Revision 15163''' (Modified on 2023-11-14): Option to keep the ocl editor open
* '''Revision 15161''' (Modified on 2023-11-13): Softview as explained here https://wiki.mdriven.net/index.php/Softview
* '''Revision 15152''' (Modified on 2023-11-08): GetValueWithCondition had 0(max) -1(page , when it should have -1 ,0 - do not think it was respected though Debugger autoforms for listing multilinks avoid derived things due to the fact that it may be a lot of data (CustomerArticle at ACO) Actions dialogs dig not correctly close on model close: Fixed issue Saved window positions could be out of sight when switching screen environment - we now clamp and bring Modlr forms into view New error check to verify that type of PSOCL in ss-views conforms to ViewModel root class

Revision as of 00:00, 19 April 2024

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

April 2024

  • 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
  • Revision 15237 (Modified on 2023-12-07): Microsoft.Extensions.Logging.Abstractions 7->8 Microsoft.Extensions.Options 7->8 Microsoft.Extensions.Primitives 7->8 Microsoft.Extensions.DependencyInjection.Abstractions 7->8 Microsoft.Bcl.AsyncInterfaces 7->8 Clean old logging Microsoft.AspNet.Mvc 7->8 System.Diagnostics.DiagnosticSource 7->8 Microsoft.AspNet.WebPages.WebData 7->8 Microsoft.AspNetCore.SignalR.Client.Core 7->8 Missed check in of WPF InplacePopup Removing parallell ErrorAndCrossRef due to clashes for actions that are not fully understood
  • Revision 15234 (Modified on 2023-12-06): Started on Stats import. Fixed UnknownExprtypeinDeduce index overflow in error message
  • Revision 15233 (Modified on 2023-12-06): Nuget packages Microsoft.Extensions... updated from 7.0 to 8.0 This is a long time issue that we failed when connecting Framework signalR to Core signalR that I now thing is managed : Unable to resolve service for type 'Microsoft.Extensions.Logging.ILoggerFactory Also spills over on Microsoft.Bcl.AsyncInterfaces 7.0->8.0
  • Revision 15231 (Modified on 2023-12-05): Nested InplacePopup issue Style in Autoforms issue fixed SignalR error handled better Issue when Webclient cant access files fixed
  • Revision 15226 (Modified on 2023-12-03): OclEditor stay on top setting ViewModel Error check now treats Expressions in buttons connected to nesting as OCL- not EAL -> InplacePopup
  • Revision 15218 (Modified on 2023-12-02): Updates to Drawer component for Angular Updates to Drawer component for WPF Fixes for parallell model write in turnkey/mdr
  • Revision 15217 (Modified on 2023-12-01): Drawer component implemented in WPF. A button with a nesting becomes a mini-inplace-popup-window.
  • Revision 15215 (Modified on 2023-12-01): Servers that now save a model for Softviews saved async and this was not good due to reentrancy - changed

November 2023

  • Revision 15213 (Modified on 2023-11-29): null check UmlRT TaggedValue as Bool now always just say false of not explicitly true SpanDefErrorHelper.UpdateWarnings now checks for unused vars Damaged ViewModelActions that belongs to one view via owner and another via only in are reported in error check
  • Revision 15212 (Modified on 2023-11-29): null check in extentservice Codegen failed if returntype of method was crazy - fixed with error message
  • Revision 15209 (Modified on 2023-11-27): IsDirtyMember now subscribes Debugger autoforms use style and IsDirtyMember to signal dirty members Debugger result grid hilites dirty rows ViewModel UI now has sorted combpboxes
  • Revision 15205 (Modified on 2023-11-26): Updates to layout
  • Revision 15202 (Modified on 2023-11-26): Updates
  • Revision 15201 (Modified on 2023-11-25): Issue with blink whenever copy on diagram -> grabbing bitmap snapshot -> changed to only when nothing selected
  • Revision 15200 (Modified on 2023-11-25): Layout cleanup files
  • Revision 15179 (Modified on 2023-11-20): Removing ReportViewer.xaml due to no use and change in api