Commit Graph

7690 Commits

Author SHA1 Message Date
Léa Saviot
87d7d58832 [poincare] Fix Decimal serialization 2019-05-03 15:53:19 +02:00
Léa Saviot
2e65bd3e51 [poincare] Clearer CodePointLayout log 2019-05-03 15:53:19 +02:00
Léa Saviot
5df9e0af71 Use correct unicode symbols 2019-05-03 15:53:19 +02:00
Léa Saviot
4e93a564b6 [escher/ion] Fix wrong assertions 2019-05-03 15:53:19 +02:00
Léa Saviot
37d05a237f [apps] In consexpr char *, empty layouts should be inserted using /x11 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
47e9be2574 [apps] Fix SumGraphController use of CodePointString 2019-05-03 15:53:19 +02:00
Léa Saviot
c476ea5380 [escher/text_field] Fix removeCodePoint rect dirtying 2019-05-03 15:53:19 +02:00
Léa Saviot
b006b0c7ae [utf8_decoder] Fix previousCodePoint 2019-05-03 15:53:19 +02:00
Léa Saviot
34fc647ccd [escher/text_field] Code cleaning 2019-05-03 15:53:19 +02:00
Léa Saviot
4688e9535f [apps] Calling draftTextLength should be done only if text field is editing 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
293517892c Remove useless comment 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
adf5bd3174 [utf8_decoder] Better code for CharSizeOfCodePoint 2019-05-03 15:53:19 +02:00
Léa Saviot
bd2ea41fbe [apps/escher] Rename cursorTextLocation as cursorLocation 2019-05-03 15:53:19 +02:00
Léa Saviot
6765de4598 [apps/regression] Add X bar and Y bar 2019-05-03 15:53:19 +02:00
Léa Saviot
496d346049 Remove max/min inline from KDCoordinate header 2019-05-03 15:53:19 +02:00
Léa Saviot
a7b51f92ee [apps] Remove compilation warning about unused variable 2019-05-03 15:53:19 +02:00
Léa Saviot
cfbb1318ad [escher] Clean TextView 2019-05-03 15:53:19 +02:00
Léa Saviot
7b5c51b3c3 [escher] Fix textfield edition 2019-05-03 15:53:19 +02:00
Léa Saviot
7b15c302a7 [ion/tests] More UTF8Decoder tests 2019-05-03 15:53:19 +02:00
Léa Saviot
90bc0dae87 [kandinsky] Comment about the CodePoints array 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
6b6d3d7fe2 [tests] Fix unicode for tests 2019-05-03 15:53:19 +02:00
Léa Saviot
76e6860f83 Remove TODOs 2019-05-03 15:53:19 +02:00
Léa Saviot
f0e8196016 [escher] Fix text field and text area navigation 2019-05-03 15:53:19 +02:00
Léa Saviot
5c39cab73e [escher] Fix text inputs so they use UTF8 2019-05-03 15:53:19 +02:00
Léa Saviot
07a910b455 [escher] Clean text_input 2019-05-03 15:53:19 +02:00
Léa Saviot
7a1fd68626 [poincare/utf8_decoder] nextCodePointPointer is now stringPosition 2019-05-03 15:53:19 +02:00
Léa Saviot
fdfb568805 [poincare/serialization_helper] Clean 2019-05-03 15:53:19 +02:00
Léa Saviot
948f62ddff [poincare/serialization_helper] Clean CodePoint 2019-05-03 15:53:19 +02:00
Léa Saviot
d57e28bdc7 [poincare] Clean parsing with unicodes 2019-05-03 15:53:19 +02:00
Léa Saviot
28545869be [kandinsky] Use new unicodes in fonts for Exponential, mu and i complex 2019-05-03 15:53:19 +02:00
Léa Saviot
501aa01fe7 [kandinsky] Remove obsolete calls to files 2019-05-03 15:53:19 +02:00
Léa Saviot
4bd2f6b156 [kandinsky] Fix CodePoint uint32_t cast operator 2019-05-03 15:53:19 +02:00
Léa Saviot
f304ad854f [kandinsky] Remove obsolete values 2019-05-03 15:53:19 +02:00
Léa Saviot
f4e887309d [parsing] Fix constant code point parsing 2019-05-03 15:53:19 +02:00
Léa Saviot
41afa92f10 [unicode] Use the UTF8Decoder to scan const char * 2019-05-03 15:53:19 +02:00
Léa Saviot
65e5adafac Remove Ion::Charset 2019-05-03 15:53:19 +02:00
Léa Saviot
f576e31ff1 [apps/poincare] Replace CharLayouts with CodePointLayouts 2019-05-03 15:53:19 +02:00
Léa Saviot
3f56cb7041 [poincare] CodePointLayout 2019-05-03 15:53:19 +02:00
Léa Saviot
1a55c2023b [kandinsly] Rename utf8decoder as utf8_decoder 2019-05-03 15:53:19 +02:00
Léa Saviot
1928e267a9 [kandinsky] UTF8Decoder::CodePointToChars 2019-05-03 15:53:19 +02:00
Léa Saviot
c31fe3856a [kandinsky] Add KDCodePoint prefix static code points 2019-05-03 15:53:19 +02:00
Léa Saviot
50ac72107b Rename Codepoint Code point 2019-05-03 15:53:19 +02:00