summaryrefslogtreecommitdiffhomepage
path: root/migration
AgeCommit message (Collapse)Author
2019-02-09migration: fix lazily-written module name migrationStanislaw Halik
2019-02-09use consistent naming for `profile'Stanislaw Halik
2019-01-16clang-tidy fixes onlyStanislaw Halik
Maybe global `-Wcomma' is too harsh. There should be no functional changes whatsoever.
2018-12-24style/quality onlyStanislaw Halik
No functional changes. - add `override' everywhere where missing - almost pass clang's `-Wweak-vtables' - avoid some float/double conversions - remove unused private members - make signedness conversions explicit - put stuff in right namespaces to aid analysis
2018-10-05options: don't use typeindex w/ lambdasStanislaw Halik
Rename traits' functions to be more explicit. Most of the changes are pretty old and I can't read them at this time, sorry. Adjust usages. Issue: #825 Reported-by: @DanielKinsman
2018-07-08migration: actualy batch the updatesStanislaw 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-06-26options/value: add missing dereference operatorStanislaw Halik
2018-06-26modernize C++ syntaxStanislaw Halik
No visible changes (hopefully).
2018-06-26spline: less deserialize points from qvariantStanislaw Halik
2018-06-26core, modules: modernize syntax onlyStanislaw Halik
Use more C++17 features where this helps any.
2018-05-02migration: add missing <memory>Stanislaw Halik
Spotted-by: @zanoni-mbdyn
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-28migration: use thunksStanislaw Halik
Otherwise we get QCoreApplication used before QApplication instance is created. Requesting the sorted migration data will force the thunks.
2018-02-15clean up "static" and "constexpr" typesStanislaw Halik
- use `static constexpr inline' to avoid requiring explicit declarations in object code - use `const Foo* const' to maybe put into readonly binary segment (at least for ELF DSOs) - `constexpr' in function scope has storage, avoid `static' - don't use `constexpr' where there's no advantage, like arrays We'd like to avoid overhead of atomic initialization for each function call. No idea how `static constexpr' requiring storage in the standard plays with atomic initialization requirement. Hearsay points that `constexpr' without `static' in block scope behaves more to our liking. It's all hazy though. I'm not 100% sure if `static inline constexpr' has any storage. Hopefully none, like a #define, and stuff bigger than registers gets coalesced within the same module, with small stuff being immediates.
2018-02-12cmake: add zh_CNStanislaw Halik
cf. #746
2018-01-19migration: fix -WpedanticStanislaw Halik
2018-01-18migration: fix possible bitrotStanislaw Halik
Don't include current settings headers. Once they change the old migration needs rewriting. Rewrite it now and make it a point not to include current headers. The old Accela migration is pointless given that settings changed max values.
2018-01-18logic: change relative translation triggeringStanislaw Halik
Relative translation mode now has three states: - disabled - always enabled - enabled when not aiming In the third mode, looking very close to center disables reltrans. The exact values aren't final.
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2018-01-17compat: get rid of string literal operatorStanislaw Halik
2018-01-03gui/process-detector: change separator charactersStanislaw Halik
Prevent common characters from breaking the saved list. Use unprintable characters. Add migration.
2017-10-29static constexpr -> constexprStanislaw Halik
2017-10-27filter/accela: kill rotation nonlinearityStanislaw Halik
2017-10-20fix wrt spline apiStanislaw Halik
2017-10-20options, migration: simplifyStanislaw Halik
2017-10-20spline: allow switch pitch mapping max Y 90/180Stanislaw Halik
2017-10-20logic/main-settings: simplifyStanislaw 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-06-10filter/accela: make gain less sluggish overallStanislaw Halik
2017-05-10options: don't create QSettings all the timeStanislaw Halik
Update usages.
2017-04-20{proto,tracker}-udp: add migration from old namesStanislaw Halik
Issue: #571
2017-03-28start renaming internal macros as OPENTRACK_* to OTR_*Stanislaw Halik
2017-03-28rename spline-widget -> splineStanislaw Halik
Adjust usages.
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-27migration: adjust for accela var name changesStanislaw Halik
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-29spline-widget: remove camel caseStanislaw Halik
My eyes bleed a bit less
2016-12-28migration: fix for real this timeStanislaw Halik
clang whines on the initial hack
2016-12-28migration: prevent accela's settings bundle from persistingStanislaw Halik
2016-12-08options: get element with call operatorStanislaw Halik
thread_local is expensive.
2016-11-05delete empty .tsStanislaw Halik
2016-11-04modules: add autogenerated translation filesStanislaw Halik
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-17migration: import Accela settings prior to using slider_valueStanislaw Halik
2016-09-09migration: fix -pedanticStanislaw Halik
2016-09-09migration: type aliases confuse IDE so let's notStanislaw Halik
2016-09-09migration: new - move to module sectionStanislaw Halik