summaryrefslogtreecommitdiffhomepage
path: root/options/connector.hpp
AgeCommit message (Collapse)Author
2021-10-20options: fix support for older Qt5Stanislaw Halik
Reported by @DaWelter.
2021-10-17options: use QRecursiveMutex explicitlyStanislaw Halik
2020-01-17try to fix build for qt 5.13Stanislaw Halik
2020-01-16compat/qhash: try fix older QtStanislaw Halik
2019-12-29fix std::hash<QString>Stanislaw Halik
Fixes #1015
2019-01-16modernize onlyStanislaw Halik
- replace `static constexpr inline' with `static constexpr'. `inline' is implied. - use braced initializer lists where applicable - still missing `override' usages
2018-10-05options: don't use typeindex w/ lambdasStanislaw Halik
Rename traits' functions to be more explicit. Most of the changes are pretty old and I can't read them at this time, sorry. Adjust usages. Issue: #825 Reported-by: @DanielKinsman
2018-07-02nothing importantStanislaw Halik
2018-06-26options/base-value: rename to `value_'Stanislaw Halik
2017-10-08fix harmless msvc warningsStanislaw Halik
2017-03-25options: add some never_inline attribsStanislaw Halik
2017-03-21options/{bundle,connector,value}: allow setting to default valuesStanislaw Halik
This is complicated by Qt's rejection of template classes. Also move some stuff to slots where makes sense.
2016-12-28options/connector: needn't export itStanislaw Halik
Only symbol usages are inside options library's compilation units.
2016-09-18add missing copyright termsStanislaw Halik
Due to fucking AT&T vs BSD suit copyright defaults to all rights reserved. Fuck Berne Convention as well.
2016-08-25options: use non-generic comparison for bundle modification checkStanislaw Halik
The generic QVariant comparison works badly for QList<QPointF>. Create a comparator between two QVariants for base_value in value<tp> ctor, using QVariant::value<tp> which returns right results once it's converted to tp. If a value was registered for a name in a bundle, use that comparator as the comparator for that name. In case conflicting value types were registered always use generic comparison for that name. std::type_index needs to be used here since value<t> can be instantiated in different modules (libraries), resulting in different value for the comparator function pointer. Move group::operator== to bundle type to avoid circular include for connector.h. Also use element_type more consistently in value<tp>.
2016-08-23options/connector: get_mutex() should be constStanislaw Halik
2016-08-20options/connector: spew more warningsStanislaw Halik
2016-08-20options/{connector,base_value}: add missing dtor call. rename callees.Stanislaw Halik
2016-08-18options: factor out connector out of bundleStanislaw Halik