Commit Graph

3828 Commits

Author SHA1 Message Date
Émilie Feral
ecb7ec403a [liba] Use softfloat IEEE754 getters implementation instead of
re-implementing them
2018-03-21 15:54:58 +01:00
Romain Goyet
c0a9ec1c91 [emscripten] Events can be enqueued 2018-03-21 15:54:17 +01:00
Romain Goyet
09976d6a42 [emscripten] Be a lot nicer on the CPU 2018-03-21 15:54:17 +01:00
Damien Nicolet
a2c5e0b7f7 Full interrupt vector table definition, more registers and correct memory remap & vector table register after bootloader exit 2018-03-13 11:40:04 +01:00
Romain Goyet
cf32add0ca [i18n] The build script works on Python version 2 and 3 2018-02-18 15:21:15 +01:00
Romain Goyet
04645347bf [build] Don't use the Set module
It's been deprecated since Python 2.6
2018-02-18 15:21:15 +01:00
Romain Goyet
1c17817ed0 Don't use a shebang in Python build scripts 2018-02-18 15:21:15 +01:00
Romain Goyet
3ad7b941dd Define and use PYTHON in the build system 2018-02-18 15:21:15 +01:00
Émilie Feral
ca1daeb527 [apps] Sequence: fix confusion between sequence index in store and
sequence name
2018-02-14 12:04:47 +01:00
Émilie Feral
2f5f94ade0 [escher] Toolbox: back event on toolbox with no page depth is handled by
the modal view controller
2018-02-14 12:04:18 +01:00
Émilie Feral
7026abdc5c [apps] Sequence: fix toolbox handleEvent 2018-02-14 12:04:18 +01:00
É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
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
É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