Commit Graph

789 Commits

Author SHA1 Message Date
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 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 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
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
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
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
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
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
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
José Roberto de Souza 7530e8d304 Add functions to access userfull data and functionally of win, term and split 2013-09-19 15:53:43 -03:00
Boris Faure efd096b3bd fix shift tab. Closes T358 2013-09-15 15:32:11 +02:00
Boris Faure 97c2275e8c improve debug logs 2013-09-15 15:32:11 +02:00
Lucas De Marchi f8ff064499 Add option to disable drag and drop
Enabling drag and drop on a desktop (!touch) is too cumbersome: we
aren't allowed to select part of the link anymore since it would start
the drag and drop operation.
2013-09-12 03:05:18 -03:00
Mike Blumenkrantz 70d71d21a0 use new elm_win_window_id_get to return wayland-compatible surface id: terminology is now wayland-teamwork compatible 2013-09-10 13:57:45 +01:00
Boris Faure 6bfac4be48 forgot to remove some code 2013-09-08 20:37:33 +02:00
Boris Faure 2dc337428a change theme on every tab/split. Closes T28 2013-09-08 20:16:24 +02:00
Boris Faure 4a79fe43d5 fix focus issue when changing options. Closes #T27 2013-09-08 17:28:17 +02:00
Boris Faure 71d4f155be change cursor/selection when changing theme 2013-09-07 18:39:22 +02:00
José Roberto de Souza b140380776 Avoid crash when socket address lenght is bigger than 126
Here my socket address:
:0.0.unix:abstract=/tmp/dbus-30Xo0YvOro,guid=c12ee38be195441e0b64c7ff5208e716.383c17da53f7fc81db94ac5f5171b40b-1376315157.910552-1882544957.=unknown=.@unknown@.!unknown!
2013-09-06 17:41:24 -03:00
Boris Faure a8206c8b03 add some comments, clean-up code 2013-08-31 17:12:32 +02:00
Cedric Bail 44c69c8d31 terminology: let's not recreate timer all over the place for nothing. 2013-08-30 16:06:49 +09:00
Cedric Bail 40c3cedd6a terminology: let's help the compiler and tell him about this hot spot. 2013-08-30 16:06:49 +09:00
Carsten Haitzler e8addbac90 don t consider greantpt failure an error, but a warning. 2013-08-30 14:17:42 +09:00
Carsten Haitzler 6c2884bdcb oops.. , not m 2013-08-30 12:15:07 +09:00
Carsten Haitzler 3a2a58473b ad erro handling for pty alloc (never seen it fail!) 2013-08-30 12:14:18 +09:00
Boris Faure e710205122 try to fix some link/selection mess 2013-08-29 18:26:46 +02:00
Boris Faure d746dccf4a clicking on links works again 2013-08-29 15:51:59 +02:00
Boris Faure 2c5828f5e2 fix extending selection with shift + double click. Closes T228 2013-08-29 14:00:29 +02:00
Boris Faure 58bcae42d4 fix stupid bug with faint colors. Closes T44 2013-08-28 23:49:38 +02:00
Boris Faure 31c73f69ef use the same default colors as the first 256 colors 2013-08-28 23:40:55 +02:00
Boris Faure 75021221d8 256: fix color cube 2013-08-28 19:16:34 +02:00
Boris Faure eea7862f52 doc + use !strcmp to make code more readable 2013-08-28 17:30:06 +02:00
Boris Faure 441f2ef39e fix crash when closing top-level split. Closes T256. 2013-08-28 17:11:48 +02:00
Boris Faure e93d8bab70 we're not in python here, let's use a switch/case 2013-08-27 19:03:43 +02:00
Boris Faure 4f78faf5c8 use a macro instead of some copy/pasta 2013-08-27 18:47:56 +02:00
Boris Faure 30392f23a9 s/__UNUSED__/EINA_UNUSED/g 2013-08-27 15:36:50 +02:00
Boris Faure 2429f7d3ad remove some warnings 2013-08-27 15:23:49 +02:00
Boris Faure abb0ea2a95 fix line selection (triple click). Closes T305 2013-08-27 15:17:25 +02:00
Carsten Haitzler a9e84188ce dont filter based on ethumb client handle. 2013-08-27 17:18:42 +09:00
Boris Faure d63629ccbf fix 58ec67bfa about removing shadow variables 2013-08-26 21:05:09 +02:00
Boris Faure 9d000c7c1d fix word selection on multiple lines. Closes T305 2013-08-26 20:44:46 +02:00
Boris Faure 58ec67bfa2 termio: remove shadow variables 2013-08-26 16:29:43 +02:00
Boris Faure 90311900bb termio: add some static 2013-08-26 16:22:01 +02:00
Boris Faure ec577e396c remove links on mouse out/focus out. Closes T299 2013-08-26 16:16:21 +02:00
Carsten Haitzler 373e878595 change -> changed ... and make flush timeout 5s 2013-08-10 16:51:26 +09:00
Jean GUYOMARC'H 4b23dc8816 terminology: fix build of terminology on MacOS X. 2013-08-09 10:42:30 +09:00
Carsten Haitzler 3fcaad12ed restore some shift based keyinput after fex to use key not keyname. 2013-08-05 11:36:04 +09:00
Carsten Haitzler 8e6c0c563e use key not keyname so xmodmap works 2013-07-31 15:14:32 +09:00
Carsten Haitzler 38d468fc61 remove warngings 2013-07-30 20:19:07 +09:00
Mike Blumenkrantz 164ebd4c67 don't shutdown eldbus when exiting on a quit option 2013-07-30 10:52:40 +01:00
Cedric Bail 15d9eb0924 terminology: we did rename generic backend to vlc as it is its real name. 2013-07-16 09:58:28 +09:00
Cedric Bail c9ba490c46 initialize ipc before shuting it down. 2013-07-10 11:30:21 +09:00
Carsten Haitzler a64c9c01e3 handle gif loop none and loop count 0 vs actual loop counts (or -1) 2013-07-06 12:53:46 +09:00
Carsten Haitzler e4f5a04068 don't request ethumb again when it dies unless we have a queue 2013-07-04 08:39:43 +09:00
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
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
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 2ab6290839 Terminology: fix tab hotkey with UIM-XIM
Tab switch hotkeys are broken when using UIM-XIM.
Ctrl-1 displays "1" and doesn't switch tab as the control code is
supposedly handled by the IMF (even if it is not by configuration).

