Brenden Matthews
35357e437c
Update copyright
2024-02-22 08:53:35 -05:00
bi4k8
faba25d197
logging: define CRIT_ERR_FREE and simplify CRIT_ERR
...
it's surprising to pass 2 nullptr arguments at most of the callsites of a logging function, so instead let callers explicitly state whether they have auxiliary data to free
2023-05-09 02:26:29 +00:00
Brenden Matthews
308f2cb8ea
Update copyright, authors.
2021-02-27 09:14:19 -06:00
Mithil Poojary
0a4eb8fda5
Replace vulnerable functions with safer alternatives
2021-01-23 18:39:01 -06:00
freddii
b62e115830
fixed wrong spelled words
2021-01-23 17:59:07 -06:00
Brenden Matthews
46abd3b75a
Apply fixes from clang-tidy/format.
2019-02-23 17:13:19 -05:00
Brenden Matthews
90673cf161
Make GitLab build work with clang checks.
2019-02-23 17:13:19 -05:00
lasers
7eec746b82
update copyright year to 2019
2019-01-05 11:15:36 -06:00
su8
7bca0ca881
Fix issues #439 , #303 ( #545 )
...
* Fix issues https://github.com/brndnmtthws/conky/issues/439 , https://github.com/brndnmtthws/conky/issues/303
* core.cc: Add missing header file
* core.cc: Check if we build for x11 and add the locks functions
* read_tcpip.cc: Fix for https://github.com/brndnmtthws/conky/issues/306
* read_tcpip.cc: Missing string format specifier for "snprintf()"
* read_tcpip.cc: Wrong signed int format specifier for "snprintf()"
* Missing many string format specifiers to "snprintf()"
2018-08-02 11:15:16 -04:00
Brenden Matthews
5b541b4609
Switch to safe versions of string functions. ( #504 )
2018-05-13 18:46:09 -04:00
Brenden Matthews
4b92556fca
Build improvements: clang-tidy, sonar, Dockerfile. ( #488 )
2018-05-12 19:26:31 -04:00
Brenden Matthews
eebc8c653b
Add formatting/static analysis ( #486 )
...
* Reform source with clang-format.
Rules applied with:
$ find . -iname *.h -o -iname *.cc | xargs clang-format \
-style=file -i -fallback-style=google
* Add clang-format and analyze to build.
Based on the excellent work at: https://github.com/ttroy50/cmake-examples
* Clean up CMake stuff on macOS.
* Remove vim/emacs modelines.
* Update copyright dates.
* Build fixes.
* Build fixes.
* Build fixes.
* Build fixes.
* Build fixes.
* Build fixes.
2018-05-12 12:03:00 -04:00
Darin McBride
a58a6d4e08
Clean up a few valgrind errors, add realloc-failure handling for graphs. ( #367 )
...
I think this fixes #360
2017-02-11 13:39:18 -08:00
Marc Payne
c7108d8261
Avoid segfault if template arg number is zero
...
If the user enters \0 as a template argument, print a warning and exit
gracefully. Fixes an issue mentioned in #118 .
2015-08-29 14:15:52 -06:00
Brenden Matthews
ddef05d4eb
Update version, copyright.
2012-05-03 16:34:44 -07:00
Pavel Labath
c33d617179
make templateN a lua setting
2010-06-21 00:37:58 +02:00
Nikolas Garofil
da76381300
Use free_and_zero in [st]*.cc where appropriate
2010-02-24 11:52:59 +01:00
Nikolas Garofil
b49ac8e6d3
cpp-ify template.c
2010-02-09 00:28:33 +01:00