Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-16 | spline: fix deadlock, logic error | Stanislaw Halik | |
Tracking rarely deadlocked when saving mappings. Investigating it further also shown how a wrong bundle was used for Accela's splines. | |||
2019-01-16 | cruft | Stanislaw Halik | |
2019-01-16 | clang-tidy fixes only | Stanislaw Halik | |
Maybe global `-Wcomma' is too harsh. There should be no functional changes whatsoever. | |||
2018-12-25 | fix build... | Stanislaw Halik | |
2018-12-25 | spline: fix build | Stanislaw Halik | |
2018-12-24 | cmake: decruft, disable deprecated Qt functions | Stanislaw Halik | |
2018-12-24 | style/quality only | Stanislaw 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-12-24 | fix undefined behavior undescore prefixes | Stanislaw Halik | |
2018-12-24 | spline: avoid type/variable ambiguity | Stanislaw Halik | |
2018-12-24 | compat/mutex: rename | Stanislaw Halik | |
2018-12-24 | remove const correctness violations | Stanislaw Halik | |
This is possibly related to a livelock where several threads do const removal in their respective code paths. Use the `mutable' specifier for the mutexes and spline's cached data. Now using the `mutable' specifier, get rid of <optional> in compat/mutex. | |||
2018-12-08 | clean up a bit | Stanislaw Halik | |
2018-12-06 | cruft only | Stanislaw Halik | |
2018-11-14 | spline: remove duplicate logic | Stanislaw Halik | |
2018-11-11 | spline/widget: remove pointless fmax | Stanislaw Halik | |
2018-11-03 | fix build on Linux | Stanislaw Halik | |
2018-10-29 | spline: clamp to max value | Stanislaw Halik | |
2018-10-29 | spline: try fix rare infinite loop | Stanislaw Halik | |
- fix floats not equal to themselves infinite loop; check if any elements were removed instead - do sort in-place to avoid potentially sorting twice in `update_interp_data' - simplify lerp loop - define magic value | |||
2018-10-25 | spline: simplify | Stanislaw Halik | |
- don't copy-paste signal disconnection - bundle and settings are never null after ctor | |||
2018-10-25 | cleanup only | Stanislaw Halik | |
- replace warn_unused_result with [[nodiscard]] - remove some redundant w_a_r - replace std::decay with remove_cvref_t - simplify compat/math.hpp | |||
2018-10-25 | cleanups only | Stanislaw Halik | |
2018-10-05 | silly busywork | Stanislaw Halik | |
2018-10-05 | options: don't use typeindex w/ lambdas | Stanislaw Halik | |
Rename traits' functions to be more explicit. Most of the changes are pretty old and I can't read them at this time, sorry. Adjust usages. Issue: #825 Reported-by: @DanielKinsman | |||
2018-08-27 | spline/widget: fix min point distance logic | Stanislaw Halik | |
- rename the function - return min distance value in position of `x', not pixels - add some DPI scaling for point size and line length - use snap logic where it was ignored | |||
2018-08-27 | spline: modernize | Stanislaw Halik | |
2018-07-31 | spline: appease static analyzermixin-work | Stanislaw Halik | |
2018-07-08 | modernize only | Stanislaw Halik | |
2018-07-02 | nothing important | Stanislaw Halik | |
2018-06-26 | spline: split up spline API | Stanislaw Halik | |
2018-06-26 | spline: don't use cubic | Stanislaw Halik | |
Cubic shows incorrect values for control points close to each other. | |||
2018-06-26 | options/base-value: rename to `value_' | Stanislaw Halik | |
2018-06-26 | modernize C++ syntax | Stanislaw Halik | |
No visible changes (hopefully). | |||
2018-06-26 | spline: less deserialize points from qvariant | Stanislaw Halik | |
2018-06-26 | spline/widget: remove accidental "snap" | Stanislaw Halik | |
Was affecting rotation splines. | |||
2018-06-26 | spline/widget: fix drag-too-close handling | Stanislaw Halik | |
Dragging toward adjacent point makes sure it's as close as allowed. Work against any remaining cases where points "merged". | |||
2018-06-26 | spline: replace open-coded clamp() | Stanislaw Halik | |
2018-06-26 | compat/macros: rename portability macros | Stanislaw Halik | |
use `cc_xx' rather than awkward synonyms. | |||
2018-06-26 | spline/widget: use more modern C++ syntax | Stanislaw Halik | |
2018-06-26 | spline/widget: use <QtEvents> | Stanislaw Halik | |
2018-06-26 | spline: get rid of nasty "qreal" | Stanislaw Halik | |
2018-06-26 | spline: play nice with hidpi, no jaggies allowed | Stanislaw Halik | |
2018-05-30 | spline: nix unused member variable | Stanislaw Halik | |
2018-02-15 | clean up "static" and "constexpr" types | Stanislaw 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-12 | cmake: add zh_CN | Stanislaw Halik | |
cf. #746 | |||
2018-01-26 | CLion pedantry | Stanislaw Halik | |
Fix few of the inspection warnings from CLion that make any sense at all. | |||
2018-01-18 | compat/util: retire | Stanislaw Halik | |
Adjust usages. | |||
2018-01-18 | fix -Wall -Wextra -Wpedantic | Stanislaw Halik | |
2018-01-16 | spline/widget: no need to round pixel ratio | Stanislaw Halik | |
2018-01-16 | spline: fix widget for hidpi displays | Stanislaw Halik | |
2018-01-16 | logic, spline: get rid of using namespace in header | Stanislaw Halik | |