Commit Graph

1961 Commits

Author SHA1 Message Date
Boris Faure 392c04bbe0 termptyesc: support Unset Tab Stop (only VTE so far) + tests 2019-01-20 12:06:19 +01:00
Boris Faure 96bbfd054b termptyesc: export DA handler to its own function + tests
Also support DA3.
2019-01-19 23:50:31 +01:00
Boris Faure b7e84963c7 reindent code 2019-01-19 23:07:07 +01:00
Boris Faure 3833252ad2 termptyesc: extract REP handler to its own function + tests 2019-01-19 23:02:51 +01:00
Boris Faure a0738339dd termptyesc: CHA and HPA are the same 2019-01-19 22:10:12 +01:00
Marcel Hollerbach b37a3eefb6 terminology: move log dom registering
the log domain should be registered when there is a new window, not when
there is a new term. A windows can exist before a term can exist.
Further more, win_new function is using this log domain so it should be
inited.
2019-01-14 22:45:32 +00:00
Boris Faure c1d030da0a termptyesc: extract CBT handler to its own function + tests 2019-01-13 00:08:52 +01:00
Boris Faure 505772602e termptyops: do not wrap to left margin when already past right margin
Fix ech.sh test that detected the issue
2019-01-12 16:14:14 +01:00
Boris Faure 89a6a9d652 termptyesc: extract ECH handler to its own function + test
Test is not fully working at the moment.
There seems to be an issue with appending text outside margins
2019-01-11 23:30:43 +01:00
Boris Faure ff830fbc42 termptyesc: extract TBC to its own function + tests 2019-01-08 23:16:06 +01:00
Boris Faure 395404c243 termptyesc: handle CTC + tests 2019-01-08 22:55:48 +01:00
Boris Faure 24cc5eaf8d termptyesc: Printer and Selective Erase are not supported 2019-01-07 23:39:34 +01:00
Boris Faure 5475920c56 termptyesc: add debug on sixel/regis graphics attributes 2019-01-07 23:31:31 +01:00
Boris Faure a2656754bd termptyesc: support DECST8C + tests 2019-01-07 23:13:52 +01:00
Boris Faure 19631a70f6 termptyesc: 'T' can also refer to Unset Title Modes (not handled) 2019-01-07 22:32:42 +01:00
Boris Faure ca9616bad8 termptyesc: extract SD/SU to their own functions
SD 0 is used for "track mouse" (TODO).
2019-01-06 23:01:52 +01:00
Boris Faure 5b16b455ff termptyesc: DL moves the cursor to left margin + tests
also remove some debug leftover
2019-01-06 22:30:09 +01:00
Boris Faure 822f959163 termpty: handle IL with left/right margins + tests 2019-01-05 19:25:37 +01:00
Boris Faure 571d2d03f1 Merge branch 'terminology-1.3' 2019-01-05 18:33:53 +01:00
Boris Faure 09d6660ae7 termio: fix invalid initial resize. Closes T7548 2019-01-05 18:28:43 +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 6952836a32 termio: allow 1 line or 1 column windows. Closes T7532 2019-01-04 23:34:08 +01:00
Boris Faure a5d364bcbf termptyops: ensure clearing cells do not increase link count 2019-01-03 22:46:07 +01:00
Boris Faure 99da684d81 config: s/;;/;/ 2019-01-02 23:45:49 +01:00
Boris Faure 0ca634cd69 termptyesc: export EL handler to its own function + add tests 2019-01-02 23:32:38 +01:00
Boris Faure 06abd7e9bc termptyesc: move ED handler to its own functions + add tests 2019-01-02 22:41:41 +01:00
Boris Faure f7576fb01c termptyesc: move CHT handler to its own function 2019-01-01 20:32:45 +01:00
Boris Faure 36682a1b4e termptyesc: CHA has to take into account DECOM + tests 2019-01-01 20:19:17 +01:00
Boris Faure a0db416469 termptyesc: cleanup 2019-01-01 20:13:09 +01:00
Boris Faure eb84e538b1 termptyesc: move CUF/CUB handlers to their own functions 2019-01-01 18:53:46 +01:00
Boris Faure bf853e8b91 termptyesc: move CUU/CUD handlers to their own functions 2019-01-01 18:53:01 +01:00
Boris Faure 59c547179d termptyesc: support DECCRA + tests 2019-01-01 18:12:06 +01:00
Boris Faure 6661719829 termptyesc: extract ICH to its own function and add tests 2019-01-01 18:10:36 +01:00
Boris Faure 12cc6aaf42 termptyesc: support DECIC/DECDC + tests 2018-12-30 18:36:27 +01:00
Boris Faure fee45b5492 termptyesc: DECCRARA/DECRARA when not in rectangle mode + tests 2018-12-29 22:13:58 +01:00
Boris Faure 288bea982d termptyesc: handle DECRARA in its rectangular form + tests 2018-12-29 18:00:57 +01:00
Boris Faure 68787ad524 tests/termptyesc: handle DECSACE
Also regenerate tests since checksums changed due to new attribute
2018-12-29 17:21:07 +01:00
Boris Faure 63911989fc termptyesc: handle deccara in its rectangular form + tests 2018-12-29 16:58:36 +01:00
Boris Faure 9cb340e29f termio: inverse colors only after applying bold/faint (more precise) 2018-12-29 16:57:44 +01:00
Boris Faure 6e8faa30a7 termptyesc: refuse no value on decfra on the character to fill up + tests 2018-12-29 15:19:31 +01:00
Boris Faure 19a99dadff termptyesc: support DECFI
Introduce different behaviour from xterm as I don't see why it behaves
like that when outside of left/right margin and on right border. Xterm
does not wrap.
2018-12-28 23:11:54 +01:00
Boris Faure fd92428c57 termptyesc: add debug on DECCAPSLK and clean up other debug 2018-12-28 22:01:47 +01:00
Boris Faure 02a9c5325a termptyesc: add debug on DECCANSM 2018-12-28 21:59:42 +01:00
Boris Faure 7d668d79d1 termptyesc: remove unused parameter 2018-12-28 21:56:29 +01:00
Boris Faure 090f6a64f2 termptyesc: support DECBI 2018-12-28 21:56:02 +01:00
Boris Faure 6f1e3ea077 termptyesc: always check return of _csi_truecolor_arg_get()
CID1398478
CID1398479
CID1398480
2018-12-28 19:04:43 +01:00
Boris Faure a940556cff termpty: correctly handle wrap (DECAWM) 2018-12-28 17:41:33 +01:00
Boris Faure a95bbbe731 termptyesc: DECALN only reset margins and cursor position 2018-12-28 17:25:28 +01:00
Boris Faure 54c3e4790b termptyesc: add debug on DECARSM 2018-12-27 22:14:44 +01:00
Boris Faure edc469d16f termptyesc: add debug on DECARM 2018-12-27 22:14:44 +01:00
Boris Faure 19e8bf13f9 termptyesc: add debug on DECANM 2018-12-27 22:14:44 +01:00
Boris Faure 81fb1959eb termptyesc: add debug on DECAAM 2018-12-27 22:14:44 +01:00
Boris Faure e23d78e102 termptyesc: cpl and margins + tests 2018-12-27 22:14:44 +01:00
Boris Faure 3c47cc36e0 termptyesc: CNL and margins + tests 2018-12-27 22:14:44 +01:00
Boris Faure 4b32aec0ed termptyesc: DCH shall handle margins. space created follows SGR + test 2018-12-27 22:14:44 +01:00
Boris Faure c162b07b16 col: assert in case of invalid values 2018-12-27 22:14:44 +01:00
Boris Faure fb24dfabb1 termptyesc: add some debug 2018-12-27 22:14:44 +01:00
Boris Faure 5f715b9290 termpty: add debug on CHA + test 2018-12-27 22:14:44 +01:00
Boris Faure 9c2b3887d1 termptyesc: support DECSCLM but ignore it + test 2018-12-27 22:14:44 +01:00
Boris Faure eab5ffb956 termptyesc: 98/108 are not valid color codes + test 2018-12-27 22:14:44 +01:00
Boris Faure add8b71778 termptyesc: fix truecolors parsing + tests 2018-12-27 22:14:44 +01:00
Boris Faure 3cc3f3ee2a add tytest.h and colors_256_get() to be able to test truecolor 2018-12-27 22:14:44 +01:00
Boris Faure 119a4d12af termptyesc: handle CSI_ARG_ERROR in some SGR.
Closes T7475
2018-12-27 22:14:44 +01:00
Boris Faure 6931f96d0d termptyesc: handle CSI_ARG_ERROR 2018-12-27 22:14:44 +01:00
Boris Faure a4418b85f6 termpty: display escape sequence when can't decode it 2018-12-27 22:14:44 +01:00
Boris Faure e6d13fceb5 termptyesc: support DSR-UDK + test 2018-12-27 22:14:44 +01:00
Boris Faure d2958cd301 termpty: support DSR-PP (Printer Port) + test 2018-12-27 22:14:44 +01:00
Boris Faure 8f2e15478d termptyesc: support DSR-OS + test 2018-12-27 22:14:44 +01:00
Boris Faure aebbed39e6 termptyesc: add support DSR-DECCKSR + test 2018-12-27 22:14:44 +01:00
Boris Faure f54bd2350f termptyesc: support DSR-MSR (0 Macro Space) + test 2018-12-27 22:14:44 +01:00
Boris Faure 5cef3b68b6 tytest: add write buffer to checksum 2018-12-27 22:14:44 +01:00
Boris Faure e0ed4b4ad9 termptyesc: handle DSR-KBD but hardcode keyboard + test 2018-12-27 22:14:44 +01:00
Boris Faure 9ed1b61f23 termptyesc: handle DSR-DIR (Data Integrity Report) + test 2018-12-27 22:14:44 +01:00
Boris Faure feb7495fbb termptyesc: DSR-CPR takes cursor restriction into account + test 2018-12-27 22:14:44 +01:00
Boris Faure 479d96e5dc termptyesc: act like xterm, do not report title/icon-name 2018-12-27 22:14:44 +01:00
Boris Faure e4d7cb93f2 termptyesc: act as xterm-337 2018-12-27 22:14:44 +01:00
Boris Faure ce07e81180 tests: on cursor shapes and regen tests.results 2018-12-27 22:14:44 +01:00
Boris Faure d43110e0fd termptyesc: fix decera/decfra when bottom coordinate is too large 2018-12-27 22:14:44 +01:00
Boris Faure 713bb211fc termptyesc: fix VPR (now goes down instead of up) 2018-12-27 22:14:44 +01:00
Boris Faure 4ba31c3fba tests: differentiate NULL on prop.icon or prop.title 2018-12-27 22:14:44 +01:00
Boris Faure 2db4a0e980 termptyesc: fix _clean_up_rect_coordinates() when cursor is restricted 2018-12-27 22:14:44 +01:00
Boris Faure 3751ce8083 build: better way to compile tyfuzz/tytest 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 ddef1ec515 Merge remote-tracking branch 'origin/terminology-1.3' 2018-12-23 10:22:08 +01:00
Boris Faure 744c93a37d termio: fix potential segv. CID1397077 2018-12-23 10:20:50 +01:00
Boris Faure 070450aadd termio: fix use of uninitialized variable 2018-12-22 23:50:10 +01:00
Boris Faure e7cbae77e1 media/win: allow fallback to xdg-open after user interaction
Closes T7504
2018-12-17 21:53:01 +01:00
Boris Faure 1ac204da91 media: only popup known media types through special escape codes. Closes T7504
Those media files are opened within Terminology and not through an
external component, thus reducing the attack surface.
It is still possible to disable Terminology's escape codes in the
settings panel.
2018-12-16 11:36:15 +01:00
Boris Faure 64b58bb094 termio/win: handle hyperlinks on right click
Fix segfault
2018-12-13 16:41:29 +01:00
Boris Faure 8fb44906cc Revert "termpty: better handle ';' in escape sequences. Closes T7475"
This reverts commit 3f432544df.
2018-11-20 10:34:37 +01:00
Boris Faure 3f432544df termpty: better handle ';' in escape sequences. Closes T7475 2018-11-19 23:14:51 +01:00
Boris Faure 15ec4cb8d4 add some more coverity hacks 2018-11-18 17:51:58 +01:00
Carsten Haitzler 0d7473cd5d keyin - remove strncpy (so its strcpy) because its useless
wel alloc the buffer to be precisely the right size anyway so strncpy
is just more complex code that leads to warnings.
2018-11-16 12:58:27 +00:00
Carsten Haitzler 0d19a81c7f warning fix - compare unsigned vs unsigned
use Eina_Unicode so we compare the same type
2018-11-16 12:55:30 +00:00
Carsten Haitzler b389ed2b89 check if buffer size is too small strunc was truncated 2018-11-16 12:54:39 +00:00
Boris Faure df81992e90 termptyesc: fix bug found by tyfuzz 2018-10-17 22:54:24 +02:00
Boris Faure 5e06ee1d78 tyfuzz: support hyperlinks 2018-10-17 22:54:03 +02: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 4f4875e27d hyperlinks: only highlight links with same url and id. Closes T6329 2018-10-15 21:41:27 +02:00
Boris Faure b8488a2059 termio: obj is unused 2018-10-15 21:34:15 +02:00
Boris Faure 9fc4f6c096 termio: remove unused same_link parameter. CID1396157 2018-10-14 12:49:04 +02:00
Boris Faure 1b909cb569 gravatar: also with hyperlinks starting with "mailto:" 2018-10-14 11:57:11 +02:00
Boris Faure 0a6589ca31 termio: fully cleanup past links when hovering hyperlink 2018-10-14 11:32:21 +02:00
Boris Faure 4c54edaa52 termptyesc: handle some utf8 control codes 2018-10-14 11:12:04 +02:00
Boris Faure a11c591cce fix const on hyperlink urls 2018-10-13 22:05:48 +02:00
Boris Faure dc5c291bb9 highlight links on mouseover
+ related fixes
2018-10-13 19:21:19 +02:00
Boris Faure e3faaab83d termio: simplify _handle_query_esc() 2018-10-13 18:10:54 +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
Boris Faure 43ad696570 Merge branch 'terminology-1.2' 2018-10-12 20:19:06 +02:00
Boris Faure aa0f968860 termpty: soft reset should only reset attributes 2018-10-12 20:17:50 +02:00
Boris Faure afe94a33f9 remove todo 2018-10-12 09:55:02 +02:00
Boris Faure 7834bede86 include coverity fix as first header 2018-09-29 18:06:41 +02:00
Boris Faure bd0ca2c224 Merge branch 'terminology-1.2' 2018-09-29 17:24:47 +02:00
Boris Faure fccc114082 selection: handle scrolling and left/right margins 2018-09-29 17:21:27 +02:00
Boris Faure 9fc660ccb2 termptyesc: DECFRA/DECERA finishes by $x/$z
And not just x/z
2018-09-29 12:17:51 +02:00
Boris Faure 873656483b termpty: remove useless code. termio.h is already included 2018-09-26 08:13:47 +02:00
Boris Faure de3732d418 termio: extract _handle_query_esc();
simplifies the code and removes dead code
2018-09-23 22:49:31 +02:00
Boris Faure dccd1dec39 use Media_Type instead of int 2018-09-16 17:57:42 +02:00
Boris Faure 643e783558 termpty: rewrite conditions on size_t ty->backsize 2018-09-13 07:47:49 +02:00
Boris Faure cf4dbcddd4 sel: remove useless condition 2018-09-13 07:44:53 +02:00
Boris Faure 0bf5343c34 termpty: simplify code 2018-09-13 07:43:57 +02:00
Boris Faure f55f273362 termptysave: remove dead code 2018-09-13 07:40:39 +02:00
Boris Faure 235e0d27a8 termptysave: remove dead code 2018-09-06 23:32:22 +02:00
Boris Faure 81701f7cda Merge branch 'terminology-1.2' 2018-08-26 20:23:54 +02:00
Boris Faure 3b8bbb70c6 controls: be able to show the settings twice or more 2018-08-26 20:22:40 +02:00
Boris Faure 9e7258ba3b get rid of lz4 code as it's unused. Closes T7328 2018-08-20 19:33:35 +02:00
Mike Blumenkrantz 9822adbaa9 options: add info to 'React to key presses' option when multisense is disabled
Summary: this informs the user that key press audio is not available

