Boris Faure
0eac2752d3
win: don't call elm_win_alpha_set() too many times
2020-04-06 21:58:21 +02:00
Boris Faure
0fb87e2756
win: use edje_object_message_send on edj part…
2020-04-06 00:53:34 +02:00
Boris Faure
cbbfe60aae
config: share translucent+opacity settings accross instances
2020-04-05 23:20:11 +02:00
Boris Faure
5d2e0479b9
win: simplify focus handling when dropping tab to split
2020-03-30 22:30:10 +02:00
Boris Faure
5c85b8c624
win: _focus_validator() saves focused tc + add debug
2020-03-30 22:30:10 +02:00
Boris Faure
d267b57fb1
win: unfocus from correct parent + add focus checks
2020-03-29 13:34:59 +02:00
Boris Faure
6b9a9d680f
win: ensure clear state when recreating tabs
2020-03-28 22:08:19 +01:00
Boris Faure
7eba4c97e0
drag: add animation when dragging tab over other tabs
2020-03-26 22:00:31 +01:00
Boris Faure
7c857b211e
win: show hand cursor when dragging tab
2020-03-26 22:00:31 +01:00
Boris Faure
5a2e394c36
tab drag: have a thumbnail of the tab
2020-03-26 22:00:30 +01:00
Boris Faure
1ca9c13ace
win: add _focus_validator() to help debug focus issues
2020-03-26 22:00:30 +01:00
Boris Faure
81d9063d65
win: handle case where tab dragged is the last term
2020-03-26 22:00:30 +01:00
Boris Faure
0edb5f7913
win: rollback tabs when dragging tabs made last tab lonely
2020-03-26 22:00:30 +01:00
Boris Faure
413e6eb2a2
win: move saved position of tab when other tab is closed
2020-03-26 22:00:30 +01:00
Boris Faure
0fc86663a4
win: rollback tab drag from tabs
2020-03-26 22:00:30 +01:00
Boris Faure
9a6ff3c16c
win: rollback splitted term on tab drag cancellation
2020-03-26 22:00:30 +01:00
Boris Faure
496a307f67
win: drag a tab to split
2020-03-26 22:00:29 +01:00
Boris Faure
7b97a64644
tab dnd: add anim on where to drag the tab to split
2020-03-26 22:00:29 +01:00
Boris Faure
00f08812be
win: avoid div by 0. CID1421876
2020-03-19 09:27:57 +01:00
Boris Faure
901e9692c1
win: simplify horizontal drag code
2020-03-18 23:31:06 +01:00
Boris Faure
c338286195
win: ensure the term has a container when dragging it
2020-02-25 21:01:33 +01:00
Boris Faure
6f48f706f5
win: have only one tab drag at a time
2020-02-23 21:52:24 +01:00
Boris Faure
1a7df68b84
win: test calloc()
...
Closes CID1419432
2020-02-15 23:09:32 +01:00
Boris Faure
2316b92d67
win: reinsert the tab when the mouse is
2020-02-15 22:33:51 +01:00
Boris Faure
82aa688f97
win: attach/detach term from structure to be able to move them
2020-02-15 21:28:15 +01:00
Boris Faure
daf5e03406
win: no need to set "tabs" in object data
2020-02-13 19:24:32 +01:00
Boris Faure
9dc5249224
win: handle drag on tab shown in splits
2020-02-13 19:24:32 +01:00
Boris Faure
300ddee81a
win: remove animation on long press on tab
2020-02-13 19:24:32 +01:00
Boris Faure
ee2c3e5ae9
theme: add active style to tabbar_back when tab is being dragged
2020-02-13 19:24:31 +01:00
Boris Faure
ef29315736
drag tabs to reinsert them
2020-02-13 19:24:31 +01:00
Boris Faure
941328d3f2
win: remove useless elm_layout_content_unset()
2020-02-03 21:56:53 +01:00
Boris Faure
2051978591
win: fix sizing
2020-02-03 21:00:09 +01:00
Boris Faure
d3147b1880
win: current tab shouldn't count for missed bell
2020-01-29 00:09:24 +01:00
Boris Faure
bee2482fe7
win: add _tabcount_refresh() to simplify tabcount handling
2020-01-29 00:06:12 +01:00
Boris Faure
dc2bcc94a1
win: remove unused variable
2020-01-27 23:53:59 +01:00
Boris Faure
5b8d6bd30d
win: add assert to close CID1412739
2020-01-19 18:51:27 +01:00
Boris Faure
a90cb8e84e
win: be able to drag'n'drop tabs over the tabbar
2020-01-19 18:17:53 +01:00
Boris Faure
15e2921b14
win: rework tab management to ease tab drag'n'drop
2020-01-19 18:16:48 +01:00
Boris Faure
4e651fc647
win: add vim markers
2020-01-19 18:16:48 +01:00
Boris Faure
da372bd1c8
win: use elm_layout for term->bg
2020-01-19 18:16:47 +01:00
Boris Faure
2526fc1cab
win: use term->core to manage edj group "terminology/core"
2020-01-19 18:16:47 +01:00
Boris Faure
7e3de5fad9
main: figure early whether the scale wizard needs to be shown
2019-12-08 16:46:49 +01:00
Carsten Haitzler
374d1b3e29
cmbox - fix focus handling to work again
...
alt+home opens the "command box" for terminology. this is an extended
control system where we can add lots of commands. it's been there for
a while. look at termcmd.c and termcmd_do() for current commands like:
f <- set font to normal size
fb <- set font to big size
f+ <- increase font size
f- <- decrease font size
/string <- search for "string" (not implemented yet but recognized)
g0 <- set geometry to 80x24
g1 <- set geometry to 80x40
g2 <- set geometry to 80x60
g3 <- set geometry to 80x80
g4 <- set geometry to 120x24
g5 <- set geometry to 120x40
g6 <- set geometry to 120x60
g7 <- set geometry to 120x80
g8 <- set geometry to 120x120
b <- clear backgorund
b/file/path.jpg <- set background to /file/path.jpg
you get the idea ... it's a command character (or set of chars)
followed by paramters, then hit enter to finish.
2019-12-06 09:14:40 +00:00
Boris Faure
a5aaeefc18
remove condition on if (X) eina_stringshare_del(X)
2019-11-29 23:31:14 +01:00
Boris Faure
1195c022f3
default.edc: move tab selector on the tab line
2019-10-26 18:18:03 +02:00
Boris Faure
c130c6f683
main: change prototype for main_new()
2019-10-26 18:13:25 +02:00
Boris Faure
0f5e928e37
Revert "wip"
...
This reverts commit fc865e97b0
.
2019-10-21 23:28:42 +02:00
Boris Faure
fc865e97b0
wip
2019-10-20 23:01:10 +02:00
Boris Faure
9b23e02b4e
win: clean up tabs list asap
2019-10-20 20:05:02 +02:00
Boris Faure
5e5ac579b5
win: cleanup windows_free()
2019-10-17 09:58:40 +02:00
Boris Faure
bb6d540145
Merge branch 'terminology-1.5'
2019-10-14 21:55:53 +02:00
Boris Faure
96095b5b9d
win: remove hide_cursor_timer when closing a window
...
@fix
2019-10-14 21:54:47 +02:00
Boris Faure
a9ec48191d
win: clean up popmedia code. Closes T8330
...
Mainly add _popmedia_now() that flushes down the queue then add an
element. This is no longer the job of _popmedia_show().
Also add _popmedia_queue_free().
2019-10-10 23:40:32 +02:00
Boris Faure
80124a72ca
win: no longer segfaults from typop with multiple files
2019-10-10 22:55:21 +02:00
Boris Faure
6b8e6f0516
win: reorganize code to have popup media fold
2019-10-10 22:29:30 +02:00
Boris Faure
424ddba2c8
splits: show missed bells when a title tab is shown
2019-10-06 23:36:28 +02:00
Boris Faure
a32b9cee88
tabs: show tabs that have a bell
2019-10-05 15:31:12 +02:00
Boris Faure
9a2ddd8468
win: update terms on change of config about show_tabs
2019-09-30 21:55:47 +02:00
Boris Faure
dc1ddf7e40
config: turn "notabs" into "show_tabs"
2019-09-30 21:55:47 +02:00
Boris Faure
5996e5eb2c
win: show title tab on splits when config is set accordingly
2019-09-30 21:55:42 +02:00
Boris Faure
2b43b9bab2
options_elm: add scale slider
2019-09-08 20:19:25 +02:00
Boris Faure
b8af21128e
config: simplify API
2019-09-08 19:41:16 +02:00
Boris Faure
67805411a4
add wizard to set scaling when config does not exist
2019-09-08 19:28:52 +02:00
Boris Faure
98017f1647
hide cursor: fix unchecking "auto hide cursor". Closes T8148
2019-09-02 23:27:42 +02:00
Boris Faure
58df5715d1
win: remove shadowed variable
2019-07-08 21:30:27 +02:00
Boris Faure
14d799d63e
tab_selector: fix focus issue
2019-07-08 21:30:27 +02:00
Boris Faure
432485dae3
win: start the hide_cursor timer on window creation
2019-07-08 21:30:27 +02:00
Boris Faure
b7fff38636
win: hide mouse cursor when idle after timer
2019-07-08 21:30:27 +02:00
Boris Faure
38404d93ff
options_behavior: add ui to change "hide cursor" setting
2019-07-08 21:30:27 +02:00
Boris Faure
253446db49
debug: remove some
2019-06-18 22:09:29 +02:00
Boris Faure
cf060d2a04
focus: block focus manager from getting key inputs when they are consumed
2019-06-18 22:06:44 +02:00
Boris Faure
ff136b78f1
win: export term_is_focused()
2019-06-17 22:12:59 +02:00
Boris Faure
b464932d2d
Revert "Revert "win: let elm handle focus""
...
This reverts commit 8354e83726
.
2019-06-17 21:22:17 +02:00
Boris Faure
8354e83726
Revert "win: let elm handle focus"
...
This reverts commit 113bf27619
.
Not yet fully working. Previous behaviour was better.
2019-06-14 11:19:30 +02:00
Boris Faure
113bf27619
win: let elm handle focus
2019-06-13 20:45:53 +02:00
Boris Faure
d29533e341
win: add term_bg_get()
2019-05-26 22:52:57 +02:00
Boris Faure
3c12162dcf
win: use elm_layout for the base objects
2019-05-24 21:47:25 +02:00
Carsten Haitzler
bbe5b3eb03
focus - ensure focus is properly handled first time for unfocused wins
...
this fixes a case where ecore imf is never told about a newly focused
context because the relative term is already the child in an initial
case... this gets input methods working again
@fix
2019-04-15 17:19:33 +01:00
Boris Faure
72afb80d6e
win: use min_* as base step since the old formula may < 0
...
Closes T7699
2019-03-02 18:26:04 +01:00
Boris Faure
2e34b8e962
add configuration on whether to activate links
...
- on email
- on file paths
- on URLs
- from escape codes (called hyper links in the code)
Closes T6339
2019-01-21 22:11:22 +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
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
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
e2712c5153
win: do not pass input when tab selector is up
...
Closes T7207
2018-08-10 08:03:52 +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
6694266a3d
fix focus issue when mouse moving over window without focusing
2018-05-03 21:41:28 +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
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
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
189d138d03
win: expose term_focus();
2018-03-19 22:11:53 +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
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
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