1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-15 17:47:09 +00:00
Commit Graph

3844 Commits

Author SHA1 Message Date
Brenden Matthews
27d521ff52
Bump version. 2022-09-19 09:58:47 -05:00
Brenden Matthews
52033d13f4
Check display before free.
Should fix #1203.
2022-09-19 09:47:02 -05:00
kistlin
5a2a1470b2 possible fix for brndnmtthws/conky#1165 2022-09-13 17:05:49 -04:00
François Revol
f678e48900 Add syntax keyword for http_port config setting 2022-09-12 20:53:41 +02:00
Brenden Matthews
8efbef5ef9
Fix names here too. 2022-09-12 13:21:10 -05:00
Brenden Matthews
30dc265686
Use proper names for artifacts. 2022-09-12 13:20:18 -05:00
Brenden Matthews
a73e6bcc0d
Add sha256sum for appimage artifact. 2022-09-12 13:15:12 -05:00
Brenden Matthews
415c577823
Update release action. 2022-09-12 11:18:45 -05:00
François Revol
475b859e3f Add an http_port config setting
This should help with #1061.

Also added a warning about the default port being blocked by browsers.
2022-09-11 12:18:36 +02:00
Brenden Matthews
eaa7abc542
Drop gitlab CI. 2022-09-10 13:54:17 -05:00
François Revol
15f6f2781c Add TODO for the gui-backends branch 2022-09-10 20:39:11 +02:00
François Revol
80e063ef80 Fix crash when no display output is enabled 2022-09-10 20:39:11 +02:00
François Revol
7cf80d5948 Work around linker missing objects when building tests
Since we rely on a global object ctor to add a display output to the
list, it is not referenced from anywhere else, so does not get linked in
when building tests since most objects are pulled from a static library.

Another option would be to use --whole-archive to link to it.
2022-09-10 20:39:11 +02:00
François Revol
5b22723a3b Fix warnings
unused paramaters and (un)signed comparison mostly.
2022-09-10 20:39:11 +02:00
François Revol
e721119f04 Update copyright, authors.
Backported from 308f2cb8ea
2022-09-10 20:39:11 +02:00
François Revol
9a710fe17f display: fix logging 2022-09-10 20:39:11 +02:00
François Revol
568de329ef Move X11 font stuff to display-x11 2022-09-10 20:39:11 +02: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
5c389ecdb5 add display accessors
we want to be able to access either all outputs, or the currently
selected one (if any, else return the top one, which ought to be the GUI
one if we have one).
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
e4b05557fa display-*: return void for most calls as return-value is useless 2022-09-10 20:39:11 +02:00
François Revol
fd683ee8ce display-*: Fix copyright 2022-09-10 20:39:11 +02:00
François Revol
4ffd09be1e Replace BUILD_X11 ifdef by BUILD_GUI when it makes sense 2022-09-10 20:39:11 +02:00
François Revol
c965ea7d00 http display: use lower priority than graphical displays 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
a4f9474de1 Add a display-output flag to tell if it's graphical-based
or text-only.
2022-09-10 20:39:11 +02:00
François Revol
2074dabdaf Make sure the console output isn't enabled along with ncurses 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
François Revol
0cc7edfd0b Add a BUILD_GUI define (for now only defined on BUILD_X11) 2022-09-10 20:39:11 +02:00
Brenden Matthews
714e3a5cbd
Bump version. 2022-09-10 13:18:06 -05:00
Brenden Matthews
d42be04ae9
Add missing docker build deps. 2022-09-10 13:05:39 -05:00
Brenden Matthews
c654d3ab1c
Update buildx actions. 2022-09-10 12:29:21 -05:00
Brenden Matthews
4df3e5dc0c
Add missing libfuse2 for appimage. 2022-09-10 12:20:57 -05:00
Petr Vaněk
b357b370c6 Correct dependencies on generated header files
This change corrects dependencies on generated defconfig.h and/or
convertconf.h header files because they must be generated before
compilation of conky.cc and main.cc if BUILD_BUILTIN_CONFIG and/or
BUILD_OLD_CONFIG are set.

Fixes: https://github.com/brndnmtthws/conky/issues/1118
2022-09-10 13:14:13 -04:00
Brenden Matthews
b49ca7bbb1
Add missing dbus-glib dep. 2022-09-10 12:13:42 -05:00
Brenden Matthews
b6b63899ed
Run appimage build on 22.04. 2022-09-10 12:09:46 -05:00
Brenden Matthews
61dad53d55
Switch docker base to jammy (it's lts), reenable librsvg. 2022-09-10 12:06:35 -05:00
Brenden Matthews
b5bc9bf379
Disable librsvg on ubuntu 20.04. 2022-09-10 12:03:39 -05:00
Brenden Matthews
7436ade19d
Docker: bump cmake, disable librsvg bindings. 2022-09-10 12:01:39 -05:00
Brenden Matthews
5d5ee12c67
Require librsvg >=2.52. 2022-09-10 11:58:27 -05:00
Brenden Matthews
5d02762903
Comment out rsvg_handle_get_intrinsic_size_in_pixels for now. 2022-09-10 11:57:16 -05:00
Brenden Matthews
182b4f0c11
Don't include version header directly. 2022-09-10 11:24:58 -05:00
Brenden Matthews
d3d804ef0f
rsvg_handle_get_intrinsic_size_in_pixels only available on librsvg 2.52
or newer.
2022-09-10 11:23:00 -05:00
Brenden Matthews
12452f8896
Remove deprecated rsvg_handle_get_dimensions, add
rsvg_handle_get_intrinsic_size_in_pixels.
2022-09-10 10:51:38 -05:00
Brenden Matthews
f156de5a4f
Remove deprecated rsvg_handle_render_cairo, add
rsvg_handle_render_document.
2022-09-10 10:47:31 -05:00
Brenden Matthews
7a5c27a585
Remove deprecated rsvg_handle_render_cairo_sub, add
rsvg_handle_render_layer in place.
2022-09-10 10:44:45 -05:00