Ruben Dashyan
afb1d18d65
[apps/shared/sum_graph_controller] Factor constexpr
2020-03-10 10:33:30 +01:00
Ruben Dashyan
f0ef84b3bc
[apps/shared/sum_graph_controller] In LegendView::setSumLayout, factor Layout building
2020-03-10 10:33:30 +01:00
Ruben Dashyan
55bb3f677a
[apps/shared/sum_graph_controller] In LegendView::setSumLayout, simplify equal sign
2020-03-10 10:33:30 +01:00
Ruben Dashyan
0a92579571
[apps/shared/sum_graph_controller] Fix variable type
2020-03-10 10:33:30 +01:00
Ruben Dashyan
04794dd26f
[apps/shared/sum_graph_controller] Uniformize number of significant digits
2020-03-10 10:33:30 +01:00
Ruben Dashyan
7ee8c31c70
[apps/shared/sum_graph_controller] In LegendView::setSumLayout, factor sum symbol layout
2020-03-10 10:33:30 +01:00
Ruben Dashyan
24fa8b28a9
[apps/shared/sum_graph_controller] In LegendView::setSumLayout, factor m_sum.setAlignment
2020-03-10 10:33:30 +01:00
Ruben Dashyan
6b527d3b00
[apps/shared/sum_graph_controller] Rename setSumSymbol to setSumLayout
2020-03-10 10:33:30 +01:00
Ruben Dashyan
e1624c79aa
[apps/shared/sum_graph_controller] Class doesn't need to hold m_sumLayout
2020-03-10 10:33:30 +01:00
Ruben Dashyan
7a633b1e75
[apps/sequence/sequence] SequenceModel's name method need not be virtual
2020-03-10 10:33:30 +01:00
Ruben Dashyan
fccd72b757
[apps/sequence/sequence] Do not memoize nameLayout
...
Fixes the following bug:
In the graph tab of the Sequence app, compute the sum of the terms of
a sequence from 1 to 9 and then from 1 to 10. The Layout is memoized
after the first time and mispositioned the second time since it is
not recomputed.
2020-03-10 10:33:30 +01:00
Romain Goyet
c1215063ee
Small fixes to the documentation
2020-03-10 10:26:49 +01:00
Léa Saviot
cf84a30768
[poincare/absolute_value] ShallowReduce done in double, not float
...
This fixes abs(-2.3*10^-39) that returned a negative value
2020-03-10 10:23:33 +01:00
Léa Saviot
5ca6b7dbf8
[poincare/code_point_layout] Fix collapsing
...
Scenario: Enter "(12/34 * 10)" then press "Divide" -> the numerator of
the division was not the whole parenthesed expression
2020-03-09 16:41:58 +01:00
Léa Saviot
1dc6e77049
[poincare/matrix] Forbid nested matrices
...
Scenario: in calculation,
1/matrix(matrix(matrix(matrix(... matrix(1) ... )))) gave kind of a
weird result. These kind of computations also broke the fuzzer.
2020-03-04 16:21:25 +01:00
redgl0w
dfe51df321
Updated the month definition
2020-03-04 10:08:44 +01:00
redgl0w
035a0377bd
Updated the month definition
2020-03-04 10:08:44 +01:00
Léa Saviot
4f76e4418f
[apps/console_edit_cell] Fix input result copying
2020-03-02 17:24:54 +01:00
Léa Saviot
a06660ee25
[poincare/vert_off_lay] Subscript layout serializes without _
...
This way there is no parsing confusion when copy pasting the subscript of
a subscript layout
2020-03-02 09:55:11 +01:00
Neven Sajko
aae5e49c01
Remove useless uses of const for return types
...
An integer or float value can not be assigned to, so there is no point
in qualifying it as const.
2020-03-02 09:48:23 +01:00
Ruben Dashyan
d727fb4cf8
[poincare/test/function_solver] Run solver tests with negative steps
2020-02-28 18:08:01 +01:00
Ruben Dashyan
0a6af26162
[poincare/test/function_solver] Factor helper functions
2020-02-28 18:08:01 +01:00
Ruben Dashyan
29b0841a21
[poincare/test/function_solver] Change term: extremum -> point of interest
2020-02-28 18:08:01 +01:00
Ruben Dashyan
6d48ef5eb0
[poincare/test/function_solver] Simplify helper function's
...
Remove currentStart and simply use start instead
2020-02-28 18:08:01 +01:00
Ruben Dashyan
a62efecb17
[poincare/test/function_solver] Remove helper functions' default parameter values
2020-02-28 18:08:01 +01:00
Ruben Dashyan
d6b2be1b05
[poincare/test/function_solver] Build Expressions by parsing text
2020-02-28 18:08:01 +01:00
Ruben Dashyan
2d22887eaf
[poincare/test/function_solver] Factor Poincare::Context usage
2020-02-28 18:08:01 +01:00
Ruben Dashyan
a72e4d43ae
[poincare/expression] Short-circuit brentMinimum and brentRoot
2020-02-28 18:08:01 +01:00
Ruben Dashyan
bb24c21320
[poincare/solver] Fix typo in BrentRoot algorithm
2020-02-28 18:08:01 +01:00
Ruben Dashyan
74f7705413
[poincare/solver] Fix typo
2020-02-28 18:08:01 +01:00
Ruben Dashyan
9a79081b47
[poincare/expression] Fix typo in nextIntersection
...
The approximative solution should be rounded up to zero if it is
dominated by the solver's precision.
2020-02-28 18:08:01 +01:00
Neven Sajko
4da9f34993
[poincare] Fix checking for special tree identifier value
...
Unsigned types are never negative, so the existant check does not make
sense. Check correctly using the newly introduced
TreeNode::IsValidIdentifier method.
2020-02-28 09:18:14 +01:00
Léa Saviot
f12c53b3f2
[apps/code] printText should not be asynchronous in emscripten
...
Otherwise, we need to put in the whitelist all methods that might call
printText, which are a lot.
2020-02-27 11:32:26 +01:00
Neven Sajko
f74ed8ecd7
[ion] Fix error check in the USB stack
...
The return type of the function receiveSomeData needs to be wider so the
-1 error value could fit.
Fixes #1335
2020-02-26 11:09:43 +01:00
Ruben Dashyan
bdb29b9bf9
[apps/regression/graph_controller] Remove setRoundCrossCursorView's parameter
...
Get it directly from model
2020-02-26 09:50:43 +01:00
Ruben Dashyan
b8b6e4b5b8
[apps/regression/graph_controller] Update model before setting cursor view
2020-02-26 09:50:43 +01:00
Ruben Dashyan
4f279f15da
[apps/regression/graph_controller] Inline selectRegressionCurve in header
2020-02-26 09:50:43 +01:00
Ruben Dashyan
436b934f76
[apps/regression/graph_controller] selectRegressionCurve does not update the cursor view
...
selectRegressionCurve is only called from GoToParameterController and is
part of the GraphController's API for updating the model. It should not
update the view. viewWillAppear does.
2020-02-26 09:50:43 +01:00
Ruben Dashyan
7e6a601af0
[apps/regression/graph_controller] Inline selectRegressionCurve in moveCursorVertically
...
In the graph controller, selectRegressionCurve is only called at one
place (in moveCursorVertically). In general, setRoundCrossCursorView is
called and *m_selectedDotIndex is updated. There is no reason at all to
do things differently.
Though selectRegressionCurve is called from GoToParameterController.
2020-02-26 09:50:43 +01:00
Ruben Dashyan
d13c243876
[apps/regression/graph_controller] Simplify viewWillAppear
2020-02-26 09:50:43 +01:00
Ruben Dashyan
7b00072ccf
[apps/regression/graph_controller] Factor m_roundCursorView.setColor in setRoundCrossCursorView
2020-02-26 09:50:43 +01:00
Émilie Feral
8075468568
.gitignore: add build/artefacts
2020-02-25 17:37:29 -05:00
Émilie Feral
d2e9d5fbea
[build] Split stable_release target from target.mak, change name to
...
all_official
2020-02-25 17:37:29 -05:00
Émilie Feral
3aeb4b9ea9
[build] Coding style
2020-02-25 17:37:29 -05:00
Émilie Feral
c8cbd9475d
[ion] android Makefile: declare targets as PHONY
2020-02-25 17:37:29 -05:00
Émilie Feral
38d02663b4
[build] epsilon_src & epsilon_official_src have to be defined because
...
they're used by target.simulator.web.mak
2020-02-25 17:37:29 -05:00
Émilie Feral
6c0bb3cdde
[build] Replace make by $(MAKE) in Makefiles
2020-02-25 17:37:29 -05:00
Émilie Feral
ef62c70913
[build] Target: clean epsilon targets dependencies
2020-02-25 17:37:29 -05:00
Émilie Feral
a92ee368c5
[ion] ios Makefile: fix code-signing with new certificates
2020-02-25 17:37:29 -05:00
Émilie Feral
ac6d6f4d5c
[build] Complete stable_release target
2020-02-25 17:37:29 -05:00