| History log of /src/usr.sbin/apmd |
| Revision | Date | Author | Comments |
| 1.18 | 03-Jun-2023 |
lukem | bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler.
GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH
Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
|
| 1.17 | 13-Oct-2019 |
mrg | introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)
use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come.
we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
|
| 1.16 | 02-May-2013 |
matt | branches: 1.16.28; This change arm, armeb, earm, earmeb, earmhf, earmhfeb so all builds that share a MACHINE_ARCH for userland so that except for etc, will produce identical sets.
usr/include/machine now points to usr/include/arm
|
| 1.15 | 13-Dec-2009 |
nakayama | branches: 1.15.6; 1.15.12; System utilities, boot programs and kernel modules are machine (port) specific not CPU, so use MACHINE not MACHINE_ARCH.
|
| 1.14 | 22-Apr-2009 |
lukem | Enable WARNS=4 by default, except for: cpuctl dumplfs hprop ipf iprop-log kadmin kcm kdc kdigest kimpersonate kstash ktutil makefs ndbootd ntp pppd quot racoon racoonctl rtadvd sntp sup tcpdchk tcpdmatch tcpdump traceroute traceroute6 user veriexecgen wsmoused zic (Mostly third-party applications)
|
| 1.13 | 14-Feb-2009 |
abs | Convert more MACHINE tests to MACHINE_ARCH
|
| 1.12 | 29-Jul-2007 |
nonaka | branches: 1.12.16; 1.12.20; Added zaurus.
|
| 1.11 | 16-Mar-2005 |
xtraeme | Kill __P(); WARNS=3
|
| 1.10 | 04-Jul-2004 |
uch | add hpcsh
|
| 1.9 | 14-Oct-2002 |
takemura | Enabled apm command device node for hpcmips and put apm.8 and zzz.8 man pages into mi directory.
|
| 1.8 | 18-Jun-2002 |
itojun | userland access to apm emulation.
|
| 1.7 | 15-Dec-1999 |
garbled | Enable build on sparc, and move manpage out of i386 specific directory
|
| 1.6 | 06-Jun-1999 |
thorpej | branches: 1.6.4; Use pidfile(3).
|
| 1.5 | 18-Oct-1997 |
lukem | enable WARNS=1 by default, but disable in unclean 3rd party code
|
| 1.4 | 03-Oct-1997 |
mikel | replace -W flags in CFLAGS with WARNS?=1, cleanup
|
| 1.3 | 23-Jun-1997 |
mrg | decend all subdirs for man pages.
|
| 1.2 | 24-Mar-1997 |
christos | Makefile cleanups
|
| 1.1 | 25-Aug-1996 |
jtk | add Advanced Power Management driver Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)
|
| 1.6.4.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.12.20.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.12.16.2 | 29-Jul-2007 |
nonaka | Added zaurus.
|
| 1.12.16.1 | 29-Jul-2007 |
nonaka | file Makefile was added on branch matt-mips64 on 2007-07-29 14:34:46 +0000
|
| 1.15.12.1 | 23-Jun-2013 |
tls | resync from head
|
| 1.15.6.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.16.28.1 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.5 | 28-Apr-2008 |
martin | Remove clause 3 and 4 from TNF licenses
|
| 1.4 | 16-Mar-2005 |
xtraeme | branches: 1.4.24; Kill __P(); WARNS=3
|
| 1.3 | 30-Jul-1997 |
jtc | Fix files using old TNF copyright notice
|
| 1.2 | 25-Sep-1996 |
jtc | Copyright has been assigned to The NetBSD Foundation
|
| 1.1 | 25-Aug-1996 |
jtk | add Advanced Power Management driver Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)
|
| 1.4.24.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.22 | 08-Apr-2012 |
wiz | Remove unnecessary Bk/Ek pairs from SYNOPSIS. No effective change except where I used the opportunity to sort options and/or option descriptions.
|
| 1.21 | 20-Mar-2010 |
jruoho | branches: 1.21.6; Note also here that this is a legacy daemon that is more or less deprecated.
|
| 1.20 | 25-Sep-2008 |
reed | Mention that the program is only installed on supported platforms. (Also add a paragraph break.)
I didn't specifically mention the platforms or what support is needed. At least someone reading the manpage will have some idea why the tool is missing from their system.
(Some manual pages mention this in the BUGS section, but I didn't do that.)
|
| 1.19 | 30-Apr-2008 |
martin | Convert TNF licenses to new 2 clause variant
|
| 1.18 | 16-May-2004 |
wiz | branches: 1.18.24; Describe default polling rate correctly, from Jeff Ito in PR 25589. New sentence, new line while here; bump date.
|
| 1.17 | 25-Feb-2003 |
wiz | branches: 1.17.2; .Nm does not need a dummy argument ("") before punctuation or for correct formatting of the SYNOPSIS any longer.
|
| 1.16 | 03-Apr-2001 |
wiz | Xref apm 8, not 1. Whitespace fixes while I'm here.
|
| 1.15 | 05-Nov-2000 |
lukem | format the option descriptions in a more standard (and imho readable) style
|
| 1.14 | 04-Mar-2000 |
mycroft | branches: 1.14.4; Add a `-v' option, and make various log messages depend on `-d' or `-v'.
|
| 1.13 | 02-Feb-2000 |
enami | Kill the period in SEE ALSO.
|
| 1.12 | 29-Dec-1999 |
hubertf | mention /usr/share/examples/apm/script
|
| 1.11 | 22-Mar-1999 |
garbled | More and more .Os cleanups. .Os is defined in the tmac.doc-common file, so we shouldn't override it with versions in the manpages. Many more to come.
|
| 1.10 | 07-Mar-1999 |
mycroft | Clean up SYNOPSIS formatting.
|
| 1.9 | 19-Dec-1998 |
christos | PR/6606: Johnny C. Lam: Add -l flag to apmd so that it suspends automagically when the is a battery low event.
|
| 1.8 | 19-Nov-1998 |
kenh | Add support for running scripts for line power to battery transitions (and vice versa).
|
| 1.7 | 17-Oct-1997 |
lukem | remove unnecessary externs
|
| 1.6 | 03-Oct-1997 |
mikel | apm is new in 1.3, update HISTORY to say so
|
| 1.5 | 30-Jul-1997 |
jtc | Fix files using old TNF copyright notice
|
| 1.4 | 11-Jul-1997 |
mikel | xref execve(2) not nonexistent execv(2), reorder xrefs
|
| 1.3 | 25-Sep-1996 |
jtc | Copyright has been assigned to The NetBSD Foundation
|
| 1.2 | 13-Sep-1996 |
jtk | add -o and -m options for owner/group and mode of the socket
|
| 1.1 | 25-Aug-1996 |
jtk | add Advanced Power Management driver Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)
|
| 1.14.4.1 | 04-Apr-2001 |
he | Pull up revisions 1.15-1.16 (requested by wiz): Improve formatting of option descriptions. Xref apm 8, not 1 + whitespace fixes.
|
| 1.17.2.1 | 17-May-2004 |
tron | Pull up revision 1.18 (requested by wiz in ticket #343): Describe default polling rate correctly, from Jeff Ito in PR 25589. New sentence, new line while here; bump date.
|
| 1.18.24.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.21.6.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.32 | 25-Nov-2011 |
joerg | Use static + __dead
|
| 1.31 | 28-Apr-2008 |
martin | branches: 1.31.4; Remove clause 3 and 4 from TNF licenses
|
| 1.30 | 07-Oct-2006 |
elad | branches: 1.30.16; PR/18906: roskens at elfin dot net: misc. select() to poll() updates.
Adapted to -current by myself, thanks for the patch!
|
| 1.29 | 09-May-2006 |
mrg | change (mostly) int to socklen_t. GCC 4 doesn't like that int and socklen_t are different signness.
|
| 1.28 | 20-Jan-2006 |
elad | Default socket owner to operator:operator.
|
| 1.27 | 06-Jan-2004 |
wiz | Remove unused (unsafe!) MAX macro. From Jeff Ito in PR 23995.
|
| 1.26 | 24-Jun-2003 |
martin | Make child processes log failure to exec scripts.
|
| 1.25 | 23-Sep-2002 |
mycroft | null commit
|
| 1.24 | 23-Sep-2002 |
itojun | poll.h, not sys/poll.h
|
| 1.23 | 18-Sep-2002 |
mycroft | select() -> poll()
|
| 1.22 | 11-Jan-2002 |
itojun | daemon(3) has to be called prior to file descriptor setups.
|
| 1.21 | 31-Dec-2001 |
thorpej | Statements must follow labels.
|
| 1.20 | 15-Sep-2001 |
enami | Zero clear the apm_power_info structure being passed to ioctl.
|
| 1.19 | 06-Apr-2001 |
wiz | Negative exit code cleanup: Replace exit(-x) with exit(x). As seen on tech-userlevel.
|
| 1.18 | 19-Feb-2001 |
cgd | convert to use getprogname()
|
| 1.17 | 25-Jan-2001 |
chuck | be more picky about running /etc/apm/{battery,line} in response to APM_POWER_CHANGE event. some BIOS post this event periodically while the battery is charging/discharging (no change in a/c state). on these systems this prevents /etc/apm/{battery,line} from being run multiple times.
|
| 1.16 | 11-Jan-2001 |
lukem | use explicit name rather than __progname in openlog
|
| 1.15 | 13-Aug-2000 |
jhawk | Check for lowbattery state (if running -l) when polling for state, rather than just when receiving events. Thus, if events are not working (for some unknown reason...), low-power shutdown will still work.
|
| 1.14 | 04-Mar-2000 |
mycroft | branches: 1.14.4; Add a `-v' option, and make various log messages depend on `-d' or `-v'.
|
| 1.13 | 13-Jan-2000 |
jlam | Add 'l' to getopt-checked flags
|
| 1.12 | 04-Sep-1999 |
soren | Do not force logging of status in the POWER_CHANGE case. Any interesting changes will be noticed and printed by power_status().
|
| 1.11 | 06-Jun-1999 |
thorpej | Use pidfile(3).
|
| 1.10 | 19-Dec-1998 |
christos | branches: 1.10.2; PR/6606: Johnny C. Lam: Add -l flag to apmd so that it suspends automagically when the is a battery low event.
|
| 1.9 | 19-Nov-1998 |
kenh | Add support for running scripts for line power to battery transitions (and vice versa).
|
| 1.8 | 18-Jul-1998 |
lukem | use AF_LOCAL instead of AF_UNIX
|
| 1.7 | 17-Oct-1997 |
lukem | remove unnecessary externs
|
| 1.6 | 30-Jul-1997 |
jtc | Fix files using old TNF copyright notice
|
| 1.5 | 01-Mar-1997 |
jtk | PR # 3271: ignore SIGPIPE to avoid nasty clients causing apmd to die. From Lennart Augustsson <augustss@cs.chalmers.se>.
|
| 1.4 | 25-Sep-1996 |
jtc | Copyright has been assigned to The NetBSD Foundation
|
| 1.3 | 17-Sep-1996 |
jtk | bug fix: set fromlen to sizeof(from)
|
| 1.2 | 13-Sep-1996 |
jtk | add -o and -m options for owner/group and mode of the socket
|
| 1.1 | 25-Aug-1996 |
jtk | add Advanced Power Management driver Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)
|
| 1.10.2.1 | 11-Nov-1999 |
he | Pull up revision 1.12 (requested by soren): Avoid excessive printing of power status.
|
| 1.14.4.1 | 03-Feb-2001 |
he | Pull up revision 1.17 (requested by chuck): Be more picky about running /etc/apm/{battery,line} in response to APM_POWER_CHANGE event. Some BIOSes post this event periodically while the battery is charging/discharging, even though there's no change in a/c state. Thus, track a/c state, and only run the scripts when a/c state actually changes.
|
| 1.30.16.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.31.4.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.5 | 28-Apr-2008 |
martin | Remove clause 3 and 4 from TNF licenses
|
| 1.4 | 30-Jul-1997 |
jtc | branches: 1.4.44; Fix files using old TNF copyright notice
|
| 1.3 | 25-Sep-1996 |
jtc | Copyright has been assigned to The NetBSD Foundation
|
| 1.2 | 30-Aug-1996 |
jtk | fix for consistent comment names
|
| 1.1 | 25-Aug-1996 |
jtk | add Advanced Power Management driver Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)
|
| 1.4.44.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.5 | 28-Apr-2008 |
martin | Remove clause 3 and 4 from TNF licenses
|
| 1.4 | 19-Nov-1998 |
kenh | branches: 1.4.42; Add support for running scripts for line power to battery transitions (and vice versa).
|
| 1.3 | 30-Jul-1997 |
jtc | Fix files using old TNF copyright notice
|
| 1.2 | 25-Sep-1996 |
jtc | Copyright has been assigned to The NetBSD Foundation
|
| 1.1 | 25-Aug-1996 |
jtk | add Advanced Power Management driver Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)
|
| 1.4.42.1 | 18-May-2008 |
yamt | sync with head.
|