summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Test coverage and fix error handling of invalid typesDan Goodliffe2023-09-24
|
* Add missing dependencies on test filesDan Goodliffe2023-09-21
|
* Remove void * in class hierarchy handlingDan Goodliffe2023-09-21
| | | | | | | | Replaces the map of typename to function pointer taking void * (which pointed to the std::shared_ptr<T> and cast that to a shared_ptr<I>, thus invoking undefined behaviour) with a map to a small class hierarchy which represents that matching the model class and applying dynamic casts to properly convert as required.
* Apply same length check to built-in stringsDan Goodliffe2023-09-10
|
* Constinit strings which are short enough to not allocateDan Goodliffe2023-09-10
|
* Use built-in Ice read/write for optionalsDan Goodliffe2023-09-08
|
* ModelPartForOptionalBase::GetValue need not be a templateDan Goodliffe2023-09-08
|
* No need to delete move/copy for ModelPartDan Goodliffe2023-09-08
|
* Remove the need for Default<T>Dan Goodliffe2023-09-08
|
* Move helpers to anon namespace and delete the unused onesDan Goodliffe2023-09-04
|
* Restore define for SLICER_MODELPARTSTYPES_IMPL_H as we check it's not ↵Dan Goodliffe2023-09-04
| | | | included in a test
* Fix up warnings from clang-tidy, mostly nodiscardDan Goodliffe2023-09-04
|
* Simplify defining ModelPartForRoots for base typesDan Goodliffe2023-09-04
|
* Simplify className and typeName setup with string_viewsDan Goodliffe2023-09-03
| | | | Replaces the pointer to string and initialisers function complication.
* Replace ifndef/define/endif with pragma onceDan Goodliffe2023-09-03
|
* Remove unnecessary wrapper from xml testsDan Goodliffe2023-09-01
| | | | Fixes weird Clang link problem too.
* Pedantic only with GCCDan Goodliffe2023-09-01
| | | | Clang complains about GNU line number with precompiled source
* Disable unused-const-variable for clang building libicetypes test libraryDan Goodliffe2023-08-31
| | | | slice2cpp generates this code.
* Allows create and use pre-lowered column names in SQL select deserializerDan Goodliffe2023-08-28
|
* Support case-insensitive OnChild with pre-lowered inputDan Goodliffe2023-08-26
|
* Merge branch 'perf'Dan Goodliffe2023-08-24
|\
| * Prevent multiple inline copies of json::Value destructorDan Goodliffe2023-08-23
| |
| * Cache the Hook name/column relation for non-subclass multi-row selectsDan Goodliffe2023-08-23
| |
| * Add a copying to_lower wrapperDan Goodliffe2023-08-22
| |
| * Create Optional ModelParts on the stack with std::optionalDan Goodliffe2023-08-21
| | | | | | | | Supercedes the previous change to unique_ptr and now all ModelParts are on the stack.
| * Add a DB perf case for a complex with non-optional membersDan Goodliffe2023-08-21
| |
| * Make remaining non-root ModelParts on the stackDan Goodliffe2023-08-21
| |
| * Make ModelPartRoots on stackDan Goodliffe2023-08-20
| |
| * Create Optional ModelParts as unique_ptrsDan Goodliffe2023-08-20
| |
| * Create dictionary container/children ModelParts on the stackDan Goodliffe2023-08-20
| | | | | | | | No longer uses make_shared.
| * Logical inversionDan Goodliffe2023-08-20
| | | | | | | | | | | | | | Removes ChildRef and changes ModelPart returning ModelPart functions with functions accepting a callback. Removes the need to maintain and pass around ModelPart pointers. ~30% performance increase processing large DB datasets.
| * Remove enable_shared_from_this from ModelPartDan Goodliffe2023-08-14
| |
| * Don't support operations that don't make senseDan Goodliffe2023-08-14
| | | | | | | | | | GetSubclassModelPart and GetContainedModelPart throw if called on ModelParts which don't support them. This should remove the need for shared_from_this.
| * Hook range iter constructor which doesn't call moveMatch for endDan Goodliffe2023-08-12
| |
| * Pass ModelPartParam by value, it's just a pointerDan Goodliffe2023-08-12
| |
| * Simply Sequence get anon child with emplaceDan Goodliffe2023-08-12
| |
| * Fix to_lower so actually lowers the stringDan Goodliffe2023-08-11
| |
| * Add perf test over DB SQL select complexDan Goodliffe2023-08-11
| |
| * WIP perf testsDan Goodliffe2023-08-11
| |
| * Misc tidy up in db moduleDan Goodliffe2023-08-11
| |
| * Fix weird bracingDan Goodliffe2023-08-11
| |
| * Bit of dedupe in DocumentTreeIterateDictAttrsDan Goodliffe2023-08-11
| |
| * Remove unnecessary ValueTarget wrappersDan Goodliffe2023-08-10
| | | | | | | | Whole types just to initialize a member differently... bye.
| * Move private stuff into anon namespaceDan Goodliffe2023-08-10
| |
| * Move ModelTreeIterate* into the anonymous namespaceDan Goodliffe2023-08-07
| | | | | | | | Removes otherwise pointless base class
| * Implement ModelTreeIterate as a wrapper around ModelTreeIterateRootDan Goodliffe2023-08-07
| | | | | | | | Adding the HasValue() checks for complex, sequence and dictionary.
| * Type-safe variant emplace based model tree iterationDan Goodliffe2023-08-07
| |
| * Fix implementation of json dictionary serialize in non-object modeDan Goodliffe2023-08-06
| |
| * Move private stuff into anon namespaceDan Goodliffe2023-08-06
| |
| * Prefer [moving] emplace over insertDan Goodliffe2023-08-06
| |