-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
5649 lines (3655 loc) · 233 KB
/
ChangeLog
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
/***************************************************************************/
/* ChangeLog of Apcupsd 3.14.x */
/* */
/* Adam Kropelin <[email protected]> */
/* */
/* http://www.apcupsd.com/ */
/* http://sourceforge.net/projects/apcupsd */
/***************************************************************************/
------------------------------------------------------------------------
r2376 | adk0212 | 2016-05-04 09:57:08 -0400 (Wed, 04 May 2016) | 2 lines
Add battery constant for SU3000NET (h/t David Harrison <[email protected]>)
------------------------------------------------------------------------
r2375 | adk0212 | 2016-05-04 09:51:57 -0400 (Wed, 04 May 2016) | 2 lines
Update build notes to call out need for libusb patch
------------------------------------------------------------------------
r2374 | adk0212 | 2016-05-04 09:46:02 -0400 (Wed, 04 May 2016) | 2 lines
Fix successful interrupt transfers with timeout >= 1 second
------------------------------------------------------------------------
r2373 | adk0212 | 2016-05-03 16:04:58 -0400 (Tue, 03 May 2016) | 2 lines
More efficient handling of long timeouts
------------------------------------------------------------------------
r2372 | adk0212 | 2016-05-03 15:32:46 -0400 (Tue, 03 May 2016) | 3 lines
darwin libusb fixes for supporting timeouts on interrupt transfers
Required for MODBUS/USB reliability
------------------------------------------------------------------------
r2371 | adk0212 | 2016-04-18 16:56:43 -0400 (Mon, 18 Apr 2016) | 2 lines
Remove obsolete apcupsd binaries from /sbin
------------------------------------------------------------------------
r2370 | adk0212 | 2016-04-18 16:43:09 -0400 (Mon, 18 Apr 2016) | 2 lines
Remove temp file
------------------------------------------------------------------------
r2369 | adk0212 | 2016-04-18 16:26:31 -0400 (Mon, 18 Apr 2016) | 2 lines
Regenerate configure script with changes to preprocess additional darwin platform files
------------------------------------------------------------------------
r2368 | adk0212 | 2016-04-18 16:25:33 -0400 (Mon, 18 Apr 2016) | 6 lines
Fixes so Mac OS X builds obey sbindir
- Enables moving apcupsd executables from /sbin to /usr/local/sbin for compatibility with 10.11 System Integrity Protection (aka rootless)
- Autogen apcupsd-start, apcupsd-uninstall, org.apcupsd.apcupsd.plist scripts from configure so they have proper sbindir incorporated instead of hard coded /sbin
- Update darwin Makefile to obey sbindir
- Update darwin build notes to reflect use of --sbindir= argument to configure
------------------------------------------------------------------------
r2367 | adk0212 | 2016-04-18 16:20:27 -0400 (Mon, 18 Apr 2016) | 2 lines
Install signed copy of ApcupsdDummy.kext
------------------------------------------------------------------------
r2366 | adk0212 | 2016-01-29 16:28:07 -0500 (Fri, 29 Jan 2016) | 2 lines
Sign ApcupsdDummy.kext
------------------------------------------------------------------------
r2365 | adk0212 | 2016-01-19 12:28:52 -0500 (Tue, 19 Jan 2016) | 2 lines
Remove use of BSD USB driver; all platforms except Linux use generic-usb now
------------------------------------------------------------------------
r2364 | adk0212 | 2016-01-19 12:03:20 -0500 (Tue, 19 Jan 2016) | 3 lines
Remove use of pthread_setname_np.
Too many variants, not enough value.
------------------------------------------------------------------------
r2363 | adk0212 | 2016-01-19 10:04:37 -0500 (Tue, 19 Jan 2016) | 3 lines
test(1) uses "=" for string equality. "==" is a bashism.
Patch from Patrick Welche <[email protected]>
------------------------------------------------------------------------
r2362 | adk0212 | 2015-12-19 16:30:40 -0500 (Sat, 19 Dec 2015) | 3 lines
Fix shutdown failure on Windows when UPSNAME includes spaces
- Quote UPSNAME field when building apccontrol command line
------------------------------------------------------------------------
r2361 | adk0212 | 2015-10-05 18:29:56 -0400 (Mon, 05 Oct 2015) | 2 lines
Update apcupsd.spec for RHEL6 (from David Ranch <[email protected]>)
------------------------------------------------------------------------
r2360 | adk0212 | 2015-09-24 16:14:16 -0400 (Thu, 24 Sep 2015) | 2 lines
Add apparent power measurement and nominal values
------------------------------------------------------------------------
r2359 | adk0212 | 2015-09-24 15:58:19 -0400 (Thu, 24 Sep 2015) | 2 lines
Increase resolution of OUTCURNT to 0.01 Amps as suggested by Manfred Schwarb <[email protected]>
------------------------------------------------------------------------
r2358 | adk0212 | 2015-09-21 11:02:18 -0400 (Mon, 21 Sep 2015) | 2 lines
Fixes for ModbusUsbComm::WaitIdle
------------------------------------------------------------------------
r2357 | adk0212 | 2015-09-20 11:01:39 -0400 (Sun, 20 Sep 2015) | 2 lines
Add output current to status display
------------------------------------------------------------------------
r2356 | adk0212 | 2015-09-20 11:01:17 -0400 (Sun, 20 Sep 2015) | 3 lines
Add support for displaying output currnent on MODBUS
- Also rename {REAL,APPARENT}_POWER usages to clarify that they represent percent-of-nominal
------------------------------------------------------------------------
r2355 | adk0212 | 2015-09-20 10:59:32 -0400 (Sun, 20 Sep 2015) | 2 lines
Move eeprom to static data section
------------------------------------------------------------------------
r2354 | adk0212 | 2015-06-24 22:29:14 -0400 (Wed, 24 Jun 2015) | 5 lines
Fix building bsd-usb driver
Correct link order when bsd-usb is enabled.
This was broken when modbus-usb support was added.
Reported by Kirill Bychkov <[email protected]>
------------------------------------------------------------------------
r2352 | adk0212 | 2015-05-31 11:55:44 -0400 (Sun, 31 May 2015) | 2 lines
Update ChangeLog
------------------------------------------------------------------------
r2351 | adk0212 | 2015-05-31 11:54:57 -0400 (Sun, 31 May 2015) | 2 lines
Update ReleaseNotes
------------------------------------------------------------------------
r2350 | adk0212 | 2015-05-30 16:56:12 -0400 (Sat, 30 May 2015) | 2 lines
Prep for 3.14.14 release
------------------------------------------------------------------------
r2349 | adk0212 | 2015-05-09 11:33:29 -0400 (Sat, 09 May 2015) | 2 lines
Remove driver subdirs during uninstall
------------------------------------------------------------------------
r2348 | adk0212 | 2015-05-09 11:28:33 -0400 (Sat, 09 May 2015) | 3 lines
Fix missing DLLs when installing only apctray
Reported by [email protected]
------------------------------------------------------------------------
r2347 | adk0212 | 2015-03-25 15:55:46 -0400 (Wed, 25 Mar 2015) | 2 lines
Add 'svnclean' target to remove all files that show as unversioned in svn
------------------------------------------------------------------------
r2346 | adk0212 | 2015-03-24 23:53:39 -0400 (Tue, 24 Mar 2015) | 3 lines
Remove obsolete NET-SNMP driver
This has been replaced by the snmplite driver for many years now.
------------------------------------------------------------------------
r2345 | adk0212 | 2015-03-22 11:58:02 -0400 (Sun, 22 Mar 2015) | 2 lines
CID107690 Unchecked return value
------------------------------------------------------------------------
r2344 | adk0212 | 2015-03-22 11:51:42 -0400 (Sun, 22 Mar 2015) | 3 lines
CID107691 - Pointer to local outside scope
UPSINFO goes out of scope before use via 'host' pointer
------------------------------------------------------------------------
r2343 | adk0212 | 2015-03-21 23:21:42 -0400 (Sat, 21 Mar 2015) | 2 lines
Set thread names using pthread_setname_np() when available
------------------------------------------------------------------------
r2342 | adk0212 | 2015-03-21 22:06:46 -0400 (Sat, 21 Mar 2015) | 2 lines
Remove obsolete comments, add my copyright
------------------------------------------------------------------------
r2341 | adk0212 | 2015-03-21 22:03:30 -0400 (Sat, 21 Mar 2015) | 3 lines
Remove workaround for old BSD userspace pthreads bug
We have been closing fds after fork() for some time now and we now have CLOEXEC set properly
------------------------------------------------------------------------
r2340 | adk0212 | 2015-03-21 18:43:19 -0400 (Sat, 21 Mar 2015) | 2 lines
Explicitly ignore return value
------------------------------------------------------------------------
r2339 | adk0212 | 2015-03-21 18:30:29 -0400 (Sat, 21 Mar 2015) | 2 lines
Fix some unchecked returns
------------------------------------------------------------------------
r2338 | adk0212 | 2015-03-21 18:19:20 -0400 (Sat, 21 Mar 2015) | 2 lines
Quiet some Coverity errors by explicitly discarding return fgetc() return value
------------------------------------------------------------------------
r2337 | adk0212 | 2015-03-21 17:59:35 -0400 (Sat, 21 Mar 2015) | 2 lines
Improvements to hosts.conf parsing logic
------------------------------------------------------------------------
r2336 | adk0212 | 2015-03-21 11:42:50 -0400 (Sat, 21 Mar 2015) | 3 lines
CID17191 - Uninitialized scalar field
Not reall a defect as _commlost_time is always set before being used, but initialize it in constructor anyway for cleanliness
------------------------------------------------------------------------
r2335 | adk0212 | 2015-03-21 11:39:46 -0400 (Sat, 21 Mar 2015) | 3 lines
Another shot at fixing CID 107532,107533
Coverity really wants you to check fcntl retval
------------------------------------------------------------------------
r2334 | adk0212 | 2015-03-20 22:26:04 -0400 (Fri, 20 Mar 2015) | 2 lines
CID107533 - Unchecked return value from library
------------------------------------------------------------------------
r2333 | adk0212 | 2015-03-20 21:47:16 -0400 (Fri, 20 Mar 2015) | 2 lines
Mark error_out_wrapper as noreturn to prevent bogus warnings
------------------------------------------------------------------------
r2332 | adk0212 | 2015-03-20 00:05:15 -0400 (Fri, 20 Mar 2015) | 2 lines
A couple more socket cloexec fixes
------------------------------------------------------------------------
r2331 | adk0212 | 2015-03-19 23:59:41 -0400 (Thu, 19 Mar 2015) | 3 lines
Fix open file descriptors leaking to exec'ed children
Use O_CLOEXEC and friends as necessary to ensure we don't leak fds to children across exec
------------------------------------------------------------------------
r2330 | adk0212 | 2015-03-19 23:58:11 -0400 (Thu, 19 Mar 2015) | 2 lines
Icon file for web site
------------------------------------------------------------------------
r2329 | adk0212 | 2015-03-06 14:05:24 -0500 (Fri, 06 Mar 2015) | 4 lines
Fixes for socket error handling
Resolves apcaccess crash when connection fails as well
as several other theoretical issues.
------------------------------------------------------------------------
r2328 | adk0212 | 2015-02-17 15:18:17 -0500 (Tue, 17 Feb 2015) | 3 lines
Now that we are using the system tcpd.h exclusively, use <tcpd.h> not "tcpd.h" include form.
h/t Manfred Schwarb <[email protected]>
------------------------------------------------------------------------
r2327 | adk0212 | 2015-02-17 08:47:54 -0500 (Tue, 17 Feb 2015) | 3 lines
Stop shipping a hacked copy of tcpd.h and wrap the include of the system header with extern "C" instead.
RedHat's tcpd.h already has __{BEGIN,END}_DECL demarcation but SuSE's (for example) does not.
------------------------------------------------------------------------
r2326 | adk0212 | 2015-02-15 17:02:53 -0500 (Sun, 15 Feb 2015) | 2 lines
Discard unexpected messages when waiting for idle
------------------------------------------------------------------------
r2325 | adk0212 | 2015-02-15 16:59:04 -0500 (Sun, 15 Feb 2015) | 2 lines
Fix hiddev binding when usbfs is mounted on /dev/bus/usb instead of /proc/bus/usb
------------------------------------------------------------------------
r2324 | adk0212 | 2015-02-08 23:35:39 -0500 (Sun, 08 Feb 2015) | 2 lines
Include file/line info in hex_dump output to match Dmsg
------------------------------------------------------------------------
r2323 | adk0212 | 2015-02-08 19:45:45 -0500 (Sun, 08 Feb 2015) | 3 lines
Detect if compiler supports -Wno-unused-result instead of using it blindly
- Also use new AX_ADD_COMPILE_FLAG for -fno-exceptions and -fno-rtti
------------------------------------------------------------------------
r2322 | adk0212 | 2015-02-08 13:00:05 -0500 (Sun, 08 Feb 2015) | 2 lines
Update FSF address
------------------------------------------------------------------------
r2321 | adk0212 | 2015-02-08 12:49:27 -0500 (Sun, 08 Feb 2015) | 4 lines
Update GPLv2 text
- Same license, just minor updates to the text to match current FSF official copy
- Changes include FSF address and removal of '19xx' style year annotations
------------------------------------------------------------------------
r2320 | adk0212 | 2015-02-08 12:42:02 -0500 (Sun, 08 Feb 2015) | 2 lines
Remove unused file
------------------------------------------------------------------------
r2319 | adk0212 | 2015-02-08 12:01:31 -0500 (Sun, 08 Feb 2015) | 3 lines
Remove subsys directory from SuSE lock file location
Reported by Manfred Schwarb <[email protected]>
------------------------------------------------------------------------
r2318 | adk0212 | 2015-02-07 13:26:15 -0500 (Sat, 07 Feb 2015) | 3 lines
Add -Wno-unused-result to suppress "ignoring return value of..." warnings.
Prefer to track these via Coverity instead of inconsistent compile warnings.
------------------------------------------------------------------------
r2317 | adk0212 | 2015-02-06 19:31:18 -0500 (Fri, 06 Feb 2015) | 5 lines
Improve COMMLOST handling for MODBUS, esp. MODBUS/USB
- Fix ModbusUsbComm to handle Open() call when already open
- Fix ModbusUpsDriver to close the Comm class when declaring COMMLOST
- Fail register read/write calls at ModbusComm layer when underlying transport is not open
------------------------------------------------------------------------
r2315 | adk0212 | 2015-02-02 21:27:26 -0500 (Mon, 02 Feb 2015) | 2 lines
Final prep for 3.14.13 release
------------------------------------------------------------------------
r2314 | adk0212 | 2015-02-02 21:16:47 -0500 (Mon, 02 Feb 2015) | 2 lines
Correct some outdated information in the apctest section of the manual
------------------------------------------------------------------------
r2313 | adk0212 | 2015-02-02 20:47:30 -0500 (Mon, 02 Feb 2015) | 2 lines
Detect failure to modify RedHat halt script and display a message instead of failing the whole installation
------------------------------------------------------------------------
r2312 | adk0212 | 2015-01-31 11:38:09 -0500 (Sat, 31 Jan 2015) | 2 lines
Prep for 3.14.13 release
------------------------------------------------------------------------
r2311 | adk0212 | 2015-01-29 09:13:25 -0500 (Thu, 29 Jan 2015) | 5 lines
Place apcupsd lock file in /var/lock instead of /var/lock/subsys on Slackware
Slackware convention is to use /var/lock; /var/lock/subsys appears to be a Red Hat thing
Reported by Sebastian Arcus <[email protected]>
Patch by Jonathan Woithe <[email protected]>
------------------------------------------------------------------------
r2310 | adk0212 | 2015-01-20 12:38:53 -0500 (Tue, 20 Jan 2015) | 3 lines
Add notes indicating that apcupsd must be restarted for config file changes to become active.
Although it might be considered "obvious", this wasn't actually written down anywhere that I could find.
------------------------------------------------------------------------
r2309 | adk0212 | 2015-01-20 12:15:04 -0500 (Tue, 20 Jan 2015) | 2 lines
Updated Windows USB driver signature, courtesy of Jernej Simončič <jernej|[email protected]>
------------------------------------------------------------------------
r2308 | adk0212 | 2015-01-19 21:45:44 -0500 (Mon, 19 Jan 2015) | 2 lines
Add debug to Tx side of modbus USB to match RS232
------------------------------------------------------------------------
r2307 | adk0212 | 2015-01-19 21:02:01 -0500 (Mon, 19 Jan 2015) | 2 lines
Remove unused a{m,re,c}alloc functions
------------------------------------------------------------------------
r2306 | adk0212 | 2015-01-19 20:58:51 -0500 (Mon, 19 Jan 2015) | 2 lines
Remove obsolete UPS list code
------------------------------------------------------------------------
r2305 | adk0212 | 2015-01-19 20:55:56 -0500 (Mon, 19 Jan 2015) | 2 lines
Remove obsolete references to myUPS
------------------------------------------------------------------------
r2304 | adk0212 | 2015-01-19 20:52:18 -0500 (Mon, 19 Jan 2015) | 2 lines
Remove obsolete file
------------------------------------------------------------------------
r2303 | adk0212 | 2015-01-19 20:48:49 -0500 (Mon, 19 Jan 2015) | 2 lines
Remove obsolete prototypes
------------------------------------------------------------------------
r2302 | adk0212 | 2015-01-19 20:38:19 -0500 (Mon, 19 Jan 2015) | 2 lines
Remove obsolete simple signaling cable info
------------------------------------------------------------------------
r2301 | adk0212 | 2015-01-19 19:09:42 -0500 (Mon, 19 Jan 2015) | 2 lines
Bump win32 usb driver date and rev
------------------------------------------------------------------------
r2300 | adk0212 | 2015-01-19 19:04:40 -0500 (Mon, 19 Jan 2015) | 2 lines
Fix typo
------------------------------------------------------------------------
r2299 | adk0212 | 2015-01-19 18:52:30 -0500 (Mon, 19 Jan 2015) | 2 lines
Fix typo
------------------------------------------------------------------------
r2298 | adk0212 | 2015-01-18 15:38:34 -0500 (Sun, 18 Jan 2015) | 2 lines
Add --enable-modbus-usb to Darwin build notes
------------------------------------------------------------------------
r2297 | adk0212 | 2015-01-18 11:41:26 -0500 (Sun, 18 Jan 2015) | 3 lines
Update supported USB VID/PID combinations in code and platform-specific drivers
- Includes several VID/PID tuples for future use as suggested by APC
------------------------------------------------------------------------
r2296 | adk0212 | 2015-01-12 11:56:25 -0500 (Mon, 12 Jan 2015) | 3 lines
Remove ancient unmaintained apcupsd.8 manpage from Debian platform directory.
The current manpage set for apcupsd is in doc/ and should be used by all platforms.
------------------------------------------------------------------------
r2295 | adk0212 | 2015-01-07 22:06:44 -0500 (Wed, 07 Jan 2015) | 2 lines
Fix handling of return value from USBDEVFS_CONNECT
------------------------------------------------------------------------
r2294 | adk0212 | 2015-01-07 21:31:27 -0500 (Wed, 07 Jan 2015) | 2 lines
Add MODBUS/USB info to apcupsd.conf comments
------------------------------------------------------------------------
r2293 | adk0212 | 2015-01-07 21:25:06 -0500 (Wed, 07 Jan 2015) | 2 lines
Add MODBUS USB setting info to apcupsd.conf(5) man page
------------------------------------------------------------------------
r2292 | adk0212 | 2015-01-07 20:54:03 -0500 (Wed, 07 Jan 2015) | 2 lines
Remove ETIMEDOUT workaround; this is no longer an issue
------------------------------------------------------------------------
r2291 | adk0212 | 2015-01-04 19:24:06 -0500 (Sun, 04 Jan 2015) | 2 lines
Update documentation for MODBUS USB.
------------------------------------------------------------------------
r2289 | adk0212 | 2015-01-04 15:41:14 -0500 (Sun, 04 Jan 2015) | 2 lines
Update ChangeLog for 3.14.13-test2
------------------------------------------------------------------------
r2288 | adk0212 | 2015-01-04 15:39:58 -0500 (Sun, 04 Jan 2015) | 2 lines
Bump version to 3.14.13-test2
------------------------------------------------------------------------
r2287 | adk0212 | 2015-01-04 15:35:43 -0500 (Sun, 04 Jan 2015) | 3 lines
Fix link error on BSD systems due to use of --{start,end}-group which only works on GNU ld
Move HidUps.cpp into libusbhid (since it is a wrapper for that library) which resolves dependency issue so we can eliminate use of --{start,end}-group
------------------------------------------------------------------------
r2285 | adk0212 | 2015-01-04 13:14:22 -0500 (Sun, 04 Jan 2015) | 2 lines
Update ChangeLog for 3.14.13-test1
------------------------------------------------------------------------
r2284 | adk0212 | 2015-01-04 13:08:07 -0500 (Sun, 04 Jan 2015) | 2 lines
Bump version for 3.14.13-test1 release
------------------------------------------------------------------------
r2283 | adk0212 | 2015-01-04 13:06:40 -0500 (Sun, 04 Jan 2015) | 4 lines
Fix WriteRegister on MODBUS USB
Response messages need to be treated individually to determine length of live data.
Previously code was assuming READ_HOLDING_REGS format which fails for WRITE_MULTIPLE_REGS.
------------------------------------------------------------------------
r2282 | adk0212 | 2015-01-03 11:26:55 -0500 (Sat, 03 Jan 2015) | 2 lines
Allow cable type of USB for MODBUS driver
------------------------------------------------------------------------
r2281 | adk0212 | 2015-01-03 11:26:33 -0500 (Sat, 03 Jan 2015) | 2 lines
Update file header comment
------------------------------------------------------------------------
r2280 | adk0212 | 2015-01-03 00:07:49 -0500 (Sat, 03 Jan 2015) | 2 lines
Add usb_interrupt_write() to winusb translation layer to support MODBUS USB
------------------------------------------------------------------------
r2279 | adk0212 | 2015-01-03 00:02:51 -0500 (Sat, 03 Jan 2015) | 2 lines
Add MODBUS USB support
------------------------------------------------------------------------
r2278 | adk0212 | 2015-01-03 00:00:58 -0500 (Sat, 03 Jan 2015) | 2 lines
Remove unused _{new,old}tio variables
------------------------------------------------------------------------
r2277 | adk0212 | 2015-01-02 23:59:59 -0500 (Fri, 02 Jan 2015) | 2 lines
Remove hidutils.c as its functionality has been subsumed into HidUps.cpp
------------------------------------------------------------------------
r2276 | adk0212 | 2015-01-02 23:50:36 -0500 (Fri, 02 Jan 2015) | 2 lines
Build drivers into separate libs to eliminate rule duplication in src/driver/Makefile
------------------------------------------------------------------------
r2275 | adk0212 | 2015-01-02 16:34:23 -0500 (Fri, 02 Jan 2015) | 3 lines
Break libusb and libusbhid interfacing code out into HidUps class.
This will allow reuse with MODBUS USB capability.
------------------------------------------------------------------------
r2274 | adk0212 | 2015-01-02 12:12:47 -0500 (Fri, 02 Jan 2015) | 2 lines
Configure support for MODBUS/USB
------------------------------------------------------------------------
r2273 | adk0212 | 2014-12-02 16:10:47 -0500 (Tue, 02 Dec 2014) | 3 lines
CID75626 Uninitialized scalar field
Remove _oldtio and _newtio members, they are not necessary
------------------------------------------------------------------------
r2272 | adk0212 | 2014-12-02 16:06:57 -0500 (Tue, 02 Dec 2014) | 3 lines
CID75625 Unchecked return value from library
Check return value from fcntl(F_GETFL) and explicitly ignore retval from fcntl(F_SETFL)
------------------------------------------------------------------------
r2271 | adk0212 | 2014-12-01 14:38:54 -0500 (Mon, 01 Dec 2014) | 2 lines
Refactor MODBUS RS232 into base and derived class
------------------------------------------------------------------------
r2270 | adk0212 | 2014-11-25 16:33:23 -0500 (Tue, 25 Nov 2014) | 3 lines
Fix apcsmart calibration on win32
Need to poll for UPS commands and keyboard input since win32 select only works with sockets
------------------------------------------------------------------------
r2269 | adk0212 | 2014-11-25 08:17:20 -0500 (Tue, 25 Nov 2014) | 2 lines
Update comment on LOCKFILE directive to resolve confusion over whether it is a FILE as the name would imply, or a DIRECTORY, which is the truth
------------------------------------------------------------------------
r2268 | adk0212 | 2014-11-24 13:25:49 -0500 (Mon, 24 Nov 2014) | 3 lines
Check for setup_device failure and exit with an error instead of continuing on.
Reported by Laurent Blume <[email protected]>
------------------------------------------------------------------------
r2267 | adk0212 | 2014-11-12 12:30:33 -0500 (Wed, 12 Nov 2014) | 2 lines
Fix libsupc++fix.cpp filename in configure
------------------------------------------------------------------------
r2266 | adk0212 | 2014-11-06 22:12:59 -0500 (Thu, 06 Nov 2014) | 2 lines
Add missing copyright banners
------------------------------------------------------------------------
r2265 | adk0212 | 2014-11-06 22:00:43 -0500 (Thu, 06 Nov 2014) | 2 lines
Use PTHREAD_MUTEX_INITIALIZER to init mutex
------------------------------------------------------------------------
r2264 | adk0212 | 2014-11-06 21:42:11 -0500 (Thu, 06 Nov 2014) | 2 lines
Bring back compat/pwd.h and move getpwuid() to it
------------------------------------------------------------------------
r2263 | adk0212 | 2014-11-06 21:28:57 -0500 (Thu, 06 Nov 2014) | 2 lines
Remove FREEBSD_SUPCPP_FIX, this file is now compiled only when needed so content can be unconditional
------------------------------------------------------------------------
r2262 | adk0212 | 2014-11-06 17:01:12 -0500 (Thu, 06 Nov 2014) | 2 lines
smtp needs pwd.h
------------------------------------------------------------------------
r2261 | adk0212 | 2014-11-06 16:51:13 -0500 (Thu, 06 Nov 2014) | 2 lines
Only build libsupc++fix.cpp when needed and in the process clean up LIBEXTRAOBJ handling
------------------------------------------------------------------------
r2260 | adk0212 | 2014-11-06 16:34:20 -0500 (Thu, 06 Nov 2014) | 2 lines
Remove unused file
------------------------------------------------------------------------
r2259 | adk0212 | 2014-11-06 16:32:25 -0500 (Thu, 06 Nov 2014) | 2 lines
Rename sleep.c to nanosleep.c since that's what it is
------------------------------------------------------------------------
r2258 | adk0212 | 2014-11-06 16:28:45 -0500 (Thu, 06 Nov 2014) | 2 lines
Remove unused file
------------------------------------------------------------------------
r2257 | adk0212 | 2014-11-06 16:26:32 -0500 (Thu, 06 Nov 2014) | 2 lines
gethostbyname is in winsock2.h on win32, so netdb.h is yet another alias for winsock2.h
------------------------------------------------------------------------
r2256 | adk0212 | 2014-11-06 16:25:54 -0500 (Thu, 06 Nov 2014) | 2 lines
Remove more unused win32/compat headers
------------------------------------------------------------------------
r2255 | adk0212 | 2014-11-06 16:11:50 -0500 (Thu, 06 Nov 2014) | 2 lines
Remove unused compat/features.h
------------------------------------------------------------------------
r2254 | adk0212 | 2014-11-06 16:10:55 -0500 (Thu, 06 Nov 2014) | 2 lines
Remove unused compat/grp.h
------------------------------------------------------------------------
r2253 | adk0212 | 2014-11-06 16:09:19 -0500 (Thu, 06 Nov 2014) | 2 lines
Rename netcompat.c -> inet_aton.c since that's the only thing in it now
------------------------------------------------------------------------
r2252 | adk0212 | 2014-11-06 16:06:50 -0500 (Thu, 06 Nov 2014) | 2 lines
More win32 compat include file cleanup
------------------------------------------------------------------------
r2251 | adk0212 | 2014-11-06 15:50:07 -0500 (Thu, 06 Nov 2014) | 2 lines
Move inet_aton() prototype to arpa/inet.h
------------------------------------------------------------------------
r2250 | adk0212 | 2014-11-06 15:31:45 -0500 (Thu, 06 Nov 2014) | 2 lines
Remove obsolete manually-written config.h for win32 builds
------------------------------------------------------------------------
r2249 | adk0212 | 2014-11-05 10:45:28 -0500 (Wed, 05 Nov 2014) | 2 lines
List libwin32compat.a as a dependency so exes are relinked when it changes
------------------------------------------------------------------------
r2248 | adk0212 | 2014-11-05 10:32:56 -0500 (Wed, 05 Nov 2014) | 2 lines
Remove USBTYPE define; it is not longer used
------------------------------------------------------------------------
r2247 | adk0212 | 2014-11-05 10:28:16 -0500 (Wed, 05 Nov 2014) | 6 lines
Big win32 compat cleanup
- Eliminate unnecessary compat functions
- Split useful functions out into individual files to reduce linking of unnecessary compats
- Move prototypes and defines to proper header files instead of jamming them all in compat.h
- Remove 90% of the includes from compat.h
------------------------------------------------------------------------
r2246 | adk0212 | 2014-11-04 21:06:09 -0500 (Tue, 04 Nov 2014) | 2 lines
Make bind_upses() a no-op if USBDEVFS_CONNECT is not available
------------------------------------------------------------------------
r2245 | adk0212 | 2014-11-04 20:58:45 -0500 (Tue, 04 Nov 2014) | 3 lines
Eliminate use of sprintf in digest2ascii
Code was fine but audits for sprintf keep tripping here so change it
------------------------------------------------------------------------
r2244 | adk0212 | 2014-11-04 20:56:46 -0500 (Tue, 04 Nov 2014) | 3 lines
Rewrite hex_dump to make it clearer that no buffers are being overrun here.
Audits for uses of sprintf and strcpy keep tripping over this code, so give in and change it even though there is no bug.
------------------------------------------------------------------------
r2243 | adk0212 | 2014-11-04 18:49:24 -0500 (Tue, 04 Nov 2014) | 2 lines
Quiet warning from insufficiently clueful compiler
------------------------------------------------------------------------
r2242 | adk0212 | 2014-11-04 18:47:16 -0500 (Tue, 04 Nov 2014) | 2 lines
Braces initializer on struct sigaction is not portable, use memset instead
------------------------------------------------------------------------
r2241 | adk0212 | 2014-11-04 16:54:07 -0500 (Tue, 04 Nov 2014) | 2 lines
Remove executable property from Makefile
------------------------------------------------------------------------
r2240 | adk0212 | 2014-11-04 16:17:53 -0500 (Tue, 04 Nov 2014) | 2 lines
Remove hiddex.txt as this is an obsolete copy from Linux docs
------------------------------------------------------------------------
r2239 | adk0212 | 2014-11-04 16:13:06 -0500 (Tue, 04 Nov 2014) | 2 lines
Exclude gapcmon with --enable-all when cross-building for mingw32
------------------------------------------------------------------------
r2238 | adk0212 | 2014-11-04 16:02:15 -0500 (Tue, 04 Nov 2014) | 2 lines
Fix TOPDIR
------------------------------------------------------------------------
r2237 | adk0212 | 2014-11-04 15:36:35 -0500 (Tue, 04 Nov 2014) | 2 lines
Move build-win32-cross-tools script to platforms/mingw
------------------------------------------------------------------------
r2236 | adk0212 | 2014-11-04 15:35:24 -0500 (Tue, 04 Nov 2014) | 2 lines
Kill off the old win32 Makefile.in ... Yay!
------------------------------------------------------------------------
r2235 | adk0212 | 2014-11-04 15:34:00 -0500 (Tue, 04 Nov 2014) | 2 lines
Remove obsolete readme
------------------------------------------------------------------------
r2234 | adk0212 | 2014-11-04 15:27:08 -0500 (Tue, 04 Nov 2014) | 2 lines
Move win32 install package creation to platforms/mingw similar to how OS X is done and update for new file locations
------------------------------------------------------------------------
r2233 | adk0212 | 2014-11-04 14:34:52 -0500 (Tue, 04 Nov 2014) | 3 lines
Test for dir existence before blindly adding /usr/local paths to {CPP,LD}FLAGS
Darwin LLVM ld complains about non-existent lib directories on the command line
------------------------------------------------------------------------
r2232 | adk0212 | 2014-11-04 14:25:05 -0500 (Tue, 04 Nov 2014) | 2 lines
Rebuild configure to incorporate BG variable for win32 background mode processes
------------------------------------------------------------------------
r2231 | adk0212 | 2014-11-04 14:17:43 -0500 (Tue, 04 Nov 2014) | 6 lines
Ability to build for win32 via normal make system instead of hardcoded src/win32/Makefile.in
Planned to do this many years ago, finally done!
Windows build is enabled via normal autoconf cross-compile "./configure --host=mingw32".
During configure, CROSSTOOLS env var selects location of mingw32 toolchain (built via build-win32-cross-tools script), default is $(topdir)/../cross-tools
Similarly, DEPKGS var points to win32 dependency package directory, default is $(topdir)/../depkgs-win32
------------------------------------------------------------------------
r2230 | adk0212 | 2014-11-04 08:30:37 -0500 (Tue, 04 Nov 2014) | 2 lines
Eliminate apc_config.h by pulling useful pieces into defines.h
------------------------------------------------------------------------
r2229 | adk0212 | 2014-11-04 08:12:56 -0500 (Tue, 04 Nov 2014) | 3 lines
Rename config.h to apcconfig.h since config.h is dangerously vague.
Win32 pthreads, for example, provides a config.h.
------------------------------------------------------------------------
r2228 | adk0212 | 2014-11-04 07:41:35 -0500 (Tue, 04 Nov 2014) | 2 lines
More warning fixes for win32 builds
------------------------------------------------------------------------
r2227 | adk0212 | 2014-11-04 07:19:09 -0500 (Tue, 04 Nov 2014) | 3 lines
CID74720 Uninitialized scalar field
Initialize _fd to INVALID_SOCKET
------------------------------------------------------------------------
r2226 | adk0212 | 2014-11-03 22:26:04 -0500 (Mon, 03 Nov 2014) | 3 lines
Remove unused and buggy strncasecmp() function
Remove unused variable from conv_unix_to_win32_path()
------------------------------------------------------------------------
r2225 | adk0212 | 2014-11-03 22:12:11 -0500 (Mon, 03 Nov 2014) | 2 lines
Fix strict alising issue in apclibnis by implementing FIONBIO ioctl in compat instead of using macro
------------------------------------------------------------------------
r2224 | adk0212 | 2014-11-03 21:44:54 -0500 (Mon, 03 Nov 2014) | 3 lines
Replace use of 'int' as socket type with sock_t, which maps to 'SOCKET' on Windows and 'int' everywhere else.
Also use INVALID_SOCKET instead of -1 for socket failure case. This fixes a bunch of warnings on Windows.
------------------------------------------------------------------------
r2223 | adk0212 | 2014-11-03 21:18:56 -0500 (Mon, 03 Nov 2014) | 3 lines
Fix a few warnings when building for win32
Many more to go...
------------------------------------------------------------------------
r2222 | adk0212 | 2014-11-03 17:35:36 -0500 (Mon, 03 Nov 2014) | 2 lines
Add <stdio.h>
------------------------------------------------------------------------
r2221 | adk0212 | 2014-11-03 17:33:22 -0500 (Mon, 03 Nov 2014) | 2 lines
Change balloonmgr to use alib containers instead of STL
------------------------------------------------------------------------
r2220 | adk0212 | 2014-11-03 09:54:57 -0500 (Mon, 03 Nov 2014) | 2 lines
Remove unnecessary header overrides; mingw versions are fine
------------------------------------------------------------------------
r2219 | adk0212 | 2014-11-03 09:47:55 -0500 (Mon, 03 Nov 2014) | 2 lines
Remove stat replacement; mingw stat seems fine
------------------------------------------------------------------------
r2218 | adk0212 | 2014-11-03 09:32:31 -0500 (Mon, 03 Nov 2014) | 2 lines
Remove manual definition of integer types; mingw provides <stdint.h>
------------------------------------------------------------------------
r2217 | adk0212 | 2014-11-02 21:55:34 -0500 (Sun, 02 Nov 2014) | 2 lines
Remove obsolete SHM_RDONLY define
------------------------------------------------------------------------
r2216 | adk0212 | 2014-11-02 21:54:38 -0500 (Sun, 02 Nov 2014) | 2 lines
Use strlcpy for strftime replacement instead of strncpy
------------------------------------------------------------------------
r2215 | adk0212 | 2014-10-30 10:35:35 -0400 (Thu, 30 Oct 2014) | 2 lines
Disable PCNET TIMELEFT workaround, causing breakage on recent UPSes
------------------------------------------------------------------------
r2214 | adk0212 | 2014-10-28 14:17:23 -0400 (Tue, 28 Oct 2014) | 3 lines
Fix installation on older Mac OS X versions
Apparently the deprecated auth= attribute is needed on these systems
------------------------------------------------------------------------
r2213 | adk0212 | 2014-10-28 13:04:05 -0400 (Tue, 28 Oct 2014) | 2 lines
First pass at application and package signing for Mac OS X
------------------------------------------------------------------------
r2212 | adk0212 | 2014-10-27 18:46:12 -0400 (Mon, 27 Oct 2014) | 2 lines
Update copyright
------------------------------------------------------------------------
r2211 | adk0212 | 2014-10-27 18:24:35 -0400 (Mon, 27 Oct 2014) | 2 lines
Remove file used by old PackageMaker scripts
------------------------------------------------------------------------
r2210 | adk0212 | 2014-10-27 18:22:43 -0400 (Mon, 27 Oct 2014) | 2 lines
Updates for packaging using pkgbuild and productbuild instead of deprecated PackageMaker
------------------------------------------------------------------------
r2209 | adk0212 | 2014-10-27 11:46:19 -0400 (Mon, 27 Oct 2014) | 2 lines
Update Mac OS X build notes for newer dev tools and packages
------------------------------------------------------------------------
r2208 | adk0212 | 2014-10-27 11:37:20 -0400 (Mon, 27 Oct 2014) | 2 lines
Add patch for libusb-0.1.12 on newer Xcode tools
------------------------------------------------------------------------
r2207 | adk0212 | 2014-10-27 10:32:43 -0400 (Mon, 27 Oct 2014) | 2 lines
Remove Growl plist
------------------------------------------------------------------------
r2206 | adk0212 | 2014-10-27 10:23:15 -0400 (Mon, 27 Oct 2014) | 2 lines
Remove Growl references in config window, hide notification enable checkbox when Notification Center is not available
------------------------------------------------------------------------
r2205 | adk0212 | 2014-10-27 09:59:45 -0400 (Mon, 27 Oct 2014) | 6 lines
More validation improvements and code cleanup
Rename BetterNumberFormatter to ActiveNumberFormatter
Split ActiveNumberFormatter out into its own file
Fail validation if any field is blank
Switch input focus to the first blank control to give the user a clue as to why we refused to close the window
------------------------------------------------------------------------
r2204 | adk0212 | 2014-10-26 22:44:24 -0400 (Sun, 26 Oct 2014) | 2 lines
Clean up preferences validation; cell background coloring was not working right on newer systems
------------------------------------------------------------------------
r2203 | adk0212 | 2014-10-26 20:49:59 -0400 (Sun, 26 Oct 2014) | 2 lines
Check in the built NIB file to allow compiling apcagent with older XCode tools
------------------------------------------------------------------------
r2202 | adk0212 | 2014-10-26 18:18:28 -0400 (Sun, 26 Oct 2014) | 3 lines
Fix issue with config 'port' field displaying with thousands separator when built with newer XCode tools
Attach a NSNumberFormatter to the config port cell and set it for no formatting
------------------------------------------------------------------------
r2201 | adk0212 | 2014-10-26 17:15:21 -0400 (Sun, 26 Oct 2014) | 2 lines
Add comments
------------------------------------------------------------------------
r2200 | adk0212 | 2014-10-26 17:12:36 -0400 (Sun, 26 Oct 2014) | 2 lines
NSMenuDelete and NSUserNotificationCenterDelegate did not exist until 10.6 and 10.8, respectively
------------------------------------------------------------------------
r2199 | adk0212 | 2014-10-26 17:06:27 -0400 (Sun, 26 Oct 2014) | 4 lines
First pass at Notification Center support for apcagent
Little rough still, but working
All the ifdefs to allow compiling with pre-10.8 SDKs is annoying
------------------------------------------------------------------------
r2198 | adk0212 | 2014-10-26 15:27:50 -0400 (Sun, 26 Oct 2014) | 3 lines
Fix bug in getLoginItem() which caused crashes on 10.5
url is not written when LSSharedFileListItemResolve fails, need to set it to nil each time
------------------------------------------------------------------------
r2197 | adk0212 | 2014-10-26 15:25:53 -0400 (Sun, 26 Oct 2014) | 2 lines
Use numeric values instead of macros for OS X version checking so that we can successfully build when the SDK predates the version being tested for
------------------------------------------------------------------------
r2196 | adk0212 | 2014-10-24 15:42:48 -0400 (Fri, 24 Oct 2014) | 3 lines
Prefer instantiateWithOwner over instantiateNibWithOwner which was deprecated in 10.8
This makes memory management of the NIB top level object array cleaner
------------------------------------------------------------------------
r2195 | adk0212 | 2014-10-24 13:58:14 -0400 (Fri, 24 Oct 2014) | 2 lines
Prefer LSSharedFileListItemCopyResolvedURL over deprecated LSSharedFileListItemResolve when deployment target allows
------------------------------------------------------------------------
r2194 | adk0212 | 2014-10-23 21:32:38 -0400 (Thu, 23 Oct 2014) | 3 lines
Kill off LoginItemsAE (login item management via Apple Events) in favor of LSSharedFileList API
This is good on 10.5 and higher, so 10.4 support is now formally dropped (and PPC along with it)
------------------------------------------------------------------------
r2193 | adk0212 | 2014-10-22 11:59:06 -0400 (Wed, 22 Oct 2014) | 3 lines
Remove Growl support from apcagent
Will be adding Notification Center support to replace Growl
------------------------------------------------------------------------
r2192 | adk0212 | 2014-10-22 09:28:46 -0400 (Wed, 22 Oct 2014) | 2 lines
CID17181,17182 Argument cannot be negative
------------------------------------------------------------------------
r2191 | adk0212 | 2014-10-21 22:37:29 -0400 (Tue, 21 Oct 2014) | 4 lines
CID17162 Dereference after null check
Only an issue if CI_STATUS were not in the CiInfo table.
But this is unnecessary code anyway, so remove it.
------------------------------------------------------------------------
r2190 | adk0212 | 2014-10-21 22:30:44 -0400 (Tue, 21 Oct 2014) | 3 lines
CID17184 Out-of-bounds access (again)
Another attempt to address this non-issue in a way that makes it clear to Coverity that there is no buffer overrun