Commit Graph

7312 Commits

Author SHA1 Message Date
É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
Léa Saviot
a2a31f7a47 [escher] Fix Layout reload
The layout should be reloaded when inserting a non-parsable layout in a
layout field.
This fixes "diff" insertion from the math toolbox in calculation
2018-11-23 12:04:01 +01:00
Léa Saviot
da226f7861 [tests] Fix GlobalContext namespace and duplicate test 2018-11-23 12:04:01 +01:00
Émilie Feral
d4024da330 [shared] Fix StorageExpressionModelListController 2018-11-23 12:04:01 +01:00
Émilie Feral
37d15429bd [shared] I18n: add message GlobalMemoryFull 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
3e4b2a20a1 [graph] Revert GraphController 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
Léa Saviot
21b214e60f [apps] Build all apps 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
Léa Saviot
af41c42a97 [poincare] Store symbol children are not replaced during reduction 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
Émilie Feral
c5f86e136b [apps] Delete unused ListController 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
Émilie Feral
5c30b1a73a [apps] VariableBoxController: memoize layouts 2018-11-23 12:04:01 +01:00
Émilie Feral
5ecc2cbc10 [apps] Change layout fontsize of Empty Controller 2018-11-23 12:04:01 +01:00
Léa Saviot
956e97b3fe [poincare] Fix Store::shallowReduce 2018-11-23 12:04:01 +01:00
Émilie Feral
a5af87eda0 [apps] VariableBoxController: pop the empty controller before
disappearing
2018-11-23 12:04:01 +01:00
Émilie Feral
7e37b09660 [apps] VariableBoxController: tidy layout before disappearing 2018-11-23 12:04:01 +01:00
Émilie Feral
ef05393c9f [apps] VariableBoxController: add assertion: the record corresponding to
a displayed row is not null
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
2b55ec086a [apps] Display the empty controller when the variable box is empty 2018-11-23 12:04:01 +01:00
Émilie Feral
944129cf1e [apps] Create a controller VariableBoxEmptyController 2018-11-23 12:04:01 +01:00
Émilie Feral
d60724ef02 [apps] New I18n messages 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
dd0d390a3f [poincare] Fix Expression::ExpressionFromAddress 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