Reviewers: billiob

Tags: #terminology

Differential Revision: https://phab.enlightenment.org/D6840
2018-08-15 19:40:06 +02:00
Boris Faure 780e95a8fb termpty: remove useless code 2018-08-12 19:22:39 +02:00
Boris Faure 8276135b50 Merge branch 'terminology-1.2' 2018-08-10 08:05:39 +02:00
Boris Faure e2712c5153 win: do not pass input when tab selector is up
Closes T7207
2018-08-10 08:03:52 +02:00
Boris Faure 3b2e1125e2 ipc: "improve" code
This code is strange but now a bit less
2018-08-09 20:31:53 +02:00
Chris Michael 05496d77a2 terminology: Fix evas event callback
Summary:
_cb_del was causing a compiler warning about incorrect function
parameters...basically the function was not declared to match an
evas_event_callback. This patch fixes that issue

@fix

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D6629
2018-07-19 19:19:02 +02:00
Chris Michael b3081f858f terminology: Fix evas event callback
Summary:
_cb_del was causing a compiler warning about incorrect function
parameters...basically the function was not declared to match an
evas_event_callback. This patch fixes that issue

@fix

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D6629
2018-07-19 19:17:54 +02:00
Boris Faure 9ebbcf78bc Merge branch 'terminology-1.2' 2018-06-28 20:01:22 +02:00
Boris Faure 1c4482115b controls: fix frame being still shown if new controls shows up while old is not yet hidden
Thanks to camthesaxman_ for his patch (D6360).
2018-06-28 19:56:12 +02:00
Boris Faure a696d18165 termio: fix previous commit 2018-06-28 19:25:40 +02:00
Cedric BAIL a5f287e881 termio: make sure that reference to gesture layer are cleaned at the right time.
Reviewers: billiob

