Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-07-19 | logic, compat: remove pointless debug messages | Stanislaw Halik | |
2016-07-19 | compat/options: don't copy-paste config filename retrieval | Stanislaw Halik | |
2016-07-06 | Revert "compat/options: export template instances to lessen code bloat" | Stanislaw Halik | |
This reverts commit 1e26e00e9ae0c519355e3a6fe5ad098d1f6a9622. Broke osx. | |||
2016-07-06 | compat/options: export template instances to lessen code bloat | Stanislaw Halik | |
2016-07-06 | compat/options: split too long header | Stanislaw Halik | |
2016-07-03 | compat/options: fix and simplify slider support | Stanislaw Halik | |
- Introduce rounding. Before, slider pos didn't correspond to the saved setting until it "converged" several saves later. - Move copy-pasted code to .cpp file. | |||
2016-06-29 | compat/options: make inline to fix lto | Stanislaw Halik | |
2016-06-20 | compat/options: inline method | Stanislaw Halik | |
2016-06-14 | compat, proto/fsuipc: fix GNU CXX 6.1.0+ build | Stanislaw Halik | |
Include cmath explicitly | |||
2016-06-14 | compat/options: use traits to prevent slider min/max persistence | Stanislaw Halik | |
Without it, the serialized min and max member vars were set in stone despite further code changes. Now only the current value is persisted. Add clamp for cur/min/max slider values. Store default value as t rather than underlying_t since it's always been casted anyway. Add trivial comment, update copyright. | |||
2016-06-14 | compat/options: workaround lto bug on windows | Stanislaw Halik | |
2016-06-14 | compat/options: slider_value improvements | Stanislaw Halik | |
- a comparison operator. Qt uses it with the metatype support. - pretty print support for QDebug | |||
2016-06-14 | compat/options: always do a full check of changes | Stanislaw Halik | |
Get rid of state variable and compare transient/saved state exactly. Marking the "modified" bit caused IO when changing and then changing back to the original value, then saving. | |||
2016-06-14 | gui, spline-widget, compat/options: ensure no qsettings IO when not modified | Stanislaw Halik | |
Turns out every MainWindow::save() and friends were doing useless IO several times during each save. I blame the bundle abstraction. For bundles we track the modified state, but the spline widget needs equality check since it doesn't use the options api. It was found by accident when adding qDebug() into the slider_value {de,}serializer code. The .ini file was being rewritten over and over again causing hundres of milliseconds pauses on Windows. Remove the save timer kludge from gui. Saves are now fast. | |||
2016-06-14 | compat/options: finish slider value support | Stanislaw Halik | |
Keeping "cur" in 0->1 distorts the value on save/reload. | |||
2016-05-26 | compat/options: finish slider value support more | Stanislaw Halik | |
2016-05-25 | compat/options: konst korrektness | Stanislaw Halik | |
2016-05-13 | many: remove unneeded implicit type conversion double <-> float | Stanislaw Halik | |
2015-12-06 | compat/options: get rid of std::string usage | Stanislaw Halik | |
It's pointless to use it here. | |||
2015-12-06 | compat/options: move from header | Stanislaw Halik | |
2015-11-22 | compat/options: no need to heap-alloc here | Stanislaw Halik | |
2015-11-01 | options: don't define options singleton in every module | Stanislaw Halik | |
Instead, define in opentrack-api.so only. Also, move to opentrack-compat to break a circular dependency |