summaryrefslogtreecommitdiffhomepage
path: root/compat
AgeCommit message (Collapse)Author
2016-11-03move simple-mat from logic to compat to simplify dependenciesStanislaw Halik
2016-10-26compat/util: split out run-in-thread{,-async}Stanislaw Halik
2016-10-26compat/util: introduce "iround" for round to integerStanislaw Halik
2016-10-26compat/util: move stuff aroundStanislaw Halik
2016-10-23compat/util: these type params are unusedStanislaw Halik
2016-10-20compat/nan: fix isnan in presence of -ffast-mathStanislaw Halik
The trick prevents GCC isnan builtin from getting called.
2016-10-19compat, tracker/pt: add warn_unused_result compat macroStanislaw Halik
2016-10-19compat/util: fix conversion from value<t> for clampStanislaw Halik
2016-09-21many: remove compat/pi-constant.hppStanislaw Halik
With -D_USE_MATH_DEFINES MSVC defines the standard M_PI and friends. Since this preprocessor definition is now always passed as part of the build system for MSVC. We can use M_PI as if on a mission.
2016-09-20compat/timer: no exports hereStanisław Halik
2016-09-16compat, dinput: don't overdo COM logicStanislaw Halik
2016-09-16compat/util: replace with QSignalBlocker usagesStanislaw Halik
2016-09-09compat/win32-com: switch to always apartment threadedStanislaw Halik
2016-09-08compat: remove empty sourcesStanislaw Halik
2016-08-23compat/util: move typical "clamp" function hereStanislaw Halik
2016-08-23cmake: refactor boilerplate for projectsStanislaw Halik
Don't rely on a macro that shouldn't be necessary. The information "opentrack_boilerplate" retrieves is now factored out to be easily available to projects themselves. opentrack_boilerplate can now also build executables. When appropriate, target properties are now concatenated rather than replaced.
2016-08-23compat/util: add time-saving inhibit_qt_signals overloadsStanislaw Halik
2016-08-17compat/win32-com: default to right COM type without caller specifying itStanislaw Halik
The main window always needs the apartment threaded context for OLE used by Qt. Default to apartment threaded before a QApplication is created, or if the thread is the QApplication thread. Use multithreaded COM otherwise.
2016-08-17move options framework into its own libraryStanislaw Halik
- adjust usages - add support for QList signals and metatype
2016-08-16compat/util: add robust way to block qt signalsStanislaw Halik
2016-08-16compat/options: anon namespace classes are usable so move to detailStanislaw Halik
2016-08-16compat/options: unindent inside namespace onlyStanislaw Halik
2016-08-16compat/options: qDebug() in singleton dtorStanislaw Halik
This singleton is used around the codebase so make its lifetime clear to the developer.
2016-08-16compat/options: cast to the right type for bigger than word thingsStanislaw Halik
2016-08-16compat/options: ensure all ini names sortedStanislaw Halik
2016-08-16compat/options: add option to reload all bundlesStanislaw Halik
2016-08-15dinput, COM: temporary fixes, to be testedStanislaw Halik
2016-08-14compat/com: no need to initialize OLE at all timesStanislaw Halik
2016-08-13default to apartment threading for nowStanislaw Halik
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.
2015-07-25move portability classes to compat libraryStanislaw Halik
2014-10-19fix link errors on win32 -only-Stanislaw Halik
2014-09-22needless compat api breakageStanislaw Halik
2014-07-28build system bug not relevant anymoreStanislaw Halik
2013-11-10fix buildStanislaw Halik
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
2013-11-05fix mingw-w64 buildStanislaw Halik
2013-11-03fix apple buildStanislaw Halik
2013-11-03really fix mac this timeStanislaw Halik
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
2013-11-03fix compat on macosxStanislaw Halik
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
2013-11-03compat: specify MAP_ANONStanislaw Halik
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
2013-10-15fix trackers for qt5Stanislaw Halik
Assorted changes: - make filenames unique, since automoc made a boo-boo - adjust include paths, "QtGui" -> "" - use std::shared_ptr in c++11 mode (thanks Patrick!) - make class names unique, automoc sucks, but saves typing - add a dummy class in one file since moronic automoc thinks every target contains Q_OBJECTS!!!
2013-09-19compat: pass -WextraStanislaw Halik
2013-09-19compat: fix win32 buildStanislaw Halik
2013-09-19compat: fix buildStanislaw Halik
2013-09-19compat: new API, check for successStanislaw Halik
2013-09-17proto-wine: fix warnings, dependencies, reformatStanislaw Halik
2013-09-14Use __declspec(dllimport)Stanislaw Halik
2013-09-14Clean up preprocessor mingw-ismsStanislaw Halik
No functional changes.
2013-04-05Correct SHM access flagsStanislaw Halik
2013-04-02Just put everything new in. Conflict resolution will be laterStanislaw Halik