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
Émilie Feral
a7c26ce3a8
[ion] ios Makefile: fix codesigning
2020-02-25 17:37:29 -05:00
Émilie Feral
d6504a6c6a
[build] Make a target stable_release which build every executable needed
...
for a stable release
2020-02-25 17:37:29 -05:00
Émilie Feral
558e2734f0
[ion] Android Makefile: fix rule for libepsilon
2020-02-25 17:37:29 -05:00
Émilie Feral
92a3e07643
[ion] Enable to build official and unofficial softwares for ios and
...
macos platform
2020-02-25 17:37:29 -05:00
Émilie Feral
4aace23362
[ion] Makefile of android: enable to build epsilon.apk and
...
epsilon.official.apk
2020-02-25 17:37:29 -05:00
Émilie Feral
be0b2787b4
[ion] Web Makefile: simulator.html expects a epsilon.js file and not a
...
epsilon.official.js file
2020-02-25 17:37:29 -05:00
Émilie Feral
06202aac49
[build] Remove useless clean_for_apps_selection target
2020-02-25 17:37:29 -05:00
Émilie Feral
b85f19c99c
[build] Remove useless and wrong workshop_python_emulator (GET_OPT
...
option is missing, which also forces a real clean)
2020-02-25 17:37:29 -05:00
Émilie Feral
2351b03fb7
[build] Fix binpack target
2020-02-25 17:37:29 -05:00
Émilie Feral
6693102d5f
[build] binpack: fix name change build --> output
2020-02-25 17:37:29 -05:00
Émilie Feral
1e81a944e3
[build] Web: enable to build target simulator.official.zip and
...
epsilon.official.js
2020-02-25 17:37:29 -05:00
Léa Saviot
02e79ad595
[apps/code] Do not refresh the print if the sandbox is displayed
...
Otherwise the first responder becomes the console edit line, and events
(such as Toolbox) are not intercepted by the sandbox anymore.
2020-02-25 15:31:25 +01:00