Commit Graph

57 Commits

Author SHA1 Message Date
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
lukem 279552d3db fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
  e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
  using `.Nm ""' if there's stuff following, or for the 2nd and so on
  occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
blymn d58fc5179f * Fixed bug where unpost would delwin a sub-window that libmenu did not
create.
2000-08-06 13:32:59 +00:00
itohy f9863c47b3 Correct ctype(3) usage.
Passing "char" value is wrong.  Use "unsigned char" instead.
2000-07-11 06:07:25 +00:00
blymn d013bbe3a0 Remove names from prototype decalarations. 2000-05-11 14:01:28 +00:00
blymn bb92002785 * Fixed possible unassigned variable problem. 2000-05-07 12:14:44 +00:00
blymn 5f001bd923 * Fixed off by one bug in scale menu
* Fixed bug in post_menu which created the subwin too small for the menu.
2000-05-05 11:28:56 +00:00
blymn 6fa4863f86 Bumped major version due to attr_t changing size. 2000-04-21 11:05:24 +00:00
blymn 32a993af1e * Made all functions and prototypes ANSI style.
* Fixed problem with highlight bar on inverse menus.
* Fixed libmenu crashing when posting a menu without sub window set.
* Fixed man page glitches.
2000-04-20 12:17:57 +00:00
tron ebed203f6a Remove pre curses V3 hack which causes a build failure. 2000-04-13 12:44:57 +00:00
soren 89c5a767f8 Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
itohy b85abeecae Make libmenu be linked correctly with K&R style code.
Yes, this changes the ABI, but we haven't officially released
libmenu and this would be OK, probably....
2000-03-10 09:06:21 +00:00
blymn 307e770b37 Fix handling of userptr, no longer assumes userptr is a pointer to a
string to be copied, we now just copy the passed pointer.  Also fixed
bug with handling of NULL passed to menu_userptr.
2000-03-05 04:09:53 +00:00