Commit Graph

1297 Commits

Author SHA1 Message Date
Boris Faure 6d4219137f try to handle OOM on "termpty_save" 2014-09-14 14:11:14 +02:00
Boris Faure 4617a8b6c3 no more than 128k lines of scrollback 2014-09-13 14:16:41 +02:00
Chris Michael 33c19c0bfb terminology: Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-11 08:24:45 -04:00
Chris Michael e4bf56d862 terminology: Remove blank line
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-11 08:23:38 -04:00
Chris Michael 4731d8d826 terminology: Don't declare 'action' variable unless we have gettext
and nls

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-11 08:23:12 -04:00
Chris Michael 10542a205f Revert "terminology: Remove unused variable"
This reverts commit e82dea1d27.

Oopsie, revert this one....my compiler apparently was lying to me :(
2014-09-11 08:20:53 -04:00
Chris Michael e82dea1d27 terminology: Remove unused variable
NB: _actions is not being used in the key_bindings_load function, so
remove the variable.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-11 07:53:34 -04:00
Chris Michael 6ed8e857a1 terminology: Remove unused variable
NB: _blocks is not being used anywhere in the termptysave file, so remove
the variable.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-11 07:49:21 -04:00
Carsten Haitzler 15b55d5eb7 Revert "do not crash when the scrollback mempool is OOM"
This reverts commit 815a357ad9.

this patch breaks paging and backscroll completely. just try less or
more - eg

man ls

then resize the window. :)
2014-09-10 16:57:32 +09:00
Boris Faure 815a357ad9 do not crash when the scrollback mempool is OOM 2014-09-08 21:28:26 +02:00
Boris Faure 527bd7358e scrollback_save: cleanup 2014-09-08 21:28:26 +02:00
Boris Faure f1cb4c85a9 fix scrollback option 2014-09-08 21:28:26 +02:00
Anisse Astier adb2d84042 Add debug messages 2014-09-08 21:28:26 +02:00
Boris Faure fd1e4ffd45 fix segfault when decoding buggy xterm sequence. cf T1625 2014-09-04 20:45:02 +02:00
Gwang O Lee a14652de13 update po: modify typo and corresponding to the D1404
Summary: update pot & po files.

Reviewers: huchi, billiob, seoz

Reviewed By: billiob, seoz

Subscribers: seoz, DarkCircle

Differential Revision: https://phab.enlightenment.org/D1405
2014-09-05 03:32:37 +09:00
Gwang O Lee 1c64e7c7c5 add "Close the current terminal" key binding
Summary:
First, you must delete the '~/.config/terminology/config/standard/base.cfg'.
Key : Ctrl + Shift + End

Reviewers: huchi, seoz, billiob

Reviewed By: billiob

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1404
2014-09-04 16:04:40 +02:00
Boris Faure 91a0254dc6 fixed keyboard scrolling 2014-09-03 20:55:00 +02:00
Kai Huuhko 0d754439a5 Fix last commit by moving the closing parenthesis away from line comment
I'm redirecting all spankies to billiob for the bad patch
2014-09-03 14:05:04 +03:00
Kai Huuhko 4fc3fd2326 Move a closing tag to correct position in about dialog contents 2014-09-03 13:24:46 +03:00
Boris Faure ae24098f73 fix dnd with media with spaces. Closes T1586
The path is url encoded without the prefix "file:".
2014-09-02 21:18:24 +02:00
Boris Faure bd31879114 group actions to improve the configuration screen 2014-09-02 20:42:45 +02:00
Boris Faure 772843d568 add ui to configure key bindings 2014-09-02 20:42:45 +02:00
Boris Faure 57b06067a8 load key bindings from config 2014-09-02 20:42:45 +02:00
Boris Faure c839959a51 have all the default shortcuts in the hash map 2014-09-02 20:42:45 +02:00
Boris Faure 2f9532d28c store keybindings in a hash map 2014-09-02 20:42:45 +02:00
Gwang O Lee a6653a9c80 update pot & ko.po file.
Summary:
Portable Object Template and ko.po update.
(some fix - options_keys.c)

Reviewers: seoz, huchi, billiob

Reviewed By: billiob

Subscribers: ryuan.choi, billiob, seoz, DarkCircle

Differential Revision: https://phab.enlightenment.org/D1377
2014-08-31 21:17:08 +02:00
Boris Faure a482eda31a fix miniview not showing up 2014-08-31 17:02:59 +02:00
Boris Faure 34979f1ce4 get rid of Eina_Bool in bitfields 2014-08-28 21:04:00 +02:00
Wonguk Jeong f06c9f52a3 Revert "options: color picker added"
it makes option color ugly. I will put picker again after figure it out

