Commit Graph

650 Commits

Author SHA1 Message Date
Boris Faure 79194c8550 do not free link objects already on mouse_out 2013-06-23 11:38:58 +02:00
Daniel Juyung Seo 68cc3e0656 tyls.c: clean up. one semicolon is enough. 2013-06-20 20:13:39 +09:00
Boris Faure ad16990ede fix compilation without eldbus 2013-06-19 10:34:23 +02:00
Chris Michael e51396944c Fix warning: comparison between signed and unsigned integer expressions
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-19 09:21:58 +01:00
Chris Michael cf2eb65f98 Fix warning: 'len' may be used uninitialized in this function
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-19 09:21:58 +01:00
Chris Michael 8d8cae6a46 Remove unused variable.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-19 09:21:58 +01:00
Mike Blumenkrantz b23fbc392b more accurate link mouse-out detection, fix teamwork signals, update teamwork to new api 2013-06-19 08:03:53 +01:00
Boris Faure 84ecbd67b1 dbus: also send events about links to files 2013-06-17 10:08:54 +02:00
Boris Faure 184d8d38ef fix compilation without eldbus 2013-06-17 09:55:15 +02:00
Boris Faure 795594e9cb dbus-link: use real coordinates 2013-06-16 00:17:52 +02:00
Boris Faure 22be3b7609 fix dbus signatures 2013-06-15 23:51:03 +02:00
Boris Faure 6d8c81050e change dbus link_detect to mousein/out 2013-06-15 23:37:10 +02:00
Boris Faure f1c3bf52ca use dbus to tell e.TeamWork whenever a link is detected
This was requested by the crazy e18 release manager.
2013-06-15 22:47:09 +02:00
Boris Faure 3ed65bbcdc links: isspace() \ { \n, \r } as separtors 2013-06-15 22:38:59 +02:00
Boris Faure b9ec1cad13 compat: fix mouse wheel in utf8 mode
Closes task 87.
Tested with weechat.
2013-06-09 12:03:52 +02:00
Boris Faure 604a9abd85 compat: fix scrolling not clearing some text
Test case was provided by weechat.
2013-06-09 12:03:52 +02:00
Boris Faure 1dccb22ffc compat: add some debug 2013-06-09 12:03:52 +02:00
Boris Faure 7bad3a491f compat: discard (ftm) key resources used by xterm 2013-06-09 12:03:52 +02:00
Boris Faure 75f40ae3c2 compat: improve doc/parsing on DCS escape codes 2013-06-09 12:03:52 +02:00
Boris Faure 7f5f407d7d compat: fix len computation when handling DCS escape codes 2013-06-09 12:03:52 +02:00
Boris Faure 72bbb101f8 compat: csi parameters are always decimal
There can be some leading zeros.
2013-06-09 12:03:52 +02:00
Boris Faure 71d27572b3 compat: handle cursor-controls chars in ESC sequences 2013-06-09 12:03:52 +02:00
Boris Faure 0b6e44bbd6 compat: add margin top support on Origin mode 2013-06-09 12:03:52 +02:00
Boris Faure d5cc45a690 compat: add ugly testing code to change between 80/132 cols 2013-06-09 12:03:52 +02:00
Boris Faure 612400507f add termio_win_get(); 2013-06-09 12:03:51 +02:00
Boris Faure f5cad4ff7f compat: only clear cells when scrolling to add text
and to delete lines, but not when just moving the cursor
2013-06-09 12:03:51 +02:00
Boris Faure c41fb7f0b1 compat: add some csi dec private modes TODOs 2013-06-09 12:03:51 +02:00
Boris Faure 861bcf04a9 handle DCS status string requests 2013-06-09 12:03:51 +02:00
Jean-Philippe Andre 34c7586ff5 Enhance link copy UX
Now right-click on a link will allow you to copy said link
Keep link hilight active when control popup is on
And discard when control menu goes away...
2013-06-09 11:57:31 +02:00
Carsten Haitzler 538969e405 add pkgbuild for terminology 2013-06-07 20:59:18 +09:00
Boris Faure ce9220ef35 fix termio_selection_get() on backscroll
Add a newline if trying to select after the end of line
2013-06-06 23:02:32 +02:00
Boris Faure 1f069a2fbe cleanup and fix _termio_link_find(); 2013-06-06 23:02:32 +02:00
Carsten Haitzler 1b46022c53 document edje object inlining and message/signal etc. comms. 2013-06-06 12:13:26 +09:00
Carsten Haitzler d993158cc8 oops - fix up readme example for ib/ie escapes. 2013-06-06 11:09:15 +09:00
Boris Faure 0c1739cd28 selection: fix multiline backscroll selection
If the 2nd selected line has a width of 4 but the cursor was at pos 6 on
the 1st line, this line would get lost.
2013-06-04 23:10:58 +02:00
Boris Faure ba9467d780 termiolink: minor optimization 2013-06-04 23:08:05 +02:00
Boris Faure 21cd9d5cec fix link detection when hover the h in ttp:/…
When the separator in the left is found, we may only have ' ht' so far.
2013-06-02 18:52:28 +02:00
Carsten Haitzler 64f4ece250 simplify code to make separators in single func. 2013-05-24 16:00:46 +09:00
Boris Faure 8e576f3978 reflow: do not add a newline when consolidation backscroll 2013-05-23 23:04:33 +02:00
Boris Faure e8499b46aa fix reflow on horizonal expansion 2013-05-23 22:34:14 +02:00
Boris Faure 17a70c5ba2 fix detecting link on last char of a backscroll line 2013-05-21 21:47:22 +02:00
Boris Faure 034d4cf9de termio_selection_get() set length of the string returned
Also fix possible segfault in _termio_link_find().
2013-05-21 21:45:34 +02:00
Boris Faure 3d804bf38d tycat: fix videos aspect ratio when emotion_object_video_handled_get() fails
Sometimes, emotion_object_video_handled_get() will return NULL. In that case, the video will be stretched to the terminal's width but only 3 lines high. Use A/R information for better scaling.
Also support videos and fix aspect ratio.

Patch by jpeg.
2013-05-20 16:16:21 +02:00
Boris Faure 4f6aed0488 tycat: Add -g option to limit the size of the images
Patch by jpeg
2013-05-20 16:08:00 +02:00
Boris Faure 18e97fa840 termio: return NULL when selection is empty
This fixes issues with link detection in backscroll.
2013-05-20 15:57:20 +02:00
Boris Faure cec34b56e8 fix 1st alloc with _alloc_new
Since al->last was not set correctly, the 1st allocated buffer of each
block were given twice.
2013-05-18 22:28:05 +02:00
Boris Faure 73ad810c31 Fix -g (X geometry) option
Position was not taken into account.

Patch by jpeg.
2013-05-14 19:21:26 +02:00
Carsten Haitzler 12aebb559b add ethumb queue if ethumd not there since ethumb doesnt queue for us. 2013-05-12 12:16:09 +09:00
Carsten Haitzler b5a0abc3a7 shorten labels for options so options fit in default term size. 2013-05-11 00:04:29 +09:00
Carsten Haitzler 455d3f2147 Fix mild theme for tab switching
Tab switching suffers from painful color changes esp. when using black theme.
Mostly just copy&paste from default.edc and removing some of the shininess.
2013-05-10 16:52:42 +09:00