MDriven Framework Change log

The log of changes for MDriven Framework

Revision 9864 - 2018-02-16

RemoteTurnkeyGetByteArray changed from GetVMImage to GetVMFile - checks and ignores 404

Revision 9862 - 2018-02-16

Improvements to better sort comboboxes in grids for WPF UI
Improvements to better use Filter on comboboxes in grids in WPF UI

Revision 9860 - 2018-02-15

Reducing publishers on discarded new objects gave index out of bounds - fixed

Revision 9859 - 2018-02-15

SearchLogic gave error when root unsaved - fixed

Revision 9855 - 2018-02-13

debug for subs

Revision 9849 - 2018-02-12

Fixes in RemoteTurnkeySetByteArray

Revision 9840 - 2018-02-11

New feature, set tagged value Bootstrap.ClassPrefix on viewmodel to change BS column class prefix from col-sm- to something else.

Revision 9837 - 2018-02-10

IExternalIdService.ObjectForUnkownId now also accepts Guid defined as string

Revision 9836 - 2018-02-07

Revision 9835 - 2018-02-07

ocl_at threw exception in listoutofbounds - changed

Revision 9834 - 2018-02-07

Tuples that get invalidated now defer SignalPropertyChanged to DisplayQueue to avoid raising with async thread and less hectic callstacks

Revision 9833 - 2018-02-07

ObjectList and FrontSideMultilink adapted to trylock pattern to reduce async locking

Revision 9832 - 2018-02-06

->collection(x|x.SomeNullable:=someconstantvalue) iteration assign failed to nullable Primitive - fixed

If using a name of a class as enum name you get an error but did not get a hint of what name - fixed

Revision 9828 - 2018-02-04

Added RememberMe function for external logins

Revision 9825 - 2018-02-03

Turnkey updates

Revision 9822 - 2018-02-02

Taborder confusion ViewModels

Revision 9818 - 2018-02-01

DisplayQueue new method ShouldIgnoreThisThread, enables EcoSpaces added to seperated threads to be ignored by the DisplayQueue - this can be good for a manager ecospace added to manage or track an other UI-base ecoSpace that does need the DisplayQueue

MVC threw execptions of potentially dangerous operations when data contained <

WPF ComboBox - yet another issue - but this time I think it is solved

Revision 9817 - 2018-01-30

Confusion with HttpClient baseaddress Fixed

Revision 9812 - 2018-01-30

null in ConvertValueToString failed before now empty string
VMClassMember now has MemberDescriptor exposed
RemoteTurnkeyConnectGetSessionKey now accepts anonymous connection with user/pwd left blank

Revision 9811 - 2018-01-28

Mistake in LabelAboveGrid

Revision 9806 - 2018-01-28

Mistake for TabOrder introduced with GroupBoxes - it handles order as string and failed sorting correctly. Fixed.

Revision 9805 - 2018-01-28

TabOrder setting in WPF made explicit after issues in MaterialDesign

Revision 9804 - 2018-01-27

WPF - .AboveGrid.TextBlock style was not applied unless you had a DataGrid style - fixed

Revision 9803 - 2018-01-27

Revision 9802 - 2018-01-27

///
/// The RemoteTurnkey ocl operators rely on a HttpClient with security cookies for login.
/// There is a RemoteTurnkeyConnectGetSessionKey - but this only covers the basic cases of login in with user and pwd
/// This service enables you to create and dress the HttpClient by any other means you see fit.
///

public interface IContextFullHttpClientService

New OCL operator: brokenConstraints - returns error texts of broken constraints for an object

Revision 9801 - 2018-01-24

Fairly central change - how null is handled in comparisons. Before 10>null but now we do as SQL - 10>null is false, 10,>=,<,<= we say false
This was discovered when running testcases that compared PS query results with mem-results

Revision 9800 - 2018-01-24

StringFormat was wired to StyleRef - but it does not always cover cases with expression styleRefs - TaggedValue StringFormat added to override

Revision 9798 - 2018-01-24

ReportDirectoryName added as optinal ViewModelColumn for OpenDocumentReports.
More info: https://wiki.mdriven.net/index.php/OpenDocument_fine_tuning

Revision 9797 - 2018-01-23

Updates to RemoteTurnkey operators

Revision 9795 - 2018-01-23

WalkTreeAndCollectMembers was extended with collecting used variables
SeekerLogic was changed to inform ViewModel of search result and thus enabling ViewModel QueryPlan to fetch SeekerResult structure expressions

Revision 9794 - 2018-01-22

Adding to IExtentService:

///
/// Returns true if allinstances has been called on this class already - and made invalidated since
///

bool IsAllKnownFetched(IClass c);

Used by QueryPlan to avoid repeating allinstances

Revision 9792 - 2018-01-20

Added new attribute to accomodate LinqQuery

///
/// If this attribute is set on Interface properties - linqQuery will treat the property as being backed by MDriven and as such will not resolve its value prior to PS-Query-conversion
///

[AttributeUsage(AttributeTargets.Interface)]
public sealed class LinqTreatAsMDrivenImplemented : Attribute
{

}

