Commit Graph

244 Commits

Author SHA1 Message Date
Léa Saviot
7c5cf82598 [apps/cartesian_function] When changing plot type, recompute unknowns 2019-09-12 10:38:51 +02:00
Léa Saviot
d9f650d283 [ion/utf8_helper] HasCodePoint 2019-09-09 13:30:04 +02:00
Léa Saviot
5235f74852 [ion/storage] Memoize last retrieved record
Faster Graph navigation
2019-08-30 10:47:15 +02:00
Ruben Dashyan
ee1cdea837 [apps/shared/cartesian_function] Function symbol depends on its plot type 2019-08-29 11:07:22 +02:00
Ruben Dashyan
a8810ef066 Use UCodePointUnknownX instead of UCodePointUnknownN 2019-08-29 11:07:21 +02:00
Léa Saviot
601827e790 [poincare/serializ_hlpr] Use SerHlpr::CodePoint, not UTF8Decoder
SerializationHelper::CodePoint puts a null-terminating char
2019-08-08 17:22:06 +02:00
Léa Saviot
a2bda4b955 [ion/utf8_helper] Fix RemoveCodePoint
The index to update was not updated properly
2019-08-08 16:19:53 +02:00
Léa Saviot
b2efb478e6 [ion/utf8_helper] Remove unused method parameter 2019-08-08 16:19:53 +02:00
Léa Saviot
f5a7a44546 [apps/ion] Factorize code and TODO 2019-08-07 11:15:28 +02:00
Léa Saviot
a450ce3855 Merge branch 'master' into f7 2019-08-06 17:40:14 +02:00
Léa Saviot
606e132747 [apps/bench] Change LCD Data pattern (tiling red/blue/green) 2019-07-12 17:50:38 +02:00
Léa Saviot
bf9ba7b363 [apps/hardware_test] ColorsLCDTest 2019-07-05 12:25:50 +02:00
Léa Saviot
2fdbf2ea11 [poincare] VerticalOffsetLyt serializes as ^().
UCodePointLeftSuperscript and UCodePointRightSuperscript no longer exist
2019-06-26 14:03:08 +02:00
Léa Saviot
6109903f66 [poincare/serialization] Use system parentheses to serialize
This solves the problem :

 (1
 --- that serialized as ((1)/(2)), which was valid
  2)
