Commit Graph

95 Commits

Author SHA1 Message Date
Émilie Feral
abfda7dbce [apps/shared] ValuesController: fix viewWillAppear, reset memoization
before reloading data
2019-10-07 15:02:34 +02:00
Émilie Feral
5928a6fd80 [apps/shared] ValuesController: reload memoization when deleting rows 2019-10-07 15:02:34 +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
cd7071277b [apps/shared] Use memmove instead of shifting the table cell by cell 2019-10-07 15:02:34 +02:00
Émilie Feral
a81f76332c [apps/shared] ValuesController: when reloading an entire row, reload
only visible cells
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
2efbec59a1 [apps/shared] Avoid extra calls to numberOfMemoizedColumn 2019-10-07 15:02:34 +02:00
Émilie Feral
f995fb0fc2 [apps/shared] ValuesController: reload memoized cell when abscissa is
edited
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
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
Léa Saviot
4caf9f5197 [coding style] Make some methods const 2019-09-09 20:05:14 +02:00
Ruben Dashyan
ae7d60d7c2 [apps/shared/values_controller] Move evaluationOfAbscissaAtColumn impl to Sequence
And remove TODO
2019-09-05 17:52:16 +02:00
Léa Saviot
6b25060dc5 [apps/graph] Put parameter name in interval controller
For instance:
X Start ...
X End ...
Step
2019-09-05 14:54:59 +02:00
Ruben Dashyan
0631ed77b5 [apps/*/editable_cell_table_view_controller] Factor table view margin values 2019-09-05 13:24:05 +02:00
Ruben Dashyan
aa5c5219da [apps/*/values_controller] Set correct parameter message 2019-09-05 11:58:51 +02:00
Ruben Dashyan
157edcd18c [apps/*/values_controller] Get interval from App according to column index 2019-09-04 15:07:40 +02:00
Ruben Dashyan
7ef63f2c61 [apps] IntervalParameterController::m_interval is set right before the controller appears
and not at controller's construction.
2019-09-04 15:07:40 +02:00
Léa Saviot
ea586d1ac5 [apps/graph] Add margins in values
+ Fix parameter titles
2019-09-03 17:32:04 +02:00
Léa Saviot
a3b59a585c [apps/values_controller] Cell types naming for typeAtLocation 2019-09-03 15:33:37 +02:00
Ruben Dashyan
7ff8fdf44f [apps/graph/values_controller] Split table into three pieces 2019-09-03 15:05:53 +02:00
Ruben Dashyan
dd0be4471c [apps/*/values_controller] Move m_setIntervalButton to derived classes 2019-09-03 14:49:26 +02:00
Ruben Dashyan
634e812806 [apps] Shared::ValuesParameterController gets the IntervalParameterController through FunctionApp 2019-09-03 14:49:26 +02:00
Ruben Dashyan
e00a6f7140 [apps/shared/values_controller] Remove unused interval getter 2019-08-29 13:51:49 +02:00
Ruben Dashyan
c0197f3b01 [apps] ValuesParameterController page title may be set dynamically 2019-08-29 13:51:49 +02:00
Ruben Dashyan
826e2c7aaf [apps/shared/values_controller] Clean assertions in reusableCell 2019-08-29 13:51:49 +02:00
Ruben Dashyan
5cdecc252f [apps/shared/values_controller] Remove configureAbscissa() and configureFunction() 2019-08-29 13:51:49 +02:00
Ruben Dashyan
6bee336349 [apps/*/values_controller] functionParameterController() returns a ViewController * 2019-08-29 13:51:49 +02:00
Ruben Dashyan
2e5ded2aa9 [apps/shared/editable_cell_table_view_controller] Factor textFieldDidFinishEditing 2019-08-29 13:51:49 +02:00
Ruben Dashyan
d9028b2cc5 [apps/shared/values_controller] Simplify typeAtLocation 2019-08-29 13:51:49 +02:00
Ruben Dashyan
04fcc0eac4 [apps/*/editable_cell_table_view_controller] Use typeAtLocation 2019-08-29 13:51:49 +02:00
Ruben Dashyan
dbb7d3d01c [apps/shared/values_controller] Simplify handleEvent 2019-08-29 13:51:49 +02:00
Ruben Dashyan
1da30fb775 [apps/shared/(values|store)_controller] Inline maxNumberOfElements in header 2019-08-29 13:51:49 +02:00
Ruben Dashyan
fa85293467 [apps/shared/editable_cell_table_view_controller] numberOfElements depends on column 2019-08-29 13:51:49 +02:00
Ruben Dashyan
73a99fd6d0 [apps/shared/values_controller] Simplify handleEvent 2019-08-29 13:51:49 +02:00
Ruben Dashyan
4ec7b801fd [apps/shared/values_controller] Clean willDisplayCellAtLocation 2019-08-29 13:51:49 +02:00
Léa Saviot
a945c02edf [poincare/Coordinate2D] Rename members x1 and x2 2019-08-29 11:07:22 +02:00
Léa Saviot
c71ef7ff79 [apps/graph] Evaluation methods renaming 2019-08-29 11:07:22 +02:00
Léa Saviot
28a721e96e [apps] Start fixing apps as cursor has new member variable 2019-08-29 11:07:22 +02:00
Léa Saviot
0840ca7a1e [apps/poincare] Move NormalDistribution to Poincare 2019-08-23 13:47:52 +02:00
Émilie Feral
12060e2ae7 [escher] TextField: all text fields use the same draft text buffer 2019-08-13 09:44:00 +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
44809f4b3f Substitute Escher app() by Container::activeApp() 2019-07-19 15:06:25 +02:00
Ruben Dashyan
3e992a3560 [apps] Replace app() by textFieldDelegateApp() in TextFieldDelegates 2019-07-19 15:06:25 +02:00
Ruben Dashyan
ff887ec4a0 [apps/shared] Define static app() accessor in FunctionApp class 2019-07-19 15:06:25 +02:00