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
Aleksandar Popadić
11db9a1117
Fix screen swap when using alternate buffer.
...
Summary:
The circular_offset should not be set to 0 because the first line from
screen2 is copied to the offset line in screen.
Test Plan:
Try "man echo", scroll down and exit. The screen is not restored
properly.
Reviewers: billiob
Reviewed By: billiob
Differential Revision: https://phab.enlightenment.org/D345
2013-11-22 22:17:02 +01:00
Boris Faure
0380b657c4
be able to do selections in a row
...
I do need to write some tests on all that selection mess…
2013-11-21 23:01:59 +01:00
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
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
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
Boris Faure
56c13a1bb3
one less tab…
2013-04-17 22:02:50 +02:00
Godfath3r
174368be27
add geometry as a config parameter
...
We can now save custom geometry for terminology to start.
2013-04-17 22:02:14 +02:00
Carsten Haitzler
b949583c34
glue in beep flag on sel creation if you missed a beep in a hidden tab.
2013-04-17 12:50:19 +09:00
Carsten Haitzler
d201252033
track if a bell was missed in a background tab and display a "missed"
...
count and emit a signal to indicate you missed something. right now
you dont know which though has the missed bell. thats another stage -
pass missed flag to sel and display it in the theme.
2013-04-17 00:35:44 +09:00
Carsten Haitzler
6ad334c864
zero out fmt bits for dbl width chars for spare cell.
2013-04-15 23:54:47 +09:00
Carsten Haitzler
ea2956b28f
cover delayed delete being for already deleted panel from other window.
2013-04-15 23:54:47 +09:00
Carsten Haitzler
fc60732d64
use cwd of term when creating new ones with splits and tabs.
2013-04-15 23:54:47 +09:00
Carsten Haitzler
f005e70d4a
fix selection loss handling with multiple wins in 1 process.
2013-04-15 23:54:47 +09:00
Carsten Haitzler
86b0d64c54
fix focus restoration when creating new tabs or splits by allowing cb
...
to restore it.
2013-04-15 13:33:23 +09:00
Boris Faure
0c47c4ba4d
reflow: fix horizontal shrinking
2013-04-12 22:13:17 +02:00
Boris Faure
274e2b13b2
reflow: fix vertical shrinking
2013-04-12 22:13:17 +02:00
Boris Faure
ce65369d57
reflow: fix displaying history on vertical expansion
2013-04-12 22:13:17 +02:00
Boris Faure
b749acfc3c
reflow: use termpty_cell_copy() instead of memcpy()
...
Also get rid of _termpty_text_copy().
2013-04-12 22:13:17 +02:00
Boris Faure
ea60fdf9a4
reflow: fix setting cursor position on vertical shrink
2013-04-12 22:13:17 +02:00
Boris Faure
66e8493154
reflow: skip last empty lines when vertically shrinking
2013-04-12 22:13:17 +02:00
Boris Faure
a7858ecc2e
reflow: display content from backlog when vertically expanding
2013-04-12 22:13:17 +02:00
Boris Faure
fc7dcbdad6
reflow: don't let resize to 1x1
...
this occurs on terminolog start. dunno why ftm but it annoys me
2013-04-12 22:13:17 +02:00
Boris Faure
57032d607e
reflow: do not shrink unused lines
2013-04-12 22:13:17 +02:00
Boris Faure
9c9a05e958
reflow: do not always reset circular_offset on resize
2013-04-12 22:13:16 +02:00
Boris Faure
df08549f84
reflow: horizontally shrink the screen buffer
2013-04-12 22:13:16 +02:00
Boris Faure
74aa62f13c
reflow: horizontally shrink backlog
2013-04-12 22:13:16 +02:00
Boris Faure
d90396a803
reflow: define OLD_SCREEN() on a higher level
2013-04-12 22:13:16 +02:00
Boris Faure
f810600875
reflow: move cursor line when horizontally expanding
2013-04-12 22:13:16 +02:00
Boris Faure
25928a31b4
reflow: shrink vertically in place if needed
2013-04-12 22:13:16 +02:00
Boris Faure
55d2d0e483
reflow: dummy vertical shrink
2013-04-12 22:13:16 +02:00
Boris Faure
0556318761
reflow: change _text_save_top() termpty_text_save_top()
...
also change prototype
2013-04-12 22:13:16 +02:00
Boris Faure
b605913b1d
reflow: fix backscroll expansion when full
2013-04-12 22:13:16 +02:00
Boris Faure
18c8aff57c
reflow: add vertically expansion support
2013-04-12 22:13:16 +02:00
Boris Faure
591529c05f
reflow: WIP: vertical expansion
2013-04-12 22:13:16 +02:00
Boris Faure
852400f039
reflow: correctly set line length when pushing to backscroll
2013-04-12 22:13:16 +02:00
Boris Faure
050892a04c
reflow: remove empty lines due to screen expansion
2013-04-12 22:13:16 +02:00
Boris Faure
04cfd43af4
reflow: rewrap correctly between backscroll and screen
...
Refs: #1184
2013-04-12 22:13:16 +02:00
Boris Faure
ee9e6af8c0
reflow: add backscroll expanding
...
Refs: #1184
2013-04-12 22:13:16 +02:00
Boris Faure
8208428e89
reflow: expand screen
...
Refs: #1184
2013-04-12 22:13:16 +02:00
Boris Faure
9511fe6f01
fix mouse interactions using urxvt style (in mc)
...
Bug easily fixed with the help of ptyproxy :)
2013-04-08 18:26:58 +02:00
Boris Faure
8e9443a58c
fix clearing screen till the end
2013-04-08 18:26:58 +02:00
Carsten Haitzler
f0670d0c8a
this should fix a seg on exit.
2013-04-08 10:52:10 +09:00
Carsten Haitzler
87d585bd07
show overlay with number of open tabs - keep it faded out until you
...
mouseover. click to bring up tab switcher. mouse controls on tab
switcher work now... click to select. up & down arrow work too...
2013-04-06 23:30:45 +09:00
Carsten Haitzler
5444820f19
fix up artiifacts in tab selector zoom.
...
fix up video./audio restart in sel by not duplicating (instead add 1 edje obj
level in between and include bg with term. may affect other themes).
2013-04-06 14:02:05 +09:00
Stefan Schmidt
fc04ce9b4d
tyls: Don't print -l option as it is not implemented.
...
A bit confusing to show it but then do nothing like what it suggests.
Can come back once we have it implemented.
2013-03-28 15:01:50 +00:00
Carsten Haitzler
4caebb56b7
fix some media handling of mp3's and music files with tyls+thumb links.
2013-03-28 20:14:56 +09:00
Carsten Haitzler
f477acf0cf
warn--
2013-03-25 16:12:05 +09:00
Carsten Haitzler
fa4ebb5b2f
icons for buttons, theme overlay (for now) and some theme polishing
...
for terminology sel
2013-03-24 19:56:01 +09:00
Carsten Haitzler
72e813bf2a
fix segv happiness in term tab sel.
2013-03-23 15:50:16 +09:00
Godfath3r
28071e731e
fix boxsel misbehaviour when pasting with middle click.
...
When in terminology, user selects some text with boxselection (shift +
click/drag) and pastes in the same window with middle click.
The box selection then transforms into normal. Now it's fixed.
2013-03-22 20:37:04 +01:00
Sebastian Dransfeld
74e62b2d32
Only search for theme once
...
Efreet uses one cache file for one theme. So by cycling themes we blow
the cache, and thus slowing things down considerably. We should find one
theme, and then stick with it.
2013-03-20 12:22:27 +01:00
Sebastian Dransfeld
4aa421fe24
Include <Efreet.h> directly
2013-03-20 12:22:27 +01:00
Carsten Haitzler
64196937ab
some cleaning up of pending things.. so we can do a terminology 0.3
...
:)
2013-03-20 19:00:05 +09:00
Carsten Haitzler
edd37bbae7
track term titles properly and put them in tab sel views. done for the
...
moment.
2013-03-20 13:47:56 +09:00
Carsten Haitzler
29dd7608c2
improve tab sel look to have its own.
2013-03-20 12:55:15 +09:00
Carsten Haitzler
1880987f63
fix tab switching to zoom FROM current TO next/prev slot properly when
...
just next/prev switching.
2013-03-20 09:04:05 +09:00
Sebastian Dransfeld
21abbe6db8
terminology: guard for evas 1.8 features
2013-03-19 20:20:22 +01:00
Carsten Haitzler
e60db60b12
guess what the cat dragged in... "tabs" in terminology. just a
...
selector right now that u call up from keybindings. if u switch terms
it kicks in with some visuals too. theme stuff is currently not
done/ready at all. just recycling terminolgy bg edje atm. havent done
anything to:
1. track "window titles" per term and put into tab term previews
2. make preview look decent (some shadowing and spacing between terms
etc.)
3. track/display things like bell alerts
still need to have a way to suspend/unsuspend invisible terms so media
stuff pauses in playback etc. etc.
2013-03-19 19:49:47 +09:00
Carsten Haitzler
53fcba486a
sync term list sizes on resize
2013-03-18 09:36:58 +09:00
Boris Faure
193d308093
clear text with codepoint 0 instead of space
2013-03-17 21:39:14 +01:00
Carsten Haitzler
3a436ac0fe
printf--
2013-03-17 23:54:08 +09:00
Carsten Haitzler
eca8593193
infra for multiple terms per split slot.
2013-03-17 23:52:13 +09:00
Carsten Haitzler
7d90f43fff
restore terminology escapes.
2013-03-14 20:27:36 +09:00
Jean-Philippe Andre
ffd8f82a52
Fix last commit
...
Invalid buffer size
2013-03-14 12:14:34 +09:00
Jean-Philippe Andre
3223e32949
Fix crashes in escape sequence parsings
...
Crashes happen when using cat against binary files (png, mp4, ...)
Buffer overflow in _handle_esc_dcs()
Suspected overflow in _handle_esc_terminology()
Invalid return value in _handle_esc_terminology()
Don't write "ABC\r\n" on ENQ symbol
Silence some errors
2013-03-14 12:14:34 +09:00
Daniel Juyung Seo
e34ac90739
tyls.c: removed unused variables.
2013-03-12 02:00:30 +09:00
Daniel Juyung Seo
150799348a
termio.c: check elm rather than ecore for the drag and drop.
...
1. This includes ecore check as well.
2. Check the version more properly.
2013-03-12 01:50:06 +09:00
Carsten Haitzler
58597e51e7
fix tyls -m
2013-03-11 20:53:43 +09:00
Carsten Haitzler
de8141dec6
tyls now uses standard icons names for normal files (not starting with
...
/) so u see icons for files as well as thumbnails for videos, images,
svg's etc...
and now when u clikc on the icon... u launch it (folders launch in
efm... other file types open via the standard tools like with efm/e
etc. and highlighted links)
2013-03-11 20:44:27 +09:00
Carsten Haitzler
735d93fbc4
1. add the ability to have a link AND image path in inline images and
...
thumbs (allows for different thumbnail compared to what it links to).
2. fix if media obj is deleted on its own (stop button).
2013-03-11 16:56:07 +09:00
Boris Faure
01bf2409bd
fix segfault
...
when there is no cell, do not try to do stuff based on it.
2013-03-10 19:08:30 +01:00
Carsten Haitzler
6be6249ccd
oops forgot a printf removal.
2013-03-09 00:16:11 +09:00
Carsten Haitzler
2217166f40
make terminology handle multiple uri dnd of files and display in a
...
slideshow queue. :)
2013-03-09 00:13:32 +09:00
Daniel Juyung Seo
8a3f6335ff
terminology main.c: use macros for panes content parts and make code cleaner.
...
SVN revision: 84332
2013-02-24 06:53:29 +00:00
Carsten Haitzler
bc4014a2ba
adapt to dnd changes.
...
SVN revision: 84297
2013-02-22 08:49:21 +00:00
Carsten Haitzler
7397aced7e
u can dnd stuff TO terminology.. and it pastest in as text.. file
...
lists from efm, text from editors/browsers...
u can dnd links (file uril links terminology recognizes) TO other apps
or terminals... beware it uses a button. it's a bit ugly atm. need to
un-uglify.
both these need efl 1.8
SVN revision: 84283
2013-02-21 13:23:48 +00:00
Carsten Haitzler
3756f251b7
more extns known in tyls.
...
SVN revision: 84071
2013-02-19 00:46:56 +00:00
Carsten Haitzler
2ebc8c42c6
stop jumping! zoom gestures are being called now.. :/
...
SVN revision: 84066
2013-02-18 16:07:30 +00:00
Carsten Haitzler
437ac7ba0b
clock on thumbs opens popmedia. :)
...
SVN revision: 84065
2013-02-18 15:31:54 +00:00
Boris Faure
54837f4d7d
fix split with elm 1.7. Thanks to Godfath3r.
...
SVN revision: 84026
2013-02-17 16:55:42 +00:00
Boris Faure
081f27552b
fix clearing lines with circular buffer.
...
Fixes #2263 .
SVN revision: 84004
2013-02-16 18:16:25 +00:00
Boris Faure
48276b7cf4
box selection on alt/ctrl/shift
...
SVN revision: 83999
2013-02-16 14:44:45 +00:00
Carsten Haitzler
0ed5a96d9d
quick - forgot exec checks.
...
SVN revision: 83934
2013-02-15 05:08:11 +00:00
Boris Faure
5cfede02a6
add box selection by pressing shift while selecting text.
...
Patch from Panagiotis Galatsanos aka Godfath3r.
SVN revision: 83926
2013-02-14 21:44:16 +00:00
Carsten Haitzler
af064b227a
extn info repeated and.. missing.
...
SVN revision: 83897
2013-02-14 15:53:55 +00:00
Carsten Haitzler
104e1b51cb
make tyls more.. colorful. :)
...
SVN revision: 83896
2013-02-14 15:53:29 +00:00
Daniel Juyung Seo
84047693f8
terminology main.c: set the focus to the new split terminal.
...
SVN revision: 83836
2013-02-12 04:32:36 +00:00
Carsten Haitzler
c0dcca4c2d
no sleep on nul bytes - seems as if term hangs.. when its just slow...
...
SVN revision: 83705
2013-02-07 06:48:03 +00:00
Carsten Haitzler
19ee5d50b1
fix spinning - blinking curaor from cmdbox entry.... only create when
...
needed and delete when not. :)
SVN revision: 83613
2013-02-04 21:12:41 +00:00
Carsten Haitzler
1af758d9c1
fix tyls -m
...
SVN revision: 83569
2013-02-02 07:39:47 +00:00
Carsten Haitzler
f32952ce49
redundant set to 0.
...
SVN revision: 83568
2013-02-02 07:39:29 +00:00
Carsten Haitzler
156b168979
inline thumb mode uses ethumb now... :)
...
SVN revision: 83566
2013-02-01 14:10:51 +00:00
Carsten Haitzler
800383bb0b
oops - slowness with link finding test case. fixed. now screaming
...
fast again :)
SVN revision: 83500
2013-01-31 05:23:25 +00:00
Mike McCormack
83d1371953
terminology: Fix warning
...
Signed-off-by: Mike McCormack <mike@atratus.org>
SVN revision: 83499
2013-01-31 03:31:03 +00:00
Boris Faure
684c7499ad
load about from theme if possible
...
SVN revision: 83494
2013-01-30 23:09:47 +00:00
Carsten Haitzler
53eeed9880
a very very very very rough/first cut and playing with tyls...
...
SVN revision: 83485
2013-01-30 15:26:16 +00:00
Carsten Haitzler
4505778e11
fix ter4minology cmdline opts - broke them with splitting. fix.
...
SVN revision: 83457
2013-01-30 06:24:22 +00:00
Carsten Haitzler
0015767f4b
tidy yp tycat - handle edj and mp3/audio files - ahare extensions
...
handling and filtering, actually free tup termblocks when no longer
referenced without needing a gc, etc. ...
SVN revision: 83441
2013-01-29 15:54:47 +00:00
Carsten Haitzler
510e14530f
cleaner code...
...
SVN revision: 83430
2013-01-29 10:47:56 +00:00
Carsten Haitzler
47fe497356
tycat... faster shutdown... and understand edje and mp3/music files...
...
and stuff
SVN revision: 83429
2013-01-29 10:47:04 +00:00
Carsten Haitzler
552b55319a
hmm actualyl lets make cb's consistent and pass term as data - fix cb :)
...
SVN revision: 83423
2013-01-29 09:23:38 +00:00
Daniel Juyung Seo
93066dd3d3
terminology main.c: use correct parameter. fixed segv on commandline option.
...
SVN revision: 83422
2013-01-29 08:53:50 +00:00
Carsten Haitzler
0bbeac1a15
oops (--
...
SVN revision: 83402
2013-01-29 04:01:46 +00:00
Carsten Haitzler
caddf1fdee
1.8ism ifdefed.
...
SVN revision: 83401
2013-01-29 03:59:22 +00:00
Carsten Haitzler
95c757c449
allow terminology top build with 1.7?
...
SVN revision: 83400
2013-01-29 03:52:57 +00:00
Carsten Haitzler
6618fb3262
require escape to bgein and end any run of chars that represent a
...
block item.
SVN revision: 83398
2013-01-29 03:34:50 +00:00
Carsten Haitzler
3b9b38b86c
make block insert allow the inserter to specify a character to replace
...
on insert. this allows multiple insertions to be "active
simultaneously". until all the inset chars are used up. need to wrap
these insert chars with begin/end escapes still for efficiency and so
you can use insert chars elsewhere in the same text output area.
also clean up warnings.
SVN revision: 83394
2013-01-29 00:43:13 +00:00
Carsten Haitzler
c4ad6c9c94
ok - rename tcat to tycat.
...
SVN revision: 83392
2013-01-28 23:53:06 +00:00
Carsten Haitzler
a5bc0be3c9
fix tcat relative paths.
...
SVN revision: 83386
2013-01-28 16:43:45 +00:00
Carsten Haitzler
2781da8076
tcat... comes out to play fir the first time. not final... but a start.
...
SVN revision: 83385
2013-01-28 16:06:26 +00:00
Carsten Haitzler
7f6ae2a441
little theme adjustments for terminology - cursor loses striped fill -
...
clear empty, but gets blue glow. use subtle blue glow to show focuwed
term - useful for multi-term grid.
SVN revision: 83362
2013-01-27 05:24:07 +00:00
Carsten Haitzler
524d62d2f3
move options/controls out of term edj into separate one for the window
...
SVN revision: 83361
2013-01-27 01:58:12 +00:00
Boris Faure
d9d7318041
termpty_init/shutdown() are now called globally
...
SVN revision: 83360
2013-01-26 22:22:39 +00:00
Carsten Haitzler
85e60bbf74
add keybinds to split terms.
...
SVN revision: 83358
2013-01-26 13:06:58 +00:00
Boris Faure
f820185c7e
terminology: fix clear screen
...
SVN revision: 83309
2013-01-24 21:29:49 +00:00
Carsten Haitzler
097bf1a09d
options work agai - less purty. i need to adapt options now to
...
grid/pane-term. - they should be an overkay over all terms, not done
inside per-term theme. split needed.
SVN revision: 83124
2013-01-23 05:53:18 +00:00
Cedric BAIL
f32da4a10e
terminology: just push a stupid micro optimization to just be below urxvt.
...
SVN revision: 83120
2013-01-23 05:11:29 +00:00
Carsten Haitzler
614699ede2
make config separate per term.
...
SVN revision: 83091
2013-01-22 15:37:47 +00:00
Carsten Haitzler
a0ffffd42d
split your terminology man... split it! :)
...
SVN revision: 83090
2013-01-22 15:01:53 +00:00
Cedric BAIL
1b69c6c544
efl: deprecate eina_unicode_utf8_get_next, add eina_unicode_utf8_next_get.
...
SVN revision: 83048
2013-01-22 02:00:55 +00:00
Boris Faure
526cc2aeac
use device id from xterm
...
Should fix some emacs compatibility issues.
Bug was fixed with help from 'ptyproxy' I wrote:
https://github.com/billiob/ptyproxy
SVN revision: 83047
2013-01-21 22:51:26 +00:00
Cedric BAIL
e36295ce3e
terminology: improve speed of text scrolling by using a circular buffer.
...
SVN revision: 83038
2013-01-21 14:02:32 +00:00
Boris Faure
be8f3a6aba
terminology: add faint color support from edj
...
SVN revision: 83022
2013-01-20 21:02:22 +00:00
Boris Faure
a7eb68799c
terminology: read colors from theme
...
SVN revision: 83019
2013-01-20 16:48:18 +00:00
Cedric BAIL
548e12472e
terminology: revert previous commit at it is not ready yet for primetime.
...
SVN revision: 83013
2013-01-20 10:48:17 +00:00
Cedric BAIL
61576f1496
terminology: use a circular buffer for the screen.
...
SVN revision: 83012
2013-01-20 10:15:47 +00:00
Cedric BAIL
37d7bdd9c2
terminology: small speedup by calling directly the underlying function.
...
SVN revision: 82934
2013-01-17 12:15:02 +00:00
Tom Hacohen
afdf76e7aa
Terminology: Removed unused var.
...
SVN revision: 82889
2013-01-16 14:43:51 +00:00
Lucas De Marchi
84564c8f5d
terminology: remove hack that's not needed anymore
...
edbus doesn't crash efreet if the mainloop isn't ran anymore (see test in
edbus' testsuite) so lets remove the hack.
SVN revision: 82844
2013-01-15 21:58:18 +00:00
Carsten Haitzler
834f41cfe7
printf--
...
SVN revision: 82070
2013-01-03 12:28:52 +00:00
Carsten Haitzler
a0dd78025a
omg! accidentally left debugging for loop in! never mind! remove!
...
SVN revision: 82066
2013-01-03 12:12:26 +00:00
Carsten Haitzler
e7cf702d6a
set up argc/argv right so it ends up on the window in multi-instance
...
mode.
SVN revision: 82046
2013-01-03 07:50:54 +00:00
Carsten Haitzler
a566c1f7be
add version to about.
...
SVN revision: 82036
2013-01-03 06:11:06 +00:00
Cedric BAIL
9636a15f22
terminology: don't crash on ctrl-c.
...
SVN revision: 82034
2013-01-03 05:19:54 +00:00
Carsten Haitzler
7f5107b96d
ok can remove broken ifdefs now.
...
SVN revision: 81883
2012-12-29 16:43:47 +00:00
Gustavo Sverzut Barbieri
ac88f5579d
terminology: fix typo, change to proper name.
...
it should be media, not meida, but anyway it's the parent smart class..
SVN revision: 81871
2012-12-29 14:02:05 +00:00
Gustavo Sverzut Barbieri
cbf28bef32
terminology: media smart_class usage was also not great.
...
SVN revision: 81870
2012-12-29 13:59:41 +00:00
Gustavo Sverzut Barbieri
6491067714
terminology: fix termio's Evas_Smart_Class inheritance usage.
...
- _smart_add(): if you set the smart data before clipped smart object
constructor, it will reuse that. No need to get, copy, free then reset.
- _smart_del(): clipped smart object will free(sd) already, no need
to do it again (double free).
SVN revision: 81869
2012-12-29 13:45:38 +00:00
Mike McCormack
dfd5b67b67
terminology: Use return value of cwd
...
SVN revision: 81861
2012-12-29 07:25:19 +00:00
Carsten Haitzler
cf1c63c846
add more unique env vars to ipc id hash. i foudn these to be unique in
...
my vt sessions.
SVN revision: 81859
2012-12-29 03:42:11 +00:00
Carsten Haitzler
ddc0c7499c
make it a ifdef.
...
SVN revision: 81857
2012-12-29 03:17:30 +00:00
Carsten Haitzler
e2e2bb1b59
emergency! edbus broke terminology. segv in efreet init which is
...
initting edbus stuff! i need my term to work.
SVN revision: 81856
2012-12-29 03:14:40 +00:00
Carsten Haitzler
c89867a5c7
warn--, var grouping nicer.
...
SVN revision: 81855
2012-12-29 03:05:01 +00:00
Carsten Haitzler
970051e45a
if ipc serve fails - try ipc send again.
...
SVN revision: 81854
2012-12-29 03:02:37 +00:00
Carsten Haitzler
ce00c0157f
ummm the problem must be elsehwere... as not calling the prent del
...
means we leak smart members and clipper objects on termio smart
shutdown. that'll be fun with > 1 term in a window. :( could you bring
up a valgrind trace etc. about this?
SVN revision: 81853
2012-12-29 02:52:48 +00:00
Mike Blumenkrantz
92d5cd9826
terminology crashes on close--
...
SVN revision: 81843
2012-12-28 20:30:31 +00:00
Lucas De Marchi
a9b695ebbd
terminology: Fix Ecore version check
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 81824
2012-12-28 16:11:02 +00:00
Carsten Haitzler
b5aff77833
work around edbus issues by forcing the mainloop to run at least one
...
cycle with some dummy things... in ipc launch mode.
also make selection jump to end if a newline is there - as disussed on
ml.
SVN revision: 81775
2012-12-28 02:28:39 +00:00
Carsten Haitzler
e401e87660
terminology can do multi instance now (in a single process). that
...
means 2 or 3 or more windows == same terminology process. there is a
checkbox to turn it on.
in theory it CAN do multipe terms within 1 windows, except there's
incomplete sizing logic code for hansling step sizing and min size
with multielp terms in the same window (imagine u laid them out in a
table grid... all we need is a table and pack n terms in and presto..
but the sizing will be "bizarre" at the moment)... if they are packed
on top of eachother like a notebook... sure - but no notebook widget
and no way to sensibly display and switch... but the code infra now
all supports it in theory. this is more about testing and making that
infra work. first will probably be a grid layout of some sort because
frankly... it's easier.
but for now... lets get this multi-instance fun on the table.
SVN revision: 81740
2012-12-27 11:20:32 +00:00
Carsten Haitzler
e953a2e4ea
and handle loop.. or not looping.. i there is a queue. :)
...
SVN revision: 81688
2012-12-25 15:14:36 +00:00
Carsten Haitzler
f0da587105
put some meat on the terminology custom escape handling BONES!
...
SVN revision: 81687
2012-12-25 14:47:54 +00:00
Carsten Haitzler
dbcac72da3
propagate excape command to main.c and put in some skeleton for
...
handling cmds.
SVN revision: 81686
2012-12-25 01:53:41 +00:00
Carsten Haitzler
52b938fedc
fix file path link detect.
...
SVN revision: 81685
2012-12-25 01:15:56 +00:00
Carsten Haitzler
1982be3087
oops - return with boolean from timer cb.
...
SVN revision: 81679
2012-12-24 11:25:10 +00:00
Carsten Haitzler
7720a2e4f0
make fonts delay loaded .. with soem randomness so they dont batch all
...
at once...
SVN revision: 81658
2012-12-23 12:19:40 +00:00
Boris Faure
20ce6a52f6
terminology: remove trailing newline when selecting text. Fix #1967
...
Patch by Panagiotis Galatsanos <galatsanosp at gmail com>
SVN revision: 81644
2012-12-22 18:09:17 +00:00
Carsten Haitzler
4cb6987ecf
ummm shouldnt dbg.. be a dbg log? :)
...
SVN revision: 81013
2012-12-15 07:48:17 +00:00
Carsten Haitzler
d5bdabb2bc
make the new opt stuff for 1.8 and newer only.
...
SVN revision: 81011
2012-12-15 04:26:13 +00:00
Boris Faure
d18cc90367
terminology: cleanup escape sequences parsing. Fix #1628
...
Charset length for example was not correctly handled and could even lead
to segfaults.
SVN revision: 80980
2012-12-14 18:52:19 +00:00
Boris Faure
1434247df2
terminology: ' ' can be underlined or striken through
...
Commit on rev 78285 got wrongly removed.
Please, use svn revert (or git revert) instead of pushing some old working
code you had. I do hate wasting my time twice on the same bug I fixed weeks ago.
SVN revision: 80623
2012-12-10 21:52:39 +00:00
Boris Faure
2575234b18
terminology: fix mouse motion for all modes
...
SVN revision: 79642
2012-11-24 20:27:40 +00:00
Sebastian Dransfeld
a5f9a22da9
terminology: fix mouse tracking in vim
...
SVN revision: 79641
2012-11-24 19:55:37 +00:00
Sebastian Dransfeld
1dc602a8a0
terminology: defines for doublewidth
...
SVN revision: 79481
2012-11-20 21:18:42 +00:00
Boris Faure
53aa6d66fc
Revert "terminology: use solarized colors"
...
This reverts commit cf35576bd3e5cf4f95ef637f6c55ebd0b91317cd.
SVN revision: 78930
2012-11-05 15:31:45 +00:00
Boris Faure
a8272ed352
terminology: use solarized colors
...
SVN revision: 78928
2012-11-05 15:29:39 +00:00
Sebastian Dransfeld
9336575145
Fix typo
...
SVN revision: 78638
2012-10-30 08:15:17 +00:00
Boris Faure
9e0d981e24
terminology: fix is_dblwidth
...
should use a proper bitmap someday…
Fixes #1687
SVN revision: 78627
2012-10-29 22:04:21 +00:00
Boris Faure
4b64f43863
terminology: fix potential segfault when writing after end of line
...
SVN revision: 78619
2012-10-29 19:02:40 +00:00
Boris Faure
d9e70cefbc
terminology: fix mouse button release handling
...
Need to send 3 to indicate Release instead of the button number.
SVN revision: 78472
2012-10-25 20:27:11 +00:00
Boris Faure
f5184b4364
terminology: report mouse wheel
...
SVN revision: 78471
2012-10-25 19:36:46 +00:00
Boris Faure
480c5506b7
terminology: rewrite mouse handling
...
Fix mouse in vim. Should also fix it in mc.
SVN revision: 78412
2012-10-24 21:34:36 +00:00
Boris Faure
db90244654
terminology: correctly set device id
...
In vim, 'set ttymouse' was returning 'xterm' and not 'xterm2' because
the device id was incorrectly returned.
SVN revision: 78411
2012-10-24 21:34:25 +00:00
Stefan Schmidt
8b54f15969
terminology: Don't shadow a previous local i here.
...
I is such a popular variable name. :)
SVN revision: 78371
2012-10-23 14:47:51 +00:00
Carsten Haitzler
2c18ec8ba2
revert! broke terminology build completely.
...
SVN revision: 78312
2012-10-22 02:12:55 +00:00
Boris Faure
06b9d771df
terminology: ' ' can be underlined or striken through
...
This fixes cursorline in vim when it uses underline
SVN revision: 78285
2012-10-20 14:02:49 +00:00
Flavio Vinicius Alvares Ceolin
0dcc9e2044
Using the edje_codegen to handle with the theme
...
Using the code generated to handle the parts of the
edj file. Trying to avoid mistakes with the parts names and
make the code more independent from the theme (the parts can
change the name since it maintaining the same api)
SVN revision: 78271
2012-10-19 22:04:01 +00:00
Carsten Haitzler
26c02a3f9e
oops i broke url fetching in generla in terminology! fix!
...
SVN revision: 78155
2012-10-18 07:55:53 +00:00
Carsten Haitzler
a66f961eb0
nicer helpers options.
...
SVN revision: 78107
2012-10-17 08:07:49 +00:00
Boris Faure
7d01e6ad09
terminology: reset scroll state on "clear all"
...
SVN revision: 78070
2012-10-16 19:38:32 +00:00
Cedric BAIL
48f15f3850
terminology: revert r77987 as it break htop.
...
SVN revision: 78039
2012-10-16 07:56:27 +00:00
Boris Faure
ca40aa9b8e
Revert "terminology: use solarized colors"
...
SVN revision: 77988
2012-10-15 08:18:42 +00:00