2019-06-26 14:03:08 +02:00
Léa Saviot
5a8596acd7 [ion/utf8_helper] Put default parameter in RemovePreviousGlyph 2019-06-21 14:30:14 -04:00
Léa Saviot
5f549b514e [escher] Fix backspace on utf8 combining code point 2019-06-21 14:30:14 -04:00
Léa Saviot
1043426c40 [ion/utf8] next/previousGlyphPosition methods and tests 2019-06-21 14:30:14 -04:00
Émilie Feral
0d1efdfd78 Merge branch 'master' into f7 2019-06-13 12:12:55 -04:00
Léa Saviot
2061c5d692 [escher/text_area] Fix text indentation handling
We used a small buffer to preprocess a text to insert in text area (add
indentation, remove empty code points, compute the next cursor location),
but the size of this buffer was sometimes too small and caused a crash.
Now we do all the text odification in place in the text area buffer.
2019-06-13 11:40:13 -04:00
Léa Saviot
50bbae5e06 [ion/unicode] StringGlyphLength method 2019-06-13 10:37:47 -04:00
Léa Saviot
6e27c7aec7 [ion/crc] Fix crc: n0100 does not have 8-bits hardware implementation 2019-06-06 14:34:09 +02:00
Léa Saviot
22d6cfedda Merge branch 'version-11' into f7 2019-06-06 10:10:50 +02:00
Léa Saviot
8597f47c36 [apps/POSTAndHWTest] In LCDDataOK iterate on Text and Tiling tests 2019-05-29 14:06:42 +02:00
Léa Saviot
9a1eb3ede9 [ion/display] Add timeout in waitForVBlank 2019-05-22 16:49:15 +02:00
Léa Saviot
c85358967b [POST/HardwareTest] Change pattern in LCDDataTest
The pattern is a tiling of checkers of colors 2**k with k between 0 and
15 and their contraries.
This fixed a problem of failing LCD screens not detected.
2019-05-22 16:49:15 +02:00
Émilie Feral
8b926612a2 Revert "[ion] Namespace Ion::UTF8Helper and Ion::UTF8Decoder"
This reverts commit 23da0d3f2c.
2019-05-03 16:29:28 +02:00
Léa Saviot
1d26e6da73 [ion/unicode] Clean special code points 2019-05-03 15:53:21 +02:00
Émilie Feral
15a4072fdc [ion] Move Storage extensions declaration in Storage class 2019-05-03 15:53:20 +02:00
Émilie Feral
09bc4f27e9 [ion] Add Macro to log the storage content 2019-05-03 15:53:20 +02:00
Léa Saviot
3f0bdc6630 [escher] Fix TextArea::handleEventWithText
It did not handle properly a new line (placed the cursor wrongly).
2019-05-03 15:53:20 +02:00
Léa Saviot
5494cea1c7 [unicode] Comment about avoiding accents in literals 2019-05-03 15:53:20 +02:00
Léa Saviot
e338577793 [unicode] Clean decoder use 2019-05-03 15:53:20 +02:00
Léa Saviot
4c5251f04f [unicode] Use unicode when dealing with chars - Part 2 2019-05-03 15:53:19 +02:00
Léa Saviot
12e1f6be58 [unicode] Fix stop condition of CopyAndRemoveCodePoint 2019-05-03 15:53:19 +02:00
Léa Saviot
7f4ef39d0c [text_area] Fix Text::Position use with unicode
A glyph offset is not equivalent to a code point offset since a code
point can be several glyphs long.
2019-05-03 15:53:19 +02:00
Léa Saviot
94b4cbc8d5 [unicode] Fix python area 2019-05-03 15:53:19 +02:00
Léa Saviot
2f3aa51c8c [unicode] Use unicode when dealing with chars - Part 1 2019-05-03 15:53:19 +02:00
Léa Saviot
39f6f4f5bb Remove compilation warnings 2019-05-03 15:53:19 +02:00
Léa Saviot
f9fbcabb30 [escher/ion] Factorize code for removing a code point in text field/area 2019-05-03 15:53:19 +02:00
Léa Saviot
9e06b23bbb [escher/ion] Standard methods in UTF8Helper used in text_area
String manipulations need to be done using an UTF8 decoder, but some
manipulations can be optimized if the code points we manipulate are only
one char long. These optimizations are done inside UTF8Helper methods.
2019-05-03 15:53:19 +02:00
Léa Saviot
e6b61b257b [unicode] Methods optimized when code points are one char long 2019-05-03 15:53:19 +02:00
Léa Saviot
bbb10f1993 [ion/kandinsky] Move unicode to ion 2019-05-03 15:53:19 +02:00
Léa Saviot
65e5adafac Remove Ion::Charset 2019-05-03 15:53:19 +02:00
Émilie Feral
23da0d3f2c [ion] Namespace Ion::UTF8Helper and Ion::UTF8Decoder 2019-04-29 18:01:30 +02:00
Léa Saviot
8e3fa8c2e3 [apps/POST] Test not performed if calculator plugged 2019-04-29 10:18:28 +02:00
Léa Saviot
380ac52cd8 [ion/crc32] crc32Byte and crc32Word 2019-04-25 17:11:06 +02:00
Léa Saviot
69593bd0be [apps/on_boarding] Visually hide the LCD POST to the user
By initing the backlight after the test, not before.
2019-04-25 09:43:44 +02:00
Léa Saviot
da5a2d15f7 [apps/on_boarding] Power-on self-test
POST checks the battery, VBLANK and LCDData
2019-04-24 16:18:55 +02:00
Émilie Feral
5237d95c21 [ion] Events: add event "%" on Alpha+Backspace 2019-04-16 11:13:45 +02:00
Émilie Feral
a5919f128c [ion] Power: fix names; Power key actually refers to OnOff key (to avoid
confusing with exponentiation key)
2019-04-12 16:56:57 +02:00