summaryrefslogtreecommitdiffhomepage
path: root/compat
AgeCommit message (Collapse)Author
2017-05-02compat/timer-resolution: use undocumented windows APIStanislaw Halik
Unlike timeBeginPeriod in winmm, this one sets the timer resolution for the calling process, only.
2017-05-02simple-mat: return 0 norm if below epsilonStanislaw Halik
2017-05-01simple-mat: broke cross product formulaStanislaw Halik
2017-05-01simple-mat: add vector normStanislaw Halik
2017-04-29compat/util: add macro for memoizing valuesStanislaw Halik
2017-04-29compat/meta: add basic template metaprogramming headerStanislaw Halik
2017-04-29compat/simple-mat: initialize like a single-dimensional arrayStanislaw Halik
I have no idea why this works.
2017-04-18compat/{simple-mat,euler}: unbreak calibrationStanislaw Halik
No idea what regressed.
2017-04-12compat/util: add few attribute macrosStanislaw Halik
2017-04-12compat/simple-mat: simplify SFINAEStanislaw Halik
variable templates rock ass.
2017-04-12compat/simple-mat: remove useless unitStanislaw Halik
2017-04-12compat/euler: add incomplete & untested quat codeStanislaw Halik
2017-03-30compat/util: add macro for warning onceStanislaw Halik
2017-03-28compat, options: remove explicit template instantiationStanislaw Halik
It breaks on GNU and saves little space.
2017-03-28start renaming internal macros as OPENTRACK_* to OTR_*Stanislaw Halik
2017-03-27cmake: rename project's function prefixStanislaw Halik
It's not annoying having to type it anymore. Also "otr_boilerplate" -> "otr_module".
2017-03-24compat/util: add define for never_inlineStanislaw Halik
2017-03-24options, compat: instantiate common templates in their .dll'sStanislaw Halik
2017-03-22compat/nan: support for mingw-w64 in a hacky wayStanislaw Halik
2017-03-22compat/shm: decruftStanislaw Halik
2017-03-22compat/timer: accidental pragma onceStanislaw Halik
2017-03-21compat/timer: move from header. simplifyStanislaw Halik
It was getting inlined in each compilation unit.
2017-03-20compat/sleep: guard against signed -> unsigned wraparoundStanislaw Halik
2017-03-17compat/util: remove our make_unique custom implStanislaw Halik
2017-02-27remove unfinished polish translation filesStanislaw Halik
Polish speakers typically know English well enough and translations are awkward.
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