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
kleink
718fb4e493
RCS Id police (again!).
1999-12-22 14:38:12 +00:00
blymn
b7466e4fd7
* Moved the contents of the EXPOSE_PRIVATES ifdef into internal.h and
...
killed the now empty ifdef in menu.h. Also removed the define in
the CFLAGS in Makefile.
* Renamed _menui_menu_hook to Menu_Hook for compatiability with
ncurses.
* Renamed all internal functions to have _menui prefix instead of
__menui
* Cleaned up some automatic function variable names that were
shadowing function calls.
* Fixed email address in headers.
1999-12-16 12:08:06 +00:00
kleink
87bead520d
* use <stdlib.h> instead of deprecated <malloc.h>
...
* replace <strings.h>/bcopy() with <string.h>/memcpy()
1999-11-30 15:58:16 +00:00
kleink
68f24b78f3
RCS Id police.
1999-11-24 12:43:15 +00:00
kleink
6891118e35
RCS Id police.
1999-11-24 12:20:14 +00:00
kleink
beac10a2a8
Move preprocessor symbols used for multiple inclusion protection and private
...
interface exposure into implementation namespace.
1999-11-24 12:17:11 +00:00
blymn
b68c50bcbe
A curses based menu library.
1999-11-23 11:12:34 +00:00