summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2016-08-28cmake: boilerplate stuffStanislaw Halik
- add SOURCES param for extra sources - NO-QT will skip moc invocation entirely
2016-08-26fix linux build: missing symbol N_POINTSDaMichel
2016-08-25options/value: remove outdated commentStanislaw Halik
2016-08-25options/value: always use Qt::AutoConnectionStanislaw 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-25options: use non-generic comparison for bundle modification checkStanislaw 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-25tracker/rs: disable nodefaultlib. we're using /MT globally now for msvc.Stanislaw Halik
2016-08-25gui: add fixups for qt5 .dll's in msvc buildStanislaw Halik
2016-08-25cmake/msvc: disable /MP, we're using jomStanislaw Halik
2016-08-24tracker/rs: fix MSVC link warningStanislaw Halik
2016-08-24gui: fix install location on win32Stanislaw Halik
2016-08-24remove make-tar, unusedStanislaw Halik
2016-08-23cmake/msvc: typoStanislaw Halik
2016-08-23cmake: remove debug codeStanislaw Halik
2016-08-23gui/main: fix link error on msvc++Stanislaw Halik
2016-08-23logic/tracker: minor nonsenseStanislaw Halik
2016-08-23tracker/udp: minor fixesStanislaw Halik
- use clamp util function - only sleep until the next datagram arrives - check data for NaN before accepting
2016-08-23compat/util: move typical "clamp" function hereStanislaw Halik
2016-08-23cmake/mingw-w64: adjust path for my convenience onlyStanislaw Halik
2016-08-23gui/main-window: fix build on some Debian Qt5Stanislaw Halik
2016-08-23x-plane-plugin: fix buildStanislaw Halik
2016-08-23dinput: lessen logspamStanislaw Halik
2016-08-23cmake: don't try to editbin static libraries. avoid warning.Stanislaw Halik
2016-08-23cmake/msvc: prevent warning when passing shared flags to static libsStanislaw Halik
2016-08-23cmake: refactor boilerplate for projectsStanislaw Halik
Don't rely on a macro that shouldn't be necessary. The information "opentrack_boilerplate" retrieves is now factored out to be easily available to projects themselves. opentrack_boilerplate can now also build executables. When appropriate, target properties are now concatenated rather than replaced.
2016-08-23cmake/mingw-w64: switch to -std=c11 for pure C modeStanislaw Halik
2016-08-23forced commit to note include fix creditStanislaw Halik
Found by: generating precompiled header with the "cotire" cmake library. The plugin can be found at <https://github.com/sakra/cotire> It didn't work due to GNU toolchain bug anyway.
2016-08-23cmake: don't force stuff for msvc linkStanislaw Halik
2016-08-23cmake: go back to c++11Stanislaw Halik
We don't use c++14 features yet, and GNU 5.3.0 has missing make_unique anyway.
2016-08-23add missing #pragma onceStanislaw Halik
2016-08-23gui/process-detector: fix circular includeStanislaw Halik
2016-08-23filter/accela: fix MSVC ODR bugStanislaw Halik
2016-08-23dinput: it's win32-only so don't guardStanislaw Halik
2016-08-23cmake: don't include current source dirStanislaw Halik
Only angle-bracket #include is affected.
2016-08-23cmake/rift: fix link on msvcStanislaw Halik
2016-08-23cmake: define MINGW_HAS_SECURE_APIStanislaw Halik
2016-08-23api/plugins: try not avoiding dlclose(3)Stanislaw Halik
2016-08-23spline-widget: disconnect "recomputed" in dtorStanislaw Halik
In case mem<settings> is still used elsewhere we still have a use-after-free otherwise.
2016-08-23options/bundle: simplify mutex const-droppingStanislaw Halik
2016-08-23options/connector: get_mutex() should be constStanislaw Halik
2016-08-23options/bundle: don't fire signals in reload() with no unsaved changesStanislaw Halik
2016-08-23cmake/platform: add msvc-specific definesStanislaw Halik
Based on https://github.com/juj/MathGeoLib/blob/master/CommonOptions.cmake#L51
2016-08-23cmake: add msvc toolchain fileStanislaw Halik
2016-08-23spline-widget: return mem<settings> and not settings&Stanislaw Halik
2016-08-23filter/accela: move control points .cpp from static to settings constexprStanislaw Halik
Now the debug spline can display in dialog without connecting to running filter instance.
2016-08-23gui/mapping-window: now simplify constructionStanislaw Halik
The spline's bundle's already initialized in mappings.hpp. With simplified spline_widget::set_config it's no longer a problem.
2016-08-23compat/util: add time-saving inhibit_qt_signals overloadsStanislaw Halik
2016-08-23spline-widget: multiple fixesStanislaw Halik
- add missing locking - bundle and settings ptr are never null following initialization; sentinel objects get created if there's no bundle, thus don't branch outside initialization functions. the sentinel object doesn't load or save to the .ini file - connect spline refresh to any bundle change - connect spline widget refresh to spline refresh - few caveat comments - spline_widget::setConfig now only takes the spline as argument, eliminating most of the complex logic there - clarify spline::set_bundle vs newly introduced spline::recompute
2016-08-23options/bundle: emit changed() whenever any part of a bundle changesStanislaw Halik
2016-08-23options/bundle: treat bundles with empty names speciallyStanislaw 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-23spline-widget: omit too-close points. add missing locking.Stanislaw Halik