1/***************************************************************************/ 2/* ChangeLog of Apcupsd 3.14.x */ 3/* */ 4/* Adam Kropelin <adam@kroptech.com> */ 5/* */ 6/* http://www.apcupsd.com/ */ 7/* http://sourceforge.net/projects/apcupsd */ 8/***************************************************************************/ 9 10------------------------------------------------------------------------ 11r2376 | adk0212 | 2016-05-04 09:57:08 -0400 (Wed, 04 May 2016) | 2 lines 12 13Add battery constant for SU3000NET (h/t David Harrison <dave.h@softhome.net>) 14 15------------------------------------------------------------------------ 16r2375 | adk0212 | 2016-05-04 09:51:57 -0400 (Wed, 04 May 2016) | 2 lines 17 18Update build notes to call out need for libusb patch 19 20------------------------------------------------------------------------ 21r2374 | adk0212 | 2016-05-04 09:46:02 -0400 (Wed, 04 May 2016) | 2 lines 22 23Fix successful interrupt transfers with timeout >= 1 second 24 25------------------------------------------------------------------------ 26r2373 | adk0212 | 2016-05-03 16:04:58 -0400 (Tue, 03 May 2016) | 2 lines 27 28More efficient handling of long timeouts 29 30------------------------------------------------------------------------ 31r2372 | adk0212 | 2016-05-03 15:32:46 -0400 (Tue, 03 May 2016) | 3 lines 32 33darwin libusb fixes for supporting timeouts on interrupt transfers 34Required for MODBUS/USB reliability 35 36------------------------------------------------------------------------ 37r2371 | adk0212 | 2016-04-18 16:56:43 -0400 (Mon, 18 Apr 2016) | 2 lines 38 39Remove obsolete apcupsd binaries from /sbin 40 41------------------------------------------------------------------------ 42r2370 | adk0212 | 2016-04-18 16:43:09 -0400 (Mon, 18 Apr 2016) | 2 lines 43 44Remove temp file 45 46------------------------------------------------------------------------ 47r2369 | adk0212 | 2016-04-18 16:26:31 -0400 (Mon, 18 Apr 2016) | 2 lines 48 49Regenerate configure script with changes to preprocess additional darwin platform files 50 51------------------------------------------------------------------------ 52r2368 | adk0212 | 2016-04-18 16:25:33 -0400 (Mon, 18 Apr 2016) | 6 lines 53 54Fixes so Mac OS X builds obey sbindir 55- Enables moving apcupsd executables from /sbin to /usr/local/sbin for compatibility with 10.11 System Integrity Protection (aka rootless) 56- Autogen apcupsd-start, apcupsd-uninstall, org.apcupsd.apcupsd.plist scripts from configure so they have proper sbindir incorporated instead of hard coded /sbin 57- Update darwin Makefile to obey sbindir 58- Update darwin build notes to reflect use of --sbindir= argument to configure 59 60------------------------------------------------------------------------ 61r2367 | adk0212 | 2016-04-18 16:20:27 -0400 (Mon, 18 Apr 2016) | 2 lines 62 63Install signed copy of ApcupsdDummy.kext 64 65------------------------------------------------------------------------ 66r2366 | adk0212 | 2016-01-29 16:28:07 -0500 (Fri, 29 Jan 2016) | 2 lines 67 68Sign ApcupsdDummy.kext 69 70------------------------------------------------------------------------ 71r2365 | adk0212 | 2016-01-19 12:28:52 -0500 (Tue, 19 Jan 2016) | 2 lines 72 73Remove use of BSD USB driver; all platforms except Linux use generic-usb now 74 75------------------------------------------------------------------------ 76r2364 | adk0212 | 2016-01-19 12:03:20 -0500 (Tue, 19 Jan 2016) | 3 lines 77 78Remove use of pthread_setname_np. 79Too many variants, not enough value. 80 81------------------------------------------------------------------------ 82r2363 | adk0212 | 2016-01-19 10:04:37 -0500 (Tue, 19 Jan 2016) | 3 lines 83 84test(1) uses "=" for string equality. "==" is a bashism. 85Patch from Patrick Welche <prlw1@cam.ac.uk> 86 87------------------------------------------------------------------------ 88r2362 | adk0212 | 2015-12-19 16:30:40 -0500 (Sat, 19 Dec 2015) | 3 lines 89 90Fix shutdown failure on Windows when UPSNAME includes spaces 91- Quote UPSNAME field when building apccontrol command line 92 93------------------------------------------------------------------------ 94r2361 | adk0212 | 2015-10-05 18:29:56 -0400 (Mon, 05 Oct 2015) | 2 lines 95 96Update apcupsd.spec for RHEL6 (from David Ranch <dranch@trinnet.net>) 97 98------------------------------------------------------------------------ 99r2360 | adk0212 | 2015-09-24 16:14:16 -0400 (Thu, 24 Sep 2015) | 2 lines 100 101Add apparent power measurement and nominal values 102 103------------------------------------------------------------------------ 104r2359 | adk0212 | 2015-09-24 15:58:19 -0400 (Thu, 24 Sep 2015) | 2 lines 105 106Increase resolution of OUTCURNT to 0.01 Amps as suggested by Manfred Schwarb <manfred99@gmx.ch> 107 108------------------------------------------------------------------------ 109r2358 | adk0212 | 2015-09-21 11:02:18 -0400 (Mon, 21 Sep 2015) | 2 lines 110 111Fixes for ModbusUsbComm::WaitIdle 112 113------------------------------------------------------------------------ 114r2357 | adk0212 | 2015-09-20 11:01:39 -0400 (Sun, 20 Sep 2015) | 2 lines 115 116Add output current to status display 117 118------------------------------------------------------------------------ 119r2356 | adk0212 | 2015-09-20 11:01:17 -0400 (Sun, 20 Sep 2015) | 3 lines 120 121Add support for displaying output currnent on MODBUS 122- Also rename {REAL,APPARENT}_POWER usages to clarify that they represent percent-of-nominal 123 124------------------------------------------------------------------------ 125r2355 | adk0212 | 2015-09-20 10:59:32 -0400 (Sun, 20 Sep 2015) | 2 lines 126 127Move eeprom to static data section 128 129------------------------------------------------------------------------ 130r2354 | adk0212 | 2015-06-24 22:29:14 -0400 (Wed, 24 Jun 2015) | 5 lines 131 132Fix building bsd-usb driver 133Correct link order when bsd-usb is enabled. 134This was broken when modbus-usb support was added. 135Reported by Kirill Bychkov <kirby@linklevel.net> 136 137------------------------------------------------------------------------ 138r2352 | adk0212 | 2015-05-31 11:55:44 -0400 (Sun, 31 May 2015) | 2 lines 139 140Update ChangeLog 141 142------------------------------------------------------------------------ 143r2351 | adk0212 | 2015-05-31 11:54:57 -0400 (Sun, 31 May 2015) | 2 lines 144 145Update ReleaseNotes 146 147------------------------------------------------------------------------ 148r2350 | adk0212 | 2015-05-30 16:56:12 -0400 (Sat, 30 May 2015) | 2 lines 149 150Prep for 3.14.14 release 151 152------------------------------------------------------------------------ 153r2349 | adk0212 | 2015-05-09 11:33:29 -0400 (Sat, 09 May 2015) | 2 lines 154 155Remove driver subdirs during uninstall 156 157------------------------------------------------------------------------ 158r2348 | adk0212 | 2015-05-09 11:28:33 -0400 (Sat, 09 May 2015) | 3 lines 159 160Fix missing DLLs when installing only apctray 161Reported by keithg@pobox.com 162 163------------------------------------------------------------------------ 164r2347 | adk0212 | 2015-03-25 15:55:46 -0400 (Wed, 25 Mar 2015) | 2 lines 165 166Add 'svnclean' target to remove all files that show as unversioned in svn 167 168------------------------------------------------------------------------ 169r2346 | adk0212 | 2015-03-24 23:53:39 -0400 (Tue, 24 Mar 2015) | 3 lines 170 171Remove obsolete NET-SNMP driver 172This has been replaced by the snmplite driver for many years now. 173 174------------------------------------------------------------------------ 175r2345 | adk0212 | 2015-03-22 11:58:02 -0400 (Sun, 22 Mar 2015) | 2 lines 176 177CID107690 Unchecked return value 178 179------------------------------------------------------------------------ 180r2344 | adk0212 | 2015-03-22 11:51:42 -0400 (Sun, 22 Mar 2015) | 3 lines 181 182CID107691 - Pointer to local outside scope 183UPSINFO goes out of scope before use via 'host' pointer 184 185------------------------------------------------------------------------ 186r2343 | adk0212 | 2015-03-21 23:21:42 -0400 (Sat, 21 Mar 2015) | 2 lines 187 188Set thread names using pthread_setname_np() when available 189 190------------------------------------------------------------------------ 191r2342 | adk0212 | 2015-03-21 22:06:46 -0400 (Sat, 21 Mar 2015) | 2 lines 192 193Remove obsolete comments, add my copyright 194 195------------------------------------------------------------------------ 196r2341 | adk0212 | 2015-03-21 22:03:30 -0400 (Sat, 21 Mar 2015) | 3 lines 197 198Remove workaround for old BSD userspace pthreads bug 199We have been closing fds after fork() for some time now and we now have CLOEXEC set properly 200 201------------------------------------------------------------------------ 202r2340 | adk0212 | 2015-03-21 18:43:19 -0400 (Sat, 21 Mar 2015) | 2 lines 203 204Explicitly ignore return value 205 206------------------------------------------------------------------------ 207r2339 | adk0212 | 2015-03-21 18:30:29 -0400 (Sat, 21 Mar 2015) | 2 lines 208 209Fix some unchecked returns 210 211------------------------------------------------------------------------ 212r2338 | adk0212 | 2015-03-21 18:19:20 -0400 (Sat, 21 Mar 2015) | 2 lines 213 214Quiet some Coverity errors by explicitly discarding return fgetc() return value 215 216------------------------------------------------------------------------ 217r2337 | adk0212 | 2015-03-21 17:59:35 -0400 (Sat, 21 Mar 2015) | 2 lines 218 219Improvements to hosts.conf parsing logic 220 221------------------------------------------------------------------------ 222r2336 | adk0212 | 2015-03-21 11:42:50 -0400 (Sat, 21 Mar 2015) | 3 lines 223 224CID17191 - Uninitialized scalar field 225Not reall a defect as _commlost_time is always set before being used, but initialize it in constructor anyway for cleanliness 226 227------------------------------------------------------------------------ 228r2335 | adk0212 | 2015-03-21 11:39:46 -0400 (Sat, 21 Mar 2015) | 3 lines 229 230Another shot at fixing CID 107532,107533 231Coverity really wants you to check fcntl retval 232 233------------------------------------------------------------------------ 234r2334 | adk0212 | 2015-03-20 22:26:04 -0400 (Fri, 20 Mar 2015) | 2 lines 235 236CID107533 - Unchecked return value from library 237 238------------------------------------------------------------------------ 239r2333 | adk0212 | 2015-03-20 21:47:16 -0400 (Fri, 20 Mar 2015) | 2 lines 240 241Mark error_out_wrapper as noreturn to prevent bogus warnings 242 243------------------------------------------------------------------------ 244r2332 | adk0212 | 2015-03-20 00:05:15 -0400 (Fri, 20 Mar 2015) | 2 lines 245 246A couple more socket cloexec fixes 247 248------------------------------------------------------------------------ 249r2331 | adk0212 | 2015-03-19 23:59:41 -0400 (Thu, 19 Mar 2015) | 3 lines 250 251Fix open file descriptors leaking to exec'ed children 252Use O_CLOEXEC and friends as necessary to ensure we don't leak fds to children across exec 253 254------------------------------------------------------------------------ 255r2330 | adk0212 | 2015-03-19 23:58:11 -0400 (Thu, 19 Mar 2015) | 2 lines 256 257Icon file for web site 258 259------------------------------------------------------------------------ 260r2329 | adk0212 | 2015-03-06 14:05:24 -0500 (Fri, 06 Mar 2015) | 4 lines 261 262Fixes for socket error handling 263Resolves apcaccess crash when connection fails as well 264as several other theoretical issues. 265 266------------------------------------------------------------------------ 267r2328 | adk0212 | 2015-02-17 15:18:17 -0500 (Tue, 17 Feb 2015) | 3 lines 268 269Now that we are using the system tcpd.h exclusively, use <tcpd.h> not "tcpd.h" include form. 270h/t Manfred Schwarb <manfred99@gmx.ch> 271 272------------------------------------------------------------------------ 273r2327 | adk0212 | 2015-02-17 08:47:54 -0500 (Tue, 17 Feb 2015) | 3 lines 274 275Stop shipping a hacked copy of tcpd.h and wrap the include of the system header with extern "C" instead. 276RedHat's tcpd.h already has __{BEGIN,END}_DECL demarcation but SuSE's (for example) does not. 277 278------------------------------------------------------------------------ 279r2326 | adk0212 | 2015-02-15 17:02:53 -0500 (Sun, 15 Feb 2015) | 2 lines 280 281Discard unexpected messages when waiting for idle 282 283------------------------------------------------------------------------ 284r2325 | adk0212 | 2015-02-15 16:59:04 -0500 (Sun, 15 Feb 2015) | 2 lines 285 286Fix hiddev binding when usbfs is mounted on /dev/bus/usb instead of /proc/bus/usb 287 288------------------------------------------------------------------------ 289r2324 | adk0212 | 2015-02-08 23:35:39 -0500 (Sun, 08 Feb 2015) | 2 lines 290 291Include file/line info in hex_dump output to match Dmsg 292 293------------------------------------------------------------------------ 294r2323 | adk0212 | 2015-02-08 19:45:45 -0500 (Sun, 08 Feb 2015) | 3 lines 295 296Detect if compiler supports -Wno-unused-result instead of using it blindly 297- Also use new AX_ADD_COMPILE_FLAG for -fno-exceptions and -fno-rtti 298 299------------------------------------------------------------------------ 300r2322 | adk0212 | 2015-02-08 13:00:05 -0500 (Sun, 08 Feb 2015) | 2 lines 301 302Update FSF address 303 304------------------------------------------------------------------------ 305r2321 | adk0212 | 2015-02-08 12:49:27 -0500 (Sun, 08 Feb 2015) | 4 lines 306 307Update GPLv2 text 308- Same license, just minor updates to the text to match current FSF official copy 309- Changes include FSF address and removal of '19xx' style year annotations 310 311------------------------------------------------------------------------ 312r2320 | adk0212 | 2015-02-08 12:42:02 -0500 (Sun, 08 Feb 2015) | 2 lines 313 314Remove unused file 315 316------------------------------------------------------------------------ 317r2319 | adk0212 | 2015-02-08 12:01:31 -0500 (Sun, 08 Feb 2015) | 3 lines 318 319Remove subsys directory from SuSE lock file location 320Reported by Manfred Schwarb <manfred99@gmx.ch> 321 322------------------------------------------------------------------------ 323r2318 | adk0212 | 2015-02-07 13:26:15 -0500 (Sat, 07 Feb 2015) | 3 lines 324 325Add -Wno-unused-result to suppress "ignoring return value of..." warnings. 326Prefer to track these via Coverity instead of inconsistent compile warnings. 327 328------------------------------------------------------------------------ 329r2317 | adk0212 | 2015-02-06 19:31:18 -0500 (Fri, 06 Feb 2015) | 5 lines 330 331Improve COMMLOST handling for MODBUS, esp. MODBUS/USB 332- Fix ModbusUsbComm to handle Open() call when already open 333- Fix ModbusUpsDriver to close the Comm class when declaring COMMLOST 334- Fail register read/write calls at ModbusComm layer when underlying transport is not open 335 336------------------------------------------------------------------------ 337r2315 | adk0212 | 2015-02-02 21:27:26 -0500 (Mon, 02 Feb 2015) | 2 lines 338 339Final prep for 3.14.13 release 340 341------------------------------------------------------------------------ 342r2314 | adk0212 | 2015-02-02 21:16:47 -0500 (Mon, 02 Feb 2015) | 2 lines 343 344Correct some outdated information in the apctest section of the manual 345 346------------------------------------------------------------------------ 347r2313 | adk0212 | 2015-02-02 20:47:30 -0500 (Mon, 02 Feb 2015) | 2 lines 348 349Detect failure to modify RedHat halt script and display a message instead of failing the whole installation 350 351------------------------------------------------------------------------ 352r2312 | adk0212 | 2015-01-31 11:38:09 -0500 (Sat, 31 Jan 2015) | 2 lines 353 354Prep for 3.14.13 release 355 356------------------------------------------------------------------------ 357r2311 | adk0212 | 2015-01-29 09:13:25 -0500 (Thu, 29 Jan 2015) | 5 lines 358 359Place apcupsd lock file in /var/lock instead of /var/lock/subsys on Slackware 360Slackware convention is to use /var/lock; /var/lock/subsys appears to be a Red Hat thing 361Reported by Sebastian Arcus <s.arcus@open-t.co.uk> 362Patch by Jonathan Woithe <jwoithe@atrad.com.au> 363 364------------------------------------------------------------------------ 365r2310 | adk0212 | 2015-01-20 12:38:53 -0500 (Tue, 20 Jan 2015) | 3 lines 366 367Add notes indicating that apcupsd must be restarted for config file changes to become active. 368Although it might be considered "obvious", this wasn't actually written down anywhere that I could find. 369 370------------------------------------------------------------------------ 371r2309 | adk0212 | 2015-01-20 12:15:04 -0500 (Tue, 20 Jan 2015) | 2 lines 372 373Updated Windows USB driver signature, courtesy of Jernej Simončič <jernej|s@eternallybored.org> 374 375------------------------------------------------------------------------ 376r2308 | adk0212 | 2015-01-19 21:45:44 -0500 (Mon, 19 Jan 2015) | 2 lines 377 378Add debug to Tx side of modbus USB to match RS232 379 380------------------------------------------------------------------------ 381r2307 | adk0212 | 2015-01-19 21:02:01 -0500 (Mon, 19 Jan 2015) | 2 lines 382 383Remove unused a{m,re,c}alloc functions 384 385------------------------------------------------------------------------ 386r2306 | adk0212 | 2015-01-19 20:58:51 -0500 (Mon, 19 Jan 2015) | 2 lines 387 388Remove obsolete UPS list code 389 390------------------------------------------------------------------------ 391r2305 | adk0212 | 2015-01-19 20:55:56 -0500 (Mon, 19 Jan 2015) | 2 lines 392 393Remove obsolete references to myUPS 394 395------------------------------------------------------------------------ 396r2304 | adk0212 | 2015-01-19 20:52:18 -0500 (Mon, 19 Jan 2015) | 2 lines 397 398Remove obsolete file 399 400------------------------------------------------------------------------ 401r2303 | adk0212 | 2015-01-19 20:48:49 -0500 (Mon, 19 Jan 2015) | 2 lines 402 403Remove obsolete prototypes 404 405------------------------------------------------------------------------ 406r2302 | adk0212 | 2015-01-19 20:38:19 -0500 (Mon, 19 Jan 2015) | 2 lines 407 408Remove obsolete simple signaling cable info 409 410------------------------------------------------------------------------ 411r2301 | adk0212 | 2015-01-19 19:09:42 -0500 (Mon, 19 Jan 2015) | 2 lines 412 413Bump win32 usb driver date and rev 414 415------------------------------------------------------------------------ 416r2300 | adk0212 | 2015-01-19 19:04:40 -0500 (Mon, 19 Jan 2015) | 2 lines 417 418Fix typo 419 420------------------------------------------------------------------------ 421r2299 | adk0212 | 2015-01-19 18:52:30 -0500 (Mon, 19 Jan 2015) | 2 lines 422 423Fix typo 424 425------------------------------------------------------------------------ 426r2298 | adk0212 | 2015-01-18 15:38:34 -0500 (Sun, 18 Jan 2015) | 2 lines 427 428Add --enable-modbus-usb to Darwin build notes 429 430------------------------------------------------------------------------ 431r2297 | adk0212 | 2015-01-18 11:41:26 -0500 (Sun, 18 Jan 2015) | 3 lines 432 433Update supported USB VID/PID combinations in code and platform-specific drivers 434- Includes several VID/PID tuples for future use as suggested by APC 435 436------------------------------------------------------------------------ 437r2296 | adk0212 | 2015-01-12 11:56:25 -0500 (Mon, 12 Jan 2015) | 3 lines 438 439Remove ancient unmaintained apcupsd.8 manpage from Debian platform directory. 440The current manpage set for apcupsd is in doc/ and should be used by all platforms. 441 442------------------------------------------------------------------------ 443r2295 | adk0212 | 2015-01-07 22:06:44 -0500 (Wed, 07 Jan 2015) | 2 lines 444 445Fix handling of return value from USBDEVFS_CONNECT 446 447------------------------------------------------------------------------ 448r2294 | adk0212 | 2015-01-07 21:31:27 -0500 (Wed, 07 Jan 2015) | 2 lines 449 450Add MODBUS/USB info to apcupsd.conf comments 451 452------------------------------------------------------------------------ 453r2293 | adk0212 | 2015-01-07 21:25:06 -0500 (Wed, 07 Jan 2015) | 2 lines 454 455Add MODBUS USB setting info to apcupsd.conf(5) man page 456 457------------------------------------------------------------------------ 458r2292 | adk0212 | 2015-01-07 20:54:03 -0500 (Wed, 07 Jan 2015) | 2 lines 459 460Remove ETIMEDOUT workaround; this is no longer an issue 461 462------------------------------------------------------------------------ 463r2291 | adk0212 | 2015-01-04 19:24:06 -0500 (Sun, 04 Jan 2015) | 2 lines 464 465Update documentation for MODBUS USB. 466 467------------------------------------------------------------------------ 468r2289 | adk0212 | 2015-01-04 15:41:14 -0500 (Sun, 04 Jan 2015) | 2 lines 469 470Update ChangeLog for 3.14.13-test2 471 472------------------------------------------------------------------------ 473r2288 | adk0212 | 2015-01-04 15:39:58 -0500 (Sun, 04 Jan 2015) | 2 lines 474 475Bump version to 3.14.13-test2 476 477------------------------------------------------------------------------ 478r2287 | adk0212 | 2015-01-04 15:35:43 -0500 (Sun, 04 Jan 2015) | 3 lines 479 480Fix link error on BSD systems due to use of --{start,end}-group which only works on GNU ld 481Move 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 482 483------------------------------------------------------------------------ 484r2285 | adk0212 | 2015-01-04 13:14:22 -0500 (Sun, 04 Jan 2015) | 2 lines 485 486Update ChangeLog for 3.14.13-test1 487 488------------------------------------------------------------------------ 489r2284 | adk0212 | 2015-01-04 13:08:07 -0500 (Sun, 04 Jan 2015) | 2 lines 490 491Bump version for 3.14.13-test1 release 492 493------------------------------------------------------------------------ 494r2283 | adk0212 | 2015-01-04 13:06:40 -0500 (Sun, 04 Jan 2015) | 4 lines 495 496Fix WriteRegister on MODBUS USB 497Response messages need to be treated individually to determine length of live data. 498Previously code was assuming READ_HOLDING_REGS format which fails for WRITE_MULTIPLE_REGS. 499 500------------------------------------------------------------------------ 501r2282 | adk0212 | 2015-01-03 11:26:55 -0500 (Sat, 03 Jan 2015) | 2 lines 502 503Allow cable type of USB for MODBUS driver 504 505------------------------------------------------------------------------ 506r2281 | adk0212 | 2015-01-03 11:26:33 -0500 (Sat, 03 Jan 2015) | 2 lines 507 508Update file header comment 509 510------------------------------------------------------------------------ 511r2280 | adk0212 | 2015-01-03 00:07:49 -0500 (Sat, 03 Jan 2015) | 2 lines 512 513Add usb_interrupt_write() to winusb translation layer to support MODBUS USB 514 515------------------------------------------------------------------------ 516r2279 | adk0212 | 2015-01-03 00:02:51 -0500 (Sat, 03 Jan 2015) | 2 lines 517 518Add MODBUS USB support 519 520------------------------------------------------------------------------ 521r2278 | adk0212 | 2015-01-03 00:00:58 -0500 (Sat, 03 Jan 2015) | 2 lines 522 523Remove unused _{new,old}tio variables 524 525------------------------------------------------------------------------ 526r2277 | adk0212 | 2015-01-02 23:59:59 -0500 (Fri, 02 Jan 2015) | 2 lines 527 528Remove hidutils.c as its functionality has been subsumed into HidUps.cpp 529 530------------------------------------------------------------------------ 531r2276 | adk0212 | 2015-01-02 23:50:36 -0500 (Fri, 02 Jan 2015) | 2 lines 532 533Build drivers into separate libs to eliminate rule duplication in src/driver/Makefile 534 535------------------------------------------------------------------------ 536r2275 | adk0212 | 2015-01-02 16:34:23 -0500 (Fri, 02 Jan 2015) | 3 lines 537 538Break libusb and libusbhid interfacing code out into HidUps class. 539This will allow reuse with MODBUS USB capability. 540 541------------------------------------------------------------------------ 542r2274 | adk0212 | 2015-01-02 12:12:47 -0500 (Fri, 02 Jan 2015) | 2 lines 543 544Configure support for MODBUS/USB 545 546------------------------------------------------------------------------ 547r2273 | adk0212 | 2014-12-02 16:10:47 -0500 (Tue, 02 Dec 2014) | 3 lines 548 549CID75626 Uninitialized scalar field 550Remove _oldtio and _newtio members, they are not necessary 551 552------------------------------------------------------------------------ 553r2272 | adk0212 | 2014-12-02 16:06:57 -0500 (Tue, 02 Dec 2014) | 3 lines 554 555CID75625 Unchecked return value from library 556Check return value from fcntl(F_GETFL) and explicitly ignore retval from fcntl(F_SETFL) 557 558------------------------------------------------------------------------ 559r2271 | adk0212 | 2014-12-01 14:38:54 -0500 (Mon, 01 Dec 2014) | 2 lines 560 561Refactor MODBUS RS232 into base and derived class 562 563------------------------------------------------------------------------ 564r2270 | adk0212 | 2014-11-25 16:33:23 -0500 (Tue, 25 Nov 2014) | 3 lines 565 566Fix apcsmart calibration on win32 567Need to poll for UPS commands and keyboard input since win32 select only works with sockets 568 569------------------------------------------------------------------------ 570r2269 | adk0212 | 2014-11-25 08:17:20 -0500 (Tue, 25 Nov 2014) | 2 lines 571 572Update 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 573 574------------------------------------------------------------------------ 575r2268 | adk0212 | 2014-11-24 13:25:49 -0500 (Mon, 24 Nov 2014) | 3 lines 576 577Check for setup_device failure and exit with an error instead of continuing on. 578Reported by Laurent Blume <laurent@opencsw.org> 579 580------------------------------------------------------------------------ 581r2267 | adk0212 | 2014-11-12 12:30:33 -0500 (Wed, 12 Nov 2014) | 2 lines 582 583Fix libsupc++fix.cpp filename in configure 584 585------------------------------------------------------------------------ 586r2266 | adk0212 | 2014-11-06 22:12:59 -0500 (Thu, 06 Nov 2014) | 2 lines 587 588Add missing copyright banners 589 590------------------------------------------------------------------------ 591r2265 | adk0212 | 2014-11-06 22:00:43 -0500 (Thu, 06 Nov 2014) | 2 lines 592 593Use PTHREAD_MUTEX_INITIALIZER to init mutex 594 595------------------------------------------------------------------------ 596r2264 | adk0212 | 2014-11-06 21:42:11 -0500 (Thu, 06 Nov 2014) | 2 lines 597 598Bring back compat/pwd.h and move getpwuid() to it 599 600------------------------------------------------------------------------ 601r2263 | adk0212 | 2014-11-06 21:28:57 -0500 (Thu, 06 Nov 2014) | 2 lines 602 603Remove FREEBSD_SUPCPP_FIX, this file is now compiled only when needed so content can be unconditional 604 605------------------------------------------------------------------------ 606r2262 | adk0212 | 2014-11-06 17:01:12 -0500 (Thu, 06 Nov 2014) | 2 lines 607 608smtp needs pwd.h 609 610------------------------------------------------------------------------ 611r2261 | adk0212 | 2014-11-06 16:51:13 -0500 (Thu, 06 Nov 2014) | 2 lines 612 613Only build libsupc++fix.cpp when needed and in the process clean up LIBEXTRAOBJ handling 614 615------------------------------------------------------------------------ 616r2260 | adk0212 | 2014-11-06 16:34:20 -0500 (Thu, 06 Nov 2014) | 2 lines 617 618Remove unused file 619 620------------------------------------------------------------------------ 621r2259 | adk0212 | 2014-11-06 16:32:25 -0500 (Thu, 06 Nov 2014) | 2 lines 622 623Rename sleep.c to nanosleep.c since that's what it is 624 625------------------------------------------------------------------------ 626r2258 | adk0212 | 2014-11-06 16:28:45 -0500 (Thu, 06 Nov 2014) | 2 lines 627 628Remove unused file 629 630------------------------------------------------------------------------ 631r2257 | adk0212 | 2014-11-06 16:26:32 -0500 (Thu, 06 Nov 2014) | 2 lines 632 633gethostbyname is in winsock2.h on win32, so netdb.h is yet another alias for winsock2.h 634 635------------------------------------------------------------------------ 636r2256 | adk0212 | 2014-11-06 16:25:54 -0500 (Thu, 06 Nov 2014) | 2 lines 637 638Remove more unused win32/compat headers 639 640------------------------------------------------------------------------ 641r2255 | adk0212 | 2014-11-06 16:11:50 -0500 (Thu, 06 Nov 2014) | 2 lines 642 643Remove unused compat/features.h 644 645------------------------------------------------------------------------ 646r2254 | adk0212 | 2014-11-06 16:10:55 -0500 (Thu, 06 Nov 2014) | 2 lines 647 648Remove unused compat/grp.h 649 650------------------------------------------------------------------------ 651r2253 | adk0212 | 2014-11-06 16:09:19 -0500 (Thu, 06 Nov 2014) | 2 lines 652 653Rename netcompat.c -> inet_aton.c since that's the only thing in it now 654 655------------------------------------------------------------------------ 656r2252 | adk0212 | 2014-11-06 16:06:50 -0500 (Thu, 06 Nov 2014) | 2 lines 657 658More win32 compat include file cleanup 659 660------------------------------------------------------------------------ 661r2251 | adk0212 | 2014-11-06 15:50:07 -0500 (Thu, 06 Nov 2014) | 2 lines 662 663Move inet_aton() prototype to arpa/inet.h 664 665------------------------------------------------------------------------ 666r2250 | adk0212 | 2014-11-06 15:31:45 -0500 (Thu, 06 Nov 2014) | 2 lines 667 668Remove obsolete manually-written config.h for win32 builds 669 670------------------------------------------------------------------------ 671r2249 | adk0212 | 2014-11-05 10:45:28 -0500 (Wed, 05 Nov 2014) | 2 lines 672 673List libwin32compat.a as a dependency so exes are relinked when it changes 674 675------------------------------------------------------------------------ 676r2248 | adk0212 | 2014-11-05 10:32:56 -0500 (Wed, 05 Nov 2014) | 2 lines 677 678Remove USBTYPE define; it is not longer used 679 680------------------------------------------------------------------------ 681r2247 | adk0212 | 2014-11-05 10:28:16 -0500 (Wed, 05 Nov 2014) | 6 lines 682 683Big win32 compat cleanup 684- Eliminate unnecessary compat functions 685- Split useful functions out into individual files to reduce linking of unnecessary compats 686- Move prototypes and defines to proper header files instead of jamming them all in compat.h 687- Remove 90% of the includes from compat.h 688 689------------------------------------------------------------------------ 690r2246 | adk0212 | 2014-11-04 21:06:09 -0500 (Tue, 04 Nov 2014) | 2 lines 691 692Make bind_upses() a no-op if USBDEVFS_CONNECT is not available 693 694------------------------------------------------------------------------ 695r2245 | adk0212 | 2014-11-04 20:58:45 -0500 (Tue, 04 Nov 2014) | 3 lines 696 697Eliminate use of sprintf in digest2ascii 698Code was fine but audits for sprintf keep tripping here so change it 699 700------------------------------------------------------------------------ 701r2244 | adk0212 | 2014-11-04 20:56:46 -0500 (Tue, 04 Nov 2014) | 3 lines 702 703Rewrite hex_dump to make it clearer that no buffers are being overrun here. 704Audits for uses of sprintf and strcpy keep tripping over this code, so give in and change it even though there is no bug. 705 706------------------------------------------------------------------------ 707r2243 | adk0212 | 2014-11-04 18:49:24 -0500 (Tue, 04 Nov 2014) | 2 lines 708 709Quiet warning from insufficiently clueful compiler 710 711------------------------------------------------------------------------ 712r2242 | adk0212 | 2014-11-04 18:47:16 -0500 (Tue, 04 Nov 2014) | 2 lines 713 714Braces initializer on struct sigaction is not portable, use memset instead 715 716------------------------------------------------------------------------ 717r2241 | adk0212 | 2014-11-04 16:54:07 -0500 (Tue, 04 Nov 2014) | 2 lines 718 719Remove executable property from Makefile 720 721------------------------------------------------------------------------ 722r2240 | adk0212 | 2014-11-04 16:17:53 -0500 (Tue, 04 Nov 2014) | 2 lines 723 724Remove hiddex.txt as this is an obsolete copy from Linux docs 725 726------------------------------------------------------------------------ 727r2239 | adk0212 | 2014-11-04 16:13:06 -0500 (Tue, 04 Nov 2014) | 2 lines 728 729Exclude gapcmon with --enable-all when cross-building for mingw32 730 731------------------------------------------------------------------------ 732r2238 | adk0212 | 2014-11-04 16:02:15 -0500 (Tue, 04 Nov 2014) | 2 lines 733 734Fix TOPDIR 735 736------------------------------------------------------------------------ 737r2237 | adk0212 | 2014-11-04 15:36:35 -0500 (Tue, 04 Nov 2014) | 2 lines 738 739Move build-win32-cross-tools script to platforms/mingw 740 741------------------------------------------------------------------------ 742r2236 | adk0212 | 2014-11-04 15:35:24 -0500 (Tue, 04 Nov 2014) | 2 lines 743 744Kill off the old win32 Makefile.in ... Yay! 745 746------------------------------------------------------------------------ 747r2235 | adk0212 | 2014-11-04 15:34:00 -0500 (Tue, 04 Nov 2014) | 2 lines 748 749Remove obsolete readme 750 751------------------------------------------------------------------------ 752r2234 | adk0212 | 2014-11-04 15:27:08 -0500 (Tue, 04 Nov 2014) | 2 lines 753 754Move win32 install package creation to platforms/mingw similar to how OS X is done and update for new file locations 755 756------------------------------------------------------------------------ 757r2233 | adk0212 | 2014-11-04 14:34:52 -0500 (Tue, 04 Nov 2014) | 3 lines 758 759Test for dir existence before blindly adding /usr/local paths to {CPP,LD}FLAGS 760Darwin LLVM ld complains about non-existent lib directories on the command line 761 762------------------------------------------------------------------------ 763r2232 | adk0212 | 2014-11-04 14:25:05 -0500 (Tue, 04 Nov 2014) | 2 lines 764 765Rebuild configure to incorporate BG variable for win32 background mode processes 766 767------------------------------------------------------------------------ 768r2231 | adk0212 | 2014-11-04 14:17:43 -0500 (Tue, 04 Nov 2014) | 6 lines 769 770Ability to build for win32 via normal make system instead of hardcoded src/win32/Makefile.in 771Planned to do this many years ago, finally done! 772Windows build is enabled via normal autoconf cross-compile "./configure --host=mingw32". 773During configure, CROSSTOOLS env var selects location of mingw32 toolchain (built via build-win32-cross-tools script), default is $(topdir)/../cross-tools 774Similarly, DEPKGS var points to win32 dependency package directory, default is $(topdir)/../depkgs-win32 775 776------------------------------------------------------------------------ 777r2230 | adk0212 | 2014-11-04 08:30:37 -0500 (Tue, 04 Nov 2014) | 2 lines 778 779Eliminate apc_config.h by pulling useful pieces into defines.h 780 781------------------------------------------------------------------------ 782r2229 | adk0212 | 2014-11-04 08:12:56 -0500 (Tue, 04 Nov 2014) | 3 lines 783 784Rename config.h to apcconfig.h since config.h is dangerously vague. 785Win32 pthreads, for example, provides a config.h. 786 787------------------------------------------------------------------------ 788r2228 | adk0212 | 2014-11-04 07:41:35 -0500 (Tue, 04 Nov 2014) | 2 lines 789 790More warning fixes for win32 builds 791 792------------------------------------------------------------------------ 793r2227 | adk0212 | 2014-11-04 07:19:09 -0500 (Tue, 04 Nov 2014) | 3 lines 794 795CID74720 Uninitialized scalar field 796Initialize _fd to INVALID_SOCKET 797 798------------------------------------------------------------------------ 799r2226 | adk0212 | 2014-11-03 22:26:04 -0500 (Mon, 03 Nov 2014) | 3 lines 800 801Remove unused and buggy strncasecmp() function 802Remove unused variable from conv_unix_to_win32_path() 803 804------------------------------------------------------------------------ 805r2225 | adk0212 | 2014-11-03 22:12:11 -0500 (Mon, 03 Nov 2014) | 2 lines 806 807Fix strict alising issue in apclibnis by implementing FIONBIO ioctl in compat instead of using macro 808 809------------------------------------------------------------------------ 810r2224 | adk0212 | 2014-11-03 21:44:54 -0500 (Mon, 03 Nov 2014) | 3 lines 811 812Replace use of 'int' as socket type with sock_t, which maps to 'SOCKET' on Windows and 'int' everywhere else. 813Also use INVALID_SOCKET instead of -1 for socket failure case. This fixes a bunch of warnings on Windows. 814 815------------------------------------------------------------------------ 816r2223 | adk0212 | 2014-11-03 21:18:56 -0500 (Mon, 03 Nov 2014) | 3 lines 817 818Fix a few warnings when building for win32 819Many more to go... 820 821------------------------------------------------------------------------ 822r2222 | adk0212 | 2014-11-03 17:35:36 -0500 (Mon, 03 Nov 2014) | 2 lines 823 824Add <stdio.h> 825 826------------------------------------------------------------------------ 827r2221 | adk0212 | 2014-11-03 17:33:22 -0500 (Mon, 03 Nov 2014) | 2 lines 828 829Change balloonmgr to use alib containers instead of STL 830 831------------------------------------------------------------------------ 832r2220 | adk0212 | 2014-11-03 09:54:57 -0500 (Mon, 03 Nov 2014) | 2 lines 833 834Remove unnecessary header overrides; mingw versions are fine 835 836------------------------------------------------------------------------ 837r2219 | adk0212 | 2014-11-03 09:47:55 -0500 (Mon, 03 Nov 2014) | 2 lines 838 839Remove stat replacement; mingw stat seems fine 840 841------------------------------------------------------------------------ 842r2218 | adk0212 | 2014-11-03 09:32:31 -0500 (Mon, 03 Nov 2014) | 2 lines 843 844Remove manual definition of integer types; mingw provides <stdint.h> 845 846------------------------------------------------------------------------ 847r2217 | adk0212 | 2014-11-02 21:55:34 -0500 (Sun, 02 Nov 2014) | 2 lines 848 849Remove obsolete SHM_RDONLY define 850 851------------------------------------------------------------------------ 852r2216 | adk0212 | 2014-11-02 21:54:38 -0500 (Sun, 02 Nov 2014) | 2 lines 853 854Use strlcpy for strftime replacement instead of strncpy 855 856------------------------------------------------------------------------ 857r2215 | adk0212 | 2014-10-30 10:35:35 -0400 (Thu, 30 Oct 2014) | 2 lines 858 859Disable PCNET TIMELEFT workaround, causing breakage on recent UPSes 860 861------------------------------------------------------------------------ 862r2214 | adk0212 | 2014-10-28 14:17:23 -0400 (Tue, 28 Oct 2014) | 3 lines 863 864Fix installation on older Mac OS X versions 865Apparently the deprecated auth= attribute is needed on these systems 866 867------------------------------------------------------------------------ 868r2213 | adk0212 | 2014-10-28 13:04:05 -0400 (Tue, 28 Oct 2014) | 2 lines 869 870First pass at application and package signing for Mac OS X 871 872------------------------------------------------------------------------ 873r2212 | adk0212 | 2014-10-27 18:46:12 -0400 (Mon, 27 Oct 2014) | 2 lines 874 875Update copyright 876 877------------------------------------------------------------------------ 878r2211 | adk0212 | 2014-10-27 18:24:35 -0400 (Mon, 27 Oct 2014) | 2 lines 879 880Remove file used by old PackageMaker scripts 881 882------------------------------------------------------------------------ 883r2210 | adk0212 | 2014-10-27 18:22:43 -0400 (Mon, 27 Oct 2014) | 2 lines 884 885Updates for packaging using pkgbuild and productbuild instead of deprecated PackageMaker 886 887------------------------------------------------------------------------ 888r2209 | adk0212 | 2014-10-27 11:46:19 -0400 (Mon, 27 Oct 2014) | 2 lines 889 890Update Mac OS X build notes for newer dev tools and packages 891 892------------------------------------------------------------------------ 893r2208 | adk0212 | 2014-10-27 11:37:20 -0400 (Mon, 27 Oct 2014) | 2 lines 894 895Add patch for libusb-0.1.12 on newer Xcode tools 896 897------------------------------------------------------------------------ 898r2207 | adk0212 | 2014-10-27 10:32:43 -0400 (Mon, 27 Oct 2014) | 2 lines 899 900Remove Growl plist 901 902------------------------------------------------------------------------ 903r2206 | adk0212 | 2014-10-27 10:23:15 -0400 (Mon, 27 Oct 2014) | 2 lines 904 905Remove Growl references in config window, hide notification enable checkbox when Notification Center is not available 906 907------------------------------------------------------------------------ 908r2205 | adk0212 | 2014-10-27 09:59:45 -0400 (Mon, 27 Oct 2014) | 6 lines 909 910More validation improvements and code cleanup 911Rename BetterNumberFormatter to ActiveNumberFormatter 912Split ActiveNumberFormatter out into its own file 913Fail validation if any field is blank 914Switch input focus to the first blank control to give the user a clue as to why we refused to close the window 915 916------------------------------------------------------------------------ 917r2204 | adk0212 | 2014-10-26 22:44:24 -0400 (Sun, 26 Oct 2014) | 2 lines 918 919Clean up preferences validation; cell background coloring was not working right on newer systems 920 921------------------------------------------------------------------------ 922r2203 | adk0212 | 2014-10-26 20:49:59 -0400 (Sun, 26 Oct 2014) | 2 lines 923 924Check in the built NIB file to allow compiling apcagent with older XCode tools 925 926------------------------------------------------------------------------ 927r2202 | adk0212 | 2014-10-26 18:18:28 -0400 (Sun, 26 Oct 2014) | 3 lines 928 929Fix issue with config 'port' field displaying with thousands separator when built with newer XCode tools 930Attach a NSNumberFormatter to the config port cell and set it for no formatting 931 932------------------------------------------------------------------------ 933r2201 | adk0212 | 2014-10-26 17:15:21 -0400 (Sun, 26 Oct 2014) | 2 lines 934 935Add comments 936 937------------------------------------------------------------------------ 938r2200 | adk0212 | 2014-10-26 17:12:36 -0400 (Sun, 26 Oct 2014) | 2 lines 939 940NSMenuDelete and NSUserNotificationCenterDelegate did not exist until 10.6 and 10.8, respectively 941 942------------------------------------------------------------------------ 943r2199 | adk0212 | 2014-10-26 17:06:27 -0400 (Sun, 26 Oct 2014) | 4 lines 944 945First pass at Notification Center support for apcagent 946Little rough still, but working 947All the ifdefs to allow compiling with pre-10.8 SDKs is annoying 948 949------------------------------------------------------------------------ 950r2198 | adk0212 | 2014-10-26 15:27:50 -0400 (Sun, 26 Oct 2014) | 3 lines 951 952Fix bug in getLoginItem() which caused crashes on 10.5 953url is not written when LSSharedFileListItemResolve fails, need to set it to nil each time 954 955------------------------------------------------------------------------ 956r2197 | adk0212 | 2014-10-26 15:25:53 -0400 (Sun, 26 Oct 2014) | 2 lines 957 958Use 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 959 960------------------------------------------------------------------------ 961r2196 | adk0212 | 2014-10-24 15:42:48 -0400 (Fri, 24 Oct 2014) | 3 lines 962 963Prefer instantiateWithOwner over instantiateNibWithOwner which was deprecated in 10.8 964This makes memory management of the NIB top level object array cleaner 965 966------------------------------------------------------------------------ 967r2195 | adk0212 | 2014-10-24 13:58:14 -0400 (Fri, 24 Oct 2014) | 2 lines 968 969Prefer LSSharedFileListItemCopyResolvedURL over deprecated LSSharedFileListItemResolve when deployment target allows 970 971------------------------------------------------------------------------ 972r2194 | adk0212 | 2014-10-23 21:32:38 -0400 (Thu, 23 Oct 2014) | 3 lines 973 974Kill off LoginItemsAE (login item management via Apple Events) in favor of LSSharedFileList API 975This is good on 10.5 and higher, so 10.4 support is now formally dropped (and PPC along with it) 976 977------------------------------------------------------------------------ 978r2193 | adk0212 | 2014-10-22 11:59:06 -0400 (Wed, 22 Oct 2014) | 3 lines 979 980Remove Growl support from apcagent 981Will be adding Notification Center support to replace Growl 982 983------------------------------------------------------------------------ 984r2192 | adk0212 | 2014-10-22 09:28:46 -0400 (Wed, 22 Oct 2014) | 2 lines 985 986CID17181,17182 Argument cannot be negative 987 988------------------------------------------------------------------------ 989r2191 | adk0212 | 2014-10-21 22:37:29 -0400 (Tue, 21 Oct 2014) | 4 lines 990 991CID17162 Dereference after null check 992Only an issue if CI_STATUS were not in the CiInfo table. 993But this is unnecessary code anyway, so remove it. 994 995------------------------------------------------------------------------ 996r2190 | adk0212 | 2014-10-21 22:30:44 -0400 (Tue, 21 Oct 2014) | 3 lines 997 998CID17184 Out-of-bounds access (again) 999Another attempt to address this non-issue in a way that makes it clear to Coverity that there is no buffer overrun 1000 1001------------------------------------------------------------------------ 1002r2189 | adk0212 | 2014-10-21 22:09:20 -0400 (Tue, 21 Oct 2014) | 4 lines 1003 1004CID74325 Unchecked return value from library 1005Document why we're setting SO_BROADCAST and why we don't care if it fails. 1006Cast return to void to indicate that we don't care about return value. 1007 1008------------------------------------------------------------------------ 1009r2188 | adk0212 | 2014-10-21 16:40:23 -0400 (Tue, 21 Oct 2014) | 2 lines 1010 1011Remove obsolete POWERFLUTE and POWERLIBS definitions 1012 1013------------------------------------------------------------------------ 1014r2187 | adk0212 | 2014-10-21 16:29:34 -0400 (Tue, 21 Oct 2014) | 3 lines 1015 1016Be explicit about invoking compiler with C++ language 1017Fixes warnings from clang 1018 1019------------------------------------------------------------------------ 1020r2186 | adk0212 | 2014-10-21 16:22:20 -0400 (Tue, 21 Oct 2014) | 2 lines 1021 1022Fix forward decl 1023 1024------------------------------------------------------------------------ 1025r2185 | adk0212 | 2014-10-21 15:10:59 -0400 (Tue, 21 Oct 2014) | 3 lines 1026 1027Remove StartupItems scripts for OS X 1028launchd is supported as far back as 10.4, so no reason to keep StartupItems stuff around 1029 1030------------------------------------------------------------------------ 1031r2184 | adk0212 | 2014-10-21 14:59:18 -0400 (Tue, 21 Oct 2014) | 2 lines 1032 1033Update Darwin installer welcome text for new email list URL 1034 1035------------------------------------------------------------------------ 1036r2183 | adk0212 | 2014-10-21 14:44:15 -0400 (Tue, 21 Oct 2014) | 2 lines 1037 1038Update coverity model to mark error_out_wrapper() as no-return. 1039 1040------------------------------------------------------------------------ 1041r2182 | adk0212 | 2014-10-21 14:41:44 -0400 (Tue, 21 Oct 2014) | 2 lines 1042 1043Wrap calls to error_out function pointer in actual function that can be modeled in Coverity as no-return. This should clean up a number of false positives in Coverity. 1044 1045------------------------------------------------------------------------ 1046r2181 | adk0212 | 2014-10-21 14:32:46 -0400 (Tue, 21 Oct 2014) | 2 lines 1047 1048Kill off error_exit. It was identical to error_out except didn't have line number and there was only one user (apcconfig). Switch apcconfig over to error_out and remove error_exit. 1049 1050------------------------------------------------------------------------ 1051r2180 | adk0212 | 2014-10-21 12:09:41 -0400 (Tue, 21 Oct 2014) | 2 lines 1052 1053Tie OS X launchd setup into install and uninstall 1054 1055------------------------------------------------------------------------ 1056r2179 | adk0212 | 2014-10-21 11:27:20 -0400 (Tue, 21 Oct 2014) | 3 lines 1057 1058Add launchd startup files for OS X 1059Not tied into 'make install' yet but functional if manually installed 1060 1061------------------------------------------------------------------------ 1062r2178 | adk0212 | 2014-10-21 04:11:51 -0400 (Tue, 21 Oct 2014) | 2 lines 1063 1064CID17183 Array compared against 0 1065 1066------------------------------------------------------------------------ 1067r2177 | adk0212 | 2014-10-21 00:10:53 -0400 (Tue, 21 Oct 2014) | 3 lines 1068 1069Fix apcaccess failure when apcupsd.conf does not supply NISIP. 1070Reported by David Walser <luigiwalser@yahoo.com> 1071 1072------------------------------------------------------------------------ 1073r2176 | adk0212 | 2014-10-20 23:58:46 -0400 (Mon, 20 Oct 2014) | 4 lines 1074 1075Fix errant 'fi' in Mandrake script 1076Reported by Graeme Gemmill <graeme@gemmill.name> 1077Patch by David Walser <luigiwalser@yahoo.com> 1078 1079------------------------------------------------------------------------ 1080r2175 | adk0212 | 2014-10-20 23:40:33 -0400 (Mon, 20 Oct 2014) | 8 lines 1081 1082Make another attempt to fix startup/shutdown log level issues. 1083LOG_INFO is the obvious level to use, but as trev@sentry.org pointed out in a fix 1084a few years back, LOG_INFO is reserved for apcupsd data logging and is not allowed 1085thru the normal event log (syslog) mechanism. LOG_WARN will make it thru but is 1086too high a level, especially on Windows. Using LOG_NOTICE should work; it's lower 1087than WARN (and, importantly, maps to INFORMATION type on Windows) but it is higher 1088than INFO and therefore will make it thru to syslog. 1089 1090------------------------------------------------------------------------ 1091r2174 | adk0212 | 2014-10-20 23:13:50 -0400 (Mon, 20 Oct 2014) | 3 lines 1092 1093Fix log level of apcupsd startup message: should be INFO not WARN 1094Reported by marvin@cbr125world.com 1095 1096------------------------------------------------------------------------ 1097r2173 | adk0212 | 2014-10-17 23:14:48 -0400 (Fri, 17 Oct 2014) | 2 lines 1098 1099Update manual with license info for apcupsd itself as well as libusbhid 1100 1101------------------------------------------------------------------------ 1102r2172 | adk0212 | 2014-10-17 21:22:05 -0400 (Fri, 17 Oct 2014) | 2 lines 1103 1104linux/usb/ch9.h does not exist on all distros...let's just define the device descriptor struct ourselves 1105 1106------------------------------------------------------------------------ 1107r2171 | adk0212 | 2014-10-17 21:06:23 -0400 (Fri, 17 Oct 2014) | 2 lines 1108 1109Remove unnecessary assignment 1110 1111------------------------------------------------------------------------ 1112r2170 | adk0212 | 2014-10-17 18:24:18 -0400 (Fri, 17 Oct 2014) | 2 lines 1113 1114Cleanup 1115 1116------------------------------------------------------------------------ 1117r2169 | adk0212 | 2014-10-17 18:21:21 -0400 (Fri, 17 Oct 2014) | 2 lines 1118 1119On Linux, attempt to automatically attach USB UPSes to the kernel usbhid/hiddev driver in case they have been detached from it (typically due to running the apcupsd 'generic' USB driver) 1120 1121------------------------------------------------------------------------ 1122r2168 | adk0212 | 2014-10-16 22:28:17 -0400 (Thu, 16 Oct 2014) | 2 lines 1123 1124Fix remaining compiler warnings in hid-ups.c 1125 1126------------------------------------------------------------------------ 1127r2167 | adk0212 | 2014-10-16 21:56:08 -0400 (Thu, 16 Oct 2014) | 2 lines 1128 1129Fix the majority of the compiler warning flood in hid-ups.c 1130 1131------------------------------------------------------------------------ 1132r2166 | adk0212 | 2014-10-16 21:48:17 -0400 (Thu, 16 Oct 2014) | 2 lines 1133 1134Correct units on PresentStatus usage 1135 1136------------------------------------------------------------------------ 1137r2165 | adk0212 | 2014-10-16 21:46:45 -0400 (Thu, 16 Oct 2014) | 2 lines 1138 1139Convert tabs to spaces 1140 1141------------------------------------------------------------------------ 1142r2164 | adk0212 | 2014-10-16 21:42:13 -0400 (Thu, 16 Oct 2014) | 2 lines 1143 1144Show logical usage for each field and add the PresentStatus standard usage 1145 1146------------------------------------------------------------------------ 1147r2163 | adk0212 | 2014-10-16 21:14:58 -0400 (Thu, 16 Oct 2014) | 2 lines 1148 1149Add MODBUS RTU Tx/Rx usages to hid-ups 1150 1151------------------------------------------------------------------------ 1152r2162 | adk0212 | 2014-10-15 22:03:28 -0400 (Wed, 15 Oct 2014) | 2 lines 1153 1154Update AN176 1155 1156------------------------------------------------------------------------ 1157r2161 | adk0212 | 2014-10-14 17:10:25 -0400 (Tue, 14 Oct 2014) | 3 lines 1158 1159Add SYSADMIN and APCUPSD_MAIL setting to apccontrol scripts that were missing it 1160h/t Quick Fox <quickfox@abv.bg> 1161 1162------------------------------------------------------------------------ 1163r2160 | adk0212 | 2014-10-13 19:42:41 -0400 (Mon, 13 Oct 2014) | 3 lines 1164 1165Fix possible use of uninitialized data in line[] buffer in handle_client_request() 1166- Issue reported by Kevin Cernekee <cernekee@gmail.com> 1167 1168------------------------------------------------------------------------ 1169r2159 | adk0212 | 2014-10-13 19:18:23 -0400 (Mon, 13 Oct 2014) | 3 lines 1170 1171pktsiz should be unsigned (h/t Kevin Cernekee <cernekee@gmail.com>) 1172- Same as Kevin's patch plus change sizeof idiom 1173 1174------------------------------------------------------------------------ 1175r2158 | adk0212 | 2014-05-15 13:39:13 -0400 (Thu, 15 May 2014) | 3 lines 1176 1177Fix apcaccess on (broken!) systems where -funsigned-char is the default behavior 1178Reported by Patrick Fallberg <patrick@fallberg.net> 1179 1180------------------------------------------------------------------------ 1181r2157 | adk0212 | 2014-04-20 16:36:29 -0400 (Sun, 20 Apr 2014) | 2 lines 1182 1183Populate some additional columns in Windows Programs & Features control panel 1184 1185------------------------------------------------------------------------ 1186r2156 | adk0212 | 2014-04-20 16:14:52 -0400 (Sun, 20 Apr 2014) | 2 lines 1187 1188V_UNKNOWN conflicts with win32 headers, as does V_NONE. V_DEFAULT it is, then. 1189 1190------------------------------------------------------------------------ 1191r2155 | adk0212 | 2014-04-09 18:18:29 -0400 (Wed, 09 Apr 2014) | 2 lines 1192 1193Remove unused script 1194 1195------------------------------------------------------------------------ 1196r2154 | adk0212 | 2014-04-09 18:15:34 -0400 (Wed, 09 Apr 2014) | 2 lines 1197 1198More svn:executable property removals 1199 1200------------------------------------------------------------------------ 1201r2153 | adk0212 | 2014-04-09 14:25:05 -0400 (Wed, 09 Apr 2014) | 2 lines 1202 1203Remove a few more unnecessary svn:executable properties 1204 1205------------------------------------------------------------------------ 1206r2152 | adk0212 | 2014-04-09 14:20:29 -0400 (Wed, 09 Apr 2014) | 3 lines 1207 1208Remove svn:executable property from many files that have no reason to be executable 1209Most of these are an artifact of creating new files remotely via samba share 1210 1211------------------------------------------------------------------------ 1212r2151 | adk0212 | 2014-04-09 14:04:46 -0400 (Wed, 09 Apr 2014) | 3 lines 1213 1214Add model file for Coverity 1215Currently models error_out as static analysis can't tell error_out fnptr is plumbed thru to something that does exit(2) 1216 1217------------------------------------------------------------------------ 1218r2150 | adk0212 | 2014-04-09 13:57:57 -0400 (Wed, 09 Apr 2014) | 2 lines 1219 1220Use variadic macro for Error_abort 1221 1222------------------------------------------------------------------------ 1223r2149 | adk0212 | 2014-04-09 12:26:42 -0400 (Wed, 09 Apr 2014) | 5 lines 1224 1225CID 17184: Out-of-bounds access 1226Not really...unnecessary bounds check on 'n' is making Coverity believe n could be >= sizeof(buf) 1227In reality, n is limited to 0 < n < sizeof(buf) due to net_recv(..., sizeof(buf)-1) 1228Eliminate unnecessary bounds check on 'n' 1229 1230------------------------------------------------------------------------ 1231r2148 | adk0212 | 2014-04-09 12:18:09 -0400 (Wed, 09 Apr 2014) | 3 lines 1232 1233CID 17187: String not null terminated 1234Missed the temp == 0 case 1235 1236------------------------------------------------------------------------ 1237r2147 | adk0212 | 2014-04-09 12:09:58 -0400 (Wed, 09 Apr 2014) | 4 lines 1238 1239Filter out bogus ITEMP readings from SNMP 1240Error is on APC side, we will work around in apcupsd 1241Reported by Sergey <a_s_y@sama.ru> 1242 1243------------------------------------------------------------------------ 1244r2146 | adk0212 | 2014-04-06 12:21:40 -0400 (Sun, 06 Apr 2014) | 4 lines 1245 1246CID 17187: String not null terminated 1247String was not being NUL terminated in the event of exactly filling the buffer 1248Rearrange loop to NUL terminate on every iteration and remove unnecessary memset 1249 1250------------------------------------------------------------------------ 1251r2145 | adk0212 | 2014-04-06 12:13:30 -0400 (Sun, 06 Apr 2014) | 3 lines 1252 1253CID 17189: Uninitialized scalar variable 1254Properly initialize all fields of struct sigaction 1255 1256------------------------------------------------------------------------ 1257r2144 | adk0212 | 2014-04-06 12:10:10 -0400 (Sun, 06 Apr 2014) | 3 lines 1258 1259CID 17190: Uninitialized scalar variable 1260Give s_usb_value a constructor to reset fields to sane values 1261 1262------------------------------------------------------------------------ 1263r2143 | adk0212 | 2014-04-06 11:40:11 -0400 (Sun, 06 Apr 2014) | 3 lines 1264 1265CID 17198: Double free 1266Fix clear() and Append() to avoid potential double-free 1267 1268------------------------------------------------------------------------ 1269r2142 | adk0212 | 2014-04-06 11:32:58 -0400 (Sun, 06 Apr 2014) | 3 lines 1270 1271CID 17139: Buffer not null terminated 1272Change strncpy to strlcpy 1273 1274------------------------------------------------------------------------ 1275r2141 | adk0212 | 2014-04-06 11:20:20 -0400 (Sun, 06 Apr 2014) | 3 lines 1276 1277CID 17186: Resource leak 1278Close sockfd when returning early 1279 1280------------------------------------------------------------------------ 1281r2140 | adk0212 | 2014-04-06 11:07:02 -0400 (Sun, 06 Apr 2014) | 6 lines 1282 1283CID 17199: Double free (not really) 1284Coverity thinks we have a double free because it doesn't realize Error_abort never returns 1285However we can easily rearrange the code to make it clearer (even to a human) 1286Also there is no reason to exit the process on a soft error; just notify client and close connection 1287Misc other cleanup in the same function 1288 1289------------------------------------------------------------------------ 1290r2139 | adk0212 | 2014-04-05 20:18:14 -0400 (Sat, 05 Apr 2014) | 2 lines 1291 1292Update my email address globally 1293 1294------------------------------------------------------------------------ 1295r2138 | adk0212 | 2014-04-05 19:00:20 -0400 (Sat, 05 Apr 2014) | 2 lines 1296 1297Remove ancient Linux kernel hiddev patches 1298 1299------------------------------------------------------------------------ 1300r2137 | adk0212 | 2014-04-05 18:40:59 -0400 (Sat, 05 Apr 2014) | 2 lines 1301 1302Remove empty dirs 1303 1304------------------------------------------------------------------------ 1305r2136 | adk0212 | 2014-04-05 18:14:17 -0400 (Sat, 05 Apr 2014) | 2 lines 1306 1307Add my copyright to configure.in as I've definitely played with it enough now to justify it 1308 1309------------------------------------------------------------------------ 1310r2135 | adk0212 | 2014-04-05 18:12:23 -0400 (Sat, 05 Apr 2014) | 2 lines 1311 1312Remove old todo list 1313 1314------------------------------------------------------------------------ 1315r2134 | adk0212 | 2014-04-05 15:21:37 -0400 (Sat, 05 Apr 2014) | 2 lines 1316 1317Remove unused script 1318 1319------------------------------------------------------------------------ 1320r2133 | adk0212 | 2014-04-05 15:20:12 -0400 (Sat, 05 Apr 2014) | 2 lines 1321 1322Run autoheader automatically when running autoconf 1323 1324------------------------------------------------------------------------ 1325r2132 | adk0212 | 2014-04-05 15:19:31 -0400 (Sat, 05 Apr 2014) | 5 lines 1326 1327Autoconf cleanup 1328- Add description info to AC_DEFINEs (replaces acconfig.h) 1329- Regen config.h.in using autoheader 1330- Misc other cleanup 1331 1332------------------------------------------------------------------------ 1333r2131 | adk0212 | 2014-04-01 23:44:52 -0400 (Tue, 01 Apr 2014) | 2 lines 1334 1335Update config.guess, config.sub to latest from git.savannah.gnu.org 1336 1337------------------------------------------------------------------------ 1338r2130 | adk0212 | 2014-04-01 23:41:40 -0400 (Tue, 01 Apr 2014) | 2 lines 1339 1340Remove some unused scripts 1341 1342------------------------------------------------------------------------ 1343r2129 | adk0212 | 2014-03-31 11:47:46 -0400 (Mon, 31 Mar 2014) | 2 lines 1344 1345Remove old static web site 1346 1347------------------------------------------------------------------------ 1348r2128 | adk0212 | 2014-03-30 10:55:19 -0400 (Sun, 30 Mar 2014) | 3 lines 1349 1350Remove debug print of ASN types 1351This code is pretty thoroughly tested at this point, debug is no longer necessary 1352 1353------------------------------------------------------------------------ 1354r2124 | adk0212 | 2014-03-28 23:51:10 -0400 (Fri, 28 Mar 2014) | 2 lines 1355 1356Prep for 3.14.12 release 1357 1358------------------------------------------------------------------------ 1359r2123 | adk0212 | 2014-03-28 23:36:33 -0400 (Fri, 28 Mar 2014) | 2 lines 1360 1361Remove reference to CHARGING as possible STATUS output 1362 1363------------------------------------------------------------------------ 1364r2122 | adk0212 | 2014-03-28 22:51:54 -0400 (Fri, 28 Mar 2014) | 3 lines 1365 1366Remove value normalization from apcaccess and eliminate -u dependency on -p (again) 1367apcupsd will no longer zero-pad values so normalization is unnecessary 1368 1369------------------------------------------------------------------------ 1370r2121 | adk0212 | 2014-03-28 22:51:02 -0400 (Fri, 28 Mar 2014) | 3 lines 1371 1372Remove field width specifiers to eliminate space- and zero-padding 1373This makes parsing status output easier for scripts at a very small cost to human readability 1374 1375------------------------------------------------------------------------ 1376r2120 | adk0212 | 2014-03-28 22:31:45 -0400 (Fri, 28 Mar 2014) | 3 lines 1377 1378Workaround for UPS firmware bug causing killpower to execute repeatedly in a loop 1379Thanks to Neil Robinson <neil@nezil.com> for very clearly documenting the issue and running many, many tests to help track down a solution. 1380 1381------------------------------------------------------------------------ 1382r2119 | adk0212 | 2014-03-28 17:08:28 -0400 (Fri, 28 Mar 2014) | 3 lines 1383 1384Make apcaccess -u dependent on -p again but with a runtime check to fail if user violates this dependency. 1385Man page update for the same. 1386 1387------------------------------------------------------------------------ 1388r2118 | adk0212 | 2014-03-28 16:14:29 -0400 (Fri, 28 Mar 2014) | 3 lines 1389 1390Update apcaccess man page 1391From Timothe Litt <litt@acm.org> 1392 1393------------------------------------------------------------------------ 1394r2117 | adk0212 | 2014-03-28 16:02:05 -0400 (Fri, 28 Mar 2014) | 2 lines 1395 1396Improve usage info, fix comment 1397 1398------------------------------------------------------------------------ 1399r2116 | adk0212 | 2014-03-28 15:17:14 -0400 (Fri, 28 Mar 2014) | 2 lines 1400 1401Use strtok() as strtok_r() on MinGW 1402 1403------------------------------------------------------------------------ 1404r2115 | adk0212 | 2014-03-28 14:41:26 -0400 (Fri, 28 Mar 2014) | 3 lines 1405 1406Move leading zero suppression to -p handler instead of -u 1407Also allow solitary 0 to pass unaffected 1408 1409------------------------------------------------------------------------ 1410r2114 | adk0212 | 2014-03-28 14:10:59 -0400 (Fri, 28 Mar 2014) | 3 lines 1411 1412Add support for stripping units off of values 1413From Timothe Litt <litt@acm.org>, modified a little 1414 1415------------------------------------------------------------------------ 1416r2113 | adk0212 | 2014-03-28 13:42:07 -0400 (Fri, 28 Mar 2014) | 2 lines 1417 1418Fix apcupsd.conf NISIP overriding command line -h in apcaccess 1419 1420------------------------------------------------------------------------ 1421r2112 | adk0212 | 2014-03-28 13:08:29 -0400 (Fri, 28 Mar 2014) | 3 lines 1422 1423Command line should override config file settings 1424From Timothe Litt <litt@acm.org> 1425 1426------------------------------------------------------------------------ 1427r2111 | adk0212 | 2014-03-28 13:04:20 -0400 (Fri, 28 Mar 2014) | 4 lines 1428 1429Status output "units" cleanup 1430Eliminate unnecessary text after values where that text is redundant with the field name 1431Regularize names of units to use same capitalization 1432 1433------------------------------------------------------------------------ 1434r2110 | adk0212 | 2014-03-27 22:36:41 -0400 (Thu, 27 Mar 2014) | 4 lines 1435 1436Add support for pattern matching and apcupsd.conf parsing in apcaccess 1437Also some code cleanup. 1438Idea and most of the code courtesty of Timothe Litt <litt@acm.org> 1439 1440------------------------------------------------------------------------ 1441r2109 | adk0212 | 2014-03-26 19:01:57 -0400 (Wed, 26 Mar 2014) | 2 lines 1442 1443Firmware rev usages are string indices 1444 1445------------------------------------------------------------------------ 1446r2108 | adk0212 | 2014-03-24 23:03:25 -0400 (Mon, 24 Mar 2014) | 2 lines 1447 1448Add usb_release_interface stub now that generic USB driver needs it 1449 1450------------------------------------------------------------------------ 1451r2107 | adk0212 | 2014-03-24 23:03:00 -0400 (Mon, 24 Mar 2014) | 2 lines 1452 1453One last astrncpy conversion 1454 1455------------------------------------------------------------------------ 1456r2106 | adk0212 | 2014-03-24 22:55:41 -0400 (Mon, 24 Mar 2014) | 3 lines 1457 1458Global replace of atrncat with strlcat 1459All uses of astrncat were incorrect (passing full buffer size instead of remaining size as limit) 1460 1461------------------------------------------------------------------------ 1462r2105 | adk0212 | 2014-03-24 22:52:10 -0400 (Mon, 24 Mar 2014) | 3 lines 1463 1464Global replace of astrcpy with strlcpy 1465Same behavor (aside from return value) but strlcpy is standardized 1466 1467------------------------------------------------------------------------ 1468r2104 | adk0212 | 2014-03-24 22:47:47 -0400 (Mon, 24 Mar 2014) | 4 lines 1469 1470Fix misuse of astrncat in apcstatus by replacing with strlcat 1471strlcpy/strlcat implemented internally if libc does not provide 1472Thanks to Timothe Litt <litt@acm.org> for pointing out this long-standing error 1473 1474------------------------------------------------------------------------ 1475r2103 | adk0212 | 2014-03-22 13:06:22 -0400 (Sat, 22 Mar 2014) | 2 lines 1476 1477Update udev info in manual with tips from Timothe Litt <litt@acm.org> 1478 1479------------------------------------------------------------------------ 1480r2102 | adk0212 | 2014-03-22 12:55:26 -0400 (Sat, 22 Mar 2014) | 3 lines 1481 1482Add UPS name to subject line of event emails and allow one-stop override of SYSADMIN and APCUPSD_MAIL via config file in SCRIPTDIR 1483Contributed by Timothe Litt <litt@acm.org> 1484 1485------------------------------------------------------------------------ 1486r2101 | adk0212 | 2014-03-22 12:47:53 -0400 (Sat, 22 Mar 2014) | 4 lines 1487 1488Fix compiler warning 1489Implicit narrowing within {} is not allowed in C++11 1490h/t Timothe Litt <litt@acm.org> 1491 1492------------------------------------------------------------------------ 1493r2100 | adk0212 | 2014-03-22 12:34:18 -0400 (Sat, 22 Mar 2014) | 3 lines 1494 1495Remove references to --with-css-dir configure option 1496This option hasn't existed since 2004 1497 1498------------------------------------------------------------------------ 1499r2099 | adk0212 | 2014-03-22 12:27:55 -0400 (Sat, 22 Mar 2014) | 3 lines 1500 1501Fix display of battery level during MODBUS calibration 1502(h/t Timothe Litt <litt@acm.org> for pointing out the compiler warning that indicated an issue here.) 1503 1504------------------------------------------------------------------------ 1505r2098 | adk0212 | 2014-03-08 10:57:56 -0500 (Sat, 08 Mar 2014) | 2 lines 1506 1507Update some URLs (h/t Ted Mittelstaedt <tedm@mittelstaedt.us>) 1508 1509------------------------------------------------------------------------ 1510r2097 | adk0212 | 2014-02-26 10:08:09 -0500 (Wed, 26 Feb 2014) | 2 lines 1511 1512Fix driver program_eeprom() and entry_point() function naming 1513 1514------------------------------------------------------------------------ 1515r2096 | adk0212 | 2014-02-18 14:36:51 -0500 (Tue, 18 Feb 2014) | 2 lines 1516 1517Close and re-open serial port during extended COMMLOST in apcsmart driver 1518 1519------------------------------------------------------------------------ 1520r2095 | adk0212 | 2014-02-17 23:13:43 -0500 (Mon, 17 Feb 2014) | 2 lines 1521 1522Make COMMLOST_EVENT_GRACE_PERIOD of type time_t to quiet signed/unsigned comparison warnings 1523 1524------------------------------------------------------------------------ 1525r2094 | adk0212 | 2014-02-16 11:42:59 -0500 (Sun, 16 Feb 2014) | 2 lines 1526 1527Fix compilation with 10.4 SDK -- NSTableViewDataSource was not a formal protocol until 10.6 1528 1529------------------------------------------------------------------------ 1530r2093 | adk0212 | 2014-02-16 11:29:26 -0500 (Sun, 16 Feb 2014) | 2 lines 1531 1532Fix indentation and comment on lastStatus 1533 1534------------------------------------------------------------------------ 1535r2092 | adk0212 | 2014-02-16 11:28:52 -0500 (Sun, 16 Feb 2014) | 3 lines 1536 1537Indicate that StatusTableDataSource and EventsTableDataSource adhere to the NSTableViewDataSource protocol 1538This eliminates compiler warning about incompatible pointers when data source is passed to NSTableView 1539 1540------------------------------------------------------------------------ 1541r2091 | adk0212 | 2014-02-16 11:08:26 -0500 (Sun, 16 Feb 2014) | 4 lines 1542 1543Remove definition of bool/true/false for non-C++ environments 1544Causes warnings in Objective C code since OBJC has bool 1545Regular C should not be using bool and friends in the first place 1546 1547------------------------------------------------------------------------ 1548r2090 | adk0212 | 2014-02-15 21:03:01 -0500 (Sat, 15 Feb 2014) | 2 lines 1549 1550Replace deprecated stringWithCString with stringWithUTF8String 1551 1552------------------------------------------------------------------------ 1553r2089 | adk0212 | 2014-02-15 19:05:50 -0500 (Sat, 15 Feb 2014) | 3 lines 1554 1555Remove 'eprominfo' command 1556Same information is available via 'status' along with a lot more 1557 1558------------------------------------------------------------------------ 1559r2088 | adk0212 | 2014-02-15 19:04:43 -0500 (Sat, 15 Feb 2014) | 4 lines 1560 1561Remove 'rawupsinfo' command 1562This was useful many, many years ago when UPSINFO was a shmem structure 1563Not so much any more. 1564 1565------------------------------------------------------------------------ 1566r2087 | adk0212 | 2014-02-15 19:02:20 -0500 (Sat, 15 Feb 2014) | 3 lines 1567 1568Remove techlogs 1569- Interesting historical artifacts, but not something we need to keep shipping in every tarball 1570 1571------------------------------------------------------------------------ 1572r2086 | adk0212 | 2014-02-12 22:46:38 -0500 (Wed, 12 Feb 2014) | 2 lines 1573 1574Fix use of bool as integer in net driver 1575 1576------------------------------------------------------------------------ 1577r2085 | adk0212 | 2014-02-12 22:28:00 -0500 (Wed, 12 Feb 2014) | 2 lines 1578 1579int to bool cleanup in USB drivers 1580 1581------------------------------------------------------------------------ 1582r2084 | adk0212 | 2014-02-12 11:18:56 -0500 (Wed, 12 Feb 2014) | 2 lines 1583 1584Add section on NIS network protocol to the manual 1585 1586------------------------------------------------------------------------ 1587r2083 | adk0212 | 2014-02-10 21:40:00 -0500 (Mon, 10 Feb 2014) | 2 lines 1588 1589Remove unused MGE VID 1590 1591------------------------------------------------------------------------ 1592r2082 | adk0212 | 2014-02-10 21:39:42 -0500 (Mon, 10 Feb 2014) | 2 lines 1593 1594Avoid probing non-APC devices as they may not like it 1595 1596------------------------------------------------------------------------ 1597r2081 | adk0212 | 2014-02-10 21:25:47 -0500 (Mon, 10 Feb 2014) | 2 lines 1598 1599Release interface in generic usb driver when probe fails 1600 1601------------------------------------------------------------------------ 1602r2080 | adk0212 | 2014-02-09 19:25:31 -0500 (Sun, 09 Feb 2014) | 3 lines 1603 1604Fix spelling of 'exhausted' in apccontrol 1605Contributed by Paul Keusemann <pkeusem@visi.com> 1606 1607------------------------------------------------------------------------ 1608r2079 | adk0212 | 2014-02-09 13:00:52 -0500 (Sun, 09 Feb 2014) | 6 lines 1609 1610Fix issue with service failing to start on Windows during boot with USB UPS 1611- UPS is not found on USB bus until a little while after service starts up 1612- Make USB driver Open method return failure instead of exiting the daemon 1613- Treat Open failure as COMMLOST when starting up 1614- Normal COMMLOST event is suppressed for 60 seconds to avoid needless log spam when UPS becomes available in short order 1615 1616------------------------------------------------------------------------ 1617r2078 | adk0212 | 2014-02-09 12:49:06 -0500 (Sun, 09 Feb 2014) | 2 lines 1618 1619Regen html manual with updated docutils 1620 1621------------------------------------------------------------------------ 1622r2077 | adk0212 | 2014-02-05 21:35:20 -0500 (Wed, 05 Feb 2014) | 2 lines 1623 1624Update the link to David Ranch's TrinityOS page 1625 1626------------------------------------------------------------------------ 1627r2076 | adk0212 | 2014-02-05 12:50:19 -0500 (Wed, 05 Feb 2014) | 2 lines 1628 1629Fix bogus lock file error when config file error forces early termination 1630 1631------------------------------------------------------------------------ 1632r2075 | adk0212 | 2014-02-04 22:22:42 -0500 (Tue, 04 Feb 2014) | 2 lines 1633 1634Fix spelling error in APC app note comment and clarify origin of app notes 1635 1636------------------------------------------------------------------------ 1637r2074 | adk0212 | 2014-02-04 22:16:42 -0500 (Tue, 04 Feb 2014) | 2 lines 1638 1639Update MODBUS NOMOUTV mapping for voltages other than 120VAC 1640 1641------------------------------------------------------------------------ 1642r2073 | adk0212 | 2014-02-04 09:51:54 -0500 (Tue, 04 Feb 2014) | 4 lines 1643 1644Fix LOADPCT (CI_LOAD) on MODBUS driver 1645- Missing break on CI_LowBattery case caused us to fall through and overwrite CI_LOAD 1646- Reported by Sash Ulrich <babyporch@gmail.com> 1647 1648------------------------------------------------------------------------ 1649r2072 | adk0212 | 2014-02-03 18:30:10 -0500 (Mon, 03 Feb 2014) | 2 lines 1650 1651Support rst2html in addition to rst2html.py 1652 1653------------------------------------------------------------------------ 1654r2071 | adk0212 | 2014-02-03 18:28:18 -0500 (Mon, 03 Feb 2014) | 2 lines 1655 1656Remove net-snmp from enable-all 1657 1658------------------------------------------------------------------------ 1659r2070 | adk0212 | 2014-02-01 12:53:59 -0500 (Sat, 01 Feb 2014) | 2 lines 1660 1661Test commit 2 1662 1663------------------------------------------------------------------------ 1664r2069 | adk0212 | 2014-02-01 12:22:12 -0500 (Sat, 01 Feb 2014) | 2 lines 1665 1666Test commit 1667 1668------------------------------------------------------------------------ 1669r2068 | adk0212 | 2014-02-01 12:17:55 -0500 (Sat, 01 Feb 2014) | 3 lines 1670 1671Fix issue with net driver not reporting MODEL value 1672Reported by Chris Dallimore <panda@pigstrough.co.uk> 1673 1674------------------------------------------------------------------------ 1675r2067 | adk0212 | 2014-01-31 20:59:13 -0500 (Fri, 31 Jan 2014) | 2 lines 1676 1677Fix 3.14.11 info that got clobbered in last update 1678 1679------------------------------------------------------------------------ 1680r2066 | adk0212 | 2014-01-31 20:25:15 -0500 (Fri, 31 Jan 2014) | 2 lines 1681 1682Update web site with SVN link 1683 1684------------------------------------------------------------------------ 1685r2065 | adk0212 | 2014-01-31 11:52:13 -0500 (Fri, 31 Jan 2014) | 2 lines 1686 1687Update web site with 3.14.11 release info 1688 1689------------------------------------------------------------------------ 1690r2063 | adk0212 | 2014-01-31 10:45:36 -0500 (Fri, 31 Jan 2014) | 2 lines 1691 1692Update ChangeLog (again) 1693 1694------------------------------------------------------------------------ 1695r2062 | adk0212 | 2014-01-31 10:44:48 -0500 (Fri, 31 Jan 2014) | 2 lines 1696 1697Bump release date 1698 1699------------------------------------------------------------------------ 1700r2061 | adk0212 | 2014-01-31 10:43:24 -0500 (Fri, 31 Jan 2014) | 2 lines 1701 1702Update ReleaseNotes for 3.14.11 1703 1704------------------------------------------------------------------------ 1705r2060 | adk0212 | 2014-01-31 10:33:38 -0500 (Fri, 31 Jan 2014) | 2 lines 1706 1707Minor update to win32 USB driver installation notes 1708 1709------------------------------------------------------------------------ 1710r2059 | adk0212 | 2014-01-29 17:58:16 -0500 (Wed, 29 Jan 2014) | 2 lines 1711 1712Final prep for 3.14.11 1713 1714------------------------------------------------------------------------ 1715r2058 | adk0212 | 2014-01-29 17:56:36 -0500 (Wed, 29 Jan 2014) | 2 lines 1716 1717Add apcupsd.cat signature file to USB driver installation 1718 1719------------------------------------------------------------------------ 1720r2057 | adk0212 | 2014-01-29 17:54:21 -0500 (Wed, 29 Jan 2014) | 2 lines 1721 1722Commit signed winusb driver courtesy of Jernej Simoncic <jernej's-sflist@eternallybored.org> 1723 1724------------------------------------------------------------------------ 1725r2056 | adk0212 | 2013-11-20 19:14:12 -0500 (Wed, 20 Nov 2013) | 2 lines 1726 1727Update ChangeLog for 3.14.11 1728 1729------------------------------------------------------------------------ 1730r2055 | adk0212 | 2013-11-20 19:13:31 -0500 (Wed, 20 Nov 2013) | 2 lines 1731 1732Update version info for 3.14.11 release 1733 1734------------------------------------------------------------------------ 1735r2054 | adk0212 | 2013-11-20 19:12:21 -0500 (Wed, 20 Nov 2013) | 2 lines 1736 1737Add modbus info to DEVICE section 1738 1739------------------------------------------------------------------------ 1740r2053 | adk0212 | 2013-11-20 19:08:50 -0500 (Wed, 20 Nov 2013) | 2 lines 1741 1742Add modbus information to the manual 1743 1744------------------------------------------------------------------------ 1745r2052 | adk0212 | 2013-11-20 18:28:13 -0500 (Wed, 20 Nov 2013) | 2 lines 1746 1747Update cached copy of AN176, add AN177, AN178 1748 1749------------------------------------------------------------------------ 1750r2051 | adk0212 | 2013-11-20 18:21:31 -0500 (Wed, 20 Nov 2013) | 2 lines 1751 1752Add pointers to relevant APC app notes in modbus driver source files. 1753 1754------------------------------------------------------------------------ 1755r2050 | adk0212 | 2013-08-19 21:23:12 -0400 (Mon, 19 Aug 2013) | 4 lines 1756 1757Implement the modbus killpower test in apctest. Comment out the other 1758modbus tests that are not implemented (due to lack of MODBUS mappings in 1759the UPS for the relevant controls) 1760 1761------------------------------------------------------------------------ 1762r2049 | adk0212 | 2013-08-19 21:18:58 -0400 (Mon, 19 Aug 2013) | 3 lines 1763 1764Add current rev of App Note 176 (June 2013) describing the MODBUS 1765implementation on APC UPSes 1766 1767------------------------------------------------------------------------ 1768r2048 | adk0212 | 2013-08-05 10:05:17 -0400 (Mon, 05 Aug 2013) | 2 lines 1769 1770Initial rev of MODBUS support 1771 1772------------------------------------------------------------------------ 1773r2047 | adk0212 | 2013-04-18 21:12:46 -0400 (Thu, 18 Apr 2013) | 2 lines 1774 1775Build fixes for gcc-4.2.4 1776 1777------------------------------------------------------------------------ 1778r2046 | adk0212 | 2013-04-18 21:12:11 -0400 (Thu, 18 Apr 2013) | 7 lines 1779 1780Upgrade cross-tools to more recent versions 1781gcc-4.2.4 (latest version which is easily built on RHEL5 due to gmp and mpfr dependencies) 1782binutils-2.23.1 (latest) 1783mingw-3.20 (latest, aside from 3.20-2 which is buggy) 1784w32api-3.17-2 (latest) 1785nsis-2.46 (latest, unchanged) 1786 1787------------------------------------------------------------------------ 1788r2045 | adk0212 | 2013-02-18 19:25:43 -0500 (Mon, 18 Feb 2013) | 2 lines 1789 1790Add lock file creation to apctest main() 1791 1792------------------------------------------------------------------------ 1793r2044 | adk0212 | 2013-02-18 19:24:38 -0500 (Mon, 18 Feb 2013) | 2 lines 1794 1795Fix copy-paste error in main() 1796 1797------------------------------------------------------------------------ 1798r2043 | adk0212 | 2013-02-18 19:22:08 -0500 (Mon, 18 Feb 2013) | 4 lines 1799 1800Remove redundant creation of lock file from setup_device(). Lock file was 1801already being created in main(). Change error message in main() to match 1802the one we are removing because it is more informative. 1803 1804------------------------------------------------------------------------ 1805r2042 | adk0212 | 2013-02-18 19:18:17 -0500 (Mon, 18 Feb 2013) | 3 lines 1806 1807Get rid of UPS setup flag. This was a holdover from back when the UPSINFO 1808structure was held in sysv shmem. 1809 1810------------------------------------------------------------------------ 1811r2041 | adk0212 | 2013-02-11 10:21:51 -0500 (Mon, 11 Feb 2013) | 2 lines 1812 1813Use variadic macros for Dmsg since we pretty much require gcc at this point 1814 1815------------------------------------------------------------------------ 1816r2040 | adk0212 | 2012-08-19 22:29:28 -0400 (Sun, 19 Aug 2012) | 3 lines 1817 1818If SNMP trap catching cannot be enabled, log a warning and fall back to 1819polling instead of crashing. 1820 1821------------------------------------------------------------------------ 1822r2039 | adk0212 | 2012-08-19 22:07:12 -0400 (Sun, 19 Aug 2012) | 2 lines 1823 1824Revert notch/spike LASTXFER change; UPS reporting is too ambiguous. 1825 1826------------------------------------------------------------------------ 1827r2038 | adk0212 | 2012-08-17 15:53:45 -0400 (Fri, 17 Aug 2012) | 2 lines 1828 1829Add info about disabling INF signature enforcement in Windows 8 1830 1831------------------------------------------------------------------------ 1832r2037 | adk0212 | 2012-08-10 13:40:01 -0400 (Fri, 10 Aug 2012) | 2 lines 1833 1834Recategorize notch/spike related LASTXFER values appropriately. 1835 1836------------------------------------------------------------------------ 1837r2036 | adk0212 | 2012-06-18 21:47:08 -0400 (Mon, 18 Jun 2012) | 2 lines 1838 1839Make MIB (vendor) name search case insensitive in snmplite driver 1840 1841------------------------------------------------------------------------ 1842r2035 | adk0212 | 2012-03-30 23:48:58 -0400 (Fri, 30 Mar 2012) | 2 lines 1843 1844Rename known_info -> _known_info 1845 1846------------------------------------------------------------------------ 1847r2034 | adk0212 | 2012-03-30 23:40:59 -0400 (Fri, 30 Mar 2012) | 2 lines 1848 1849Convert BSD USB driver to UpsDriver derivative 1850 1851------------------------------------------------------------------------ 1852r2033 | adk0212 | 2012-03-30 19:47:08 -0400 (Fri, 30 Mar 2012) | 2 lines 1853 1854Convert drivers to C++ classes derived from UpsDriver 1855 1856------------------------------------------------------------------------ 1857r2032 | adk0212 | 2012-03-26 20:48:22 -0400 (Mon, 26 Mar 2012) | 2 lines 1858 1859Break out of getline() if read() returns an error 1860 1861------------------------------------------------------------------------ 1862r2031 | adk0212 | 2012-03-06 12:04:27 -0500 (Tue, 06 Mar 2012) | 2 lines 1863 1864Fix PCNET runtime remaining on Smart-UPS X and RT models. 1865 1866------------------------------------------------------------------------ 1867r2030 | adk0212 | 2012-03-04 22:40:40 -0500 (Sun, 04 Mar 2012) | 2 lines 1868 1869Add missing debug for REG2 1870 1871------------------------------------------------------------------------ 1872r2029 | adk0212 | 2012-01-26 21:23:44 -0500 (Thu, 26 Jan 2012) | 4 lines 1873 1874Apply some Mandrake patches, thanks to David Walser <luigiwalser@yahoo.com> 1875- http://svn.mandriva.com/svn/packages/cooker/apcupsd/current/SOURCES/apcupsd-3.10.16-staleusb.patch 1876- http://svn.mandriva.com/svn/packages/cooker/apcupsd/current/SOURCES/apcupsd-3.14.4-mdv_conf.diff 1877 1878------------------------------------------------------------------------ 1879r2028 | adk0212 | 2011-12-09 10:23:33 -0500 (Fri, 09 Dec 2011) | 2 lines 1880 1881Fix missing DATATIME report info for SNMPLITE_UPS 1882 1883------------------------------------------------------------------------ 1884r2027 | adk0212 | 2011-12-09 10:20:08 -0500 (Fri, 09 Dec 2011) | 3 lines 1885 1886Fix missing DATATIME report info for PCNET UPSes. Contributed by 1887Dan Swartzendruber <dswartz@druber.com>. 1888 1889------------------------------------------------------------------------ 1890r2026 | adk0212 | 2011-11-21 22:05:26 -0500 (Mon, 21 Nov 2011) | 2 lines 1891 1892Fix quoting around AC_LANG_PROGRAM to eliminate warning with autoconf-2.68 1893 1894------------------------------------------------------------------------ 1895r2025 | adk0212 | 2011-11-21 22:03:53 -0500 (Mon, 21 Nov 2011) | 4 lines 1896 1897Fix failure to compile when libsupc++ is not available. Need to link using 1898g++ when not linking libsupc++. If linking with libsupc++ use gcc to avoid 1899gettting libstdc++ linked by default. Fixes build on stock Mandriva 2011. 1900 1901------------------------------------------------------------------------ 1902r2024 | adk0212 | 2011-11-21 21:23:39 -0500 (Mon, 21 Nov 2011) | 2 lines 1903 1904Remove set-but-unused variables pointed out by g++-4.6.1 1905 1906------------------------------------------------------------------------ 1907r2023 | adk0212 | 2011-11-21 13:23:53 -0500 (Mon, 21 Nov 2011) | 3 lines 1908 1909Fix smartups configuration example. "UPSTYPE smartups" should be 1910"UPSTYPE apcsmart". Reported by Moray Henderson <moray.henderson@om.org> 1911 1912------------------------------------------------------------------------ 1913r2022 | adk0212 | 2011-11-10 08:06:36 -0500 (Thu, 10 Nov 2011) | 5 lines 1914 1915Fix ability to detect SNMP GET failures by adding a 'valid' flag to data 1916variables. Flag is defaulted to false when a GET is performed and set to 1917true when valid data is assigned to the variable. This allows the caller 1918to know if any of the OIDs did not fetch successfully. 1919 1920------------------------------------------------------------------------ 1921r2021 | adk0212 | 2011-11-09 22:58:51 -0500 (Wed, 09 Nov 2011) | 3 lines 1922 1923Tighten restriction to screen out bad CI_NOMBATTV. Add check for invalid 1924CI_BADBATTS. 1925 1926------------------------------------------------------------------------ 1927r2020 | adk0212 | 2011-11-09 15:12:01 -0500 (Wed, 09 Nov 2011) | 3 lines 1928 1929Fix handling of UPS calibration by adding a dedicated state for when UPS 1930is performing calibration. 1931 1932------------------------------------------------------------------------ 1933r2019 | adk0212 | 2011-11-09 15:10:49 -0500 (Wed, 09 Nov 2011) | 3 lines 1934 1935Fix self test detection in snmplite driver by implementing 1936snmplite_ups_entry_point() and adding support for DEVICE_CMD_CHECK_SELFTEST 1937 1938------------------------------------------------------------------------ 1939r2018 | adk0212 | 2011-11-09 15:08:55 -0500 (Wed, 09 Nov 2011) | 2 lines 1940 1941Add missing debug print for C_WHY_BATT 1942 1943------------------------------------------------------------------------ 1944r2017 | adk0212 | 2011-11-07 22:02:51 -0500 (Mon, 07 Nov 2011) | 4 lines 1945 1946Fix crash when snmplite_ups_open() fails due to SnmpEngine::Open() failure. 1947We need to exit directly rather than returning failure code since caller 1948stupidly ignores the return code and will blindly continue on. 1949 1950------------------------------------------------------------------------ 1951r2016 | adk0212 | 2011-11-07 21:58:59 -0500 (Mon, 07 Nov 2011) | 2 lines 1952 1953Fix socket leaks on SnmpEngine::Open() failure paths 1954 1955------------------------------------------------------------------------ 1956r2015 | adk0212 | 2011-11-07 21:57:48 -0500 (Mon, 07 Nov 2011) | 2 lines 1957 1958Remove NLS textdomain call since NLS has been removed long ago. 1959 1960------------------------------------------------------------------------ 1961r2014 | adk0212 | 2011-11-07 21:36:20 -0500 (Mon, 07 Nov 2011) | 4 lines 1962 1963Strip unprintable characters from UPS model string. Pointed out by Peter 1964Henn <peter_henn@gmx.de> in the PCNET driver. Fix applied globally since 1965this issue could affect any driver. 1966 1967------------------------------------------------------------------------ 1968r2013 | adk0212 | 2011-11-07 21:23:19 -0500 (Mon, 07 Nov 2011) | 3 lines 1969 1970Fix compatibility with mdoc(7) on OpenBSDD. From Ingo Schwarze 1971<schwarze@openbsd.org> via Kirill Bychkov <yason@linklevel.net>. 1972 1973------------------------------------------------------------------------ 1974r2012 | adk0212 | 2011-10-14 23:41:07 -0400 (Fri, 14 Oct 2011) | 2 lines 1975 1976Add VID/PID for HP T1500 G3 UPS which is a rebadged APC unit 1977 1978------------------------------------------------------------------------ 1979r2011 | adk0212 | 2011-10-12 09:00:15 -0400 (Wed, 12 Oct 2011) | 6 lines 1980 1981Remove vendor check from BSD and Generic USB drivers. HP OEMed some UPSes 1982from APC so they are compatible with apcupsd in spite of carrying an HP 1983vendor id. We might as well try to talk to anything a user connects. We 1984will still fail if the required UPS application collection is not found 1985and that is a better indicator of potential compatiblity. 1986 1987------------------------------------------------------------------------ 1988r2010 | fleetworks | 2011-10-02 09:51:45 -0400 (Sun, 02 Oct 2011) | 2 lines 1989 1990Release 3.14.10 1991 1992------------------------------------------------------------------------ 1993r2009 | adk0212 | 2011-09-27 23:33:21 -0400 (Tue, 27 Sep 2011) | 3 lines 1994 1995Fix compile issue with newer net-snmp on CentOS 6. 'MIB' is apparently a 1996macro now, so need to avoid using it. 1997 1998------------------------------------------------------------------------ 1999r2008 | adk0212 | 2011-09-26 08:56:08 -0400 (Mon, 26 Sep 2011) | 5 lines 2000 2001Filter out SNMP query results that have zero-length sequences. This 2002prevents a crash in the event that the SNMP request times out, as it 2003appears to do very occasionally on certain hardware. Thanks to Lars Tauber 2004<taeuber@bbaw.de> for reporting the issue and testing the fix. 2005 2006------------------------------------------------------------------------ 2007r2007 | adk0212 | 2011-09-22 18:22:41 -0400 (Thu, 22 Sep 2011) | 2 lines 2008 2009Add list of UPSes to avoid 2010 2011------------------------------------------------------------------------ 2012r2006 | adk0212 | 2011-09-15 22:16:14 -0400 (Thu, 15 Sep 2011) | 2 lines 2013 2014Fix MODEL reporting 2015 2016------------------------------------------------------------------------ 2017r2005 | adk0212 | 2011-09-13 22:57:16 -0400 (Tue, 13 Sep 2011) | 2 lines 2018 2019Update home page for 3.14.10 release 2020 2021------------------------------------------------------------------------ 2022r2003 | adk0212 | 2011-09-13 22:34:31 -0400 (Tue, 13 Sep 2011) | 2 lines 2023 2024Prep for 3.14.10 release 2025 2026------------------------------------------------------------------------ 2027r2002 | adk0212 | 2011-09-02 15:17:13 -0400 (Fri, 02 Sep 2011) | 5 lines 2028 2029Add PID 5 for SMX750 (at least that's what mine uses). Also change 2030com.apple.kernel.iokit to com.apple.kpi.iokit in OS X plist as suggested 2031in an apple dev list posting. It's unclear this does anything but it might 2032help resolve issues with the kext not being selected on certain systems. 2033 2034------------------------------------------------------------------------ 2035r2001 | adk0212 | 2011-09-02 11:44:41 -0400 (Fri, 02 Sep 2011) | 2 lines 2036 2037Report proper error numbers, not just -1. 2038 2039------------------------------------------------------------------------ 2040r2000 | adk0212 | 2011-09-02 11:44:14 -0400 (Fri, 02 Sep 2011) | 7 lines 2041 2042Switch USB drivers to prefer FEATURE reports over INPUT reports. This 2043fixes issues with a number of newer UPS models where they advertise INPUT 2044reports but fail to send them when you query for them. Also check report 2045length when processing an interrupt report and ignore it if the length is 2046wrong. This fixes an issue where some UPSes sporadically send truncated 2047interrupt reports. 2048 2049------------------------------------------------------------------------ 2050r1999 | adk0212 | 2011-08-12 19:01:38 -0400 (Fri, 12 Aug 2011) | 6 lines 2051 2052Ignore transitions to battery because of calibration. This can happen if 2053user initiates calibration in apctest, then exits apctest and starts 2054apcupsd before the calibration has completed. In this case we do not want 2055to shut down the machine, so treat onbattery+cal as not on battery at all. 2056Reported by Sergey <a_s_y@sama.ru>. 2057 2058------------------------------------------------------------------------ 2059r1998 | adk0212 | 2011-08-05 16:31:40 -0400 (Fri, 05 Aug 2011) | 3 lines 2060 2061Use astrncpy instead of strncpy to avoid leaving strings without NUL 2062termination in the overflow case 2063 2064------------------------------------------------------------------------ 2065r1997 | adk0212 | 2011-08-05 16:30:37 -0400 (Fri, 05 Aug 2011) | 3 lines 2066 2067Enlarge upsmodel buffer to handle longer model strings. Needed for 2068"Smart-UPS RT 5000 XL" as reported by Sergey <a_s_y@sama.ru> 2069 2070------------------------------------------------------------------------ 2071r1996 | adk0212 | 2011-08-05 16:29:21 -0400 (Fri, 05 Aug 2011) | 2 lines 2072 2073Add missing function prototype 2074 2075------------------------------------------------------------------------ 2076r1995 | adk0212 | 2011-08-05 16:15:29 -0400 (Fri, 05 Aug 2011) | 2 lines 2077 2078Regen manual for 3.14.9 release 2079 2080------------------------------------------------------------------------ 2081r1994 | adk0212 | 2011-08-05 16:14:29 -0400 (Fri, 05 Aug 2011) | 6 lines 2082 2083Fix MODEL vs. APCMODEL confusion 2084Remove APCMODEL, rename old MODEL aka mode to DRIVER. Update apcsmart 2085driver to put model string into upsmodel field. Remove PCNET workaround 2086for CI_UPSMODEL that is no longer needed. Change USB driver to leave 2087mode field alone. 2088 2089------------------------------------------------------------------------ 2090r1993 | adk0212 | 2011-08-04 19:19:32 -0400 (Thu, 04 Aug 2011) | 2 lines 2091 2092Add link to OS X binary for 3.14.9 now that it's been released 2093 2094------------------------------------------------------------------------ 2095r1992 | adk0212 | 2011-08-04 19:17:38 -0400 (Thu, 04 Aug 2011) | 3 lines 2096 2097Work around PackageMaker bug that causes apcagent.app to be relocated at 2098install time in spite of --no-relocate flag 2099 2100------------------------------------------------------------------------ 2101r1991 | adk0212 | 2011-07-22 23:41:40 -0400 (Fri, 22 Jul 2011) | 2 lines 2102 2103Update web site for 3.14.9 release 2104 2105------------------------------------------------------------------------ 2106r1989 | adk0212 | 2011-07-22 12:27:54 -0400 (Fri, 22 Jul 2011) | 2 lines 2107 2108Prep for 3.14.9 release 2109 2110------------------------------------------------------------------------ 2111r1988 | adk0212 | 2011-05-19 18:55:25 -0400 (Thu, 19 May 2011) | 2 lines 2112 2113Add support for changing PCNET port in apcupsd.conf 2114 2115------------------------------------------------------------------------ 2116r1987 | adk0212 | 2011-05-15 19:07:31 -0400 (Sun, 15 May 2011) | 2 lines 2117 2118Add PIDs for AP9620 LCC 2119 2120------------------------------------------------------------------------ 2121r1986 | adk0212 | 2011-05-15 19:04:29 -0400 (Sun, 15 May 2011) | 2 lines 2122 2123Fix community probing, misc cleanup 2124 2125------------------------------------------------------------------------ 2126r1985 | adk0212 | 2011-01-06 10:24:43 -0500 (Thu, 06 Jan 2011) | 2 lines 2127 2128Fix download links on web site; sf.net change the page format again so dl.php no longer works 2129 2130------------------------------------------------------------------------ 2131r1984 | adk0212 | 2010-09-17 08:44:51 -0400 (Fri, 17 Sep 2010) | 6 lines 2132 2133Change back so we no longer wait for threads to exit. This is necessary 2134because pthread_cancel on OS X does not interrupt blocking calls, even 2135those defined as cancellation points by SuSv3. Argh. Someday we need to 2136fix apcupsd thread shutdown correctly, but for now this is no worse than 2137before. 2138 2139------------------------------------------------------------------------ 2140r1983 | adk0212 | 2010-09-10 10:50:12 -0400 (Fri, 10 Sep 2010) | 7 lines 2141 2142Rework signal handling to eliminate crashes and hangs. Old signal handler 2143was doing many things wrong: calling unsafe functions in signal context, 2144freeing memory before ensuring users were gone, invoking functions that 2145lock the UPSINFO mutex resulting in deadlock if it's already locked, etc. 2146FIx all this by using a signal handling thread waiting on sigwait() in 2147place of raw handler. 2148 2149------------------------------------------------------------------------ 2150r1982 | adk0212 | 2010-09-10 08:32:19 -0400 (Fri, 10 Sep 2010) | 2 lines 2151 2152Use "iter->" instead of "(*iter)." 2153 2154------------------------------------------------------------------------ 2155r1981 | adk0212 | 2010-09-10 08:30:53 -0400 (Fri, 10 Sep 2010) | 3 lines 2156 2157Update MGE MIB handler for SNMP sequence support. 2158Contributed by Lars Taeuber <taeuber@bbaw.de> 2159 2160------------------------------------------------------------------------ 2161r1980 | adk0212 | 2010-09-09 09:40:51 -0400 (Thu, 09 Sep 2010) | 3 lines 2162 2163Fix shutdown command when utility power has been restored. Contributed 2164by Michal Soltys <soltys@ziu.info> 2165 2166------------------------------------------------------------------------ 2167r1979 | adk0212 | 2010-09-09 09:17:13 -0400 (Thu, 09 Sep 2010) | 3 lines 2168 2169Prevent apctest from locking up on UPSes that do not respond (at all) to 2170the 'a' command. Contributed by Michal Soltys <soltys@ziu.info> 2171 2172------------------------------------------------------------------------ 2173r1978 | adk0212 | 2010-09-09 09:12:49 -0400 (Thu, 09 Sep 2010) | 2 lines 2174 2175Remove remaining NLS artifacts 2176 2177------------------------------------------------------------------------ 2178r1977 | adk0212 | 2010-09-08 19:25:07 -0400 (Wed, 08 Sep 2010) | 4 lines 2179 2180Remove obsolete mode types and simplify cable vs. mode disambiguation 2181logic. UPSTYPE wins. UPSCABLE is only used for dumb driver. Remove a bit 2182of screwy BackUPS Pro and v/s logic that is long obsolete. 2183 2184------------------------------------------------------------------------ 2185r1976 | adk0212 | 2010-09-08 19:23:34 -0400 (Wed, 08 Sep 2010) | 2 lines 2186 2187Minor update to K command 2188 2189------------------------------------------------------------------------ 2190r1975 | adk0212 | 2010-09-08 15:06:21 -0400 (Wed, 08 Sep 2010) | 3 lines 2191 2192Average LOADPCT across all lines rather than summing them since mfgrs 2193appear to not be adhering to the spec very closely. 2194 2195------------------------------------------------------------------------ 2196r1974 | adk0212 | 2010-09-08 14:44:30 -0400 (Wed, 08 Sep 2010) | 2 lines 2197 2198Use GETNEXT instead of GET so OIDs no longer need trailing zero. 2199 2200------------------------------------------------------------------------ 2201r1973 | adk0212 | 2010-09-07 11:35:13 -0400 (Tue, 07 Sep 2010) | 3 lines 2202 2203Add support for fetching SNMP table columns as sequences and use it in 2204RFC1628 MIB support. 2205 2206------------------------------------------------------------------------ 2207r1972 | adk0212 | 2010-09-03 16:36:08 -0400 (Fri, 03 Sep 2010) | 2 lines 2208 2209Fix misformatted path due to missing back-tick 2210 2211------------------------------------------------------------------------ 2212r1971 | adk0212 | 2010-09-03 16:33:59 -0400 (Fri, 03 Sep 2010) | 2 lines 2213 2214Update manual for Ed Dondlinger's Windows email scripts 2215 2216------------------------------------------------------------------------ 2217r1970 | adk0212 | 2010-09-03 16:18:58 -0400 (Fri, 03 Sep 2010) | 2 lines 2218 2219More updates for new winusb driver 2220 2221------------------------------------------------------------------------ 2222r1969 | adk0212 | 2010-09-03 16:13:41 -0400 (Fri, 03 Sep 2010) | 3 lines 2223 2224Update supported OSes list...USB on x86_64 Windows is now supported. USB on 2225Win98/ME/2000 is no longer supported. 2226 2227------------------------------------------------------------------------ 2228r1968 | adk0212 | 2010-09-03 14:41:46 -0400 (Fri, 03 Sep 2010) | 2 lines 2229 2230Fix snmplite build on win32 by adding missing mge-mib 2231 2232------------------------------------------------------------------------ 2233r1967 | adk0212 | 2010-09-03 14:40:59 -0400 (Fri, 03 Sep 2010) | 3 lines 2234 2235Add Windows email scripts and include them in win32 installs as examples 2236Contributed by Ed Dondlinger <edondlinger@thepylegroup.com> 2237 2238------------------------------------------------------------------------ 2239r1966 | adk0212 | 2010-09-02 15:31:39 -0400 (Thu, 02 Sep 2010) | 2 lines 2240 2241Reorder cases so they are in numerical order 2242 2243------------------------------------------------------------------------ 2244r1965 | adk0212 | 2010-09-02 15:29:34 -0400 (Thu, 02 Sep 2010) | 2 lines 2245 2246Add missing break 2247 2248------------------------------------------------------------------------ 2249r1964 | adk0212 | 2010-09-02 15:26:35 -0400 (Thu, 02 Sep 2010) | 2 lines 2250 2251Minor correction to low battery logic: Depleted also counts as low. 2252 2253------------------------------------------------------------------------ 2254r1963 | adk0212 | 2010-09-02 15:05:41 -0400 (Thu, 02 Sep 2010) | 2 lines 2255 2256Missed a couple with table workaround 2257 2258------------------------------------------------------------------------ 2259r1962 | adk0212 | 2010-09-02 14:51:53 -0400 (Thu, 02 Sep 2010) | 3 lines 2260 2261Workaround for line in and line out data on RFC MIB. Blindly use first 2262index in table. 2263 2264------------------------------------------------------------------------ 2265r1961 | adk0212 | 2010-09-02 10:23:39 -0400 (Thu, 02 Sep 2010) | 3 lines 2266 2267docutils appears to no longer include a rst2html wrapper for rst2html.py. 2268Update configure accordingly. 2269 2270------------------------------------------------------------------------ 2271r1960 | adk0212 | 2010-09-02 10:22:26 -0400 (Thu, 02 Sep 2010) | 2 lines 2272 2273Enable generation of footnotes at the bottom of the page in rst2pdf. 2274 2275------------------------------------------------------------------------ 2276r1959 | adk0212 | 2010-09-02 09:26:12 -0400 (Thu, 02 Sep 2010) | 2 lines 2277 2278Update SNMP section 2279 2280------------------------------------------------------------------------ 2281r1958 | adk0212 | 2010-09-02 08:27:35 -0400 (Thu, 02 Sep 2010) | 2 lines 2282 2283Add community probing 2284 2285------------------------------------------------------------------------ 2286r1957 | adk0212 | 2010-09-01 13:14:04 -0400 (Wed, 01 Sep 2010) | 3 lines 2287 2288Screen out LTRANS, HTRANS, NOMOUTV, NOMINV, NOMPOWER which are reading zero 2289via an RFC1628 Generex CS121 on a Newave Conceptpower DPA UPS. 2290 2291------------------------------------------------------------------------ 2292r1956 | adk0212 | 2010-09-01 08:41:27 -0400 (Wed, 01 Sep 2010) | 4 lines 2293 2294Fix compile error on newer glibc. Passing a const for the first argument 2295of strstr() causes the return value to be const. This is Correct (TM) but 2296annoying in this case. So just cast away the constness of the first arg. 2297 2298------------------------------------------------------------------------ 2299r1955 | adk0212 | 2010-08-31 19:17:33 -0400 (Tue, 31 Aug 2010) | 3 lines 2300 2301Remove unnecessary checks for NULL oid. Verify returned data type matches 2302expectation. 2303 2304------------------------------------------------------------------------ 2305r1954 | adk0212 | 2010-08-31 14:57:44 -0400 (Tue, 31 Aug 2010) | 3 lines 2306 2307Remove strategy-specific probe hook. We don't need it now and probably will 2308never need it. 2309 2310------------------------------------------------------------------------ 2311r1953 | adk0212 | 2010-08-31 14:06:44 -0400 (Tue, 31 Aug 2010) | 4 lines 2312 2313Add support for MIB autodetection by probing for CI_STATUS OID. Also 2314rework NOTRAP handling to not require a special notrap MibStrategy for 2315each MIB. 2316 2317------------------------------------------------------------------------ 2318r1952 | adk0212 | 2010-08-30 14:41:04 -0400 (Mon, 30 Aug 2010) | 3 lines 2319 2320Allow user to omit one or more subsections of SNMP DEVICE string. 2321Contributed by Lars Täer <taeuber@bbaw.de> 2322 2323------------------------------------------------------------------------ 2324r1951 | adk0212 | 2010-08-30 14:18:47 -0400 (Mon, 30 Aug 2010) | 2 lines 2325 2326Fix typo. Contributed by Lars Täer <taeuber@bbaw.de> 2327 2328------------------------------------------------------------------------ 2329r1950 | adk0212 | 2010-08-30 14:18:23 -0400 (Mon, 30 Aug 2010) | 2 lines 2330 2331Add support for MGE SNMP MIB. Contributed by Lars Täer <taeuber@bbaw.de> 2332 2333------------------------------------------------------------------------ 2334r1949 | adk0212 | 2010-08-20 20:34:48 -0400 (Fri, 20 Aug 2010) | 2 lines 2335 2336Add SU1000INET battery constant 2337 2338------------------------------------------------------------------------ 2339r1947 | adk0212 | 2010-08-17 14:24:15 -0400 (Tue, 17 Aug 2010) | 2 lines 2340 2341Update for 3.14.9-test1 release 2342 2343------------------------------------------------------------------------ 2344r1946 | adk0212 | 2010-08-16 19:18:35 -0400 (Mon, 16 Aug 2010) | 2 lines 2345 2346Default to winusb driver 2347 2348------------------------------------------------------------------------ 2349r1945 | adk0212 | 2010-08-16 19:15:28 -0400 (Mon, 16 Aug 2010) | 2 lines 2350 2351Update for new files in snmplite 2352 2353------------------------------------------------------------------------ 2354r1944 | adk0212 | 2010-08-13 14:52:15 -0400 (Fri, 13 Aug 2010) | 3 lines 2355 2356Take another guess at RFC1628 killpower/shutdown based on TrippLite's 2357interpretation of upsAutoRestart. 2358 2359------------------------------------------------------------------------ 2360r1943 | adk0212 | 2010-08-13 14:40:37 -0400 (Fri, 13 Aug 2010) | 3 lines 2361 2362Attempt to implement shutdown/killpower for RFC1628 SNMP MIB. MIB docs are 2363somewhat unclear so this is a best guess. 2364 2365------------------------------------------------------------------------ 2366r1942 | adk0212 | 2010-08-13 14:03:28 -0400 (Fri, 13 Aug 2010) | 2 lines 2367 2368Add missing file. 2369 2370------------------------------------------------------------------------ 2371r1941 | adk0212 | 2010-08-13 14:00:15 -0400 (Fri, 13 Aug 2010) | 4 lines 2372 2373Reorganize multiple MIB support. Vendor names are now associated with MIB 2374strategies directly. killpower and shutdown operations are deferred to the 2375strategy as is trap waiting. Other general cleanup. 2376 2377------------------------------------------------------------------------ 2378r1940 | adk0212 | 2010-07-30 18:04:13 -0400 (Fri, 30 Jul 2010) | 4 lines 2379 2380Add support for RFC1628 SNMP MIB. Refactor APC MIB and create MibStrategy 2381struct for associating MIB/CI mapping with corresponding processing 2382function. RFC1628 strategy is coded per the MIB but untested. 2383 2384------------------------------------------------------------------------ 2385r1939 | adk0212 | 2010-07-10 11:32:53 -0400 (Sat, 10 Jul 2010) | 2 lines 2386 2387Update Windows *.inf files for LCC PIDs 2388 2389------------------------------------------------------------------------ 2390r1938 | adk0212 | 2010-05-16 18:11:39 -0400 (Sun, 16 May 2010) | 2 lines 2391 2392Remove unused variable shm_OK 2393 2394------------------------------------------------------------------------ 2395r1937 | adk0212 | 2010-05-16 18:09:43 -0400 (Sun, 16 May 2010) | 4 lines 2396 2397When logging events, convert LOG_CRIT to a WARNING on Win32 rather than an 2398ERROR since apcupsd uses it for power events which aren't really daemon 2399errors. LOG_ERR is still converted to ERROR for use in true error cases. 2400 2401------------------------------------------------------------------------ 2402r1936 | adk0212 | 2010-05-16 17:57:34 -0400 (Sun, 16 May 2010) | 6 lines 2403 2404Fix bug where pid file was overwritten even when lock file indicates 2405another instance is running. Now we only write the pid file after writing 2406the lock file successfully. Also automatically remove pid file on 2407termination if we created it in the first place. Reported by Justin Killen 2408<jkillen@allamericanasphalt.com> 2409 2410------------------------------------------------------------------------ 2411r1935 | adk0212 | 2010-04-29 19:25:25 -0400 (Thu, 29 Apr 2010) | 3 lines 2412 2413When running uninstaller in silent mode, always remove config and events 2414files without prompting. Reported by Zdenek Jirous <jirous@tmv.cz> 2415 2416------------------------------------------------------------------------ 2417r1934 | adk0212 | 2010-04-29 19:20:04 -0400 (Thu, 29 Apr 2010) | 3 lines 2418 2419Honor INSTDIR specified on command line via /D. 2420Reported by Zdenek Jirous <jirous@tmv.cz> 2421 2422------------------------------------------------------------------------ 2423r1933 | adk0212 | 2010-02-20 10:09:23 -0500 (Sat, 20 Feb 2010) | 8 lines 2424 2425Variable largebuf may be overflowed by the buf data, which can cause 2426overwriting of subsequent variables. 2427I: Statement might be overflowing a buffer in strncat. Common mistake: 2428 BAD: strncat(buffer,charptr,sizeof(buffer)) is wrong, it takes the left over size as 3rd argument 2429 GOOD: strncat(buffer,charptr,sizeof(buffer)-strlen(buffer)-1) 2430E: apcupsd bufferoverflowstrncat reports.c:110 2431Reported by Stanislav Brabec <sbrabec@suse.cz> 2432 2433------------------------------------------------------------------------ 2434r1932 | adk0212 | 2010-01-31 12:16:18 -0500 (Sun, 31 Jan 2010) | 2 lines 2435 2436Update SmartUPS protocol register 2 bit 5. This is supported on SmartUPSes. 2437 2438------------------------------------------------------------------------ 2439r1931 | adk0212 | 2010-01-31 11:10:59 -0500 (Sun, 31 Jan 2010) | 5 lines 2440 2441Add missing handling for DALARM. Also PWSUM is a LOGICAL collection, not a 2442PYSICAL collection, so add support for checking LOGICAL collection and 2443update known_info table appropriately. This fixes BATTV and MANDATE on 2444certain newer APC models. 2445 2446------------------------------------------------------------------------ 2447r1930 | adk0212 | 2010-01-24 08:19:37 -0500 (Sun, 24 Jan 2010) | 2 lines 2448 2449Remove unnecessary debug print 2450 2451------------------------------------------------------------------------ 2452r1929 | adk0212 | 2010-01-17 19:12:02 -0500 (Sun, 17 Jan 2010) | 5 lines 2453 2454When using generic-usb driver, interpret DEVICE setting as the serial 2455number of the UPS to monitor. This allows the user to control which UPS is 2456monitored if more than one is connected. A blank DEVICE setting continues 2457to mean autodetect. 2458 2459------------------------------------------------------------------------ 2460r1928 | adk0212 | 2010-01-17 13:58:32 -0500 (Sun, 17 Jan 2010) | 2 lines 2461 2462Fix define 2463 2464------------------------------------------------------------------------ 2465r1927 | adk0212 | 2010-01-17 13:38:10 -0500 (Sun, 17 Jan 2010) | 3 lines 2466 2467Add workaround for FreeBSD libsupc++.a issue (FreeBSD PR #99702) 2468This will allow snmplite driver to compile/link on FreeBSD 5.x 2469 2470------------------------------------------------------------------------ 2471r1926 | adk0212 | 2010-01-17 10:58:34 -0500 (Sun, 17 Jan 2010) | 3 lines 2472 2473Force use of generic_usb on FreeBSD 8.0 and higher. FreeBSD USB API was 2474changed in 8.0, so from now on we will use libusb. 2475 2476------------------------------------------------------------------------ 2477r1925 | adk0212 | 2010-01-17 10:38:43 -0500 (Sun, 17 Jan 2010) | 2 lines 2478 2479Fix compile warning 2480 2481------------------------------------------------------------------------ 2482r1924 | adk0212 | 2010-01-17 10:30:05 -0500 (Sun, 17 Jan 2010) | 2 lines 2483 2484Fix comment 2485 2486------------------------------------------------------------------------ 2487r1923 | adk0212 | 2010-01-17 10:29:20 -0500 (Sun, 17 Jan 2010) | 3 lines 2488 2489If libusb-config is not found, fall back on a plain old AC_CHECK_LIB. This 2490will allow building against the new libusb-1.x with compatibility API. 2491 2492------------------------------------------------------------------------ 2493r1922 | adk0212 | 2010-01-17 10:26:47 -0500 (Sun, 17 Jan 2010) | 2 lines 2494 2495Regen manual for release 2496 2497------------------------------------------------------------------------ 2498r1921 | adk0212 | 2010-01-16 15:17:05 -0500 (Sat, 16 Jan 2010) | 2 lines 2499 2500Update for 3.14.8 release 2501 2502------------------------------------------------------------------------ 2503r1919 | adk0212 | 2010-01-16 11:09:47 -0500 (Sat, 16 Jan 2010) | 2 lines 2504 2505Prep for 3.14.8 release 2506 2507------------------------------------------------------------------------ 2508r1918 | adk0212 | 2010-01-16 11:01:38 -0500 (Sat, 16 Jan 2010) | 2 lines 2509 2510Update apctest manpage for USB changes 2511 2512------------------------------------------------------------------------ 2513r1917 | adk0212 | 2010-01-16 10:19:20 -0500 (Sat, 16 Jan 2010) | 2 lines 2514 2515Move winusb coinstallers to depkgs-win32 so they do not bloat the source tree. 2516 2517------------------------------------------------------------------------ 2518r1916 | adk0212 | 2010-01-12 18:08:18 -0500 (Tue, 12 Jan 2010) | 3 lines 2519 2520Fix compiler warnings. Also remove whitespace at the end of lines. 2521Contributed by Andy O'Shaughnessy <andrewjoshaughnessy@gmail.com> 2522 2523------------------------------------------------------------------------ 2524r1915 | adk0212 | 2010-01-10 16:50:56 -0500 (Sun, 10 Jan 2010) | 2 lines 2525 2526Remove apcagent application in darwin uninstall script 2527 2528------------------------------------------------------------------------ 2529r1914 | adk0212 | 2010-01-10 16:45:45 -0500 (Sun, 10 Jan 2010) | 2 lines 2530 2531spec updates for new SNMP driver 2532 2533------------------------------------------------------------------------ 2534r1913 | adk0212 | 2010-01-10 16:44:59 -0500 (Sun, 10 Jan 2010) | 2 lines 2535 2536Minor style changes 2537 2538------------------------------------------------------------------------ 2539r1912 | adk0212 | 2010-01-10 16:31:02 -0500 (Sun, 10 Jan 2010) | 2 lines 2540 2541Minor updates for SNMP. Also add gapcmon and apcagent configure options. 2542 2543------------------------------------------------------------------------ 2544r1911 | adk0212 | 2010-01-10 15:32:21 -0500 (Sun, 10 Jan 2010) | 3 lines 2545 2546Fix bug that caused key/value columns to become mismatched if a row was 2547removed from the list. 2548 2549------------------------------------------------------------------------ 2550r1910 | adk0212 | 2010-01-10 15:14:13 -0500 (Sun, 10 Jan 2010) | 3 lines 2551 2552Increase SNMP query timeout to prevent false failures when UPS is being 2553hit by two SNMP clients at once. 2554 2555------------------------------------------------------------------------ 2556r1909 | adk0212 | 2010-01-10 15:05:34 -0500 (Sun, 10 Jan 2010) | 3 lines 2557 2558Fix up SNMP driver selection. Config file "snmp" selects snmplite, while 2559old driver remains available as 'netsnmp'. Same for ./configure script. 2560 2561------------------------------------------------------------------------ 2562r1908 | adk0212 | 2010-01-10 15:02:40 -0500 (Sun, 10 Jan 2010) | 2 lines 2563 2564Fix DALARM (depends on alarm timer setting from upsAdvConfigAlarmTimer) 2565 2566------------------------------------------------------------------------ 2567r1907 | adk0212 | 2010-01-10 15:00:46 -0500 (Sun, 10 Jan 2010) | 2 lines 2568 2569Improve warning message for USB driver install failure 2570 2571------------------------------------------------------------------------ 2572r1906 | adk0212 | 2010-01-10 12:59:48 -0500 (Sun, 10 Jan 2010) | 3 lines 2573 2574Add a troubleshooting section describing that the common cause of failure 2575with "Error Code 10" is that the driver was installed on the wrong device. 2576 2577------------------------------------------------------------------------ 2578r1905 | adk0212 | 2010-01-10 12:58:33 -0500 (Sun, 10 Jan 2010) | 2 lines 2579 2580Add a driver version to assist with upgrading. 2581 2582------------------------------------------------------------------------ 2583r1904 | adk0212 | 2010-01-10 10:39:02 -0500 (Sun, 10 Jan 2010) | 3 lines 2584 2585Consolidate get/set USB options. Since all 'set' operations allow you to 2586bail out without changing anything, they also serve as 'get'. 2587 2588------------------------------------------------------------------------ 2589r1903 | adk0212 | 2010-01-10 10:29:00 -0500 (Sun, 10 Jan 2010) | 4 lines 2590 2591Add apctest support for reading/setting self-test interval on USB. Also 2592show current setting in UPS status. Contributed by James Belleau 2593<jpbelleau@gmail.com> 2594 2595------------------------------------------------------------------------ 2596r1902 | adk0212 | 2010-01-10 10:02:13 -0500 (Sun, 10 Jan 2010) | 3 lines 2597 2598Use 'Q' to exit menus instead of the last number which is always changing. 2599Contributed by James Belleau <jpbelleau@gmail.com> 2600 2601------------------------------------------------------------------------ 2602r1901 | adk0212 | 2010-01-09 13:35:16 -0500 (Sat, 09 Jan 2010) | 4 lines 2603 2604Consolidate win-usb driver back into generic-usb by writing a simple libusb 2605API adapter for winusb (libusb-winusb-bridge). This eliminates the code 2606duplication between win-usb and generic-usb. 2607 2608------------------------------------------------------------------------ 2609r1900 | adk0212 | 2010-01-08 19:23:27 -0500 (Fri, 08 Jan 2010) | 5 lines 2610 2611Update detail text while waiting for apps to exit so user knows why we're 2612sitting here for a few seconds. Also skip apctray exit wait if we've 2613installed the main apcupsd package since that means we've already ensured 2614apctray is not running. 2615 2616------------------------------------------------------------------------ 2617r1899 | adk0212 | 2010-01-08 19:11:28 -0500 (Fri, 08 Jan 2010) | 2 lines 2618 2619Update installer to automatically install WinUSB driver when possible. 2620 2621------------------------------------------------------------------------ 2622r1898 | adk0212 | 2010-01-03 20:51:54 -0500 (Sun, 03 Jan 2010) | 4 lines 2623 2624Win2k3 has an extra icon in shell32.dll which throws off the numbering 2625causing the manpages to have the wrong icon. Just use the same icon for 2626manpages and user manual. 2627 2628------------------------------------------------------------------------ 2629r1897 | adk0212 | 2010-01-03 20:19:56 -0500 (Sun, 03 Jan 2010) | 3 lines 2630 2631Set icons for start menu shortcuts. For now, just use common icons from 2632shell32.dll. 2633 2634------------------------------------------------------------------------ 2635r1896 | adk0212 | 2010-01-03 17:02:23 -0500 (Sun, 03 Jan 2010) | 2 lines 2636 2637Include driver install instructions text file 2638 2639------------------------------------------------------------------------ 2640r1895 | adk0212 | 2010-01-03 17:01:19 -0500 (Sun, 03 Jan 2010) | 2 lines 2641 2642Cleanup INF naming, class, etc. 2643 2644------------------------------------------------------------------------ 2645r1894 | adk0212 | 2010-01-03 17:00:53 -0500 (Sun, 03 Jan 2010) | 2 lines 2646 2647Initial rev of winusb driver install instructions. 2648 2649------------------------------------------------------------------------ 2650r1893 | adk0212 | 2010-01-03 13:08:26 -0500 (Sun, 03 Jan 2010) | 3 lines 2651 2652Update VERSION munging for resource script to accomodate version strings 2653with a -foo extension. 2654 2655------------------------------------------------------------------------ 2656r1892 | adk0212 | 2010-01-03 12:46:49 -0500 (Sun, 03 Jan 2010) | 2 lines 2657 2658Fix build order so libusb.h is created before it is needed. 2659 2660------------------------------------------------------------------------ 2661r1891 | adk0212 | 2010-01-03 12:33:41 -0500 (Sun, 03 Jan 2010) | 3 lines 2662 2663Add support for building and installing WinUSB. Default remains as 2664generic-usb. To build for WinUSB set USBTYPE=winusb. 2665 2666------------------------------------------------------------------------ 2667r1890 | adk0212 | 2010-01-03 12:32:26 -0500 (Sun, 03 Jan 2010) | 3 lines 2668 2669Move StrReplace to its own file. Remove unused version functions now that 2670we're using the built-in WinVer.nsh. 2671 2672------------------------------------------------------------------------ 2673r1889 | adk0212 | 2010-01-03 12:27:54 -0500 (Sun, 03 Jan 2010) | 2 lines 2674 2675Enable building the NSIS System plugin. 2676 2677------------------------------------------------------------------------ 2678r1888 | adk0212 | 2010-01-03 10:29:16 -0500 (Sun, 03 Jan 2010) | 3 lines 2679 2680WinUsb-based INF file customized for APCUPSD and driver coinstallers from 2681Win7 DDK. 2682 2683------------------------------------------------------------------------ 2684r1887 | adk0212 | 2010-01-03 10:22:22 -0500 (Sun, 03 Jan 2010) | 3 lines 2685 2686First rev of Windows-specific USB driver based on Microsoft's WinUsb 2687framework for user mode USB drivers. 2688 2689------------------------------------------------------------------------ 2690r1886 | adk0212 | 2010-01-02 16:28:28 -0500 (Sat, 02 Jan 2010) | 2 lines 2691 2692Revert previous change: Locks are already held by snmp.c wrapper funcs. 2693 2694------------------------------------------------------------------------ 2695r1885 | adk0212 | 2010-01-02 14:58:00 -0500 (Sat, 02 Jan 2010) | 3 lines 2696 2697Remove old non-txt files so they do not get stuck around after an 2698install-in-place. 2699 2700------------------------------------------------------------------------ 2701r1884 | adk0212 | 2010-01-02 14:50:14 -0500 (Sat, 02 Jan 2010) | 7 lines 2702 2703Convert win32 config and doc files to DOS line endings so they can be 2704viewed and edited in notepad. This is necessary because the workaround of 2705using write.exe for UNIX format files does not work well on Win7 due to it 2706using wide margins that unpleasantly word-wraps all the text. Use a *.txt 2707extension on filenames where possible and use default 'open' behavior so 2708if user has configured an alternate editor for *.txt it will be used. 2709 2710------------------------------------------------------------------------ 2711r1883 | adk0212 | 2010-01-02 14:47:43 -0500 (Sat, 02 Jan 2010) | 2 lines 2712 2713Update to nsis-2.46 and w32api-3.14 2714 2715------------------------------------------------------------------------ 2716r1882 | adk0212 | 2010-01-02 13:42:07 -0500 (Sat, 02 Jan 2010) | 5 lines 2717 2718Update installer to use /kill switch to shutdown apps again. This will 2719provide more reliable shutdowns, especially on Vista/Win7 where apcupsd 2720service is running in another session and therefore is inaccessible by the 2721window message mechanism. Remove old window message based shutdown logic. 2722 2723------------------------------------------------------------------------ 2724r1881 | adk0212 | 2010-01-01 12:02:06 -0500 (Fri, 01 Jan 2010) | 2 lines 2725 2726Add support for APC_NOTRAP vendor which disabled trap catching. 2727 2728------------------------------------------------------------------------ 2729r1880 | adk0212 | 2010-01-01 11:41:36 -0500 (Fri, 01 Jan 2010) | 3 lines 2730 2731Hold the write lock while updating UPSINFO state variables. This is 2732necessary to prevent NIS clients from seeing partially-updated state. 2733 2734------------------------------------------------------------------------ 2735r1879 | adk0212 | 2010-01-01 11:16:50 -0500 (Fri, 01 Jan 2010) | 2 lines 2736 2737Remove cygwin platform. This has been unused for years. 2738 2739------------------------------------------------------------------------ 2740r1878 | adk0212 | 2010-01-01 11:13:39 -0500 (Fri, 01 Jan 2010) | 3 lines 2741 2742Only do popups on Win95/98/ME/NT. Newer OSes will run apctray which shows 2743events in a balloon notification. 2744 2745------------------------------------------------------------------------ 2746r1877 | adk0212 | 2010-01-01 11:12:16 -0500 (Fri, 01 Jan 2010) | 2 lines 2747 2748Bring back /kill support. Registry change detection no longer needed. 2749 2750------------------------------------------------------------------------ 2751r1876 | adk0212 | 2010-01-01 11:11:37 -0500 (Fri, 01 Jan 2010) | 2 lines 2752 2753Remove conditionals; always display a popup. 2754 2755------------------------------------------------------------------------ 2756r1875 | adk0212 | 2009-11-21 12:34:10 -0500 (Sat, 21 Nov 2009) | 2 lines 2757 2758Center date field now that sf.net is not reporting time info. 2759 2760------------------------------------------------------------------------ 2761r1874 | adk0212 | 2009-11-21 12:32:06 -0500 (Sat, 21 Nov 2009) | 5 lines 2762 2763Fix issue with displaying DMG .sig info for 3.14.7 source code link. 2764Something at the top of the source is messing up the regexp, but can't 2765figure out exactly what. So just chop off the top of the page completely. 2766We only want the data in the All Files section anyway. 2767 2768------------------------------------------------------------------------ 2769r1873 | adk0212 | 2009-11-15 12:57:00 -0500 (Sun, 15 Nov 2009) | 2 lines 2770 2771Remove obsolete image files. 2772 2773------------------------------------------------------------------------ 2774r1872 | adk0212 | 2009-11-15 10:05:42 -0500 (Sun, 15 Nov 2009) | 2 lines 2775 2776Update for change in sf.net HTML (data format changed) 2777 2778------------------------------------------------------------------------ 2779r1871 | adk0212 | 2009-11-15 09:18:43 -0500 (Sun, 15 Nov 2009) | 5 lines 2780 2781Add support for reading battery voltage from the PowerSummary instead of 2782the Battery physical usage. At least one Back-UPS model appears to place 2783its battery readout there instead of the normal place. 2784Back-UPS 500 FW: 6.3.I USB FW: c1 2785 2786------------------------------------------------------------------------ 2787r1870 | adk0212 | 2009-11-09 21:19:23 -0500 (Mon, 09 Nov 2009) | 2 lines 2788 2789Fix timezone on Windows. This has always been wrong. 2790 2791------------------------------------------------------------------------ 2792r1869 | adk0212 | 2009-11-09 21:05:14 -0500 (Mon, 09 Nov 2009) | 2 lines 2793 2794Switch time/date output format to simplified ISO "YYYY-MM-DD HH:MM:SS +/-UTC" 2795 2796------------------------------------------------------------------------ 2797r1868 | adk0212 | 2009-11-09 21:03:40 -0500 (Mon, 09 Nov 2009) | 2 lines 2798 2799Fix compile error. 2800 2801------------------------------------------------------------------------ 2802r1867 | adk0212 | 2009-10-31 11:32:53 -0400 (Sat, 31 Oct 2009) | 2 lines 2803 2804Sync alib with gelogger project 2805 2806------------------------------------------------------------------------ 2807r1866 | adk0212 | 2009-10-31 10:04:32 -0400 (Sat, 31 Oct 2009) | 2 lines 2808 2809Fix compile warning 2810 2811------------------------------------------------------------------------ 2812r1865 | adk0212 | 2009-10-31 09:31:42 -0400 (Sat, 31 Oct 2009) | 2 lines 2813 2814Move INADDR_NONE define to common header 2815 2816------------------------------------------------------------------------ 2817r1864 | adk0212 | 2009-10-31 09:28:57 -0400 (Sat, 31 Oct 2009) | 2 lines 2818 2819Fix signed/unsigned comparison warning 2820 2821------------------------------------------------------------------------ 2822r1863 | adk0212 | 2009-10-31 09:24:31 -0400 (Sat, 31 Oct 2009) | 2 lines 2823 2824Fix compile error on Solaris 10 2825 2826------------------------------------------------------------------------ 2827r1862 | adk0212 | 2009-10-31 08:55:17 -0400 (Sat, 31 Oct 2009) | 2 lines 2828 2829win32 build fixes 2830 2831------------------------------------------------------------------------ 2832r1861 | adk0212 | 2009-10-31 08:42:17 -0400 (Sat, 31 Oct 2009) | 2 lines 2833 2834Fix comment 2835 2836------------------------------------------------------------------------ 2837r1860 | adk0212 | 2009-10-31 08:37:32 -0400 (Sat, 31 Oct 2009) | 2 lines 2838 2839Switch libnis to thread-safe gethostname_re() 2840 2841------------------------------------------------------------------------ 2842r1859 | adk0212 | 2009-10-27 20:31:12 -0400 (Tue, 27 Oct 2009) | 2 lines 2843 2844Updates so win32 will build with gethostbyname_r 2845 2846------------------------------------------------------------------------ 2847r1858 | adk0212 | 2009-10-27 20:24:29 -0400 (Tue, 27 Oct 2009) | 2 lines 2848 2849Switch SnmpEngine to thread-safe resolver, gethostbyname_r() 2850 2851------------------------------------------------------------------------ 2852r1857 | adk0212 | 2009-10-27 19:28:48 -0400 (Tue, 27 Oct 2009) | 2 lines 2853 2854Misc cleanup 2855 2856------------------------------------------------------------------------ 2857r1856 | adk0212 | 2009-10-27 19:19:41 -0400 (Tue, 27 Oct 2009) | 2 lines 2858 2859Make lengths universally unsigned 2860 2861------------------------------------------------------------------------ 2862r1855 | adk0212 | 2009-10-27 19:11:40 -0400 (Tue, 27 Oct 2009) | 5 lines 2863 2864Add ability to calculate marshalled size of each data type without actually 2865marshalling the data. This allows Sequence to precalculate its size which 2866in turn allows us to encode length fields in the minimum possible number of 2867octets instead of always using 4. This reduces packet size substantially. 2868 2869------------------------------------------------------------------------ 2870r1854 | adk0212 | 2009-10-26 19:37:27 -0400 (Mon, 26 Oct 2009) | 2 lines 2871 2872Definitions for APC UPS traps. Not used yet, but may be handy someday. 2873 2874------------------------------------------------------------------------ 2875r1853 | adk0212 | 2009-10-26 19:36:52 -0400 (Mon, 26 Oct 2009) | 2 lines 2876 2877Spacing changes 2878 2879------------------------------------------------------------------------ 2880r1852 | adk0212 | 2009-10-26 19:36:31 -0400 (Mon, 26 Oct 2009) | 2 lines 2881 2882Add support for SNMP trap catching 2883 2884------------------------------------------------------------------------ 2885r1851 | adk0212 | 2009-10-25 21:30:59 -0400 (Sun, 25 Oct 2009) | 2 lines 2886 2887Toy with spacing 2888 2889------------------------------------------------------------------------ 2890r1850 | adk0212 | 2009-10-25 21:07:50 -0400 (Sun, 25 Oct 2009) | 2 lines 2891 2892Add snmplite support for shutdown and killpower 2893 2894------------------------------------------------------------------------ 2895r1849 | adk0212 | 2009-10-25 21:07:08 -0400 (Sun, 25 Oct 2009) | 2 lines 2896 2897Add SET command support to SnmpEngine and support classes 2898 2899------------------------------------------------------------------------ 2900r1848 | adk0212 | 2009-10-25 18:00:04 -0400 (Sun, 25 Oct 2009) | 2 lines 2901 2902Update comments 2903 2904------------------------------------------------------------------------ 2905r1847 | adk0212 | 2009-10-25 17:48:13 -0400 (Sun, 25 Oct 2009) | 2 lines 2906 2907Add units to ambient humidity and temp status lines 2908 2909------------------------------------------------------------------------ 2910r1846 | adk0212 | 2009-10-25 17:45:39 -0400 (Sun, 25 Oct 2009) | 4 lines 2911 2912Remove sanity filter on ambient temp and humidity readings. These both read 2913zero if your MeasureUPS probe is not connected, so we don't want to exclude 2914them in that case. 2915 2916------------------------------------------------------------------------ 2917r1845 | adk0212 | 2009-10-25 17:37:04 -0400 (Sun, 25 Oct 2009) | 2 lines 2918 2919Add support for detecting and recovering from network errors 2920 2921------------------------------------------------------------------------ 2922r1844 | adk0212 | 2009-10-25 16:47:43 -0400 (Sun, 25 Oct 2009) | 2 lines 2923 2924Misc cleanup 2925 2926------------------------------------------------------------------------ 2927r1843 | adk0212 | 2009-10-25 16:31:08 -0400 (Sun, 25 Oct 2009) | 2 lines 2928 2929Bump version string 2930 2931------------------------------------------------------------------------ 2932r1842 | adk0212 | 2009-10-25 15:56:37 -0400 (Sun, 25 Oct 2009) | 2 lines 2933 2934Reorder function 2935 2936------------------------------------------------------------------------ 2937r1841 | adk0212 | 2009-10-25 15:53:57 -0400 (Sun, 25 Oct 2009) | 3 lines 2938 2939Spit OID arrays out into their own file so they're not cluttering mib.cpp. 2940Also wrap gcc-specific attribute. 2941 2942------------------------------------------------------------------------ 2943r1840 | adk0212 | 2009-10-25 15:41:55 -0400 (Sun, 25 Oct 2009) | 2 lines 2944 2945Add snmplite driver to win32 build 2946 2947------------------------------------------------------------------------ 2948r1839 | adk0212 | 2009-10-25 15:41:40 -0400 (Sun, 25 Oct 2009) | 2 lines 2949 2950Minor changes so snmplite can build for win32 2951 2952------------------------------------------------------------------------ 2953r1838 | adk0212 | 2009-10-25 15:28:28 -0400 (Sun, 25 Oct 2009) | 2 lines 2954 2955Update MIB map with more CIs from old powernet driver. 2956 2957------------------------------------------------------------------------ 2958r1837 | adk0212 | 2009-10-25 14:48:34 -0400 (Sun, 25 Oct 2009) | 2 lines 2959 2960Updates for compatibility with old AP960x SNMP cards. 2961 2962------------------------------------------------------------------------ 2963r1836 | adk0212 | 2009-10-25 12:14:33 -0400 (Sun, 25 Oct 2009) | 2 lines 2964 2965Remove some debug 2966 2967------------------------------------------------------------------------ 2968r1835 | adk0212 | 2009-10-25 11:54:46 -0400 (Sun, 25 Oct 2009) | 5 lines 2969 2970Rearrange ASN types. Although it seems like a good idea to have a strict 2971separation between ASN and SNMP such that the ASN layer is not polluted 2972with SNMP types, this isn't working very well in practice. So teach ASN 2973about the basic SNMP types and get rid of the Snmp::PduType. 2974 2975------------------------------------------------------------------------ 2976r1834 | adk0212 | 2009-10-25 11:03:14 -0400 (Sun, 25 Oct 2009) | 4 lines 2977 2978Add SNMP Lite driver which does not depend on net-snmp library. This makes 2979it more portable and eliminates need to move libsnmp.so to /lib in order 2980to do a killpower on systems where /usr is unmounted. 2981 2982------------------------------------------------------------------------ 2983r1833 | adk0212 | 2009-10-25 10:58:35 -0400 (Sun, 25 Oct 2009) | 2 lines 2984 2985Make size unsigned 2986 2987------------------------------------------------------------------------ 2988r1832 | adk0212 | 2009-10-24 15:41:10 -0400 (Sat, 24 Oct 2009) | 2 lines 2989 2990Simple (and inefficient) dynamic array template class 2991 2992------------------------------------------------------------------------ 2993r1831 | adk0212 | 2009-10-24 10:04:01 -0400 (Sat, 24 Oct 2009) | 3 lines 2994 2995Force use of HFS+ rather than HFSX (case-sensitive HFS+) so 10.5+ will 2996open the image without crying about it. 2997 2998------------------------------------------------------------------------ 2999r1830 | adk0212 | 2009-10-15 20:46:39 -0400 (Thu, 15 Oct 2009) | 4 lines 3000 3001Revert snmp static lib change. This is too incompatible. Solaris only has 3002static versions of libnetsnmp but not libcrypto. Darwin doesn't seem to 3003have static versions of either of them. 3004 3005------------------------------------------------------------------------ 3006r1829 | adk0212 | 2009-10-15 18:44:47 -0400 (Thu, 15 Oct 2009) | 4 lines 3007 3008Link with static snmp libs since some platforms do not have the shared 3009ones in /lib. Contributed by Brad King <brad.king@kitware.com> via Debian 3010bugtracker. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=316932 3011 3012------------------------------------------------------------------------ 3013r1828 | adk0212 | 2009-10-15 18:13:45 -0400 (Thu, 15 Oct 2009) | 3 lines 3014 3015Merge WALL fix from Justin T Pryzby <justinpryzby@users.sourceforge.net> 3016http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546019 3017 3018------------------------------------------------------------------------ 3019r1827 | adk0212 | 2009-10-14 19:14:22 -0400 (Wed, 14 Oct 2009) | 2 lines 3020 3021Update status window control layout to match apctray 3022 3023------------------------------------------------------------------------ 3024r1826 | adk0212 | 2009-10-12 19:22:23 -0400 (Mon, 12 Oct 2009) | 2 lines 3025 3026Lowercase $(COMMA) 3027 3028------------------------------------------------------------------------ 3029r1825 | adk0212 | 2009-10-12 19:15:58 -0400 (Mon, 12 Oct 2009) | 2 lines 3030 3031Patch version info into resource file on the fly 3032 3033------------------------------------------------------------------------ 3034r1824 | adk0212 | 2009-10-12 18:53:05 -0400 (Mon, 12 Oct 2009) | 2 lines 3035 3036Set operating system field correctly 3037 3038------------------------------------------------------------------------ 3039r1823 | adk0212 | 2009-10-12 18:50:27 -0400 (Mon, 12 Oct 2009) | 2 lines 3040 3041Update file information block. Still not sure what to do about version info 3042 3043------------------------------------------------------------------------ 3044r1822 | adk0212 | 2009-10-12 18:35:32 -0400 (Mon, 12 Oct 2009) | 2 lines 3045 3046Convert all member variable names to leading underscore convention 3047 3048------------------------------------------------------------------------ 3049r1821 | adk0212 | 2009-10-12 18:27:25 -0400 (Mon, 12 Oct 2009) | 2 lines 3050 3051Update for StatMgr::GetAll() changes 3052 3053------------------------------------------------------------------------ 3054r1820 | adk0212 | 2009-10-12 18:17:14 -0400 (Mon, 12 Oct 2009) | 3 lines 3055 3056Change StatMgr::GetAll() to return keys and values separately instead of 3057combining them into a single string which the caller then has to split. 3058 3059------------------------------------------------------------------------ 3060r1819 | adk0212 | 2009-10-12 18:09:09 -0400 (Mon, 12 Oct 2009) | 2 lines 3061 3062Consolidate listview update code into ListView wrapper class. 3063 3064------------------------------------------------------------------------ 3065r1818 | adk0212 | 2009-10-12 17:43:16 -0400 (Mon, 12 Oct 2009) | 6 lines 3066 3067Fix issue with events and status dialogs not updating until the next poll 3068thread tick. Kicking the poll thread inline with window creation does not 3069work since new window is not yet fully created (WM_INITDIALOG has not been 3070processed yet). Fix is to have status and events dialogs request a refresh 3071when WM_INITDIALOG arrives. 3072 3073------------------------------------------------------------------------ 3074r1817 | adk0212 | 2009-10-11 18:51:04 -0400 (Sun, 11 Oct 2009) | 2 lines 3075 3076Minor cleanup 3077 3078------------------------------------------------------------------------ 3079r1816 | adk0212 | 2009-10-11 18:33:05 -0400 (Sun, 11 Oct 2009) | 2 lines 3080 3081Add menu item for controlling autostart 3082 3083------------------------------------------------------------------------ 3084r1815 | adk0212 | 2009-10-11 15:21:22 -0400 (Sun, 11 Oct 2009) | 4 lines 3085 3086Change events and status dialogs to not use cached statmgr since it will 3087be replaced when user changes config. Update events window to use listview 3088and have resize capability. 3089 3090------------------------------------------------------------------------ 3091r1814 | adk0212 | 2009-10-11 13:04:43 -0400 (Sun, 11 Oct 2009) | 3 lines 3092 3093Move reconfig to poll thread so UI is not held up when applying a new 3094config. This is in line with what the OS X apcagent does. 3095 3096------------------------------------------------------------------------ 3097r1813 | adk0212 | 2009-10-11 12:41:32 -0400 (Sun, 11 Oct 2009) | 2 lines 3098 3099Fix redrawing icons when explorer restarts with new taskbar 3100 3101------------------------------------------------------------------------ 3102r1812 | adk0212 | 2009-10-11 12:15:48 -0400 (Sun, 11 Oct 2009) | 2 lines 3103 3104Minor cleanup 3105 3106------------------------------------------------------------------------ 3107r1811 | adk0212 | 2009-10-11 12:15:04 -0400 (Sun, 11 Oct 2009) | 4 lines 3108 3109Rework network error handling so Update() only retries on soft errors, not 3110hard errors. This helps minimize the length of time a given monitor will 3111ignore UI events when it is unable to connect to an apcupsd. 3112 3113------------------------------------------------------------------------ 3114r1810 | adk0212 | 2009-10-11 12:12:59 -0400 (Sun, 11 Oct 2009) | 2 lines 3115 3116Fix thread hang by lengthening thread exit wait to accomodate worst case 3117 3118------------------------------------------------------------------------ 3119r1809 | adk0212 | 2009-10-11 12:12:08 -0400 (Sun, 11 Oct 2009) | 2 lines 3120 3121Move runtime field onto same line as status and shrink dialog to match 3122 3123------------------------------------------------------------------------ 3124r1808 | adk0212 | 2009-10-10 13:41:21 -0400 (Sat, 10 Oct 2009) | 2 lines 3125 3126About box updates: Remove old logo, fix version/date info, update copyright 3127 3128------------------------------------------------------------------------ 3129r1807 | adk0212 | 2009-10-10 11:56:25 -0400 (Sat, 10 Oct 2009) | 2 lines 3130 3131Set focus to first invalid control 3132 3133------------------------------------------------------------------------ 3134r1806 | adk0212 | 2009-10-10 11:55:58 -0400 (Sat, 10 Oct 2009) | 2 lines 3135 3136Restrict port and refresh fields to digits only 3137 3138------------------------------------------------------------------------ 3139r1805 | adk0212 | 2009-10-10 11:42:37 -0400 (Sat, 10 Oct 2009) | 2 lines 3140 3141Add support for disabling popups. Other misc cleanup. 3142 3143------------------------------------------------------------------------ 3144r1804 | adk0212 | 2009-10-08 18:59:41 -0400 (Thu, 08 Oct 2009) | 2 lines 3145 3146Fixes for config dialog. Implement basic input validation. 3147 3148------------------------------------------------------------------------ 3149r1803 | adk0212 | 2009-10-08 18:05:14 -0400 (Thu, 08 Oct 2009) | 2 lines 3150 3151Fix row deletion bug when number of items decreases 3152 3153------------------------------------------------------------------------ 3154r1802 | adk0212 | 2009-10-07 20:36:54 -0400 (Wed, 07 Oct 2009) | 2 lines 3155 3156First pass at config dialog 3157 3158------------------------------------------------------------------------ 3159r1801 | adk0212 | 2009-10-07 20:36:32 -0400 (Wed, 07 Oct 2009) | 2 lines 3160 3161First pass at configuration dialog. 3162 3163------------------------------------------------------------------------ 3164r1800 | adk0212 | 2009-10-07 19:10:02 -0400 (Wed, 07 Oct 2009) | 3 lines 3165 3166Multiple instances working again now. New 'add' menu option to add a new 3167monitor. Rearrange menu items to match OS X. Lots of code cleanup. 3168 3169------------------------------------------------------------------------ 3170r1799 | adk0212 | 2009-10-07 19:08:49 -0400 (Wed, 07 Oct 2009) | 2 lines 3171 3172Add support for operator->() on iterator 3173 3174------------------------------------------------------------------------ 3175r1798 | adk0212 | 2009-10-07 08:02:28 -0400 (Wed, 07 Oct 2009) | 3 lines 3176 3177Begin to clean up instance management by creating an InstanceManager. Basic 3178functions are working again, but add/remove instance needs work. 3179 3180------------------------------------------------------------------------ 3181r1797 | adk0212 | 2009-10-05 20:35:22 -0400 (Mon, 05 Oct 2009) | 3 lines 3182 3183Fix possible crash if FillStatusBox() were to be called at just the wrong 3184instant. 3185 3186------------------------------------------------------------------------ 3187r1796 | adk0212 | 2009-10-05 20:07:05 -0400 (Mon, 05 Oct 2009) | 2 lines 3188 3189Don't leak ListView wrappers 3190 3191------------------------------------------------------------------------ 3192r1795 | adk0212 | 2009-10-05 20:05:17 -0400 (Mon, 05 Oct 2009) | 2 lines 3193 3194Add wrapper class for listview and use it from winstat 3195 3196------------------------------------------------------------------------ 3197r1794 | adk0212 | 2009-10-05 20:04:23 -0400 (Mon, 05 Oct 2009) | 2 lines 3198 3199Add wrapper class for listview and use it in winstat. 3200 3201------------------------------------------------------------------------ 3202r1793 | adk0212 | 2009-10-05 19:35:54 -0400 (Mon, 05 Oct 2009) | 2 lines 3203 3204Add/update copyright banners 3205 3206------------------------------------------------------------------------ 3207r1792 | adk0212 | 2009-10-05 19:34:49 -0400 (Mon, 05 Oct 2009) | 5 lines 3208 3209Colorize load and battery meters, as per apcagent. Break meter code out 3210into a separate wrapper class -- a poor man's MFC essentially. Only update 3211controls when their values change to further reduce refresh flicker. Misc 3212cleanup. 3213 3214------------------------------------------------------------------------ 3215r1791 | adk0212 | 2009-10-04 13:02:11 -0400 (Sun, 04 Oct 2009) | 8 lines 3216 3217Rewrite apctray status dialog to mimic apcagent on OS X. Window now updates 3218on the fly, is resizeable, and has summary info at the top. Also uses 3219ListView control for raw status info so it is in two nice columns and no 3220longer needs to be rendered in an ugly fixed-width font. Switch to ResEdit 3221(http://www.resedit.net) for GUI resource editing instead of tweaking 3222winres.rc by hand. This requires renaming winres.h to resource.h since 3223that's what ResEdit wants to generate. 3224 3225------------------------------------------------------------------------ 3226r1790 | adk0212 | 2009-10-03 13:26:41 -0400 (Sat, 03 Oct 2009) | 4 lines 3227 3228Fix preferences window label text being obscured by the surrounding box. 3229Issue only appeared on 10.4, but probably just getting lucky with drawing 3230order on 10.5. 3231 3232------------------------------------------------------------------------ 3233r1789 | adk0212 | 2009-10-03 10:20:25 -0400 (Sat, 03 Oct 2009) | 3 lines 3234 3235Fix issue with popups not appearing if Growl is installed while apcagent 3236is running. 3237 3238------------------------------------------------------------------------ 3239r1788 | adk0212 | 2009-09-30 19:15:41 -0400 (Wed, 30 Sep 2009) | 2 lines 3240 3241Include apcagent in OS X installer DMG 3242 3243------------------------------------------------------------------------ 3244r1787 | adk0212 | 2009-09-29 19:20:45 -0400 (Tue, 29 Sep 2009) | 3 lines 3245 3246Build apcagent automatically on OS X but let user disable it via configure 3247if s/he so desires. 3248 3249------------------------------------------------------------------------ 3250r1786 | adk0212 | 2009-09-29 18:58:49 -0400 (Tue, 29 Sep 2009) | 2 lines 3251 3252Add support for popup notifications via Growl 3253 3254------------------------------------------------------------------------ 3255r1785 | adk0212 | 2009-09-27 19:39:29 -0400 (Sun, 27 Sep 2009) | 4 lines 3256 3257Fix login item creation on 10.4. Problem and solution is nicely documented 3258by Jake Sprouse here: 3259http://jakesprouse.net/2007/03/28/debugging-apples-loginitemsaec-on-intel-macs 3260 3261------------------------------------------------------------------------ 3262r1784 | adk0212 | 2009-09-27 16:03:12 -0400 (Sun, 27 Sep 2009) | 2 lines 3263 3264Overwrite dmg 3265 3266------------------------------------------------------------------------ 3267r1783 | adk0212 | 2009-09-27 15:56:02 -0400 (Sun, 27 Sep 2009) | 2 lines 3268 3269Add menu item to enable/disable starting at login 3270 3271------------------------------------------------------------------------ 3272r1782 | adk0212 | 2009-09-27 14:37:10 -0400 (Sun, 27 Sep 2009) | 5 lines 3273 3274Add UPS and HOST info to top of menu a'la apctray on win32. Automatically 3275add user login item when apcagent is started for the first time. Remove 3276login item when last monitor is removed. Add menu option to remove all 3277monitors at once. Reorder menu items slightly. 3278 3279------------------------------------------------------------------------ 3280r1781 | adk0212 | 2009-09-27 10:57:03 -0400 (Sun, 27 Sep 2009) | 2 lines 3281 3282Support for multiple instances 3283 3284------------------------------------------------------------------------ 3285r1780 | adk0212 | 2009-09-23 20:14:37 -0400 (Wed, 23 Sep 2009) | 3 lines 3286 3287Interpret failure to read any status items as failure of the connection 3288and close it. Retry Update() once in case it fails. 3289 3290------------------------------------------------------------------------ 3291r1779 | adk0212 | 2009-09-23 18:19:53 -0400 (Wed, 23 Sep 2009) | 2 lines 3292 3293Fix linking of libapc.a so it is included as a dependency. 3294 3295------------------------------------------------------------------------ 3296r1778 | adk0212 | 2009-09-23 18:17:19 -0400 (Wed, 23 Sep 2009) | 4 lines 3297 3298Ignore SIGPIPE, which can happen when writing to a socket where the remote 3299end has closed the connection. Also improve error handling in 3300write_nbytes(). 3301 3302------------------------------------------------------------------------ 3303r1777 | adk0212 | 2009-09-23 18:16:14 -0400 (Wed, 23 Sep 2009) | 2 lines 3304 3305Copy hostname so caller doesn't have to keep it valid. 3306 3307------------------------------------------------------------------------ 3308r1776 | adk0212 | 2009-09-20 19:47:01 -0400 (Sun, 20 Sep 2009) | 2 lines 3309 3310Minor cleanups 3311 3312------------------------------------------------------------------------ 3313r1775 | adk0212 | 2009-09-20 19:29:37 -0400 (Sun, 20 Sep 2009) | 2 lines 3314 3315Minor optimization to DataSource classes 3316 3317------------------------------------------------------------------------ 3318r1774 | adk0212 | 2009-09-20 19:07:45 -0400 (Sun, 20 Sep 2009) | 3 lines 3319 3320Plumb in about panel. Expand copyright text slightly. Rename menu items 3321to more closely match other OS X app naming conventions. 3322 3323------------------------------------------------------------------------ 3324r1773 | adk0212 | 2009-09-20 18:23:10 -0400 (Sun, 20 Sep 2009) | 2 lines 3325 3326Make icon backgrounds transparent 3327 3328------------------------------------------------------------------------ 3329r1772 | adk0212 | 2009-09-20 17:25:22 -0400 (Sun, 20 Sep 2009) | 2 lines 3330 3331Add horizontal separators to the menu 3332 3333------------------------------------------------------------------------ 3334r1771 | adk0212 | 2009-09-20 17:13:22 -0400 (Sun, 20 Sep 2009) | 2 lines 3335 3336Remove InfoPlist.strings dependency 3337 3338------------------------------------------------------------------------ 3339r1770 | adk0212 | 2009-09-20 17:11:53 -0400 (Sun, 20 Sep 2009) | 3 lines 3340 3341Update Info.plist with copyright and version info. Version is substituted 3342at build time for __VERSION__. Remove unused InfoPlist.strings file. 3343 3344------------------------------------------------------------------------ 3345r1769 | adk0212 | 2009-09-20 17:11:09 -0400 (Sun, 20 Sep 2009) | 2 lines 3346 3347Minor cleanup 3348 3349------------------------------------------------------------------------ 3350r1768 | adk0212 | 2009-09-20 16:39:42 -0400 (Sun, 20 Sep 2009) | 2 lines 3351 3352Add apcagent, an apctray-like applet for Mac OS X 3353 3354------------------------------------------------------------------------ 3355r1767 | adk0212 | 2009-09-20 16:26:05 -0400 (Sun, 20 Sep 2009) | 2 lines 3356 3357Move FetchStatus() to StatMgr class and rename to GetSummary() 3358 3359------------------------------------------------------------------------ 3360r1766 | adk0212 | 2009-09-20 16:11:13 -0400 (Sun, 20 Sep 2009) | 2 lines 3361 3362Convert win32 apctray to use shared statmgr and alib classes. 3363 3364------------------------------------------------------------------------ 3365r1765 | adk0212 | 2009-09-20 15:47:47 -0400 (Sun, 20 Sep 2009) | 2 lines 3366 3367Add copy of win32 statmgr with win32-isms replaced with alib equivalents 3368 3369------------------------------------------------------------------------ 3370r1764 | adk0212 | 2009-09-20 15:46:13 -0400 (Sun, 20 Sep 2009) | 2 lines 3371 3372Add lightweight STL-like class library 3373 3374------------------------------------------------------------------------ 3375r1763 | adk0212 | 2009-09-20 15:41:26 -0400 (Sun, 20 Sep 2009) | 2 lines 3376 3377Add support for building Objective-C files (*.m) 3378 3379------------------------------------------------------------------------ 3380r1762 | adk0212 | 2009-09-20 15:39:24 -0400 (Sun, 20 Sep 2009) | 2 lines 3381 3382Forgot -arch flags for apcupsd build 3383 3384------------------------------------------------------------------------ 3385r1761 | adk0212 | 2009-09-13 18:08:58 -0400 (Sun, 13 Sep 2009) | 2 lines 3386 3387And more updates to the notes. Nearly done now, I think. 3388 3389------------------------------------------------------------------------ 3390r1760 | adk0212 | 2009-09-13 17:36:46 -0400 (Sun, 13 Sep 2009) | 2 lines 3391 3392More build notes updates. 3393 3394------------------------------------------------------------------------ 3395r1759 | adk0212 | 2009-09-13 17:28:20 -0400 (Sun, 13 Sep 2009) | 2 lines 3396 3397More updates to Darwin build notes. 3398 3399------------------------------------------------------------------------ 3400r1758 | adk0212 | 2009-09-13 17:05:42 -0400 (Sun, 13 Sep 2009) | 5 lines 3401 3402Disable PackageMaker's "suggested permissions" in favor of using our own 3403explicit permissions. Tweak perms on /Library to keep PackageMaker happy. 3404Remove permission fixups from preflight/postflight scripts. Copy the 3405apcupsd-uninstall script to /sbin during install. 3406 3407------------------------------------------------------------------------ 3408r1757 | adk0212 | 2009-09-13 17:02:31 -0400 (Sun, 13 Sep 2009) | 2 lines 3409 3410Add uninstall script. 3411 3412------------------------------------------------------------------------ 3413r1756 | adk0212 | 2009-09-13 09:29:11 -0400 (Sun, 13 Sep 2009) | 3 lines 3414 3415Work around PackageMaker bug that gets ApcupsdDummy.kext directory 3416permissions wrong. 3417 3418------------------------------------------------------------------------ 3419r1755 | adk0212 | 2009-09-11 20:01:58 -0400 (Fri, 11 Sep 2009) | 2 lines 3420 3421Update OS X build notes with more info I've discovered. 3422 3423------------------------------------------------------------------------ 3424r1754 | adk0212 | 2009-09-08 18:03:38 -0400 (Tue, 08 Sep 2009) | 2 lines 3425 3426Update apctest manpage for USB battery calibration function. 3427 3428------------------------------------------------------------------------ 3429r1753 | adk0212 | 2009-09-01 20:30:37 -0400 (Tue, 01 Sep 2009) | 4 lines 3430 3431Implement battery calibration in apctest for USB models. 3432Thanks to James Belleau <james@belleau.net> for the original implementation 3433which has been modified somewhat in this commit. 3434 3435------------------------------------------------------------------------ 3436r1752 | adk0212 | 2009-08-30 11:24:04 -0400 (Sun, 30 Aug 2009) | 2 lines 3437 3438Update Darwin USB section to call out libusb-0.1.12 specifically. 3439 3440------------------------------------------------------------------------ 3441r1751 | adk0212 | 2009-08-30 11:14:04 -0400 (Sun, 30 Aug 2009) | 2 lines 3442 3443Fix TTY mode comms option on Win32. 3444 3445------------------------------------------------------------------------ 3446r1750 | adk0212 | 2009-08-30 10:15:39 -0400 (Sun, 30 Aug 2009) | 3 lines 3447 3448Add notes about compatibility builds. Update universal binaries notes. 3449Rename file to 'build-notes.txt'. 3450 3451------------------------------------------------------------------------ 3452r1749 | adk0212 | 2009-08-29 14:33:23 -0400 (Sat, 29 Aug 2009) | 3 lines 3453 3454Regen configure with autoconf-2.61 (Darwin XCode-3.3) to fix some warnings 3455when configuring on OS X. 3456 3457------------------------------------------------------------------------ 3458r1748 | adk0212 | 2009-08-29 14:27:50 -0400 (Sat, 29 Aug 2009) | 8 lines 3459 3460Update OS X installer for XCode-3.x 3461Unable to find a simple way to create metapackages from the command line 3462so separate Daemon and UsbShim subpackages are gone. Everything is now in 3463the top-level package. On the up side, however, we can now override the 3464version string from the command line so we no longer need autoconf to 3465preprocess the plist. Additionally, packagemaker generates the plist now 3466and just merges in any overrides we specify. Much nicer. 3467 3468------------------------------------------------------------------------ 3469r1747 | adk0212 | 2009-08-23 15:04:31 -0400 (Sun, 23 Aug 2009) | 3 lines 3470 3471Add missing NOMINV, NOMOUTV, and NOMPOWER to clients. 3472Reported by Luciano De Rosa <l.derosa@tiscali.it> 3473 3474------------------------------------------------------------------------ 3475r1745 | adk0212 | 2009-08-14 11:02:19 -0400 (Fri, 14 Aug 2009) | 2 lines 3476 3477Introduce new download page since sf.net is so hard to navigate now. 3478 3479------------------------------------------------------------------------ 3480r1744 | adk0212 | 2009-08-07 08:15:37 -0400 (Fri, 07 Aug 2009) | 3 lines 3481 3482Change ReleaseNotes links to point at versions in CVS since SF isn't 3483properly serving the file if you point to the downloads section. 3484 3485------------------------------------------------------------------------ 3486r1743 | adk0212 | 2009-08-02 10:36:30 -0400 (Sun, 02 Aug 2009) | 2 lines 3487 3488Update for 3.14.7 release. 3489 3490------------------------------------------------------------------------ 3491r1741 | adk0212 | 2009-08-01 13:29:15 -0400 (Sat, 01 Aug 2009) | 2 lines 3492 3493Final prep for 3.14.7 release. 3494 3495------------------------------------------------------------------------ 3496r1740 | fleetworks | 2009-08-01 10:41:16 -0400 (Sat, 01 Aug 2009) | 2 lines 3497 34983.14.7 spec update 3499 3500------------------------------------------------------------------------ 3501r1739 | adk0212 | 2009-08-01 08:18:35 -0400 (Sat, 01 Aug 2009) | 2 lines 3502 3503Remove obsolete files 3504 3505------------------------------------------------------------------------ 3506r1738 | adk0212 | 2009-08-01 08:01:59 -0400 (Sat, 01 Aug 2009) | 2 lines 3507 3508Remove remnants of powerflute 3509 3510------------------------------------------------------------------------ 3511r1737 | adk0212 | 2009-07-31 16:23:51 -0400 (Fri, 31 Jul 2009) | 2 lines 3512 3513Prep for 3.14.7 release 3514 3515------------------------------------------------------------------------ 3516r1736 | adk0212 | 2009-07-31 16:19:07 -0400 (Fri, 31 Jul 2009) | 6 lines 3517 3518Fix configure not noticing when C++ compiler does not exist. Annoyingly, 3519only the first of AC_PROG_CXX and AC_PROG_CC actually error out if the 3520conpiler does not exist. The second one just quietly sets a default and 3521keeps going. Temporary fix is to just move CXX detection to be first since 3522that's the compiler we really need. 3523 3524------------------------------------------------------------------------ 3525r1735 | adk0212 | 2009-07-31 15:35:55 -0400 (Fri, 31 Jul 2009) | 2 lines 3526 3527Document multimon cgi programs for Windows. 3528 3529------------------------------------------------------------------------ 3530r1734 | adk0212 | 2009-07-31 11:34:27 -0400 (Fri, 31 Jul 2009) | 2 lines 3531 3532Add support for formatting manpages into plain text 3533 3534------------------------------------------------------------------------ 3535r1733 | adk0212 | 2009-07-31 11:33:59 -0400 (Fri, 31 Jul 2009) | 4 lines 3536 3537Include plain text manpages in windows install. Organize documentation 3538and provide start menu shortcuts. Also add a shortcut for editing the 3539config file. 3540 3541------------------------------------------------------------------------ 3542r1732 | adk0212 | 2009-07-31 11:33:10 -0400 (Fri, 31 Jul 2009) | 2 lines 3543 3544Format manpages into plain text. 3545 3546------------------------------------------------------------------------ 3547r1731 | adk0212 | 2009-07-31 10:22:55 -0400 (Fri, 31 Jul 2009) | 2 lines 3548 3549Add CGI scripts to Windows installer. 3550 3551------------------------------------------------------------------------ 3552r1730 | adk0212 | 2009-07-31 10:22:33 -0400 (Fri, 31 Jul 2009) | 2 lines 3553 3554Build CGI programs for WIN32. 3555 3556------------------------------------------------------------------------ 3557r1729 | adk0212 | 2009-07-31 10:21:58 -0400 (Fri, 31 Jul 2009) | 2 lines 3558 3559Remove manual calls to WSA_Init(). It's done automatically in libnis now. 3560 3561------------------------------------------------------------------------ 3562r1728 | adk0212 | 2009-07-31 10:20:35 -0400 (Fri, 31 Jul 2009) | 3 lines 3563 3564Split network-related compat functions into their own file so users don't 3565have to link in all of compat.cpp. 3566 3567------------------------------------------------------------------------ 3568r1727 | adk0212 | 2009-07-31 10:18:31 -0400 (Fri, 31 Jul 2009) | 2 lines 3569 3570Automatically invoke WSA_Init() during static initialization on WIN32. 3571 3572------------------------------------------------------------------------ 3573r1726 | adk0212 | 2009-07-31 10:16:42 -0400 (Fri, 31 Jul 2009) | 2 lines 3574 3575Set stdout to binary mode on WIN32 to prevent corruption of image data. 3576 3577------------------------------------------------------------------------ 3578r1725 | adk0212 | 2009-07-26 10:50:59 -0400 (Sun, 26 Jul 2009) | 3 lines 3579 3580Automatically add \\.\ UNC prefix to COMx device name on Windows. This 3581allows selection of ports above COM9. 3582 3583------------------------------------------------------------------------ 3584r1724 | adk0212 | 2009-07-26 10:42:31 -0400 (Sun, 26 Jul 2009) | 3 lines 3585 3586Remove CI_BattReplaceDate because it does not seem to be populated on any 3587modern UPS. CI_BATTDAT works just fine. 3588 3589------------------------------------------------------------------------ 3590r1721 | adk0212 | 2009-06-07 21:15:05 -0400 (Sun, 07 Jun 2009) | 2 lines 3591 3592Update to NSIS-2.45. 3593 3594------------------------------------------------------------------------ 3595r1720 | adk0212 | 2009-06-02 20:45:28 -0400 (Tue, 02 Jun 2009) | 2 lines 3596 3597Fix typo. 3598 3599------------------------------------------------------------------------ 3600r1719 | adk0212 | 2009-05-31 12:18:55 -0400 (Sun, 31 May 2009) | 2 lines 3601 3602Spell check. 3603 3604------------------------------------------------------------------------ 3605r1718 | adk0212 | 2009-05-31 12:14:48 -0400 (Sun, 31 May 2009) | 2 lines 3606 3607Spell check. 3608 3609------------------------------------------------------------------------ 3610r1717 | adk0212 | 2009-05-31 11:13:49 -0400 (Sun, 31 May 2009) | 2 lines 3611 3612Fix a few "apcupd" typos. 3613 3614------------------------------------------------------------------------ 3615r1714 | adk0212 | 2009-05-20 20:43:16 -0400 (Wed, 20 May 2009) | 2 lines 3616 3617Fix UPS version in CGI stats and examples. 3618 3619------------------------------------------------------------------------ 3620r1713 | adk0212 | 2009-05-16 12:46:41 -0400 (Sat, 16 May 2009) | 2 lines 3621 3622Update web site for 3.14.6 release. 3623 3624------------------------------------------------------------------------ 3625r1712 | adk0212 | 2009-05-16 12:46:21 -0400 (Sat, 16 May 2009) | 2 lines 3626 3627Update script 3628 3629------------------------------------------------------------------------ 3630r1710 | adk0212 | 2009-05-16 10:07:36 -0400 (Sat, 16 May 2009) | 2 lines 3631 3632Final prep for 3.14.6. Locked and loaded. 3633 3634------------------------------------------------------------------------ 3635r1709 | fleetworks | 2009-05-16 09:05:25 -0400 (Sat, 16 May 2009) | 2 lines 3636 3637Comment out latex build. 3638 3639------------------------------------------------------------------------ 3640r1707 | adk0212 | 2009-05-15 20:13:20 -0400 (Fri, 15 May 2009) | 2 lines 3641 3642Prep for 3.14.6 release (again). 3643 3644------------------------------------------------------------------------ 3645r1706 | adk0212 | 2009-05-15 20:13:00 -0400 (Fri, 15 May 2009) | 2 lines 3646 3647Fix miscalculated length. Noticed by Stacy Millions <stacy@Millions.Ca> 3648 3649------------------------------------------------------------------------ 3650r1705 | adk0212 | 2009-05-15 19:57:59 -0400 (Fri, 15 May 2009) | 3 lines 3651 3652Add --no-footnote-backlinks to RST2PDF options. It's now supported in 3653rst2pdf SVN trunk. 3654 3655------------------------------------------------------------------------ 3656r1704 | adk0212 | 2009-05-15 19:44:26 -0400 (Fri, 15 May 2009) | 2 lines 3657 3658changes for new user manual location and format 3659 3660------------------------------------------------------------------------ 3661r1703 | adk0212 | 2009-05-15 19:32:13 -0400 (Fri, 15 May 2009) | 2 lines 3662 3663Add script to publish the manual to the web site. 3664 3665------------------------------------------------------------------------ 3666r1702 | adk0212 | 2009-05-15 19:29:37 -0400 (Fri, 15 May 2009) | 2 lines 3667 3668Remove old latex manual. We're all RST now! 3669 3670------------------------------------------------------------------------ 3671r1701 | adk0212 | 2009-05-15 19:23:19 -0400 (Fri, 15 May 2009) | 3 lines 3672 3673Keep a preformatted copy of the user manual in CVS to ease tool 3674dependencies for packagers. 3675 3676------------------------------------------------------------------------ 3677r1700 | adk0212 | 2009-05-15 19:07:37 -0400 (Fri, 15 May 2009) | 2 lines 3678 3679Update for new user manual location. 3680 3681------------------------------------------------------------------------ 3682r1699 | adk0212 | 2009-05-15 18:43:09 -0400 (Fri, 15 May 2009) | 2 lines 3683 3684Fix Scott's name being misinterpreted as an enumerated (elettered?) list. 3685 3686------------------------------------------------------------------------ 3687r1698 | adk0212 | 2009-05-13 19:49:40 -0400 (Wed, 13 May 2009) | 2 lines 3688 3689Applied updates from Trevor Roydhouse <trev@sentry.org> 3690 3691------------------------------------------------------------------------ 3692r1697 | adk0212 | 2009-05-12 19:45:39 -0400 (Tue, 12 May 2009) | 3 lines 3693 3694Remove Linux /proc/bus/usb text files from appendix. They're a ton of 3695baggage for not much gain. 3696 3697------------------------------------------------------------------------ 3698r1696 | adk0212 | 2009-05-12 19:35:18 -0400 (Tue, 12 May 2009) | 2 lines 3699 3700Minor formatting and typo fixes to smart protocol docs. 3701 3702------------------------------------------------------------------------ 3703r1695 | adk0212 | 2009-05-09 09:04:31 -0400 (Sat, 09 May 2009) | 2 lines 3704 3705Fix some {} style markup I missed on the first pass. 3706 3707------------------------------------------------------------------------ 3708r1694 | adk0212 | 2009-05-09 08:50:08 -0400 (Sat, 09 May 2009) | 2 lines 3709 3710Fix expansion of APC acronym. 3711 3712------------------------------------------------------------------------ 3713r1693 | adk0212 | 2009-05-07 21:10:40 -0400 (Thu, 07 May 2009) | 2 lines 3714 3715Some tweaks for better compatibility with rst2pdf. 3716 3717------------------------------------------------------------------------ 3718r1692 | adk0212 | 2009-05-06 21:51:00 -0400 (Wed, 06 May 2009) | 6 lines 3719 3720Several updates to the manual. Replace existing section on UPS maintenance 3721with a new one contributed by Trevor Roydhouse <trev@sentry.org>. Replace 3722old disclaimer with a new one, also from Trev. Add some hyperlinks in the 3723smart protocol section. Clean up some table formatting in that section 3724as well. 3725 3726------------------------------------------------------------------------ 3727r1691 | adk0212 | 2009-05-06 21:50:07 -0400 (Wed, 06 May 2009) | 2 lines 3728 3729Noninterlaced version of logo for compatibility with rst2pdf. 3730 3731------------------------------------------------------------------------ 3732r1690 | adk0212 | 2009-05-05 17:51:26 -0400 (Tue, 05 May 2009) | 2 lines 3733 3734Add allowable settings for LOWBATT. From Trevor Roydhouse <trev@sentry.org> 3735 3736------------------------------------------------------------------------ 3737r1689 | adk0212 | 2009-05-04 18:21:57 -0400 (Mon, 04 May 2009) | 3 lines 3738 3739Autodetect locations of rst2pdf and rst2html. Politely skip typesetting 3740each format if the generator is not available. 3741 3742------------------------------------------------------------------------ 3743r1688 | adk0212 | 2009-05-04 18:20:42 -0400 (Mon, 04 May 2009) | 3 lines 3744 3745Add support for QNX. Tested on QNX 6.3.2. Contributed by Mikhail Gruzdev 3746<michail.gruzdev@gmail.com> 3747 3748------------------------------------------------------------------------ 3749r1687 | adk0212 | 2009-05-04 18:03:06 -0400 (Mon, 04 May 2009) | 3 lines 3750 3751Add support for QNX. Tested on QNX 6.3.2. Contributed by Mikhail Gruzdev 3752<michail.gruzdev@gmail.com> 3753 3754------------------------------------------------------------------------ 3755r1686 | adk0212 | 2009-05-04 17:56:24 -0400 (Mon, 04 May 2009) | 2 lines 3756 3757s/batteryload/load/. Contributed by Mikhail Gruzdev <michail.gruzdev@gmail.com> 3758 3759------------------------------------------------------------------------ 3760r1685 | adk0212 | 2009-05-03 17:56:25 -0400 (Sun, 03 May 2009) | 2 lines 3761 3762Generate PDF manual automatically. 3763 3764------------------------------------------------------------------------ 3765r1684 | adk0212 | 2009-05-03 17:55:09 -0400 (Sun, 03 May 2009) | 2 lines 3766 3767Fix typo. 3768 3769------------------------------------------------------------------------ 3770r1683 | adk0212 | 2009-05-03 13:31:39 -0400 (Sun, 03 May 2009) | 2 lines 3771 3772Fix broken references. Now formats cleanly with no errors or warnings. 3773 3774------------------------------------------------------------------------ 3775r1682 | adk0212 | 2009-05-03 12:31:03 -0400 (Sun, 03 May 2009) | 2 lines 3776 3777Minor tweaks to spacing, etc. 3778 3779------------------------------------------------------------------------ 3780r1681 | adk0212 | 2009-05-03 12:27:18 -0400 (Sun, 03 May 2009) | 3 lines 3781 3782Rejuvinate smart protocol section and add it back in. Merged with updates 3783from NUT site. 3784 3785------------------------------------------------------------------------ 3786r1680 | adk0212 | 2009-05-02 19:46:59 -0400 (Sat, 02 May 2009) | 3 lines 3787 3788Add EEPROM configuration directives. Text stolen shamelessly from Trevor's 3789apcupsd.conf(5). 3790 3791------------------------------------------------------------------------ 3792r1679 | adk0212 | 2009-05-02 19:30:07 -0400 (Sat, 02 May 2009) | 2 lines 3793 3794Minor fixes to apctest section. This needs major updates eventually. 3795 3796------------------------------------------------------------------------ 3797r1678 | adk0212 | 2009-05-02 19:20:42 -0400 (Sat, 02 May 2009) | 2 lines 3798 3799Bring in a shortened version of the supportedupses text. 3800 3801------------------------------------------------------------------------ 3802r1677 | adk0212 | 2009-05-02 18:37:30 -0400 (Sat, 02 May 2009) | 2 lines 3803 3804Add Windows 7. Split Solaris into 8/9 (no USB) and 10 (USB supported). 3805 3806------------------------------------------------------------------------ 3807r1676 | adk0212 | 2009-05-02 18:30:38 -0400 (Sat, 02 May 2009) | 2 lines 3808 3809Rewrite and add in supported operating systems section. 3810 3811------------------------------------------------------------------------ 3812r1675 | adk0212 | 2009-05-02 18:29:35 -0400 (Sat, 02 May 2009) | 3 lines 3813 3814Don't generate backrefs for footnotes; they make the footnotes hard to 3815read. 3816 3817------------------------------------------------------------------------ 3818r1674 | adk0212 | 2009-05-02 12:11:32 -0400 (Sat, 02 May 2009) | 4 lines 3819 3820Surround TOC with transition dividers to help set it apart. I wish the 3821text for the TOC title were rendered larger. Need to investigate alternate 3822stylesheets. 3823 3824------------------------------------------------------------------------ 3825r1673 | adk0212 | 2009-05-02 12:00:00 -0400 (Sat, 02 May 2009) | 4 lines 3826 3827Add preliminary Makefile support for rst2html. Dependencies are working. 3828Not tied in to top-level make yet since not everyone will have rst2html. 3829'make clean' not working yet. Need to figure out what to do about that. 3830 3831------------------------------------------------------------------------ 3832r1672 | adk0212 | 2009-05-02 10:30:19 -0400 (Sat, 02 May 2009) | 4 lines 3833 3834Change log level of UPS self-test messages to WARNING from ALERT. Given 3835that self-test messages are routine, they do not belong at LOG_ALERT. 3836Contributed by Dave Ewart <davee@ceu.ox.ac.uk>. 3837 3838------------------------------------------------------------------------ 3839r1671 | adk0212 | 2009-05-02 10:21:20 -0400 (Sat, 02 May 2009) | 2 lines 3840 3841Install manpages as part of 'make install'. 3842 3843------------------------------------------------------------------------ 3844r1670 | adk0212 | 2009-05-02 10:05:42 -0400 (Sat, 02 May 2009) | 2 lines 3845 3846Remove one leftover old manpage. 3847 3848------------------------------------------------------------------------ 3849r1669 | adk0212 | 2009-05-02 10:04:35 -0400 (Sat, 02 May 2009) | 3 lines 3850 3851Replace old manpages with shiny new ones, courtesy of Trevor Roydhousea 3852<trev@sentry.org>. Many thanks, Trev! 3853 3854------------------------------------------------------------------------ 3855r1668 | adk0212 | 2009-04-30 19:20:14 -0400 (Thu, 30 Apr 2009) | 2 lines 3856 3857Minor updates plus clean up and add back in the cables section. 3858 3859------------------------------------------------------------------------ 3860r1667 | adk0212 | 2009-04-26 20:34:05 -0400 (Sun, 26 Apr 2009) | 2 lines 3861 3862Revert accidental changes. 3863 3864------------------------------------------------------------------------ 3865r1666 | adk0212 | 2009-04-26 19:12:25 -0400 (Sun, 26 Apr 2009) | 4 lines 3866 3867First pass at converting apcupsd user manual to reStructuredText. 3868Initial conversion via Pandoc, then lots of hand editing. It's in 3869pretty good shape now. Need to fix up external files. 3870 3871------------------------------------------------------------------------ 3872r1665 | adk0212 | 2009-04-25 11:04:25 -0400 (Sat, 25 Apr 2009) | 9 lines 3873 3874Make startup success message appear in logs again. 3875From Trevor Roydhouse <trev@sentry.org>: 3876apcupsd stopped printing startup success messages at some 3877point. Looking through the code it is because it was decided that the 3878LOG_INFO facility level should only be used for data file logging and 3879so it filters out other uses. Unfortunately the startup message is 3880set to that level. Changing the startup message to LOG_WARNING works 3881and is consistent with the normal shutdown message facility level. 3882 3883------------------------------------------------------------------------ 3884r1664 | adk0212 | 2009-04-25 10:58:29 -0400 (Sat, 25 Apr 2009) | 5 lines 3885 3886Remove EVENTFILE, EVENTFILEMAX config directives. These were replaced by 3887the plural versions that are in use today (EVENTSFILE, EVENTSFILEMAX) 3888almost 10 years ago. It's time to kill the old names. 3889(h/t Trevor Roydhouse <trev@sentry.org>) 3890 3891------------------------------------------------------------------------ 3892r1663 | adk0212 | 2009-04-25 10:47:50 -0400 (Sat, 25 Apr 2009) | 3 lines 3893 3894Add -P,--pid-file to -h output. Update copyright. 3895(h/t Trevor Roydhouse <trev@sentry.org>) 3896 3897------------------------------------------------------------------------ 3898r1662 | adk0212 | 2009-04-25 10:45:04 -0400 (Sat, 25 Apr 2009) | 3 lines 3899 3900RELEASE is merely a subset of VERSION. Remove RELEASE. 3901(h/t Trevor Roydhouse <trev@sentry.org>) 3902 3903------------------------------------------------------------------------ 3904r1661 | adk0212 | 2009-03-19 19:18:07 -0400 (Thu, 19 Mar 2009) | 2 lines 3905 3906Update sf.net logo per new guidelines. 3907 3908------------------------------------------------------------------------ 3909r1660 | adk0212 | 2009-03-02 18:16:55 -0500 (Mon, 02 Mar 2009) | 2 lines 3910 3911Pseudo-prep for 3.14.6 3912 3913------------------------------------------------------------------------ 3914r1659 | adk0212 | 2009-03-02 17:52:57 -0500 (Mon, 02 Mar 2009) | 3 lines 3915 3916Workaround for crash during process shutdown. 3917Contributed by Andrey Sharandakov <ash.ashway@gmail.com> 3918 3919------------------------------------------------------------------------ 3920r1658 | adk0212 | 2009-03-02 17:48:26 -0500 (Mon, 02 Mar 2009) | 5 lines 3921 3922Add support for turning the UPS off completely. This complements existing 3923hibernate (aka killpower) functionality. Turn-off is implemented for 3924apcsmart and USB drivers, subject to support for the relevant commands in 3925the UPS itself. Contributed by Keith Campbell <campbell@econnectix.com>. 3926 3927------------------------------------------------------------------------ 3928r1657 | adk0212 | 2009-03-01 10:03:51 -0500 (Sun, 01 Mar 2009) | 2 lines 3929 3930Fix build with gcc-4.4. Contributed by Michal Hlavinka <mhlavink@redhat.com>. 3931 3932------------------------------------------------------------------------ 3933r1656 | adk0212 | 2009-02-14 16:35:16 -0500 (Sat, 14 Feb 2009) | 5 lines 3934 3935Fix number of array entries which was causing a buffer overflow. 3936Contributed by David Fries <david@fries.net>. 3937Also change loop counters to unsigned, eliminating a new warning introduced 3938by the above change plus allowing removal of unnecessary casts to int. 3939 3940------------------------------------------------------------------------ 3941r1655 | adk0212 | 2009-02-10 18:39:30 -0500 (Tue, 10 Feb 2009) | 18 lines 3942 3943Fix some deadlocks in the case of a comm failure when smart_poll() is 3944called without holding the UPS lock. Contributed by Keith Campbell 3945<campbell@econnectix.com>: 3946 3947On one of our machines, apcupsd 3.14.5 (using a smart serial cable) 3948would occasionally not finish starting up. Running strace revealed 3949that it was stuck in deadlock on a futex() system call. 3950 3951I've traced this to some poorly written code inside the apcsmart 3952driver. Inside smart.c there is a UPSlinkCheck() function which 3953according to the documentation must be called with the UPS lock held 3954(ugh). smart_poll() calls the UPSlinkCheck() function (but only in a 3955rarely followed error handling branch), so therefore it must also be 3956called with the lock held. The problem is, many things call 3957smart_poll() but some call it without the lock, and other with the 3958lock. I've put locks around a few smart_poll() calls in smartsetup2.c 3959which corrected the problem I was seeing. 3960 3961------------------------------------------------------------------------ 3962r1654 | adk0212 | 2009-01-15 17:57:38 -0500 (Thu, 15 Jan 2009) | 3 lines 3963 3964Year++ 3965h/t Kirill S. Bychkov <yason@linklevel.net> 3966 3967------------------------------------------------------------------------ 3968r1653 | adk0212 | 2009-01-14 18:00:41 -0500 (Wed, 14 Jan 2009) | 2 lines 3969 3970Update publish scripts for sf.net changes 3971 3972------------------------------------------------------------------------ 3973r1652 | adk0212 | 2009-01-14 17:49:26 -0500 (Wed, 14 Jan 2009) | 2 lines 3974 3975Update for 3.14.5 release. 3976 3977------------------------------------------------------------------------ 3978r1650 | adk0212 | 2009-01-10 15:02:56 -0500 (Sat, 10 Jan 2009) | 2 lines 3979 39803.14.5 for real this time. 3981 3982------------------------------------------------------------------------ 3983r1649 | adk0212 | 2008-11-10 19:14:58 -0500 (Mon, 10 Nov 2008) | 3 lines 3984 3985Compile fixes for nagios plugin. 3986Contributed by Ronald J. Yacketta <yacketrj@potsdam.edu> 3987 3988------------------------------------------------------------------------ 3989r1648 | adk0212 | 2008-11-01 11:03:26 -0400 (Sat, 01 Nov 2008) | 3 lines 3990 3991Remove unused DISTVER code. 3992Contributed by Miloň Papežík <mmp@secure-it.cz> 3993 3994------------------------------------------------------------------------ 3995r1647 | adk0212 | 2008-10-26 10:25:41 -0400 (Sun, 26 Oct 2008) | 2 lines 3996 3997Prep for 3.14.5 release (again) 3998 3999------------------------------------------------------------------------ 4000r1646 | adk0212 | 2008-10-20 18:19:10 -0400 (Mon, 20 Oct 2008) | 2 lines 4001 4002Update to nsis-2.40. 4003 4004------------------------------------------------------------------------ 4005r1645 | adk0212 | 2008-10-20 18:18:32 -0400 (Mon, 20 Oct 2008) | 2 lines 4006 4007Document the /refresh switch for apctray. 4008 4009------------------------------------------------------------------------ 4010r1644 | skoona | 2008-09-16 00:58:20 -0400 (Tue, 16 Sep 2008) | 8 lines 4011 4012Corrected the timebase on the sockopts(0 api call. I intended to set the timeout for 4013two tenths of a second, instead I set it for 200 usec. The results 4014was un-stability and frequently dropped session on my quad-core; dual and 4015single cores didn't seem to be bothered. Now is it set for 200000 usec 4016as I originally intended. 4017 4018James, 4019 4020------------------------------------------------------------------------ 4021r1643 | skoona | 2008-09-16 00:34:37 -0400 (Tue, 16 Sep 2008) | 2 lines 4022 4023Corrected person references, FreeBSD is the platform Jason Hale maintains 4024 4025------------------------------------------------------------------------ 4026r1642 | skoona | 2008-09-16 00:23:32 -0400 (Tue, 16 Sep 2008) | 7 lines 4027 4028Applied two patches 40291. eggtrayicon.c -- applies background transparency when in systray mode to systray icon. 40302. gapcmon.c -- Add include for BSD sockaddr_in, no impact on other platforms. 4031Note: Socket timeout timers were shortened in a prior update 4032 4033James, 4034 4035------------------------------------------------------------------------ 4036r1641 | adk0212 | 2008-09-10 18:34:05 -0400 (Wed, 10 Sep 2008) | 5 lines 4037 4038Do not create pid file in apctest. There is little reason for it since 4039apctest is a command-line tool, not a daemon. Plus nothing ever deletes 4040the file so it interferes with apcupsd operation. 4041Reported by Eddie Atherton <stunnel@attglobal.net> 4042 4043------------------------------------------------------------------------ 4044r1640 | adk0212 | 2008-09-09 17:51:18 -0400 (Tue, 09 Sep 2008) | 3 lines 4045 4046Change -? to -h for the sake of consistency with other software. 4047Contributed by Thomas Pfaff <thomas.arnesen.pfaff@gmail.com> 4048 4049------------------------------------------------------------------------ 4050r1639 | adk0212 | 2008-08-17 11:01:51 -0400 (Sun, 17 Aug 2008) | 2 lines 4051 4052Work around PackageMaker bug in XCode-2.5. 4053 4054------------------------------------------------------------------------ 4055r1638 | adk0212 | 2008-08-17 10:43:13 -0400 (Sun, 17 Aug 2008) | 2 lines 4056 4057Update Darwin universal binary instructions. 4058 4059------------------------------------------------------------------------ 4060r1637 | skoona | 2008-08-15 01:24:50 -0400 (Fri, 15 Aug 2008) | 4 lines 4061 4062Added setsockopt() to sknet_open() to resolve timeout related issue. 4063I set it to 200ms initially, need to test a bet before releasing. 4064James, 4065 4066------------------------------------------------------------------------ 4067r1635 | adk0212 | 2008-08-03 16:24:04 -0400 (Sun, 03 Aug 2008) | 3 lines 4068 4069A convenient side-effect of the flags split is that deps now work correctly 4070during a universal binary build. 4071 4072------------------------------------------------------------------------ 4073r1634 | adk0212 | 2008-08-03 12:51:16 -0400 (Sun, 03 Aug 2008) | 4 lines 4074 4075Fix a few unsafe uses of sprintf and strcat. Although OpenBSD warns about 4076several more, these other instances are demonstrably correct as-written and 4077are therefore unchanged. 4078 4079------------------------------------------------------------------------ 4080r1633 | adk0212 | 2008-08-03 11:13:33 -0400 (Sun, 03 Aug 2008) | 2 lines 4081 4082Update Darwin build instructions for CPPFLAGS/CFLAGS/CXXFLAGS split. 4083 4084------------------------------------------------------------------------ 4085r1632 | adk0212 | 2008-08-03 11:00:05 -0400 (Sun, 03 Aug 2008) | 2 lines 4086 4087gapcmon build fixes for new CPPFLAGS/CFLAGS/CXXFLAGS split. 4088 4089------------------------------------------------------------------------ 4090r1631 | adk0212 | 2008-08-03 10:51:57 -0400 (Sun, 03 Aug 2008) | 3 lines 4091 4092Regen configure script on Linux. OpenBSD autoconf searches for X11 4093differently (and possibly incorrectly). 4094 4095------------------------------------------------------------------------ 4096r1630 | adk0212 | 2008-08-03 10:48:45 -0400 (Sun, 03 Aug 2008) | 4 lines 4097 4098Fix configure warnings for gd.h by properly splitting compiler flags versus 4099preprocessor flags. CFLAGS=C compiler flags, CXXFLAGS=C++ compiler flags, 4100CPPFLAGS=C preprocessor flags. 4101 4102------------------------------------------------------------------------ 4103r1629 | adk0212 | 2008-08-02 19:13:28 -0400 (Sat, 02 Aug 2008) | 2 lines 4104 4105Regen configure script from configure.in. 4106 4107------------------------------------------------------------------------ 4108r1628 | adk0212 | 2008-08-02 19:11:29 -0400 (Sat, 02 Aug 2008) | 3 lines 4109 4110Fix cgi build on OpenBSD. libgd on OpenBSD requires X_LIBS for libfreetype 4111and libfontconfig. 4112 4113------------------------------------------------------------------------ 4114r1627 | adk0212 | 2008-07-25 10:17:51 -0400 (Fri, 25 Jul 2008) | 2 lines 4115 4116Update ChangeLog after win32 exit fix. 4117 4118------------------------------------------------------------------------ 4119r1626 | adk0212 | 2008-07-25 09:18:03 -0400 (Fri, 25 Jul 2008) | 4 lines 4120 4121Fix handling of old-style exit requests (WM_QUIT message to hidden window). 4122Apparently PeekMessage() is not sufficient, so go back to using GetMessage 4123and spawn a separate thread to watch for the global exit event. 4124 4125------------------------------------------------------------------------ 4126r1625 | adk0212 | 2008-07-24 16:29:33 -0400 (Thu, 24 Jul 2008) | 2 lines 4127 4128Prep for 3.14.5 release. 4129 4130------------------------------------------------------------------------ 4131r1624 | adk0212 | 2008-07-24 16:12:58 -0400 (Thu, 24 Jul 2008) | 3 lines 4132 4133Save $INSTDIR in registry for future use. Also remove examples/ directory 4134from install package since almost nothing in there applies to win32. 4135 4136------------------------------------------------------------------------ 4137r1623 | adk0212 | 2008-07-24 16:10:58 -0400 (Thu, 24 Jul 2008) | 2 lines 4138 4139Remove another obsolete sample config. 4140 4141------------------------------------------------------------------------ 4142r1622 | adk0212 | 2008-07-24 16:08:18 -0400 (Thu, 24 Jul 2008) | 2 lines 4143 4144Remove obsolete configuration examples. 4145 4146------------------------------------------------------------------------ 4147r1621 | skoona | 2008-07-12 22:51:13 -0400 (Sat, 12 Jul 2008) | 2 lines 4148 4149Update the ChangeLog 4150 4151------------------------------------------------------------------------ 4152r1620 | skoona | 2008-07-12 22:32:21 -0400 (Sat, 12 Jul 2008) | 16 lines 4153 4154Fix two of two: KDE issue, 4155because of the _iconify() api issue, _hide() was chosen. _ 4156hide() presents a useability issue where its possible hide all windows 4157in such a way that no artifact is visible for you to use to restore a window. 4158 4159This is caused by the use of gtk_widget_hide() instead of gtk_window_iconify(); 4160thus the only solution is to remove the close buttons off both the 4161main window and all monitor windows. Its the close button that presents 4162the active-but-no-window effect. 4163 4164Problem Cause: KDE Window Manager Behaviour Changed -- gtk_window_iconify() ignored. 4165Problem Resolved: Removed Close Button from all windows. 4166 Switched to gtk_widget_hide() to manage window visibility. 4167 4168James, 4169 4170------------------------------------------------------------------------ 4171r1619 | skoona | 2008-07-12 20:23:35 -0400 (Sat, 12 Jul 2008) | 2 lines 4172 4173Part 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. 4174 4175------------------------------------------------------------------------ 4176r1618 | adk0212 | 2008-07-12 15:13:56 -0400 (Sat, 12 Jul 2008) | 2 lines 4177 4178Update to nsis-2.38 4179 4180------------------------------------------------------------------------ 4181r1617 | skoona | 2008-07-12 13:53:54 -0400 (Sat, 12 Jul 2008) | 2 lines 4182 4183Part two of two parts -- kde iconify fix 4184 4185------------------------------------------------------------------------ 4186r1616 | skoona | 2008-07-12 12:54:17 -0400 (Sat, 12 Jul 2008) | 2 lines 4187 4188Part one of two parts -- kde iconify fix 4189 4190------------------------------------------------------------------------ 4191r1607 | adk0212 | 2008-06-29 11:12:10 -0400 (Sun, 29 Jun 2008) | 5 lines 4192 4193Fix bug in LOWBATT glitch handling. We must examine LOWBATT for changes 4194every time thru the status loop, not just during the OnBattery state. 4195Otherwise we can miss the initial LOWBATT assertion, which defeats the 4196glitch rejection logic. 4197 4198------------------------------------------------------------------------ 4199r1606 | adk0212 | 2008-06-24 19:24:43 -0400 (Tue, 24 Jun 2008) | 2 lines 4200 4201Silly spacing fix. 4202 4203------------------------------------------------------------------------ 4204r1605 | adk0212 | 2008-06-24 19:23:18 -0400 (Tue, 24 Jun 2008) | 3 lines 4205 4206Fail configure if required tools are not found. Fix targets.mak to 4207reference a few more tools by variable instead of hardcoded name. 4208 4209------------------------------------------------------------------------ 4210r1604 | adk0212 | 2008-06-21 17:04:15 -0400 (Sat, 21 Jun 2008) | 3 lines 4211 4212Clean up win32 compat. Remove unused functions and files. Remove wide char 4213support. Organize compat.h. 4214 4215------------------------------------------------------------------------ 4216r1603 | adk0212 | 2008-06-21 14:43:56 -0400 (Sat, 21 Jun 2008) | 6 lines 4217 4218Improve apctray multiple instance behavior for /add, /del, and /kill on 4219modern platforms (Win2K and newer). Monitor registry for changes caused 4220by /add and /del and automatically reset when a change is detected. Also 4221ensure /kill will terminate all apctray instances, even those running in 4222other sessions. 4223 4224------------------------------------------------------------------------ 4225r1602 | adk0212 | 2008-06-19 18:23:50 -0400 (Thu, 19 Jun 2008) | 3 lines 4226 4227Support shutting down apcupsd instances running in other sessions (such 4228as terminal services or remote desktop sessions). 4229 4230------------------------------------------------------------------------ 4231r1601 | adk0212 | 2008-06-15 14:11:06 -0400 (Sun, 15 Jun 2008) | 2 lines 4232 4233Use 'tr' to strip trailing newline from 'echo' instead of 'echo -n'. 4234 4235------------------------------------------------------------------------ 4236r1600 | adk0212 | 2008-06-15 09:15:07 -0400 (Sun, 15 Jun 2008) | 2 lines 4237 4238Update install to use new CHKCFG macro. 4239 4240------------------------------------------------------------------------ 4241r1599 | adk0212 | 2008-06-15 09:10:47 -0400 (Sun, 15 Jun 2008) | 2 lines 4242 4243Update redhat to use new CHKCFG macro. 4244 4245------------------------------------------------------------------------ 4246r1598 | adk0212 | 2008-06-15 09:04:31 -0400 (Sun, 15 Jun 2008) | 2 lines 4247 4248Fix harmless but annoying compiler warning on suse. 4249 4250------------------------------------------------------------------------ 4251r1597 | adk0212 | 2008-06-15 09:03:19 -0400 (Sun, 15 Jun 2008) | 7 lines 4252 4253Fix 'make install' on suse. Sadly, suse's chkconfig always returns success 4254for --list even when the service does not exist. So we add a more 4255sophisticated chkconfig handler which tests for existence of the init 4256script manually, then invokes chkconfig. The whole thing is hidden behind 4257a macro. Also add CHKCONFIG definition (currently always /sbin/chkconfig) 4258in case we someday encounter a distro that hides it elsewhere. 4259 4260------------------------------------------------------------------------ 4261r1596 | adk0212 | 2008-06-11 07:47:13 -0400 (Wed, 11 Jun 2008) | 3 lines 4262 4263Update PCNET info: minimum password length is 15 chars, default username 4264is 'apc', no known way to change the username. 4265 4266------------------------------------------------------------------------ 4267r1595 | adk0212 | 2008-06-11 07:39:43 -0400 (Wed, 11 Jun 2008) | 3 lines 4268 4269Add a hex dump function and use it from pcnet and usb drivers instead of 4270manually coding ugly loops. 4271 4272------------------------------------------------------------------------ 4273r1594 | adk0212 | 2008-06-11 07:20:30 -0400 (Wed, 11 Jun 2008) | 2 lines 4274 4275Add captured packets for testing PCNET driver. 4276 4277------------------------------------------------------------------------ 4278r1593 | adk0212 | 2008-06-09 21:22:47 -0400 (Mon, 09 Jun 2008) | 4 lines 4279 4280Use $(ECHO). Important for 'echo -n' on some platforms, and we might as 4281well use it everywhere we use 'echo'. Thanks to Jeremy Daniel 4282<Jeremy.Daniel@brunel.ac.uk> for finding and fixing this on Mac OS X. 4283 4284------------------------------------------------------------------------ 4285r1592 | adk0212 | 2008-06-09 21:16:48 -0400 (Mon, 09 Jun 2008) | 3 lines 4286 4287Remove conditional HAVE_NISLIB settings. HAVE_NISLIB is set already set 4288unconditionally. 4289 4290------------------------------------------------------------------------ 4291r1591 | adk0212 | 2008-06-01 17:57:56 -0400 (Sun, 01 Jun 2008) | 7 lines 4292 4293Fix first install failure on redhat and suse. We were unconditionally 4294running 'chkconfig --del apcupsd' which failed if apcupsd was not already 4295installed. Now we check 'chkconfig --list apcupsd' first to see if 4296chkconfig believes apcupsd is installed. Make same fix in uninstall. Also 4297change most uninstall steps to allow failure. This facilitates the best- 4298effort uninstall of an aborted or otherwise botched install. 4299 4300------------------------------------------------------------------------ 4301r1590 | fleetworks | 2008-05-31 08:42:50 -0400 (Sat, 31 May 2008) | 2 lines 4302 4303Add restart of daemon on upgrade. 4304 4305------------------------------------------------------------------------ 4306r1583 | adk0212 | 2008-05-25 14:46:34 -0400 (Sun, 25 May 2008) | 2 lines 4307 4308Update for 3.14.4 release. 4309 4310------------------------------------------------------------------------ 4311r1581 | adk0212 | 2008-05-18 14:21:27 -0400 (Sun, 18 May 2008) | 2 lines 4312 4313Update ChangeLog. 4314 4315------------------------------------------------------------------------ 4316r1580 | adk0212 | 2008-05-18 14:18:54 -0400 (Sun, 18 May 2008) | 3 lines 4317 4318Fix init script location on SuSE. It should be /etc/rc.d, but we were 4319placing the file in /etc/rc.d/init.d. 4320 4321------------------------------------------------------------------------ 4322r1579 | adk0212 | 2008-05-18 13:16:48 -0400 (Sun, 18 May 2008) | 2 lines 4323 4324Fix release date. 4325 4326------------------------------------------------------------------------ 4327r1578 | adk0212 | 2008-05-18 13:15:34 -0400 (Sun, 18 May 2008) | 2 lines 4328 4329Prep for 3.14.4 release. 4330 4331------------------------------------------------------------------------ 4332r1577 | adk0212 | 2008-05-18 13:12:30 -0400 (Sun, 18 May 2008) | 2 lines 4333 4334Add 'make install' support for man pages. 4335 4336------------------------------------------------------------------------ 4337r1576 | adk0212 | 2008-05-12 20:09:47 -0400 (Mon, 12 May 2008) | 2 lines 4338 4339Remove obsolete files. 4340 4341------------------------------------------------------------------------ 4342r1575 | adk0212 | 2008-05-12 20:06:49 -0400 (Mon, 12 May 2008) | 2 lines 4343 4344Update contributors list. This is probably still way out of date. 4345 4346------------------------------------------------------------------------ 4347r1574 | adk0212 | 2008-05-12 20:01:25 -0400 (Mon, 12 May 2008) | 2 lines 4348 4349Remove references to powerflute. 4350 4351------------------------------------------------------------------------ 4352r1573 | adk0212 | 2008-05-11 18:34:37 -0400 (Sun, 11 May 2008) | 2 lines 4353 4354Remove --with-powerflute flag from specs. 4355 4356------------------------------------------------------------------------ 4357r1572 | adk0212 | 2008-05-11 18:18:53 -0400 (Sun, 11 May 2008) | 2 lines 4358 4359Remove old changelog. 4360 4361------------------------------------------------------------------------ 4362r1571 | adk0212 | 2008-05-11 17:00:55 -0400 (Sun, 11 May 2008) | 2 lines 4363 4364Prep for 3.14.4 test release. 4365 4366------------------------------------------------------------------------ 4367r1570 | adk0212 | 2008-05-11 16:23:17 -0400 (Sun, 11 May 2008) | 2 lines 4368 4369Remove unused file. 4370 4371------------------------------------------------------------------------ 4372r1569 | adk0212 | 2008-05-11 10:24:13 -0400 (Sun, 11 May 2008) | 2 lines 4373 4374Update Mac OS X universal binary build instructions. 4375 4376------------------------------------------------------------------------ 4377r1568 | adk0212 | 2008-05-11 10:10:35 -0400 (Sun, 11 May 2008) | 2 lines 4378 4379Remove unnecessary dependency includes. 4380 4381------------------------------------------------------------------------ 4382r1567 | adk0212 | 2008-05-11 09:56:51 -0400 (Sun, 11 May 2008) | 2 lines 4383 4384Remove some obsolete Makefile.in 4385 4386------------------------------------------------------------------------ 4387r1566 | adk0212 | 2008-05-11 09:56:16 -0400 (Sun, 11 May 2008) | 2 lines 4388 4389New Makefile for examples/ and source fixes to build with C++ compiler. 4390 4391------------------------------------------------------------------------ 4392r1565 | adk0212 | 2008-05-10 20:10:48 -0400 (Sat, 10 May 2008) | 2 lines 4393 4394Micor cleanups: Rename 'INST' to 'COPY'. Remove extraneous semicolons. 4395 4396------------------------------------------------------------------------ 4397r1564 | adk0212 | 2008-05-10 20:07:52 -0400 (Sat, 10 May 2008) | 5 lines 4398 4399Better solution for install ordering. Invoke make explicitly to build 4400targets and then again to perform the install. This is just an extension 4401of the same trick used to force 'all' to build subdirs before local 4402targets. 4403 4404------------------------------------------------------------------------ 4405r1563 | adk0212 | 2008-05-10 13:54:40 -0400 (Sat, 10 May 2008) | 4 lines 4406 4407Fix parallel 'make install' from an unbuilt tree. Requires manually making 4408install-* depend on all-targets. I'd prefer this be done automatically but 4409I cannot find a way that works (yet). 4410 4411------------------------------------------------------------------------ 4412r1562 | adk0212 | 2008-05-10 11:19:09 -0400 (Sat, 10 May 2008) | 2 lines 4413 4414Do not perform platform install in parallel. 4415 4416------------------------------------------------------------------------ 4417r1561 | adk0212 | 2008-05-10 11:18:43 -0400 (Sat, 10 May 2008) | 2 lines 4418 4419Recurse into platforms/ after src/. 4420 4421------------------------------------------------------------------------ 4422r1560 | adk0212 | 2008-05-10 10:52:46 -0400 (Sat, 10 May 2008) | 2 lines 4423 4424Install banners for alpha. 4425 4426------------------------------------------------------------------------ 4427r1559 | adk0212 | 2008-05-10 10:51:15 -0400 (Sat, 10 May 2008) | 2 lines 4428 4429Add banners to 'make install'. 4430 4431------------------------------------------------------------------------ 4432r1558 | adk0212 | 2008-05-10 10:47:37 -0400 (Sat, 10 May 2008) | 2 lines 4433 4434Tweak install/uninstall banner spacing. 4435 4436------------------------------------------------------------------------ 4437r1557 | adk0212 | 2008-05-10 10:47:19 -0400 (Sat, 10 May 2008) | 2 lines 4438 4439'make install' support for unifix and yellowdog. 4440 4441------------------------------------------------------------------------ 4442r1556 | adk0212 | 2008-05-09 20:04:45 -0400 (Fri, 09 May 2008) | 3 lines 4443 4444'make install' support for SuSE. Plus remove some bitrotted platform 4445files for SuSE 8.x. 4446 4447------------------------------------------------------------------------ 4448r1555 | adk0212 | 2008-05-09 19:39:56 -0400 (Fri, 09 May 2008) | 2 lines 4449 4450'make install' support for sun. 4451 4452------------------------------------------------------------------------ 4453r1554 | adk0212 | 2008-05-08 19:37:16 -0400 (Thu, 08 May 2008) | 2 lines 4454 4455Do not autogenerate platform/*/Makefile any more. 4456 4457------------------------------------------------------------------------ 4458r1553 | adk0212 | 2008-05-08 19:36:45 -0400 (Thu, 08 May 2008) | 2 lines 4459 4460Add install/uninstall banner macros. 4461 4462------------------------------------------------------------------------ 4463r1552 | adk0212 | 2008-05-08 19:36:07 -0400 (Thu, 08 May 2008) | 2 lines 4464 4465Add some path variables needed by platform install scripts. 4466 4467------------------------------------------------------------------------ 4468r1551 | adk0212 | 2008-05-08 19:35:21 -0400 (Thu, 08 May 2008) | 2 lines 4469 4470'make install' support for gentoo, hpux, mandrake, slackware. 4471 4472------------------------------------------------------------------------ 4473r1550 | adk0212 | 2008-05-08 18:57:15 -0400 (Thu, 08 May 2008) | 2 lines 4474 4475'make install' support for *BSD 4476 4477------------------------------------------------------------------------ 4478r1549 | skoona | 2008-05-06 20:16:56 -0400 (Tue, 06 May 2008) | 2 lines 4479 4480Corrected the use of NOMPOWER and the calc of current usage amount 4481 4482------------------------------------------------------------------------ 4483r1548 | adk0212 | 2008-05-04 11:30:42 -0400 (Sun, 04 May 2008) | 3 lines 4484 4485Remove powerflute option from configure. Powerflute has been broken for 4486several releases after the removal of rawupsstats support from NIS 4487 4488------------------------------------------------------------------------ 4489r1547 | adk0212 | 2008-05-04 11:13:57 -0400 (Sun, 04 May 2008) | 4 lines 4490 4491Add a heuristic to fix up incorrect NOMINV or NOMOUTV. Some UPSes (RS 500) 4492report decivolts instead of volts. Reported by Kirill S. Bychkov 4493<yason@linklevel.net>. 4494 4495------------------------------------------------------------------------ 4496r1546 | adk0212 | 2008-05-04 10:43:27 -0400 (Sun, 04 May 2008) | 2 lines 4497 4498Update to NSIS 2.37. 4499 4500------------------------------------------------------------------------ 4501r1545 | adk0212 | 2008-05-04 10:43:12 -0400 (Sun, 04 May 2008) | 3 lines 4502 4503Add win32/Makefile to generate list. Necessary since we're not rewriting 4504the win32 Makefile stuff yet. 4505 4506------------------------------------------------------------------------ 4507r1544 | skoona | 2008-04-20 19:03:10 -0400 (Sun, 20 Apr 2008) | 13 lines 4508 4509 4510- Removed close() fron sknet_net_close() api. g_io_channel_shutdown() 4511 handled the close and shutdown of the socket. second close was 4512 actually closing an active socket from another thread (i.e. reuse #) 4513 discovered on a quad-core platform. 4514 4515- Added ICON_DIR to compiler makefiles to support _load_icons 4516 ability to find icons at run-time. $(datadir) is passed into 4517 ICON_DIR; its assumed datadir include $(DISTDIR). This change 4518 was pointed out by Kirill S. Bychkov in Feb/2008. 4519 4520James, 4521 4522------------------------------------------------------------------------ 4523r1543 | adk0212 | 2008-04-19 10:12:46 -0400 (Sat, 19 Apr 2008) | 2 lines 4524 4525Remove mention of serial port since there are many other comms types now. 4526 4527------------------------------------------------------------------------ 4528r1542 | adk0212 | 2008-04-07 19:03:13 -0400 (Mon, 07 Apr 2008) | 3 lines 4529 4530Add 'make install' support for alpha, darwin, debian, engarde, and unknown. 4531Also misc fixes to existing install support. 4532 4533------------------------------------------------------------------------ 4534r1541 | adk0212 | 2008-04-06 20:24:38 -0400 (Sun, 06 Apr 2008) | 2 lines 4535 4536Don't autogenerate redhat Makefile. 4537 4538------------------------------------------------------------------------ 4539r1540 | adk0212 | 2008-04-06 19:35:52 -0400 (Sun, 06 Apr 2008) | 2 lines 4540 4541Remove unused files: Various Makefile.in, gd1.2/, intl/, po/. 4542 4543------------------------------------------------------------------------ 4544r1539 | adk0212 | 2008-04-06 19:09:02 -0400 (Sun, 06 Apr 2008) | 2 lines 4545 4546Remove unused file. 4547 4548------------------------------------------------------------------------ 4549r1538 | adk0212 | 2008-04-06 19:07:43 -0400 (Sun, 06 Apr 2008) | 3 lines 4550 4551First round of 'make install' implementation. Basic install/uninstall is 4552working. Only platform implemented so far is redhat. 4553 4554------------------------------------------------------------------------ 4555r1537 | adk0212 | 2008-04-04 19:11:15 -0400 (Fri, 04 Apr 2008) | 2 lines 4556 4557Fix clean output on Solaris. 4558 4559------------------------------------------------------------------------ 4560r1536 | adk0212 | 2008-04-04 19:01:03 -0400 (Fri, 04 Apr 2008) | 5 lines 4561 4562Fix gapcmon build on OpenSolaris. On OpenSolaris, gethostbyname_r() is in 4563libnsl. Also fix up some tests in configure to use AC_SEARCH_LIBS. Thanks 4564to James Dean <jgmdean@gmail.com> for loaning me an ssh login on his 4565OpenSolaris box. 4566 4567------------------------------------------------------------------------ 4568r1535 | adk0212 | 2008-04-02 18:55:31 -0400 (Wed, 02 Apr 2008) | 7 lines 4569 4570Add new make system 4571- configure and build works (including dependencies and parallel make) 4572- 'make install' not yet implemented 4573- i18n support removed 4574- included libgd support removed 4575- obsolete Makefile.in files will remain until 'make install' is complete 4576 4577------------------------------------------------------------------------ 4578r1533 | adk0212 | 2008-02-06 17:53:36 -0500 (Wed, 06 Feb 2008) | 4 lines 4579 4580Fix hal policy file syntax. For some reason this blatantly incorrect file 4581actually works on RHEL5 (hal-0.5.8). Thanks to Andrew Telford 4582<a.telford@ieee.org> for correcting it. 4583 4584------------------------------------------------------------------------ 4585r1532 | adk0212 | 2008-02-03 16:37:01 -0500 (Sun, 03 Feb 2008) | 2 lines 4586 4587Revert ctime_r() change. It is not actually necessary. 4588 4589------------------------------------------------------------------------ 4590r1531 | adk0212 | 2008-02-03 15:48:14 -0500 (Sun, 03 Feb 2008) | 2 lines 4591 4592Fix gapcmon compile error on Solaris: Multiple variants of ctime_r(). 4593 4594------------------------------------------------------------------------ 4595r1530 | adk0212 | 2008-02-03 15:32:25 -0500 (Sun, 03 Feb 2008) | 2 lines 4596 4597Fix libapcnis.c compile error on Solaris. 4598 4599------------------------------------------------------------------------ 4600r1529 | fleetworks | 2008-02-03 12:22:31 -0500 (Sun, 03 Feb 2008) | 2 lines 4601 4602Add debug package to strip suse. 4603 4604------------------------------------------------------------------------ 4605r1528 | adk0212 | 2008-01-29 19:01:20 -0500 (Tue, 29 Jan 2008) | 2 lines 4606 4607Fix build on OpenBSD: Need to include netinet/in.h for struct sockaddr_in. 4608 4609------------------------------------------------------------------------ 4610r1527 | adk0212 | 2008-01-28 21:14:57 -0500 (Mon, 28 Jan 2008) | 3 lines 4611 4612Add fake (not thread-safe) gethostbyname_r() for platforms that don't have 4613it. I'm looking at you, OpenBSD. 4614 4615------------------------------------------------------------------------ 4616r1526 | adk0212 | 2008-01-27 12:00:32 -0500 (Sun, 27 Jan 2008) | 3 lines 4617 4618Add POLLTIME directive to control UPS polling interval. NETTIME is accepted 4619as a synonym for compatibility with old config files. 4620 4621------------------------------------------------------------------------ 4622r1525 | adk0212 | 2008-01-27 11:22:58 -0500 (Sun, 27 Jan 2008) | 4 lines 4623 4624Sanify net error handling. All net library functions now return -errno on 4625failure. Kill off global net_errno and net_errmsg. Improve apcaccess error 4626messages. 4627 4628------------------------------------------------------------------------ 4629r1523 | adk0212 | 2008-01-27 09:56:56 -0500 (Sun, 27 Jan 2008) | 2 lines 4630 4631Another missing update. 4632 4633------------------------------------------------------------------------ 4634r1522 | adk0212 | 2008-01-27 09:49:42 -0500 (Sun, 27 Jan 2008) | 2 lines 4635 4636Fix compile errors from incomplete input vs feature report conversion. 4637 4638------------------------------------------------------------------------ 4639r1514 | adk0212 | 2008-01-22 20:10:08 -0500 (Tue, 22 Jan 2008) | 3 lines 4640 4641Debian is now using the standard NIS port, 3551. 4642Contributed by imacat <imacat@mail.imacat.idv.tw> 4643 4644------------------------------------------------------------------------ 4645r1513 | adk0212 | 2008-01-20 14:58:56 -0500 (Sun, 20 Jan 2008) | 2 lines 4646 4647Update web site for 3.14.3. 4648 4649------------------------------------------------------------------------ 4650r1511 | adk0212 | 2008-01-19 16:48:36 -0500 (Sat, 19 Jan 2008) | 2 lines 4651 4652Updates for 3.14.3 release. 4653 4654------------------------------------------------------------------------ 4655r1510 | adk0212 | 2008-01-19 13:43:52 -0500 (Sat, 19 Jan 2008) | 2 lines 4656 4657Merge gapcmon changes from HEAD 1.41. 4658 4659------------------------------------------------------------------------ 4660r1509 | adk0212 | 2007-12-02 11:38:02 -0500 (Sun, 02 Dec 2007) | 2 lines 4661 4662Fix compile warning. 4663 4664------------------------------------------------------------------------ 4665r1508 | adk0212 | 2007-11-29 19:49:02 -0500 (Thu, 29 Nov 2007) | 3 lines 4666 4667Update build instructions for XCode3/Leopard. Many thanks to Dennis Wurster 4668<dwurster@gmail.com> for loaning me a Leopard-capable G4 to develop on. 4669 4670------------------------------------------------------------------------ 4671r1507 | adk0212 | 2007-11-21 17:09:30 -0500 (Wed, 21 Nov 2007) | 7 lines 4672 4673Fix bugs that could cause NIS-net driver to get stuck waiting for comms 4674to be restored instead of shutting down. This included adding a timeout 4675for connection attempts in net_open() and removing a wait-for-comms loop 4676from the net driver. Also fix up fallout from apclibnis cleanups in 4677apcaccess. Thanks to Daniel Born <born_daniel@yahoo.com> for reporting 4678the issue and testing fixes. 4679 4680------------------------------------------------------------------------ 4681r1506 | adk0212 | 2007-11-21 17:05:03 -0500 (Wed, 21 Nov 2007) | 7 lines 4682 4683Add configure parameter to control location of HAL policy file. Install 4684policy file to this path. By default, the policy file is only installed on 4685Linux systems. Other platforms need to specify --with-halpolicydir=DIR to 4686configure. Linux systems can use this same switch to change the default 4687install path. 4688(Files missed in last commit.) 4689 4690------------------------------------------------------------------------ 4691r1504 | fleetworks | 2007-11-18 10:25:13 -0500 (Sun, 18 Nov 2007) | 2 lines 4692 4693Add halpolicydir to configure statement. 4694 4695------------------------------------------------------------------------ 4696r1503 | fleetworks | 2007-11-18 10:18:49 -0500 (Sun, 18 Nov 2007) | 2 lines 4697 4698Make installs the hal policy file now. 4699 4700------------------------------------------------------------------------ 4701r1502 | adk0212 | 2007-11-17 14:09:23 -0500 (Sat, 17 Nov 2007) | 6 lines 4702 4703Add configure parameter to control location of HAL policy file. Install 4704policy file to this path. By default, the policy file is only installed on 4705Linux systems. Other platforms need to specify --with-halpolicydir=DIR to 4706configure. Linux systems can use this same switch to change the default 4707install path. 4708 4709------------------------------------------------------------------------ 4710r1501 | adk0212 | 2007-11-17 14:06:38 -0500 (Sat, 17 Nov 2007) | 2 lines 4711 4712Revert HAL policy file change. We'll do this at a higher level instead. 4713 4714------------------------------------------------------------------------ 4715r1500 | fleetworks | 2007-11-17 10:48:06 -0500 (Sat, 17 Nov 2007) | 2 lines 4716 4717Add hal policy file. 4718 4719------------------------------------------------------------------------ 4720r1499 | fleetworks | 2007-11-17 10:46:35 -0500 (Sat, 17 Nov 2007) | 2 lines 4721 4722Add hal policy file. 4723 4724------------------------------------------------------------------------ 4725r1498 | adk0212 | 2007-11-17 10:00:27 -0500 (Sat, 17 Nov 2007) | 2 lines 4726 4727Upgrade to nsis-2.33. 4728 4729------------------------------------------------------------------------ 4730r1497 | adk0212 | 2007-11-17 09:48:25 -0500 (Sat, 17 Nov 2007) | 2 lines 4731 4732Remove extraneous comment close tag. 4733 4734------------------------------------------------------------------------ 4735r1496 | adk0212 | 2007-11-17 09:34:46 -0500 (Sat, 17 Nov 2007) | 3 lines 4736 4737Add policy file to disable hald-addon-hid-ups. Automatically install and 4738uninstall this policy on Redhat systems. 4739 4740------------------------------------------------------------------------ 4741r1495 | adk0212 | 2007-11-13 18:23:15 -0500 (Tue, 13 Nov 2007) | 2 lines 4742 4743Fix debian package URLs. Found by Chris Reeves <chris@astro.ex.ac.uk>. 4744 4745------------------------------------------------------------------------ 4746r1494 | fleetworks | 2007-11-10 08:17:46 -0500 (Sat, 10 Nov 2007) | 2 lines 4747 4748Update for suse 10.3 4749 4750------------------------------------------------------------------------ 4751r1493 | adk0212 | 2007-11-09 18:34:48 -0500 (Fri, 09 Nov 2007) | 2 lines 4752 4753Update to nsis-2.32. 4754 4755------------------------------------------------------------------------ 4756r1492 | adk0212 | 2007-10-30 18:46:49 -0400 (Tue, 30 Oct 2007) | 2 lines 4757 4758Fix changelog links for 3.14.2. 4759 4760------------------------------------------------------------------------ 4761r1491 | adk0212 | 2007-10-27 13:15:14 -0400 (Sat, 27 Oct 2007) | 2 lines 4762 4763Missed part of write report conversion. 4764 4765------------------------------------------------------------------------ 4766r1490 | adk0212 | 2007-10-27 13:14:24 -0400 (Sat, 27 Oct 2007) | 2 lines 4767 4768Add support for reading/writing transfer voltage on USB models. 4769 4770------------------------------------------------------------------------ 4771r1489 | adk0212 | 2007-10-27 13:13:15 -0400 (Sat, 27 Oct 2007) | 5 lines 4772 4773When reading, use INPUT or FEATURE report (prefer INPUT). 4774When writing, use FEATURE report only. 4775This is necessary to properly support writes on UPSes that offer the same 4776usage in both types of reports. 4777 4778------------------------------------------------------------------------ 4779r1481 | adk0212 | 2007-10-06 10:54:23 -0400 (Sat, 06 Oct 2007) | 4 lines 4780 4781Eliminate "warning: deprecated conversion from string constant to 'char*'" 4782warnings emitted from gcc-4.2.1 (earlier versions with -Wwrite-strings). 4783Contributed by Steve Yarmie <tribhuvanji@gmail.com>. 4784 4785------------------------------------------------------------------------ 4786r1475 | adk0212 | 2007-09-30 15:45:37 -0400 (Sun, 30 Sep 2007) | 2 lines 4787 4788Merge gapcmon changes from HEAD. 4789 4790------------------------------------------------------------------------ 4791r1472 | adk0212 | 2007-09-22 13:35:27 -0400 (Sat, 22 Sep 2007) | 2 lines 4792 4793Add units to NOMINV, NOMOUTV, and NOMBATTV stats. 4794 4795------------------------------------------------------------------------ 4796r1471 | adk0212 | 2007-09-22 13:33:29 -0400 (Sat, 22 Sep 2007) | 3 lines 4797 4798Add support for Nominal Power (aka Configured Active Power) reading. 4799Credit to Lars Randers <lars@nstec.dk> for most of the code. 4800 4801------------------------------------------------------------------------ 4802r1470 | adk0212 | 2007-09-22 13:10:16 -0400 (Sat, 22 Sep 2007) | 2 lines 4803 4804Convert eleventy skillion CI_* defines to an enumeration. 4805 4806------------------------------------------------------------------------ 4807r1469 | adk0212 | 2007-09-22 08:48:35 -0400 (Sat, 22 Sep 2007) | 2 lines 4808 4809Update web site for 3.14.2 release. 4810 4811------------------------------------------------------------------------ 4812r1467 | adk0212 | 2007-09-15 17:07:10 -0400 (Sat, 15 Sep 2007) | 2 lines 4813 4814Update ChangeLog, ReleaseNotes, and date for 3.14.2 release. 4815 4816------------------------------------------------------------------------ 4817r1466 | adk0212 | 2007-09-15 10:48:35 -0400 (Sat, 15 Sep 2007) | 2 lines 4818 4819Remove commented-out code. 4820 4821------------------------------------------------------------------------ 4822r1465 | adk0212 | 2007-09-15 10:48:16 -0400 (Sat, 15 Sep 2007) | 2 lines 4823 4824Misc cleanup. 4825 4826------------------------------------------------------------------------ 4827r1464 | adk0212 | 2007-09-15 10:48:00 -0400 (Sat, 15 Sep 2007) | 2 lines 4828 4829Fix handle leaks when adding/deleting instances. 4830 4831------------------------------------------------------------------------ 4832r1463 | adk0212 | 2007-09-10 19:35:00 -0400 (Mon, 10 Sep 2007) | 2 lines 4833 4834Update NSIS to 2.30. 4835 4836------------------------------------------------------------------------ 4837r1462 | adk0212 | 2007-09-10 19:31:16 -0400 (Mon, 10 Sep 2007) | 2 lines 4838 4839Bump version to 3.14.2. 4840 4841------------------------------------------------------------------------ 4842r1461 | adk0212 | 2007-09-10 19:09:49 -0400 (Mon, 10 Sep 2007) | 5 lines 4843 4844Prefer FEATURE reports over INPUT reports when searching for usages. This 4845will fix compatiblity with BackUPS LCD models which have present but non- 4846functional INPUT reports. It may break compatibility with other models, so 4847fingers are crossed. 4848 4849------------------------------------------------------------------------ 4850r1460 | adk0212 | 2007-09-10 19:08:12 -0400 (Mon, 10 Sep 2007) | 2 lines 4851 4852Minor cleanup and spelling fix. 4853 4854------------------------------------------------------------------------ 4855r1459 | adk0212 | 2007-08-28 19:57:51 -0400 (Tue, 28 Aug 2007) | 5 lines 4856 4857Address g++ linker vs. libsupc++ differently: Default linker to gcc if 4858none is specified. This avoids overriding LD= passed to configure since if 4859the user asks for an explicit LD we really should honor it (and it's needed 4860for building universal binaries on OS X). 4861 4862------------------------------------------------------------------------ 4863r1458 | adk0212 | 2007-08-28 19:02:22 -0400 (Tue, 28 Aug 2007) | 3 lines 4864 4865Remove dependency on libc++ (again). Must use gcc as linker when using 4866libsupc++ since g++ automatically links against full libc++. 4867 4868------------------------------------------------------------------------ 4869r1457 | adk0212 | 2007-08-25 15:01:34 -0400 (Sat, 25 Aug 2007) | 5 lines 4870 4871Fix race between attach_ups() and detach_ups() which could result in the 4872UPSINFO structure being freed prematurely. Thanks to James Abbott 4873<j.abbott@imperial.ac.uk> for running many tests to help me find this 4874bug. 4875 4876------------------------------------------------------------------------ 4877r1456 | adk0212 | 2007-08-23 18:43:08 -0400 (Thu, 23 Aug 2007) | 4 lines 4878 4879Correct multimon.conf humidity monitoring. 4880Problem fixed by Patrick Frei. 4881Reference: https://bugzilla.novell.com/show_bug.cgi?id=199834 4882 4883------------------------------------------------------------------------ 4884r1455 | adk0212 | 2007-08-06 20:17:20 -0400 (Mon, 06 Aug 2007) | 2 lines 4885 4886Exit apctray if GetMessage() returns an error. 4887 4888------------------------------------------------------------------------ 4889r1454 | adk0212 | 2007-08-06 20:16:37 -0400 (Mon, 06 Aug 2007) | 2 lines 4890 4891Use enum for application-defined messages. 4892 4893------------------------------------------------------------------------ 4894r1453 | adk0212 | 2007-08-06 20:16:15 -0400 (Mon, 06 Aug 2007) | 2 lines 4895 4896Redraw tray icons politely after an Explorer crash. 4897 4898------------------------------------------------------------------------ 4899r1452 | adk0212 | 2007-08-05 17:31:56 -0400 (Sun, 05 Aug 2007) | 5 lines 4900 4901Fix bug with multi-threaded net_open() calls. net_open() was using a global 4902buffer for the destination address. Yikes! Bug manifestied itself in 4903apctray with multiple monitors occasionally (and timing-dependently) 4904pointing to the wrong UPS. 4905 4906------------------------------------------------------------------------ 4907r1451 | adk0212 | 2007-08-03 15:08:59 -0400 (Fri, 03 Aug 2007) | 2 lines 4908 4909More argvalue to its primary user, apcconfig.c. 4910 4911------------------------------------------------------------------------ 4912r1450 | adk0212 | 2007-08-03 15:08:26 -0400 (Fri, 03 Aug 2007) | 4 lines 4913 4914Remove SO_REUSEADDR; we'd only need this for TCP. Set SO_BROADCAST since 4915some platforms (Windows) seem to require it in order to receive broadcast 4916packets. (Most platforms use it only to enable *sending* broadcasts.) 4917 4918------------------------------------------------------------------------ 4919r1449 | adk0212 | 2007-08-03 14:41:05 -0400 (Fri, 03 Aug 2007) | 2 lines 4920 4921Don't leak unnecessary descriptors to child when execing apccontrol. 4922 4923------------------------------------------------------------------------ 4924r1448 | adk0212 | 2007-08-03 13:52:05 -0400 (Fri, 03 Aug 2007) | 3 lines 4925 4926Documentation updates: Fix up udev info for modern Linux distros. Update 4927Windows section for apctray. 4928 4929------------------------------------------------------------------------ 4930r1447 | adk0212 | 2007-08-03 11:49:24 -0400 (Fri, 03 Aug 2007) | 5 lines 4931 4932Wait 20 seconds before declaring COMMLOST. This is necessary when using 4933a smart serial cable on an UPS with an SNMP monitoring card installed. The 4934SNMP card appears to disrupt serial comms for several seconds when 4935interesting events are in progress. 4936 4937------------------------------------------------------------------------ 4938r1446 | adk0212 | 2007-08-03 11:47:22 -0400 (Fri, 03 Aug 2007) | 2 lines 4939 4940Add command help key since I can never remember what the keycodes are. 4941 4942------------------------------------------------------------------------ 4943r1445 | adk0212 | 2007-08-03 11:20:29 -0400 (Fri, 03 Aug 2007) | 4 lines 4944 4945apccontrol cleanups: powerout and mainsback should not wall; that is done 4946by onbattery/offbattery under the control of ONBATTERYDELAY. Also remove 4947obsolete 'restartme' event from scripts and documentation. 4948 4949------------------------------------------------------------------------ 4950r1444 | adk0212 | 2007-08-03 11:17:38 -0400 (Fri, 03 Aug 2007) | 2 lines 4951 4952Remove lots of obsolete code. 'status' is now the only supported option. 4953 4954------------------------------------------------------------------------ 4955r1443 | adk0212 | 2007-08-01 19:05:51 -0400 (Wed, 01 Aug 2007) | 3 lines 4956 4957Enable SO_REUSEADDR on pcnet socket to prevent false EADDRINUSE after quick 4958restarts. 4959 4960------------------------------------------------------------------------ 4961r1442 | adk0212 | 2007-07-26 16:36:28 -0400 (Thu, 26 Jul 2007) | 2 lines 4962 4963Remove duplicate line. Noticed by David P. Mott <dpmott@sep.com>. 4964 4965------------------------------------------------------------------------ 4966r1441 | adk0212 | 2007-07-20 12:17:34 -0400 (Fri, 20 Jul 2007) | 2 lines 4967 4968Add support for simulating comm failure. 4969 4970------------------------------------------------------------------------ 4971r1440 | adk0212 | 2007-07-17 18:54:25 -0400 (Tue, 17 Jul 2007) | 2 lines 4972 4973Include /dev in hiddev search. 4974 4975------------------------------------------------------------------------ 4976r1439 | adk0212 | 2007-07-17 18:50:25 -0400 (Tue, 17 Jul 2007) | 3 lines 4977 4978Report time delta from start of program when displaying events. 4979Contributed by David Fries <david@fries.net>. 4980 4981------------------------------------------------------------------------ 4982r1438 | adk0212 | 2007-07-16 20:28:09 -0400 (Mon, 16 Jul 2007) | 3 lines 4983 4984Add workaround for broken BackUPS Pro model that returns certain reports 4985encoded in ASCII. Based on a patch from David Fries <David@Fries.net>. 4986 4987------------------------------------------------------------------------ 4988r1437 | adk0212 | 2007-07-14 13:26:26 -0400 (Sat, 14 Jul 2007) | 2 lines 4989 4990Add/remove tray icons on the fly as instances are added or deleted. 4991 4992------------------------------------------------------------------------ 4993r1436 | adk0212 | 2007-07-14 13:05:22 -0400 (Sat, 14 Jul 2007) | 2 lines 4994 4995Add HOST field showing hostname:port to context menu. 4996 4997------------------------------------------------------------------------ 4998r1435 | adk0212 | 2007-07-14 13:04:52 -0400 (Sat, 14 Jul 2007) | 2 lines 4999 5000Update NSIS to version 2.29. 5001 5002------------------------------------------------------------------------ 5003r1434 | adk0212 | 2007-07-14 12:53:31 -0400 (Sat, 14 Jul 2007) | 2 lines 5004 5005Disable autorun when last instance removed. 5006 5007------------------------------------------------------------------------ 5008r1433 | adk0212 | 2007-07-01 14:30:32 -0400 (Sun, 01 Jul 2007) | 4 lines 5009 5010Fix SNMP port selection. Newer versions of Net-SNMP appear to ignore the 5011session remote_port setting. The only way to override the default port is 5012to include it in the peername string. 5013 5014------------------------------------------------------------------------ 5015r1432 | adk0212 | 2007-06-29 18:18:41 -0400 (Fri, 29 Jun 2007) | 4 lines 5016 5017Fix linux-usb device detection bug when multiple hiddev nodes are present. 5018Fixes Fedora Bugzilla #245864: 5019<https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=245864> 5020 5021------------------------------------------------------------------------ 5022r1431 | adk0212 | 2007-06-19 20:43:23 -0400 (Tue, 19 Jun 2007) | 2 lines 5023 5024Update for 3.14.2-win32beta2 release. 5025 5026------------------------------------------------------------------------ 5027r1429 | adk0212 | 2007-06-18 20:23:41 -0400 (Mon, 18 Jun 2007) | 2 lines 5028 5029Regen ChangeLog after committing forgotten files. 5030 5031------------------------------------------------------------------------ 5032r1428 | adk0212 | 2007-06-18 19:49:45 -0400 (Mon, 18 Jun 2007) | 2 lines 5033 5034Change CMD* definitions to enumeration. 5035 5036------------------------------------------------------------------------ 5037r1427 | adk0212 | 2007-06-18 19:49:20 -0400 (Mon, 18 Jun 2007) | 2 lines 5038 5039Remove unused CMDDOREBOOT. 5040 5041------------------------------------------------------------------------ 5042r1426 | adk0212 | 2007-06-18 19:47:13 -0400 (Mon, 18 Jun 2007) | 2 lines 5043 5044Remove unused code. 5045 5046------------------------------------------------------------------------ 5047r1425 | adk0212 | 2007-06-18 19:45:52 -0400 (Mon, 18 Jun 2007) | 2 lines 5048 5049Regen ChangeLog for 3.14.2-win32beta2. 5050 5051------------------------------------------------------------------------ 5052r1424 | adk0212 | 2007-06-18 19:38:34 -0400 (Mon, 18 Jun 2007) | 2 lines 5053 5054Update for 3.14.2-win32beta2 release. 5055 5056------------------------------------------------------------------------ 5057r1423 | adk0212 | 2007-06-17 20:19:24 -0400 (Sun, 17 Jun 2007) | 2 lines 5058 5059Change StatMgr::Get() to return a managed string. 5060 5061------------------------------------------------------------------------ 5062r1422 | adk0212 | 2007-06-17 20:14:20 -0400 (Sun, 17 Jun 2007) | 2 lines 5063 5064Clean up apctray needless inlining and memory management. 5065 5066------------------------------------------------------------------------ 5067r1421 | adk0212 | 2007-06-17 19:49:45 -0400 (Sun, 17 Jun 2007) | 2 lines 5068 5069Cleanup. 5070 5071------------------------------------------------------------------------ 5072r1420 | adk0212 | 2007-06-17 19:47:08 -0400 (Sun, 17 Jun 2007) | 2 lines 5073 5074Gracefully handle unexpected return values from WaitForMultipleObjects(). 5075 5076------------------------------------------------------------------------ 5077r1419 | adk0212 | 2007-06-17 16:07:23 -0400 (Sun, 17 Jun 2007) | 5 lines 5078 5079Remove balloon notice support from popup utility. Furthermore, only display 5080popup if we're on an ancient OS, apctray is not running, or balloon tips 5081are disabled via a group policy. This way win98 and NT users will still 5082get notifications of events, as will users not running apctray. 5083 5084------------------------------------------------------------------------ 5085r1418 | adk0212 | 2007-06-17 15:54:06 -0400 (Sun, 17 Jun 2007) | 4 lines 5086 5087Misc improvements: Detect self-test and set status string accordingly. 5088Include UPS name in tool tip, when we know it. Change status string for 5089NIS connection errors to distinguish that state from COMMLOST. 5090 5091------------------------------------------------------------------------ 5092r1417 | adk0212 | 2007-06-17 15:19:56 -0400 (Sun, 17 Jun 2007) | 2 lines 5093 5094Windows NT doesn't like the "Global\\" prefix on semaphore names. 5095 5096------------------------------------------------------------------------ 5097r1416 | adk0212 | 2007-06-17 13:19:54 -0400 (Sun, 17 Jun 2007) | 2 lines 5098 5099Fix bug where COMMLOST status transition was not reflected by icon. 5100 5101------------------------------------------------------------------------ 5102r1415 | adk0212 | 2007-06-17 13:15:08 -0400 (Sun, 17 Jun 2007) | 2 lines 5103 5104Suppress initial status balloon. 5105 5106------------------------------------------------------------------------ 5107r1414 | adk0212 | 2007-06-17 13:12:33 -0400 (Sun, 17 Jun 2007) | 2 lines 5108 5109Misc cleanup. 5110 5111------------------------------------------------------------------------ 5112r1413 | adk0212 | 2007-06-17 12:14:39 -0400 (Sun, 17 Jun 2007) | 10 lines 5113 5114Completely rewrite balloon tip handling. Balloon tips are posted 5115automatically when the status text changes. This eliminates the need for 5116the clunky "Receive local notifications" setting and allows us to post 5117balloons for state changes on remote Apcupsd instances. Introduce the 5118BalloonMgr to work around Windows one-balloon-at-a-time limitation. When 5119monitoring multiple Apcupsd instances it will be common to need to post 5120multiple balloon tips at once. The BalloonMgr handles posting the tips 5121one at a time and timing the active balloon out early if new ones are 5122waiting. This way all balloons will be shown, one after another. 5123 5124------------------------------------------------------------------------ 5125r1412 | adk0212 | 2007-06-17 09:42:54 -0400 (Sun, 17 Jun 2007) | 2 lines 5126 5127Add support for simulating battery attach/detach. 5128 5129------------------------------------------------------------------------ 5130r1411 | adk0212 | 2007-06-17 08:54:10 -0400 (Sun, 17 Jun 2007) | 2 lines 5131 5132Fix indentation. 5133 5134------------------------------------------------------------------------ 5135r1410 | adk0212 | 2007-06-13 20:07:45 -0400 (Wed, 13 Jun 2007) | 2 lines 5136 5137Reverse order of events in listbox so most recent is always at the top. 5138 5139------------------------------------------------------------------------ 5140r1409 | adk0212 | 2007-06-13 18:35:57 -0400 (Wed, 13 Jun 2007) | 3 lines 5141 5142Use NotifyUser when notifying about multiple instances so it obeys the 5143/quiet flag. 5144 5145------------------------------------------------------------------------ 5146r1408 | adk0212 | 2007-06-13 18:34:08 -0400 (Wed, 13 Jun 2007) | 2 lines 5147 5148Prevent multiple instances of Apctray. 5149 5150------------------------------------------------------------------------ 5151r1407 | adk0212 | 2007-06-13 18:29:08 -0400 (Wed, 13 Jun 2007) | 2 lines 5152 5153Use some STL to simplify GetAll() and GetEvents() calls. 5154 5155------------------------------------------------------------------------ 5156r1406 | adk0212 | 2007-06-10 16:05:56 -0400 (Sun, 10 Jun 2007) | 2 lines 5157 5158Fix indentation. 5159 5160------------------------------------------------------------------------ 5161r1405 | adk0212 | 2007-06-10 16:05:43 -0400 (Sun, 10 Jun 2007) | 2 lines 5162 5163Add refresh button to events box. 5164 5165------------------------------------------------------------------------ 5166r1404 | adk0212 | 2007-06-10 16:04:55 -0400 (Sun, 10 Jun 2007) | 2 lines 5167 5168Add refresh button list stats now has. 5169 5170------------------------------------------------------------------------ 5171r1403 | adk0212 | 2007-06-10 14:03:31 -0400 (Sun, 10 Jun 2007) | 2 lines 5172 5173Update web site for 3.14.2-beta1 release. 5174 5175------------------------------------------------------------------------ 5176r1401 | adk0212 | 2007-06-10 10:13:19 -0400 (Sun, 10 Jun 2007) | 2 lines 5177 5178Final updates for apcupsd-3.14.2-win32beta1 release. 5179 5180------------------------------------------------------------------------ 5181r1400 | adk0212 | 2007-06-10 09:34:26 -0400 (Sun, 10 Jun 2007) | 2 lines 5182 5183Misc updates and small bug fixes. 5184 5185------------------------------------------------------------------------ 5186r1399 | adk0212 | 2007-06-10 09:33:18 -0400 (Sun, 10 Jun 2007) | 3 lines 5187 5188Updates for multi-instance apctray. Remove apctray parameter customization 5189option for now. 5190 5191------------------------------------------------------------------------ 5192r1398 | adk0212 | 2007-06-09 21:34:12 -0400 (Sat, 09 Jun 2007) | 3 lines 5193 5194More multiple instance improvements. Also add refresh button to detailed 5195status dialog. 5196 5197------------------------------------------------------------------------ 5198r1397 | adk0212 | 2007-06-09 20:02:35 -0400 (Sat, 09 Jun 2007) | 2 lines 5199 5200More changes for better multiple monitor support. 5201 5202------------------------------------------------------------------------ 5203r1396 | adk0212 | 2007-06-09 15:47:08 -0400 (Sat, 09 Jun 2007) | 4 lines 5204 5205Major rework to support monitoring multiple apcupsds with a single apctray 5206instantiation. Includes basic management of monitoring instances. More 5207fancy stuff to come. 5208 5209------------------------------------------------------------------------ 5210r1395 | adk0212 | 2007-06-07 19:43:08 -0400 (Thu, 07 Jun 2007) | 3 lines 5211 5212Updates for running multiple apctray instances simultaneously and properly 5213shutting them down. 5214 5215------------------------------------------------------------------------ 5216r1394 | adk0212 | 2007-06-06 22:11:31 -0400 (Wed, 06 Jun 2007) | 2 lines 5217 5218Fix timeout bug. 5219 5220------------------------------------------------------------------------ 5221r1393 | adk0212 | 2007-06-06 22:06:47 -0400 (Wed, 06 Jun 2007) | 2 lines 5222 5223Shutdown status polling thread cleanly. 5224 5225------------------------------------------------------------------------ 5226r1392 | adk0212 | 2007-06-06 22:05:36 -0400 (Wed, 06 Jun 2007) | 3 lines 5227 5228Grab lock during destruction to prevent further operations. 5229Also add copyright blocks. 5230 5231------------------------------------------------------------------------ 5232r1391 | adk0212 | 2007-06-06 21:26:12 -0400 (Wed, 06 Jun 2007) | 3 lines 5233 5234Reuse sockets in StatMgr. This prevents build-up of large numbers of 5235sockets in the TIME_WAIT state. Also implement proper locking. 5236 5237------------------------------------------------------------------------ 5238r1390 | adk0212 | 2007-06-06 19:53:11 -0400 (Wed, 06 Jun 2007) | 2 lines 5239 5240Kill FillEventsBox function and associated grunge that is no longer used. 5241 5242------------------------------------------------------------------------ 5243r1389 | adk0212 | 2007-06-06 19:49:32 -0400 (Wed, 06 Jun 2007) | 2 lines 5244 5245Remove unused file. 5246 5247------------------------------------------------------------------------ 5248r1388 | adk0212 | 2007-06-06 19:48:05 -0400 (Wed, 06 Jun 2007) | 2 lines 5249 5250Remove unused files. 5251 5252------------------------------------------------------------------------ 5253r1387 | adk0212 | 2007-06-06 19:44:03 -0400 (Wed, 06 Jun 2007) | 2 lines 5254 5255Build object files in obj/ to reduce source dir clutter. 5256 5257------------------------------------------------------------------------ 5258r1386 | adk0212 | 2007-06-06 18:53:44 -0400 (Wed, 06 Jun 2007) | 3 lines 5259 5260Move installer files to installer/ directory. There are enough of them now 5261that we should stop cluttering the main win32 source dir. 5262 5263------------------------------------------------------------------------ 5264r1385 | adk0212 | 2007-06-06 18:29:10 -0400 (Wed, 06 Jun 2007) | 2 lines 5265 5266Add back in the finish page with ReleaseNotes and apcupsd.org link. 5267 5268------------------------------------------------------------------------ 5269r1384 | adk0212 | 2007-06-06 18:28:46 -0400 (Wed, 06 Jun 2007) | 2 lines 5270 5271Increase sleep time to 2 seconds. 1 second was borderline. 5272 5273------------------------------------------------------------------------ 5274r1383 | adk0212 | 2007-06-05 20:42:45 -0400 (Tue, 05 Jun 2007) | 3 lines 5275 5276More start/stop rework. Add new common.nsh file to be shared between 5277normal and uninstall context. 5278 5279------------------------------------------------------------------------ 5280r1382 | adk0212 | 2007-06-05 20:41:41 -0400 (Tue, 05 Jun 2007) | 3 lines 5281 5282Fix refresh again. Pretty soon I am going to run out of ways to screw this 5283up. 5284 5285------------------------------------------------------------------------ 5286r1381 | adk0212 | 2007-06-05 18:43:24 -0400 (Tue, 05 Jun 2007) | 3 lines 5287 5288Many more installer updates. Move static text to page .ini files. Add code 5289to handle polite start/stop of apcupsd and apctray. 5290 5291------------------------------------------------------------------------ 5292r1380 | adk0212 | 2007-06-05 18:39:37 -0400 (Tue, 05 Jun 2007) | 4 lines 5293 5294Maintain a registry flag to indicate if apcupsd is installed as a service. 5295This used to be done by the installer, but would get out of sync if the 5296user ran 'apcupsd /install' by hand. 5297 5298------------------------------------------------------------------------ 5299r1379 | adk0212 | 2007-06-05 18:34:29 -0400 (Tue, 05 Jun 2007) | 4 lines 5300 5301Maintain a registry flag to indicate if apcupsd is installed as a service. 5302This used to be done by the installer, but would get out of sync if the 5303user ran 'apcupsd /install' by hand. 5304 5305------------------------------------------------------------------------ 5306r1378 | adk0212 | 2007-06-05 18:33:06 -0400 (Tue, 05 Jun 2007) | 4 lines 5307 5308When installing, only add command line parameters if they were supplied by 5309the user. Do not add them when using default settings. Also fix bug where 5310default refresh was 1000 seconds (should be 1 second). 5311 5312------------------------------------------------------------------------ 5313r1377 | adk0212 | 2007-06-03 22:38:26 -0400 (Sun, 03 Jun 2007) | 2 lines 5314 5315Add custom page for installing Apctray and configuring its parameters. 5316 5317------------------------------------------------------------------------ 5318r1376 | adk0212 | 2007-06-03 13:05:20 -0400 (Sun, 03 Jun 2007) | 3 lines 5319 5320Add custom page for installing apcupsd as a service and optionally 5321starting it instead of using popup dialogs during file install. 5322 5323------------------------------------------------------------------------ 5324r1375 | adk0212 | 2007-06-03 13:04:28 -0400 (Sun, 03 Jun 2007) | 2 lines 5325 5326Add definition for edit apcupsd.conf custom page. 5327 5328------------------------------------------------------------------------ 5329r1374 | adk0212 | 2007-06-03 12:38:26 -0400 (Sun, 03 Jun 2007) | 2 lines 5330 5331Suppress service-already-exists errors when in quiet mode. 5332 5333------------------------------------------------------------------------ 5334r1373 | adk0212 | 2007-06-03 12:31:53 -0400 (Sun, 03 Jun 2007) | 3 lines 5335 5336Move GetArg() to common library and use it from winmain and apctray. 5337Add /quiet switch to winmain to suppress /install and /remove dialogs. 5338 5339------------------------------------------------------------------------ 5340r1372 | adk0212 | 2007-06-03 11:35:21 -0400 (Sun, 03 Jun 2007) | 3 lines 5341 5342Add custom installer page for editing apcupsd.conf instead of using a 5343popup during file installation. 5344 5345------------------------------------------------------------------------ 5346r1371 | adk0212 | 2007-06-02 23:48:54 -0400 (Sat, 02 Jun 2007) | 2 lines 5347 5348Update NSIS to 2.27 for better x64 compatibility. 5349 5350------------------------------------------------------------------------ 5351r1370 | adk0212 | 2007-06-02 23:48:23 -0400 (Sat, 02 Jun 2007) | 3 lines 5352 5353Updates for apctray. Create -Startup and -Finish hidden sections for 5354common operations. 5355 5356------------------------------------------------------------------------ 5357r1369 | adk0212 | 2007-06-02 23:45:27 -0400 (Sat, 02 Jun 2007) | 2 lines 5358 5359Tweak spacing in GetAll() to match apcaccess format for longer keys. 5360 5361------------------------------------------------------------------------ 5362r1368 | adk0212 | 2007-06-02 23:24:15 -0400 (Sat, 02 Jun 2007) | 2 lines 5363 5364Add /kill command line option for shutting down apctray instance. 5365 5366------------------------------------------------------------------------ 5367r1367 | adk0212 | 2007-06-02 19:07:11 -0400 (Sat, 02 Jun 2007) | 2 lines 5368 5369Update window name used by popup.exe so it finds apctray now. 5370 5371------------------------------------------------------------------------ 5372r1366 | adk0212 | 2007-06-02 18:57:02 -0400 (Sat, 02 Jun 2007) | 5 lines 5373 5374Rework sprintf_realloc_append() to account for the fact that on Win98 5375vsnprintf() returns -1 if the string will not fit rather than the number 5376of characters required. Argh. Also remove unnecessary UpdateTrayIcon() 5377calls from wintray.c. 5378 5379------------------------------------------------------------------------ 5380r1365 | adk0212 | 2007-06-02 18:22:48 -0400 (Sat, 02 Jun 2007) | 3 lines 5381 5382Add menu option to remove apctray from registry. All well-behaved tray 5383applets should have this! 5384 5385------------------------------------------------------------------------ 5386r1364 | adk0212 | 2007-06-02 18:04:10 -0400 (Sat, 02 Jun 2007) | 3 lines 5387 5388Add command line options to install and remove apctray from autorun list 5389in the registry. 5390 5391------------------------------------------------------------------------ 5392r1363 | adk0212 | 2007-06-02 17:34:04 -0400 (Sat, 02 Jun 2007) | 2 lines 5393 5394Add support for setting host, port, and refresh interval via command line. 5395 5396------------------------------------------------------------------------ 5397r1362 | adk0212 | 2007-06-02 16:28:46 -0400 (Sat, 02 Jun 2007) | 2 lines 5398 5399Update about box. 5400 5401------------------------------------------------------------------------ 5402r1361 | adk0212 | 2007-06-02 15:22:41 -0400 (Sat, 02 Jun 2007) | 4 lines 5403 5404Move status polling to a thread instead of a timer so we don't block the 5405message loop while updating status. This fixes the annoying pauses in GUI 5406response. More misc cleanups and small bug fixes. 5407 5408------------------------------------------------------------------------ 5409r1360 | adk0212 | 2007-06-02 13:46:29 -0400 (Sat, 02 Jun 2007) | 2 lines 5410 5411Misc fixes. apctray is working now. 5412 5413------------------------------------------------------------------------ 5414r1359 | adk0212 | 2007-06-02 13:23:00 -0400 (Sat, 02 Jun 2007) | 4 lines 5415 5416More refactoring. Add StatMgr class to handle fetching stats from the UPS 5417using NIS. Kill global variables and move global stats and events code to 5418their proper classes. 5419 5420------------------------------------------------------------------------ 5421r1358 | adk0212 | 2007-06-02 11:12:44 -0400 (Sat, 02 Jun 2007) | 2 lines 5422 5423Move modified tray menu code back to wintray.cpp. Misc cleanups to wintray. 5424 5425------------------------------------------------------------------------ 5426r1357 | adk0212 | 2007-06-01 20:12:56 -0400 (Fri, 01 Jun 2007) | 2 lines 5427 5428Cleanup of winabout, winevents, and winstat. Everthing compiles again. 5429 5430------------------------------------------------------------------------ 5431r1356 | adk0212 | 2007-05-31 20:11:52 -0400 (Thu, 31 May 2007) | 7 lines 5432 5433First step of major win32 service and tray icon code refactor/rewrite. 5434This is part of the changes necessary for tray icon support on Vista. 5435Clean up winservice and winmain. Eliminate lots of unused code. 5436Simplify code where possible. Remove tray icon code from apcupsd itself. 5437Add apctray.cpp for standalone tray icon module designed to gather status 5438via NIS. 5439 5440------------------------------------------------------------------------ 5441r1355 | adk0212 | 2007-05-31 20:11:26 -0400 (Thu, 31 May 2007) | 2 lines 5442 5443Remove OpenGL and DirectX libraries, as they are not needed for Apcupsd. 5444 5445------------------------------------------------------------------------ 5446r1353 | fleetworks | 2007-05-28 07:03:11 -0400 (Mon, 28 May 2007) | 2 lines 5447 5448RHEL5 update. 5449 5450------------------------------------------------------------------------ 5451r1352 | adk0212 | 2007-05-27 13:20:34 -0400 (Sun, 27 May 2007) | 2 lines 5452 5453Add rhel5 to contrib-rpm. 5454 5455------------------------------------------------------------------------ 5456r1351 | adk0212 | 2007-05-27 13:17:02 -0400 (Sun, 27 May 2007) | 2 lines 5457 5458Fix changelog copy-n-paste error. 5459 5460------------------------------------------------------------------------ 5461r1350 | adk0212 | 2007-05-27 13:15:59 -0400 (Sun, 27 May 2007) | 2 lines 5462 5463Add rhel5 support in spec. 5464 5465------------------------------------------------------------------------ 5466r1349 | adk0212 | 2007-05-26 15:07:12 -0400 (Sat, 26 May 2007) | 2 lines 5467 5468Update website for 3.14.1 release. 5469 5470------------------------------------------------------------------------ 5471r1347 | adk0212 | 2007-05-04 19:18:47 -0400 (Fri, 04 May 2007) | 2 lines 5472 5473Update ChangeLog. 5474 5475------------------------------------------------------------------------ 5476r1346 | adk0212 | 2007-05-04 19:17:00 -0400 (Fri, 04 May 2007) | 2 lines 5477 5478Maybe this time... 5479 5480------------------------------------------------------------------------ 5481r1345 | adk0212 | 2007-05-03 18:31:47 -0400 (Thu, 03 May 2007) | 5 lines 5482 5483Do not attempt to cancel shutdowns. Once a shutdown has been started there 5484is no way to cleanly stop it and recover. Plus deleting the powerfail file 5485causes killpower to be skipped, leaving the server shutdown and not 5486restarted. Reported by Yvon Lafaille <yvon.lafaille@yahoo.fr>. 5487 5488------------------------------------------------------------------------ 5489r1344 | adk0212 | 2007-05-01 20:26:52 -0400 (Tue, 01 May 2007) | 10 lines 5490 5491Rewrite device opening logic. The new logic works as follows: 5492 - If user specifies a DEVICE, we will open that device and that device 5493 only. There is no fallback to autodetect. This is generaly what users 5494 expect when they explicitly give DEVICE. 5495 - If no DEVICE is specified, we autodetect as before. Furthermore, if 5496 we lose the connection to the device, we prefer to re-open the same 5497 device again, but will restart autodetection if that fails. 5498 - If DEVICE is specified using the deprecated '[]' syntax, just do 5499 normal autodetection as if DEVICE had not been specified at all. 5500 5501------------------------------------------------------------------------ 5502r1343 | adk0212 | 2007-04-30 22:14:13 -0400 (Mon, 30 Apr 2007) | 2 lines 5503 5504Disable a few CIs that SNMP cards do not support. 5505 5506------------------------------------------------------------------------ 5507r1342 | adk0212 | 2007-04-30 21:37:55 -0400 (Mon, 30 Apr 2007) | 3 lines 5508 5509Increase self-test timeout to 40 seconds to accomodate the RS 800. 5510Contributed by Lars Randers <lars@nstec.dk>. 5511 5512------------------------------------------------------------------------ 5513r1341 | adk0212 | 2007-04-27 19:30:31 -0400 (Fri, 27 Apr 2007) | 5 lines 5514 5515Fix apctest crash. When in the EEPROM programming section of apctest, if 5516you try to print EEPROM values (item 1) more than once during the same 5517session, the program segfaults. 5518Contributed by Ivaylo Haratcherev <I.J.Haratcherev@tudelft.nl>. 5519 5520------------------------------------------------------------------------ 5521r1340 | adk0212 | 2007-04-27 19:25:40 -0400 (Fri, 27 Apr 2007) | 2 lines 5522 5523Normalize shut remote message. 5524 5525------------------------------------------------------------------------ 5526r1339 | adk0212 | 2007-04-27 19:24:26 -0400 (Fri, 27 Apr 2007) | 4 lines 5527 5528Add support for PCNET remote shutdown (SD) signal. Contributed by Ivaylo 5529Haratcherev <I.J.Haratcherev@tudelft.nl> and Moshe Hyzon 5530<moshe.hyzon@grantstreet.com>. 5531 5532------------------------------------------------------------------------ 5533r1338 | adk0212 | 2007-04-23 19:47:58 -0400 (Mon, 23 Apr 2007) | 2 lines 5534 5535Rev ChangeLog. 5536 5537------------------------------------------------------------------------ 5538r1337 | adk0212 | 2007-04-23 19:45:24 -0400 (Mon, 23 Apr 2007) | 2 lines 5539 5540Did I say "final"? 5541 5542------------------------------------------------------------------------ 5543r1336 | adk0212 | 2007-04-23 19:37:52 -0400 (Mon, 23 Apr 2007) | 3 lines 5544 5545Fix typo in error message. 5546Reported by Ashley M. Kirchner <ashley@pcraft.com> 5547 5548------------------------------------------------------------------------ 5549r1335 | adk0212 | 2007-04-23 19:35:33 -0400 (Mon, 23 Apr 2007) | 7 lines 5550 5551Update to match Fedora Extras packaging: 5552 - Add "force-reload" aliased to "restart" 5553 - "reload" outputs a not implemented error 5554 - "status" uses the status() function to return the proper LSB status 5555 code and runs apcaccess only if the daemon is running. 5556Contributed by Orion Poplawski <orion@cora.nwra.com>. 5557 5558------------------------------------------------------------------------ 5559r1334 | adk0212 | 2007-04-21 20:37:23 -0400 (Sat, 21 Apr 2007) | 2 lines 5560 5561Update ChangeLog for 3.14.1 (again). 5562 5563------------------------------------------------------------------------ 5564r1333 | adk0212 | 2007-04-21 20:35:15 -0400 (Sat, 21 Apr 2007) | 2 lines 5565 5566Final updates for 3.14.1. 5567 5568------------------------------------------------------------------------ 5569r1332 | adk0212 | 2007-04-21 20:24:56 -0400 (Sat, 21 Apr 2007) | 2 lines 5570 5571Clarify FreeBSD versions in USB kernel section. 5572 5573------------------------------------------------------------------------ 5574r1331 | adk0212 | 2007-04-21 19:59:46 -0400 (Sat, 21 Apr 2007) | 3 lines 5575 5576Add USB info for NetBSD 4.x (ugen binding can be forced on a particular 5577port). Contributed by Curt Sampson <cjs@starling-software.com>. 5578 5579------------------------------------------------------------------------ 5580r1330 | adk0212 | 2007-04-21 19:27:47 -0400 (Sat, 21 Apr 2007) | 3 lines 5581 5582Fix link error with --disable-apcsmart (getline missing). 5583Reported by Ashley M. Kirchner <ashley@pcraft.com> 5584 5585------------------------------------------------------------------------ 5586r1329 | adk0212 | 2007-04-18 19:33:19 -0400 (Wed, 18 Apr 2007) | 2 lines 5587 5588Updated changelog for 3.14.1. 5589 5590------------------------------------------------------------------------ 5591r1328 | adk0212 | 2007-04-18 19:30:48 -0400 (Wed, 18 Apr 2007) | 2 lines 5592 5593Prep for 3.14.1 release. 5594 5595------------------------------------------------------------------------ 5596r1327 | adk0212 | 2007-03-25 15:38:39 -0400 (Sun, 25 Mar 2007) | 4 lines 5597 5598Prevent infinite hang in read_nbytes() when server disappears. 5599Many thanks to Jan Ceuleers <jan.ceuleers@computer.org> for reporting the 5600hanging and gathering data to track down the cause. 5601 5602------------------------------------------------------------------------ 5603r1326 | adk0212 | 2007-03-25 15:34:02 -0400 (Sun, 25 Mar 2007) | 2 lines 5604 5605Remove references to int8_t and int16_t. 5606 5607------------------------------------------------------------------------ 5608r1325 | adk0212 | 2007-03-05 22:41:46 -0500 (Mon, 05 Mar 2007) | 2 lines 5609 5610Kill stdint.h include since OpenBSD does not appear to have it. 5611 5612------------------------------------------------------------------------ 5613r1324 | adk0212 | 2007-03-03 16:40:44 -0500 (Sat, 03 Mar 2007) | 2 lines 5614 5615Hey, genius... Archive foo.bar.in, not foo.bar. 5616 5617------------------------------------------------------------------------ 5618r1323 | adk0212 | 2007-03-03 16:28:03 -0500 (Sat, 03 Mar 2007) | 2 lines 5619 5620Regen with Mac OS X installer changes. 5621 5622------------------------------------------------------------------------ 5623r1322 | adk0212 | 2007-03-03 16:23:42 -0500 (Sat, 03 Mar 2007) | 2 lines 5624 5625Add binary installer support for Mac OS X. 5626 5627------------------------------------------------------------------------ 5628r1321 | adk0212 | 2007-02-17 12:02:00 -0500 (Sat, 17 Feb 2007) | 3 lines 5629 5630Add missing newline at end of file. 5631Discovered by Sergey Y. Afonin <asy@kraft-s.ru>. 5632 5633------------------------------------------------------------------------ 5634r1320 | adk0212 | 2007-02-17 12:00:50 -0500 (Sat, 17 Feb 2007) | 3 lines 5635 5636Fix typo: "%sbindir\%popup" -> "%sbindir%\popup" 5637Discovered by Stefan.Hegnauer@elektrobit.com. 5638 5639------------------------------------------------------------------------ 5640r1319 | adk0212 | 2007-02-13 19:02:55 -0500 (Tue, 13 Feb 2007) | 3 lines 5641 5642Detect when balloon tips have been disabled via a group policy and fall 5643back on the standard popup message box. 5644 5645------------------------------------------------------------------------ 5646r1318 | (no author) | 2007-02-11 10:33:33 -0500 (Sun, 11 Feb 2007) | 1 line 5647 5648This commit was manufactured by cvs2svn to create branch 'Branch-3_14'. 5649------------------------------------------------------------------------ 5650