Commit Graph

312 Commits

Author SHA1 Message Date
Boris Faure efb6df10b7 win: fix focus after editing title 2018-02-11 12:14:39 +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 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 820a5440fe controls: use both "bg" and "base" evas objects 2018-01-15 22:45:32 +01:00
Boris Faure 080ff8e261 controls: simplify code 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 8bb7a473ae tysend status - fix focus after close/cancel 2017-12-18 15:31:45 +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 59feab991b use 'ninja install' instead of 'make install' in error message 2017-11-12 00:14:00 +01:00
Boris Faure d2d03992eb theme previews: set shine according to config 2017-11-11 23:16:15 +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 496a5f178e have only one concept of title. Ref T5704 2017-08-28 21:41:21 +02:00
Boris Faure 38da9b2ded correctly handle -T option. Ref T5704 2017-08-28 21:41:10 +02:00
Boris Faure 61ce65c700 force user title one window when set through -T option. Closes T5704 2017-08-26 19:27:39 +02:00
Boris Faure bbb7272910 teamwork: remove the feature since it's no longer supported in elm 2017-07-23 17:41:20 +02:00
Boris Faure 0844d86892 sizing: use 1px step when having visible tabs.
Closes T5421
2017-07-23 17:33:24 +02:00
Boris Faure e7b3265662 font: update all terms to this window when changing font (size)
Closes T5012
Closes T5445
2017-07-14 22:10:54 +02:00
Boris Faure fd4ef6ec1f win: add binding (Alt+Up/Down/Left/Right) to move around panes 2017-07-11 00:04:31 +02:00
Boris Faure 6f1a2dd452 constify 2017-07-06 21:37:56 +02: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 74c1ceffd8 win: double click on tab title to change it. Closes T3143 2017-02-17 21:47:57 +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 65cdb5437e win: fix comment 2016-10-17 22:19:23 +02:00
Boris Faure 76f1bf4342 prefix EINA_UNUSED parameters with an underscore
and fix related issues
2016-10-05 22:00:22 +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
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
Boris Faure cd0f61dd26 keybindings: fix binding to close focused term 2016-05-22 20:45:13 +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
Mike Blumenkrantz f1e1a6edd8 upgrade to teamwork v2, remove dbus (v1) usage 2016-05-20 15:37:55 -04:00
Boris Faure 175e474983 add safe guards around term_set_title
Should avoid issues when popup is up while term is being destroyed.
2016-03-12 16:46:31 +01:00
Boris Faure 07dc1fee17 win: set split->last_focus when swallowing in a split 2016-03-06 15:34:36 +01:00
Boris Faure 22a3237960 win: be sure we have a child to unfocus. Closes T3260 2016-03-06 13:21:02 +01:00
José Roberto de Souza ae7e96633a Allow user to set the title of the each tab 2016-03-04 11:34:24 -03:00
Boris Faure f05a9187b0 Revert "wip"
This reverts commit 487c54b4e1.
2016-03-03 13:30:14 +01:00
Boris Faure 2c5568c933 Revert "wip"
This reverts commit 02db084b27.
2016-03-03 13:30:00 +01:00
Boris Faure 815dddd880 refocus other split when closing one. Closes T3239 2016-03-03 13:01:19 +01:00
Boris Faure 02db084b27 wip 2016-02-10 23:56:59 +01:00
Boris Faure 487c54b4e1 wip 2016-02-10 00:34:39 +01:00
Boris Faure e1be15fa89 tiny cleanup 2016-02-09 20:59:32 +01:00
Boris Faure 1100f4d964 do not use edje cb when term quits. Closes T3105
Also reorganize the code a bit
2016-02-02 23:15:50 +01:00
Boris Faure e8c4f080ed fix tabbar not working after tab is closed. Closes T3105 2016-01-31 16:25:39 +01:00
Boris Faure 157eff8d6a fix CID1347402 Pointer to local outside scope 2016-01-07 22:56:53 +01:00
Boris Faure 8fbd1242fb fix CID1347401 Pointer to local outside scope 2016-01-07 22:55:42 +01:00
Boris Faure 2163bbb775 fix CID1347400 Pointer to local outside scope 2016-01-07 22:54:54 +01:00
Stanislav Baiduzhyi 33d20a1f98 Option to disable cd to current tab dir.
Summary: Adding option to disable cd to current tab dir.

