Commit Graph

550 Commits

Author SHA1 Message Date
Carsten Haitzler 0d5465f507 scaling - handle scale settings changes... on the fly...
perhaps we just dont set the tmp flag instead of dont apply font
changes where size is the same but scale will have changed... fix
scale settings changes on the fly...

@fix
2022-02-01 19:17:47 +00:00
Boris Faure 4765573b51
termio: this variable is not needed shadows the real one 2022-01-02 16:53:51 +01:00
Boris Faure 32d68b4feb
termio: fix indentation 2022-01-02 16:46:16 +01:00
Boris Faure fe47376460
termptyesc: add focus reporting 2021-11-02 23:28:37 +01:00
Boris Faure 0901c85da4
termio: add termio_is_focused() 2021-11-02 23:26:40 +01:00
Boris Faure cd4c168e3b
media: have media_src_type_get() use extn api 2021-09-13 23:30:09 +02:00
Boris Faure 5f10cb1857
termio: rewrite drop cb to paste content whenever it's not a media 2021-09-13 22:49:48 +02:00
Boris Faure 02ab1da7cd
termio: do not set config temp flag on elm config change 2021-09-05 22:56:28 +02:00
Carsten Haitzler 7c652b6714 stop jumping down to the bottm on config changes when no font sz changed 2021-08-09 22:20:55 +01:00
Carsten Haitzler 0195e9b861 smart objects - remember to free smart data
fix leak
@fix
2021-03-18 11:21:38 +00:00
Boris Faure a617e9043b
termio: set scale only when font/size is set
Should avoid error messages like
ERR<16582>:eina_safety ../src/lib/evas/canvas/evas_object_textgrid.c:1202
_evas_textgrid_efl_text_font_font_family_set() safety check failed:
(!font_name) || (!*font_name) is true
ERR<16582>:eina_safety ../src/lib/evas/canvas/evas_object_textgrid.c:1238
_evas_textgrid_efl_text_font_font_size_set() safety check failed:
font_size <= 0 is true
2020-12-05 16:14:18 +01:00
Boris Faure 1fe87a4b2c
termio/win: use Elementary_Cursor.h 2020-11-29 15:27:34 +01:00
Boris Faure 9a5f13b12b
colors: no longer set all those "c%d" color classes
just use color schemes
2020-11-15 20:18:37 +01:00
Boris Faure 11abaaa0b4
termio/termptyesc: clean up mess with color classes 2020-11-15 00:15:10 +01:00
Boris Faure f0404cd5fd
termptyesc: handle xterm 12 to change cursor color 2020-11-14 23:32:41 +01:00
Boris Faure 049af922e2
termio: remove useless variable 2020-11-14 22:47:07 +01:00
Boris Faure 7465f46a9f
utils: add open_url() to avoid code duplication 2020-11-11 22:51:51 +01:00
Boris Faure 962c99f3e2
colors: have 4 blocks: normal, bright, faint and bright+faint 2020-11-03 23:31:09 +01:00
Boris Faure b77a2c3c95
termio: add termio_character_size_get() 2020-11-03 23:06:47 +01:00
Boris Faure 93da3f87b7
theme: have only one theme_apply function
No more one about theming an elm_layout, nor using only the default theme.
Also, be able to chose which color scheme to use
2020-10-18 22:35:27 +02:00
Boris Faure 09cd15a1e0
theme: make config_theme_path_default_get() private 2020-10-17 23:43:09 +02:00
Boris Faure 19fb6afd73
mv src/bin/col.{c,h} src/bin/colors.{c,h} 2020-08-20 16:21:51 +02:00
Boris Faure 9f2f8464f3
Fix typos
Summary: Fix some typos.

