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 a5f13c248c
Update wide/zero-character width tables from Unicode 15.1.0 to 16.0.0
1 week ago
..
README.md All READMEs "converted" to markdown (only trivial changes). 9 years ago
addch.c Update wide/zero-character width tables from Unicode 15.1.0 to 16.0.0 1 week 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. 1 year 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. 1 year ago
attr.c Log statement said we'd entered attr_get() when we'd really entered attr_set() (one-byte change). 5 months 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. 1 year 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. 1 year ago
border.c As described in previous commit 099fa2876c, the PDC_set_box_type() extension was unnecessary and is removed. 8 months 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. 1 year 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. 1 year 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. 1 year 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. 1 year 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). 9 months ago
getch.c Added test for gettimeofday() availability on FreeBSDs. The existing tests failed when run with clang. 6 months 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. 1 year 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. 1 year 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. 1 year 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. 1 year 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. 5 months 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. 10 months ago
insch.c Added assert()s to check various input parameters to core functions 3 months 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). 6 months 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. 1 year 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. 6 months ago
keyname.c Raised KEY_MAX to allow for possible expansion of the list of predefined 'special' keys 1 year 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. 4 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.) 9 months 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. 3 years ago
pad.c Tightened some assert() statements. 1 year 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). 3 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. 1 year ago
printw.c 'printw.c' fix to avoid potential buffer overflow issues in DOS Digital Mars builds. Follow-up to commit ddf80d010f. 5 months ago
refresh.c Tightened some assert() statements. 1 year ago
scanw.c 'scroll.c', 'scanw.c' copied from wmcbrine. Only changes are in 'man' section : reformatting, updated portability info. 5 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. 2 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. 9 months ago
slk.c Several minor fixes to comments, and one bit of code re-arrangement for better readability 9 months 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. 1 year 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. 1 year ago
touch.c Added assert()s to check various input parameters to core functions 3 months 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. 5 months ago
window.c Added assert()s to check various input parameters to core functions 3 months 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