Commit Graph

9765 Commits

Author SHA1 Message Date
Léa Saviot
276af2ccce [poincare/test] Test engineering notation 2019-11-13 16:07:10 +01:00
Émilie Feral
6135fced52 [poincare] Power: always reduce (a^b)^(-1) 2019-11-13 15:54:46 +01:00
Léa Saviot
cfdc6344bf [simulator] Increase stack size in debug mode
This way we can try the tests in DEBUG mode
2019-11-13 15:38:17 +01:00
Léa Saviot
5c070355ad [ion/simulator] Fix missing include
Compilation failed for DEBUG=1
2019-11-13 15:38:17 +01:00
Émilie Feral
5d283a3a3c [build] Add missing EMSCRIPTEN_ASYNC_SYMBOLS 2019-11-13 14:26:13 +01:00
Ruben Dashyan
bb83f057fe [apps/shared/values_controller] Simplify didChangeCell
Shift by m_firstMemoizedRow earlier.
2019-11-13 09:38:07 +01:00
Ruben Dashyan
ecde47784c [apps/shared/values_controller] Avoid extra calls to numberOfMemoizedColumn 2019-11-13 09:38:07 +01:00
Ruben Dashyan
be6b9d804c [apps/graph/values_controller] Fix assertion in plotTypeAtColumn 2019-11-13 09:38:07 +01:00
Ruben Dashyan
3677e7b191 [apps/graph/values_controller] Fix absoluteColumnForValuesColumn
Abscissa columns that should not appear in the table were counted
2019-11-13 09:38:07 +01:00
Romain Goyet
b846308866 [simulator/android] Bump compileSdkVersion and targetSdkVersion 2019-11-12 16:00:45 +01:00
Romain Goyet
5eb0e4f3ff [simulator/android] Use NDK version 16 when available 2019-11-12 16:00:45 +01:00
Émilie Feral
0736a3f55a [poincare] In Polar complex format, avoid displaying real expression as
sqrt of square when possible
2019-11-05 16:46:21 +01:00
Émilie Feral
e8046ddb9a [poincare] Trigonometry: fix shallowReduceDirectFunction 2019-11-05 16:46:21 +01:00
Émilie Feral
a5c4734c4c [poincare] Complex: add comments 2019-11-05 16:46:21 +01:00
Émilie Feral
710d5259fe [poincare] NAryExpressionNode: clean sortChildrenInPlace (the loop was
in descending order without any explanation)
2019-11-05 16:46:21 +01:00
Romain Goyet
ce2fadaf25 [ci] Use fastcomp as an emscripten compiler 2019-11-05 13:15:11 +01:00
Adrien Bertrand
2ec4bc29e0 [apps] [code] Fix nullptr deref (fix #1176)
When scrolling up in the python shell history, `selectedCell` could be NULL.
2019-11-04 09:57:45 +01:00
Émilie Feral
4b9e42d522 [poincare] Trigonometry::characteristicXRange use double precision
derivative (to avoid computational error as diff(sin(x+46^2,x,1)))
2019-10-18 14:32:57 +02:00
Émilie Feral
6befc1e146 [apps/graph] interestingXHalfRange: ignore infinite characteristic x
range
2019-10-18 14:32:57 +02:00
Émilie Feral
f6cfcab4e5 [apps/shared] CurveView: add an assertion on the number of labels to
avoid reading out of bound memory
2019-10-18 14:32:57 +02:00
Émilie Feral
2ff0b789f9 [.github] ci-workflows: remove N0100 bench targets 2019-10-17 11:53:48 +02:00
Émilie Feral
92a623378d [apps/settings] Fix epsilon.onboarding.update build 2019-10-17 11:53:48 +02:00
Émilie Feral
ff2ed52b21 [.github] Add targets to the ci-workflows 2019-10-17 11:53:48 +02:00
Émilie Feral
8b0d8aa935 [ion] Fix bench build 2019-10-17 11:53:48 +02:00
Émilie Feral
7d48e84ac3 [ion] Fix flasher build 2019-10-17 11:53:48 +02:00
Romain Goyet
585760bd7b [ion] Update the Java SDL code 2019-10-17 11:52:19 +02:00
Romain Goyet
a34ecd2769 [poincare] Use std::move when needed
When returning a subclass of an Expression as an Expression, make sure
to use std::move, otherwise the compiler cannot proceeed to copy
ellision.
2019-10-16 10:01:14 +02:00
Romain Goyet
fde1a87998 [ion/device/n0100] Remove an LTO warning 2019-10-16 10:01:00 +02:00
Romain Goyet
d4e11b206a [build] mcpu is stronger than march 2019-10-16 10:01:00 +02:00
Romain Goyet
e857e7a297 [ion] Avoid a cast from NULL to \0 2019-10-16 10:01:00 +02:00
Romain Goyet
758c217120 [ion] ion_main takes const arguments 2019-10-16 10:01:00 +02:00
Léa Saviot
577e7db8dd [python/port] Use msleep (not millis) in micropython_port_interruptible_msleep 2019-10-15 16:06:34 +02:00
Léa Saviot
069319a7ae [ion/device/timing] Fix SysTick when changing HCLK
There will still be some drift due to the systick counter reset
2019-10-15 16:06:34 +02:00
É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