Test Plan:
1. Start unpatched version of Terminology.
2. Change some Behaviour options.
3. Close unpatched version of Terminology.
4. Start patched version of Terminology.
5. cd /usr/bin
6. Open new tab and verify that previous behaviour persists, new tab working directory is /usr/bin
7. Go to Settings Behaviour and uncheck "Start in the same directory..." checkbox.
8. Optn new tab and verify that new tab working directory is ~ (or any other directory from which the Terminology was launched).
9. Restart Terminology.
10. Go to Settings Behaviour and verify that options persisted.

Reviewers: #terminology, billiob

Subscribers: godfath3r, #terminology

Projects: #terminology

Differential Revision: https://phab.enlightenment.org/D3495
2015-12-26 12:07:55 +01:00
Boris Faure 3799c924dc fix wrong assert. Closes T2858 2015-11-21 14:57:05 +01:00
Boris Faure 224173f88d win: fix CID 1339836: Null pointer dereference 2015-11-19 21:00:22 +01:00
Boris Faure 88c4ce46b0 add (ugly) cross to close tabs 2015-11-07 15:59:55 +01:00
Boris Faure 86a596d946 fix --split option 2015-09-26 12:01:42 +02:00
Boris Faure 81a8118c03 fix focus issue when creating a new tab in a split 2015-09-20 15:51:57 +02:00
Boris Faure e6b924a215 correctly set working dir on split 2015-09-19 14:49:40 +02:00
Boris Faure e8bd673f20 send ctrl[1-0] to term if "going to tab#" is not possible. Closes T2723 2015-09-14 23:01:32 +02:00
Boris Faure 4c00bec4d6 cleanup window callbacks 2015-09-02 21:40:03 +02:00
Boris Faure ede0abb245 fix tab selector segfault
Thanks to Yomi for the help in finding this
2015-08-29 15:23:50 +02:00
Boris Faure 69cffca8b0 fix splitting when no term focused. oops 2015-08-10 21:02:27 +02:00
godfath3r 93c7deeb3e Correct rewrite of splittable container
Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D2933
2015-08-08 12:05:04 +02:00
Boris Faure 3716c7ec51 apply zoom level/font size to all terms in a window 2015-08-06 21:53:14 +02:00
Boris Faure fc79e38575 rewrite whether a term container is splittable. CID1315267 and CID1315268 2015-08-06 21:50:58 +02:00
godfath3r eea13ce939 Don't split terminal endlessly.
Summary: Previously terminology would split the terminal as many times as user hit split button/shortcut. Now splitting is limited to only when there are at least 2 cells left. (horizontally or vertically) Also Fixes T2638

Reviewers: billiob

Maniphest Tasks: T2638

Differential Revision: https://phab.enlightenment.org/D2915
2015-08-05 21:55:56 +02:00
Boris Faure 423d06fed3 allow different backgrounds via tybg. Closes T2444 2015-08-03 21:45:05 +02:00
Boris Faure e2853ab0a5 rename main_term_evas_object_get() to term_termio_get() 2015-08-02 22:53:01 +02:00
godfath3r 10b7b19bc9 Add 'Show miniview by default' in options.
Summary: Fixes T1876

Reviewers: billiob, raster

Maniphest Tasks: T1876

