Commit Graph

1271 Commits

Author SHA1 Message Date
Boris Faure 144053f882 have the "xterm" cursor on the textgrid 2015-03-18 18:03:16 +01:00
Boris Faure 4abdf4b327 code cleanup: s/if (X) free(X);/free(X);/ 2015-03-18 15:23:39 +01:00
Jean Guyomarc'h 73c9e82777 config: typo in config upgrade names
Summary: If CONF_VER was 4, config should be upgraded to 5.

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D2179
2015-03-17 20:21:07 +01:00
Boris Faure ed178f5a13 typo 2015-03-17 18:47:26 +01:00
Boris Faure 33322d04af toggle fullscreen by pressing F11 2015-03-17 18:46:39 +01:00
Boris Faure 7edeea3503 correctly swap term states. Ref T725 2015-03-17 17:15:50 +01:00
Boris Faure 688bf414e4 right trim selections
Also add a (near-dumb) string buffer abstraction because working with
Eina_Strbuf, an opaque structure is a PITA.
2015-03-08 20:22:44 +01:00
Boris Faure b4ba773e17 fix CSI DECSET 1049. Should fix T725 2015-03-01 17:20:18 +01:00
Boris Faure 65d729ce32 font selector: use bg/fg for the preview from config/theme 2015-03-01 17:20:18 +01:00
Boris Faure 4d7708a0f1 tyls: rewrite size_print to avoid arithmetic exception 2015-02-26 23:47:28 +01:00
Boris Faure 6c2e2dfbf5 tyls: fix warnings
size comparison
unused variable
2015-02-26 23:47:28 +01:00
Thibaut Broggi 85edd0407c tyls: remove leaks and fix write() checking
leaks were due to a "return 0" in main()
removing it, so that the exit functions from ecore can run properly
changing the way write() was checked, now we check if all chars are printed
2015-02-26 23:47:28 +01:00
Thibaut Broggi 03b88bafc7 tyls: change options management and refactor
adding an option "-a" that display hidden files
changing the way options are managed: arguments can no be passed in any order
refactoring size_print function to support ZB and YB
2015-02-26 23:47:22 +01:00
Boris Faure 27304c456f make terminology start on solaris 2015-02-23 23:33:06 +01:00
Boris Faure cf1a9a3a01 verify that tcgetattr() does not fail 2015-02-23 23:33:01 +01:00
Boris Faure ac12f8eec8 handle failure to termio_add() 2015-02-23 23:29:15 +01:00
Boris Faure 12ef99bcf2 fix segfault when Term widget can not be created 2015-02-23 22:52:33 +01:00
Boris Faure 122fa9da0c add some error messages
Also change level of critical error messages
2015-02-23 22:51:33 +01:00
Boris Faure f13d9ad111 fix compilation on solaris 2015-02-23 22:20:18 +01:00
Boris Faure 2de1cd87b6 pid_t can be long (on solaris) 2015-02-23 21:51:28 +01:00
Aurélien Larcher 2d710e5705 define MIN/MAX in case they're not defined
Used for OpenIndiana
2015-02-23 21:25:10 +01:00
Boris Faure 141cfd959d url head: handle links that are notimages/movies 2015-02-23 20:17:48 +01:00
Boris Faure be30c069f3 close media popup on escape 2015-02-21 12:24:28 +01:00
Boris Faure 5d169ebd71 correctly check if ecore_con_url_head() is available 2015-02-21 11:40:10 +01:00
Boris Faure 76e9ae6481 do an HTTP HEAD to get media type when poping media 2015-02-21 11:40:10 +01:00
Boris Faure 6762578ace do only once ecore_con_(url_)init/shutdown() 2015-02-21 11:40:10 +01:00
Boris Faure ca2d7846a9 fix normal selection after box selection 2015-02-19 23:30:28 +01:00
Boris Faure e4d357ace2 make terminology work on solaris
tcsetattr() should only be called on the slave fd. On linux, both master
or slave are accepted, not on solaris.
2015-02-17 22:08:47 +01:00
Boris Faure f80d9634e3 fix selection when backscrolling and new content arrives
Thanks to Davide Andreoli for the bug report
2015-02-16 22:15:00 +01:00
Boris Faure feccb7bcab fix single line selection with ctrl down 2015-02-16 20:50:13 +01:00
Boris Faure 5b4e6de54a tybg: make tybg without argument display the default wallpaper
The ty* tools need some love…
2015-02-15 20:41:31 +01:00
Conrad Meyer 4ea6bdb04e make terminology compile on efl < 1.8. Patch by Conrad Meyer 2015-02-15 20:29:47 +01:00
Boris Faure 896d28afc3 update contributors 2015-02-15 14:11:37 +01:00
Boris Faure 9a75587d34 bring --split option back to life 2015-02-15 13:45:38 +01:00
Boris Faure 296cdcd102 usual round of fixes to make it compile with efl 1.7 2015-02-14 12:08:50 +01:00
Boris Faure cf1c8f7c02 move selection when content underneath scrolls 2015-02-13 22:59:56 +01:00
Boris Faure 168395c3e6 revalidate links when scrolling due to mouse wheel. Closes T2111 2015-02-13 22:58:41 +01:00
Boris Faure 4cad406233 remove dead assignment 2015-02-11 21:42:19 +01:00
Boris Faure 337fd3bdb1 minor selection fixes
do not consider "click + shift click" if there was a focus out in the
meantime.

disable selection on click when app steals the mouse
2015-02-10 23:55:25 +01:00
Boris Faure a3a8e370ee fix signedness comparison issue 2015-02-07 12:03:44 +01:00
broggi_t 4b4deb3ad3 tyls : make the code prettier and more flexible 2015-02-07 12:02:19 +01:00
broggi_t 2a397f35cd fix some possible bug in tyalpha, tybg, typop, tyq commands
make the code prettier in tyls
remove useless exit(0) at the end of the main (just before some return 0)
2015-02-07 12:02:19 +01:00
Boris Faure 9814b10ad2 correctly handle Alt-Enter 2015-02-06 23:12:32 +01:00
Boris Faure cc6b11a6f5 make selection scroll when at the edge of the terminal. Closes T1944 2015-02-06 22:31:51 +01:00
Boris Faure f0151cecf2 consider "blocks" as word separators 2015-02-06 22:10:10 +01:00
Boris Faure 26f2607095 select links as words. Closes T2038 2015-02-06 22:10:10 +01:00
Boris Faure 5a9dcf1ed3 do not apply extend fix when selection is box 2015-02-06 22:10:10 +01:00
Boris Faure 788f3e7eb7 rewrite selection system. Closes T1893 2015-02-06 22:09:52 +01:00
Boris Faure 6a2b3ae871 selection: add click then shift-click 2015-02-06 20:48:03 +01:00
Boris Faure d18a47c5c6 selection: be able to "continue" a selection to a line with shift+triple-click 2015-02-06 20:48:03 +01:00
Boris Faure da474a4c68 cleanup _sel_set() api 2015-02-06 20:48:03 +01:00
Boris Faure bae16a33b9 we're in 2015 2015-02-03 20:44:46 +01:00
Boris Faure c6b5093af5 fix compilation when gettext is not found. Closes T2083 2015-02-03 20:26:25 +01:00
Carsten Haitzler 6268dc32e4 terminology - fix double click selection and jed display
this fixes breaks introduced by
e94051dd86 (the previous commit).

latest commit: e94051dd86

breaks 2 things.

