summaryrefslogtreecommitdiffhomepage
path: root/opentrack-compat
AgeCommit message (Collapse)Author
2016-08-12few: use existing com threading init functionStanislaw Halik
2016-08-12compat: add util headerStanislaw Halik
The run_in_thread_{sync,async} functions inject a functional into a Qt event queue. The former also takes care to process void return values.
2016-08-11compat: add win32 COM init functionStanislaw Halik
2016-08-10compat/options: add here unique_ptr defsStanislaw Halik
2016-08-10compat/make-unique: add std::make_unique sample implStanislaw Halik
It's not present in GNU with -std=c++14
2016-08-10compat/options: add progn macroStanislaw Halik
2016-08-10compat/timer: allow for converting usecs -> longStanislaw Halik
2016-08-10change COM threading apartmentthreaded -> multithreadedStanislaw Halik
2016-08-10compat/slider: move header usageStanislaw Halik
2016-08-10compat/options: use safe conntype for value -> widget QObject::connectStanislaw Halik
2016-08-07compat/options: simplify getterStanislaw Halik
No need to write the static_cast long form at caller site.
2016-07-31tracker/{aruco, pt}, compat, api: move opencv camera class to cv moduleStanislaw Halik
2016-07-31compat/slider: try avoid rounding some moreStanislaw Halik
2016-07-19logic, compat: remove pointless debug messagesStanislaw Halik
2016-07-19tracker/pt: check for nan before writing poseStanislaw Halik
2016-07-19move nan check to compatStanislaw Halik
2016-07-19compat/options: don't copy-paste config filename retrievalStanislaw Halik
2016-07-19some: replace hardcoded pi values with the same pi constantStanislaw Halik
We can't depend on M_PI existing after including cmath.
2016-07-18cmake: adjust paths for main executable dependenciesStanislaw Halik
2016-07-16few: update/add copyrightStanislaw Halik
2016-07-07make things compile for me, on M$ VC++ community edition 2015 update 3DaMichel
2016-07-06Revert "compat/options: export template instances to lessen code bloat"Stanislaw Halik
This reverts commit 1e26e00e9ae0c519355e3a6fe5ad098d1f6a9622. Broke osx.
2016-07-06compat/options: export template instances to lessen code bloatStanislaw Halik
2016-07-06compat/options: split too long headerStanislaw Halik
2016-07-06csv, compat, logic, api: open-code import.hppStanislaw Halik
2016-07-03compat/options: fix and simplify slider supportStanislaw Halik
- Introduce rounding. Before, slider pos didn't correspond to the saved setting until it "converged" several saves later. - Move copy-pasted code to .cpp file.
2016-07-03compat/process-list: fix mingw-w64 linux crossStanislaw Halik
2016-06-29compat/options: also use references for base_value slotsStanislaw Halik
2016-06-29compat/options: separate module dll names from rest of settingsStanislaw Halik
The other settings are modified by the options dialog. These are in the main ui. We need to be able to save modules without saving the options dialog.
2016-06-29compat/options: make inline to fix ltoStanislaw Halik
2016-06-20compat/options: inline methodStanislaw Halik
2016-06-18compat, logic, api: fix export macro copy-paste errorsStanislaw Halik
2016-06-16all: split "api" into "api" and "logic"Stanislaw Halik
Here, the "logic" module has all the stuff for building one's own graphical user interface. The "api" module has stuff used by other trackers. While at it, each of "api", "logic", and "compat" need their own export headers. This is because of preprocessor symbol clashes. This is all because a change in the "gui"-only dependency required a relink of all the trackers, protocols, and flters. It takes too long when building in the release configuration. With the split, only the "gui" module gets rebuilt. Since it has close to no static dependencies, it's fast enough.
2016-06-14compat, proto/fsuipc: fix GNU CXX 6.1.0+ buildStanislaw Halik
Include cmath explicitly
2016-06-14compat/options: use traits to prevent slider min/max persistenceStanislaw Halik
Without it, the serialized min and max member vars were set in stone despite further code changes. Now only the current value is persisted. Add clamp for cur/min/max slider values. Store default value as t rather than underlying_t since it's always been casted anyway. Add trivial comment, update copyright.
2016-06-14compat/options: workaround lto bug on windowsStanislaw Halik
2016-06-14compat/options: slider_value improvementsStanislaw Halik
- a comparison operator. Qt uses it with the metatype support. - pretty print support for QDebug
2016-06-14compat/options: always do a full check of changesStanislaw Halik
Get rid of state variable and compare transient/saved state exactly. Marking the "modified" bit caused IO when changing and then changing back to the original value, then saving.
2016-06-14gui, spline-widget, compat/options: ensure no qsettings IO when not modifiedStanislaw Halik
Turns out every MainWindow::save() and friends were doing useless IO several times during each save. I blame the bundle abstraction. For bundles we track the modified state, but the spline widget needs equality check since it doesn't use the options api. It was found by accident when adding qDebug() into the slider_value {de,}serializer code. The .ini file was being rewritten over and over again causing hundres of milliseconds pauses on Windows. Remove the save timer kludge from gui. Saves are now fast.
2016-06-14compat/options: finish slider value supportStanislaw Halik
Keeping "cur" in 0->1 distorts the value on save/reload.
2016-06-11compat/options: untested float->double signal supportStanislaw Halik
2016-06-10compat/timer: cleanup harmless warningsStanislaw Halik
2016-06-09compat/options: allow devirtualizeStanislaw Halik
2016-05-26compat/options: finish slider value support moreStanislaw Halik
2016-05-26compat/options: switch to correct QVariant usageStanislaw Halik
2016-05-26compat/mutex: drop const when casting mutexStanislaw Halik
Fixes const correctness in spline-widget
2016-05-26compat/options: don't emit a vtable for struct optsStanislaw Halik
It's for convenience in `struct settings' and not meant for casting to base class.
2016-05-25compat/options: allow binding floats 0->1 to slider widgetsStanislaw Halik
2016-05-25compat/options: konst korrektnessStanislaw Halik
2016-05-22{compat,api}/camera: make CoInitializeEx use the right threading apartmentStanislaw Halik