bi4k8
5859d76741
core: fix misbehavior in specials handling that fails badly with Wayland backend
2022-12-24 09:42:03 -05:00
bi4k8
d183ad3f6f
core: fix segfault when no display outputs are enabled
2022-12-24 09:42:02 -05:00
bi4k8
d856e397d7
core: fix right-alignment with wayland
...
I'm not sure why this is necessary (or what it might break), but it seems to work
2022-12-24 09:42:02 -05:00
bi4k8
d11742ae18
build, colours, core, gui, wayland, wl, x11: implement wayland display backend
2022-12-24 09:42:01 -05:00
François Revol
7bbf948fc3
X11 cleanup: out_to_x -> display_output()->graphical()
2022-12-09 11:23:23 -05:00
Caio Freitas de Oliveira
ca56109dc9
fix undeclared identifier
2022-10-12 21:35:35 -04:00
Caio Freitas de Oliveira
ac7887ad09
refactor gradients to use config value instead of hard-coded option
2022-10-12 21:35:35 -04:00
Caio Freitas de Oliveira
938526755c
restore tests
2022-10-12 21:35:35 -04:00
Caio Freitas de Oliveira
250739a41c
restore hsv_gradient
2022-10-12 21:35:35 -04:00
Caio Freitas de Oliveira
3261ec4a69
use LCh color space (Rec.2020 for luma)
2022-10-12 21:35:35 -04:00
Brenden Matthews
25e6598c90
Drop unimplemented weather code.
...
The weather code is just stubs at the moment, so I'm dropping it as it
adds no value.
2022-10-12 12:57:48 -04:00
François Revol
e992f83a1d
Reset selected_font after drawing shades/outline
...
Fixes #828 .
The font wasn't reset after drawing the shades, so the text was drawn
with the last selected font as default font.
2022-10-01 23:49:52 +02:00
Gene Carlson
fc8d778435
Replace atoi and atol with strtol (most files).
2022-09-25 18:24:03 -04:00
Brenden Matthews
21dc2ca0b8
This should be max, not min.
2022-09-20 00:25:09 -05:00
Brenden Matthews
0af9a609be
Some fonts might treat spaces as 0 width.
...
Fixes #1173 .
2022-09-19 10:45:33 -05:00
François Revol
281097a2a5
move X11 stuff from conky.cc to display-x11
...
Still some things to sort out, but seems to work.
A lot of variables and calls had to be made non-static.
2022-09-10 20:39:11 +02:00
François Revol
e97be17f7f
move file output to a separate display-file
2022-09-10 20:39:11 +02:00
François Revol
1c5198bccd
proper console display (move code out of conky.cc)
2022-09-10 20:39:11 +02:00
François Revol
f30263c2fc
Initial ncurses display-output
...
Some leftovers still, but it still works.
2022-09-10 20:39:11 +02:00
François Revol
ef957bfb91
Actually allow more than one display-output at once
...
We already do this like with HTTP+stdout.
2022-09-10 20:39:11 +02:00
François Revol
7c8d486b9f
Move HTTP output code from conky.cc to display-http
2022-09-10 20:39:11 +02:00
François Revol
17ceb82079
Initial stubbing of display backends
...
Hopefully this will lead the way to adding support for things like
Wayland and Haiku graphics, cf. #56 .
We define a display_output_base class that display backends
can derive from to implement display-specific calls.
2022-09-10 20:39:11 +02:00
François Revol
bc0b79f032
Make out_to_stderr setting non-static
2022-09-10 20:39:11 +02:00
Miroslav Lichvar
a6f955cbf4
Include hsv_gradient.h even if BUILTIN_CONFIG is disabled.
2022-08-26 10:34:28 -04:00
Marius Feraru
5a674449b4
add units_spacer option for tuning string between values and units
2021-04-26 09:48:46 -05:00
Brenden Matthews
7fb40fb5f2
Revert "fix: update update last_update_time
earlier, so the network speed is correctly displayed, otherwise the speed shown is much lower than the actual speed ( resolves #863 )"
...
This reverts commit 415c730133
.
2021-04-25 09:00:29 -05:00
Brenden Matthews
da2ddb00ed
Partially revert change from c352069b31
.
...
It's not quite clear to me what the intent was here, but I don't believe
this change was correct. We shouldn't block on callbacks within the main
loop.
This fixes #901 .
2021-04-25 09:00:29 -05:00
Brenden Matthews
9970c07aeb
Fix XGetDefault DPI handling.
...
XGetDefault doesn't always return a value, check that it returns
something before assuming it's valid.
This fixes #1088 .
2021-04-20 08:13:24 -05:00
Brenden Matthews
eeca044d09
Relocate this var.
2021-04-18 11:05:28 -05:00
Livanh
3be1320e6c
Use xft_dpi_scale function instead of DPI_SCALE macro
2021-04-10 11:32:24 -05:00
Livanh
1c6c4bcf6a
Scale UI elements according to Xft.dpi
2021-04-10 11:32:24 -05:00
Steven Xu
415c730133
fix: update update last_update_time
earlier, so the network speed is correctly displayed, otherwise the speed shown is much lower than the actual speed ( resolves #863 )
2021-03-24 10:10:17 -05:00
Brenden Matthews
0f3c706336
Replace temporary colour array with smart pointer.
...
This should fix #1070 .
2021-03-04 09:56:20 -05:00
Brenden Matthews
3c43c4c7fe
Refactor hsv code.
2021-03-03 12:19:20 -05:00
Brenden Matthews
308f2cb8ea
Update copyright, authors.
2021-02-27 09:14:19 -06:00
Vladimir D. Seleznev
8ce3855b50
Fix conky window crawling
...
The conky window is crawling when some other is moving around it.
To reproduce this bug run conky with the following config:
double_buffer yes
TEXT
TEST
And slowly move other window near conky window.
The bug was introduced in e2bd14e7b7
.
Reported and patch by: George V. Kouryachy (Fr. Br. George) <george@altlinux.org>
2021-02-05 08:39:08 -06:00
Brenden Matthews
9adaba449a
Run clang-format.
2021-02-01 17:30:17 -06:00
Syco
5ee577ec1f
fix file permission
...
Signed-off-by: Syco <alberto.rinaudo+dino@gmail.com>
2021-01-31 08:26:46 -06:00
Syco
050ee5d3c4
change y coordinate
...
Signed-off-by: Syco <alberto.rinaudo+dino@gmail.com>
2021-01-31 08:26:46 -06:00
Syco
bea6a5cb9b
tests for issue 236
2021-01-31 08:26:46 -06:00
Brenden Matthews
617e9f14a2
Fix incorrect callback argument for MHD.
2021-01-24 09:07:24 -06:00
Brenden Matthews
283129e283
Apply clang-format.
2021-01-23 18:19:04 -06:00
isaac
36d685eb88
refactor and unit test
2021-01-23 18:00:53 -06:00
isaac
56920fde12
add build option
2021-01-23 18:00:53 -06:00
freddii
b62e115830
fixed wrong spelled words
2021-01-23 17:59:07 -06:00
Carl A Joslin
92df0cf550
Correct width of formated data rates.
2021-01-23 17:54:18 -06:00
François Revol
8769c57dd9
Get rid of last "not "
2021-01-14 10:12:14 -06:00
François Revol
7de6ec0669
Fix build with older microhttpd
2021-01-14 10:11:36 -06:00
Brenden Matthews
16be0e1571
Build fix for libmicrohttpd.
2020-10-22 13:02:00 -04:00
AlexApps99
1924081173
Added lowercase config to match uppercase
2020-01-24 19:27:31 -05:00