Commit Graph

584 Commits

Author SHA1 Message Date
Émilie Feral
3cedfb84e9 [shared] StorageCartesianFunction: add a method
derivativeNameWithArgument
2018-11-23 12:04:01 +01:00
Émilie Feral
d30e508bcd [shared] Temporarily duplicate shared controllers to take a
StorageFunction instead of a Function

The original controllers are to be deleted when Sequence uses Storage
2018-11-23 12:04:01 +01:00
Émilie Feral
e290c928e0 [shared] StorageFunction: add a method to write the name of the function
with an argument (f(x))
2018-11-23 12:04:01 +01:00
Émilie Feral
8c1f0f4cb2 [shared] Fix StorageExpressionModel: inherits from Record 2018-11-23 12:04:01 +01:00
Émilie Feral
e15521c1d7 [shared] Makefile: build storage_expression_model 2018-11-23 12:04:01 +01:00
Émilie Feral
de25fddc88 [shared] StorageFunction: fix 2018-11-23 12:04:01 +01:00
Émilie Feral
2cae9938fd [shared] Fix GlobalContext 2018-11-23 12:04:01 +01:00
Émilie Feral
c51bef1e3d [shared] StorageExpressionModel: add a method to get the Expression
without replacing symbols
2018-11-23 12:04:01 +01:00
Émilie Feral
b16c1e569e [shared] StorageExpressionModelStore: fix memoization invalidation
Stored models need to be invalidate every time the storage changes
2018-11-23 12:04:01 +01:00
Émilie Feral
4137475561 [graph] Fix StorageListController 2018-11-23 12:04:01 +01:00
Émilie Feral
5a4b224d1e [shared] Fix StorageFunctionListController 2018-11-23 12:04:01 +01:00
Émilie Feral
c6031536ce [shared] Create a StorageListParameterController 2018-11-23 12:04:01 +01:00
Émilie Feral
d4024da330 [shared] Fix StorageExpressionModelListController 2018-11-23 12:04:01 +01:00
Émilie Feral
363eeb7162 [shared] StorageExpressionModel: add the method text() 2018-11-23 12:04:01 +01:00
Émilie Feral
5158957d48 [shared] StorageExpressionModel: add method 'addEmptyModel' 2018-11-23 12:04:01 +01:00
Émilie Feral
d3e66d5530 [shared][graph] Delete all storage controller 2018-11-23 12:04:01 +01:00
Émilie Feral
8aff120bf3 [graph] Fix StorageCartesianFunction 2018-11-23 12:04:01 +01:00
Émilie Feral
8ec6673aee [shared] Fix storage_function_store without template 2018-11-23 12:04:01 +01:00
Léa Saviot
f3c4abe1c2 [apps/poincare] Use char constructor of Symbol instead of string 2018-11-23 12:04:01 +01:00
Émilie Feral
8861de6fe5 [shared] New StorageExpressionModelStore with memoization of 5 models 2018-11-23 12:04:01 +01:00
Émilie Feral
8e13ba32ee [shared] Clean old_storage_expression_model_store 2018-11-23 12:04:01 +01:00
Émilie Feral
1fc2fad123 [shared] Delete storage_function_banner_delegate 2018-11-23 12:04:01 +01:00
Émilie Feral
dd74812779 [shared] Fix StorageCartesianFunction 2018-11-23 12:04:01 +01:00
Léa Saviot
88fa555f4f [apps] Start de-templating StorageExpressionModelStore 2018-11-23 12:04:01 +01:00
Léa Saviot
5a9c0b1b84 [apps] GlobalCtxt::SetExpForFunctionRecord used in StorageCartesianFunction 2018-11-23 12:04:01 +01:00
Émilie Feral
1cd5145d3f [shared] Fix StorageFunction 2018-11-23 12:04:01 +01:00
Émilie Feral
072e52ae85 [shared] Re-design StorageCartesianFunction 2018-11-23 12:04:01 +01:00
Léa Saviot
97cba08b23 [apps] Clean GLobalContext 2018-11-23 12:04:01 +01:00
Léa Saviot
d869be7782 [apps/ion] Escapes cases when records/ strings are null 2018-11-23 12:04:01 +01:00
Léa Saviot
c95136c9b5 [apps] Fix Globalcontext::setExpressionForSymbol 2018-11-23 12:04:01 +01:00
Léa Saviot
c40ed0c2c0 [apps] Fix missing return statement 2018-11-23 12:04:01 +01:00
Émilie Feral
4dda66e58d [escher] AlternateEmptyViewController: give the delegate the opportunity
to choose the view to display when empty
2018-11-23 12:04:01 +01:00
Léa Saviot
1adefc3bc4 [typo] "Desactivate" -> "Deactivate" 2018-11-23 12:04:01 +01:00
Léa Saviot
3d86e0744a [apps] StorageListParameterController keeps a function object, not a pointer
This fixes the activate/deactivate function switch in graph.
2018-11-23 12:04:01 +01:00
Léa Saviot
9a05ab6109 [apps/graph] Fix new model row height 2018-11-23 12:04:00 +01:00
Léa Saviot
f9ce06cc91 [apps] Function metadata are stored in Storage 2018-11-23 12:04:00 +01:00
Léa Saviot
2793a622e2 [apps] Store function metadata in record 2018-11-23 12:04:00 +01:00
Léa Saviot
20e440a216 [apps] Move StorageCartesianFunction from graph to shared 2018-11-23 12:04:00 +01:00
Léa Saviot
79e962f459 [poncare/apps] Move GlobalContext from Poincare to Apps::Shared 2018-11-23 12:04:00 +01:00
Léa Saviot
2442627e3c [apps] Remove attributes from StorageExpressionModel and derivates 2018-11-23 12:04:00 +01:00
Léa Saviot
907eedd4bc [poincare] Use SymbolAbstract in setExpressionForSymbol 2018-11-23 12:04:00 +01:00
Léa Saviot
de592ee5fd [apps/graph] Generate default function names 2018-11-23 12:04:00 +01:00
Léa Saviot
54f9ea08d6 [apps/graph] Adapt Title column width when removing functions 2018-11-23 12:04:00 +01:00
Léa Saviot
7c441de5f5 [apps] Rename Name as Title in StorageFunctionListController 2018-11-23 12:04:00 +01:00
Léa Saviot
eb5c8da0aa [apps] Rename maxNumberOfRows as maxNumberOfDisplayableRows 2018-11-23 12:04:00 +01:00
Léa Saviot
91251b157a [apps/graph] Recompute ntitle comuns width when adding a function 2018-11-23 12:04:00 +01:00
Léa Saviot
2f70ed9136 [apps] The function names column adapts its size to ALL functions
Not just to DISPLAYED functions. This way, there is no width changing
when scrolling, and it is also faster.
2018-11-23 12:04:00 +01:00
Léa Saviot
2e4af43fe3 [apps/graph] Fix computation of function names column
There was a bug for more than 5 rows.
2018-11-23 12:04:00 +01:00
Léa Saviot
96b594b875 [apps/graph] Adapt function name column width to names 2018-11-23 12:04:00 +01:00
Léa Saviot
a1a0d0f599 [apps] Fix ExpressionModel::isEmpty() 2018-11-23 12:04:00 +01:00