Commit Graph

9776 Commits

Author SHA1 Message Date
Émilie Feral
f953443eb8 [poincare] Power: when reducing, apply multinome development only when the target is the User 2019-11-21 09:47:16 +01:00
Romain Goyet
7607c4cba4 [python/modion] Use constants to identify keys 2019-11-19 10:08:16 +01:00
Romain Goyet
9d66b23848 [python] Add an ion module 2019-11-19 10:08:16 +01:00
Romain Goyet
190e31ef4a [python] Fix source file names 2019-11-19 10:08:16 +01:00
Romain Goyet
15f7f7678b [poincare] Make sure SharedStaticPool is initialized to null pointer 2019-11-19 10:08:16 +01:00
Romain Goyet
5ef2200ffc [ion/simulator/web] Remove a hack
Using SDL2, we don't need to preventdefault on space/arrow keydown
And if we do, we don't get "space" events in the simulator.
2019-11-19 09:45:00 +01:00
Émilie Feral
84c6c02192 [sequence] Sequence::sumBetweenBounds: avoid repetitive evaluations of std::round 2019-11-18 14:20:47 +01:00
Émilie Feral
269f479c29 [sequence] Fix Sequence::sumBetweenBounds 2019-11-18 14:20:47 +01:00
Émilie Feral
90b3e52c0c [poincare] Fix multiplication symbol before Symbol Expression
This makes consistent 2x and 2θ (sign omission in both cases).
2019-11-14 10:27:25 +01:00
Léa Saviot
a3da08323b [poincare/decimal] Don't always check mantissa length when removing 0s 2019-11-13 16:07:10 +01:00
Léa Saviot
e4afdc475d [poincare/decimal] Fix engineering notation that removed too many zeroes 2019-11-13 16:07:10 +01:00
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