Differential Revision: https://phab.enlightenment.org/D12032
2020-07-05 20:19:59 +02:00
Boris Faure 4bc712b07d
utils.{c,h} is needed 2020-06-23 13:16:51 +02:00
Boris Faure ab35c9b7dd
mv utils.{c,h} theme.{c,h} 2020-06-23 12:48:27 +02:00
Boris Faure 196973fcd3
rewrite changing of background/foreground colors from escape codes 2020-06-22 23:41:27 +02:00
Boris Faure 50de16cca2
termio{,link}: correct check + remove useless 'if' 2020-06-15 23:08:52 +02:00
Boris Faure c011c48720
config: add "active_links_color" 2020-06-15 13:21:00 +02:00
Boris Faure d84304fc2e
termio: color link is not really clickable 2020-06-15 13:21:00 +02:00
Boris Faure 2832f79b59
theme: add name to the color being previewed 2020-06-15 13:20:58 +02:00
Boris Faure 2be609daab
termio: add popup on right click on color to copy it 2020-06-15 13:20:58 +02:00
Boris Faure c1ac8e05a3
color preview: have a better background 2020-06-15 13:20:58 +02:00
Boris Faure 127f0987ee
link: display tooltip on colors like #ff00ff 2020-06-15 13:20:58 +02:00
Carsten Haitzler 0df36aefc9 termio selection strings - fix ownership and alloc/free
this was a bit of a mess in terms of who owns, dups, copies etc. so i
fixed this up a bit and have termio_take_selection_text consistently
stringshare_add the string as its own copy so it can free it later.
also fix leak from ty_sb_steal_buf() as this is a malloced buffer not
stringshared and it wasnt freed after a steal

@fix
2020-05-04 10:47:00 +01:00
Boris Faure 25eac3e842
termio: suspend is an int with values > 1 2020-04-19 23:22:57 +02:00
Boris Faure 0b48853597
reduce scope of variables 2020-04-17 23:09:07 +02:00
Boris Faure d5d61a5b76
termio: hide links when content change underneath 2020-04-16 23:43:21 +02:00
Boris Faure 2259519d10
video: no need to force emotion engine anymore 2020-04-12 16:59:43 +02:00
Boris Faure a5aaeefc18
remove condition on if (X) eina_stringshare_del(X) 2019-11-29 23:31:14 +01:00
Boris Faure cf80e70faf
backlog: move related functions to that file 2019-11-24 16:12:26 +01:00
Boris Faure 998f25ba77 termio: only the TEXT case shouldn't happen in that switch-case 2019-10-28 09:56:03 +01:00
Boris Faure 7634b61283 termio: allow \t to be pasted 2019-10-27 11:32:51 +01:00
Boris Faure f01c312f01 fix leaks when looking for links 2019-09-04 00:28:21 +02:00
Boris Faure 421e40dbfc termio: evas_object_focus_get() agains obj is not valid
Focus is not handled at that layer.
Closes T8176
2019-09-02 23:45:46 +02:00
Boris Faure 54340c464d termio: fix CID1402874, buffer overrun
Also fix CID1402875, CID1402876, CID1402877, CID1402878
2019-07-08 22:19:47 +02:00
Boris Faure 7b3110d4a2 termpty: attach a Config * to Termpty 2019-06-23 22:02:50 +02:00
Alastair Poole 18bff78895 build: Fix build and behaviour on OpenBSD.
Summary:
OpenBSD does not have strchrnul. Also, fix range
issue with window size.

The geometry is broken on OpenBSD and DragonFlyBSD.
A previous patch solved this issue. Range was
changed to <= 0, but needs to be <= 1 to  ensure
the terminal opens and displays content.

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D9157
2019-06-23 16:39:17 +02:00
Boris Faure cf060d2a04 focus: block focus manager from getting key inputs when they are consumed 2019-06-18 22:06:44 +02:00
Boris Faure c151c3c0a0 termio: use term_is_focused() since it is now more reliable
sd->self is not the evas object that is being focused
2019-06-17 22:13:39 +02:00
Carsten Haitzler 40ea16d995 terminology - fix initial size hints to be stepped right
@fix
2019-05-18 02:41:16 +01:00