summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2016-07-07logic/joystick: initialize dinput handle ASAPStanislaw Halik
2016-07-07api/simple-mat: get rid of unused enumStanislaw Halik
2016-07-07cmake: get rid of duplicate includesStanislaw Halik
2016-07-07cmake: force 64-bit build on OSX unconditionallyStanislaw Halik
2016-07-07cmake: include keyword parser at call site onlyStanislaw Halik
2016-07-07cmake: check word sizeStanislaw Halik
2016-07-06tracker/pt: fix out-of-bounds writeStanislaw Halik
The input array has exactly 3 points. The vector has potentially more points, sorted by circularity. Spotted-by: @DaMichel Closes #380
2016-07-06tracker/hydra: fix another typoStanislaw Halik
2016-07-06tracker/hydra: fix typo (osx)Stanislaw Halik
2016-07-06Revert "compat/options: export template instances to lessen code bloat"Stanislaw Halik
This reverts commit 1e26e00e9ae0c519355e3a6fe5ad098d1f6a9622. Broke osx.
2016-07-06hydra: fix cmake brainoStanislaw Halik
2016-07-06proto-wine, x-plane-plugin: fix install prefixStanislaw Halik
2016-07-06proto-wine: fix .dll path after hier(7) supportStanislaw Halik
2016-07-06cmake: add universally good build defaultsStanislaw Halik
These were in the mingw-w64 toolchain file but it's good to have them in general.
2016-07-06cmake/hydra: try fix osx sixense linkStanislaw Halik
2016-07-06cmake/rift: cmake has "else if" it turns outStanislaw Halik
2016-07-06compat/options: export template instances to lessen code bloatStanislaw Halik
2016-07-06compat/options: split too long headerStanislaw Halik
2016-07-06gui: fix Unix buildStanislaw Halik
2016-07-06csv, compat, logic, api: open-code import.hppStanislaw Halik
2016-07-06gui, api, csv: support hier(7) on UnixStanislaw Halik
This affects platforms such as FreeBSD, Cygwin or Linux.
2016-07-05api/simple-mat: cleanupsStanislaw Halik
2016-07-04cmake/mingw-w64: enable nx bit (data execution prevention)Stanislaw Halik
We don't process untrusted user data but this should be the default anyway.
2016-07-04logic/tracker: get roll for camera centering from inertial centeringStanislaw Halik
It stays centered this way. Sadly yaw and pitch are still somewhat not fixed in the user's reference frame.
2016-07-04spline-widget: sort as defensive codingStanislaw Halik
2016-07-04spline-widget: allow for closer points. fix fencepost error.Stanislaw Halik
2016-07-04logic/tracker, api/simple-mat: don't convert rad <-> deg all the timeStanislaw Halik
2016-07-04various: don't use qSort/qStableSortStanislaw Halik
2016-07-04logic/joystick: don't logspam button pressesStanislaw Halik
On my Saitek X65F there's erratic panel button logspam. The panel's been thrown out since it's useless, and the connector is detached from everything. In any case don't do stderr io overhead for button presses.
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-03gui/mapping: fix axis asymmetry checkboxesStanislaw Halik
value<t> needs to persist over the checkbox's lifetime, otherwise the slot gets disconnected.
2016-07-03cmake/mingw-w64: change WARNINGS_ENABLE logicStanislaw Halik
It makes sense to default for opentrack only. Depends can be messy and they will.
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-29gui/{options,main}: rename identifier onlyStanislaw Halik
2016-06-29gui/options-dialog: no need for non-RAIIStanislaw Halik
Qt destructors deregister one component from another.
2016-06-29logic/state: move to gui/mainStanislaw Halik
2016-06-29logic/joystick: treat each POV hat as 4 buttonsStanislaw Halik
dinput8 has separate logic for pov hats. Before pov hat state was totally ignored. Don't support 8-way buttons. Only one button gets registered after a diagonal pov hat press.
2016-06-29api/plugins: prevent unloading shared libraries when changedStanislaw Halik
It's pointless and can lead to leaks.
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-29logic, gui: reload keybinding description on profile changeStanislaw Halik
2016-06-29gui/mapping: reload mapping on profile changeStanislaw Halik
2016-06-29logic, gui: no need to reference "struct main_settings"Stanislaw Halik
Now that "struct main_settings" doesn't implicitly reload in dtor, we no longer have to pass it around from the user interface. Only reload it where it's modified, i.e. in the options dialog. Changing the filter/dialog/mapping comboboxen implicitly saves the main options however.
2016-06-29compat/options: make inline to fix ltoStanislaw Halik
2016-06-29gui/options: fix cancel buttonStanislaw Halik
The "struct opts" dtor doesn't run at dialog close time so invoke "reload" on the bundle explicitly.
2016-06-28logic/joystick: fix multiple bugsStanislaw Halik
- the enumerator and the handle list are now static; joysticks were erroneously destructed during refresh - setup dinput only once; creating LPDIRECTINPUT8 many times causes Release() to invalidate all handles - don't create joystick handles many times; same thing applies - refresh joy list on failed acquire; usually joystick is unplugged at that moment leading to endless stderr spam - use a static mutex as to avoid dinput races Issue: #315
2016-06-28cmake/linux: enable -fPICStanislaw Halik
2016-06-28logic/nan: move prototype to headerStanislaw Halik
2016-06-27cmake/mingw-w64: fix override for all buildsopentrack-2.3-rc49p7Stanislaw Halik
2016-06-27cmake: allow mingw-w64 toolchain file from unixStanislaw Halik