NetBSD/lib/libform
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
driver.c
field.c
field_types.c
form.c
form.h
form_cursor.3
form_data.3
form_driver.3
form_field.3
form_field_attributes.3
form_field_buffer.3
form_field_info.3
form_field_just.3
form_field_new.3
form_field_opts.3
form_field_userptr.3
form_field_validation.3
form_fieldtype.3
form_hook.3
form_new.3
form_new_page.3
form_opts.3
form_page.3
form_post.3
form_userptr.3
form_win.3
forms.3
gdbinit
internals.c
internals.h
post.c
shlib_version
std_header.c
type_alnum.c
type_alpha.c
type_enum.c
type_integer.c
type_ipv4.c
type_ipv6.c
type_numeric.c
type_regex.c