Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-09 | options/{bundle,group}: don't create QSettings all the time | Stanislaw Halik | |
2016-09-09 | add support for migrations | Stanislaw Halik | |
They're run from the UI thread so can even be interactive. | |||
2016-09-09 | options/bundle: whitespace only | Stanislaw Halik | |
2016-09-09 | options/bundle: lessen logspam | Stanislaw Halik | |
2016-09-08 | options/value: move from header | Stanislaw Halik | |
2016-09-05 | options/slider: adjust eps, simplify | Stanislaw Halik | |
2016-08-25 | options/value: remove outdated comment | Stanislaw Halik | |
2016-08-25 | options/value: always use Qt::AutoConnection | Stanislaw Halik | |
QSlider and value<t> messed up the value in a feedback loop. Incidentally, for our use cases QSlider and value<t> are on the same thread and they'll connect directly. Issue: #427 Reported-by: @DaMichel | |||
2016-08-25 | options: use non-generic comparison for bundle modification check | Stanislaw Halik | |
The generic QVariant comparison works badly for QList<QPointF>. Create a comparator between two QVariants for base_value in value<tp> ctor, using QVariant::value<tp> which returns right results once it's converted to tp. If a value was registered for a name in a bundle, use that comparator as the comparator for that name. In case conflicting value types were registered always use generic comparison for that name. std::type_index needs to be used here since value<t> can be instantiated in different modules (libraries), resulting in different value for the comparator function pointer. Move group::operator== to bundle type to avoid circular include for connector.h. Also use element_type more consistently in value<tp>. | |||
2016-08-23 | options/bundle: simplify mutex const-dropping | Stanislaw Halik | |
2016-08-23 | options/connector: get_mutex() should be const | Stanislaw Halik | |
2016-08-23 | options/bundle: don't fire signals in reload() with no unsaved changes | Stanislaw Halik | |
2016-08-23 | options/bundle: emit changed() whenever any part of a bundle changes | Stanislaw Halik | |
2016-08-23 | options/bundle: treat bundles with empty names specially | Stanislaw Halik | |
They're now not cached in the singleton. Operations like "reload", "save", and connector stuff short-circuit to prevent anything done with them | |||
2016-08-20 | options/connector: spew more warnings | Stanislaw Halik | |
2016-08-20 | options/connector: spew warning when init/deinit mismatch | Stanislaw Halik | |
2016-08-20 | options/connector: fix infinite loop | Stanislaw Halik | |
2016-08-20 | options/{connector,base_value}: add missing dtor call. rename callees. | Stanislaw Halik | |
2016-08-18 | options: factor out connector out of bundle | Stanislaw Halik | |
2016-08-18 | options: add base_value signal const | Stanislaw Halik | |
2016-08-17 | options: support deferred writes when saving bundles | Stanislaw Halik | |
The mapping window has 13 bundles total in use. Setting them all can take up to a large fraction of a second on some windows filesystems. Do a single config write instead. | |||
2016-08-17 | move options framework into its own library | Stanislaw Halik | |
- adjust usages - add support for QList signals and metatype |