Romain Goyet
29aca1a7dc
[escher] Add a BankViewController
2018-05-04 17:04:24 +02:00
Romain Goyet
84561a929f
[escher] Clean the ScrollView, TableView and SelectableTableView constructors
2018-04-18 18:08:07 +02:00
Émilie Feral
c934eab947
[emscripten] Add white-listed symbols
...
When input() is called in a script, it will happen at script
importation and thus requires more white-listed symbols.
2018-04-18 11:20:39 +02:00
Émilie Feral
235ec73e8e
[emscripten] Fix alignment issue
...
Emscripten expects 32 and 16-bit memory accesses to be aligned.
2018-04-18 11:20:39 +02:00
Romain Goyet
5744c010a4
[emscripten] Add more debug flags
2018-04-18 10:04:18 +02:00
Romain Goyet
2f1ebf7310
[emscripten] Work around alignment issues
...
Emscripten expects 32 and 16-bit memory accesses to be aligned.
This happens automatically most of the time, but in the case of our
Storage class, where we happen to read uint16_t out of a char array,
memory accesses might not be aligned. In that case, we rebuild the
uint16_t manually out of two bytes.
2018-04-18 10:04:18 +02:00
Romain Goyet
c4330ae7b1
Use <span> instead of <a> for the keys
...
Indeed, a keypress on the Enter key submits the last active links,
resulting in double inputs.
2018-04-18 10:04:18 +02:00
Émilie Feral
f12c1b8511
Makefile: Version 1.4.1
2018-04-16 10:56:39 +02:00
Léa Saviot
65744cb9f4
[ion] Fix SRAM end address.
...
Change-Id: If4fbadd42ffbc8868112f1f2b7cfb97266cbf974
2018-04-16 10:48:11 +02:00
Léa Saviot
ee6997a07d
[usb] Implement jumpReset in assembly.
...
This avoids unwanted stack modifications emited by the compiler.
Change-Id: I2a2a13ee5395b95ed676f6634be86eeb148d55fd
2018-04-16 10:48:11 +02:00
Léa Saviot
f1849cf17e
[usb] Invalid data and instruction caches after locking Flash
...
Change-Id: I154ef581a640b41c7f9815e0aae7035f7bbefe8a
2018-04-16 10:48:11 +02:00
Léa Saviot
e846e31029
[usb] Clear interrupt on "false" ENUMDNE
...
Fixes a bug where the device would not get enumerated even if the plug
state was detected (an ENUMDNE interrupt had not been cleared, thus the
new enumeration attempt was not detected).
Change-Id: I19622221fc077965ed3cab5322944e4c2c89fde4
2018-04-16 10:48:11 +02:00
Léa Saviot
37a699f1ab
[usb] Clearer USBEnumeration event detection.
...
Change-Id: I5c15f7cda6fc7132392423ef34beed135b9981ab
2018-04-16 10:48:11 +02:00
Léa Saviot
d2f551a818
[usb] Add waiting before writing on the FLASH.CR register
...
Change-Id: Ie3dcbe14e031b7149f31c145cf69773b1ece5c26
2018-04-16 10:48:11 +02:00
Romain Goyet
21b5e898c3
Enable the urandom module in mpconfigport.h, not in uPy
...
Otherwise it breaks when upgrading uPy. Faulty commit 4011290 .
2018-04-13 09:39:14 +02:00
Émilie Feral
774cd3545b
Makefile: Version 1.4.0
2018-04-11 16:25:17 +02:00
Romain Goyet
5b98f495db
[emscripten] Fix simulator build
2018-04-11 16:14:49 +02:00
Émilie Feral
d9de44a28f
Merge branch 'master' of ssh://git.numworks.com/Epsilon
2018-04-11 16:11:15 +02:00
Émilie Feral
934e8feca5
[emscripten] Handle None event from SDL
2018-04-11 16:07:46 +02:00
Léa Saviot
d87e71d847
[usb] Use proper function to scan registers.
...
Change-Id: I37f0f8ce105c7791fa8890013d672cca7dff4126
2018-04-11 15:40:41 +02:00
Léa Saviot
555ced4941
[usb] If needed, reset the device inside Calculator::Poll
...
Change-Id: I2d9e2eef4e04b1042a2524a4267569324ad8bcce
2018-04-11 15:40:41 +02:00
Émilie Feral
b566676a76
[apps] Memoize matrix layout displayed in Variable box in global context
2018-04-11 11:53:52 +02:00
Romain Goyet
3613c45381
Merge branch 'master' of ssh://git.numworks.com/Epsilon
2018-04-11 11:01:47 +02:00
Romain Goyet
4c273e10e3
Merge branch 'master' of ssh://git.numworks.com/Epsilon
2018-04-11 11:01:38 +02:00
Léa Saviot
2a251626a6
[apps] When leaving USB mode, go to the last active app.
...
Change-Id: I4c6276525f119cdc9e45bac24629c6ec4ea7b0fe
2018-04-11 11:01:08 +02:00
Émilie Feral
53e56bcda8
[poincare] Characteristic range has to be positive
2018-04-11 10:39:12 +02:00
Romain Goyet
921dab4f6e
Merge branch 'master' of ssh://git.numworks.com/Epsilon
2018-04-11 10:31:54 +02:00
Romain Goyet
8aef4d996c
[python] Restore the should_interrupt routine
2018-04-11 10:27:18 +02:00
Léa Saviot
6ae9361b6e
[apps/code] Fix all scripts deletion.
...
Change-Id: I802673f3d6a8ec6643e11c221bb6dbd5c8ab2ef2
2018-04-11 10:04:18 +02:00
Léa Saviot
28b9e8c301
[apps] If USB connection stops onBoardingApp, relaunch it when leaving USB.
...
Change-Id: I16274134699ff708bf61d64471f6a0ed870ec2ee
2018-04-11 09:54:44 +02:00
Romain Goyet
382537ccfe
Merge branch 'github-master'
2018-04-10 18:28:15 +02:00
Émilie Feral
57d25293e3
[poincare] Avoid computing polynomial degree twice
2018-04-10 17:39:51 +02:00
Émilie Feral
92d2c42ff8
[apps] Code: allocate the indentation buffer instead of using an
...
arbitrary value
2018-04-10 17:39:34 +02:00
Romain Goyet
1b8123e66a
[ion] Error-out on any global variable that needs a constructor
2018-04-10 15:09:30 +02:00
Romain Goyet
628992680b
[ion] Ion::Storage is not a global variable anymore
2018-04-10 15:09:30 +02:00
Romain Goyet
5b379010d8
[apps] Don't make the apps_container_storage a global variable
2018-04-10 15:09:30 +02:00
Romain Goyet
73af1a3d36
[poincare] Don't make Preferences::s_preferences a global variable
2018-04-10 15:09:30 +02:00
Romain Goyet
7de609028c
[poincare] Don't make Integer::k_primorial32 a global variable
2018-04-10 15:09:30 +02:00
Romain Goyet
c090e2aa13
[ion] Remove useless macros
2018-04-10 15:09:30 +02:00
Romain Goyet
e072630437
[ion] Get rid of FORCE_LINK
2018-04-10 15:09:30 +02:00
Léa Saviot
f0532b7f97
[apps] Dismiss the Exam mode before connecting the calculator.
...
Change-Id: If9754841aaa17c677a451387c8c7ec43926890da
2018-04-10 11:30:15 +02:00
Émilie Feral
a9e8cc3f35
[poincare] fix characteristicXRange to take into account radian unit
2018-04-10 11:26:43 +02:00
Léa Saviot
b7fd109f93
[ion] Fix hexNumber().
...
Change-Id: Ic12e3f17ec5e6508613034c4b259eee2fd103be4
2018-04-10 10:17:21 +02:00
Léa Saviot
0e578fa0e6
[ion] Fix Ion::getSerialNumber for simulator.
...
Change-Id: Id6a616695bc43718751a3e3861d0410aa0b35416
2018-04-09 16:30:51 +02:00
Léa Saviot
0419713de0
[ion/usb] Remove Ion::USB::removeSoftDisconnect()
...
Change-Id: I02268dc52aefa9d9d90ed559757f005af49f4732
2018-04-09 15:36:44 +02:00
Léa Saviot
0e977bac00
[ion] Use dummy usb.cpp in simulator.
...
Change-Id: Id7f0e110a661372702d550883b6d341c1b5915d4
2018-04-09 15:35:50 +02:00
Romain Goyet
b691d3d6ed
Merge branch 'usb'
2018-04-09 14:48:18 +02:00
Léa Saviot
3e66d51a6e
[apps/sequence] Reset first rank when changing sequence type to Explicit
...
Change-Id: I3f356ebf95f1f81ab4601f0654166f146a505c27
2018-04-09 14:44:20 +02:00
Romain Goyet
8745a258d4
Remove un-needed headers
...
This fixes some heavily-parallels build failures
2018-04-09 14:43:35 +02:00
Romain Goyet
55e4c955f4
Upgrade to MicroPython 1.9.3
2018-04-09 14:43:15 +02:00