summaryrefslogtreecommitdiffhomepage
path: root/options/value.hpp
AgeCommit message (Collapse)Author
2018-10-25cleanups onlyStanislaw Halik
2018-10-07fix GCC build errorsStanislaw Halik
Issue: #726
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-08-27compat/linkage-macros: simplifyStanislaw Halik
2018-07-13appease analyzerStanislaw Halik
2018-07-08options: fix 2 issuesStanislaw Halik
1. Calling valueChanged didn't invoke machinery in value<t>, only base_value aka value_. There's a fast path in value<t>::type() despite the pessimization. 2. Split global scope stuff into options::globals from the options::globals stuff 3. Adjust usages
2018-06-26options/value: add missing dereference operatorStanislaw Halik
2018-06-26options/base-value: rename to `value_'Stanislaw Halik
2018-06-26compat/macros: rename portability macrosStanislaw Halik
use `cc_xx' rather than awkward synonyms.
2018-05-30compat/linkage: extern template works on GNU nowStanislaw Halik
2018-04-29options/value: add missing explicit instantiationStanislaw Halik
2018-04-28random cleanupsStanislaw Halik
2018-01-20remove mistaken usages of std::forwardStanislaw Halik
I originally mistaken what the function did.
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2018-01-10options/value: don't do tree lookup twiceStanislaw Halik
2017-12-18options: use string literals directlyStanislaw Halik
2017-12-02options/value: add always-default valuesStanislaw Halik
Also Visual Studio 2017 Preview 15.5 now does "constexpr inline"
2017-10-20options: allow for dud valuesStanislaw Halik
2017-10-02options: miscStanislaw Halik
2017-09-22options: simplify macroStanislaw Halik
2017-08-14some style fixesStanislaw Halik
2017-07-24options: disable extern template on non-msvcStanislaw Halik
2017-07-06options/value: try "extern template" for code sizeStanislaw Halik
2017-06-22misc irrelevantStanislaw Halik
2017-05-12options: split up value.hpp headerStanislaw Halik
Also combine the traits classes and make them more useful.
2017-04-06options/value: sprinkle konstStanislaw Halik
2017-04-06options: allow tie combobox to qvariantStanislaw Halik
2017-03-28compat, options: remove explicit template instantiationStanislaw Halik
It breaks on GNU and saves little space.
2017-03-28start renaming internal macros as OPENTRACK_* to OTR_*Stanislaw Halik
2017-03-25options: add some never_inline attribsStanislaw Halik
2017-03-24options, compat: instantiate common templates in their .dll'sStanislaw 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-24options/value: adjust conntypes since slider_value handles it nowStanislaw Halik
2016-12-08options: get element with call operatorStanislaw Halik
thread_local is expensive.
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-09-17options/value: allow for inspecting default valueStanislaw Halik
2016-09-16options/value: allow for deref operatorStanislaw Halik
C++ expects pointer so let it have it.
2016-09-08options/value: move from headerStanislaw Halik
2016-08-25options/value: remove outdated commentStanislaw Halik
2016-08-25options/value: always use Qt::AutoConnectionStanislaw Halik
QSlider and value<t> messed up the value in a feedback loop. Incidentally, for our use cases QSlider and value<t> are on the same thread and they'll connect directly. Issue: #427 Reported-by: @DaMichel
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-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
2016-08-18options: add base_value signal constStanislaw Halik
2016-08-17move options framework into its own libraryStanislaw Halik
- adjust usages - add support for QList signals and metatype