Léa Saviot
e3935fd9c0
[apps] Factorize closestCurveIndexVertically from Regression and Graph
2018-11-23 12:04:08 +01:00
Émilie Feral
acdb4ca357
[poincare] Expression::ExpressionWithoutSymbol does not take into
...
account SystemSymbol (UnknownX)
2018-11-23 12:04:08 +01:00
Émilie Feral
140ccbfa77
[poincare] Add tests on composed functions
2018-11-23 12:04:08 +01:00
Léa Saviot
28189aadac
[apps/regression] Fix selection problem when 2 regressions are equal
...
When going down, the cursor would loop between the 2 equal regressions
without going to lower regressions
2018-11-23 12:04:08 +01:00
Léa Saviot
3ccd1aabf4
[apps] Fix StorageFunctionGraphController::moveCursorVertically
2018-11-23 12:04:08 +01:00
Léa Saviot
e9974a7e7a
[apps/graph] Fix vertical move on intersecting functions
...
When two functions are equal, there was a bug when moving the selection
up or down in the graph (the cursor would skip one function)
2018-11-23 12:04:08 +01:00
Émilie Feral
2d36f02053
[apps] VariableBoxController: fix bug in right layouts of variable cells.
...
When the last dislayed page of VariableBoxController was 'Function', the
next time we displayed the symbol page, the expressions on the right of
cells were false the one of functions.
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
Émilie Feral
5b6aa67dca
[poincare] Fix ExpressionWithoutSymbols
2018-11-23 12:04:07 +01:00
Émilie Feral
b78f25f9bd
[poincare] Store: add tests with 1 circular function and 2 defined
...
functions
2018-11-23 12:04:07 +01:00
Émilie Feral
b4098fb5e2
[poincare] Store: fix tests
...
In storage, we record the expression without any simplification.
2018-11-23 12:04:07 +01:00
Émilie Feral
0609f0c982
[solver] Test: delete test with too long variable: symbols of more than
...
7 characters will not be parsed
2018-11-23 12:04:07 +01:00
Léa Saviot
789d17189e
[apps/calculation] Comment why shouldOnlyDisplayExactOutput is needed
2018-11-23 12:04:07 +01:00
Léa Saviot
658485c197
[poincare] ans symbol can be shallowReduced, it will give undef
2018-11-23 12:04:07 +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
1c859fd1df
[poincare] Do not beautify after reduce interrupted simplification
2018-11-23 12:04:07 +01:00
Léa Saviot
8088d0b57f
Revert "[apps] OK icon in graphs is in the top right corner"
...
This reverts commit 50c0b0b8a79ce62723c13aeafe36d1afc75ce5a5.
2018-11-23 12:04:07 +01:00
Léa Saviot
5d6db930fd
[apps/calc] Fix display glitch when doing 1.2->a (cell not high enough)
2018-11-23 12:04:07 +01:00
Léa Saviot
36e19f3122
[poincare/test] Add store test
2018-11-23 12:04:07 +01:00
Léa Saviot
8a272458de
[poincare] recursivelyMatches takes replaceSymbols parameter
...
This fixes:
[7]->a
1+2->a
The second operation would get interrupted because 'a' is a matrix if
symbols are replaced
2018-11-23 12:04:07 +01:00
Léa Saviot
e86300a28d
[escher] Fix accessory view that should not hide main view in some cases
2018-11-23 12:04:07 +01:00
Léa Saviot
056c78408d
[apps/solver] Reove unneeded EquationStore::Error::VariableNameTooLong
2018-11-23 12:04:07 +01:00
Léa Saviot
07d1aabb56
[apps/solver] Remove max variable name size redefinition
2018-11-23 12:04:07 +01:00
Léa Saviot
2f98a14de2
[apps] Some deutch translation
2018-11-23 12:04:07 +01:00
Léa Saviot
2b2a3c98b0
[apps/solver] Fix message about number of characters allowed in var name
2018-11-23 12:04:07 +01:00
Léa Saviot
f034a629fc
[apps] Fix spanish translation
2018-11-23 12:04:07 +01:00
Léa Saviot
ef4fae251e
[apps/graph] Specific error pop ups when renaming function
2018-11-23 12:04:07 +01:00
Léa Saviot
5421874358
[poincare] Fix parentheses on first child of a multiplication
...
They are not needed if the child is not an addition or a subtraction
2018-11-23 12:04:07 +01:00
Léa Saviot
7038048d12
[poincare] static replacement count in Expression::ExpressionWithoutSymbols
2018-11-23 12:04:07 +01:00
Léa Saviot
527c1d02ce
[apps/calc] Replacing ans in the input may make the input unparsable
2018-11-23 12:04:07 +01:00
Léa Saviot
61c1f6a7d4
[poincare] Stop simplif. if reducing children triggered an interruption
2018-11-23 12:04:07 +01:00
Léa Saviot
f94dc63d16
[apps] When renaming a function, check that the name is not reserved
2018-11-23 12:04:07 +01:00
Léa Saviot
2d20aacc89
[poincare/parser] Parser::IsReservedName
2018-11-23 12:04:07 +01:00
Léa Saviot
42c372b4b4
[poincare/parser] Static method checking if name is special identifier
2018-11-23 12:04:07 +01:00
Léa Saviot
b753619378
[poincare/parser] Rename Parser::currentTokenIsSpecialIdentifier
2018-11-23 12:04:07 +01:00
Léa Saviot
76aae9d478
[poincare/parser] Static method checking if name is reserved function
2018-11-23 12:04:07 +01:00
Léa Saviot
fb484bf941
[poincare] More elegant prevention of parsing "3=4>x" and "4<x=3"
2018-11-23 12:04:07 +01:00
Léa Saviot
d411ff292e
[poincare] Do not parse 1>ans
2018-11-23 12:04:07 +01:00
Léa Saviot
44963179c7
[poincare] Store and Equal must be topmost expressions
2018-11-23 12:04:07 +01:00
Léa Saviot
e4c3589829
[apps] Fix display glitch in VariableBoxController
2018-11-23 12:04:06 +01:00
Léa Saviot
9dc5794d22
[poincare] Fix tests
2018-11-23 12:04:06 +01:00
Léa Saviot
17eaadb280
[poincare] Replace functions when replacing symbols iteratively
2018-11-23 12:04:06 +01:00
Léa Saviot
cb88dbc0a1
[poincare] Replacing iteratively only existing symbols
2018-11-23 12:04:06 +01:00
Léa Saviot
23895f40e2
[poincare] When storing a function, replace unknownX by user's variable
2018-11-23 12:04:06 +01:00
Léa Saviot
71ba760b71
[poincare] Remove duplicate simplification interruption check
2018-11-23 12:04:06 +01:00
Léa Saviot
58c995d63c
[poincare] Symbol replacements limit for functions
2018-11-23 12:04:06 +01:00
Léa Saviot
84f960356c
[poincare] Add limit on iterative replacement of symbols
2018-11-23 12:04:06 +01:00
Léa Saviot
7a3451e3cd
[poincare] remove max recursion limit
2018-11-23 12:04:06 +01:00
Léa Saviot
755af81d65
[poincare] Fix tests
2018-11-23 12:04:06 +01:00
Léa Saviot
60656f3ecd
[poincare] Add tests on circular variables definitions
2018-11-23 12:04:06 +01:00