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
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
76f1bf4342
prefix EINA_UNUSED parameters with an underscore
...
and fix related issues
2016-10-05 22:00:22 +02:00
Boris Faure
b7817a88b3
keys: add Shift+Home to get to the top of the backlog. Closes T3582
2016-05-31 21:34:44 +02:00
Arnout Engelen
4e5a07e795
Check if the font size really needs to be changed
...
Changing the font size also causes the current selection to be lost, so it's
nice to avoid it when not needed.
2016-05-26 17:57:46 +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
d9276909a4
add option to enable bold/italic (on by default)
2016-03-18 20:04:10 +01:00
Boris Faure
629e604704
termpty_cellrow_get() might return NULL. CID1352819
2016-03-12 17:23:37 +01:00
Boris Faure
8d0e13eff9
ensure CWD is NULL-terminated. CID1352820
2016-03-12 17:11:01 +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
b74cfc752a
do not append \n at end of box selection
2016-02-07 18:15:00 +01:00
Boris Faure
bed1532e19
remove callbacks early when pty exists
2016-02-02 23:34:54 +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
Andy Williams
ca96a35da7
[zoom] Smooth the scaling of fonts when zooming
...
Capture font size when gesture begins and correctly
update scale based off that until gesture ends.
Test plan:
1) hold Ctrl and scroll the mouse wheel in then out
in a single motion
2) notice zooming continues in initial direction
and accelerates towards the min or max
With patch it will adjust more smoothly and also
match the current zoom of the gesture.
@fix
2016-01-29 14:27:26 +00:00
Boris Faure
4367b4ceb6
fix selections (again and again) of single-char words
2016-01-27 21:08:45 +01:00
Boris Faure
84c1c77757
oops. Always use curly braces…
2016-01-27 20:17:15 +01:00
Boris Faure
98671b2493
fix one-char selections
2016-01-27 12:49:24 +01:00
Mike Blumenkrantz
7f53f4daf7
do not force full textgrid width update if preedit_str is ""
...
in many cases this will be the value which has been set, so ignoring it
will yield moderate performance improvements
Reviewed-by: Boris Faure <billiob@gmail.com>
2015-12-15 17:30:02 -05:00
Boris Faure
4c53f10bf0
do not right trim "." on word selection
...
this makes double click on "../foobar"
2015-09-20 15:42:28 +02:00
Boris Faure
9c4167f74f
always support double-width
2015-09-19 16:23:41 +02:00
Boris Faure
2b3eda694f
always support italic
2015-09-19 16:18:17 +02:00
Boris Faure
cb531b5d9b
correctly set bold, even if textgrid do not support it (yet)
2015-09-06 23:52:43 +02:00
Boris Faure
22ae02127b
fix copy/paste bug. CID1316546
2015-09-01 23:45:18 +02:00
Boris Faure
45b7d20425
trim selection before trying to open it as url
2015-08-24 23:45:14 +02:00
Boris Faure
cf58c1ee76
add context menu to open a selection as an url. Closes T584
2015-08-24 23:09:24 +02:00
Boris Faure
144e0b5068
add option to disable terminology escape codes that could be considered
...
security issues by some
They are enabled by default.
2015-08-23 20:57:49 +02:00
Boris Faure
5c9d98cf22
add error handlers on textblocks. Should fix T2672
2015-08-23 16:41:15 +02:00
Boris Faure
1400b122ec
bad copy/paste. CID1316546
2015-08-18 22:37:10 +02:00
Boris Faure
a33a937ab7
add powerlines to word separators
2015-08-16 21:48:22 +02:00
Boris Faure
716cb03b5b
fix small issue on word selection and simplify code
2015-08-16 21:40:58 +02:00
godfath3r
8e8207dae1
Dont use : as a separator but trim it from selected word. Fixes T2602
...
Reviewers: billiob
Maniphest Tasks: T2602
Differential Revision: https://phab.enlightenment.org/D2931
2015-08-16 20:36:38 +02:00
Mike Blumenkrantz
8d4b06617f
use event length instead of strlen() when dropping something into a terminal
...
the data member of Elm_Selection_Data may not be nul terminated, so
any string operation on this is liable to crash
2015-08-13 14:46:02 -04:00
Boris Faure
7af60a58c8
BACKLOG_ROW_GET() should not be called with a "screen" value
...
the backlog is independent of the screen size. Thus a single line in the
backlog can span many lines on the screen.
2015-08-09 14:10:12 +02:00
Boris Faure
49be05a02f
do not expand window on zoom, resize the content. Closes T886
2015-08-06 22:40:19 +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
8fbffdd869
renames to make the code more consistant
2015-08-03 20:44:55 +02:00
Boris Faure
35c8fd79c0
speed up browsing backlog
...
have a "beacon": single point where the link between an offset in the
backlog and one in screen coordinates
2015-08-03 20:44:55 +02:00
Boris Faure
34592ab5b3
new resize/backlog implementation. Closes T2461
...
idea: store full lines in the backlog. No need to change them on resize
2015-08-03 20:43:17 +02:00
Chris Michael
25ec6d06cb
terminology: Fix formatting
...
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-22 12:24:33 -04:00
Chris Michael
23045a08a7
terminology: Fix formatting
...
NB: No functional changes, just formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-22 11:42:46 -04: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
566033f78d
do not remove links when there is a popup due to such link
2015-06-03 23:03:07 +02:00
Boris Faure
7b72052773
remove callbacks when deleting termio
2015-06-02 23:23:56 +02:00
Boris Faure
231ff2514a
fix focus issue with ctxpopup. Closes T2455
2015-05-31 17:38:02 +02:00
Boris Faure
be62d87f89
separate "termstate" from cursor state and screens. Closes T725
2015-04-23 20:02:53 +02:00
Boris Faure
c2b26e0999
fix selecting tabs
2015-04-18 23:12:39 +02:00