Commit Graph

261 Commits

Author SHA1 Message Date
Boris Faure 7a9d852a0d
coccinelle: use macro MIN/MAX 2022-06-23 22:54:01 +02:00
Boris Faure 62a8e0a021
use DIV_ROUND_UP() 2022-06-19 21:41:03 +02:00
Koichi Murase 40bd9a0161 termpty (_termpty_cell_is_empty): resolve a conflict of color9 vs COL_INVIS 2022-03-14 18:12:02 +09:00
Koichi Murase a3f9887ee4 termpty: move the bitfield "wrapnext" from "ty->termstate" to "ty->cursor_state" 2022-03-04 20:43:16 +09:00
Boris Faure fe47376460
termptyesc: add focus reporting 2021-11-02 23:28:37 +01:00
Carsten Haitzler cb4e0b2feb fix 32bit build warnings - some buglets, some just noise 2021-05-12 20:10:37 +01:00
Boris Faure f7d509a95f
termpty: add some debug 2021-01-07 22:31:59 +01:00
Boris Faure cfdab5a2af
termpty: avoid ERR on exit of shell when keeping screen opened 2021-01-07 22:23:15 +01:00
Boris Faure 759eeb8168
tests: only sleep within testing ui 2020-12-25 11:49:08 +01:00
Boris Faure b7bf2cb8f2
improve translation strings
mostly by remove extra dots
2020-09-15 21:46:22 +02:00
Boris Faure a05db78239
termpty: make provided title as forced title 2020-09-12 17:43:16 +02:00
Boris Faure 9f2f8464f3
Fix typos
Summary: Fix some typos.

Differential Revision: https://phab.enlightenment.org/D12032
2020-07-05 20:19:59 +02:00
Boris Faure 26e91924d9
Get rid of trailing whitespaces
Summary: Remove trailing whitespaces

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D12025
2020-06-24 22:49:17 +02:00
Boris Faure 196973fcd3
rewrite changing of background/foreground colors from escape codes 2020-06-22 23:41:27 +02:00
Boris Faure abdef9786c
have define BINARY_TYFUZZ/BINARY_TYTEST 2020-05-24 18:05:39 +02:00
Boris Faure 9977b8a63b
termpty: set TERM_PROGRAM/TERM_PROGRAM_VERSION env variables 2020-05-06 23:49:00 +02:00
Boris Faure 0b48853597
reduce scope of variables 2020-04-17 23:09:07 +02:00
Boris Faure 2259519d10
video: no need to force emotion engine anymore 2020-04-12 16:59:43 +02:00
Boris Faure d5d96cb655
termpty: only call ecore_main_fd_handler_active_set() on valid fd
+ reformat
2020-04-02 22:56:26 +02:00
Carsten Haitzler 0420b20ef6 exe fd handling - make bsd handling same on linux ... as it must
now i've seen this on linux... so no more ifdef

@fix
2020-01-19 12:27:53 +00:00
Carsten Haitzler bcb4e27bed close fd's from the host terminal so shell doesnt inherit them all
only inherit the fd's we need/want. use eina_file_close_from()
2019-12-06 08:49:40 +00:00
Boris Faure cfbbe60164
Merge branch 'terminology-1.6' 2019-12-05 19:59:44 +01:00
Boris Faure a782ce61e2
test return of ty_sb_add(). Closes CID1408482 2019-12-05 19:08:05 +01:00
Boris Faure 20b656d1f4
Merge branch 'terminology-1.6' 2019-12-04 23:16:30 +01:00
Boris Faure b76bbbe455
termpty: better handle writes
- Use the event loop
- Check for EINTR/EAGAIN

This fixes pasting large amount of data.

Closes T4712
2019-12-04 23:13:30 +01:00
Boris Faure 6bfd508a58
tyfuzz: instead of writing to /dev/null, just do not write 2019-12-04 21:44:37 +01:00
Boris Faure 1eb9b4cb80
Merge branch 'terminology-1.6' 2019-12-02 23:45:49 +01:00
Boris Faure 99d8436f5a
termpty: retry read() on EINTR 2019-12-02 23:42:38 +01:00
Boris Faure a5aaeefc18
remove condition on if (X) eina_stringshare_del(X) 2019-11-29 23:31:14 +01:00
Boris Faure cf80e70faf
backlog: move related functions to that file 2019-11-24 16:12:26 +01:00
Boris Faure 62302496dc
git mv src/bin/termptysave.{c,h} src/bin/backlog.{c,h} 2019-11-23 18:31:23 +01:00
Boris Faure 77ed56bf00 termpty: reduce log severity 2019-09-08 21:25:52 +02:00
Boris Faure 7b3110d4a2 termpty: attach a Config * to Termpty 2019-06-23 22:02:50 +02:00
Boris Faure 7e677abfb9 termpty: add termpty_color_class_get() 2019-05-26 22:55:22 +02:00
Boris Faure f6d6ce481e termpty: fix unsigned comparison 2019-05-26 22:54:38 +02:00
Carsten Haitzler 03d15389a5 fix sign compare warn - no real bug to see here 2019-05-13 15:03:32 +01:00
Boris Faure 16ee36dbe3 termio: decode pasted string as utf8 and skip some codepoints
Should fix issue pasting codepoints that fit on multiple bytes
2019-05-03 23:27:29 +02:00
Boris Faure 0f45747925 termpty: fix _termpty_cell_is_empty()
was not working on cell = {}
2019-03-01 13:23:02 +01:00
Boris Faure 48496b2eb5 termpty: cell is empty if bg is invisible. Closes T7707 2019-02-24 17:06:31 +01:00
Boris Faure e024618dba termpty: compute exact line length in termpty_cellrow_get() 2019-02-21 18:42:28 +01:00
Boris Faure 8841e5259a Merge branch 'terminology-1.3' 2019-01-04 23:37:48 +01:00
Boris Faure 007dfb60e3 termpty: reset circular_offset2 (for the 2nd buffer) to 0 (as it's cleared)
Closes T7543
2019-01-04 23:35:48 +01:00
Boris Faure 5cef3b68b6 tytest: add write buffer to checksum 2018-12-27 22:14:44 +01:00
Boris Faure f83e66a478 add tytest, a tool to add tests on escape sequence parsing 2018-12-27 22:14:44 +01:00
Boris Faure 10f6dc4737 termpty: set environment variable WINDOWID. Closes T7484 2018-12-24 11:10:01 +01:00
Boris Faure dd8e9cedcc move code about hyperlinks to termpty.c to avoid issues with tyfuzz 2018-10-17 22:53:31 +02:00
Boris Faure dc5c291bb9 highlight links on mouseover
+ related fixes
2018-10-13 19:21:19 +02:00
Boris Faure 258cf5c173 add termpty_cell_get() 2018-10-13 18:07:27 +02:00
Boris Faure 05ee717fc0 compute refcount on hyper links 2018-10-13 10:52:50 +02:00
Boris Faure cc83e6b6f2 parse hyperlinks
Ref: T6329
2018-10-13 10:52:50 +02:00