Commit Graph

7625 Commits

Author SHA1 Message Date
É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
Léa Saviot
868f17c1c7 [ion] Add method implementation in Storage 2018-11-23 12:03:58 +01:00
Émilie Feral
e58395e8c8 [sequence] Get rid of Symbol::SpecialSymbols in Sequence 2018-11-23 12:03:58 +01:00
Émilie Feral
b597a79910 [regression] Fix Regression with variable-length symbols 2018-11-23 12:03:58 +01:00
Émilie Feral
0544aca649 [solver] Fix Solver with variable-length symbols 2018-11-23 12:03:58 +01:00
Léa Saviot
594bc6395e [apps/statistics] Use new Symbol API 2018-11-23 12:03:58 +01:00
Léa Saviot
52a21198a4 [apps/ion] Use the new storage API 2018-11-23 12:03:58 +01:00
Émilie Feral
6113f97027 [solver] Display warning when one of the variable name exceeds 10
characters
2018-11-23 12:03:58 +01:00
Émilie Feral
c7bc22b5e2 [solver] Add message 'VariableNameTooLong' 2018-11-23 12:03:58 +01:00
Léa Saviot
2e2bf96bca [apps/poincare] use Symbol::k_ans constexpr char * 2018-11-23 12:03:58 +01:00
Émilie Feral
042cfca724 [apps] Dummy variable_box_controller 2018-11-23 12:03:58 +01:00
Émilie Feral
9c346c08f3 [poincare] Fix Trigonometry 2018-11-23 12:03:58 +01:00
Émilie Feral
6f45fa2351 [poincare] Fix Power with variable-length symbols 2018-11-23 12:03:58 +01:00
Émilie Feral
42b4d2d094 [poincare] Fix Integral with variable-length symbol 2018-11-23 12:03:58 +01:00
Émilie Feral
1fc27bc204 [apps] Variable box controller 2018-11-23 12:03:58 +01:00
Émilie Feral
57eebfa9f8 [poincare] GlobalContext: no limit on the number of stored Expression or
Function
2018-11-23 12:03:58 +01:00
Émilie Feral
a4756c1945 [poincare] Cast matrix of char before calling getVariables 2018-11-23 12:03:58 +01:00
Émilie Feral
75a1de32ed [solver] Fix EquationStore with variable-sized variables 2018-11-23 12:03:58 +01:00
Émilie Feral
7f72f820a0 [poincare] Get rid of SpecialSymbols::Ans 2018-11-23 12:03:58 +01:00
Léa Saviot
11b98bb13e [ion] Add test on Storage 2018-11-23 12:03:58 +01:00
Léa Saviot
a49e5801c3 [poincare/parser] Store only in user-defined variables and functions 2018-11-23 12:03:58 +01:00
Émilie Feral
46427c59dd [poincare] Fix Expression::getLinearCoefficients 2018-11-23 12:03:58 +01:00
Émilie Feral
256620854f [poincare] Fix IsMatrix to be used as a ExpressionTest 2018-11-23 12:03:58 +01:00
Léa Saviot
b6cab2cdba [poincare] Replace x with childAtIndex(0) when computing on Function 2018-11-23 12:03:58 +01:00
Léa Saviot
31d3a04678 [poincare] setExpressionForSymbolName takes a symbol name 2018-11-23 12:03:58 +01:00
Émilie Feral
904de27815 [poincare] Fix Expression::isMatrix and Expression::isApproximate 2018-11-23 12:03:58 +01:00
Émilie Feral
35bdb8addf [poincare] Symbol: fix the constructor to match the lexer 2018-11-23 12:03:58 +01:00
Émilie Feral
ddb9740a01 [poincare] Use isPi(), isIComplex(), isExponential() on Symbols 2018-11-23 12:03:58 +01:00
Léa Saviot
6b4a104164 [poincare] GlobalContext stores expressions and functions 2018-11-23 12:03:58 +01:00
Léa Saviot
a4868c8b09 [poincare] Ion::Storage handles fullnames and basenames with extensions 2018-11-23 12:03:58 +01:00