Commit Graph

11243 Commits

Author SHA1 Message Date
Léo Solé
e4526124f9 [unicode] Fix Spanish literals 2019-04-12 15:16:52 +02:00
Léo Solé
387cf996c0 [unicode] Add accents in french litterals 2019-04-12 15:16:52 +02:00
Léa Saviot
e5afda96c2 [poincare] Fix printFloat buffer legnths.
Some code points are not 1 byte long.
2019-04-12 15:16:51 +02:00
Léa Saviot
ccc1d51634 [ion/storage] fix use of unicode method 2019-04-12 15:16:51 +02:00
Léa Saviot
a214bbdc5a [unicode] Use unicode when dealing with chars - Part 2 2019-04-12 15:16:51 +02:00
Léa Saviot
68db4620ba [escher/text_area] Fix rect dirtying after Clear event 2019-04-12 15:16:51 +02:00
Léa Saviot
c9feec7cd7 [unicode] Fix stop condition in TextArea::Text::removeRemainingLine 2019-04-12 15:16:51 +02:00
Léa Saviot
f4cf7530f6 [unicode] Fix stop condition of CopyAndRemoveCodePoint 2019-04-12 15:16:51 +02:00
Léa Saviot
f5f172ce67 [unicode] Fix code point serialization 2019-04-12 15:16:51 +02:00
Léa Saviot
32ad041336 [poincare] Fix Decimal serialization 2019-04-12 15:16:51 +02:00
Léa Saviot
2c2c62b61b [poincare] Clearer CodePointLayout log 2019-04-12 15:16:51 +02:00
Léa Saviot
6251a8ac33 Use correct unicode symbols 2019-04-12 15:16:51 +02:00
Léa Saviot
3bc9a390bf [escher/ion] Fix wrong assertions 2019-04-12 15:16:51 +02:00
Léa Saviot
8403eb4704 [apps] In consexpr char *, empty layouts should be inserted using /x11 2019-04-12 15:16:51 +02:00
Léa Saviot
646931b3b5 [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-04-12 15:16:51 +02:00
Léa Saviot
1f76cd65f3 [apps] Fix SumGraphController use of CodePointString 2019-04-12 15:16:51 +02:00
Léa Saviot
0a95276be9 [escher/text_field] Fix removeCodePoint rect dirtying 2019-04-12 15:16:51 +02:00
Léa Saviot
4ecb0a6815 [utf8_decoder] Fix previousCodePoint 2019-04-12 15:16:51 +02:00
Léa Saviot
0b05480aaf [escher/text_field] Code cleaning 2019-04-12 15:16:51 +02:00
Léa Saviot
eb80005bde [apps] Calling draftTextLength should be done only if text field is editing 2019-04-12 15:16:51 +02:00
Léa Saviot
5be803ac45 [unicode] Fix python area 2019-04-12 15:16:51 +02:00
Léa Saviot
784381bd33 [unicode] Use unicode when dealing with chars - Part 1 2019-04-12 15:16:51 +02:00
Léa Saviot
b59d568063 Remove useless comment 2019-04-12 15:16:51 +02:00
Léa Saviot
79dc1dc2b9 Remove compilation warnings 2019-04-12 15:16:51 +02:00
Léa Saviot
0ebfab773e [escher/ion] Factorize code for removing a code point in text field/area 2019-04-12 15:16:51 +02:00
Léa Saviot
aac78ca32a [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-04-12 15:16:51 +02:00
Léa Saviot
e6051fae42 [unicode] Methods optimized when code points are one char long 2019-04-12 15:16:51 +02:00
Léa Saviot
1048478cd2 [utf8_decoder] Better code for CharSizeOfCodePoint 2019-04-12 15:16:51 +02:00
Léa Saviot
7020ecef57 [apps/escher] Rename cursorTextLocation as cursorLocation 2019-04-12 15:16:51 +02:00
Léa Saviot
ef4725f8b9 [apps/regression] Add X bar and Y bar 2019-04-12 15:16:51 +02:00
Léa Saviot
43031928c3 Remove max/min inline from KDCoordinate header 2019-04-12 15:16:51 +02:00
Léa Saviot
f43170e7cf [apps] Remove compilation warning about unused variable 2019-04-12 15:16:51 +02:00
Léa Saviot
03446bc9d1 [escher] Clean TextView 2019-04-12 15:16:51 +02:00
Léa Saviot
0fdf6665ad [escher] Fix textfield edition 2019-04-12 15:16:51 +02:00
Léa Saviot
9184ade87b [ion/tests] More UTF8Decoder tests 2019-04-12 15:16:51 +02:00
Léa Saviot
7df8c975c8 [kandinsky] Comment about the CodePoints array 2019-04-12 15:16:51 +02:00
Léa Saviot
b6eb663f53 [ion/kandinsky] Move unicode to ion 2019-04-12 15:16:51 +02:00
Léa Saviot
519e12fd26 [tests] Fix unicode for tests 2019-04-12 15:16:51 +02:00
Léa Saviot
b2f065c957 Remove TODOs 2019-04-12 15:16:51 +02:00
Léa Saviot
4316f2c29c [escher] Fix text field and text area navigation 2019-04-12 15:16:51 +02:00
Léa Saviot
5142c071df [escher] Fix text inputs so they use UTF8 2019-04-12 15:16:51 +02:00
Léa Saviot
242bcda631 [escher] Clean text_input 2019-04-12 15:16:51 +02:00
Léa Saviot
f90e709201 [poincare/utf8_decoder] nextCodePointPointer is now stringPosition 2019-04-12 15:16:51 +02:00
Léa Saviot
66898b207a [poincare/serialization_helper] Clean 2019-04-12 15:16:51 +02:00
Léa Saviot
acb169a9d4 [poincare/serialization_helper] Clean CodePoint 2019-04-12 15:16:51 +02:00
Léa Saviot
217bbf024e [poincare] Clean parsing with unicodes 2019-04-12 15:16:51 +02:00
Léa Saviot
780579265f [kandinsky] Use new unicodes in fonts for Exponential, mu and i complex 2019-04-12 15:16:51 +02:00
Léa Saviot
852303f321 [kandinsky] Remove obsolete calls to files 2019-04-12 15:16:51 +02:00
Léa Saviot
f5b4a7473e [kandinsky] Fix CodePoint uint32_t cast operator 2019-04-12 15:16:51 +02:00
Léa Saviot
9d68560a32 [kandinsky] Remove obsolete values 2019-04-12 15:16:51 +02:00