[r2379]: tags / Release-3_14_12 / ChangeLog  Maximize  Restore  History

Download this file

4303 lines (2800 with data), 181.4 kB

/***************************************************************************/
/*                     ChangeLog of Apcupsd 3.14.x                         */
/*                                                                         */
/*               Adam Kropelin <akropel1 at rochester dot rr dot com>      */
/*               Kern Sibbald <kern at sibbald dot com>                    */
/*                                                                         */
/*               http://www.apcupsd.com/                                   */
/*               http://sourceforge.net/projects/apcupsd                   */
/***************************************************************************/

------------------------------------------------------------------------
r2123 | adk0212 | 2014-03-28 23:36:33 -0400 (Fri, 28 Mar 2014) | 2 lines

Remove reference to CHARGING as possible STATUS output

------------------------------------------------------------------------
r2122 | adk0212 | 2014-03-28 22:51:54 -0400 (Fri, 28 Mar 2014) | 3 lines

Remove value normalization from apcaccess and eliminate -u dependency on -p (again)
apcupsd will no longer zero-pad values so normalization is unnecessary

------------------------------------------------------------------------
r2121 | adk0212 | 2014-03-28 22:51:02 -0400 (Fri, 28 Mar 2014) | 3 lines

Remove field width specifiers to eliminate space- and zero-padding
This makes parsing status output easier for scripts at a very small cost to human readability

------------------------------------------------------------------------
r2120 | adk0212 | 2014-03-28 22:31:45 -0400 (Fri, 28 Mar 2014) | 3 lines

Workaround for UPS firmware bug causing killpower to execute repeatedly in a loop
Thanks to Neil Robinson <neil@nezil.com> for very clearly documenting the issue and running many, many tests to help track down a solution.

------------------------------------------------------------------------
r2119 | adk0212 | 2014-03-28 17:08:28 -0400 (Fri, 28 Mar 2014) | 3 lines

Make apcaccess -u dependent on -p again but with a runtime check to fail if user violates this dependency.
Man page update for the same.

------------------------------------------------------------------------
r2118 | adk0212 | 2014-03-28 16:14:29 -0400 (Fri, 28 Mar 2014) | 3 lines

Update apcaccess man page
From Timothe Litt <litt@acm.org>

------------------------------------------------------------------------
r2117 | adk0212 | 2014-03-28 16:02:05 -0400 (Fri, 28 Mar 2014) | 2 lines

Improve usage info, fix comment

------------------------------------------------------------------------
r2116 | adk0212 | 2014-03-28 15:17:14 -0400 (Fri, 28 Mar 2014) | 2 lines

Use strtok() as strtok_r() on MinGW

------------------------------------------------------------------------
r2115 | adk0212 | 2014-03-28 14:41:26 -0400 (Fri, 28 Mar 2014) | 3 lines

Move leading zero suppression to -p handler instead of -u
Also allow solitary 0 to pass unaffected

------------------------------------------------------------------------
r2114 | adk0212 | 2014-03-28 14:10:59 -0400 (Fri, 28 Mar 2014) | 3 lines

Add support for stripping units off of values
From Timothe Litt <litt@acm.org>, modified a little

------------------------------------------------------------------------
r2113 | adk0212 | 2014-03-28 13:42:07 -0400 (Fri, 28 Mar 2014) | 2 lines

Fix apcupsd.conf NISIP overriding command line -h in apcaccess

------------------------------------------------------------------------
r2112 | adk0212 | 2014-03-28 13:08:29 -0400 (Fri, 28 Mar 2014) | 3 lines

Command line should override config file settings
From Timothe Litt <litt@acm.org>

------------------------------------------------------------------------
r2111 | adk0212 | 2014-03-28 13:04:20 -0400 (Fri, 28 Mar 2014) | 4 lines

Status output "units" cleanup
Eliminate unnecessary text after values where that text is redundant with the field name
Regularize names of units to use same capitalization

------------------------------------------------------------------------
r2110 | adk0212 | 2014-03-27 22:36:41 -0400 (Thu, 27 Mar 2014) | 4 lines

Add support for pattern matching and apcupsd.conf parsing in apcaccess
Also some code cleanup. 
Idea and most of the code courtesty of Timothe Litt <litt@acm.org>

------------------------------------------------------------------------
r2109 | adk0212 | 2014-03-26 19:01:57 -0400 (Wed, 26 Mar 2014) | 2 lines

Firmware rev usages are string indices

------------------------------------------------------------------------
r2108 | adk0212 | 2014-03-24 23:03:25 -0400 (Mon, 24 Mar 2014) | 2 lines

Add usb_release_interface stub now that generic USB driver needs it

------------------------------------------------------------------------
r2107 | adk0212 | 2014-03-24 23:03:00 -0400 (Mon, 24 Mar 2014) | 2 lines

One last astrncpy conversion

------------------------------------------------------------------------
r2106 | adk0212 | 2014-03-24 22:55:41 -0400 (Mon, 24 Mar 2014) | 3 lines

Global replace of atrncat with strlcat
All uses of astrncat were incorrect (passing full buffer size instead of remaining size as limit)

------------------------------------------------------------------------
r2105 | adk0212 | 2014-03-24 22:52:10 -0400 (Mon, 24 Mar 2014) | 3 lines

Global replace of astrcpy with strlcpy
Same behavor (aside from return value) but strlcpy is standardized

------------------------------------------------------------------------
r2104 | adk0212 | 2014-03-24 22:47:47 -0400 (Mon, 24 Mar 2014) | 4 lines

Fix misuse of astrncat in apcstatus by replacing with strlcat
strlcpy/strlcat implemented internally if libc does not provide
Thanks to Timothe Litt <litt@acm.org> for pointing out this long-standing error

------------------------------------------------------------------------
r2103 | adk0212 | 2014-03-22 13:06:22 -0400 (Sat, 22 Mar 2014) | 2 lines

Update udev info in manual with tips from Timothe Litt <litt@acm.org>

------------------------------------------------------------------------
r2102 | adk0212 | 2014-03-22 12:55:26 -0400 (Sat, 22 Mar 2014) | 3 lines

Add UPS name to subject line of event emails and allow one-stop override of SYSADMIN and APCUPSD_MAIL via config file in SCRIPTDIR
Contributed by Timothe Litt <litt@acm.org>

------------------------------------------------------------------------
r2101 | adk0212 | 2014-03-22 12:47:53 -0400 (Sat, 22 Mar 2014) | 4 lines

Fix compiler warning
Implicit narrowing within {} is not allowed in C++11
h/t Timothe Litt <litt@acm.org>

------------------------------------------------------------------------
r2100 | adk0212 | 2014-03-22 12:34:18 -0400 (Sat, 22 Mar 2014) | 3 lines

Remove references to --with-css-dir configure option
This option hasn't existed since 2004

------------------------------------------------------------------------
r2099 | adk0212 | 2014-03-22 12:27:55 -0400 (Sat, 22 Mar 2014) | 3 lines

Fix display of battery level during MODBUS calibration
(h/t Timothe Litt <litt@acm.org> for pointing out the compiler warning that indicated an issue here.)

------------------------------------------------------------------------
r2098 | adk0212 | 2014-03-08 10:57:56 -0500 (Sat, 08 Mar 2014) | 2 lines

Update some URLs (h/t  Ted Mittelstaedt <tedm@mittelstaedt.us>)

------------------------------------------------------------------------
r2097 | adk0212 | 2014-02-26 10:08:09 -0500 (Wed, 26 Feb 2014) | 2 lines

Fix driver program_eeprom() and entry_point() function naming

------------------------------------------------------------------------
r2096 | adk0212 | 2014-02-18 14:36:51 -0500 (Tue, 18 Feb 2014) | 2 lines

Close and re-open serial port during extended COMMLOST in apcsmart driver

------------------------------------------------------------------------
r2095 | adk0212 | 2014-02-17 23:13:43 -0500 (Mon, 17 Feb 2014) | 2 lines

Make COMMLOST_EVENT_GRACE_PERIOD of type time_t to quiet signed/unsigned comparison warnings

------------------------------------------------------------------------
r2094 | adk0212 | 2014-02-16 11:42:59 -0500 (Sun, 16 Feb 2014) | 2 lines

Fix compilation with 10.4 SDK -- NSTableViewDataSource was not a formal protocol until 10.6

------------------------------------------------------------------------
r2093 | adk0212 | 2014-02-16 11:29:26 -0500 (Sun, 16 Feb 2014) | 2 lines

Fix indentation and comment on lastStatus

------------------------------------------------------------------------
r2092 | adk0212 | 2014-02-16 11:28:52 -0500 (Sun, 16 Feb 2014) | 3 lines

Indicate that StatusTableDataSource and EventsTableDataSource adhere to the NSTableViewDataSource protocol
This eliminates compiler warning about incompatible pointers when data source is passed to NSTableView

------------------------------------------------------------------------
r2091 | adk0212 | 2014-02-16 11:08:26 -0500 (Sun, 16 Feb 2014) | 4 lines

Remove definition of bool/true/false for non-C++ environments
Causes warnings in Objective C code since OBJC has bool
Regular C should not be using bool and friends in the first place

------------------------------------------------------------------------
r2090 | adk0212 | 2014-02-15 21:03:01 -0500 (Sat, 15 Feb 2014) | 2 lines

Replace deprecated stringWithCString with stringWithUTF8String

------------------------------------------------------------------------
r2089 | adk0212 | 2014-02-15 19:05:50 -0500 (Sat, 15 Feb 2014) | 3 lines

Remove 'eprominfo' command
Same information is available via 'status' along with a lot more

------------------------------------------------------------------------
r2088 | adk0212 | 2014-02-15 19:04:43 -0500 (Sat, 15 Feb 2014) | 4 lines

Remove 'rawupsinfo' command
This was useful many, many years ago when UPSINFO was a shmem structure
Not so much any more.

------------------------------------------------------------------------
r2087 | adk0212 | 2014-02-15 19:02:20 -0500 (Sat, 15 Feb 2014) | 3 lines

Remove techlogs
- Interesting historical artifacts, but not something we need to keep shipping in every tarball

------------------------------------------------------------------------
r2086 | adk0212 | 2014-02-12 22:46:38 -0500 (Wed, 12 Feb 2014) | 2 lines

Fix use of bool as integer in net driver

------------------------------------------------------------------------
r2085 | adk0212 | 2014-02-12 22:28:00 -0500 (Wed, 12 Feb 2014) | 2 lines

int to bool cleanup in USB drivers

------------------------------------------------------------------------
r2084 | adk0212 | 2014-02-12 11:18:56 -0500 (Wed, 12 Feb 2014) | 2 lines

Add section on NIS network protocol to the manual

------------------------------------------------------------------------
r2083 | adk0212 | 2014-02-10 21:40:00 -0500 (Mon, 10 Feb 2014) | 2 lines

Remove unused MGE VID

------------------------------------------------------------------------
r2082 | adk0212 | 2014-02-10 21:39:42 -0500 (Mon, 10 Feb 2014) | 2 lines

Avoid probing non-APC devices as they may not like it

------------------------------------------------------------------------
r2081 | adk0212 | 2014-02-10 21:25:47 -0500 (Mon, 10 Feb 2014) | 2 lines

Release interface in generic usb driver when probe fails

------------------------------------------------------------------------
r2080 | adk0212 | 2014-02-09 19:25:31 -0500 (Sun, 09 Feb 2014) | 3 lines

Fix spelling of 'exhausted' in apccontrol
Contributed by Paul Keusemann <pkeusem@visi.com>

------------------------------------------------------------------------
r2079 | adk0212 | 2014-02-09 13:00:52 -0500 (Sun, 09 Feb 2014) | 6 lines

Fix issue with service failing to start on Windows during boot with USB UPS
- UPS is not found on USB bus until a little while after service starts up
- Make USB driver Open method return failure instead of exiting the daemon
- Treat Open failure as COMMLOST when starting up
- Normal COMMLOST event is suppressed for 60 seconds to avoid needless log spam when UPS becomes available in short order

------------------------------------------------------------------------
r2078 | adk0212 | 2014-02-09 12:49:06 -0500 (Sun, 09 Feb 2014) | 2 lines

Regen html manual with updated docutils

------------------------------------------------------------------------
r2077 | adk0212 | 2014-02-05 21:35:20 -0500 (Wed, 05 Feb 2014) | 2 lines

Update the link to David Ranch's TrinityOS page

------------------------------------------------------------------------
r2076 | adk0212 | 2014-02-05 12:50:19 -0500 (Wed, 05 Feb 2014) | 2 lines

Fix bogus lock file error when config file error forces early termination

------------------------------------------------------------------------
r2075 | adk0212 | 2014-02-04 22:22:42 -0500 (Tue, 04 Feb 2014) | 2 lines

Fix spelling error in APC app note comment and clarify origin of app notes

------------------------------------------------------------------------
r2074 | adk0212 | 2014-02-04 22:16:42 -0500 (Tue, 04 Feb 2014) | 2 lines

Update MODBUS NOMOUTV mapping for voltages other than 120VAC

------------------------------------------------------------------------
r2073 | adk0212 | 2014-02-04 09:51:54 -0500 (Tue, 04 Feb 2014) | 4 lines

Fix LOADPCT (CI_LOAD) on MODBUS driver
- Missing break on CI_LowBattery case caused us to fall through and overwrite CI_LOAD
- Reported by Sash Ulrich <babyporch@gmail.com>

------------------------------------------------------------------------
r2072 | adk0212 | 2014-02-03 18:30:10 -0500 (Mon, 03 Feb 2014) | 2 lines

Support rst2html in addition to rst2html.py

------------------------------------------------------------------------
r2071 | adk0212 | 2014-02-03 18:28:18 -0500 (Mon, 03 Feb 2014) | 2 lines

Remove net-snmp from enable-all

------------------------------------------------------------------------
r2070 | adk0212 | 2014-02-01 12:53:59 -0500 (Sat, 01 Feb 2014) | 2 lines

Test commit 2

------------------------------------------------------------------------
r2069 | adk0212 | 2014-02-01 12:22:12 -0500 (Sat, 01 Feb 2014) | 2 lines

Test commit

------------------------------------------------------------------------
r2068 | adk0212 | 2014-02-01 12:17:55 -0500 (Sat, 01 Feb 2014) | 3 lines

Fix issue with net driver not reporting MODEL value
Reported by Chris Dallimore <panda@pigstrough.co.uk>

------------------------------------------------------------------------
r2067 | adk0212 | 2014-01-31 20:59:13 -0500 (Fri, 31 Jan 2014) | 2 lines

Fix 3.14.11 info that got clobbered in last update

------------------------------------------------------------------------
r2066 | adk0212 | 2014-01-31 20:25:15 -0500 (Fri, 31 Jan 2014) | 2 lines

Update web site with SVN link

------------------------------------------------------------------------
r2065 | adk0212 | 2014-01-31 11:52:13 -0500 (Fri, 31 Jan 2014) | 2 lines

Update web site with 3.14.11 release info

------------------------------------------------------------------------
r2063 | adk0212 | 2014-01-31 10:45:36 -0500 (Fri, 31 Jan 2014) | 2 lines

Update ChangeLog (again)

------------------------------------------------------------------------
r2062 | adk0212 | 2014-01-31 10:44:48 -0500 (Fri, 31 Jan 2014) | 2 lines

Bump release date

------------------------------------------------------------------------
r2061 | adk0212 | 2014-01-31 10:43:24 -0500 (Fri, 31 Jan 2014) | 2 lines

Update ReleaseNotes for 3.14.11

------------------------------------------------------------------------
r2060 | adk0212 | 2014-01-31 10:33:38 -0500 (Fri, 31 Jan 2014) | 2 lines

Minor update to win32 USB driver installation notes

------------------------------------------------------------------------
r2059 | adk0212 | 2014-01-29 17:58:16 -0500 (Wed, 29 Jan 2014) | 2 lines

Final prep for 3.14.11

------------------------------------------------------------------------
r2058 | adk0212 | 2014-01-29 17:56:36 -0500 (Wed, 29 Jan 2014) | 2 lines

Add apcupsd.cat signature file to USB driver installation

------------------------------------------------------------------------
r2057 | adk0212 | 2014-01-29 17:54:21 -0500 (Wed, 29 Jan 2014) | 2 lines

Commit signed winusb driver courtesy of Jernej Simoncic <jernej's-sflist@eternallybored.org>

------------------------------------------------------------------------
r2056 | adk0212 | 2013-11-20 19:14:12 -0500 (Wed, 20 Nov 2013) | 2 lines

Update ChangeLog for 3.14.11

------------------------------------------------------------------------
r2055 | adk0212 | 2013-11-20 19:13:31 -0500 (Wed, 20 Nov 2013) | 2 lines

Update version info for 3.14.11 release

------------------------------------------------------------------------
r2054 | adk0212 | 2013-11-20 19:12:21 -0500 (Wed, 20 Nov 2013) | 2 lines

Add modbus info to DEVICE section

------------------------------------------------------------------------
r2053 | adk0212 | 2013-11-20 19:08:50 -0500 (Wed, 20 Nov 2013) | 2 lines

Add modbus information to the manual

------------------------------------------------------------------------
r2052 | adk0212 | 2013-11-20 18:28:13 -0500 (Wed, 20 Nov 2013) | 2 lines

Update cached copy of AN176, add AN177, AN178

