Commit Graph

7312 Commits

Author SHA1 Message Date
Émilie Feral
e7963332f6 [liba] Wrong signature in EABI implementation 2018-02-09 21:44:13 +01:00
Romain Goyet
34d219f5fd [emscripten] Discard EMTERPRETIFY_FILE 2018-02-05 16:50:43 +01:00
Romain Goyet
e5a7b936bc [emscripten] Some mor ASYNC symbols
Needed when starting a script from the contextual script menu
2018-02-05 16:50:43 +01:00
Romain Goyet
bd0e96e6dc [emscripten] Rename the packaged simulator to simulator.zip 2018-02-05 16:50:43 +01:00
Romain Goyet
054fffe77d [emscripten] Use a whitelist of sync symbols that will be interpreted 2018-02-05 16:50:43 +01:00
Jean-Baptiste Boric
123dc1b267 Enable LED charging
Fixes #34
2018-02-04 20:08:56 +01:00
Jean-Baptiste Boric
2d088473a5 Reimplement LED charging
Fixes #196
2018-02-04 20:08:32 +01:00
Jean-Baptiste Boric
b774ddf7e7 [ion] Use TIM6 to keep track of time during Ion::msleep 2018-02-02 18:57:08 +01:00
Jean-Baptiste Boric
8e2ed09875 Touch up register definitions 2018-02-02 18:57:08 +01:00
Adrien Bertrand
76dbea981d [emscripten] Fix save screenshot feature 2018-02-02 17:48:42 +01:00
Émilie Feral
4f3290514f [ion] Simulator/Emscripten/Blackbox: correct random implementation 2018-02-02 16:09:37 +01:00
Romain Goyet
be26a78979 Avoid bloating the products variable 2018-02-02 14:30:35 +01:00
Romain Goyet
70d1918aa4 Fix the AppVeyor script 2018-02-02 14:30:35 +01:00
Romain Goyet
7463084839 Update the Travis script 2018-02-02 14:30:35 +01:00
Romain Goyet
5ef24d304d Move debug scripts in the build folder 2018-02-02 14:30:35 +01:00
Romain Goyet
ad261a79aa Emscripten has no SIZE tool 2018-02-02 14:30:35 +01:00
Romain Goyet
7a8f439603 Clean the memory-map Make script 2018-02-02 14:30:35 +01:00
Romain Goyet
6d43b944b4 Use epsilon's name in build products 2018-02-02 14:30:35 +01:00
Romain Goyet
489b26e813 Re-organize and re-prefix the Makefile variables 2018-02-02 14:30:35 +01:00
Romain Goyet
0a3623421c Move device-related Make targets to the appropriate file 2018-02-02 14:30:35 +01:00
Émilie Feral
f2046c3b15 Makefile: change version to 1.3.0 2018-02-01 14:27:48 +01:00
Émilie Feral
612a436bf6 [escher] Revert 'Clean useless reload' 2018-02-01 14:13:26 +01:00
Romain Goyet
06bfaafb3b [python] Add "input()" to the catalog 2018-02-01 14:10:26 +01:00
Romain Goyet
67f082f4e8 [emscripten] Use emterpreter
This allows us to control the runloop
2018-02-01 14:10:26 +01:00
Romain Goyet
fd7516f8ac [python] "input" now displays the provided prompt 2018-02-01 14:10:26 +01:00
Romain Goyet
314fde955a [escher] Add a PointerTextView class 2018-02-01 14:10:26 +01:00
Romain Goyet
0682d21a32 [python] Implement ExecutionEnvironment::input
By using a re-entrant RunLoop call
2018-02-01 14:10:26 +01:00
Romain Goyet
651d5715e4 [python] Adding mp_hal_input 2018-02-01 14:10:26 +01:00
Émilie Feral
1b6d798eef [poincare] Fix memory leak 2018-02-01 12:19:33 +01:00
Émilie Feral
bce658052c [escher] Fix uninitialized read 2018-02-01 12:19:33 +01:00
Émilie Feral
441207f5e4 [apps] Graph: for all calculations -intersection, extremum and roots-, rather display 0 than 1E-14 2018-02-01 11:49:53 +01:00
Émilie Feral
cc4415b701 [apps] Graph: fix error in Intersection Graph banner view: the text was
truncated
2018-02-01 11:49:53 +01:00
Émilie Feral
a8fe8dc22e [apps] Calculation: input text stores in cache have to be checked again
when used as its length context dependent (because of 'ans' symbol)
2018-02-01 11:49:39 +01:00
Émilie Feral
53393524ef [apps] Calculation: do not display a syntax error when the textfield is
empty
2018-02-01 11:49:39 +01:00
Émilie Feral
470767340a [apps] Calculation: OK on an empty textfield re-do the last user input
kept in cache
2018-02-01 11:49:39 +01:00
Émilie Feral
f9241bd7e6 [poincare] Decimal: writeTextInBuffer has to handle cases when the
mantissa is too big to be serialize
2018-02-01 11:49:39 +01:00
Émilie Feral
b1f6b31b8c [poincare] "inf" should never appear at serialization 2018-02-01 11:49:39 +01:00
Léa Saviot
90068b5cc7 [poincare] Fix Matrix copy bug.
When selecting a matrix in the calculation history and pressing 'OK',
in the apps Calculation, there was a nullptr bug.

Change-Id: I8f05771b76bcb3c68b51cf8ca33a49011144abf9
2018-01-31 10:32:07 +01:00
Émilie Feral
f2db9f2065 [apps] Calculation: exact and approximate output can be equal even if
the exact output is not a rational: 1/2+i = 0.5+i
2018-01-30 19:14:42 +01:00
Émilie Feral
26af09843e [poincare] Enable writeTextInBuffer to work with different numbers of
significant digits
2018-01-30 19:14:42 +01:00
Émilie Feral
ed59909531 [apps] Calculation: avoid 1/400000 = 0.000003
Re-serialise the calculation approximate output with the right number of
significant digits before comparing the parsed expression with the exact
one
2018-01-30 19:14:42 +01:00
Émilie Feral
03c8b373f7 [apps] Calculation: update the equal sign view according to the
calculation outputs
2018-01-30 19:14:42 +01:00
Émilie Feral
9d6b2e3cad [apps] Calculation: add a method to test if the exact output and the
approximate output are equal
2018-01-30 19:14:42 +01:00
Émilie Feral
8027da6ca2 [i18n] Add the message "=" 2018-01-30 19:14:42 +01:00
Émilie Feral
d6215d4cc1 [apps] Shared: resize cross cursor 2018-01-30 18:53:28 +01:00
Émilie Feral
66401fc697 [apps] Shared: Correct CurveView to avoid 1-pixel errors 2018-01-30 18:53:28 +01:00
Émilie Feral
e6a33772fe [apps] Regression: alternate between round and cross cursor views 2018-01-30 18:53:28 +01:00
Émilie Feral
9cd50d8d9a [apps] Graph/Sequence: set different cursors for Sequence and Graph 2018-01-30 18:53:28 +01:00
Émilie Feral
b38fda1a1e [apps] Shared: create a round cursor view 2018-01-30 18:53:28 +01:00
Émilie Feral
95f0efaf9f [apps] Graph/Sequence: the function selected by the cursor has to be
save in the Snapshot to avoid weird selection when rebulding the app
2018-01-30 18:53:28 +01:00