This reverts commit a25b27e232.
2014-08-25 21:58:19 +02:00
Wonguk Jeong a25b27e232 options: color picker added
Fixes T1032
2014-08-25 19:51:14 +02:00
Wonguk Jeong 8b2a3aa838 media: audio visualize by default 2014-08-25 18:03:09 +02:00
Boris Faure bcd3699a9d fix shift-F1..4. Closes T1564. 2014-08-22 22:19:44 +02:00
Boris Faure 1ef2fbb8a3 refactor keys handling in termio: move to keyin, 2nd round! 2014-08-22 21:54:04 +02:00
Carsten Haitzler 117d9e7840 Revert "refactor keys handling in termio: move to keyin"
this breaks emacs and jed totally - ctrl+space to do selection blocks
is gone! :(

This reverts commit 9215f941e9.
2014-08-22 14:12:04 +09:00
Boris Faure 9215f941e9 refactor keys handling in termio: move to keyin 2014-08-21 23:29:53 +02:00
Wonguk Jeong 31df543ec6 options: remove unused global variable 2014-08-21 21:48:42 +02:00
Wonguk Jeong bce172cc87 media: audio visualization support (phase 1)
support audio visualization for typop, tycat
This is just first phase with hard coded type (EMOTION_VIS_LIBVISUAL_INFINITE)

TODO:
1. configurable visualizing type in option
2. hide visualizing option if it is not supported.
   (it's currently supported with "gstreamer" engine)
2014-08-21 20:32:58 +02:00
Boris Faure 1f68d2836b make terminology compile with efl 1.8 2014-08-20 19:47:24 +02:00
Boris Faure 4b425b9054 constify key_down event in termio 2014-08-19 23:09:50 +02:00
Boris Faure 901807fc09 also remove debugwhite 2014-08-19 22:48:00 +02:00
Boris Faure ed3bc87316 try to reorganize termio.c 2014-08-19 22:39:32 +02:00
Boris Faure 19734613d1 get rid of mirror stuff, it is not used 2014-08-19 21:45:27 +02:00
Wonguk Jeong 80caa24ab6 utils: clarify error message 2014-08-18 18:53:49 +02:00
Wonguk Jeong a49265e609 media: fix inaccessible media control problem in typop
Fixes T1545
2014-08-18 18:48:58 +02:00
Wonguk Jeong 23ee76e572 media: raise media control above selection event obj
Fixes T1454
2014-08-18 17:56:58 +02:00
Carsten Haitzler 4fe0c07254 add : to word separators 2014-08-18 17:18:03 +09:00
Carsten Haitzler 5ddd6dfa63 tycat and tylsd - dont init system modules in ecore. not neeeded 2014-08-18 15:53:54 +09:00
Boris Faure 6c50375f26 Party time! be able to set foreground color
Reset is not yet implemented for that…

Idea is from http://www.reddit.com/r/linux/comments/2ds0he/xterm_party/
2014-08-17 22:20:40 +02:00
godfath3r 93e2d73a87 options_keys: update shift+Up/Down for -1/+1 line scroll
Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D1339
2014-08-17 22:14:33 +02:00
godfath3r 277acdc9b5 miniview: fix a bug when mv is open and you open a new tab.
Summary:
Before the fix, the previous tabs miniview stayed faultly
visible for the new tab.

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D1338
2014-08-17 22:13:54 +02:00
Boris Faure 5dfb63a14a handle queries on some xterm escape codes 2014-08-17 17:44:19 +02:00
Boris Faure 61050bd7cc clean up xterm escape codes handling 2014-08-17 17:32:57 +02:00
Boris Faure fa88d971b1 remvove links when content change underneath 2014-08-17 16:46:16 +02:00
godfath3r 6e82dff4e0 termio: add Shift + Up/Down shortcut for +1/-1 line scroll navigation
Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D1336
2014-08-16 18:46:26 +02:00
godfath3r 31da027aef miniview: scroll position indicator when jump on change isn't checked.
Summary:
Fix indicators position when your are at some place in scrollback
and terminal outputs some new lines (say from a running command). It
now scrolls to where it should be.

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D1335
2014-08-16 18:45:14 +02:00
Carsten Haitzler 149d23d484 re-fix wrodsep to work again and not segv 2014-08-15 20:20:15 +09:00
Carsten Haitzler cd0bfa5d0c fix segv on word set search 2014-08-15 20:00:24 +09:00
Boris Faure eb347e9585 elm_slider_step_set was only introduced in elm 1.8 2014-08-15 11:03:51 +02:00
Boris Faure 9a16eb57a1 handle some DSR: the cursor position reports 2014-08-14 21:48:26 +02:00
Wonguk Jeong 8ba6a73139 options: theme preview cursor/selection bug fix
Default theme is used for fallback when we apply theme.
But, in the preview, current theme has been used for fallback.

Fixes T1535
2014-08-13 19:34:57 +02:00
Boris Faure 572f2301f5 fix out of bounds access. CID 1231069 2014-08-13 03:20:19 +02:00
Boris Faure c14f6949ae wordseparators shouldn't be in the config, the ui is unusable 2014-08-12 22:07:03 +02:00
Boris Faure ae820f3897 extract csi_reset_mode 2014-08-11 22:03:56 +02:00
godfath3r 20c4a7b514 main: follow coding style
Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D1310
2014-08-11 22:03:56 +02:00
Boris Faure b1fa774056 localize tab animation time 2014-08-10 18:09:23 +02:00
Boris Faure f43decc790 have an exponential scale for scrollback 2014-08-10 18:06:28 +02:00
Boris Faure f124aea76e fix F1-F4 on normal mode (do like xterm)
Tested on vim and mc.
2014-08-09 14:16:37 +02:00
godfath3r ca8f4ce2d3 Add splits as startup arguments
Summary:
You can have use one of the following options:

______
|  |  |   -s or --split v
|__|__|

______
|_____|   -s or --split h
|_____|

______
|  |__|   -s or --split v-h
|__|__|

______
|__|  |   -s or --split vh
|__|__|

______
|__ __|   -s or --split h-v
|__|__|

______
|__|__|   -s or --split hv
|_____|

______
|__|__|   -s or --split vh--h
|__|__|

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D1244
2014-08-09 12:22:19 +02:00
Boris Faure 4f3ee44e6b fix compatibility with efl 1.7 2014-08-09 11:33:22 +02:00
Boris Faure 8be1c44d61 fix focus issue with multiple tabs 2014-08-06 23:09:23 +02:00
Boris Faure 43fc3eff04 blend in app_server_eet.{c,h} 2014-08-06 22:22:03 +02:00
Boris Faure 9e685ffbd2 cleanup timers in termio.c 2014-08-04 21:43:45 +02:00
Boris Faure 7de97c0007 don't waste cpu mouseover when the mouse is not moving. Closes T1457
_termio_link_find() is the real culprit here but it's not yet its time to
get rewritten.
2014-08-03 21:05:03 +02:00
Boris Faure 2f58445033 fix focus issue due to "mouse_over_focus" conflict. Closes T1380 2014-08-03 17:26:04 +02:00
Wonguk Jeong 9a4b244c64 options: stringshare, list clear bug fix
1. _backgroundlist was not clear after free
2. _system_path was not clear after stringshare_del
3. various style prob.

@fix
2014-07-31 20:52:56 +02:00
Wonguk Jeong 15260bcddf options: do not update wallpaper if selected one is same to current one
in case of video wallpaper
if we just get into setting -> wallpaper, video was restarted.

@fix
2014-07-31 20:16:29 +02:00
Iván Briano 0a8e42276c Don't undef gettext, it breaks the build when it's disabled
Somewhere along the line, libintl.h is included whether or not
--disable-nls was passed to configure, and undefining gettext makes the
macros in that header make no sense.
2014-07-30 11:00:35 -03:00
Wonguk Jeong 14a7fb779f mute audio to all terms
Audio mute is currently global setting (it will be synced, if user changed option).
Therfore, apply mute to all terms not only to focused term.
2014-07-29 05:30:03 +02:00
Wonguk Jeong 7efef95b14 termio: audio mute for activate media block support
activate media block was not affected by audio muted setting.

testplan:
1. tycat media file
2. option->video->Audio muted
3. check whether the media block is muted/unmuted properly
2014-07-29 04:00:51 +02:00
Wonguk Jeong ace0b53a34 termio: remove duplicated function prototype 2014-07-29 03:50:09 +02:00
Boris Faure 42acb4b5d1 fix segfault
due to invalid eina_stringshare_del() after pool is freed by
elm_shutdown()
2014-07-27 20:00:52 +02:00
Boris Faure ca9b866f4a improve option names 2014-07-27 15:24:54 +02:00
Boris Faure 651364b191 don't translate VLC and fix Gstreamer 1.X option's name 2014-07-26 20:12:52 +02:00
Jean Guyomarc'h 353f3e27ba Fix autotools+ignores (auto-generated files). Fix linking error with --disable-nls.
Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D1239
2014-07-26 19:55:24 +02:00
Boris Faure 9a66d33438 should have removed that comment 2014-07-26 17:09:20 +02:00
Boris Faure 38c5f1d4ec clip media controls. Cf T1369 2014-07-26 16:51:14 +02:00
Boris Faure 601450db01 review translation strings. Closes T1433 2014-07-26 11:37:27 +02:00
Boris Faure 8a3c15e08e gettextify termcmd.c,termio.c,termpty.c,termptyesc.c 2014-07-26 11:37:26 +02:00
Boris Faure 793f42daa5 gettextify options 2014-07-26 11:37:26 +02:00
Boris Faure 06bdb882db gettextify m*.c 2014-07-26 11:37:26 +02:00
Boris Faure b98f6107c3 gettextify in about.c,app_server.c,controls.c 2014-07-26 11:37:26 +02:00
Boris Faure 0ebe84383b Add (early) gettext support 2014-07-26 11:37:26 +02:00
Wonguk Jeong b14042aa49 media: improve media control pos/vol slider
Summary:
currently, pos/vol could be changed by using only knob not slider area.
use slider area as event source, and control knob internally.

Fixes T1440

Test Plan: terminology -> tycat video file -> try to control pos/vol by clicking slider area

Reviewers: billiob

Subscribers: seoz

Maniphest Tasks: T1440

Differential Revision: https://phab.enlightenment.org/D1219
2014-07-23 07:07:01 +09:00
Iván Briano f08f457697 Don't show the miniview by default
This object will be swallowed into the theme and that's how its
visibility should be controlled. But in the case that the user's theme
doesn't have the right part, we are left with a dangling object floating
in a corner and visible when it shouldn't be.
2014-07-22 11:18:05 -03:00
godfath3r 620802fb69 Remove some unnesecarry from _smart_show
Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D1212
2014-07-21 22:18:59 +02:00
godfath3r 54280b97f6 cleanup. Remove lines with values stored to variables never used
Summary:
  as found with clang static analysis tool.

Reviewers: billiob, raster

Differential Revision: https://phab.enlightenment.org/D1207
2014-07-21 20:42:57 +02:00
godfath3r c029c9fe9b Miniview: Fix indicators initial position
Summary:
  When you scrollback to history and miniview is disable,
  when you enable it, it doesn't really know the correct
  position to show. Now it does!

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D1206
2014-07-20 21:33:38 +02:00
wonguk.jeong a83bd06905 tyalpha: support opacity level option
Summary:
support opacity level option for tyalpha.

usage: tyalpha [-p] on|off|<opacity level>

Test Plan: terminology -> tyalpha 60

Reviewers: billiob, raster

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1197
2014-07-17 12:50:04 +02:00
Boris Faure 2833ad913c fix compiler warnings 2014-07-15 12:37:51 +02:00
wonguk.jeong 0f463fc4bf tycat: show a media properly in precise area
Summary:
Precise multimedia size/type/aspect ratio could be acquired after first frame has been decoded.

Therefore,

Fixes T1376

1. put every file in the queue, and handle them one by one
2. in case of video, block queue handling until "frame_decode" callback is invoked.
3. to avoid infinite blocking, put timer for timeout check

Test Plan:
1.terminology -> tycat "video file" -> check whether the video size is fit to real video size
2.            -> tycat "audio file" -> check whether black area is shown or not

Reviewers: billiob, raster

Subscribers: seoz

Maniphest Tasks: T1376

Differential Revision: https://phab.enlightenment.org/D1192
2014-07-15 12:34:00 +02:00
Boris Faure 3afe93fd71 lz4: fix shadow variables, again… 2014-07-15 12:32:58 +02:00
Godfath3r 5db4ef8519 Terminology: Miniview: add position indicator
Summary: Merge branch 'miniview_indicator'

Reviewers: raster, billiob

Maniphest Tasks: T1417

Differential Revision: https://phab.enlightenment.org/D1150
2014-07-15 12:27:27 +02:00
Cedric BAIL e3fbd7f030 lz4: fix another security issue on ARM 32. 2014-07-14 16:00:09 +02:00
Boris Faure 585345f836 add % to opacity level 2014-07-13 15:23:24 +02:00
wonguk.jeong 5bcf35d642 options: opacity level configuration support
Summary:
In translucency mode, opacity level could be changed with this patch.

@fixes T1066

Test Plan: option -> video -> turn on translucency -> change opacity level

Reviewers: billiob, raster

Subscribers: seoz

Maniphest Tasks: T1066

Differential Revision: https://phab.enlightenment.org/D1180
2014-07-13 15:11:46 +02:00
Boris Faure 1891ce2ef1 remove useless code 2014-07-13 00:27:43 +02:00
wonguk.jeong f982ee8fb9 options: translucency during theme changing bug fix
Summary:
when theme has been changed, translucency was ignored

@fix

Test Plan: set translucency -> change theme

Reviewers: billiob, raster

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1179
2014-07-11 20:45:22 +02:00
Sebastian Dransfeld cd63abe7e0 free forked config on error
If an error happens during main, the forked config isn't free'd. So if
the config exists at end, free it.

CID 1100644
2014-07-10 11:42:59 +02:00
Boris Faure 651cbfa08c fix possible segfault detected as CID1224396. 2014-07-03 20:56:36 +02:00
Mike Blumenkrantz 3f53f0aa5e disallow tw popups while terminology popup is present
fix T1290
2014-07-03 11:14:24 -04:00
Mike Blumenkrantz 4f945bcdd7 hide tw popup on terminal popup show
fix T1290
2014-07-03 11:14:19 -04:00
Jean-Philippe Andre 4fa040fccb Miniview: Fix crash due to miniview render after deletion
_deferred_renderer() could be called after object del because the
timer was renewed even though it was invalid (marked as NULL).
2014-07-03 12:10:46 +09:00
Jean-Philippe Andre 4012be784c extns: Add .tga to the recognized image files
Add it to tyls as well
2014-07-03 10:17:12 +09:00
Carsten Haitzler 40b7eaf09f fix continual wakeups with miniview every 0.1 sec
as pointed out by GKH:

https://plus.google.com/u/0/111049168280159033135/posts
2014-07-03 08:54:10 +09:00
Boris Faure feca95c493 don't try to display pdf while don't have page controls 2014-07-01 20:25:02 +02:00
Boris Faure 572c4cfce4 fix uninitialized scalar variable (CID1224271) 2014-07-01 08:10:36 +02:00
Boris Faure cd82ef6b57 handle elm_theme_overlay correctly. Closes T1370 2014-06-30 22:38:13 +02:00
Boris Faure 371b402947 fix link detection on end of lines 2014-06-30 21:48:55 +02:00
wonguk.jeong b053c96eec media: add missing extension for media
Summary:
add flac, m4a, opus

fixes T546

Test Plan: tycat flac or m4a or opus in terminology

Reviewers: raster, billiob

CC: seoz

Maniphest Tasks: T546

Differential Revision: https://phab.enlightenment.org/D1087
2014-06-30 20:49:12 +02:00
Iván Briano fd065b81f7 Don't add unnecessary newlines on selections.
We were adding newlines on wrapped lines that ended with a ' '. I don't
see anything breaking by removing this check, but if something does,
please be clear about it.
2014-06-30 00:29:38 -03:00
Boris Faure 4134aa27be lz4: fix shadow issue 2014-06-29 23:07:40 +02:00
Boris Faure 46a3342f9a update contributors 2014-06-29 19:02:12 +02:00
Boris Faure 669a107be7 fix missing newlines on selections. Closes T1387 2014-06-29 17:19:11 +02:00
Boris Faure 223ed1651c update lz4 to r118
it sucks to embed it
2014-06-29 17:19:11 +02:00
Cedric BAIL f39f25598d evas: enable support for exif on all image type. 2014-06-29 13:43:01 +02:00
wonguk.jeong 9307b77b96 media: support rotation by metadata
Summary:
if we drag & drop jpeg image with orientation information in exif metadata, the image was not properly rotated.

with D1082, D1084, you could see properly rotated image

fixes T1357

Test Plan: terminology -> drag and drop jpeg image with orientation metadata in exif -> check whether the image is rotated properly or not

Reviewers: billiob, raster

Reviewed By: billiob

CC: seoz

Maniphest Tasks: T1357

Differential Revision: https://phab.enlightenment.org/D1085
2014-06-24 21:41:47 +02:00
wonguk.jeong 69c8824caf option_font: selected standard font bug fix
Summary:
Fallback of selected font finding logic is wrong.
As Is: set selcted font if full name is exactly same or just font name without style is same
To Be: find font which is exactly same full name. If failed to find, use find font with same font name

Fixes T1368

Test Plan: terminology -> set font in setting (as Dejavu Mono) -> open setting -> check whether font is Dejavu Mono or not

Reviewers: billiob, raster

Reviewed By: billiob

CC: seoz

Maniphest Tasks: T1368

Differential Revision: https://phab.enlightenment.org/D1076
2014-06-24 21:39:19 +02:00
Boris Faure cf7ea0ea50 do the fix correctly! 2014-06-22 19:44:32 +02:00
Boris Faure eabdca9861 fix size hints. Closes T662 2014-06-22 19:21:21 +02:00
Boris Faure 573e621145 cleanup config_fork use
Let's hope it works perfectly everywhere this time
2014-06-22 17:38:26 +02:00
Boris Faure 9cccb0de1a update copyright info 2014-06-22 17:13:47 +02:00
Carsten Haitzler 57a052bec7 Revert "cleanup config use"
This causes major segvs ith single instance multiple windows mode -
every close of a window causes terminology to crash!

This reverts commit 6cd6c87210.
2014-06-22 20:42:48 +09:00
Boris Faure 6cd6c87210 cleanup config use 2014-06-21 18:53:25 +02:00
Boris Faure 7dba8182cf fix resource leak reported as CID1100644 2014-06-21 17:12:05 +02:00
Boris Faure a3492b980f add ISO_Level3_Left to _is_modifier() 2014-06-21 14:56:11 +02:00
Boris Faure 9f5d1ad674 fix selection when in scrollback when underneath scrolling occur 2014-06-15 22:50:26 +02:00
Boris Faure 92555866ee adjust scroll with direction
never noticed the bug but might occur
2014-06-15 22:49:13 +02:00
Boris Faure 7191991aec remove debug 2014-06-15 22:29:56 +02:00
Boris Faure 68b73b1302 remove dead code spotted by CID1222466 2014-06-12 21:18:14 +02:00
Boris Faure 1af822bcef fix tab counter glitch. Closes T477 2014-06-10 23:45:07 +02:00
Boris Faure 97232ba337 Fix focus issue when closing splits. Ref T477 2014-06-10 23:17:11 +02:00
Boris Faure 9aa5efae1f remove correct term 2014-06-09 19:40:25 +02:00
Boris Faure 896c6500ee Fix case where the wrong term object is deleted. Steps on T477. 2014-06-09 18:59:17 +02:00
Boris Faure 514f630cf3 fix text scrolling 2014-06-09 14:03:25 +02:00
Boris Faure cb6423fd73 tab selector: don't overzoom. Closes T875. 2014-06-09 12:53:00 +02:00
Carsten Haitzler fd53d48735 whitespace cleanup 2014-06-09 08:14:00 +09:00
Carsten Haitzler f7cd970c19 fix sel to not respond to mouse events when exit_on_sel is set
this should actually fix T618 without animation breakages
2014-06-09 08:12:41 +09:00
Carsten Haitzler be8c20ab26 Revert "Tab-switching from keyboard should exit asap. Closes T618"
This reverts commit ab3759b67b.

Now the animation ends suddenly with no transition in some cases, but
smoothly in others. exit_on_sel is set when sel_exit() is called to
set it. it is ONLY called if the term to sel != current term (thus a
new term is selected immediately when the sel appears), so it can know
to begin an exit anim when the initial animation has finished. how
about instead of breaking the animatkon, just disable mouse event
handling (move, click) if exit_on_sel is set? :)
2014-06-09 08:05:36 +09:00
Boris Faure ab3759b67b Tab-switching from keyboard should exit asap. Closes T618 2014-06-08 19:09:43 +02:00
Boris Faure e51c2168e9 fix segfault. Closes T1286 2014-06-08 15:52:34 +02:00
Boris Faure 503dd08105 handle fonts with multiple names 2014-05-25 22:38:23 +02:00
Boris Faure a3e7a770bc improve font listing: be able to select style 2014-05-25 22:02:24 +02:00
Boris Faure d194d406a3 add guard header 2014-05-24 16:14:20 +02:00
Boris Faure 4362049175 config: correctly display "bell_rings" 2014-05-17 21:03:42 +02:00
Boris Faure b4321a896c fix segfault when saving configuration 2014-05-17 21:01:30 +02:00
Carsten Haitzler 153956bfd5 fix segv in isspace() if value not in unicode range 2014-05-16 17:57:12 +09:00
Carsten Haitzler 2aeeaa4589 major color correctness and sizing correctness fixes to miniview
and that's only a start. they whole smart object is wrong.
2014-05-16 17:44:11 +09:00
Carsten Haitzler 4df9246db0 fix indenting 2014-05-16 16:52:31 +09:00
Carsten Haitzler 9ca44463f6 miniview - improve formatting 2014-05-16 16:36:23 +09:00
Flavio Ceolin bc4d1bbbf9 Fixing alt-backspace behaviour 2014-05-15 22:51:39 -03:00
Boris Faure 4c7ffd2292 oops, there's no config for miniview 2014-05-15 23:34:59 +02:00
Boris Faure 2f851eb9a0 miniview: (shift/ctrl/alt)PgUp/Down to scroll 2014-05-14 23:17:24 +02:00
Boris Faure 46a85b4962 miniview: increase scrolling step 2014-05-13 23:10:10 +02:00
Boris Faure 3fb2c08e6d miniview: add doc 2014-05-13 23:10:10 +02:00
Boris Faure d72a0cbec3 miniview: close from edj 2014-05-13 23:09:59 +02:00
Boris Faure 8d04ae955e miniview: use edje 2014-05-13 22:23:34 +02:00
Boris Faure b38defd518 miniview: display correct colors 2014-05-13 22:23:34 +02:00
Boris Faure 42cbf2f0ed miniview: fix with splits 2014-05-13 22:23:34 +02:00
Boris Faure 2e2862dd22 miniview: click on it to scroll to that position 2014-05-13 22:23:34 +02:00
Boris Faure ec8d5ac98e miniview: deferred rendering 2014-05-13 22:23:34 +02:00
Boris Faure 73930a6712 miniview: have only one buffer 2014-05-13 22:23:34 +02:00
Boris Faure 7fbc02b7c6 miniview: toggle miniview from miniview 2014-05-13 22:23:34 +02:00
Boris Faure e5c8da2cbd miniview: correctly handle resizing 2014-05-13 22:23:34 +02:00
Boris Faure c311cbf8da miniview: handle redrawing when scrolling 2014-05-13 22:23:34 +02:00
Boris Faure f96ef2f240 miniview: scroll with mouse wheel 2014-05-13 22:23:34 +02:00
Boris Faure 37f4ac15bb miniview: also draw current screen 2014-05-13 22:23:33 +02:00
Boris Faure eddec5e387 miniview: have ctrl-shift-h toggle the miniview 2014-05-13 22:23:33 +02:00
Boris Faure cc23a7e896 miniview: fill the image from backlog 2014-05-13 22:23:33 +02:00
Boris Faure d4ce1166c6 miniview: use an image ftm 2014-05-13 22:23:33 +02:00
Boris Faure b8cd00dadd add termio_pty_get() 2014-05-13 22:23:33 +02:00
Boris Faure e06f4ee3a3 add miniview_init/shutdown 2014-05-13 22:23:33 +02:00
Boris Faure 23d3944b76 miniview: cleanup 2014-05-13 22:23:33 +02:00
Godfath3r a5bb346937 add miniview feature to terminology.
Pressing ctrl+shift+f toggles miniview on the side of each terminal/split/tab
2014-05-13 22:23:33 +02:00
Boris Faure b504db6cba play a bit with pahole 2014-05-08 14:07:37 +02:00
Boris Faure 2b9c9a8351 add some padding fields to be sure holes are initialized (hi valgrind!) 2014-05-08 13:55:01 +02:00
Boris Faure c3c8310218 Fix bracketed paste mode. Closes T1233. Patch by Egmont 2014-05-07 20:41:14 +02:00
Gustavo Lima Chaves 5680e5a827 Revert "fix alt-backspace"
This reverts commit 2d495f0b59.

With this, the combination won't work even for bash.
2014-04-24 23:44:43 -03:00
wonguk.jeong f6496d90c2 terminology: remove unncessary code
Summary: @fix

Reviewers: raster, billiob

CC: seoz

Differential Revision: https://phab.enlightenment.org/D789
2014-04-24 22:25:32 +09:00
Wonguk Jeong e717b71589 terminology: restore movie play state when the media block is reactivated.
Summary:
first phase to resolve T1075
With D786, the paused video would be in paused state even if the media block is reactivated.

But the problem is....
every backend except "gstreamer1" doesn't show any image on screen when the video is loaded in paused state. (it's working perfectly with gstreamer1)
maybe the root cause is that frame decoding is never happened yet.
This need to be investigated, in the next phase (maybe in emotion or emotion modules?)

