summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2016-05-22cmake: simplify, avoid macrosStanislaw Halik
Avoid macros when able to allow for scope control. Macros shove everything inside the parent scope. The lone remaining macro needs to be there since functions allow for a fixed amount of parameters. Link against dinput automatically since LTO will remove it if it's not needed anyway. Rift trackers don't presently need access to ${project}-all etc. so don't expose them through opentrack_rift_boilerplate yet.
2016-05-21cmake: add osx -g also for lto caseopentrack-2.3-rc49p1Stanislaw Halik
2016-05-20Update README.mdStanisław Halik
2016-05-20filter/accela: use less technical language in the UIStanislaw Halik
To name position tracking "translation" per se is unusual outside of geometry and hard sciences in general. Clear things up. Reported-by: @MathijsG Closes #359
2016-05-20Update README.mdStanisław Halik
2016-05-20tracker/{pt,aruco} increase calibration intervalStanislaw Halik
In particular PT's calibration interval was 10 Hz which is too much by far. Make both 4 Hz. Issue: #344
2016-05-17forced commit - platforms workStanislaw Halik
All platforms work as expected after the shared library loading changes.
2016-05-17x-plane-plugin: set default visibility. remove linker script.Stanislaw Halik
2016-05-17tracker/hatire: move logger from headerStanislaw Halik
There's no need for the identifier to be exposed.
2016-05-17api/plugins: add final to dylib structStanislaw Halik
We don't have a virtual dtor and we don't want a vtable.
2016-05-17cmake/many: remove obsolete keywords from cmake macro invocationStanislaw Halik
2016-05-17api/plugins: use QLibrary. remove the dlopen(3) code pathStanislaw Halik
Given the symbol visibility rules as verified with nm(1), QLibrary is sufficient. We don't need the RTLD_DEEPBIND "load hint" for Linux either as per the same visibility rules. This is untested on Apple but should be soon.
2016-05-17cmake: work for shared library destructorsStanislaw Halik
Remove linker script usage. I'm worried about the potential interaction with shared libraries' _fini symbol for global destruction. Further, add -fuse-cxa-atexit in order to run the global destructors to begin with. This works on LLVM and GNU. MSVC doesn't export symbols by default.
2016-05-17api/plugins: clean whitespace onlyStanislaw Halik
2016-05-17cmake: -fPIC for Linux toolchain fileStanislaw Halik
2016-05-16tracker/aruco: appease bounds check in libarucoStanislaw Halik
libaruco doesn't clamp the min/max sizes but throws an exception. Reported-by: @duamutefmc Data-by: @Emton Issue: #329 Closes #329
2016-05-16cmake: check for build directory sanity before declaring the projectStanislaw Halik
This does the check before compiler tests, spewing less crapola into the source directory.
2016-05-16compat/timer: add elapsed_seconds methodStanislaw Halik
2016-05-15contrib: add hatire serial dump from #327Stanislaw Halik
By @drdanilov21. We'll likely need it in the future.
2016-05-15installer: fix type erroropentrack-2.3-rc49p0Stanislaw Halik
LoadStringFromFile result is always AnsiString. I'm using the Unicode InoSetup version so paging @ph0b.
2016-05-15Revert "cmake: remove header with version information"Stanislaw Halik
It's used in the win32 installer. This reverts commit 3252beca3aa20fe5183a13029db831e4e121f6dc.
2016-05-15cmake: stop forcing release build for appleopentrack.2.3-rc49p0Stanislaw Halik
2016-05-15tracker/hatire: fix buildStanislaw Halik
2016-05-15tracker/hatire: remove unused unused macroStanislaw Halik
2016-05-15api/shortcuts: unbreak "while held" keys on win32Stanislaw Halik
2016-05-15api/shortcuts: appease "attribute unused but used" warningStanislaw Halik
2016-05-15api/shortcuts: appease pointless compiler warningsStanislaw Halik
2016-05-15many: remove executable bit from source filesStanislaw Halik
We no longer have this recurring problem since I enabled ignoring executable bit changes on the Windows workstation.
2016-05-15cmake: linux toolchain fileStanislaw Halik
For my convenience.
2016-05-15api,gui: disable all keyboard shortcuts while binding a keyStanislaw Halik
Previous disallowed binding an already-bound key on Unix since Qxt doesn't pass through bound keys unlike the Windows implementation. Refactor some common code. The Windows implementation isn't even compile-tested.
2016-05-15api/shortcuts: fix use-after-free on Linux and OSXStanislaw Halik
Issue: #349 Valgrind: yes
2016-05-15api: fix accidental removal of constnessStanislaw Halik
2016-05-14readme: reorganizeStanisław Halik
2016-05-14pose-widget: don't promote to doubleStanislaw Halik
Committer shouldn't push so fast to get a chance to rebase. Closes #356
2016-05-14pose-widget: try harder to avoid small denominatorStanislaw Halik
Previous commit fixed only the case with one perpendicular axis of rotation with the rest fixed at origin. This one works with all three degrees of freedom enabled. Reported-by: @MathijsG Issue: #356
2016-05-14spline-widget: use integer constant in float opsStanislaw Halik
2016-05-14spline-widget: remove more float<->double conversionsStanislaw Halik
74d9f5e31428ef362033a63c10b781d943c5e5a5 skipped some of intermediate computations.
2016-05-14partial revert of 74d9f5e31428ef362033a63c10b781d943c5e5a5Stanislaw Halik
We actually need to use a float intermediate type lest the value gets truncated.
2016-05-13pose-widget: avoid too small denominator in perpendicular alignmentStanislaw Halik
With a very small denominator in barycentric coords formula we get a dissociated octopus that took PCP and LSD in one sitting. A dead Octopus is just a bunch of blue spheres. IOW, in division with too small a denominator operand the results are numerically unstable. This is done in the constructor in a convoluted way as to avoid branching during calculating for each pixel. Issue: #356 Reported-by: @MathijsG
2016-05-13Revert "tracker/pt: experimental non-white color removal"Stanislaw Halik
This reverts commit 546cfb5ad52dcfe1421d1af5e7baeada588ac735. @MathijsG points out that some users have red LEDs, not uniform white. Issue: #355
2016-05-13tracker/pt: adjust auto threshold max pixel valueStanislaw Halik
The confusion stems from the max slider value. It's 255, not 100 as is the default. Max pixel count change to 20 was confused as we'll counting area and not radius here. Taking into account that the value was divided by 100 previously, it's bit less than the previous one but not as confused as then. Reported-by: @MathijsG Issue: #355
2016-05-13{spline,tracker/aruco}: simplify some castsStanislaw Halik
2016-05-13api: implement virtual dtors in a compilation unitStanislaw Halik
2016-05-13compat/shm: nix redundant castStanislaw Halik
2016-05-13cmake: automatically enable lto and loop vectorization for mingw-w64 targetsStanislaw Halik
2016-05-13many: remove unneeded implicit type conversion double <-> floatStanislaw Halik
2016-05-13cmake: add cache variables for predefined warning typesStanislaw Halik
The numeric warnings are somewhat useful. Sadly only clang supports the vtable object file bloat warning.
2016-05-13cmake: expose clang being usedStanislaw Halik
2016-05-13cmake: disable all warnings for Qt moc-generated source filesStanislaw Halik
The files are machine-generated and full of redundancies. With pedantic warnings it drowns the relevant stuff.
2016-05-12cmake: remove header with version informationStanislaw Halik
It's pointless for it to exist, see previous commit for rationale. No call sites.