Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-27 | cmake: rename project's function prefix | Stanislaw Halik | |
It's not annoying having to type it anymore. Also "otr_boilerplate" -> "otr_module". | |||
2017-03-27 | spline: make get_value_no_save() const | Stanislaw Halik | |
2017-03-22 | [COVERITY] spline-widget: fix possible fpu division by zero | Stanislaw Halik | |
2017-03-22 | [COVERITY] spline-widget: fix redundant null check | Stanislaw Halik | |
2017-02-27 | remove unfinished polish translation files | Stanislaw Halik | |
Polish speakers typically know English well enough and translations are awkward. | |||
2017-02-21 | modules: add .ts files | Stanislaw Halik | |
2017-02-16 | spline-widget: one magic number less | Stanislaw Halik | |
2017-02-13 | spline-widget: linearly interpolate if singular point beyond zoom value exists | Stanislaw Halik | |
2017-02-13 | spline-widget: only use singular point if below zoom pt | Stanislaw Halik | |
Otherwise it got linearly interpolated toward a point that wasn't visible on the spline widget. | |||
2017-01-29 | spline-widget: actually use the [xy]_step properties | Stanislaw Halik | |
2017-01-29 | spline-widget: fix swapped [xy]step | Stanislaw Halik | |
2017-01-29 | spline-widget/spline: oops, don't eat points outta range in recompute() | Stanislaw Halik | |
2017-01-29 | spline-widget/spline: all logic must take zoom into effect | Stanislaw Halik | |
2017-01-29 | gui/mapping-window, spline-widget, logic/main-settings: limited mapping range | Stanislaw Halik | |
2017-01-29 | spline-widget: draw standard background color | Stanislaw Halik | |
2017-01-29 | spline-widget: remove camel case | Stanislaw Halik | |
My eyes bleed a bit less | |||
2016-12-28 | spline-widget: speculative valgrind change | Stanislaw Halik | |
2016-12-08 | spline-widget: improve preview mode for tobii | Stanislaw Halik | |
2016-12-08 | spline-widget: lazy-recompute spline buckets | Stanislaw Halik | |
2016-11-23 | spline-widget: add more buckets for Accela interpolation | Stanislaw Halik | |
The rotation gain wasn't accurate enough with the previous value. | |||
2016-11-05 | delete empty .ts | Stanislaw Halik | |
2016-11-04 | modules: add autogenerated translation files | Stanislaw Halik | |
2016-11-02 | spline-widget: prevent breakage on values close to zero | Stanislaw Halik | |
2016-10-29 | spline-widget: remove aliasing artifacts | Stanislaw Halik | |
We're using QPainterPath and its bezier curves. However, we supply it a plethora of intermediate values to mitigate different results in interpolation. | |||
2016-10-29 | spline-widget: don't compute the same thing over and over again | Stanislaw Halik | |
2016-10-29 | spline-widget: avoid sqrt in global namespace | Stanislaw Halik | |
2016-10-29 | spline-widget: revert last commit | Stanislaw Halik | |
In the last line of the blocks we're reducing the precision to reduce rounding errors. It's actually proper to use round rather than truncate here. | |||
2016-10-28 | spline-widget: fix rounding bug introduced in a3b890b9b4opentrack-2.3-rc99p14 | Stanislaw Halik | |
Since we're already adding snap_x/2, truncation is the correct choice here. | |||
2016-10-28 | spline-widget: use round, not trunc when converting pixel to val | Stanislaw Halik | |
2016-10-28 | spline-widget: don't recalculate point value | Stanislaw Halik | |
Only apply snap for closeness check. | |||
2016-10-26 | spline-widget: fix logic for detecting points being too close | Stanislaw Halik | |
It was still possible to reorder points by dragging one of them. Also get rid of the iteration. It was previously introduced to try converge one of the points to another position. Allow for changing Y value while the point is dragged. Take snap into account. Use newly introduced "iround<t>". | |||
2016-10-26 | spline-widget: use stable sort | Stanislaw Halik | |
2016-09-16 | spline-widget: simplify/fix drawing logic | Stanislaw Halik | |
The linear things should be drawn in drawFunction() since they change only when some control point is moved and the spline is recalculated anyway. Introduce spline::get_value_no_save to avoid clobbering the tracked value. Draw linear helper before the spline to avoid occluding it. Remove some redundant checks for whether _config exists when all calling sites ensure it already. I still need to de-camel-case these two classes. | |||
2016-09-09 | spline-widget: simplify alpha calculation | Stanislaw Halik | |
2016-09-09 | spline-widget: emit vtable in a single unit | Stanislaw Halik | |
2016-09-09 | spline-widget: fix uninitialized access | Stanislaw Halik | |
Found-by: valgrind | |||
2016-09-05 | spline-widget: oops, fix tooltip before clicking on widget | Stanislaw Halik | |
2016-09-05 | spline-widget: stop dragging when alt-tabbing away | Stanislaw Halik | |
Unfortunately now spline widgets grab keyboard focus. Qt doesn't seem to have a better way to detect whether some other application gained focus. | |||
2016-09-05 | spline-widget: add tooltips, refactor | Stanislaw Halik | |
Tooltip shows current cursor/point position. Factor out common functions. Use QPoint/QPointF appropriately. Remove rounding that led to snapping to integral values. Allow for non-integral snapping amounts. Issue: #436 | |||
2016-09-05 | spline-widget: fix rounding for short splines | Stanislaw Halik | |
This was especially visible with XYZ spline widgets. | |||
2016-09-05 | spline-widget: add point count getter | Stanislaw Halik | |
2016-09-05 | spline-widget: allow for non-integral snap values | Stanislaw Halik | |
2016-08-23 | compat/util: move typical "clamp" function here | Stanislaw Halik | |
2016-08-23 | spline-widget: disconnect "recomputed" in dtor | Stanislaw Halik | |
In case mem<settings> is still used elsewhere we still have a use-after-free otherwise. | |||
2016-08-23 | spline-widget: return mem<settings> and not settings& | Stanislaw Halik | |
2016-08-23 | spline-widget: multiple fixes | Stanislaw Halik | |
- add missing locking - bundle and settings ptr are never null following initialization; sentinel objects get created if there's no bundle, thus don't branch outside initialization functions. the sentinel object doesn't load or save to the .ini file - connect spline refresh to any bundle change - connect spline widget refresh to spline refresh - few caveat comments - spline_widget::setConfig now only takes the spline as argument, eliminating most of the complex logic there - clarify spline::set_bundle vs newly introduced spline::recompute | |||
2016-08-23 | spline-widget: omit too-close points. add missing locking. | Stanislaw Halik | |
2016-08-17 | options: support deferred writes when saving bundles | Stanislaw Halik | |
The mapping window has 13 bundles total in use. Setting them all can take up to a large fraction of a second on some windows filesystems. Do a single config write instead. | |||
2016-08-17 | spline-widget: save spline control point list using options api | Stanislaw Halik | |
- spline widgets reload when spline bundle reloads - every bundle reloads when profile gets changed Importing old spline settings hasn't been implemented. Control point positions are stored as raw floats. This is bad. | |||
2016-08-17 | move options framework into its own library | Stanislaw Halik | |
- adjust usages - add support for QList signals and metatype |