Gustavo Sverzut Barbieri
016faae650
termio: right click on links show special menu.
...
This patches uses ctxpopup (ugh, this bitch is awful) to show a
contextual menu about that link with options such Preview (if able to
inline), Open (forces xdg-open) and Copy, then you don't have to
select a link in order to copy it :-)
This fixes T430 (terminology should copy link on right-click and no selection)
2013-11-01 19:26:03 -02:00
Gustavo Sverzut Barbieri
1745503b89
termio: do not handle selection if it doesn't exist.
...
A typical case is when you try to force xdg-open on a media (instead
of inline) by pressing "Control". This would trigger single-click box
selection on mouse-down but on mouse up the mouse didn't move yet. By
processing this as selection one also leaves the "didclick ==
EINA_TRUE" from mouse-down, leading the link to not be processed
(_activate_link() wasn't called).
PS: what an awful name is "didclick".
2013-11-01 17:11:10 -02:00
Gustavo Sverzut Barbieri
b50e64f80b
controls: disable "copy" when there is no selection.
2013-11-01 16:46:23 -02:00
Gustavo Sverzut Barbieri
6562cdabc2
termio: allow monitoring if selection exists.
...
Export new termio_selection_exists() and two signals: "selection,on"
and "selection,off". These will be used to control the state of the
"copy" button and menus (when those exist).
2013-11-01 16:43:30 -02:00
Cedric Bail
7b3b25634e
terminology: add support for some more file extension.
...
The way to detect image is not that great in fact. Wondering if we
could improve it. Those new type are quite slow btw.
2013-10-31 18:35:24 +09:00
Carsten Haitzler
476915c5cf
oops - i thought i committed this - remove commented out code from prev commit
2013-10-31 16:10:55 +09:00
Carsten Haitzler
5958eff338
unbreak inlined media being unparented when tab selector is used
...
82f4d3546a
introduced this bug (oct 20
2013 - discomfitor). now missing a _smart_apply() causes the bug. why
- not sure.
2013-10-31 16:07:05 +09:00
Doug Newgard
854c5479e0
[terminology] Fix make dist
...
Summary: Just a couple of missing pngs
Reviewers: raster
Differential Revision: https://phab.enlightenment.org/D283
2013-10-29 10:19:15 +09:00
Cedric Bail
964e1f39a9
terminology: factorise some code and help the compiler figure out which branch is the most likely one.
2013-10-28 18:55:53 +09:00
Cedric Bail
433b18b211
terminology: let the compiler inline more agressively the common case for a 1% win.
2013-10-28 18:55:19 +09:00
Cedric Bail
c1b516f231
terminology: inline the most common case for a small 2% speed up.
2013-10-28 18:54:30 +09:00
Carsten Haitzler
8585c3e9c2
maybe speed up term scroll byt skipping compare work
...
since nothing useful is actually done unless either oldc or newc have
a media char - then try return/skip early. might speed up by 2-5%...
(i see 4.05 vs 4.15 or so cat times for a test case).
2013-10-25 23:37:10 +09:00
discomfitor
82f4d3546a
improve previous smart queue commit by deleting existing animator
...
this completely fixes annoying issues where mousing out of the terminal fails to de-linkify text
moderately reviewed by: billiob
2013-10-20 15:31:19 +01:00
discomfitor
2ad1d55e59
only queue smart updates from termio_mouseover_suspend_pushpop when link.suspend is 0
...
almost reviewed-by: billiob
2013-10-20 08:15:24 +01:00
Boris Faure
e45fec3127
try to avoid a race when moving cursor out
2013-10-20 01:22:17 +02:00
Boris Faure
5bf1dd9ca2
now that T441 is fixed, always remove links on MOUSE_OUT
2013-10-20 01:09:33 +02:00
Daniel Juyung Seo
ab982fa9a6
zoom option: tab zoom animation time can go down to zero if users want.
2013-10-19 03:01:41 +09:00
Sebastian Dransfeld
cf19e3f987
Fix define
...
Seems gcc 4.6.3 on ubuntu 12.04 (gcc version 4.6.3 (Ubuntu/Linaro
4.6.3-1ubuntu5)) does not R as define.
error: stray ‘R’ in program
2013-10-16 05:18:35 +02:00
Carsten Haitzler
aef3d275d2
lets reduce the theme color strings in size since there are so many - memory
2013-10-15 22:32:35 +09:00
Carsten Haitzler
5b1cc34ff9
alpha shadow image now has more fidelity at scaled up sizes = less banding
2013-10-15 17:29:34 +09:00
Boris Faure
b66dc2a3a0
fix CID 1100641 - uninitialized scalar variable
2013-10-14 23:32:48 +02:00
Boris Faure
46839daa9a
fix CID 1100640 - read from pointer after free
2013-10-14 23:25:55 +02:00
Boris Faure
c4366ed2b5
fix CID 1106345 - missing parentheses
2013-10-14 23:22:19 +02:00
Boris Faure
55200014a9
invisible should not show previous underline/strikethrough
2013-10-14 23:19:01 +02:00
Boris Faure
b10714adeb
let me click on link while some strange bug is fixed
...
See T441
2013-10-14 22:46:08 +02:00
Boris Faure
36ba3bf3ed
out coords are -1
...
this fixes some other cases of links not disappearing on mouse out
fixing selection will come later
2013-10-13 17:13:16 +02:00
Carsten Haitzler
6ea8622ecc
make url link disappear on focus change ANd ensure it stays invisible then
2013-10-13 15:55:43 +09:00
Carsten Haitzler
cc0f075b27
make theme auto-reload emit signals to configure stuff properly!
2013-10-12 14:31:03 +09:00
Carsten Haitzler
8eba175742
warning--
2013-10-12 14:18:08 +09:00
Gustavo Sverzut Barbieri
264a77594a
pretty make output for EDJ.
...
cope with the quiet output and just say "EDJ name.edj" instead of
multiple lines with the full compile statement.
2013-10-11 11:34:55 -03:00
Gustavo Sverzut Barbieri
32876f1a6c
unify default colors, fix make dependencies and mustang build.
...
- there was an unused default_colors.in.edc that provided the same
colors as default.edc, with an extra set of colors for 6x6
colorcube of colors over 16. The extra colors were disabled and the
file is now used everywhere that need those colors (mild.edc and
default.edc)
- mustang.edc included mild.edc but did not depend on it, that's why
the build break as I changed mild and recompiled, but mustang.edj
was already there and the lack of dependency didn't ask it to be
rebuilt.
- mustang.edc will define INHERIT_PROVIDE_OWN_COLORS so it can
provide its own colors.
2013-10-11 11:27:18 -03:00
Gustavo Sverzut Barbieri
9b1bd2c959
mild (and inherited) will have brighter colors.
...
Copied the "default.edc" colors so mild, black and mustang should have
colors more vivid and brighter... particularly the yellow (1;33) was
annoying me.
2013-10-11 10:44:50 -03:00
Carsten Haitzler
240365b3ea
theme options - make sure current theme is hilighted.
2013-10-10 00:28:18 +09:00
Carsten Haitzler
b0cca8b0df
theme selector - massively improve theme preview to actually preview
2013-10-09 22:51:15 +09:00
Boris Faure
0a53ff6cd1
really remove links
2013-10-08 23:28:52 +02:00
Boris Faure
585ed2c323
fix (some cases about) link still showing up when they shouldn't
2013-10-08 22:26:06 +02:00
Boris Faure
579c64878a
simplify code
2013-10-08 22:25:23 +02:00
Carsten Haitzler
0f615122e5
theme - sync stripe imagery with dark in e17/elm theme and remove the pulse
2013-10-06 20:42:37 +09:00
Carsten Haitzler
075f8d1f2e
pass distcheck
2013-09-29 00:42:34 +09:00
Boris Faure
93acca2b23
fix options order
...
"Always open at size" goes with the 2 spinners below
2013-09-28 10:50:31 +02:00
Boris Faure
f539eba7ca
screw terminfo: have a config to decide whether erase is del or backspace
...
One day I'll have to dig into the terminfo/termcap mess :(
Maybe get the O'Reilly book about it…
2013-09-26 21:19:18 +02:00
Boris Faure
ed36063690
set correct mode with fcntl
2013-09-26 21:19:08 +02:00
Boris Faure
8df2ed4c21
compat: fix backspace
...
According to
http://invisible-island.net/ncurses/terminfo.ti.html#tic-xterm-basic ,
xterm sends ^H == \b == 0x08.
2013-09-26 21:18:58 +02:00
Boris Faure
68133d2614
add -2/--256color option to set TERM to xterm-256color
...
Man page was modified accordingly.
2013-09-26 21:18:48 +02:00
Boris Faure
ef543aa753
have a config to choose whether to set TERM to xterm-256color
2013-09-26 21:18:27 +02:00
Boris Faure
02e42a747b
esc: export color_set to its own function
2013-09-21 18:54:57 +02:00
Boris Faure
ac76c0fae2
fix segv when closing terms in splits
2013-09-21 17:20:19 +02: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
José Roberto de Souza
f5687a7e32
Add main_new_with_dir() to enable open a term in a specifc path
2013-09-19 15:53:43 -03:00