------------------------------------------------------------------------
r2051 | adk0212 | 2013-11-20 18:21:31 -0500 (Wed, 20 Nov 2013) | 2 lines

Add pointers to relevant APC app notes in modbus driver source files.

------------------------------------------------------------------------
r2050 | adk0212 | 2013-08-19 21:23:12 -0400 (Mon, 19 Aug 2013) | 4 lines

Implement the modbus killpower test in apctest. Comment out the other
modbus tests that are not implemented (due to lack of MODBUS mappings in
the UPS for the relevant controls)

------------------------------------------------------------------------
r2049 | adk0212 | 2013-08-19 21:18:58 -0400 (Mon, 19 Aug 2013) | 3 lines

Add current rev of App Note 176 (June 2013) describing the MODBUS
implementation on APC UPSes

------------------------------------------------------------------------
r2048 | adk0212 | 2013-08-05 10:05:17 -0400 (Mon, 05 Aug 2013) | 2 lines

Initial rev of MODBUS support

------------------------------------------------------------------------
r2047 | adk0212 | 2013-04-18 21:12:46 -0400 (Thu, 18 Apr 2013) | 2 lines

Build fixes for gcc-4.2.4

------------------------------------------------------------------------
r2046 | adk0212 | 2013-04-18 21:12:11 -0400 (Thu, 18 Apr 2013) | 7 lines

Upgrade cross-tools to more recent versions
gcc-4.2.4 (latest version which is easily built on RHEL5 due to gmp and mpfr dependencies)
binutils-2.23.1 (latest)
mingw-3.20 (latest, aside from 3.20-2 which is buggy)
w32api-3.17-2 (latest)
nsis-2.46 (latest, unchanged)

------------------------------------------------------------------------
r2045 | adk0212 | 2013-02-18 19:25:43 -0500 (Mon, 18 Feb 2013) | 2 lines

Add lock file creation to apctest main()

------------------------------------------------------------------------
r2044 | adk0212 | 2013-02-18 19:24:38 -0500 (Mon, 18 Feb 2013) | 2 lines

Fix copy-paste error in main()

------------------------------------------------------------------------
r2043 | adk0212 | 2013-02-18 19:22:08 -0500 (Mon, 18 Feb 2013) | 4 lines

Remove redundant creation of lock file from setup_device(). Lock file was
already being created in main(). Change error message in main() to match
the one we are removing because it is more informative.

------------------------------------------------------------------------
r2042 | adk0212 | 2013-02-18 19:18:17 -0500 (Mon, 18 Feb 2013) | 3 lines

Get rid of UPS setup flag. This was a holdover from back when the UPSINFO
structure was held in sysv shmem.

------------------------------------------------------------------------
r2041 | adk0212 | 2013-02-11 10:21:51 -0500 (Mon, 11 Feb 2013) | 2 lines

Use variadic macros for Dmsg since we pretty much require gcc at this point

------------------------------------------------------------------------
r2040 | adk0212 | 2012-08-19 22:29:28 -0400 (Sun, 19 Aug 2012) | 3 lines

If SNMP trap catching cannot be enabled, log a warning and fall back to
polling instead of crashing.

------------------------------------------------------------------------
r2039 | adk0212 | 2012-08-19 22:07:12 -0400 (Sun, 19 Aug 2012) | 2 lines

Revert notch/spike LASTXFER change; UPS reporting is too ambiguous.

------------------------------------------------------------------------
r2038 | adk0212 | 2012-08-17 15:53:45 -0400 (Fri, 17 Aug 2012) | 2 lines

Add info about disabling INF signature enforcement in Windows 8

------------------------------------------------------------------------
r2037 | adk0212 | 2012-08-10 13:40:01 -0400 (Fri, 10 Aug 2012) | 2 lines

Recategorize notch/spike related LASTXFER values appropriately.

------------------------------------------------------------------------
r2036 | adk0212 | 2012-06-18 21:47:08 -0400 (Mon, 18 Jun 2012) | 2 lines

Make MIB (vendor) name search case insensitive in snmplite driver

------------------------------------------------------------------------
r2035 | adk0212 | 2012-03-30 23:48:58 -0400 (Fri, 30 Mar 2012) | 2 lines

Rename known_info -> _known_info

------------------------------------------------------------------------
r2034 | adk0212 | 2012-03-30 23:40:59 -0400 (Fri, 30 Mar 2012) | 2 lines

Convert BSD USB driver to UpsDriver derivative

------------------------------------------------------------------------
r2033 | adk0212 | 2012-03-30 19:47:08 -0400 (Fri, 30 Mar 2012) | 2 lines

Convert drivers to C++ classes derived from UpsDriver

------------------------------------------------------------------------
r2032 | adk0212 | 2012-03-26 20:48:22 -0400 (Mon, 26 Mar 2012) | 2 lines

Break out of getline() if read() returns an error

------------------------------------------------------------------------
r2031 | adk0212 | 2012-03-06 12:04:27 -0500 (Tue, 06 Mar 2012) | 2 lines

Fix PCNET runtime remaining on Smart-UPS X and RT models.

------------------------------------------------------------------------
r2030 | adk0212 | 2012-03-04 22:40:40 -0500 (Sun, 04 Mar 2012) | 2 lines

Add missing debug for REG2

------------------------------------------------------------------------
r2029 | adk0212 | 2012-01-26 21:23:44 -0500 (Thu, 26 Jan 2012) | 4 lines

Apply some Mandrake patches, thanks to David Walser <luigiwalser@yahoo.com>
- http://svn.mandriva.com/svn/packages/cooker/apcupsd/current/SOURCES/apcupsd-3.10.16-staleusb.patch
- http://svn.mandriva.com/svn/packages/cooker/apcupsd/current/SOURCES/apcupsd-3.14.4-mdv_conf.diff

------------------------------------------------------------------------
r2028 | adk0212 | 2011-12-09 10:23:33 -0500 (Fri, 09 Dec 2011) | 2 lines

Fix missing DATATIME report info for SNMPLITE_UPS

------------------------------------------------------------------------
r2027 | adk0212 | 2011-12-09 10:20:08 -0500 (Fri, 09 Dec 2011) | 3 lines

Fix missing DATATIME report info for PCNET UPSes. Contributed by
Dan Swartzendruber <dswartz@druber.com>.

------------------------------------------------------------------------
r2026 | adk0212 | 2011-11-21 22:05:26 -0500 (Mon, 21 Nov 2011) | 2 lines

Fix quoting around AC_LANG_PROGRAM to eliminate warning with autoconf-2.68

------------------------------------------------------------------------
r2025 | adk0212 | 2011-11-21 22:03:53 -0500 (Mon, 21 Nov 2011) | 4 lines

Fix failure to compile when libsupc++ is not available. Need to link using
g++ when not linking libsupc++. If linking with libsupc++ use gcc to avoid
gettting libstdc++ linked by default. Fixes build on stock Mandriva 2011.

------------------------------------------------------------------------
r2024 | adk0212 | 2011-11-21 21:23:39 -0500 (Mon, 21 Nov 2011) | 2 lines

Remove set-but-unused variables pointed out by g++-4.6.1

------------------------------------------------------------------------
r2023 | adk0212 | 2011-11-21 13:23:53 -0500 (Mon, 21 Nov 2011) | 3 lines

Fix smartups configuration example. "UPSTYPE smartups" should be
"UPSTYPE apcsmart". Reported by Moray Henderson <moray.henderson@om.org>

------------------------------------------------------------------------
r2022 | adk0212 | 2011-11-10 08:06:36 -0500 (Thu, 10 Nov 2011) | 5 lines

Fix ability to detect SNMP GET failures by adding a 'valid' flag to data
variables. Flag is defaulted to false when a GET is performed and set to
true when valid data is assigned to the variable. This allows the caller
to know if any of the OIDs did not fetch successfully.

------------------------------------------------------------------------
r2021 | adk0212 | 2011-11-09 22:58:51 -0500 (Wed, 09 Nov 2011) | 3 lines

Tighten restriction to screen out bad CI_NOMBATTV. Add check for invalid
CI_BADBATTS.

------------------------------------------------------------------------
r2020 | adk0212 | 2011-11-09 15:12:01 -0500 (Wed, 09 Nov 2011) | 3 lines

Fix handling of UPS calibration by adding a dedicated state for when UPS
is performing calibration.

------------------------------------------------------------------------
r2019 | adk0212 | 2011-11-09 15:10:49 -0500 (Wed, 09 Nov 2011) | 3 lines

Fix self test detection in snmplite driver by implementing
snmplite_ups_entry_point() and adding support for DEVICE_CMD_CHECK_SELFTEST

------------------------------------------------------------------------
r2018 | adk0212 | 2011-11-09 15:08:55 -0500 (Wed, 09 Nov 2011) | 2 lines

Add missing debug print for C_WHY_BATT

------------------------------------------------------------------------
r2017 | adk0212 | 2011-11-07 22:02:51 -0500 (Mon, 07 Nov 2011) | 4 lines

Fix crash when snmplite_ups_open() fails due to SnmpEngine::Open() failure.
We need to exit directly rather than returning failure code since caller
stupidly ignores the return code and will blindly continue on.

------------------------------------------------------------------------
r2016 | adk0212 | 2011-11-07 21:58:59 -0500 (Mon, 07 Nov 2011) | 2 lines

Fix socket leaks on SnmpEngine::Open() failure paths

------------------------------------------------------------------------
r2015 | adk0212 | 2011-11-07 21:57:48 -0500 (Mon, 07 Nov 2011) | 2 lines

Remove NLS textdomain call since NLS has been removed long ago.

------------------------------------------------------------------------
r2014 | adk0212 | 2011-11-07 21:36:20 -0500 (Mon, 07 Nov 2011) | 4 lines

Strip unprintable characters from UPS model string. Pointed out by Peter
Henn <peter_henn@gmx.de> in the PCNET driver. Fix applied globally since
this issue could affect any driver.

------------------------------------------------------------------------
r2013 | adk0212 | 2011-11-07 21:23:19 -0500 (Mon, 07 Nov 2011) | 3 lines

Fix compatibility with mdoc(7) on OpenBSDD. From Ingo Schwarze
<schwarze@openbsd.org> via Kirill Bychkov <yason@linklevel.net>.

------------------------------------------------------------------------
r2012 | adk0212 | 2011-10-14 23:41:07 -0400 (Fri, 14 Oct 2011) | 2 lines

Add VID/PID for HP T1500 G3 UPS which is a rebadged APC unit

------------------------------------------------------------------------
r2011 | adk0212 | 2011-10-12 09:00:15 -0400 (Wed, 12 Oct 2011) | 6 lines

Remove vendor check from BSD and Generic USB drivers. HP OEMed some UPSes
from APC so they are compatible with apcupsd in spite of carrying an HP
vendor id. We might as well try to talk to anything a user connects. We
will still fail if the required UPS application collection is not found
and that is a better indicator of potential compatiblity.

------------------------------------------------------------------------
r2010 | fleetworks | 2011-10-02 09:51:45 -0400 (Sun, 02 Oct 2011) | 2 lines

Release 3.14.10

------------------------------------------------------------------------
r2009 | adk0212 | 2011-09-27 23:33:21 -0400 (Tue, 27 Sep 2011) | 3 lines

Fix compile issue with newer net-snmp on CentOS 6. 'MIB' is apparently a
macro now, so need to avoid using it.

------------------------------------------------------------------------
r2008 | adk0212 | 2011-09-26 08:56:08 -0400 (Mon, 26 Sep 2011) | 5 lines

Filter out SNMP query results that have zero-length sequences. This
prevents a crash in the event that the SNMP request times out, as it
appears to do very occasionally on certain hardware. Thanks to Lars Tauber
<taeuber@bbaw.de> for reporting the issue and testing the fix.

------------------------------------------------------------------------
r2007 | adk0212 | 2011-09-22 18:22:41 -0400 (Thu, 22 Sep 2011) | 2 lines

Add list of UPSes to avoid

------------------------------------------------------------------------
r2006 | adk0212 | 2011-09-15 22:16:14 -0400 (Thu, 15 Sep 2011) | 2 lines

Fix MODEL reporting

------------------------------------------------------------------------
r2005 | adk0212 | 2011-09-13 22:57:16 -0400 (Tue, 13 Sep 2011) | 2 lines

Update home page for 3.14.10 release

------------------------------------------------------------------------
r2003 | adk0212 | 2011-09-13 22:34:31 -0400 (Tue, 13 Sep 2011) | 2 lines

Prep for 3.14.10 release

------------------------------------------------------------------------
r2002 | adk0212 | 2011-09-02 15:17:13 -0400 (Fri, 02 Sep 2011) | 5 lines

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

------------------------------------------------------------------------
r2001 | adk0212 | 2011-09-02 11:44:41 -0400 (Fri, 02 Sep 2011) | 2 lines

Report proper error numbers, not just -1.

------------------------------------------------------------------------
r2000 | adk0212 | 2011-09-02 11:44:14 -0400 (Fri, 02 Sep 2011) | 7 lines

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

------------------------------------------------------------------------
r1999 | adk0212 | 2011-08-12 19:01:38 -0400 (Fri, 12 Aug 2011) | 6 lines

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

------------------------------------------------------------------------
r1998 | adk0212 | 2011-08-05 16:31:40 -0400 (Fri, 05 Aug 2011) | 3 lines

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

------------------------------------------------------------------------
r1997 | adk0212 | 2011-08-05 16:30:37 -0400 (Fri, 05 Aug 2011) | 3 lines

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

------------------------------------------------------------------------
r1996 | adk0212 | 2011-08-05 16:29:21 -0400 (Fri, 05 Aug 2011) | 2 lines

Add missing function prototype

------------------------------------------------------------------------
r1995 | adk0212 | 2011-08-05 16:15:29 -0400 (Fri, 05 Aug 2011) | 2 lines

Regen manual for 3.14.9 release

------------------------------------------------------------------------
r1994 | adk0212 | 2011-08-05 16:14:29 -0400 (Fri, 05 Aug 2011) | 6 lines

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

------------------------------------------------------------------------
r1993 | adk0212 | 2011-08-04 19:19:32 -0400 (Thu, 04 Aug 2011) | 2 lines

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

------------------------------------------------------------------------
r1992 | adk0212 | 2011-08-04 19:17:38 -0400 (Thu, 04 Aug 2011) | 3 lines

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

------------------------------------------------------------------------
r1991 | adk0212 | 2011-07-22 23:41:40 -0400 (Fri, 22 Jul 2011) | 2 lines

Update web site for 3.14.9 release

------------------------------------------------------------------------
r1989 | adk0212 | 2011-07-22 12:27:54 -0400 (Fri, 22 Jul 2011) | 2 lines

Prep for 3.14.9 release

------------------------------------------------------------------------
r1988 | adk0212 | 2011-05-19 18:55:25 -0400 (Thu, 19 May 2011) | 2 lines

Add support for changing PCNET port in apcupsd.conf

------------------------------------------------------------------------
r1987 | adk0212 | 2011-05-15 19:07:31 -0400 (Sun, 15 May 2011) | 2 lines

Add PIDs for AP9620 LCC

------------------------------------------------------------------------
r1986 | adk0212 | 2011-05-15 19:04:29 -0400 (Sun, 15 May 2011) | 2 lines

Fix community probing, misc cleanup

------------------------------------------------------------------------
r1985 | adk0212 | 2011-01-06 10:24:43 -0500 (Thu, 06 Jan 2011) | 2 lines

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

------------------------------------------------------------------------
r1984 | adk0212 | 2010-09-17 08:44:51 -0400 (Fri, 17 Sep 2010) | 6 lines

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

------------------------------------------------------------------------
r1983 | adk0212 | 2010-09-10 10:50:12 -0400 (Fri, 10 Sep 2010) | 7 lines

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

------------------------------------------------------------------------
r1982 | adk0212 | 2010-09-10 08:32:19 -0400 (Fri, 10 Sep 2010) | 2 lines

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

------------------------------------------------------------------------
r1981 | adk0212 | 2010-09-10 08:30:53 -0400 (Fri, 10 Sep 2010) | 3 lines

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

------------------------------------------------------------------------
r1980 | adk0212 | 2010-09-09 09:40:51 -0400 (Thu, 09 Sep 2010) | 3 lines

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

------------------------------------------------------------------------
r1979 | adk0212 | 2010-09-09 09:17:13 -0400 (Thu, 09 Sep 2010) | 3 lines

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

------------------------------------------------------------------------
r1978 | adk0212 | 2010-09-09 09:12:49 -0400 (Thu, 09 Sep 2010) | 2 lines

Remove remaining NLS artifacts

------------------------------------------------------------------------
r1977 | adk0212 | 2010-09-08 19:25:07 -0400 (Wed, 08 Sep 2010) | 4 lines

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

------------------------------------------------------------------------
r1976 | adk0212 | 2010-09-08 19:23:34 -0400 (Wed, 08 Sep 2010) | 2 lines

Minor update to K command

------------------------------------------------------------------------
r1975 | adk0212 | 2010-09-08 15:06:21 -0400 (Wed, 08 Sep 2010) | 3 lines

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

------------------------------------------------------------------------
r1974 | adk0212 | 2010-09-08 14:44:30 -0400 (Wed, 08 Sep 2010) | 2 lines

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

------------------------------------------------------------------------
r1973 | adk0212 | 2010-09-07 11:35:13 -0400 (Tue, 07 Sep 2010) | 3 lines

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

