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
Pavel Labath
54630eb39e
Header housekeeping: remove unneeded extern "C", add modelines, add inclusion guards
...
hopefully, this doesn't break anything
2010-02-25 21:50:50 +01:00
Phil Sutter
0522832350
cleanup apcupsd a bit, fix some whitespace errors
2009-12-17 23:07:15 +01:00
Phil Sutter
de049dcbde
--enable-testing rejects commas at end of enumerator lists
2009-12-17 22:42:47 +01:00
Brenden Matthews
b6331b4eb6
Switch some more bits to C++, more CMake changes.
2009-12-09 20:05:32 -08:00
Phil Sutter
f74ae19944
convert apcupsd_loadbarval to double
2009-12-04 22:18:54 +01:00
Phil Sutter
8da8b26ddf
use gen_print_nothing for $apcupsd
2009-12-01 00:32:32 +01:00
Phil Sutter
9581914f7d
reuse barval callbacks where applicable
2009-12-01 00:28:53 +01:00
Phil Sutter
cba2460397
merge apcupsd_loadbar to callbacks.barval
2009-12-01 00:07:07 +01:00
Phil Sutter
974d28a667
apcupsd: convert to callbacks.print
2009-11-29 22:21:48 +01:00
Phil Sutter
fa896bec98
apcupsd: drop init_apcupsd() since it was called at the wrong place
...
Normally, this is not enough reason to remove code, but in this case it
means that either the tester always had $nvidia (if enabled) or $combine
also in her setup, or it was working without (which I guess, since there
is duplicate code in update_apcupsd()).
2009-09-15 23:12:15 +02:00
Pavel Labath
09c0bccf55
Move vi modelines closer to the beginning, so they're more likely to be actually used.
2009-09-12 12:50:51 +02:00
Cesare Tirabassi
81c691d15a
add emacs indentation variables to source files in line with current vim settings
2009-07-28 23:44:22 +02:00
Brenden Matthews
d97cd93a1c
Add vim modelines.
2009-07-27 14:47:31 -06:00
Brenden Matthews
8cb0027f45
Various fixes.
...
Added missing apcupsd.[hc], added apcupsd_loadgauge, fixed compilation
errors, updated docs & syntax stuff.
2009-05-10 13:11:09 -06:00