Commit Graph

190 Commits

Author SHA1 Message Date
Ruben Dashyan
580f0f79f5 [apps/graph/values_controller] Define numberOfColumnsForRecord 2019-08-29 13:51:49 +02:00
Ruben Dashyan
b0d7344d6b [apps/graph/values_controller] Clean handling of (in)active functions 2019-08-29 13:51:49 +02:00
Ruben Dashyan
fce39adb8b [apps/graph/values_controller] Remove the isDerivativeColumn method
and fill instead a boolean isDerivative through recordAtColumn.
2019-08-29 13:51:49 +02:00
Ruben Dashyan
4a0746fd44 [apps/graph/values_controller] functionParameterController() returns the derivative controller
when a derivative function column is selected.
Remove configureDerivativeFunction and handleEvent.
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
04fcc0eac4 [apps/*/editable_cell_table_view_controller] Use typeAtLocation 2019-08-29 13:51:49 +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
Ruben Dashyan
b665e841ad [apps] Remove arg parameter in Shared::Function::nameWithArgument and Shared::CartesianFunction::derivativeNameWithArgument 2019-08-29 11:07:21 +02:00
Ruben Dashyan
4396a82452 [apps/*/values*function_parameter_controller] Get the symbol from the FunctionStore 2019-08-29 11:07:21 +02:00
Ruben Dashyan
eb6d697927 [apps] Make app accessors static members of App classes 2019-07-19 15:06:25 +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
Romain Goyet
21907fb89a [apps] Get rid of App casts 2019-07-19 15:06:25 +02:00
Émilie Feral
578c65d5dd [shared] Clean class names containing storage 2019-05-03 15:53:20 +02:00
Émilie Feral
57da4ea618 [shared] Rename classes:
ExpressionModelHandle --> ExpressionModel
SingleExpressionModelHandle --> ExpressionModelHandle
StorageFunction --> Function
StorageCartesianFunction --> CartesianFunction
StorageFunctionApp --> FunctionApp
2019-05-03 15:53:20 +02:00
Émilie Feral
178a064c29 [apps/shared] ExpressionModelHandle: specify the symbol that is turned
into Unknown X in Derived classes
2019-05-03 15:53:20 +02:00
Émilie Feral
e40e626eec [graph] Values tab: select the right cell of the values table when
displaying/undisplaying the derivative column
2019-03-12 16:21:30 +01:00
Léa Saviot
be195ce70e [apps/graph] Fix storage pointers that expired 2018-11-23 12:04:04 +01:00
Émilie Feral
e8b58a2b5b [shared] Create ExpiringPointer: in DEBUG, check that pointers to
memoized functions are not used when invalid
2018-11-23 12:04:03 +01:00
Émilie Feral
a063b00fb7 [graph] StorageDerivativeParameterController &
StorageValuesFunctionParameterController titles cannot be computed
before being in the responder chain (they need to access
app()->functionStore())
2018-11-23 12:04:03 +01:00
Émilie Feral
698332c355 [escher] InputTextDelegate and LayoutFieldDelegate don't inherit from
InputTextDelegate to avoid diamond inheritance
2018-11-23 12:04:03 +01:00
Léa Saviot
71d8358722 [apps/escher/poincare] Change KDText::FontSize to KDFont 2018-11-23 12:04:02 +01:00
Émilie Feral
8e2a30ab8e [graph] Create a static method StorageCartesianFunctionStore::Symbol() 2018-11-23 12:04:02 +01:00
Émilie Feral
c70278941a [graph] Do not keep a function pointer as member variable but a record.
Indeed, function pointers can become invalid at any point...
2018-11-23 12:04:02 +01:00
Léa Saviot
a4ea8d19f7 [apps/graph] In Values, x parameters menu's title is "x" 2018-11-23 12:04:02 +01:00
Léa Saviot
7cfe3b904e [apps/graph] Commit missing files 2018-11-23 12:04:01 +01:00
Léa Saviot
c0e4eaa56b [apps/graph] Use storage controllers in Values 2018-11-23 12:04:01 +01:00
Romain Goyet
f8beae3b86 [kandinsky] Move to KDFont 2018-10-11 16:44:02 +02:00
Émilie Feral
579da3033a [apps] Get rid of DynamicViewController (part 2) 2018-09-07 17:55:42 +02:00
Émilie Feral
67cddf554d Merge branch 'lea-statistics' into upgrade-1.6.0 2018-06-12 10:25:54 +02:00
Émilie Feral
2d580faf51 [solver] Ignore empty equation when resolving systems 2018-06-07 14:46:14 +02:00
Léa Saviot
b1e732e135 [apps] Color Series names if not empty in Statistics 2018-05-29 15:34:49 +02:00
Romain Goyet
84561a929f [escher] Clean the ScrollView, TableView and SelectableTableView constructors 2018-04-18 18:08:07 +02:00
Émilie Feral
f0a776a670 [apps] Operations in double when precision required
Change-Id: I7168a861a76178f0bf81841e9378f7399f67914a
2017-08-17 09:31:53 +02:00
Émilie Feral
010014a4b5 [apps/graph] Fix bug: select the right cell ot table at disappearing and
only then

