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

4448 Commits

Author SHA1 Message Date
Brenden Matthews
a83a9904af Remove macOS-12 build (deprecated) 2024-11-26 14:28:34 -05:00
dependabot[bot]
1967d4d617 build(deps): bump DeterminateSystems/nix-installer-action
Bumps the actions group with 1 update: [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action).


Updates `DeterminateSystems/nix-installer-action` from 15 to 16
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v15...v16)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-26 14:22:31 -05:00
Tóth János
048ecf9c70
Fix NetBSD build (#2089)
- Fix NetBSD build.
- Use manual `curses` lookup, `FindCurses` doesn't work on NetBSD.
2024-11-25 23:21:21 +00:00
Tóth János
47ec9f911c
Fix OpenBSD build (#2080)
- Fix unclosed OBJ in core.cc when target is OpenBSD
- `to_real_path` changes:
  - Canonicalize result to mimic `realpath` behavior
  - Partially implement `to_real_path` for OpenBSD
  - Add more tests for `to_real_path`.
- Build system improvements:
  - Use same i18n include/link logic for all platforms
  - Replace `HAVE_SOME_SOUNDCARD_H` and `HAVE_LINUX_SOUNDCARD_H` with `HAVE_SOUNDCARD_H`
    and use other defines (__linux__) to guard include
  - Replace `<XXX>_LIBRARIES` with `<XXX>_LINK_LIBRARIES` for linking.
    - Libraries weren't in default linker search path on OpenBSD
- OpenBSD specific:
  - Fix bsdapm.cc
  - Remove diskio stats stubs
  - Stub get_battery_short_status
  - Remove `-stdlib=libc++` build flag on OpenBSD

Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Co-authored-by: gmb <gmb@openbsd76.my.domain>
Co-authored-by: Tin Švagelj <tin.svagelj@live.com>
2024-11-22 23:45:11 +00:00
Simon Lees
9449818c4d lua-imlib2: fix memory leak
If you frequently use this function to draw new images this leak
becomes quite significant
2024-11-18 07:32:33 -05:00
Tóth János
a0ee703ee2 Implement -U for FreeBSD.
Tested on FreeBSD 14.1.
Takes part of #2072.
2024-11-13 07:38:00 -05:00
Brenden Matthews
9e265a37c2 Bump version 2024-11-05 16:01:21 -05:00
Tóth János
b01485b3da Move is_conky_already_running() to src/linux.cc. 2024-11-05 12:13:24 -05:00
Tin Švagelj
3ed65249be Hide U flag altogether if not on Linux
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
2024-11-05 12:13:24 -05:00
Tóth János
e6465e8298 Go back to /proc.
Use `/proc/[pid]/stat` to check if conky is already running.
This will only work on systems where there is a `/proc`.
2024-11-05 12:13:24 -05:00
Tóth János
f806d03306 Fix name check.
A random process named `conky11` won't stop Conky to start when
`-U` is provided.
2024-11-05 12:13:24 -05:00
Tóth János
2d1a921f2d Use ps to check the running processes.
The previous method used `/proc` to check the running processes,
but it is a Linux-specific solution.

This method uses `ps`, hopefully in a POSIX-compliant way.

Linux: https://man7.org/linux/man-pages/man1/ps.1.html
FreeBSD: https://man.freebsd.org/cgi/man.cgi?ps(1)
OpenBSD: https://man.openbsd.org/ps.1
2024-11-05 12:13:24 -05:00
Tóth János
0a5530a670 Implement -U.
If this argument is provided Conky won't start if another Conky process
is already running.
2024-11-05 12:13:24 -05:00
dependabot[bot]
918975838b build(deps): bump DeterminateSystems/nix-installer-action
Bumps the actions group with 1 update: [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action).


Updates `DeterminateSystems/nix-installer-action` from 14 to 15
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v14...v15)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 12:12:36 -05:00
Brenden Matthews
fdec466759 Fix test cases 2024-10-31 08:06:06 -04:00
Brenden Matthews
e6cb164e48 Add algebra unit tests 2024-10-31 08:06:06 -04:00
liestrela
068e1f4358 Fix if_match comparison for string operands containing operator symbols (#1988) 2024-10-31 08:06:06 -04:00
Tin Švagelj
6a1aa57340
Revert "Add automatic labeling for issues (#2057)" (#2058)
This reverts commit 184af03d7e.
2024-10-11 20:04:10 +00:00
Tin Švagelj
184af03d7e
Add automatic labeling for issues (#2057)
* Change labeler action provider
* Add labels for issue content matches

Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
2024-10-11 10:56:28 +00:00
heavyjoost
ebef88015a
Fix incorrect X11 dock/panel placement (#2056)
* set initial state wm hint to withdrawn (fix #2046)

Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
2024-10-10 01:14:25 +00:00
François Revol
b05810d439 Fix tcp_ping for non-existent local network hosts
Fixes #2042

We can't just assume select() exiting before the timeout to be a
success, since connect() can actually tell us there's no route to host
or other errors.
2024-09-24 22:54:26 +02:00
Thomas Zajic
568d7e75fd audacious.cc: print_audacious_filename(): fix always empty $audacious_filename
print_audacious_filename() always returns an empty (zero-length) $audacious_filename, due to one of the std::min() operators always being 0. Removing the std::min() construct fixes the problem. Fixes #1175.
2024-09-21 08:07:33 -04:00
dependabot[bot]
b64b8016c4 build(deps): bump DeterminateSystems/magic-nix-cache-action
Bumps the actions group with 1 update: [DeterminateSystems/magic-nix-cache-action](https://github.com/determinatesystems/magic-nix-cache-action).


Updates `DeterminateSystems/magic-nix-cache-action` from 7 to 8
- [Release notes](https://github.com/determinatesystems/magic-nix-cache-action/releases)
- [Commits](https://github.com/determinatesystems/magic-nix-cache-action/compare/v7...v8)

---
updated-dependencies:
- dependency-name: DeterminateSystems/magic-nix-cache-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 09:56:03 -04:00
Gene Carlson
71814776d9 src/fs.cc: Fix whitespace mistake. 2024-09-15 08:20:13 -04:00
Gene Carlson
839602baec src/fs.{cc,h}: Update fs_stats without error spam. 2024-09-15 08:20:13 -04:00
zlice
875c1af663 set display to null for race condition
https://github.com/dunst-project/dunst/blob/master/src/x11/x.c#L499
looks to be the source of some code which now sets display to NULL
for some type of race condition in X11. Xlibint.h allows for building
on Void Linux but needs min/max undefined. closes #1939
2024-09-13 08:22:14 -04:00
dependabot[bot]
bfa1d49142 build(deps): bump DeterminateSystems/nix-installer-action
Bumps the actions group with 1 update: [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action).


Updates `DeterminateSystems/nix-installer-action` from 13 to 14
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v13...v14)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-10 09:15:56 -04:00
Brenden Matthews
14622a8d9b Bump version 2024-08-29 12:32:08 -04:00
quiescens
788ac88b31 fix for #208, clear the "set" flag on fs_stats entries periodically 2024-08-29 11:11:16 -04:00
w0j0pl
03711ea5e5
Fix logic bug in cache_nvidia_string_value_update() (#2022)
* Update nvidia.cc

Made a suggested change in logic from issue #1177

* Update nvidia.cc

Made a suggested change in logic from issue #1178

* Update nvidia.cc

Made a suggested change in logic from issue #1178
2024-08-29 09:15:09 -04:00
w0j0pl
c428663e02 Update nvidia.cc
Made a suggested change in logic from issue #1177
2024-08-27 16:51:16 -04:00
Brenden Matthews
b858d0cc77 Bump version 2024-07-30 12:54:47 -04:00
donutAnees
e03891f993
Implemented graph value clamping (#2000)
* Implemented graph value clamping

* Update variables.yaml

* Update variables.yaml
2024-07-30 12:30:29 -04:00
donutAnees
7ec86cfbd8 Implemented path resolution 2024-07-29 16:13:51 -04:00
donutAnees
9afcfadebb Fixed Down and Up Speed graph scaling 2024-07-28 22:01:41 -04:00
donutAnees
d2794b5d08 Updated documentation 2024-07-26 15:06:02 -04:00
donutAnees
965105bb9e Implemented Invert Y Axis Flag Feature 2024-07-26 15:06:02 -04:00
donutAnees
ad0c9d3e23 Updated documentation 2024-07-26 15:06:02 -04:00
donutAnees
03ed0d0e79 Implemented Invert X Axis Flag Feature 2024-07-26 15:06:02 -04:00
Brenden Matthews
a14e61adb6 Bump version 2024-07-23 14:34:12 -04:00
donutAnees
2009147095 Fixed graph parsing error 2024-07-23 09:11:26 -04:00
David Seifert
cc927f5231 Fix for GCC 15 two-phase lookup
* GCC 15 is more aggressive about checking dependent names:
  https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=r15-2117-g313afcfdabeab3

Bug: https://bugs.gentoo.org/936522
2024-07-23 09:09:54 -04:00
dependabot[bot]
0b599d90ee build(deps): bump DeterminateSystems/nix-installer-action
Bumps the actions group with 1 update: [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action).


Updates `DeterminateSystems/nix-installer-action` from 12 to 13
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v12...v13)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 19:02:20 -04:00
donutAnees
ed6d18827d Made upspeedgraph and downspeed graph scale on a common axis 2024-07-21 08:08:10 -04:00
donutAnees
82bfeba9bf Made downspeedgraph and upspeedgraph use same scaling 2024-07-21 08:08:10 -04:00
Tin Švagelj
ac25fcce8b
Fix invalid uniform vector init function in geometry (#1987)
Should fix the broken vertical border padding which relies on `uniform` to work.

Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
2024-07-15 16:45:10 +00:00
Brenden Matthews
61208fc9fb Bump version 2024-07-04 08:19:23 -04:00
Brenden Matthews
9f9cbe906f Drop macos 11 build 2024-07-04 07:48:12 -04:00
Loukas Agorgianitis
49ca67d1ab
Fix minimum_height not scaled with dpi_scale like minimum_width (#1980) 2024-07-04 04:32:43 +00:00
Brenden Matthews
b0e2ec483f Bump web deps 2024-06-19 16:13:09 -04:00