Commit Graph

6536 Commits

Author SHA1 Message Date
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
Léa Saviot
cf86fd94ce [poincare] Fix simplify_mix test 2018-11-23 12:03:59 +01:00
Léa Saviot
91774aff83 [poincare] Escape case in Storage::destroyRecord 2018-11-23 12:03:59 +01:00
Léa Saviot
1799451b80 [poincare] Fix Integer log 2018-11-23 12:03:59 +01:00
Léa Saviot
6979c9ee59 [poincare] Fix symbol name comparison 2018-11-23 12:03:59 +01:00
Léa Saviot
870cd926c1 [poincare] Fix getVariables argument type 2018-11-23 12:03:59 +01:00
Léa Saviot
c3c44662dd [poincare] Fix integral tests 2018-11-23 12:03:59 +01:00
Léa Saviot
a090a274e5 [poincare] Fix diff tests 2018-11-23 12:03:59 +01:00
Léa Saviot
d0df271b6e [poincare] Clean parser 2018-11-23 12:03:59 +01:00
Léa Saviot
256b2f8b76 [poincare] diff takes the unknown as argument
diff(f(x), x, a) will give diff of f with unknown variable x, evaluated
for x = a;
2018-11-23 12:03:59 +01:00
Léa Saviot
95b59ce90a [poincare] Fix tests by using the UnknownX charset 2018-11-23 12:03:59 +01:00
Léa Saviot
2a6194bfec [poincare] Dummy fixing of variable box controller 2018-11-23 12:03:59 +01:00
Émilie Feral
82e6e0895c [poincare] GlobalContext: add a flag describing the storage memory state 2018-11-23 12:03:59 +01:00
Émilie Feral
3a3a17b3ce [shared] Factorize ExpressionFieldDelegateApp and TextFieldDelegateApp 2018-11-23 12:03:59 +01:00
Émilie Feral
cf68a9ed18 [shared] Change TextFieldDelegateApp::XNT() signature 2018-11-23 12:03:59 +01:00
Émilie Feral
a93e9566ad [escher] Create a parent class Field of TextField and
LayoutField
2018-11-23 12:03:59 +01:00
Léa Saviot
ce14c5d694 [poincare] Fix Power::shallowReduce. Real complexes are not NAN 2018-11-23 12:03:59 +01:00
Léa Saviot
f06d02e6e7 [poincare] Add simple addition simplification test 2018-11-23 12:03:59 +01:00
Léa Saviot
6b348f6535 [poincare] Fix test : AB is now interpreted as a single symbol, not as A*B! 2018-11-23 12:03:59 +01:00
Léa Saviot
da407df9b1 [poincare] Fix method name typo 2018-11-23 12:03:59 +01:00
Léa Saviot
aaca53e9b0 [poincare] Fix symbol constructor: name and its length are mandatory 2018-11-23 12:03:59 +01:00
Émilie Feral
704cf01087 [poincare] Store: clean templatedApproximate 2018-11-23 12:03:59 +01:00
Émilie Feral
cb900d9560 [shared] Factorize code between ExpressionFieldDelegateApp and
TextFieldDelegateApp
2018-11-23 12:03:59 +01:00
Léa Saviot
2c8a8f02ee [poincare] Expression for undefined symbol returns Uninitialized 2018-11-23 12:03:59 +01:00
Léa Saviot
f71773bb8d [ion] Fix Storage:fullNameCompliant 2018-11-23 12:03:59 +01:00
Léa Saviot
852a278285 [ion] Use dedicated method in test/storage 2018-11-23 12:03:59 +01:00
Léa Saviot
1fe6881171 [ion] Fix coputation of Record name crc32 2018-11-23 12:03:59 +01:00
Émilie Feral
ccbcf18811 [poincare] VariableContext holds an Expression instead of a Float<T> 2018-11-23 12:03:59 +01:00
Léa Saviot
438968384c [tests] Fix them by using the new APIs 2018-11-23 12:03:59 +01:00
Léa Saviot
0aa9d6d12f [poincare/test] remove unused variable] 2018-11-23 12:03:59 +01:00
Léa Saviot
2ac3dacbc3 [poincare] Extension strings should not include the dot 2018-11-23 12:03:59 +01:00
Léa Saviot
48ee8f85d2 [poincare] Clean Rational and Decimal size() methods 2018-11-23 12:03:59 +01:00
Léa Saviot
08eea64c73 [poincare] SymbolNode needs a size congruent to 0 modulo 4 2018-11-23 12:03:58 +01:00
Léa Saviot
4b4f7590dd [poincare] Add constexpr char[] declaration 2018-11-23 12:03:58 +01:00