Léa Saviot
0840ca7a1e
[apps/poincare] Move NormalDistribution to Poincare
2019-08-23 13:47:52 +02:00
Émilie Feral
af31ba6137
[apps/shared] CurveView::computeLabels: fix confusion between size and
...
length
2019-08-19 17:13:50 +02:00
Émilie Feral
05972099fe
[apps/shared] Fix char array initialization
2019-08-16 17:24:04 +02:00
Léa Saviot
1e483d60ce
[poincare] Coordinate2D out of the Expression class
2019-08-13 18:00:15 +02:00
Émilie Feral
503e07fe5a
[apps/sequence] Fix SequenceStore: sequences are not memoized but all
...
kept in the store (because we need all of them to evaluate one
sequence). setMemoizedModelAtIndex now store u, v and w sequences in
this order to avoid requiring expiring pointers.
2019-08-13 09:44:00 +02:00
Émilie Feral
8b41e8af73
[apps/shared] SimpleInteractiveCurveViewController does not need to
...
reload the text from models in textFieldDidAbortEditing. This is handled once for all in
textfield handleEvent
2019-08-13 09:44:00 +02:00
Émilie Feral
a2059432bd
[apps/shared] SumGraphController keeps 2 text buffers for its editable
...
zone (to be able to abort editing and find back the previous text)
2019-08-13 09:44:00 +02:00
Émilie Feral
fc84b15214
[apps/shared] XYBannerView: enable a large draft text buffer to edit
...
long abscissa ("1+2+3+...") even if the non-edited text buffer is short
(it keeps a float that size is capped)
2019-08-13 09:44:00 +02:00
Émilie Feral
12060e2ae7
[escher] TextField: all text fields use the same draft text buffer
2019-08-13 09:44:00 +02:00
Léa Saviot
7b8f827f5a
[poincare/print_float] No float truncation over numberOfSignDigits
2019-08-09 18:05:57 +02:00
Léa Saviot
03ef031782
[apps/calc] Fix subview color
...
Scenario: Enter 0.1, go up twice, the result "0.1" stays grey
2019-08-09 14:34:35 +02:00
Émilie Feral
a2739e08cc
[apps/shared] FunctionGoToParameterController update the range version
...
of the graph controller to avoid reinitializing the cursor position when
graph controller view appears. Otherwise, goto controller would set the
cursor position, update the range consequently and then the graph
controller would reinitialize the cursor position.
2019-08-09 10:27:31 +02:00
Léa Saviot
c2b4d2b760
[strlcpy] Assertions on len parameter
2019-08-08 17:22:06 +02:00
Léa Saviot
b0b10f184e
[poincare/print_float] convertFloatToText -> ConvertFloatToText
2019-08-08 17:22:06 +02:00
Émilie Feral
79d7e58ec8
[apps/shared] EditableCellTableViewController: function and sequence
...
values table cells were to narrow to display
LargeNumberOfSignificantDigits (~16 digits). We adjust the number of
digits authorized before switching to scientific mode to the cell width
2019-08-08 17:22:05 +02:00
Ruben Dashyan
d4afcfd9fd
[apps/*_curve_view_range] Mark accessors const
2019-08-08 17:22:04 +02:00
Ruben Dashyan
ed98d8fc93
[apps/shared/memoized_curve_view_range] Inline accessors in header file
2019-08-08 17:22:04 +02:00
Ruben Dashyan
771e0f7c0f
[apps] Simplify Shared::CurveViewRange::x|yGridUnit()
2019-08-08 17:22:04 +02:00
Léa Saviot
05678b48f6
[apps/calc] Remove whole calculation memoization in HistoryViewCell
...
It is no longer compatible with the new calculations as they no longer
have a constant size.
2019-08-08 17:22:03 +02:00
Léa Saviot
63f20a9844
[apps/function_store] Comment coding style
2019-08-08 17:22:02 +02:00
Léa Saviot
e15df6d60d
[apps] Removed unneeded paramater in ExpiringPointer
2019-08-08 17:22:02 +02:00
Émilie Feral
869ab35c54
Makefile: build only necessary files for test target
2019-08-08 17:22:01 +02:00
Émilie Feral
059c596a80
Makefiles: avoid building all sources for each target; introduce more
...
modularity
2019-08-08 17:22:01 +02:00
Émilie Feral
2861a35840
Clean some warnings
2019-08-08 16:29:38 +02:00
Léa Saviot
61cf762eef
[poincare] Expression::ReductionContext
2019-08-08 16:29:37 +02:00
Léa Saviot
989e3427b6
[apps/post_and_hardware_tests] Comment display tests
2019-08-07 11:15:28 +02:00
Léa Saviot
f5a7a44546
[apps/ion] Factorize code and TODO
2019-08-07 11:15:28 +02:00
Léa Saviot
5a68c52120
[apps/post_and_hardware_tests] Remove unnecessary initPanel
2019-08-07 11:15:28 +02:00
Léa Saviot
a450ce3855
Merge branch 'master' into f7
2019-08-06 17:40:14 +02:00
Ruben Dashyan
d171c2a2be
[apps/shared/function_graph_controller] Comment about the sampling step in computeYRange
2019-07-30 14:15:08 +02:00
Ruben Dashyan
bc750ef2da
[apps/shared/curve_view] Clean clipping of the line segment for straightJoinDots
2019-07-30 14:15:08 +02:00
Ruben Dashyan
79dbdaa98c
[apps/shared/curve_view] stampAtLocation: clarify stampRect and shiftedMask
2019-07-30 14:15:08 +02:00
Ruben Dashyan
75a273be2a
[apps/shared/curve_view] Gather calls to stampAtLocation in jointDots
2019-07-30 14:15:08 +02:00
Ruben Dashyan
6f5b551104
[apps/shared/curve_view] Gather NAN detections in jointDots
2019-07-30 14:15:08 +02:00
Ruben Dashyan
0d82e40b1c
[apps/shared/curve_view] Clean straightJoinDots
2019-07-30 14:15:08 +02:00
Ruben Dashyan
b4099180a3
[apps/shared/curve_view] Correctly check whether successive dots are joined
2019-07-30 14:15:08 +02:00
Ruben Dashyan
327547dd37
[apps/shared/curve_view] Do not evaluate several times in drawCurve
2019-07-30 14:15:08 +02:00
Ruben Dashyan
9ab55e6a04
[apps/shared/curve_view] drawCurve does not call straightJoinDots anymore
...
Remove the "bool continuously" parameter of the method drawCurve that allowed
to bypass the call to jointDots and call straightJoinDots directly
instead.
2019-07-30 14:15:08 +02:00
Ruben Dashyan
585b77c38f
[apps/shared/curve_view] Clarify coordinates' conventions
2019-07-30 14:15:08 +02:00
Ruben Dashyan
ab0bfe2039
[apps/shared/curve_view] Inline pixelLength
2019-07-30 14:15:08 +02:00
Ruben Dashyan
95be59fdc6
[apps/shared/curve_view] Fix label position rounding error
2019-07-30 14:15:08 +02:00
Ruben Dashyan
702a222dbc
[apps/shared/curve_view] Simplify drawGridLines' for loop parameter
2019-07-30 14:15:08 +02:00
Ruben Dashyan
ce75a99d93
[apps/shared/curve_view] Simplify drawGridLines' for loop bounds
2019-07-30 14:15:08 +02:00
Ruben Dashyan
985876f115
[apps/shared/curve_view] Simplify drawDot
2019-07-30 14:15:08 +02:00
Ruben Dashyan
292493ba36
[apps/*curve_view] Substitute resolution by pixelWidth
2019-07-30 14:15:08 +02:00
Ruben Dashyan
c80baae1e9
[apps/*/curve_view] Remove samplingRatio()
...
The resolution() method is useful to get a horizontal step equivalent to
the width of a pixel. A higher sampling ratio (or resolution) had been
introduced in the following commit.
[apps] In curve view, avoid white vertical lines in integral curves due to pixel rounding
2019-07-30 14:15:08 +02:00
Ruben Dashyan
7cbc489052
[apps/shared/curve_view] Use drawSegment to color area under curve
2019-07-30 14:15:08 +02:00
Ruben Dashyan
f5c3cb74e2
[apps/shared/curve_view] Fix rounding error in drawSegment
2019-07-30 14:15:08 +02:00
Ruben Dashyan
503995746a
[apps/shared/function_graph_controller] Clean resolution usage in computeYRange
2019-07-30 14:15:08 +02:00
Ruben Dashyan
f4b7967a58
[apps/shared/curve_view] step in drawHistogram depends on x-range's width
...
instead of the width of the rect that is being drawn.
2019-07-30 14:15:08 +02:00