Commit Graph

9789 Commits

Author SHA1 Message Date
Émilie Feral
b36f9416b4 [hardware_test] Keyboard test: check only a subset of keys 2019-12-04 11:19:23 +01:00
Émilie Feral
a515160470 [poincare] NAryExpressionNode: fix sortChildrenInPlace to put
expressions involving matrices as last children
2019-12-02 17:08:53 +01:00
Émilie Feral
984d1ff924 [poincare] Expression::CreateComplexExpression: fix crash when creating
Polar form
2019-11-26 10:36:42 +01:00
Émilie Feral
4c11e73ad3 [ion] UTF8Helper: fix CopyAndRemoveCodePoint to avoid copying truncated
code point in the buffer
2019-11-25 17:39:26 +01:00
Léa Saviot
967dc0ea15 [apps/sequence] Set the Nstart/Nend messages at construction
This fixes the scenario:
Add a sequence, go to the Table then click on setTheInterval -> it
displayed Xstart Xend instead of Nstart Nend
2019-11-25 17:34:17 +01:00
Léa Saviot
5f7692686f [ion/storage] Fix memoization dirtying when renaming a record
Don't forget to update the CRC32 of the record
Scenario : New funciton f(x) = 1, change it to parametric, rename it
a(t), creae a new function -> instead of being empty, it is has a
"ghost" value of [t 1].
2019-11-25 17:32:43 +01:00
Émilie Feral
8f69d9b8b9 [build] Fix target %.dfu for N0110: avoid downloading flasher on
addresses that are being executed (in NumWorks DFU mode, execution
jumps at the end of the stack, which is where we upload the flasher.
The flasher is not required when NumWorks DFU mode is working)
2019-11-25 10:20:25 +01:00
Émilie Feral
89ea25556c [poincare] Add test to print the float 1000
On emscripten platform, print_float(1000.0) used to return "0000"
2019-11-25 10:19:11 +01:00
Émilie Feral
5ec09fdbd6 [apps/shared] ValuesController: fix didChangeCell to reload all cells
corresponding to the abscissa cell
2019-11-21 11:16:07 +01:00
Émilie Feral
b320f28e59 [poincare] Fix comments 2019-11-21 09:47:16 +01:00
Émilie Feral
c659cc7477 [poincare] EquationStore: add tests 2019-11-21 09:47:16 +01:00
Émilie Feral
ccf848a9eb [poincare] Add test: do not expand multinome when reduction target is
System
2019-11-21 09:47:16 +01:00
Émilie Feral
11b8ed72a1 [poincare] Do not infer ReductionTarget but give it as parameter of
denominator, addMissingFactors, factorizeSineAndCosine
2019-11-21 09:47:16 +01:00
É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