#
2a63c3be |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c comment pattern Remove /^/[*/]\s*\$FreeBSD\$.*\n/
|
#
fc8ae86a |
|
20-Dec-2019 |
Philip Paeps <philip@FreeBSD.org> |
top: display battery capacity remaining Submitted by: Antranig Vartanian <antranigv@freebsd.am> Reviewed by: imp, philip Differential Revision: https://reviews.freebsd.org/D22871
|
#
b1de37fa |
|
20-Sep-2019 |
Daichi GOTO <daichi@FreeBSD.org> |
top(1): support multibyte characters in command names (ARGV array) depending on locale. - add setlocale() - remove printable() function - add VIS_OCTAL and VIS_SAFE to the flag of strvisx() to display non-printable characters that do not use C-style backslash sequences in three digit octal sequence, or remove it This change allows multibyte characters to be displayed according to locale. If it is recognized as a non-display character according to the locale, it is displayed in three digit octal sequence. Reference: https://www.mail-archive.com/svn-src-all@freebsd.org/msg165751.html https://www.mail-archive.com/svn-src-all@freebsd.org/msg165766.html https://www.mail-archive.com/svn-src-all@freebsd.org/msg165833.html https://www.mail-archive.com/svn-src-all@freebsd.org/msg165846.html https://www.mail-archive.com/svn-src-all@freebsd.org/msg165891.html Submitted by: hrs Differential Revision: https://reviews.freebsd.org/D16204
|
#
d0f687d3 |
|
10-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Fix multiple warnings in usr.bin/top about discarded qualifiers from both clang and gcc, by either constifying variables, or when that is not possible, using __DECONST. MFC after: 1 week
|
#
8d0d2676 |
|
03-Jun-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): include what you use - Change headers to more closely match what we use - use more standard functions instead of bzero, bcmp, bcopy - Add myself to authors. Tested with: base clang (amd64), gcc 9 (amd64), base clang (i386), base gcc (mips)
|
#
9f8096e3 |
|
03-Jun-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): top warnings and cleanup - Add const where helpful - add missing 'static' for file-local functions - use nitems where possible - convert manual abort() to assert - use strndup instead of homegrown version Tested with clang, gcc7, and gcc9
|
#
960a7f39 |
|
02-Jun-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): const poison part 2 Further reduce the number of warnings emitted by gcc.
|
#
47ffa267 |
|
20-May-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): further unconditionally assume we're on FreeBSD
|
#
1d6a4ba3 |
|
20-May-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): build with WARNS=3 This fixes everything but -Wincompatible-pointer-types-discards-qualifiers
|
#
666cf873 |
|
20-May-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): clean much of WARNS=3 issues There is still one glaring issue: new_message is not a protoype, but can't be trivially converted since it uses K&R style var-args.
|
#
3be6ef06 |
|
19-May-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): Migrate top to usr.bin We've been maintaining top(1) for a long time, and the upstream hasn't existed/been used in similarly as long. Make it clear that we own top(1) Tested with 'make universe'. Everything passed except MIPS which failed for unrelated reasons. Install also tested for amd64. Reviewed by: sbruno No objections: imp, mmacy Differential Revision: https://reviews.freebsd.org/D15387
|