summaryrefslogtreecommitdiffhomepage
path: root/options
AgeCommit message (Collapse)Author
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
2017-12-18options: use string literals directlyStanislaw Halik
2017-12-10options: rename templateStanislaw Halik
2017-12-04api: add status check for modulesStanislaw Halik
2017-12-02options/value: add always-default valuesStanislaw Halik
Also Visual Studio 2017 Preview 15.5 now does "constexpr inline"
2017-10-30options: fix evil typoStanislaw Halik
2017-10-29static constexpr -> constexprStanislaw Halik
2017-10-27options/value: template fixStanislaw Halik
2017-10-20options/scoped: use raiiStanislaw Halik
2017-10-20logic, spline: more spline work/fixesStanislaw Halik
- mapping window clamps are now value<max_clamp> in spline - clamp won't mess up saved spline content - clean up artifacts on spline widget
2017-10-20options: allow for dud valuesStanislaw Halik
2017-10-20options, migration: simplifyStanislaw Halik
2017-10-20options/slider: allow arbitrary castStanislaw Halik
2017-10-20options/tie: prevent feedback loop with enumsStanislaw Halik
2017-10-13tracker/pt, options: fix threshold sliderStanislaw Halik
It's only the tie_setting(slider_value, QSlider) that has race-free slider updates. Needed to update the threshold slider representation. Remove the tie_setting(int, QSlider) overload since it doesn't have the logic. Add a migration. Add base_value::notify() for use-cases like the checkbox updating the label.
2017-10-13options/tie: change "tie" overloadsStanislaw Halik
Adjust usages. There are ODR issues with MSVC and it doesn't support C++17 "static inline constexpr" _variables_. Otherwise, "signal_fun" could be a variable and not a function. The usages in accela/ewma2 dialog are more verbose now but the original API was silly.
2017-10-08fix harmless msvc warningsStanislaw Halik
2017-10-08add complete(?) portable config supportStanislaw Halik
2017-10-02options: enable portable installation modeStanislaw Halik
2017-10-02options: miscStanislaw Halik