summaryrefslogtreecommitdiff
path: root/lib/libcurses
AgeCommit message (Collapse)Author
2003-12-23Avoid array type is char warning.christos
2003-12-04Increment libcurses minor to 11 for nodelay() void -> int change.jdc
2003-12-04Make nodelay() return an int.jdc
Now conforms to the Single Unix Specification. Fixes PR lib/23531 by usa at garbagecollect dot jp.
2003-11-02Typo; from Jared Yanovich via jmc@openbsd.wiz
2003-10-21Don't compare a char to NULL.fvdl
2003-10-21Don't compare an int against NULL.fvdl
2003-10-21Don't use NULL to compare against an int.fvdl
2003-10-18Link curses_cursor(3) to getmaxyx(3); from Steve Rumble in PR 23183.wiz
2003-10-18mvgetstr and mvwgetstr do not have a limit argument; from Steve Rumble in PR ↵wiz
23183.
2003-10-05Increment libcurses minor to 10 for addition of redrawwin() and wredrawln().jdc
2003-10-05Add redrawwin() and wredrawln().jdc
Fixes PR lib/20038.
2003-10-05Fix __CTRACE arguments.jdc
2003-08-10Revert most of rev 1.27 of addbytes.c and associated changes.dsl
Posix requires that adding '\n' does clrtoeol() and 'x = 0'. (Making "\r\n" erase the text that has just been displayed.) Remove __NONL test from addbytes, __NONL is a property of the output device.
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-01Remove unused extern for __winlistp.dsl
2003-07-31Do something more sensible for waddbytes(..., "\r\n", ...);dsl
I'm not sure about the clrtoeol() at all though - maybe it should be done as part of scroll()? Leave 'x' alone when __NONL set.
2003-07-30Remove __winlistp, add *screen to WINDOW and initialise in newwin().dsl
Make delwin() remove window from list of windows on its screen. Free win->lspace and win->lines for subwins (they only share text space). Free things in the correct (and same) order if malloc() fails in __makenew(). Adjust delscreen() for delwin() removing itself from winlist. Fixes potential massive corruptions if delwin() called on a main window. NB: not responsible for the sysinst core dumps :-(
2003-07-30Use _cursesi_screen->winlistp (depracating __winlist)dsl
2003-07-30Use _cursesi_screen->winlistp (depracating __winlistp)dsl
Optimise and adjust layout so that fewer line breaks are required.
2003-07-30Adjust layut to put ?: clause on a single linedsl
2003-07-29Copy correct size of 1 line when doing insert/delete line on a subwin.dsl
2003-07-10Stop def_prog_mode() saving incorrect termio settings.dsl
Make set_prog_mode() set the correct settings. I'm not certain how much restoration set_prog_mode() should do, but it definitely doesn't want to do all of __restartwin(). Maybe __restartwin() should be calling set_prog_mode()?
2003-07-10Rename a large chunk of the make(1) variables which refer to alukem
program/tool from "FOO" to "TOOL_FOO". The new variables are: TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC For each, provide default in <bsd.sys.mk> of the form: TOOL_FOO?= foo and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override: TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo Document all of these in bsd.README. This cleans up a chunk of potential (and actual) namespace collision within our build infrastructure, as well as improves consistency in the share/mk documentation and provision of appropriate defaults for each of these variables.
2003-07-05Rework the way window/wub-window refresh is done.jdc
For each line that is marked dirty on each sub-window, we now mark the relevant line on the parent as dirty and unmark it on the sub-window. This avoids copying the same data multiple times and also leaves the cursor in the correct position for the window refreshed.
2003-07-05New sub-windows should not be marked as pads.jdc
(Also noticed by David Laight.)
2003-07-04Sort list of functions.wiz
2003-07-04Fix Dd string and remove trailing whitespace.wiz
2003-06-28Make the refresh complete in the presence of multiple sub-windows.jdc
Match function names in the debug output.
2003-06-27Fix typo in macro name, and remove a trailing comma.wiz
2003-06-26Stop refresh(subwin) doing refresh on the other subwin's created before it.dsl
(If nothing else the cursor would get left in the wrong place). Fix some if (!flags & MASK) checks.
2003-06-26Error attempts at nested subwindows, the data structures don't support them.dsl
I can't quite decide whether the X/Open Curses Issue 4, version 2 needs them.
2003-06-26Stop blank line being added when newline is processed with __ISPASTEOL set.dsl
2003-06-26Work around a warning from groff-1.19.wiz
2003-06-20Add noqiflush() and qiflush()jdc
Fixes PR lib/20037.
2003-06-20Add keyname().jdc
Fixes PR lib/20033. Allow SMALL to be defined, to reduce the size of the library.
2003-06-09Mark all lines on new pads as dirty. This ensures that we draw blankjdc
(untouched) lines when the pad is refreshed.
2003-05-28Don't restartwin() if it isn't stopped.dsl
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-25Fix typo reported by Douwe Kiela in PR 21677.wiz
2003-05-22Make i an int to please lint and remove a cast.wiz
2003-05-22Grammar fix; no functions returnint pointers here, so remove sectionwiz
about those functions from RETURN VALUES section.
2003-05-21Remove erroneouly added file.jdc
2003-05-21Cross reference curses_addchstr.3.jdc
2003-05-21Increment libcurses minor for addition of addchstr() functions.jdc
2003-05-21Add addchstr() family of functions.jdc
Based on mail from Douwe Kiela. Fixes PR lib/21285 by Thomas Klausner.
2003-05-21Add mvw* functions.jdc
2003-05-21Bump date for last.wiz
2003-05-21Add missing *printw manual page links.jdc
Patch provided in PR lib/21446 by Douwe Kiela.
2003-05-21Sort addbytes().jdc
2003-05-21Mention _CURSES_USE_MACROS.jdc
2003-05-20Add missing manual page links.jdc