Commit Graph

9609 Commits

Author SHA1 Message Date
Léa Saviot
ebfa251db8 [apps/grah} closestCurveIndexVertically renamed as next... 2019-09-23 17:31:35 +02:00
Léa Saviot
936b624fb9 [apps/graph] Block navigation to definition domain 2019-09-23 17:31:35 +02:00
Ruben Dashyan
bd5a247858 "Almost equal to" sign in banner views 2019-09-23 17:31:02 +02:00
Émilie Feral
20abac86f4 [apps/graph] ListParameterController: interval print float mode and
number of significant numbers are dynamically adjusted with the
available space
2019-09-23 17:07:18 +02:00
Émilie Feral
05934717f1 [apps/graph] ListParameterController: add assertions to ensure not to
overflow buffer
2019-09-23 17:07:18 +02:00
Émilie Feral
f90038b332 [apps/graph/list] ListParameterController: Change interval notation of
the function domain
2019-09-23 17:07:18 +02:00
Léa Saviot
7ab5250db9 [poincare/matrix_layout] Do not delete on last line 2019-09-23 11:54:39 +02:00
Émilie Feral
80858d7c82 [apps/code] Fix toolbox messages 2019-09-23 11:10:38 +02:00
Émilie Feral
70312fe82b [apps] toolbox messages: fix some French messages 2019-09-23 11:10:38 +02:00
Ruben Dashyan
c7f15385a6 [apps/shared/global_context] Remove ExpressionFromSymbolRecord and ExpressionFromFunctionRecord 2019-09-23 11:04:29 +02:00
Ruben Dashyan
abf5169edd [apps/shared/global_context] Remove reduandant record verifications
Expression::ExpressionFromAddress already handles this.
2019-09-23 11:04:29 +02:00
Ruben Dashyan
2a28b16e9b [apps/shared/global_context] Remove unused parameter in ExpressionForActualSymbol 2019-09-23 11:04:29 +02:00
Ruben Dashyan
ec9bf9b59b Remove unused parameter of Poincare::Context::setExpressionForSymbolAbstract 2019-09-23 11:04:29 +02:00
Aleks ANDRÉ
45d446face Update catalog.fr.i18n
Terminologie utilisée dans l’enseignement français
2019-09-23 10:44:21 +02:00
Aleks ANDRÉ
8e20e810f9 Update toolbox.fr.i18n
Améliorations et utilisations des termes employés dans l’enseignement français
2019-09-23 09:55:32 +02:00
Émilie Feral
1005ca0e24 [apps/shared] HardwareTestLaunch message: avoid anglicism in French
message
2019-09-23 09:47:24 +02:00
Émilie Feral
d95e25c4b7 [poincare] Power::shallowReduce: reducing should happen after replacing
the expression in its hierarchical context

Fix sum(1/n, n, 1, 5) reducing with no symbolic computation
2019-09-20 17:31:51 +02:00
Léa Saviot
d17b74b440 [poincare/matrix_layout] Remove unneeded code 2019-09-20 17:31:39 +02:00
Léa Saviot
6ef0b3b4ab [poincare/matrix_layout] Delete rows in two steps
Row deletion is done when deleting the left empty layout of an empty
row.
2019-09-20 17:31:39 +02:00
Émilie Feral
3831c66183 [poincare] Randint: fix approximation to return undef when the result is
going to lack precision
2019-09-20 17:11:56 +02:00
Émilie Feral
ab420b871c [poincare] Randint::shallowReduce: replace by undef if the argument was
defined but not the randint approximation.

