Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2019-02-09 | options: sprinkle some QStringLiteral | Stanislaw Halik | |
2019-02-09 | use consistent naming for `profile' | Stanislaw Halik | |
2019-02-02 | options/globals: always return same document directory | Stanislaw Halik | |
2019-01-16 | options/value: disallow const, volatile, and reference types | Stanislaw Halik | |
2019-01-16 | options/slider: fix temporary constness | Stanislaw Halik | |
2019-01-16 | options/value: add move assignment operators | Stanislaw Halik | |
2019-01-16 | spline: fix deadlock, logic error | Stanislaw Halik | |
Tracking rarely deadlocked when saving mappings. Investigating it further also shown how a wrong bundle was used for Accela's splines. | |||
2019-01-16 | cruft only | Stanislaw Halik | |
2019-01-16 | modernize only | Stanislaw Halik | |
- replace `static constexpr inline' with `static constexpr'. `inline' is implied. - use braced initializer lists where applicable - still missing `override' usages | |||
2019-01-16 | cruft only | Stanislaw Halik | |
2019-01-16 | cruft | Stanislaw Halik | |
2019-01-16 | options/value: don't mark noinline so much | Stanislaw Halik | |
Let's trust the compiler a bit shall we? | |||
2019-01-16 | options/{value,connector}: workaround friend declaration | Stanislaw Halik | |
2019-01-16 | clang-tidy fixes only | Stanislaw Halik | |
Maybe global `-Wcomma' is too harsh. There should be no functional changes whatsoever. | |||
2018-12-24 | style/quality only | Stanislaw 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-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-25 | options/bundle: fix signals not firing | Stanislaw Halik | |
The check for ini modified happens after ini modified flag is already cleared. Was breaking spline. | |||
2018-10-25 | options/value: remove pointless conditional | Stanislaw Halik | |
std::decay doesn't have enum-specific behavior. | |||
2018-10-25 | options/value-traits: fix bool storage | Stanislaw 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-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-10-05 | use attributes only at declaration, not definition | Stanislaw Halik | |
2018-08-27 | compat/linkage-macros: simplify | Stanislaw Halik | |
2018-08-25 | options/tie: fix typo in bind list | Stanislaw Halik | |
2018-08-03 | irrelevant busywork | Stanislaw Halik | |
2018-07-24 | minor cleanups | Stanislaw Halik | |
2018-07-14 | fix build | Stanislaw Halik | |
2018-07-14 | options/slider: remove constexpr | Stanislaw Halik | |
it implies inline | |||
2018-07-13 | appease analyzer | Stanislaw Halik | |
2018-07-10 | fix build | 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-07-08 | modernize only | Stanislaw Halik | |
2018-07-02 | nothing important | Stanislaw Halik | |
2018-06-26 | options/group: add comment | Stanislaw 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-26 | options/value: add missing dereference operator | Stanislaw Halik | |
2018-06-26 | options/slider: add missing `operator!=' | Stanislaw Halik | |
2018-06-26 | options/base-value: rename to `value_' | Stanislaw Halik | |
2018-06-26 | modernize C++ syntax | Stanislaw Halik | |
No visible changes (hopefully). | |||
2018-06-26 | options/slider: output something nice for QDebug | Stanislaw Halik | |
2018-06-26 | options/slider: fix link error | Stanislaw Halik | |
2018-06-26 | options/metatype: simplify | Stanislaw Halik | |
2018-06-26 | compat/macros: rename portability macros | Stanislaw Halik | |
use `cc_xx' rather than awkward synonyms. | |||
2018-06-26 | core, modules: modernize syntax only | Stanislaw Halik | |
Use more C++17 features where this helps any. | |||
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-04-28 | settings: store untranslated chosen module names | Stanislaw 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-28 | options/qt: cleanup metatype definition | Stanislaw Halik | |
Also note Koenig lookup works |