Léa Saviot
cf4eaa3d1f
[apps/poincare] Use symbolicComputation in recursivelyMatches
...
This fixes a failed assertion for the scenario:
[3]->x then, in the Equation app, solve x+1->0
2020-06-15 16:20:09 +02:00
Émilie Feral
1cae01b120
[apps/solver] Equation: handle circularly defined equations
2020-06-15 13:09:03 +02:00
Léa Saviot
213d3d322d
[apps/solver] Fix symbol replacement in equation solving
...
If the symbol replacement led to an undefined reduce equation, we did
not realize we could try without replacing the symbol.
2020-06-08 17:11:59 +02:00
Léa Saviot
9bd411f405
[apps/solver] Add test about failing equation resolution
2020-06-08 17:10:02 +02:00
Léa Saviot
e803ada15f
[apps/Makefiles] Automatize i18n adding for different locales
2020-06-04 14:50:02 +02:00
Roberta Rabotti
549f537ff6
[it] Add i18n files to Makefiles
2020-06-04 14:50:02 +02:00
Roberta Rabotti
3ef28ec155
[it] new translation files
2020-06-04 14:50:02 +02:00
Serenela Moreira
578c8be857
[pt] corrected shared and base
2020-06-04 14:50:02 +02:00
Jorick Alberga
b1e737879d
[nl] Translation Epsilon
2020-06-04 14:50:02 +02:00
Jorick Alberga
7f561b0a3d
[nl] Update translation Epsilon
2020-06-04 14:50:02 +02:00
Jorick Alberga
8a37096680
[nl] Start translation
2020-06-04 14:50:01 +02:00
Léa Saviot
c2bd19d9a1
[apps/solver] Fix polar tests
2020-04-15 09:16:32 -04:00
Romain Goyet
56f3204a17
[apps/solver] Fix the polar tests
2020-04-15 09:16:32 -04:00
Romain Goyet
870d704e7f
[apps/solver] Rewrite the tests to they can be read by a human being
2020-04-15 09:16:32 -04:00
Romain Goyet
5faa251c1f
[apps/solver] Quiz assertion are supposed to run in release mode too
2020-04-15 09:16:32 -04:00
Romain Goyet
950862f8d0
Use std::min and std::max
2020-04-14 09:31:02 -04:00
Léa Saviot
2ed354710f
[build/simulator] NDEBUG flag in release mode
...
This way, asserts are not performed on simulator platforms
2020-04-10 00:49:15 -07:00
Émilie Feral
068325d151
Coding style: remove unecessary 'virtual' keyword when 'override' is
...
present 2/2
2020-04-09 11:36:51 +02:00
Jean-Baptiste Boric
64d0b3107f
[apps] Remove statically-allocated buffers
2020-04-08 10:09:47 +02:00
Romain Goyet
ada205b1a7
[build] Use variants
...
- Move helpers functions into build/helpers.mak
- Move official warning into official targets only
2020-04-03 22:26:55 -04:00
Léa Saviot
76e0deb9bf
[tests/solver] Test solve equation with max number of variables
2020-04-01 11:47:19 +02:00
Léa Saviot
764cf1087a
[apps/solver] Fix EquationStore::resolveLinearSystem
...
Scenario: solve a system with the maximum number of variables -> our
routine to compute the number of variables did not use
k_maxNumberOfVariables, so we ended up adding the same children to the
matrix Ab, which created ghosts, which made the deep reduction crash.
2020-03-31 12:05:38 +02:00
Léa Saviot
52ae25a04c
[apps] Use willExitApp parameter in dismissModalViewController
...
This prevents relayouting and thus accessing to expressions/ayotus
possibly deleted by a pool exception
2020-02-20 10:44:19 +01:00
Romain Goyet
5dee4a8166
[apps] Add screen telemetry identification
2020-02-17 10:31:24 -05:00
Émilie Feral
e17ae9024e
[apps] Gather all code regarding exam mode in ExamModeCOnfiguration file
2020-02-12 15:13:26 +01:00
Émilie Feral
533f1312db
[solver] Add test with 6 variables
2020-02-12 15:13:25 +01:00
Émilie Feral
3df80ed780
[poincare] ParameteredExpression: overrides getVariables to avoid
...
considering parameter as a variable
2020-02-12 15:13:25 +01:00
Léa Saviot
2318019d7b
[apps/solver] Center used/ignored variables messages
2020-02-12 15:13:24 +01:00
Léa Saviot
9200e6062d
[aps/solver] Reset the solution selection when leaving the view
...
Solve an equation that has solutions, select a solution, then go back
and change the equation. WHen you go to the solutions, the previous
solution is still selected, which is a little weird
2020-02-12 15:13:24 +01:00
Léa Saviot
963edd5c35
[apps/solver] Fix addition of "=0" to equations
...
ShiftRight no longer puts the cursor at the end of the text/layout.
2020-02-12 15:13:24 +01:00
Léa Saviot
c5315189ac
[apps/solver] Fix SolutionsController::k_maxNumberOfVisibleCells
2020-02-12 15:13:24 +01:00
Léa Saviot
3b80b747b2
[test/solver] Add more tests
2020-02-12 15:13:24 +01:00
Léa Saviot
c4beb5ec63
[apps/solver] Fix x10 display in approximate solutions
...
Scenario: Solve the equation cos(x) = 10 between -1000 and 1000, the x10
solution was badly displayed.
2020-02-12 15:13:24 +01:00
Léa Saviot
25ef10a0c5
[tests/solver] Add test on solver + user defined symbols
2020-02-12 15:13:24 +01:00
Léa Saviot
470b713226
[test] Fix tests for new SymbolicComputation parameter
2020-02-12 15:13:24 +01:00
Léa Saviot
72259f359c
[apps/solver] Fix rowHeight for approximated solutions
...
User variables rows were too small
2020-02-12 15:13:24 +01:00
Léa Saviot
248e875192
[apps/solver] Always display used variables
...
Scenario: 3->x, 4->y, equation x+y+c=0 would not display the values of x
and y
2020-02-12 15:13:24 +01:00
Léa Saviot
424ee9fa15
[poincare] Add SymbolicComputation parameter to the reduction context
...
This way, in solver, we can reduce expression without expanding symbols
2020-02-12 15:13:24 +01:00
Léa Saviot
016a68d469
[apps/solver] Do not select "User variables used" row
2020-02-12 15:13:23 +01:00
Léa Saviot
db0e7f0d8b
[apps/solver] Display user variables in the solutions
2020-02-12 15:13:23 +01:00
Léa Saviot
7e7a37bf8e
[apps/solver/solutions_controller] Code cleaning
2020-02-12 15:13:23 +01:00
Léa Saviot
0e64e89496
[apps/solver] Do not use symbol context if no solution found
...
Still replace the functions
2020-02-12 15:13:23 +01:00
Émilie Feral
551e4998f4
[apps/calculation][apps/solver][poincare] Simplify sign =/≈ computation
...
between outputs in Calculation/Solver
2020-02-12 15:13:23 +01:00
Émilie Feral
251db5b60e
[apps/shared][apps/calculation] Change class names:
...
ScrollableInputExactApproximateExpressionsCell -->
ScrollableThreeExpressionsCell
AbstractScrollableExactApproximateExpressionsView -->
AbstractScrollableMultipleExpressionsView
ScrollableExactApproximateExpressionsView -->
ScrollableTwoExpressionsView
ScrollableInputExactApproximateExpressionsView -->
ScrollableTwoExpressionsCell
2020-02-12 15:13:22 +01:00
Émilie Feral
87e4836196
[apps/calculation][apps/shared]
...
AbstractScrollableExactApproximateExpressionsView children classes
reload scroll after reloading the subview selection when entering the
responder chain and when cell becomes first responder. We don't reload
scroll when setting content of cells as this is done every time we
relayout - when scrolling in the table for instance.
2020-02-12 15:13:22 +01:00
Émilie Feral
56319ef275
[apps/shared] AbstractScrollableExactApproximateExpressionsView can hold up to
...
three expressions but no more BurgerMenuView.
ScrollableExactApproximateExpressionsView and
ScrollableInputExactApproximateExpressionsView inherit from it.
2020-02-12 15:13:22 +01:00
Léa Saviot
a3a1f86f8d
[apps] Add context parameter to fix tests
2020-02-12 15:13:21 +01:00
Léa Saviot
756eeeb2d8
[poincare/parser] Add context
2020-02-12 15:13:21 +01:00
Émilie Feral
9312d2bd65
[escher] ExpressionTableCell is composed of a ScrollableExpressionView
...
instead of an ExpressionView
2020-02-12 15:13:19 +01:00
Léa Saviot
9f018eb9d9
[escher/view] setFrame and layoutSubviews can be forced
2020-02-12 15:13:15 +01:00