Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-20 | options: fix support for older Qt5 | Stanislaw Halik | |
Reported by @DaWelter. | |||
2021-10-17 | options: use QRecursiveMutex explicitly | Stanislaw Halik | |
2020-01-17 | try to fix build for qt 5.13 | Stanislaw Halik | |
2019-12-29 | fix std::hash<QString> | Stanislaw Halik | |
Fixes #1015 | |||
2019-06-20 | options: fix GCC linkage warning | Stanislaw Halik | |
2019-03-02 | options: consistently use rvalue references | Stanislaw Halik | |
2019-02-09 | options, opentrack: fix migrations with tie_setting | Stanislaw Halik | |
Migrations only ran after `tie_setting()' handlers were done, clobbering the settings that were about to be migrated. Applying QSignalBlocker to few comboboxes isn't enough as it affects everything touched by `tie_setting()'. Split reload and notify phases in the options system. | |||
2018-12-24 | remove const correctness violations | Stanislaw Halik | |
This is possibly related to a livelock where several threads do const removal in their respective code paths. Use the `mutable' specifier for the mutexes and spline's cached data. Now using the `mutable' specifier, get rid of <optional> in compat/mutex. | |||
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-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-07-02 | nothing important | 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-01-18 | compat/util: retire | Stanislaw Halik | |
Adjust usages. | |||
2017-06-22 | misc irrelevant | Stanislaw Halik | |
2017-06-18 | minor tweaks only | Stanislaw Halik | |
2017-05-10 | options: don't create QSettings all the time | Stanislaw Halik | |
Update usages. | |||
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-21 | options/bundle: reorder only | 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. | |||
2017-03-07 | options/bundle: fix class friend decl | Stanislaw Halik | |
2017-02-27 | options/fix bundle refcount handling | Stanislaw Halik | |
We rolled up our own refcount while using shared_ptr at the same time. Remove all rolled-up logic and rely on shared_ptr's custom deleter to do the cleanups. This greatly simplifies the code here. Unfortunately, _fini ordering makes Qt crash after the app object runs out of scope: gui/main.cpp: QApplication app(argc, argv); Both things considered, use _exit(2) on Unix to avoid running static destructors. | |||
2016-12-28 | options/bundle: remove pointless virtual inheritance | 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/bundle: konst korrektness | Stanislaw Halik | |
2016-09-09 | options/bundle: remove rest of logspam | Stanislaw Halik | |
2016-09-09 | options/{bundle,group}: don't create QSettings all the time | Stanislaw Halik | |
2016-09-09 | add support for migrations | Stanislaw Halik | |
They're run from the UI thread so can even be interactive. | |||
2016-09-09 | options/bundle: lessen logspam | Stanislaw Halik | |
2016-08-23 | options/bundle: simplify mutex const-dropping | Stanislaw Halik | |
2016-08-23 | options/bundle: emit changed() whenever any part of a bundle changes | Stanislaw Halik | |
2016-08-23 | options/bundle: treat bundles with empty names specially | Stanislaw Halik | |
They're now not cached in the singleton. Operations like "reload", "save", and connector stuff short-circuit to prevent anything done with them | |||
2016-08-18 | options: factor out connector out of bundle | Stanislaw Halik | |
2016-08-17 | options: support deferred writes when saving bundles | Stanislaw Halik | |
The mapping window has 13 bundles total in use. Setting them all can take up to a large fraction of a second on some windows filesystems. Do a single config write instead. | |||
2016-08-17 | move options framework into its own library | Stanislaw Halik | |
- adjust usages - add support for QList signals and metatype |