Boris Faure
0517be32f4
termptyesc: no logging when fuzzing
2017-05-17 23:33:06 +02:00
Boris Faure
387cafa463
tyfuzz needs termpty_resize_tabs()
2017-05-17 22:35:01 +02:00
Boris Faure
6821c94a1c
fuzz: disable logs when fuzzing
2017-05-17 22:34:51 +02:00
Boris Faure
ce490ededc
termptyesc: fix issue with tmux introduced by previous commit
2017-05-17 21:49:52 +02:00
Boris Faure
63d65ed4bb
termptyesc: restrict values on scrolling regions
2017-05-16 22:48:18 +02:00
Boris Faure
17e5e1be55
termpyesc: only compute logging content if it's going to be printed
2017-05-15 23:54:25 +02:00
Boris Faure
bd6c81ed39
termptyesc: restrict CSI values to avoid denial of service
2017-05-15 22:34:01 +02:00
Boris Faure
2b47545fac
termptyesc: ensure colors are valid
2017-05-15 21:56:54 +02:00
Boris Faure
c3767594d1
fix compilation with fuzzing enabled
2017-05-11 23:46:01 +02:00
Sanjeev BA
8f9b49a110
Add option to set current window size as default.
...
Summary: Without this the user needs to "find out" the current width and height by pointing and clicking at the edge of the window and then manually set the spinner values.
Test Plan:
Run terminology.
Get to options->behaviour menu. Resize the window.
Reviewers: jpeg, cedric, raster
Differential Revision: https://phab.enlightenment.org/D4823
2017-04-26 16:15:33 +09:00
Boris Faure
1fa0fd7148
config: change Disable focus-out visuals to be more positive :)
2017-03-13 20:44:53 +01:00
Mike Blumenkrantz
9309941875
add behavior option to disable focus-in/out animations and visuals
...
this is useful for CI
2017-03-13 19:34:54 +01:00
Boris Faure
566dc187d6
termio: reset size when size looks boggus.
...
Patch by netstar
2017-03-05 16:40:10 +01:00
Boris Faure
f4813a229d
termio: remove dead code. CID1371738
2017-03-05 16:36:35 +01:00
Boris Faure
9e0b63403f
may fix mouse motion reporting. T4874
2017-03-04 17:37:03 +01:00
Boris Faure
e188244c72
pty: fallback to ~ or / when creating new term if current dir is not available
...
Closes T5186
2017-02-17 21:57:57 +01:00
Boris Faure
74c1ceffd8
win: double click on tab title to change it. Closes T3143
2017-02-17 21:47:57 +01:00
Boris Faure
6c5c7d486c
controls: clean up code
2017-02-08 21:34:46 +01:00
Carsten Haitzler
71f1fdc66c
terminology tabs resize - fix access of invalid memory beyond bounds
...
we memcpy'd the currenty size over, so if prev size was smaller - this
was wrong and valgrind threw a complaint. also the rounding seems
utterly bizarre. it looks like it was meant to round up to the nearest
"lot of 8 tabs" so actually do that... which makes is easy to pass in
old width nicely now to fix the problem.
@fix
2017-01-31 13:03:36 +09:00
Boris Faure
afe4b928bc
improve link detection when stored in xml
...
example:
<url>https://terminolo.gy/ </url>
2016-12-25 18:18:16 +01:00
Boris Faure
41c4479dc5
termpty: verify that $SHELL is valid before using it. CID1366816
2016-12-24 18:40:18 +01:00
Boris Faure
99f55b7bbc
termptyesc: support DECSED3 to erase the backlog. Closes T3713
2016-12-20 22:43:37 +01:00
Boris Faure
e5f3676e32
termio: fix getting selection of known link. CID1367486
2016-12-20 20:20:34 +01:00
Boris Faure
240a4a02d3
termpty: fix potential NULL dereference. CID1367485
2016-12-19 23:38:32 +01:00
Boris Faure
b9d5a55aa4
termptyesc: correctly handle tab forward. Closes T4992
2016-12-18 19:17:42 +01:00
Boris Faure
f3dd6f62fb
termpty: Tab markers are the same for each line. Ref 4992
2016-12-18 18:48:03 +01:00
Boris Faure
836baf5d63
private: add macros ROUND_UP and DIV_ROUND_UP
2016-12-18 18:46:41 +01:00
Boris Faure
82d9ead6f2
termptyesc: handle correctly Character Tabulation Set (HTS). Ref T4992
2016-12-15 23:11:22 +01:00
Boris Faure
5af5ec084e
termio: do nothing special when extracting text and .tab is set
2016-12-15 23:11:22 +01:00
Boris Faure
7c720058a1
termptyesc: add some debug
2016-12-15 23:11:22 +01:00
Boris Faure
fae0d7ccee
termptyesc: handle correctly Cursor Back Tab. Ref T4992
2016-12-15 23:11:22 +01:00
Carsten Haitzler
60d1c6d05c
term pty fd - properly shut down without a 100% cpu hang
...
i've noticed that the exe cb tries to drain the pty fd but reads
return -1 with EAGAIN so terminology just spins forever in cpu trying
to drain a buffer that does not drain, so make a special case on exe
exit - drain until there just is nothing else to read then give up.
@fix
2016-12-13 11:53:50 +09:00
Boris Faure
45539d433c
termio: small cleanup
2016-12-06 23:49:03 +01:00
Al Poole
8dd7aefcb4
Fix bogus hack and restore cursor position to its right place. On OpenBSD and DragonFly the cursor is being incorrectly placed. Seems there was a Linux workaround too. My guess is this will fix that also.
...
Summary: Should help anyway.
Reviewers: billiob, raster
Differential Revision: https://phab.enlightenment.org/D4465
2016-12-06 23:42:10 +01:00
Boris Faure
273a85af00
termpty: handle BSD special case when the other side of the tty pair has quit
2016-12-06 21:49:15 +01:00
Boris Faure
5770c51d86
termpty: handle read() from tty pair when the other end has died, on some BSD
...
In such a case, read() returns 0 and sets errno to ECHILD…
2016-12-05 23:39:29 +01:00
Boris Faure
7508c8658b
termpty: ensure we're not reading from invalid fd
2016-12-05 22:45:44 +01:00
Boris Faure
9b6bed8033
termpty: fix dead code and remove debugging code. CID1366815
2016-12-05 22:13:54 +01:00
Boris Faure
4b3225bfa9
termpty: make verify_beacon silent by default
2016-12-05 22:13:30 +01:00
Boris Faure
390e4193d0
termpty: fix possible issue when reading and the shell exited
2016-12-05 21:53:15 +01:00
Boris Faure
1f62588e97
termpty: avoid race between exit of the program and reading from it
...
Also ensure we read what was already in the pipe before we ever polled it.
Closes T4925
2016-12-04 23:24:28 +01:00
Boris Faure
32dbc65c6d
env: unset COLUMNS, LINES, TERMCAP
2016-12-04 23:21:58 +01:00
Boris Faure
86f27f0474
termpty: remove useless code
2016-12-04 23:17:56 +01:00
Boris Faure
d5f4811b2d
improve error message
2016-12-04 18:05:43 +01:00
Boris Faure
51fe6b3428
fix getting lines with the beacon
...
add quite some testing that is disabled by default, used to ensure that
the beacon is always valid
2016-11-30 23:25:33 +01:00
Boris Faure
6cc0abd787
termpty: skip combining chars unless it can be used as strikethrough
2016-11-26 18:42:26 +01:00
Marcel Hollerbach
786dd890cc
termio: dont show full/relative for emails or protocols
...
if there is a link like bu5hm4n@efl.so or http://enlightenment.org/ , then
there is no need to show relative or absolut coping in the ctxpopup,
just copy is enought.
2016-11-20 20:51:21 +01:00
Boris Faure
c47b0c39d5
scrolling: fix issues with the beacon
...
Add a few comments on how it works
2016-11-20 18:23:56 +01:00
Boris Faure
5b34e2ba67
mouse wheel on tab counter: fix navigation
...
Do not register the same callback twice.
Invert action on mouse-wheel. During my test, it felt more logical like
that.
Closes T4316
2016-11-19 12:37:41 +01:00
Boris Faure
8658ea9d57
termio: fix leak. CID1365971
2016-11-19 11:02:57 +01:00
Boris Faure
6957ecb642
link detection: rewrite moving around the grid
...
There are difference between the grid and the backlog.
In the backlog, full lines are stored (and thus can be larger than the
width of the terminal).
2016-11-17 23:30:57 +01:00
Marcel Hollerbach
ddbdd96349
add copy link item in rightclick menu
...
Summary:
this will just copy the link content instead of the resolved link.
Makes the link detection feature also useable for ssh/tmux/screen
session.
Test Plan: Hover over a link and rightclick
Reviewers: billiob
Differential Revision: https://phab.enlightenment.org/D4217
2016-11-17 20:04:50 +01:00
Boris Faure
cea49794a0
termiolink: hopefully fixes segfault. Closes T4896
2016-11-15 22:28:27 +01:00
Boris Faure
55db8930b2
termio: elm_layout_add() expects and elm widget
...
This should remove the noisy message:
ERR<21781>:elementary lib/elementary/elm_widget.c:1130
elm_widget_sub_object_parent_add() You passed a wrong parent parameter
(0x400000089000008a termio). Elementary widget's parent should be an
elementary widget.
2016-11-15 20:29:17 +01:00
Boris Faure
234fe507f4
termiolink: add missing break
2016-11-11 12:38:54 +01:00
Boris Faure
ed406c4579
termiolink: safety on ty being not NULL. CID1365660
2016-11-08 21:17:48 +01:00
Boris Faure
93eb6e6663
termiolink: check return of ty_sb_prepend(). CID1365659
2016-11-08 21:15:42 +01:00
Boris Faure
57c811ce9b
termiolink: handle OOM. Fix CID1365658
2016-11-08 21:13:21 +01:00
Boris Faure
f4263d5098
termptyesc: add missing break (CID1365404)
2016-11-07 11:35:50 +01:00
Boris Faure
a977c2d32e
rewrite link_is_protocol() to handle almost any URI
2016-11-06 20:04:02 +01:00
Boris Faure
0cbaaeec9d
link: rewrite link detection to be more efficient
2016-11-06 20:04:02 +01:00
Boris Faure
c41fc2a56e
sb: add some utilities like prepend, free, steal…
2016-11-06 19:45:05 +01:00
Boris Faure
dab654c278
termio_link_find() is not static, remove its '_' prefix
2016-11-06 13:03:19 +01:00
Boris Faure
d47b350e8c
ty: add sb.{c,h} (was in termio.c)
2016-11-06 11:42:17 +01:00
Boris Faure
fbe747fbfd
include private.h everywhere
...
that way, terminology_config.h is included if present
2016-10-18 20:21:50 +02:00
Boris Faure
566c6d3680
termpty: correctly handle saving cursor + switching to/from altbuf
...
Closes T4718
2016-10-18 00:15:06 +02:00
Boris Faure
65cdb5437e
win: fix comment
2016-10-17 22:19:23 +02:00
Marcel Hollerbach
bdc77fdaee
media: fix previous commit
...
I am sorry for the noice, i added a wrong "!" there
2016-10-09 17:46:32 +02:00
Marcel Hollerbach
b2fe5145d9
media: try to search for a icon theme which provides the given icon
...
This fixes cases where a icon theme is found but, but the given icon
name is not found in the theme. So we are also testing for the
availablility of the icon name.
2016-10-09 17:17:57 +02:00
Jerome Pinot
02ebbba1f5
autotools: add missing tycommon.h in tybg_SOURCES, fix build.
2016-10-08 19:18:58 +09:00
Boris Faure
76f1bf4342
prefix EINA_UNUSED parameters with an underscore
...
and fix related issues
2016-10-05 22:00:22 +02:00
Boris Faure
a2bedb6281
fix shadow variable 'i'
2016-10-05 22:00:02 +02:00
Andy Williams
89d264272d
Update standard icon naming to use standards
...
These are not exact icons but they seem close enough for elm 1.18+
2016-09-27 22:06:40 +01:00
Marcel Hollerbach
b038ed7ff6
ty*: add unified --help / -h options to see a help page
...
This also adds documentation about the -h / --help options in the usages
2016-09-16 13:33:59 +02:00
Boris Faure
36a7166b7a
config: change default to only scroll down on keypress
...
(and not on new change)
2016-08-29 20:31:42 +02:00
Boris Faure
e24196eb24
fix typo in config. Ref T4323
2016-08-10 23:05:04 +02:00
Marcel Hollerbach
dfe08f0ce0
win: free tab_region_base and tab_region_bg
...
otherwise this objects are leaking and taking the events for underlaying
objects.
This fixes T4266
2016-08-08 12:53:51 +02:00
Boris Faure
dfe57a25a7
win: when closing solo container, dissociate it from its parent
...
Ref T3509.
2016-07-31 16:50:13 +02:00
Boris Faure
13c91324fa
win: hide tabcount when no longer tabs
2016-07-31 15:21:42 +02:00
Boris Faure
0e0105e559
make ty* fail nicely when in tmux/screen
2016-07-30 16:31:56 +02:00
Chris Michael
e549612ab2
terminology: Fix issue of icon not showing under wayland
...
Essentially, set the proper icon_name. The icon_name should match the
name of the .desktop file so that elementary can find the fdo icon to
use. This fixes the issue of the window icon not showing up when
running under Weston. With the proper .desktop file name now set, we
no longer need to create and set an elm_win_icon_object.
Fixes T3460
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-07-19 12:56:54 -04:00
Carsten Haitzler
d477e1be7a
open keys - fix compiler warnings
2016-07-11 17:28:51 +09:00
Boris Faure
37e9206330
options_keys: use an edje layout
2016-06-10 03:31:10 +02:00
Boris Faure
8b6036a8f7
miniview: add checks on termio_pty_get(). Closes CID1356203 and CID1356204
2016-06-04 15:44:17 +02:00
Boris Faure
9e80988f5a
keys: add Shift+End to reset scroll. Closes T3582
2016-06-01 19:56:45 +02:00
Boris Faure
7d09373c56
skip 0-width spaces. Closes T3734
2016-05-31 22:03:58 +02:00
Boris Faure
b7817a88b3
keys: add Shift+Home to get to the top of the backlog. Closes T3582
2016-05-31 21:34:44 +02:00
Arnout Engelen
4e5a07e795
Check if the font size really needs to be changed
...
Changing the font size also causes the current selection to be lost, so it's
nice to avoid it when not needed.
2016-05-26 17:57:46 +02:00
Boris Faure
cd0f61dd26
keybindings: fix binding to close focused term
2016-05-22 20:45:13 +02:00
Boris Faure
0c466d767c
Merge remote-tracking branch 'raboof/comment'
2016-05-21 22:39:14 +02:00
Boris Faure
f33aa07b81
termptyesc: fix signedness comparison
2016-05-21 22:38:39 +02:00
Boris Faure
021fbdb055
Merge remote-tracking branch 'raboof/font_size_change'
2016-05-21 22:35:15 +02:00
Boris Faure
bd769a926b
configure.ac: actually look for elm_win_teamwork_show() to know if available
2016-05-21 22:29:38 +02:00
Arnout Engelen
9a501470aa
Fix comment for 't' escape sequence
2016-05-21 15:15:19 +02:00
Arnout Engelen
ef8ee3fbda
Allow font size to be updated via escape sequence
2016-05-21 14:53:17 +02:00
Mike Blumenkrantz
f1e1a6edd8
upgrade to teamwork v2, remove dbus (v1) usage
2016-05-20 15:37:55 -04:00
Boris Faure
15fa7afaa5
key bindings: add shift+left/right to switch tabs
2016-04-12 22:47:49 +02:00
Boris Faure
ce8eda85e1
make terminology still compile with efl-1.8
2016-03-19 16:11:15 +01:00
Boris Faure
d9276909a4
add option to enable bold/italic (on by default)
2016-03-18 20:04:10 +01:00
Boris Faure
a0b7fae2dd
add a reset button to reset the key bindings
2016-03-18 19:08:58 +01:00