Home | History | Annotate | only in /src/usr.sbin/apm
History log of /src/usr.sbin/apm
RevisionDateAuthorComments
 1.20 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.19 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.18 02-May-2013  matt branches: 1.18.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.17 13-Dec-2009  nakayama branches: 1.17.6; 1.17.12;
System utilities, boot programs and kernel modules are machine
(port) specific not CPU, so use MACHINE not MACHINE_ARCH.
 1.16 14-Feb-2009  abs Convert more MACHINE tests to MACHINE_ARCH
 1.15 29-Jul-2007  nonaka branches: 1.15.16; 1.15.20;
Added zaurus.
 1.14 24-Nov-2005  macallan build the apm utility on sparc since we already build apmd
 1.13 03-Jul-2004  uch add hpcsh
 1.12 14-Oct-2002  takemura Enabled apm command device node for hpcmips and put apm.8 and zzz.8 man pages
into mi directory.
 1.11 19-Sep-2002  lukem use NETBSDSRCDIR as appropriate
 1.10 16-Sep-2002  manu Initial support for APM on hpcarm (just enough to get battery state)
 1.9 18-Jun-2002  itojun userland access to apm emulation.
 1.8 23-Oct-1997  lukem use CPPFLAGS instead of CFLAGS
 1.7 18-Oct-1997  lukem branches: 1.7.2;
enable WARNS=1 by default, but disable in unclean 3rd party code
 1.6 03-Oct-1997  mikel replace -W flags in CFLAGS with WARNS?=1, cleanup
 1.5 23-Jun-1997  mrg decend all subdirs for man pages.
 1.4 08-May-1997  gwr Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
 1.3 06-May-1997  gwr Use .PATH.c: ...
 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.7.2.1 08-Nov-1997  lukem sync with trunk (approved by thorpej)
 1.15.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.15.16.2 29-Jul-2007  nonaka Added zaurus.
 1.15.16.1 29-Jul-2007  nonaka file Makefile was added on branch matt-mips64 on 2007-07-29 14:34:46 +0000
 1.17.12.1 23-Jun-2013  tls resync from head
 1.17.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.18.28.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.21 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.20 20-Mar-2010  jruoho branches: 1.20.6;
Add a note that APM was deprecated by the PC manufacturers in about 1996.
Mention the APM emulation layer of ACPI. In addition, some small fixes.
 1.19 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.18 30-Apr-2008  martin Convert TNF licenses to new 2 clause variant
 1.17 31-Mar-2004  tron branches: 1.17.24;
Add missing "m" option in SYNOPSIS.
Remove duplicate "d" in getopt(3) call.
The patches were provided by Jeff Ito in PR bin/24971.
 1.16 27-Jun-2003  wiz branches: 1.16.2;
No longer i386-only.
 1.15 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.14 21-Apr-2001  wiz Add arch to Dt, since it's only installed for i386. Whitespace nits.
 1.13 05-Feb-2000  enami Kill the period in the SEE ALSO list.
 1.12 08-Aug-1999  hwr Document -s option. Fixes PR 6759 by me.
 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 15-Jan-1999  augustss Add -m option to display minutes left. From dbj@netbsd.org
 1.8 11-Nov-1997  mrg add missing .Nm sections
 1.7 17-Oct-1997  lukem branches: 1.7.2;
minor cleanup
 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 18-Feb-1997  mikel fix some typos and .Nm usage
 1.3 23-Jan-1997  jtk apply typo fix per misc/3134 (from Thorsten Frueauf)
 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.7.2.1 11-Nov-1997  mrg pull up from trunk: add missing .Nm sections
 1.16.2.1 01-Apr-2004  jmc Pullup rev 1.17 (requested by tron in ticket #30)

Add missing m option in SYNOPSIS.
Remove duplicate d in getopt(3) call. PR#24971
 1.17.24.1 18-May-2008  yamt sync with head.
 1.20.6.1 17-Apr-2012  yamt sync with head
 1.21 25-Nov-2011  joerg Use static + __dead
 1.20 02-May-2008  xtraeme branches: 1.20.4;
WARNS=4 love.
 1.19 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.18 27-Oct-2007  plunky branches: 1.18.6;
When no estimate of battery minutes_left can be made, apm should
return a value of 0.
 1.17 23-Sep-2006  elad branches: 1.17.2; 1.17.4; 1.17.8;
PR/34593: Arnaud LACOMBE: apm(8) prints meaningless default unknow value
for minutes_left
Patch applied, thanks for the report!
 1.16 23-Jan-2005  cube Add 'd' to usage, sort options in usage, sort options in getopt() call.
 1.15 31-Mar-2004  tron Add missing "m" option in SYNOPSIS.
Remove duplicate "d" in getopt(3) call.
The patches were provided by Jeff Ito in PR bin/24971.
 1.14 08-Aug-2002  soren branches: 1.14.2;
Remove extraneous \n's in {err,warn}{,x} that used to be printfs.
 1.13 20-Jul-2002  grant sweep of errx/warnx, remove unnecessary trailing \n
 1.12 13-Sep-2001  enami - Bail out when failed to ioctl.
- Clear args to APM_IOC_GETPOWER.
 1.11 13-Sep-2001  enami KNF and other misc. stylistic changes.
 1.10 22-Jul-2001  itojun support multiple batteries (currently only # of batteris is visible -
need to tweak ioctl API more). PR 10545.
 1.9 19-Feb-2001  cgd convert to use getprogname()
 1.8 15-Jan-1999  augustss Add -m option to display minutes left. From dbj@netbsd.org
 1.7 13-Nov-1998  abs momentarily -> in a moment, to avoid ambiguity.
 1.6 18-Jul-1998  lukem use AF_LOCAL instead of AF_UNIX
 1.5 31-Mar-1998  mycroft Change return type of main to int.
 1.4 17-Oct-1997  lukem minor cleanup
 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.14.2.1 01-Apr-2004  jmc Pullup rev 1.15 (requested by tron in ticket #30)

Add missing m option in SYNOPSIS.
Remove duplicate d in getopt(3) call. PR#24971
 1.17.8.1 06-Nov-2007  matt sync with HEAD
 1.17.4.1 06-Jan-2008  wrstuden Catch up to netbsd-4.0 release.
 1.17.2.1 29-Oct-2007  pavel Pull up following revisions (requested by plunky in ticket #956):
usr.sbin/apm/apm.c: revision 1.18
sys/dev/acpi/acpi_apm.c: revision 1.11
When no estimate of battery minutes_left can be made, apm should
return a value of 0.
 1.18.6.1 18-May-2008  yamt sync with head.
 1.20.4.1 17-Apr-2012  yamt sync with head

RSS XML Feed