------------------------------------------------------------------------
r1972 | adk0212 | 2010-09-03 16:36:08 -0400 (Fri, 03 Sep 2010) | 2 lines

Fix misformatted path due to missing back-tick

------------------------------------------------------------------------
r1971 | adk0212 | 2010-09-03 16:33:59 -0400 (Fri, 03 Sep 2010) | 2 lines

Update manual for Ed Dondlinger's Windows email scripts

------------------------------------------------------------------------
r1970 | adk0212 | 2010-09-03 16:18:58 -0400 (Fri, 03 Sep 2010) | 2 lines

More updates for new winusb driver

------------------------------------------------------------------------
r1969 | adk0212 | 2010-09-03 16:13:41 -0400 (Fri, 03 Sep 2010) | 3 lines

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

------------------------------------------------------------------------
r1968 | adk0212 | 2010-09-03 14:41:46 -0400 (Fri, 03 Sep 2010) | 2 lines

Fix snmplite build on win32 by adding missing mge-mib

------------------------------------------------------------------------
r1967 | adk0212 | 2010-09-03 14:40:59 -0400 (Fri, 03 Sep 2010) | 3 lines

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

------------------------------------------------------------------------
r1966 | adk0212 | 2010-09-02 15:31:39 -0400 (Thu, 02 Sep 2010) | 2 lines

Reorder cases so they are in numerical order

------------------------------------------------------------------------
r1965 | adk0212 | 2010-09-02 15:29:34 -0400 (Thu, 02 Sep 2010) | 2 lines

Add missing break

------------------------------------------------------------------------
r1964 | adk0212 | 2010-09-02 15:26:35 -0400 (Thu, 02 Sep 2010) | 2 lines

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

------------------------------------------------------------------------
r1963 | adk0212 | 2010-09-02 15:05:41 -0400 (Thu, 02 Sep 2010) | 2 lines

Missed a couple with table workaround

------------------------------------------------------------------------
r1962 | adk0212 | 2010-09-02 14:51:53 -0400 (Thu, 02 Sep 2010) | 3 lines

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

------------------------------------------------------------------------
r1961 | adk0212 | 2010-09-02 10:23:39 -0400 (Thu, 02 Sep 2010) | 3 lines

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

------------------------------------------------------------------------
r1960 | adk0212 | 2010-09-02 10:22:26 -0400 (Thu, 02 Sep 2010) | 2 lines

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

------------------------------------------------------------------------
r1959 | adk0212 | 2010-09-02 09:26:12 -0400 (Thu, 02 Sep 2010) | 2 lines

Update SNMP section

------------------------------------------------------------------------
r1958 | adk0212 | 2010-09-02 08:27:35 -0400 (Thu, 02 Sep 2010) | 2 lines

Add community probing

------------------------------------------------------------------------
r1957 | adk0212 | 2010-09-01 13:14:04 -0400 (Wed, 01 Sep 2010) | 3 lines

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

------------------------------------------------------------------------
r1956 | adk0212 | 2010-09-01 08:41:27 -0400 (Wed, 01 Sep 2010) | 4 lines

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

------------------------------------------------------------------------
r1955 | adk0212 | 2010-08-31 19:17:33 -0400 (Tue, 31 Aug 2010) | 3 lines

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

------------------------------------------------------------------------
r1954 | adk0212 | 2010-08-31 14:57:44 -0400 (Tue, 31 Aug 2010) | 3 lines

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

------------------------------------------------------------------------
r1953 | adk0212 | 2010-08-31 14:06:44 -0400 (Tue, 31 Aug 2010) | 4 lines

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

------------------------------------------------------------------------
r1952 | adk0212 | 2010-08-30 14:41:04 -0400 (Mon, 30 Aug 2010) | 3 lines

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

------------------------------------------------------------------------
r1951 | adk0212 | 2010-08-30 14:18:47 -0400 (Mon, 30 Aug 2010) | 2 lines

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

------------------------------------------------------------------------
r1950 | adk0212 | 2010-08-30 14:18:23 -0400 (Mon, 30 Aug 2010) | 2 lines

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

------------------------------------------------------------------------
r1949 | adk0212 | 2010-08-20 20:34:48 -0400 (Fri, 20 Aug 2010) | 2 lines

Add SU1000INET battery constant

------------------------------------------------------------------------
r1947 | adk0212 | 2010-08-17 14:24:15 -0400 (Tue, 17 Aug 2010) | 2 lines

Update for 3.14.9-test1 release

------------------------------------------------------------------------
r1946 | adk0212 | 2010-08-16 19:18:35 -0400 (Mon, 16 Aug 2010) | 2 lines

Default to winusb driver

------------------------------------------------------------------------
r1945 | adk0212 | 2010-08-16 19:15:28 -0400 (Mon, 16 Aug 2010) | 2 lines

Update for new files in snmplite

------------------------------------------------------------------------
r1944 | adk0212 | 2010-08-13 14:52:15 -0400 (Fri, 13 Aug 2010) | 3 lines

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

------------------------------------------------------------------------
r1943 | adk0212 | 2010-08-13 14:40:37 -0400 (Fri, 13 Aug 2010) | 3 lines

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

------------------------------------------------------------------------
r1942 | adk0212 | 2010-08-13 14:03:28 -0400 (Fri, 13 Aug 2010) | 2 lines

Add missing file.

------------------------------------------------------------------------
r1941 | adk0212 | 2010-08-13 14:00:15 -0400 (Fri, 13 Aug 2010) | 4 lines

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

------------------------------------------------------------------------
r1940 | adk0212 | 2010-07-30 18:04:13 -0400 (Fri, 30 Jul 2010) | 4 lines

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

------------------------------------------------------------------------
r1939 | adk0212 | 2010-07-10 11:32:53 -0400 (Sat, 10 Jul 2010) | 2 lines

Update Windows *.inf files for LCC PIDs

------------------------------------------------------------------------
r1938 | adk0212 | 2010-05-16 18:11:39 -0400 (Sun, 16 May 2010) | 2 lines

Remove unused variable shm_OK

------------------------------------------------------------------------
r1937 | adk0212 | 2010-05-16 18:09:43 -0400 (Sun, 16 May 2010) | 4 lines

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

------------------------------------------------------------------------
r1936 | adk0212 | 2010-05-16 17:57:34 -0400 (Sun, 16 May 2010) | 6 lines

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

------------------------------------------------------------------------
r1935 | adk0212 | 2010-04-29 19:25:25 -0400 (Thu, 29 Apr 2010) | 3 lines

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

------------------------------------------------------------------------
r1934 | adk0212 | 2010-04-29 19:20:04 -0400 (Thu, 29 Apr 2010) | 3 lines

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

------------------------------------------------------------------------
r1933 | adk0212 | 2010-02-20 10:09:23 -0500 (Sat, 20 Feb 2010) | 8 lines

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

------------------------------------------------------------------------
r1932 | adk0212 | 2010-01-31 12:16:18 -0500 (Sun, 31 Jan 2010) | 2 lines

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

------------------------------------------------------------------------
r1931 | adk0212 | 2010-01-31 11:10:59 -0500 (Sun, 31 Jan 2010) | 5 lines

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

------------------------------------------------------------------------
r1930 | adk0212 | 2010-01-24 08:19:37 -0500 (Sun, 24 Jan 2010) | 2 lines

Remove unnecessary debug print

------------------------------------------------------------------------
r1929 | adk0212 | 2010-01-17 19:12:02 -0500 (Sun, 17 Jan 2010) | 5 lines

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

------------------------------------------------------------------------
r1928 | adk0212 | 2010-01-17 13:58:32 -0500 (Sun, 17 Jan 2010) | 2 lines

Fix define

