Commit Graph

1178 Commits

Author SHA1 Message Date
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
c8206d51f2 [apps/shared/cartesian_function] Add static ParameterMessageForPlotType method 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
Ruben Dashyan
b357060939 [apps/shared/go_to_parameter_controller] Rename m_abscisseCell to m_parameterCell 2019-09-05 11:58:51 +02:00
Léa Saviot
58ac80783a [apps/graph] Handle navigation on hidden cells 2019-09-05 10:49:43 +02:00
Léa Saviot
af3d1456e0 [apps/graph] Hideable cells in values controller 2019-09-05 10:25:01 +02:00
Émilie Feral
aa1d1165e8 [apps/graph] Fix function name edition: the cursor is positioned right
after the '(' (bug due to the fact that θ takes 2 bytes)
2019-09-05 09:37:23 +02:00
Léa Saviot
4ccd9eed53 [apps/shared] Fix test compilation 2019-09-04 16:55:39 +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
Émilie Feral
bfe887e627 [apps/shared] Order CartesianFunctionRecordDataBuffer members to be more
likely aligned
2019-09-04 15:20:52 +02:00
Émilie Feral
9d335fdf99 [apps/shared] Cartesian: PlotType can be a uint8_t instead of an int 2019-09-04 15:20:52 +02:00
Émilie Feral
065edbbf05 [apps/shared] Range1D is used in a Storage::Record::DataBuffer and thus
should be packed and might be unaligned
2019-09-04 15:20:51 +02:00
Émilie Feral
bac7fe0fce [apps/shared] Regression and Statistics take into account display mode 2019-09-04 15:20: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
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
Ruben Dashyan
897b69709e [apps/shared/values_parameter_controller] Set correct title for IntervalParameterController submenu 2019-09-04 15:07:40 +02:00
Léa Saviot
3ffa23e1e3 [apps] Fix margins in Values controller 2019-09-04 13:53:24 +02:00
Léa Saviot
553c649a80 [apps] Fix Stores margins 2019-09-04 13:43:37 +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
ed2a15dd03 [apps/graph] Enable infinite values as domain bounds for cartesian
functions
2019-09-03 16:21:28 +02:00
Émilie Feral
8ce062acc4 [apps/shared] CartesianFunction: default domain of parametric and polar
functions is 0..2*pi
2019-09-03 16:21:28 +02:00
Léa Saviot
7265c369d3 [apps/graph] Replace magic number 2019-09-03 15:39:45 +02:00
Émilie Feral
a6ed400991 [apps/shared] Resolve conflict: function tmin and tmax are float instead
of double
2019-09-03 15:36:46 +02:00
Émilie Feral
eb3ea55d53 [apps/shared] CartesianFunction is composed of a 1D range as a
definition domain
2019-09-03 15:34:35 +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
Émilie Feral
fc2f3d79b5 [apps/shared] Create a class Range1D 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
Léa Saviot
e7958b8287 [apps/graph] Fix yAuto for cartesian functions
Scenario: display f(x) = x
2019-09-03 15:28:11 +02:00
Ruben Dashyan
7ff8fdf44f [apps/graph/values_controller] Split table into three pieces 2019-09-03 15:05:53 +02:00
Ruben Dashyan
340977e66a [apps/shared/interval] Decrease the max number of elements 2019-09-03 15:05:53 +02:00
Léa Saviot
4436967c57 [apps/go_to_param_cntrlr] Change parameter name according to func 2019-09-03 15:04:01 +02:00
Ruben Dashyan
d2184d01bd [apps/shared/interval_parameter_controller] Assert interval() is not nullptr
and inline getter in header.
2019-09-03 14:49:26 +02:00
Ruben Dashyan
e76bbd91cc [apps/shared/interval_parameter_controller] Controller's title may be modified 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
633420193c [apps/shared] Define and use Interval clear method 2019-09-03 14:49:26 +02:00
Ruben Dashyan
0bec97a1ee [apps/shared] Define and use Interval reset method 2019-09-03 14:49:26 +02:00
Ruben Dashyan
f4bbff2ec8 [apps/shared] Change Interval construction values 2019-09-03 14:49:26 +02:00
Léa Saviot
4ecf6835e7 [apps] Code cleaning 2019-09-03 14:21:14 +02:00
Léa Saviot
c3ee6a71e7 [apps/graph] Fix computeYRange for polar/cartesian functions
Was very slow, compute only 1000 values to evaluate the yRange
2019-09-03 14:21:14 +02:00
Léa Saviot
a4099c4c3e [apps/graph] xAuto and YAuto for polar/param 2019-09-03 14:21:14 +02:00
Émilie Feral
ecfe626520 [apps/shared] Remove useless method storeExpressionAllowed 2019-09-03 13:36:19 +02:00
Émilie Feral
908eaa4a43 [apps/shared] CartesianFunction: when changing the plot type, handle the
case of uninitialized expression
2019-09-03 10:03:06 +02:00
Léa Saviot
b05041dbd0 [apps/shared] Add display margin on top of / below constant curve 2019-09-02 17:56:56 +02:00
Léa Saviot
18a458bae5 [apps/graph] init Range to -5..5 if polar/param 2019-09-02 17:56:56 +02:00
Émilie Feral
27859dc923 [apps/shared] FunctionApp: don't allow equal expression in functions 2019-09-02 17:41:07 +02:00
Émilie Feral
a7285ba1ca [apps/graph] Implement defaultCursorT for FunctionGraphController 2019-09-02 16:55:39 +02:00