summaryrefslogtreecommitdiffhomepage
path: root/options
AgeCommit message (Collapse)Author
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.
2016-10-11options/connector: fix pointless check for nullptrStanislaw Halik
2016-09-26gui, options: prevent options reset on tracker stopStanislaw Halik
They should only be reset when closing the module dialog window. This is a hack but otherwise we'd have to change all the modules. Issue: #466 Closes #466
2016-09-18add missing copyright termsStanislaw Halik
Due to fucking AT&T vs BSD suit copyright defaults to all rights reserved. Fuck Berne Convention as well.
2016-09-17options/value: allow for inspecting default valueStanislaw Halik
2016-09-17options/tie: don't reinvent slider stuffStanislaw Halik
2016-09-17options/tie: simplify enum comboboxStanislaw Halik
2016-09-17options/slider: we're not using floats anymoreStanislaw Halik
2016-09-17options/slider: fix infix arithmeticStanislaw Halik
2016-09-17options/bundle: konst korrektnessStanislaw Halik
2016-09-16options/value: allow for deref operatorStanislaw Halik
C++ expects pointer so let it have it.
2016-09-16options/slider: fix fpu typeStanislaw Halik
2016-09-16options/tie: use existing slider functionalityStanislaw Halik
2016-09-16options/slider: use double precisionStanislaw Halik
Made Accela slider inaccurate.
2016-09-16options: add QStringLiteral defineStanislaw Halik
2016-09-16gui/main-window: exit program when config not writableStanislaw Halik
Note, it opens the config in read-write mode to check if it's writable. This might present a race condition when config is saved. However, we're expecting all config saving to be done in the user interface thread. Add a check for it however.
2016-09-09options/bundle: remove rest of logspamStanislaw Halik
2016-09-09options/{bundle,group}: don't create QSettings all the timeStanislaw Halik