1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-28 13:00:45 +00:00
Commit Graph

3959 Commits

Author SHA1 Message Date
dependabot[bot]
d59dae7a88 build(deps-dev): bump cypress from 12.2.0 to 12.3.0 in /web
Bumps [cypress](https://github.com/cypress-io/cypress) from 12.2.0 to 12.3.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v12.2.0...v12.3.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 19:39:27 -05:00
dependabot[bot]
da04a4d27d build(deps-dev): bump next-mdx-remote from 4.2.0 to 4.3.0 in /web
Bumps [next-mdx-remote](https://github.com/hashicorp/next-mdx-remote) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/hashicorp/next-mdx-remote/releases)
- [Commits](https://github.com/hashicorp/next-mdx-remote/compare/v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: next-mdx-remote
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 19:39:11 -05:00
bi4k8
d3e9bcbe71 wayland: use arithmetic instead of wrong-endian memcpy
this fixes corruption of parsed colors in Wayland-only builds
2023-01-04 07:59:33 -05:00
bi4k8
31b4c27abc use ARGB, not RGBA, for Wayland color values
this impacts only colors from which we compute Cairo colors, not the
rendered pixel buffers themselves, which were already and remain
ARGB32.

this makes Wayland and (24-bit) X11 use the same representation of
colors, fixing bugs when both backends were enabled.

we should still eventually switch to a backend-independent color
representation, because there are no guarantees of which pixel format
X11 will use (it isn't alway ARGB32) and backends like ncurses have
their own color representation; in most code we just hope the
unsigned long will be interpreted by the same backend as wrote it.
2023-01-03 08:35:23 -05:00
bi4k8
1c95c6d577 wayland: trigger window resize when scale changes
scale changes are applied by window_resize, so we need to make
sure it gets called when the scale has changed.
2023-01-03 08:34:35 -05:00
dependabot[bot]
34d2a9ec76 build(deps-dev): bump @types/node from 18.11.17 to 18.11.18 in /web
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.11.17 to 18.11.18.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 12:46:48 -05:00
dependabot[bot]
b8b78bb8f4 build(deps-dev): bump eslint-config-prettier from 8.5.0 to 8.6.0 in /web
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.5.0 to 8.6.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.5.0...v8.6.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 12:46:33 -05:00
dependabot[bot]
0db7718bc3 build(deps-dev): bump eslint from 8.30.0 to 8.31.0 in /web
Bumps [eslint](https://github.com/eslint/eslint) from 8.30.0 to 8.31.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.30.0...v8.31.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 12:46:16 -05:00
Brenden Matthews
2f4ce1e4de
Parameterize the cmake version. 2023-01-01 17:35:15 -05:00
Brenden Matthews
98b70966eb
Update minimum cmake version. 2023-01-01 14:35:41 -05:00
Brenden Matthews
1b1ca6d559
Bump version. 2023-01-01 14:04:49 -05:00
Brenden Matthews
5fb9dfe10e Add basic Nix flake. 2023-01-01 13:44:29 -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
31d247a80d
Include libc++ in docker build. 2022-12-27 15:34:49 -05:00
Brenden Matthews
0e61013ac9 Fix these warns. 2022-12-27 09:15:29 -05:00
Brenden Matthews
3e827ba82f Fix this def. 2022-12-27 09:15:29 -05:00
Brenden Matthews
00a16a776c Adjust these buffer sizes. 2022-12-27 09:15:29 -05:00
Brenden Matthews
61e8550615 Fix string dest length. 2022-12-27 09:15:29 -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
Brenden Matthews
a0b526278a Bump cmake version in docker build. 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
dbe66565c9
Use the cmake commands here instead. (#1346)
* Use the cmake commands here instead.

* This command requires a dir arg.

* Use ctest command here.

* Limit CI to main & PRs.
2022-12-26 13:54:10 -05:00
Brenden Matthews
9bf55cfbfd Drop this message. 2022-12-26 13:21:40 -05:00
Brenden Matthews
ffd34a4fc0 Fix missing settings fail. 2022-12-26 13:21:40 -05:00
Brenden Matthews
c28ad36c4c This is superfluous. 2022-12-26 13:21:40 -05:00
Brenden Matthews
59513b4c65 Add this back. 2022-12-26 13:21:40 -05:00
Brenden Matthews
c48df06359 Fix (some) wayland/x11 init ordering issues. 2022-12-26 13:21:40 -05:00
Brenden Matthews
64b001f2f8 Default wayland build to off. 2022-12-26 13:21:40 -05:00
dependabot[bot]
7206490f49 build(deps): bump actions/stale from 6 to 7
Bumps [actions/stale](https://github.com/actions/stale) from 6 to 7.
- [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/v6...v7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 13:16:12 -05:00
Brenden Matthews
e6643508f0
Put the code coverage stuff behind a build flag. 2022-12-26 11:46:29 -05:00
Brenden Matthews
eb1968e43a
Try it this way instead. 2022-12-25 09:06:00 -05:00
Brenden Matthews
f0eb4a2ea9 Fix this install command fail. 2022-12-25 08:53:57 -05:00
Brenden Matthews
20eecd6ee2 Fix package name. 2022-12-25 08:34:57 -05:00
Brenden Matthews
558891aab5 Use ninja instead of make in build. 2022-12-25 08:34:57 -05:00
Brenden Matthews
15aa99836b Add missing unistd include. 2022-12-25 07:52:05 -05:00
Brenden Matthews
a0b183cd03
Better release note generation, for next release. 2022-12-24 12:17:57 -05:00
Brenden Matthews
af2a3c0af0
Use clang for appimage build. 2022-12-24 12:10:36 -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
09da5bbf0c Bump web deps. 2022-12-24 10:41:01 -05:00
Brenden Matthews
7247a4c1e6 Fix some include ordering/build stuff. 2022-12-24 10:36:31 -05:00
Brenden Matthews
76b0f049bc
Apply clang-format. 2022-12-24 09:44:03 -05:00
Brenden Matthews
cf16110c7a
Merge branch 'bi4k8-wayland-gui-backend' 2022-12-24 09:42:09 -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
a585e36d93
wayland: permit unused parameters
the Wayland callbacks have many params that we don't use; it isn't worthwhile to individually annotate these
2022-12-24 09:42:04 -05:00