Boris Faure
76687b2ea2
tytest: those functions must return Eina_Bool
2 years ago
Boris Faure
11abaaa0b4
termio/termptyesc: clean up mess with color classes
2 years ago
Boris Faure
f0404cd5fd
termptyesc: handle xterm 12 to change cursor color
2 years ago
Boris Faure
19fb6afd73
mv src/bin/col.{c,h} src/bin/colors.{c,h}
2 years ago
Boris Faure
4bc712b07d
utils.{c,h} is needed
3 years ago
Boris Faure
ab35c9b7dd
mv utils.{c,h} theme.{c,h}
3 years ago
Boris Faure
196973fcd3
rewrite changing of background/foreground colors from escape codes
3 years ago
Boris Faure
abdef9786c
have define BINARY_TYFUZZ/BINARY_TYTEST
3 years ago
Boris Faure
63815156aa
dumb framework to run unit tests in terminology
3 years ago
Boris Faure
392bfdb4a7
tests: rework tytest.c/tyfuzz.c to no longer #include one in the other
3 years ago
Boris Faure
0b48853597
reduce scope of variables
3 years ago
Boris Faure
d5d61a5b76
termio: hide links when content change underneath
3 years ago
Boris Faure
b76bbbe455
termpty: better handle writes
...
- Use the event loop
- Check for EINTR/EAGAIN
This fixes pasting large amount of data.
Closes T4712
3 years ago
Boris Faure
6bfd508a58
tyfuzz: instead of writing to /dev/null, just do not write
3 years ago
Boris Faure
fb922e0ec4
coverity fixed their stuff, remove hack
4 years ago
Boris Faure
344e466eba
tyfuzz/tytest: fix leak
4 years ago
Boris Faure
7b3110d4a2
termpty: attach a Config * to Termpty
4 years ago
Carsten Haitzler
5c74541206
config - font size - go back to 10 as default
...
so a whole back terminology moved from the shipepd nexus bitmap font
to system monospace fonts and 12 pt. it has always looked wrong as
efl's default theme is 10 and relies on a system-wide scale factor to
do this. 12 has looked totally out of place for a long time and it's
time that this not be hacked around in terminology but be solved at
the system level - maybe efl. if you use e then you will have selected
the scaling factor already and it will affect efl apps and all work.
outside of e is "not solved". to date it's been "other desktosp have
to support efl - up to them". perhaps looking at some level of "well
user has no config so let's guess what scale factor should maybe be
based on dpy and other toolkit configs we can find etc." in EFL... not
terminology.
4 years ago
Boris Faure
33b2d68aa9
termptyesc: handle OSC 11 that reports background color
...
It can also be used to set background color but that's not implemented
4 years ago
Boris Faure
7e677abfb9
termpty: add termpty_color_class_get()
4 years ago
Boris Faure
eaaf63172d
tyfuzz: test terminal is only 24 lines
4 years ago
Boris Faure
2ca440ba93
tytest: use same offset as "real life"
...
makes it easy to write tests
4 years ago
Boris Faure
b7305bfc59
tyfuzz: better mock termio_take_selection()
...
+ fix leak
+ make the code more readable to me
4 years ago
Boris Faure
73f461e281
tytest: add test_textgrid_cellrow_get()
...
to mock evas_object_textgrid_cellrow_get()
4 years ago
Boris Faure
35587220c7
termiointernals: add termio_internal_get_selection()
4 years ago
Boris Faure
43c6777e57
termiointernals: add termio_internal_render()
...
used to test selection invalidation later on
4 years ago
Boris Faure
fd8120091d
tytest: add framework to add special escape codes for tests
4 years ago
Boris Faure
4e38d0d2c7
termio: simplify code by passing sd instead of obj
...
Stub function to get Termio from Evas_Object
4 years ago
Boris Faure
2f432dcd33
tyfuzz: stub functions from termio
4 years ago
Boris Faure
3cc3f3ee2a
add tytest.h and colors_256_get() to be able to test truecolor
4 years ago
Boris Faure
5cef3b68b6
tytest: add write buffer to checksum
4 years ago
Boris Faure
ce07e81180
tests: on cursor shapes and regen tests.results
4 years ago
Boris Faure
4ba31c3fba
tests: differentiate NULL on prop.icon or prop.title
4 years ago
Boris Faure
f83e66a478
add tytest, a tool to add tests on escape sequence parsing
4 years ago
Boris Faure
5e06ee1d78
tyfuzz: support hyperlinks
4 years ago
Boris Faure
7834bede86
include coverity fix as first header
4 years ago
Boris Faure
7855175ea4
tyfuzz: make it compile again!
5 years ago
Boris Faure
dad9e0db58
remove compatibility #ifs to work with EFL < 1.16
5 years ago
Boris Faure
fd05f3cab5
tyfuzz: read escape sequence from file given as argument in available
6 years ago
Boris Faure
387cafa463
tyfuzz needs termpty_resize_tabs()
6 years ago
Boris Faure
c3767594d1
fix compilation with fuzzing enabled
6 years ago
Boris Faure
a0c249e6ca
fix crash when running tyfuzz. not in terminology
7 years ago
Boris Faure
a925de13dc
tyfuzz: read from stdin but write to /dev/null
7 years ago
Boris Faure
7d46ee5062
add tyfuzz utility used for fuzzing the escape code parsing routines
7 years ago