summaryrefslogtreecommitdiffhomepage
path: root/tracker-s2bot/ftnoir_tracker_s2bot.cpp
AgeCommit message (Collapse)Author
2021-09-26compat: use std::clamp, remove own versionStanislaw Halik
2021-09-26tracker/s2bot: enable pipeliningStanislaw Halik
2020-06-30fix warningsStanislaw Halik
2019-01-16tracker/s2bot: don't change a setting at randomStanislaw Halik
The settings need a proper save/load mechanism to operate.
2018-07-08modernize onlyStanislaw Halik
2018-06-26core, modules: modernize syntax onlyStanislaw Halik
Use more C++17 features where this helps any.
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-01-18compat/util: retireStanislaw Halik
Adjust usages.
2017-12-04api: add status check for modulesStanislaw Halik
2017-09-23use std::sizeStanislaw Halik
2017-07-21tracker/s2bot: fix few bugsStanislaw Halik
- Received values got converted to integers. I find this hard to believe. Even if this is so, converting to double leaves forward-compatibility if the sender software gets its act together. - There was a buffer overflow when indexing the "indices" array. - Mutex scope bigger than necessary. The code is copy-pasted from the FreePIE tracker. Perhaps if its own code was easier to understand, there wouldn't be any buffer overflows to begin with.
2017-07-21tracker/s2bot: reformat to indent as 4 spacesStanislaw Halik
2017-07-20tracker/s2bot: fix stopping trackerStanislaw Halik
- need use QThread::exit to stop the event loop - QObject::moveToThread works when passed a working thread - stop QTimer in its thread
2017-07-18tracker/s2bot: fix -WerrorStanislaw Halik
2017-07-16tracker/s2bot: reduce logspamStanislaw Halik
Related-to: #650
2017-07-16tracker/s2bot: fix dead code warningStanislaw Halik
Related-to: #650
2017-07-11clean up code, remove ugly file loggingAttila Csipa
2017-07-07s2bot trackingAttila Csipa