Commit Graph

9732 Commits

Author SHA1 Message Date
Émilie Feral
f6cedc0a44 [docs] Remove extra </p> 2019-10-15 09:45:21 +02:00
Émilie Feral
587b5e7a93 [build] Fix epsilon.onboarding build 2019-10-09 16:21:54 +02:00
Romain Goyet
5248fd01e8 [ion/simulator] Update libsdl 2019-10-09 16:21:40 +02:00
Léa Saviot
475c2daffc [poincare/derivative] Fix templateApproximate
Various fixes:
- Stop the iterative riddersApproximation if the error starts increasing
- h should be superior to 10 epsilon
- if the result is close to 0, be less restrictive on the error/result
ratio
2019-10-07 15:15:18 +02:00
Émilie Feral
abfda7dbce [apps/shared] ValuesController: fix viewWillAppear, reset memoization
before reloading data
2019-10-07 15:02:34 +02:00
Émilie Feral
5928a6fd80 [apps/shared] ValuesController: reload memoization when deleting rows 2019-10-07 15:02:34 +02:00
Émilie Feral
e87a096689 [apps/shared] didChangeCell reload only cells corresponding to the
modified abscissa
2019-10-07 15:02:34 +02:00
Émilie Feral
cd7071277b [apps/shared] Use memmove instead of shifting the table cell by cell 2019-10-07 15:02:34 +02:00
Émilie Feral
a81f76332c [apps/shared] ValuesController: when reloading an entire row, reload
only visible cells
2019-10-07 15:02:34 +02:00
Émilie Feral
b40c89cae8 [apps/graph][graph/sequence][graph/shared] Change constant names: add
"displayable" when adequate
2019-10-07 15:02:34 +02:00
Émilie Feral
a19edb4460 [apps/graph][apps/sequence] Add comments 2019-10-07 15:02:34 +02:00
Émilie Feral
d4f6f5a477 [apps/graph] ValuesController: Decrease the number memoized cells by
making the cell wider
2019-10-07 15:02:34 +02:00
Émilie Feral
2efbec59a1 [apps/shared] Avoid extra calls to numberOfMemoizedColumn 2019-10-07 15:02:34 +02:00
Émilie Feral
f995fb0fc2 [apps/shared] ValuesController: reload memoized cell when abscissa is
edited
2019-10-07 15:02:34 +02:00
Émilie Feral
60ad096956 [apps/graph][apps/sequence] ValuesController memoization buffer does not
require the same size for Sequence and Graph
2019-10-07 15:02:34 +02:00
Émilie Feral
dc3c67a2d2 [apps/shared][apps/graph][apps/sequence] Clean ValuesController 2019-10-07 15:02:34 +02:00
Émilie Feral
164572ca1e [apps/shared][apps/sequence][apps/graph] Speed-up values table scrolling
by memoizing values cell buffers
2019-10-07 15:02:34 +02:00
Émilie Feral
5df8c6de57 [apps/graph] ValuesController::numberOfColumnsForPlotType: add a
parameter in order to take into account the abscissa column or not
2019-10-07 15:02:34 +02:00
Émilie Feral
770f0971d7 [escher] TableView: cellAtLocation returns nullptr if the cell is not
currently displayed
2019-10-07 14:36:03 +02:00
Léa Saviot
19921ec125 [apps/regression/graph] Fix roundCursorView drawing glitch
Scenario:
f(x)=cos(x)
CalculateZeroes -> drawing glitch
Right, Back -> drawing glitch
2019-10-04 09:38:23 +02:00
Romain Goyet
0b5374e4c2 Revert "[ci] Don't rebuild on push"
This reverts commit 51d1c7b389.
2019-10-04 07:49:44 +02:00
Émilie Feral
98f2b8a11f [poincare][apps/shared] Use IEEE754::exponentInBase10 instead of
std::floor(std::log10()) to avoid precision issues when computing
the number of digits of a number
2019-10-03 10:31:25 +02:00
Romain Goyet
1845e58d0f [poincare] Avoid rounding error 2019-10-03 09:40:33 +02:00
Émilie Feral
d9af0300d4 [poincare] Decimal: change order definition on Decimal expression
Now, Decimal node "1.000E3" is not equal to Decimal node "1E3" node anymore.
This prevents from using double comparison (which is sometimes wrong due to
double precision) to implement decimal comparison.
2019-10-02 18:20:57 +02:00
Romain Goyet
2f12205dd7 [ion/simulator/web] Minimize the SDL subsystems 2019-10-02 15:02:55 +02:00
Émilie Feral
dc20371a45 [poincare] PrintInt: std::log10 can introduce precision error. Use
IEEE754<double>::exponentBase10 instead
2019-10-02 15:02:30 +02:00
Émilie Feral
b756924f46 [poincare] Tests: fix test to comply with windows libm precision 2019-10-02 15:02:30 +02:00
Émilie Feral
ee852bd2d0 [poincare] Tests: change test to work with all platforms libm precision 2019-10-02 15:02:30 +02:00
Romain Goyet
ff9809d7dc [doc/build/macos] Use a tap 2019-10-01 17:34:45 +02:00
Romain Goyet
96cc96ec5f [ci] Use the proper tap on macOS 2019-10-01 17:03:46 +02:00
Romain Goyet
51d1c7b389 [ci] Don't rebuild on push
Otherwises tests are ran twice, one for the PR and then after the merge
2019-10-01 17:00:11 +02:00
Romain Goyet
3b857f15b7 [ion/simulator] Import assert when needed 2019-10-01 16:58:30 +02:00
Romain Goyet
b05a58a1ab [docs] Don't forget imagemagick on linux 2019-10-01 16:58:30 +02:00
Jean-Baptiste Boric
3f0f407d9c [docs] Update Debian SDK instructions 2019-10-01 16:58:30 +02:00
Jean-Baptiste Boric
eecf1c3c49 [ion/sumulator] Add fallback to software rendering
Some Linux platforms like Linux containers on Chrome OS do not offer
hardware-accelerated rendering.
2019-10-01 16:58:30 +02:00
Jean-Baptiste Boric
f7c555d593 [ion/simulator] Remove useless HAVE_IMMINTRIN_H for Linux 2019-10-01 16:58:30 +02:00
Romain Goyet
f61529fe20 [ion/device] Discard ARM.exidx and ARM.extab sections 2019-10-01 16:57:17 +02:00
Romain Goyet
cb2557c988 [build/device] Add a comment about gc-sections 2019-10-01 16:57:17 +02:00
Lionel Debroux
1cf0bfbea9 [scripts] Use --gc-sections linker flag even when building with LTO. This saves more than 1 KB on a N0110 build here. 2019-10-01 16:57:17 +02:00
Romain Goyet
a03967f215 [ci] Proper test runner path on Windows 2019-10-01 16:17:22 +02:00
Romain Goyet
6e89110a76 [build] Don't use libpng on Windows either 2019-10-01 16:17:22 +02:00
Romain Goyet
03c4574e7b [ion/src/simulator] Don't try to setrlimit on Windows 2019-10-01 16:17:22 +02:00
Romain Goyet
dcede42c38 Update the README
And discard Travis and Appveyor
2019-10-01 16:10:36 +02:00
Romain Goyet
aaedc11845 [ci] Check on pull request 2019-10-01 15:47:14 +02:00
Romain Goyet
73496ab612 Use GitHub CI 2019-10-01 15:38:27 +02:00
Romain Goyet
99414b3da7 [build] Fix EPSILON_SIMULATOR_HAS_LIBPNG 2019-10-01 15:38:27 +02:00
Romain Goyet
73729396b8 [build] Don't forget stdio 2019-10-01 15:38:27 +02:00
Romain Goyet
db03aad6b3 [ion] Conditionaly use EPSILON_SIMULATOR_HAS_LIBPNG
Avoid it on Emscripten where it's not available
2019-10-01 15:38:27 +02:00
Romain Goyet
cb053cf8d2 [build] Clean variants 2019-10-01 15:38:27 +02:00
Romain Goyet
e81426f93b [build] Clean the different targets 2019-10-01 15:38:27 +02:00