Revision 9791 - 2018-01-18

Revision 9789 - 2018-01-17

IExternalIdService extended , new functions used by turnkey and ModelDrivenControllerBase (all mvc)


public interface IExternalIdService
{

.....
///
/// Id without type info - practical to use to avoid confusion between system generations since classid can change
///

IObjectInstance ObjectForIdSeperateClassInfo(string id,IClass theclass);

///
/// Id as a guid - must find a property of name Guid to match, will use PS service to look up object
///

IObjectInstance ObjectForGuidIfClassHasGuidProperty(string id, IClass theclass);

///
/// Tries normal id, then check if string is guid, lastly checks if normal id without type info
///

IObjectInstance ObjectForUnkownId(string id, IClass theclass);

}

Revision 9785 - 2018-01-14

Updated som tagged values - and documented here https://wiki.mdriven.net/index.php/Important_TaggedValues_for_MDriven_Turnkey_Web-UI_is_found_Here

Revision 9782 - 2018-01-14

passthrough fix

Revision 9779 - 2018-01-12

EcoQuery AddOclFilterOnType issue with ending up as FilterOnType(Object) when it should be FilterOnType(ModelRootClass)

Revision 9775 - 2018-01-11

SqlPassthrough was wronfully marked as having many input params

Revision 9774 - 2018-01-11

Issue with illegal param type in Sql fixed

Revision 9773 - 2018-01-10

SetValue from text now handles true/false as strings - when pasted from xml
WPF AcceptsTab in multiline - reverted back to not AcceptsTab unless IsSeeker (to keep import mechanism)

Revision 9771 - 2018-01-10

new Ocl_SqlPassthroughObjects, you promise to return primary keys. This was introduced to allow use of fulltext index with "Contains" in MultiVariableSeekers

Revision 9767 - 2018-01-07

Revision 9766 - 2018-01-07

Added Support for RichTextBox for WPF ViewModelWPFUserControl

Revision 9763 - 2018-01-06

NullOutAllTagValuesAndSerializeXaml to ViewModelWPFUserControl

Revision 9745 - 2018-01-04

Name change

Revision 9744 - 2018-01-01

Revision 9743 - 2018-01-01

ocl op RemoteTurnkeySetByteArray added

Revision 9742 - 2017-12-30

Test to have cellwidth in wpf datagrids set to SizeToCells

Revision 9739 - 2017-12-28

New selfVM operations:
MethodInstaller.InstallOperation(new Ocl_OnViewModelReference_RemoteTurnkeyConnectGetSessionKey());
MethodInstaller.InstallOperation(new Ocl_OnViewModelReference_RemoteTurnkeyExecuteAction());
MethodInstaller.InstallOperation(new Ocl_OnViewModelReference_RemoteTurnkeyGetStringValue());
MethodInstaller.InstallOperation(new Ocl_OnViewModelReference_RemoteTurnkeyGetByteArray());
MethodInstaller.InstallOperation(new Ocl_OnViewModelReference_RemoteTurnkeySetStringValue());
MethodInstaller.InstallOperation(new Ocl_OnViewModelReference_RemoteTurnkeyCloseSession());
MethodInstaller.InstallOperation(new Ocl_OnViewModelReference_GetGridAsTabSepData());

Revision 9738 - 2017-12-27

Revision 9737 - 2017-12-27

Revision 9736 - 2017-12-27

Fix for NETFX

Revision 9735 - 2017-12-26

Made Ocl_Equal able to compare different types via ToString to allow for common guid='stringvalue'
Moved in Excel-bridge-import logic into seeker as described here https://www.capableobjects.com/2017/12/26/convergence-viewmodels-import-export-multi-search-synchronization-and-excel/
Made multiline wpf editboxes accept Tab signs besides returns

Revision 9726 - 2017-12-21

Issue with async locking resolved

Revision 9725 - 2017-12-20

Issue with tearing down of VMClass fixed

Revision 9722 - 2017-12-18

Fix to "F4 paste from excel to DataGrid" now handles common case of comma sep with commas in text and does not produce error for combo edits

Revision 9719 - 2017-12-14

OnBringUpView2 event added to play more nicely with wecpof

Revision 9715 - 2017-12-14

Linq implicit Convert are now handled (added when comparing nullable to non nullables or comparing similair types ie int and decimal)

Revision 9713 - 2017-12-12

New MaterialDesign style seems to have runs in grid and double click failed - fixed

Revision 9711 - 2017-12-10

Revision 9704 - 2017-12-08

Tuple issue - threw exception on GetEnum for evaluation on null root - fixed
QueryPlan tolerates tuples in VM-tree

Revision 9701 - 2017-12-07

Further issue with old worthDoingConsolidationrows strategy - discard on objects having multiple changes sometimes where missed their re-read due to masking. Reduced worthDoingConsolidationrows further

Revision 9700 - 2017-12-07

Issue with Queryplan - if derived was seen in structure builing first - it was skipped if used in columns - now structure and columns are handled separately

Revision 9695 - 2017-12-06

null check

