summaryrefslogtreecommitdiffhomepage
path: root/opentrack
AgeCommit message (Collapse)Author
2016-06-18api/simple-mat: allow for casts to num* and constStanislaw Halik
Due to memory layout we don't need enable_if for vector.
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-16api/tracker: appease IDE. use consistent type alias.Stanislaw Halik
2016-06-15api: remove euler filterStanislaw Halik
This isn't a proper way to handle the multiple solutions problem. Even after fixing degree/radian confusion it didn't work.
2016-06-14api/tracker: add euler filterStanislaw Halik
Gimbal lock is a problem too often.
2016-06-14api: this isn't C#, we don't need to set enum valsStanislaw Halik
2016-06-14api: add nan checking functionStanislaw Halik
2016-06-14api/simple-mat: allow for vector -> const double* conversionStanislaw Halik
2016-06-14api/simple-mat: move euler stuff to dedicated namespaceStanislaw Halik
2016-06-14api/simple-mat: drop __restrict, clang complainsStanislaw Halik
2016-06-14api/simple-mat: drop pointless, wrong fmodStanislaw Halik
Also use fabs instead of abs.
2016-06-14api/shortcuts: use unsigned index where ableStanislaw Halik
2016-06-11api/tracker: treat all camera shift values as equal to raw dataStanislaw Halik
Input the exact "raw data" values into settings -> camera -> offset. THIS IS A BREAKING CHANGE. User configs are affected. It was previously suggested to make the signs sensible but I don't remember by whom.
2016-05-26api/shortcuts: only allow the exact modifier keysStanislaw Halik
Requested-by: white_fang on BMS forum Original message: I've setup shift+f11/f12 to incerease/decrease f18's flaps , ... F11 and F12 are free in BMS , 'donothing' action. so I want ONLY F11 to toggle opentracks enable/disable (and only F12 to re-center) , but it also reacts when in BMS and press SHIFT+F11 to toggle flaps on f18
2016-05-26many modules: trivial cleanups onlyStanislaw Halik
- Remove "this->" where it's not needed. Possibly rename shadowed vars. - Don't reload the options bundle manually since `options::opts' exists for that very reason. - Remove '^ \+$' whitespace - :retab
2016-05-23api/plugins: disable copy of plugin classesStanislaw Halik
Sometimes we dereference to cast to a reference. Prevent typos that cause copies.
2016-05-22{compat,api}/camera: make CoInitializeEx use the right threading apartmentStanislaw Halik
2016-05-22cmake/many: update for dinput8 manual link removalStanislaw Halik
It's automatic now.
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-17api/plugins: clean whitespace onlyStanislaw 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-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-13api: implement virtual dtors in a compilation unitStanislaw Halik
2016-05-06api: add class for computing running varianceStanislaw Halik
2016-05-04api: fix shortcuts for OSX and LinuxStanislaw Halik
2016-05-04api: fix permissions bits. no code changes.Stanislaw Halik
2016-04-29api, main: implement new keybindingsStanislaw Halik
The following keybindings are now implemented: - restart tracking. if not started, starts. - toggle (keep position) while key held - zero (keep zero) while key held The latter two options only work for Windows as libqxt doesn't support them. Closes #291
2016-04-23api: make NaN/Inf check work even with full fast mathStanislaw Halik
2015-12-18api/mat: fix typos/breakageStanislaw Halik
2015-12-17api/joy: refresh only manually on certain eventsStanislaw Halik
Refresh joylist when new listener arrives, and when the joy singleton just gets created. Enumerating joys all the time causes high CPU usage for some of the users. Issue: #279 Backtrace-by: @exulant Reported-by: @aka2k
2015-12-17cmake/api: link with strmiids.lib on win32Stanislaw Halik
It worked by accident since cmake/compat already links to it.
2015-12-06api/keys: prevent idempotent keysopentrack-2.3-rc21p4Stanislaw Halik
2015-12-06api/joy: move from headerStanislaw Halik
2015-12-06api/joy: prevent idempotent keypressed passed to receiverStanislaw Halik
2015-12-06api/joy: speed up poll_axis pathStanislaw Halik
We don't really need to poll for joysticks in tracker/joy.
2015-12-06api/joy: nix static, now that we're not a singletonStanislaw Halik
2015-12-06joystick: no longer singleton, use fake window handleStanislaw Halik
We can create arbitrary amount of dinput handles, given they're passed unique window handles.
2015-12-06api/keys: use a fake window for DirectInput handleStanislaw Halik
2015-12-06api/keys: nix tautological #ifdefStanislaw Halik
2015-12-06api/camera-names: move to compat/Stanislaw Halik
2015-12-06api/camera: move from headerStanislaw Halik
There's no need to have a copy in each module.
2015-12-06api/keys: initialize hresultStanislaw Halik
2015-12-06api/keys: fix buildStanislaw Halik