NetBSD/lib/libpanel
roy aadfdb111b terminfo: promote numeric parameters from short to int
POSIX mandates implementations must support upto a short but may exceed it.
When NetBSD terminfo was implemented, no terminfo description used over
a short, but because ncurses has supported ints for some time, some now do.

Infact, such a terminfo description was imported where colour pairs for
screen-256color went up to 65536 which exposed a bug in the existing
implementation where it set to zero. Because the number might mean
something more than a range, we need to be able to store it accurately.

This requires a version bump because whilst the API hasn't changed thanks
to C int promotion, the ABI has. Also the underlying database structure
has changed as well - we now store the numeric paramter inside a uint32_t
field rather than a uint16_t one.
Whilst this change can still read the old style database, the old one
cannot read the new one and thus we now maintain the database as
terminfo2.cdb, leaving the old library and database alone so old programs
still work fine.

libcurses, libfrom, libmenu and libpanel have also been bumped to
accomoate this change.
2020-03-13 15:19:24 +00:00
..
Makefile
_deck.c
above.c
below.c
bottom.c
del.c
getuser.c
hidden.c
hide.c
move.c
move_panel.3
new.c
new_panel.3
panel.3
panel.h
panel_above.3
panel_hidden.3
panel_impl.h
panel_userptr.3
replace.c
setuser.c
shlib_version
show.c
top.c
update.c
update_panels.3
window.c