Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2018-01-14 | gui/spline: change horizontal/vertical guide count | Stanislaw Halik | |
The amount depends on the max value on X/Y scales. | |||
2017-12-21 | spline: prepare for widget in tobii tracker dialog | Stanislaw Halik | |
2017-12-21 | spline: cleanup | Stanislaw Halik | |
2017-12-10 | options: rename template | Stanislaw Halik | |
2017-12-02 | compat/macros: rename obnoxious macro | Stanislaw Halik | |
2017-11-14 | spline: cleanup warning | Stanislaw Halik | |
2017-10-29 | static constexpr -> constexpr | Stanislaw Halik | |
2017-10-27 | spline/widget: try fix background color on Unix | Stanislaw Halik | |
2017-10-27 | spline: use default initialization | Stanislaw Halik | |
2017-10-27 | compat/mutex: rename | Stanislaw Halik | |
2017-10-27 | gui: must close module dialogs | Stanislaw Halik | |
Otherwise settings don't get cancelled | |||
2017-10-21 | spline/widget: remove dead code | Stanislaw Halik | |
2017-10-21 | spline: don't remove points from config | Stanislaw Halik | |
2017-10-21 | spline/widget: fixes | Stanislaw Halik | |
- fix horizontal legend overwritten by bg color - same fix for point circles - don't blit rectangles in paintEvent, cache them | |||
2017-10-20 | logic, spline: more spline work/fixes | Stanislaw Halik | |
- mapping window clamps are now value<max_clamp> in spline - clamp won't mess up saved spline content - clean up artifacts on spline widget | |||
2017-10-20 | spline: allow switch pitch mapping max Y 90/180 | Stanislaw Halik | |
2017-10-02 | spline: fix background color handling | Stanislaw Halik | |
2017-08-05 | fixed macos build | Dmitry Lukianov | |
2017-07-25 | spline: repaint() is cheaper | Stanislaw Halik | |
2017-07-23 | spline/widget: avoid drawing past the graph's end | Stanislaw Halik | |
2017-07-18 | spline/widget: reduce needless redraws | Stanislaw Halik | |
2017-06-18 | spline: speed up Qt spline ops | Stanislaw Halik | |
2017-06-18 | spline: workaround going over the max value | Stanislaw Halik | |
2017-06-06 | spline: prevent returning absolute of negative value | Stanislaw Halik | |
Fixes: #628 | |||
2017-05-21 | spline: minor cleanup | Stanislaw Halik | |
2017-05-10 | spline: add comment | Stanislaw Halik | |
2017-05-10 | spline: rename, change call site | Stanislaw Halik | |
2017-05-10 | spline: recompute spline config lazily | Stanislaw Halik | |
2017-05-10 | spline: reformat | Stanislaw Halik | |
2017-05-10 | spline: fix points deleting themselves on dragging to origin | Stanislaw Halik | |
2017-05-10 | spline: refactor | Stanislaw Halik | |
Generally nothing of importance, just readability. - There was a particularly scary typo where: const unsigned end = std::min(unsigned(value_count), unsigned(p2_x * mult_)); clamping to value_count doesn't make sense, given arbitrary p2_x. - Try harder to avoid assigning s->points. Also the overlap threshold constant was arbitrarily too high. - Sort predicate is meant to use strict ordering, not partial total order. | |||
2017-05-10 | get rid of the silly mem -> shared_ptr alias | Stanislaw Halik | |
2017-05-10 | options: don't create QSettings all the time | Stanislaw Halik | |
Update usages. | |||
2017-04-30 | spline: really fix moving points together | Stanislaw Halik | |
2017-04-30 | spline/widget: fix moving points close together | Stanislaw Halik | |
They disappeared and clumped together. | |||
2017-04-30 | spline: show tooltip in preview only mode | Stanislaw Halik | |
2017-04-18 | many: use std::f{max,min} for floating-point values | Stanislaw Halik | |