Commit Graph

11243 Commits

Author SHA1 Message Date
Léa Saviot
14426eea14 [parsing] Fix constant code point parsing 2019-04-12 15:16:51 +02:00
Léa Saviot
8d759c0b3b [unicode] Use the UTF8Decoder to scan const char * 2019-04-12 15:16:51 +02:00
Léa Saviot
63d7155376 Remove Ion::Charset 2019-04-12 15:16:50 +02:00
Léa Saviot
db54c5bd27 [apps/poincare] Replace CharLayouts with CodePointLayouts 2019-04-12 15:16:50 +02:00
Léa Saviot
956c9fe300 [poincare] CodePointLayout 2019-04-12 15:16:50 +02:00
Léa Saviot
8d584cf37b [kandinsly] Rename utf8decoder as utf8_decoder 2019-04-12 15:16:50 +02:00
Léa Saviot
cf79b26ceb [kandinsky] UTF8Decoder::CodePointToChars 2019-04-12 15:16:50 +02:00
Léa Saviot
02a5d6cd23 [kandinsky] Add KDCodePoint prefix static code points 2019-04-12 15:16:50 +02:00
Léa Saviot
d5df3b74ea Rename Codepoint Code point 2019-04-12 15:16:50 +02:00
Léa Saviot
42ecd20f12 [kandinsky/font] Add comment about UTF-8 2019-04-12 15:16:50 +02:00
Léa Saviot
4cd28dc024 [poincare/parser] Use the UTF8Decoder in the parser 2019-04-12 15:16:50 +02:00
Léa Saviot
834ed75995 [poincare/tokenizer] Coding style 2019-04-12 15:16:50 +02:00
Léa Saviot
f184f1ff36 [kandinsky] Coding style 2019-04-12 15:16:50 +02:00
Léa Saviot
3156f92baf [kandinsky/font] Fix rebase on master 2019-04-12 15:16:50 +02:00
Romain Goyet
865e7cb39e [kandinsky] Add unit tests for UTF-8 decoding and CodepointToIndex 2019-04-12 15:16:50 +02:00
Romain Goyet
6fac2120fe [i18n] Encode strings as NFKD-normalized UTF-8 strings 2019-04-12 15:16:50 +02:00
Romain Goyet
39e01f1d4c [kandinsky] The rasterizer encodes Unicode codepoints 2019-04-12 15:16:50 +02:00
Romain Goyet
8106ba6371 [kandinsky] Assume UTF-8 encoding for strings 2019-04-12 15:16:50 +02:00
Léa Saviot
52ae2a2643 [apps/calc] approximateOutput handles unparsable m_approximateOutputText
This fixes a crash when computing:
[[1, 0, -1, 0][0, 1, 1, 0][0, 2, 0, 1][1, 0, 0, 1]]^(-1)
2019-04-12 15:16:05 +02:00
Léa Saviot
0f9c1346f8 [hardware_test] VBlank test 2019-04-12 15:13:14 +02:00
Émilie Feral
43725bcac2 [ion] Keyboard: specify different keyboard layouts per platform/model 2019-04-12 15:01:58 +02:00
Léa Saviot
b7cdd34ec1 [ion] Power: add missing macro to build N0100 2019-04-12 11:39:43 +02:00
Émilie Feral
25ba28a03e [ion] Keyboard: add missing macro to build N0100 2019-04-12 11:34:18 +02:00
Léa Saviot
5df04affd6 [ion/n0100] Fix DFU 2019-04-12 11:33:22 +02:00
Léa Saviot
ea56535384 [apps/apps_container] Redraw the window after displaying exam pop up 2019-04-12 11:13:37 +02:00
Émilie Feral
3fa902f814 [ion] Power: implement standby 2019-04-12 10:25:26 +02:00
Émilie Feral
b13500699b [apps] Typo 2019-04-12 10:25:26 +02:00
Émilie Feral
1ba7379021 [ion] External flash: fix deep sleep and release sleep deep 2019-04-12 10:25:26 +02:00
Léa Saviot
347057e9ac [ion/n0100] Calibrate msleep 2019-04-12 10:16:26 +02:00
Léa Saviot
26bb33555b [ion] Increase RAM_BUFFER space in dfu.ld 2019-04-11 17:25:43 +02:00
Léa Saviot
a4ef4bdd57 [ion] In dfu.ld, keep sStandardFrequency symbol 2019-04-11 17:24:45 +02:00
Léa Saviot
10b69685bc [ion] Make sStandardFrequency static 2019-04-11 17:23:32 +02:00
Émilie Feral
a9c0f1a4ba [ion] Board: clean standardFrequency 2019-04-11 16:39:38 +02:00
Émilie Feral
abfa71d06c [ion] Add PWR regs 2019-04-11 16:10:33 +02:00
Émilie Feral
26e8e8b657 [ion] Fix PWR regs 2019-04-11 16:10:33 +02:00
Émilie Feral
73fcc71c7b [ion] Power: VOS (regulartor voltage scaling) can only be update when
the PLL is off
2019-04-11 16:10:33 +02:00
Émilie Feral
9eeccadd54 [ion] Power: update sLastUSBPlugged & sLastBatteryCharging while asleep 2019-04-11 16:10:33 +02:00
Émilie Feral
5dd0098981 [apps][ion] Handle LED color concurrency between exam mode and charging
state
2019-04-11 16:10:33 +02:00
Léa Saviot
98ddca8321 [ion/n0100] Add missing dummy file 2019-04-11 16:08:54 +02:00
Émilie Feral
3a57b2e7d2 [ion] Change LED color when charging: yellow --> orange 2019-04-11 10:16:21 +02:00
Émilie Feral
f123f1afaa [ion] Power: fix LED update when sleeping 2019-04-11 10:16:21 +02:00
Émilie Feral
f275b91c8c [ion] WakeUp: fix comments 2019-04-11 10:16:21 +02:00
Émilie Feral
326799abf7 [ion] Discard useless comment 2019-04-11 10:16:21 +02:00
Émilie Feral
538172609a [ion] Power: move clock configuration in sleep mode from Power to Board::initClock 2019-04-11 10:16:21 +02:00
Émilie Feral
26ea5718b5 [ion] ExternalFlash: record the operating mode to avoid sending Single
SPI command when in Quad SPI mode and vice versa
2019-04-11 10:16:21 +02:00
Émilie Feral
ba4d8e6a06 [ion] Power: While suspended, update LED with charging or plug 2019-04-11 10:16:21 +02:00
Émilie Feral
1069834909 [ion] Link: KDColor can be used in Ion::LED::setColor, the KDColor symbols
should be in the internal flash
2019-04-11 10:16:21 +02:00
Émilie Feral
140460dff2 [ion] Re-order platform events (plug, enumeration, charging) 2019-04-11 10:16:21 +02:00
Émilie Feral
f89b46ed78 [apps] Redraw battery pictogram after a reset 2019-04-11 10:16:21 +02:00
Émilie Feral
07f37ddac3 [apps] AppsContainer: update LED color with events: etnumeration, plug,
charging
2019-04-11 10:16:21 +02:00