File: ChangeLog

package info (click to toggle)
apcupsd 3.14.10-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 7,296 kB
  • sloc: ansic: 36,560; cpp: 7,912; sh: 3,981; makefile: 1,576; tcl: 368; objc: 276; php: 255
file content (4799 lines) | stat: -rw-r--r-- 120,780 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
/***************************************************************************/
/*                     ChangeLog of Apcupsd 3.14.x                         */
/*                                                                         */
/*               Adam Kropelin <akropel1 at rochester dot rr dot com>      */
/*               Kern Sibbald <kern at sibbald dot com>                    */
/*                                                                         */
/*               http://www.apcupsd.com/                                   */
/*               http://sourceforge.net/projects/apcupsd                   */
/***************************************************************************/

2011-09-02 15:17  adk0212

	* platforms/: darwin/Info.plist, mingw/winusb/apcupsd.inf:

	Add PID 5 for SMX750 (at least that's what mine uses). Also change
	com.apple.kernel.iokit to com.apple.kpi.iokit in OS X plist as
	suggested in an apple dev list posting. It's unclear this does
	anything but it might help resolve issues with the kext not being
	selected on certain systems.

2011-09-02 11:44  adk0212

	* src/win32/libusb-winusb-bridge.c:

	Report proper error numbers, not just -1.

2011-09-02 11:44  adk0212

	* src/drivers/usb/: bsd/bsd-usb.c, generic/generic-usb.c,
	linux/linux-usb.c:

	Switch USB drivers to prefer FEATURE reports over INPUT reports.
	This fixes issues with a number of newer UPS models where they
	advertise INPUT reports but fail to send them when you query for
	them. Also check report length when processing an interrupt report
	and ignore it if the length is wrong. This fixes an issue where
	some UPSes sporadically send truncated interrupt reports.

2011-08-12 19:01  adk0212

	* src/action.c:

	Ignore transitions to battery because of calibration. This can
	happen if user initiates calibration in apctest, then exits apctest
	and starts apcupsd before the calibration has completed. In this
	case we do not want to shut down the machine, so treat
	onbattery+cal as not on battery at all.  Reported by Sergey
	<a_s_y@sama.ru>.

2011-08-05 16:31  adk0212

	* src/drivers/: apcsmart/smart.c, pcnet/pcnet.c:

	Use astrncpy instead of strncpy to avoid leaving strings without
	NUL termination in the overflow case

2011-08-05 16:30  adk0212

	* include/struct.h:

	Enlarge upsmodel buffer to handle longer model strings. Needed for
	"Smart-UPS RT 5000 XL" as reported by Sergey <a_s_y@sama.ru>

2011-08-05 16:29  adk0212

	* include/extern.h:

	Add missing function prototype

2011-08-05 16:15  adk0212

	* doc/manual/manual.html:

	Regen manual for 3.14.9 release

2011-08-05 16:14  adk0212

	* examples/smartsim.c, include/defines.h,
	src/drivers/apcsmart/smart.c, src/drivers/apcsmart/smartsetup2.c,
	src/drivers/pcnet/pcnet.c, src/drivers/usb/usb.c,
	src/lib/apcstatus.c:

	Fix MODEL vs. APCMODEL confusion Remove APCMODEL, rename old MODEL
	aka mode to DRIVER. Update apcsmart driver to put model string into
	upsmodel field. Remove PCNET workaround for CI_UPSMODEL that is no
	longer needed. Change USB driver to leave mode field alone.

2011-08-04 19:19  adk0212

	* doc/home-page/: index.html, index.wml:

	Add link to OS X binary for 3.14.9 now that it's been released

2011-08-04 19:17  adk0212

	* platforms/darwin/Makefile:

	Work around PackageMaker bug that causes apcagent.app to be
	relocated at install time in spite of --no-relocate flag

2011-07-22 23:41  adk0212

	* doc/home-page/: index.html, index.wml:

	Update web site for 3.14.9 release

2011-07-22 12:27  adk0212

	* ChangeLog, ReleaseNotes, include/version.h:

	Prep for 3.14.9 release

2011-05-19 18:55  adk0212

	* platforms/etc/apcupsd.conf.in, src/drivers/pcnet/pcnet.c:

	Add support for changing PCNET port in apcupsd.conf

2011-05-15 19:07  adk0212

	* platforms/darwin/Info.plist:

	Add PIDs for AP9620 LCC

2011-05-15 19:04  adk0212

	* src/drivers/snmplite/snmplite.cpp:

	Fix community probing, misc cleanup

2011-01-06 10:24  adk0212

	* doc/home-page/: bugs.html, index.html, index.wml, license.html,
	lists.html, menu.inc, support.html, systems.html:

	Fix download links on web site; sf.net change the page format again
	so dl.php no longer works

2010-09-17 08:44  adk0212

	* src/lib/apcexec.c:

	Change back so we no longer wait for threads to exit. This is
	necessary because pthread_cancel on OS X does not interrupt
	blocking calls, even those defined as cancellation points by SuSv3.
	Argh. Someday we need to fix apcupsd thread shutdown correctly, but
	for now this is no worse than before.

2010-09-10 10:50  adk0212

	* include/extern.h, src/apctest.c, src/apcupsd.c,
	src/lib/apcexec.c, src/lib/apcsignal.c,
	src/win32/compat/compat.cpp:

	Rework signal handling to eliminate crashes and hangs. Old signal
	handler was doing many things wrong: calling unsafe functions in
	signal context, freeing memory before ensuring users were gone,
	invoking functions that lock the UPSINFO mutex resulting in
	deadlock if it's already locked, etc.  FIx all this by using a
	signal handling thread waiting on sigwait() in place of raw
	handler.

2010-09-10 08:32  adk0212

	* src/drivers/snmplite/snmp.cpp:

	Use "iter->" instead of "(*iter)."

2010-09-10 08:30  adk0212

	* src/drivers/snmplite/: mge-mib.cpp, mge-oids.h:

	Update MGE MIB handler for SNMP sequence support.  Contributed by
	Lars Taeuber <taeuber@bbaw.de>

2010-09-09 09:40  adk0212

	* src/drivers/apcsmart/smartoper.c:

	Fix shutdown command when utility power has been restored.
	Contributed by Michal Soltys <soltys@ziu.info>

2010-09-09 09:17  adk0212

	* src/apctest.c:

	Prevent apctest from locking up on UPSes that do not respond (at
	all) to the 'a' command. Contributed by Michal Soltys
	<soltys@ziu.info>

2010-09-09 09:12  adk0212

	* include/apc.h, include/apc_i18n.h, src/action.c, src/apcnis.c,
	src/apctest.c, src/apcupsd.c, src/device.c, src/devicedbg.c,
	src/options.c, src/reports.c, src/drivers/apcsmart/smarteeprom.c,
	src/drivers/apcsmart/smartoper.c,
	src/drivers/apcsmart/smartsetup.c, src/drivers/dumb/dumboper.c,
	src/drivers/dumb/dumbsetup.c, src/drivers/pcnet/pcnet.c,
	src/drivers/test/testdriver.c, src/drivers/usb/bsd/bsd-usb.c,
	src/drivers/usb/generic/generic-usb.c,
	src/drivers/usb/linux/linux-usb.c, src/gapcmon/eggtrayicon.c,
	src/lib/apcconfig.c, src/lib/apcerror.c, src/lib/apcevents.c,
	src/lib/apcexec.c, src/lib/asys.c, src/lib/newups.c,
	src/win32/winservice.cpp:

	Remove remaining NLS artifacts

2010-09-08 19:25  adk0212

	* include/struct.h, src/apctest.c, src/apcupsd.c, src/device.c,
	src/reports.c, src/drivers/drivers.c, src/drivers/apcsmart/smart.c,
	src/drivers/apcsmart/smartoper.c,
	src/drivers/apcsmart/smartsetup.c, src/drivers/dumb/dumboper.c,
	src/lib/apcconfig.c, src/lib/apcstatus.c:

	Remove obsolete mode types and simplify cable vs. mode
	disambiguation logic. UPSTYPE wins. UPSCABLE is only used for dumb
	driver. Remove a bit of screwy BackUPS Pro and v/s logic that is
	long obsolete.

2010-09-08 19:23  adk0212

	* doc/manual/smartprotocol.rst:

	Minor update to K command

2010-09-08 15:06  adk0212

	* src/drivers/snmplite/rfc1628-mib.cpp:

	Average LOADPCT across all lines rather than summing them since
	mfgrs appear to not be adhering to the spec very closely.

2010-09-08 14:44  adk0212

	* src/drivers/snmplite/: apc-oids.h, rfc1628-oids.h, snmp.cpp:

	Use GETNEXT instead of GET so OIDs no longer need trailing zero.

2010-09-07 11:35  adk0212

	* src/drivers/snmplite/: apc-oids.h, asn.cpp, asn.h,
	rfc1628-mib.cpp, rfc1628-oids.h, snmp.cpp, snmp.h, snmplite.cpp:

	Add support for fetching SNMP table columns as sequences and use it
	in RFC1628 MIB support.

2010-09-03 16:36  adk0212

	* doc/manual/: manual.html, manual.rst:

	Fix misformatted path due to missing back-tick

2010-09-03 16:33  adk0212

	* doc/manual/: manual.html, manual.rst:

	Update manual for Ed Dondlinger's Windows email scripts

2010-09-03 16:18  adk0212

	* doc/manual/: manual.html, manual.rst:

	More updates for new winusb driver

2010-09-03 16:13  adk0212

	* doc/manual/: manual.html, manual.rst:

	Update supported OSes list...USB on x86_64 Windows is now
	supported. USB on Win98/ME/2000 is no longer supported.

2010-09-03 14:41  adk0212

	* src/win32/Makefile.in:

	Fix snmplite build on win32 by adding missing mge-mib

2010-09-03 14:40  adk0212

	* platforms/mingw/commfailure.vbs, platforms/mingw/offbattery.vbs,
	platforms/mingw/onbattery.vbs, src/win32/installer/winapcupsd.nsi:

	Add Windows email scripts and include them in win32 installs as
	examples Contributed by Ed Dondlinger
	<edondlinger@thepylegroup.com>

2010-09-02 15:31  adk0212

	* src/drivers/snmplite/rfc1628-mib.cpp:

	Reorder cases so they are in numerical order

2010-09-02 15:29  adk0212

	* src/drivers/snmplite/rfc1628-mib.cpp:

	Add missing break

2010-09-02 15:26  adk0212

	* src/drivers/snmplite/rfc1628-mib.cpp:

	Minor correction to low battery logic: Depleted also counts as low.

2010-09-02 15:05  adk0212

	* src/drivers/snmplite/rfc1628-oids.h:

	Missed a couple with table workaround

2010-09-02 14:51  adk0212

	* src/drivers/snmplite/rfc1628-oids.h:

	Workaround for line in and line out data on RFC MIB. Blindly use
	first index in table.

2010-09-02 10:23  adk0212

	* configure, autoconf/configure.in:

	docutils appears to no longer include a rst2html wrapper for
	rst2html.py.  Update configure accordingly.

2010-09-02 10:22  adk0212

	* autoconf/variables.mak.in:

	Enable generation of footnotes at the bottom of the page in
	rst2pdf.

2010-09-02 09:26  adk0212

	* doc/manual/: manual.html, manual.rst:

	Update SNMP section

2010-09-02 08:27  adk0212

	* src/drivers/snmplite/: snmp.h, snmplite.cpp:

	Add community probing

2010-09-01 13:14  adk0212

	* src/drivers/snmplite/snmplite.cpp:

	Screen out LTRANS, HTRANS, NOMOUTV, NOMINV, NOMPOWER which are
	reading zero via an RFC1628 Generex CS121 on a Newave Conceptpower
	DPA UPS.

2010-09-01 08:41  adk0212

	* src/drivers/snmplite/snmplite.cpp:

	Fix compile error on newer glibc. Passing a const for the first
	argument of strstr() causes the return value to be const. This is
	Correct (TM) but annoying in this case. So just cast away the
	constness of the first arg.

2010-08-31 19:17  adk0212

	* src/drivers/snmplite/snmplite.cpp:

	Remove unnecessary checks for NULL oid. Verify returned data type
	matches expectation.

2010-08-31 14:57  adk0212

	* src/drivers/snmplite/: apc-mib.cpp, mge-mib.cpp, mibs.h,
	rfc1628-mib.cpp, snmplite.cpp:

	Remove strategy-specific probe hook. We don't need it now and
	probably will never need it.

2010-08-31 14:06  adk0212

	* src/drivers/snmplite/: apc-mib.cpp, mge-mib.cpp, mibs.cpp,
	mibs.h, rfc1628-mib.cpp, snmplite-common.h, snmplite.cpp:

	Add support for MIB autodetection by probing for CI_STATUS OID.
	Also rework NOTRAP handling to not require a special notrap
	MibStrategy for each MIB.

2010-08-30 14:41  adk0212

	* src/drivers/snmplite/snmplite.cpp:

	Allow user to omit one or more subsections of SNMP DEVICE string.
	Contributed by Lars Täer <taeuber@bbaw.de>

2010-08-30 14:18  adk0212

	* src/drivers/snmplite/asn.cpp:

	Fix typo. Contributed by Lars Täer <taeuber@bbaw.de>

2010-08-30 14:18  adk0212

	* src/drivers/snmplite/: mge-mib.cpp, mge-oids.h, mibs.cpp:

	Add support for MGE SNMP MIB. Contributed by Lars Täer
	<taeuber@bbaw.de>

2010-08-20 20:34  adk0212

	* doc/manual/maintaining_ups.rst:

	Add SU1000INET battery constant

2010-08-17 14:24  adk0212

	* include/version.h:

	Update for 3.14.9-test1 release

2010-08-16 19:18  adk0212

	* src/win32/Makefile.in:

	Default to winusb driver

2010-08-16 19:15  adk0212

	* src/win32/Makefile.in:

	Update for new files in snmplite

2010-08-13 14:52  adk0212

	* src/drivers/snmplite/rfc1628-mib.cpp:

	Take another guess at RFC1628 killpower/shutdown based on
	TrippLite's interpretation of upsAutoRestart.

2010-08-13 14:40  adk0212

	* src/drivers/snmplite/rfc1628-mib.cpp:

	Attempt to implement shutdown/killpower for RFC1628 SNMP MIB. MIB
	docs are somewhat unclear so this is a best guess.

2010-08-13 14:02  adk0212

	* src/drivers/snmplite/: mibs.h, mibs.cpp:

	Add missing file.

2010-08-13 14:00  adk0212

	* src/drivers/snmplite/: apc-mib.cpp, rfc1628-mib.cpp,
	snmplite-common.h, snmplite.cpp, snmplite.h:

	Reorganize multiple MIB support. Vendor names are now associated
	with MIB strategies directly. killpower and shutdown operations are
	deferred to the strategy as is trap waiting. Other general cleanup.

2010-07-30 18:04  adk0212

	* src/drivers/snmplite/: apc-mib.cpp, apc-oids.h, mib.cpp, oids.h,
	rfc1628-mib.cpp, rfc1628-oids.h, snmplite.cpp, snmplite.h:

	Add support for RFC1628 SNMP MIB. Refactor APC MIB and create
	MibStrategy struct for associating MIB/CI mapping with
	corresponding processing function. RFC1628 strategy is coded per
	the MIB but untested.

2010-07-10 11:32  adk0212

	* platforms/mingw/: apcupsd.inf, winusb/apcupsd.inf:

	Update Windows *.inf files for LCC PIDs

2010-05-16 18:11  adk0212

	* src/apctest.c:

	Remove unused variable shm_OK

2010-05-16 18:09  adk0212

	* src/win32/compat/compat.cpp:

	When logging events, convert LOG_CRIT to a WARNING on Win32 rather
	than an ERROR since apcupsd uses it for power events which aren't
	really daemon errors. LOG_ERR is still converted to ERROR for use
	in true error cases.

2010-05-16 17:57  adk0212

	* src/apcupsd.c:

	Fix bug where pid file was overwritten even when lock file
	indicates another instance is running. Now we only write the pid
	file after writing the lock file successfully. Also automatically
	remove pid file on termination if we created it in the first place.
	Reported by Justin Killen <jkillen@allamericanasphalt.com>

2010-04-29 19:25  adk0212

	* src/win32/installer/winapcupsd.nsi:

	When running uninstaller in silent mode, always remove config and
	events files without prompting. Reported by Zdenek Jirous
	<jirous@tmv.cz>

2010-04-29 19:20  adk0212

	* src/win32/installer/winapcupsd.nsi:

	Honor INSTDIR specified on command line via /D.  Reported by Zdenek
	Jirous <jirous@tmv.cz>

2010-02-20 10:09  adk0212

	* src/reports.c:

	Variable largebuf may be overflowed by the buf data, which can
	cause overwriting of subsequent variables.  I: Statement might be
	overflowing a buffer in strncat. Common mistake:    BAD:
	strncat(buffer,charptr,sizeof(buffer)) is wrong, it takes the left
	over size as 3rd argument    GOOD:
	strncat(buffer,charptr,sizeof(buffer)-strlen(buffer)-1) E: apcupsd
	bufferoverflowstrncat reports.c:110 Reported by Stanislav Brabec
	<sbrabec@suse.cz>

2010-01-31 12:16  adk0212

	* doc/manual/: manual.html, smartprotocol.rst:

	Update SmartUPS protocol register 2 bit 5. This is supported on
	SmartUPSes.

2010-01-31 11:10  adk0212

	* src/drivers/usb/: usb.c, usb_common.h, bsd/bsd-usb.c,
	generic/generic-usb.c, linux/linux-usb.c:

	Add missing handling for DALARM. Also PWSUM is a LOGICAL
	collection, not a PYSICAL collection, so add support for checking
	LOGICAL collection and update known_info table appropriately. This
	fixes BATTV and MANDATE on certain newer APC models.

2010-01-24 08:19  adk0212

	* src/lib/apcstatus.c:

	Remove unnecessary debug print

2010-01-17 19:12  adk0212

	* src/drivers/usb/generic/generic-usb.c:

	When using generic-usb driver, interpret DEVICE setting as the
	serial number of the UPS to monitor. This allows the user to
	control which UPS is monitored if more than one is connected. A
	blank DEVICE setting continues to mean autodetect.

2010-01-17 13:58  adk0212

	* configure:

	Fix define

2010-01-17 13:37  adk0212

	* configure, autoconf/configure.in, src/lib/Makefile,
	src/lib/libsupc++fix.cpp:

	Add workaround for FreeBSD libsupc++.a issue (FreeBSD PR #99702)
	This will allow snmplite driver to compile/link on FreeBSD 5.x

2010-01-17 10:58  adk0212

	* configure, autoconf/configure.in:

	Force use of generic_usb on FreeBSD 8.0 and higher. FreeBSD USB API
	was changed in 8.0, so from now on we will use libusb.

2010-01-17 10:38  adk0212

	* src/drivers/snmplite/snmplite.cpp:

	Fix compile warning

2010-01-17 10:30  adk0212

	* autoconf/configure.in:

	Fix comment

2010-01-17 10:29  adk0212

	* configure, autoconf/configure.in:

	If libusb-config is not found, fall back on a plain old
	AC_CHECK_LIB. This will allow building against the new libusb-1.x
	with compatibility API.

2010-01-17 10:26  adk0212

	* doc/manual/manual.html:

	Regen manual for release

2010-01-16 15:16  adk0212

	* doc/home-page/: bugs.html, index.html, index.wml, license.html,
	lists.html, menu.inc, support.html, systems.html:

	Update for 3.14.8 release

2010-01-16 11:09  adk0212

	* ChangeLog, ReleaseNotes, include/version.h:

	Prep for 3.14.8 release

2010-01-16 11:01  adk0212

	* doc/apctest.8:

	Update apctest manpage for USB changes

2010-01-16 10:19  adk0212

	* platforms/mingw/winusb/amd64/WdfCoInstaller01009.dll,
	platforms/mingw/winusb/amd64/winusbcoinstaller2.dll,
	platforms/mingw/winusb/i386/WdfCoInstaller01009.dll,
	platforms/mingw/winusb/i386/winusbcoinstaller2.dll,
	src/win32/installer/winapcupsd.nsi:

	Move winusb coinstallers to depkgs-win32 so they do not bloat the
	source tree.

2010-01-12 18:07  adk0212

	* examples/: client.c, megaclient.c, newslave.c, smartsim.c,
	upsapm.c:

	Fix compiler warnings. Also remove whitespace at the end of lines.
	Contributed by Andy O'Shaughnessy <andrewjoshaughnessy@gmail.com>

2010-01-10 16:50  adk0212

	* platforms/darwin/apcupsd-uninstall:

	Remove apcagent application in darwin uninstall script

2010-01-10 16:45  adk0212

	* platforms/: mandrake/apcupsd.spec.in, redhat/apcupsd.spec.in,
	suse/apcupsd.spec.in:

	spec updates for new SNMP driver

2010-01-10 16:44  adk0212

	* src/win32/libusb-winusb-bridge.h:

	Minor style changes

2010-01-10 16:30  adk0212

	* doc/manual/: manual.html, manual.rst:

	Minor updates for SNMP. Also add gapcmon and apcagent configure
	options.

2010-01-10 15:32  adk0212

	* src/win32/listview.cpp:

	Fix bug that caused key/value columns to become mismatched if a row
	was removed from the list.

2010-01-10 15:14  adk0212

	* src/drivers/snmplite/snmp.cpp:

	Increase SNMP query timeout to prevent false failures when UPS is
	being hit by two SNMP clients at once.

2010-01-10 15:05  adk0212

	* configure, autoconf/configure.in, platforms/etc/apcupsd.conf.in,
	platforms/mingw/apcupsd.conf.in, src/lib/apcconfig.c:

	Fix up SNMP driver selection. Config file "snmp" selects snmplite,
	while old driver remains available as 'netsnmp'. Same for
	./configure script.

2010-01-10 15:02  adk0212

	* include/defines.h:

	Fix DALARM (depends on alarm timer setting from
	upsAdvConfigAlarmTimer)

2010-01-10 15:00  adk0212

	* src/win32/installer/winapcupsd.nsi:

	Improve warning message for USB driver install failure

2010-01-10 14:59  adk0212

	* src/drivers/snmplite/: mib.cpp, snmplite.cpp:

	Fix DALARM (depends on alarm timer setting from
	upsAdvConfigAlarmTimer)

2010-01-10 12:59  adk0212

	* platforms/mingw/winusb/install.txt:

	Add a troubleshooting section describing that the common cause of
	failure with "Error Code 10" is that the driver was installed on
	the wrong device.

2010-01-10 12:58  adk0212

	* platforms/mingw/winusb/apcupsd.inf:

	Add a driver version to assist with upgrading.

2010-01-10 10:39  adk0212

	* src/apctest.c:

	Consolidate get/set USB options. Since all 'set' operations allow
	you to bail out without changing anything, they also serve as
	'get'.

2010-01-10 10:29  adk0212

	* include/defines.h, src/apctest.c, src/drivers/usb/usb.c:

	Add apctest support for reading/setting self-test interval on USB.
	Also show current setting in UPS status. Contributed by James
	Belleau <jpbelleau@gmail.com>

2010-01-10 10:02  adk0212

	* src/apctest.c:

	Use 'Q' to exit menus instead of the last number which is always
	changing.  Contributed by James Belleau <jpbelleau@gmail.com>

2010-01-09 13:35  adk0212

	* src/: drivers/usb/win/Makefile, drivers/usb/win/hidutils.c,
	drivers/usb/win/hidutils.h, drivers/usb/win/win-usb.c,
	drivers/usb/win/winusb.h, win32/Makefile.in,
	win32/libusb-winusb-bridge.c, win32/libusb-winusb-bridge.h,
	win32/winusb.h:

	Consolidate win-usb driver back into generic-usb by writing a
	simple libusb API adapter for winusb (libusb-winusb-bridge). This
	eliminates the code duplication between win-usb and generic-usb.

2010-01-08 19:23  adk0212

	* src/win32/installer/winapcupsd.nsi:

	Update detail text while waiting for apps to exit so user knows why
	we're sitting here for a few seconds. Also skip apctray exit wait
	if we've installed the main apcupsd package since that means we've
	already ensured apctray is not running.

2010-01-08 19:11  adk0212

	* src/win32/installer/: DrvSetup.nsh, winapcupsd.nsi:

	Update installer to automatically install WinUSB driver when
	possible.

2010-01-03 20:51  adk0212

	* src/win32/installer/winapcupsd.nsi:

	Win2k3 has an extra icon in shell32.dll which throws off the
	numbering causing the manpages to have the wrong icon. Just use the
	same icon for manpages and user manual.

2010-01-03 20:19  adk0212

	* src/win32/installer/winapcupsd.nsi:

	Set icons for start menu shortcuts. For now, just use common icons
	from shell32.dll.

2010-01-03 17:02  adk0212

	* src/win32/installer/winapcupsd.nsi:

	Include driver install instructions text file

2010-01-03 17:01  adk0212

	* platforms/mingw/winusb/apcupsd.inf:

	Cleanup INF naming, class, etc.

2010-01-03 17:00  adk0212

	* platforms/mingw/winusb/install.txt:

	Initial rev of winusb driver install instructions.

2010-01-03 13:08  adk0212

	* src/win32/Makefile.in:

	Update VERSION munging for resource script to accomodate version
	strings with a -foo extension.

2010-01-03 12:46  adk0212

	* src/win32/Makefile.in:

	Fix build order so libusb.h is created before it is needed.

2010-01-03 12:33  adk0212

	* src/win32/: Makefile.in, installer/winapcupsd.nsi:

	Add support for building and installing WinUSB. Default remains as
	generic-usb. To build for WinUSB set USBTYPE=winusb.

2010-01-03 12:32  adk0212

	* src/win32/installer/: StrReplace.nsh, util.nsh:

	Move StrReplace to its own file. Remove unused version functions
	now that we're using the built-in WinVer.nsh.

2010-01-03 12:27  adk0212

	* src/win32/build-win32-cross-tools:

	Enable building the NSIS System plugin.

2010-01-03 10:29  adk0212

	* platforms/mingw/winusb/: apcupsd.inf,
	amd64/WdfCoInstaller01009.dll, amd64/winusbcoinstaller2.dll,
	i386/WdfCoInstaller01009.dll, i386/winusbcoinstaller2.dll:

	WinUsb-based INF file customized for APCUPSD and driver
	coinstallers from Win7 DDK.

2010-01-03 10:22  adk0212

	* src/drivers/usb/win/: Makefile, hidutils.c, hidutils.h,
	win-usb.c, winusb.h:

	First rev of Windows-specific USB driver based on Microsoft's
	WinUsb framework for user mode USB drivers.

2010-01-02 16:28  adk0212

	* src/drivers/snmp/drv_powernet.c:

	Revert previous change: Locks are already held by snmp.c wrapper
	funcs.

2010-01-02 14:58  adk0212

	* src/win32/installer/winapcupsd.nsi:

	Remove old non-txt files so they do not get stuck around after an
	install-in-place.

2010-01-02 14:50  adk0212

	* platforms/mingw/apcupsd.conf.in, src/win32/Makefile.in,
	src/win32/installer/winapcupsd.nsi:

	Convert win32 config and doc files to DOS line endings so they can
	be viewed and edited in notepad. This is necessary because the
	workaround of using write.exe for UNIX format files does not work
	well on Win7 due to it using wide margins that unpleasantly
	word-wraps all the text. Use a *.txt extension on filenames where
	possible and use default 'open' behavior so if user has configured
	an alternate editor for *.txt it will be used.

2010-01-02 14:47  adk0212

	* src/win32/build-win32-cross-tools:

	Update to nsis-2.46 and w32api-3.14

2010-01-02 13:42  adk0212

	* src/win32/installer/: common.nsh, winapcupsd.nsi:

	Update installer to use /kill switch to shutdown apps again. This
	will provide more reliable shutdowns, especially on Vista/Win7
	where apcupsd service is running in another session and therefore
	is inaccessible by the window message mechanism. Remove old window
	message based shutdown logic.

2010-01-01 12:02  adk0212

	* src/drivers/snmplite/: snmp.cpp, snmp.h, snmplite.cpp:

	Add support for APC_NOTRAP vendor which disabled trap catching.

2010-01-01 11:41  adk0212

	* src/drivers/snmp/drv_powernet.c:

	Hold the write lock while updating UPSINFO state variables. This is
	necessary to prevent NIS clients from seeing partially-updated
	state.

2010-01-01 11:13  adk0212

	* platforms/mingw/apccontrol.bat:

	Only do popups on Win95/98/ME/NT. Newer OSes will run apctray which
	shows events in a balloon notification.

2010-01-01 11:12  adk0212

	* src/win32/apctray.cpp:

	Bring back /kill support. Registry change detection no longer
	needed.

2010-01-01 11:11  adk0212

	* src/win32/popup.c:

	Remove conditionals; always display a popup.

2009-11-21 12:34  adk0212

	* doc/home-page/dl.php:

	Center date field now that sf.net is not reporting time info.

2009-11-21 12:32  adk0212

	* doc/home-page/dl.php:

	Fix issue with displaying DMG .sig info for 3.14.7 source code
	link.  Something at the top of the source is messing up the regexp,
	but can't figure out exactly what. So just chop off the top of the
	page completely.  We only want the data in the All Files section
	anyway.

2009-11-15 12:56  adk0212

	* doc/images/: Makefile, apcupsd-logo.eps, apcupsd.eps, back.eps,
	back.png, charging.eps, commlost.eps, home.eps, home.png,
	image_convert.pl, image_scales, img1.eps, img1.png, img10.eps,
	img10.png, img11.eps, img11.png, img12.eps, img12.png, img13.eps,
	img13.png, img14.eps, img14.png, img2.eps, img2.png, img3.eps,
	img3.png, img4.eps, img4.png, img5.eps, img5.png, img6.eps,
	img6.png, img7.eps, img7.png, img8.eps, img8.png, img9.eps,
	img9.png, main_configs.eps, multimon.eps, next.eps, next.png,
	onbatt.eps, online.eps, status.eps, thanks.eps, wininstall1.eps,
	wininstall1.png, wininstall2.eps, wininstall2.png, wininstall3.eps,
	wininstall3.png, wininstall4.eps, wininstall4.png, wininstall5.eps,
	wininstall5.png, wininstall6.eps, wininstall7.eps, wininstall7.png:

	Remove obsolete image files.

2009-11-15 10:05  adk0212

	* doc/home-page/dl.php:

	Update for change in sf.net HTML (data format changed)

2009-11-15 09:18  adk0212

	* src/drivers/usb/usb.c:

	Add support for reading battery voltage from the PowerSummary
	instead of the Battery physical usage. At least one Back-UPS model
	appears to place its battery readout there instead of the normal
	place.	Back-UPS 500 FW: 6.3.I USB FW: c1

2009-11-09 21:19  adk0212

	* src/smtp.c:

	Fix timezone on Windows. This has always been wrong.

2009-11-09 21:05  adk0212

	* include/extern.h, src/lib/apclog.c, src/lib/apcstatus.c:

	Switch time/date output format to simplified ISO "YYYY-MM-DD
	HH:MM:SS +/-UTC"

2009-11-09 21:03  adk0212

	* src/lib/autil.cpp:

	Fix compile error.

2009-10-31 11:32  adk0212

	* include/aiter.h, include/alist.h, include/amap.h,
	include/amutex.h, include/aqueue.h, include/astring.h,
	include/athread.h, include/atimer.h, include/autil.h,
	src/lib/amutex.cpp, src/lib/astring.cpp, src/lib/athread.cpp,
	src/lib/atimer.cpp, src/lib/autil.cpp:

	Sync alib with gelogger project

2009-10-31 10:04  adk0212

	* src/drivers/usb/bsd/hidutils.c:

	Fix compile warning

2009-10-31 09:59  adk0212

	* src/drivers/snmplite/snmplite.cpp:

	Fix compile warning

2009-10-31 09:31  adk0212

	* include/apc.h, src/drivers/snmplite/snmp.cpp,
	src/lib/apclibnis.c:

	Move INADDR_NONE define to common header

2009-10-31 09:28  adk0212

	* src/: drivers/snmplite/snmp.cpp, lib/apclibnis.c:

	Fix signed/unsigned comparison warning

2009-10-31 09:24  adk0212

	* src/drivers/snmplite/snmp.cpp:

	Fix compile error on Solaris 10

2009-10-31 08:55  adk0212

	* src/win32/Makefile.in:

	win32 build fixes

2009-10-31 08:42  adk0212

	* src/lib/apclibnis.c:

	Fix comment

2009-10-31 08:37  adk0212

	* src/lib/apclibnis.c:

	Switch libnis to thread-safe gethostname_re()

2009-10-27 20:31  adk0212

	* src/win32/: Makefile.in, compat/winconfig.h:

	Updates so win32 will build with gethostbyname_r

2009-10-27 20:24  adk0212

	* configure, autoconf/config.h.in, autoconf/configure.in,
	include/extern.h, src/drivers/snmplite/snmp.cpp,
	src/drivers/snmplite/snmp.h, src/lib/Makefile,
	src/lib/gethostname.c:

	Switch SnmpEngine to thread-safe resolver, gethostbyname_r()

2009-10-27 19:28  adk0212

	* src/drivers/snmplite/: asn.cpp, asn.h, snmp.cpp, snmp.h:

	Misc cleanup

2009-10-27 19:19  adk0212

	* src/drivers/snmplite/: asn.cpp, asn.h, snmp.cpp, snmp.h:

	Make lengths universally unsigned

2009-10-27 19:11  adk0212

	* src/drivers/snmplite/: asn.cpp, asn.h:

	Add ability to calculate marshalled size of each data type without
	actually marshalling the data. This allows Sequence to precalculate
	its size which in turn allows us to encode length fields in the
	minimum possible number of octets instead of always using 4. This
	reduces packet size substantially.

2009-10-26 19:37  adk0212

	* src/drivers/snmplite/traps.h:

	Definitions for APC UPS traps. Not used yet, but may be handy
	someday.

2009-10-26 19:36  adk0212

	* src/drivers/snmplite/asn.h:

	Spacing changes

2009-10-26 19:36  adk0212

	* src/drivers/snmplite/: snmp.cpp, snmp.h, snmplite.cpp:

	Add support for SNMP trap catching

2009-10-25 21:30  adk0212

	* src/drivers/snmplite/asn.h:

	Toy with spacing

2009-10-25 21:07  adk0212

	* src/: device.c, drivers/drivers.c, drivers/snmplite/mib.cpp,
	drivers/snmplite/snmplite.cpp, drivers/snmplite/snmplite.h:

	Add snmplite support for shutdown and killpower

2009-10-25 21:07  adk0212

	* src/drivers/snmplite/: asn.h, snmp.cpp, snmp.h:

	Add SET command support to SnmpEngine and support classes

2009-10-25 18:00  adk0212

	* src/drivers/snmplite/snmplite.cpp:

	Update comments

2009-10-25 17:48  adk0212

	* src/lib/apcstatus.c:

	Add units to ambient humidity and temp status lines

2009-10-25 17:45  adk0212

	* src/drivers/snmplite/snmplite.cpp:

	Remove sanity filter on ambient temp and humidity readings. These
	both read zero if your MeasureUPS probe is not connected, so we
	don't want to exclude them in that case.

2009-10-25 17:37  adk0212

	* src/drivers/snmplite/snmplite.cpp:

	Add support for detecting and recovering from network errors

2009-10-25 16:47  adk0212

	* src/drivers/snmplite/: asn.cpp, asn.h:

	Misc cleanup

2009-10-25 16:31  adk0212

	* include/version.h:

	Bump version string

2009-10-25 15:56  adk0212

	* src/apcagent/InstanceManager.m:

	Reorder function

2009-10-25 15:53  adk0212

	* src/drivers/snmplite/: mib.cpp, oids.h:

	Spit OID arrays out into their own file so they're not cluttering
	mib.cpp.  Also wrap gcc-specific attribute.

2009-10-25 15:41  adk0212

	* src/win32/Makefile.in:

	Add snmplite driver to win32 build

2009-10-25 15:41  adk0212

	* src/drivers/snmplite/: asn.cpp, mib.cpp, snmp.cpp, snmp.h:

	Minor changes so snmplite can build for win32

2009-10-25 15:28  adk0212

	* src/drivers/snmplite/: mib.cpp, snmplite.cpp:

	Update MIB map with more CIs from old powernet driver.

2009-10-25 14:48  adk0212

	* include/defines.h, src/drivers/snmplite/snmplite.cpp:

	Updates for compatibility with old AP960x SNMP cards.

2009-10-25 12:14  adk0212

	* src/drivers/snmplite/snmp.cpp:

	Remove some debug

2009-10-25 11:54  adk0212

	* src/drivers/snmplite/: asn.cpp, asn.h, snmp.cpp, snmp.h:

	Rearrange ASN types. Although it seems like a good idea to have a
	strict separation between ASN and SNMP such that the ASN layer is
	not polluted with SNMP types, this isn't working very well in
	practice. So teach ASN about the basic SNMP types and get rid of
	the Snmp::PduType.

2009-10-25 11:03  adk0212

	* configure, autoconf/config.h.in, autoconf/configure.in,
	autoconf/variables.mak.in, include/struct.h,
	platforms/etc/apcupsd.conf.in, src/drivers/Makefile,
	src/drivers/drivers.c, src/drivers/snmplite/Makefile,
	src/drivers/snmplite/asn.cpp, src/drivers/snmplite/asn.h,
	src/drivers/snmplite/mib.cpp, src/drivers/snmplite/snmp.cpp,
	src/drivers/snmplite/snmp.h, src/drivers/snmplite/snmplite.cpp,
	src/drivers/snmplite/snmplite.h, src/lib/apcconfig.c,
	src/lib/apcstatus.c:

	Add SNMP Lite driver which does not depend on net-snmp library.
	This makes it more portable and eliminates need to move libsnmp.so
	to /lib in order to do a killpower on systems where /usr is
	unmounted.

2009-10-25 10:58  adk0212

	* include/alist.h:

	Make size unsigned

2009-10-24 15:41  adk0212

	* include/aarray.h:

	Simple (and inefficient) dynamic array template class

2009-10-24 10:04  adk0212

	* platforms/darwin/Makefile:

	Force use of HFS+ rather than HFSX (case-sensitive HFS+) so 10.5+
	will open the image without crying about it.

2009-10-15 20:46  adk0212

	* configure, autoconf/configure.in:

	Revert snmp static lib change. This is too incompatible. Solaris
	only has static versions of libnetsnmp but not libcrypto. Darwin
	doesn't seem to have static versions of either of them.

2009-10-15 18:42  adk0212

	* autoconf/configure.in, configure:

	Link with static snmp libs since some platforms do not have the
	shared ones in /lib. Contributed by Brad King
	<brad.king@kitware.com> via Debian bugtracker.
	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=316932

2009-10-15 18:13  adk0212

	* platforms/apccontrol.in:

	Merge WALL fix from Justin T Pryzby
	<justinpryzby@users.sourceforge.net>
	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546019

2009-10-14 19:14  adk0212

	* src/apcagent/MainMenu.xib:

	Update status window control layout to match apctray

2009-10-12 19:22  adk0212

	* src/win32/Makefile.in:

	Lowercase $(COMMA)

2009-10-12 19:15  adk0212

	* src/win32/: Makefile.in, winres.rc:

	Patch version info into resource file on the fly

2009-10-12 18:53  adk0212

	* src/win32/winres.rc:

	Set operating system field correctly

2009-10-12 18:50  adk0212

	* src/win32/winres.rc:

	Update file information block. Still not sure what to do about
	version info

2009-10-12 18:35  adk0212

	* src/win32/: balloonmgr.cpp, balloonmgr.h, winabout.cpp,
	winabout.h, winconfig.cpp, winconfig.h, winevents.cpp, winevents.h,
	winstat.cpp, winstat.h, wintray.cpp, wintray.h:

	Convert all member variable names to leading underscore convention

2009-10-12 18:27  adk0212

	* src/apcagent/: AppController.h, AppController.m:

	Update for StatMgr::GetAll() changes

2009-10-12 18:17  adk0212

	* include/statmgr.h, src/lib/statmgr.cpp, src/win32/winstat.cpp:

	Change StatMgr::GetAll() to return keys and values separately
	instead of combining them into a single string which the caller
	then has to split.

2009-10-12 18:09  adk0212

	* src/win32/: listview.cpp, listview.h, winevents.cpp, winstat.cpp:

	Consolidate listview update code into ListView wrapper class.

2009-10-12 17:43  adk0212

	* src/win32/: apctray.cpp, winevents.cpp, winevents.h, winstat.cpp,
	winstat.h, wintray.cpp, wintray.h:

	Fix issue with events and status dialogs not updating until the
	next poll thread tick. Kicking the poll thread inline with window
	creation does not work since new window is not yet fully created
	(WM_INITDIALOG has not been processed yet). Fix is to have status
	and events dialogs request a refresh when WM_INITDIALOG arrives.

2009-10-11 18:51  adk0212

	* src/win32/wintray.cpp:

	Minor cleanup

2009-10-11 18:33  adk0212

	* src/win32/: instmgr.cpp, instmgr.h, resource.h, winres.rc,
	wintray.cpp, wintray.h:

	Add menu item for controlling autostart

2009-10-11 15:21  adk0212

	* src/win32/: resource.h, winevents.cpp, winevents.h, winres.rc,
	winstat.cpp, winstat.h, wintray.cpp:

	Change events and status dialogs to not use cached statmgr since it
	will be replaced when user changes config. Update events window to
	use listview and have resize capability.

2009-10-11 13:04  adk0212

	* src/win32/: wintray.cpp, wintray.h:

	Move reconfig to poll thread so UI is not held up when applying a
	new config. This is in line with what the OS X apcagent does.

2009-10-11 12:41  adk0212

	* src/win32/: apctray.cpp, wintray.cpp, wintray.h:

	Fix redrawing icons when explorer restarts with new taskbar

2009-10-11 12:15  adk0212

	* src/win32/instmgr.cpp:

	Minor cleanup

2009-10-11 12:15  adk0212

	* src/lib/statmgr.cpp:

	Rework network error handling so Update() only retries on soft
	errors, not hard errors. This helps minimize the length of time a
	given monitor will ignore UI events when it is unable to connect to
	an apcupsd.

2009-10-11 12:12  adk0212

	* src/win32/wintray.cpp:

	Fix thread hang by lengthening thread exit wait to accomodate worst
	case

2009-10-11 12:12  adk0212

	* src/win32/winres.rc:

	Move runtime field onto same line as status and shrink dialog to
	match

2009-10-10 13:39  adk0212

	* src/win32/: winabout.cpp, winres.rc, resource.h:

	About box updates: Remove old logo, fix version/date info, update
	copyright

2009-10-10 11:56  adk0212

	* src/win32/winconfig.cpp:

	Set focus to first invalid control

2009-10-10 11:55  adk0212

	* src/win32/winres.rc:

	Restrict port and refresh fields to digits only

2009-10-10 11:42  adk0212

	* src/win32/: instmgr.cpp, instmgr.h, winconfig.cpp, winconfig.h,
	wintray.cpp:

	Add support for disabling popups. Other misc cleanup.

2009-10-08 18:59  adk0212

	* src/win32/: winconfig.cpp, winconfig.h, wintray.cpp, wintray.h:

	Fixes for config dialog. Implement basic input validation.

2009-10-08 18:05  adk0212

	* src/win32/winstat.cpp:

	Fix row deletion bug when number of items decreases

2009-10-07 20:36  adk0212

	* src/win32/: winconfig.cpp, winconfig.h:

	First pass at config dialog

2009-10-07 20:36  adk0212

	* src/win32/: Makefile.in, apctray.cpp, instmgr.cpp, instmgr.h,
	winabout.cpp, winabout.h, winevents.cpp, winevents.h, winstat.cpp,
	winstat.h, wintray.cpp, wintray.h:

	First pass at configuration dialog.

2009-10-07 19:10  adk0212

	* src/win32/: apctray.cpp, instmgr.cpp, instmgr.h, resource.h,
	winres.rc, wintray.cpp, wintray.h, winups.h:

	Multiple instances working again now. New 'add' menu option to add
	a new monitor. Rearrange menu items to match OS X. Lots of code
	cleanup.

2009-10-07 19:08  adk0212

	* include/alist.h:

	Add support for operator->() on iterator

2009-10-07 08:02  adk0212

	* src/win32/: Makefile.in, apctray.cpp, instmgr.cpp, instmgr.h,
	listview.cpp, resource.h, winprop.cpp, winprop.h, winres.rc,
	winstat.cpp, wintray.cpp, wintray.h:

	Begin to clean up instance management by creating an
	InstanceManager. Basic functions are working again, but add/remove
	instance needs work.

2009-10-05 20:35  adk0212

	* src/win32/winstat.cpp:

	Fix possible crash if FillStatusBox() were to be called at just the
	wrong instant.

2009-10-05 20:07  adk0212

	* src/win32/winstat.cpp:

	Don't leak ListView wrappers

2009-10-05 20:05  adk0212

	* src/win32/Makefile.in:

	Add wrapper class for listview and use it from winstat

2009-10-05 20:04  adk0212

	* src/win32/: listview.cpp, listview.h, winstat.cpp, winstat.h:

	Add wrapper class for listview and use it in winstat.

2009-10-05 19:35  adk0212

	* src/win32/: meter.cpp, meter.h, winstat.cpp, winstat.h:

	Add/update copyright banners

2009-10-05 19:34  adk0212

	* src/win32/: Makefile.in, meter.cpp, meter.h, winstat.cpp,
	winstat.h:

	Colorize load and battery meters, as per apcagent. Break meter code
	out into a separate wrapper class -- a poor man's MFC essentially.
	Only update controls when their values change to further reduce
	refresh flicker. Misc cleanup.

2009-10-04 13:02  adk0212

	* include/astring.h, src/lib/astring.cpp, src/win32/apctray.cpp,
	src/win32/balloonmgr.cpp, src/win32/popup.c, src/win32/resource.h,
	src/win32/winabout.cpp, src/win32/winevents.cpp,
	src/win32/winres.h, src/win32/winres.rc, src/win32/winstat.cpp,
	src/win32/winstat.h, src/win32/wintray.cpp:

	Rewrite apctray status dialog to mimic apcagent on OS X. Window now
	updates on the fly, is resizeable, and has summary info at the top.
	Also uses ListView control for raw status info so it is in two nice
	columns and no longer needs to be rendered in an ugly fixed-width
	font. Switch to ResEdit (http://www.resedit.net) for GUI resource
	editing instead of tweaking winres.rc by hand. This requires
	renaming winres.h to resource.h since that's what ResEdit wants to
	generate.

2009-10-03 13:26  adk0212

	* src/apcagent/MainMenu.xib:

	Fix preferences window label text being obscured by the surrounding
	box.  Issue only appeared on 10.4, but probably just getting lucky
	with drawing order on 10.5.

2009-10-03 10:20  adk0212

	* src/apcagent/AppController.m:

	Fix issue with popups not appearing if Growl is installed while
	apcagent is running.

2009-09-30 19:15  adk0212

	* autoconf/targets.mak, platforms/darwin/Makefile,
	src/apcagent/Makefile:

	Include apcagent in OS X installer DMG

2009-09-29 19:20  adk0212

	* configure, autoconf/configure.in, autoconf/variables.mak.in,
	src/Makefile:

	Build apcagent automatically on OS X but let user disable it via
	configure if s/he so desires.

2009-09-29 18:58  adk0212

	* src/apcagent/: AppController.h, AppController.m,
	InstanceConfig.h, InstanceConfig.m, MainMenu.xib, Makefile,
	growl.plist, main.m:

	Add support for popup notifications via Growl

2009-09-27 19:39  adk0212

	* src/apcagent/LoginItemsAE.c:

	Fix login item creation on 10.4. Problem and solution is nicely
	documented by Jake Sprouse here:
	http://jakesprouse.net/2007/03/28/debugging-apples-loginitemsaec-on-intel-macs

2009-09-27 16:03  adk0212

	* src/apcagent/Makefile:

	Overwrite dmg

2009-09-27 15:56  adk0212

	* src/apcagent/: AppController.h, AppController.m,
	InstanceManager.h, InstanceManager.m, MainMenu.xib:

	Add menu item to enable/disable starting at login

2009-09-27 14:37  adk0212

	* src/apcagent/: AppController.h, AppController.m,
	InstanceManager.h, InstanceManager.m, LoginItemsAE.c,
	LoginItemsAE.h, MainMenu.xib, Makefile, main.m:

	Add UPS and HOST info to top of menu a'la apctray on win32.
	Automatically add user login item when apcagent is started for the
	first time. Remove login item when last monitor is removed. Add
	menu option to remove all monitors at once. Reorder menu items
	slightly.

2009-09-27 10:57  adk0212

	* src/apcagent/: AppController.h, AppController.m,
	InstanceConfig.h, InstanceConfig.m, InstanceManager.h,
	InstanceManager.m, MainMenu.xib, Makefile, NSString+uuid.h,
	NSString+uuid.m, main.m:

	Support for multiple instances

2009-09-23 20:14  adk0212

	* src/lib/statmgr.cpp:

	Interpret failure to read any status items as failure of the
	connection and close it. Retry Update() once in case it fails.

2009-09-23 18:19  adk0212

	* src/apcagent/Makefile:

	Fix linking of libapc.a so it is included as a dependency.

2009-09-23 18:17  adk0212

	* src/lib/apclibnis.c:

	Ignore SIGPIPE, which can happen when writing to a socket where the
	remote end has closed the connection. Also improve error handling
	in write_nbytes().

2009-09-23 18:16  adk0212

	* include/statmgr.h, src/lib/statmgr.cpp:

	Copy hostname so caller doesn't have to keep it valid.

2009-09-20 19:47  adk0212

	* src/apcagent/AppController.m:

	Minor cleanups

2009-09-20 19:29  adk0212

	* src/apcagent/AppController.m:

	Minor optimization to DataSource classes

2009-09-20 19:07  adk0212

	* src/apcagent/: AppController.h, AppController.m, Info.plist,
	MainMenu.xib:

	Plumb in about panel. Expand copyright text slightly. Rename menu
	items to more closely match other OS X app naming conventions.

2009-09-20 18:23  adk0212

	* doc/images/: charging.png, onbatt.png, online.png:

	Make icon backgrounds transparent

2009-09-20 17:25  adk0212

	* src/apcagent/: AppController.m, MainMenu.xib:

	Add horizontal separators to the menu

2009-09-20 17:13  adk0212

	* src/apcagent/Makefile:

	Remove InfoPlist.strings dependency

2009-09-20 17:11  adk0212

	* src/apcagent/: Info.plist, InfoPlist.strings, Makefile:

	Update Info.plist with copyright and version info. Version is
	substituted at build time for __VERSION__. Remove unused
	InfoPlist.strings file.

2009-09-20 17:11  adk0212

	* src/apcagent/AppController.m:

	Minor cleanup

2009-09-20 16:39  adk0212

	* src/apcagent/: AppController.h, AppController.m, Info.plist,
	InfoPlist.strings, MainMenu.xib, Makefile, PkgInfo, main.m:

	Add apcagent, an apctray-like applet for Mac OS X

2009-09-20 16:26  adk0212

	* include/statmgr.h, src/lib/statmgr.cpp, src/win32/wintray.cpp:

	Move FetchStatus() to StatMgr class and rename to GetSummary()

2009-09-20 16:11  adk0212

	* platforms/darwin/build-notes.txt, src/win32/Makefile.in,
	src/win32/statmgr.cpp, src/win32/statmgr.h,
	src/win32/winevents.cpp, src/win32/winstat.cpp,
	src/win32/wintray.cpp, src/win32/wintray.h:

	Convert win32 apctray to use shared statmgr and alib classes.

2009-09-20 15:47  adk0212

	* include/statmgr.h, src/lib/statmgr.cpp:

	Add copy of win32 statmgr with win32-isms replaced with alib
	equivalents

2009-09-20 15:46  adk0212

	* include/aiter.h, include/alist.h, include/amap.h,
	include/amutex.h, include/aqueue.h, include/astring.h,
	include/athread.h, include/atimer.h, include/autil.h,
	src/lib/amutex.cpp, src/lib/astring.cpp, src/lib/athread.cpp,
	src/lib/atimer.cpp, src/lib/autil.cpp:

	Add lightweight STL-like class library

2009-09-20 15:41  adk0212

	* autoconf/targets.mak, autoconf/variables.mak.in,
	examples/Makefile, src/Makefile, src/cgi/Makefile,
	src/drivers/apcsmart/Makefile, src/drivers/dumb/Makefile,
	src/drivers/net/Makefile, src/drivers/pcnet/Makefile,
	src/drivers/snmp/Makefile, src/drivers/test/Makefile,
	src/drivers/usb/Makefile, src/drivers/usb/bsd/Makefile,
	src/drivers/usb/generic/Makefile, src/drivers/usb/linux/Makefile,
	src/gapcmon/Makefile, src/lib/Makefile, src/libusbhid/Makefile:

	Add support for building Objective-C files (*.m)

2009-09-20 15:39  adk0212

	* platforms/darwin/build-notes.txt:

	Forgot -arch flags for apcupsd build

2009-09-13 18:08  adk0212

	* platforms/darwin/build-notes.txt:

	And more updates to the notes. Nearly done now, I think.

2009-09-13 17:36  adk0212

	* platforms/darwin/build-notes.txt:

	More build notes updates.

2009-09-13 17:28  adk0212

	* platforms/darwin/build-notes.txt:

	More updates to Darwin build notes.

2009-09-13 17:05  adk0212

	* platforms/darwin/: ApcupsdDaemon.postflight,
	ApcupsdDaemon.preflight, Makefile:

	Disable PackageMaker's "suggested permissions" in favor of using
	our own explicit permissions. Tweak perms on /Library to keep
	PackageMaker happy.  Remove permission fixups from
	preflight/postflight scripts. Copy the apcupsd-uninstall script to
	/sbin during install.

2009-09-13 17:02  adk0212

	* platforms/darwin/apcupsd-uninstall:

	Add uninstall script.

2009-09-13 09:29  adk0212

	* platforms/darwin/ApcupsdDaemon.preflight:

	Work around PackageMaker bug that gets ApcupsdDummy.kext directory
	permissions wrong.

2009-09-11 20:01  adk0212

	* platforms/darwin/build-notes.txt:

	Update OS X build notes with more info I've discovered.

2009-09-08 18:03  adk0212

	* doc/apctest.8:

	Update apctest manpage for USB battery calibration function.

2009-09-01 20:30  adk0212

	* src/apctest.c:

	Implement battery calibration in apctest for USB models.  Thanks to
	James Belleau <james@belleau.net> for the original implementation
	which has been modified somewhat in this commit.

2009-08-30 11:24  adk0212

	* doc/manual/: manual.html, manual.rst:

	Update Darwin USB section to call out libusb-0.1.12 specifically.

2009-08-30 11:14  adk0212

	* src/apctest.c:

	Fix TTY mode comms option on Win32.

2009-08-30 10:15  adk0212

	* platforms/darwin/: build-notes.txt,
	building-universal-binaries.txt:

	Add notes about compatibility builds. Update universal binaries
	notes.	Rename file to 'build-notes.txt'.

2009-08-29 14:33  adk0212

	* configure:

	Regen configure with autoconf-2.61 (Darwin XCode-3.3) to fix some
	warnings when configuring on OS X.

2009-08-29 14:27  adk0212

	* configure, autoconf/configure.in,
	platforms/darwin/ApcupsdDaemon.Description.plist,
	platforms/darwin/ApcupsdDaemon.Info.plist,
	platforms/darwin/ApcupsdDaemon.Info.plist.in,
	platforms/darwin/ApcupsdDaemon.postflight,
	platforms/darwin/ApcupsdPkg.Description.plist,
	platforms/darwin/ApcupsdPkg.Info.plist.in,
	platforms/darwin/ApcupsdUsbShim.Description.plist,
	platforms/darwin/ApcupsdUsbShim.Info.plist.in,
	platforms/darwin/ApcupsdUsbShim.postflight,
	platforms/darwin/Makefile:

	Update OS X installer for XCode-3.x Unable to find a simple way to
	create metapackages from the command line so separate Daemon and
	UsbShim subpackages are gone. Everything is now in the top-level
	package. On the up side, however, we can now override the version
	string from the command line so we no longer need autoconf to
	preprocess the plist. Additionally, packagemaker generates the
	plist now and just merges in any overrides we specify. Much nicer.

2009-08-23 15:04  adk0212

	* src/drivers/net/net.c:

	Add missing NOMINV, NOMOUTV, and NOMPOWER to clients.  Reported by
	Luciano De Rosa <l.derosa@tiscali.it>

2009-08-14 11:02  adk0212

	* doc/home-page/: bugs.html, dl.php, index.html, index.wml,
	license.html, lists.html, menu.inc, phpinfo.php, publishsite,
	support.html, systems.html:

	Introduce new download page since sf.net is so hard to navigate
	now.

2009-08-07 08:15  adk0212

	* doc/home-page/: index.html, index.wml:

	Change ReleaseNotes links to point at versions in CVS since SF
	isn't properly serving the file if you point to the downloads
	section.

2009-08-02 10:36  adk0212

	* doc/home-page/: index.html, index.wml:

	Update for 3.14.7 release.

2009-08-01 13:29  adk0212

	* ChangeLog, include/version.h:

	Final prep for 3.14.7 release.

2009-08-01 10:41  fleetworks

	* platforms/: mandrake/apcupsd.spec.in, redhat/apcupsd.spec.in,
	suse/apcupsd.spec.in:

	3.14.7 spec update

2009-08-01 08:18  adk0212

	* src/win32/: README.cygwin, README.win32:

	Remove obsolete files

2009-08-01 08:01  adk0212

	* configure, autoconf/config.h.in, autoconf/configure.in,
	autoconf/variables.mak.in, src/Makefile, src/powerflute.c,
	src/win32/compat/compat.h, src/win32/compat/sys/ioctl.h:

	Remove remnants of powerflute

2009-07-31 16:23  adk0212

	* ChangeLog, ReleaseNotes, include/version.h:

	Prep for 3.14.7 release

2009-07-31 16:19  adk0212

	* configure, autoconf/configure.in:

	Fix configure not noticing when C++ compiler does not exist.
	Annoyingly, only the first of AC_PROG_CXX and AC_PROG_CC actually
	error out if the conpiler does not exist. The second one just
	quietly sets a default and keeps going. Temporary fix is to just
	move CXX detection to be first since that's the compiler we really
	need.

2009-07-31 15:35  adk0212

	* doc/manual/: manual.html, manual.rst:

	Document multimon cgi programs for Windows.

2009-07-31 11:34  adk0212

	* autoconf/targets.mak:

	Add support for formatting manpages into plain text

2009-07-31 11:33  adk0212

	* src/win32/installer/winapcupsd.nsi:

	Include plain text manpages in windows install. Organize
	documentation and provide start menu shortcuts. Also add a shortcut
	for editing the config file.

2009-07-31 11:33  adk0212

	* doc/Makefile:

	Format manpages into plain text.

2009-07-31 10:22  adk0212

	* src/win32/installer/winapcupsd.nsi:

	Add CGI scripts to Windows installer.

2009-07-31 10:22  adk0212

	* src/win32/Makefile.in:

	Build CGI programs for WIN32.

2009-07-31 10:21  adk0212

	* src/win32/: apctray.cpp, winmain.cpp:

	Remove manual calls to WSA_Init(). It's done automatically in
	libnis now.

2009-07-31 10:20  adk0212

	* src/win32/compat/: compat.cpp, netcompat.c:

	Split network-related compat functions into their own file so users
	don't have to link in all of compat.cpp.

2009-07-31 10:18  adk0212

	* src/lib/apclibnis.c:

	Automatically invoke WSA_Init() during static initialization on
	WIN32.

2009-07-31 10:16  adk0212

	* src/cgi/upsimage.c:

	Set stdout to binary mode on WIN32 to prevent corruption of image
	data.

2009-07-26 10:50  adk0212

	* src/drivers/: apcsmart/smartsetup.c, dumb/dumbsetup.c:

	Automatically add \\.\ UNC prefix to COMx device name on Windows.
	This allows selection of ports above COM9.

2009-07-26 10:42  adk0212

	* src/drivers/usb/usb.c:

	Remove CI_BattReplaceDate because it does not seem to be populated
	on any modern UPS. CI_BATTDAT works just fine.

2009-07-07 20:31  adk0212

	* include/: amap.h, amutex.h, aqueue.h, atimer.h:

	Prevent use of default assignment operator and copy constructor.

2009-07-07 20:31  adk0212

	* include/amap.h:

	file amap.h was added on branch Branch-3_14 on 2009-09-20 19:46:13
	+0000

2009-07-07 20:31  adk0212

	* include/amutex.h:

	file amutex.h was added on branch Branch-3_14 on 2009-09-20
	19:46:13 +0000

2009-07-07 20:31  adk0212

	* include/aqueue.h:

	file aqueue.h was added on branch Branch-3_14 on 2009-09-20
	19:46:13 +0000

2009-07-07 20:31  adk0212

	* include/atimer.h:

	file atimer.h was added on branch Branch-3_14 on 2009-09-20
	19:46:13 +0000

2009-07-07 20:31  adk0212

	* include/alist.h:

	Implement assignment operator and copy constructor.

2009-07-07 20:31  adk0212

	* include/alist.h:

	file alist.h was added on branch Branch-3_14 on 2009-09-20 19:46:13
	+0000

2009-06-07 21:15  adk0212

	* src/win32/build-win32-cross-tools:

	Update to NSIS-2.45.

2009-06-02 20:45  adk0212

	* doc/manual/: manual.html, smartprotocol.rst:

	Fix typo.

2009-05-31 12:18  adk0212

	* doc/manual/: maintaining_ups.rst, manual.html, smartprotocol.rst:

	Spell check.

2009-05-31 12:14  adk0212

	* doc/manual/: manual.html, manual.rst:

	Spell check.

2009-05-31 11:13  adk0212

	* doc/manual/: manual.html, manual.rst:

	Fix a few "apcupd" typos.

2009-05-20 20:43  adk0212

	* examples/newslave.c, src/cgi/upsstats.c:

	Fix UPS version in CGI stats and examples.

2009-05-16 12:46  adk0212

	* doc/home-page/: bugs.html, index.html, index.wml, license.html,
	lists.html, menu.inc, support.html, systems.html:

	Update web site for 3.14.6 release.

2009-05-16 12:46  adk0212

	* doc/manual/publishdoc:

	Update script

2009-05-16 10:07  adk0212

	* ChangeLog:

	Final prep for 3.14.6. Locked and loaded.

2009-05-16 09:05  fleetworks

	* platforms/: mandrake/apcupsd.spec.in, redhat/apcupsd.spec.in,
	suse/apcupsd.spec.in:

	Comment out latex build.

2009-05-15 20:13  adk0212

	* ChangeLog, ReleaseNotes, include/version.h:

	Prep for 3.14.6 release (again).

2009-05-15 20:13  adk0212

	* src/cgi/upsfetch.c:

	Fix miscalculated length. Noticed by Stacy Millions
	<stacy@Millions.Ca>

2009-05-15 19:57  adk0212

	* autoconf/variables.mak.in:

	Add --no-footnote-backlinks to RST2PDF options. It's now supported
	in rst2pdf SVN trunk.

2009-05-15 19:44  adk0212

	* platforms/: mandrake/apcupsd.spec.in, redhat/apcupsd.spec.in,
	suse/apcupsd.spec.in:

	changes for new user manual location and format

2009-05-15 19:32  adk0212

	* doc/manual/publishdoc:

	Add script to publish the manual to the web site.

2009-05-15 19:23  adk0212

	* doc/manual/manual.html:

	Keep a preformatted copy of the user manual in CVS to ease tool
	dependencies for packagers.

2009-05-15 19:07  adk0212

	* src/win32/installer/winapcupsd.nsi:

	Update for new user manual location.

2009-05-15 18:43  adk0212

	* doc/manual/manual.rst:

	Fix Scott's name being misinterpreted as an enumerated (elettered?)
	list.

2009-05-13 19:49  adk0212

	* doc/manual/maintaining_ups.rst:

	Applied updates from Trevor Roydhouse <trev@sentry.org>

2009-05-12 19:45  adk0212

	* doc/manual/manual.rst:

	Remove Linux /proc/bus/usb text files from appendix. They're a ton
	of baggage for not much gain.

2009-05-12 19:35  adk0212

	* doc/manual/smartprotocol.rst:

	Minor formatting and typo fixes to smart protocol docs.

2009-05-09 09:04  adk0212

	* doc/manual/manual.rst:

	Fix some {} style markup I missed on the first pass.

2009-05-09 08:50  adk0212

	* doc/manual/manual.rst:

	Fix expansion of APC acronym.

2009-05-07 21:10  adk0212

	* doc/manual/: manual.rst, smartprotocol.rst:

	Some tweaks for better compatibility with rst2pdf.

2009-05-06 21:51  adk0212

	* doc/manual/: maintaining_ups.rst, manual.rst, smartprotocol.rst:

	Several updates to the manual. Replace existing section on UPS
	maintenance with a new one contributed by Trevor Roydhouse
	<trev@sentry.org>. Replace old disclaimer with a new one, also from
	Trev. Add some hyperlinks in the smart protocol section. Clean up
	some table formatting in that section as well.

2009-05-06 21:50  adk0212

	* doc/manual/apcupsd.png:

	Noninterlaced version of logo for compatibility with rst2pdf.

2009-05-05 17:51  adk0212

	* doc/apcupsd.conf.5:

	Add allowable settings for LOWBATT. From Trevor Roydhouse
	<trev@sentry.org>

2009-05-04 18:21  adk0212

	* configure, autoconf/configure.in, autoconf/targets.mak,
	autoconf/variables.mak.in:

	Autodetect locations of rst2pdf and rst2html. Politely skip
	typesetting each format if the generator is not available.

2009-05-04 18:20  adk0212

	* platforms/qnx/: Makefile, apccontrol.in, apcupsd.in:

	Add support for QNX. Tested on QNX 6.3.2. Contributed by Mikhail
	Gruzdev <michail.gruzdev@gmail.com>

2009-05-04 18:03  adk0212

	* configure, autoconf/acconfig.h, autoconf/config.h.in,
	autoconf/configure.in, include/apc.h, src/apcupsd.c,
	src/drivers/apcsmart/smartsetup.c, src/lib/apcexec.c:

	Add support for QNX. Tested on QNX 6.3.2. Contributed by Mikhail
	Gruzdev <michail.gruzdev@gmail.com>

2009-05-04 17:56  adk0212

	* examples/index.php:

	s/batteryload/load/. Contributed by Mikhail Gruzdev
	<michail.gruzdev@gmail.com>

2009-05-03 17:56  adk0212

	* autoconf/targets.mak, autoconf/variables.mak.in,
	doc/manual/Makefile:

	Generate PDF manual automatically.

2009-05-03 17:55  adk0212

	* doc/manual/manual.rst:

	Fix typo.

2009-05-03 13:31  adk0212

	* doc/manual/manual.rst:

	Fix broken references. Now formats cleanly with no errors or
	warnings.

2009-05-03 12:31  adk0212

	* doc/manual/smartprotocol.rst:

	Minor tweaks to spacing, etc.

2009-05-03 12:27  adk0212

	* doc/manual/: manual.rst, smartprotocol.rst:

	Rejuvinate smart protocol section and add it back in. Merged with
	updates from NUT site.

2009-05-02 19:46  adk0212

	* doc/manual/manual.rst:

	Add EEPROM configuration directives. Text stolen shamelessly from
	Trevor's apcupsd.conf(5).

2009-05-02 19:30  adk0212

	* doc/manual/manual.rst:

	Minor fixes to apctest section. This needs major updates
	eventually.

2009-05-02 19:20  adk0212

	* doc/manual/manual.rst:

	Bring in a shortened version of the supportedupses text.

2009-05-02 18:37  adk0212

	* doc/manual/manual.rst:

	Add Windows 7. Split Solaris into 8/9 (no USB) and 10 (USB
	supported).

2009-05-02 18:30  adk0212

	* doc/manual/manual.rst:

	Rewrite and add in supported operating systems section.

2009-05-02 18:29  adk0212

	* autoconf/variables.mak.in:

	Don't generate backrefs for footnotes; they make the footnotes hard
	to read.

2009-05-02 12:11  adk0212

	* doc/manual/manual.rst:

	Surround TOC with transition dividers to help set it apart. I wish
	the text for the TOC title were rendered larger. Need to
	investigate alternate stylesheets.

2009-05-02 12:00  adk0212

	* autoconf/targets.mak, autoconf/variables.mak.in,
	doc/manual/Makefile:

	Add preliminary Makefile support for rst2html. Dependencies are
	working.  Not tied in to top-level make yet since not everyone will
	have rst2html.	'make clean' not working yet. Need to figure out
	what to do about that.

2009-05-02 10:30  adk0212

	* src/action.c:

	Change log level of UPS self-test messages to WARNING from ALERT.
	Given that self-test messages are routine, they do not belong at
	LOG_ALERT.  Contributed by Dave Ewart <davee@ceu.ox.ac.uk>.

2009-05-02 10:21  adk0212

	* autoconf/variables.mak.in, doc/Makefile:

	Install manpages as part of 'make install'.

2009-05-02 10:05  adk0212

	* doc/apcupsd.man:

	Remove one leftover old manpage.

2009-05-02 10:04  adk0212

	* doc/: apcaccess.8, apccontrol.8, apctest.8, apctest.man,
	apcupsd.8, apcupsd.conf.5:

	Replace old manpages with shiny new ones, courtesy of Trevor
	Roydhousea <trev@sentry.org>. Many thanks, Trev!

2009-04-30 19:20  adk0212

	* doc/manual/: cables.rst, manual.rst:

	Minor updates plus clean up and add back in the cables section.

2009-04-26 19:12  adk0212

	* doc/manual/: apcupsd.png, charging.png, commlost.png,
	main_configs.png, manual.rst, multimon.png, onbatt.png, online.png,
	smartprotocol.rst, status.png, thanks.png, wininstall6.png:

	First pass at converting apcupsd user manual to reStructuredText.
	Initial conversion via Pandoc, then lots of hand editing. It's in
	pretty good shape now. Need to fix up external files.

2009-04-25 11:04  adk0212

	* src/apcupsd.c:

	Make startup success message appear in logs again.  From Trevor
	Roydhouse <trev@sentry.org>: apcupsd stopped printing startup
	success messages at some point. Looking through the code it is
	because it was decided that the LOG_INFO facility level should only
	be used for data file logging and so it filters out other uses.
	Unfortunately the startup message is set to that level. Changing
	the startup message to LOG_WARNING works and is consistent with the
	normal shutdown message facility level.

2009-04-25 10:58  adk0212

	* src/lib/apcconfig.c:

	Remove EVENTFILE, EVENTFILEMAX config directives. These were
	replaced by the plural versions that are in use today (EVENTSFILE,
	EVENTSFILEMAX) almost 10 years ago. It's time to kill the old
	names.	(h/t Trevor Roydhouse <trev@sentry.org>)

2009-04-25 10:47  adk0212

	* src/options.c:

	Add -P,--pid-file to -h output. Update copyright.  (h/t Trevor
	Roydhouse <trev@sentry.org>)

2009-04-25 10:45  adk0212

	* examples/nagios_plugin_check_apcupsd.c, examples/newslave.c,
	include/struct.h, src/cgi/upsfetch.c, src/drivers/net/net.c,
	src/lib/apcconfig.c, src/lib/apcstatus.c:

	RELEASE is merely a subset of VERSION. Remove RELEASE.	(h/t Trevor
	Roydhouse <trev@sentry.org>)

2009-03-19 19:18  adk0212

	* doc/home-page/: bugs.html, index.html, license.html, lists.html,
	support.html, systems.html, template.inc:

	Update sf.net logo per new guidelines.

2009-03-02 18:16  adk0212

	* ChangeLog, ReleaseNotes, include/version.h:

	Pseudo-prep for 3.14.6

2009-03-02 17:52  adk0212

	* src/drivers/apcsmart/smart.c:

	Workaround for crash during process shutdown.  Contributed by
	Andrey Sharandakov <ash.ashway@gmail.com>

2009-03-02 17:48  adk0212

	* doc/apcupsd.man, include/drivers.h, include/extern.h,
	src/action.c, src/apctest.c, src/apcupsd.c, src/device.c,
	src/options.c, src/drivers/drivers.c,
	src/drivers/apcsmart/apcsmart.h, src/drivers/apcsmart/smart.c,
	src/drivers/apcsmart/smartoper.c, src/drivers/usb/usb.c,
	src/drivers/usb/usb.h, src/lib/apclock.c:

	Add support for turning the UPS off completely. This complements
	existing hibernate (aka killpower) functionality. Turn-off is
	implemented for apcsmart and USB drivers, subject to support for
	the relevant commands in the UPS itself. Contributed by Keith
	Campbell <campbell@econnectix.com>.

2009-03-01 10:03  adk0212

	* src/apcaccess.c:

	Fix build with gcc-4.4. Contributed by Michal Hlavinka
	<mhlavink@redhat.com>.

2009-02-14 16:35  adk0212

	* src/drivers/usb/linux/linux-usb.c:

	Fix number of array entries which was causing a buffer overflow.
	Contributed by David Fries <david@fries.net>.  Also change loop
	counters to unsigned, eliminating a new warning introduced by the
	above change plus allowing removal of unnecessary casts to int.

2009-02-10 18:39  adk0212

	* src/drivers/apcsmart/: smart.c, smartsetup2.c:

	Fix some deadlocks in the case of a comm failure when smart_poll()
	is called without holding the UPS lock. Contributed by Keith
	Campbell <campbell@econnectix.com>:

	On one of our machines, apcupsd 3.14.5 (using a smart serial cable)
	would occasionally not finish starting up.  Running strace revealed
	that it was stuck in deadlock on a futex() system call.

	I've traced this to some poorly written code inside the apcsmart
	driver.  Inside smart.c there is a UPSlinkCheck() function which
	according to the documentation must be called with the UPS lock
	held (ugh).  smart_poll() calls the UPSlinkCheck() function (but
	only in a rarely followed error handling branch), so therefore it
	must also be called with the lock held.  The problem is, many
	things call smart_poll() but some call it without the lock, and
	other with the lock.  I've put locks around a few smart_poll()
	calls in smartsetup2.c which corrected the problem I was seeing.

2009-01-15 17:57  adk0212

	* doc/home-page/: index.html, index.wml:

	Year++ h/t Kirill S. Bychkov <yason@linklevel.net>

2009-01-14 18:00  adk0212

	* doc/home-page/publishsite:

	Update publish scripts for sf.net changes

2009-01-14 17:49  adk0212

	* doc/home-page/: index.html, index.wml:

	Update for 3.14.5 release.

2009-01-10 15:02  adk0212

	* ChangeLog, include/version.h:

	3.14.5 for real this time.

2008-11-10 19:14  adk0212

	* examples/nagios_plugin_check_apcupsd.c:

	Compile fixes for nagios plugin.  Contributed by Ronald J. Yacketta
	<yacketrj@potsdam.edu>

2008-11-01 11:03  adk0212

	* platforms/redhat/apcupsd.in:

	Remove unused DISTVER code.  Contributed by Miloň Papežík
	<mmp@secure-it.cz>

2008-10-26 10:25  adk0212

	* ChangeLog, ReleaseNotes, include/version.h:

	Prep for 3.14.5 release (again)

2008-10-20 18:19  adk0212

	* src/win32/build-win32-cross-tools:

	Update to nsis-2.40.

2008-09-16 00:58  skoona

	* src/gapcmon/gapcmon.c:

	Corrected the timebase on the sockopts(0 api call.  I intended to
	set the timeout for two tenths of a second, instead I set it for
	200 usec.  The results was un-stability and frequently dropped
	session on my quad-core; dual and single cores didn't seem to be
	bothered.  Now is it set for 200000 usec as I originally intended.

	James,

2008-09-16 00:34  skoona

	* src/gapcmon/: ChangeLog, README:

	Corrected person references, FreeBSD is the platform Jason Hale
	maintains

2008-09-16 00:23  skoona

	* src/gapcmon/: ChangeLog, README, eggtrayicon.c, gapcmon.c:

	Applied two patches 1. eggtrayicon.c -- applies background
	transparency when in systray mode to systray icon.  2. gapcmon.c --
	Add include for BSD sockaddr_in, no impact on other platforms.
	Note: Socket timeout timers were shortened in a prior update

	James,

2008-09-10 18:34  adk0212

	* src/apctest.c:

	Do not create pid file in apctest. There is little reason for it
	since apctest is a command-line tool, not a daemon. Plus nothing
	ever deletes the file so it interferes with apcupsd operation.
	Reported by Eddie Atherton <stunnel@attglobal.net>

2008-09-09 17:51  adk0212

	* src/options.c:

	Change -? to -h for the sake of consistency with other software.
	Contributed by Thomas Pfaff <thomas.arnesen.pfaff@gmail.com>

2008-08-17 11:01  adk0212

	* platforms/darwin/Makefile:

	Work around PackageMaker bug in XCode-2.5.

2008-08-17 10:43  adk0212

	* platforms/darwin/building-universal-binaries.txt:

	Update Darwin universal binary instructions.

2008-08-15 01:24  skoona

	* src/gapcmon/gapcmon.c:

	Added setsockopt() to sknet_open() to resolve timeout related
	issue.	I set it to 200ms initially, need to test a bet before
	releasing.  James,

2008-08-03 16:24  adk0212

	* platforms/darwin/building-universal-binaries.txt:

	A convenient side-effect of the flags split is that deps now work
	correctly during a universal binary build.

2008-08-03 12:51  adk0212

	* src/cgi/upsfetch.c:

	Fix a few unsafe uses of sprintf and strcat. Although OpenBSD warns
	about several more, these other instances are demonstrably correct
	as-written and are therefore unchanged.

2008-08-03 11:13  adk0212

	* platforms/darwin/building-universal-binaries.txt:

	Update Darwin build instructions for CPPFLAGS/CFLAGS/CXXFLAGS
	split.

2008-08-03 11:00  adk0212

	* src/gapcmon/Makefile:

	gapcmon build fixes for new CPPFLAGS/CFLAGS/CXXFLAGS split.

2008-08-03 10:51  adk0212

	* configure:

	Regen configure script on Linux. OpenBSD autoconf searches for X11
	differently (and possibly incorrectly).

2008-08-03 10:48  adk0212

	* configure, autoconf/configure.in, autoconf/targets.mak,
	autoconf/variables.mak.in:

	Fix configure warnings for gd.h by properly splitting compiler
	flags versus preprocessor flags. CFLAGS=C compiler flags,
	CXXFLAGS=C++ compiler flags, CPPFLAGS=C preprocessor flags.

2008-08-02 19:13  adk0212

	* configure:

	Regen configure script from configure.in.

2008-08-02 19:11  adk0212

	* autoconf/configure.in, src/cgi/Makefile:

	Fix cgi build on OpenBSD. libgd on OpenBSD requires X_LIBS for
	libfreetype and libfontconfig.

2008-07-25 10:17  adk0212

	* ChangeLog:

	Update ChangeLog after win32 exit fix.

2008-07-25 09:18  adk0212

	* src/win32/winmain.cpp:

	Fix handling of old-style exit requests (WM_QUIT message to hidden
	window).  Apparently PeekMessage() is not sufficient, so go back to
	using GetMessage and spawn a separate thread to watch for the
	global exit event.

2008-07-24 16:29  adk0212

	* ChangeLog, ReleaseNotes, include/version.h:

	Prep for 3.14.5 release.

2008-07-24 16:12  adk0212

	* src/win32/installer/winapcupsd.nsi:

	Save $INSTDIR in registry for future use. Also remove examples/
	directory from install package since almost nothing in there
	applies to win32.

2008-07-24 16:10  adk0212

	* examples/: slave.apcupsd.conf, master.apcupsd.conf:

	Remove another obsolete sample config.

2008-07-24 16:08  adk0212

	* examples/: apcupsd.master.conf, apcupsd.slave.conf:

	Remove obsolete configuration examples.

2008-07-12 22:51  skoona

	* src/gapcmon/: ChangeLog, gapcmon.c:

	Update the ChangeLog

2008-07-12 22:32  skoona

	* src/gapcmon/gapcmon.c:

	Fix two of two: KDE issue, because of the _iconify() api issue,
	_hide() was chosen.  _ hide() presents a useability issue where its
	possible hide all windows in such a way that no artifact is visible
	for you to use to restore a window.

	This is caused by the use of gtk_widget_hide() instead of
	gtk_window_iconify(); thus the only solution is to remove the close
	buttons off both the main window and all monitor windows.  Its the
	close button that presents the active-but-no-window effect.

	Problem Cause: KDE Window Manager Behaviour Changed --
	gtk_window_iconify() ignored.  Problem Resolved: Removed Close
	Button from all windows.		   Switched to
	gtk_widget_hide() to manage window visibility.

	James,

2008-07-12 20:23  skoona

	* src/gapcmon/gapcmon.c:

	Part two of the kde fix failed.  Icon-mode works fine.	Window mode
	can find itself without a takslist entry and effecctively invisible
	with no way to recall the active program.

2008-07-12 15:13  adk0212

	* src/win32/build-win32-cross-tools:

	Update to nsis-2.38

2008-07-12 13:53  skoona

	* src/gapcmon/gapcmon.c:

	Part two of two parts -- kde iconify fix

2008-07-12 12:54  skoona

	* src/gapcmon/gapcmon.c:

	Part one of two parts -- kde iconify fix

2008-07-07 20:31  adk0212

	* include/athread.h, src/lib/athread.cpp:

	Misc cleanup and documentation.

2008-07-07 20:31  adk0212

	* src/lib/athread.cpp:

	file athread.cpp was added on branch Branch-3_14 on 2009-09-20
	19:46:13 +0000

2008-07-07 20:31  adk0212

	* include/athread.h:

	file athread.h was added on branch Branch-3_14 on 2009-09-20
	19:46:13 +0000

2008-07-03 09:04  adk0212

	* src/lib/atimer.cpp:

	file atimer.cpp was added on branch Branch-3_14 on 2009-09-20
	19:46:13 +0000

2008-07-03 09:04  adk0212

	* src/lib/atimer.cpp:

	Add debounce timers on shutdown triggers.

2008-06-29 20:07  adk0212

	* include/atimer.h, src/lib/atimer.cpp:

	Update main state machine to use state class pattern.

2008-06-29 11:12  adk0212

	* src/action.c:

	Fix bug in LOWBATT glitch handling. We must examine LOWBATT for
	changes every time thru the status loop, not just during the
	OnBattery state.  Otherwise we can miss the initial LOWBATT
	assertion, which defeats the glitch rejection logic.

2008-06-24 19:24  adk0212

	* autoconf/targets.mak:

	Silly spacing fix.

2008-06-24 19:22  adk0212

	* configure, autoconf/aclocal.m4, autoconf/configure.in,
	autoconf/targets.mak:

	Fail configure if required tools are not found. Fix targets.mak to
	reference a few more tools by variable instead of hardcoded name.

2008-06-21 17:04  adk0212

	* src/win32/: Makefile.in, compat/compat.cpp, compat/compat.h,
	compat/getopt.c, compat/getopt.h, compat/print.cpp,
	compat/winapi.c, compat/winapi.h:

	Clean up win32 compat. Remove unused functions and files. Remove
	wide char support. Organize compat.h.

2008-06-21 14:43  adk0212

	* src/win32/: apctray.cpp, winmain.cpp, winups.h, compat/winapi.c,
	compat/winapi.h:

	Improve apctray multiple instance behavior for /add, /del, and
	/kill on modern platforms (Win2K and newer). Monitor registry for
	changes caused by /add and /del and automatically reset when a
	change is detected. Also ensure /kill will terminate all apctray
	instances, even those running in other sessions.

2008-06-19 18:23  adk0212

	* src/win32/: winmain.cpp, winservice.cpp, winservice.h, winups.h,
	compat/winapi.c, compat/winapi.h:

	Support shutting down apcupsd instances running in other sessions
	(such as terminal services or remote desktop sessions).

2008-06-15 14:11  adk0212

	* autoconf/targets.mak:

	Use 'tr' to strip trailing newline from 'echo' instead of 'echo
	-n'.

2008-06-15 09:15  adk0212

	* platforms/: yellowdog/Makefile, engarde/Makefile,
	mandrake/Makefile:

	Update install to use new CHKCFG macro.

2008-06-15 09:10  adk0212

	* platforms/redhat/Makefile:

	Update redhat to use new CHKCFG macro.

2008-06-15 09:04  adk0212

	* src/options.c:

	Fix harmless but annoying compiler warning on suse.

2008-06-15 09:03  adk0212

	* autoconf/targets.mak, autoconf/variables.mak.in,
	platforms/suse/Makefile:

	Fix 'make install' on suse. Sadly, suse's chkconfig always returns
	success for --list even when the service does not exist. So we add
	a more sophisticated chkconfig handler which tests for existence of
	the init script manually, then invokes chkconfig. The whole thing
	is hidden behind a macro. Also add CHKCONFIG definition (currently
	always /sbin/chkconfig) in case we someday encounter a distro that
	hides it elsewhere.

2008-06-11 07:39  adk0212

	* include/extern.h, src/drivers/pcnet/pcnet.c, src/lib/apclog.c,
	src/drivers/usb/bsd/hidutils.c, src/drivers/usb/generic/hidutils.c:

	Add a hex dump function and use it from pcnet and usb drivers
	instead of manually coding ugly loops.

2008-06-11 07:20  adk0212

	* src/drivers/pcnet/packets/: README, packet0.dat, packet1.dat,
	packet2.dat:

	Add captured packets for testing PCNET driver.

2008-06-09 21:22  adk0212

	* autoconf/targets.mak:

	Use $(ECHO). Important for 'echo -n' on some platforms, and we
	might as well use it everywhere we use 'echo'. Thanks to Jeremy
	Daniel <Jeremy.Daniel@brunel.ac.uk> for finding and fixing this on
	Mac OS X.

2008-06-09 21:16  adk0212

	* configure, autoconf/configure.in:

	Remove conditional HAVE_NISLIB settings. HAVE_NISLIB is set already
	set unconditionally.

2008-06-01 17:57  adk0212

	* doc/home-page/index.html, platforms/alpha/Makefile,
	platforms/darwin/Makefile, platforms/debian/Makefile,
	platforms/engarde/Makefile, platforms/freebsd/Makefile,
	platforms/gentoo/Makefile, platforms/mandrake/Makefile,
	platforms/netbsd/Makefile, platforms/openbsd/Makefile,
	platforms/redhat/Makefile, platforms/slackware/Makefile,
	platforms/sun/Makefile, platforms/suse/Makefile,
	platforms/yellowdog/Makefile:

	Fix first install failure on redhat and suse. We were
	unconditionally running 'chkconfig --del apcupsd' which failed if
	apcupsd was not already installed. Now we check 'chkconfig --list
	apcupsd' first to see if chkconfig believes apcupsd is installed.
	Make same fix in uninstall. Also change most uninstall steps to
	allow failure. This facilitates the best- effort uninstall of an
	aborted or otherwise botched install.

2008-05-31 08:42  fleetworks

	* platforms/: redhat/apcupsd.spec.in, suse/apcupsd.spec.in:

	Add restart of daemon on upgrade.

2008-05-26 20:28  adk0212

	* include/amutex.h:

	Fix circular dependency.

2008-05-25 14:46  adk0212

	* doc/home-page/: index.html, index.wml:

	Update for 3.14.4 release.

2008-05-18 14:21  adk0212

	* ChangeLog:

	Update ChangeLog.

2008-05-18 14:18  adk0212

	* platforms/suse/Makefile:

	Fix init script location on SuSE. It should be /etc/rc.d, but we
	were placing the file in /etc/rc.d/init.d.

2008-05-18 13:16  adk0212

	* ReleaseNotes, include/version.h:

	Fix release date.

2008-05-18 13:15  adk0212

	* ChangeLog, ReleaseNotes, include/version.h:

	Prep for 3.14.4 release.

2008-05-18 13:12  adk0212

	* Makefile, doc/Makefile, doc/Makefile.in:

	Add 'make install' support for man pages.

2008-05-12 20:09  adk0212

	* platforms/: README, install-symlinks.sh:

	Remove obsolete files.

2008-05-12 20:06  adk0212

	* Developers:

	Update contributors list. This is probably still way out of date.

2008-05-11 18:34  adk0212

	* platforms/: mandrake/apcupsd.spec.in, redhat/apcupsd.spec.in,
	suse/apcupsd.spec.in:

	Remove --with-powerflute flag from specs.

2008-05-11 18:18  adk0212

	* ChangeLog.old:

	Remove old changelog.

2008-05-11 17:00  adk0212

	* ChangeLog, ReleaseNotes, include/version.h:

	Prep for 3.14.4 test release.

2008-05-11 16:23  adk0212

	* ABOUT-NLS:

	Remove unused file.

2008-05-11 10:24  adk0212

	* platforms/darwin/building-universal-binaries.txt:

	Update Mac OS X universal binary build instructions.

2008-05-11 10:10  adk0212

	* platforms/: Makefile, alpha/Makefile, darwin/Makefile,
	debian/Makefile, engarde/Makefile, etc/Makefile, redhat/Makefile:

	Remove unnecessary dependency includes.

2008-05-11 09:56  adk0212

	* include/Makefile.in, src/libusbhid/Makefile.in:

	Remove some obsolete Makefile.in

2008-05-11 09:56  adk0212

	* examples/: Makefile, Makefile.in, client.c, megaclient.c,
	readfifo.c, smartsim.c, snoopdecode.c:

	New Makefile for examples/ and source fixes to build with C++
	compiler.

2008-05-10 20:10  adk0212

	* autoconf/targets.mak:

	Micor cleanups: Rename 'INST' to 'COPY'. Remove extraneous
	semicolons.

2008-05-10 20:07  adk0212

	* autoconf/targets.mak, src/Makefile, src/cgi/Makefile,
	src/gapcmon/Makefile:

	Better solution for install ordering. Invoke make explicitly to
	build targets and then again to perform the install. This is just
	an extension of the same trick used to force 'all' to build subdirs
	before local targets.

2008-05-10 13:54  adk0212

	* src/: Makefile, cgi/Makefile, gapcmon/Makefile:

	Fix parallel 'make install' from an unbuilt tree. Requires manually
	making install-* depend on all-targets. I'd prefer this be done
	automatically but I cannot find a way that works (yet).

2008-05-10 11:19  adk0212

	* platforms/Makefile:

	Do not perform platform install in parallel.

2008-05-10 11:18  adk0212

	* Makefile:

	Recurse into platforms/ after src/.

2008-05-10 10:52  adk0212

	* platforms/alpha/Makefile:

	Install banners for alpha.

2008-05-10 10:51  adk0212

	* platforms/: darwin/Makefile, debian/Makefile, engarde/Makefile,
	redhat/Makefile:

	Add banners to 'make install'.

2008-05-10 10:47  adk0212

	* autoconf/targets.mak:

	Tweak install/uninstall banner spacing.

2008-05-10 10:47  adk0212

	* platforms/: unifix/Makefile, unifix/Makefile.in,
	yellowdog/Makefile, yellowdog/Makefile.in:

	'make install' support for unifix and yellowdog.

2008-05-09 20:04  adk0212

	* configure, autoconf/configure.in, platforms/suse/Makefile,
	platforms/suse/Makefile.in, platforms/suse/Makefile.in.old,
	platforms/suse/apcupsd.in.old, platforms/suse/apcupsd.spec.in.old,
	platforms/suse/halt-setup.sh.in, platforms/suse/halt.in,
	platforms/suse/rc.config.sh:

	'make install' support for SuSE. Plus remove some bitrotted
	platform files for SuSE 8.x.

2008-05-09 19:39  adk0212

	* platforms/sun/: Makefile, Makefile.in:

	'make install' support for sun.

2008-05-08 19:37  adk0212

	* configure, autoconf/configure.in:

	Do not autogenerate platform/*/Makefile any more.

2008-05-08 19:36  adk0212

	* autoconf/targets.mak:

	Add install/uninstall banner macros.

2008-05-08 19:36  adk0212

	* autoconf/variables.mak.in:

	Add some path variables needed by platform install scripts.

2008-05-08 19:35  adk0212

	* platforms/: gentoo/Makefile, gentoo/Makefile.in, hpux/Makefile,
	hpux/Makefile.in, mandrake/Makefile, mandrake/Makefile.in,
	slackware/Makefile, slackware/Makefile.in, unknown/Makefile:

	'make install' support for gentoo, hpux, mandrake, slackware.

2008-05-08 18:57  adk0212

	* platforms/: freebsd/Makefile, freebsd/Makefile.in,
	netbsd/Makefile, netbsd/Makefile.in, openbsd/Makefile,
	openbsd/Makefile.in:

	'make install' support for *BSD

2008-05-06 20:16  skoona

	* src/gapcmon/gapcmon.c:

	Corrected the use of NOMPOWER and the calc of current usage amount

2008-05-04 11:30  adk0212

	* configure, autoconf/configure.in:

	Remove powerflute option from configure. Powerflute has been broken
	for several releases after the removal of rawupsstats support from
	NIS

2008-05-04 11:13  adk0212

	* src/drivers/usb/usb.c:

	Add a heuristic to fix up incorrect NOMINV or NOMOUTV. Some UPSes
	(RS 500) report decivolts instead of volts. Reported by Kirill S.
	Bychkov <yason@linklevel.net>.

2008-05-04 10:43  adk0212

	* src/win32/build-win32-cross-tools:

	Update to NSIS 2.37.

2008-05-04 10:43  adk0212

	* configure, autoconf/configure.in:

	Add win32/Makefile to generate list. Necessary since we're not
	rewriting the win32 Makefile stuff yet.

2008-04-20 19:03  skoona

	* src/gapcmon/: ChangeLog, Makefile, gapcmon.c, gapcmon.h:


	- Removed close() fron sknet_net_close() api.
	g_io_channel_shutdown()   handled the close and shutdown of the
	socket.  second close was   actually closing an active socket from
	another thread (i.e. reuse #)	discovered on a quad-core platform.

	- Added ICON_DIR to compiler makefiles to support _load_icons
	ability to find icons at run-time.  $(datadir) is passed into
	ICON_DIR; its assumed datadir include $(DISTDIR).  This change
	was pointed out by Kirill S. Bychkov in Feb/2008.

	James,

2008-04-19 10:12  adk0212

	* examples/safe.apccontrol.in:

	Remove mention of serial port since there are many other comms
	types now.

2008-04-07 19:03  adk0212

	* autoconf/targets.mak, autoconf/variables.mak.in,
	platforms/alpha/Makefile, platforms/alpha/Makefile.in,
	platforms/darwin/Makefile, platforms/darwin/Makefile.in,
	platforms/debian/Makefile, platforms/debian/Makefile.in,
	platforms/engarde/Makefile, platforms/engarde/Makefile.in,
	platforms/redhat/Makefile, platforms/unknown/Makefile,
	platforms/unknown/Makefile.in:

	Add 'make install' support for alpha, darwin, debian, engarde, and
	unknown.  Also misc fixes to existing install support.

2008-04-06 20:24  adk0212

	* configure, autoconf/configure.in:

	Don't autogenerate redhat Makefile.

2008-04-06 19:35  adk0212

	* src/: drivers/Makefile.in, drivers/apcsmart/Makefile.in,
	drivers/dumb/Makefile.in, drivers/net/Makefile.in,
	drivers/pcnet/Makefile.in, drivers/snmp/Makefile.in,
	drivers/test/Makefile.in, drivers/usb/Makefile.in,
	drivers/usb/bsd/Makefile.in, drivers/usb/generic/Makefile.in,
	drivers/usb/linux/Makefile.in, gd1.2/Makefile.in, gd1.2/README,
	gd1.2/demoin.gif, gd1.2/gd.c, gd1.2/gd.h, gd1.2/gddemo.c,
	gd1.2/gdfontg.c, gd1.2/gdfontg.h, gd1.2/gdfontl.c, gd1.2/gdfontl.h,
	gd1.2/gdfontmb.c, gd1.2/gdfontmb.h, gd1.2/gdfonts.c,
	gd1.2/gdfonts.h, gd1.2/gdfontt.c, gd1.2/gdfontt.h, gd1.2/giftogd.c,
	gd1.2/index.html, gd1.2/mathmake.c, gd1.2/mtables.c,
	gd1.2/webgif.c, intl/ChangeLog, intl/Makefile.in, intl/VERSION,
	intl/bindtextdom.c, intl/cat-compat.c, intl/dcgettext.c,
	intl/dgettext.c, intl/explodename.c, intl/finddomain.c,
	intl/gettext.c, intl/gettext.h, intl/gettextP.h,
	intl/hash-string.h, intl/intl-compat.c, intl/l10nflist.c,
	intl/libgettext.h, intl/linux-msg.sed, intl/loadinfo.h,
	intl/loadmsgcat.c, intl/localealias.c, intl/po2tbl.sed.in,
	intl/textdomain.c, intl/xopen-msg.sed, lib/Makefile.in,
	po/Makefile.in, po/POTFILES.in, po/apcupsd.pot, po/ca.po,
	po/cat-id-tbl.c, po/cs.po, po/da.po, po/de.po, po/el.po, po/es.po,
	po/et_EE.po, po/eu_ES.po, po/fi.po, po/fo_FO.po, po/fr.po,
	po/ga_IE.po, po/gr_GR.po, po/hr.po, po/hu.po, po/in_ID.po,
	po/is.po, po/is_IS.po, po/is_is.po, po/it.po, po/iw_IL.po,
	po/ja.po, po/kl_GL.po, po/ko.po, po/lt_LT.po, po/lv_LV.po,
	po/nl.po, po/no.po, po/pl.po, po/pt.po, po/ro_RO.po, po/ru.po,
	po/sk.po, po/sl.po, po/sr.po, po/stamp-cat-id, po/sv.po, po/tr.po,
	po/uk_UA.po, po/wa.po, po/zh_TW.Big5.po:

	Remove unused files: Various Makefile.in, gd1.2/, intl/, po/.

2008-04-06 19:09  adk0212

	* autoconf/Makefile.in:

	Remove unused file.

2008-04-06 19:07  adk0212

	* Makefile.in, configure, autoconf/configure.in,
	autoconf/mkinstalldirs, autoconf/targets.mak,
	autoconf/variables.mak.in, platforms/Makefile,
	platforms/Makefile.in, platforms/etc/Makefile,
	platforms/etc/Makefile.in, platforms/redhat/Makefile,
	platforms/redhat/Makefile.in, src/Makefile, src/Makefile.in,
	src/cgi/Makefile, src/cgi/Makefile.in, src/gapcmon/Makefile,
	src/gapcmon/Makefile.in:

	First round of 'make install' implementation. Basic
	install/uninstall is working. Only platform implemented so far is
	redhat.

2008-04-04 19:11  adk0212

	* autoconf/targets.mak:

	Fix clean output on Solaris.

2008-04-04 19:01  adk0212

	* configure, autoconf/configure.in, src/gapcmon/Makefile:

	Fix gapcmon build on OpenSolaris. On OpenSolaris, gethostbyname_r()
	is in libnsl. Also fix up some tests in configure to use
	AC_SEARCH_LIBS. Thanks to James Dean <jgmdean@gmail.com> for
	loaning me an ssh login on his OpenSolaris box.

2008-04-02 18:55  adk0212

	* Makefile, configure, autoconf/aclocal.m4, autoconf/configure.in,
	autoconf/targets.mak, autoconf/variables.mak.in, src/Makefile,
	src/cgi/Makefile, src/drivers/Makefile,
	src/drivers/apcsmart/Makefile, src/drivers/dumb/Makefile,
	src/drivers/net/Makefile, src/drivers/pcnet/Makefile,
	src/drivers/snmp/Makefile, src/drivers/test/Makefile,
	src/drivers/usb/Makefile, src/drivers/usb/bsd/Makefile,
	src/drivers/usb/generic/Makefile, src/drivers/usb/linux/Makefile,
	src/gapcmon/Makefile, src/lib/Makefile, src/libusbhid/Makefile:

	Add new make system - configure and build works (including
	dependencies and parallel make) - 'make install' not yet
	implemented - i18n support removed - included libgd support removed
	- obsolete Makefile.in files will remain until 'make install' is
	complete

2008-02-06 17:53  adk0212

	* platforms/80-apcupsd-ups-policy.fdi:

	Fix hal policy file syntax. For some reason this blatantly
	incorrect file actually works on RHEL5 (hal-0.5.8). Thanks to
	Andrew Telford <a.telford@ieee.org> for correcting it.

2008-02-03 16:37  adk0212

	* autoconf/aclocal.m4, autoconf/configure.in,
	src/gapcmon/gapcmon.c:

	Revert ctime_r() change. It is not actually necessary.

2008-02-03 15:48  adk0212

	* configure, autoconf/aclocal.m4, autoconf/configure.in,
	src/gapcmon/gapcmon.c:

	Fix gapcmon compile error on Solaris: Multiple variants of
	ctime_r().

2008-02-03 15:32  adk0212

	* include/apc.h:

	Fix libapcnis.c compile error on Solaris.

2008-02-03 12:19  fleetworks

	* platforms/: mandrake/apcupsd.spec.in, redhat/apcupsd.spec.in,
	suse/apcupsd.spec.in:

	Add debug package to strip suse.

2008-01-29 19:01  adk0212

	* src/gapcmon/gapcmon.c:

	Fix build on OpenBSD: Need to include netinet/in.h for struct
	sockaddr_in.

2008-01-28 21:14  adk0212

	* configure, autoconf/configure.in, src/gapcmon/gethostname.c:

	Add fake (not thread-safe) gethostbyname_r() for platforms that
	don't have it. I'm looking at you, OpenBSD.

2008-01-27 12:00  adk0212

	* include/struct.h, platforms/etc/apcupsd.conf.in,
	platforms/mingw/apcupsd.conf.in, src/device.c,
	src/drivers/net/net.c, src/drivers/snmp/drv_powernet.c,
	src/lib/apcconfig.c:

	Add POLLTIME directive to control UPS polling interval. NETTIME is
	accepted as a synonym for compatibility with old config files.

2008-01-27 11:22  adk0212

	* src/lib/apclibnis.c, src/powerflute.c, src/cgi/multimon.c,
	src/cgi/upsfetch.c, src/cgi/upsfetch.h, include/nis.h,
	src/apcaccess.c:

	Sanify net error handling. All net library functions now return
	-errno on failure. Kill off global net_errno and net_errmsg.
	Improve apcaccess error messages.

2008-01-27 10:20  adk0212

	* include/amutex.h:

	Add debug trace wrappers around mutex lock/unlock operations.

2008-01-27 09:56  adk0212

	* src/drivers/usb/bsd/bsd-usb.c:

	Another missing update.

2008-01-27 09:49  adk0212

	* src/drivers/usb/bsd/bsd-usb.c:

	Fix compile errors from incomplete input vs feature report
	conversion.

2008-01-26 19:04  adk0212

	* include/amutex.h:

	Remove unnecessary include.

2008-01-26 18:55  adk0212

	* include/amutex.h:

	Remove const_cast grunge in favor of mutable attribute.

2008-01-26 17:55  adk0212

	* include/amap.h:

	Fix contains().

2008-01-26 17:49  adk0212

	* include/: aiter.h, alist.h, amap.h:

	Add const iterators. It's tempting to leave these for later, but
	once you abandon constness, it's awful hard to find it again.

2008-01-26 17:49  adk0212

	* include/aiter.h:

	file aiter.h was added on branch Branch-3_14 on 2009-09-20 19:46:13
	+0000

2008-01-26 14:58  adk0212

	* include/alist.h, include/amutex.h, include/aqueue.h,
	include/astring.h, include/athread.h, include/atimer.h,
	src/lib/athread.cpp, src/lib/atimer.cpp:

	Milestone checkin. Basic functionality is working with new core.
	Many more changes to come.

2008-01-26 14:58  adk0212

	* include/astring.h:

	file astring.h was added on branch Branch-3_14 on 2009-09-20
	19:46:13 +0000

2008-01-22 20:10  adk0212

	* configure, autoconf/configure.in:

	Debian is now using the standard NIS port, 3551.  Contributed by
	imacat <imacat@mail.imacat.idv.tw>

2008-01-20 14:58  adk0212

	* doc/home-page/: index.html, index.wml:

	Update web site for 3.14.3.

2008-01-19 16:48  adk0212

	* ChangeLog, ReleaseNotes, include/version.h:

	Updates for 3.14.3 release.

2008-01-19 13:43  adk0212

	* src/gapcmon/gapcmon.c:

	Merge gapcmon changes from HEAD 1.41.

2007-12-02 11:38  adk0212

	* src/apcaccess.c:

	Fix compile warning.

2007-11-29 19:49  adk0212

	* platforms/darwin/building-universal-binaries.txt:

	Update build instructions for XCode3/Leopard. Many thanks to Dennis
	Wurster <dwurster@gmail.com> for loaning me a Leopard-capable G4 to
	develop on.

2007-11-21 17:09  adk0212

	* src/: apcaccess.c, drivers/net/net.c, lib/apclibnis.c:

	Fix bugs that could cause NIS-net driver to get stuck waiting for
	comms to be restored instead of shutting down. This included adding
	a timeout for connection attempts in net_open() and removing a
	wait-for-comms loop from the net driver. Also fix up fallout from
	apclibnis cleanups in apcaccess. Thanks to Daniel Born
	<born_daniel@yahoo.com> for reporting the issue and testing fixes.

2007-11-21 17:05  adk0212

	* Makefile.in, configure:

	Add configure parameter to control location of HAL policy file.
	Install policy file to this path. By default, the policy file is
	only installed on Linux systems. Other platforms need to specify
	--with-halpolicydir=DIR to configure. Linux systems can use this
	same switch to change the default install path.  (Files missed in
	last commit.)

2007-11-18 10:24  fleetworks

	* platforms/: mandrake/apcupsd.spec.in, redhat/apcupsd.spec.in,
	suse/apcupsd.spec.in:

	Add halpolicydir to configure statement.

2007-11-18 10:18  fleetworks

	* platforms/: mandrake/apcupsd.spec.in, redhat/apcupsd.spec.in,
	suse/apcupsd.spec.in:

	Make installs the hal policy file now.

2007-11-17 14:09  adk0212

	* autoconf/configure.in, platforms/Makefile.in:

	Add configure parameter to control location of HAL policy file.
	Install policy file to this path. By default, the policy file is
	only installed on Linux systems. Other platforms need to specify
	--with-halpolicydir=DIR to configure. Linux systems can use this
	same switch to change the default install path.

2007-11-17 14:06  adk0212

	* platforms/redhat/Makefile.in:

	Revert HAL policy file change. We'll do this at a higher level
	instead.

2007-11-17 10:45  fleetworks

	* platforms/: mandrake/apcupsd.spec.in, redhat/apcupsd.spec.in,
	suse/apcupsd.spec.in:

	Add hal policy file.

2007-11-17 10:00  adk0212

	* src/win32/build-win32-cross-tools:

	Upgrade to nsis-2.33.

2007-11-17 09:48  adk0212

	* platforms/80-apcupsd-ups-policy.fdi:

	Remove extraneous comment close tag.

2007-11-17 09:34  adk0212

	* platforms/: 80-apcupsd-ups-policy.fdi, redhat/Makefile.in:

	Add policy file to disable hald-addon-hid-ups. Automatically
	install and uninstall this policy on Redhat systems.

2007-11-10 08:17  fleetworks

	* platforms/: mandrake/apcupsd.spec.in, redhat/apcupsd.spec.in,
	suse/apcupsd.spec.in:

	Update for suse 10.3

2007-11-09 18:34  adk0212

	* src/win32/build-win32-cross-tools:

	Update to nsis-2.32.

2007-10-30 18:46  adk0212

	* doc/home-page/: index.html, index.wml:

	Fix changelog links for 3.14.2.

2007-10-27 13:15  adk0212

	* src/drivers/usb/bsd/bsd-usb.c:

	Missed part of write report conversion.

2007-10-27 13:14  adk0212

	* src/apctest.c:

	Add support for reading/writing transfer voltage on USB models.

2007-10-27 13:13  adk0212

	* src/drivers/usb/: bsd/bsd-usb.c, generic/generic-usb.c,
	linux/linux-usb.c:

	When reading, use INPUT or FEATURE report (prefer INPUT).  When
	writing, use FEATURE report only.  This is necessary to properly
	support writes on UPSes that offer the same usage in both types of
	reports.

2007-10-15 18:13  adk0212

	* src/lib/: amutex.cpp, astring.cpp, autil.cpp:

	Correct filenames in comments.

2007-10-15 18:13  adk0212

	* src/lib/amutex.cpp:

	file amutex.cpp was added on branch Branch-3_14 on 2009-09-20
	19:46:13 +0000

2007-10-15 18:13  adk0212

	* src/lib/astring.cpp:

	file astring.cpp was added on branch Branch-3_14 on 2009-09-20
	19:46:13 +0000

2007-10-15 18:13  adk0212

	* src/lib/autil.cpp:

	file autil.cpp was added on branch Branch-3_14 on 2009-09-20
	19:46:13 +0000

2007-10-15 18:12  adk0212

	* include/autil.h:

	file autil.h was added on branch Branch-3_14 on 2009-09-20 19:46:13
	+0000

2007-10-15 18:12  adk0212

	* include/alist.h, include/amap.h, include/amutex.h,
	include/astring.h, include/autil.h, src/lib/amutex.cpp,
	src/lib/astring.cpp, src/lib/autil.cpp:

	Add license text for a* utility classes.

2007-10-15 18:05  adk0212

	* include/alist.h, include/amap.h, include/astring.h,
	src/lib/autil.cpp:

	Add simple list and map classes and convert pcnet driver to use
	them.

2007-10-06 10:52  adk0212

	* include/drivers.h, include/extern.h, include/nis.h,
	include/struct.h, src/apcaccess.c, src/apcnis.c, src/apctest.c,
	src/powerflute.c, src/reports.c, src/smtp.c, src/cgi/cgilib.c,
	src/cgi/cgilib.h, src/cgi/multimon.c, src/cgi/upsfetch.c,
	src/drivers/drivers.c, src/drivers/apcsmart/apcsmart.h,
	src/drivers/apcsmart/smarteeprom.c,
	src/drivers/apcsmart/smartsetup2.c, src/drivers/dumb/dumb.h,
	src/drivers/dumb/dumboper.c, src/drivers/net/net.c,
	src/drivers/net/net.h, src/drivers/pcnet/pcnet.c,
	src/drivers/pcnet/pcnet.h, src/drivers/snmp/drv_powernet.c,
	src/drivers/snmp/snmp.c, src/drivers/snmp/snmp.h,
	src/drivers/test/testdriver.c, src/drivers/test/testdriver.h,
	src/drivers/usb/usb.c, src/drivers/usb/usb.h,
	src/drivers/usb/usb_common.h, src/drivers/usb/linux/linux-usb.c,
	src/lib/apcconfig.c, src/lib/apcexec.c, src/lib/apcfile.c,
	src/lib/apclibnis.c, src/lib/apclog.c, src/lib/apcstatus.c,
	src/lib/newups.c:

	Eliminate "warning: deprecated conversion from string constant to
	'char*'" warnings emitted from gcc-4.2.1 (earlier versions with
	-Wwrite-strings).  Contributed by Steve Yarmie
	<tribhuvanji@gmail.com>.

2007-10-04 18:33  adk0212

	* include/amutex.h, include/astring.h, include/autil.h,
	src/lib/amutex.cpp, src/lib/astring.cpp, src/lib/autil.cpp:

	Add smart string and mutex classes.

2007-09-30 15:45  adk0212

	* src/gapcmon/: gapcmon.c, gapcmon.h:

	Merge gapcmon changes from HEAD.

2007-09-22 13:35  adk0212

	* src/lib/apcstatus.c:

	Add units to NOMINV, NOMOUTV, and NOMBATTV stats.

2007-09-22 13:33  adk0212

	* include/defines.h, include/struct.h, src/drivers/usb/usb.c,
	src/lib/apcstatus.c:

	Add support for Nominal Power (aka Configured Active Power)
	reading.  Credit to Lars Randers <lars@nstec.dk> for most of the
	code.

2007-09-22 13:10  adk0212

	* include/defines.h:

	Convert eleventy skillion CI_* defines to an enumeration.

2007-09-22 08:48  adk0212

	* doc/home-page/: index.html, index.wml:

	Update web site for 3.14.2 release.

2007-09-15 17:07  adk0212

	* ChangeLog, ReleaseNotes, include/version.h:

	Update ChangeLog, ReleaseNotes, and date for 3.14.2 release.

2007-09-15 10:48  adk0212

	* src/win32/installer/: Apctray.ini, winapcupsd.nsi:

	Remove commented-out code.

2007-09-15 10:48  adk0212

	* src/win32/winmain.cpp:

	Misc cleanup.

2007-09-15 10:48  adk0212

	* src/win32/: balloonmgr.cpp, statmgr.cpp, wintray.cpp, wintray.h:

	Fix handle leaks when adding/deleting instances.

2007-09-10 19:35  adk0212

	* src/win32/build-win32-cross-tools:

	Update NSIS to 2.30.

2007-09-10 19:31  adk0212

	* include/version.h:

	Bump version to 3.14.2.

2007-09-10 19:09  adk0212

	* src/drivers/usb/: bsd/bsd-usb.c, generic/generic-usb.c,
	linux/linux-usb.c:

	Prefer FEATURE reports over INPUT reports when searching for
	usages. This will fix compatiblity with BackUPS LCD models which
	have present but non- functional INPUT reports. It may break
	compatibility with other models, so fingers are crossed.

2007-09-10 19:08  adk0212

	* src/win32/balloonmgr.cpp:

	Minor cleanup and spelling fix.

2007-08-28 19:57  adk0212

	* configure, autoconf/configure.in:

	Address g++ linker vs. libsupc++ differently: Default linker to gcc
	if none is specified. This avoids overriding LD= passed to
	configure since if the user asks for an explicit LD we really
	should honor it (and it's needed for building universal binaries on
	OS X).

2007-08-28 19:02  adk0212

	* configure, autoconf/configure.in:

	Remove dependency on libc++ (again). Must use gcc as linker when
	using libsupc++ since g++ automatically links against full libc++.

2007-08-25 15:01  adk0212

	* src/lib/newups.c:

	Fix race between attach_ups() and detach_ups() which could result
	in the UPSINFO structure being freed prematurely. Thanks to James
	Abbott <j.abbott@imperial.ac.uk> for running many tests to help me
	find this bug.

2007-08-23 18:43  adk0212

	* platforms/etc/multimon.conf:

	Correct multimon.conf humidity monitoring.  Problem fixed by
	Patrick Frei.  Reference:
	https://bugzilla.novell.com/show_bug.cgi?id=199834

2007-08-06 20:17  adk0212

	* src/win32/apctray.cpp:

	Exit apctray if GetMessage() returns an error.

2007-08-06 20:16  adk0212

	* src/win32/winups.h:

	Use enum for application-defined messages.

2007-08-06 20:16  adk0212

	* src/win32/: wintray.cpp, wintray.h:

	Redraw tray icons politely after an Explorer crash.

2007-08-05 17:31  adk0212

	* src/lib/apclibnis.c:

	Fix bug with multi-threaded net_open() calls. net_open() was using
	a global buffer for the destination address. Yikes! Bug manifestied
	itself in apctray with multiple monitors occasionally (and
	timing-dependently) pointing to the wrong UPS.

2007-08-03 15:08  adk0212

	* src/: apctest.c, apcupsd.c, lib/apcconfig.c:

	More argvalue to its primary user, apcconfig.c.

2007-08-03 15:08  adk0212

	* src/drivers/pcnet/pcnet.c:

	Remove SO_REUSEADDR; we'd only need this for TCP. Set SO_BROADCAST
	since some platforms (Windows) seem to require it in order to
	receive broadcast packets. (Most platforms use it only to enable
	*sending* broadcasts.)

2007-08-03 14:41  adk0212

	* src/lib/apcexec.c:

	Don't leak unnecessary descriptors to child when execing
	apccontrol.

2007-08-03 11:49  adk0212

	* src/drivers/apcsmart/smart.c:

	Wait 20 seconds before declaring COMMLOST. This is necessary when
	using a smart serial cable on an UPS with an SNMP monitoring card
	installed. The SNMP card appears to disrupt serial comms for
	several seconds when interesting events are in progress.

2007-08-03 11:47  adk0212

	* examples/smartsim.c:

	Add command help key since I can never remember what the keycodes
	are.

2007-08-03 11:20  adk0212

	* INSTALL, examples/safe.apccontrol.in, platforms/apccontrol.in,
	platforms/darwin/apccontrol.in, platforms/freebsd/apccontrol.in,
	platforms/mingw/apccontrol.bat, platforms/openbsd/apccontrol.in,
	platforms/sun/apccontrol.in:

	apccontrol cleanups: powerout and mainsback should not wall; that
	is done by onbattery/offbattery under the control of
	ONBATTERYDELAY. Also remove obsolete 'restartme' event from scripts
	and documentation.

2007-08-03 11:17  adk0212

	* src/apcaccess.c:

	Remove lots of obsolete code. 'status' is now the only supported
	option.

2007-08-01 19:05  adk0212

	* src/drivers/pcnet/pcnet.c:

	Enable SO_REUSEADDR on pcnet socket to prevent false EADDRINUSE
	after quick restarts.

2007-07-26 16:36  adk0212

	* platforms/mingw/apccontrol.bat:

	Remove duplicate line. Noticed by David P. Mott <dpmott@sep.com>.

2007-07-20 12:17  adk0212

	* examples/smartsim.c:

	Add support for simulating comm failure.

2007-07-17 18:54  adk0212

	* examples/hid-ups.c:

	Include /dev in hiddev search.

2007-07-17 18:50  adk0212

	* examples/hid-ups.c:

	Report time delta from start of program when displaying events.
	Contributed by David Fries <david@fries.net>.

2007-07-16 20:28  adk0212

	* src/drivers/usb/usb.c:

	Add workaround for broken BackUPS Pro model that returns certain
	reports encoded in ASCII. Based on a patch from David Fries
	<David@Fries.net>.

2007-07-14 13:26  adk0212

	* src/win32/: apctray.cpp, winups.h:

	Add/remove tray icons on the fly as instances are added or deleted.

2007-07-14 13:05  adk0212

	* src/win32/: winres.h, winres.rc, wintray.cpp, wintray.h:

	Add HOST field showing hostname:port to context menu.

2007-07-14 13:04  adk0212

	* src/win32/build-win32-cross-tools:

	Update NSIS to version 2.29.

2007-07-14 12:53  adk0212

	* src/win32/apctray.cpp:

	Disable autorun when last instance removed.

2007-07-01 14:30  adk0212

	* src/drivers/snmp/snmp.c:

	Fix SNMP port selection. Newer versions of Net-SNMP appear to
	ignore the session remote_port setting. The only way to override
	the default port is to include it in the peername string.

2007-06-29 18:18  adk0212

	* src/drivers/usb/linux/linux-usb.c:

	Fix linux-usb device detection bug when multiple hiddev nodes are
	present.  Fixes Fedora Bugzilla #245864:
	<https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=245864>

2007-06-19 20:43  adk0212

	* doc/home-page/: index.html, index.wml:

	Update for 3.14.2-win32beta2 release.

2007-06-18 20:23  adk0212

	* ChangeLog:

	Regen ChangeLog after committing forgotten files.

2007-06-18 19:49  adk0212

	* include/defines.h:

	Change CMD* definitions to enumeration.

2007-06-18 19:49  adk0212

	* src/action.c:

	Remove unused CMDDOREBOOT.

2007-06-18 19:47  adk0212

	* src/lib/apcevents.c:

	Remove unused code.

2007-06-18 19:45  adk0212

	* ChangeLog:

	Regen ChangeLog for 3.14.2-win32beta2.

2007-06-18 19:38  adk0212

	* ReleaseNotes, include/version.h:

	Update for 3.14.2-win32beta2 release.

2007-06-17 20:19  adk0212

	* src/win32/: statmgr.cpp, statmgr.h, wintray.cpp:

	Change StatMgr::Get() to return a managed string.

2007-06-17 20:14  adk0212

	* src/win32/: apctray.cpp, statmgr.cpp, statmgr.h, wintray.cpp,
	wintray.h:

	Clean up apctray needless inlining and memory management.

2007-06-17 19:49  adk0212

	* src/win32/balloonmgr.cpp:

	Cleanup.

2007-06-17 19:47  adk0212

	* src/win32/balloonmgr.cpp:

	Gracefully handle unexpected return values from
	WaitForMultipleObjects().

2007-06-17 16:07  adk0212

	* src/win32/popup.c:

	Remove balloon notice support from popup utility. Furthermore, only
	display popup if we're on an ancient OS, apctray is not running, or
	balloon tips are disabled via a group policy. This way win98 and NT
	users will still get notifications of events, as will users not
	running apctray.

2007-06-17 15:54  adk0212

	* src/win32/wintray.cpp:

	Misc improvements: Detect self-test and set status string
	accordingly.  Include UPS name in tool tip, when we know it. Change
	status string for NIS connection errors to distinguish that state
	from COMMLOST.

2007-06-17 15:19  adk0212

	* src/win32/: apctray.cpp, winmain.cpp:

	Windows NT doesn't like the "Global\\" prefix on semaphore names.

2007-06-17 13:19  adk0212

	* src/win32/wintray.cpp:

	Fix bug where COMMLOST status transition was not reflected by icon.

2007-06-17 13:15  adk0212

	* src/win32/wintray.cpp:

	Suppress initial status balloon.

2007-06-17 13:12  adk0212

	* src/win32/balloonmgr.cpp:

	Misc cleanup.

2007-06-17 12:14  adk0212

	* src/win32/: Makefile.in, apctray.cpp, balloonmgr.cpp,
	balloonmgr.h, winres.rc, wintray.cpp, wintray.h:

	Completely rewrite balloon tip handling. Balloon tips are posted
	automatically when the status text changes. This eliminates the
	need for the clunky "Receive local notifications" setting and
	allows us to post balloons for state changes on remote Apcupsd
	instances. Introduce the BalloonMgr to work around Windows
	one-balloon-at-a-time limitation. When monitoring multiple Apcupsd
	instances it will be common to need to post multiple balloon tips
	at once. The BalloonMgr handles posting the tips one at a time and
	timing the active balloon out early if new ones are waiting. This
	way all balloons will be shown, one after another.

2007-06-17 09:42  adk0212

	* examples/smartsim.c:

	Add support for simulating battery attach/detach.

2007-06-17 08:54  adk0212

	* src/win32/email.c:

	Fix indentation.

2007-06-13 20:07  adk0212

	* src/win32/winevents.cpp:

	Reverse order of events in listbox so most recent is always at the
	top.

2007-06-13 18:35  adk0212

	* src/win32/apctray.cpp:

	Use NotifyUser when notifying about multiple instances so it obeys
	the /quiet flag.

2007-06-13 18:34  adk0212

	* src/win32/apctray.cpp:

	Prevent multiple instances of Apctray.

2007-06-13 18:29  adk0212

	* src/win32/: statmgr.cpp, statmgr.h, winstat.cpp, winevents.cpp:

	Use some STL to simplify GetAll() and GetEvents() calls.

2007-06-10 16:05  adk0212

	* src/win32/winstat.cpp:

	Fix indentation.

2007-06-10 16:05  adk0212

	* src/win32/winres.rc:

	Add refresh button to events box.

2007-06-10 16:04  adk0212

	* src/win32/winevents.cpp:

	Add refresh button list stats now has.

2007-06-10 14:03  adk0212

	* doc/home-page/: index.html, index.wml:

	Update web site for 3.14.2-beta1 release.

2007-06-10 10:13  adk0212

	* ChangeLog, ReleaseNotes, include/version.h:

	Final updates for apcupsd-3.14.2-win32beta1 release.

2007-06-10 09:34  adk0212

	* src/win32/apctray.cpp:

	Misc updates and small bug fixes.

2007-06-10 09:33  adk0212

	* src/win32/installer/: Apctray.ini, winapcupsd.nsi:

	Updates for multi-instance apctray. Remove apctray parameter
	customization option for now.

2007-06-09 21:34  adk0212

	* src/win32/: winres.h, winres.rc, winstat.cpp, wintray.cpp,
	wintray.h:

	More multiple instance improvements. Also add refresh button to
	detailed status dialog.

2007-06-09 20:02  adk0212

	* src/win32/: apctray.cpp, winres.h, winres.rc, wintray.cpp,
	wintray.h, winups.h:

	More changes for better multiple monitor support.

2007-06-09 15:47  adk0212

	* src/win32/: apctray.cpp, statmgr.cpp, winres.h, winres.rc,
	wintray.cpp, wintray.h, winups.h:

	Major rework to support monitoring multiple apcupsds with a single
	apctray instantiation. Includes basic management of monitoring
	instances. More fancy stuff to come.

2007-06-07 19:43  adk0212

	* src/win32/: apctray.cpp, wintray.cpp, wintray.h,
	installer/common.nsh:

	Updates for running multiple apctray instances simultaneously and
	properly shutting them down.

2007-06-06 22:11  adk0212

	* src/win32/wintray.cpp:

	Fix timeout bug.

2007-06-06 22:06  adk0212

	* src/win32/: wintray.cpp, wintray.h:

	Shutdown status polling thread cleanly.

2007-06-06 22:05  adk0212

	* src/win32/: statmgr.cpp, statmgr.h:

	Grab lock during destruction to prevent further operations.  Also
	add copyright blocks.

2007-06-06 21:26  adk0212

	* src/win32/: statmgr.cpp, statmgr.h:

	Reuse sockets in StatMgr. This prevents build-up of large numbers
	of sockets in the TIME_WAIT state. Also implement proper locking.

2007-06-06 19:53  adk0212

	* src/lib/apcstatus.c:

	Kill FillEventsBox function and associated grunge that is no longer
	used.

2007-06-06 19:49  adk0212

	* src/win32/apcupsd.rc:

	Remove unused file.

2007-06-06 19:44  adk0212

	* src/win32/Makefile.in:

	Build object files in obj/ to reduce source dir clutter.

2007-06-06 18:53  adk0212

	* src/win32/: Apctray.ini, EditApcupsdConf.ini, InstallService.ini,
	Makefile.in, common.nsh, params.nsh, util.nsh, winapcupsd.nsi,
	installer/Apctray.ini, installer/EditApcupsdConf.ini,
	installer/InstallService.ini, installer/common.nsh,
	installer/params.nsh, installer/util.nsh, installer/winapcupsd.nsi:

	Move installer files to installer/ directory. There are enough of
	them now that we should stop cluttering the main win32 source dir.

2007-06-06 18:29  adk0212

	* src/win32/winapcupsd.nsi:

	Add back in the finish page with ReleaseNotes and apcupsd.org link.

2007-06-06 18:28  adk0212

	* src/win32/common.nsh:

	Increase sleep time to 2 seconds. 1 second was borderline.

2007-06-05 20:42  adk0212

	* src/win32/: common.nsh, winapcupsd.nsi:

	More start/stop rework. Add new common.nsh file to be shared
	between normal and uninstall context.

2007-06-05 20:41  adk0212

	* src/win32/: apctray.cpp, wintray.cpp:

	Fix refresh again. Pretty soon I am going to run out of ways to
	screw this up.

2007-06-05 18:43  adk0212

	* src/win32/: Apctray.ini, InstallService.ini, winapcupsd.nsi:

	Many more installer updates. Move static text to page .ini files.
	Add code to handle polite start/stop of apcupsd and apctray.

2007-06-05 18:39  adk0212

	* src/win32/winservice.h:

	Maintain a registry flag to indicate if apcupsd is installed as a
	service.  This used to be done by the installer, but would get out
	of sync if the user ran 'apcupsd /install' by hand.

2007-06-05 18:34  adk0212

	* src/win32/winservice.cpp:

	Maintain a registry flag to indicate if apcupsd is installed as a
	service.  This used to be done by the installer, but would get out
	of sync if the user ran 'apcupsd /install' by hand.

2007-06-05 18:33  adk0212

	* src/win32/apctray.cpp:

	When installing, only add command line parameters if they were
	supplied by the user. Do not add them when using default settings.
	Also fix bug where default refresh was 1000 seconds (should be 1
	second).

2007-06-03 22:38  adk0212

	* src/win32/: Apctray.ini, winapcupsd.nsi:

	Add custom page for installing Apctray and configuring its
	parameters.

2007-06-03 13:05  adk0212

	* src/win32/: InstallService.ini, winapcupsd.nsi:

	Add custom page for installing apcupsd as a service and optionally
	starting it instead of using popup dialogs during file install.

2007-06-03 13:04  adk0212

	* src/win32/EditApcupsdConf.ini:

	Add definition for edit apcupsd.conf custom page.

2007-06-03 12:38  adk0212

	* src/win32/winservice.cpp:

	Suppress service-already-exists errors when in quiet mode.

2007-06-03 12:31  adk0212

	* src/win32/: compat/compat.cpp, compat/compat.h, apctray.cpp,
	winmain.cpp, winservice.cpp, winservice.h:

	Move GetArg() to common library and use it from winmain and
	apctray.  Add /quiet switch to winmain to suppress /install and
	/remove dialogs.

2007-06-03 11:35  adk0212

	* src/win32/winapcupsd.nsi:

	Add custom installer page for editing apcupsd.conf instead of using
	a popup during file installation.

2007-06-02 23:48  adk0212

	* src/win32/build-win32-cross-tools:

	Update NSIS to 2.27 for better x64 compatibility.

2007-06-02 23:48  adk0212

	* src/win32/winapcupsd.nsi:

	Updates for apctray. Create -Startup and -Finish hidden sections
	for common operations.

2007-06-02 23:45  adk0212

	* src/win32/statmgr.cpp:

	Tweak spacing in GetAll() to match apcaccess format for longer
	keys.

2007-06-02 23:24  adk0212

	* src/win32/apctray.cpp:

	Add /kill command line option for shutting down apctray instance.

2007-06-02 19:07  adk0212

	* src/win32/popup.c:

	Update window name used by popup.exe so it finds apctray now.

2007-06-02 18:57  adk0212

	* src/win32/: statmgr.cpp, wintray.cpp:

	Rework sprintf_realloc_append() to account for the fact that on
	Win98 vsnprintf() returns -1 if the string will not fit rather than
	the number of characters required. Argh. Also remove unnecessary
	UpdateTrayIcon() calls from wintray.c.

2007-06-02 18:22  adk0212

	* src/win32/: apctray.cpp, winres.h, winres.rc, wintray.cpp:

	Add menu option to remove apctray from registry. All well-behaved
	tray applets should have this!

2007-06-02 18:04  adk0212

	* src/win32/apctray.cpp:

	Add command line options to install and remove apctray from autorun
	list in the registry.

2007-06-02 17:34  adk0212

	* src/win32/apctray.cpp:

	Add support for setting host, port, and refresh interval via
	command line.

2007-06-02 16:28  adk0212

	* src/win32/winres.rc:

	Update about box.

2007-06-02 15:22  adk0212

	* src/win32/: apctray.cpp, statmgr.cpp, wintray.cpp, wintray.h:

	Move status polling to a thread instead of a timer so we don't
	block the message loop while updating status. This fixes the
	annoying pauses in GUI response. More misc cleanups and small bug
	fixes.

2007-06-02 13:46  adk0212

	* src/win32/: apctray.cpp, statmgr.cpp, winevents.cpp, winstat.cpp,
	wintray.cpp, wintray.h:

	Misc fixes. apctray is working now.

2007-06-02 13:23  adk0212

	* src/win32/: Makefile.in, apctray.cpp, statmgr.cpp, statmgr.h,
	winevents.cpp, winevents.h, winstat.cpp, winstat.h, wintray.cpp,
	wintray.h:

	More refactoring. Add StatMgr class to handle fetching stats from
	the UPS using NIS. Kill global variables and move global stats and
	events code to their proper classes.

2007-06-02 11:12  adk0212

	* src/win32/: Makefile.in, apctray.cpp, wintray.cpp, wintray.h:

	Move modified tray menu code back to wintray.cpp. Misc cleanups to
	wintray.

2007-06-01 20:12  adk0212

	* src/win32/: apctray.cpp, winabout.cpp, winabout.h, winevents.cpp,
	winevents.h, winstat.cpp, winstat.h, wintray.h, winups.h:

	Cleanup of winabout, winevents, and winstat. Everthing compiles
	again.

2007-05-31 20:11  adk0212

	* src/win32/: Makefile.in, apctray.cpp, winmain.cpp,
	winservice.cpp, winservice.h, winups.h, compat/compat.h:

	First step of major win32 service and tray icon code
	refactor/rewrite.  This is part of the changes necessary for tray
	icon support on Vista.	Clean up winservice and winmain. Eliminate
	lots of unused code.  Simplify code where possible. Remove tray
	icon code from apcupsd itself.	Add apctray.cpp for standalone tray
	icon module designed to gather status via NIS.

2007-05-31 20:11  adk0212

	* src/win32/build-win32-cross-tools:

	Remove OpenGL and DirectX libraries, as they are not needed for
	Apcupsd.

2007-05-28 07:03  fleetworks

	* platforms/: mandrake/apcupsd.spec.in, suse/apcupsd.spec.in:

	RHEL5 update.

2007-05-27 13:20  adk0212

	* platforms/contrib-rpm/build_rpm.sh:

	Add rhel5 to contrib-rpm.

2007-05-27 13:17  adk0212

	* platforms/redhat/apcupsd.spec.in:

	Fix changelog copy-n-paste error.

2007-05-27 13:15  adk0212

	* platforms/redhat/apcupsd.spec.in:

	Add rhel5 support in spec.

2007-05-26 15:07  adk0212

	* doc/home-page/: index.html, index.wml:

	Update website for 3.14.1 release.

2007-05-04 19:18  adk0212

	* ChangeLog:

	Update ChangeLog.

2007-05-04 19:17  adk0212

	* ReleaseNotes, include/version.h:

	Maybe this time...

2007-05-03 18:31  adk0212

	* src/action.c:

	Do not attempt to cancel shutdowns. Once a shutdown has been
	started there is no way to cleanly stop it and recover. Plus
	deleting the powerfail file causes killpower to be skipped, leaving
	the server shutdown and not restarted. Reported by Yvon Lafaille
	<yvon.lafaille@yahoo.fr>.

2007-05-01 20:26  adk0212

	* src/drivers/usb/linux/linux-usb.c:

	Rewrite device opening logic. The new logic works as follows:	 -
	If user specifies a DEVICE, we will open that device and that
	device	    only. There is no fallback to autodetect. This is
	generaly what users	 expect when they explicitly give DEVICE.
	  - If no DEVICE is specified, we autodetect as before.
	Furthermore, if       we lose the connection to the device, we
	prefer to re-open the same	 device again, but will restart
	autodetection if that fails.	 - If DEVICE is specified using the
	deprecated '[]' syntax, just do       normal autodetection as if
	DEVICE had not been specified at all.

2007-04-30 22:14  adk0212

	* src/drivers/snmp/drv_powernet.c:

	Disable a few CIs that SNMP cards do not support.

2007-04-30 21:37  adk0212

	* src/: action.c, apctest.c:

	Increase self-test timeout to 40 seconds to accomodate the RS 800.
	Contributed by Lars Randers <lars@nstec.dk>.

2007-04-27 19:30  adk0212

	* src/apctest.c:

	Fix apctest crash. When in the EEPROM programming section of
	apctest, if you try to print EEPROM values (item 1) more than once
	during the same session, the program segfaults.  Contributed by
	Ivaylo Haratcherev <I.J.Haratcherev@tudelft.nl>.

2007-04-27 19:25  adk0212

	* src/action.c:

	Normalize shut remote message.

2007-04-27 19:24  adk0212

	* src/drivers/pcnet/pcnet.c:

	Add support for PCNET remote shutdown (SD) signal. Contributed by
	Ivaylo Haratcherev <I.J.Haratcherev@tudelft.nl> and Moshe Hyzon
	<moshe.hyzon@grantstreet.com>.

2007-04-23 19:47  adk0212

	* ChangeLog:

	Rev ChangeLog.

2007-04-23 19:45  adk0212

	* include/version.h:

	Did I say "final"?

2007-04-23 19:37  adk0212

	* src/apctest.c:

	Fix typo in error message.  Reported by Ashley M. Kirchner
	<ashley@pcraft.com>

2007-04-23 19:35  adk0212

	* platforms/redhat/apcupsd.in:

	Update to match Fedora Extras packaging:   - Add "force-reload"
	aliased to "restart"   - "reload" outputs a not implemented error
	- "status" uses the status() function to return the proper LSB
	status	    code and runs apcaccess only if the daemon is running.
	Contributed by Orion Poplawski <orion@cora.nwra.com>.

2007-04-21 20:37  adk0212

	* ChangeLog:

	Update ChangeLog for 3.14.1 (again).

2007-04-21 20:35  adk0212

	* ReleaseNotes, include/version.h:

	Final updates for 3.14.1.

2007-04-21 19:27  adk0212

	* src/apctest.c:

	Fix link error with --disable-apcsmart (getline missing).  Reported
	by Ashley M. Kirchner <ashley@pcraft.com>

2007-04-18 19:33  adk0212

	* ChangeLog:

	Updated changelog for 3.14.1.

2007-04-18 19:30  adk0212

	* ReleaseNotes, include/version.h:

	Prep for 3.14.1 release.

2007-03-25 15:38  adk0212

	* src/lib/apclibnis.c:

	Prevent infinite hang in read_nbytes() when server disappears.
	Many thanks to Jan Ceuleers <jan.ceuleers@computer.org> for
	reporting the hanging and gathering data to track down the cause.

2007-03-25 15:34  adk0212

	* src/libusbhid/parse.c:

	Remove references to int8_t and int16_t.

2007-03-05 22:41  adk0212

	* src/libusbhid/usbcompat.h:

	Kill stdint.h include since OpenBSD does not appear to have it.

2007-03-03 16:40  adk0212

	* platforms/darwin/: ApcupsdDaemon.Info.plist,
	ApcupsdDaemon.Info.plist.in, ApcupsdPkg.Info.plist,
	ApcupsdPkg.Info.plist.in, ApcupsdUsbShim.Info.plist,
	ApcupsdUsbShim.Info.plist.in:

	Hey, genius... Archive foo.bar.in, not foo.bar.

2007-03-03 16:28  adk0212

	* configure:

	Regen with Mac OS X installer changes.

2007-03-03 16:23  adk0212

	* autoconf/configure.in,
	platforms/darwin/ApcupsdDaemon.Description.plist,
	platforms/darwin/ApcupsdDaemon.Info.plist,
	platforms/darwin/ApcupsdDaemon.postflight,
	platforms/darwin/ApcupsdDaemon.preflight,
	platforms/darwin/ApcupsdPkg.Description.plist,
	platforms/darwin/ApcupsdPkg.Info.plist,
	platforms/darwin/ApcupsdUsbShim.Description.plist,
	platforms/darwin/ApcupsdUsbShim.Info.plist,
	platforms/darwin/ApcupsdUsbShim.postflight,
	platforms/darwin/Makefile.in, platforms/darwin/Welcome.txt:

	Add binary installer support for Mac OS X.

2007-02-17 12:02  adk0212

	* autoconf/aclocal.m4:

	Add missing newline at end of file.  Discovered by Sergey Y. Afonin
	<asy@kraft-s.ru>.

2007-02-17 12:00  adk0212

	* platforms/mingw/apccontrol.bat:

	Fix typo: "%sbindir\%popup" -> "%sbindir%\popup" Discovered by
	Stefan.Hegnauer@elektrobit.com.

2007-02-13 19:02  adk0212

	* src/win32/popup.c:

	Detect when balloon tips have been disabled via a group policy and
	fall back on the standard popup message box.