1. double-click to select a "word" is broken. the right end of the selection is
stuck at the point where the cursor is, not the right end of the word. try it.
at least that is what i see. either way double-click to select a word is now
broken. ;(

2. what used to be black whitespace bg is now "empty" chars (so i see
terminology bg). this breaks jed output pretty badly.

see...

working:
http://www.enlightenment.org/ss/e-54d05f357a3391.24747752.png

not working:
http://www.enlightenment.org/ss/e-54d05f672a4df7.83729511.png
2015-02-03 14:45:23 +09:00
Boris Faure e94051dd86 make selection consistent when selecting space with no text. Closes T2013 2015-01-30 00:24:55 +01:00
Boris Faure 87d653ea4d add xterm 777 notification support. Closes T1765 2015-01-12 23:13:43 +01:00
Boris Faure bfa9cd30e7 fix shadowed variable 2015-01-11 13:48:05 +01:00
Boris Faure cd04b71611 check tcsetattr() 2015-01-10 21:02:05 +01:00
Boris Faure 36e5ca2165 "handle" HTS 2015-01-10 21:02:04 +01:00
Boris Faure da809eb023 "handle" TBC 2015-01-10 21:02:04 +01:00
Carsten Haitzler 0104ce64a9 input methods - display preedit text inside grid - makes it work on wayland
@fix - this makes preedit text while composiing display within
terminology like elm entry and edje entry do. no overlayed preedit
window/box. this means that the pre-display has to be done by
terminology, which this does, but it means wayland now can display
preedit strings in terminology like in elm/edje entries too.
2015-01-07 22:35:49 +09:00
Boris Faure 6c398abf3a cleanup 2014-12-21 18:20:57 +01:00
Boris Faure 7f98dba714 set a title to the term based on the shell started 2014-12-16 22:11:06 +01:00
Boris Faure b2b1097fd7 fix alt-- to output \033\055. Closes T1921 2014-12-15 20:33:31 +01:00
Boris Faure de34557170 always prefix with \033 when alt is pressed 2014-12-14 20:32:59 +01:00
Boris Faure 5d2c531756 fix "alt--". Thanks to Flyoc for the bug report 2014-12-14 19:36:36 +01:00
Boris Faure 3ffcbadd6f remove app server dead code 2014-12-13 12:30:55 +01:00
Carsten Haitzler 5ed68d82b2 terminology - add tab bar at the top that looks like normal tabs
this makes the default (and solarized) themes have a tab bar at the
top that look and behave like normal tabs. option to disable these.

other themes might need some updating if they dont follow default by
 #including it.
2014-12-11 22:19:55 +09:00
Boris Faure eb80949921 reset also removes the scrollback. Closes T1891 2014-12-08 20:32:27 +01:00
Boris Faure cbc92a55fc Fix screen mangling from prompt redraws on resize. Closes T1193
There are still some oddities because the shell doesn't expect us to
reflow.

Let's say we have the following where X is the cursor.

+-------+
|foobar$|
|X      |
+-------+
Here, the shell explicitly told us to go to a new line after '$'. We don't
consider '$' is on the same line as 'foobar'.
Decrease the width of that window.
+------+
|foobar|
|$     |
|X     |
+------+
Let the shell know the new size. It decides to redraw the prompt. It
remembers it told us to go to a new line, so the first thing it tells us
is to go one line up: to '$' and not 'foobar'. Then it tells us to clear
the screen downward from there and to print "foobar$" (and go to new
line).

Thus we have the following:
+------+
|foobar|
|foobar|
|$     |
|X     |
+------+
2014-12-07 23:51:23 +01:00
Carsten Haitzler 5ba415425b Revert "introduce Term_Container"
This reverts commit 50f7468dbc.
2014-12-03 08:42:55 +09:00
Carsten Haitzler eafdf2375c Revert "have a working Solo container"
This reverts commit bbbb9f42e4.
2014-12-03 08:42:53 +09:00
Carsten Haitzler 4df97588b6 Revert "splits are back again"
This reverts commit 8d8075ab36.
2014-12-03 08:42:51 +09:00
Carsten Haitzler 2befa387e7 Revert "make Win a Term_Container"
This reverts commit 647c09c45b.
2014-12-03 08:42:50 +09:00
Carsten Haitzler 73e909641d Revert "add term_next/prev/first/last"
This reverts commit 9e1c97a793.
2014-12-03 08:42:49 +09:00
Carsten Haitzler ee09c139df Revert "win: rename term->term to term->termio"
This reverts commit 9aaeed4afc.
2014-12-03 08:42:47 +09:00
Carsten Haitzler 3ad611a828 Revert "top-level tabs"
This reverts commit c6b5d0798f.
2014-12-03 08:42:46 +09:00
Carsten Haitzler f2f181cf1b Revert "toggle tabbar"
This reverts commit 973a8d34c6.
2014-12-03 08:42:45 +09:00
Carsten Haitzler 171b960ed0 Revert "fix focus issue"
This reverts commit fd6ce546ed.
2014-12-03 08:42:43 +09:00
Carsten Haitzler cb77fe619a Revert "the tab selector is back!"
This reverts commit 4fd9c9d178.
2014-12-03 08:42:42 +09:00
Carsten Haitzler 913b6d7417 Revert "get add/hide buttons out of the toolbar"
This reverts commit 9fa112a98c.
2014-12-03 08:42:41 +09:00
Carsten Haitzler d43513e71b Revert "move split out of Term_Container"
This reverts commit 9d3e2d66c1.
2014-12-03 08:42:39 +09:00
Carsten Haitzler 56c5db34e1 Revert "an arrow_up looks better to hide the tabbar"
This reverts commit a4d64fa6f0.
2014-12-03 08:42:38 +09:00
Carsten Haitzler 480ab8d8d4 Revert "work on bell status"
This reverts commit fb6b7e9f75.
2014-12-03 08:42:36 +09:00
Carsten Haitzler f408f58316 Revert "add option to hide top tab bar on launch"
This reverts commit 9abf95c981.
2014-12-03 08:42:35 +09:00
Carsten Haitzler fbb21059e1 Revert "only show tabselector if tabcount > 1"
This reverts commit a85dc5be9d.
2014-12-03 08:42:34 +09:00
Carsten Haitzler 4192a1fc3e Revert "late focus fix"
This reverts commit 8f856a1970.
2014-12-03 08:42:32 +09:00
Carsten Haitzler 1135027067 Revert "tabs everywhere!"
This reverts commit e23136b194.
2014-12-03 08:42:31 +09:00
Carsten Haitzler f80fbd90b1 Revert "make tab-related keybindings work again"
This reverts commit 6eeceb5ab4.
2014-12-03 08:42:30 +09:00
Carsten Haitzler 25605153e3 Revert "get rid of application server"
This reverts commit 3ffe45d1c6.
2014-12-03 08:42:29 +09:00
Carsten Haitzler 64be8ed6b3 Revert "clean up"
This reverts commit 4ccd2fba63.
2014-12-03 08:42:27 +09:00
Carsten Haitzler 2145962556 Revert "callback on tab selector is back again"
This reverts commit bd4358dd19.
2014-12-03 08:42:26 +09:00
Carsten Haitzler 62e4e1d9f8 Revert "fix tab count"
This reverts commit dfb8889248.
2014-12-03 08:42:25 +09:00
Carsten Haitzler a8e886a05f Revert "fix tab selector"
This reverts commit 3b6b4bfe5f.
2014-12-03 08:42:23 +09:00
Carsten Haitzler 40e2ca168a terminology - let's stop spewing out a warning all the time in keyin.c 2014-12-03 08:29:02 +09:00
Boris Faure 3b6b4bfe5f fix tab selector 2014-12-01 00:04:42 +01:00
Boris Faure dfb8889248 fix tab count 2014-12-01 00:04:28 +01:00
Boris Faure bd4358dd19 callback on tab selector is back again 2014-11-30 21:28:46 +01:00
Boris Faure 4ccd2fba63 clean up 2014-11-30 21:25:49 +01:00
Boris Faure 3ffe45d1c6 get rid of application server
you won't be missed
2014-11-30 20:59:47 +01:00
Boris Faure 6eeceb5ab4 make tab-related keybindings work again 2014-11-30 20:54:23 +01:00
Boris Faure e23136b194 tabs everywhere! 2014-11-30 16:21:39 +01:00
Boris Faure 8f856a1970 late focus fix 2014-11-30 16:21:39 +01:00
Boris Faure a85dc5be9d only show tabselector if tabcount > 1 2014-11-30 16:21:39 +01:00
Boris Faure 9abf95c981 add option to hide top tab bar on launch 2014-11-29 22:28:20 +01:00
Boris Faure fb6b7e9f75 work on bell status 2014-11-29 22:05:44 +01:00
Boris Faure a4d64fa6f0 an arrow_up looks better to hide the tabbar 2014-11-29 22:05:41 +01:00
Boris Faure 9d3e2d66c1 move split out of Term_Container 2014-11-29 22:05:41 +01:00
Boris Faure 9fa112a98c get add/hide buttons out of the toolbar 2014-11-29 22:05:38 +01:00
Boris Faure 4fd9c9d178 the tab selector is back! 2014-11-29 22:05:19 +01:00
Boris Faure fd6ce546ed fix focus issue 2014-11-29 22:05:19 +01:00
Boris Faure 973a8d34c6 toggle tabbar 2014-11-29 22:05:19 +01:00
Boris Faure c6b5d0798f top-level tabs 2014-11-29 22:05:18 +01:00
Boris Faure 9aaeed4afc win: rename term->term to term->termio 2014-11-29 22:05:18 +01:00
Boris Faure 9e1c97a793 add term_next/prev/first/last 2014-11-29 22:05:18 +01:00
Boris Faure 647c09c45b make Win a Term_Container 2014-11-29 22:05:18 +01:00
Boris Faure 8d8075ab36 splits are back again 2014-11-29 22:05:18 +01:00
Boris Faure bbbb9f42e4 have a working Solo container 2014-11-29 22:05:18 +01:00
Boris Faure 50f7468dbc introduce Term_Container 2014-11-29 22:05:18 +01:00
Boris Faure e562bcb7e2 refactor main.c to win.c 2014-11-29 22:05:18 +01:00
Boris Faure 74912ae1e9 remove dead code. Fix CID 1256184 2014-11-29 22:03:38 +01:00
Boris Faure cc87372941 keep hotfix for efl < 1.13 2014-11-29 21:59:00 +01:00
Wonguk Jeong 709f3172c6 media: remove hotfix for dnd with media with space
Previously, path was delivered without uri decoding.
Now, since it is fixed by D1384 in elm_cnp, remove the hotfix.

@fix
2014-11-29 15:39:57 +01:00
Carsten Haitzler 3be6a3b812 terminology - fix warning of uninitialised var and fmtinhg in keybinds 2014-11-27 20:25:54 +09:00
tantSinnister eea3338a43 Fix for the file URI on FreeBSD.
On FreeBSD terminology complains about media_add() can not decode
'folder' and '/usr/home/xyz/1.png'.

This could be fixed by changing the URI from "file:%s" to "file://%s"
2014-11-23 17:17:03 +01:00
Boris Faure c0f9d25ce1 fix config save wrt gravatar. Thanks to Sachiel for spotting it 2014-11-03 21:02:37 +01:00
Boris Faure aece218cf3 fix segfault in miniview due to large codepoints 2014-10-28 20:52:35 +01:00
Boris Faure 57cace69d2 fix CID 1249476: Logically dead code 2014-10-25 19:16:19 +02:00
Boris Faure 8204c5c340 options_behavior.c: use macros to reduce code duplication 2014-10-15 21:44:59 +02:00
Boris Faure d4c2c23394 reorganize config struct 2014-10-15 21:44:59 +02:00
Boris Faure 58de591e58 show gravatar tooltips on emails 2014-10-15 21:44:59 +02:00
Boris Faure 2568c50a40 set media type as an enum 2014-10-15 21:44:58 +02:00
Boris Faure c7f71d75e8 termio: cleanup some termio_config_get() uses 2014-10-15 21:44:58 +02:00
Boris Faure e8050e6e28 gravatar: use a tooltip 2014-10-15 21:44:58 +02:00
Boris Faure c33409048f add md5.c,h
same code used in ethumb…
2014-10-15 21:44:58 +02:00
Boris Faure f3a0e92e56 very early work on gravatar integration 2014-10-15 21:44:58 +02:00
Boris Faure 32fb73b733 termio: clean up _update_link() 2014-10-15 21:44:58 +02:00
godfath3r 564d78ce93 miniview.c: Remove _do_configure() call from smart_show
Summary:
Strangelly enough, _do_configure() call from smart_show() is not necessary.
So, let's clean that up.

Test Plan: Miniview works and resizes as expected without that function call.

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D1539
2014-10-15 20:41:43 +02:00
Boris Faure 4d4575382c update contributors 2014-10-12 16:04:32 +02:00
Boris Faure 2ae440c9c2 fix segfault. Closes T1716 2014-10-05 23:07:58 +02:00
Boris Faure fe8b3b9b64 fix issue with keypad keys (bad copy/paste) 2014-10-05 23:07:58 +02:00
Boris Faure 585d4c55ec forbid AltGr in keybindings 2014-10-03 20:59:38 +02:00
Boris Faure bf288c8031 restrict modifiers used on key-bindings. Should fix T1695 2014-10-02 21:42:03 +02:00
Boris Faure 8778e1d987 tab can also be called ISO_Left_Tab. Closes T1698 2014-10-02 20:59:38 +02:00
Boris Faure 6f27cdc3ec key bindings now support the win key 2014-09-30 22:07:28 +02:00
Boris Faure e69fe704fb fix ctrl-minus. Closes T1698 2014-09-30 21:24:42 +02:00
Boris Faure 951ed16894 distinguish ctrl-backspace 2014-09-28 23:06:56 +02:00
Boris Faure dcb978662a fix alt-backspace 2014-09-28 22:55:56 +02:00
Boris Faure 91f88f21ff remove some dead code 2014-09-28 22:45:58 +02:00
Boris Faure a5be0c33c7 some fixes around the key bindings configuration panel 2014-09-28 19:02:21 +02:00