Commit Graph

20 Commits

Author SHA1 Message Date
Émilie Feral
4e5b68b45d [escher] Fix bug due to int32 overflow
Change-Id: If9760bd9082b7e3f8ebea04cef1df63bae39a2a6
2017-09-27 17:41:33 +02:00
Émilie Feral
feeec6b826 [escher] Add behaviour for end and origin events
Change-Id: I363dad3c566289a285179a9f26d3a779f0ff812f
2017-09-27 10:28:16 +02:00
Émilie Feral
8a50b42611 [escher] Fix bug in text area (afl-fuzz) 2017-09-06 17:40:46 +02:00
Adrien Bertrand
f34bf67bab build: fix warnings
* escher/src/text_area.cpp:113:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
* liba/src/external/openbsd/k_rem_pio2f.c:66:54: disable -Wmisleading-indentation
2017-08-30 13:01:22 +02:00
Émilie Feral
71c11bd22c [escher] In text area, change the behaviour of clear event
Change-Id: I4bc49d54f84a2db7155c63d962a2c28fe3c614a5
2017-08-28 11:51:11 +02:00
Émilie Feral
b15d65eb7a [escher] Implement clear in text area
Change-Id: Id3c636a1dfc95c8989c6226db962e3e7d180d271
2017-08-25 11:20:48 +02:00
Émilie Feral
8715c53d7e [escher] Correct buffer limits check in text area
Change-Id: Id7653bc36cac300f3205c04cfa5f6c0d17b6f84d
2017-08-25 11:20:48 +02:00
Émilie Feral
8f65fb6535 [escher] In text area, correct move cursor
Change-Id: I4705129f3739c0548381a555f03e6ca08704bec7
2017-08-24 14:05:24 +02:00
Émilie Feral
779db66a15 [escher] In text area, optimize the dirty tracking
Change-Id: Icfee9e22ea4f3423064eca764491da10e1b603b6
2017-08-24 14:05:24 +02:00
Émilie Feral
5f14bba390 [escher] In text area, add bounds check to moveCursorIndex
Change-Id: I1768cad3706e1530ee74803242296301ba53ae1e
2017-08-18 13:34:35 +02:00
Émilie Feral
0449f535da [escher] In text area, EXE insert a \n
Change-Id: Ib170c6eea16ff961f6a9daee4dd94b96b6fef333
2017-08-18 13:34:35 +02:00
Émilie Feral
212384986f [escher] Fix insert text in text area
Change-Id: Ia488811bfbc7399fb3a5fa8390bd693e35639008
2017-08-18 13:34:34 +02:00
Émilie Feral
46990e1c25 [escher] Make textField used scroll view methods instead of duplicating
them

Change-Id: I10ca0b02f8a87797ce678041cba54c116961ce5c
2017-08-18 13:34:34 +02:00
Émilie Feral
ee51729eba [escher] Move from table view to scroll view the method a update the
scroll to the size of the content view

Change-Id: I2c4aa457425bf5a8a484aecc061ae27453e9aabb
2017-08-18 13:34:29 +02:00
Émilie Feral
06b47f363e [escher] In text area, fix bug regarding the size of the area
Change-Id: I2f04eedfd98373702e48e0abda421afe2c0540fa
2017-08-17 16:21:22 +02:00
Émilie Feral
85ee2d2a83 [escher] In text area, clean warnings due to comparisons between sign
and unsigned int

Change-Id: If744543a1955c8a9fe5987c43b24d863164c56a3
2017-08-17 16:21:22 +02:00
Émilie Feral
5c4740913b [kandinsky] Replace KDText::stringSize(" ") by KDText::charSize()
Change-Id: Ie962d7784b54ff41431d21f64d9af0887a86f9b7
2017-08-17 16:21:17 +02:00
Romain Goyet
4e08d520da [escher] TextArea can now edit its content
Change-Id: I129a184bc94975c8dd5fd2e7b8c63309978bff02
2017-08-04 17:27:37 +02:00
Romain Goyet
20e1554a13 [escher] First working TextArea implementation
Change-Id: Iae9618f54813be9f116d4797feec6fd163a37a66
2017-08-03 23:28:24 +02:00
Romain Goyet
298a308f36 [escher] Add a TextArea view
Change-Id: I3dccb4baf806491dcd06050c4fd5d43b982c8f57
2017-08-03 18:41:17 +02:00