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
Léa Saviot
4ede2f8b86
[poincare] Add recursion protection around Exp:getPolyReducedCoefs
2018-11-23 12:04:06 +01:00
Léa Saviot
ada8f5f3c4
[poincare] Replace symbols with their expressions iteratively
...
... not recursively.
2018-11-23 12:04:06 +01:00
Léa Saviot
5bba2e9528
[poincare] Protect from deep recursion in Expressio::approximateToEval
2018-11-23 12:04:06 +01:00
Léa Saviot
1dc18d9a50
[poincare] Put back Edition2D as default
2018-11-23 12:04:06 +01:00
Léa Saviot
de2b3c22fe
[poincare] Use reduce instead of deepReduce in simplify
2018-11-23 12:04:06 +01:00
Léa Saviot
4b4376a41f
[poincare] Catch interrupted "simplify" in Poincare::Store
2018-11-23 12:04:06 +01:00
Léa Saviot
cb678e370e
[poincare] Escape when recursion too deep
2018-11-23 12:04:06 +01:00
Léa Saviot
54b2566b04
[poincare] Indent code to make it clearer
2018-11-23 12:04:06 +01:00
Léa Saviot
f7913fb744
[apps/calc] Fix history cell output copy
2018-11-23 12:04:06 +01:00
Léa Saviot
52d8192306
[apps] Changes names in ScrollableExactApproximateExpressionsView
2018-11-23 12:04:06 +01:00
Léa Saviot
667d373806
[poincare] Use deepreduce instead of reduce
2018-11-23 12:04:06 +01:00
Léa Saviot
07c2d6a95e
[poincare] Interrupt simplification if current expression is matrix
...
Do not recursively check for matrices
2018-11-23 12:04:06 +01:00
Léa Saviot
f65b133b37
[poincare] use deepReduce instead of reduce
2018-11-23 12:04:06 +01:00
Léa Saviot
0511f383d0
[apps] Add comment about variables that cannot overwrite functions
2018-11-23 12:04:06 +01:00
Léa Saviot
8b2c00d8ba
[apps/poincare] Forbid variable creation with same name as existing func
2018-11-23 12:04:06 +01:00
Léa Saviot
0670057f90
[apps/graph] Destroy variable record with same name when renaming func
2018-11-23 12:04:06 +01:00
Léa Saviot
eea56488e6
[apps] Fix VarBoxController::viewDidDisappear parent method call order
...
Before, we tidied the memoization before calling the parent's
viewDidDisappear method. As the parent method needed some cell heights,
it used the VarBoxController memoization, thus re-creating layouts that
would stay in the pool after closing the app.
Scenario:
Go in the Graph app, create f(x) = 1, empty g(x) and h(x), create p(x)
and while editing go in the variable box controller, all the way down,
then hit the Home button.
2018-11-23 12:04:06 +01:00