Commit Graph

843 Commits

Author SHA1 Message Date
Boris Faure c6af3675de fix "shift + dbl click" used to extend selection to a word.
imho, this feature is useless…
2013-11-21 22:45:32 +01:00
Boris Faure b149052d64 do not bring back a selection from the dead 2013-11-20 23:12:19 +01:00
Boris Faure e5efdabd27 do not send mouse tracking when ctrl/shift are pressed. Closes T39, T535
Do just like xterm. It uses them to show some popups.
Ctrl+mouse makes box selection.
2013-11-20 23:07:07 +01:00
Carsten Haitzler f6e8a42d9a 1.8.0-alpha2 2013-11-19 17:22:01 +09:00
Boris Faure 509a5d1a7b fix scrolling with selection on irssi in tmux. Closes T404 2013-11-18 22:30:26 +01:00
Boris Faure df2b87308b add termpty_screen_swap() to simplify code 2013-11-18 21:41:30 +01:00
Aleksandar Popadić 7447178071 Fix screen refresh with screen, ssh, vim, ...
Summary: This closes T143.

Reviewers: billiob

Reviewed By: billiob

Maniphest Tasks: T143

Differential Revision: https://phab.enlightenment.org/D340
2013-11-18 20:45:47 +01:00
Boris Faure f8edf059d4 fix scrolling bug. Closes T106
Was fixed with help from great bug report by thomasg.

scroll_rev was ok
2013-11-17 17:28:32 +01:00
Boris Faure 40f0dc6950 simplify code 2013-11-17 17:28:32 +01:00
Boris Faure 4bc3357a91 improve debug output 2013-11-17 17:28:32 +01:00
Carsten Haitzler ecb2962dd5 capitalize option label 2013-11-17 15:11:19 +09:00
Boris Faure 1619b744f3 update man page 2013-11-16 15:27:18 +01:00
Boris Faure 4f05397bd5 tabs are implemented 2013-11-16 00:07:30 +01:00
Boris Faure 35627a9395 remove useless code 2013-11-15 22:52:12 +01:00
Boris Faure 03802df2a9 simple click doesn't create one-char selection
(for real…)
2013-11-15 22:21:51 +01:00
Boris Faure 06337a8d67 only require 1.7.0 for smart git users 2013-11-14 23:45:18 +01:00
Boris Faure 05ea863dc5 disable selection when resizing
because I don't want to deal with that for the moment
2013-11-14 23:24:45 +01:00
Boris Faure 2fcdd866ad remove debug =] 2013-11-14 23:10:08 +01:00
Boris Faure 997b83cad4 fix simple click producing one-char selection 2013-11-14 23:04:12 +01:00
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