Commit Graph

3884 Commits

Author SHA1 Message Date
Romain Goyet
55e4c955f4 Upgrade to MicroPython 1.9.3 2018-04-09 14:43:15 +02:00
Émilie Feral
31f79c702a [apps] Code: when updating a script name, handle the event 'clear' to
keep '.py'
2018-04-09 14:42:45 +02:00
Émilie Feral
b714d9242e [apps] Code: when in input loop, handle 'up' event 2018-04-09 14:42:26 +02:00
Émilie Feral
9289928fff [apps] Code: abort script name editing if MenuController exits responder
chain
2018-04-06 10:14:13 +02:00
Émilie Feral
4312df1bf1 [ion] Enable to call updateModifiersFromEvent on Special events
(Termination event on emscripten platform for instance)
2018-04-05 15:13:33 +02:00
Zhaofeng Li
6679cb0a20 [apps] Fix exam mode 2018-04-04 13:42:00 +02:00
Romain Goyet
38bf626c19 Make clena 2018-04-04 10:53:56 +02:00
LeaNumworks
fbdff797d8 Merge pull request #387 from Ecco/jump-reset
[ion] Add the ability to perform a jump-reset
2018-04-04 10:49:34 +02:00
Romain Goyet
5c86a07481 [ion] Add the ability to perform a jump-reset 2018-04-04 10:38:52 +02:00
Émilie Feral
9cadc49264 [apps] Code: Fix autoImportScript to avoid corrupting stack 2018-03-28 10:03:36 +02:00
Émilie Feral
f1ddf1dbf4 Valgrind: uninitialized value, memory leak 2018-03-28 10:02:09 +02:00
Émilie Feral
06ace4369c Clean warnings (comparison signed and unsigned) 2018-03-28 10:01:21 +02:00
Émilie Feral
ae086adfcf Clean 2018-03-22 14:01:38 +01:00
Émilie Feral
75292ed749 [ion] Storage: change tags around storage 2018-03-22 14:01:38 +01:00
Émilie Feral
3bc16637a0 [ion] Storage: add comment on Record 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
36e6851c21 [ion] Storage: change rule on record name compliance 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
3c0adfe918 [ion] Move KallaxInfo to SoftwareVersion renamed in PlatformInfo 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
338ee4e0b0 [escher] Indicate the address of the file system in the header section
of the flash
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
c37696133d [escher] Create class File and FileSystem 2018-03-22 14:01:38 +01:00
Émilie Feral
4c796d404f [escher] TextField: prevent from inserting text with \n 2018-03-22 13:12:12 +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
c50e57029b [escher] TextInputHelper: special case for 'random()' and handle
parenthesis already completed (ie 'u(n)')
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
7fcf77ce23 [escher] Fix bugs in TextField:
1. The cursor size is counted twice in minimalSizeForOptimalDisplay (bug
in regression table for instance)
2. Avoid layouting twice after scrolling by enabling overscroll
2018-03-22 13:12:12 +01:00
Émilie Feral
849cbf7b89 [build] emscripten toolchain: add white-listed symbols 2018-03-22 11:58:56 +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
af877c19bb [build] Add a flag MODULARIZE when building with
emscripten toolchain
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
e94a1b1b86 [poincare] Add tests on Expression::sign properties 2018-03-22 10:48:06 +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
660775903f [poincare] Add method Expression::characteristicXRange 2018-03-22 10:48:06 +01:00
Émilie Feral
1b10cbdbb3 [poincare] Add a method: Expression::polynomialDegree 2018-03-22 10:48:06 +01:00
Émilie Feral
2b0b40d6d6 [escher] TextField: force layout after scroll reload when the content
size of scrollview might have changed
2018-03-22 10:22:18 +01:00
Émilie Feral
4af6e71e21 [escher] Fix bugs in TextField:
1. The cursor size is counted twice in minimalSizeForOptimalDisplay (bug
in regression table for instance)
2. Avoid layouting twice after scrolling by enabling overscroll
2018-03-22 10:22:18 +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
Émilie Feral
aa40bd69ea [ion] Clean cm4 registers 2018-03-21 16:14:43 +01:00