Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Remove void * in class hierarchy handling | Dan Goodliffe | 2023-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 strings | Dan Goodliffe | 2023-09-10 |
| | |||
* | Constinit strings which are short enough to not allocate | Dan Goodliffe | 2023-09-10 |
| | |||
* | Use built-in Ice read/write for optionals | Dan Goodliffe | 2023-09-08 |
| | |||
* | ModelPartForOptionalBase::GetValue need not be a template | Dan Goodliffe | 2023-09-08 |
| | |||
* | No need to delete move/copy for ModelPart | Dan Goodliffe | 2023-09-08 |
| | |||
* | Remove the need for Default<T> | Dan Goodliffe | 2023-09-08 |
| | |||
* | Move helpers to anon namespace and delete the unused ones | Dan Goodliffe | 2023-09-04 |
| | |||
* | Restore define for SLICER_MODELPARTSTYPES_IMPL_H as we check it's not ↵ | Dan Goodliffe | 2023-09-04 |
| | | | | included in a test | ||
* | Fix up warnings from clang-tidy, mostly nodiscard | Dan Goodliffe | 2023-09-04 |
| | |||
* | Simplify defining ModelPartForRoots for base types | Dan Goodliffe | 2023-09-04 |
| | |||
* | Simplify className and typeName setup with string_views | Dan Goodliffe | 2023-09-03 |
| | | | | Replaces the pointer to string and initialisers function complication. | ||
* | Replace ifndef/define/endif with pragma once | Dan Goodliffe | 2023-09-03 |
| | |||
* | Remove unnecessary wrapper from xml tests | Dan Goodliffe | 2023-09-01 |
| | | | | Fixes weird Clang link problem too. | ||
* | Pedantic only with GCC | Dan Goodliffe | 2023-09-01 |
| | | | | Clang complains about GNU line number with precompiled source | ||
* | Disable unused-const-variable for clang building libicetypes test library | Dan Goodliffe | 2023-08-31 |
| | | | | slice2cpp generates this code. | ||
* | Allows create and use pre-lowered column names in SQL select deserializer | Dan Goodliffe | 2023-08-28 |
| | |||
* | Support case-insensitive OnChild with pre-lowered input | Dan Goodliffe | 2023-08-26 |
| | |||
* | Merge branch 'perf' | Dan Goodliffe | 2023-08-24 |
|\ | |||
| * | Prevent multiple inline copies of json::Value destructor | Dan Goodliffe | 2023-08-23 |
| | | |||
| * | Cache the Hook name/column relation for non-subclass multi-row selects | Dan Goodliffe | 2023-08-23 |
| | | |||
| * | Add a copying to_lower wrapper | Dan Goodliffe | 2023-08-22 |
| | | |||
| * | Create Optional ModelParts on the stack with std::optional | Dan Goodliffe | 2023-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 members | Dan Goodliffe | 2023-08-21 |
| | | |||
| * | Make remaining non-root ModelParts on the stack | Dan Goodliffe | 2023-08-21 |
| | | |||
| * | Make ModelPartRoots on stack | Dan Goodliffe | 2023-08-20 |
| | | |||
| * | Create Optional ModelParts as unique_ptrs | Dan Goodliffe | 2023-08-20 |
| | | |||
| * | Create dictionary container/children ModelParts on the stack | Dan Goodliffe | 2023-08-20 |
| | | | | | | | | No longer uses make_shared. | ||
| * | Logical inversion | Dan Goodliffe | 2023-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 ModelPart | Dan Goodliffe | 2023-08-14 |
| | | |||
| * | Don't support operations that don't make sense | Dan Goodliffe | 2023-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 end | Dan Goodliffe | 2023-08-12 |
| | | |||
| * | Pass ModelPartParam by value, it's just a pointer | Dan Goodliffe | 2023-08-12 |
| | | |||
| * | Simply Sequence get anon child with emplace | Dan Goodliffe | 2023-08-12 |
| | | |||
| * | Fix to_lower so actually lowers the string | Dan Goodliffe | 2023-08-11 |
| | | |||
| * | Add perf test over DB SQL select complex | Dan Goodliffe | 2023-08-11 |
| | | |||
| * | WIP perf tests | Dan Goodliffe | 2023-08-11 |
| | | |||
| * | Misc tidy up in db module | Dan Goodliffe | 2023-08-11 |
| | | |||
| * | Fix weird bracing | Dan Goodliffe | 2023-08-11 |
| | | |||
| * | Bit of dedupe in DocumentTreeIterateDictAttrs | Dan Goodliffe | 2023-08-11 |
| | | |||
| * | Remove unnecessary ValueTarget wrappers | Dan Goodliffe | 2023-08-10 |
| | | | | | | | | Whole types just to initialize a member differently... bye. | ||
| * | Move private stuff into anon namespace | Dan Goodliffe | 2023-08-10 |
| | | |||
| * | Move ModelTreeIterate* into the anonymous namespace | Dan Goodliffe | 2023-08-07 |
| | | | | | | | | Removes otherwise pointless base class | ||
| * | Implement ModelTreeIterate as a wrapper around ModelTreeIterateRoot | Dan Goodliffe | 2023-08-07 |
| | | | | | | | | Adding the HasValue() checks for complex, sequence and dictionary. | ||
| * | Type-safe variant emplace based model tree iteration | Dan Goodliffe | 2023-08-07 |
| | | |||
| * | Fix implementation of json dictionary serialize in non-object mode | Dan Goodliffe | 2023-08-06 |
| | | |||
| * | Move private stuff into anon namespace | Dan Goodliffe | 2023-08-06 |
| | | |||
| * | Prefer [moving] emplace over insert | Dan Goodliffe | 2023-08-06 |
| | | |||
| * | Single call point for DocumentTreeIterate::visit | Dan Goodliffe | 2023-08-06 |
| | | |||
| * | Modernize set up of class name/ref maps | Dan Goodliffe | 2023-08-06 |
| | |