Code

History

  1. GSF.Core: Minor updates to component model value expression parser.J. Ritchie Carroll committed 7 years agoc44cdbb
  2. GSF.Core: Updated documentation in table operations.J. Ritchie Carroll committed 9 years ago5ddc39f
  3. GSF.Core: Updated documentation in value expression attribute classes for the component model.J. Ritchie Carroll committed 9 years agoa745b3d
  4. GSF.*.DataModels: applied component model validations more globally, such as AcronymValidationAttribute.J. Ritchie Carroll committed 9 years ago97dd0a7
  5. GSF.Core: (1) Added a delegate generator for "ApplyDefaults" to ValueExpressionParser that can be used to apply defaults to an existing modeled object, (2) Added "ApplyRecordDefaults" to TableOperations such that default values and expressions can be applied to an existing modeled record.J. Ritchie Carroll committed 9 years ago5ab8463
  6. GSF.Core: Augmented TypeConvertedValueExpression to be able to auto-derive return type when non is specified by pre-parsing expression.J. Ritchie Carroll committed 9 years agoc87c2e5
  7. GSF.Core: Added generic overloads to CategorizedSettingsBase class that will allow for application settings that are synchronized with a categorized section in a configuration file and will perform bi-directional synchronization of elements to an external source, e.g., user interface elements.J. Ritchie Carroll committed 9 years ago501293c
  8. GSF.Core: Fixed call order for ValueExpressionParser constructor overloads such that default type registry is always properly initialized.J. Ritchie Carroll committed 9 years ago9ce6015
  9. GSF.Core: Added interfaces for value expression attribute / scope base classes and updated value expression parser to only depend on interfaces instead of base classes so that future use cases will be more flexible.J. Ritchie Carroll committed 9 years ago580c742
  10. GSF.Core: Added TypeConvertedValueExpressionAttribute and updated value expression parser to accommodate bi-directional expressions,i.e., where modeled property values can be assigned back to expressions allowing synchronization of a model with an external source, e.g., a user interface element.J. Ritchie Carroll committed 9 years agoec89a33
  11. GSF.Core: Added static InitializeType method to ValueExpressionParser so that any static functionality of modeled types can be initialized prior to calling create or update delegate generation functions. This allows modeled types to self-register any custom symbols and types that may be used during evaluation of value expressions attributes.J. Ritchie Carroll committed 9 years ago183b1f1
  12. GSF.Core: Updated value expression parser model creation function generators that don't accept scope parameter to not re-compile expression for each call. GSF.Security: Added try catch to database operation used in static constructor of AdoSecurityProvider.J. Ritchie Carroll committed 9 years ago6843440
  13. GSF.Core: Added EmailValidationAttribute which represents a regular expression attribute for validating e-mail addresses.J. Ritchie Carroll committed 9 years ago2144023
  14. GSF.Web: Updated DataContext table operations to be cached per session hub-client.J. Ritchie Carroll committed 9 years agoc890f79
  15. GSF.Core: Updated delegate compilation functions that will "update" a modeled object to include the target instance as a parameter to the returned delegate.J. Ritchie Carroll committed 9 years agoa01d13b
  16. GSF.Core: Added the ability for ValueExpressionParser expression tree compilers to target specific ValueExpressionAttributeBase implementations.J. Ritchie Carroll committed 9 years ago9468879
  17. GSF.Core: Added UpdateValueExpression to allow for expression based updates.J. Ritchie Carroll committed 9 years agob3d39ba
  18. GSF.Core: Added requirement to set evaluation order when using "this" keywords in DefaultValueExpressionAttribute.J. Ritchie Carroll committed 9 years ago6918d4a
  19. GSF.Core: (1) Updated default value expression parser to better detect cache misses instead of depending on null value, (2) updated record restriction to support implicit conversion from string so that expressions like `"Enabled <> 0" + tableOperations.GetSearchRestriction(filterText)` can be supported, (3) added URL and Acronym validation attributes that extend RegularExpressionAttribute and define standard regular expressions in one location with default error messages. GSF.Web: (1) Updated field template functions supported by DataContext to properly enable the 'has-error' and 'has-feedback' bootstrap field highlighting when a validation error exists as well as to better distinguish between missing values and validation errors, (2) updated DataContext.AddInputField to automatically detect modeled AcronymValidationAttribute instances and apply knockout based input restrictions on typed field, e.g., forcing typed text to be upper case, (3) added new knockout binding handlers to the embedded resource gsf.web.knockout.js to force typed text to upper case, lower case or handle acronym type fields.J. Ritchie Carroll committed 9 years ago4b8c80c
  20. GSF.Security.Cryptography: Added static SHA hash algorithm creation functions to Cipher that respect current FIPS setting.J. Ritchie Carroll committed 9 years ago8d550f3
  21. GSF: Cleaned up build warnings.J. Ritchie Carroll committed 9 years ago38ff313
  22. GSF.Core: (1) Moved table of cached default value expression values to per type T instance to reduce contention, (2) added more simple CreateInstance function that does not require scoping parameter.J. Ritchie Carroll committed 9 years ago3dea4bc
  23. Update EvaluationOrderAttribute.csJ. Ritchie Carroll committed 9 years agodb6cd70
  24. GSF.Core: (1) Added "EvaluationOrderAttribute" so that custom ordering can happen when evaluating default value expressions, (2) added "Cached" property to DefaultValueExpressionAttribute so that costly expressions that do not change can be cached to prevent further evaluations, e.g.: [DefaultValueExpression("NotNull(Connection.ExecuteScalar('SELECT ID FROM SignalType WHERE Acronym=\\'CALC\\''), 10)", Cached = true)]J. Ritchie Carroll committed 9 years agof852134
  25. GSF.Core: (1) Added DefaultValueExpressionParser and DefaultValueExpressionScopeBase so that default value expressions can be used easily in other places, (2) updated DefaultValueExpressionAttribute implementations that are used with TableOperation models to support use of "this" keyword for self-referencing field access (3) moved attributes into GSF.ComponentModel and GSF.ComponentModel.DataAnnotations - this will be a breaking change for some model implementations, (4) updated ConnectionStringParser to recognize DefaultValueExpressionAttributesJ. Ritchie Carroll committed 9 years ago24f271e

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t