@fix

Test Plan: terminology -> tycat -> pause video -> page down enought until the video block is deactivated -> page up -> check whether the video is in paused state or not

Reviewers: raster, billiob

CC: seoz

Maniphest Tasks: T1075

Differential Revision: https://phab.enlightenment.org/D787
2014-04-24 18:10:29 +09:00
Carsten Haitzler 3e9edfb58e remove some useless code - like cache flushing 2014-04-24 12:17:00 +09:00
Boris Faure 2d495f0b59 fix alt-backspace 2014-04-23 20:56:16 +02:00
Boris Faure 6fd4e8c57a add an option to decide whether the bell rings 2014-04-22 23:38:03 +02:00
Boris Faure fd518e1a80 fix typo 2014-04-22 21:21:22 +02:00
Wonguk Jeong e2c687cf99 terminology: recalculate textgrid size when config is updated
Summary:
When configuration (font size, face..) was changed, textgird size was not recalulated properly.

Fixes T945

Test Plan: terminology -> maximize window -> font change (size) -> check whether max col/row are fit on window size

Reviewers: raster, cedric, billiob

Reviewed By: billiob

CC: seoz

Maniphest Tasks: T945

Differential Revision: https://phab.enlightenment.org/D772
2014-04-22 20:31:59 +02:00
Boris Faure 5bf2692eff should fix F1-4 2014-04-20 13:55:41 +02:00
Iván Briano 2b1521888f Fix wrong copy/paste/replace
Long ago, a very wise wizard said that it's a good idea to match
delimiters to their corresponding endings, so let's do that, mmmkay.
2014-04-17 16:58:43 -03:00
Boris Faure 12f4dcfaf6 make app_server only with efl ≥ 1.10
I'm tired of trying to make that code compatible accross efl versions
2014-04-15 22:21:41 +02:00
Boris Faure df59f16486 fix Ctrl/Shift/CtrlShift + Fn
Thanks to Kagetsuki for reporting about it
2014-04-12 17:44:35 +02:00
Boris Faure 86cc375322 fix possible NULL dereference 2014-04-12 14:59:31 +02:00
Boris Faure 3bc68b99bb fix CID1201428 Explicit null dereferenced 2014-04-12 14:59:12 +02:00
Boris Faure 42599a47b9 fix CID1201427 Explicit null dereferenced 2014-04-12 14:58:55 +02:00
Boris Faure d5a97a1e13 fix CID1201426 Explicit null dereferenced 2014-04-12 14:53:28 +02:00
Boris Faure dafb51f66e fix CID1100650: possible NULL dereference 2014-04-12 14:33:31 +02:00
Boris Faure 5cd68f3beb finish active-links checkbox 2014-04-11 21:30:52 +02:00
Jason L. Cook 5e70628dae Added config directive for Active Links, defaulting to true
Summary:
Added element ot config struct to support toggling of Active Links