Differential Revision: https://phab.enlightenment.org/D2869
2015-08-02 22:44:32 +02:00
Boris Faure ee6a319f17 add some documentation 2015-07-22 23:16:23 +02:00
Boris Faure 5db007e579 fix segv when spliting from controls. Closes T2568 2015-07-15 23:20:02 +02:00
Boris Faure 0fa0a5d9c8 force focus even if win is not yet focused. Closes T2416 2015-06-21 17:50:30 +02:00
Boris Faure a07a63048c fix crash from object being swallowed twice. Closes T2463 2015-06-11 23:55:35 +02:00
Boris Faure 1ad8055d28 remove useless termio_theme_get() 2015-06-11 22:29:53 +02:00
Boris Faure 5d6544ed76 do not update an url if Location is local 2015-06-03 23:04:03 +02:00
Boris Faure bac8e078c7 add some debug to fix focus issues 2015-06-02 23:11:16 +02:00
Boris Faure 9ecda225b8 fix focus wrt settings. Closes T2460 2015-06-01 21:19:14 +02:00
Boris Faure 231ff2514a fix focus issue with ctxpopup. Closes T2455 2015-05-31 17:38:02 +02:00
Boris Faure f2239735ab fix bell. we want it even if the term is focused 2015-05-13 20:53:50 +02:00
Boris Faure 948c1399cd fix focus issue wrt tabs
elm_object_focus_set() triggers a focus_out on the window even though an
 object inside it is getting the focus…
2015-05-06 21:31:52 +02:00
Boris Faure 27179b6525 restore animation when moving between tabs. Closes T2380 2015-04-30 21:06:06 +02:00
Boris Faure f64356baac fix focus issue. Closes T2376 2015-04-30 20:18:29 +02:00
Boris Faure 9e043c0425 display background on new tab. Closes T2378 2015-04-30 19:33:00 +02:00
Boris Faure 563b592b81 new tab inherits wdir. Closes T2379 2015-04-30 19:11:31 +02:00
Boris Faure d2e39f818e avoid possible division by 0. Closes CID1295447 2015-04-25 14:56:53 +02:00
Boris Faure 2228945f2c refactor win.c to use the Term_Container abstraction 2015-04-23 20:07:59 +02:00
Boris Faure 981f76c6e3 add ugly timeout to http head when trying to preview links 2015-04-08 23:40:11 +02:00
Carsten Haitzler 16402da20a fix terminology popup handling to work again
popup handling was broken when adding url head checking. it ALWAYS
used the external helpder path regardless of config requesting to
handle internally if possible. this fixes that.

@fix
2015-04-03 19:50:16 +09:00
Boris Faure e6c45c593d win: cleanup: rename Term.term to Term.termio 2015-03-22 15:11:10 +01:00
Daniel Zaoui 6aee349409 Revert "have the "xterm" cursor on the textgrid"
This reverts commit 144053f882.

It totally breaks the terminal splitting.
2015-03-22 08:22:14 +02:00
Boris Faure 144053f882 have the "xterm" cursor on the textgrid 2015-03-18 18:03:16 +01:00
Boris Faure ac12f8eec8 handle failure to termio_add() 2015-02-23 23:29:15 +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 9a75587d34 bring --split option back to life 2015-02-15 13:45:38 +01:00
Boris Faure 6c398abf3a cleanup 2014-12-21 18:20:57 +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
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
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 6430b0c494 cleanup app-server code…
* should make terminology compile with efl 1.7
* add header guards
* fix prototypes
* remove unused variables
* add some EINA_UNUSED
* prefix global variables with _ and some shadow potential issues
* functions starting with _ should be static

I didn't have a look at the meaning of the code.
2013-09-21 15:46:01 +02:00
José Roberto de Souza 230c484f3f Implementation of elm_app_server
This is disabled by default, and enabled in settings.
Also there a option to automatic restore opened terminals.
2013-09-19 15:54:32 -03:00
Carsten Haitzler f7b03ac74d add a bunch of options for title, name, role, override, borderless,
iconic, etc. on cmdline.



SVN revision: 73337
2012-07-05 10:04:39 +00:00
Jihoon Kim d27a42884b terminology: remove trailing whitespace
SVN revision: 72053
2012-06-13 00:26:00 +00:00
Carsten Haitzler 40f8eb4522 use images/terminology.png
SVN revision: 72038
2012-06-12 16:02:57 +00:00
Carsten Haitzler 8b822a61d7 finally a terminal emulator for efl! sure - uses a lot of text
objects. need evas textgrid obj and more, but this marks a first
"usable" state for terminology. more needs doing like underline and
strikethrough support, blink support, visual bell, config panel etc.



SVN revision: 72007
2012-06-12 10:10:01 +00:00