Commit Graph

24 Commits

Author SHA1 Message Date
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
blymn 4aba88d186 Bump major number due to libcurses major bump 2019-06-30 22:17:22 +00:00
christos beaa4a9608 bump warns 2016-10-03 17:06:58 +00:00
kamil 51fc1f0d9d Specify path of a local internal header of libpanel 2015-11-22 04:30:33 +00:00
kamil 93a51714f2 Set LIBDPLIBS in libpanel for the required curses dependency 2015-11-22 04:26:14 +00:00
kamil 60586773ca Set the INCSDIR value of panel.h to /usr/include 2015-11-22 04:23:32 +00:00
kamil 71ae6a01f6 Define man page links of the libpanel functions 2015-11-22 04:21:39 +00:00
kamil 596a81a358 Update the list of libpanel man pages 2015-11-22 04:16:22 +00:00
kamil c3c23fd40b Readd empty line - it's a part of style 2015-11-02 02:45:25 +00:00
kamil f7b066af90 No functional changes
Make this code nicer for C++ compilers, don't assign char* to void*.
Add extra __prefix_false() CPU hint for failed malloc(3).
Normalize whitespace.
2015-11-02 01:06:15 +00:00
wiz c1ffcd2b53 Fix previous. 2015-11-01 14:47:54 +00:00
wiz 180eabf53d Improve wording even more, suggested by Robert Elz. 2015-11-01 11:02:23 +00:00
wiz c1bac8eb81 Improve wording. 2015-11-01 08:54:37 +00:00
uwe 411bbd24b9 panel_below(NULL) returns the top panel.
panel_above(NULL) returns the bottom panel.
2015-11-01 01:40:23 +00:00
wiz f0f2f50bf3 More articles, less typos. 2015-10-29 06:57:34 +00:00
uwe 1d644ad7b0 Document update_panels(). 2015-10-29 02:36:01 +00:00
uwe e47dc51a2a Fix typo missed by wizd(8). 2015-10-29 02:33:46 +00:00
wiz ed8dd38836 Improve wording. 2015-10-28 10:22:40 +00:00
wiz 9b23e645c3 Fix whitespace. 2015-10-28 10:18:54 +00:00
wiz 8249bf064f Fix xrefs.
XXX: someone should write stdscr(3)
2015-10-28 10:18:43 +00:00
uwe 0c624ce435 Provide descriptions of panel functions. 2015-10-28 02:23:50 +00:00
uwe fe1865411c Skeleton manual pages for libpanel functions. No content yet. 2015-10-27 23:42:55 +00:00
uwe ab1c44cb65 Manual page for libpanel. 2015-10-27 23:13:18 +00:00
uwe 5858a2db3d First cut at ETI libpanel. Lacks man pages and tests.
Not hooked into the build yet.
2015-10-26 23:09:49 +00:00