Commit Graph

4999 Commits

Author SHA1 Message Date
Émilie Feral
66d920a280 [shared] Factorize GraphController::initCursorParameters of Graph and
Sequence
2018-07-06 14:00:32 +02:00
Émilie Feral
9dc775295b [graph] Graph: try to avoid selecting function whose value is infinite
by default
2018-07-06 14:00:32 +02:00
Émilie Feral
d36c0c8746 [graph] Fix bug when initializing the selected function on graph 2018-07-06 14:00:32 +02:00
Émilie Feral
34198945f2 [solver] Prevent adding an expression which is not an equation by
displaying a pop-up (if the input is too long, the automatically
added "=0" will fail)
2018-07-06 10:31:51 +02:00
Émilie Feral
b7ec225088 [poincare] Anti-aliazing of root symbol 2018-07-04 16:00:22 +02:00
Léa Saviot
9e6df15112 [apps/graph] Fix curve parameters menu navigation
Pressing Right on the second item would not display the submenu.
2018-07-04 14:23:23 +02:00
Léa Saviot
ce752eb553 [apps/stats] Fix color problem when unselecting the box views
Problem:
In Statistics, select a box view then press back to select a tab: the
previously seleted box stays colored even though it is unselected.
2018-07-04 14:21:19 +02:00
Émilie Feral
a1d6b90705 [shared] FunctionGraphController: fix computeYRange for 1/x 2018-07-04 11:34:08 +02:00
Romain Goyet
b4fce2d6d4 [ion] Discard outdated comments 2018-07-02 16:15:41 +02:00
Romain Goyet
b3b29c214c [python] Don's sort QSTRs before processing them
The order matters because of the codepoint2name routine
2018-06-26 14:18:55 +02:00
Romain Goyet
53fbd2367f [python] Switch MICROPY_QSTR_BYTES_IN_HASH to 2 (default) 2018-06-26 14:18:55 +02:00
Romain Goyet
5b77c84903 [emscripten] Add an update script 2018-06-26 14:13:31 +02:00
Romain Goyet
e6a8e0e198 [emscripten] Use the navigator's language 2018-06-26 14:13:31 +02:00
Romain Goyet
0634e9ea7d [emscripten] Expose IonSoftwareVersion and IonPatchLevel 2018-06-26 14:13:31 +02:00
Romain Goyet
5eb4d9ccf6 [emscripten] Fix key handling 2018-06-26 14:13:31 +02:00
Romain Goyet
89ede25b17 [emscripten] Update the simulator background 2018-06-26 14:13:31 +02:00
Romain Goyet
fc1d887695 [emscripten] Update the HTML page 2018-06-26 14:13:31 +02:00
Léa Saviot
eb4ee24a41 [apps/shared] Use activeFunctionStoreIndex in activeFunctionAtIndex 2018-06-26 13:46:00 +02:00
Léa Saviot
a166903659 [apps/graph] Fix graph selection when a function is undef
For instance, input f(x)=1/0 and g(x)=1, the graph tab now selects g
correctly
2018-06-26 13:46:00 +02:00
Léa Saviot
8c0aae9778 [poincare/test] Add integral tests 2018-06-26 13:44:56 +02:00
Léa Saviot
297f9cc2e8 [poincare/integral] Fix typo 2018-06-26 13:44:56 +02:00
Léa Saviot
2c15c1ff82 [poincare] Simplify Integral::kronrodGaussQuadrature 2018-06-26 13:44:56 +02:00
Léa Saviot
e1e8e4c98e [poincare] Stop integral computation if evaluation if function is undef 2018-06-26 13:44:56 +02:00
Romain Goyet
3d74d52ec6 [python] Highlight minus-equal, plus-equal as operators 2018-06-20 11:22:32 +02:00
Romain Goyet
74330bb330 [python] Properly compute all token length 2018-06-20 11:22:32 +02:00
Léa Saviot
b8fbc35793 [emscripten] Fix float rouding errors when computing grid axis labels
Emscripten converts C++ floats to doubles, which produces rounding
errors. In the Graph application, when displaying y=sin(x), the ordinate
'1' displayed "10" instead, because the exponent of 1000f was wrongly
computed.
To prevent this, we add the -s PRECISE_F32=1 flag, which uses 32-bits
floating point values for floats.
See https://kripken.github.io/emscripten-site/docs/getting_started/FAQ.html#why-do-i-get-odd-rounding-errors-when-using-float-variables
2018-06-18 16:33:44 +02:00
Romain Goyet
4a7e4ee512 [emscripten] Add a Module.onDisplayRefresh callback 2018-06-18 10:08:01 +02:00
Émilie Feral
7df03ec762 [code] In lock-on-console mode: enable poping controllers on the stack
which are above the console controller
2018-06-13 13:23:46 +02:00
Émilie Feral
769bc1ad3c [code] In lock-on-console mode: Enable interrupting input loop and execution when clicking on 'home' or 'back' 2018-06-13 13:23:46 +02:00
Ecco
e304da5ee1 [emscripten] Removing trailing comma hack more obvious 2018-06-13 10:02:47 +02:00
Ecco
3d9748d172 [emscripten] Remove empty line 2018-06-13 10:02:47 +02:00
Claire Savinas
208f340993 Fix build using emsdk version sdk-1.37.40-64bit 2018-06-13 10:02:47 +02:00
Émilie Feral
3681a85da7 Makefile: Version 1.6.0 2018-06-12 17:27:17 +02:00
Léa Saviot
5270c7740b [escher] Fix cursor position when copy pasting 2018-06-12 16:55:01 +02:00
Émilie Feral
317e1f0389 [code] Enable interrupting an infinite input() loop when clicking on home 2018-06-12 16:52:12 +02:00
Léa Saviot
8e72a0fee6 [poincare] Fix LayoutEngine writeInBuffer stop conditions 2018-06-12 16:38:58 +02:00
Émilie Feral
bf0b80b0c0 [poincare] Tests: fix test on Expression::getVariables 2018-06-12 16:27:01 +02:00
Émilie Feral
d9afd64b67 [poincare] Fix tests on layout 2018-06-12 16:27:01 +02:00
Émilie Feral
b4e3143e76 [Kandinsky] Regular font: new capital delta 2018-06-12 16:27:01 +02:00
Léa Saviot
ae1482bcd4 [poincare] Fix Matrix::writeTextInBuffer 2018-06-12 16:25:01 +02:00
Léa Saviot
de47bf5486 [apps/reg] Fix dynamic view initialization 2018-06-12 16:24:30 +02:00
Léa Saviot
96909a0c21 [apps/reg] Fixing missing space 2018-06-12 15:51:13 +02:00
Léa Saviot
4e81684b08 [apps/stats] No need for special handling of the subview banner views
Just put them to nullptr.
2018-06-12 15:50:50 +02:00
Léa Saviot
acc49412f1 [apps/escher] EvenOddExpressionCell has left and right margins 2018-06-12 15:50:50 +02:00
Léa Saviot
a83ef756b3 [apps/stats/reg] Share Store methods 2018-06-12 15:50:42 +02:00
Léa Saviot
3e06764bb9 [apps/statistics] Fix histogram/box selection save in snapshot 2018-06-12 15:09:06 +02:00
Léa Saviot
3ac1569189 [apps/reg] Regression cursor has the curve color 2018-06-12 15:09:06 +02:00
Léa Saviot
173288dd91 [apps/shared] Fix variables buffer initialisation for getVariables 2018-06-12 15:09:06 +02:00
Léa Saviot
416a45c11b [apps/shared] Fix buffer size initialization 2018-06-12 15:09:06 +02:00
Émilie Feral
c5cc871841 [poincare] Expression::getLinearCoefficients: the constant coefficient
has to be reduced before returned
2018-06-12 15:05:48 +02:00