Commit Graph

163 Commits

Author SHA1 Message Date
Léa Saviot
cea413e91d [apps] Fix Orthonormal setting in graphs
It was not perfectly orthormal.
2019-01-10 11:42:02 +01:00
Léa Saviot
de339c44ae [apps] Handle StorageFunction::m_color unaligned read on emscripten 2018-12-12 17:49:51 +01:00
Léa Saviot
0ecaea0695 [poincare] Fix power serialization 2018-11-26 14:07:42 +01:00
Émilie Feral
0a9437e8dc [ion] Storage: add a method destroyAllRecords 2018-11-23 12:04:10 +01:00
Léa Saviot
67f940dfd2 [poincare] Fix VerticalOffsetLayout serialization
"2^3 !" would be serialized as "2^3*!", which is wrong. It is now serialized
as "2 Ion::Charset::Superscript 3 Ion::Charset::Superscript !" and
parsed correctly.
2018-11-23 12:04:09 +01:00
Léa Saviot
0670057f90 [apps/graph] Destroy variable record with same name when renaming func 2018-11-23 12:04:06 +01:00
Léa Saviot
91d6955ddf [apps] The apps displays a warning when storage is full 2018-11-23 12:04:04 +01:00
Léa Saviot
9bfaed583d [apps/escher/ion] Remove Graph memoized models on storage change 2018-11-23 12:04:03 +01:00
Léa Saviot
38f3c5b16d [ion] Storage delegate gets notified of storage changes 2018-11-23 12:04:03 +01:00
Léa Saviot
933838ff5e [apps/graph] Rename functions 2018-11-23 12:04:02 +01:00
Léa Saviot
2442627e3c [apps] Remove attributes from StorageExpressionModel and derivates 2018-11-23 12:04:00 +01:00
Léa Saviot
ac1e79f907 [apps/graph] Display the function's whole name 2018-11-23 12:04:00 +01:00
Léa Saviot
354b6e9c72 [apps] First attempt at bridging Funciton app with the shared storage 2018-11-23 12:04:00 +01:00
Léa Saviot
1830070a95 [ion] Method to destroy all records with given extension in Storage 2018-11-23 12:03:59 +01:00
Léa Saviot
5a5deedb84 [ion] Coding style of static functions in Storage 2018-11-23 12:03:59 +01:00
Léa Saviot
6993d45fe9 [ion] Add crc32 test 2018-11-23 12:03:59 +01:00
Léa Saviot
1fe6881171 [ion] Fix coputation of Record name crc32 2018-11-23 12:03:59 +01:00
Léa Saviot
868f17c1c7 [ion] Add method implementation in Storage 2018-11-23 12:03:58 +01:00
Léa Saviot
52a21198a4 [apps/ion] Use the new storage API 2018-11-23 12:03:58 +01:00
Léa Saviot
11b98bb13e [ion] Add test on Storage 2018-11-23 12:03:58 +01:00
Léa Saviot
a4868c8b09 [poincare] Ion::Storage handles fullnames and basenames with extensions 2018-11-23 12:03:58 +01:00
Romain Goyet
a3d6d6ddd6 [ion/timing] Cleanup 2018-11-15 16:19:07 +01:00
Romain Goyet
888d6cf7f4 [ion/timing] millis return uint64_t
Otherwise we could loop after a month or so
2018-11-15 15:20:12 +01:00
Romain Goyet
07a768ace6 [ion/timing] Use explicit integer types 2018-11-15 15:18:19 +01:00
Romain Goyet
1b57bc39c0 [ion] Discard micros() as those aren't used for now 2018-11-15 14:12:17 +01:00
Damien Nicolet
24630011b1 [code] keep only CPython equivalent functions in utime module 2018-11-10 00:00:03 +01:00
Damien Nicolet
9b818bd963 [ion] fix sleep functions in emscripten build 2018-11-09 01:36:38 +01:00
Damien Nicolet
f93bf97182 [ion] Sharing millis & micros for blackbox and simulator 2018-11-09 01:30:22 +01:00
Damien Nicolet
c0c0905b84 [ion] millis() and micros() returns uint32_t and are defined in their own header 2018-11-09 01:30:22 +01:00
Damien Nicolet
940270e78a [ion] add millis() and micros() using systick on device 2018-11-09 01:30:22 +01:00
Romain Goyet
9825c73238 [ion/emscripten] Actual implementation of Ion::Keyboard::scan
This allows interrupting Python scripts on the Emscripten port
2018-11-08 17:11:17 +01:00
Romain Goyet
f1198d3c76 [ion] Add Ion::stackSafe
This allows asserting the stack is within bounds
2018-10-12 09:36:44 +02:00
Romain Goyet
f4f567814e [escher] Compress images 2018-10-12 09:36:44 +02:00
Émilie Feral
eebb405cd5 [kandinsky] Add the degree symbol to Charset 2018-09-25 15:13:31 +02:00
Émilie Feral
0bcf3ec65c [ion] Storage: increase size and indicates it in the header 2018-09-21 17:04:42 +02:00
Émilie Feral
c95c3145bc Merge remote-tracking branch 'github/master' into Tree 2018-09-13 17:03:31 +02:00
Émilie Feral
08077cb141 [ion] Storage: make Storage::nameCompliant less restrictive (accepts
.*\.[a-z]+). But Script::nameCompliant is stricted: [a-z_0-9.]*
2018-09-13 11:33:15 +02:00
Émilie Feral
79740e72b0 [code] Avoid dynamic allocation and useless string copy by keeping the
importation status flag in the areaBuffer
2018-09-11 17:03:04 +02:00
Émilie Feral
3177b26f30 [ion] Clean LED API 2018-08-27 09:53:47 +02:00
Émilie Feral
4613dd9d8f [ion] Change LED API 2018-08-23 17:40:47 +02:00
Émilie Feral
7d358a2646 Merge branch 'rtc_part1' of https://github.com/boricj/epsilon into exam_mode_boricj 2018-08-22 17:20:04 +02:00
Émilie Feral
f992253cec [ion] Add a special char: CapitalDelta 2018-06-07 13:46:18 +02:00
Léa Saviot
3b582a2e46 Merge branch 'SaisieJolie30Apr' into SaisieJolie8May
Change-Id: Ia4196119fc56c5bc3423aea752b49f3f7ba39499
2018-05-08 15:17:51 +02:00
Romain Goyet
a29c775663 [ion] Encode the serial number in Base64
Also, expose serialNumber() in Ion and keep "copySerialNumber" in
Ion::Device. This allows the DFU bootloader to remain .bss-free.
2018-05-04 17:31:41 +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
e90b3fd1cd Merge branch 'SaisieJolieMerge10Apr' into SaisieJolieMerge11Apr (master)
Change-Id: I06732115ee37ffd9a037a8412e1c57751dfb3e0f
2018-04-12 09:58:09 +02:00
Léa Saviot
c4b5d4cf40 Merge branch 'SaisieJolieRebase1201' into SaisieJolieMerge10Apr
Change-Id: I802dbb9f7c0eebf75a1b6cd21ddd194e89b53752
2018-04-10 17:21:54 +02:00
Romain Goyet
628992680b [ion] Ion::Storage is not a global variable anymore 2018-04-10 15:09:30 +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
55d56b3927 [usb] Send real serial number in the device descriptor.
Change-Id: Ie64f2a0fb03913600c96986dab8171afaa6bf05b
2018-04-06 14:31:49 +02:00