Commit Graph

864 Commits

Author SHA1 Message Date
Léa Saviot
a3a1f86f8d [apps] Add context parameter to fix tests 2020-02-12 15:13:21 +01:00
Léa Saviot
756eeeb2d8 [poincare/parser] Add context 2020-02-12 15:13:21 +01:00
Léa Saviot
8b250e0ca0 [apps/i18n] Fix portuguese from Portugal, not Brazil 2020-02-12 15:13:21 +01:00
Émilie Feral
b47ded4074 [apps/calculation] Add a parameter in Shared::CurveView to choose the
curve thickness
2020-02-12 15:13:20 +01:00
Émilie Feral
5974149162 [escher] Metric: change name TableCellLabelTopMargin to
TableCellHorizontalMargin and add TableCellHorizontalMargin
2020-02-12 15:13:20 +01:00
Ruben Dashyan
8cb2b99254 [apps/graph/calculation_graph_controller] Remove handleLeftRightEvent 2020-02-12 15:13:16 +01:00
Léa Saviot
1434158bee [apps/graph] Faster curve navigation after some time
If the user presses the LEft/Right keys for a long time, the cursor will
move faster.
2020-02-12 15:13:15 +01:00
Léa Saviot
9f018eb9d9 [escher/view] setFrame and layoutSubviews can be forced 2020-02-12 15:13:15 +01:00
Ruben Dashyan
a52fd2c697 [apps/graph/graph_view] Do not draw the functions with undef expression 2020-02-12 15:13:15 +01:00
Ruben Dashyan
be6b9d804c [apps/graph/values_controller] Fix assertion in plotTypeAtColumn 2019-11-13 09:38:07 +01:00
Ruben Dashyan
3677e7b191 [apps/graph/values_controller] Fix absoluteColumnForValuesColumn
Abscissa columns that should not appear in the table were counted
2019-11-13 09:38:07 +01:00
Émilie Feral
6befc1e146 [apps/graph] interestingXHalfRange: ignore infinite characteristic x
range
2019-10-18 14:32:57 +02:00
Émilie Feral
e87a096689 [apps/shared] didChangeCell reload only cells corresponding to the
modified abscissa
2019-10-07 15:02:34 +02:00
Émilie Feral
b40c89cae8 [apps/graph][graph/sequence][graph/shared] Change constant names: add
"displayable" when adequate
2019-10-07 15:02:34 +02:00
Émilie Feral
a19edb4460 [apps/graph][apps/sequence] Add comments 2019-10-07 15:02:34 +02:00
Émilie Feral
d4f6f5a477 [apps/graph] ValuesController: Decrease the number memoized cells by
making the cell wider
2019-10-07 15:02:34 +02:00
Émilie Feral
60ad096956 [apps/graph][apps/sequence] ValuesController memoization buffer does not
require the same size for Sequence and Graph
2019-10-07 15:02:34 +02:00
Émilie Feral
dc3c67a2d2 [apps/shared][apps/graph][apps/sequence] Clean ValuesController 2019-10-07 15:02:34 +02:00
Émilie Feral
164572ca1e [apps/shared][apps/sequence][apps/graph] Speed-up values table scrolling
by memoizing values cell buffers
2019-10-07 15:02:34 +02:00
Émilie Feral
5df8c6de57 [apps/graph] ValuesController::numberOfColumnsForPlotType: add a
parameter in order to take into account the abscissa column or not
2019-10-07 15:02:34 +02:00
Léa Saviot
19921ec125 [apps/regression/graph] Fix roundCursorView drawing glitch
Scenario:
f(x)=cos(x)
CalculateZeroes -> drawing glitch
Right, Back -> drawing glitch
2019-10-04 09:38:23 +02:00
Léa Saviot
aa8b0964b3 [apps/graph] If only cartesians, use domains range if < default range
The default range is [-10;10], but if all the functions are cartesian
and defined in a smaller range (for instance [-0.1,0.1]), use that
smaller range.
2019-09-26 12:00:06 +02:00
Émilie Feral
ff6eb7525f [apps/graph] Copy/Cut events on the values controller turn the "(1;3)"
notation into "[[1][3]]" in order to create a matrix layout when paste
into a layout field
2019-09-26 11:26:48 +02:00
Émilie Feral
4d593a6149 [poincare] PrintFloat: take into account the distinction between char
and glyph length in ConvertFloatToText
2019-09-26 11:26:48 +02:00
Émilie Feral
d6ad694b76 [apps/shared] EditableCellTableViewController: adjust column width to be
able to display float like "-1.234567E-123"
2019-09-26 11:26:48 +02:00
Émilie Feral
00bb1b7ac1 [apps/graph] ValuesController: column width are different for parametric
functions
2019-09-26 11:26:48 +02:00
Émilie Feral
bf23e0f8da [apps/graph] ValuesController: change display of the parametric column -
display only one column for (x;y) values
2019-09-26 11:26:48 +02:00
Émilie Feral
6a983a5bdf [apps/graph] ValuesController: factorize code to hide the cells 2019-09-26 11:26:48 +02:00
Émilie Feral
b91ea42286 [apps/graph] ValuesController: add comments 2019-09-26 11:26:48 +02:00
Émilie Feral
3f329182b0 [apps/graph] ValuesController: if the selection change is temporary, we
don't need to avoid selecting hid cells
2019-09-26 11:26:48 +02:00
Ruben Dashyan
259eb35cf4 Revert ""Almost equal to" sign in banner views"
This reverts commit bd5a247858.
2019-09-26 10:36:17 +02:00
Léa Saviot
b3e72835f0 [apps/graph] Fix expiring pointer that expired 2019-09-24 11:31:15 +02:00
Léa Saviot
6336c385db [apps/graph] jumpToLeftRightCurve takes into account vertical distance 2019-09-23 17:31:35 +02:00
Léa Saviot
e9974a216d [apps/graph] If only cartesians, jump to next curve when out of range
Scenario:

-----------•   ->press "right": the cursor goes on the lower curve

           -*-*-*-*-*-
2019-09-23 17:31:35 +02:00
Léa Saviot
4248128471 [apps/graph] ContinuousFunctionStore::displaysNonCartesianFunctions 2019-09-23 17:31:35 +02:00
Léa Saviot
f79e774971 [apps/graph] Factorize displaysNonCartesianFunctions uses 2019-09-23 17:31:35 +02:00
Léa Saviot
ebfa251db8 [apps/grah} closestCurveIndexVertically renamed as next... 2019-09-23 17:31:35 +02:00
Léa Saviot
936b624fb9 [apps/graph] Block navigation to definition domain 2019-09-23 17:31:35 +02:00
Ruben Dashyan
bd5a247858 "Almost equal to" sign in banner views 2019-09-23 17:31:02 +02:00
Émilie Feral
20abac86f4 [apps/graph] ListParameterController: interval print float mode and
number of significant numbers are dynamically adjusted with the
available space
2019-09-23 17:07:18 +02:00
Émilie Feral
05934717f1 [apps/graph] ListParameterController: add assertions to ensure not to
overflow buffer
2019-09-23 17:07:18 +02:00
Émilie Feral
f90038b332 [apps/graph/list] ListParameterController: Change interval notation of
the function domain
2019-09-23 17:07:18 +02:00
Ruben Dashyan
a705109b91 [apps/graph/graph_view] Factor polar and parametric drawing 2019-09-20 17:11:42 +02:00
Ruben Dashyan
a7282e6f33 [apps/graph/graph_view] Do not recompute numberOfActiveFunctions 2019-09-20 17:11:42 +02:00
Ruben Dashyan
d2b8e4865c [apps/shared/continuous_function_store] Factor numberOfActiveFunctionsOfType and activeRecordOfTypeAtIndex 2019-09-20 17:11:42 +02:00
Ruben Dashyan
5f9464a548 [apps] In Shared, move cartesian_function.* to continuous_function.* 2019-09-20 17:11:42 +02:00
Ruben Dashyan
df2897925b Rename Shared::CartesianFunction to Shared::ContinuousFunction 2019-09-20 17:11:42 +02:00
Ruben Dashyan
be019cd5cf [apps/graph] Move cartesian_function_store.* to continuous_function_store.* 2019-09-20 17:11:42 +02:00
Ruben Dashyan
3172992e11 [apps] Clean header inclusions 2019-09-20 17:11:42 +02:00
Ruben Dashyan
0466d00588 [apps/graph] Rename CartesianFunctionStore to ContinuousFunctionStore 2019-09-20 17:11:42 +02:00