Note: not sure what the behaviour should be if UIM is configured to
catch Ctrl-1 sequences?

Setup UIM-XIM if possible.
Export ECORE_IMF_MODULE=xim.
Open terminology, create tab, press Ctrl-1. Should switch tab and not
display "1".
2013-05-08 12:30:37 +09:00
Carsten Haitzler c2535d52b6 Revert "move ctrl+0,1,2... before imf processing so it works with imf on."
This reverts commit dd23ed64be.
2013-05-08 12:26:05 +09:00
Carsten Haitzler dd23ed64be move ctrl+0,1,2... before imf processing so it works with imf on. 2013-05-08 12:23:33 +09:00
Carsten Haitzler 229b92f72f ctrl+0,1,2,3...9 for tab switching. 2013-05-07 14:51:02 +09:00
Carsten Haitzler 5549fc05a0 add compressed backscroll to terminology...
we get about 0.35-0.4 or so ratio of compression. it also now
defragments memory used for backscroll and holed it in mmaped blocks
so when the blocks go all memory goes used for backscroll.
2013-05-05 23:10:44 +09:00
Carsten Haitzler d81de278d0 warn--... 2013-05-05 12:34:07 +09:00
Carsten Haitzler 3fc3ce4c79 add whitepsace debug mode and termsave abstraction infra. 2013-05-04 11:45:45 +09:00
Daniel Juyung Seo 043bbe70b9 config.c: set the default value of tab zoom animation time to 0.5 if the value equals 0. 2013-05-03 22:23:45 +09:00
Daniel Juyung Seo 742c4a71af Revert "config.c: bump up the CONF_VER to 2 because I just added a new configuration for tab_zoom."
I will fix this in a correct way.