------------------------------------------------------------------------
r1927 | adk0212 | 2010-01-17 13:38:10 -0500 (Sun, 17 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1926 | adk0212 | 2010-01-17 10:58:34 -0500 (Sun, 17 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1925 | adk0212 | 2010-01-17 10:38:43 -0500 (Sun, 17 Jan 2010) | 2 lines

Fix compile warning

------------------------------------------------------------------------
r1924 | adk0212 | 2010-01-17 10:30:05 -0500 (Sun, 17 Jan 2010) | 2 lines

Fix comment

------------------------------------------------------------------------
r1923 | adk0212 | 2010-01-17 10:29:20 -0500 (Sun, 17 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1922 | adk0212 | 2010-01-17 10:26:47 -0500 (Sun, 17 Jan 2010) | 2 lines

Regen manual for release

------------------------------------------------------------------------
r1921 | adk0212 | 2010-01-16 15:17:05 -0500 (Sat, 16 Jan 2010) | 2 lines

Update for 3.14.8 release

------------------------------------------------------------------------
r1919 | adk0212 | 2010-01-16 11:09:47 -0500 (Sat, 16 Jan 2010) | 2 lines

Prep for 3.14.8 release

------------------------------------------------------------------------
r1918 | adk0212 | 2010-01-16 11:01:38 -0500 (Sat, 16 Jan 2010) | 2 lines

Update apctest manpage for USB changes

------------------------------------------------------------------------
r1917 | adk0212 | 2010-01-16 10:19:20 -0500 (Sat, 16 Jan 2010) | 2 lines

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

------------------------------------------------------------------------
r1916 | adk0212 | 2010-01-12 18:08:18 -0500 (Tue, 12 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1915 | adk0212 | 2010-01-10 16:50:56 -0500 (Sun, 10 Jan 2010) | 2 lines

Remove apcagent application in darwin uninstall script

------------------------------------------------------------------------
r1914 | adk0212 | 2010-01-10 16:45:45 -0500 (Sun, 10 Jan 2010) | 2 lines

spec updates for new SNMP driver

------------------------------------------------------------------------
r1913 | adk0212 | 2010-01-10 16:44:59 -0500 (Sun, 10 Jan 2010) | 2 lines

Minor style changes

------------------------------------------------------------------------
r1912 | adk0212 | 2010-01-10 16:31:02 -0500 (Sun, 10 Jan 2010) | 2 lines

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

------------------------------------------------------------------------
r1911 | adk0212 | 2010-01-10 15:32:21 -0500 (Sun, 10 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1910 | adk0212 | 2010-01-10 15:14:13 -0500 (Sun, 10 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1909 | adk0212 | 2010-01-10 15:05:34 -0500 (Sun, 10 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1908 | adk0212 | 2010-01-10 15:02:40 -0500 (Sun, 10 Jan 2010) | 2 lines

Fix DALARM (depends on alarm timer setting from upsAdvConfigAlarmTimer)

------------------------------------------------------------------------
r1907 | adk0212 | 2010-01-10 15:00:46 -0500 (Sun, 10 Jan 2010) | 2 lines

Improve warning message for USB driver install failure

------------------------------------------------------------------------
r1906 | adk0212 | 2010-01-10 12:59:48 -0500 (Sun, 10 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1905 | adk0212 | 2010-01-10 12:58:33 -0500 (Sun, 10 Jan 2010) | 2 lines

Add a driver version to assist with upgrading.

------------------------------------------------------------------------
r1904 | adk0212 | 2010-01-10 10:39:02 -0500 (Sun, 10 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1903 | adk0212 | 2010-01-10 10:29:00 -0500 (Sun, 10 Jan 2010) | 4 lines

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

------------------------------------------------------------------------
r1902 | adk0212 | 2010-01-10 10:02:13 -0500 (Sun, 10 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1901 | adk0212 | 2010-01-09 13:35:16 -0500 (Sat, 09 Jan 2010) | 4 lines

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

------------------------------------------------------------------------
r1900 | adk0212 | 2010-01-08 19:23:27 -0500 (Fri, 08 Jan 2010) | 5 lines

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

------------------------------------------------------------------------
r1899 | adk0212 | 2010-01-08 19:11:28 -0500 (Fri, 08 Jan 2010) | 2 lines

Update installer to automatically install WinUSB driver when possible.

------------------------------------------------------------------------
r1898 | adk0212 | 2010-01-03 20:51:54 -0500 (Sun, 03 Jan 2010) | 4 lines

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

------------------------------------------------------------------------
r1897 | adk0212 | 2010-01-03 20:19:56 -0500 (Sun, 03 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1896 | adk0212 | 2010-01-03 17:02:23 -0500 (Sun, 03 Jan 2010) | 2 lines

Include driver install instructions text file

------------------------------------------------------------------------
r1895 | adk0212 | 2010-01-03 17:01:19 -0500 (Sun, 03 Jan 2010) | 2 lines

Cleanup INF naming, class, etc.

------------------------------------------------------------------------
r1894 | adk0212 | 2010-01-03 17:00:53 -0500 (Sun, 03 Jan 2010) | 2 lines

Initial rev of winusb driver install instructions.

------------------------------------------------------------------------
r1893 | adk0212 | 2010-01-03 13:08:26 -0500 (Sun, 03 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1892 | adk0212 | 2010-01-03 12:46:49 -0500 (Sun, 03 Jan 2010) | 2 lines

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

------------------------------------------------------------------------
r1891 | adk0212 | 2010-01-03 12:33:41 -0500 (Sun, 03 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1890 | adk0212 | 2010-01-03 12:32:26 -0500 (Sun, 03 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1889 | adk0212 | 2010-01-03 12:27:54 -0500 (Sun, 03 Jan 2010) | 2 lines

Enable building the NSIS System plugin.

------------------------------------------------------------------------
r1888 | adk0212 | 2010-01-03 10:29:16 -0500 (Sun, 03 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1887 | adk0212 | 2010-01-03 10:22:22 -0500 (Sun, 03 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1886 | adk0212 | 2010-01-02 16:28:28 -0500 (Sat, 02 Jan 2010) | 2 lines

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

------------------------------------------------------------------------
r1885 | adk0212 | 2010-01-02 14:58:00 -0500 (Sat, 02 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1884 | adk0212 | 2010-01-02 14:50:14 -0500 (Sat, 02 Jan 2010) | 7 lines

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

------------------------------------------------------------------------
r1883 | adk0212 | 2010-01-02 14:47:43 -0500 (Sat, 02 Jan 2010) | 2 lines

Update to nsis-2.46 and w32api-3.14

------------------------------------------------------------------------
r1882 | adk0212 | 2010-01-02 13:42:07 -0500 (Sat, 02 Jan 2010) | 5 lines

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

------------------------------------------------------------------------
r1881 | adk0212 | 2010-01-01 12:02:06 -0500 (Fri, 01 Jan 2010) | 2 lines

Add support for APC_NOTRAP vendor which disabled trap catching.

------------------------------------------------------------------------
r1880 | adk0212 | 2010-01-01 11:41:36 -0500 (Fri, 01 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1879 | adk0212 | 2010-01-01 11:16:50 -0500 (Fri, 01 Jan 2010) | 2 lines

Remove cygwin platform. This has been unused for years.

------------------------------------------------------------------------
r1878 | adk0212 | 2010-01-01 11:13:39 -0500 (Fri, 01 Jan 2010) | 3 lines

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

------------------------------------------------------------------------
r1877 | adk0212 | 2010-01-01 11:12:16 -0500 (Fri, 01 Jan 2010) | 2 lines

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

------------------------------------------------------------------------
r1876 | adk0212 | 2010-01-01 11:11:37 -0500 (Fri, 01 Jan 2010) | 2 lines

Remove conditionals; always display a popup.

------------------------------------------------------------------------
r1875 | adk0212 | 2009-11-21 12:34:10 -0500 (Sat, 21 Nov 2009) | 2 lines

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

------------------------------------------------------------------------
r1874 | adk0212 | 2009-11-21 12:32:06 -0500 (Sat, 21 Nov 2009) | 5 lines

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

------------------------------------------------------------------------
r1873 | adk0212 | 2009-11-15 12:57:00 -0500 (Sun, 15 Nov 2009) | 2 lines

Remove obsolete image files.

------------------------------------------------------------------------
r1872 | adk0212 | 2009-11-15 10:05:42 -0500 (Sun, 15 Nov 2009) | 2 lines

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

------------------------------------------------------------------------
r1871 | adk0212 | 2009-11-15 09:18:43 -0500 (Sun, 15 Nov 2009) | 5 lines

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

------------------------------------------------------------------------
r1870 | adk0212 | 2009-11-09 21:19:23 -0500 (Mon, 09 Nov 2009) | 2 lines

Fix timezone on Windows. This has always been wrong.

------------------------------------------------------------------------
r1869 | adk0212 | 2009-11-09 21:05:14 -0500 (Mon, 09 Nov 2009) | 2 lines

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

------------------------------------------------------------------------
r1868 | adk0212 | 2009-11-09 21:03:40 -0500 (Mon, 09 Nov 2009) | 2 lines

Fix compile error.

------------------------------------------------------------------------
r1867 | adk0212 | 2009-10-31 11:32:53 -0400 (Sat, 31 Oct 2009) | 2 lines

Sync alib with gelogger project

------------------------------------------------------------------------
r1866 | adk0212 | 2009-10-31 10:04:32 -0400 (Sat, 31 Oct 2009) | 2 lines

Fix compile warning

------------------------------------------------------------------------
r1865 | adk0212 | 2009-10-31 09:31:42 -0400 (Sat, 31 Oct 2009) | 2 lines

Move INADDR_NONE define to common header

------------------------------------------------------------------------
r1864 | adk0212 | 2009-10-31 09:28:57 -0400 (Sat, 31 Oct 2009) | 2 lines

Fix signed/unsigned comparison warning

------------------------------------------------------------------------
r1863 | adk0212 | 2009-10-31 09:24:31 -0400 (Sat, 31 Oct 2009) | 2 lines

Fix compile error on Solaris 10

------------------------------------------------------------------------
r1862 | adk0212 | 2009-10-31 08:55:17 -0400 (Sat, 31 Oct 2009) | 2 lines

win32 build fixes

------------------------------------------------------------------------
r1861 | adk0212 | 2009-10-31 08:42:17 -0400 (Sat, 31 Oct 2009) | 2 lines

Fix comment

------------------------------------------------------------------------
r1860 | adk0212 | 2009-10-31 08:37:32 -0400 (Sat, 31 Oct 2009) | 2 lines

Switch libnis to thread-safe gethostname_re()

------------------------------------------------------------------------
r1859 | adk0212 | 2009-10-27 20:31:12 -0400 (Tue, 27 Oct 2009) | 2 lines

Updates so win32 will build with gethostbyname_r

------------------------------------------------------------------------
r1858 | adk0212 | 2009-10-27 20:24:29 -0400 (Tue, 27 Oct 2009) | 2 lines

Switch SnmpEngine to thread-safe resolver, gethostbyname_r()

------------------------------------------------------------------------
r1857 | adk0212 | 2009-10-27 19:28:48 -0400 (Tue, 27 Oct 2009) | 2 lines

Misc cleanup

------------------------------------------------------------------------
r1856 | adk0212 | 2009-10-27 19:19:41 -0400 (Tue, 27 Oct 2009) | 2 lines

Make lengths universally unsigned

------------------------------------------------------------------------
r1855 | adk0212 | 2009-10-27 19:11:40 -0400 (Tue, 27 Oct 2009) | 5 lines

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

------------------------------------------------------------------------
r1854 | adk0212 | 2009-10-26 19:37:27 -0400 (Mon, 26 Oct 2009) | 2 lines

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

------------------------------------------------------------------------
r1853 | adk0212 | 2009-10-26 19:36:52 -0400 (Mon, 26 Oct 2009) | 2 lines

Spacing changes

------------------------------------------------------------------------
r1852 | adk0212 | 2009-10-26 19:36:31 -0400 (Mon, 26 Oct 2009) | 2 lines

Add support for SNMP trap catching

------------------------------------------------------------------------
r1851 | adk0212 | 2009-10-25 21:30:59 -0400 (Sun, 25 Oct 2009) | 2 lines

Toy with spacing

------------------------------------------------------------------------
r1850 | adk0212 | 2009-10-25 21:07:50 -0400 (Sun, 25 Oct 2009) | 2 lines

Add snmplite support for shutdown and killpower

------------------------------------------------------------------------
r1849 | adk0212 | 2009-10-25 21:07:08 -0400 (Sun, 25 Oct 2009) | 2 lines

Add SET command support to SnmpEngine and support classes

------------------------------------------------------------------------
r1848 | adk0212 | 2009-10-25 18:00:04 -0400 (Sun, 25 Oct 2009) | 2 lines

Update comments

------------------------------------------------------------------------
r1847 | adk0212 | 2009-10-25 17:48:13 -0400 (Sun, 25 Oct 2009) | 2 lines

Add units to ambient humidity and temp status lines

------------------------------------------------------------------------
r1846 | adk0212 | 2009-10-25 17:45:39 -0400 (Sun, 25 Oct 2009) | 4 lines

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

------------------------------------------------------------------------
r1845 | adk0212 | 2009-10-25 17:37:04 -0400 (Sun, 25 Oct 2009) | 2 lines

Add support for detecting and recovering from network errors

------------------------------------------------------------------------
r1844 | adk0212 | 2009-10-25 16:47:43 -0400 (Sun, 25 Oct 2009) | 2 lines

Misc cleanup

------------------------------------------------------------------------
r1843 | adk0212 | 2009-10-25 16:31:08 -0400 (Sun, 25 Oct 2009) | 2 lines

Bump version string

------------------------------------------------------------------------
r1842 | adk0212 | 2009-10-25 15:56:37 -0400 (Sun, 25 Oct 2009) | 2 lines

Reorder function

------------------------------------------------------------------------
r1841 | adk0212 | 2009-10-25 15:53:57 -0400 (Sun, 25 Oct 2009) | 3 lines

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

------------------------------------------------------------------------
r1840 | adk0212 | 2009-10-25 15:41:55 -0400 (Sun, 25 Oct 2009) | 2 lines

Add snmplite driver to win32 build

------------------------------------------------------------------------
r1839 | adk0212 | 2009-10-25 15:41:40 -0400 (Sun, 25 Oct 2009) | 2 lines

Minor changes so snmplite can build for win32

------------------------------------------------------------------------
r1838 | adk0212 | 2009-10-25 15:28:28 -0400 (Sun, 25 Oct 2009) | 2 lines

Update MIB map with more CIs from old powernet driver.

------------------------------------------------------------------------
r1837 | adk0212 | 2009-10-25 14:48:34 -0400 (Sun, 25 Oct 2009) | 2 lines

Updates for compatibility with old AP960x SNMP cards.

------------------------------------------------------------------------
r1836 | adk0212 | 2009-10-25 12:14:33 -0400 (Sun, 25 Oct 2009) | 2 lines

Remove some debug

------------------------------------------------------------------------
r1835 | adk0212 | 2009-10-25 11:54:46 -0400 (Sun, 25 Oct 2009) | 5 lines

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

------------------------------------------------------------------------
r1834 | adk0212 | 2009-10-25 11:03:14 -0400 (Sun, 25 Oct 2009) | 4 lines

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

------------------------------------------------------------------------
r1833 | adk0212 | 2009-10-25 10:58:35 -0400 (Sun, 25 Oct 2009) | 2 lines

Make size unsigned

------------------------------------------------------------------------
r1832 | adk0212 | 2009-10-24 15:41:10 -0400 (Sat, 24 Oct 2009) | 2 lines

Simple (and inefficient) dynamic array template class

------------------------------------------------------------------------
r1831 | adk0212 | 2009-10-24 10:04:01 -0400 (Sat, 24 Oct 2009) | 3 lines

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

------------------------------------------------------------------------
r1830 | adk0212 | 2009-10-15 20:46:39 -0400 (Thu, 15 Oct 2009) | 4 lines

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

------------------------------------------------------------------------
r1829 | adk0212 | 2009-10-15 18:44:47 -0400 (Thu, 15 Oct 2009) | 4 lines

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

------------------------------------------------------------------------
r1828 | adk0212 | 2009-10-15 18:13:45 -0400 (Thu, 15 Oct 2009) | 3 lines

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

------------------------------------------------------------------------
r1827 | adk0212 | 2009-10-14 19:14:22 -0400 (Wed, 14 Oct 2009) | 2 lines

Update status window control layout to match apctray

------------------------------------------------------------------------
r1826 | adk0212 | 2009-10-12 19:22:23 -0400 (Mon, 12 Oct 2009) | 2 lines

Lowercase $(COMMA)

------------------------------------------------------------------------
r1825 | adk0212 | 2009-10-12 19:15:58 -0400 (Mon, 12 Oct 2009) | 2 lines

Patch version info into resource file on the fly

------------------------------------------------------------------------
r1824 | adk0212 | 2009-10-12 18:53:05 -0400 (Mon, 12 Oct 2009) | 2 lines

Set operating system field correctly

------------------------------------------------------------------------
r1823 | adk0212 | 2009-10-12 18:50:27 -0400 (Mon, 12 Oct 2009) | 2 lines

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

------------------------------------------------------------------------
r1822 | adk0212 | 2009-10-12 18:35:32 -0400 (Mon, 12 Oct 2009) | 2 lines

Convert all member variable names to leading underscore convention

------------------------------------------------------------------------
r1821 | adk0212 | 2009-10-12 18:27:25 -0400 (Mon, 12 Oct 2009) | 2 lines

Update for StatMgr::GetAll() changes

------------------------------------------------------------------------
r1820 | adk0212 | 2009-10-12 18:17:14 -0400 (Mon, 12 Oct 2009) | 3 lines

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

------------------------------------------------------------------------
r1819 | adk0212 | 2009-10-12 18:09:09 -0400 (Mon, 12 Oct 2009) | 2 lines

Consolidate listview update code into ListView wrapper class.

------------------------------------------------------------------------
r1818 | adk0212 | 2009-10-12 17:43:16 -0400 (Mon, 12 Oct 2009) | 6 lines

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

------------------------------------------------------------------------
r1817 | adk0212 | 2009-10-11 18:51:04 -0400 (Sun, 11 Oct 2009) | 2 lines

Minor cleanup

------------------------------------------------------------------------
r1816 | adk0212 | 2009-10-11 18:33:05 -0400 (Sun, 11 Oct 2009) | 2 lines

Add menu item for controlling autostart

------------------------------------------------------------------------
r1815 | adk0212 | 2009-10-11 15:21:22 -0400 (Sun, 11 Oct 2009) | 4 lines

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

------------------------------------------------------------------------
r1814 | adk0212 | 2009-10-11 13:04:43 -0400 (Sun, 11 Oct 2009) | 3 lines

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

------------------------------------------------------------------------
r1813 | adk0212 | 2009-10-11 12:41:32 -0400 (Sun, 11 Oct 2009) | 2 lines

Fix redrawing icons when explorer restarts with new taskbar

------------------------------------------------------------------------
r1812 | adk0212 | 2009-10-11 12:15:48 -0400 (Sun, 11 Oct 2009) | 2 lines

Minor cleanup

------------------------------------------------------------------------
r1811 | adk0212 | 2009-10-11 12:15:04 -0400 (Sun, 11 Oct 2009) | 4 lines

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

------------------------------------------------------------------------
r1810 | adk0212 | 2009-10-11 12:12:59 -0400 (Sun, 11 Oct 2009) | 2 lines

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

------------------------------------------------------------------------
r1809 | adk0212 | 2009-10-11 12:12:08 -0400 (Sun, 11 Oct 2009) | 2 lines

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

------------------------------------------------------------------------
r1808 | adk0212 | 2009-10-10 13:41:21 -0400 (Sat, 10 Oct 2009) | 2 lines

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

------------------------------------------------------------------------
r1807 | adk0212 | 2009-10-10 11:56:25 -0400 (Sat, 10 Oct 2009) | 2 lines

Set focus to first invalid control

------------------------------------------------------------------------
r1806 | adk0212 | 2009-10-10 11:55:58 -0400 (Sat, 10 Oct 2009) | 2 lines

Restrict port and refresh fields to digits only

------------------------------------------------------------------------
r1805 | adk0212 | 2009-10-10 11:42:37 -0400 (Sat, 10 Oct 2009) | 2 lines

Add support for disabling popups. Other misc cleanup.

------------------------------------------------------------------------
r1804 | adk0212 | 2009-10-08 18:59:41 -0400 (Thu, 08 Oct 2009) | 2 lines

Fixes for config dialog. Implement basic input validation.

------------------------------------------------------------------------
r1803 | adk0212 | 2009-10-08 18:05:14 -0400 (Thu, 08 Oct 2009) | 2 lines

Fix row deletion bug when number of items decreases

------------------------------------------------------------------------
r1802 | adk0212 | 2009-10-07 20:36:54 -0400 (Wed, 07 Oct 2009) | 2 lines

First pass at config dialog

------------------------------------------------------------------------
r1801 | adk0212 | 2009-10-07 20:36:32 -0400 (Wed, 07 Oct 2009) | 2 lines

First pass at configuration dialog.

------------------------------------------------------------------------
r1800 | adk0212 | 2009-10-07 19:10:02 -0400 (Wed, 07 Oct 2009) | 3 lines

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

------------------------------------------------------------------------
r1799 | adk0212 | 2009-10-07 19:08:49 -0400 (Wed, 07 Oct 2009) | 2 lines

Add support for operator->() on iterator

------------------------------------------------------------------------
r1798 | adk0212 | 2009-10-07 08:02:28 -0400 (Wed, 07 Oct 2009) | 3 lines

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

------------------------------------------------------------------------
r1797 | adk0212 | 2009-10-05 20:35:22 -0400 (Mon, 05 Oct 2009) | 3 lines

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

------------------------------------------------------------------------
r1796 | adk0212 | 2009-10-05 20:07:05 -0400 (Mon, 05 Oct 2009) | 2 lines

Don't leak ListView wrappers

------------------------------------------------------------------------
r1795 | adk0212 | 2009-10-05 20:05:17 -0400 (Mon, 05 Oct 2009) | 2 lines

Add wrapper class for listview and use it from winstat

------------------------------------------------------------------------
r1794 | adk0212 | 2009-10-05 20:04:23 -0400 (Mon, 05 Oct 2009) | 2 lines

Add wrapper class for listview and use it in winstat.

------------------------------------------------------------------------
r1793 | adk0212 | 2009-10-05 19:35:54 -0400 (Mon, 05 Oct 2009) | 2 lines

Add/update copyright banners

------------------------------------------------------------------------
r1792 | adk0212 | 2009-10-05 19:34:49 -0400 (Mon, 05 Oct 2009) | 5 lines

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

------------------------------------------------------------------------
r1791 | adk0212 | 2009-10-04 13:02:11 -0400 (Sun, 04 Oct 2009) | 8 lines

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

------------------------------------------------------------------------
r1790 | adk0212 | 2009-10-03 13:26:41 -0400 (Sat, 03 Oct 2009) | 4 lines

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

------------------------------------------------------------------------
r1789 | adk0212 | 2009-10-03 10:20:25 -0400 (Sat, 03 Oct 2009) | 3 lines

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

------------------------------------------------------------------------
r1788 | adk0212 | 2009-09-30 19:15:41 -0400 (Wed, 30 Sep 2009) | 2 lines

Include apcagent in OS X installer DMG

------------------------------------------------------------------------
r1787 | adk0212 | 2009-09-29 19:20:45 -0400 (Tue, 29 Sep 2009) | 3 lines

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

------------------------------------------------------------------------
r1786 | adk0212 | 2009-09-29 18:58:49 -0400 (Tue, 29 Sep 2009) | 2 lines

Add support for popup notifications via Growl

------------------------------------------------------------------------
r1785 | adk0212 | 2009-09-27 19:39:29 -0400 (Sun, 27 Sep 2009) | 4 lines

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

------------------------------------------------------------------------
r1784 | adk0212 | 2009-09-27 16:03:12 -0400 (Sun, 27 Sep 2009) | 2 lines

Overwrite dmg

------------------------------------------------------------------------
r1783 | adk0212 | 2009-09-27 15:56:02 -0400 (Sun, 27 Sep 2009) | 2 lines

Add menu item to enable/disable starting at login

------------------------------------------------------------------------
r1782 | adk0212 | 2009-09-27 14:37:10 -0400 (Sun, 27 Sep 2009) | 5 lines

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

------------------------------------------------------------------------
r1781 | adk0212 | 2009-09-27 10:57:03 -0400 (Sun, 27 Sep 2009) | 2 lines

Support for multiple instances

------------------------------------------------------------------------
r1780 | adk0212 | 2009-09-23 20:14:37 -0400 (Wed, 23 Sep 2009) | 3 lines

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

------------------------------------------------------------------------
r1779 | adk0212 | 2009-09-23 18:19:53 -0400 (Wed, 23 Sep 2009) | 2 lines

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

------------------------------------------------------------------------
r1778 | adk0212 | 2009-09-23 18:17:19 -0400 (Wed, 23 Sep 2009) | 4 lines

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

------------------------------------------------------------------------
r1777 | adk0212 | 2009-09-23 18:16:14 -0400 (Wed, 23 Sep 2009) | 2 lines

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

------------------------------------------------------------------------
r1776 | adk0212 | 2009-09-20 19:47:01 -0400 (Sun, 20 Sep 2009) | 2 lines

Minor cleanups

------------------------------------------------------------------------
r1775 | adk0212 | 2009-09-20 19:29:37 -0400 (Sun, 20 Sep 2009) | 2 lines

Minor optimization to DataSource classes

------------------------------------------------------------------------
r1774 | adk0212 | 2009-09-20 19:07:45 -0400 (Sun, 20 Sep 2009) | 3 lines

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

------------------------------------------------------------------------
r1773 | adk0212 | 2009-09-20 18:23:10 -0400 (Sun, 20 Sep 2009) | 2 lines

Make icon backgrounds transparent

------------------------------------------------------------------------
r1772 | adk0212 | 2009-09-20 17:25:22 -0400 (Sun, 20 Sep 2009) | 2 lines

Add horizontal separators to the menu

------------------------------------------------------------------------
r1771 | adk0212 | 2009-09-20 17:13:22 -0400 (Sun, 20 Sep 2009) | 2 lines

Remove InfoPlist.strings dependency

------------------------------------------------------------------------
r1770 | adk0212 | 2009-09-20 17:11:53 -0400 (Sun, 20 Sep 2009) | 3 lines

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

------------------------------------------------------------------------
r1769 | adk0212 | 2009-09-20 17:11:09 -0400 (Sun, 20 Sep 2009) | 2 lines

Minor cleanup

------------------------------------------------------------------------
r1768 | adk0212 | 2009-09-20 16:39:42 -0400 (Sun, 20 Sep 2009) | 2 lines

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

------------------------------------------------------------------------
r1767 | adk0212 | 2009-09-20 16:26:05 -0400 (Sun, 20 Sep 2009) | 2 lines

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

------------------------------------------------------------------------
r1766 | adk0212 | 2009-09-20 16:11:13 -0400 (Sun, 20 Sep 2009) | 2 lines

Convert win32 apctray to use shared statmgr and alib classes.

------------------------------------------------------------------------
r1765 | adk0212 | 2009-09-20 15:47:47 -0400 (Sun, 20 Sep 2009) | 2 lines

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

------------------------------------------------------------------------
r1764 | adk0212 | 2009-09-20 15:46:13 -0400 (Sun, 20 Sep 2009) | 2 lines

Add lightweight STL-like class library

------------------------------------------------------------------------
r1763 | adk0212 | 2009-09-20 15:41:26 -0400 (Sun, 20 Sep 2009) | 2 lines

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

------------------------------------------------------------------------
r1762 | adk0212 | 2009-09-20 15:39:24 -0400 (Sun, 20 Sep 2009) | 2 lines

Forgot -arch flags for apcupsd build

------------------------------------------------------------------------
r1761 | adk0212 | 2009-09-13 18:08:58 -0400 (Sun, 13 Sep 2009) | 2 lines

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

------------------------------------------------------------------------
r1760 | adk0212 | 2009-09-13 17:36:46 -0400 (Sun, 13 Sep 2009) | 2 lines

More build notes updates.

------------------------------------------------------------------------
r1759 | adk0212 | 2009-09-13 17:28:20 -0400 (Sun, 13 Sep 2009) | 2 lines

More updates to Darwin build notes.

------------------------------------------------------------------------
r1758 | adk0212 | 2009-09-13 17:05:42 -0400 (Sun, 13 Sep 2009) | 5 lines

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

------------------------------------------------------------------------
r1757 | adk0212 | 2009-09-13 17:02:31 -0400 (Sun, 13 Sep 2009) | 2 lines

Add uninstall script.

------------------------------------------------------------------------
r1756 | adk0212 | 2009-09-13 09:29:11 -0400 (Sun, 13 Sep 2009) | 3 lines

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

------------------------------------------------------------------------
r1755 | adk0212 | 2009-09-11 20:01:58 -0400 (Fri, 11 Sep 2009) | 2 lines

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

------------------------------------------------------------------------
r1754 | adk0212 | 2009-09-08 18:03:38 -0400 (Tue, 08 Sep 2009) | 2 lines

Update apctest manpage for USB battery calibration function.

------------------------------------------------------------------------
r1753 | adk0212 | 2009-09-01 20:30:37 -0400 (Tue, 01 Sep 2009) | 4 lines

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

------------------------------------------------------------------------
r1752 | adk0212 | 2009-08-30 11:24:04 -0400 (Sun, 30 Aug 2009) | 2 lines

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

------------------------------------------------------------------------
r1751 | adk0212 | 2009-08-30 11:14:04 -0400 (Sun, 30 Aug 2009) | 2 lines

Fix TTY mode comms option on Win32.

------------------------------------------------------------------------
r1750 | adk0212 | 2009-08-30 10:15:39 -0400 (Sun, 30 Aug 2009) | 3 lines

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

------------------------------------------------------------------------
r1749 | adk0212 | 2009-08-29 14:33:23 -0400 (Sat, 29 Aug 2009) | 3 lines

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

------------------------------------------------------------------------
r1748 | adk0212 | 2009-08-29 14:27:50 -0400 (Sat, 29 Aug 2009) | 8 lines

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

------------------------------------------------------------------------
r1747 | adk0212 | 2009-08-23 15:04:31 -0400 (Sun, 23 Aug 2009) | 3 lines

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

------------------------------------------------------------------------
r1745 | adk0212 | 2009-08-14 11:02:19 -0400 (Fri, 14 Aug 2009) | 2 lines

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

------------------------------------------------------------------------
r1744 | adk0212 | 2009-08-07 08:15:37 -0400 (Fri, 07 Aug 2009) | 3 lines

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

------------------------------------------------------------------------
r1743 | adk0212 | 2009-08-02 10:36:30 -0400 (Sun, 02 Aug 2009) | 2 lines

Update for 3.14.7 release.

------------------------------------------------------------------------
r1741 | adk0212 | 2009-08-01 13:29:15 -0400 (Sat, 01 Aug 2009) | 2 lines

Final prep for 3.14.7 release.

------------------------------------------------------------------------
r1740 | fleetworks | 2009-08-01 10:41:16 -0400 (Sat, 01 Aug 2009) | 2 lines

3.14.7 spec update

------------------------------------------------------------------------
r1739 | adk0212 | 2009-08-01 08:18:35 -0400 (Sat, 01 Aug 2009) | 2 lines

Remove obsolete files

------------------------------------------------------------------------
r1738 | adk0212 | 2009-08-01 08:01:59 -0400 (Sat, 01 Aug 2009) | 2 lines

Remove remnants of powerflute

------------------------------------------------------------------------
r1737 | adk0212 | 2009-07-31 16:23:51 -0400 (Fri, 31 Jul 2009) | 2 lines

Prep for 3.14.7 release

------------------------------------------------------------------------
r1736 | adk0212 | 2009-07-31 16:19:07 -0400 (Fri, 31 Jul 2009) | 6 lines

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

------------------------------------------------------------------------
r1735 | adk0212 | 2009-07-31 15:35:55 -0400 (Fri, 31 Jul 2009) | 2 lines

Document multimon cgi programs for Windows.

------------------------------------------------------------------------
r1734 | adk0212 | 2009-07-31 11:34:27 -0400 (Fri, 31 Jul 2009) | 2 lines

Add support for formatting manpages into plain text

------------------------------------------------------------------------
r1733 | adk0212 | 2009-07-31 11:33:59 -0400 (Fri, 31 Jul 2009) | 4 lines

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

------------------------------------------------------------------------
r1732 | adk0212 | 2009-07-31 11:33:10 -0400 (Fri, 31 Jul 2009) | 2 lines

Format manpages into plain text.

------------------------------------------------------------------------
r1731 | adk0212 | 2009-07-31 10:22:55 -0400 (Fri, 31 Jul 2009) | 2 lines

Add CGI scripts to Windows installer.

------------------------------------------------------------------------
r1730 | adk0212 | 2009-07-31 10:22:33 -0400 (Fri, 31 Jul 2009) | 2 lines

Build CGI programs for WIN32.

------------------------------------------------------------------------
r1729 | adk0212 | 2009-07-31 10:21:58 -0400 (Fri, 31 Jul 2009) | 2 lines

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

------------------------------------------------------------------------
r1728 | adk0212 | 2009-07-31 10:20:35 -0400 (Fri, 31 Jul 2009) | 3 lines

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

------------------------------------------------------------------------
r1727 | adk0212 | 2009-07-31 10:18:31 -0400 (Fri, 31 Jul 2009) | 2 lines

Automatically invoke WSA_Init() during static initialization on WIN32.

------------------------------------------------------------------------
r1726 | adk0212 | 2009-07-31 10:16:42 -0400 (Fri, 31 Jul 2009) | 2 lines

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

------------------------------------------------------------------------
r1725 | adk0212 | 2009-07-26 10:50:59 -0400 (Sun, 26 Jul 2009) | 3 lines

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

------------------------------------------------------------------------
r1724 | adk0212 | 2009-07-26 10:42:31 -0400 (Sun, 26 Jul 2009) | 3 lines

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

------------------------------------------------------------------------
r1721 | adk0212 | 2009-06-07 21:15:05 -0400 (Sun, 07 Jun 2009) | 2 lines

Update to NSIS-2.45.

------------------------------------------------------------------------
r1720 | adk0212 | 2009-06-02 20:45:28 -0400 (Tue, 02 Jun 2009) | 2 lines

Fix typo.

------------------------------------------------------------------------
r1719 | adk0212 | 2009-05-31 12:18:55 -0400 (Sun, 31 May 2009) | 2 lines

Spell check.

------------------------------------------------------------------------
r1718 | adk0212 | 2009-05-31 12:14:48 -0400 (Sun, 31 May 2009) | 2 lines

Spell check.

------------------------------------------------------------------------
r1717 | adk0212 | 2009-05-31 11:13:49 -0400 (Sun, 31 May 2009) | 2 lines

Fix a few "apcupd" typos.

------------------------------------------------------------------------
r1714 | adk0212 | 2009-05-20 20:43:16 -0400 (Wed, 20 May 2009) | 2 lines

Fix UPS version in CGI stats and examples.

------------------------------------------------------------------------
r1713 | adk0212 | 2009-05-16 12:46:41 -0400 (Sat, 16 May 2009) | 2 lines

Update web site for 3.14.6 release.

------------------------------------------------------------------------
r1712 | adk0212 | 2009-05-16 12:46:21 -0400 (Sat, 16 May 2009) | 2 lines

Update script

------------------------------------------------------------------------
r1710 | adk0212 | 2009-05-16 10:07:36 -0400 (Sat, 16 May 2009) | 2 lines

Final prep for 3.14.6. Locked and loaded.

------------------------------------------------------------------------
r1709 | fleetworks | 2009-05-16 09:05:25 -0400 (Sat, 16 May 2009) | 2 lines

Comment out latex build.

------------------------------------------------------------------------
r1707 | adk0212 | 2009-05-15 20:13:20 -0400 (Fri, 15 May 2009) | 2 lines

Prep for 3.14.6 release (again).

------------------------------------------------------------------------
r1706 | adk0212 | 2009-05-15 20:13:00 -0400 (Fri, 15 May 2009) | 2 lines

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

------------------------------------------------------------------------
r1705 | adk0212 | 2009-05-15 19:57:59 -0400 (Fri, 15 May 2009) | 3 lines

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

------------------------------------------------------------------------
r1704 | adk0212 | 2009-05-15 19:44:26 -0400 (Fri, 15 May 2009) | 2 lines

changes for new user manual location and format

------------------------------------------------------------------------
r1703 | adk0212 | 2009-05-15 19:32:13 -0400 (Fri, 15 May 2009) | 2 lines

Add script to publish the manual to the web site.

------------------------------------------------------------------------
r1702 | adk0212 | 2009-05-15 19:29:37 -0400 (Fri, 15 May 2009) | 2 lines

Remove old latex manual. We're all RST now!

------------------------------------------------------------------------
r1701 | adk0212 | 2009-05-15 19:23:19 -0400 (Fri, 15 May 2009) | 3 lines

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

------------------------------------------------------------------------
r1700 | adk0212 | 2009-05-15 19:07:37 -0400 (Fri, 15 May 2009) | 2 lines

Update for new user manual location.

------------------------------------------------------------------------
r1699 | adk0212 | 2009-05-15 18:43:09 -0400 (Fri, 15 May 2009) | 2 lines

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

------------------------------------------------------------------------
r1698 | adk0212 | 2009-05-13 19:49:40 -0400 (Wed, 13 May 2009) | 2 lines

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

------------------------------------------------------------------------
r1697 | adk0212 | 2009-05-12 19:45:39 -0400 (Tue, 12 May 2009) | 3 lines

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

------------------------------------------------------------------------
r1696 | adk0212 | 2009-05-12 19:35:18 -0400 (Tue, 12 May 2009) | 2 lines

Minor formatting and typo fixes to smart protocol docs.

------------------------------------------------------------------------
r1695 | adk0212 | 2009-05-09 09:04:31 -0400 (Sat, 09 May 2009) | 2 lines

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

------------------------------------------------------------------------
r1694 | adk0212 | 2009-05-09 08:50:08 -0400 (Sat, 09 May 2009) | 2 lines

Fix expansion of APC acronym.

------------------------------------------------------------------------
r1693 | adk0212 | 2009-05-07 21:10:40 -0400 (Thu, 07 May 2009) | 2 lines

Some tweaks for better compatibility with rst2pdf.

------------------------------------------------------------------------
r1692 | adk0212 | 2009-05-06 21:51:00 -0400 (Wed, 06 May 2009) | 6 lines

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

------------------------------------------------------------------------
r1691 | adk0212 | 2009-05-06 21:50:07 -0400 (Wed, 06 May 2009) | 2 lines

Noninterlaced version of logo for compatibility with rst2pdf.

------------------------------------------------------------------------
r1690 | adk0212 | 2009-05-05 17:51:26 -0400 (Tue, 05 May 2009) | 2 lines

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

------------------------------------------------------------------------
r1689 | adk0212 | 2009-05-04 18:21:57 -0400 (Mon, 04 May 2009) | 3 lines

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

------------------------------------------------------------------------
r1688 | adk0212 | 2009-05-04 18:20:42 -0400 (Mon, 04 May 2009) | 3 lines

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

------------------------------------------------------------------------
r1687 | adk0212 | 2009-05-04 18:03:06 -0400 (Mon, 04 May 2009) | 3 lines

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

------------------------------------------------------------------------
r1686 | adk0212 | 2009-05-04 17:56:24 -0400 (Mon, 04 May 2009) | 2 lines

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

------------------------------------------------------------------------
r1685 | adk0212 | 2009-05-03 17:56:25 -0400 (Sun, 03 May 2009) | 2 lines

Generate PDF manual automatically.

------------------------------------------------------------------------
r1684 | adk0212 | 2009-05-03 17:55:09 -0400 (Sun, 03 May 2009) | 2 lines

Fix typo.

------------------------------------------------------------------------
r1683 | adk0212 | 2009-05-03 13:31:39 -0400 (Sun, 03 May 2009) | 2 lines

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

------------------------------------------------------------------------
r1682 | adk0212 | 2009-05-03 12:31:03 -0400 (Sun, 03 May 2009) | 2 lines

Minor tweaks to spacing, etc.

------------------------------------------------------------------------
r1681 | adk0212 | 2009-05-03 12:27:18 -0400 (Sun, 03 May 2009) | 3 lines

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

------------------------------------------------------------------------
r1680 | adk0212 | 2009-05-02 19:46:59 -0400 (Sat, 02 May 2009) | 3 lines

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

------------------------------------------------------------------------
r1679 | adk0212 | 2009-05-02 19:30:07 -0400 (Sat, 02 May 2009) | 2 lines

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

------------------------------------------------------------------------
r1678 | adk0212 | 2009-05-02 19:20:42 -0400 (Sat, 02 May 2009) | 2 lines

Bring in a shortened version of the supportedupses text.

------------------------------------------------------------------------
r1677 | adk0212 | 2009-05-02 18:37:30 -0400 (Sat, 02 May 2009) | 2 lines

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

------------------------------------------------------------------------
r1676 | adk0212 | 2009-05-02 18:30:38 -0400 (Sat, 02 May 2009) | 2 lines

Rewrite and add in supported operating systems section.

------------------------------------------------------------------------
r1675 | adk0212 | 2009-05-02 18:29:35 -0400 (Sat, 02 May 2009) | 3 lines

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

------------------------------------------------------------------------
r1674 | adk0212 | 2009-05-02 12:11:32 -0400 (Sat, 02 May 2009) | 4 lines

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

------------------------------------------------------------------------
r1673 | adk0212 | 2009-05-02 12:00:00 -0400 (Sat, 02 May 2009) | 4 lines

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

------------------------------------------------------------------------
r1672 | adk0212 | 2009-05-02 10:30:19 -0400 (Sat, 02 May 2009) | 4 lines

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

------------------------------------------------------------------------
r1671 | adk0212 | 2009-05-02 10:21:20 -0400 (Sat, 02 May 2009) | 2 lines

Install manpages as part of 'make install'.

------------------------------------------------------------------------
r1670 | adk0212 | 2009-05-02 10:05:42 -0400 (Sat, 02 May 2009) | 2 lines

Remove one leftover old manpage.

------------------------------------------------------------------------
r1669 | adk0212 | 2009-05-02 10:04:35 -0400 (Sat, 02 May 2009) | 3 lines

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

------------------------------------------------------------------------
r1668 | adk0212 | 2009-04-30 19:20:14 -0400 (Thu, 30 Apr 2009) | 2 lines

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

------------------------------------------------------------------------
r1667 | adk0212 | 2009-04-26 20:34:05 -0400 (Sun, 26 Apr 2009) | 2 lines

Revert accidental changes.

------------------------------------------------------------------------
r1666 | adk0212 | 2009-04-26 19:12:25 -0400 (Sun, 26 Apr 2009) | 4 lines

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

------------------------------------------------------------------------
r1665 | adk0212 | 2009-04-25 11:04:25 -0400 (Sat, 25 Apr 2009) | 9 lines

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

------------------------------------------------------------------------
r1664 | adk0212 | 2009-04-25 10:58:29 -0400 (Sat, 25 Apr 2009) | 5 lines

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

------------------------------------------------------------------------
r1663 | adk0212 | 2009-04-25 10:47:50 -0400 (Sat, 25 Apr 2009) | 3 lines

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

------------------------------------------------------------------------
r1662 | adk0212 | 2009-04-25 10:45:04 -0400 (Sat, 25 Apr 2009) | 3 lines

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

------------------------------------------------------------------------
r1661 | adk0212 | 2009-03-19 19:18:07 -0400 (Thu, 19 Mar 2009) | 2 lines

Update sf.net logo per new guidelines.

------------------------------------------------------------------------
r1660 | adk0212 | 2009-03-02 18:16:55 -0500 (Mon, 02 Mar 2009) | 2 lines

Pseudo-prep for 3.14.6

------------------------------------------------------------------------
r1659 | adk0212 | 2009-03-02 17:52:57 -0500 (Mon, 02 Mar 2009) | 3 lines

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

------------------------------------------------------------------------
r1658 | adk0212 | 2009-03-02 17:48:26 -0500 (Mon, 02 Mar 2009) | 5 lines

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

------------------------------------------------------------------------
r1657 | adk0212 | 2009-03-01 10:03:51 -0500 (Sun, 01 Mar 2009) | 2 lines

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

------------------------------------------------------------------------
r1656 | adk0212 | 2009-02-14 16:35:16 -0500 (Sat, 14 Feb 2009) | 5 lines

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

------------------------------------------------------------------------
r1655 | adk0212 | 2009-02-10 18:39:30 -0500 (Tue, 10 Feb 2009) | 18 lines

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

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

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

------------------------------------------------------------------------
r1654 | adk0212 | 2009-01-15 17:57:38 -0500 (Thu, 15 Jan 2009) | 3 lines

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

------------------------------------------------------------------------
r1653 | adk0212 | 2009-01-14 18:00:41 -0500 (Wed, 14 Jan 2009) | 2 lines

Update publish scripts for sf.net changes

------------------------------------------------------------------------
r1652 | adk0212 | 2009-01-14 17:49:26 -0500 (Wed, 14 Jan 2009) | 2 lines

Update for 3.14.5 release.

------------------------------------------------------------------------
r1650 | adk0212 | 2009-01-10 15:02:56 -0500 (Sat, 10 Jan 2009) | 2 lines

3.14.5 for real this time.

------------------------------------------------------------------------
r1649 | adk0212 | 2008-11-10 19:14:58 -0500 (Mon, 10 Nov 2008) | 3 lines

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

------------------------------------------------------------------------
r1648 | adk0212 | 2008-11-01 11:03:26 -0400 (Sat, 01 Nov 2008) | 3 lines

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

------------------------------------------------------------------------
r1647 | adk0212 | 2008-10-26 10:25:41 -0400 (Sun, 26 Oct 2008) | 2 lines

Prep for 3.14.5 release (again)

------------------------------------------------------------------------
r1646 | adk0212 | 2008-10-20 18:19:10 -0400 (Mon, 20 Oct 2008) | 2 lines

Update to nsis-2.40.

------------------------------------------------------------------------
r1645 | adk0212 | 2008-10-20 18:18:32 -0400 (Mon, 20 Oct 2008) | 2 lines

Document the /refresh switch for apctray.

------------------------------------------------------------------------
r1644 | skoona | 2008-09-16 00:58:20 -0400 (Tue, 16 Sep 2008) | 8 lines

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

James,

------------------------------------------------------------------------
r1643 | skoona | 2008-09-16 00:34:37 -0400 (Tue, 16 Sep 2008) | 2 lines

Corrected person references, FreeBSD is the platform Jason Hale maintains

------------------------------------------------------------------------
r1642 | skoona | 2008-09-16 00:23:32 -0400 (Tue, 16 Sep 2008) | 7 lines

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

James,

------------------------------------------------------------------------
r1641 | adk0212 | 2008-09-10 18:34:05 -0400 (Wed, 10 Sep 2008) | 5 lines

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

------------------------------------------------------------------------
r1640 | adk0212 | 2008-09-09 17:51:18 -0400 (Tue, 09 Sep 2008) | 3 lines

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

------------------------------------------------------------------------
r1639 | adk0212 | 2008-08-17 11:01:51 -0400 (Sun, 17 Aug 2008) | 2 lines

Work around PackageMaker bug in XCode-2.5.

------------------------------------------------------------------------
r1638 | adk0212 | 2008-08-17 10:43:13 -0400 (Sun, 17 Aug 2008) | 2 lines

Update Darwin universal binary instructions.

------------------------------------------------------------------------
r1637 | skoona | 2008-08-15 01:24:50 -0400 (Fri, 15 Aug 2008) | 4 lines

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

------------------------------------------------------------------------
r1635 | adk0212 | 2008-08-03 16:24:04 -0400 (Sun, 03 Aug 2008) | 3 lines

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

------------------------------------------------------------------------
r1634 | adk0212 | 2008-08-03 12:51:16 -0400 (Sun, 03 Aug 2008) | 4 lines

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

------------------------------------------------------------------------
r1633 | adk0212 | 2008-08-03 11:13:33 -0400 (Sun, 03 Aug 2008) | 2 lines

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

------------------------------------------------------------------------
r1632 | adk0212 | 2008-08-03 11:00:05 -0400 (Sun, 03 Aug 2008) | 2 lines

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

------------------------------------------------------------------------
r1631 | adk0212 | 2008-08-03 10:51:57 -0400 (Sun, 03 Aug 2008) | 3 lines

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

------------------------------------------------------------------------
r1630 | adk0212 | 2008-08-03 10:48:45 -0400 (Sun, 03 Aug 2008) | 4 lines

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

------------------------------------------------------------------------
r1629 | adk0212 | 2008-08-02 19:13:28 -0400 (Sat, 02 Aug 2008) | 2 lines

Regen configure script from configure.in.

------------------------------------------------------------------------
r1628 | adk0212 | 2008-08-02 19:11:29 -0400 (Sat, 02 Aug 2008) | 3 lines

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

------------------------------------------------------------------------
r1627 | adk0212 | 2008-07-25 10:17:51 -0400 (Fri, 25 Jul 2008) | 2 lines

Update ChangeLog after win32 exit fix.

------------------------------------------------------------------------
r1626 | adk0212 | 2008-07-25 09:18:03 -0400 (Fri, 25 Jul 2008) | 4 lines

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

------------------------------------------------------------------------
r1625 | adk0212 | 2008-07-24 16:29:33 -0400 (Thu, 24 Jul 2008) | 2 lines

Prep for 3.14.5 release.

------------------------------------------------------------------------
r1624 | adk0212 | 2008-07-24 16:12:58 -0400 (Thu, 24 Jul 2008) | 3 lines

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

------------------------------------------------------------------------
r1623 | adk0212 | 2008-07-24 16:10:58 -0400 (Thu, 24 Jul 2008) | 2 lines

Remove another obsolete sample config.

------------------------------------------------------------------------
r1622 | adk0212 | 2008-07-24 16:08:18 -0400 (Thu, 24 Jul 2008) | 2 lines

Remove obsolete configuration examples.

------------------------------------------------------------------------
r1621 | skoona | 2008-07-12 22:51:13 -0400 (Sat, 12 Jul 2008) | 2 lines

Update the ChangeLog

------------------------------------------------------------------------
r1620 | skoona | 2008-07-12 22:32:21 -0400 (Sat, 12 Jul 2008) | 16 lines

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

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

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

James,

------------------------------------------------------------------------
r1619 | skoona | 2008-07-12 20:23:35 -0400 (Sat, 12 Jul 2008) | 2 lines

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

------------------------------------------------------------------------
r1618 | adk0212 | 2008-07-12 15:13:56 -0400 (Sat, 12 Jul 2008) | 2 lines

Update to nsis-2.38

------------------------------------------------------------------------
r1617 | skoona | 2008-07-12 13:53:54 -0400 (Sat, 12 Jul 2008) | 2 lines

Part two of two parts -- kde iconify fix

------------------------------------------------------------------------
r1616 | skoona | 2008-07-12 12:54:17 -0400 (Sat, 12 Jul 2008) | 2 lines

Part one of two parts -- kde iconify fix

------------------------------------------------------------------------
r1607 | adk0212 | 2008-06-29 11:12:10 -0400 (Sun, 29 Jun 2008) | 5 lines

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

------------------------------------------------------------------------
r1606 | adk0212 | 2008-06-24 19:24:43 -0400 (Tue, 24 Jun 2008) | 2 lines

Silly spacing fix.

------------------------------------------------------------------------
r1605 | adk0212 | 2008-06-24 19:23:18 -0400 (Tue, 24 Jun 2008) | 3 lines

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

------------------------------------------------------------------------
r1604 | adk0212 | 2008-06-21 17:04:15 -0400 (Sat, 21 Jun 2008) | 3 lines

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

------------------------------------------------------------------------
r1603 | adk0212 | 2008-06-21 14:43:56 -0400 (Sat, 21 Jun 2008) | 6 lines

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

------------------------------------------------------------------------
r1602 | adk0212 | 2008-06-19 18:23:50 -0400 (Thu, 19 Jun 2008) | 3 lines

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

------------------------------------------------------------------------
r1601 | adk0212 | 2008-06-15 14:11:06 -0400 (Sun, 15 Jun 2008) | 2 lines

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

------------------------------------------------------------------------
r1600 | adk0212 | 2008-06-15 09:15:07 -0400 (Sun, 15 Jun 2008) | 2 lines

Update install to use new CHKCFG macro.

------------------------------------------------------------------------
r1599 | adk0212 | 2008-06-15 09:10:47 -0400 (Sun, 15 Jun 2008) | 2 lines

Update redhat to use new CHKCFG macro.

------------------------------------------------------------------------
r1598 | adk0212 | 2008-06-15 09:04:31 -0400 (Sun, 15 Jun 2008) | 2 lines

Fix harmless but annoying compiler warning on suse.

------------------------------------------------------------------------
r1597 | adk0212 | 2008-06-15 09:03:19 -0400 (Sun, 15 Jun 2008) | 7 lines

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

------------------------------------------------------------------------
r1596 | adk0212 | 2008-06-11 07:47:13 -0400 (Wed, 11 Jun 2008) | 3 lines

Update PCNET info: minimum password length is 15 chars, default username
is 'apc', no known way to change the username.

------------------------------------------------------------------------
r1595 | adk0212 | 2008-06-11 07:39:43 -0400 (Wed, 11 Jun 2008) | 3 lines

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

------------------------------------------------------------------------
r1594 | adk0212 | 2008-06-11 07:20:30 -0400 (Wed, 11 Jun 2008) | 2 lines

Add captured packets for testing PCNET driver.

------------------------------------------------------------------------
r1593 | adk0212 | 2008-06-09 21:22:47 -0400 (Mon, 09 Jun 2008) | 4 lines

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

------------------------------------------------------------------------
r1592 | adk0212 | 2008-06-09 21:16:48 -0400 (Mon, 09 Jun 2008) | 3 lines

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

------------------------------------------------------------------------
r1591 | adk0212 | 2008-06-01 17:57:56 -0400 (Sun, 01 Jun 2008) | 7 lines

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

------------------------------------------------------------------------
r1590 | fleetworks | 2008-05-31 08:42:50 -0400 (Sat, 31 May 2008) | 2 lines

Add restart of daemon on upgrade.

------------------------------------------------------------------------
r1583 | adk0212 | 2008-05-25 14:46:34 -0400 (Sun, 25 May 2008) | 2 lines

Update for 3.14.4 release.

------------------------------------------------------------------------
r1581 | adk0212 | 2008-05-18 14:21:27 -0400 (Sun, 18 May 2008) | 2 lines

Update ChangeLog.

------------------------------------------------------------------------
r1580 | adk0212 | 2008-05-18 14:18:54 -0400 (Sun, 18 May 2008) | 3 lines

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

------------------------------------------------------------------------
r1579 | adk0212 | 2008-05-18 13:16:48 -0400 (Sun, 18 May 2008) | 2 lines

Fix release date.

------------------------------------------------------------------------
r1578 | adk0212 | 2008-05-18 13:15:34 -0400 (Sun, 18 May 2008) | 2 lines

Prep for 3.14.4 release.

------------------------------------------------------------------------
r1577 | adk0212 | 2008-05-18 13:12:30 -0400 (Sun, 18 May 2008) | 2 lines

Add 'make install' support for man pages.

------------------------------------------------------------------------
r1576 | adk0212 | 2008-05-12 20:09:47 -0400 (Mon, 12 May 2008) | 2 lines

Remove obsolete files.

------------------------------------------------------------------------
r1575 | adk0212 | 2008-05-12 20:06:49 -0400 (Mon, 12 May 2008) | 2 lines

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

------------------------------------------------------------------------
r1574 | adk0212 | 2008-05-12 20:01:25 -0400 (Mon, 12 May 2008) | 2 lines

Remove references to powerflute.

------------------------------------------------------------------------
r1573 | adk0212 | 2008-05-11 18:34:37 -0400 (Sun, 11 May 2008) | 2 lines

Remove --with-powerflute flag from specs.

------------------------------------------------------------------------
r1572 | adk0212 | 2008-05-11 18:18:53 -0400 (Sun, 11 May 2008) | 2 lines

Remove old changelog.

------------------------------------------------------------------------
r1571 | adk0212 | 2008-05-11 17:00:55 -0400 (Sun, 11 May 2008) | 2 lines

Prep for 3.14.4 test release.

------------------------------------------------------------------------
r1570 | adk0212 | 2008-05-11 16:23:17 -0400 (Sun, 11 May 2008) | 2 lines

Remove unused file.

------------------------------------------------------------------------
r1569 | adk0212 | 2008-05-11 10:24:13 -0400 (Sun, 11 May 2008) | 2 lines

Update Mac OS X universal binary build instructions.

------------------------------------------------------------------------
r1568 | adk0212 | 2008-05-11 10:10:35 -0400 (Sun, 11 May 2008) | 2 lines

Remove unnecessary dependency includes.

------------------------------------------------------------------------
r1567 | adk0212 | 2008-05-11 09:56:51 -0400 (Sun, 11 May 2008) | 2 lines

Remove some obsolete Makefile.in

------------------------------------------------------------------------
r1566 | adk0212 | 2008-05-11 09:56:16 -0400 (Sun, 11 May 2008) | 2 lines

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

------------------------------------------------------------------------
r1565 | adk0212 | 2008-05-10 20:10:48 -0400 (Sat, 10 May 2008) | 2 lines

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

------------------------------------------------------------------------
r1564 | adk0212 | 2008-05-10 20:07:52 -0400 (Sat, 10 May 2008) | 5 lines

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

------------------------------------------------------------------------
r1563 | adk0212 | 2008-05-10 13:54:40 -0400 (Sat, 10 May 2008) | 4 lines

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

------------------------------------------------------------------------
r1562 | adk0212 | 2008-05-10 11:19:09 -0400 (Sat, 10 May 2008) | 2 lines

Do not perform platform install in parallel.

------------------------------------------------------------------------
r1561 | adk0212 | 2008-05-10 11:18:43 -0400 (Sat, 10 May 2008) | 2 lines

Recurse into platforms/ after src/.

------------------------------------------------------------------------
r1560 | adk0212 | 2008-05-10 10:52:46 -0400 (Sat, 10 May 2008) | 2 lines

Install banners for alpha.

------------------------------------------------------------------------
r1559 | adk0212 | 2008-05-10 10:51:15 -0400 (Sat, 10 May 2008) | 2 lines

Add banners to 'make install'.

------------------------------------------------------------------------
r1558 | adk0212 | 2008-05-10 10:47:37 -0400 (Sat, 10 May 2008) | 2 lines

Tweak install/uninstall banner spacing.

------------------------------------------------------------------------
r1557 | adk0212 | 2008-05-10 10:47:19 -0400 (Sat, 10 May 2008) | 2 lines

'make install' support for unifix and yellowdog.

------------------------------------------------------------------------
r1556 | adk0212 | 2008-05-09 20:04:45 -0400 (Fri, 09 May 2008) | 3 lines

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

------------------------------------------------------------------------
r1555 | adk0212 | 2008-05-09 19:39:56 -0400 (Fri, 09 May 2008) | 2 lines

'make install' support for sun.

------------------------------------------------------------------------
r1554 | adk0212 | 2008-05-08 19:37:16 -0400 (Thu, 08 May 2008) | 2 lines

Do not autogenerate platform/*/Makefile any more.

------------------------------------------------------------------------
r1553 | adk0212 | 2008-05-08 19:36:45 -0400 (Thu, 08 May 2008) | 2 lines

Add install/uninstall banner macros.

------------------------------------------------------------------------
r1552 | adk0212 | 2008-05-08 19:36:07 -0400 (Thu, 08 May 2008) | 2 lines

Add some path variables needed by platform install scripts.

------------------------------------------------------------------------
r1551 | adk0212 | 2008-05-08 19:35:21 -0400 (Thu, 08 May 2008) | 2 lines

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

------------------------------------------------------------------------
r1550 | adk0212 | 2008-05-08 18:57:15 -0400 (Thu, 08 May 2008) | 2 lines

'make install' support for *BSD

------------------------------------------------------------------------
r1549 | skoona | 2008-05-06 20:16:56 -0400 (Tue, 06 May 2008) | 2 lines

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

------------------------------------------------------------------------
r1548 | adk0212 | 2008-05-04 11:30:42 -0400 (Sun, 04 May 2008) | 3 lines

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

------------------------------------------------------------------------
r1547 | adk0212 | 2008-05-04 11:13:57 -0400 (Sun, 04 May 2008) | 4 lines

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

------------------------------------------------------------------------
r1546 | adk0212 | 2008-05-04 10:43:27 -0400 (Sun, 04 May 2008) | 2 lines

Update to NSIS 2.37.

------------------------------------------------------------------------
r1545 | adk0212 | 2008-05-04 10:43:12 -0400 (Sun, 04 May 2008) | 3 lines

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

------------------------------------------------------------------------
r1544 | skoona | 2008-04-20 19:03:10 -0400 (Sun, 20 Apr 2008) | 13 lines


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

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

James,

------------------------------------------------------------------------
r1543 | adk0212 | 2008-04-19 10:12:46 -0400 (Sat, 19 Apr 2008) | 2 lines

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

------------------------------------------------------------------------
r1542 | adk0212 | 2008-04-07 19:03:13 -0400 (Mon, 07 Apr 2008) | 3 lines

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

------------------------------------------------------------------------
r1541 | adk0212 | 2008-04-06 20:24:38 -0400 (Sun, 06 Apr 2008) | 2 lines

Don't autogenerate redhat Makefile.

------------------------------------------------------------------------
r1540 | adk0212 | 2008-04-06 19:35:52 -0400 (Sun, 06 Apr 2008) | 2 lines

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

------------------------------------------------------------------------
r1539 | adk0212 | 2008-04-06 19:09:02 -0400 (Sun, 06 Apr 2008) | 2 lines

Remove unused file.

------------------------------------------------------------------------
r1538 | adk0212 | 2008-04-06 19:07:43 -0400 (Sun, 06 Apr 2008) | 3 lines

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

------------------------------------------------------------------------
r1537 | adk0212 | 2008-04-04 19:11:15 -0400 (Fri, 04 Apr 2008) | 2 lines

Fix clean output on Solaris.

------------------------------------------------------------------------
r1536 | adk0212 | 2008-04-04 19:01:03 -0400 (Fri, 04 Apr 2008) | 5 lines

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

------------------------------------------------------------------------
r1535 | adk0212 | 2008-04-02 18:55:31 -0400 (Wed, 02 Apr 2008) | 7 lines

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

------------------------------------------------------------------------
r1533 | adk0212 | 2008-02-06 17:53:36 -0500 (Wed, 06 Feb 2008) | 4 lines

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

------------------------------------------------------------------------
r1532 | adk0212 | 2008-02-03 16:37:01 -0500 (Sun, 03 Feb 2008) | 2 lines

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

------------------------------------------------------------------------
r1531 | adk0212 | 2008-02-03 15:48:14 -0500 (Sun, 03 Feb 2008) | 2 lines

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

------------------------------------------------------------------------
r1530 | adk0212 | 2008-02-03 15:32:25 -0500 (Sun, 03 Feb 2008) | 2 lines

Fix libapcnis.c compile error on Solaris.

------------------------------------------------------------------------
r1529 | fleetworks | 2008-02-03 12:22:31 -0500 (Sun, 03 Feb 2008) | 2 lines

Add debug package to strip suse.

------------------------------------------------------------------------
r1528 | adk0212 | 2008-01-29 19:01:20 -0500 (Tue, 29 Jan 2008) | 2 lines

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

------------------------------------------------------------------------
r1527 | adk0212 | 2008-01-28 21:14:57 -0500 (Mon, 28 Jan 2008) | 3 lines

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

------------------------------------------------------------------------
r1526 | adk0212 | 2008-01-27 12:00:32 -0500 (Sun, 27 Jan 2008) | 3 lines

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

------------------------------------------------------------------------
r1525 | adk0212 | 2008-01-27 11:22:58 -0500 (Sun, 27 Jan 2008) | 4 lines

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

------------------------------------------------------------------------
r1523 | adk0212 | 2008-01-27 09:56:56 -0500 (Sun, 27 Jan 2008) | 2 lines

Another missing update.

------------------------------------------------------------------------
r1522 | adk0212 | 2008-01-27 09:49:42 -0500 (Sun, 27 Jan 2008) | 2 lines

Fix compile errors from incomplete input vs feature report conversion.

------------------------------------------------------------------------
r1514 | adk0212 | 2008-01-22 20:10:08 -0500 (Tue, 22 Jan 2008) | 3 lines

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

------------------------------------------------------------------------
r1513 | adk0212 | 2008-01-20 14:58:56 -0500 (Sun, 20 Jan 2008) | 2 lines

Update web site for 3.14.3.

------------------------------------------------------------------------
r1511 | adk0212 | 2008-01-19 16:48:36 -0500 (Sat, 19 Jan 2008) | 2 lines

Updates for 3.14.3 release.

------------------------------------------------------------------------
r1510 | adk0212 | 2008-01-19 13:43:52 -0500 (Sat, 19 Jan 2008) | 2 lines

Merge gapcmon changes from HEAD 1.41.

------------------------------------------------------------------------
r1509 | adk0212 | 2007-12-02 11:38:02 -0500 (Sun, 02 Dec 2007) | 2 lines

Fix compile warning.

------------------------------------------------------------------------
r1508 | adk0212 | 2007-11-29 19:49:02 -0500 (Thu, 29 Nov 2007) | 3 lines

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

------------------------------------------------------------------------
r1507 | adk0212 | 2007-11-21 17:09:30 -0500 (Wed, 21 Nov 2007) | 7 lines

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

------------------------------------------------------------------------
r1506 | adk0212 | 2007-11-21 17:05:03 -0500 (Wed, 21 Nov 2007) | 7 lines

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

------------------------------------------------------------------------
r1504 | fleetworks | 2007-11-18 10:25:13 -0500 (Sun, 18 Nov 2007) | 2 lines

Add halpolicydir to configure statement.

------------------------------------------------------------------------
r1503 | fleetworks | 2007-11-18 10:18:49 -0500 (Sun, 18 Nov 2007) | 2 lines

Make installs the hal policy file now.

------------------------------------------------------------------------
r1502 | adk0212 | 2007-11-17 14:09:23 -0500 (Sat, 17 Nov 2007) | 6 lines

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

------------------------------------------------------------------------
r1501 | adk0212 | 2007-11-17 14:06:38 -0500 (Sat, 17 Nov 2007) | 2 lines

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

------------------------------------------------------------------------
r1500 | fleetworks | 2007-11-17 10:48:06 -0500 (Sat, 17 Nov 2007) | 2 lines

Add hal policy file.

------------------------------------------------------------------------
r1499 | fleetworks | 2007-11-17 10:46:35 -0500 (Sat, 17 Nov 2007) | 2 lines

Add hal policy file.

------------------------------------------------------------------------
r1498 | adk0212 | 2007-11-17 10:00:27 -0500 (Sat, 17 Nov 2007) | 2 lines

Upgrade to nsis-2.33.

------------------------------------------------------------------------
r1497 | adk0212 | 2007-11-17 09:48:25 -0500 (Sat, 17 Nov 2007) | 2 lines

Remove extraneous comment close tag.

------------------------------------------------------------------------
r1496 | adk0212 | 2007-11-17 09:34:46 -0500 (Sat, 17 Nov 2007) | 3 lines

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

------------------------------------------------------------------------
r1495 | adk0212 | 2007-11-13 18:23:15 -0500 (Tue, 13 Nov 2007) | 2 lines

Fix debian package URLs. Found by Chris Reeves <chris@astro.ex.ac.uk>.

------------------------------------------------------------------------
r1494 | fleetworks | 2007-11-10 08:17:46 -0500 (Sat, 10 Nov 2007) | 2 lines

Update for suse 10.3

------------------------------------------------------------------------
r1493 | adk0212 | 2007-11-09 18:34:48 -0500 (Fri, 09 Nov 2007) | 2 lines

Update to nsis-2.32.

------------------------------------------------------------------------
r1492 | adk0212 | 2007-10-30 18:46:49 -0400 (Tue, 30 Oct 2007) | 2 lines

Fix changelog links for 3.14.2.

------------------------------------------------------------------------
r1491 | adk0212 | 2007-10-27 13:15:14 -0400 (Sat, 27 Oct 2007) | 2 lines

Missed part of write report conversion.

------------------------------------------------------------------------
r1490 | adk0212 | 2007-10-27 13:14:24 -0400 (Sat, 27 Oct 2007) | 2 lines

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

------------------------------------------------------------------------
r1489 | adk0212 | 2007-10-27 13:13:15 -0400 (Sat, 27 Oct 2007) | 5 lines

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

------------------------------------------------------------------------
r1481 | adk0212 | 2007-10-06 10:54:23 -0400 (Sat, 06 Oct 2007) | 4 lines

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

------------------------------------------------------------------------
r1475 | adk0212 | 2007-09-30 15:45:37 -0400 (Sun, 30 Sep 2007) | 2 lines

Merge gapcmon changes from HEAD.

------------------------------------------------------------------------
r1472 | adk0212 | 2007-09-22 13:35:27 -0400 (Sat, 22 Sep 2007) | 2 lines

Add units to NOMINV, NOMOUTV, and NOMBATTV stats.

------------------------------------------------------------------------
r1471 | adk0212 | 2007-09-22 13:33:29 -0400 (Sat, 22 Sep 2007) | 3 lines

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

------------------------------------------------------------------------
r1470 | adk0212 | 2007-09-22 13:10:16 -0400 (Sat, 22 Sep 2007) | 2 lines

Convert eleventy skillion CI_* defines to an enumeration.

------------------------------------------------------------------------
r1469 | adk0212 | 2007-09-22 08:48:35 -0400 (Sat, 22 Sep 2007) | 2 lines

Update web site for 3.14.2 release.

------------------------------------------------------------------------
r1467 | adk0212 | 2007-09-15 17:07:10 -0400 (Sat, 15 Sep 2007) | 2 lines

Update ChangeLog, ReleaseNotes, and date for 3.14.2 release.

------------------------------------------------------------------------
r1466 | adk0212 | 2007-09-15 10:48:35 -0400 (Sat, 15 Sep 2007) | 2 lines

Remove commented-out code.

------------------------------------------------------------------------
r1465 | adk0212 | 2007-09-15 10:48:16 -0400 (Sat, 15 Sep 2007) | 2 lines

Misc cleanup.

------------------------------------------------------------------------
r1464 | adk0212 | 2007-09-15 10:48:00 -0400 (Sat, 15 Sep 2007) | 2 lines

Fix handle leaks when adding/deleting instances.

------------------------------------------------------------------------
r1463 | adk0212 | 2007-09-10 19:35:00 -0400 (Mon, 10 Sep 2007) | 2 lines

Update NSIS to 2.30.

------------------------------------------------------------------------
r1462 | adk0212 | 2007-09-10 19:31:16 -0400 (Mon, 10 Sep 2007) | 2 lines

Bump version to 3.14.2.

------------------------------------------------------------------------
r1461 | adk0212 | 2007-09-10 19:09:49 -0400 (Mon, 10 Sep 2007) | 5 lines

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

------------------------------------------------------------------------
r1460 | adk0212 | 2007-09-10 19:08:12 -0400 (Mon, 10 Sep 2007) | 2 lines

Minor cleanup and spelling fix.

------------------------------------------------------------------------
r1459 | adk0212 | 2007-08-28 19:57:51 -0400 (Tue, 28 Aug 2007) | 5 lines

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

------------------------------------------------------------------------
r1458 | adk0212 | 2007-08-28 19:02:22 -0400 (Tue, 28 Aug 2007) | 3 lines

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

------------------------------------------------------------------------
r1457 | adk0212 | 2007-08-25 15:01:34 -0400 (Sat, 25 Aug 2007) | 5 lines

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

------------------------------------------------------------------------
r1456 | adk0212 | 2007-08-23 18:43:08 -0400 (Thu, 23 Aug 2007) | 4 lines

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

------------------------------------------------------------------------
r1455 | adk0212 | 2007-08-06 20:17:20 -0400 (Mon, 06 Aug 2007) | 2 lines

Exit apctray if GetMessage() returns an error.

------------------------------------------------------------------------
r1454 | adk0212 | 2007-08-06 20:16:37 -0400 (Mon, 06 Aug 2007) | 2 lines

Use enum for application-defined messages.

------------------------------------------------------------------------
r1453 | adk0212 | 2007-08-06 20:16:15 -0400 (Mon, 06 Aug 2007) | 2 lines

Redraw tray icons politely after an Explorer crash.

------------------------------------------------------------------------
r1452 | adk0212 | 2007-08-05 17:31:56 -0400 (Sun, 05 Aug 2007) | 5 lines

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

------------------------------------------------------------------------
r1451 | adk0212 | 2007-08-03 15:08:59 -0400 (Fri, 03 Aug 2007) | 2 lines

More argvalue to its primary user, apcconfig.c.

------------------------------------------------------------------------
r1450 | adk0212 | 2007-08-03 15:08:26 -0400 (Fri, 03 Aug 2007) | 4 lines

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

------------------------------------------------------------------------
r1449 | adk0212 | 2007-08-03 14:41:05 -0400 (Fri, 03 Aug 2007) | 2 lines

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

------------------------------------------------------------------------
r1448 | adk0212 | 2007-08-03 13:52:05 -0400 (Fri, 03 Aug 2007) | 3 lines

Documentation updates: Fix up udev info for modern Linux distros. Update
Windows section for apctray.

------------------------------------------------------------------------
r1447 | adk0212 | 2007-08-03 11:49:24 -0400 (Fri, 03 Aug 2007) | 5 lines

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

------------------------------------------------------------------------
r1446 | adk0212 | 2007-08-03 11:47:22 -0400 (Fri, 03 Aug 2007) | 2 lines

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

------------------------------------------------------------------------
r1445 | adk0212 | 2007-08-03 11:20:29 -0400 (Fri, 03 Aug 2007) | 4 lines

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

------------------------------------------------------------------------
r1444 | adk0212 | 2007-08-03 11:17:38 -0400 (Fri, 03 Aug 2007) | 2 lines

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

------------------------------------------------------------------------
r1443 | adk0212 | 2007-08-01 19:05:51 -0400 (Wed, 01 Aug 2007) | 3 lines

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

------------------------------------------------------------------------
r1442 | adk0212 | 2007-07-26 16:36:28 -0400 (Thu, 26 Jul 2007) | 2 lines

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

------------------------------------------------------------------------
r1441 | adk0212 | 2007-07-20 12:17:34 -0400 (Fri, 20 Jul 2007) | 2 lines

Add support for simulating comm failure.

------------------------------------------------------------------------
r1440 | adk0212 | 2007-07-17 18:54:25 -0400 (Tue, 17 Jul 2007) | 2 lines

Include /dev in hiddev search.

------------------------------------------------------------------------
r1439 | adk0212 | 2007-07-17 18:50:25 -0400 (Tue, 17 Jul 2007) | 3 lines

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

------------------------------------------------------------------------
r1438 | adk0212 | 2007-07-16 20:28:09 -0400 (Mon, 16 Jul 2007) | 3 lines

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

------------------------------------------------------------------------
r1437 | adk0212 | 2007-07-14 13:26:26 -0400 (Sat, 14 Jul 2007) | 2 lines

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

------------------------------------------------------------------------
r1436 | adk0212 | 2007-07-14 13:05:22 -0400 (Sat, 14 Jul 2007) | 2 lines

Add HOST field showing hostname:port to context menu.

------------------------------------------------------------------------
r1435 | adk0212 | 2007-07-14 13:04:52 -0400 (Sat, 14 Jul 2007) | 2 lines

Update NSIS to version 2.29.

------------------------------------------------------------------------
r1434 | adk0212 | 2007-07-14 12:53:31 -0400 (Sat, 14 Jul 2007) | 2 lines

Disable autorun when last instance removed.

------------------------------------------------------------------------
r1433 | adk0212 | 2007-07-01 14:30:32 -0400 (Sun, 01 Jul 2007) | 4 lines

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

------------------------------------------------------------------------
r1432 | adk0212 | 2007-06-29 18:18:41 -0400 (Fri, 29 Jun 2007) | 4 lines

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

------------------------------------------------------------------------
r1431 | adk0212 | 2007-06-19 20:43:23 -0400 (Tue, 19 Jun 2007) | 2 lines

Update for 3.14.2-win32beta2 release.

------------------------------------------------------------------------
r1429 | adk0212 | 2007-06-18 20:23:41 -0400 (Mon, 18 Jun 2007) | 2 lines

Regen ChangeLog after committing forgotten files.

------------------------------------------------------------------------
r1428 | adk0212 | 2007-06-18 19:49:45 -0400 (Mon, 18 Jun 2007) | 2 lines

Change CMD* definitions to enumeration.

------------------------------------------------------------------------
r1427 | adk0212 | 2007-06-18 19:49:20 -0400 (Mon, 18 Jun 2007) | 2 lines

Remove unused CMDDOREBOOT.

------------------------------------------------------------------------
r1426 | adk0212 | 2007-06-18 19:47:13 -0400 (Mon, 18 Jun 2007) | 2 lines

Remove unused code.

------------------------------------------------------------------------
r1425 | adk0212 | 2007-06-18 19:45:52 -0400 (Mon, 18 Jun 2007) | 2 lines

Regen ChangeLog for 3.14.2-win32beta2.

------------------------------------------------------------------------
r1424 | adk0212 | 2007-06-18 19:38:34 -0400 (Mon, 18 Jun 2007) | 2 lines

Update for 3.14.2-win32beta2 release.

------------------------------------------------------------------------
r1423 | adk0212 | 2007-06-17 20:19:24 -0400 (Sun, 17 Jun 2007) | 2 lines

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

------------------------------------------------------------------------
r1422 | adk0212 | 2007-06-17 20:14:20 -0400 (Sun, 17 Jun 2007) | 2 lines

Clean up apctray needless inlining and memory management.

------------------------------------------------------------------------
r1421 | adk0212 | 2007-06-17 19:49:45 -0400 (Sun, 17 Jun 2007) | 2 lines

Cleanup.

------------------------------------------------------------------------
r1420 | adk0212 | 2007-06-17 19:47:08 -0400 (Sun, 17 Jun 2007) | 2 lines

Gracefully handle unexpected return values from WaitForMultipleObjects().

------------------------------------------------------------------------
r1419 | adk0212 | 2007-06-17 16:07:23 -0400 (Sun, 17 Jun 2007) | 5 lines

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

------------------------------------------------------------------------
r1418 | adk0212 | 2007-06-17 15:54:06 -0400 (Sun, 17 Jun 2007) | 4 lines

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

------------------------------------------------------------------------
r1417 | adk0212 | 2007-06-17 15:19:56 -0400 (Sun, 17 Jun 2007) | 2 lines

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

------------------------------------------------------------------------
r1416 | adk0212 | 2007-06-17 13:19:54 -0400 (Sun, 17 Jun 2007) | 2 lines

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

------------------------------------------------------------------------
r1415 | adk0212 | 2007-06-17 13:15:08 -0400 (Sun, 17 Jun 2007) | 2 lines

Suppress initial status balloon.

------------------------------------------------------------------------
r1414 | adk0212 | 2007-06-17 13:12:33 -0400 (Sun, 17 Jun 2007) | 2 lines

Misc cleanup.

------------------------------------------------------------------------
r1413 | adk0212 | 2007-06-17 12:14:39 -0400 (Sun, 17 Jun 2007) | 10 lines

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

------------------------------------------------------------------------
r1412 | adk0212 | 2007-06-17 09:42:54 -0400 (Sun, 17 Jun 2007) | 2 lines

Add support for simulating battery attach/detach.

------------------------------------------------------------------------
r1411 | adk0212 | 2007-06-17 08:54:10 -0400 (Sun, 17 Jun 2007) | 2 lines

Fix indentation.

------------------------------------------------------------------------
r1410 | adk0212 | 2007-06-13 20:07:45 -0400 (Wed, 13 Jun 2007) | 2 lines

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

------------------------------------------------------------------------
r1409 | adk0212 | 2007-06-13 18:35:57 -0400 (Wed, 13 Jun 2007) | 3 lines

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

------------------------------------------------------------------------
r1408 | adk0212 | 2007-06-13 18:34:08 -0400 (Wed, 13 Jun 2007) | 2 lines

Prevent multiple instances of Apctray.

------------------------------------------------------------------------
r1407 | adk0212 | 2007-06-13 18:29:08 -0400 (Wed, 13 Jun 2007) | 2 lines

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

------------------------------------------------------------------------
r1406 | adk0212 | 2007-06-10 16:05:56 -0400 (Sun, 10 Jun 2007) | 2 lines

Fix indentation.

------------------------------------------------------------------------
r1405 | adk0212 | 2007-06-10 16:05:43 -0400 (Sun, 10 Jun 2007) | 2 lines

Add refresh button to events box.

------------------------------------------------------------------------
r1404 | adk0212 | 2007-06-10 16:04:55 -0400 (Sun, 10 Jun 2007) | 2 lines

Add refresh button list stats now has.

------------------------------------------------------------------------
r1403 | adk0212 | 2007-06-10 14:03:31 -0400 (Sun, 10 Jun 2007) | 2 lines

Update web site for 3.14.2-beta1 release.

------------------------------------------------------------------------
r1401 | adk0212 | 2007-06-10 10:13:19 -0400 (Sun, 10 Jun 2007) | 2 lines

Final updates for apcupsd-3.14.2-win32beta1 release.

------------------------------------------------------------------------
r1400 | adk0212 | 2007-06-10 09:34:26 -0400 (Sun, 10 Jun 2007) | 2 lines

Misc updates and small bug fixes.

------------------------------------------------------------------------
r1399 | adk0212 | 2007-06-10 09:33:18 -0400 (Sun, 10 Jun 2007) | 3 lines

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

------------------------------------------------------------------------
r1398 | adk0212 | 2007-06-09 21:34:12 -0400 (Sat, 09 Jun 2007) | 3 lines

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

------------------------------------------------------------------------
r1397 | adk0212 | 2007-06-09 20:02:35 -0400 (Sat, 09 Jun 2007) | 2 lines

More changes for better multiple monitor support.

------------------------------------------------------------------------
r1396 | adk0212 | 2007-06-09 15:47:08 -0400 (Sat, 09 Jun 2007) | 4 lines

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

------------------------------------------------------------------------
r1395 | adk0212 | 2007-06-07 19:43:08 -0400 (Thu, 07 Jun 2007) | 3 lines

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

------------------------------------------------------------------------
r1394 | adk0212 | 2007-06-06 22:11:31 -0400 (Wed, 06 Jun 2007) | 2 lines

Fix timeout bug.

------------------------------------------------------------------------
r1393 | adk0212 | 2007-06-06 22:06:47 -0400 (Wed, 06 Jun 2007) | 2 lines

Shutdown status polling thread cleanly.

------------------------------------------------------------------------
r1392 | adk0212 | 2007-06-06 22:05:36 -0400 (Wed, 06 Jun 2007) | 3 lines

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

------------------------------------------------------------------------
r1391 | adk0212 | 2007-06-06 21:26:12 -0400 (Wed, 06 Jun 2007) | 3 lines

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

------------------------------------------------------------------------
r1390 | adk0212 | 2007-06-06 19:53:11 -0400 (Wed, 06 Jun 2007) | 2 lines

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

------------------------------------------------------------------------
r1389 | adk0212 | 2007-06-06 19:49:32 -0400 (Wed, 06 Jun 2007) | 2 lines

Remove unused file.

------------------------------------------------------------------------
r1388 | adk0212 | 2007-06-06 19:48:05 -0400 (Wed, 06 Jun 2007) | 2 lines

Remove unused files.

------------------------------------------------------------------------
r1387 | adk0212 | 2007-06-06 19:44:03 -0400 (Wed, 06 Jun 2007) | 2 lines

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

------------------------------------------------------------------------
r1386 | adk0212 | 2007-06-06 18:53:44 -0400 (Wed, 06 Jun 2007) | 3 lines

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

------------------------------------------------------------------------
r1385 | adk0212 | 2007-06-06 18:29:10 -0400 (Wed, 06 Jun 2007) | 2 lines

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

------------------------------------------------------------------------
r1384 | adk0212 | 2007-06-06 18:28:46 -0400 (Wed, 06 Jun 2007) | 2 lines

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

------------------------------------------------------------------------
r1383 | adk0212 | 2007-06-05 20:42:45 -0400 (Tue, 05 Jun 2007) | 3 lines

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

------------------------------------------------------------------------
r1382 | adk0212 | 2007-06-05 20:41:41 -0400 (Tue, 05 Jun 2007) | 3 lines

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

------------------------------------------------------------------------
r1381 | adk0212 | 2007-06-05 18:43:24 -0400 (Tue, 05 Jun 2007) | 3 lines

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

------------------------------------------------------------------------
r1380 | adk0212 | 2007-06-05 18:39:37 -0400 (Tue, 05 Jun 2007) | 4 lines

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

------------------------------------------------------------------------
r1379 | adk0212 | 2007-06-05 18:34:29 -0400 (Tue, 05 Jun 2007) | 4 lines

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

------------------------------------------------------------------------
r1378 | adk0212 | 2007-06-05 18:33:06 -0400 (Tue, 05 Jun 2007) | 4 lines

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

------------------------------------------------------------------------
r1377 | adk0212 | 2007-06-03 22:38:26 -0400 (Sun, 03 Jun 2007) | 2 lines

Add custom page for installing Apctray and configuring its parameters.

------------------------------------------------------------------------
r1376 | adk0212 | 2007-06-03 13:05:20 -0400 (Sun, 03 Jun 2007) | 3 lines

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

------------------------------------------------------------------------
r1375 | adk0212 | 2007-06-03 13:04:28 -0400 (Sun, 03 Jun 2007) | 2 lines

Add definition for edit apcupsd.conf custom page.

------------------------------------------------------------------------
r1374 | adk0212 | 2007-06-03 12:38:26 -0400 (Sun, 03 Jun 2007) | 2 lines

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

------------------------------------------------------------------------
r1373 | adk0212 | 2007-06-03 12:31:53 -0400 (Sun, 03 Jun 2007) | 3 lines

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

------------------------------------------------------------------------
r1372 | adk0212 | 2007-06-03 11:35:21 -0400 (Sun, 03 Jun 2007) | 3 lines

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

------------------------------------------------------------------------
r1371 | adk0212 | 2007-06-02 23:48:54 -0400 (Sat, 02 Jun 2007) | 2 lines

Update NSIS to 2.27 for better x64 compatibility.

------------------------------------------------------------------------
r1370 | adk0212 | 2007-06-02 23:48:23 -0400 (Sat, 02 Jun 2007) | 3 lines

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

------------------------------------------------------------------------
r1369 | adk0212 | 2007-06-02 23:45:27 -0400 (Sat, 02 Jun 2007) | 2 lines

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

------------------------------------------------------------------------
r1368 | adk0212 | 2007-06-02 23:24:15 -0400 (Sat, 02 Jun 2007) | 2 lines

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

------------------------------------------------------------------------
r1367 | adk0212 | 2007-06-02 19:07:11 -0400 (Sat, 02 Jun 2007) | 2 lines

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

------------------------------------------------------------------------
r1366 | adk0212 | 2007-06-02 18:57:02 -0400 (Sat, 02 Jun 2007) | 5 lines

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

------------------------------------------------------------------------
r1365 | adk0212 | 2007-06-02 18:22:48 -0400 (Sat, 02 Jun 2007) | 3 lines

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

------------------------------------------------------------------------
r1364 | adk0212 | 2007-06-02 18:04:10 -0400 (Sat, 02 Jun 2007) | 3 lines

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

------------------------------------------------------------------------
r1363 | adk0212 | 2007-06-02 17:34:04 -0400 (Sat, 02 Jun 2007) | 2 lines

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

------------------------------------------------------------------------
r1362 | adk0212 | 2007-06-02 16:28:46 -0400 (Sat, 02 Jun 2007) | 2 lines

Update about box.

------------------------------------------------------------------------
r1361 | adk0212 | 2007-06-02 15:22:41 -0400 (Sat, 02 Jun 2007) | 4 lines

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

------------------------------------------------------------------------
r1360 | adk0212 | 2007-06-02 13:46:29 -0400 (Sat, 02 Jun 2007) | 2 lines

Misc fixes. apctray is working now.

------------------------------------------------------------------------
r1359 | adk0212 | 2007-06-02 13:23:00 -0400 (Sat, 02 Jun 2007) | 4 lines

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

------------------------------------------------------------------------
r1358 | adk0212 | 2007-06-02 11:12:44 -0400 (Sat, 02 Jun 2007) | 2 lines

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

------------------------------------------------------------------------
r1357 | adk0212 | 2007-06-01 20:12:56 -0400 (Fri, 01 Jun 2007) | 2 lines

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

------------------------------------------------------------------------
r1356 | adk0212 | 2007-05-31 20:11:52 -0400 (Thu, 31 May 2007) | 7 lines

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

------------------------------------------------------------------------
r1355 | adk0212 | 2007-05-31 20:11:26 -0400 (Thu, 31 May 2007) | 2 lines

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

------------------------------------------------------------------------
r1353 | fleetworks | 2007-05-28 07:03:11 -0400 (Mon, 28 May 2007) | 2 lines

RHEL5 update.

------------------------------------------------------------------------
r1352 | adk0212 | 2007-05-27 13:20:34 -0400 (Sun, 27 May 2007) | 2 lines

Add rhel5 to contrib-rpm.

------------------------------------------------------------------------
r1351 | adk0212 | 2007-05-27 13:17:02 -0400 (Sun, 27 May 2007) | 2 lines

Fix changelog copy-n-paste error.

------------------------------------------------------------------------
r1350 | adk0212 | 2007-05-27 13:15:59 -0400 (Sun, 27 May 2007) | 2 lines

Add rhel5 support in spec.

------------------------------------------------------------------------
r1349 | adk0212 | 2007-05-26 15:07:12 -0400 (Sat, 26 May 2007) | 2 lines

Update website for 3.14.1 release.

------------------------------------------------------------------------
r1347 | adk0212 | 2007-05-04 19:18:47 -0400 (Fri, 04 May 2007) | 2 lines

Update ChangeLog.

------------------------------------------------------------------------
r1346 | adk0212 | 2007-05-04 19:17:00 -0400 (Fri, 04 May 2007) | 2 lines

Maybe this time...

------------------------------------------------------------------------
r1345 | adk0212 | 2007-05-03 18:31:47 -0400 (Thu, 03 May 2007) | 5 lines

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

------------------------------------------------------------------------
r1344 | adk0212 | 2007-05-01 20:26:52 -0400 (Tue, 01 May 2007) | 10 lines

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

------------------------------------------------------------------------
r1343 | adk0212 | 2007-04-30 22:14:13 -0400 (Mon, 30 Apr 2007) | 2 lines

Disable a few CIs that SNMP cards do not support.

------------------------------------------------------------------------
r1342 | adk0212 | 2007-04-30 21:37:55 -0400 (Mon, 30 Apr 2007) | 3 lines

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

------------------------------------------------------------------------
r1341 | adk0212 | 2007-04-27 19:30:31 -0400 (Fri, 27 Apr 2007) | 5 lines

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

------------------------------------------------------------------------
r1340 | adk0212 | 2007-04-27 19:25:40 -0400 (Fri, 27 Apr 2007) | 2 lines

Normalize shut remote message.

------------------------------------------------------------------------
r1339 | adk0212 | 2007-04-27 19:24:26 -0400 (Fri, 27 Apr 2007) | 4 lines

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

------------------------------------------------------------------------
r1338 | adk0212 | 2007-04-23 19:47:58 -0400 (Mon, 23 Apr 2007) | 2 lines

Rev ChangeLog.

------------------------------------------------------------------------
r1337 | adk0212 | 2007-04-23 19:45:24 -0400 (Mon, 23 Apr 2007) | 2 lines

Did I say "final"?

------------------------------------------------------------------------
r1336 | adk0212 | 2007-04-23 19:37:52 -0400 (Mon, 23 Apr 2007) | 3 lines

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

------------------------------------------------------------------------
r1335 | adk0212 | 2007-04-23 19:35:33 -0400 (Mon, 23 Apr 2007) | 7 lines

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

------------------------------------------------------------------------
r1334 | adk0212 | 2007-04-21 20:37:23 -0400 (Sat, 21 Apr 2007) | 2 lines

Update ChangeLog for 3.14.1 (again).

------------------------------------------------------------------------
r1333 | adk0212 | 2007-04-21 20:35:15 -0400 (Sat, 21 Apr 2007) | 2 lines

Final updates for 3.14.1.

------------------------------------------------------------------------
r1332 | adk0212 | 2007-04-21 20:24:56 -0400 (Sat, 21 Apr 2007) | 2 lines

Clarify FreeBSD versions in USB kernel section.

------------------------------------------------------------------------
r1331 | adk0212 | 2007-04-21 19:59:46 -0400 (Sat, 21 Apr 2007) | 3 lines

Add USB info for NetBSD 4.x (ugen binding can be forced on a particular
port). Contributed by Curt Sampson <cjs@starling-software.com>.

------------------------------------------------------------------------
r1330 | adk0212 | 2007-04-21 19:27:47 -0400 (Sat, 21 Apr 2007) | 3 lines

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

------------------------------------------------------------------------
r1329 | adk0212 | 2007-04-18 19:33:19 -0400 (Wed, 18 Apr 2007) | 2 lines

Updated changelog for 3.14.1.

------------------------------------------------------------------------
r1328 | adk0212 | 2007-04-18 19:30:48 -0400 (Wed, 18 Apr 2007) | 2 lines

Prep for 3.14.1 release.

------------------------------------------------------------------------
r1327 | adk0212 | 2007-03-25 15:38:39 -0400 (Sun, 25 Mar 2007) | 4 lines

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

------------------------------------------------------------------------
r1326 | adk0212 | 2007-03-25 15:34:02 -0400 (Sun, 25 Mar 2007) | 2 lines

Remove references to int8_t and int16_t.

------------------------------------------------------------------------
r1325 | adk0212 | 2007-03-05 22:41:46 -0500 (Mon, 05 Mar 2007) | 2 lines

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

------------------------------------------------------------------------
r1324 | adk0212 | 2007-03-03 16:40:44 -0500 (Sat, 03 Mar 2007) | 2 lines

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

------------------------------------------------------------------------
r1323 | adk0212 | 2007-03-03 16:28:03 -0500 (Sat, 03 Mar 2007) | 2 lines

Regen with Mac OS X installer changes.

------------------------------------------------------------------------
r1322 | adk0212 | 2007-03-03 16:23:42 -0500 (Sat, 03 Mar 2007) | 2 lines

Add binary installer support for Mac OS X.

------------------------------------------------------------------------
r1321 | adk0212 | 2007-02-17 12:02:00 -0500 (Sat, 17 Feb 2007) | 3 lines

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

------------------------------------------------------------------------
r1320 | adk0212 | 2007-02-17 12:00:50 -0500 (Sat, 17 Feb 2007) | 3 lines

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

------------------------------------------------------------------------
r1319 | adk0212 | 2007-02-13 19:02:55 -0500 (Tue, 13 Feb 2007) | 3 lines

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

------------------------------------------------------------------------
r1318 | (no author) | 2007-02-11 10:33:33 -0500 (Sun, 11 Feb 2007) | 1 line

This commit was manufactured by cvs2svn to create branch 'Branch-3_14'.
------------------------------------------------------------------------

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks