Commit Graph

393 Commits

Author SHA1 Message Date
jdc 5572bca927 Make the refresh complete in the presence of multiple sub-windows.
Match function names in the debug output.
2003-06-28 21:11:43 +00:00
wiz 1f45225df4 Fix typo in macro name, and remove a trailing comma. 2003-06-27 13:05:08 +00:00
dsl 14b491c2c5 Stop refresh(subwin) doing refresh on the other subwin's created before it.
(If nothing else the cursor would get left in the wrong place).
Fix some if (!flags & MASK) checks.
2003-06-26 17:17:10 +00:00
dsl b70727e760 Error attempts at nested subwindows, the data structures don't support them.
I can't quite decide whether the X/Open Curses Issue 4, version 2 needs them.
2003-06-26 17:13:55 +00:00
dsl c7ba282830 Stop blank line being added when newline is processed with __ISPASTEOL set. 2003-06-26 10:22:33 +00:00
wiz 85cf615bd0 Work around a warning from groff-1.19. 2003-06-26 10:00:24 +00:00
jdc 11f267a000 Add noqiflush() and qiflush()
Fixes PR lib/20037.
2003-06-20 06:58:53 +00:00
jdc c521d02fce Add keyname().
Fixes PR lib/20033.
Allow SMALL to be defined, to reduce the size of the library.
2003-06-20 06:56:29 +00:00
jdc 44d2f865a0 Mark all lines on new pads as dirty. This ensures that we draw blank
(untouched) lines when the pad is refreshed.
2003-06-09 06:58:11 +00:00
dsl 386a8e5059 Don't restartwin() if it isn't stopped.
Ensures we don't save the modified tty flags (as well as doing all the
initialisation twice) if the application (eg systat) calls curses functions
in its own restart code.
2003-05-28 20:19:42 +00:00
wiz a2c49e51e1 Fix typo reported by Douwe Kiela in PR 21677. 2003-05-25 17:19:42 +00:00
wiz c66093c273 Make i an int to please lint and remove a cast. 2003-05-22 16:09:09 +00:00
wiz e6e9b32c33 Grammar fix; no functions returnint pointers here, so remove section
about those functions from RETURN VALUES section.
2003-05-22 09:25:52 +00:00
jdc 8b94a64a5a Remove erroneouly added file. 2003-05-21 21:24:36 +00:00
jdc cbce99002b Cross reference curses_addchstr.3. 2003-05-21 21:22:15 +00:00
jdc 8b782b08d1 Increment libcurses minor for addition of addchstr() functions. 2003-05-21 21:21:14 +00:00
jdc 57b809b169 Add addchstr() family of functions.
Based on mail from Douwe Kiela.
Fixes PR lib/21285 by Thomas Klausner.
2003-05-21 21:19:52 +00:00
jdc 416748f2db Add mvw* functions. 2003-05-21 20:33:21 +00:00
wiz 68221b9ec6 Bump date for last. 2003-05-21 06:57:08 +00:00
jdc ad216762c8 Add missing *printw manual page links.
Patch provided in PR lib/21446 by Douwe Kiela.
2003-05-21 06:46:51 +00:00
jdc 8aec7a6456 Sort addbytes(). 2003-05-21 06:16:16 +00:00
jdc a365e46b92 Mention _CURSES_USE_MACROS. 2003-05-21 06:15:09 +00:00
jdc 2e4b986118 Add missing manual page links. 2003-05-20 06:54:44 +00:00
dsl 1473d232c3 Don't do __stopwin() if it is already stopped.
Allows error messages from programs like sysinst() to be seen.
(There is an explicit stopwin() before the error message is output,
and a second in the atexit() called cleanup() routine)
2003-05-18 10:02:07 +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 e0f416155a New sentence, new line. 2003-04-16 12:36:44 +00:00
wiz 848d4d3dde getch(3), not curses_getch(3). New sentence, new line. 2003-04-16 12:29:42 +00:00
jdc 0361a50a77 Add spacing around variable definitions.
From a discussion with Thomas Klausner.
2003-04-11 09:37:15 +00:00
wiz 43a80c6fd2 Improve mdoc a bit. 2003-04-08 21:19:15 +00:00
wiz 94f29563af Better mdoc; add a missing 'is'. 2003-04-08 21:15:21 +00:00
jdc a1a7bef1e4 Document LINES and COLS environment variables. 2003-04-08 18:57:09 +00:00
jdc 7a37df1b93 Add ESCDELAY variable to control the inter-key delay in escape sequences.
Fixes PR 20031 by Thomas Klausner.
2003-04-08 18:55:43 +00:00
jdc 6e028f681b Add mvwin manual pages.
From PR 21041.
2003-04-08 06:02:17 +00:00
jdc 38b99f1400 Make sure that windows are not off the left or top edges of the screen.
Noticed while looking at PR 21041.
2003-04-08 05:56:01 +00:00
jdc 119cd94332 Document mvwin().
Fixes PR 21041 by Tyler Retzlaff.
2003-04-08 05:53:49 +00:00
jdc dcd13397db Swap red/blue and yellow/cyan when working with Sb/Sf colour. Problem noticed
when working on PR 21000.
2003-04-06 07:22:13 +00:00
jdc e6800497da Keep the cr->nl translation state in a separate variable, so that we can
do the translation ourselves (if the tty didn't do it for us).
Add debugging to track functions that change tty state.

Fixes PR 20834 by Stephen Borrill.
2003-04-05 10:06:59 +00:00
jdc 6babc534d9 Increment libcurses minor (addition of attr_set() group of functions). 2003-03-30 07:40:02 +00:00
jdc b5eb0508f1 Add attr_set() group of functions.
Fixes PR lib/20034 by Thomas Klausner.
2003-03-30 07:38:41 +00:00
jdc 045c8e350f Now refresh() refreshes subwindows too.
Fixes PR lib/20544 by rtr.
2003-03-29 21:43:22 +00:00
wiz 64e132da8b Fix typo. 2003-03-17 08:39:54 +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
dsl 661e3f71df Describe use of -ve window sizes 2003-03-03 14:21:12 +00:00
dsl d75ec8181e Fix resize of windows with subwins.
Let window size be given as a -ver number => lines from bottom.
Fix trace calls of pointers
(approved by Brett Lumn)
2003-02-17 11:07:19 +00:00
grant 104b35fe93 'NetBSD.org' and some mdoc fixes. 2003-02-14 16:29:11 +00:00
dsl f7a8d65f01 resize subwindows when a window is resized, otherwise the subwin has
pointers into the ether.
(approved by christos)
2003-02-10 23:24:27 +00:00
jdc ea7837ba99 Redo the conflict calculation (again).
Assume that "me" clears all attributes apart from acs.
Problem noticed when working on window(1).
2003-02-02 17:54:38 +00:00
jdc 60f7009432 I was slightly too agressive removing clearok() in revision 1.8.
Add back a clearok(stdscr) for terminals where the startup sequence
doesn't clear the screen.
2003-02-02 17:52:29 +00:00
jdc 6e91e33032 Increment the minor version (from 5 to 6) for the addition of
can_change_color() and no_color_video().
Add a note of things to change when the major version is incremented.
2003-01-27 21:14:33 +00:00
jdc ec51d5cc4b Change the way we calculate conflicts when turning off attributes.
We now check the termcap entries for "\E[m" or "\E[0m" or a longer
"\E[ ... m" sequence containing a "0".
2003-01-27 21:12:29 +00:00