andvar
e616cf290c
s/logigally/logically/.
2023-08-17 14:21:18 +00:00
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
wiz
f3a84d0dfb
Improve formatting, fix a typo, bump date for previous.
2019-07-01 07:16:25 +00:00
blymn
4aba88d186
Bump major number due to libcurses major bump
2019-06-30 22:17:22 +00:00
wiz
01869ca4d2
Remove workaround for ancient HTML generation code.
2017-07-03 21:28:48 +00:00
christos
cbdcb619b0
fix unused warnings
2013-10-18 19:53:59 +00:00
blymn
c58c21e5d2
Fix bug where menu mark was not displayed on menus with O_ONEVALUE set
...
Set a default menu mark
2012-12-30 12:27:09 +00:00
jdf
6f43071798
Replace wrong variable type (s/ITEMS/ITEM).
2012-06-30 09:25:55 +00:00
jdf
dfc0f5280b
Add manpage link entries for libmenu, reformat MAN entry.
...
On the way, sort the mi list for comp alphabetically.
2012-06-27 22:18:06 +00:00
blymn
c915e1430c
* Corrected menu drawing when O_ROWMAJOR is not set
...
* Corrected menu item neighbour calculation so it works when O_ROWMAJOR
is set and unset. This corrects item navigation which was previously
broken when O_ROWMAJOR was not set.
This resolves lib/46620.
2012-06-27 11:53:36 +00:00
blymn
e50cb73fff
Extraneous whitespace removal.
2012-06-27 11:39:14 +00:00
matt
f9113d007b
Use C89 functions definitions.
...
Remove use of __P
2012-03-21 05:33:26 +00:00
reed
192dabfaf3
Add missing comma in the NAME Nm list.
2009-10-24 11:17:13 +00:00
christos
46edb91e9f
bump shared libraries.
2009-01-11 03:07:47 +00:00
joerg
cb41266e10
Depends on libcurses.
2008-03-11 23:06:04 +00:00
blymn
f8e74d7a72
Redraw an item when the value is changed as the mark/unmark status (if
...
applicable) may have changed.
2007-07-23 12:12:19 +00:00
christos
1665d5e960
fix spelling of accommodate; from Zapher.
2006-11-24 19:46:58 +00:00
jdc
1dd2c9a89b
Increment major number (to 5) because of the libcurses major number change
...
and because of the change to key definitions in menu.h.
2004-03-22 19:01:28 +00:00
jdc
c73d2721d1
Change the key definitions so that they no longer collide with the ones in
...
libform. Do this because the library major number is changing (the libcurses
major number is changing).
Suggested by Brett Lymn,
2004-03-22 19:01:09 +00:00
blymn
6adf4a4e77
new_item fixes:
...
* return NULL to indicate an error if a NULL name is passed
* fix a crash if description is NULL
Thanks to Julian Coleman for finding and fixing these.
2003-09-29 12:32:24 +00:00
blymn
a54cbbdb50
Remove the resetting of top_row, cur_item and the pattern buffer from
...
post_menu so menu state is kept across upost/post actions. This addresses
PR #21218 .
2003-04-19 12:52:39 +00:00
wiz
472351e13d
Use
...
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
wiz
83de4abed2
Use "its" instead of "it's" where appropriate.
...
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
lukem
8bf240ccae
use __RCSID()
2003-03-09 01:03:54 +00:00
blymn
6f2e4ed705
Fix an off by one bug in the scale_menu() function.
2002-11-27 11:53:11 +00:00
wiz
57a4de98d0
New sentence, new line. From Robert Elz.
2002-10-01 19:26:58 +00:00
blymn
e5ce8316fe
Fix some off by one errors in the menu mark and unmark buffer handling.
...
This fixes PR 18003.
2002-08-22 11:30:18 +00:00
blymn
f645d021ce
Allocate private string buffers for the menu mark and unmark to prevent
...
a double free of the string memory. This fixes PR 17937.
2002-08-19 11:01:11 +00:00
wiz
47c1285a48
ispell.
2002-07-29 13:30:13 +00:00
wiz
0fa6dc022d
Whitespace cleanup.
2002-07-29 13:26:56 +00:00
blymn
09440e9036
Added new menu style O_RADIO which implements a radio button style
...
menu selection. Thanks go to rtr(at)wasabisystems.com for doing
most of the work on this.
2002-07-29 13:03:51 +00:00
blymn
eeeb970336
Add conditional with the debug stuff in it so a debug version of libmenu
...
can be built by defining DEBUG_MENUS in the environment.
2002-07-29 12:58:10 +00:00
wiz
78ad51bec2
The function is called scale_menu, not scale_window.
...
Closes lib/17381.
2002-07-03 11:24:46 +00:00
blymn
d051a5de87
Added a NOTES section to describe the differences between our menus
...
library and the original AT&T one.
2002-06-20 12:18:48 +00:00
wiz
fa719c3bfe
Mirror some forms(3) fixes.
2002-02-20 17:49:14 +00:00
wiz
3880a44b65
Drop trailing empty line.
2002-02-20 11:47:55 +00:00
wiz
2ecbe773d1
Slightly improve markup.
2002-02-20 11:47:37 +00:00
wiz
f21ce264f2
Drop trailing empty line, and end sentence with a dot.
2002-02-20 11:47:23 +00:00
ross
814f296b77
Generate <>& symbolically.
2002-02-07 07:00:09 +00:00
blymn
ca4de2a444
* Fixed menu command constants so they no longer clash with
...
curses key symbols
* Fixed behaviour of the menu window handling. The library no longer
creates the subwindow or window which is correct behaviour as documented
in the ETI library documentation.
2002-02-04 13:02:05 +00:00
christos
c709268130
bump major because of libcurses bump.
2001-12-03 14:02:41 +00:00
wiz
c03a48d64f
withough -> without
2001-06-13 10:45:57 +00:00
blymn
c56fc52024
Fix cross references namings for menus(3)
2001-05-23 14:58:55 +00:00
blymn
67df04e600
Removed DESTDIR from INCSDIR - it gets prepended without doing this.
2001-04-30 11:10:23 +00:00
blymn
7047f1be19
Added DESTDIR to the INCSDIR.
2001-04-30 10:56:42 +00:00
wiz
1a71a68bae
Cleanup; improve formatting and descriptions; and some minor fixes here
...
and there.
2001-04-29 19:07:06 +00:00
blymn
7bedd38e80
Fixed include file naming should be menu.h not menus.h.
2001-02-26 01:26:05 +00:00
blymn
5aa18180e9
Add current field error code.
2001-02-26 01:21:06 +00:00
jdc
ebc0cfbccf
Bump libmenu and libform majors because of libcurses major bump.
...
Pointed out by mrg.
2001-01-07 13:15:10 +00:00
blymn
c2a9885658
Added libform specific error code.
2000-11-07 10:59:27 +00:00