Commit Graph

3808 Commits

Author SHA1 Message Date
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
É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
Émilie Feral
c9b86d0c86 [apps] Shared: the cursor view own its size instead of the curve view 2018-01-30 18:53:28 +01:00
Émilie Feral
8ccb69f2e2 [apps] Graph: Change function colors 2018-01-30 18:53:28 +01:00
Émilie Feral
8891914716 [apps] Change the thickness of curves in graph views 2018-01-30 18:53:28 +01:00
Émilie Feral
72f3d1a88a [apps] Shared: Change the thickness of grid in Graph views 2018-01-30 18:53:28 +01:00
Émilie Feral
8c32a61bb1 [escher] TextField: markAsDirty the previous text when setting a new
text
2018-01-30 18:19:27 +01:00
Émilie Feral
539ea44bd7 [apps] Fix unitialized read 2018-01-30 18:19:27 +01:00
Émilie Feral
89c201a7f7 [apps] Graph: create an IntersectionGraphController 2018-01-30 18:19:27 +01:00
Émilie Feral
7d69e59562 [i18n] Graph: add a message 'no intersection found' 2018-01-30 18:19:27 +01:00
Émilie Feral
9943afb7e1 [apps] Graph: add a method to get the intersection between 2 functions 2018-01-30 18:19:27 +01:00
Émilie Feral
35225d2b07 [apps] Graph: improve the root research algorithm 2018-01-30 18:19:27 +01:00
Émilie Feral
37c3f6189d [apps] Graph: create a RootGraphController 2018-01-30 18:19:27 +01:00
Émilie Feral
d1840dfe17 [apps] Graph: Change name:
ExtremumGraphController-->CalculationGraphController
2018-01-30 18:19:27 +01:00
Émilie Feral
78c7d80319 [apps] Graph: algorithm to research function roots 2018-01-30 18:19:27 +01:00
Émilie Feral
4761a9acdd [apps] Graph: change name: brentAlgorithm->brentMinimum 2018-01-30 18:19:27 +01:00