Commit Graph

2332 Commits

Author SHA1 Message Date
Boris Faure 0a505fa636 Prepare Terminology release 1.4.0 2019-03-25 23:08:24 +01:00
Boris Faure 1ce26c51f7 termiointernals: fix regression on selecting word at start of line
In case of double-click.
2019-03-21 22:18:07 +01:00
Boris Faure 3378f033f5 termio: remove leak. CID1399747 2019-03-20 22:31:58 +01:00
Boris Faure 756a45e654 termio: skip pasted chars < ' ' but keep '\n'
See https://www.openwall.com/lists/oss-security/2018/03/05/2
2019-03-19 23:18:03 +01:00
Boris Faure 9785beaef0 termiointernals: fix possible NULL-dereference. CID1399748 2019-03-18 23:05:06 +01:00
Boris Faure 485d7a3edf termio: fix leak. CID1399746 CID1399747 2019-03-18 23:02:36 +01:00
Boris Faure 8076e4673f termiointernals: fix possible NULL-dereference CID1399745 2019-03-18 22:56:49 +01:00
Boris Faure 6c55ecf1a1 termptyesc: fix hangs spotted by afl-fuzz + tests 2019-03-18 22:34:21 +01:00
Boris Faure 7f1c37a6a7 tests: fix shift_in_out.sh tests to output ascii in [0x20, 0x7f[ 2019-03-13 14:15:43 +01:00
Boris Faure 2d62d58a39 tests: add dumb test on Shift In/Out 2019-03-13 13:30:18 +01:00
Boris Faure 50f388087c tests: add some on mouse reporting in mode "all", urxvt reporting 2019-03-05 23:10:04 +01:00
Boris Faure c9126dcd16 tests: add some on mouse reporting in ext move while pressed mode, urxvt reporting 2019-03-05 23:03:35 +01:00
Boris Faure cff073db46 tests: add some on mouse reporting in normal mode, URXVT reporting 2019-03-05 23:00:32 +01:00
Boris Faure 4c12238184 tests: add some on mouse reporting in X10 mode, URXVT reporting 2019-03-05 22:59:18 +01:00
Boris Faure 42ef7a8ecc tests: add some on mouse reporting in mode "all", SGR reporting 2019-03-05 22:25:43 +01:00
Boris Faure 674a87287d termiointernals: fix reporting mouse move with no button pressed + tests 2019-03-05 21:20:50 +01:00
Boris Faure 77ba576234 tests: add some on mouse reporting in ext move while pressed mode, sgr reporting 2019-03-04 23:44:16 +01:00
Boris Faure 93a25e6123 termiointernals: report alt on mouse move + tests 2019-03-04 23:39:57 +01:00
Boris Faure 7631c91afe tests: add some on mouse reporting in normal mode, sgr reporting 2019-03-04 23:30:09 +01:00
Boris Faure 61a56ae029 termiointernals: handle mouse wheel with alt + tests 2019-03-04 23:05:40 +01:00
Boris Faure 42c9cb1842 tests: add some on mouse reporting in X10 mode, SGR reporting 2019-03-04 22:50:20 +01:00
Boris Faure a4a24fd290 tests: add some on mouse reporting in ext move while pressed mode, normal reporting 2019-03-03 23:19:04 +01:00
Boris Faure b6af646bc8 tests: add some on mouse reporting in mode "all", normal reporting 2019-03-03 23:09:57 +01:00
Boris Faure c462dce26d tests: add some on mouse reporting in mode "all", utf8 reporting 2019-03-03 22:57:11 +01:00
Boris Faure c9b5c52a5d termptyesc: typo in comment 2019-03-03 22:49:11 +01:00
Boris Faure b0c95877dc tests: add some on mouse reporting in ext move while pressed mode, utf8 reporting 2019-03-03 21:15:06 +01:00
Boris Faure 8e81c07b20 tests: add some on mouse reporting in normal mode, utf8 reporting 2019-03-03 21:13:05 +01:00
Boris Faure 8bc4c030c3 termiointernals: handle mouse wheel on normal mode after pos 94 2019-03-03 19:40:19 +01:00
Boris Faure cbe77cc98a tests: add some on mouse reporting in normal mode, normal reporting 2019-03-03 19:29:30 +01:00
Boris Faure acee5d2d67 it's possible to use alt with mouse wheel 2019-03-03 19:26:45 +01:00
Boris Faure bc45dba7c9 termiointernals: after x:94, no more reporting in normal mode 2019-03-03 19:25:56 +01:00
Boris Faure 765aea662a tests: add some on mouse reporting in X10 mode, utf8 reporting 2019-03-03 19:01:20 +01:00
Boris Faure 19c50c2642 tests: test around mouse_x10 frontier 2019-03-03 18:37:12 +01:00
Boris Faure 69e8255d25 termiointernals: cleanup 2019-03-03 18:36:09 +01:00
Boris Faure b9542183e6 termiointernals: handle meta & MOUSE_X10 in mouse_down 2019-03-03 18:35:27 +01:00
Boris Faure 36fcd2d2c4 tests: add tytest_termio_resize() 2019-03-03 18:22:18 +01:00
Boris Faure 490d388314 termptyesc: resize parameters were inverted 2019-03-03 15:55:01 +01:00
Boris Faure 72ff9cbe3c termiointernals: mouse wheel is not reported in X10 mode 2019-03-03 15:47:37 +01:00
Boris Faure bbe4960c2c tests: add some on mouse reporting in X10 mode, normal reporting 2019-03-03 13:20:25 +01:00
Boris Faure 5a98842d63 termiointernals: do not emit mouse wheel on mode X10 2019-03-03 13:20:03 +01:00
Boris Faure 72afb80d6e win: use min_* as base step since the old formula may < 0
Closes T7699
2019-03-02 18:26:04 +01:00
Boris Faure 5c4cf2ea38 tests: add one on window resize where the content is not wrapped 2019-03-01 13:29:00 +01:00
Boris Faure f0605c697d private.h: helper for testing escape codes on terminology's binary 2019-03-01 13:28:01 +01: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 1c9c2a19ed termptyesc: handle window manipulations that resizes the terminal
only for testing purpose
2019-02-27 23:46:04 +01:00
Boris Faure 4d89080d71 termiointernal: handle empty celles in selections.
Condition was wrong
2019-02-27 20:23:41 +01:00
Boris Faure b477d6cc20 tests: add one on selection invalidation when line got removed 2019-02-27 20:06:34 +01:00
Boris Faure 3f76507fe5 tests: update tests due to fix in previous commit 2019-02-25 23:03:51 +01:00
Boris Faure 5300a89013 termiointernals: fix segfault 2019-02-25 22:51:03 +01:00
Boris Faure 19cc710ad0 tests: add some on box selection to paragraph 2019-02-25 22:32:29 +01:00