Commit Graph

1665 Commits

Author SHA1 Message Date
Émilie Feral
ae086adfcf Clean 2018-03-22 14:01:38 +01:00
Émilie Feral
845fc7c979 [ion] Typo: NoEnough -> NotEnough 2018-03-22 14:01:38 +01:00
Émilie Feral
291b0541bc [apps] In code I18n: change message for uncompliant script names 2018-03-22 14:01:38 +01:00
Émilie Feral
b0ede47d55 [ion] Change Storage design (former kallax) 2018-03-22 14:01:38 +01:00
Émilie Feral
1f351ddbd6 [i18n] Add messages (warnings when setting a script name) 2018-03-22 14:01:38 +01:00
Émilie Feral
f9656fd94f [ion] Namespace Record and Kallax 2018-03-22 14:01:38 +01:00
Émilie Feral
aa984bca74 [escher][ion] Move Record and Kallax in Ion/ 2018-03-22 14:01:38 +01:00
Émilie Feral
b9a852a9d1 [escher] Change name: File --> Record, FileSystem --> Kallax 2018-03-22 14:01:38 +01:00
Émilie Feral
19ca0f0640 [apps] Code: use the FileSystem to store the scripts instead of an
accordion
2018-03-22 14:01:38 +01:00
Émilie Feral
3db86a8111 [apps] Code: merge actions for text input in ConsoleController and
EditorController
2018-03-22 13:12:12 +01:00
Émilie Feral
aade7cb2fe [escher] Create a class TextInput (from which derived TextField,
TextArea)
2018-03-22 13:12:12 +01:00
Émilie Feral
576caa039f [apps][escher] Add methods 'handleEventWithText' in TextField and
TextArea to fix bug in probability (adding a toolbox text from the
calculations controller)
2018-03-22 13:12:12 +01:00
Émilie Feral
0c526335f9 [apps] Add comments on how to use the run-time options 2018-03-22 11:58:56 +01:00
Émilie Feral
c5e525ddb7 Enable to give options at run-time 2018-03-22 11:58:56 +01:00
Émilie Feral
959f498c2d [apps] When only two apps are built, boot directly on the non-home app 2018-03-22 11:58:56 +01:00
Émilie Feral
37ff8dc0a3 [ion] Give the options to ion_app that becomes ion_main 2018-03-22 11:58:56 +01:00
Émilie Feral
963d2a57e3 [apps] Probability: special cases when inversing discrete law 2018-03-22 10:57:40 +01:00
Émilie Feral
05055c387f [apps] Graph: when setting default range of a function, take
into account the potential periodicity
2018-03-22 10:48:06 +01:00
Émilie Feral
4e699dc27c [apps] statistics: improve box rendering 2018-03-22 10:20:38 +01:00
Émilie Feral
9dd637f7c3 [apps] Settings: clean number of rows 2018-03-22 10:19:15 +01:00
Jean-Baptiste Boric
098c7dd9f4 [settings] Minimum of 5 m_cells in Settings::Subcontroller
Fixes #179
2018-03-21 17:41:57 +01:00
Claire Savinas
27490dff20 [apps] Shared: "Smart" incrementation of the first column of statistics and regression apps
The default value of the first column is set to have the same increment as the two previous rows, when possible.
This allow faster data entry when the values of the first column are evenly separated.
2018-03-21 15:59:24 +01:00
Émilie Feral
e4fbfe3a77 [apps] Shared: when adjusting yAuto and scanning y values, avoid
rounding errors (avoid weird range for y = 1/x)
2018-03-21 15:58:19 +01:00
Émilie Feral
6de71ae145 [poincare] Clean: convertFloatToText should be in PrintFloat instead of
Complex
2018-03-21 15:57:19 +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
7026abdc5c [apps] Sequence: fix toolbox handleEvent 2018-02-14 12:04:18 +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
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
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
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
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
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