summaryrefslogtreecommitdiffhomepage
path: root/options
AgeCommit message (Collapse)Author
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.
2019-02-09options: sprinkle some QStringLiteralStanislaw Halik
2019-02-09use consistent naming for `profile'Stanislaw Halik
2019-02-02options/globals: always return same document directoryStanislaw Halik
2019-01-16options/value: disallow const, volatile, and reference typesStanislaw Halik
2019-01-16options/slider: fix temporary constnessStanislaw Halik
2019-01-16options/value: add move assignment operatorsStanislaw Halik
2019-01-16spline: fix deadlock, logic errorStanislaw Halik
Tracking rarely deadlocked when saving mappings. Investigating it further also shown how a wrong bundle was used for Accela's splines.
2019-01-16cruft onlyStanislaw Halik
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
2019-01-16cruft onlyStanislaw Halik
2019-01-16cruftStanislaw Halik
2019-01-16options/value: don't mark noinline so muchStanislaw Halik
Let's trust the compiler a bit shall we?
2019-01-16options/{value,connector}: workaround friend declarationStanislaw Halik
2019-01-16clang-tidy fixes onlyStanislaw Halik
Maybe global `-Wcomma' is too harsh. There should be no functional changes whatsoever.
2018-12-24style/quality onlyStanislaw Halik
No functional changes. - add `override' everywhere where missing - almost pass clang's `-Wweak-vtables' - avoid some float/double conversions - remove unused private members - make signedness conversions explicit - put stuff in right namespaces to aid analysis
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-25options/bundle: fix signals not firingStanislaw Halik
The check for ini modified happens after ini modified flag is already cleared. Was breaking spline.
2018-10-25options/value: remove pointless conditionalStanislaw Halik
std::decay doesn't have enum-specific behavior.
2018-10-25options/value-traits: fix bool storageStanislaw Halik
Using int as `stored_type' for bool made Qt signals not work. Evident when ticking the "asymmetric mapping" checkboxes in the mapping window. Remove some std::decay_t usage, there's no need for either decay or remove_cvref. In `value<t>::get()', `bundle::get_variant' of an undefined key will fall back to `return def' so remove the duplicate logic.
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-10-05use attributes only at declaration, not definitionStanislaw Halik
2018-08-27compat/linkage-macros: simplifyStanislaw Halik
2018-08-25options/tie: fix typo in bind listStanislaw Halik
2018-08-03irrelevant busyworkStanislaw Halik
2018-07-24minor cleanupsStanislaw Halik
2018-07-14fix buildStanislaw Halik
2018-07-14options/slider: remove constexprStanislaw Halik
it implies inline
2018-07-13appease analyzerStanislaw Halik
2018-07-10fix buildStanislaw 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-07-08modernize onlyStanislaw Halik
2018-07-02nothing importantStanislaw Halik
2018-06-26options/group: add commentStanislaw Halik
We'll be moving away from QSettings usage. The intent here is to: 1) get rid of this cruft 2) allow notifying all values with given name that their value changed in one of these values, i.e. `valueChanged()' without connector usage
2018-06-26options/value: add missing dereference operatorStanislaw Halik
2018-06-26options/slider: add missing `operator!='Stanislaw Halik
2018-06-26options/base-value: rename to `value_'Stanislaw Halik
2018-06-26modernize C++ syntaxStanislaw Halik
No visible changes (hopefully).
2018-06-26options/slider: output something nice for QDebugStanislaw Halik
2018-06-26options/slider: fix link errorStanislaw Halik
2018-06-26options/metatype: simplifyStanislaw Halik
2018-06-26compat/macros: rename portability macrosStanislaw Halik
use `cc_xx' rather than awkward synonyms.
2018-06-26core, modules: modernize syntax onlyStanislaw Halik
Use more C++17 features where this helps any.
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-04-28settings: store untranslated chosen module namesStanislaw Halik
Now that we translate module names, they have to be stored as language-neutral in the config. - add tie_setting overload with from/to conversions - add logic to opentrack/main-window - add migration - remove actually useless tie_setting_traits
2018-04-28options/qt: cleanup metatype definitionStanislaw Halik
Also note Koenig lookup works