Commit Graph

1892 Commits

Author SHA1 Message Date
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 6907ecf9f2 configure.ac: remove --with_max_log_level
If one don't want logs, it can already be done at efl's level.
I wasted too much time on that stupid setting.
2016-10-17 22:32:35 +02:00
Boris Faure 65cdb5437e win: fix comment 2016-10-17 22:19:23 +02:00
Boris Faure 8a8d6d721d use http://issues.terminolo.gy/ 2016-10-11 22:34:38 +02:00
Calinoiu Alexandru Nicolae bcfe04d136 Update the path to issues
The current path returns 404 is a good idea to have users first search for a issue before opening one.
2016-10-11 21:59:41 +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
Carsten Haitzler 150b98328c terminology theme - fix some warnings for missign states etc. 2016-10-09 11:58:58 +09: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
Youngbok Shin 44f6fb8afc Add a missing description for text selection of nyanology
Summary:
When nyanology has text selection, it produces an error message
every second.
@fix

Test Plan:
1. Set theme as "nyanology"
2. Set a text selection.
3. See error messages.

Reviewers: raster

Differential Revision: https://phab.enlightenment.org/D4327
2016-10-04 20:44:55 +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
maxerba 85dbaf83d6 Forgot to git add the new translation :) 2016-09-21 21:57:14 +02:00
maxerba d12fee27ed Adding slovenian translation 2016-09-21 21:56:11 +02: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