summaryrefslogtreecommitdiffhomepage
path: root/options/bundle.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
2019-12-29fix std::hash<QString>Stanislaw Halik
Fixes #1015
2019-06-20options: fix GCC linkage warningStanislaw Halik
2019-03-02options: consistently use rvalue referencesStanislaw Halik
2019-02-09options, opentrack: fix migrations with tie_settingStanislaw 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-24remove const correctness violationsStanislaw 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-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-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-07-02nothing importantStanislaw 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-01-18compat/util: retireStanislaw Halik
Adjust usages.
2017-06-22misc irrelevantStanislaw Halik
2017-06-18minor tweaks onlyStanislaw Halik
2017-05-10options: don't create QSettings all the timeStanislaw Halik
Update usages.
2017-03-28start renaming internal macros as OPENTRACK_* to OTR_*Stanislaw Halik
2017-03-25options: add some never_inline attribsStanislaw Halik
2017-03-21options/bundle: reorder onlyStanislaw 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.
2017-03-07options/bundle: fix class friend declStanislaw Halik
2017-02-27options/fix bundle refcount handlingStanislaw 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-28options/bundle: remove pointless virtual inheritanceStanislaw 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/bundle: konst korrektnessStanislaw Halik
2016-09-09options/bundle: remove rest of logspamStanislaw Halik
2016-09-09options/{bundle,group}: don't create QSettings all the timeStanislaw Halik
2016-09-09add support for migrationsStanislaw Halik
They're run from the UI thread so can even be interactive.
2016-09-09options/bundle: lessen logspamStanislaw Halik
2016-08-23options/bundle: simplify mutex const-droppingStanislaw Halik
2016-08-23options/bundle: emit changed() whenever any part of a bundle changesStanislaw Halik
2016-08-23options/bundle: treat bundles with empty names speciallyStanislaw 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-18options: factor out connector out of bundleStanislaw Halik
2016-08-17options: support deferred writes when saving bundlesStanislaw 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-17move options framework into its own libraryStanislaw Halik
- adjust usages - add support for QList signals and metatype