Added boolean to support Active Links config directive

Added configuration directive for Active Links

Return from appropriate functions if Active Links is disabled

Test Plan: Reviewers

Reviewers: billiob, raster

CC: billiob, raster

Differential Revision: https://phab.enlightenment.org/D689
2014-04-11 21:30:52 +02:00
Tom Hacohen 9f723c2335 Adjust code to use the slightly different Eo2 API.
With Eo2 you can return values directly without the need to use
a pointer
(use the C return).

For example:
eo_do(obj, elm_object_text_get(&text));
becomes:
eo_do(obj, text = elm_object_text_get());

@feature
2014-04-10 09:50:50 +01:00
Boris Faure 02856cbdec terminology supports fraktur!! 2014-04-06 14:42:38 +02:00
Tom Hacohen 6c7f608eff Adjust to Eo2. 2014-04-03 17:35:07 +01:00
Boris Faure 3d137aa3e9 fix wrong assignement 2014-03-25 21:58:15 +01:00
Boris Faure 9346db3ba7 initialize some variables 2014-03-25 21:57:34 +01:00
Boris Faure 00fbb359ee fix possible NULL issues 2014-03-25 21:49:46 +01:00
Boris Faure 0313446e79 let's try to recover from malloc failure: ahah 2014-03-25 21:43:49 +01:00
Boris Faure ebfce9e480 please clang-analyzer with false unintialized arguments 2014-03-25 21:43:11 +01:00
Boris Faure 8d18d16b40 we can't be sure of the signedness of Eina_Unicode 2014-03-25 21:35:57 +01:00
Boris Faure 8f3258f1b3 use a bit more Eina_Unicode 2014-03-25 21:35:31 +01:00
Sebastian Dransfeld 12617004ee fix overflow issue
(1 << (1 + 6 + 6 + 6 + 6 + 6)) is signed -2147483648 and unsigned
2147483648. We want to check against the unsigned value, and since g is
signed we need to cast.

