History log of /freebsd-14.2/usr.bin/top/Makefile (Results 1 – 25 of 42)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0
# d0b2dbfa 16-Aug-2023 Warner Losh <[email protected]>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0
# cbc83e37 23-Sep-2021 Baptiste Daroussin <[email protected]>

ncurses: chase dependency changes in the source tree

Differential Revision: https://reviews.freebsd.org/D32098


Revision tags: release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0
# 2f301637 10-Feb-2019 Dimitry Andric <[email protected]>

Fix multiple warnings in usr.bin/top about variables shadowing global
declarations from base gcc, by renaming those variables.

MFC after: 1 week


# d0f687d3 10-Feb-2019 Dimitry Andric <[email protected]>

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


Revision tags: release/12.0.0
# 00abcb6a 22-Jun-2018 Eitan Adler <[email protected]>

top(1): increase warnings

top(1) now builds without cast-qual warnings, so remove the exemption
for that.

Tested with clang, gcc7, gcc9


# 51c834c4 22-Jun-2018 Eitan Adler <[email protected]>

top(1): reimplement header formatting as sbuf

The current header formatting is a giant format string that changes
global state during the format process.

Make the following changes:
- use sbuf to b

top(1): reimplement header formatting as sbuf

The current header formatting is a giant format string that changes
global state during the format process.

Make the following changes:
- use sbuf to build up the header rather than use the above
pseudo-dynamic one
- Change name length to 10
- Reduce size of RES and SIZE by making humanize more aggressive
- Restore a version number line to the copyright. This may be required
by the copyright (and may not be; its unclear)

This is also a pre-req to implementing TOPCOLOR from newer versions of
top(1)

Discussed with: allanjude, rpolka, danfe, rgrimes
Differential Revision: https://reviews.freebsd.org/D15801

show more ...


Revision tags: release/11.2.0
# 8e4b205e 13-Jun-2018 Eitan Adler <[email protected]>

top(1): format_time, format_k, etc.

- Use humanize_number for format_k and format_k2
- Fix some style nits in format_time


# 59c50d82 13-Jun-2018 Eitan Adler <[email protected]>

top(1): several small bugfixes and nits

- initialize all maybe uninitialized vars with bogus values. This shuts
up the compiler, and causes crashes if it changes later.
- mark noreturn as noreturn
-

top(1): several small bugfixes and nits

- initialize all maybe uninitialized vars with bogus values. This shuts
up the compiler, and causes crashes if it changes later.
- mark noreturn as noreturn
- removed unused macro
- handle x_procstate as runtime rather than pre-processor
- avoid using void functions in condtionals

Tested with clang, gcc 7, gcc 9

show more ...


# fb7b896c 11-Jun-2018 Eitan Adler <[email protected]>

top(1): handle 0 in "digits" functions


# 561b0720 10-Jun-2018 Eitan Adler <[email protected]>

top(1): use sys_signame instead of hard coding signals

This enables the removal of the signal.h awk script. Shamelessly stolen
from kill(1).


# b4aadfd2 10-Jun-2018 Eitan Adler <[email protected]>

top(1): filter fewer warnings; clean up

- remove WARNS?=6. It is default
- we no longer have cast-qual problems
- remove unused macros
- remove unneeded casts
- add include guard for loadavg.h


# c5484668 03-Jun-2018 Eitan Adler <[email protected]>

top(1): Only use NO_WERROR for base gcc

This is what was intended. If statements are hard.


# 1d5b01e6 03-Jun-2018 Eitan Adler <[email protected]>

top(1): use greater warnings

One of the downsides of using numeric WARNS is that if we only have a
single type of issue we get no protection from other changes. For
example, we got no warning for m

top(1): use greater warnings

One of the downsides of using numeric WARNS is that if we only have a
single type of issue we get no protection from other changes. For
example, we got no warning for missing variable declaration, due to
the issues with "const".

For this utility, explicitly list out the warnings which are failing.
They should still be fixed, so only reduce them to warning instead of
error.

Tested with: clang base (amd64, i386), gcc6, gcc7, gcc9, gcc base (mips)

show more ...


# 6ffc72df 21-May-2018 Eitan Adler <[email protected]>

top(1): fix build

Remove 'top.local.hs'. This was not noticed since
/srv/obj/fbsd/srv/src/freebsd/svn/head/amd64.amd64/usr.bin/top/top.local.h
existed locally on my machine despite "make clean". Onl

top(1): fix build

Remove 'top.local.hs'. This was not noticed since
/srv/obj/fbsd/srv/src/freebsd/svn/head/amd64.amd64/usr.bin/top/top.local.h
existed locally on my machine despite "make clean". Only fully removing
the objdir allowed me to observe the error directly.

Pointyhat to: me

show more ...


# 00157b4c 21-May-2018 Eitan Adler <[email protected]>

Revert r333969 which contained one too many changes


# bfb79c2c 21-May-2018 Eitan Adler <[email protected]>

top(1): modernize a bit; reduce warnings

- Replace caddr_t with "void *". This reduces
the number of warnings at WARNS=6
- use "static" where possible
- sprinkle const where possible

This leaves at

top(1): modernize a bit; reduce warnings

- Replace caddr_t with "void *". This reduces
the number of warnings at WARNS=6
- use "static" where possible
- sprinkle const where possible

This leaves at WARNS=6:
35 warnings in top.c
72 warnings in machine.c
5 warnings in commands.c

all of which are either "incompatible-pointer-types-discards-qualifiers"
or "cast-qual"

show more ...


# 1d6a4ba3 21-May-2018 Eitan Adler <[email protected]>

top(1): build with WARNS=3

This fixes everything but
-Wincompatible-pointer-types-discards-qualifiers


# 4901ca08 21-May-2018 Eitan Adler <[email protected]>

top(1): build with WARN=2


# 668af25d 20-May-2018 Eitan Adler <[email protected]>

top(1): pull configuration directly into header files

This sets configuration variables directly in the various header files,
avoiding the need to have special logic in our Makefile to build the
hea

top(1): pull configuration directly into header files

This sets configuration variables directly in the various header files,
avoiding the need to have special logic in our Makefile to build the
header.

show more ...


# 500cd2d6 20-May-2018 Eitan Adler <[email protected]>

revert r333928

I had missed a file when testing this, and it does not build. Will try again.


# 808862b2 20-May-2018 Eitan Adler <[email protected]>

top(1): remove 'xs' and 'xh' source files

Now that we're our own upstream these files buy us nothing.


# 8a133278 19-May-2018 Eitan Adler <[email protected]>

top(1): unconditionally provide 'FreeBSD' as a version


# 946e91ab 19-May-2018 Eitan Adler <[email protected]>

top(1): assume that we're building on FreeBSD

This allows us to avoid the ifdefs that we set unconditionally.


# a4af6c05 19-May-2018 Eitan Adler <[email protected]>

top(1): bump WARNS to 1

Nothing else builds without errors yet, but 1 is better than 0


# 3be6ef06 19-May-2018 Eitan Adler <[email protected]>

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 univ

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

show more ...


12