summaryrefslogtreecommitdiffhomepage
path: root/tracker-freepie-udp
AgeCommit message (Collapse)Author
2021-09-26compat: use std::clamp, remove own versionStanislaw Halik
2020-01-03tracker/freepie-udp: fix pack pragmaStanislaw Halik
Due to typo "#pragma pack(push)" was used rather than, "#pragma pack(push, 1)" that does the right thing. Add an assert. PR: #1018
2019-12-30Ensure structure is the sameRies van Twisk
2019-12-30FreePIE Use packed struct with clang to receive datagramRies van Twisk
2018-12-24style/quality onlyStanislaw Halik
No functional changes. - add `override' everywhere where missing - almost pass clang's `-Wweak-vtables' - avoid some float/double conversions - remove unused private members - make signedness conversions explicit - put stuff in right namespaces to aid analysis
2018-06-26modernize C++ syntaxStanislaw Halik
No visible changes (hopefully).
2018-04-05i18n: update stringsStanislaw Halik
2018-04-05modules: now use i18nStanislaw Halik
2018-02-15clean up "static" and "constexpr" typesStanislaw Halik
- use `static constexpr inline' to avoid requiring explicit declarations in object code - use `const Foo* const' to maybe put into readonly binary segment (at least for ELF DSOs) - `constexpr' in function scope has storage, avoid `static' - don't use `constexpr' where there's no advantage, like arrays We'd like to avoid overhead of atomic initialization for each function call. No idea how `static constexpr' requiring storage in the standard plays with atomic initialization requirement. Hearsay points that `constexpr' without `static' in block scope behaves more to our liking. It's all hazy though. I'm not 100% sure if `static inline constexpr' has any storage. Hopefully none, like a #define, and stuff bigger than registers gets coalesced within the same module, with small stuff being immediates.
2018-02-12cmake: add zh_CNStanislaw Halik
cf. #746
2018-02-12modules: stop saving line informationStanislaw Halik
Now i18n regen won't make a mess.
2018-02-09update translation source files -- #743Stanislaw Halik
2018-01-20rename our Qt .png iconStanislaw Halik
facetracknoir.png -> opentrack.png
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2017-12-09many: use otr_tr for non-qobject translationStanislaw Halik
I haven't even compile-tested Linux and OSX-specific bits.
2017-12-04api: add status check for modulesStanislaw Halik
2017-10-29static constexpr -> constexprStanislaw Halik
2017-09-23use std::sizeStanislaw Halik
2017-07-21tracker/freepie: cleanupStanislaw Halik
- indent - use clamp from util.hpp - rename vaguely-named variables
2017-06-18get rid of "volatile" abuseStanislaw Halik
We heavily used "volatile bool" to check if the thread loop should stop. But this functionality is already provided by Qt5's QThread::requestInterruption. In other cases, "volatile" is wonderfully underspecified so it's better to ditch its usage in favor of std::atomic<t>. At the time we don't appear to be using the "volatile" keyword except when calling win32's Interlocked*() family of functions as necessary. In freetrackclient's header the "volatile" qualifier was used as part of a typedef. This doesn't work. Use it as part of data declaration.
2017-03-27cmake: rename project's function prefixStanislaw Halik
It's not annoying having to type it anymore. Also "otr_boilerplate" -> "otr_module".
2017-02-27remove unfinished polish translation filesStanislaw Halik
Polish speakers typically know English well enough and translations are awkward.
2017-02-21modules: add .ts filesStanislaw Halik
2016-11-05delete empty .tsStanislaw Halik
2016-11-05modules: make more strings translatableStanislaw Halik
2016-11-04modules: make names uniqueStanislaw Halik
2016-11-04modules: add autogenerated translation filesStanislaw 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-08-23add missing #pragma onceStanislaw Halik
2016-08-17move options framework into its own libraryStanislaw Halik
- adjust usages - add support for QList signals and metatype
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.
2016-07-19some: replace hardcoded pi values with the same pi constantStanislaw Halik
We can't depend on M_PI existing after including cmath.
2016-06-09tracker/freepie: fix float/double promotionsStanislaw Halik
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
2015-11-01all: adjust options.hpp move to compatStanislaw Halik
2015-10-30fix icon pathsStanislaw Halik
2015-10-30move to subdirectory-based build systemStanislaw Halik
Closes #224