Commit Graph

924 Commits

Author SHA1 Message Date
Boris Faure 8c7dab9fdf remove selection when content selected changes 2013-11-11 18:08:02 +01:00
Boris Faure bc15fc6ff6 keep selection when scrolling 2013-11-10 22:13:19 +01:00
Boris Faure d682db21fb selection to the edges scrolls 2013-11-10 18:16:39 +01:00
Boris Faure 90d3bf483c fix stretching selection 2013-11-10 18:16:39 +01:00
Boris Faure 082942ef55 fix clicking to unselect 2013-11-10 18:16:39 +01:00
Boris Faure c16786416d simplify selection code 2013-11-10 18:16:39 +01:00
Boris Faure e9db7e6ed9 _smart_xy_to_cursor() now returns inside coordinates 2013-11-10 18:16:39 +01:00
Boris Faure 4ac9704be2 "#if defined(SUPPORT_DBLWIDTH)"--
and let the compiler remove the calls whenever needed
2013-11-10 18:16:39 +01:00
Boris Faure 4a9e61cb2e fix selection going up/left 2013-11-10 18:16:39 +01:00
Boris Faure 1dc0d30b60 reorganize structures about selection 2013-11-10 18:16:39 +01:00
Boris Faure 7617f39f1a small debug-related changes 2013-11-10 15:35:16 +01:00
Boris Faure 4d629c5575 do not try to reflow altbuf 2013-11-10 15:34:40 +01:00
Daniel Juyung Seo abaee4afd9 main: Fixed dereferencing null pointer issues.
This fixes coverity CID 1100652 and 1100653.
2013-11-08 08:38:42 +09:00
Daniel Juyung Seo b242383234 config: fixed dereferencing null pointer issue.
This fixes coverity CID 1100654.
2013-11-08 08:35:39 +09:00
Daniel Juyung Seo 20afe23c5b termio: fixed null pointer dereferencing issue.
This fixes coverity CID 1100645.
2013-11-08 08:32:47 +09:00
Daniel Juyung Seo f5df6ce99d termptyesc: removed unnecessary null check for free.
This fixes coverity CID 1100643.
2013-11-08 08:13:37 +09:00
Daniel Juyung Seo e0bd4fd6f7 termptyesc: fixed up wrong null check.
This solves coverity CID 1100642.
2013-11-08 08:08:39 +09:00
Doug Newgard a84841a078 PKGBUILD Cleanup
Summary:
Change pkgname to variable instead of array
Remove optdepend, no more efl_x11 package
Remove strip and zipman options, they are default and we shouldn't override them if we don't need to
Set CFLAGS correctly and remove -02 and -g, again defaults we shouldn't override unless necessary
Only run make clean distclean when there is a Makefile to prevent build failure
Quote all paths with $pkgdir
Add PKGBUILD to EXTRA_DIST so it gets included in make dist

Reviewers: raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D284
2013-11-07 20:03:40 +09:00
Carsten Haitzler 109e1b124d readme is 0.4.0 now 2013-11-07 17:27:11 +09:00
Boris Faure e724c8d0db missing EINA_UNUSED 2013-11-06 21:45:32 +01:00
Boris Faure 432587bc79 fix typo. CID 1126105, 1126106 2013-11-06 21:43:46 +01:00
Carsten Haitzler af2b85bb0e set up an alpha1 for terminology 0.4 2013-11-05 16:44:06 +09:00
Carsten Haitzler 0734ed8d57 efl version - bump version req for e18 to efl 1.8 (thus the coming alpha) 2013-11-04 18:42:55 +09:00
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