Change-Id: Ie9755694ae84f774ee1e3425d4bc7f1217ef6500
2017-06-14 18:07:01 +02:00
Émilie Feral
bf11591e3e [apps/shared] In values controller, update the number of columns when
layout is done

Change-Id: I29bc776623ff2e5056c9f2cc1d995b4440996116
2017-06-08 18:30:45 +02:00
Émilie Feral
d2c55eb7d0 [apps/graph][apps/sequence] In values controller, memoize the number of
columns to improve performance

Change-Id: Ie3c545d0198a2f23575bd22fdbf56e9c6b8ff2b8
2017-06-02 14:07:40 +02:00
Émilie Feral
bc73fd28b1 [apps/sequence)[apps/graph] Move interval in snapshot
Change-Id: Ib8efea9d57c55fbf7b4fb8cf9188d4211442057d
2017-05-18 14:16:42 +02:00
Émilie Feral
af4d6b6e81 [escher] Divide class selectable table view delegate in 2: selectable
table view data source & selectable table view delegate

Change-Id: I90fbd61e271db3754c13bd0069b95c2026de6814
2017-05-18 14:16:41 +02:00
Émilie Feral
4e0e285501 [apps][escher] EXE and OK trigger the same behaviour
Change-Id: Ide7d38fbc445be717e50ed46f2d784c02c9830e4
2017-05-10 12:04:30 +02:00
Émilie Feral
96733dbbdc [apps] Rule of 5 (3)
Change-Id: Ia85b23a09e9debd62b4f3590463a4f16454ef4b7
2017-05-09 14:33:53 +02:00
Émilie Feral
62c93e49a6 [apps] AppsContainer does not own the apps but a pointer to the apps
Change-Id: I9b6787be2cd143b52fd8dd60f3528fed2f74e4bb
2017-05-03 15:32:54 +02:00
Émilie Feral
e556123e34 [apps/graph] Clean
Change-Id: I2f2f8db4cd7682ad89b808f5cd3ba23e93a8488e
2017-05-03 14:22:52 +02:00
Émilie Feral
70fc734f7b [escher] Change dynamic view controller paradigm
Change-Id: I57fd41c9b9ad8a1e8b684b97fdf80ddffd71881d
2017-05-03 14:22:51 +02:00
Émilie Feral
4b18d16b2b [apps/sequence||graph] Improve hiding of copy column functionnality
Change-Id: Ic31734f99c0c223e5865b46c48866b89aa62d383
2017-05-03 14:22:51 +02:00
Émilie Feral
0517066cc0 [escher] Extrude scroll view model to its delegate
Change-Id: If863de63f5f77edb5e2905633067e03aecdd8937
2017-05-03 10:22:01 +02:00
Émilie Feral
3f98061a4c [escher] Extrude the model in selectable table view controller to its
delegate

Change-Id: I4d49e0098d501e1419f7b216e828b13efbf74f81
2017-05-03 10:22:01 +02:00
Émilie Feral
e58e3e8a66 [apps/sequence][apps/graph] Hide "copy column" functionnality
Change-Id: I5c452faa1ef79bb1eec8bbdd8b69ba684661a38b
2017-04-26 09:39:15 +02:00
Émilie Feral
5c7d763291 [apps/shared] Make tab table controller dynamic view controller
Change-Id: Id3a383e72173779eb295dc998f780041f62f8bf0
2017-04-21 10:08:09 +02:00