This reverts commit 19491ac0bb.
2013-05-03 22:08:02 +09:00
Daniel Juyung Seo 19491ac0bb config.c: bump up the CONF_VER to 2 because I just added a new configuration for tab_zoom. 2013-05-03 21:40:03 +09:00
Daniel Juyung Seo ee735ae32c config tab_zoom: make the tab zoom animation time configurable.
I prefer faster zoom for tab. Now you can configure the animation time from options -> behavior settings.
2013-05-03 20:51:55 +09:00
Daniel Juyung Seo a927ace445 options_behavior.c: removed unnecessary variable. 2013-05-03 20:51:55 +09:00
Carsten Haitzler 854dd69c31 clean some formatting. 2013-05-03 19:53:41 +09:00
Boris Faure b6d2b1b4ad revert a bunch of commits that weren't ready for prime time
664c5a23: Revert "compat: csi parameters are always decimal"
3694c88c: Revert "compat: handle cursor-controls chars in ESC sequences"
16e143f9: Revert "compat: add margin top support on Origin mode"
4daccf1f: Revert "compat: add ugly testing code to change between 80/132 cols"
d5be8a64: Revert "add termio_win_get();"
cff21ea5: Revert "compat: only clear cells when scrolling to add text"
13a11e5a: Revert "compat: add some csi dec private modes TODOs"
65f07f77: Revert "handle DCS status string requests"
2013-05-02 10:33:39 +02:00
Daniel Juyung Seo 33b1854eae main.c: display the current tab number. 2013-05-01 15:49:57 +09:00
Boris Faure 7a92b145e5 fix issue when buffer cuts last unicode 2013-04-28 22:47:14 +02:00
Boris Faure fa1817bbd4 remove dbg 2013-04-28 21:23:46 +02:00
Boris Faure 664c5a2392 compat: csi parameters are always decimal
There can be some leading zeros.
2013-04-28 17:35:48 +02:00
Boris Faure 3694c88ccb compat: handle cursor-controls chars in ESC sequences 2013-04-27 21:17:14 +02:00
Boris Faure 16e143f970 compat: add margin top support on Origin mode 2013-04-22 22:38:56 +02:00
Boris Faure 4daccf1fe4 compat: add ugly testing code to change between 80/132 cols 2013-04-22 22:28:50 +02:00
Boris Faure d5be8a6483 add termio_win_get(); 2013-04-21 23:07:14 +02:00
Boris Faure cff21ea5b8 compat: only clear cells when scrolling to add text
and to delete lines, but not when just moving the cursor
2013-04-21 21:51:07 +02:00
Boris Faure 13a11e5a92 compat: add some csi dec private modes TODOs 2013-04-21 21:51:07 +02:00
Boris Faure 65f07f7700 handle DCS status string requests 2013-04-21 21:51:07 +02:00
Boris Faure 59ad20f6f8 improve device attributes queries 2013-04-21 21:51:07 +02:00
Carsten Haitzler bf3e2ab5c0 comment-- 2013-04-22 01:11:50 +09:00
Carsten Haitzler a6abe0919a complete message send-back to term pty. 2013-04-22 01:11:08 +09:00
Carsten Haitzler 377511d7f8 more work on inlined edje objects - allow multiple chid's to be active
to feed back multiple signals/events from differentinline objects.
2013-04-22 00:37:11 +09:00
Boris Faure 07f4b23b16 reflow: fix segv sometimes when vertically shrinking 2013-04-20 17:38:31 +02:00
Carsten Haitzler 3c5eb88047 fix up param parser for edje inlines 2013-04-20 22:41:10 +09:00
Carsten Haitzler f5b84edbfd more work ok direct edje inline content. u can send messages toit now
on init... and get signals... and drag events... but cant get messages
yet.
2013-04-20 16:54:11 +09:00
Carsten Haitzler bbdf50fd62 protect against segv. see comments. 2013-04-20 12:50:31 +09:00
Carsten Haitzler ef00ad2010 1. make notes of crash in term resizing.
2. fix memset to use term cell filler that handles block refs.
2013-04-20 12:07:13 +09:00
Carsten Haitzler 3aa98cd6f6 allow for raw edje files to be inlined ANd to set tet, emit signals to
them etc.
2013-04-20 10:37:05 +09:00
Carsten Haitzler 1f1fcf2dd2 escape filenames for terminology helpers. 2013-04-19 00:19:21 +09:00
Carsten Haitzler ea2c4bc670 remove -l opt in summary. 2013-04-19 00:02:28 +09:00
Carsten Haitzler 4dd17b80aa alt + 1,2,3,...8,9,0 switch TO terminal tab # 1, 2, ... 8, 9, 10 2013-04-18 23:56:12 +09:00