CID 1100656, 1100660
2014-03-24 13:47:42 +01:00
Sebastian Dransfeld cd189663bd remove dead code
We make sure that arg >= 0 before this line, so check is redundant.

CID 1100658
2014-03-24 13:40:05 +01:00
Sebastian Dransfeld 2263fd872e return after failed memory allocation
CID 1100649
2014-03-24 13:38:42 +01:00
Sebastian Dransfeld 1c53e10b42 don't write to NULL buffer
If we have checked for allocation failure, no need to write to buffer.

CID 1100648
2014-03-24 13:37:07 +01:00
Sebastian Dransfeld fe45b5c73f remove weird check
After allocation of new_screen, we should check the allocation of this
variable, and return if we cannot allocate.

CID 1100647
2014-03-24 13:35:08 +01:00
Boris Faure 839ac5b8d5 get rid of dumb youtube detection. Closes T1122
This almost never works… and just annoys me whenever I want to click on a
youtube link.
2014-03-23 23:22:06 +01:00
Boris Faure cb909253eb fix elm compatibility for real… 2014-03-20 23:45:18 +01:00
Boris Faure 7e0e687b9f fix compatibility with old versions 2014-03-20 21:46:56 +01:00
Daniel Zaoui 1754888b9d Modify events names changed due to Eolian. 2014-03-19 15:47:52 +02:00
Boris Faure c59bce60f7 col.h needs config.h 2014-03-17 22:32:25 +01:00
Boris Faure 35f8d46c11 add mouse-over focus. Closes T589 2014-03-15 23:01:31 +01:00
Boris Faure 8db12b97a6 don't show tab switcher on next/prev when only one tab 2014-03-15 22:39:58 +01:00
Aleksandar Popadić ca143565a4 Fix disappearing prompt on resize
...and break reflow of multiline prompt lines.
2014-03-15 21:40:05 +01:00
Boris Faure 7a73e6a5d7 don't show tab switcher if no tabs. Cloes T875 2014-03-15 19:41:13 +01:00
Boris Faure c27d887c1c save wrapnext when saving cursor. Closes T1080 2014-03-15 18:35:59 +01:00
Boris Faure 87e06d7a87 add some doc about RM 34/36 2014-03-15 17:35:56 +01:00
Gustavo Lima Chaves 906e8009d5 Make term switching cyclic.
The behavior for tab splits is kinda funky (it's kept equal after my
commit) -- one returns to the last or 1st term of the split, when
cycling reaches it, not the split it was in at the last time.
2014-03-15 01:55:33 -03:00
Gustavo Lima Chaves 6cb39e4a8d Let our size spinners be editable. 2014-03-15 01:04:31 -03:00
Gustavo Lima Chaves a78acc35d7 Make zero-time switches between tabs flick-less. 2014-03-13 00:20:32 -03:00
Gustavo Lima Chaves 1ee57c508e Revert "Make an option to disable tab switch animations."
This reverts commit 1d689839c0.
2014-03-12 23:22:27 -03:00
Cedric BAIL 754cec5939 preview: add support for TGV. 2014-03-12 22:32:22 +09:00
Gustavo Lima Chaves 1d689839c0 Make an option to disable tab switch animations.
I bet I'm not the one driven crazy by them. So let's keep the bling by
default, but make it possible to override that.

