You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PDCursesMod/pdcurses
Bill-Gray b172fcf248 Used logical or || where it should have been bitwise or |. 6 years ago
..
README.md All READMEs "converted" to markdown (only trivial changes). 10 years ago
addch.c Added 'assert(SP);' statements in a variety of core functions where, if you've called them before 'initscr()', you're doing something wrong and would like to know about it. 6 years ago
addchstr.c Copied over comments from wmcbrine for three files. No actual changes, except for repagination and some clarification of napms() timing. (And extensive fixes in the 'portability' section. That's probably the most important change.) 6 years ago
addstr.c 'addstr.c' : copied wmcbrine 'man' section (reformatting, updated portability info). Our versions of this file are now identical. 6 years ago
attr.c Copied wmcbrine 'attr.c'. This reformats the man section and updates portability info, but also adds four NetBSD 'underscoring' functions. Which means 'curses.h' also had to be updated to list those new functions. 6 years ago
beep.c Added 'assert(SP);' statements in a variety of core functions where, if you've called them before 'initscr()', you're doing something wrong and would like to know about it. 6 years ago
bkgd.c Copied over wmcbrine's 'bkgd.c'. Only changes are to the 'man' section. 6 years ago
border.c Copied over wmcbrine's 'border.c'. Only changes are to the 'man' section. 6 years ago
clear.c Copied over wmcbrine's 'clear.c'. Only changes are to the 'man' section. 6 years ago
color.c The four extended color functions were mentioned in the color.c documentation, but not actually described. 6 years ago
debug.c Added 'assert(SP);' statements in a variety of core functions where, if you've called them before 'initscr()', you're doing something wrong and would like to know about it. 6 years ago
delch.c 'delch.c' : man section reformatted and portability data updated, per wmcbrine. 6 years ago
deleteln.c Copied over wmcbrine's 'deleteln.c'. Only changes are to the 'man' section. 6 years ago
getch.c Used logical or || where it should have been bitwise or |. 6 years ago
getstr.c Added 'assert(SP);' statements in a variety of core functions where, if you've called them before 'initscr()', you're doing something wrong and would like to know about it. 6 years ago
getyx.c Copied over wmcbrine's 'getyx.c'. Mostly changes to the 'man' section, with one change to check for a NULL curscr. 6 years ago
inch.c Three wmcbrine files copied over where the only differences were in the 'man' sections (text reformatted and the portability section updated). 6 years ago
inchstr.c Three wmcbrine files copied over where the only differences were in the 'man' sections (text reformatted and the portability section updated). 6 years ago
initscr.c Added 'assert(SP);' statements in a variety of core functions where, if you've called them before 'initscr()', you're doing something wrong and would like to know about it. 6 years ago
inopts.c Added 'assert(SP);' statements in a variety of core functions where, if you've called them before 'initscr()', you're doing something wrong and would like to know about it. 6 years ago
insch.c OpenWATCOM 1.9 requires this cast. (I removed it when copying over the wmcbrine code; apparently, I was too quick to copy in this case.) 6 years ago
insstr.c MSVC gave numerous warnings for casts and similar issues. Mostly nuisances, but they are fixed herein. 6 years ago
instr.c 'instr.c' : copied wmcbrine 'man' section (reformatting, updated portability info). Only differences in this file now are three explicit casts. 6 years ago
kernel.c Added 'assert(SP);' statements in a variety of core functions where, if you've called them before 'initscr()', you're doing something wrong and would like to know about it. 6 years ago
keyname.c Missing comma caused KEY_SDOWN and CTL_SEMICOLON to concatenate into 'KEY_SDOWNCTL_SEMICOLON', _and_ made everything in the rest of the array off by one. 6 years ago
mouse.c nc_getmouse() had some wrong logic for dealing with mouse moves, and not very good logic for dealing with Alt/Shift/Ctrl modifiers. NCurses lacks PDCurses's moving-while-holding-a-button logic. So if the mouse moves at all, we only report it if we're trapping REPORT_MOUSE_POSITION, and we report it as a REPORT_MOUSE_POSITION; there's no way to do a 'proper' MOUSE_MOVE. (Not that it's hard to figure out that a button was pressed and the mouse then moved; I think NCurses made a good decision here.) 6 years ago
move.c Added 'assert(SP);' statements in a variety of core functions where, if you've called them before 'initscr()', you're doing something wrong and would like to know about it. 6 years ago
outopts.c Added 'assert(SP);' statements in a variety of core functions where, if you've called them before 'initscr()', you're doing something wrong and would like to know about it. 6 years ago
overlay.c 'overlay.c' copied from wmcbrine. man text reformatted and portability info updated. One possible issue with a cast (see 'overlay' parameter at end) that may get us a warning somewhere, someday. 6 years ago
pad.c Three new functions from wmcbrine fork : is_pad(), is_keypad(), is_leaveok(). Simplest fix was to copy his inopts.c, outopts.c, pad.c. 6 years ago
panel.c 'panel.c' copied from wmcbrine. Man text reformatted and portability updated, and a couple of checks for NULL pointers added. 6 years ago
printw.c 'printw.c' copied from wmcbrine. Man text reformatted and portability updated. No actual code changes. 6 years ago
refresh.c Added 'assert(SP);' statements in a variety of core functions where, if you've called them before 'initscr()', you're doing something wrong and would like to know about it. 6 years ago
scanw.c 'scroll.c', 'scanw.c' copied from wmcbrine. Only changes are in 'man' section : reformatting, updated portability info. 6 years ago
scr_dump.c Copied wmcbrine 'scr_dump.c'. Lots of man changes, and the combined allocate-memory-and-check lines broken into allocating some memory and then, on a separate line, checking the returned value. A cosmetic change (though I kinda like it). 6 years ago
scroll.c 'scroll.c', 'scanw.c' copied from wmcbrine. Only changes are in 'man' section : reformatting, updated portability info. 6 years ago
slk.c Added 'assert(SP);' statements in a variety of core functions where, if you've called them before 'initscr()', you're doing something wrong and would like to know about it. 6 years ago
termattr.c Copied 'man' comments for 'termattr.c' from wmcbrine. Lots of reformatting and portability updates. The files are now identical, except that I set ttyname inside longname(). Need to investigate why we have that difference... vaguely recall it did have some significance. 6 years ago
touch.c Copied wmcbrine 'touch.c'. Reformats 'man' section, updates portability info, and adds the touchoverlap() function. Definition for that was added to curses.h in the preceding commit. 6 years ago
util.c Reversion of much of commit ba4b145000. The changes to handle SMP and validation were correct. But the original code for handling NULL s and *s == '\0' was, in fact, correct; my changes didn't match the specs for this function. 6 years ago
window.c Added 'assert(SP);' statements in a variety of core functions where, if you've called them before 'initscr()', you're doing something wrong and would like to know about it. 6 years ago

README.md

PDCurses Portable Core

This directory contains core PDCurses source code files common to all platforms.

Building

These modules are built by the platform-specific makefiles, in the platform directories.

Distribution Status

The files in this directory are released to the Public Domain.

Acknowledgements

The panel library was originally provided by Warren Tucker wht@n4hgf.mt-park.ga.us