Commit Graph

30 Commits

Author SHA1 Message Date
Léa Saviot
d7d348deac [poincare] Fix ExpressionNode::shallowReplaceReplaceableSymbols 2018-11-23 12:04:10 +01:00
Léa Saviot
53e4a290f7 [poincare] Rename Expression:parse in Parse 2018-11-23 12:04:09 +01:00
Émilie Feral
b44c5e6d05 [shared] Change name: StorageExpressionModel::expressionWithSymbol -->
expressionClone
2018-11-23 12:04:08 +01:00
Émilie Feral
90befab6ce [shared] Change name: StorageExpressionModel::expression --> expressionReduced 2018-11-23 12:04:08 +01:00
Émilie Feral
17abf68de1 [shared] StorageExpressionModel: memoize the fact that the expression is
circular to avoid lagging when approximating the model multiple times.
2018-11-23 12:04:08 +01:00
Léa Saviot
ff20cb840d [apps/poincare] Expressions are not reduced before storing in Storage 2018-11-23 12:04:07 +01:00
Léa Saviot
c7635c5e4d [poincare] Encapsulate deepReduce in reduce 2018-11-23 12:04:06 +01:00
Léa Saviot
b657cfb924 [apps] Reduce number of calls to value() in StorageExpressionModel 2018-11-23 12:04:03 +01:00
Émilie Feral
01ad885045 [shared] StorageExpressionModel: in storage, expression stored are
simplified (instead of only reduced) with unreplaced symbols
2018-11-23 12:04:03 +01:00
Émilie Feral
3399ad5411 [shared] StorageExpressionModel: fix isEmpty 2018-11-23 12:04:02 +01:00
Émilie Feral
8c1f0f4cb2 [shared] Fix StorageExpressionModel: inherits from Record 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
363eeb7162 [shared] StorageExpressionModel: add the method text() 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
dd74812779 [shared] Fix StorageCartesianFunction 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
d869be7782 [apps/ion] Escapes cases when records/ strings are null 2018-11-23 12:04:01 +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
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
a1a0d0f599 [apps] Fix ExpressionModel::isEmpty() 2018-11-23 12:04:00 +01:00
Léa Saviot
30e92a87c7 [apps] Fix StorageExpressionModel::setContent for uninitialized content 2018-11-23 12:04:00 +01:00
Léa Saviot
5e860bc0f5 [apps] Handle uninitialized expression and layout in ExpressionModel 2018-11-23 12:04:00 +01:00
Léa Saviot
dd01a57ba4 [apps] StorageExpressionModel stores both name and record 2018-11-23 12:04:00 +01:00
Léa Saviot
37b0dd5ec9 [apps/graph] Display the Graph Tab 2018-11-23 12:04:00 +01:00
Léa Saviot
77a732459f [poincare] ExpressionModel::setContent stores an expression, not text 2018-11-23 12:04:00 +01:00
Léa Saviot
e7ca205d33 [apps] The storage keeps a function's reduced expression, not a text 2018-11-23 12:04:00 +01:00
Léa Saviot
912e7f8acf [apps] Graph app displays first letter of storage functions 2018-11-23 12:04:00 +01:00
Léa Saviot
354b6e9c72 [apps] First attempt at bridging Funciton app with the shared storage 2018-11-23 12:04:00 +01:00