This fixes tests: randint(1,inf) --> NAN, randint([[1,2]],2) --> NAN
2019-09-20 17:11:56 +02:00
Émilie Feral
6916b6e06f [poincare] Fix randint shallow reduce: avoid casting float in integer
(big numbers are turned into negative integer)
2019-09-20 17:11:56 +02:00
Léa Saviot
404651d1c6 [poincare/randint] Fix randint simplification
When reducing f(x)=randint(floor(x),floor(10x)), the randint
simplification would give undef because x is undefined at the time of
the reduction
2019-09-20 17:11:56 +02:00
Ruben Dashyan
3777bcbd87 [apps/shared/expression_model_store] Remove redundant assert
If the record is null, it means that the do-while loop has iterated too
many times and there is no record left. However that situation is
already asserted at the begining of the method.
2019-09-20 17:11:42 +02:00
Ruben Dashyan
a705109b91 [apps/graph/graph_view] Factor polar and parametric drawing 2019-09-20 17:11:42 +02:00
Ruben Dashyan
a7282e6f33 [apps/graph/graph_view] Do not recompute numberOfActiveFunctions 2019-09-20 17:11:42 +02:00
Ruben Dashyan
d476e7944d [apps] Move assert to where it matters 2019-09-20 17:11:42 +02:00
Ruben Dashyan
312a19e760 [poincare/symbol_abstract] Remove old TODO 2019-09-20 17:11:42 +02:00
Ruben Dashyan
d2b8e4865c [apps/shared/continuous_function_store] Factor numberOfActiveFunctionsOfType and activeRecordOfTypeAtIndex 2019-09-20 17:11:42 +02:00
Ruben Dashyan
56a3fcfacb [apps/shared/expression_model_store] Add context parameter to model testing 2019-09-20 17:11:42 +02:00
Ruben Dashyan
893131ed08 [apps/shared/expression_model_store] Factor model tests 2019-09-20 17:11:42 +02:00
Ruben Dashyan
3c10c397eb [apps/shared/expression_model_store] Simplify recordSatisfyingTestAtIndex and numberOfModelsSatisfyingTest 2019-09-20 17:11:42 +02:00
Ruben Dashyan
9bbc4233f8 [apps/shared/expression_model_store] Harmonize recordSatisfyingTestAtIndex and numberOfModelsSatisfyingTest 2019-09-20 17:11:42 +02:00
Ruben Dashyan
d4e129e162 [apps/shared/expression_model_store] Simplify recordSatisfyingTestAtIndex 2019-09-20 17:11:42 +02:00
Ruben Dashyan
526aa7ed48 [apps/shared/expression_model_store] Simplify recordSatisfyingTestAtIndex and numberOfModelsSatisfyingTest 2019-09-20 17:11:42 +02:00
Ruben Dashyan
71e0c5a556 [apps/shared/expression_model_store] Better assertions 2019-09-20 17:11:42 +02:00
Ruben Dashyan
77cdc32813 [apps/shared/expression_model_store] Fix typo 2019-09-20 17:11:42 +02:00
Ruben Dashyan
652616d9e3 [apps/sequence/sequence] Assert that sum bounds are integrers 2019-09-20 17:11:42 +02:00
Ruben Dashyan
5f9464a548 [apps] In Shared, move cartesian_function.* to continuous_function.* 2019-09-20 17:11:42 +02:00
Ruben Dashyan
df2897925b Rename Shared::CartesianFunction to Shared::ContinuousFunction 2019-09-20 17:11:42 +02:00
Ruben Dashyan
be019cd5cf [apps/graph] Move cartesian_function_store.* to continuous_function_store.* 2019-09-20 17:11:42 +02:00
Ruben Dashyan
3172992e11 [apps] Clean header inclusions 2019-09-20 17:11:42 +02:00
Ruben Dashyan
0466d00588 [apps/graph] Rename CartesianFunctionStore to ContinuousFunctionStore 2019-09-20 17:11:42 +02:00
Ruben Dashyan
d02ecf93a5 [apps] Avoid static casts 2019-09-20 17:11:42 +02:00
Ruben Dashyan
569bcc26d2 [apps/graph/app] Inline accessors in header file 2019-09-20 17:11:42 +02:00
Ruben Dashyan
1908c9c674 [apps/graph] GraphView gets the function store through App
instead of passing a pointer at contruction.
2019-09-20 17:11:42 +02:00
Ruben Dashyan
9efe1515e8 [apps/shared/cartesian_function] Clean header inclusions 2019-09-20 17:11:42 +02:00
Ruben Dashyan
fd568e2bb5 [apps/shared/function_store] Clean header inclusions 2019-09-20 17:11:42 +02:00
Ruben Dashyan
1d966ce23c [apps/*/expression_model_list_controller] editExpression sets text instead of InputViewController::edit 2019-09-20 17:11:42 +02:00
Ruben Dashyan
7d9f479f3c [escher/input_view_controller] Define setTextBody method
And inline textBody method.
2019-09-20 17:11:42 +02:00