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

3489 Commits

Author SHA1 Message Date
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
Haochen Tong
d467a79fdb Fix heap use-after-free with setlocale
In glibc the return value of setlocale() is allocated in static storage,
which may be invalidated by subsequent calls.
2019-07-23 11:06:00 -04:00
Travis Yaeger
d1a3c0eaa3 Refactor update_net_stats
Clean up
2019-07-23 11:05:21 -04:00
Travis Yaeger
b177dbc4b2 Clean up 2019-07-23 11:05:21 -04:00
Travis Yaeger
f3b1c05cd6 Fix link_qual_max getting updated with bad value
This fixes #650 'Bad arguments: " unk" and '59"' where `link_qual_max` 
would occasionally get updated with an invalid value. Now the update 
will ignore bad values and only use valid numbers.
2019-07-23 11:05:21 -04:00
Joseph Benden
afd5594a1f Fix graph leak and the uninitialized values (#858)
Signed-off-by: Joseph Benden <joe@benden.us>
2019-07-08 05:29:58 -05:00
Brenden Matthews
27ae07c2ae
Bump version for next release. 2019-06-23 10:59:26 -04:00
Brenden Matthews
bfc43cfe62
Fix for appimage build.
Need to make sure we chdir to the right place before running commands.
2019-06-23 10:50:35 -04:00
Tomunu
9fe1ceeb32 Add Tests in new Test files (#852) 2019-06-20 14:51:39 -05:00
Travis Yaeger
dcc188ebe2 Clear stored graphs on config reload
Includes missed formatting from previous commit.
2019-06-10 10:25:40 -04:00
Travis Yaeger
594d0c85ba Fix bug of "Graph reset when using conditional color"
Graphs would appear to change their previous data when any of the 
displayed special types (e.g. $color, $hr, $offset) was added or removed 
from the display (e.g. from a conditional statement). This is because 
Graphs were just looking at memory locations for previous graph data, 
but those locations could change if any special types were added or 
removed. Now the previous graph data will get stored explicitly.
2019-06-10 10:25:40 -04:00
Travis Yaeger
0ca4a26d3b Remove unused variable
Was failing Test because warnings were being treated as errors.
2019-06-02 13:25:02 -04:00
Travis Yaeger
7c074f5237 Add extern environ for Tests
This seems to be needed only for the OSX builds.
2019-06-02 13:25:02 -04:00
Travis Yaeger
0ad2119bb4 Remove REQUIRE from cpu Test
cpu_barval now has the same behavior as cpu_percentage when trying to 
get info from a non-existent cpu.
2019-06-02 13:25:02 -04:00
Travis Yaeger
08847314bd Rename remaining round_to_int
The rename refactor didn't work as well as I assumed.
2019-06-02 13:25:02 -04:00
Travis Yaeger
9da1101b5b Rename round_to_int to round_to_positive_int 2019-06-02 13:25:02 -04:00
Travis Yaeger
e6bb3d666a Add more mem Tests to test-common 2019-06-02 13:25:02 -04:00
Travis Yaeger
d0e35e15f7 Add more Tests for variable_substitute 2019-06-02 13:25:02 -04:00
Travis Yaeger
dbaf31f9ce Add Tests to test-common 2019-06-02 13:25:02 -04:00
Travis Yaeger
262f83cefb Fix various SonarCloud warnings in scroll.cc 2019-05-21 09:16:09 -04:00
Travis Yaeger
024ce09c04 Remove side effects from if statements
The specific behavior was retained as far as the exact timings of 
the ++/--. Maybe it can get cleaned up more, but at least the 
if statement logic is more clear now.
2019-05-21 09:16:09 -04:00
Jan Senolt
2bfef11061 Fix incorrect Solaris CPU reporting (#838) 2019-05-17 20:17:34 -05:00
Jordan Cannon
a429eaa604 Fix typo in variables.xml
Change unites to units and then to than.
2019-04-27 10:25:05 -04:00
Jordan Cannon
410e2a105e Remove duplicate command option
X_COORDINATE is listed twice. This pull request removes the duplicate.
2019-04-26 16:48:39 -04:00
Lukáš Cezner
ba8b190459 Typing error removed 2019-04-26 16:35:17 -04:00
Lukáš Cezner
a2983ad794 Fix support for nested exec expressions 2019-04-26 16:35:17 -04:00
Jan Senolt
5c7f3b6666 synchronize access to kstat 2019-04-16 09:03:31 -04:00
Brenden Matthews
000f0779aa Fix image push commands in gitlab build. 2019-04-14 18:08:26 -04:00
Brenden Matthews
b8d956f884 Add clang 8 to builds.
Also added new librsvg functions, and ignore deprecation warnings on new
versions of librsvg.

Disable sccache on FreeBSD.
2019-04-14 14:42:59 -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
Brenden Matthews
3578771f1a Delete .gcda files from previous test run. 2019-03-09 18:39:47 -05:00
Brenden Matthews
7edf5641e8 Allow FreeBSD builds to fail. 2019-03-09 18:39:47 -05:00
Brenden Matthews
b6213bdb26 Test make install target, and release build. 2019-03-09 18:39:47 -05:00
Daniel Pielmeier
40ead046df Do not install libraries into subdirectories 2019-03-09 11:51:54 -05:00
Daniel Pielmeier
dbdc78fe5a Install libtcp-portmon. 2019-03-09 07:30:37 -05:00
Daniel Pielmeier
58d310808d Install libraries to the proper directories. 2019-03-09 07:30:37 -05:00
Brenden Matthews
d0f1bfb1e6 Use flock with FreeBSD pkg install. 2019-03-08 17:51:02 -05:00
senjan
d295fe4393 idtype enum breaks Solaris conky 2019-03-08 08:17:55 -05:00
Brenden Matthews
8cd23712f2 Add Quickstart section to README. 2019-03-07 07:13:47 -06:00
Brenden Matthews
1481912a2a CI: Fix before_script for jobs that overload it. 2019-03-05 09:36:44 -05:00
Brenden Matthews
27f1e0fdac Reorganize, adjust wording. 2019-03-04 11:14:07 -05:00
Brenden Matthews
18d1a06dd3 Add more contributing notes. 2019-03-04 11:14:07 -05:00
Brenden Matthews
7ee8a0d6ef Move contributing section to CONTRIBUTING.md. 2019-03-04 11:14:07 -05:00
Brenden Matthews
1d409379ab Update README with contribution notes. 2019-03-04 11:14:07 -05:00
Kushagra Sinha
c352069b31 Add support for nested |exec| expressions
Nested exec expressions like ${execp echo '${execp echo hi}'} are not
evaluated correctly because parsing expressions like these generates and
registers new callbacks but we never wait for these callbacks to
complete before returning the result of the evaluation.

Fix this by re-evaluating expressions after running all pending
callbacks.
2019-03-03 13:24:23 -05:00
Kushagra Sinha
4cb79fb3e1 Revert "exec.cc: Cache the result to another variable and return it when we have a empty/invalid value. (#646)"
This reverts commit a644600bc5.
2019-03-03 13:24:23 -05:00
Kushagra Sinha
5defb96024 Add Google LLC to AUTHORS 2019-03-03 13:24:23 -05:00
Brenden Matthews
b3b3671278
Increase delay for FreeBSD pkg install. 2019-03-02 21:47:17 -05:00
Brenden Matthews
7def9736ab
Add note on GPL licensing. 2019-03-02 21:36:21 -05:00