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
..
driver.c
field_types.c
field.c PR/50919: David Binderman: Re-do all the debug stuff in a more sustainable way. 2016-03-09 19:47:13 +00:00
form_cursor.3
form_data.3 Add the function names to the NAME section 2017-10-23 15:23:55 +00:00
form_driver.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_field.3
form_fieldtype.3
form_hook.3
form_new_page.3
form_new.3
form_opts.3
form_page.3
form_post.3
form_userptr.3
form_win.3
form.c PR/50919: David Binderman: Re-do all the debug stuff in a more sustainable way. 2016-03-09 19:47:13 +00:00
form.h
forms.3 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
gdbinit
internals.c "s/ are are / are /" in comment. No functional change. 2018-11-08 06:34:40 +00:00
internals.h PR/50919: David Binderman: Re-do all the debug stuff in a more sustainable way. 2016-03-09 19:47:13 +00:00
Makefile Remove duplicate MLINK entry for dup_field.3 2017-10-23 15:34:45 +00:00
post.c PR/50919: David Binderman: Re-do all the debug stuff in a more sustainable way. 2016-03-09 19:47:13 +00:00
shlib_version terminfo: promote numeric parameters from short to int 2020-03-13 15:19:24 +00:00
std_header.c
type_alnum.c
type_alpha.c
type_enum.c PR/50919: David Binderman: Re-do all the debug stuff in a more sustainable way. 2016-03-09 19:47:13 +00:00
type_integer.c
type_ipv4.c PR/50919: David Binderman: Re-do all the debug stuff in a more sustainable way. 2016-03-09 19:47:13 +00:00
type_ipv6.c
type_numeric.c PR 51190 David Binderman: simplify redundant conditionals. 2016-05-30 17:48:29 +00:00
type_regex.c