summaryrefslogtreecommitdiffhomepage
path: root/options
AgeCommit message (Collapse)Author
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
2018-04-06options/tie: preliminary support for early conversionsStanislaw Halik
2018-04-05options/value-traits: add missing pragma onceStanislaw Halik
2018-02-21options: fix MSVC buildStanislaw Halik
C++17 isn't fully supported.
2018-02-21docs: add doxygenStanislaw Halik
2018-02-12cmake: add zh_CNStanislaw Halik
cf. #746
2018-01-31gui: clean up a bitStanislaw Halik
2018-01-20remove mistaken usages of std::forwardStanislaw Halik
I originally mistaken what the function did.
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2018-01-18compat: split/cleanup util.hppStanislaw Halik
Some of the headers are clearly useless. Remove them. Move what's inside util.hpp into separate headers. Adjust usages. Will remove util.hpp.
2018-01-13cmake, main: work toward introducing alternative UIStanislaw Halik
We're going to base opentrack derivatives on the same branch. Previously merges were a living hell. Modularizing the UI code and having continuously-built executables will do a lot. First opentrack variant in progress is a TrackHat device for mouse and scrolling control for people with spine and hand/arm disabilities.
2018-01-11minor cleanupStanislaw Halik
2018-01-10options/value: don't do tree lookup twiceStanislaw Halik