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
Boris Faure
802ed4b2eb
win: removes that blue focus animation
2018-02-12 22:09:34 +01:00
Boris Faure
3aac7976b7
termio: fix key bindings for scrolling
2018-02-12 22:03:02 +01:00
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