1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-16 04:02:15 +00:00
Commit Graph

297 Commits

Author SHA1 Message Date
François Revol
8f403251a8 Fix missing asprintf definition on Haiku
It needs _GNU_SOURCE and is declared in stdio.h as on GNU/Linux,
but I suppose it's not included by the existing includes.
2023-08-08 08:40:51 -04:00
Brenden Matthews
ddddf00eb5
Bump version 2023-05-16 19:24:18 -04:00
Brenden Matthews
091d71b5d1
Bump version 2023-04-10 17:38:15 -04:00
Brenden Matthews
49b3487b76
Bump version 2023-03-31 13:40:48 -04:00
Brenden Matthews
afaeb6c01f
Bump version 2023-03-31 13:39:51 -04:00
bi4k8
dab87c5246
Fix memory leaks in X11 display backend (#1483)
* display-x11: fix memory leaks

FcFini() was never being called, which meant FontConfig did not clean up its internal storage.

furthermore, restore a commented-out call to XftFontClose()

9acf0bb4c commented this call out, but it does not seem to cause any problems now on reload now

* feat: Move docs to website, rearrange bits (#1475)

* build(deps): bump actions/stale from 7 to 8 (#1472)

Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add fontconfig platform checks

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: bi4k8 <bi4k8@github>
Co-authored-by: Brenden Matthews <brenden@brndn.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brenden Matthews <github@brenden.brndn.io>
2023-03-31 12:54:20 -04:00
Brenden Matthews
7b97eb73f0
Bump version. 2023-03-06 08:08:28 -05:00
Brenden Matthews
d7ca8efbf0
Bump version. 2023-03-04 11:49:59 -05:00
Brenden Matthews
209bb5d24d Require Lua 5.3 or newer
This fixes #1431.
2023-02-26 12:57:33 -05:00
Brenden Matthews
be4a595380
Bump version. 2023-02-24 08:35:48 -05:00
Brenden Matthews
e3ed817216
Bump version. 2023-02-18 09:35:48 -05:00
Brenden Matthews
1f55cb120e
Bump version. 2023-02-18 09:33:38 -05:00
tranquillity-codes
4b8d5eb34a
Add an above-all overlay mode for own_window_type, utility (#1402)
* Add libXdamage to flake.nix

* Add TYPE_UTILITY as above-all alternative to TYPE_OVERRIDE

* Click-through for TYPE_UTILITY

* Added libxfixes to MacOS CI workflow

* Disable building of XFIXES on MacOS

* Fix build for xinerama/xfixes on macos.

* Update Lua version check.

* Tidy this up.

* Fix BUILD_XFIXES on Linux

* Sigh, fix this.

---------

Co-authored-by: tranquillity-codes <dev@itycodes.org>
Co-authored-by: Brenden Matthews <brenden@brndn.io>
2023-02-16 22:03:14 -05:00
Brenden Matthews
761f05c2b4 Also replace this. 2023-02-16 21:54:40 -05:00
Brenden Matthews
ba870aa733 Use FindLua CMake module. 2023-02-16 21:54:40 -05:00
Jaak Ristioja
8afa62d889 cmake/config.h.in: Added missing BUILD_ prefix to #cmakedefine for MOUSE_EVENTS
Mouse events were introduced by commit 7fbdfbd4d4
which states in the commit message that MOUSE_EVENTS was also renamed to
BUILD_MOUSE_EVENTS. However, this renamal seems to have been incomplete, as the
respective option in cmake/config.h.in was left to MOUSE_EVENTS. This commit
fixes this.

Closes: https://github.com/brndnmtthws/conky/issues/1380
Signed-off-by: Jaak Ristioja <jaak@ristioja.ee>
2023-01-30 19:17:29 -05:00
Brenden Matthews
1b1ca6d559
Bump version. 2023-01-01 14:04:49 -05:00
Brenden Matthews
3f43ff1aa8
Bump version. 2023-01-01 13:40:26 -05:00
Tin Švagelj
7fbdfbd4d4
Added mouse events to conky (#955)
* Add mouse events.

Signed-off-by: Tin Svagelj <tin.svagelj@live.com>

* Rename MOUSE_EVENTS flag to BUILD_MOUSE_EVENTS.

Signed-off-by: Tin Svagelj <tin.svagelj@live.com>

* Update NORM_ERR func argument from std::string to char*

Because func was previously char* I forgot to update NORM_ERR function
argument to `func.c_str()` not that it's std::string.

Previously func was pointing to std::string memory that was freed at
assignment.

Signed-off-by: Tin Svagelj <tin.svagelj@live.com>

Signed-off-by: Tin Svagelj <tin.svagelj@live.com>
2023-01-01 12:39:57 -05:00
Brenden Matthews
acfb4116b3 Use libc++ even without maint mode, cleanup old flag settings. 2022-12-27 09:15:29 -05:00
Brenden Matthews
218a8fd930 Use libc++ by default when building with clang. 2022-12-27 09:15:29 -05:00
Jan Beich
3fb6534eff
Add missing Wayland dependency on BSDs (#1349)
src/display-wayland.cc:38:10: fatal error: 'sys/epoll.h' file not found
 #include <sys/epoll.h>
          ^~~~~~~~~~~~~

ld: error: undefined symbol: epoll_create1
>>> referenced by display-wayland.cc
>>>               src/CMakeFiles/conky.dir/display-wayland.cc.o:(conky::display_output_wayland::initialize())

ld: error: undefined symbol: epoll_ctl
>>> referenced by display-wayland.cc
>>>               src/CMakeFiles/conky.dir/display-wayland.cc.o:(conky::display_output_wayland::main_loop_wait(double))

ld: error: undefined symbol: epoll_wait
>>> referenced by display-wayland.cc
>>>               src/CMakeFiles/conky.dir/display-wayland.cc.o:(conky::display_output_wayland::main_loop_wait(double))
2022-12-27 08:04:58 -05:00
Brenden Matthews
7d93cbcf09
Bump version. 2022-12-26 13:54:52 -05:00
Brenden Matthews
64b001f2f8 Default wayland build to off. 2022-12-26 13:21:40 -05:00
Brenden Matthews
e6643508f0
Put the code coverage stuff behind a build flag. 2022-12-26 11:46:29 -05:00
Brenden Matthews
8c521fdbdf
Bump version. 2022-12-24 12:04:20 -05:00
Brenden Matthews
5f0ed0d72d
Bump version. 2022-12-24 11:31:13 -05:00
Brenden Matthews
dd07a838c4 Build fixes for newly introduced Wayland support. 2022-12-24 11:29:19 -05:00
Brenden Matthews
028fce015d
Tidy a couple things. 2022-12-24 09:42:04 -05:00
bi4k8
ae971d1cff
build: add pangoft2 to Wayland deps 2022-12-24 09:42:04 -05:00
bi4k8
d11742ae18
build, colours, core, gui, wayland, wl, x11: implement wayland display backend 2022-12-24 09:42:01 -05:00
Brenden Matthews
8c6257d925 Update Lua cairo bindings.
This adds 2 missing functions: cairo_surface_set_device_scale and
cairo_surface_get_device_scale, and also requires cario 1.14 or newer.

This addresses the comments in #1083.
2022-11-11 12:58:04 -05:00
Brenden Matthews
669532ffc0
Bump version for next release. 2022-10-16 12:06:59 -05:00
Brenden Matthews
70d7d5c796
Bump version for next release. 2022-10-16 12:06:21 -05:00
Brenden Matthews
97687633a7 Separate docs & extras (syntax files) build.
Rather than piggybacking on the BUILD_DOCS flag, use BUILD_EXTRAS to
enable building the nano & vim syntax files. This is so that people can
generate the extras without having to install pandoc.
2022-10-14 09:44:54 -04:00
Brenden Matthews
4dcfaff73a
Don't reformat catch2 with make clang-format. 2022-10-13 14:55:38 -05:00
Caio Freitas de Oliveira
e7ac782a3c PR changes; fix saturation calculation (scale before dividing) 2022-10-12 21:35:35 -04:00
Rafał Lalik
e4bb669c36 Use cmake macros for cxx standards
In the previous code, multiple cmake configure step was obscuring the flags variable.
2022-10-12 20:32:48 -04:00
Brenden Matthews
f0d6b4532a
Bump again according to semver rules. 2022-10-12 13:18:51 -05:00
Brenden Matthews
5879954cc0
Bump according to semver rules. 2022-10-12 13:18:08 -05:00
Brenden Matthews
1954893eaf Need to enable curl for RSS. 2022-10-12 12:57:48 -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
Brenden Matthews
670973a678 Update extras (syntax files) w/ new docs.
Generate the list of symbols for vim & nano syntax files using
docs data + jinja2.

Also refactored the doc handling a bit.
2022-10-04 18:18:08 -04:00
Brenden Matthews
46263caf6a Doc fixes, remove cmake docbook stuff. 2022-09-30 18:21:24 -04:00
Brenden Matthews
47ad3f9982 Refactor docs, make a new website.
* Docs have been migrated from docbook to yaml + jinja2 + pandoc
* Created a new (basic) website for docs based on React + Tailwinds
2022-09-30 18:21:24 -04:00
Brenden Matthews
27d521ff52
Bump version. 2022-09-19 09:58:47 -05: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
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
Chaitanya Kukde
8f5014b90f Add License information to cmake uninstall source 2021-05-17 10:08:37 -05:00
Chaitanya Kukde
01d4c8ca84 Fixes #1068 : Add cmake uninstall target 2021-05-17 10:08:37 -05:00
Brenden Matthews
527076d4df
Bump version for next release. 2021-04-25 09:03:09 -05:00
Brenden Matthews
4445b3c065 CMAKE_CXX_EXTENSIONS should be disabled by default. 2021-04-25 09:00:29 -05:00
Rogier Reerink
df11925db3 Added support for Intel backlight. 2021-04-22 10:06:36 -05:00
Brenden Matthews
d3527e1ed9 Add archlinux & alpine builds. 2021-03-03 15:39:02 -05:00
Brenden Matthews
7c248469b4
Bump version. 2021-03-02 09:47:27 -06:00
Brenden Matthews
7f84662c2c
Bump version. 2021-03-02 09:39:20 -06:00
Brenden Matthews
6e6d5f2bc1
Migrate Travis to GitHub workflow. 2021-03-01 12:03:35 -06:00
Brenden Matthews
783ebc269c
Update gcov wrapper to use latest llvm. 2021-02-28 17:00:33 -06:00
Brenden Matthews
801658756f
The order of program search matters (use newest first). 2021-02-28 16:31:16 -06:00
Brenden Matthews
2863e15f3e
Add other llvm cov/profdata versions. 2021-02-28 16:04:40 -06:00
Brenden Matthews
954edef9ef
Simplify clang coverage logic. 2021-02-28 14:46:17 -06:00
Brenden Matthews
9f2b71b0a7
Require librsvg>=2.46, fix lua interface. 2021-02-27 10:18:25 -06:00
Brenden Matthews
e7cbc43f62
Drop support for systemd <= 205. 2021-02-27 09:26:11 -06:00
Brenden Matthews
308f2cb8ea
Update copyright, authors. 2021-02-27 09:14:19 -06:00
Brenden Matthews
7bb8a49ace
Bump version to 1.12.0, it's been a while. 2021-02-27 09:06:57 -06:00
Daniel Pielmeier
d365c7f7ba Respect CFLAGS/CXXFLAGS
In commit bb8723d "add toluapp subtree" support for user defined FLAGS was removed. I do not see a reason why this should not be allowed, so it would be great if this could be added again.

Reference: https://bugs.gentoo.org/772176
2021-02-27 10:03:49 -05:00
Brenden Matthews
68f95b951c
Check for new clang tidy/format bins. 2021-01-23 19:28:22 -06:00
Brenden Matthews
2e6b3bdb8e
Rename cmake vars to suppress warnings. 2021-01-23 18:22:47 -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
Brenden Matthews
348a174b97
Bump version for next release. 2020-07-27 08:06:20 -04:00
Andreas Schleifer
b436b0bfd9 make cmake builds reproducible 2020-07-27 08:03:46 -04:00
Brenden Matthews
2f41fb566c
Change python version in check script to 3. 2019-10-19 12:10:39 -04:00
Brenden Matthews
84b9ab15d3
Bump version for next release. 2019-08-13 19:46:59 -04:00
i.Dark_Templar
f105a8777a Ensure that all ncurses libraries are linked to, including libtinfo if it's a separate library 2019-08-10 09:59:01 -04:00
Brenden Matthews
27ae07c2ae
Bump version for next release. 2019-06-23 10:59:26 -04:00
Brenden Matthews
84ceeff23f Increase default number of net interfaces.
This should resolve the issue noted in #564.
2019-04-03 08:47:23 -04:00
Daniel Pielmeier
1fa674252d Add a separate option for building html documentation. 2019-03-27 16:37:14 -04:00
lasers
3ee6b4fda4 make changes to default theme 2019-02-25 15:14:07 -06:00
Brenden Matthews
40a438be3e FreeBSD fixes, GitLab CI build improvements.
- use sccache for build caching
 - add coverage reports as build artifacts
 - add lcov-summary for coverage summary
 - clean up/refactor CI yaml

This resolves the FreeBSD part of #754.
2019-02-25 11:22:19 -05:00
Brenden Matthews
dc35a1b0a8 Add more build envs to GitLab CI.
Adding:

 - clang-8
 - gcc-5 through gcc-8
 - fedora & centos builds

Fixing:
 - mysqlclient default search path
 - build on centos6
2019-02-24 09:46:45 -05:00
Brenden Matthews
90673cf161 Make GitLab build work with clang checks. 2019-02-23 17:13:19 -05:00
Brenden Matthews
bc29814fec
Bump version. 2019-02-22 21:51:32 -05:00
Brenden Matthews
fcc315f28f
Bump version for next release. 2019-01-08 10:23:15 -05:00
lasers
7eec746b82 update copyright year to 2019 2019-01-05 11:15:36 -06:00
lasers
9dd559b1e9 remove deprecated BMPx support 2019-01-04 19:58:52 -06:00
Brenden Matthews
282160156f Remove deprecated EVE online support.
The EVE API that was in use is now deprecated and no longer works.

This resolves #732.
2019-01-03 10:42:49 -05:00
Brenden Matthews
03f3ce7bdc Reformat CMake files.
Applied `cmake_format`.
2019-01-03 09:48:43 -05:00
Brenden Matthews
0009f2473a Drop luajit support (Lua 5.1 API). 2018-12-24 10:07:20 -05:00
Brenden Matthews
6c09affaf7 Add some basic unit tests.
Introduced the Catch2 unit testing framework.
2018-12-24 02:02:01 -05:00
Brenden Matthews
134e667cf4 Don't add C/CXX flags to themselves every time. 2018-12-23 14:27:11 -05:00
Brenden Matthews
bc60fb2c2f
More build fixes. 2018-12-22 18:34:29 -05:00
Brenden Matthews
dfd10667fd
More build fixes, warning fixes. 2018-12-22 15:37:53 -05:00
Brenden Matthews
c6ad28074a
Fix docbook2x handling.
* Include the XML schemas/libs in the repo so we don't have to reach out to
   3rd parties
 * Fix the sed commands to work on both GNU and BSD variants
2018-12-22 12:38:10 -05:00
Brenden Matthews
bb8723dd36
Add toluapp subtree (#712)
* First commit!

* Import to git

* Droping down CMake requirement

* Corrected installation of libraries

* Adding travis build

* Updated cmake macros

* Fixed find package

* Updated travis hook

* Updated travis hook

* Patch to support Lua 5.3.

* Fix Lua header include directives in tolua++.h

Use angle bracket rather than double quotes when including Lua headers in the tolua++ header. This fixes a problem on systems that default to a Lua version newer than 5.1 and install the tolua++ header to the same directory as newer Lua headers.

As there are (usually) no Lua headers in the same directory when building tolua++ itself, the preprocessor will look to the include directories passed to the compiler, one of which would be the Lua 5.1 include directory, and tolua++ will build with those (correct) headers. Then the tolua++ header is usually installed in the default include directory, alongside the newer Lua headers, which you wouldn't expect to cause any trouble.

But it does cause trouble when trying to build other programs that include the tolua++ header, because now the preprocessor does find Lua headers in the same directory as the tolua++ header, which are the newer (incorrect) headers. Now the program will either fail to compile, because it doesn't support the newer headers, or fail to link with the tolua++ shared object because they were compiled against different Lua headers.

Using angle brackets instead of double quotes in the include directives will fix the problem, because then the preprocessor will look to the include directories passed to the compiler first.

See http://www.cegui.org.uk/forum/viewtopic.php?f=10&t=7195

* Remove email notifications.

* Update travis build.

* Build shared and static libs.

* Patch toluapp to support Lua 5.3.

With this change, support for Lua 5.1 is dropped.

This resolve #116.

* Add some comments to clarify the toluapp handling.

* Add minor sonar fix.
2018-12-20 15:18:51 -05:00
Brenden Matthews
bf1fd144da
Bump version for next release. 2018-12-16 15:26:24 -05:00
Brenden Matthews
e5e9e43e40
Bump version. 2018-12-02 13:27:19 -05:00
Brenden Matthews
c1059030cf
Fix platform checks for libxml2. (#687)
Use the CMake module for finding libxml2, instead of relying on
pkg-config which may break on some platforms like macOS.
2018-12-02 13:26:02 -05:00