Commit Graph

6569 Commits

Author SHA1 Message Date
Léa Saviot
d1d2ea91ef [poincare] Add test on user defined functions and variables 2018-11-23 12:04:00 +01:00
Léa Saviot
ac1e79f907 [apps/graph] Display the function's whole name 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
8479b9547e [apps/graph] Do not keep at list one function 2018-11-23 12:04:00 +01:00
Léa Saviot
eb427f701e [poincare] Init SymbolNode so it can give its size as soon as created 2018-11-23 12:04:00 +01:00
Léa Saviot
aebeeda171 [poincare] Fix Function::size() 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
ccea0579d1 [apps/graph] Remove unneeded namespace 2018-11-23 12:04:00 +01:00
Léa Saviot
63e5960ae1 [poincare] Handle empty record when creating its expression 2018-11-23 12:04:00 +01:00
Léa Saviot
dfe573c66e [ion/storage] Handle nullptr name when looking for a record 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
77f4a92787 [apps] An expression model names contains the extension 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
1aa1ee3001 [poincare] Initialize StorageCartesianFunctions with empty records 2018-11-23 12:04:00 +01:00
Léa Saviot
8f5603090e [apps/graph] Remove TODOs 2018-11-23 12:04:00 +01:00
Léa Saviot
3781898508 [apps/graph] Fix cursor navigation 2018-11-23 12:04:00 +01:00
Léa Saviot
f449e0bf15 [apps/graph] Fix display of non constant functions 2018-11-23 12:04:00 +01:00
Léa Saviot
a988558b82 [apps/graph] Draw curves 2018-11-23 12:04:00 +01:00
Léa Saviot
0a62e86afc [apps/graph] Use Storage classes 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
f67b33cd9e [apps] ExpressionModelListController keeps the edited model 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
4af3d27431 [poincare] ExpressionFromRecord is in Expression, not in GlobalContext 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
Léa Saviot
826d4b57ec [apps] Replace a shared i18n out of a specific app i18n 2018-11-23 12:04:00 +01:00
Léa Saviot
1830070a95 [ion] Method to destroy all records with given extension in Storage 2018-11-23 12:03:59 +01:00
Léa Saviot
5a5deedb84 [ion] Coding style of static functions in Storage 2018-11-23 12:03:59 +01:00
Léa Saviot
d86ee99856 [poincare] UnknownX Symbol layout is the character 'x' 2018-11-23 12:03:59 +01:00
Léa Saviot
2e95730e61 [poincare] Parse user-defined functions 2018-11-23 12:03:59 +01:00
Léa Saviot
9cbca3c277 [poincare] Implement Function::shallowReduce 2018-11-23 12:03:59 +01:00
Léa Saviot
3ff725c25e [poincare] Assertion that this is not ans in Symbol::shallowReduce 2018-11-23 12:03:59 +01:00
Léa Saviot
a039655cf2 [poincare] Fix Store::shallowReduce 2018-11-23 12:03:59 +01:00
Léa Saviot
004b84a3b1 [poincare] Remove old code 2018-11-23 12:03:59 +01:00
Léa Saviot
9353bde5ca [poincare] In Symbol::shallowReduce, use parameter replaceSymbols 2018-11-23 12:03:59 +01:00
Léa Saviot
cd0c4c5273 [poincare] Fix Store::shallowReduce 2018-11-23 12:03:59 +01:00
Léa Saviot
3809ef222d [poincare] deep and shallow Reduce have a "replace symbol" bool param 2018-11-23 12:03:59 +01:00
Léa Saviot
45df061dbf [poincare] Store::shallowReduce replaces unknown with UnknownX 2018-11-23 12:03:59 +01:00
Léa Saviot
a7a719df4a [poincare] Handle functions in replaceSymbolWithExp and similar methods 2018-11-23 12:03:59 +01:00
Léa Saviot
1159d65010 [poincare] Handle Uninitialized expression in Function methods 2018-11-23 12:03:59 +01:00
Léa Saviot
01929635e8 [poincare] Fix derivative missing argument 2018-11-23 12:03:59 +01:00
Léa Saviot
e619ee0f2c [ion] Fix crc32_padded inclusion 2018-11-23 12:03:59 +01:00
Léa Saviot
3802639510 [poincare] Remove isVariableSymbol test 2018-11-23 12:03:59 +01:00
Léa Saviot
991854defd [poincare] remove use of strncmp 2018-11-23 12:03:59 +01:00
Léa Saviot
4465cb48f6 [poincare] Use strcmp instead of strncmp 2018-11-23 12:03:59 +01:00
Léa Saviot
4b37163653 [poincare] Fix more "char * []" type problems 2018-11-23 12:03:59 +01:00
Léa Saviot
266e45ecd8 [poincare] Store test should clean the storage after it finishes. 2018-11-23 12:03:59 +01:00
Léa Saviot
6993d45fe9 [ion] Add crc32 test 2018-11-23 12:03:59 +01:00
Léa Saviot
58b8d2d606 [ion] Fix crc32 null termination problem 2018-11-23 12:03:59 +01:00