Reviewed By: billiob

Subscribers: cedric

Tags: #terminology

Differential Revision: https://phab.enlightenment.org/D6207
2018-06-28 19:25:18 +02:00
Boris Faure 68b65651a6 termio: fix previous commit 2018-05-28 19:35:17 +02:00
Cedric BAIL 33fd72a3e8 termio: make sure that reference to gesture layer are cleaned at the right time.
Reviewers: billiob

Reviewed By: billiob

Subscribers: cedric

Tags: #terminology

Differential Revision: https://phab.enlightenment.org/D6207
2018-05-28 19:31:57 +02:00
Boris Faure 0e57ed255b Merge branch 'terminology-1.2' 2018-05-13 22:47:24 +02:00
Boris Faure 214ff03e36 win: do not force focus on mouse_down event if window is not (yet) focused
Refs: T6882
2018-05-13 22:46:30 +02:00
Boris Faure 1ca8708041 log: let eina handle log emissions 2018-05-13 21:12:41 +02:00
Boris Faure 59f225c972 Merge remote-tracking branch 'origin/terminology-1.2' 2018-05-03 21:43:10 +02:00
Boris Faure 6694266a3d fix focus issue when mouse moving over window without focusing 2018-05-03 21:41:28 +02:00
Boris Faure 7855175ea4 tyfuzz: make it compile again! 2018-05-02 16:19:55 +02:00
Boris Faure e8652f7262 Merge remote-tracking branch 'origin/terminology-1.2' 2018-04-30 16:06:29 +02:00
Marcel Hollerbach 35bf0a4a25 terminology: do not select a item on focus
Summary: makes the settings easier to use with focus

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D6015
2018-04-30 16:02:33 +02:00
Boris Faure 3569f18cc8 Bring back the user title per tab
Summary: T6719

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D5852
2018-04-26 23:23:17 +02:00
Boris Faure ea91a6c825 makes more sense to log to syslog when not fuzzing 2018-04-25 22:14:04 +02:00
Boris Faure 0991479fcb try to optimize cell copy
On my stupid benchmark: having tyfuzz parse a 628MB text file (few times
war and peace concatenated) over 10 sessions, it went from 15.2MB/s to
16.8MB/s \o/ That's a 10.5% improvement!
2018-04-24 23:41:18 +02:00
Boris Faure 7c6d581465 Bring back the user title per tab
Summary: T6719

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D5852
2018-04-22 17:27:14 +02:00
Boris Faure 4a30c10ed9 tabs: clicking on New uses current dir for new term according to config 2018-04-10 22:53:41 +02:00
Benjamin Jacobs e55fd61208 popmedia: NULL dereferencing prevented in error path.
Summary:
If the execution of _popmedia flows in the goto error path, then the
 term pointer member might not assigned and reference counted. However
 _ty_http_head_delete and term_unref unconditionaly deference it, resulting
 in a NULL access.
 This patch add guards to prevent the dereference of the term pointer
 in _ty_http_head_delete.

