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 d7e7ec3a84
Log statement said we'd entered attr_get() when we'd really entered attr_set() (one-byte change).
1 year ago
..
README.md
addch.c Updated Unicode zero-width character table to Unicode 15.1.0 (from 14.0.0). 2 years ago
addchstr.c Comment changes only. In some places, 'PDCurses' was used to refer to PDCursesMod-specific features; you could reasonably have thought that the features in question were part of PDCurses, but they weren't. I haven't fixed everything yet. 2 years ago
addstr.c Comment changes only. In some places, 'PDCurses' was used to refer to PDCursesMod-specific features; you could reasonably have thought that the features in question were part of PDCurses, but they weren't. I haven't fixed everything yet. 2 years ago
attr.c Log statement said we'd entered attr_get() when we'd really entered attr_set() (one-byte change). 1 year ago
beep.c Comment changes only. In some places, 'PDCurses' was used to refer to PDCursesMod-specific features; you could reasonably have thought that the features in question were part of PDCurses, but they weren't. I haven't fixed everything yet. 2 years ago
bkgd.c Comment changes only. In some places, 'PDCurses' was used to refer to PDCursesMod-specific features; you could reasonably have thought that the features in question were part of PDCurses, but they weren't. I haven't fixed everything yet. 2 years ago
border.c As described in previous commit 099fa2876c, the PDC_set_box_type() extension was unnecessary and is removed. 1 year ago
clear.c Comment changes only. In some places, 'PDCurses' was used to refer to PDCursesMod-specific features; you could reasonably have thought that the features in question were part of PDCurses, but they weren't. I haven't fixed everything yet. 2 years ago
color.c Comment changes only. In some places, 'PDCurses' was used to refer to PDCursesMod-specific features; you could reasonably have thought that the features in question were part of PDCurses, but they weren't. I haven't fixed everything yet. 2 years ago
debug.c Comment changes only. In some places, 'PDCurses' was used to refer to PDCursesMod-specific features; you could reasonably have thought that the features in question were part of PDCurses, but they weren't. I haven't fixed everything yet. 2 years ago
delch.c Comment changes only. In some places, 'PDCurses' was used to refer to PDCursesMod-specific features; you could reasonably have thought that the features in question were part of PDCurses, but they weren't. I haven't fixed everything yet. 2 years ago
deleteln.c winsertln(), wdeleteln(), and winsdelln() all now use the PDC_wscrl() code from the preceding commit. This also fixes a bug wherein wdeleteln() went to the bottom of the scroll region (win->_bmarg) instead of the bottom of the window (win->_maxy - 1). 2 years ago
getch.c Added test for gettimeofday() availability on FreeBSDs. The existing tests failed when run with clang. 1 year ago
getstr.c Comment changes only. In some places, 'PDCurses' was used to refer to PDCursesMod-specific features; you could reasonably have thought that the features in question were part of PDCurses, but they weren't. I haven't fixed everything yet. 2 years ago
getyx.c Comment changes only. In some places, 'PDCurses' was used to refer to PDCursesMod-specific features; you could reasonably have thought that the features in question were part of PDCurses, but they weren't. I haven't fixed everything yet. 2 years ago
inch.c Comment changes only. In some places, 'PDCurses' was used to refer to PDCursesMod-specific features; you could reasonably have thought that the features in question were part of PDCurses, but they weren't. I haven't fixed everything yet. 2 years ago
inchstr.c Comment changes only. In some places, 'PDCurses' was used to refer to PDCursesMod-specific features; you could reasonably have thought that the features in question were part of PDCurses, but they weren't. I haven't fixed everything yet. 2 years ago
initscr.c Windows can now be allocated and resized to go off the right and bottom edges of the screen, a la ncurses. They still can't go off the left or right edges, though. 1 year ago
inopts.c Added is_cbreak(), is_echo(), is_nl(), is_raw() functions to access members of the non-opaque SCREEN struct. These were added to ncurses on 2023 Aug 12. Also added an 'opaque' test program and a new PDC_VERSION_PATCH #define. 2 years ago
insch.c Comment changes only. In some places, 'PDCurses' was used to refer to PDCursesMod-specific features; you could reasonably have thought that the features in question were part of PDCurses, but they weren't. I haven't fixed everything yet. 2 years ago
insstr.c winsnstr() handled up to 513 _bytes_ in the input, instead of the more logical/presumably intended 513 'wchar_t's. Handling of arbitrarily long strings is easily handled with a recursive call (can be tested by dropping MAX_WSTR to lower values). 1 year ago
instr.c Comment changes only. In some places, 'PDCurses' was used to refer to PDCursesMod-specific features; you could reasonably have thought that the features in question were part of PDCurses, but they weren't. I haven't fixed everything yet. 2 years ago
kernel.c DOS 'napping' now rounds to the nearest ~55-ms 'clock tick' (minimum of one tick). The comment in 'kernel.c' said a tick was 50 milliseconds; this error is corrected. 1 year ago
keyname.c Raised KEY_MAX to allow for possible expansion of the list of predefined 'special' keys 2 years ago
mouse.c Partial reversion/fix for commit abbd8f5268 (see discussion for that commit). The redefinition of KEY_OFFSET broke some existing code. Fortunately, the redefinition proved not absolutely essential to fixing the warnings in question. 2 years ago
move.c Fixes to allow -Wextra without causing nuisance warnings to occur. Almost entirely unused parameter suppression. 5 years ago
outopts.c wsetscrreg() required the cursor to be within the designated scroll region. This appears to no longer be necessary. See wmcbrine/PDCurses#165 (and a couple of commits subsequent to this one.) 2 years ago
overlay.c (Mostly) pulled the _firstch/_lastch handling out into separate functions. There was a lot of redundant code here; this is cleaner and, I hope, will lead the way to 'dirty' cells being addressed in a bitmap, rather than by the firstch/lastch approach. 4 years ago
pad.c Tightened some assert() statements. 2 years ago
pairs.txt Added a hash table to speed up find_pair(), alloc_pair(), free_pair(). Updated 'pairs.txt' to explain the added complications (which are, admittedly, getting pretty complicated). 4 years ago
panel.c 'panel.c' : the code to check overlapping panels really should be code to check overlapping _windows_; this may allow re-use of that function. This also enabled the code to be slightly cleaner. 2 years ago
printw.c 'printw.c' fix to avoid potential buffer overflow issues in DOS Digital Mars builds. Follow-up to commit ddf80d010f. 1 year ago
refresh.c Tightened some assert() statements. 2 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 Some 16-bit compilers lack 64-bit integers. Had to modify underlying code for putwin()/getwin() to accommodate this, by doing the bit arithmetic with two 32-bit ints instead of one 64-bit int. 3 years ago
scroll.c Made a separate PDC_wscrl() function to scroll a window by 'n' lines between rows 'top' and 'bottom'. This can be used by wscrl(), wdeleteln(), winsertln(), and winsdelln(), avoiding some redundant code. See preceding commit for the test program and following commit for the use of this function elsewhere. 2 years ago
slk.c Several minor fixes to comments, and one bit of code re-arrangement for better readability 2 years ago
termattr.c Comment changes only. In some places, 'PDCurses' was used to refer to PDCursesMod-specific features; you could reasonably have thought that the features in question were part of PDCurses, but they weren't. I haven't fixed everything yet. 2 years ago
terminfo.c Comment changes only. In some places, 'PDCurses' was used to refer to PDCursesMod-specific features; you could reasonably have thought that the features in question were part of PDCurses, but they weren't. I haven't fixed everything yet. 2 years ago
touch.c Several minor fixes to comments, and one bit of code re-arrangement for better readability 2 years ago
util.c If size_t is an unsigned type, then 'n - 4' can underflow. Also added documentation back in for PDC_mbstowcs, PDC_mbtowc, PDC_wcstombs. 1 year ago
window.c Windows can now be allocated and resized to go off the right and bottom edges of the screen, a la ncurses. They still can't go off the left or right edges, though. 1 year 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