WinCon display : if we hit a 'dummy next to fullwidth' character, we skip it and end the packet, restarting at the next character location. This ensures that the column will advance correctly, both in Win10 and Win11 (where a fullwidth character advances by two columns by default) or in older forks of Windows (where all characters advance by one column, no matter what).
Bill-Gray
2023-06-02 11:58:02 -0400
WinCon/pdcdisp.c : fixed some int/size_t casting issues. Used MAX_UNICODE rather than 'mystery' 0x110000 constant. Rearranged some code to use the 'official' PDCurses indentation/bracketing style.
Bill-Gray
2023-06-02 11:29:17 -0400
Thick-lined top tee character was, in Unicode, actually a top tee character with a thick line horizontally and 'normal' vertically. Now, it's thick in all three directions.
Bill-Gray
2023-06-01 13:30:38 -0400
Rearranged ACS and WACS box characters so that the distinctions between 'standard', 'ncurses and PDCursesMod extensions', and 'PDCursesMod extensions' was more clearly described. Also added missing alias for the double and double/single box characters.
Bill-Gray
2023-06-01 13:29:16 -0400
Added DESTDIR to the X11 port's Makefile. Shamelessly copied from @astralchan's modifications at wmcbrine/PDCurses#111, wmcbrine/PDCurses#109.
Bill-Gray
2023-05-26 17:33:11 -0400
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.
Bill-Gray
2023-05-24 12:36:59 -0400
Some warnings occurred if sizeof(int)==2 in wide-character builds (which can happen in DOSVGA and, I think, nowhere else). I think I've quashed all OpenWATCOM warnings.
Bill-Gray
2023-05-10 18:11:48 -0400
'testcurs' now uses wget_wch() in wide-character builds. The 'gradient' demo now extends to all six lines, instead of drawing the last three pseudo-randomly.
Bill-Gray
2023-05-09 17:57:41 -0400
It appears that the use of gettimeofday() is limited and/or deprecated on Windows when using MinGW. At least for the nonce, we'll _always_ use ftime() on Windows.
Bill-Gray
2023-05-09 16:57:47 -0400
'newtest' : fixed an unused variable warning when compiled for ncurses, extended the SLK tests, and switched to use of get_wch() for wide character builds
Bill-Gray
2023-05-08 21:04:03 -0400
'ptest' (panel demo program) could leak memory in some cases (harmlessly, but it prevented a clean bill of health from Valgrind)
Bill-Gray
2023-05-08 15:01:50 -0400
GetProcAddress() returns a FARPROC, which is a very generic function pointer. Casting it is unnecessary (except when looking at the return value, I think) and can generate warnings and errors. My thanks to Arnold Tremblay and Chuck Haatvedt for testing this out on other forks of Windows.
Bill-Gray
2023-04-15 20:26:14 -0400
Rearrangement so initscr() now calls newterm(), instead of the other way around. Reflects the reality that initscr() is simply a special case where newterm() is called with NULL parameters.
Bill-Gray
2023-03-04 17:33:51 -0500
Partial fix for issue #260 : getch() should return byte codes, meaning characters past 256 should be expanded into multi-byte strings.
Bill-Gray
2023-03-04 17:33:11 -0500