In this patch I also sugest usage of tooltips on the config knobs.
How do you like it?
2014-03-11 23:49:40 -03:00
Boris Faure 5c599a73b4 update AUTHORS, about.c 2014-03-08 15:47:49 +01:00
Boris Faure 6d20de8327 fix shift+insert. Closes T1060 2014-03-06 21:59:38 +01:00
Boris Faure 2705680ea4 reset now resets mouse. Ref T725 2014-03-05 22:43:31 +01:00
Boris Faure f47eb5e410 fix buffer overflows. Closes T1050 2014-03-05 22:37:38 +01:00
Boris Faure 735e5d1a3d cleanup code 2014-03-05 21:42:33 +01:00
Boris Faure 2063e2f4f4 fix ^[22m: no bold/bright, no faint 2014-03-03 23:02:17 +01:00
Boris Faure 28fcabc860 fix Alt+X. Adopt the rxvt way. Closes T713 2014-03-02 11:06:46 +01:00
Boris Faure 29418fdc55 fix zoom. Closes T888 2014-03-01 17:59:01 +01:00
Boris Faure 5067594760 improve TODO message 2014-03-01 16:07:16 +01:00
Boris Faure b22a4f6ab1 handle soft reset (DECSTR) 2014-03-01 15:39:58 +01:00
Boris Faure 42e4fdfc59 improve debug for unhandled csi 2014-03-01 15:29:32 +01:00
Boris Faure f92fa733b5 fix CID 1187639: dereference after null check 2014-02-27 23:56:19 +01:00
Boris Faure 4bfc84110e load themes from ~/.config/terminology/themes. Closes T1030 2014-02-26 23:03:27 +01:00
Boris Faure f757868436 change defaults not to flicker on key and produce sounds 2014-02-26 21:21:25 +01:00
Stefan Schmidt f1deb3ca3e tyls: Make sure we never divide by zero
Avoid the case where cols is 0 and we divide through it.

CID 1100655
2014-02-26 21:14:50 +01:00
Stefan Schmidt d1810ed034 utils: Check retrun value of edje_object_file_set
In this case it not really useful as the functions returns void and
this is the last instruction anyway. Still better to have this in to
set good examples in the code.

CID 1100661
2014-02-26 21:13:34 +01:00
Stefan Schmidt 99869d3dff options_wallpaper: Check retrun value of edje_object_file_set
edje_object_file_set can fail. Better check for the return value and act
accordingly.

CID 1147527
2014-02-26 21:12:24 +01:00
Boris Faure 90b3a93698 fix ctrl+minus. Closes T922 2014-02-24 23:50:06 +01:00
Boris Faure f6a08ac7d8 skip buffer when dcs parsing overflows. Closes T932 2014-02-11 22:18:12 +01:00
Carsten Haitzler ff02942bdb Revert "force grid size. Closes T662"
This reverts commit 98fd3b0a11.

this causes terminology to no longer handle resizes at all! :( pretty
bad!
2014-02-02 20:28:29 +09:00
Boris Faure 98fd3b0a11 force grid size. Closes T662
This commit was done at the enlightenment stand at FOSDEM
2014-02-02 10:50:12 +01:00
Boris Faure 1138863964 should fix latests selection issues
Fix case when unselecting with single click + shift (useful in vim for
example).
2014-01-31 21:51:26 +01:00
Boris Faure 864fa1e368 set IUTF8 flag. Closes T656 2014-01-29 22:57:49 +01:00
Boris Faure da8544728b do not send mouse when making a selection 2014-01-29 21:41:13 +01:00
Boris Faure 9fa4ee1d54 fix selection with shift to avoid mouse mode. Closes T863 2014-01-28 22:32:05 +01:00
Jean Guyomarc'h 2626037407 Fix a compatibility issue with OSX. There is no /proc on this damn system. A possible workaround is to use libproc (built-in).
Reviewers: billiob, raster

Differential Revision: https://phab.enlightenment.org/D498
2014-01-26 12:20:38 +01:00
Jean Guyomarc'h 0bc73d9b17 Fix two small warnings
Reviewers: billiob, raster

Differential Revision: https://phab.enlightenment.org/D496
2014-01-25 21:00:02 +01:00
Carsten Haitzler 13c003c731 256 colorcube - follow the standards that need a set of custom colors
my xterm-256tst does seem to demand a specialized colorcube and
according to T846 this is the case elsewhere, so change colorcube to
match, as opposed to one that is more color efficient.
2014-01-24 08:41:17 +09:00
Boris Faure 878f456160 fix copy/paste error: CID 1163307 2014-01-23 03:44:07 +01:00
Boris Faure 7cc50d4e05 fix wrong cast. thanks to OnlyHuman 2014-01-22 23:22:42 +01:00
Boris Faure ab9243b94f oops 2014-01-22 23:19:11 +01:00
Boris Faure 4602641ac0 fix typo: CID 1100646 2014-01-22 22:53:48 +01:00
Boris Faure defca7b58b remove dead code: CID 1100658 2014-01-22 22:52:27 +01:00
Boris Faure 5f482aff7b avoid double free 2014-01-22 22:50:05 +01:00
Boris Faure dc764b68b9 fix CID 1162823: Dereference before null check 2014-01-22 22:26:25 +01:00
Boris Faure fd43c274c1 fix pasting for real… Closes T706 2014-01-22 22:12:01 +01:00
Carsten Haitzler 870d592139 set EMOTION_ENGINE to tyls (and ethumb etc.) can use it inside shell
this should fix T291
2014-01-22 20:32:25 +09:00
Carsten Haitzler 4891932444 fix escaping of file in helper run in 1 missed case
this fixes T814
2014-01-22 15:44:57 +09:00
Carsten Haitzler aef172b4c5 update - support gstreamer1 module for efl 1.9 2014-01-21 22:29:59 +09:00
Carsten Haitzler c8f20f9312 update url handling to detect yourupe-dl output url streams 2014-01-21 22:27:10 +09:00
Marcel Hollerbach b80c2f6f88 Rewrote the Wallpaper Settings,
Summary:
- Removed the list of paths in the config.c
- The users selects directly the path of the folder where the
  Backgrounds are located, terminology will not show up the Pictures
  located in subdirectorys you can easyly go in the subdir with the
  fileselector.
- With a double click on a picture you can import the picture to your
  user config directory so you can cleanup your Downloads directory for
  example without loosing your Background
- If a Background is imported the new Background URL in the config will
  point to the imported file.

Test Plan:
- The Bufferting of the Backgrounds is not asyncron, but I have tested it
  with a directory with more than 300 pictures and it runs very very fast,
  in my eyes no asyncron buffering is needed!

Reviewers: billiob, raster

CC: cedric

Differential Revision: https://phab.enlightenment.org/D471
2014-01-21 17:04:45 +09:00
Boris Faure 3b971ca7ab fix pasting. Closes T706 2014-01-20 23:10:49 +01:00
Boris Faure 3bb5343290 add warning when doing an incompatible paste 2014-01-20 23:04:51 +01:00
Boris Faure 5c9cfca23c fix mouse release on SGR mode. Closes T667 2014-01-18 18:34:38 +01:00
Boris Faure a6d51a8d4d improve icons on settings toolbar 2014-01-18 18:22:58 +01:00
Boris Faure 5fb0023944 typo, oops 2014-01-18 01:20:04 +01:00
Boris Faure 333c56870c only change colors due to attributes with system colors 2014-01-18 01:16:56 +01:00
Boris Faure e88b9080eb do no handle horizontal scrolling. Closes T669 2014-01-18 00:48:24 +01:00
Boris Faure 4525a8e3bc cleanup the code
(forgot to amend previous commit)
2014-01-18 00:21:20 +01:00
Marcel Hollerbach fef6fac9ae Fixing Bug T758
Summary: This is fixing the Bug which is happening if a symbolic link in a directory is pointing to its root directory.

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D463
2014-01-18 00:19:04 +01:00
Boris Faure 4202010724 fix bold issue with 256 colors
test case was:
echo -ne '\033[38;5;7m\033[48;5;0m\033[1mfoo'
2014-01-18 00:13:29 +01:00
Boris Faure 00f627d354 do not set bg to INVISIBLE when using 256 colors 2014-01-15 23:30:43 +01:00
Boris Faure 2706eef099 Merge remote-tracking branch 'mjtorn/login_shell'
Conflicts:
	src/bin/config.c
2014-01-15 22:03:26 +01:00
Markus Törnqvist 044a7f98b9 Use config->login_shell
Thanks cippp for finding this!
2014-01-13 07:23:27 +02:00
Markus Törnqvist 7c4a989279 Settings option for login_shell 2014-01-13 07:21:36 +02:00
Markus Törnqvist 2e064a2fe2 Add configuration for login_shell 2014-01-13 07:20:07 +02:00
Markus Törnqvist d802bf6324 Make the login_shell option behave as all others
Cheers cippp!
2014-01-13 07:19:36 +02:00
Boris Faure e3adfa2a2d remove unused variable 2014-01-12 23:16:15 +01:00
Aleksandar Popadić 9ac9719fe9 Rewrite colour setting in _smart_apply
Summary:
Rewrite colour setting to be more general. Before colour inversion
did not work with 256 colour palette.

Test Plan: echo -e "\e[7;38;5;240;48;5;255m####\e[0m" --> output is invisible

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D421
2014-01-12 23:15:18 +01:00
Boris Faure 70557c7184 fix warnings on options_wallpaper.c 2014-01-12 23:11:11 +01:00
Boris Faure c7400109d8 update about with contributors from AUTHORS 2014-01-12 23:10:40 +01:00
Boris Faure 052a63aae2 we're in 2014 2014-01-12 23:10:40 +01:00
Boris Faure 79034500d3 add header guards 2014-01-12 23:10:40 +01:00
Boris Faure ac4117ce8a add bracketed paste (by egmont). Closes T670 2014-01-06 21:51:23 +01:00
Aleksandar Popadić c3f40b8cd8 Set the autowrap switch at the end of the line not before
Summary:
All the rest of the code expects the autowrap switch to be set at the
end of the line. Now in the case of double width characters the autowrap switch
is set before the line ending.

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D433
2014-01-06 21:45:28 +01:00
Aleksandar Popadić cf5e838084 Do not scroll on Shift-PgUp when in alternate buffer.
Test Plan: build some history, vi, Shift+PgUp -> it scrolls when it shouldn't

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D422
2014-01-06 21:43:46 +01:00
Boris Faure 603b7cd239 fix prototypes when no ELDBUS. Closes T724 2014-01-06 21:11:10 +01:00
zmike 954d6a0463 I cleverly added a comment stating that this #if wasn't a typo
...it was a typo
2014-01-06 08:17:16 -05:00
Chris Michael 1dfbbe8c85 Remove EINA_UNUSED from parameter that is actually used.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-04 12:25:40 +00:00
Carsten Haitzler 31c99d6127 make wallpaper (and other options) apply to current term (splits/tabs) 2014-01-02 15:54:46 +09:00
Chris Michael 81a0d28a30 Fix copy/paste error when termio object is deleted.
When we get the evas callback for the termio object being deleted,
then we Do Not want to readd the same callback. Instead we should do
evas_object_event_callback_del_full here.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-01 15:54:06 +00:00
Chris Michael 26474588d1 Remove whitespace
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-01 15:54:06 +00:00
Carsten Haitzler fd30817bb1 fix wallpaper crash on adding path then cancel
this fixes T711 :)
2014-01-01 13:24:28 +09:00
Mike Blumenkrantz 4bfa81d2d6 retain compat with previous tw protocol when building with 1.8 elm 2013-12-30 18:41:45 -05:00
Mike Blumenkrantz 7a2d665610 fix teamwork with 1.9
this id encoding only gets applied for wayland-running clients...not sure if htis is the best way to detect it but it works
2013-12-30 18:32:22 -05:00
Mike Blumenkrantz 734b652cbf update teamwork usage for new version compat 2013-12-30 12:54:15 -05:00
Boris Faure 272e8daa4d handle config upgrade 2013-12-30 17:45:22 +01:00
Boris Faure 7d26943f66 Correctly save tab zoom config. Closes T627
We can do it know that we have can upgrade config
2013-12-30 17:45:22 +01:00
Cedric BAIL a4d890119a terminology: wallpaper - simplify logic matching extention by using Eina infrastructure. 2013-12-30 15:50:54 +09:00
Carsten Haitzler 7f92258ee4 terminology - make wp display more than basic img formats (edj, scale etc.) 2013-12-29 14:59:57 +09:00
Carsten Haitzler bcdfbbadfb fix warnings and minor formatting from wallpaper options 2013-12-29 14:02:16 +09:00
Marcel Hollerbach 85ded7e105 Implemented the wallpaper settings page.
Summary: Implemented a little page where you can set your background for your terminology.

Reviewers: raster, billiob

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D362
2013-12-29 13:45:27 +09:00
Aleksandar Popadić ae9226f823 Give commit 5ab7a6f827 another go
"Do not let CUU and CUD scroll off screen."
Previously I missed how the default values are implemented.

Reviewers: billiob, cedric

Differential Revision: https://phab.enlightenment.org/D417

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-12-27 16:17:15 +09:00
Cedric BAIL 1cc793f564 Revert "Do not let CUU and CUD scroll off screen."
This reverts commit 5ab7a6f827.

This patch did completely break emacs for me. I have no idea what the intent was, but
at least my application/OS is broken.
2013-12-26 11:36:51 +09:00
Aleksandar Popadić 1f62a447a3 DECCOLM - do not change terminal height
Summary: I'm taking xterm as a reference here.

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D410
2013-12-25 12:09:54 +01:00
Aleksandar Popadić 5ab7a6f827 Do not let CUU and CUD scroll off screen.
Summary:
ISO 6429 is a bit vague here but I don't think that the cursor should
be let go off screen.

Test Plan: terminology -g80x30, vttest, 1 -> test failed

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D409
2013-12-25 12:07:13 +01:00
Aleksandar Popadić a3e67d8567 Fix a boundary case for wrap off
Test Plan: vttest, 2 -> the last "*" is missing

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D411
2013-12-25 12:03:21 +01:00
Aleksandar Popadić 4ed6ca9385 Close T643 for the time being.
Reviewers: billiob

Maniphest Tasks: T643

Differential Revision: https://phab.enlightenment.org/D408
2013-12-25 11:57:13 +01:00
Carsten Haitzler f40eab09f2 color options - fill in colors options panel.
this makes the colors config work and able to save/load a custom
color palette. when enabled it overrides the theme provided palette
for the "base" 48 colors (normal + bright with intense modes of each).
2013-12-16 23:53:01 +09:00
Boris Faure 6ea42c38ae fix mouse scroll on mode SGR/NONE. Closes T661 2013-12-15 21:54:52 +01:00
Boris Faure 73310b6c88 fix mouse scroll in mc. Closes T661 2013-12-15 21:33:23 +01:00
Chris Michael edcf25c9af Remove 2 variables which are not needed.
After we fetch geometry, we are only using w & h for comparison. X/Y
are never used, so remove those two variables.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-12-14 09:00:53 +00:00
Chris Michael a31e29e016 Remove EINA_UNUSED for function parameter that is actually used.
'data' is used in this function for terminal assignment, so remove the
EINA_UNUSED from the function declaration.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-12-13 18:54:15 +00:00
Cedric BAIL 5f15fae4e7 tabs: improve behavior by making possible to navigate between them by using mouse wheel.
More theme work is needed, but first step for T449.
2013-12-13 14:59:26 +09:00
Cedric BAIL d4445b87f9 autotools: we do include file from subdir, so we need this option 2013-12-13 14:58:12 +09:00
Aleksandar Popadić e170f85ce3 Do not switch buffer if buffer already switched.
Summary:
Mutt does this. It sets the alternate buffer, it disables it, it
disables it again and enables it back.

Test Plan:
Run mutt, quit mutt, run mutt, quit mutt. You should see the
residual background from mutt.

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D371
2013-12-10 21:45:11 +01:00
Aleksandar Popadić 59a7627e86 Fix reflow on resize when in alternate buffer. Closes T637
Summary:
After commit 05d091483a screen swap form
alternate buffer to primary buffer is not the same as the reversed. Take this
into account when resizing.

Test Plan: Build history, man echo, resize, quit manual.

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D370
2013-12-10 21:23:32 +01:00
Carsten Haitzler 6cbc4c1a09 wrap code - line2 COULD be NULL technically, so handle that case 2013-12-06 19:00:23 +09:00
Boris Faure 05d091483a fix changing state when swapping buffers. Closes T605
For some reason, this is not a real swap. Thanks to gregkh for the great
bug report.
2013-12-05 22:48:58 +01:00
Boris Faure c93c431279 have a list with the keybindings
This is ugly, makes evas complain… but it's better than nothing and users
might discover the bindings about the "tab" switcher…
And we're in feature-freeze.
2013-12-04 22:51:45 +01:00
Boris Faure 2ae7fada13 add dummy option about key bindings 2013-12-04 22:07:13 +01:00
Boris Faure bb86f4b07b cleanup options code 2013-12-04 21:42:16 +01:00
Carsten Haitzler 83b8fec527 theme selector - use gengrid instead of list
this makes the theme selector look much nicer. it's a step in the
right direction, but not 100% there. did this more as an example for
people filling in wallpaper and color selector (colors will need to
have a scheme/theme and preview too and then a way to edit a custom
theme/scheme).
2013-12-03 15:25:37 +09:00
Aleksandar Popadić b31638a630 Fix resize from width=1 to wider.
Test Plan:
Shrink terminal to width=1 and expand. Empty lines appear above
prompt line.

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D361
2013-12-02 21:51:03 +01:00
Boris Faure da8c2ce773 emulate cursors if needed on mouse wheel. Closes T411
This is done when in alternate buffer and no mouse mode is set.
2013-12-01 23:40:58 +01:00
Boris Faure fa0cdc0e1d remove unused parameter 2013-12-01 23:19:54 +01:00
Aleksandar Popadić d0c6c1d457 Rewrite reflow on resize
Summary:
simplify code (treat every resize as a single case) and fill the lines
from the bottom up

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D355
2013-12-01 19:47:12 +01:00
Boris Faure fae338a84f typo. Closes T544 2013-12-01 19:07:39 +01:00
Boris Faure 185249b6bd use more safety macros on Termio *sd 2013-12-01 18:50:45 +01:00
Boris Faure 54aa692ee2 fix selection pasting on wrong term. Closes T408 2013-12-01 18:22:17 +01:00
Boris Faure fd38df3108 fix controls button "copy" not reflecting correct selection state 2013-12-01 16:49:35 +01:00
Boris Faure 49b08115c9 mouse down focuses a term, whatever the button 2013-12-01 16:35:10 +01:00
Boris Faure 81a7d98f2f fix handling of DCH. Closes T537
As characters are deleted, the remaining characters between the cursor and
right margin move to the left. Character attributes move with the characters.
The terminal adds blank spaces with no visual character attributes at the right
margin. DCH has no effect outside the scrolling margins.
2013-11-23 19:31:49 +01:00