Revision 9693 - 2017-12-06

Issue with ViewModels IsSeekAction when using selfVM.Seek - fixed

Revision 9692 - 2017-12-06

Issues with Queryplan fetched and untyped nulls resolved

Revision 9691 - 2017-12-05

Resize of datagrid columns when grid is equal or less to sum of columns - then it was hard to resize further due to last column star. We now discover this and turn of star

Revision 9689 - 2017-12-05

Now the WPF Datagrid enter into cell-select with ToggleCellSelectOnGrid
Also - when in cell-select mode we allow of paste of excel-like data for editable cells

Revision 9685 - 2017-12-04

Revision 9682 - 2017-12-04

Bug hunt codedress continued

Revision 9679 - 2017-12-01

Problems with check of AccessGroup with PerformTaskAsyncWaitUntilFinished - caused deadlocks in WPF. SOlved by defering check until later - assuming pessimistic result (not enabled and not visible)

Revision 9677 - 2017-11-28

New way to inject alternate credentials for WebClient use in openDocumentReports
public static NetworkCredential CredentialsToInsteadOfDefault { set; get; }

WPF grid columns _Style are not shown - they are interpreted as style info for other cells - also "NotVisible" columns are not included in shown

Revision 9675 - 2017-11-27

Updates for VS memory issues

Revision 9671 - 2017-11-25

Turnkey codedress bughunt - added better message to VMClassmember derive

Revision 9667 - 2017-11-23

WPF grid columns ending with _Style are not rendered - they provide data to DataTemplate styles
Added framework action Cancel

Revision 9663 - 2017-11-20

Bug in how SysUser was created for WindowsAuthentication

Revision 9644 - 2017-11-10

IOpenDocumentService was re-registered on EcoSpace activation - this would break assigned events on existing IOpenDocumentService - - now we keep existing

Revision 9643 - 2017-11-09

Issue with yeasterdays update of VMClass crashed code gen - fixed

Revision 9641 - 2017-11-08

Changes to VMClass.Update_vCurrent_VariableToThis - it now propagates downstream so that vCurrent variables can be used as cursors. This functionality was only in Turnkey before but it now moved down into VMClass and ViewModelClass

Revision 9640 - 2017-11-07

ViewModelRootHandle can now be left null (used from pure VMClass implementations)

Revision 9639 - 2017-11-07

SoapCall now returns element with name Body - and not just first since that might be a header

Revision 9638 - 2017-11-07

Assert problem when discardchanges on association object in a 1-* association fixed

Revision 9636 - 2017-11-01

Renentry count moved to variable in SnapshotAsArray
Better nullable handling for enums

Revision 9631 - 2017-10-25

textarea refused input in IE and Edge due to our maxlength was -1. Fixed

Revision 9628 - 2017-10-24

Combined Keys in reversed db got soapbased external keys - updated

Revision 9620 - 2017-10-20

PCL fix

Revision 9618 - 2017-10-19

New ocl operators
'U29tZXRoaW5nVG9FbmNvZGU='.Base64ToString
'SomethingToEncode'.StringToBase64

Revision 9616 - 2017-10-18

Null check in undo list

Revision 9615 - 2017-10-18

OpenDocumentReport functions has been extended to work with well-formed html templates as well. if the template file ends with .htm or .html this new logic will be invoked when generating reports

Revision 9607 - 2017-10-14

Class actions on root level of ViewModels that has RequireRoot=false need not show...
These are now automatically filtered and this saves you from opting them out. Really good change!

Revision 9601 - 2017-10-11

Problem with HistorySlave when evolving databases with FormerNames on tables -> this means table data move for evolve and it did not correctly address the StartTimeColumn and StopTimeColumn for versioned tables. Fixed!

(no support to move data from non-versioned to versioned or from versioned to non-versioned (versioning on/off should be done separately from changing class names))

Revision 9600 - 2017-10-10

When using deepClone one could not clone the value of StateMachines. Statemachines had to be walked by triggers back to the state you want to replicate. Now the deepClone has been updated to detect cloning of state attributes and then use stateMachineForceMode - so that the StateValue becomes fully clonable

Revision 9599 - 2017-10-03

Null checks etc

Revision 9598 - 2017-10-03

Old typo bug did not move along precision only scale twice for decimals in PMappers
Added change detected no evolve for scale and precision

Revision 9597 - 2017-10-02

Further issues with OpenDocument - now we restrict conversion to only ViewModelColumns ending with float or percentage

Revision 9596 - 2017-10-02

OpenDoc percentage did work correctly

Revision 9595 - 2017-10-02

OpenDocument report fixes:
in excel - the table-cell holds the type, and the template gets so check parent for decimal data and update the value-type

Revision 9578 - 2017-09-29

Revision 9576 - 2017-09-29

Updates to RESTPost to allow sending of stringcontent and request headers

Revision 9573 - 2017-09-28

Avoid reantrancy in Queryplan

One Response to MDriven Framework Change log

  1. Pingback: Release notes | CapableObjects

Leave a Reply

Your email address will not be published. Required fields are marked *

*