Reviewers: billiob

Reviewed By: billiob

Subscribers: billiob

Differential Revision: https://phab.enlightenment.org/D5865
2018-04-05 22:28:27 +02:00
Carsten Haitzler 0f24619dfa selection handling - donmt use null string selections if they are
fix a corner case where string selection is null when selection is
requested (empty selection). @fix
2018-04-05 13:36:01 +09:00
Boris Faure c87c78ca8c options_theme.c: fix CID 1388097 2018-04-04 20:21:18 +02:00
Boris Faure 75689087ae build: add fix for coverity 2018-04-04 20:21:10 +02:00
Carsten Haitzler 1a55a67654 termpty - set ty_hand to null if returning cancel which dels the fdhand
this avoids later accidentally accessing an invlid hd handler.

@fix
2018-03-26 23:18:31 +09:00
Carsten Haitzler 5824d668af win - imf - fix small typo that was not checking the imf ptr...
it was checking the address of the imf ptr which is always true.

@fix
2018-03-26 23:18:31 +09:00
Boris Faure 8308514420 termptyesc: document Media Copy 2018-03-19 23:54:00 +01:00
Boris Faure 4e1beca3f8 termptyesc: handle Horizontal Position Absolute (HPA) 2018-03-19 23:24:31 +01:00
Boris Faure 33eb5261e6 termio: force refocus after ctx popup is deleted. Closes T6782 2018-03-19 22:12:28 +01:00
Boris Faure 189d138d03 win: expose term_focus(); 2018-03-19 22:11:53 +01:00
Boris Faure f03b84b869 options: select default cursor 2018-03-15 21:59:43 +01:00
Boris Faure 740e96da66 handle DECSCUSR (changing cursor shape). Closes T6338 2018-03-15 19:20:09 +01:00
Boris Faure 71c1b37675 termptyesc: sort CSI escape code by ascii value 2018-03-15 17:58:41 +01:00
Boris Faure c4c769651c config: add cursor shape 2018-03-15 14:43:51 +01:00
Boris Faure dad9e0db58 remove compatibility #ifs to work with EFL < 1.16 2018-03-13 18:58:41 +01:00
Boris Faure e8214d1da2 tabs: on tab selector, be sure only one tab is focused 2018-03-13 18:15:57 +01:00
Boris Faure bc6ed7ac92 termptygfx: fix stupid bug when printing encircled numbers 2018-03-13 11:23:03 +01:00
Boris Faure 9e0243d9f1 support encircled escape code. Closes T6769 2018-03-13 09:15:32 +01:00
Boris Faure deaadfeb01 shift-selection: reduce timeout to 5s, seems enough. Ref T2254 2018-03-12 20:11:28 +01:00
Boris Faure 0a0f3605e4 termptyesc: handle CMY/CMYK in SGR38/SGR48. Ref T746 2018-03-11 22:38:45 +01:00
Boris Faure c7c054bf0d termptyesc: handle transparent in SGR38/SGR48 2018-03-11 22:35:41 +01:00
Boris Faure 91ced6390f termptyesc: skip colorspace id if present. Ref T746 2018-03-11 20:31:56 +01:00
Boris Faure 0eb223f1b8 termptyesc: approximate true color. Ref T746 2018-03-11 19:51:11 +01:00
Carsten Haitzler 0fcd99cda5 do a thaw eval after thaw to ensure we dont miss any events
freeze stops events (in/out/down/up and so on, not del etc.) and thaw
does the oppostie. the thing is thawing to 0 freeze level never
re-evaluated everything. it was an optimization and simpler. so to
re-evaluate state and not lose thngs like in and out evets you do have
to do a thaw eval after thaw that will evaluate that state and produce
in and out events if you thaw back to 0. i don't know if this
fixes T4194 or not, but it does dot an i and cross a t.
2018-03-11 18:30:06 +09:00
Boris Faure 6bf2116206 shift-selection: reduce timeout to 15s. Closes T2254 2018-03-10 21:10:34 +01:00
Boris Faure 2d5bc93780 win: handle title popup like the options popups. Closes T6727 2018-03-10 19:40:13 +01:00
Boris Faure 71d9bc2f68 win: do not force focus when on options. Closes T4769 2018-03-10 17:22:52 +01:00
Boris Faure 1a5384b19e options: default is the behaviour tab. Closes T2130 2018-03-10 17:13:10 +01:00
Boris Faure 9aeae783b5 options_behavior: expect EFL > 1.8 2018-03-10 16:14:40 +01:00
Carsten Haitzler 1ea0818f2b close terminal button - pass ctx ptr to callback so it doesnt seg 2018-02-26 15:42:16 +09:00
Boris Faure 67fb28a67c solarized: set faint/dim colors for black
It was previously invisible
2018-02-14 22:32:50 +01:00
Carsten Haitzler a1d9dba1d0 terminology efl version bump 1.8 to 1.20
efl 1.8 is ancient by now (december 2013 ... like over 4 years ago).
time to bump to 1.20, so any future releases of terminology will need
a bump in efl version too whicn IMHO is sensible.
2018-02-13 15:12:18 +09:00
Boris Faure ce11630457 win: do not show win too early 2018-02-12 22:40:50 +01:00
Boris Faure d52afe1a73 win: shot in the dark about the positioning issue
If it fixes the issue, I'm clueless!
2018-02-12 22:23:05 +01:00
Boris Faure 802ed4b2eb win: removes that blue focus animation 2018-02-12 22:09:34 +01:00
Boris Faure 3aac7976b7 termio: fix key bindings for scrolling 2018-02-12 22:03:02 +01:00
Boris Faure efb6df10b7 win: fix focus after editing title 2018-02-11 12:14:39 +01:00
Boris Faure 653173bd85 Merge branch 'grouped-input' 2018-02-11 11:56:13 +01:00
Boris Faure 19cca3e2f2 group input: handle only_visible or all terms 2018-02-11 11:48:06 +01:00
Boris Faure 26b19dc31d win: remove useless comments 2018-02-10 17:28:58 +01:00
Boris Faure 4f261e922e imf: handle cursor move 2018-02-09 23:18:03 +01:00
Boris Faure c31c1cbd9b termio: focus_in to show blinking cursor 2018-02-09 22:02:19 +01:00
Boris Faure 55b4eeb3a2 win: focus the termio objects, at least to have mouse work 2018-02-08 22:38:55 +01:00
Boris Faure ddb8e8160d termio: really constify preedit_str 2018-02-08 22:38:02 +01:00
Boris Faure 7cb67a2bce win: get out of grouped-input 2018-02-08 18:40:27 +01:00
Boris Faure 34f19bf4dd win: constify term_preedit_str_get() 2018-02-08 18:40:06 +01:00
Boris Faure d7432a52d6 move input handling to win.c 2018-02-05 00:07:47 +01:00
Boris Faure e5c580aa26 win: getting events through conform is more reliable 2018-01-30 23:37:00 +01:00
Boris Faure b75d5b7e9c win: do not focus termio 2018-01-30 23:36:16 +01:00
Boris Faure 93106d1148 win: set flag on_options when settings/about/controls are up 2018-01-30 23:31:26 +01:00
Boris Faure 4f87249016 we're in 2018 2018-01-17 20:34:35 +01:00
Boris Faure 527859f4c4 options_colors: fix selected item showing on multiple rows
makes the selector barely more usable…
2018-01-15 23:49:03 +01:00
Boris Faure 8c09ee5c88 options_colors: compute pre-multiplied colors 2018-01-15 23:28:18 +01:00
Boris Faure f33e898e29 options_colors: clean up a bit and have a global reset button 2018-01-15 22:51:16 +01:00
Boris Faure 820a5440fe controls: use both "bg" and "base" evas objects 2018-01-15 22:45:32 +01:00
Boris Faure a66225dc87 options_colors: be able to have multiple instances 2018-01-14 12:52:46 +01:00
Boris Faure 64502fa8f3 options_theme: be able to have multiple instances 2018-01-13 19:25:31 +01:00
Boris Faure 8b26cd4149 options_background: go to image grid when selecting user/system in hoversel 2018-01-13 18:52:40 +01:00
Boris Faure 85ba744771 options_font: be able to have multiple instances 2018-01-12 23:27:19 +01:00
Boris Faure 32209a6dfd options_video: be able to have multiple instances 2018-01-10 23:28:50 +01:00
Boris Faure 22e3731c96 options_behavior: be able to have multiple instances 2018-01-10 23:26:40 +01:00
Boris Faure 1745e77c93 options_background: fix segfault due to flip destroying hoversel 2018-01-09 23:39:02 +01:00
Boris Faure c7fe3ca964 fix coding style wrt _Ctx types 2018-01-09 23:21:48 +01:00
Boris Faure 69e3176f4e options_background: rewrite to have multiple widgets 2018-01-08 23:17:02 +01:00
Boris Faure 29db075729 options_keys: rewrite it to have multiple widgets at the same time 2018-01-07 23:11:18 +01:00
Boris Faure 08b5c20a27 controls: keep ctx when on about/options 2018-01-05 23:42:14 +01:00
Boris Faure fd150de222 options: simplify code and no more globals 2018-01-05 00:27:25 +01:00
Boris Faure 983dadeba4 about: simplify code and no more globals 2018-01-05 00:27:25 +01:00
Boris Faure eaaae01745 controls: less globals, controls per window 2018-01-05 00:27:25 +01:00
Boris Faure 080ff8e261 controls: simplify code 2018-01-05 00:27:25 +01:00
Boris Faure d20e32c26f options: rename options_active_get() to options_is_active() 2018-01-05 00:27:25 +01:00
Boris Faure d7bc232806 win: remove useless callbacks 2018-01-05 00:27:25 +01:00
Boris Faure 561e1b0941 splits: fix focus issue when splitting a split 2018-01-05 00:27:25 +01:00
Boris Faure 39fb41024b early work on multi-input support 2018-01-05 00:27:25 +01:00
Carsten Haitzler 878def120e move private.h down after system headers... to avoid conflict 2017-12-19 11:01:09 +09:00
Carsten Haitzler 3a14751b34 tytools - remove eina.h include from ty tools where really not needed 2017-12-19 11:01:09 +09:00
Carsten Haitzler 700beb9bd6 tysend - dont check if in terminology as it should also work remotely
well it's not a brilliant check... user beware. tysend will only work
if there is no screen/tmux in the way and your end point terminal is
terminology (end point being the GUI terminal emulator you are using).
2017-12-18 19:54:05 +09:00
Carsten Haitzler 8cfa269b54 tysend - optimize sending - pretty much double the speed
yes. it's still inefficient because we transfer in ascii-ized nibbles
(4 bits) within a utf8 stream that becoems a 32bit per char unicode
buffer then back to utf8 before being "parsed" as a command etc. etc.
... it's not brilliant for transferring binary data. it's horrible
actually. but at least i've dropped overhead for some of the large
escape handling code.

