Brenden Matthews
35357e437c
Update copyright
2024-02-22 08:53:35 -05:00
bi4k8
74de272dce
i8k: allocate i8k_procbuf after opening /proc/i8k
...
this lets us simplify error handling
2023-05-09 02:26:29 +00:00
bi4k8
48154e9805
i8k: do not consider failing to open /proc/i8k fatal
...
this also fixes the segfault that would happen in the main loop after `clean_up_without_threads` (#945 )
2023-05-09 02:26:29 +00:00
bi4k8
804631f848
i8k: print 'error' for i8k variables if /proc/i8k could not be read
...
this behavior was already present for the status variables but not others
2023-05-09 02:26:29 +00:00
Brenden Matthews
308f2cb8ea
Update copyright, authors.
2021-02-27 09:14:19 -06: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
5dd23796a6
Use unsigned int for p_max_size in obj_cb.print
2018-08-08 15:54:47 -04:00
Brenden Matthews
a3b7905df6
Add new text objects to retrieve the currently used keyboard layout and mouse speed in percentage and generate random password of chosen length and get the cpu clock speed from assembly ( #550 )
...
* Add new text object to capitalize the first character of each word
* Fix for issue https://github.com/brndnmtthws/conky/issues/46
* Fix for issue https://github.com/brndnmtthws/conky/issues/35
* Fix for issue https://github.com/brndnmtthws/conky/issues/35
* Fix for https://github.com/brndnmtthws/conky/issues/206
* Fix for https://github.com/brndnmtthws/conky/issues/474
* Add new "temp2" variable to print the temperature in floating number
* Make the "temp2" variable static and add some explanation above it
* openbsd.cc: Add one more formal parameter to "temp_print()"
* extras/convert.lua: change url to wiki page (#554 )
2018-08-04 15:01:28 -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
Pavel Labath
ce49490144
Make mail_spool a lua setting
2010-08-26 23:07:21 +02:00
Pavel Labath
af4633a8ee
fix compilation errors in previous commit
2010-08-24 22:27:09 +02:00
Pavel Labath
684933416c
Fix segfault in i8k (sf.net #3007167 )
...
Apparently, sometimes the value of i8k.right_fan_status is sometimes null. This just makes sure
the null value isn't passed to atoi(3). A better solution would be to figure out why is it null,
but I cannot do that as I don't have the hardware.
2010-08-24 21:50:07 +02:00
Nikolas Garofil
51f7969571
Bugfix: pthread - $curl related bug
2010-05-06 01:24:30 +02:00
Nikolas Garofil
a32d9e41a4
Bugfix: memory and thread-deleting problems
...
For example the following config had a problem:
TEXT
$i8k_cpu_temp
I could fix it shorter, but then valgrind would still show memleaks
2010-05-05 18:46:04 +02: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