History log of /src/lib/libcurses/insstr.c |
Revision | | Date | Author | Comments |
1.12 |
| 23-Dec-2024 |
blymn | Sprinkle about some cycle wasting checks for the win pointer being null. Unfortunately, ncurses does this and there is some sloppy code out there that relies on the check resulting in segfaults in NetBSD curses which then, of course, gets blamed for the error.
|
1.11 |
| 19-Oct-2022 |
blymn | Fixes for lib/56926 amongst other things: - plod now correctly accounts for wide characters when plodding - use erase line when in color mode if the terminal has the capability - ensure that the CA_CONTINUATION flag is applied consistently to the subsequent characters in a wide character. - fix a bunch of refresh bugs that caused inconsistent placement of wide characters.
|
1.10 |
| 25-Jan-2022 |
blymn | Correct (hopefully) the handling of wide characters.
* Remove the WCOL family of macros, these were "stealing" the upper bits of a character attribute to store the column width of a character. No warning was given about this in curses.h which meant it was easy to accidentally reuse the bits in use by the WCOL macros (we already did). Add couple of 16bit ints to the character structure iff HAVE_WCHAR is true to hold the display width and wide char related flags (just continuation at the moment) * Convert all instances of WCOL macros to just reference the column width in the char structure so it is not obfuscated. * Fix cursor positioning so placing a cursor in the middle of a wide char actually does just that. * Fix plod so it understands that if the cursor is going to be positioned in the middle of a wide char it cannot just reprint the char to get there. * Fix plodput so it correctly counts the number of output characters for wide characters. * Fix slk routines to properly size the wctomb() buffer.
|
1.9 |
| 06-Sep-2021 |
rin | Expand __CTRACE() to __nothing #ifndef DEBUG.
Remove most of #ifdef DEBUG around __CTRACE() calls.
No binary changes, except for line numbers for assert().
|
1.8 |
| 06-Jul-2020 |
uwe | mvwins*(WINDOW *win, ...) functions - call wins* on win, not stdscr. From Naman Jain in PR lib/55460.
|
1.7 |
| 09-Jun-2019 |
blymn | branches: 1.7.2; Rework previous fix for getch cursor position when cursor is moved without refresh. If the window is not dirty but the window cursor position does not match curscr then move the cursor. This fixes the issues seen in PR lib/54263.
|
1.6 |
| 20-May-2019 |
blymn | Back out incorrect fix for PR 53617 and fix it in a different way. Keep track of the cursor location, if getch is called without a refresh and without pending updates (dirty windows) then move the cursor to the correct location directly. Doing this prevents unnecessary refreshes.
|
1.5 |
| 06-Jan-2017 |
roy | branches: 1.5.6; 1.5.14; KNF. Normalise coding style. White space police. Sprinkle some extra braces to make the flow more clear.
No functional changes.
|
1.4 |
| 02-Jan-2017 |
roy | Implement POSIX Curses functions immedok(3) and syncok(3).
|
1.3 |
| 22-Jul-2009 |
roy | branches: 1.3.28; Prepare curses for the possibility of changing from termcap to terminfo. term.h #defines lines, pad_char and no_color_video macros which conflict with existing curses code. We change lines to alines and nlines depending on use, pad_char to padchar and no_color_video becomes no_color_attributes but with a strong alias from no_color_video.
|
1.2 |
| 28-May-2007 |
blymn | Merge in wide curses code done as a Summer of Code project by Ruibiao Qiu.
|
1.1 |
| 21-Jan-2007 |
blymn | branches: 1.1.2; Wide curses merge
|
1.1.2.2 |
| 21-Jan-2007 |
jdc | Apply the changes that add debug "areas" on HEAD to the wcurses branch. Add correspending changes to the debug code that is only present on the branch.
|
1.1.2.1 |
| 21-Jan-2007 |
blymn | Merge wide curses.
|
1.3.28.1 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
1.5.14.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.5.6.1 |
| 07-Jul-2020 |
martin | Pull up following revision(s) (requested by uwe in ticket #1567):
lib/libcurses/insch.c: revision 1.26 lib/libcurses/ins_wch.c: revision 1.15 lib/libcurses/ins_wstr.c: revision 1.15 lib/libcurses/insstr.c: revision 1.8
mvwins*(WINDOW *win, ...) functions - call wins* on win, not stdscr. From Naman Jain in PR lib/55460.
|
1.7.2.1 |
| 07-Jul-2020 |
martin | Pull up following revision(s) (requested by uwe in ticket #986):
lib/libcurses/insch.c: revision 1.26 lib/libcurses/ins_wch.c: revision 1.15 lib/libcurses/ins_wstr.c: revision 1.15 lib/libcurses/insstr.c: revision 1.8
mvwins*(WINDOW *win, ...) functions - call wins* on win, not stdscr. From Naman Jain in PR lib/55460.
|