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
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
Romain Goyet
c84216d918
Misc build fixes
2019-03-22 10:38:20 +01:00
Romain Goyet
12c22deb2e
[python] Fix the armv7 build on iOS
2019-03-21 18:24:54 +01:00
Romain Goyet
ec3068204f
[ion/sdl/ios] Add Info.plist attributes to make the AppStore happy
2019-03-21 18:24:29 +01:00
Romain Goyet
f6033bf50e
[ion/sdl/ios] Fix the UIRequiredDeviceCapabilities value
2019-03-21 11:25:06 +01:00
Romain Goyet
d25182d0db
Merge branch 'master' into sdl
2019-03-20 18:03:28 +01:00