Commit Graph

9841 Commits

Author SHA1 Message Date
Émilie Feral
38eaf9b051 [apps/regression] even_odd_double_buffer_text_cell_with_separator:
simplify selectFirstText code
2019-09-26 11:26:48 +02:00
Émilie Feral
2c84bb1031 [apps/regression] Fix bug: a one-pixel-large band was not drawn because
we divided an odd coordinate by two.
2019-09-26 11:26:48 +02:00
Émilie Feral
3f329182b0 [apps/graph] ValuesController: if the selection change is temporary, we
don't need to avoid selecting hid cells
2019-09-26 11:26:48 +02:00
Émilie Feral
743bf7cf28 [escher] EvenOddMessageTextCell wraps the message view with a 2-pixel
margins (avoid almost duplicate classes)
2019-09-26 11:26:48 +02:00
Émilie Feral
6f70924893 [escher] EvenOddBufferTextCell wraps the text view with a 2-pixel margin 2019-09-26 11:26:48 +02:00
Romain Goyet
a3b3951eee [build] Add a helper to run multiple fuzzers easily 2019-09-26 11:18:46 +02:00
Ruben Dashyan
259eb35cf4 Revert ""Almost equal to" sign in banner views"
This reverts commit bd5a247858.
2019-09-26 10:36:17 +02:00
Ruben Dashyan
38a4a44633 [apps/statistics/store] Fix typo 2019-09-26 10:35:06 +02:00
Léa Saviot
d4784146d1 [apps/toolbar] Translate sci symbol 2019-09-25 17:49:45 +02:00
Léa Saviot
9b593a3807 [apps/title_bar_view] Code cleaning 2019-09-25 17:49:45 +02:00
Léa Saviot
2686b0d51d [apps] Display Engineering notation in title bar 2019-09-25 17:49:45 +02:00
Léa Saviot
2c11192b2a [poincare/matrix_layout] Do not serialize the first and last empty lines
[•]
[•]
[2] will be serialized like [2].
[•]
[•]
[•]

This way, if a user inputs a column matrix and then switches to a line
matrix without properly deleting each empty row, it is serialized
correctly.
2019-09-25 17:49:31 +02:00
Quentin Guidée
8889645508 Update ISSUE_TEMPLATE O1.8.0-E11 2019-09-25 17:47:01 +02:00
Quentin Guidée
334e1a3544 Update README.md 2019-09-25 17:43:47 +02:00
Quentin Guidée
fe1261734a [1.8] Name changed to Omega 2019-09-25 17:36:08 +02:00
Émilie Feral
db04183910 [apps/shared] Temporary fix: enable to display large float
(-1.234567E-123) in the values controller

This fix is not great and will be improved in future commits
2019-09-25 15:33:11 +02:00
Léa Saviot
c768c15826 [apps/proba] Fix Normal distribution undercurve colouring
Reverts 01d2db1342
2019-09-25 11:14:29 +02:00
Léa Saviot
b3e72835f0 [apps/graph] Fix expiring pointer that expired 2019-09-24 11:31:15 +02:00
Léa Saviot
79a70f5b6e [apps/graph] Clip t when navigating curves vertically 2019-09-23 17:31:35 +02:00
Léa Saviot
6336c385db [apps/graph] jumpToLeftRightCurve takes into account vertical distance 2019-09-23 17:31:35 +02:00
Léa Saviot
e9974a216d [apps/graph] If only cartesians, jump to next curve when out of range
Scenario:

-----------•   ->press "right": the cursor goes on the lower curve

           -*-*-*-*-*-
2019-09-23 17:31:35 +02:00
Léa Saviot
f037df0ab5 [apps/round_cursor_view] Fix color change
When changing the color, erase the cursor first, otherwise there is a
drawing glitch

Scenario:
f(x)=1
g(x)=2
Cursor on f(x), go to g(x), go right -> the previous cursor left a dot
2019-09-23 17:31:35 +02:00
Léa Saviot
4248128471 [apps/graph] ContinuousFunctionStore::displaysNonCartesianFunctions 2019-09-23 17:31:35 +02:00
Léa Saviot
f79e774971 [apps/graph] Factorize displaysNonCartesianFunctions uses 2019-09-23 17:31:35 +02:00
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