Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-15 | cmake: stop forcing release build for appleopentrack.2.3-rc49p0 | Stanislaw Halik | |
2016-05-15 | tracker/hatire: fix build | Stanislaw Halik | |
2016-05-15 | tracker/hatire: remove unused unused macro | Stanislaw Halik | |
2016-05-15 | api/shortcuts: unbreak "while held" keys on win32 | Stanislaw Halik | |
2016-05-15 | api/shortcuts: appease "attribute unused but used" warning | Stanislaw Halik | |
2016-05-15 | api/shortcuts: appease pointless compiler warnings | Stanislaw Halik | |
2016-05-15 | many: remove executable bit from source files | Stanislaw Halik | |
We no longer have this recurring problem since I enabled ignoring executable bit changes on the Windows workstation. | |||
2016-05-15 | cmake: linux toolchain file | Stanislaw Halik | |
For my convenience. | |||
2016-05-15 | api,gui: disable all keyboard shortcuts while binding a key | Stanislaw 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-15 | api/shortcuts: fix use-after-free on Linux and OSX | Stanislaw Halik | |
Issue: #349 Valgrind: yes | |||
2016-05-15 | api: fix accidental removal of constness | Stanislaw Halik | |
2016-05-14 | readme: reorganize | Stanisław Halik | |
2016-05-14 | pose-widget: don't promote to double | Stanislaw Halik | |
Committer shouldn't push so fast to get a chance to rebase. Closes #356 | |||
2016-05-14 | pose-widget: try harder to avoid small denominator | Stanislaw 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-14 | spline-widget: use integer constant in float ops | Stanislaw Halik | |
2016-05-14 | spline-widget: remove more float<->double conversions | Stanislaw Halik | |
74d9f5e31428ef362033a63c10b781d943c5e5a5 skipped some of intermediate computations. | |||
2016-05-14 | partial revert of 74d9f5e31428ef362033a63c10b781d943c5e5a5 | Stanislaw Halik | |
We actually need to use a float intermediate type lest the value gets truncated. | |||
2016-05-13 | pose-widget: avoid too small denominator in perpendicular alignment | Stanislaw 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-13 | Revert "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-13 | tracker/pt: adjust auto threshold max pixel value | Stanislaw 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 casts | Stanislaw Halik | |
2016-05-13 | api: implement virtual dtors in a compilation unit | Stanislaw Halik | |
2016-05-13 | compat/shm: nix redundant cast | Stanislaw Halik | |
2016-05-13 | cmake: automatically enable lto and loop vectorization for mingw-w64 targets | Stanislaw Halik | |
2016-05-13 | many: remove unneeded implicit type conversion double <-> float | Stanislaw Halik | |
2016-05-13 | cmake: add cache variables for predefined warning types | Stanislaw Halik | |
The numeric warnings are somewhat useful. Sadly only clang supports the vtable object file bloat warning. | |||
2016-05-13 | cmake: expose clang being used | Stanislaw Halik | |
2016-05-13 | cmake: disable all warnings for Qt moc-generated source files | Stanislaw Halik | |
The files are machine-generated and full of redundancies. With pedantic warnings it drowns the relevant stuff. | |||
2016-05-12 | cmake: remove header with version information | Stanislaw Halik | |
It's pointless for it to exist, see previous commit for rationale. No call sites. | |||
2016-05-12 | cmake: workaround LTO issue on Windows. | Stanislaw Halik | |
With the GNU toolchain there's some mix-up and the "opentrack_version" symbol isn't emitted into the object file at all. Disable LTO for the "version" statically linked library. The "version" statically linked library exists so that files needing the version only need to be re-linked, not recompiled. A preprocessor global -DVERSION=foo rebuilds the whole project after each commit. A header definition rebuilds all include sites. LTO in the GNU toolchain is very broken on Windows, particular the interaction of GCC "linker plugin" injected into Binutils bfd ld. The gold ld we can't use since it's only for ELF executables. There's nothing alarming here at all unless there's some miscompilation and there doesn't seem to be any. The rest of the functional changes is changing cc -> c of that object file, and moving library definition after the source file is already generated. | |||
2016-05-12 | tracker/hatire: fix option name typo | Stanislaw Halik | |
Due to typo axis index got saved as the same .ini name as another index. Spotted-by: @Ec0nomist Confirmed-by: @huliqan Issue: #327 | |||
2016-05-10 | tracker/hatire: add missing serial port name binding | Stanislaw Halik | |
Spotted-by: @Ec0nomist Issue: #327 | |||
2016-05-10 | compat/options: use auto connection type always | Stanislaw Halik | |
I'm unsure whether the context object for QObject::connect overload we're using in enum support is treated as the connection's target thread at all. Docs are silent on this. In the meantime, no crashes or other anomalies observed, while violating Qt thread safety invariants resulted in immediate crashes beforehand. So let's use Qt::AutoConnection and not worry for the time being. | |||
2016-05-09 | tracker/{hatire,rift-080}: remove outdated comments | Stanislaw Halik | |
2016-05-09 | compat/options: add enum support | Stanislaw Halik | |
2016-05-09 | tracker/hatire: add serial 100% cpu usage workaround | Stanislaw Halik | |
Issue: #327 | |||
2016-05-09 | tracker/hatire: move to opentrack settings API | Stanislaw Halik | |
2016-05-09 | tracker/rift-042: reformat, remove outdated todo | Stanislaw Halik | |
2016-05-09 | tracker/hatire: remove min length check duplication | Stanislaw Halik | |
The api callee already takes care of that so remove the "ok" argument. | |||
2016-05-06 | tracker/hatire: fix sleep in ready_read event handler for debug case | Stanislaw Halik | |
2016-05-06 | tracker/hatire: add debug logging variance | Stanislaw Halik | |
2016-05-06 | tracker/hatire: don't hoard more data than a single dgram | Stanislaw Halik | |
The resync code already worked without that. | |||
2016-05-06 | tracker/hatire: move function from header | Stanislaw Halik | |
2016-05-06 | tracker/hatire: simplify | Stanislaw Halik | |
We don't need to move back the datagram since we're processing the original. | |||
2016-05-06 | tracker/hatire: prevent infinite loop when no end marker and start at index 0 | Stanislaw Halik | |
2016-05-06 | api: add class for computing running variance | Stanislaw Halik | |
2016-05-04 | tracker/hatire: remove disconnected logic | Stanislaw Halik | |
It's not used anywhere. | |||
2016-05-04 | tracker/hatire: remove copy-pasted code | Stanislaw Halik | |
2016-05-04 | tracker/hatire: try to optimize the polling path | Stanislaw Halik | |
Issue: #327 | |||
2016-05-04 | tracker/hatire: fix spelling in identifiers | Stanislaw Halik | |