Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-25 | options/value: remove pointless conditional | Stanislaw Halik | |
std::decay doesn't have enum-specific behavior. | |||
2018-10-25 | cleanups only | Stanislaw Halik | |
2018-10-07 | fix GCC build errors | Stanislaw Halik | |
Issue: #726 | |||
2018-10-05 | options: don't use typeindex w/ lambdas | Stanislaw 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-27 | compat/linkage-macros: simplify | Stanislaw Halik | |
2018-07-13 | appease analyzer | Stanislaw Halik | |
2018-07-08 | options: fix 2 issues | Stanislaw 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-26 | options/value: add missing dereference operator | Stanislaw Halik | |
2018-06-26 | options/base-value: rename to `value_' | Stanislaw Halik | |
2018-06-26 | compat/macros: rename portability macros | Stanislaw Halik | |
use `cc_xx' rather than awkward synonyms. | |||
2018-05-30 | compat/linkage: extern template works on GNU now | Stanislaw Halik | |
2018-04-29 | options/value: add missing explicit instantiation | Stanislaw Halik | |
2018-04-28 | random cleanups | Stanislaw Halik | |
2018-01-20 | remove mistaken usages of std::forward | Stanislaw Halik | |
I originally mistaken what the function did. | |||
2018-01-18 | compat/util: retire | Stanislaw Halik | |
Adjust usages. | |||
2018-01-10 | options/value: don't do tree lookup twice | Stanislaw Halik | |
2017-12-18 | options: use string literals directly | Stanislaw Halik | |
2017-12-02 | options/value: add always-default values | Stanislaw Halik | |
Also Visual Studio 2017 Preview 15.5 now does "constexpr inline" | |||
2017-10-20 | options: allow for dud values | Stanislaw Halik | |
2017-10-02 | options: misc | Stanislaw Halik | |
2017-09-22 | options: simplify macro | Stanislaw Halik | |
2017-08-14 | some style fixes | Stanislaw Halik | |
2017-07-24 | options: disable extern template on non-msvc | Stanislaw Halik | |
2017-07-06 | options/value: try "extern template" for code size | Stanislaw Halik | |
2017-06-22 | misc irrelevant | Stanislaw Halik | |
2017-05-12 | options: split up value.hpp header | Stanislaw Halik | |
Also combine the traits classes and make them more useful. | |||
2017-04-06 | options/value: sprinkle konst | Stanislaw Halik | |
2017-04-06 | options: allow tie combobox to qvariant | Stanislaw Halik | |
2017-03-28 | compat, options: remove explicit template instantiation | Stanislaw Halik | |
It breaks on GNU and saves little space. | |||
2017-03-28 | start renaming internal macros as OPENTRACK_* to OTR_* | Stanislaw Halik | |
2017-03-25 | options: add some never_inline attribs | Stanislaw Halik | |
2017-03-24 | options, compat: instantiate common templates in their .dll's | Stanislaw Halik | |
2017-03-21 | options/{bundle,connector,value}: allow setting to default values | Stanislaw Halik | |
This is complicated by Qt's rejection of template classes. Also move some stuff to slots where makes sense. | |||
2016-12-24 | options/value: adjust conntypes since slider_value handles it now | Stanislaw Halik | |
2016-12-08 | options: get element with call operator | Stanislaw Halik | |
thread_local is expensive. | |||
2016-09-18 | add missing copyright terms | Stanislaw Halik | |
Due to fucking AT&T vs BSD suit copyright defaults to all rights reserved. Fuck Berne Convention as well. | |||
2016-09-17 | options/value: allow for inspecting default value | Stanislaw Halik | |
2016-09-16 | options/value: allow for deref operator | Stanislaw Halik | |
C++ expects pointer so let it have it. | |||
2016-09-08 | options/value: move from header | Stanislaw Halik | |
2016-08-25 | options/value: remove outdated comment | Stanislaw Halik | |
2016-08-25 | options/value: always use Qt::AutoConnection | Stanislaw 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-25 | options: use non-generic comparison for bundle modification check | Stanislaw 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-20 | options/connector: spew more warnings | Stanislaw Halik | |
2016-08-20 | options/{connector,base_value}: add missing dtor call. rename callees. | Stanislaw Halik | |
2016-08-18 | options: factor out connector out of bundle | Stanislaw Halik | |
2016-08-18 | options: add base_value signal const | Stanislaw Halik | |
2016-08-17 | move options framework into its own library | Stanislaw Halik | |
- adjust usages - add support for QList signals and metatype |