summaryrefslogtreecommitdiffhomepage
path: root/options
AgeCommit message (Collapse)Author
2017-07-26options: organize metatype declarationsStanislaw Halik
2017-07-24Revert "options/metatype: nuke it"Stanislaw Halik
This was making sliders unable to save at all.
2017-07-24options: disable extern template on non-msvcStanislaw Halik
2017-07-20options/tie: add overload with no format stringStanislaw Halik
2017-07-20options/metatype: nuke itStanislaw Halik
The code isn't necessary, and causes uninitialized memory access when playing with QVariant later.
2017-07-06options/value: try "extern template" for code sizeStanislaw Halik
2017-06-22misc irrelevantStanislaw Halik
2017-06-18minor tweaks onlyStanislaw Halik
2017-05-24options/tie: add todoStanislaw Halik
2017-05-14options/tie: appease llvmStanislaw Halik
for some reason can't put a parameter pack after an optional argument. go figure.
2017-05-12options: split up value.hpp headerStanislaw Halik
Also combine the traits classes and make them more useful.
2017-05-12minor fixes onlyStanislaw Halik
2017-05-10options/group: nicely format debug timestampStanislaw Halik
2017-05-10options/tie: allow for custom-formatting the ini valueStanislaw Halik
2017-05-10options: don't create QSettings all the timeStanislaw Halik
Update usages.
2017-05-10options/bundle: skip needless compare-twiceStanislaw Halik
2017-04-29options/tie: allow for binding with a format stringStanislaw Halik
2017-04-06options/value: sprinkle konstStanislaw Halik
2017-04-06options: allow tie combobox to qvariantStanislaw Halik
2017-04-06options/value: we're not instantiating templates anymoreStanislaw Halik
2017-03-28compat, options: remove explicit template instantiationStanislaw Halik
It breaks on GNU and saves little space.
2017-03-28start renaming internal macros as OPENTRACK_* to OTR_*Stanislaw Halik
2017-03-27cmake: rename project's function prefixStanislaw Halik
It's not annoying having to type it anymore. Also "otr_boilerplate" -> "otr_module".
2017-03-25options: add some never_inline attribsStanislaw Halik
2017-03-25options/bundle: appease qt creatorStanislaw Halik
2017-03-24options, compat: instantiate common templates in their .dll'sStanislaw Halik
2017-03-21options/bundle: reorder onlyStanislaw Halik
2017-03-21options/{bundle,connector,value}: allow setting to default valuesStanislaw Halik
This is complicated by Qt's rejection of template classes. Also move some stuff to slots where makes sense.
2017-03-07options/bundle: fix class friend declStanislaw Halik
2017-02-27options/fix bundle refcount handlingStanislaw Halik
We rolled up our own refcount while using shared_ptr at the same time. Remove all rolled-up logic and rely on shared_ptr's custom deleter to do the cleanups. This greatly simplifies the code here. Unfortunately, _fini ordering makes Qt crash after the app object runs out of scope: gui/main.cpp: QApplication app(argc, argv); Both things considered, use _exit(2) on Unix to avoid running static destructors.
2017-02-27remove unfinished polish translation filesStanislaw Halik
Polish speakers typically know English well enough and translations are awkward.
2017-02-21modules: add .ts filesStanislaw Halik
2017-01-09logic/libs: options/scoped: don't reset dialog on proto load failureStanislaw Halik
2016-12-30options/scoped: clarify usageStanislaw Halik
Also the original comment was irrelevant.
2016-12-28options/bundle: remove pointless virtual inheritanceStanislaw Halik
2016-12-28options/connector: needn't export itStanislaw Halik
Only symbol usages are inside options library's compilation units.
2016-12-28options/tie: fix typoStanislaw Halik
2016-12-24options/value: adjust conntypes since slider_value handles it nowStanislaw Halik
2016-12-24options/tie: remove template. move from header.Stanislaw Halik
2016-12-24options/tie: clarify threading logicStanislaw Halik
Forcefully run in the widget's thread in both signal cases. If the connection is made and the widget's moved to another thread after, we'll observe the "epileptic slider" issue again. Clarify by explicitly using Qt::DirectConnection.
2016-12-24options/tie: fix wrong signal listened toStanislaw Halik
Fixes sliders remaining at same position when changing profile and thus, their values.
2016-12-08options: get element with call operatorStanislaw Halik
thread_local is expensive.
2016-12-03options: explicitly include compat/utilStanislaw Halik
2016-11-29options/tie: simplify slider usage with run_in_thread_sync()Stanislaw Halik
2016-11-29options/tie: fix for enumStanislaw Halik
Fundamentally this was caused by incorrect lambda capture spec for the qobject ptr. We need to capture the pointer by value. Reported-by: @huliqan on IL-2 Sturmovik Russian forum. Fixes: hatire serial port params
2016-11-05delete empty .tsStanislaw Halik
2016-11-04modules: add autogenerated translation filesStanislaw Halik
2016-10-19options/slider: check for floating-point division by zeroStanislaw Halik
It's not strictly necessary but a good practice nevertheless.
2016-10-19options/tie: output slider_value after truncation errorStanislaw Halik
2016-10-11options/connector: bundle can't be null at all hereStanislaw Halik
It's a shared_ptr<detail::bundle> stored in base_value.