this increases buffer size to 32k per block sent, and have the
terminal escape/buffer handling track if a zero byte exists in the
buffer at all to avoid hunting for one if none is there, making
terminology escape handling much more efficient for large escapes and
buffers.
2017-12-18 15:32:02 +09:00
Carsten Haitzler 8bb7a473ae tysend status - fix focus after close/cancel 2017-12-18 15:31:45 +09:00
Carsten Haitzler 15e3c87390 tysend - i was only testing ascii files. binary doesnt trasnfer well...
so move to 4 bit nibbles encoded as ascii. inefficient but works
reliably.
2017-12-18 00:51:52 +09:00
Carsten Haitzler 125d475068 add tysend cmdline and support in escapes for sending single files
this allows you to send a file via escapes to terminology which will
pop up a file save dialog and ask what to save it as and where (based
on the original name). terminology will show a progress bar too. this
is not useful locally but remotely (e.g. you ssh'd into another
machine) it's a VERY handy way of fetching a file from the remote
machine to the local machine with a display just with tysend FILE. you
can send multiple in a sequence with tysend FILE1 FILE2 FILE3 ... ...
and terminology will ask for a location and filename per file you send
(just hit cancel if you don't want to do it).

note - it needs new theme features to work. it'll fail without them.

@feature
2017-12-17 23:41:26 +09:00
Amitesh Singh 31285fb5dc title: set focus to title entry
Focus was not coming to entry on 'set title' popup.
Set focus to a popup subobject after showing popup.

@fix
2017-12-05 13:44:00 +09:00
Boris Faure 35cb66aa2b handle -Wimplicit-fallthrough= 2017-11-12 00:30:25 +01:00
Boris Faure 59feab991b use 'ninja install' instead of 'make install' in error message 2017-11-12 00:14:00 +01:00
Boris Faure c51d0095f9 get rid of automake 2017-11-12 00:09:06 +01:00
Boris Faure d2d03992eb theme previews: set shine according to config 2017-11-11 23:16:15 +01:00
Boris Faure 7d94ebaa1e options: have Colors before Video 2017-11-11 23:12:17 +01:00
Boris Faure c1850f73b0 options: move shine slider to Background 2017-11-11 23:10:55 +01:00
Boris Faure adb818b697 s/wallpaper/background/ 2017-11-11 22:24:35 +01:00
Boris Faure 7f8396d55b settings: move translucent to wallpaper 2017-11-11 22:19:08 +01:00
Boris Faure bb968b968e be able to configure shine level on the default theme
Was asked about it too many times, so here it is :)
2017-11-11 20:12:56 +01:00
Boris Faure c388bbf7bb Merge branch 'terminology-1.1' 2017-10-10 21:15:05 +02:00
Boris Faure 57fea056c1 fix -e option. Closes T6175 2017-10-10 21:14:07 +02:00
Boris Faure b22a64043f Merge remote-tracking branch 'origin/devs/iscaro/meson' 2017-10-03 22:01:39 +02:00