summaryrefslogtreecommitdiffhomepage
path: root/compat
AgeCommit message (Collapse)Author
2017-02-25contrib/util: add more unused attribute macrosStanislaw Halik
2017-02-21modules: add .ts filesStanislaw Halik
2016-12-31compat/timer: prevent races in initializing timer resolutionStanislaw Halik
Also, - don't lose high bits with cast from long long to long on _WIN32. - reduce #define pollution
2016-12-30compat: prevent deadlock with raceStanislaw Halik
We can't depend on cvar getting notified only after "src" runs out of scope. Now, in case signal destroyed() runs first: - mtx locked - flag set to true - empty cvar notified Thus, doesn't hang. In case we wait first: - mtx locked - flag is false - cvar notification arrives Of course semaphore code always runs serially since they're covered by a mutex. We have all our bases covered. Previously the code never hung simply because the "curthread" condition was always true. I removed the "curthread" code paths since they don't add anything. Also rvalue references got used incorrectly.
2016-12-30compat: remove empty translation unitStanislaw Halik
2016-12-16compat/util: implicitly include QDebug to every calleeStanislaw Halik
2016-12-08fix buildStanislaw Halik
Spotted-by: @MrSanchos
2016-12-03compat: add assertsStanislaw Halik
2016-12-03fixup! tracker/{aruco,pt}: use RAII for QObjectStanislaw Halik
2016-12-03compat: avoid namespace clashesStanislaw Halik
2016-11-29compat/run-in-thread: fix on msvc 2017Stanislaw Halik
2016-11-12compat: move from simple-mat.hpp to euler.hppStanislaw Halik
2016-11-05delete empty .tsStanislaw Halik
2016-11-04modules: add autogenerated translation filesStanislaw Halik
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