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
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
Nikolas Garofil
31a4954679
Fix sonarcloud complaints about minus unsigned
2018-08-08 15:54:47 -04:00
Nikolas Garofil
fb5ce3e626
Fix Sonarcloud complaints
2018-08-08 15:54:47 -04:00
Nikolas Garofil
5dd23796a6
Use unsigned int for p_max_size in obj_cb.print
2018-08-08 15:54:47 -04: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
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
Brenden Matthews
ddef05d4eb
Update version, copyright.
2012-05-03 16:34:44 -07:00
Nikolas Garofil
7264b97e7a
Add missing header after commit d93dc72e6dbaaa254eaf7ccf0b014d6af1bb45ea;hpb=0336b5d67daf0b03868c4e594a0eca15a4aecd00
2010-03-08 18:13:55 +01:00
Pavel Labath
d93dc72e6d
Random C++ification: to_real_path() and current_config
2010-03-04 17:40:20 +01:00
Nikolas Garofil
c1648e6558
Use free_and_zero in [u-z]*.cc where appropriate
2010-02-24 12:04:28 +01:00
Nikolas Garofil
da76381300
Use free_and_zero in [st]*.cc where appropriate
2010-02-24 11:52:59 +01:00
Brenden Matthews
3e3dd16367
Update modelines and stuff.
2010-01-06 19:45:19 -08:00
Brenden Matthews
620e9876a4
C++ conversions WIP.
...
Currently stuck on an issue with g++ and using '%lli' with printf/scanf.
2010-01-04 19:21:12 -08:00