Boris Faure
9330420c3c
focus: try to do a bit less
2020-12-07 22:30:35 +01:00
Carsten Haitzler
73a538433e
tyls - allow ls *.png or *.jpg and so on to work as you expect
2020-12-06 16:35:55 +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
44952d9ac8
sel: cleanup
2020-12-05 16:09:10 +01:00
Boris Faure
d483af6b88
options_font: make font search a bit more reliable
2020-12-01 21:44:43 +01:00
Boris Faure
e21c07d114
options_font: the long awaited font search!
2020-12-01 21:10:06 +01:00
Boris Faure
070fa1defb
options: add note on colorschemes about current theme and vice-versa
2020-11-29 15:52:58 +01:00
Boris Faure
1fe87a4b2c
termio/win: use Elementary_Cursor.h
2020-11-29 15:27:34 +01:00
Boris Faure
84905e62e9
options_themepv: do not use terminology/background for color scheme preview
...
use a dedicated group, lighter
2020-11-28 16:55:20 +01:00
Boris Faure
d8294d3cfa
options_themepv: clean things up
2020-11-28 13:08:25 +01:00
Boris Faure
71f54ad7d6
theme: ensure group exists in file before using it
2020-11-26 22:50:37 +01:00
Boris Faure
0e4ea771cc
tyls: do not force extension
2020-11-25 22:04:52 +01:00
Boris Faure
7f3bfab6d6
options_themepv: ease CPU usage, do not blink the cursor
2020-11-25 21:45:06 +01:00
Carsten Haitzler
d9a5832bd6
font sizing - listen to elm config change events and re-apply font size
...
re-applying font size (setting it) will take int account any new scale
value that may be set. this allows elementary_config or any config
tool that is updating config to change scaling and terminology
properly adapts. elementary itself for all widgets already takes care
of its own gui elements, but since the terminal grid is a custom thing
for terminology - it is responsible for doing this itself. now it
does.
@feat
2020-11-24 09:18:52 +00:00
Boris Faure
a416458ca9
options_theme: ensure the selected theme is the right one
...
was not the case when explicitly setting them from command line
2020-11-22 20:42:58 +01:00
Boris Faure
2669cc5780
colors: list user-stored color schemes
2020-11-22 19:40:58 +01:00
Boris Faure
43d1a681df
themes: use HIGHLIGHT instead of SHINE color class
2020-11-18 00:13:13 +01:00
Boris Faure
7469037003
themes: use only HIGHLIGHT
...
instead of CURSOR_HIGHLIGHT and GLOW_HIGHLIGHT
2020-11-17 23:20:15 +01:00
Carsten Haitzler
d9e63b3d3d
color schemes - dont crash when duplication a NULL scheme - use default
2020-11-16 19:46:47 +00:00
Boris Faure
292215d770
vin: remove unused variable
2020-11-16 13:08:56 +01:00
Boris Faure
7a16744778
tytest: makes more sense (to me) to check len
2020-11-15 20:19:21 +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
a29e7a718a
termptyesc: _handle_xterm_set_color_class() gets obj==NULL in tests
...
+ simplify _handle_xterm_10_command()
2020-11-15 20:10:43 +01:00
Boris Faure
05b95705ae
termptyesc: export termptyesc_safechar()
2020-11-15 13:48:20 +01:00
Boris Faure
76687b2ea2
tytest: those functions must return Eina_Bool
2020-11-15 13:42:25 +01:00
Boris Faure
7881e66b98
color class: ensure operations work
2020-11-15 12:27:40 +01:00
Boris Faure
11abaaa0b4
termio/termptyesc: clean up mess with color classes
2020-11-15 00:15:10 +01:00
Boris Faure
5b186b69a3
colors: show error in case applying NULL color scheme
2020-11-15 00:13:25 +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
38e72737ca
main: reorganize options
2020-11-14 22:32:22 +01:00
Boris Faure
5b3cd9149c
config: ensure config->colorscheme is set. Closes T8855
2020-11-14 22:16:35 +01:00
Boris Faure
c2cd0035e4
test malloc/calloc's return. Fix CID1436182
2020-11-11 23:08:22 +01:00
Boris Faure
7465f46a9f
utils: add open_url() to avoid code duplication
2020-11-11 22:51:51 +01:00
Boris Faure
6122b12e4f
options_colors: add ctx popup to go to color scheme's website
2020-11-11 21:27:44 +01:00
Boris Faure
aa63957dfc
options_colors: add tooltip on color scheme preview
2020-11-11 21:27:44 +01:00
Boris Faure
e96347d153
colors: there are 4 color sets…
2020-11-11 19:01:06 +01:00
Boris Faure
5e3c8bfd83
config: upgrade to set color schemes
2020-11-10 00:04:27 +01:00
Boris Faure
0a85423759
main: add --colorscheme
2020-11-09 22:26:23 +01:00
Boris Faure
7bb1639260
options_colors: be able to select color scheme
2020-11-04 23:17:32 +01:00
Boris Faure
17246e5d84
config: add color_scheme
...
TODO: set it from current theme
2020-11-04 23:14:33 +01:00
Boris Faure
005806470a
colors: add color_scheme_dup()
2020-11-04 23:13:43 +01:00
Boris Faure
465a894a2e
options_color: rewrite to display color schemes
2020-11-03 23:33:42 +01:00
Boris Faure
ac1bc02293
options_themepv: add color mode
2020-11-03 23:33:01 +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
dfe5d28b7d
colors: have a simpler structure for normal/bright/faint
2020-11-03 23:31:08 +01:00
Boris Faure
a46ca7ce34
options_themepv: remove unused macro
2020-11-03 23:13:32 +01:00
Boris Faure
b77a2c3c95
termio: add termio_character_size_get()
2020-11-03 23:06:47 +01:00
Boris Faure
c1e82b90b3
config: set xterm_256color as default
...
This is still configurable and is nowadays, widely accepted.
2020-10-29 21:13:12 +01:00
Boris Faure
0c25e408d6
termiointernals: add comment about using bright but not bold
2020-10-27 23:52:02 +01:00
Boris Faure
6ff8b36a23
colors: do not use bold/bright and faint/dim at the same time
...
In that case: use the bold font weight if available and the faint color
2020-10-27 23:52:02 +01:00
Boris Faure
4b15e30b68
colors: oops
2020-10-26 21:39:31 +01:00
Boris Faure
0ea7705195
options_themepv: add color scheme option
2020-10-20 22:35:02 +02:00
Boris Faure
1f6bfe3323
theme: use theme_file if provided
...
Fixed theme ui
2020-10-18 23:16:36 +02: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
458f9a6da6
theme: add theme_path_default_get()
2020-10-17 23:49:33 +02:00
Boris Faure
886bce509f
colors: make color_scheme_apply() public
2020-10-17 23:43:09 +02:00
Boris Faure
3fddb77208
win: constify background_set_shine()
2020-10-17 23:43:09 +02:00
Boris Faure
09cd15a1e0
theme: make config_theme_path_default_get() private
2020-10-17 23:43:09 +02:00
Boris Faure
2e266906f0
Merge branch 'terminology-1.8'
2020-10-17 17:05:53 +02:00
Boris Faure
28d94caad9
win: cleanup focus. Closes T8756
2020-10-17 17:03:56 +02:00
Boris Faure
d669fbcfa5
options_themepv: shorten magenta to see a bit more white
2020-10-15 22:48:49 +02:00
Boris Faure
898351be8f
colors: dup default_colorscheme
...
so that all elements from color_scheme_list() have to be freed
2020-10-11 23:35:11 +02:00
Boris Faure
b04510bae5
colors: avoid dereference after null check. CID1433233
2020-10-11 15:05:15 +02:00
Boris Faure
75bbf1e3e2
termptyesc: simplify code. CID1431130
2020-10-11 15:02:59 +02:00
Boris Faure
c99069947a
colors: add color_scheme_list()
2020-10-10 19:38:36 +02:00
Boris Faure
e90202923d
colors: use color scheme from file (only for Nord)
2020-10-06 18:50:16 +02:00
Boris Faure
485c4239ed
colors: remove debug line
2020-09-27 17:44:23 +02:00
Boris Faure
a1d4f5ea6d
colors: load it from files
2020-09-21 23:15:46 +02:00
Boris Faure
2243d8aac2
colors: add default colorscheme
2020-09-21 23:15:46 +02:00
Boris Faure
7e1a444e0f
main: add missing parenthese
2020-09-17 21:45:07 +02:00
Boris Faure
e3bc37ec37
options_behavior: improve translation
2020-09-16 23:41:50 +02:00
Boris Faure
b7bf2cb8f2
improve translation strings
...
mostly by remove extra dots
2020-09-15 21:46:22 +02:00
Boris Faure
1cf29feb2f
Merge branch 'terminology-1.8'
2020-09-12 17:44:57 +02:00
Boris Faure
a05db78239
termpty: make provided title as forced title
2020-09-12 17:43:16 +02:00
Boris Faure
423ad1f52c
color schemes: add eet-related code
2020-09-10 23:47:10 +02:00
Boris Faure
b1bdf50671
config: rename Config_Color type to Color + reorganise eet setup
2020-09-09 21:32:29 +02:00
Boris Faure
ff9b4aacc5
config: eet_data_descriptor_free accepts NULL
2020-09-08 23:10:46 +02:00
Boris Faure
6b93176f92
Merge branch 'terminology-1.8'
2020-09-07 21:19:09 +02:00
Boris Faure
c2bb4dcf81
win: focus new split. Closes T8804
2020-09-07 21:18:03 +02:00
Boris Faure
c17f3a6f26
colors.h: change name of header guard
2020-09-06 22:40:28 +02:00
Boris Faure
8cb6be667a
color schemes: proof of work on colorschemes with the nord theme
2020-09-01 19:11:34 +02:00
Boris Faure
cc552d7ea5
win: make code more "as usual"
2020-09-01 19:08:52 +02:00
Boris Faure
84a46280f6
private.h: add static_strequal()
2020-09-01 19:00:30 +02:00
Boris Faure
12963c304c
Merge remote-tracking branch 'origin/terminology-1.8'
2020-08-29 18:40:32 +02:00
Boris Faure
214c72eb0c
win: use theme_apply_elm on elm_layout
2020-08-29 18:38:11 +02:00
Boris Faure
7dad6d46ac
keyin: rename macro to improve readability
2020-08-24 18:55:39 +02:00
Boris Faure
dbba452a8b
cleanup src/bin/colors.h
2020-08-20 16:23:19 +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
698e8bb985
termptydbl: be strict on what is wide and do not try to be smart.
...
Too bad if ❤ is considered single-width
(cherry picked from commit d3c15c59db
)
2020-08-10 22:44:41 +02:00
Boris Faure
df6b013895
win/options_mouse: apply mouse timer change to current terms
...
(cherry picked from commit d082b0d6d7
)
2020-08-10 22:43:34 +02:00
Boris Faure
d3c15c59db
termptydbl: be strict on what is wide and do not try to be smart.
...
Too bad if ❤ is considered single-width
2020-08-05 23:05:47 +02:00
Boris Faure
d082b0d6d7
win/options_mouse: apply mouse timer change to current terms
2020-07-29 22:43:25 +02:00
Boris Faure
596d234ba1
about: add youtube channel
2020-07-23 22:52:47 +02:00
Boris Faure
3c21c13d39
about: add context menu on twitter link
2020-07-22 23:46:49 +02:00
Boris Faure
6b8409dfda
about: add twitter link
2020-07-21 23:46:02 +02:00
Boris Faure
ce788a69f6
about: dismiss when clicking on the terminal
2020-07-18 16:17:47 +02:00
Boris Faure
544a4376f7
termiolink: fix _hsl_to_rgb() + update tests
2020-07-17 12:58:22 +02:00
Boris Faure
98ee7bdcca
termptydbl: be more precise on emoji as double-width
...
+ set all of "Misc_Pictographs" as double-width
2020-07-15 22:10:55 +02:00
Boris Faure
a56a76afc7
termptyesc: handle single osc arg
2020-07-15 21:11:05 +02:00