Commit Graph

504 Commits

Author SHA1 Message Date
É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
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
Ruben Dashyan
ec9bf9b59b Remove unused parameter of Poincare::Context::setExpressionForSymbolAbstract 2019-09-23 11:04:29 +02:00
Ruben Dashyan
652616d9e3 [apps/sequence/sequence] Assert that sum bounds are integrers 2019-09-20 17:11:42 +02:00
Ruben Dashyan
d02ecf93a5 [apps] Avoid static casts 2019-09-20 17:11:42 +02:00
Ruben Dashyan
1d966ce23c [apps/*/expression_model_list_controller] editExpression sets text instead of InputViewController::edit 2019-09-20 17:11:42 +02:00
Ruben Dashyan
413397652c [apps/*/expression_model_list_controller] Refactor modelStore()
Its return type is covariant. Get the ExpressionModelStore from the App.
2019-09-20 17:11:42 +02:00
Ruben Dashyan
91e3078234 [apps/*/expression_model_list_controller] Factor isAddEmptyRow 2019-09-20 17:11:42 +02:00
Ruben Dashyan
a5bff416d1 [apps/*/expression_model_list_controller] Use isAddEmptyRow 2019-09-20 17:11:42 +02:00
Ruben Dashyan
d8ec5ab2b3 [apps/sequence/values_controller] Sequence instead of Shared::Function 2019-09-20 17:11:42 +02:00
Ruben Dashyan
94f89f37d7 [apps/sequence/sequence] Simplify isEmpty 2019-09-20 17:11:42 +02:00
Ruben Dashyan
278a247c34 [apps/sequence] Rename SequenceRecordDataBuffer to RecordDataBuffer 2019-09-20 17:11:42 +02:00
Ruben Dashyan
fd2961018c [apps] In Shared::Function, rename FunctionRecordDataBuffer to RecordDataBuffer 2019-09-20 17:11:42 +02:00
Léa Saviot
4caf9f5197 [coding style] Make some methods const 2019-09-09 20:05:14 +02:00
Léa Saviot
e67160b878 [apps/graph] Faster cursor scrolling on device
This commit is quite dirty but works well
2019-09-09 16:56:32 +02:00
Émilie Feral
f38c6ed3d1 [apps/shared] Move sumBetweenBounds from controller (SumGraphController)
to the models (Sequence or CartesianFunction) and
CartesianFunction::sumBetweenBounds takes into account the function
domain
2019-09-09 11:42:16 +02:00
Émilie Feral
3998877740 [apps/sequence] CurveViewRange: update the grid unit when change the
range
2019-09-06 16:16:26 +02:00
Léa Saviot
a8a628d2eb [apps/seq] Fix compilation 2019-09-06 10:36:24 +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
aa5c5219da [apps/*/values_controller] Set correct parameter message 2019-09-05 11:58:51 +02:00
Ruben Dashyan
9417a52167 [apps/*/function] Sequence implements parameterMessageName 2019-09-05 11:58:51 +02:00
Ruben Dashyan
86768b2eec [apps/*/go_to_parameter_controller] Remove I18n::Message parameter from constructor 2019-09-05 11:58:51 +02:00
Émilie Feral
f388fe7252 [apps] Use attribute "packed" on member variable directly instead of
using "pragma pack" to allow compiler optimization on one-byte object
accesses
2019-09-04 15:20:52 +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
9e8125f700 [apps/sequence/values_controller] Clean namespace usage 2019-09-04 15:07:40 +02:00
Ruben Dashyan
a565cb32b9 [apps] Move interval from FunctionApp to derived classes 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
Émilie Feral
45d42287e2 [apps/shared] MemoizedCurveViewRange is composed of two Range1D to
factorize setters and getters
2019-09-03 15:34:35 +02:00
Léa Saviot
a3b59a585c [apps/values_controller] Cell types naming for typeAtLocation 2019-09-03 15:33:37 +02:00
Ruben Dashyan
ba9beb2489 [apps/sequence/values] IntervalParameterController constructor is inherited from base class 2019-09-03 14:49:26 +02:00
Ruben Dashyan
4fdc7c60c2 [apps/*/values_controller] Make intervalParameterController() public 2019-09-03 14:49:26 +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
8053e683c0 [apps/*/function_app] Inline inputViewController getter in header 2019-09-03 14:49:26 +02:00
Léa Saviot
bc2eba1726 [tests] Fix tests (use new methods) 2019-09-03 10:10:23 +02:00
Émilie Feral
a7285ba1ca [apps/graph] Implement defaultCursorT for FunctionGraphController 2019-09-02 16:55:39 +02:00
Ruben Dashyan
5dc429dae5 [apps/*curve_view_range] Use existing method 2019-08-29 15:13:41 +02:00
Ruben Dashyan
cf09961e16 [apps/sequence/graph/curve_view_range] Use existing method 2019-08-29 15:13:41 +02:00
Ruben Dashyan
554175d725 [apps/sequence/graph/curve_view_range] Do not set m_xMin|Max twice 2019-08-29 15:13:41 +02:00
Ruben Dashyan
fe95528f02 [apps/sequence/app] Clean remnant of reset method 2019-08-29 15:13:41 +02:00