! 20130112 [ncurses.git] / NEWS.2010 2013/01/12 18:12:21 20130112 49 + correct prototype in manpage for vid_puts. 50 + drop ncurses/tty/tty_display.h, ncurses/tty/tty_input.h, since they 51 are unused in the current driver model. 52 + modify mvcur to use stdout except when called within the ncurses 53 library. 54 + modify vidattr and vid_attr to use stdout as documented in manpage. 55 + amend changes made to buffering in 20120825 so that the low-level 56 putp() call uses stdout rather than ncurses' internal buffering. 57 The putp_sp() call does the same, for consistency (Redhat #892674). 58 59 20130105 60 + add "-s" option to test/view.c to allow it to start in single-step 61 mode, reducing size of trace files when it is used for debugging 62 MinGW changes. 63 + revert part of 20121222 change to tinfo_driver.c 64 + add experimental logic in win_driver.c to improve optimization of 65 screen updates. This does not yet work with double-width characters, 66 so it is ifdef'd out for the moment (prompted by report by Erwin 67 Waterlander regarding screen flicker). 68 69 20121229 70 + fix coverity warnings regarding copying into fixed-size buffers. 71 + add throw-declarations in the c++ binding per Coverity warning. 72 + minor changes to new-items for consistent reference to bug-report 73 numbers. 74 75 20121222 76 + add *.dSYM directories to clean-rule in ncurses directory makefile, 77 for Mac OS builds. 78 + add a configure check for gcc option -no-cpp-precomp, which is not 79 available in all Mac OS X configurations (report by Andras Salamon, 80 cf: 20011208). 81 + improve 20021221 workaround for broken acs, handling a case where 82 that ACS_xxx character is not in the acsc string but there is a known 83 wide-character which can be used. 84 85 20121215 86 + fix several warnings from clang 3.1 --analyze, includes correcting 87 a null-pointer check in _nc_mvcur_resume. 88 + correct display of double-width characters with MinGW port (report 89 by Erwin Waterlander). 90 + replace MinGW's wcrtomb(), fixing a problem with _nc_viscbuf 91 > fixes based on Coverity report: 92 + correct coloring in test/bs.c 93 + correct check for 8-bit value in _nc_insert_ch(). 94 + remove dead code in progs/tset.c, test/linedata.h 95 + add null-pointer checks in lib_tracemse.c, panel.priv.h, and some 96 test-programs. 97 98 20121208 99 + modify test/knight.c to show the number of choices possible for 100 each position in automove option, e.g., to allow user to follow 101 Warnsdorff's rule to solve the puzzle. 102 + modify test/hanoi.c to show the minimum number of moves possible for 103 the given number of tiles (prompted by patch by Lucas Gioia). 104 > fixes based on Coverity report: 105 + remove a few redundant checks. 106 + correct logic in test/bs.c, when randomly placing a specific type of 107 ship. 108 + check return value from remove/unlink in tic. 109 + check return value from sscanf in test/ncurses.c 110 + fix a null dereference in c++/cursesw.cc 111 + fix two instances of uninitialized variables when configuring for the 112 terminal driver. 113 + correct scope of variable used in SetSafeOutcWrapper macro. 114 + set umask when calling mkstemp in tic. 115 + initialize wbkgrndset() temporary variable when extended-colors are 116 used. 117 118 20121201 119 + also replace MinGW's wctomb(), fixing a problem with setcchar(). 120 + modify test/view.c to load UTF-8 when built with MinGW by using 121 regular win32 API because the MinGW functions mblen() and mbtowc() 122 do not work. 123 124 20121124 125 + correct order of color initialization versus display in some of the 126 test-programs, e.g., test_addstr.c 127 > fixes based on Coverity report: 128 + delete windows on exit from some of the test-programs. 129 130 20121117 131 > fixes based on Coverity report: 132 + add missing braces around FreeAndNull in two places. 133 + various fixes in test/ncurses.c 134 + improve limit-checks in tinfo/make_hash.c, tinfo/read_entry.c 135 + correct malloc size in progs/infocmp.c 136 + guard against negative array indices in test/knight.c 137 + fix off-by-one limit check in test/color_name.h 138 + add null-pointer check in progs/tabs.c, test/bs.c, test/demo_forms.c, 139 test/inchs.c 140 + fix memory-leak in tinfo/lib_setup.c, progs/toe.c, 141 test/clip_printw.c, test/demo_menus.c 142 + delete unused windows in test/chgat.c, test/clip_printw.c, 143 test/insdelln.c, test/newdemo.c on error-return. 144 145 20121110 146 + modify configure macro CF_INCLUDE_DIRS to put $CPPFLAGS after the 147 local -I include options in case someone has set conflicting -I 148 options in $CPPFLAGS (prompted by patch for ncurses/Makefile.in by 149 Vassili Courzakis). 150 + modify the ncurses*-config scripts to eliminate relative paths from 151 the RPATH_LIST variable, e.g., "../lib" as used in installing shared 152 libraries or executables. 153 154 20121102 155 + realign these related pages: 156 curs_add_wchstr.3x 157 curs_addchstr.3x 158 curs_addstr.3x 159 curs_addwstr.3x 160 and fix a long-ago error in curs_addstr.3x which said that a -1 161 length parameter would only write as much as fit onto one line 162 (report by Reuben Thomas). 163 + remove obsolete fallback _nc_memmove() for memmove()/bcopy(). 164 + remove obsolete fallback _nc_strdup() for strdup(). 165 + cancel any debug-rpm in package/ncurses.spec 166 + reviewed vte-2012, reverted most of the change since it was incorrect 167 based on testing with tack -TD 168 + un-cancel the initc in vte-256color, since this was implemented 169 starting with version 0.20 in 2009 -TD 170 171 20121026 172 + improve malloc/realloc checking (prompted by discussion in Redhat 173 #866989). 174 + add ncurses test-program as "ncurses6" to the rpm- and dpkg-scripts. 175 + updated configure macros CF_GCC_VERSION and CF_WITH_PATHLIST. The 176 first corrects pattern used for Mac OS X's customization of gcc. 177 178 20121017 179 + fix change to _nc_scroll_optimize(), which incorrectly freed memory 180 (Redhat #866989). 181 182 20121013 183 + add vte-2012, gnome-2012, making these the defaults for vte/gnome 184 (patch by Christian Persch). 185 186 20121006 187 + improve CF_GCC_VERSION to work around Debian's customization of gcc 188 --version message. 189 + improve configure macros as done in byacc: 190 + drop 2.13 compatibility; use 2.52.xxxx version only since EMX port 191 has used that for a while. 192 + add 3rd parameter to AC_DEFINE's to allow autoheader to run, i.e., 193 for experimental use. 194 + remove unused configure macros. 195 + modify configure script and makefiles to quiet new autoconf warning 196 for LIBS_TO_MAKE variable. 197 + modify configure script to show $PATH_SEPARATOR variable. 198 + update config.guess, config.sub 199 200 20120922 201 + modify setupterm to set its copy of TERM to "unknown" if configured 202 for the terminal driver and TERM was null or empty. 203 + modify treatment of TERM variable for MinGW port to allow explicit 204 use of the windows console driver by checking if $TERM is set to 205 "#win32con" or an abbreviation of that. 206 + undo recent change to fallback definition of vsscanf() to build with 207 older Solaris compilers (cf: 20120728). 208 209 20120908 210 + add test-screens to test/ncurses to show 256-characters at a time, 211 to help with MinGW port. 212 213 20120903 214 + simplify varargs logic in lib_printw.c; va_copy is no longer needed 215 there. 216 + modifications for MinGW port to make wide-character display usable. 217 218 20120902 219 + regenerate configure script (report by Sven Joachim, cf: 20120901). 220 221 20120901 222 + add a null-pointer check in _nc_flush (cf: 20120825). 223 + fix a case in _nc_scroll_optimize() where the _oldnums_list array 224 might not be allocated. 225 + improve comparisons in configure.in for unset shell variables. 226 227 20120826 228 + increase size of ncurses' output-buffer, in case of very small 229 initial screen-sizes. 230 + fix evaluation of TERMINFO and TERMINFO_DIRS default values as needed 231 after changes to use --datarootdir (reports by Gabriele Balducci, 232 Roumen Petrov). 233 234 20120825 235 + change output buffering scheme, using buffer maintained by ncurses 236 rather than stdio, to avoid problems with SIGTSTP handling (report 237 by Brian Bloniarz). 238 239 20120811 240 + update autoconf patch to 2.52.20120811, adding --datarootdir 241 (prompted by discussion with Erwin Waterlander). 242 + improve description of --enable-reentrant option in README and the 243 INSTALL file. 244 + add nsterm-256color, make this the default nsterm -TD 245 + remove bw from nsterm-bce, per testing with tack -TD 246 247 20120804 248 + update test/configure, adding check for tinfo library. 249 + improve limit-checks for the getch fifo (report by Werner Fink). 250 + fix a remaining mismatch between $with_echo and the symbols updated 251 for CF_DISABLE_ECHO affecting parameters for mk-2nd.awk (report by 252 Sven Joachim, cf: 20120317). 253 + modify followup check for pkg-config's library directory in the 254 --enable-pc-files option to validate syntax (report by Sven Joachim, 255 cf: 20110716). 256 257 20120728 258 + correct path for ncurses_mingw.h in include/headers, in case build 259 is done outside source-tree (patch by Roumen Petrov). 260 + modify some older xterm entries to align with xterm source -TD 261 + separate "xterm-old" alias from "xterm-r6" -TD 262 + add E3 extended capability to xterm-basic and putty -TD 263 + parenthesize parameters of other macros in curses.h -TD 264 + parenthesize parameter of COLOR_PAIR and PAIR_NUMBER in curses.h 265 in case it happens to be a comma-expression, etc. (patch by Nick 266 Black). 267 268 20120721 269 + improved form_request_by_name() and menu_request_by_name(). 270 + eliminate two fixed-size buffers in toe.c 271 + extend use_tioctl() to have expected behavior when use_env(FALSE) and 272 use_tioctl(TRUE) are called. 273 + modify ncurses test-program, adding -E and -T options to demonstrate 274 use_env() versus use_tioctl(). 275 276 20120714 277 + add use_tioctl() function (adapted from patch by Werner Fink, 278 Novell #769788): 279 280 20120707 281 + add ncurses_mingw.h to installed headers (prompted by patch by 282 Juergen Pfeifer). 283 + clarify return-codes from wgetch() in response to SIGWINCH (prompted 284 by Novell #769788). 285 + modify resizeterm() to always push a KEY_RESIZE onto the fifo, even 286 if screensize is unchanged. Modify _nc_update_screensize() to push a 287 KEY_RESIZE if there was a SIGWINCH, even if it does not call 288 resizeterm(). These changes eliminate the case where a SIGWINCH is 289 received, but ERR returned from wgetch or wgetnstr because the screen 290 dimensions did not change (Novell #769788). 291 292 20120630 293 + add --enable-interop to sample package scripts (suggested by Juergen 294 Pfeifer). 295 + update CF_PATH_SYNTAX macro, from mawk changes. 296 + modify mk-0th.awk to allow for generating llib-ltic, etc., though 297 some work is needed on cproto to work with lib_gen.c to update 298 llib-lncurses. 299 + remove redundant getenv() cal in database-iterator leftover from 300 cleanup in 20120622 changes (report by Sven Joachim). 301 302 20120622 303 + add -d, -e and -q options to test/demo_terminfo and test/demo_termcap 304 + fix caching of environment variables in database-iterator (patch by 305 Philippe Troin, Redhat #831366). 306 307 20120616 308 + add configure check to distinguish clang from gcc to eliminate 309 warnings about unused command-line parameters when compiler warnings 310 are enabled. 311 + improve behavior when updating terminfo entries which are hardlinked 312 by allowing for the possibility that an alias has been repurposed to 313 a new primary name. 314 + fix some strict compiler warnings based on package scripts. 315 + further fixes for configure check for working poll (Debian #676461). 316 317 20120608 318 + fix an uninitialized variable in -c/-n logic for infocmp changes 319 (cf: 20120526). 320 + corrected fix for building c++ binding with clang 3.0 (report/patch 321 by Richard Yao, Gentoo #417613, cf: 20110409) 322 + correct configure check for working poll, fixing the case where stdin 323 is redirected, e.g., in rpm/dpkg builds (Debian #676461). 324 + add rpm- and dpkg-scripts, to test those build-environments. 325 The resulting packages are used only for testing. 326 327 20120602 328 + add kdch1 aka "Remove" to vt220 and vt220-8 entries -TD 329 + add kdch1, etc., to qvt108 -TD 330 + add dl1/il1 to some entries based on dl/il values -TD 331 + add dl to simpleterm -TD 332 + add consistency-checks in tic for insert-line vs delete-line 333 controls, and insert/delete-char keys 334 + correct no-leaks logic in infocmp when doing comparisons, fixing 335 duplicate free of entries given via the command-line, and freeing 336 entries loaded from the last-but-one of files specified on the 337 command-line. 338 + add kdch1 to wsvt25 entry from NetBSD CVS (reported by David Lord, 339 analysis by Martin Husemann). 340 + add cnorm/civis to wsvt25 entry from NetBSD CVS (report/analysis by 341 Onno van der Linden). 342 343 20120526 344 + extend -c and -n options of infocmp to allow comparing more than two 345 entries. 346 + correct check in infocmp for number of terminal names when more than 347 two are given. 348 + correct typo in curs_threads.3x (report by Yanhui Shen on 349 freebsd-hackers mailing list). 350 351 20120512 352 + corrected 'op' for bterm (report by Samuel Thibault) -TD 353 + modify test/background.c to demonstrate a background character 354 holding a colored ACS_HLINE. The behavior differs from SVr4 due to 355 the thick- and double-line extension (cf: 20091003). 356 + modify handling of acs characters in PutAttrChar to avoid mapping an 357 unmapped character to a space with A_ALTCHARSET set. 358 + rewrite vt520 entry based on vt420 -TD 359 360 20120505 361 + remove p6 (bold) from opus3n1+ for consistency -TD 362 + remove acs stuff from env230 per clues in Ingres termcap -TD 363 + modify env230 sgr/sgr0 to match other capabilities -TD 364 + modify smacs/rmacs in bq300-8 to match sgr/sgr0 -TD 365 + make sgr for dku7202 agree with other caps -TD 366 + make sgr for ibmpc agree with other caps -TD 367 + make sgr for tek4107 agree with other caps -TD 368 + make sgr for ndr9500 agree with other caps -TD 369 + make sgr for sco-ansi agree with other caps -TD 370 + make sgr for d410 agree with other caps -TD 371 + make sgr for d210 agree with other caps -TD 372 + make sgr for d470c, d470c-7b agree with other caps -TD 373 + remove redundant AC_DEFINE for NDEBUG versus Makefile definition. 374 + fix a back-link in _nc_delink_entry(), which is needed if ncurses is 375 configured with --enable-termcap and --disable-getcap. 376 377 20120428 378 + fix some inconsistencies between vt320/vt420, e.g., cnorm/civis -TD 379 + add eslok flag to dec+sl -TD 380 + dec+sl applies to vt320 and up -TD 381 + drop wsl width from xterm+sl -TD 382 + reuse xterm+sl in putty and nsca-m -TD 383 + add ansi+tabs to vt520 -TD 384 + add ansi+enq to vt220-vt520 -TD 385 + fix a compiler warning in example in ncurses-intro.doc (Paul Waring). 386 + added paragraph in keyname manpage telling how extended capabilities 387 are interpreted as key definitions. 388 + modify tic's check of conflicting key definitions to include extended 389 capability strings in addition to the existing check on predefined 390 keys. 391 392 20120421 393 + improve cleanup of temporary files in tic using atexit(). 394 + add msgr to vt420, similar DEC vtXXX entries -TD 395 + add several missing vt420 capabilities from vt220 -TD 396 + factor out ansi+pp from several entries -TD 397 + change xterm+sl and xterm+sl-twm to include only the status-line 398 capabilities and not "use=xterm", making them more generally useful 399 as building-blocks -TD 400 + add dec+sl building block, as example -TD 401 402 20120414 403 + add XT to some terminfo entries to improve usefulness for other 404 applications than screen, which would like to pretend that xterm's 405 title is a status-line. -TD 406 + change use-clauses in ansi-mtabs, hp2626, and hp2622 based on review 407 of ordering and overrides -TD 408 + add consistency check in tic for screen's "XT" capability. 409 + add section in terminfo.src summarizing the user-defined capabilities 410 used in that file -TD 411 412 20120407 413 + fix an inconsistency between tic/infocmp "-x" option; tic omits all 414 non-standard capabilities, while infocmp was ignoring only the user 415 definable capabilities. 416 + improve special case in tic parsing of description to allow it to be 417 followed by terminfo capabilities. Previously the description had to 418 be the last field on an input line to allow tic to distinguish 419 between termcap and terminfo format while still allowing commas to be 420 embedded in the description. 421 + correct variable name in gen_edit.sh which broke configurability of 422 the --with-xterm-kbs option. 423 + revert 2011-07-16 change to "linux" alias, return to "linux2.2" -TD 424 + further amend 20110910 change, providing for configure-script 425 override of the "linux" terminfo entry to install and changing the 426 default for that to "linux2.2" (Debian #665959). 427 428 20120331 429 + update Ada95/configure to use CF_DISABLE_ECHO (cf: 20120317). 430 + correct order of use-clauses in st-256color -TD 431 + modify configure script to look for gnatgcc if the Ada95 binding 432 is built, in preference to the default gcc/cc (suggested by 433 Nicolas Boulenguez). 434 + modify configure script to ensure that the same -On option used for 435 the C compiler in CFLAGS is used for ADAFLAGS rather than simply 436 using "-O3" (suggested by Nicolas Boulenguez) 437 438 20120324 439 + amend an old fix so that next_char() exits properly for empty files, 440 e.g., from reading /dev/null (cf: 20080804). 441 + modify tic so that it can read from the standard input, or from 442 a character device. Because tic uses seek's, this requires writing 443 the data to a temporary file first (prompted by remark by Sven 444 Joachim) (cf: 20000923). 445 446 20120317 447 + correct a check made in lib_napms.c, so that terminfo applications 448 can again use napms() (cf: 20110604). 449 + add a note in tic.h regarding required casts for ABSENT_BOOLEAN 450 (cf: 20040327). 451 + correct scripting for --disable-echo option in test/configure. 452 + amend check for missing c++ compiler to work when no error is 453 reported, and no variables set (cf: 20021206). 454 + add/use configure macro CF_DISABLE_ECHO. 455 456 20120310 457 + fix some strict compiler warnings for abi6 and 64-bits. 458 + use begin_va_copy/end_va_copy macros in lib_printw.c (cf: 20120303). 459 + improve a limit-check in infocmp.c (Werner Fink): 460 461 20120303 462 + minor tidying of terminfo.tail, clarify reason for limitation 463 regarding mapping of \0 to \200 464 + minor improvement to _nc_copy_termtype(), using memcpy to replace 465 loops. 466 + fix no-leaks checking in test/demo_termcap.c to account for multiple 467 calls to setupterm(). 468 + modified the libgpm change to show previous load as a problem in the 469 debug-trace. 470 > merge some patches from OpenSUSE rpm (Werner Fink): 471 + ncurses-5.7-printw.dif, fixes for varargs handling in lib_printw.c 472 + ncurses-5.7-gpm.dif, do not dlopen libgpm if already loaded by 473 runtime linker 474 + ncurses-5.6-fallback.dif, do not free arrays and strings from static 475 fallback entries 476 477 20120228 478 + fix breakage in tic/infocmp from 20120225 (report by Werner Fink). 479 480 20120225 481 + modify configure script to allow creating dll's for MinGW when 482 cross-compiling. 483 + add --enable-string-hacks option to control whether strlcat and 484 strlcpy may be used. The same issue applies to OpenBSD's warnings 485 about snprintf, noting that this function is weakly standardized. 486 + add configure checks for strlcat, strlcpy and snprintf, to help 487 reduce bogus warnings with OpenBSD builds. 488 + build-fix for OpenBSD 4.9 to supply consistent intptr_t declaration 489 (cf:20111231) 490 + update config.guess, config.sub 491 492 20120218 493 + correct CF_ETIP_DEFINES configure macro, making it exit properly on 494 the first success (patch by Pierre Labastie). 495 + improve configure macro CF_MKSTEMP by moving existence-check for 496 mkstemp out of the AC_TRY_RUN, to help with cross-compiles. 497 + improve configure macro CF_FUNC_POLL from luit changes to detect 498 broken implementations, e.g., with Mac OS X. 499 + add configure option --with-tparm-arg 500 + build-fix for MinGW cross-compiling, so that make_hash does not 501 depend on TTY definition (cf: 20111008). 502 503 20120211 504 + make sgr for xterm-pcolor agree with other caps -TD 505 + make sgr for att5425 agree with other caps -TD 506 + make sgr for att630 agree with other caps -TD 507 + make sgr for linux entries agree with other caps -TD 508 + make sgr for tvi9065 agree with other caps -TD 509 + make sgr for ncr260vt200an agree with other caps -TD 510 + make sgr for ncr160vt100pp agree with other caps -TD 511 + make sgr for ncr260vt300an agree with other caps -TD 512 + make sgr for aaa-60-dec-rv, aaa+dec agree with other caps -TD 513 + make sgr for cygwin, cygwinDBG agree with other caps -TD 514 + add configure option --with-xterm-kbs to simplify configuration for 515 Linux versus most other systems. 516 517 20120204 518 + improved tic -D option, avoid making target directory and provide 519 better diagnostics. 520 521 20120128 522 + add mach-gnu (Debian #614316, patch by Samuel Thibault) 523 + add mach-gnu-color, tweaks to mach-gnu terminfo -TD 524 + make sgr for sun-color agree with smso -TD 525 + make sgr for prism9 agree with other caps -TD 526 + make sgr for icl6404 agree with other caps -TD 527 + make sgr for ofcons agree with other caps -TD 528 + make sgr for att5410v1, att4415, att620 agree with other caps -TD 529 + make sgr for aaa-unk, aaa-rv agree with other caps -TD 530 + make sgr for avt-ns agree with other caps -TD 531 + amend fix intended to separate fixups for acsc to allow "tic -cv" to 532 give verbose warnings (cf: 20110730). 533 + modify misc/gen-edit.sh to make the location of the tabset directory 534 consistent with misc/Makefile.in, i.e., using ${datadir}/tabset 535 (Debian #653435, patch by Sven Joachim). 536 537 20120121 538 + add --with-lib-prefix option to allow configuring for old/new flavors 539 of OS/2 EMX. 540 + modify check for gnat version to allow for year, as used in FreeBSD 541 port. 542 + modify check_existence() in db_iterator.c to simply check if the 543 path is a directory or file, according to the need. Checking for 544 directory size also gives no usable result with OS/2 (cf: 20120107). 545 + support OS/2 kLIBC (patch by KO Myung-Han). 546 547 20120114 548 + several improvements to test/movewindow.c (prompted by discussion on 549 Linux Mint forum): 550 + modify movement commands to make them continuous 551 + rewrote the test for mvderwin 552 + rewrote the test for recursive mvwin 553 + split-out reusable CF_WITH_NCURSES_ETC macro in test/configure.in 554 + updated configure macro CF_XOPEN_SOURCE, build-fixes for Mac OS X 555 and OpenBSD. 556 + regenerated html manpages. 557 558 20120107 559 + various improvments for MinGW (Juergen Pfeifer): 560 + modify stat() calls to ignore the st_size member 561 + drop mk-dlls.sh script. 562 + change recommended regular expression library. 563 + modify rain.c to allow for threaded configuraton. 564 + modify tset.c to allow for case when size-change logic is not used. 565 566 20111231 567 + modify toe's report when -a and -s options are combined, to add 568 a column showing which entries belong to a given database. 569 + add -s option to toe, to sort its output. 570 + modify progs/toe.c, simplifying use of db-iterator results to use 571 caching improvements from 20111001 and 20111126. 572 + correct generation of pc-files when ticlib or termlib options are 573 given to rename the corresponding tic- or tinfo-libraries (report 574 by Sven Joachim). 575 576 20111224 577 + document a portability issue with tput, i.e., that scripts which work 578 with ncurses may fail in other implementations that do no parameter 579 analysis. 580 + add putty-sco entry -TD 581 582 20111217 583 + review/fix places in manpages where --program-prefix configure option 584 was not being used. 585 + add -D option to infocmp, to show the database locations that it 586 could use. 587 + fix build for the special case where term-driver, ticlib and termlib 588 are all enabled. The terminal driver depends on a few features in 589 the base ncurses library, so tic's dependencies include both ncurses 590 and termlib. 591 + fix build work for term-driver when --enable-wgetch-events option is 592 enabled. 593 + use <stdint.h> types to fix some questionable casts to void*. 594 595 20111210 596 + modify configure script to check if thread library provides 597 pthread_mutexattr_settype(), e.g., not provided by Solaris 2.6 598 + modify configure script to suppress check to define _XOPEN_SOURCE 599 for IRIX64, since its header files have a conflict versus 600 _SGI_SOURCE. 601 + modify configure script to add ".pc" files for tic- and 602 tinfo-libraries, which were omitted in recent change (cf: 20111126). 603 + fix inconsistent checks on $PKG_CONFIG variable in configure script. 604 605 20111203 606 + modify configure-check for etip.h dependencies, supplying a temporary 607 copy of ncurses_dll.h since it is a generated file (prompted by 608 Debian #646977). 609 + modify CF_CPP_PARAM_INIT "main" function to work with current C++. 610 611 20111126 612 + correct database iterator's check for duplicate entries 613 (cf: 20111001). 614 + modify database iterator to ignore $TERMCAP when it is not an 615 absolute pathname. 616 + add -D option to tic, to show the database locations that it could 617 use. 618 + improve description of database locations in tic manpage. 619 + modify the configure script to generate a list of the ".pc" files to 620 generate, rather than deriving the list from the libraries which have 621 been built (patch by Mike Frysinger). 622 + use AC_CHECK_TOOLS in preference to AC_PATH_PROGS when searching for 623 ncurses*-config, e.g., in Ada95/configure and test/configure (adapted 624 from patch by Mike Frysinger). 625 626 20111119 627 + remove obsolete/conflicting fallback definition for _POSIX_SOURCE 628 from curses.priv.h, fixing a regression with IRIX64 and Tru64 629 (cf: 20110416) 630 + modify _nc_tic_dir() to ensure that its return-value is nonnull, 631 i.e., the database iterator was not initialized. This case is needed 632 to when tic is translating to termcap, rather than loading the 633 database (cf: 20111001). 634 635 20111112 636 + add pccon entries for OpenBSD console (Alexei Malinin). 637 + build-fix for OpenBSD 4.9 with gcc 4.2.1, setting _XOPEN_SOURCE to 638 600 to work around inconsistent ifdef'ing of wcstof between C and 639 C++ header files. 640 + modify capconvert script to accept more than exact match on "xterm", 641 e.g., the "xterm-*" variants, to exclude from the conversion (patch 642 by Robert Millan). 643 + add -lc_r as alternative for -lpthread, allows build of threaded code 644 in older FreeBSD machines. 645 + build-fix for MirBSD, which fails when either _XOPEN_SOURCE or 646 _POSIX_SOURCE are defined. 647 + fix a typo misc/Makefile.in, used in uninstalling pc-files. 648 649 20111030 650 + modify make_db_path() to allow creating "terminfo.db" in the same 651 directory as an existing "terminfo" directory. This fixes a case 652 where switching between hashed/filesystem databases would cause the 653 new hashed database to be installed in the next best location - 654 root's home directory. 655 + add variable cf_cv_prog_gnat_correct to those passed to 656 config.status, fixing a problem with Ada95 builds (cf: 20111022). 657 + change feature test from _XPG5 to _XOPEN_SOURCE in two places, to 658 accommodate broken implementations for _XPG6. 659 + eliminate usage of NULL symbol from etip.h, to reduce header 660 interdependencies. 661 + add configure check to decide when to add _XOPEN_SOURCE define to 662 compiler options, i.e., for Solaris 10 and later (cf: 20100403). 663 This is a workaround for gcc 4.6, which fails to build the c++ 664 binding if that symbol is defined by the application, due to 665 incorrectly combining the corresponding feature test macros 666 (report by Peter Kruse). 667 668 20111022 669 + correct logic for discarding mouse events, retaining the partial 670 events used to build up click, double-click, etc, until needed 671 (cf: 20110917). 672 + fix configure script to avoid creating unused Ada95 makefile when 673 gnat does not work. 674 + cleanup width-related gcc 3.4.3 warnings for 64-bit platform, for the 675 internal functions of libncurses. The external interface of courses 676 uses bool, which still produces these warnings. 677 678 20111015 679 + improve description of --disable-tic-depends option to make it 680 clear that it may be useful whether or not the --with-termlib 681 option is also given (report by Sven Joachim). 682 + amend termcap equivalent for set_pglen_inch to use the X/Open 683 "YI" rather than the obsolete Solaris 2.5 "sL" (cf: 990109). 684 + improve manpage for tgetent differences from termcap library. 685 686 20111008 687 + moved static data from db_iterator.c to lib_data.c 688 + modify db_iterator.c for memory-leak checking, fix one leak. 689 + modify misc/gen-pkgconfig.in to use Requires.private for the parts 690 of ncurses rather than Requires, as well as Libs.private for the 691 other library dependencies (prompted by Debian #644728). 692 693 20111001 694 + modify tic "-K" option to only set the strict-flag rather than force 695 source-output. That allows the same flag to control the parser for 696 input and output of termcap source. 697 + modify _nc_getent() to ignore backslash at the end of a comment line, 698 making it consistent with ncurses' parser. 699 + restore a special-case check for directory needed to make termcap 700 text files load as if they were databases (cf: 20110924). 701 + modify tic's resolution/collision checking to attempt to remove the 702 conflicting alias from the second entry in the pair, which is 703 normally following in the source file. Also improved the warning 704 message to make it simpler to see which alias is the problem. 705 + improve performance of the database iterator by caching search-list. 706 707 20110925 708 + add a missing "else" in changes to _nc_read_tic_entry(). 709 710 20110924 711 + modify _nc_read_tic_entry() so that hashed-database is checked before 712 filesystem. 713 + updated CF_CURSES_LIBS check in test/configure script. 714 + modify configure script and makefiles to split TIC_ARGS and 715 TINFO_ARGS into pieces corresponding to LDFLAGS and LIBS variables, 716 to help separate searches for tic- and tinfo-libraries (patch by Nick 717 Alcock aka "Nix"). 718 + build-fix for lib_mouse.c changes (cf: 20110917). 719 720 20110917 721 + fix compiler warning for clang 2.9 722 + improve merging of mouse events (integrated patch by Damien 723 Guibouret). 724 + correct mask-check used in lib_mouse for wheel mouse buttons 4/5 725 (patch by Damien Guibouret). 726 727 20110910 728 + modify misc/gen_edit.sh to select a "linux" entry which works with 729 the current kernel rather than assuming it is always "linux3.0" 730 (cf: 20110716). 731 + revert a change to getmouse() which had the undesirable side-effect 732 of suppressing button-release events (report by Damien Guibouret, 733 cf: 20100102). 734 + add xterm+kbs fragment from xterm #272 -TD 735 + add configure option --with-pkg-config-libdir to provide control over 736 the actual directory into which pc-files are installed, do not use 737 the pkg-config environment variables (discussion with Frederic L W 738 Meunier). 739 + add link to mailing-list archive in announce.html.in, as done in 740 FAQ (prompted by question by Andrius Bentkus). 741 + improve manpage install by adjusting the "#include" examples to 742 show the ncurses-subdirectory used when --disable-overwrite option 743 is used. 744 + install an alias for "curses" to the ncurses manpage, tied to the 745 --with-curses-h configure option (suggested by Reuben Thomas). 746 747 20110903 748 + propagate error-returns from wresize, i.e., the internal 749 increase_size and decrease_size functions through resize_term (report 750 by Tim van der Molen, cf: 20020713). 751 + fix typo in tset manpage (patch by Sven Joachim). 752 753 20110820 754 + add a check to ensure that termcap files which might have "^?" do 755 not use the terminfo interpretation as "\177". 756 + minor cleanup of X-terminal emulator section of terminfo.src -TD 757 + add terminator entry -TD 758 + add simpleterm entry -TD 759 + improve wattr_get macros by ensuring that if the window pointer is 760 null, then the attribute and color values returned will be zero 761 (cf: 20110528). 762 763 20110813 764 + add substitution for $RPATH_LIST to misc/ncurses-config.in 765 + improve performance of tic with hashed-database by caching the 766 database connection, using atexit() to cleanup. 767 + modify treatment of 2-character aliases at the beginning of termcap 768 entries so they are not counted in use-resolution, since these are 769 guaranteed to be unique. Also ignore these aliases when reporting 770 the primary name of the entry (cf: 20040501) 771 + double-check gn (generic) flag in terminal descriptions to 772 accommodate old/buggy termcap databases which misused that feature. 773 + minor fixes to _nc_tgetent(), ensure buffer is initialized even on 774 error-return. 775 776 20110807 777 + improve rpath fix from 20110730 by ensuring that the new $RPATH_LIST 778 variable is defined in the makefiles which use it. 779 + build-fix for DragonFlyBSD's pkgsrc in test/configure script. 780 + build-fixes for NetBSD 5.1 with termcap support enabled. 781 + corrected k9 in dg460-ansi, add other features based on manuals -TD 782 + improve trimming of whitespace at the end of terminfo/termcap output 783 from tic/infocmp. 784 + when writing termcap source, ensure that colons in the description 785 field are translated to a non-delimiter, i.e., "=". 786 + add "-0" option to tic/infocmp, to make the termcap/terminfo source 787 use a single line. 788 + add a null-pointer check when handling the $CC variable. 789 790 20110730 791 + modify configure script and makefiles in c++ and progs to allow the 792 directory used for rpath option to be overridden, e.g., to work 793 around updates to the variables used by tic during an install. 794 + add -K option to tic/infocmp, to provide stricter BSD-compatibility 795 for termcap output. 796 + add _nc_strict_bsd variable in tic library which controls the 797 "strict" BSD termcap compatibility from 20110723, plus these 798 features: 799 + allow escapes such as "\8" and "\9" when reading termcap 800 + disallow "\a", "\e", "\l", "\s" and "\:" escapes when reading 801 termcap files, passing through "a", "e", etc. 802 + expand "\:" as "\072" on output. 803 + modify _nc_get_token() to reset the token's string value in case 804 there is a string-typed token lacking the "=" marker. 805 + fix a few memory leaks in _nc_tgetent. 806 + fix a few places where reading from a termcap file could refer to 807 freed memory. 808 + add an overflow check when converting terminfo/termcap numeric 809 values, since terminfo stores those in a short, and they must be 810 positive. 811 + correct internal variables used for translating to termcap "%>" 812 feature, and translating from termcap %B to terminfo, needed by 813 tctest (cf: 19991211). 814 + amend a minor fix to acsc when loading a termcap file to separate it 815 from warnings needed for tic (cf: 20040710) 816 + modify logic in _nc_read_entry() and _nc_read_tic_entry() to allow 817 a termcap file to be handled via TERMINFO_DIRS. 818 + modify _nc_infotocap() to include non-mandatory padding when 819 translating to termcap. 820 + modify _nc_read_termcap_entry(), passing a flag in the case where 821 getcap is used, to reduce interactive warning messages. 822 823 20110723 824 + add a check in start_color() to limit color-pairs to 256 when 825 extended colors are not supported (patch by David Benjamin). 826 + modify setcchar to omit no-longer-needed OR'ing of color pair in 827 the SetAttr() macro (patch by David Benjamin). 828 + add kich1 to sun terminfo entry (Yuri Pankov) 829 + use bold rather than reverse for smso in sun-color terminfo entry 830 (Yuri Pankov). 831 + improve generation of termcap using tic/infocmp -C option, e.g., 832 to correspond with 4.2BSD (prompted by discussion with Yuri Pankov 833 regarding Schilling's test program): 834 + translate %02 and %03 to %2 and %3 respectively. 835 + suppress string capabilities which use %s, not supported by tgoto 836 + use \040 rather than \s 837 + expand null characters as \200 rather than \0 838 + modify configure script to support shared libraries for DragonFlyBSD. 839 840 20110716 841 + replace an assert() in _nc_Free_Argument() with a regular null 842 pointer check (report/analysis by Franjo Ivancic). 843 + modify configure --enable-pc-files option to take into account the 844 PKG_CONFIG_PATH variable (report by Frederic L W Meunier). 845 + add/use xterm+tmux chunk from xterm #271 -TD 846 + resync xterm-new entry from xterm #271 -TD 847 + add E3 extended capability to linux-basic (Miroslav Lichvar) 848 + add linux2.2, linux2.6, linux3.0 entries to give context for E3 -TD 849 + add SI/SO change to linux2.6 entry (Debian #515609) -TD 850 + fix inconsistent tabset path in pcmw (Todd C. Miller). 851 + remove a backslash which continued comment, obscuring altos3 852 definition with OpenBSD toolset (Nicholas Marriott). 853 854 20110702 855 + add workaround from xterm #271 changes to ensure that compiler flags 856 are not used in the $CC variable. 857 + improve support for shared libraries, tested with AIX 5.3, 6.1 and 858 7.1 with both gcc 4.2.4 and cc. 859 + modify configure checks for AIX to include release 7.x 860 + add loader flags/libraries to libtool options so that dynamic loading 861 works properly, adapted from ncurses-5.7-ldflags-with-libtool.patch 862 at gentoo prefix repository (patch by Michael Haubenwallner). 863 864 20110626 865 + move include of nc_termios.h out of term_entry.h, since the latter 866 is installed, e.g., for tack while the former is not (report by 867 Sven Joachim). 868 869 20110625 870 + improve cleanup() function in lib_tstp.c, using _exit() rather than 871 exit() and checking for SIGTERM rather than SIGQUIT (prompted by 872 comments forwarded by Nicholas Marriott). 873 + reduce name pollution from term.h, moving fallback #define's for 874 tcgetattr(), etc., to new private header nc_termios.h (report by 875 Sergio NNX). 876 + two minor fixes for tracing (patch by Vassili Courzakis). 877 + improve trace initialization by starting it in use_env() and 878 ripoffline(). 879 + review old email, add details for some changelog entries. 880 881 20110611 882 + update minix entry to minix 3.2 (Thomas Cort). 883 + fix a strict compiler warning in change to wattr_get (cf: 20110528). 884 885 20110604 886 + fixes for MirBSD port: 887 + set default prefix to /usr. 888 + add support for shared libraries in configure script. 889 + use S_ISREG and S_ISDIR consistently, with fallback definitions. 890 + add a few more checks based on ncurses/link_test. 891 + modify MKlib_gen.sh to handle sp-funcs renaming of NCURSES_OUTC type. 892 893 20110528 894 + add case to CF_SHARED_OPTS for Interix (patch by Markus Duft). 895 + used ncurses/link_test to check for behavior when the terminal has 896 not been initialized and when an application passes null pointers 897 to the library. Added checks to cover this (prompted by Redhat 898 #707344). 899 + modify MKlib_gen.sh to make its main() function call each function 900 with zero parameters, to help find inconsistent checking for null 901 pointers, etc. 902 903 20110521 904 + fix warnings from clang 2.7 "--analyze" 905 906 20110514 907 + compiler-warning fixes in panel and progs. 908 + modify CF_PKG_CONFIG macro, from changes to tin -TD 909 + modify CF_CURSES_FUNCS configure macro, used in test directory 910 configure script: 911 + work around (non-optimizer) bug in gcc 4.2.1 which caused 912 test-expression to be omitted from executable. 913 + force the linker to see a link-time expression of a symbol, to 914 help work around weak-symbol issues. 915 916 20110507 917 + update discussion of MKfallback.sh script in INSTALL; normally the 918 script is used automatically via the configured makefiles. However 919 there are still occasions when it might be used directly by packagers 920 (report by Gunter Schaffler). 921 + modify misc/ncurses-config.in to omit the "-L" option from the 922 "--libs" output if the library directory is /usr/lib. 923 + change order of tests for curses.h versus ncurses.h headers in the 924 configure scripts for Ada95 and test-directories, to look for 925 ncurses.h, from fixes to tin -TD 926 + modify ncurses/tinfo/access.c to account for Tandem's root uid 927 (report by Joachim Schmitz). 928 929 20110430 930 + modify rules in Ada95/src/Makefile.in to ensure that the PIC option 931 is not used when building a static library (report by Nicolas 932 Boulenguez): 933 + Ada95 build-fix for big-endian architectures such as sparc. This 934 undoes one of the fixes from 20110319, which added an "Unused" member 935 to representation clauses, replacing that with pragmas to suppress 936 warnings about unused bits (patch by Nicolas Boulenguez): 937 938 20110423 939 + add check in test/configure for use_window, use_screen. 940 + add configure-checks for getopt's variables, which may be declared 941 as different types on some Unix systems. 942 + add check in test/configure for some legacy curses types of the 943 function pointer passed to tputs(). 944 + modify init_pair() to accept -1's for color value after 945 assume_default_colors() has been called (Debian #337095). 946 + modify test/background.c, adding commmand-line options to demonstrate 947 assume_default_colors() and use_default_colors(). 948 949 20110416 950 + modify configure script/source-code to only define _POSIX_SOURCE if 951 the checks for sigaction and/or termios fail, and if _POSIX_C_SOURCE 952 and _XOPEN_SOURCE are undefined (report by Valentin Ochs). 953 + update config.guess, config.sub 954 955 20110409 956 + fixes to build c++ binding with clang 3.0 (patch by Alexander 957 Kolesen). 958 + add check for unctrl.h in test/configure, to work around breakage in 959 some ncurses packages. 960 + add "--disable-widec" option to test/configure script. 961 + add "--with-curses-colr" and "--with-curses-5lib" options to the 962 test/configure script to address testing with very old machines. 963 964 20110404 5.9 release for upload to 965 966 20110402 967 + various build-fixes for the rpm/dpkg scripts. 968 + add "--enable-rpath-link" option to Ada95/configure, to allow 969 packages to suppress the rpath feature which is normally used for 970 the in-tree build of sample programs. 971 + corrected definition of libdir variable in Ada95/src/Makefile.in, 972 needed for rpm script. 973 + add "--with-shared" option to Ada95/configure script, to allow 974 making the C-language parts of the binding use appropriate compiler 975 options if building a shared library with gnat. 976 977 20110329 978 > portability fixes for Ada95 binding: 979 + add configure check to ensure that SIGINT works with gnat. This is 980 needed for the "rain" sample program. If SIGINT does not work, omit 981 that sample program. 982 + correct typo in check of $PKG_CONFIG variable in Ada95/configure 983 + add ncurses_compat.c, to supply functions used in the Ada95 binding 984 which were added in 5.7 and later. 985 + modify sed expression in CF_NCURSES_ADDON to eliminate a dependency 986 upon GNU sed. 987 988 20110326 989 + add special check in Ada95/configure script for ncurses6 reentrant 990 code. 991 + regen Ada html documentation. 992 + build-fix for Ada shared libraries versus the varargs workaround. 993 + add rpm and dpkg scripts for Ada95 and test directories, for test 994 builds. 995 + update test/configure macros CF_CURSES_LIBS, CF_XOPEN_SOURCE and 996 CF_X_ATHENA_LIBS. 997 + add configure check to determine if gnat's project feature supports 998 libraries, i.e., collections of .ali files. 999 + make all dereferences in Ada95 samples explicit. 1000 + fix typo in comment in lib_add_wch.c (patch by Petr Pavlu). 1001 + add configure check for, ifdef's for math.h which is in a separate 1002 package on Solaris and potentially not installed (report by Petr 1003 Pavlu). 1004 > fixes for Ada95 binding (Nicolas Boulenguez): 1005 + improve type-checking in Ada95 by eliminating a few warning-suppress 1006 pragmas. 1007 + suppress unreferenced warnings. 1008 + make all dereferences in binding explicit. 1009 1010 20110319 1011 + regen Ada html documentation. 1012 + change order of -I options from ncurses*-config script when the 1013 --disable-overwrite option was used, so that the subdirectory include 1014 is listed first. 1015 + modify the make-tar.sh scripts to add a MANIFEST and NEWS file. 1016 + modify configure script to provide value for HTML_DIR in 1017 Ada95/gen/Makefile.in, which depends on whether the Ada95 binding is 1018 distributed separately (report by Nicolas Boulenguez). 1019 + modify configure script to add "-g" and/or "-O3" to ADAFLAGS if the 1020 CFLAGS for the build has these options. 1021 + amend change from 20070324, to not add 1 to the result of getmaxx 1022 and getmaxy in the Ada binding (report by Nicolas Boulenguez for 1023 thread in comp.lang.ada). 1024 + build-fix Ada95/samples for gnat 4.5 1025 + spelling fixes for Ada95/samples/explain.txt 1026 > fixes for Ada95 binding (Nicolas Boulenguez): 1027 + add item in Trace_Attribute_Set corresponding to TRACE_ATTRS. 1028 + add workaround for binding to set_field_type(), which uses varargs. 1029 The original binding from 990220 relied on the prevalent 1030 implementation of varargs which did not support or need va_copy(). 1031 + add dependency on gen/Makefile.in needed for *-panels.ads 1032 + add Library_Options to library.gpr 1033 + add Languages to library.gpr, for gprbuild 1034 1035 20110307 1036 + revert changes to limit-checks from 20110122 (Debian #616711). 1037 > minor type-cleanup of Ada95 binding (Nicolas Boulenguez): 1038 + corrected a minor sign error in a field of Low_Level_Field_Type, to 1039 conform to form.h. 1040 + replaced C_Int by Curses_Bool as return type for some callbacks, see 1041 fieldtype(3FORM). 1042 + modify samples/sample-explain.adb to provide explicit message when 1043 explain.txt is not found. 1044 1045 20110305 1046 + improve makefiles for Ada95 tree (patch by Nicolas Boulenguez). 1047 + fix an off-by-one error in _nc_slk_initialize() from 20100605 fixes 1048 for compiler warnings (report by Nicolas Boulenguez). 1049 + modify Ada95/gen/gen.c to declare unused bits in generated layouts, 1050 needed to compile when chtype is 64-bits using gnat 4.4.5 1051 1052 20110226 5.8 release for upload to 1053 1054 20110226 1055 + update release notes, for 5.8. 1056 + regenerated html manpages. 1057 + change open() in _nc_read_file_entry() to fopen() for consistency 1058 with write_file(). 1059 + modify misc/run_tic.in to create parent directory, in case this is 1060 a new install of hashed database. 1061 + fix typo in Ada95/mk-1st.awk which causes error with original awk. 1062 1063 20110220 1064 + configure script rpath fixes from xterm #269. 1065 + workaround for cygwin's non-functional features.h, to force ncurses' 1066 configure script to define _XOPEN_SOURCE_EXTENDED when building 1067 wide-character configuration. 1068 + build-fix in run_tic.sh for OS/2 EMX install 1069 + add cons25-debian entry (patch by Brian M Carlson, Debian #607662). 1070 1071 20110212 1072 + regenerated html manpages. 1073 + use _tracef() in show_where() function of tic, to work correctly with 1074 special case of trace configuration. 1075 1076 20110205 1077 + add xterm-utf8 entry as a demo of the U8 feature -TD 1078 + add U8 feature to denote entries for terminal emulators which do not 1079 support VT100 SI/SO when processing UTF-8 encoding -TD 1080 + improve the NCURSES_NO_UTF8_ACS feature by adding a check for an 1081 extended terminfo capability U8 (prompted by mailing list 1082 discussion). 1083 1084 20110122 1085 + start documenting interface changes for upcoming 5.8 release. 1086 + correct limit-checks in derwin(). 1087 + correct limit-checks in newwin(), to ensure that windows have nonzero 1088 size (report by Garrett Cooper). 1089 + fix a missing "weak" declaration for pthread_kill (patch by Nicholas 1090 Alcock). 1091 + improve documentation of KEY_ENTER in curs_getch.3x manpage (prompted 1092 by discussion with Kevin Martin). 1093 1094 20110115 1095 + modify Ada95/configure script to make the --with-curses-dir option 1096 work without requiring the --with-ncurses option. 1097 + modify test programs to allow them to be built with NetBSD curses. 1098 + document thick- and double-line symbols in curs_add_wch.3x manpage. 1099 + document WACS_xxx constants in curs_add_wch.3x manpage. 1100 + fix some warnings for clang 2.6 "--analyze" 1101 + modify Ada95 makefiles to make html-documentation with the project 1102 file configuration if that is used. 1103 + update config.guess, config.sub 1104 1105 20110108 1106 + regenerated html manpages. 1107 + minor fixes to enable lint when trace is not enabled, e.g., with 1108 clang --analyze. 1109 + fix typo in man/default_colors.3x (patch by Tim van der Molen). 1110 + update ncurses/llib-lncurses* 1111 1112 20110101 1113 + fix remaining strict compiler warnings in ncurses library ABI=5, 1114 except those dealing with function pointers, etc. 1115 1116 20101225 1117 + modify nc_tparm.h, adding guards against repeated inclusion, and 1118 allowing TPARM_ARG to be overridden. 1119 + fix some strict compiler warnings in ncurses library. 1120 1121 20101211 1122 + suppress ncv in screen entry, allowing underline (patch by Alejandro 1123 R Sedeno). 1124 + also suppress ncv in konsole-base -TD 1125 + fixes in wins_nwstr() and related functions to ensure that special 1126 characters, i.e., control characters are handled properly with the 1127 wide-character configuration. 1128 + correct a comparison in wins_nwstr() (Redhat #661506). 1129 + correct help-messages in some of the test-programs, which still 1130 referred to quitting with 'q'. 1131 1132 20101204 1133 + add special case to _nc_infotocap() to recognize the setaf/setab 1134 strings from xterm+256color and xterm+88color, and provide a reduced 1135 version which works with termcap. 1136 + remove obsolete emacs "Local Variables" section from documentation 1137 (request by Sven Joachim). 1138 + update doc/html/index.html to include NCURSES-Programming-HOWTO.html 1139 (report by Sven Joachim). 1140 1141 20101128 1142 + modify test/configure and test/Makefile.in to handle this special 1143 case of building within a build-tree (Debian #34182): 1144 mkdir -p build && cd build && ../test/configure && make 1145 1146 20101127 1147 + miscellaneous build-fixes for Ada95 and test-directories when built 1148 out-of-tree. 1149 + use VPATH in makefiles to simplify out-of-tree builds (Debian #34182). 1150 + fix typo in rmso for tek4106 entry -Goran Weinholt 1151 1152 20101120 1153 + improve checks in test/configure for X libraries, from xterm #267 1154 changes. 1155 + modify test/configure to allow it to use the build-tree's libraries 1156 e.g., when using that to configure the test-programs without the 1157 rpath feature (request by Sven Joachim). 1158 + repurpose "gnome" terminfo entries as "vte", retaining "gnome" items 1159 for compatibility, but generally deprecating those since the VTE 1160 library is what actually defines the behavior of "gnome", etc., 1161 since 2003 -TD 1162 1163 20101113 1164 + compiler warning fixes for test programs. 1165 + various build-fixes for test-programs with pdcurses. 1166 + updated configure checks for X packages in test/configure from xterm 1167 #267 changes. 1168 + add configure check to gnatmake, to accommodate cygwin. 1169 1170 20101106 1171 + correct list of sub-directories needed in Ada95 tree for building as 1172 a separate package. 1173 + modify scripts in test-directory to improve builds as a separate 1174 package. 1175 1176 20101023 1177 + correct parsing of relative tab-stops in tabs program (report by 1178 Philip Ganchev). 1179 + adjust configure script so that "t" is not added to library suffix 1180 when weak-symbols are used, allowing the pthread configuration to 1181 more closely match the non-thread naming (report by Werner Fink). 1182 + modify configure check for tic program, used for fallbacks, to a 1183 warning if not found. This makes it simpler to use additonal 1184 scripts to bootstrap the fallbacks code using tic from the build 1185 tree (report by Werner Fink). 1186 + fix several places in configure script using ${variable-value} form. 1187 + modify configure macro CF_LDFLAGS_STATIC to accommodate some loaders 1188 which do not support selectively linking against static libraries 1189 (report by John P. Hartmann) 1190 + fix an unescaped dash in man/tset.1 (report by Sven Joachim). 1191 1192 20101009 1193 + correct comparison used for setting 16-colors in linux-16color 1194 entry (Novell #644831) -TD 1195 + improve linux-16color entry, using "dim" for color-8 which makes it 1196 gray rather than black like color-0 -TD 1197 + drop misc/ncu-indent and misc/jpf-indent; they are provided by an 1198 external package "cindent". 1199 1200 20101002 1201 + improve linkages in html manpages, adding references to the newer 1202 pages, e.g., *_variables, curs_sp_funcs, curs_threads. 1203 + add checks in tic for inconsistent cursor-movement controls, and for 1204 inconsistent printer-controls. 1205 + fill in no-parameter forms of cursor-movement where a parameterized 1206 form is available -TD 1207 + fill in missing cursor controls where the form of the controls is 1208 ANSI -TD 1209 + fix inconsistent punctuation in form_variables manpage (patch by 1210 Sven Joachim). 1211 + add parameterized cursor-controls to linux-basic (report by Dae) -TD 1212 > patch by Juergen Pfeifer: 1213 + document how to build 32-bit libraries in README.MinGW 1214 + fixes to filename computation in mk-dlls.sh.in 1215 + use POSIX locale in mk-dlls.sh.in rather than en_US (report by Sven 1216 Joachim). 1217 + add a check in mk-dlls.sh.in to obtain the size of a pointer to 1218 distinguish between 32-bit and 64-bit hosts. The result is stored 1219 in mingw_arch 1220 1221 20100925 1222 + add "XT" capability to entries for terminals that support both 1223 xterm-style mouse- and title-controls, for "screen" which 1224 special-cases TERM beginning with "xterm" or "rxvt" -TD 1225 > patch by Juergen Pfeifer: 1226 + use 64-Bit MinGW toolchain (recommended package from TDM, see 1227 README.MinGW). 1228 + support pthreads when using the TDM MinGW toolchain 1229 1230 20100918 1231 + regenerated html manpages. 1232 + minor fixes for symlinks to curs_legacy.3x and curs_slk.3x manpages. 1233 + add manpage for sp-funcs. 1234 + add sp-funcs to test/listused.sh, for documentation aids. 1235 1236 20100911 1237 + add manpages for summarizing public variables of curses-, terminfo- 1238 and form-libraries. 1239 + minor fixes to manpages for consistency (patch by Jason McIntyre). 1240 + modify tic's -I/-C dump to reformat acsc strings into canonical form 1241 (sorted, unique mapping) (cf: 971004). 1242 + add configure check for pthread_kill(), needed for some old 1243 platforms. 1244 1245 20100904 1246 + add configure option --without-tests, to suppress building test 1247 programs (request by Frederic L W Meunier). 1248 1249 20100828 1250 + modify nsterm, xnuppc and tek4115 to make sgr/sgr0 consistent -TD 1251 + add check in terminfo source-reader to provide more informative 1252 message when someone attempts to run tic on a compiled terminal 1253 description (prompted by Debian #593920). 1254 + note in infotocap and captoinfo manpages that they read terminal 1255 descriptions from text-files (Debian #593920). 1256 + improve acsc string for vt52, show arrow keys (patch by Benjamin 1257 Sittler). 1258 1259 20100814 1260 + document in manpages that "mv" functions first use wmove() to check 1261 the window pointer and whether the position lies within the window 1262 (suggested by Poul-Henning Kamp). 1263 + fixes to curs_color.3x, curs_kernel.3x and wresize.3x manpages (patch 1264 by Tim van der Molen). 1265 + modify configure script to transform library names for tic- and 1266 tinfo-libraries so that those build properly with Mac OS X shared 1267 library configuration. 1268 + modify configure script to ensure that it removes conftest.dSYM 1269 directory leftover on checks with Mac OS X. 1270 + modify configure script to cleanup after check for symbolic links. 1271 1272 20100807 1273 + correct a typo in mk-1st.awk (patch by Gabriele Balducci) 1274 (cf: 20100724) 1275 + improve configure checks for location of tic and infocmp programs 1276 used for installing database and for generating fallback data, 1277 e.g., for cross-compiling. 1278 + add Markus Kuhn's wcwidth function for compiling MinGW 1279 + add special case to CF_REGEX for cross-compiling to MinGW target. 1280 1281 20100731 1282 + modify initialization check for win32con driver to eliminate need for 1283 special case for TERM "unknown", using terminal database if available 1284 (prompted by discussion with Roumen Petrov). 1285 + for MinGW port, ensure that terminal driver is setup if tgetent() 1286 is called (patch by Roumen Petrov). 1287 + document tabs "-0" and "-8" options in manpage. 1288 + fix Debian "lintian" issues with manpages reported in 1289 1290 1291 20100724 1292 + add a check in tic for missing set_tab if clear_all_tabs given. 1293 + improve use of symbolic links in makefiles by using "-f" option if 1294 it is supported, to eliminate temporary removal of the target 1295 (prompted by) 1296 + minor improvement to test/ncurses.c, reset color pairs in 'd' test 1297 after exit from 'm' main-menu command. 1298 + improved ncu-indent, from mawk changes, allows more than one of 1299 GCC_NORETURN, GCC_PRINTFLIKE and GCC_SCANFLIKE on a single line. 1300 1301 20100717 1302 + add hard-reset for rs2 to wsvt25 to help ensure that reset ends 1303 the alternate character set (patch by Nicholas Marriott) 1304 + remove tar-copy.sh and related configure/Makefile chunks, since the 1305 Ada95 binding is now installed using rules in Ada95/src. 1306 1307 20100703 1308 + continue integrating changes to use gnatmake project files in Ada95 1309 + add/use configure check to turn on project rules for Ada95/src. 1310 + revert the vfork change from 20100130, since it does not work. 1311 1312 20100626 1313 + continue integrating changes to use gnatmake project files in Ada95 1314 + old gnatmake (3.15) does not produce libraries using project-file; 1315 work around by adding script to generate alternate makefile. 1316 1317 20100619 1318 + continue integrating changes to use gnatmake project files in Ada95 1319 + add configure --with-ada-sharedlib option, for the test_make rule. 1320 + move Ada95-related logic into aclocal.m4, since additional checks 1321 will be needed to distinguish old/new implementations of gnat. 1322 1323 20100612 1324 + start integrating changes to use gnatmake project files in Ada95 tree 1325 + add test_make / test_clean / test_install rules in Ada95/src 1326 + change install-path for adainclude directory to /usr/share/ada (was 1327 /usr/lib/ada). 1328 + update Ada95/configure. 1329 + add mlterm+256color entry, for mlterm 3.0.0 -TD 1330 + modify test/configure to use macros to ensure consistent order 1331 of updating LIBS variable. 1332 1333 20100605 1334 + change search order of options for Solaris in CF_SHARED_OPTS, to 1335 work with 64-bit compiles. 1336 + correct quoting of assignment in CF_SHARED_OPTS case for aix 1337 (cf: 20081227) 1338 1339 20100529 1340 + regenerated html documentation. 1341 + modify test/configure to support pkg-config for checking X libraries 1342 used by PDCurses. 1343 + add/use configure macro CF_ADD_LIB to force consistency of 1344 assignments to $LIBS, etc. 1345 + fix configure script for combining --with-pthread 1346 and --enable-weak-symbols options. 1347 1348 20100522 1349 + correct cross-compiling configure check for CF_MKSTEMP macro, by 1350 adding a check cache variable set by AC_CHECK_FUNC (report by 1351 Pierre Labastie). 1352 + simplify include-dependencies of make_hash and make_keys, to reduce 1353 the need for setting BUILD_CPPFLAGS in cross-compiling when the 1354 build- and target-machines differ. 1355 + repair broken-linker configuration by restoring a definition of SP 1356 variable to curses.priv.h, and adjusting for cases where sp-funcs 1357 are used. 1358 + improve configure macro CF_AR_FLAGS, allowing ARFLAGS environment 1359 variable to override (prompted by report by Pablo Cazallas). 1360 1361 20100515 1362 + add configure option --enable-pthreads-eintr to control whether the 1363 new EINTR feature is enabled. 1364 + modify logic in pthread configuration to allow EINTR to interrupt 1365 a read operation in wgetch() (Novell #540571, patch by Werner Fink). 1366 + drop mkdirs.sh, use "mkdir -p". 1367 + add configure option --disable-libtool-version, to use the 1368 "-version-number" feature which was added in libtool 1.5 (report by 1369 Peter Haering). The default value for the option uses the newer 1370 feature, which makes libraries generated using libtool compatible 1371 with the standard builds of ncurses. 1372 + updated test/configure to match configure script macros. 1373 + fixes for configure script from lynx changes: 1374 + improve CF_FIND_LINKAGE logic for the case where a function is 1375 found in predefined libraries. 1376 + revert part of change to CF_HEADER (cf: 20100424) 1377 1378 20100501 1379 + correct limit-check in wredrawln, accounting for begy/begx values 1380 (patch by David Benjamin). 1381 + fix most compiler warnings from clang. 1382 + amend build-fix for OpenSolaris, to ensure that a system header is 1383 included in curses.h before testing feature symbols, since they 1384 may be defined by that route. 1385 1386 20100424 1387 + fix some strict compiler warnings in ncurses library. 1388 + modify configure macro CF_HEADER_PATH to not look for variations in 1389 the predefined include directories. 1390 + improve configure macros CF_GCC_VERSION and CF_GCC_WARNINGS to work 1391 with gcc 4.x's c89 alias, which gives warning messages for cases 1392 where older versions would produce an error. 1393 1394 20100417 1395 + modify _nc_capcmp() to work with cancelled strings. 1396 + correct translation of "^" in _nc_infotocap(), used to transform 1397 terminfo to termcap strings 1398 + add configure --disable-rpath-hack, to allow disabling the feature 1399 which adds rpath options for libraries in unusual places. 1400 + improve CF_RPATH_HACK_2 by checking if the rpath option for a given 1401 directory was already added. 1402 + improve CF_RPATH_HACK_2 by using ldd to provide a standard list of 1403 directories (which will be ignored). 1404 1405 20100410 1406 + improve win_driver.c handling of mouse: 1407 + discard motion events 1408 + avoid calling _nc_timed_wait when there is a mouse event 1409 + handle 4th and "rightmost" buttons. 1410 + quote substitutions in CF_RPATH_HACK_2 configure macro, needed for 1411 cases where there are embedded blanks in the rpath option. 1412 1413 20100403 1414 + add configure check for exctags vs ctags, to work around pkgsrc. 1415 + simplify logic in _nc_get_screensize() to make it easier to see how 1416 environment variables may override system- and terminfo-values 1417 (prompted by discussion with Igor Bujna). 1418 + make debug-traces for COLOR_PAIR and PAIR_NUMBER less verbose. 1419 + improve handling of color-pairs embedded in attributes for the 1420 extended-colors configuration. 1421 + modify MKlib_gen.sh to build link_test with sp-funcs. 1422 + build-fixes for OpenSolaris aka Solaris 11, for wide-character 1423 configuration as well as for rpath feature in *-config scripts. 1424 1425 20100327 1426 + refactor CF_SHARED_OPTS configure macro, making CF_RPATH_HACK more 1427 reusable. 1428 + improve configure CF_REGEX, similar fixes. 1429 + improve configure CF_FIND_LINKAGE, adding add check between system 1430 (default) and explicit paths, where we can find the entrypoint in the 1431 given library. 1432 + add check if Gpm_Open() returns a -2, e.g., for "xterm". This is 1433 normally suppressed but can be overridden using $NCURSES_GPM_TERMS. 1434 Ensure that Gpm_Close() is called in this case. 1435 1436 20100320 1437 + rename atari and st52 terminfo entries to atari-old, st52-old, use 1438 newer entries from FreeMiNT by Guido Flohr (from patch/report by Alan 1439 Hourihane). 1440 1441 20100313 1442 + modify install-rule for manpages so that *-config manpages will 1443 install when building with --srcdir (report by Sven Joachim). 1444 + modify CF_DISABLE_LEAKS configure macro so that the --enable-leaks 1445 option is not the same as --disable-leaks (GenToo #305889). 1446 + modify #define's for build-compiler to suppress cchar_t symbol from 1447 compile of make_hash and make_keys, improving cross-compilation of 1448 ncursesw (report by Bernhard Rosenkraenzer). 1449 + modify CF_MAN_PAGES configure macro to replace all occurrences of 1450 TPUT in tput.1's manpage (Debian #573597, report/analysis by Anders 1451 Kaseorg). 1452 1453 20100306 1454 + generate manpages for the *-config scripts, adapted from help2man 1455 (suggested by Sven Joachim). 1456 + use va_copy() in _nc_printf_string() to avoid conflicting use of 1457 va_list value in _nc_printf_length() (report by Wim Lewis). 1458 1459 20100227 1460 + add Ada95/configure script, to use in tar-file created by 1461 Ada95/make-tar.sh 1462 + fix typo in wresize.3x (patch by Tim van der Molen). 1463 + modify screen-bce.XXX entries to exclude ech, since screen's color 1464 model does not clear with color for that feature -TD 1465 1466 20100220 1467 + add make-tar.sh scripts to Ada95 and test subdirectories to help with 1468 making those separately distributable. 1469 + build-fix for static libraries without dlsym (Debian #556378). 1470 + fix a syntax error in man/form_field_opts.3x (patch by Ingo 1471 Schwarze). 1472 1473 20100213 1474 + add several screen-bce.XXX entries -TD 1475 1476 20100206 1477 + update mrxvt terminfo entry -TD 1478 + modify win_driver.c to support mouse single-clicks. 1479 + correct name for termlib in ncurses*-config, e.g., if it is renamed 1480 to provide a single file for ncurses/ncursesw libraries (patch by 1481 Miroslav Lichvar). 1482 1483 20100130 1484 + use vfork in test/ditto.c if available (request by Mike Frysinger). 1485 + miscellaneous cleanup of manpages. 1486 + fix typo in curs_bkgd.3x (patch by Tim van der Molen). 1487 + build-fix for --srcdir (patch by Miroslav Lichvar). 1488 1489 20100123 1490 + for term-driver configuration, ensure that the driver pointer is 1491 initialized in setupterm so that terminfo/termcap programs work. 1492 + amend fix for Debian #542031 to ensure that wattrset() returns only 1493 OK or ERR, rather than the attribute value (report by Miroslav 1494 Lichvar). 1495 + reorder WINDOWLIST to put WINDOW data after SCREEN pointer, making 1496 _nc_screen_of() compatible between normal/wide libraries again (patch 1497 by Miroslav Lichvar) 1498 + review/fix include-dependencies in modules files (report by Miroslav 1499 Lichvar). 1500 1501 20100116 1502 + modify win_driver.c to initialize acs_map for win32 console, so 1503 that line-drawing works. 1504 + modify win_driver.c to initialize TERMINAL struct so that programs 1505 such as test/lrtest.c and test/ncurses.c which test string 1506 capabilities can run. 1507 + modify term-driver modules to eliminate forward-reference 1508 declarations. 1509 1510 20100109 1511 + modify configure macro CF_XOPEN_SOURCE, etc., to use CF_ADD_CFLAGS 1512 consistently to add new -D's while removing duplicates. 1513 + modify a few configure macros to consistently put new options 1514 before older in the list. 1515 + add tiparm(), based on review of X/Open Curses Issue 7. 1516 + minor documentation cleanup. 1517 + update config.guess, config.sub from 1518 1519 (caveat - its maintainer put 2010 copyright date on files dated 2009) 1520 1521 20100102 1522 + minor improvement to tic's checking of similar SGR's to allow for the 1523 most common case of SGR 0. 1524 + modify getmouse() to act as its documentation implied, returning on 1525 each call the preceding event until none are left. When no more 1526 events remain, it will return ERR. 1527 1528 20091227 1529 + change order of lookup in progs/tput.c, looking for terminfo data 1530 first. This fixes a confusion between termcap "sg" and terminfo 1531 "sgr" or "sgr0", originally from 990123 changes, but exposed by 1532 20091114 fixes for hashing. With this change, only "dl" and "ed" are 1533 ambiguous (Mandriva #56272). 1534 1535 20091226 1536 + add bterm terminfo entry, based on bogl 0.1.18 -TD 1537 + minor fix to rxvt+pcfkeys terminfo entry -TD 1538 + build-fixes for Ada95 tree for gnat 4.4 "style". 1539 1540 20091219 1541 + remove old check in mvderwin() which prevented moving a derived 1542 window whose origin happened to coincide with its parent's origin 1543 (report by Katarina Machalkova). 1544 + improve test/ncurses.c to put mouse droppings in the proper window. 1545 + update minix terminfo entry -TD 1546 + add bw (auto-left-margin) to nsterm* entries (Benjamin Sittler) 1547 1548 20091212 1549 + correct transfer of multicolumn characters in multirow 1550 field_buffer(), which stopped at the end of the first row due to 1551 filling of unused entries in a cchar_t array with nulls. 1552 + updated nsterm* entries (Benjamin Sittler, Emanuele Giaquinta) 1553 + modify _nc_viscbuf2() and _tracecchar_t2() to show wide-character 1554 nulls. 1555 + use strdup() in set_menu_mark(), restore .marklen struct member on 1556 failure. 1557 + eliminate clause 3 from the UCB copyrights in read_termcap.c and 1558 tset.c per 1559 1560 (patch by Nicholas Marriott). 1561 + replace a malloc in tic.c with strdup, checking for failure (patch by 1562 Nicholas Marriott). 1563 + update config.guess, config.sub from 1564 1565 1566 20091205 1567 + correct layout of working window used to extract data in 1568 wide-character configured by set_field_buffer (patch by Rafael 1569 Garrido Fernandez) 1570 + improve some limit-checks related to filename length in reading and 1571 writing terminfo entries. 1572 + ensure that filename is always filled in when attempting to read 1573 a terminfo entry, so that infocmp can report the filename (patch 1574 by Nicholas Marriott). 1575 1576 20091128 1577 + modify mk-1st.awk to allow tinfo library to be built when term-driver 1578 is enabled. 1579 + add error-check to configure script to ensure that sp-funcs is 1580 enabled if term-driver is, since some internal interfaces rely upon 1581 this. 1582 1583 20091121 1584 + fix case where progs/tput is used while sp-funcs is configure; this 1585 requires save/restore of out-character function from _nc_prescreen 1586 rather than the SCREEN structure (report by Charles Wilson). 1587 + fix typo in man/curs_trace.3x which caused incorrect symbolic links 1588 + improved configure macros CF_GCC_ATTRIBUTES, CF_PROG_LINT. 1589 1590 20091114 1591 1592 + updated man/curs_trace.3x 1593 + limit hashing for termcap-names to 2-characters (Ubuntu #481740). 1594 + change a variable name in lib_newwin.c to make it clearer which 1595 value is being freed on error (patch by Nicholas Marriott). 1596 1597 20091107 1598 + improve test/ncurses.c color-cycling test by reusing attribute- 1599 and color-cycling logic from the video-attributes screen. 1600 + add ifdef'd with NCURSES_INTEROP_FUNCS experimental bindings in form 1601 library which help make it compatible with interop applications 1602 (patch by Juergen Pfeifer). 1603 + add configure option --enable-interop, for integrating changes 1604 for generic/interop support to form-library by Juergen Pfeifer 1605 1606 20091031 1607 + modify use of $CC environment variable which is defined by X/Open 1608 as a curses feature, to ignore it if it is not a single character 1609 (prompted by discussion with Benjamin C W Sittler). 1610 + add START_TRACE in slk_init 1611 + fix a regression in _nc_ripoffline which made test/ncurses.c not show 1612 soft-keys, broken in 20090927 merging. 1613 + change initialization of "hidden" flag for soft-keys from true to 1614 false, broken in 20090704 merging (Ubuntu #464274). 1615 + update nsterm entries (patch by Benjamin C W Sittler, prompted by 1616 discussion with Fabian Groffen in GenToo #206201). 1617 + add test/xterm-256color.dat 1618 1619 20091024 1620 + quiet some pedantic gcc warnings. 1621 + modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a 1622 SIGWINCH, and discard that value, to avoid confusing application 1623 (patch by Eygene Ryabinkin, FreeBSD bin/136223). 1624 1625 20091017 1626 + modify handling of $PKG_CONFIG_LIBDIR to use only the first item in 1627 a possibly colon-separated list (Debian #550716). 1628 1629 20091010 1630 + supply a null-terminator to buffer in _nc_viswibuf(). 1631 + fix a sign-extension bug in unget_wch() (report by Mike Gran). 1632 + minor fixes to error-returns in default function for tputs, as well 1633 as in lib_screen.c 1634 1635 20091003 1636 + add WACS_xxx definitions to wide-character configuration for thick- 1637 and double-lines (discussion with Slava Zanko). 1638 + remove unnecessary kcan assignment to ^C from putty (Sven Joachim) 1639 + add ccc and initc capabilities to xterm-16color -TD 1640 > patch by Benjamin C W Sittler: 1641 + add linux-16color 1642 + correct initc capability of linux-c-nc end-of-range 1643 + similar change for dg+ccc and dgunix+ccc 1644 1645 20090927 1646 + move leak-checking for comp_captab.c into _nc_leaks_tinfo() since 1647 that module since 20090711 is in libtinfo. 1648 + add configure option --enable-term-driver, to allow compiling with 1649 terminal-driver. That is used in MinGW port, and (being somewhat 1650 more complicated) is an experimental alternative to the conventional 1651 termlib internals. Currently, it requires the sp-funcs feature to 1652 be enabled. 1653 + completed integrating "sp-funcs" by Juergen Pfeifer in ncurses 1654 library (some work remains for forms library). 1655 1656 20090919 1657 + document return code from define_key (report by Mike Gran). 1658 + make some symbolic links in the terminfo directory-tree shorter 1659 (patch by Daniel Jacobowitz, forwarded by Sven Joachim).). 1660 + fix some groff warnings in terminfo.5, etc., from recent Debian 1661 changes. 1662 + change ncv and op capabilities in sun-color terminfo entry to match 1663 Sun's entry for this (report by Laszlo Peter). 1664 + improve interix smso terminfo capability by using reverse rather than 1665 bold (report by Kristof Zelechovski). 1666 1667 20090912 1668 + add some test programs (and make these use the same special keys 1669 by sharing linedata.h functions): 1670 test/test_addstr.c 1671 test/test_addwstr.c 1672 test/test_addchstr.c 1673 test/test_add_wchstr.c 1674 + correct internal _nc_insert_ch() to use _nc_insert_wch() when 1675 inserting wide characters, since the wins_wch() function that it used 1676 did not update the cursor position (report by Ciprian Craciun). 1677 1678 20090906 1679 + fix typo s/is_timeout/is_notimeout/ which made "man is_notimeout" not 1680 work. 1681 + add null-pointer checks to other opaque-functions. 1682 + add is_pad() and is_subwin() functions for opaque access to WINDOW 1683 (discussion with Mark Dickinson). 1684 + correct merge to lib_newterm.c, which broke when sp-funcs was 1685 enabled. 1686 1687 20090905 1688 + build-fix for building outside source-tree (report by Sven Joachim). 1689 + fix Debian lintian warning for man/tabs.1 by making section number 1690 agree with file-suffix (report by Sven Joachim). 1691 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 1692 1693 20090829 1694 + workaround for bug in g++ 4.1-4.4 warnings for wattrset() macro on 1695 amd64 (Debian #542031). 1696 + fix typo in curs_mouse.3x (Debian #429198). 1697 1698 20090822 1699 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 1700 1701 20090815 1702 + correct use of terminfo capabilities for initializing soft-keys, 1703 broken in 20090509 merging. 1704 + modify wgetch() to ensure it checks SIGWINCH when it gets an error 1705 in non-blocking mode (patch by Clemens Ladisch). 1706 + use PATH_SEPARATOR symbol when substituting into run_tic.sh, to 1707 help with builds on non-Unix platforms such as OS/2 EMX. 1708 + modify scripting for misc/run_tic.sh to test configure script's 1709 $cross_compiling variable directly rather than comparing host/build 1710 compiler names (prompted by comment in GenToo #249363). 1711 + fix configure script option --with-database, which was coded as an 1712 enable-type switch. 1713 + build-fixes for --srcdir (report by Frederic L W Meunier). 1714 1715 20090808 1716 + separate _nc_find_entry() and _nc_find_type_entry() from 1717 implementation details of hash function. 1718 1719 20090803 1720 + add tabs.1 to man/man_db.renames 1721 + modify lib_addch.c to compensate for removal of wide-character test 1722 from unctrl() in 20090704 (Debian #539735). 1723 1724 20090801 1725 + improve discussion in INSTALL for use of system's tic/infocmp for 1726 cross-compiling and building fallbacks. 1727 + modify test/demo_termcap.c to correspond better to options in 1728 test/demo_terminfo.c 1729 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 1730 + fix logic for 'V' in test/ncurses.c tests f/F. 1731 1732 20090728 1733 + correct logic in tigetnum(), which caused tput program to treat all 1734 string capabilities as numeric (report by Rajeev V Pillai, 1735 cf: 20090711). 1736 1737 20090725 1738 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 1739 1740 20090718 1741 + fix a null-pointer check in _nc_format_slks() in lib_slk.c, from 1742 20070704 changes. 1743 + modify _nc_find_type_entry() to use hashing. 1744 + make CCHARW_MAX value configurable, noting that changing this would 1745 change the size of cchar_t, and would be ABI-incompatible. 1746 + modify test-programs, e.g,. test/view.c, to address subtle 1747 differences between Tru64/Solaris and HPUX/AIX getcchar() return 1748 values. 1749 + modify length returned by getcchar() to count the trailing null 1750 which is documented in X/Open (cf: 20020427). 1751 + fixes for test programs to build/work on HPUX and AIX, etc. 1752 1753 20090711 1754 + improve performance of tigetstr, etc., by using hashing code from tic. 1755 + minor fixes for memory-leak checking. 1756 + add test/demo_terminfo, for comparison with demo_termcap 1757 1758 20090704 1759 + remove wide-character checks from unctrl() (patch by Clemens Ladisch). 1760 + revise wadd_wch() and wecho_wchar() to eliminate dependency on 1761 unctrl(). 1762 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 1763 1764 20090627 1765 + update llib-lncurses[wt] to use sp-funcs. 1766 + various code-fixes to build/work with --disable-macros configure 1767 option. 1768 + add several new files from Juergen Pfeifer which will be used when 1769 integration of "sp-funcs" is complete. This includes a port to 1770 MinGW. 1771 1772 20090613 1773 + move definition for NCURSES_WRAPPED_VAR back to ncurses_dll.h, to 1774 make includes of term.h without curses.h work (report by "Nix"). 1775 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 1776 1777 20090607 1778 + fix a regression in lib_tputs.c, from ongoing merges. 1779 1780 20090606 1781 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 1782 1783 20090530 1784 + fix an infinite recursion when adding a legacy-coding 8-bit value 1785 using insch() (report by Clemens Ladisch). 1786 + free home-terminfo string in del_curterm() (patch by Dan Weber). 1787 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 1788 1789 20090523 1790 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 1791 1792 20090516 1793 + work around antique BSD game's manipulation of stdscr, etc., versus 1794 SCREEN's copy of the pointer (Debian #528411). 1795 + add a cast to wattrset macro to avoid compiler warning when comparing 1796 its result against ERR (adapted from patch by Matt Kraii, Debian 1797 #528374). 1798 1799 20090510 1800 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 1801 1802 20090502 1803 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 1804 + add vwmterm terminfo entry (patch by Bryan Christ). 1805 1806 20090425 1807 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 1808 1809 20090419 1810 + build fix for _nc_free_and_exit() change in 20090418 (report by 1811 Christian Ebert). 1812 1813 20090418 1814 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 1815 1816 20090411 1817 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 1818 This change finishes merging for menu and panel libraries, does 1819 part of the form library. 1820 1821 20090404 1822 + suppress configure check for static/dynamic linker flags for gcc on 1823 Darwin (report by Nelson Beebe). 1824 1825 20090328 1826 + extend ansi.sys pfkey capability from kf1-kf10 to kf1-kf48, moving 1827 function key definitions from emx-base for consistency -TD 1828 + correct missing final 'p' in pfkey capability of ansi.sys-old (report 1829 by Kalle Olavi Niemitalo). 1830 + improve test/ncurses.c 'F' test, show combining characters in color. 1831 + quiet a false report by cppcheck in c++/cursesw.cc by eliminating 1832 a temporary variable. 1833 + use _nc_doalloc() rather than realloc() in a few places in ncurses 1834 library to avoid leak in out-of-memory condition (reports by William 1835 Egert and Martin Ettl based on cppcheck tool). 1836 + add --with-ncurses-wrap-prefix option to test/configure (discussion 1837 with Charles Wilson). 1838 + use ncurses*-config scripts if available for test/configure. 1839 + update test/aclocal.m4 and test/configure 1840 > patches by Charles Wilson: 1841 + modify CF_WITH_LIBTOOL configure check to allow unreleased libtool 1842 version numbers (e.g. which include alphabetic chars, as well as 1843 digits, after the final '.'). 1844 + improve use of -no-undefined option for libtool by setting an 1845 intermediate variable LT_UNDEF in the configure script, and then 1846 using that in the libtool link-commands. 1847 + fix an missing use of NCURSES_PUBLIC_VAR() in tinfo/MKcodes.awk 1848 from 2009031 changes. 1849 + improve mk-1st.awk script by writing separate cases for the 1850 LIBTOOL_LINK command, depending on which library (ncurses, ticlib, 1851 termlib) is to be linked. 1852 + modify configure.in to allow broken-linker configurations, not just 1853 enable-reentrant, to set public wrap prefix. 1854 1855 20090321 1856 + add TICS_LIST and SHLIB_LIST to allow libtool 2.2.6 on Cygwin to 1857 build with tic and term libraries (patch by Charles Wilson). 1858 + add -no-undefined option to libtool for Cygwin, MinGW, U/Win and AIX 1859 (report by Charles Wilson). 1860 + fix definition for c++/Makefile.in's SHLIB_LIST, which did not list 1861 the form, menu or panel libraries (patch by Charles Wilson). 1862 + add configure option --with-wrap-prefix to allow setting the prefix 1863 for functions used to wrap global variables to something other than 1864 "_nc_" (discussion with Charles Wilson). 1865 1866 20090314 1867 + modify scripts to generate ncurses*-config and pc-files to add 1868 dependency for tinfo library (patch by Charles Wilson). 1869 + improve comparison of program-names when checking for linked flavors 1870 such as "reset" by ignoring the executable suffix (reports by Charles 1871 Wilson, Samuel Thibault and Cedric Bretaudeau on Cygwin mailing 1872 list). 1873 + suppress configure check for static/dynamic linker flags for gcc on 1874 Solaris 10, since gcc is confused by absence of static libc, and 1875 does not switch back to dynamic mode before finishing the libraries 1876 (reports by Joel Bertrand, Alan Pae). 1877 + minor fixes to Intel compiler warning checks in configure script. 1878 + modify _nc_leaks_tinfo() so leak-checking in test/railroad.c works. 1879 + modify set_curterm() to make broken-linker configuration work with 1880 changes from 20090228 (report by Charles Wilson). 1881 1882 20090228 1883 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 1884 + modify declaration of cur_term when broken-linker is used, but 1885 enable-reentrant is not, to match pre-5.7 (report by Charles Wilson). 1886 1887 20090221 1888 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 1889 1890 20090214 1891 + add configure script --enable-sp-funcs to enable the new set of 1892 extended functions. 1893 + start integrating patches by Juergen Pfeifer: 1894 + add extended functions which specify the SCREEN pointer for several 1895 curses functions which use the global SP (these are incomplete; 1896 some internals work is needed to complete these). 1897 + add special cases to configure script for MinGW port. 1898 1899 20090207 1900 + update several configure macros from lynx changes 1901 + append (not prepend) to CFLAGS/CPPFLAGS 1902 + change variable from PATHSEP to PATH_SEPARATOR 1903 + improve install-rules for pc-files (patch by Miroslav Lichvar). 1904 + make it work with $DESTDIR 1905 + create the pkg-config library directory if needed. 1906 1907 20090124 1908 + modify init_pair() to allow caller to create extra color pairs beyond 1909 the color_pairs limit, which use default colors (request by Emanuele 1910 Giaquinta). 1911 + add misc/terminfo.tmp and misc/*.pc to "sources" rule. 1912 + fix typo "==" where "=" is needed in ncurses-config.in and 1913 gen-pkgconfig.in files (Debian #512161). 1914 1915 20090117 1916 + add -shared option to MK_SHARED_LIB when -Bsharable is used, for 1917 *BSD's, without which "main" might be one of the shared library's 1918 dependencies (report/analysis by Ken Dickey). 1919 + modify waddch_literal(), updating line-pointer after a multicolumn 1920 character is found to not fit on the current row, and wrapping is 1921 done. Since the line-pointer was not updated, the wrapped 1922 multicolumn character was written to the beginning of the current row 1923 (cf: 20041023, reported by "Nick" regarding problem with ncmpc 1924). 1925 1926 20090110 1927 + add screen.Eterm terminfo entry (GenToo #124887) -TD 1928 + modify adacurses-config to look for ".ali" files in the adalib 1929 directory. 1930 + correct install for Ada95, which omitted libAdaCurses.a used in 1931 adacurses-config 1932 + change install for adacurses-config to provide additional flavors 1933 such as adacursesw-config, for ncursesw (GenToo #167849). 1934 1935 20090105 1936 + remove undeveloped feature in ncurses-config.in for setting 1937 prefix variable. 1938 + recent change to ncurses-config.in did not take into account the 1939 --disable-overwrite option, which sets $includedir to the 1940 subdirectory and using just that for a -I option does not work - fix 1941 (report by Frederic L W Meunier). 1942 1943 20090104 1944 + modify gen-pkgconfig.in to eliminate a dependency on rpath when 1945 deciding whether to add $LIBS to --libs output; that should be shown 1946 for the ncurses and tinfo libraries without taking rpath into 1947 account. 1948 + fix an overlooked change from $AR_OPTS to $ARFLAGS in mk-1st.awk, 1949 used in static libraries (report by Marty Jack). 1950 1951 20090103 1952 + add a configure-time check to pick a suitable value for 1953 CC_SHARED_OPTS for Solaris (report by Dagobert Michelsen). 1954 + add configure --with-pkg-config and --enable-pc-files options, along 1955 with misc/gen-pkgconfig.in which can be used to generate ".pc" files 1956 for pkg-config (request by Jan Engelhardt). 1957 + use $includedir symbol in misc/ncurses-config.in, add --includedir 1958 option. 1959 + change makefiles to use $ARFLAGS rather than $AR_OPTS, provide a 1960 configure check to detect whether a "-" is needed before "ar" 1961 options. 1962 + update config.guess, config.sub from 1963 1964 1965 20081227 1966 + modify mk-1st.awk to work with extra categories for tinfo library. 1967 + modify configure script to allow building shared libraries with gcc 1968 on AIX 5 or 6 (adapted from patch by Lital Natan). 1969 1970 20081220 1971 + modify to omit the opaque-functions from lib_gen.o when 1972 --disable-ext-funcs is used. 1973 + add test/clip_printw.c to illustrate how to use printw without 1974 wrapping. 1975 + modify ncurses 'F' test to demo wborder_set() with colored lines. 1976 + modify ncurses 'f' test to demo wborder() with colored lines. 1977 1978 20081213 1979 + add check for failure to open hashed-database needed for db4.6 1980 (GenToo #245370). 1981 + corrected --without-manpages option; previous change only suppressed 1982 the auxiliary rules install.man and uninstall.man 1983 + add case for FreeMINT to configure macro CF_XOPEN_SOURCE (patch from 1984 GenToo #250454). 1985 + fixes from NetBSD port at 1986 1987 patch-ac (build-fix for DragonFly) 1988 patch-ae (use INSTALL_SCRIPT for installing misc/ncurses*-config). 1989 + improve configure script macros CF_HEADER_PATH and CF_LIBRARY_PATH 1990 by adding CFLAGS, CPPFLAGS and LDFLAGS, LIBS values to the 1991 search-lists. 1992 + correct title string for keybound manpage (patch by Frederic Culot, 1993 OpenBSD documentation/6019), 1994 1995 20081206 1996 + move del_curterm() call from _nc_freeall() to _nc_leaks_tinfo() to 1997 work for progs/clear, progs/tabs, etc. 1998 + correct buffer-size after internal resizing of wide-character 1999 set_field_buffer(), broken in 20081018 changes (report by Mike Gran). 2000 + add "-i" option to test/filter.c to tell it to use initscr() rather 2001 than newterm(), to investigate report on comp.unix.programmer that 2002 ncurses would clear the screen in that case (it does not - the issue 2003 was xterm's alternate screen feature). 2004 + add check in mouse-driver to disable connection if GPM returns a 2005 zero, indicating that the connection is closed (Debian #506717, 2006 adapted from patch by Samuel Thibault). 2007 2008 20081129 2009 + improve a workaround in adding wide-characters, when a control 2010 character is found. The library (cf: 20040207) uses unctrl() to 2011 obtain a printable version of the control character, but was not 2012 passing color or video attributes. 2013 + improve test/ncurses.c 'a' test, using unctrl() more consistently to 2014 display meta-characters. 2015 + turn on _XOPEN_CURSES definition in curses.h 2016 + add eterm-color entry (report by Vincent Lefevre) -TD 2017 + correct use of key_name() in test/ncurses.c 'A' test, which only 2018 displays wide-characters, not key-codes since 20070612 (report by 2019 Ricardo Cantu). 2020 2021 20081122 2022 + change _nc_has_mouse() to has_mouse(), reflect its use in C++ and 2023 Ada95 (patch by Juergen Pfeifer). 2024 + document in TO-DO an issue with Cygwin's package for GNAT (report 2025 by Mike Dennison). 2026 + improve error-checking of command-line options in "tabs" program. 2027 2028 20081115 2029 + change several terminfo entries to make consistent use of ANSI 2030 clear-all-tabs -TD 2031 + add "tabs" program (prompted by Debian #502260). 2032 + add configure --without-manpages option (request by Mike Frysinger). 2033 2034 20081102 5.7 release for upload to 2035 2036 20081025 2037 + add a manpage to discuss memory leaks. 2038 + add support for shared libraries for QNX (other than libtool, which 2039 does not work well on that platform). 2040 + build-fix for QNX C++ binding. 2041 2042 20081018 2043 + build-fixes for OS/2 EMX. 2044 + modify form library to accept control characters such as newline 2045 in set_field_buffer(), which is compatible with Solaris (report by 2046 Nit Khair). 2047 + modify configure script to assume --without-hashed-db when 2048 --disable-database is used. 2049 + add "-e" option in ncurses/Makefile.in when generating source-files 2050 to force earlier exit if the build environment fails unexpectedly 2051 (prompted by patch by Adrian Bunk). 2052 + change configure script to use CF_UTF8_LIB, improved variant of 2053 CF_LIBUTF8. 2054 2055 20081012 2056 + add teraterm4.59 terminfo entry, use that as primary teraterm entry, rename 2057 original to teraterm2.3 -TD 2058 + update "gnome" terminfo to 2.22.3 -TD 2059 + update "konsole" terminfo to 1.6.6, needs today's fix for tic -TD 2060 + add "aterm" terminfo -TD 2061 + add "linux2.6.26" terminfo -TD 2062 + add logic to tic for cancelling strings in user-defined capabilities, 2063 overlooked til now. 2064 2065 20081011 2066 + regenerated html documentation. 2067 + add -m and -s options to test/keynames.c and test/key_names.c to test 2068 the meta() function with keyname() or key_name(), respectively. 2069 + correct return value of key_name() on error; it is null. 2070 + document some unresolved issues for rpath and pthreads in TO-DO. 2071 + fix a missing prototype for ioctl() on OpenBSD in tset.c 2072 + add configure option --disable-tic-depends to make explicit whether 2073 tic library depends on ncurses/ncursesw library, amends change from 2074 20080823 (prompted by Debian #501421). 2075 2076 20081004 2077 + some build-fixes for configure --disable-ext-funcs (incomplete, but 2078 works for C/C++ parts). 2079 + improve configure-check for awks unable to handle large strings, e.g. 2080 AIX 5.1 whose awk silently gives up on large printf's. 2081 2082 20080927 2083 + fix build for --with-dmalloc by workaround for redefinition of 2084 strndup between string.h and dmalloc.h 2085 + fix build for --disable-sigwinch 2086 + add environment variable NCURSES_GPM_TERMS to allow override to use 2087 GPM on terminals other than "linux", etc. 2088 + disable GPM mouse support when $TERM does not happen to contain 2089 "linux", since Gpm_Open() no longer limits its assertion to terminals 2090 that it might handle, e.g., within "screen" in xterm. 2091 + reset mouse file-descriptor when unloading GPM library (report by 2092 Miroslav Lichvar). 2093 + fix build for --disable-leaks --enable-widec --with-termlib 2094 > patch by Juergen Pfeifer: 2095 + use improved initialization for soft-label keys in Ada95 sample code. 2096 + discard internal symbol _nc_slk_format (unused since 20080112). 2097 + move call of slk_paint_info() from _nc_slk_initialize() to 2098 slk_intern_refresh(), improving initialization. 2099 2100 20080925 2101 + fix bug in mouse code for GPM from 20080920 changes (reported in 2102 Debian #500103, also Miroslav Lichvar). 2103 2104 20080920 2105 + fix shared-library rules for cygwin with tic- and tinfo-libraries. 2106 + fix a memory leak when failure to connect to GPM. 2107 + correct check for notimeout() in wgetch() (report on linux.redhat 2108 newsgroup by FurtiveBertie). 2109 + add an example warning-suppression file for valgrind, 2110 misc/ncurses.supp (based on example from Reuben Thomas) 2111 2112 20080913 2113 + change shared-library configuration for OpenBSD, make rpath work. 2114 + build-fixes for using libutf8, e.g., on OpenBSD 3.7 2115 2116 20080907 2117 + corrected fix for --enable-weak-symbols (report by Frederic L W 2118 Meunier). 2119 2120 20080906 2121 + corrected gcc options for building shared libraries on IRIX64. 2122 + add configure check for awk programs unable to handle big-strings, 2123 use that to improve the default for --enable-big-strings option. 2124 + makefile-fixes for --enable-weak-symbols (report by Frederic L W 2125 Meunier). 2126 + update test/configure script. 2127 + adapt ifdef's from library to make test/view.c build when mbrtowc() 2128 is unavailable, e.g., with HPUX 10.20. 2129 + add configure check for wcsrtombs, mbsrtowcs, which are used in 2130 test/ncurses.c, and use wcstombs, mbstowcs instead if available, 2131 fixing build of ncursew for HPUX 11.00 2132 2133 20080830 2134 + fixes to make Ada95 demo_panels() example work. 2135 + modify Ada95 'rain' test program to accept keyboard commands like the 2136 C-version. 2137 + modify BeOS-specific ifdef's to build on Haiku (patch by Scott 2138 Mccreary). 2139 + add configure-check to see if the std namespace is legal for cerr 2140 and endl, to fix a build issue with Tru64. 2141 + consistently use NCURSES_BOOL in lib_gen.c 2142 + filter #line's from lib_gen.c 2143 + change delimiter in MKlib_gen.sh from '%' to '@', to avoid 2144 substitution by IBM xlc to '#' as part of its extensions to digraphs. 2145 + update config.guess, config.sub from 2146 2147 (caveat - its maintainer removed support for older Linux systems). 2148 2149 20080823 2150 + modify configure check for pthread library to work with OSF/1 5.1, 2151 which uses #define's to associate its header and library. 2152 + use pthread_mutexattr_init() for initializing pthread_mutexattr_t, 2153 makes threaded code work on HPUX 11.23 2154 + fix a bug in demo_menus in freeing menus (cf: 20080804). 2155 + modify configure script for the case where tic library is used (and 2156 possibly renamed) to remove its dependency upon ncurses/ncursew 2157 library (patch by Dr Werner Fink). 2158 + correct manpage for menu_fore() which gave wrong default for 2159 the attribute used to display a selected entry (report by Mike Gran). 2160 + add Eterm-256color, Eterm-88color and rxvt-88color (prompted by 2161 Debian #495815) -TD 2162 2163 20080816 2164 + add configure option --enable-weak-symbols to turn on new feature. 2165 + add configure-check for availability of weak symbols. 2166 + modify linkage with pthread library to use weak symbols so that 2167 applications not linked to that library will not use the mutexes, 2168 etc. This relies on gcc, and may be platform-specific (patch by Dr 2169 Werner Fink). 2170 + add note to INSTALL to document limitation of renaming of tic library 2171 using the --with-ticlib configure option (report by Dr Werner Fink). 2172 + document (in manpage) why tputs does not detect I/O errors (prompted 2173 by comments by Samuel Thibault). 2174 + fix remaining warnings from Klocwork report. 2175 2176 20080804 2177 + modify _nc_panelhook() data to account for a permanent memory leak. 2178 + fix memory leaks in test/demo_menus 2179 + fix most warnings from Klocwork tool (report by Larry Zhou). 2180 + modify configure script CF_XOPEN_SOURCE macro to add case for 2181 "dragonfly" from xterm #236 changes. 2182 + modify configure script --with-hashed-db to let $LIBS override the 2183 search for the db library (prompted by report by Samson Pierre). 2184 2185 20080726 2186 + build-fixes for gcc 4.3.1 (changes to gnat "warnings", and C inlining 2187 thresholds). 2188 2189 20080713 2190 + build-fix (reports by Christian Ebert, Funda Wang). 2191 2192 20080712 2193 + compiler-warning fixes for Solaris. 2194 2195 20080705 2196 + use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to 2197 make those work properly with the "--enable-ext-mouse" configuration 2198 (cf: 20050205). 2199 + improve documentation of build-cc options in INSTALL. 2200 + work-around a bug in gcc 4.2.4 on AIX, which does not pass the 2201 -static/-dynamic flags properly to linker, causing test/bs to 2202 not link. 2203 2204 20080628 2205 + correct some ifdef's needed for the broken-linker configuration. 2206 + make debugging library's $BAUDRATE feature work for termcap 2207 interface. 2208 + make $NCURSES_NO_PADDING feature work for termcap interface (prompted 2209 by comment on FreeBSD mailing list). 2210 + add screen.mlterm terminfo entry -TD 2211 + improve mlterm and mlterm+pcfkeys terminfo entries -TD 2212 2213 20080621 2214 + regenerated html documentation. 2215 + expand manpage description of parameters for form_driver() and 2216 menu_driver() (prompted by discussion with Adam Spragg). 2217 + add null-pointer checks for cur_term in baudrate() and 2218 def_shell_mode(), def_prog_mode() 2219 + fix some memory leaks in delscreen() and wide acs. 2220 2221 20080614 2222 + modify test/ditto.c to illustrate multi-threaded use_screen(). 2223 + change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris. 2224 + add "-shared" option to MK_SHARED_LIB for gcc on Solaris (report 2225 by Poor Yorick). 2226 2227 20080607 2228 + finish changes to wgetch(), making it switch as needed to the 2229 window's actual screen when calling wrefresh() and wgetnstr(). That 2230 allows wgetch() to get used concurrently in different threads with 2231 some minor restrictions, e.g., the application should not delete a 2232 window which is being used in a wgetch(). 2233 + simplify mutex's, combining the window- and screen-mutex's. 2234 2235 20080531 2236 + modify wgetch() to use the screen which corresponds to its window 2237 parameter rather than relying on SP; some dependent functions still 2238 use SP internally. 2239 + factor out most use of SP in lib_mouse.c, using parameter. 2240 + add internal _nc_keyname(), replacing keyname() to associate with a 2241 particular SCREEN rather than the global SP. 2242 + add internal _nc_unctrl(), replacing unctrl() to associate with a 2243 particular SCREEN rather than the global SP. 2244 + add internal _nc_tracemouse(), replacing _tracemouse() to eliminate 2245 its associated global buffer _nc_globals.tracemse_buf now in SCREEN. 2246 + add internal _nc_tracechar(), replacing _tracechar() to use SCREEN in 2247 preference to the global _nc_globals.tracechr_buf buffer. 2248 2249 20080524 2250 + modify _nc_keypad() to make it switch temporarily as needed to the 2251 screen which must be updated. 2252 + wrap cur_term variable to help make _nc_keymap() thread-safe, and 2253 always set the screen's copy of this variable in set_curterm(). 2254 + restore curs_set() state after endwin()/refresh() (report/patch 2255 Miroslav Lichvar) 2256 2257 20080517 2258 + modify configure script to note that --enable-ext-colors and 2259 --enable-ext-mouse are not experimental, but extensions from 2260 the ncurses ABI 5. 2261 + corrected manpage description of setcchar() (discussion with 2262 Emanuele Giaquinta). 2263 + fix for adding a non-spacing character at the beginning of a line 2264 (report/patch by Miroslav Lichvar). 2265 2266 20080503 2267 + modify screen.* terminfo entries using new screen+fkeys to fix 2268 overridden keys in screen.rxvt (Debian #478094) -TD 2269 + modify internal interfaces to reduce wgetch()'s dependency on the 2270 global SP. 2271 + simplify some loops with macros each_screen(), each_window() and 2272 each_ripoff(). 2273 2274 20080426 2275 + continue modifying test/ditto.c toward making it demonstrate 2276 multithreaded use_screen(), using fifos to pass data between screens. 2277 + fix typo in form.3x (report by Mike Gran). 2278 2279 20080419 2280 + add screen.rxvt terminfo entry -TD 2281 + modify tic -f option to format spaces as \s to prevent them from 2282 being lost when that is read back in unformatted strings. 2283 + improve test/ditto.c, using a "talk"-style layout. 2284 2285 20080412 2286 + change test/ditto.c to use openpty() and xterm. 2287 + add locks for copywin(), dupwin(), overlap(), overlay() on their 2288 window parameters. 2289 + add locks for initscr() and newterm() on updates to the SCREEN 2290 pointer. 2291 + finish table in curs_thread.3x manpage. 2292 2293 20080405 2294 + begin table in curs_thread.3x manpage describing the scope of data 2295 used by each function (or symbol) for threading analysis. 2296 + add null-pointer checks to setsyx() and getsyx() (prompted by 2297 discussion by Martin v. Lowis and Jeroen Ruigrok van der Werven on 2298 python-dev2 mailing list). 2299 2300 20080329 2301 + add null-pointer checks in set_term() and delscreen(). 2302 + move _nc_windows into _nc_globals, since windows can be pads, which 2303 are not associated with a particular screen. 2304 + change use_screen() to pass the SCREEN* parameter rather than 2305 stdscr to the callback function. 2306 + force libtool to use tag for 'CC' in case it does not detect this, 2307 e.g., on aix when using CC=powerpc-ibm-aix5.3.0.0-gcc 2308 (report/patch by Michael Haubenwallner). 2309 + override OBJEXT to "lo" when building with libtool, to work on 2310 platforms such as AIX where libtool may use a different suffix for 2311 the object files than ".o" (report/patch by Michael Haubenwallner). 2312 + add configure --with-pthread option, for building with the POSIX 2313 thread library. 2314 2315 20080322 2316 + fill in extended-color pair two more places in wbkgrndset() and 2317 waddch_nosync() (prompted by Sedeno's patch). 2318 + fill in extended-color pair in _nc_build_wch() to make colors work 2319 for wide-characters using extended-colors (patch by Alejandro R 2320 Sedeno). 2321 + add x/X toggles to ncurses.c C color test to test/demo 2322 wide-characters with extended-colors. 2323 + add a/A toggles to ncurses.c c/C color tests. 2324 + modify test/ditto.c to use use_screen(). 2325 + finish modifying test/rain.c to demonstrate threads. 2326 2327 20080308 2328 + start modifying test/rain.c for threading demo. 2329 + modify test/ncurses.c to make 'f' test accept the f/F/b/F/</> toggles 2330 that the 'F' accepts. 2331 + modify test/worm.c to show trail in reverse-video when other threads 2332 are working concurrently. 2333 + fix a deadlock from improper nesting of mutexes for windowlist and 2334 window. 2335 2336 20080301 2337 + fixes from 20080223 resolved issue with mutexes; change to use 2338 recursive mutexes to fix memory leak in delwin() as called from 2339 _nc_free_and_exit(). 2340 2341 20080223 2342 + fix a size-difference in _nc_globals which caused hanging of mutex 2343 lock/unlock when termlib was built separately. 2344 2345 20080216 2346 + avoid using nanosleep() in threaded configuration since that often 2347 is implemented to suspend the entire process. 2348 2349 20080209 2350 + update test programs to build/work with various UNIX curses for 2351 comparisons. This was to reinvestigate statement in X/Open curses 2352 that insnstr and winsnstr perform wrapping. None of the Unix-branded 2353 implementations do this, as noted in manpage (cf: 20040228). 2354 2355 20080203 2356 + modify _nc_setupscreen() to set the legacy-coding value the same 2357 for both narrow/wide models. It had been set only for wide model, 2358 but is needed to make unctrl() work with locale in the narrow model. 2359 + improve waddch() and winsch() handling of EILSEQ from mbrtowc() by 2360 using unctrl() to display illegal bytes rather than trying to append 2361 further bytes to make up a valid sequence (reported by Andrey A 2362 Chernov). 2363 + modify unctrl() to check codes in 128-255 range versus isprint(). 2364 If they are not printable, and locale was set, use a "M-" or "~" 2365 sequence. 2366 2367 20080126 2368 + improve threading in test/worm.c (wrap refresh calls, and KEY_RESIZE 2369 handling). Now it hangs in napms(), no matter whether nanosleep() 2370 or poll() or select() are used on Linux. 2371 2372 20080119 2373 + fixes to build with --disable-ext-funcs 2374 + add manpage for use_window and use_screen. 2375 + add set_tabsize() and set_escdelay() functions. 2376 2377 20080112 2378 + remove recursive-mutex definitions, finish threading demo for worm.c 2379 + remove a redundant adjustment of lines in resizeterm.c's 2380 adjust_window() which caused occasional misadjustment of stdscr when 2381 softkeys were used. 2382 2383 20080105 2384 + several improvements to terminfo entries based on xterm #230 -TD 2385 + modify MKlib_gen.sh to handle keyname/key_name prototypes, so the 2386 "link_test" builds properly. 2387 + fix for toe command-line options -u/-U to ensure filename is given. 2388 + fix allocation-size for command-line parsing in infocmp from 20070728 2389 (report by Miroslav Lichvar) 2390 + improve resizeterm() by moving ripped-off lines, and repainting the 2391 soft-keys (report by Katarina Machalkova) 2392 + add clarification in wclear's manpage noting that the screen will be 2393 cleared even if a subwindow is cleared (prompted by Christer Enfors 2394 question). 2395 + change test/ncurses.c soft-key tests to work with KEY_RESIZE. 2396 2397 20071222 2398 + continue implementing support for threading demo by adding mutex 2399 for delwin(). 2400 2401 20071215 2402 + add several functions to C++ binding which wrap C functions that 2403 pass a WINDOW* parameter (request by Chris Lee). 2404 2405 20071201 2406 + add note about configure options needed for Berkeley database to the 2407 INSTALL file. 2408 + improve checks for version of Berkeley database libraries. 2409 + amend fix for rpath to not modify LDFLAGS if the platform has no 2410 applicable transformation (report by Christian Ebert, cf: 20071124). 2411 2412 20071124 2413 + modify configure option --with-hashed-db to accept a parameter which 2414 is the install-prefix of a given Berkeley Database (prompted by 2415 pierre4d2 comments). 2416 + rewrite wrapper for wcrtomb(), making it work on Solaris. This is 2417 used in the form library to determine the length of the buffer needed 2418 by field_buffer (report by Alfred Fung). 2419 + remove unneeded window-parameter from C++ binding for wresize (report 2420 by Chris Lee). 2421 2422 20071117 2423 + modify the support for filesystems which do not support mixed-case to 2424 generate 2-character (hexadecimal) codes for the lower-level of the 2425 filesystem terminfo database (request by Michail Vidiassov). 2426 + add configure option --enable-mixed-case, to allow overriding the 2427 configure script's check if the filesystem supports mixed-case 2428 filenames. 2429 + add wresize() to C++ binding (request by Chris Lee). 2430 + define NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS in curses.h to make 2431 it simpler to tell if the extended functions and/or colors are 2432 declared. 2433 2434 20071103 2435 + update memory-leak checks for changes to names.c and codes.c 2436 + correct acsc strings in h19, z100 (patch by Benjamin C W Sittler). 2437 2438 20071020 2439 + continue implementing support for threading demo by adding mutex 2440 for use_window(). 2441 + add mrxvt terminfo entry, add/fix xterm building blocks for modified 2442 cursor keys -TD 2443 + compile with FreeBSD "contemporary" TTY interface (patch by 2444 Rong-En Fan). 2445 2446 20071013 2447 + modify makefile rules to allow clear, tput and tset to be built 2448 without libtic. The other programs (infocmp, tic and toe) rely on 2449 that library. 2450 + add/modify null-pointer checks in several functions for SP and/or 2451 the WINDOW* parameter (report by Thorben Krueger). 2452 + fixes for field_buffer() in formw library (see Redhat #310071, 2453 patches by Miroslav Lichvar). 2454 + improve performance of NCURSES_CHAR_EQ code (patch by Miroslav 2455 Lichvar). 2456 + update/improve mlterm and rxvt terminfo entries, e.g., for 2457 the modified cursor- and keypad-keys -TD 2458 2459 20071006 2460 + add code to curses.priv.h ifdef'd with NCURSES_CHAR_EQ, which 2461 changes the CharEq() macro to an inline function to allow comparing 2462 cchar_t struct's without comparing gaps in a possibly unpacked 2463 memory layout (report by Miroslav Lichvar). 2464 2465 20070929 2466 + add new functions to lib_trace.c to setup mutex's for the _tracef() 2467 calls within the ncurses library. 2468 + for the reentrant model, move _nc_tputs_trace and _nc_outchars into 2469 the SCREEN. 2470 + start modifying test/worm.c to provide threading demo (incomplete). 2471 + separated ifdef's for some BSD-related symbols in tset.c, to make 2472 it compile on LynxOS (report by Greg Gemmer). 2473 20070915 2474 + modify Ada95/gen/Makefile to use shlib script, to simplify building 2475 shared-library configuration on platforms lacking rpath support. 2476 + build-fix for Ada95/src/Makefile to reflect changed dependency for 2477 the terminal-interface-curses-aux.adb file which is now generated. 2478 + restructuring test/worm.c, for use_window() example. 2479 2480 20070908 2481 + add use_window() and use_screen() functions, to develop into support 2482 for threaded library (incomplete). 2483 + fix typos in man/curs_opaque.3x which kept the install script from 2484 creating symbolic links to two aliases created in 20070818 (report by 2485 Rong-En Fan). 2486 2487 20070901 2488 + remove a spurious newline from output of html.m4, which caused links 2489 for Ada95 html to be incorrect for the files generated using m4. 2490 + start investigating mutex's for SCREEN manipulation (incomplete). 2491 + minor cleanup of codes.c/names.c for --enable-const 2492 + expand/revise "Routine and Argument Names" section of ncurses manpage 2493 to address report by David Givens in newsgroup discussion. 2494 + fix interaction between --without-progs/--with-termcap configure 2495 options (report by Michail Vidiassov). 2496 + fix typo in "--disable-relink" option (report by Michail Vidiassov). 2497 2498 20070825 2499 + fix a sign-extension bug in infocmp's repair_acsc() function 2500 (cf: 971004). 2501 + fix old configure script bug which prevented "--disable-warnings" 2502 option from working (patch by Mike Frysinger). 2503 2504 20070818 2505 + add 9term terminal description (request by Juhapekka Tolvanen) -TD 2506 + modify comp_hash.c's string output to avoid misinterpreting a null 2507 "\0" followed by a digit. 2508 + modify MKnames.awk and MKcodes.awk to support big-strings. 2509 This only applies to the cases (broken linker, reentrant) where 2510 the corresponding arrays are accessed via wrapper functions. 2511 + split MKnames.awk into two scripts, eliminating the shell redirection 2512 which complicated the make process and also the bogus timestamp file 2513 which was introduced to fix "make -j". 2514 + add test/test_opaque.c, test/test_arrays.c 2515 + add wgetscrreg() and wgetparent() for applications that may need it 2516 when NCURSES_OPAQUE is defined (prompted by Bryan Christ). 2517 2518 20070812 2519 + amend treatment of infocmp "-r" option to retain the 1023-byte limit 2520 unless "-T" is given (cf: 981017). 2521 + modify comp_captab.c generation to use big-strings. 2522 + make _nc_capalias_table and _nc_infoalias_table private accessed via 2523 _nc_get_alias_table() since the tables are used only within the tic 2524 library. 2525 + modify configure script to skip Intel compiler in CF_C_INLINE. 2526 + make _nc_info_hash_table and _nc_cap_hash_table private accessed via 2527 _nc_get_hash_table() since the tables are used only within the tic 2528 library. 2529 2530 20070728 2531 + make _nc_capalias_table and _nc_infoalias_table private, accessed via 2532 _nc_get_alias_table() since they are used only by parse_entry.c 2533 + make _nc_key_names private since it is used only by lib_keyname.c 2534 + add --disable-big-strings configure option to control whether 2535 unctrl.c is generated using the big-string optimization - which may 2536 use strings longer than supported by a given compiler. 2537 + reduce relocation tables for tic, infocmp by changing type of 2538 internal hash tables to short, and make those private symbols. 2539 + eliminate large fixed arrays from progs/infocmp.c 2540 2541 20070721 2542 + change winnstr() to stop at the end of the line (cf: 970315). 2543 + add test/test_get_wstr.c 2544 + add test/test_getstr.c 2545 + add test/test_inwstr.c 2546 + add test/test_instr.c 2547 2548 20070716 2549 + restore a call to obtain screen-size in _nc_setupterm(), which 2550 is used in tput and other non-screen applications via setupterm() 2551 (Debian #433357, reported by Florent Bayle, Christian Ohm, 2552 cf: 20070310). 2553 2554 20070714 2555 + add test/savescreen.c test-program 2556 + add check to trace-file open, if the given name is a directory, add 2557 ".log" to the name and try again. 2558 + add konsole-256color entry -TD 2559 + add extra gcc warning options from xterm. 2560 + minor fixes for ncurses/hashmap test-program. 2561 + modify configure script to quiet c++ build with libtool when the 2562 --disable-echo option is used. 2563 + modify configure script to disable ada95 if libtool is selected, 2564 writing a warning message (addresses FreeBSD ports/114493). 2565 + update config.guess, config.sub 2566 2567 20070707 2568 + add continuous-move "M" to demo_panels to help test refresh changes. 2569 + improve fix for refresh of window on top of multi-column characters, 2570 taking into account some split characters on left/right window 2571 boundaries. 2572 2573 20070630 2574 + add "widec" row to _tracedump() output to help diagnose remaining 2575 problems with multi-column characters. 2576 + partial fix for refresh of window on top of multi-column characters 2577 which are partly overwritten (report by Sadrul H Chowdhury). 2578 + ignore A_CHARTEXT bits in vidattr() and vid_attr(), in case 2579 multi-column extension bits are passed there. 2580 + add setlocale() call to demo_panels.c, needed for wide-characters. 2581 + add some output flags to _nc_trace_ttymode to help diagnose a bug 2582 report by Larry Virden, i.e., ONLCR, OCRNL, ONOCR and ONLRET, 2583 2584 20070623 2585 + add test/demo_panels.c 2586 + implement opaque version of setsyx() and getsyx(). 2587 2588 20070612 2589 + corrected xterm+pcf2 terminfo modifiers for F1-F4, to match xterm 2590 #226 -TD 2591 + split-out key_name() from MKkeyname.awk since it now depends upon 2592 wunctrl() which is not in libtinfo (report by Rong-En Fan). 2593 2594 20070609 2595 + add test/key_name.c 2596 + add stdscr cases to test/inchs.c and test/inch_wide.c 2597 + update test/configure 2598 + correct formatting of DEL (0x7f) in _nc_vischar(). 2599 + null-terminate result of wunctrl(). 2600 + add null-pointer check in key_name() (report by Andreas Krennmair, 2601 cf: 20020901). 2602 2603 20070602 2604 + adapt mouse-handling code from menu library in form-library 2605 (discussion with Clive Nicolson). 2606 + add a modification of test/dots.c, i.e., test/dots_mvcur.c to 2607 illustrate how to use mvcur(). 2608 + modify wide-character flavor of SetAttr() to preserve the 2609 WidecExt() value stored in the .attr field, e.g., in case it 2610 is overwritten by chgat (report by Aleksi Torhamo). 2611 + correct buffer-size for _nc_viswbuf2n() (report by Aleksi Torhamo). 2612 + build-fixes for Solaris 2.6 and 2.7 (patch by Peter O'Gorman). 2613 2614 20070526 2615 + modify keyname() to use "^X" form only if meta() has been called, or 2616 if keyname() is called without initializing curses, e.g., via 2617 initscr() or newterm() (prompted by LinuxBase #1604). 2618 + document some portability issues in man/curs_util.3x 2619 + add a shadow copy of TTY buffer to _nc_prescreen to fix applications 2620 broken by moving that data into SCREEN (cf: 20061230). 2621 2622 20070512 2623 + add 'O' (wide-character panel test) in ncurses.c to demonstrate a 2624 problem reported by Sadrul H Chowdhury with repainting parts of 2625 a fullwidth cell. 2626 + modify slk_init() so that if there are preceding calls to 2627 ripoffline(), those affect the available lines for soft-keys (adapted 2628 from patch by Clive Nicolson). 2629 + document some portability issues in man/curs_getyx.3x 2630 2631 20070505 2632 + fix a bug in Ada95/samples/ncurses which caused a variable to 2633 become uninitialized in the "b" test. 2634 + fix Ada95/gen/Makefile.in adahtml rule to account for recent 2635 movement of files, fix a few incorrect manpage references in the 2636 generated html. 2637 + add Ada95 binding to _nc_freeall() as Curses_Free_All to help with 2638 memory-checking. 2639 + correct some functions in Ada95 binding which were using return value 2640 from C where none was returned: idcok(), immedok() and wtimeout(). 2641 + amend recent changes for Ada95 binding to make it build with 2642 Cygwin's linker, e.g., with configure options 2643 --enable-broken-linker --with-ticlib 2644 2645 20070428 2646 + add a configure check for gcc's options for inlining, use that to 2647 quiet a warning message where gcc's default behavior changed from 2648 3.x to 4.x. 2649 + improve warning message when checking if GPM is linked to curses 2650 library by not warning if its use of "wgetch" is via a weak symbol. 2651 + add loader options when building with static libraries to ensure that 2652 an installed shared library for ncurses does not conflict. This is 2653 reported as problem with Tru64, but could affect other platforms 2654 (report Martin Mokrejs, analysis by Tim Mooney). 2655 + fix build on cygwin after recent ticlib/termlib changes, i.e., 2656 + adjust TINFO_SUFFIX value to work with cygwin's dll naming 2657 + revert a change from 20070303 which commented out dependency of 2658 SHLIB_LIST in form/menu/panel/c++ libraries. 2659 + fix initialization of ripoff stack pointer (cf: 20070421). 2660 2661 20070421 2662 + move most static variables into structures _nc_globals and 2663 _nc_prescreen, to simplify storage. 2664 + add/use configure script macro CF_SIG_ATOMIC_T, use the corresponding 2665 type for data manipulated by signal handlers (prompted by comments 2666 in mailing.openbsd.bugs newsgroup). 2667 + modify CF_WITH_LIBTOOL to allow one to pass options such as -static 2668 to the libtool create- and link-operations. 2669 2670 20070414 2671 + fix whitespace in curs_opaque.3x which caused a spurious ';' in 2672 the installed aliases (report by Peter Santoro). 2673 + fix configure script to not try to generate adacurses-config when 2674 Ada95 tree is not built. 2675 2676 20070407 2677 + add man/curs_legacy.3x, man/curs_opaque.3x 2678 + fix acs_map binding for Ada95 when --enable-reentrant is used. 2679 + add adacurses-config to the Ada95 install, based on version from 2680 FreeBSD port, in turn by Juergen Pfeifer in 2000 (prompted by 2681 comment on comp.lang.ada newsgroup). 2682 + fix includes in c++ binding to build with Intel compiler 2683 (cf: 20061209). 2684 + update install rule in Ada95 to use mkdirs.sh 2685 > other fixes prompted by inspection for Coverity report: 2686 + modify ifdef's for c++ binding to use try/catch/throw statements 2687 + add a null-pointer check in tack/ansi.c request_cfss() 2688 + fix a memory leak in ncurses/base/wresize.c 2689 + corrected check for valid memu/meml capabilities in 2690 progs/dump_entry.c when handling V_HPUX case. 2691 > fixes based on Coverity report: 2692 + remove dead code in test/bs.c 2693 + remove dead code in test/demo_defkey.c 2694 + remove an unused assignment in progs/infocmp.c 2695 + fix a limit check in tack/ansi.c tools_charset() 2696 + fix tack/ansi.c tools_status() to perform the VT320/VT420 2697 tests in request_cfss(). The function had exited too soon. 2698 + fix a memory leak in tic.c's make_namelist() 2699 + fix a couple of places in tack/output.c which did not check for EOF. 2700 + fix a loop-condition in test/bs.c 2701 + add index checks in lib_color.c for color palettes 2702 + add index checks in progs/dump_entry.c for version_filter() handling 2703 of V_BSD case. 2704 + fix a possible null-pointer dereference in copywin() 2705 + fix a possible null-pointer dereference in waddchnstr() 2706 + add a null-pointer check in _nc_expand_try() 2707 + add a null-pointer check in tic.c's make_namelist() 2708 + add a null-pointer check in _nc_expand_try() 2709 + add null-pointer checks in test/cardfile.c 2710 + fix a double-free in ncurses/tinfo/trim_sgr0.c 2711 + fix a double-free in ncurses/base/wresize.c 2712 + add try/catch block to c++/cursesmain.cc 2713 2714 20070331 2715 + modify Ada95 binding to build with --enable-reentrant by wrapping 2716 global variables (bug: acs_map does not yet work). 2717 + modify Ada95 binding to use the new access-functions, allowing it 2718 to build/run when NCURSES_OPAQUE is set. 2719 + add access-functions and macros to return properties of the WINDOW 2720 structure, e.g., when NCURSES_OPAQUE is set. 2721 + improved install-sh's quoting. 2722 + use mkdirs.sh rather than mkinstalldirs, e.g., to use fixes from 2723 other programs. 2724 2725 20070324 2726 + eliminate part of the direct use of WINDOW data from Ada95 interface. 2727 + fix substitutions for termlib filename to make configure option 2728 --enable-reentrant work with --with-termlib. 2729 + change a constructor for NCursesWindow to allow compiling with 2730 NCURSES_OPAQUE set, since we cannot pass a reference to 2731 an opaque pointer. 2732 2733 20070317 2734 + ignore --with-chtype=unsigned since unsigned is always added to 2735 the type in curses.h; do the same for --with-mmask-t. 2736 + change warning regarding --enable-ext-colors and wide-character 2737 in the configure script to an error. 2738 + tweak error message in CF_WITH_LIBTOOL to distinguish other programs 2739 such as Darwin's libtool program (report by Michail Vidiassov) 2740 + modify edit_man.sh to allow for multiple substitutions per line. 2741 + set locale in misc/ncurses-config.in since it uses a range 2742 + change permissions libncurses++.a install (report by Michail 2743 Vidiassov). 2744 + corrected length of temporary buffer in wide-character version 2745 of set_field_buffer() (related to report by Bryan Christ). 2746 2747 20070311 2748 + fix mk-1st.awk script install_shlib() function, broken in 20070224 2749 changes for cygwin (report by Michail Vidiassov). 2750 2751 20070310 2752 + increase size of array in _nc_visbuf2n() to make "tic -v" work 2753 properly in its similar_sgr() function (report/analysis by Peter 2754 Santoro). 2755 + add --enable-reentrant configure option for ongoing changes to 2756 implement a reentrant version of ncurses: 2757 + libraries are suffixed with "t" 2758 + wrap several global variables (curscr, newscr, stdscr, ttytype, 2759 COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as 2760 functions returning values stored in SCREEN or cur_term. 2761 + move some initialization (LINES, COLS) from lib_setup.c, 2762 i.e., setupterm() to _nc_setupscreen(), i.e., newterm(). 2763 2764 20070303 2765 + regenerated html documentation. 2766 + add NCURSES_OPAQUE symbol to curses.h, will use to make structs 2767 opaque in selected configurations. 2768 + move the chunk in lib_acs.c which resets acs capabilities when 2769 running on a terminal whose locale interferes with those into 2770 _nc_setupscreen(), so the libtinfo/libtinfow files can be made 2771 identical (requested by Miroslav Lichvar). 2772 + do not use configure variable SHLIB_LIBS for building libraries 2773 outside the ncurses directory, since that symbol is customized 2774 only for that directory, and using it introduces an unneeded 2775 dependency on libdl (requested by Miroslav Lichvar). 2776 + modify mk-1st.awk so the generated makefile rules for linking or 2777 installing shared libraries do not first remove the library, in 2778 case it is in use, e.g., libncurses.so by /bin/sh (report by Jeff 2779 Chua). 2780 + revised section "Using NCURSES under XTERM" in ncurses-intro.html 2781 (prompted by newsgroup comment by Nick Guenther). 2782 2783 20070224 2784 + change internal return codes of _nc_wgetch() to check for cases 2785 where KEY_CODE_YES should be returned, e.g., if a KEY_RESIZE was 2786 ungetch'd, and read by wget_wch(). 2787 + fix static-library build broken in 20070217 changes to remove "-ldl" 2788 (report by Miroslav Lichvar). 2789 + change makefile/scripts for cygwin to allow building termlib. 2790 + use Form_Hook in manpages to match form.h 2791 + use Menu_Hook in manpages, as well as a few places in menu.h 2792 + correct form- and menu-manpages to use specific Field_Options, 2793 Menu_Options and Item_Options types. 2794 + correct prototype for _tracechar() in manpage (cf: 20011229). 2795 + correct prototype for wunctrl() in manpage. 2796 2797 20070217 2798 + fixes for $(TICS_LIST) in ncurses/Makefile (report by Miroslav 2799 Lichvar). 2800 + modify relinking of shared libraries to apply only when rpath is 2801 enabled, and add --disable-relink option which can be used to 2802 disable the feature altogether (reports by Michail Vidiassov, 2803 Adam J Richter). 2804 + fix --with-termlib option for wide-character configuration, stripping 2805 the "w" suffix in one place (report by Miroslav Lichvar). 2806 + remove "-ldl" from some library lists to reduce dependencies in 2807 programs (report by Miroslav Lichvar). 2808 + correct description of --enable-signed-char in configure --help 2809 (report by Michail Vidiassov). 2810 + add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE, 2811 which matches an earlier change to CF_SHARED_OPTS, from xterm #224 2812 fixes. 2813 + remove "${DESTDIR}" from -install_name option used for linking 2814 shared libraries on Darwin (report by Michail Vidiassov). 2815 2816 20070210 2817 + add test/inchs.c, test/inch_wide.c, to test win_wchnstr(). 2818 + remove libdl from library list for termlib (report by Miroslav 2819 Lichvar). 2820 + fix configure.in to allow --without-progs --with-termlib (patch by 2821 Miroslav Lichvar). 2822 + modify win_wchnstr() to ensure that only a base cell is returned 2823 for each multi-column character (prompted by report by Wei Kong 2824 regarding change in mvwin_wch() cf: 20041023). 2825 2826 20070203 2827 + modify fix_wchnstr() in form library to strip attributes (and color) 2828 from the cchar_t array (field cells) read from a field's window. 2829 Otherwise, when copying the field cells back to the window, the 2830 associated color overrides the field's background color (report by 2831 Ricardo Cantu). 2832 + improve tracing for form library, showing created forms, fields, etc. 2833 + ignore --enable-rpath configure option if --with-shared was omitted. 2834 + add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints 2835 to allow leak-checking when both tic- and tinfo-libraries are built. 2836 + drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding 2837 no longer relies on it. 2838 + disallow combining configure script options --with-ticlib and 2839 --enable-termcap (report by Rong-En Fan). 2840 + remove tack from ncurses tree. 2841 2842 20070128 2843 + fix typo in configure script that broke --with-termlib option 2844 (report by Rong-En Fan). 2845 2846 20070127 2847 + improve fix for FreeBSD gnu/98975, to allow for null pointer passed 2848 to tgetent() (report by Rong-en Fan). 2849 + update tack/HISTORY and tack/README to tell how to build it after 2850 it is removed from the ncurses tree. 2851 + fix configure check for libtool's version to trim blank lines 2852 (report by sci-fi@hush.ai). 2853 + review/eliminate other original-file artifacts in cursesw.cc, making 2854 its license consistent with ncurses. 2855 + use ncurses vw_scanw() rather than reading into a fixed buffer in 2856 the c++ binding for scanw() methods (prompted by report by Nuno Dias). 2857 + eliminate fixed-buffer vsprintf() calls in c++ binding. 2858 2859 20070120 2860 + add _nc_leaks_tic() to separate leak-checking of tic library from 2861 term/ncurses libraries, and thereby eliminate a library dependency. 2862 + fix test/mk-test.awk to ignore blank lines. 2863 + correct paths in include/headers, for --srcdir (patch by Miroslav 2864 Lichvar). 2865 2866 20070113 2867 + add a break-statement in misc/shlib to ensure that it exits on the 2868 _first_ matched directory (report by Paul Novak). 2869 + add tack/configure, which can be used to build tack outside the 2870 ncurses build-tree. 2871 + add --with-ticlib option, to build/install the tic-support functions 2872 in a separate library (suggested by Miroslav Lichvar). 2873 2874 20070106 2875 + change MKunctrl.awk to reduce relocation table for unctrl.o 2876 + change MKkeyname.awk to reduce relocation table for keyname.o 2877 (patch by Miroslav Lichvar). 2878 2879 20061230 2880 + modify configure check for libtool's version to trim blank lines 2881 (report by sci-fi@hush.ai). 2882 + modify some modules to allow them to be reentrant if _REENTRANT is 2883 defined: lib_baudrate.c, resizeterm.c (local data only) 2884 + eliminate static data from some modules: add_tries.c, hardscroll.c, 2885 lib_ttyflags.c, lib_twait.c 2886 + improve manpage install to add aliases for the transformed program 2887 names, e.g., from --program-prefix. 2888 + used linklint to verify links in the HTML documentation, made fixes 2889 to manpages as needed. 2890 + fix a typo in curs_mouse.3x (report by William McBrine). 2891 + fix install-rule for ncurses5-config to make the bin-directory. 2892 2893 20061223 2894 + modify configure script to omit the tic (terminfo compiler) support 2895 from ncurses library if --without-progs option is given. 2896 + modify install rule for ncurses5-config to do this via "install.libs" 2897 + modify shared-library rules to allow FreeBSD 3.x to use rpath. 2898 + update config.guess, config.sub 2899 2900 20061217 5.6 release for upload to 2901 2902 20061217 2903 + add ifdef's for <wctype.h> for HPUX, which has the corresponding 2904 definitions in <wchar.h>. 2905 + revert the va_copy() change from 20061202, since it was neither 2906 correct nor portable. 2907 + add $(LOCAL_LIBS) definition to progs/Makefile.in, needed for 2908 rpath on Solaris. 2909 + ignore wide-acs line-drawing characters that wcwidth() claims are 2910 not one-column. This is a workaround for Solaris' broken locale 2911 support. 2912 2913 20061216 2914 + modify configure --with-gpm option to allow it to accept a parameter, 2915 i.e., the name of the dynamic GPM library to load via dlopen() 2916 (requested by Bryan Henderson). 2917 + add configure option --with-valgrind, changes from vile. 2918 + modify configure script AC_TRY_RUN and AC_TRY_LINK checks to use 2919 'return' in preference to 'exit()'. 2920 2921 20061209 2922 + change default for --with-develop back to "no". 2923 + add XTABS to tracing of TTY bits. 2924 + updated autoconf patch to ifdef-out the misfeature which declares 2925 exit() for configure tests. This fixes a redefinition warning on 2926 Solaris. 2927 + use ${CC} rather than ${LD} in shared library rules for IRIX64, 2928 Solaris to help ensure that initialization sections are provided for 2929 extra linkage requirements, e.g., of C++ applications (prompted by 2930 comment by Casper Dik in newsgroup). 2931 + rename "$target" in CF_MAN_PAGES to make it easier to distinguish 2932 from the autoconf predefined symbol. There was no conflict, 2933 since "$target" was used only in the generated edit_man.sh file, 2934 but SuSE's rpm package contains a patch. 2935 2936 20061202 2937 + update man/term.5 to reflect extended terminfo support and hashed 2938 database configuration. 2939 + updates for test/configure script. 2940 + adapted from SuSE rpm package: 2941 + remove long-obsolete workaround for broken-linker which declared 2942 cur_term in tic.c 2943 + improve error recovery in PUTC() macro when wcrtomb() does not 2944 return usable results for an 8-bit character. 2945 + patches from rpm package (SuSE): 2946 + use va_copy() in extra varargs manipulation for tracing version 2947 of printw, etc. 2948 + use a va_list rather than a null in _nc_freeall()'s call to 2949 _nc_printf_string(). 2950 + add some see-also references in manpages to show related 2951 wide-character functions (suggested by Claus Fischer). 2952 2953 20061125 2954 + add a check in lib_color.c to ensure caller does not increase COLORS 2955 above max_colors, which is used as an array index (discussion with 2956 Simon Sasburg). 2957 + add ifdef's allowing ncurses to be built with tparm() using either 2958 varargs (the existing status), or using a fixed-parameter list (to 2959 match X/Open). 2960 2961 20061104 2962 + fix redrawing of windows other than stdscr using wredrawln() by 2963 touching the corresponding rows in curscr (discussion with Dan 2964 Gookin). 2965 + add test/redraw.c 2966 + add test/echochar.c 2967 + review/cleanup manpage descriptions of error-returns for form- and 2968 menu-libraries (prompted by FreeBSD docs/46196). 2969 2970 20061028 2971 + add AUTHORS file -TD 2972 + omit the -D options from output of the new config script --cflags 2973 option (suggested by Ralf S Engelschall). 2974 + make NCURSES_INLINE unconditionally defined in curses.h 2975 2976 20061021 2977 + revert change to accommodate bash 3.2, since that breaks other 2978 platforms, e.g., Solaris. 2979 + minor fixes to NEWS file to simplify scripting to obtain list of 2980 contributors. 2981 + improve some shared-library configure scripting for Linux, FreeBSD 2982 and NetBSD to make "--with-shlib-version" work. 2983 + change configure-script rules for FreeBSD shared libraries to allow 2984 for rpath support in versions past 3. 2985 + use $(DESTDIR) in makefile rules for installing/uninstalling the 2986 package config script (reports/patches by Christian Wiese, 2987 Ralf S Engelschall). 2988 + fix a warning in the configure script for NetBSD 2.0, working around 2989 spurious blanks embedded in its ${MAKEFLAGS} symbol. 2990 + change test/Makefile to simplify installing test programs in a 2991 different directory when --enable-rpath is used. 2992 2993 20061014 2994 + work around bug in bash 3.2 by adding extra quotes (Jim Gifford). 2995 + add/install a package config script, e.g., "ncurses5-config" or 2996 "ncursesw5-config", according to configuration options. 2997 2998 20061007 2999 + add several GNU Screen terminfo variations with 16- and 256-colors, 3000 and status line (Alain Bench). 3001 + change the way shared libraries (other than libtool) are installed. 3002 Rather than copying the build-tree's libraries, link the shared 3003 objects into the install directory. This makes the --with-rpath 3004 option work except with $(DESTDIR) (cf: 20000930). 3005 3006 20060930 3007 + fix ifdef in c++/internal.h for QNX 6.1 3008 + test-compiled with (old) egcs-1.1.2, modified configure script to 3009 not unset the $CXX and related variables which would prevent this. 3010 + fix a few terminfo.src typos exposed by improvments to "-f" option. 3011 + improve infocmp/tic "-f" option formatting. 3012 3013 20060923 3014 + make --disable-largefile option work (report by Thomas M Ott). 3015 + updated html documentation. 3016 + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD 3017 + minor improvements to rxvt+pcfkeys -TD 3018 3019 20060916 3020 + move static data from lib_mouse.c into SCREEN struct. 3021 + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac OS X 3022 (report by Michail Vidiassov). 3023 + modify CF_PATH_SYNTAX to ensure it uses the result from --prefix 3024 option (from lynx changes) -TD 3025 + adapt AC_PROG_EGREP check, noting that this is likely to be another 3026 place aggravated by POSIXLY_CORRECT. 3027 + modify configure check for awk to ensure that it is found (prompted 3028 by report by Christopher Parker). 3029 + update config.sub 3030 3031 20060909 3032 + add kon, kon2 and jfbterm terminfo entry (request by Till Maas) -TD 3033 + remove invis capability from klone+sgr, mainly used by linux entry, 3034 since it does not really do this -TD 3035 3036 20060903 3037 + correct logic in wadd_wch() and wecho_wch(), which did not guard 3038 against passing the multi-column attribute into a call on waddch(), 3039 e.g., using data returned by win_wch() (cf: 20041023) 3040 (report by Sadrul H Chowdhury). 3041 3042 20060902 3043 + fix kterm's acsc string -TD 3044 + fix for change to tic/infocmp in 20060819 to ensure no blank is 3045 embedded into a termcap description. 3046 + workaround for 20050806 ifdef's change to allow visbuf.c to compile 3047 when using --with-termlib --with-trace options. 3048 + improve tgetstr() by making the return value point into the user's 3049 buffer, if provided (patch by Miroslav Lichvar (see Redhat #202480)). 3050 + correct libraries needed for foldkeys (report by Stanislav Ievlev) 3051 3052 20060826 3053 + add terminfo entries for xfce terminal (xfce) and multi gnome 3054 terminal (mgt) -TD 3055 + add test/foldkeys.c 3056 3057 20060819 3058 + modify tic and infocmp to avoid writing trailing blanks on terminfo 3059 source output (Debian #378783). 3060 + modify configure script to ensure that if the C compiler is used 3061 rather than the loader in making shared libraries, the $(CFLAGS) 3062 variable is also used (Redhat #199369). 3063 + port hashed-db code to db2 and db3. 3064 + fix a bug in tgetent() from 20060625 and 20060715 changes 3065 (patch/analysis by Miroslav Lichvar (see Redhat #202480)). 3066 3067 20060805 3068 + updated xterm function-keys terminfo to match xterm #216 -TD 3069 + add configure --with-hashed-db option (tested only with FreeBSD 6.0, 3070 e.g., the db 1.8.5 interface). 3071 3072 20060729 3073 + modify toe to access termcap data, e.g., via cgetent() functions, 3074 or as a text file if those are not available. 3075 + use _nc_basename() in tset to improve $SHELL check for csh/sh. 3076 + modify _nc_read_entry() and _nc_read_termcap_entry() so infocmp, 3077 can access termcap data when the terminfo database is disabled. 3078 3079 20060722 3080 + widen the test for xterm kmous a little to allow for other strings 3081 than \E[M, e.g., for xterm-sco functionality in xterm. 3082 + update xterm-related terminfo entries to match xterm patch #216 -TD 3083 + update config.guess, config.sub 3084 3085 20060715 3086 + fix for install-rule in Ada95 to add terminal_interface.ads 3087 and terminal_interface.ali (anonymous posting in comp.lang.ada). 3088 + correction to manpage for getcchar() (report by William McBrine). 3089 + add test/chgat.c 3090 + modify wchgat() to mark updated cells as changed so a refresh will 3091 repaint those cells (comments by Sadrul H Chowdhury and William 3092 McBrine). 3093 + split up dependency of names.c and codes.c in ncurses/Makefile to 3094 work with parallel make (report/analysis by Joseph S Myers). 3095 + suppress a warning message (which is ignored) for systems without 3096 an ldconfig program (patch by Justin Hibbits). 3097 + modify configure script --disable-symlinks option to allow one to 3098 disable symlink() in tic even when link() does not work (report by 3099 Nigel Horne). 3100 + modify MKfallback.sh to use tic -x when constructing fallback tables 3101 to allow extended capabilities to be retrieved from a fallback entry. 3102 + improve leak-checking logic in tgetent() from 20060625 to ensure that 3103 it does not free the current screen (report by Miroslav Lichvar). 3104 3105 20060708 3106 + add a check for _POSIX_VDISABLE in tset (NetBSD #33916). 3107 + correct _nc_free_entries() and related functions used for memory leak 3108 checking of tic. 3109 3110 20060701 3111 + revert a minor change for magic-cookie support from 20060513, which 3112 caused unexpected reset of attributes, e.g., when resizing test/view 3113 in color mode. 3114 + note in clear manpage that the program ignores command-line 3115 parameters (prompted by Debian #371855). 3116 + fixes to make lib_gen.c build properly with changes to the configure 3117 --disable-macros option and NCURSES_NOMACROS (cf: 20060527) 3118 + update/correct several terminfo entries -TD 3119 + add some notes regarding copyright to terminfo.src -TD 3120 3121 20060625 3122 + fixes to build Ada95 binding with gnat-4.1.0 3123 + modify read_termtype() so the term_names data is always allocated as 3124 part of the str_table, a better fix for a memory leak (cf: 20030809). 3125 + reduce memory leaks in repeated calls to tgetent() by remembering the 3126 last TERMINAL* value allocated to hold the corresponding data and 3127 freeing that if the tgetent() result buffer is the same as the 3128 previous call (report by "Matt" for FreeBSD gnu/98975). 3129 + modify tack to test extended capability function-key strings. 3130 + improved gnome terminfo entry (GenToo #122566). 3131 + improved xterm-256color terminfo entry (patch by Alain Bench). 3132 3133 20060617 3134 + fix two small memory leaks related to repeated tgetent() calls 3135 with TERM=screen (report by "Matt" for FreeBSD gnu/98975). 3136 + add --enable-signed-char to simplify Debian package. 3137 + reduce name-pollution in term.h by removing #define's for HAVE_xxx 3138 symbols. 3139 + correct typo in curs_terminfo.3x (Debian #369168). 3140 3141 20060603 3142 + enable the mouse in test/movewindow.c 3143 + improve a limit-check in frm_def.c (John Heasley). 3144 + minor copyright fixes. 3145 + change configure script to produce test/Makefile from data file. 3146 3147 20060527 3148 + add a configure option --enable-wgetch-events to enable 3149 NCURSES_WGETCH_EVENTS, and correct the associated loop-logic in 3150 lib_twait.c (report by Bernd Jendrissek). 3151 + remove include/nomacros.h from build, since the ifdef for 3152 NCURSES_NOMACROS makes that obsolete. 3153 + add entrypoints for some functions which were only provided as macros 3154 to make NCURSES_NOMACROS ifdef work properly: getcurx(), getcury(), 3155 getbegx(), getbegy(), getmaxx(), getmaxy(), getparx() and getpary(), 3156 wgetbkgrnd(). 3157 + provide ifdef for NCURSES_NOMACROS which suppresses most macro 3158 definitions from curses.h, i.e., where a macro is defined to override 3159 a function to improve performance. Allowing a developer to suppress 3160 these definitions can simplify some application (discussion with 3161 Stanislav Ievlev). 3162 + improve description of memu/meml in terminfo manpage. 3163 3164 20060520 3165 + if msgr is false, reset video attributes when doing an automargin 3166 wrap to the next line. This makes the ncurses 'k' test work properly 3167 for hpterm. 3168 + correct caching of keyname(), which was using only half of its table. 3169 + minor fixes to memory-leak checking. 3170 + make SCREEN._acs_map and SCREEN._screen_acs_map pointers rather than 3171 arrays, making ACS_LEN less visible to applications (suggested by 3172 Stanislav Ievlev). 3173 + move chunk in SCREEN ifdef'd for USE_WIDEC_SUPPORT to the end, so 3174 _screen_acs_map will have the same offset in both ncurses/ncursesw, 3175 making the corresponding tinfo/tinfow libraries binary-compatible 3176 (cf: 20041016, report by Stanislav Ievlev). 3177 3178 20060513 3179 + improve debug-tracing for EmitRange(). 3180 + change default for --with-develop to "yes". Add NCURSES_NO_HARD_TABS 3181 and NCURSES_NO_MAGIC_COOKIE environment variables to allow runtime 3182 suppression of the related hard-tabs and xmc-glitch features. 3183 + add ncurses version number to top-level manpages, e.g., ncurses, tic, 3184 infocmp, terminfo as well as form, menu, panel. 3185 + update config.guess, config.sub 3186 + modify ncurses.c to work around a bug in NetBSD 3.0 curses 3187 (field_buffer returning null for a valid field). The 'r' test 3188 appears to not work with that configuration since the new_fieldtype() 3189 function is broken in that implementation. 3190 3191 20060506 3192 + add hpterm-color terminfo entry -TD 3193 + fixes to compile test-programs with HPUX 11.23 3194 3195 20060422 3196 + add copyright notices to files other than those that are generated, 3197 data or adapted from pdcurses (reports by William McBrine, David 3198 Taylor). 3199 + improve rendering on hpterm by not resetting attributes at the end 3200 of doupdate() if the terminal has the magic-cookie feature (report 3201 by Bernd Rieke). 3202 + add 256color variants of terminfo entries for programs which are 3203 reported to implement this feature -TD 3204 3205 20060416 3206 + fix typo in change to NewChar() macro from 20060311 changes, which 3207 broke tab-expansion (report by Frederic L W Meunier). 3208 3209 20060415 3210 + document -U option of tic and infocmp. 3211 + modify tic/infocmp to suppress smacs/rmacs when acsc is suppressed 3212 due to size limit, e.g., converting to termcap format. Also 3213 suppress them if the output format does not contain acsc and it 3214 was not VT100-like, i.e., a one-one mapping (Novell #163715). 3215 + add configure check to ensure that SIGWINCH is defined on platforms 3216 such as OS X which exclude that when _XOPEN_SOURCE, etc., are 3217 defined (report by Nicholas Cole) 3218 3219 20060408 3220 + modify write_object() to not write coincidental extensions of an 3221 entry made due to it being referenced in a use= clause (report by 3222 Alain Bench). 3223 + another fix for infocmp -i option, which did not ensure that some 3224 escape sequences had comparable prefixes (report by Alain Bench). 3225 3226 20060401 3227 + improve discussion of init/reset in terminfo and tput manpages 3228 (report by Alain Bench). 3229 + use is3 string for a fallback of rs3 in the reset program; it was 3230 using is2 (report by Alain Bench). 3231 + correct logic for infocmp -i option, which did not account for 3232 multiple digits in a parameter (cf: 20040828) (report by Alain 3233 Bench). 3234 + move _nc_handle_sigwinch() to lib_setup.c to make --with-termlib 3235 option work after 20060114 changes (report by Arkadiusz Miskiewicz). 3236 + add copyright notices to test-programs as needed (report by William 3237 McBrine). 3238 3239 20060318 3240 + modify ncurses.c 'F' test to combine the wide-characters with color 3241 and/or video attributes. 3242 + modify test/ncurses to use CTL/Q or ESC consistently for exiting 3243 a test-screen (some commands used 'x' or 'q'). 3244 3245 20060312 3246 + fix an off-by-one in the scrolling-region change (cf_ 20060311). 3247 3248 20060311 3249 + add checks in waddchnstr() and wadd_wchnstr() to stop copying when 3250 a null character is found (report by Igor Bogomazov). 3251 + modify progs/Makefile.in to make "tput init" work properly with 3252 cygwin, i.e., do not pass a ".exe" in the reference string used 3253 in check_aliases (report by Samuel Thibault). 3254 + add some checks to ensure current position is within scrolling 3255 region before scrolling on a new line (report by Dan Gookin). 3256 + change some NewChar() usage to static variables to work around 3257 stack garbage introduced when cchar_t is not packed (Redhat #182024). 3258 3259 20060225 3260 + workarounds to build test/movewindow with PDcurses 2.7. 3261 + fix for nsterm-16color entry (patch by Alain Bench). 3262 + correct a typo in infocmp manpage (Debian #354281). 3263 3264 20060218 3265 + add nsterm-16color entry -TD 3266 + updated mlterm terminfo entry -TD 3267 + remove 970913 feature for copying subwindows as they are moved in 3268 mvwin() (discussion with Bryan Christ). 3269 + modify test/demo_menus.c to demonstrate moving a menu (both the 3270 window and subwindow) using shifted cursor-keys. 3271 + start implementing recursive mvwin() in movewindow.c (incomplete). 3272 + add a fallback definition for GCC_PRINTFLIKE() in test.priv.h, 3273 for movewindow.c (report by William McBrine). 3274 + add help-message to test/movewindow.c 3275 3276 20060211 3277 + add test/movewindow.c, to test mvderwin(). 3278 + fix ncurses soft-key test so color changes are shown immediately 3279 rather than delayed. 3280 + modify ncurses soft-key test to hide the keys when exiting the test 3281 screen. 3282 + fixes to build test programs with PDCurses 2.7, e.g., its headers 3283 rely on autoconf symbols, and it declares stubs for nonfunctional 3284 terminfo and termcap entrypoints. 3285 3286 20060204 3287 + improved test/configure to build test/ncurses on HPUX 11 using the 3288 vendor curses. 3289 + documented ALTERNATE CONFIGURATIONS in the ncurses manpage, for the 3290 benefit of developers who do not read INSTALL. 3291 3292 20060128 3293 + correct form library Window_To_Buffer() change (cf: 20040516), which 3294 should ignore the video attributes (report by Ricardo Cantu). 3295 3296 20060121 3297 + minor fixes to xmc-glitch experimental code: 3298 + suppress line-drawing 3299 + implement max_attributes 3300 tested with xterm. 3301 + minor fixes for the database iterator. 3302 + fix some buffer limits in c++ demo (comment by Falk Hueffner in 3303 Debian #348117). 3304 3305 20060114 3306 + add toe -a option, to show all databases. This uses new private 3307 interfaces in the ncurses library for iterating through the list of 3308 databases. 3309 + fix toe from 20000909 changes which made it not look at 3310 $HOME/.terminfo 3311 + make toe's -v option parameter optional as per manpage. 3312 + improve SIGWINCH handling by postponing its effect during newterm(), 3313 etc., when allocating screens. 3314 3315 20060111 3316 + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs. Use 3317 this in test/filter.c 3318 + fix an error in filter() modification which caused some applications 3319 to fail. 3320 3321 20060107 3322 + check if filter() was called when getting the screensize. Keep it 3323 at 1 if so (based on Redhat #174498). 3324 + add extension nofilter(). 3325 + refined the workaround for ACS mapping. 3326 + make ifdef's consistent in curses.h for the extended colors so the 3327 header file can be used for the normal curses library. The header 3328 file installed for extended colors is a variation of the 3329 wide-character configuration (report by Frederic L W Meunier). 3330 3331 20051231 3332 + add a workaround to ACS mapping to allow applications such as 3333 test/blue.c to use the "PC ROM" characters by masking them with 3334 A_ALTCHARSET. This worked up til 5.5, but was lost in the revision 3335 of legacy coding (report by Michael Deutschmann). 3336 + add a null-pointer check in the wide-character version of 3337 calculate_actual_width() (report by Victor Julien). 3338 + improve test/ncurses 'd' (color-edit) test by allowing the RGB 3339 values to be set independently (patch by William McBrine). 3340 + modify test/configure script to allow building test programs with 3341 PDCurses/X11. 3342 + modified test programs to allow some to work with NetBSD curses. 3343 Several do not because NetBSD curses implements a subset of X/Open 3344 curses, and also lacks much of SVr4 additions. But it's enough for 3345 comparison. 3346 + update config.guess and config.sub 3347 3348 20051224 3349 + use BSD-specific fix for return-value from cgetent() from CVS where 3350 an unknown terminal type would be reportd as "database not found". 3351 + make tgetent() return code more readable using new symbols 3352 TGETENT_YES, etc. 3353 + remove references to non-existent "tctest" program. 3354 + remove TESTPROGS from progs/Makefile.in (it was referring to code 3355 that was never built in that directory). 3356 + typos in curs_addchstr.3x, some doc files (noticed in OpenBSD CVS). 3357 3358 20051217 3359 + add use_legacy_coding() function to support lynx's font-switching 3360 feature. 3361 + fix formatting in curs_termcap.3x (report by Mike Frysinger). 3362 + modify MKlib_gen.sh to change preprocessor-expanded _Bool back to 3363 bool. 3364 3365 20051210 3366 + extend test/ncurses.c 's' (overlay window) test to exercise overlay(), 3367 overwrite() and copywin() with different combinations of colors and 3368 attributes (including background color) to make it easy to see the 3369 effect of the different functions. 3370 + corrections to menu/m_global.c for wide-characters (report by 3371 Victor Julien). 3372 3373 20051203 3374 + add configure option --without-dlsym, allowing developers to 3375 configure GPM support without using dlsym() (discussion with Michael 3376 Setzer). 3377 + fix wins_nwstr(), which did not handle single-column non-8bit codes 3378 (Debian #341661). 3379 3380 20051126 3381 + move prototypes for wide-character trace functions from curses.tail 3382 to curses.wide to avoid accidental reference to those if 3383 _XOPEN_SOURCE_EXTENDED is defined without ensuring that <wchar.h> is 3384 included. 3385 + add/use NCURSES_INLINE definition. 3386 + change some internal functions to use int/unsigned rather than the 3387 short equivalents. 3388 3389 20051119 3390 + remove a redundant check in lib_color.c (Debian #335655). 3391 + use ld's -search_paths_first option on Darwin to work around odd 3392 search rules on that platform (report by Christian Gennerat, analysis 3393 by Andrea Govoni). 3394 + remove special case for Darwin in CF_XOPEN_SOURCE configure macro. 3395 + ignore EINTR in tcgetattr/tcsetattr calls (Debian #339518). 3396 + fix several bugs in test/bs.c (patch by Stephen Lindholm). 3397 3398 20051112 3399 + other minor fixes to cygwin based on tack -TD 3400 + correct smacs in cygwin (Debian #338234, report by Baurzhan 3401 Ismagulov, who noted that it was fixed in Cygwin). 3402 3403 20051029 3404 + add shifted up/down arrow codes to xterm-new as kind/kri strings -TD 3405 + modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits 3406 since those record the state of multicolumn characters (Debian 3407 #316663). 3408 + modify werase to clear multicolumn characters that extend into 3409 a derived window (Debian #316663). 3410 3411 20051022 3412 + move assignment from environment variable ESCDELAY from initscr() 3413 down to newterm() so the environment variable affects timeouts for 3414 terminals opened with newterm() as well. 3415 + fix a memory leak in keyname(). 3416 + add test/demo_altkeys.c 3417 + modify test/demo_defkey.c to exit from loop via 'q' to allow 3418 leak-checking, as well as fix a buffer size in winnstr() call. 3419 3420 20051015 3421 + correct order of use-clauses in rxvt-basic entry which made codes for 3422 f1-f4 vt100-style rather than vt220-style (report by Gabor Z Papp). 3423 + suppress configure check for gnatmake if Ada95/Makefile.in is not 3424 found. 3425 + correct a typo in configure --with-bool option for the case where 3426 --without-cxx is used (report by Daniel Jacobowitz). 3427 + add a note to INSTALL's discussion of --with-normal, pointing out 3428 that one may wish to use --without-gpm to ensure a completely 3429 static link (prompted by report by Felix von Leitner). 3430 3431 20051010 5.5 release for upload to 3432 3433 20051008 3434 + document in demo_forms.c some portability issues. 3435 3436 20051001 3437 + document side-effect of werase() which sets the cursor position. 3438 + save/restore the current position in form field editing to make 3439 overlay mode work. 3440 3441 20050924 3442 + correct header dependencies in progs, allowing parallel make (report 3443 by Daniel Jacobowitz). 3444 + modify CF_BUILD_CC to ensure that pre-setting $BUILD_CC overrides 3445 the configure check for --with-build-cc (report by Daniel Jacobowitz). 3446 + modify CF_CFG_DEFAULTS to not use /usr as the default prefix for 3447 NetBSD. 3448 + update config.guess and config.sub from 3449 3450 3451 20050917 3452 + modify sed expression which computes path for /usr/lib/terminfo 3453 symbolic link in install to ensure that it does not change unexpected 3454 levels of the path (Gentoo #42336). 3455 + modify default for --disable-lp64 configure option to reduce impact 3456 on existing 64-bit builds. Enabling the _LP64 option may change the 3457 size of chtype and mmask_t. However, for ABI 6, it is enabled by 3458 default (report by Mike Frysinger). 3459 + add configure script check for --enable-ext-mouse, bump ABI to 6 by 3460 default if it is used. 3461 + improve configure script logic for bumping ABI to omit this if the 3462 --with-abi-version option was used. 3463 + update address for Free Software Foundation in tack's source. 3464 + correct wins_wch(), which was not marking the filler-cells of 3465 multi-column characters (cf: 20041023). 3466 3467 20050910 3468 + modify mouse initialization to ensure that Gpm_Open() is called only 3469 once. Otherwise GPM gets confused in its initialization of signal 3470 handlers (Debian #326709). 3471 3472 20050903 3473 + modify logic for backspacing in a multiline form field to ensure that 3474 it works even when the preceding line is full (report by Frank van 3475 Vugt). 3476 + remove comment about BUGS section of ncurses manpage (Debian #325481) 3477 3478 20050827 3479 + document some workarounds for shared and libtool library 3480 configurations in INSTALL (see --with-shared and --with-libtool). 3481 + modify CF_GCC_VERSION and CF_GXX_VERSION macros to accommodate 3482 cross-compilers which emit the platform name in their version 3483 message, e.g., 3484 arm-sa1100-linux-gnu-g++ (GCC) 4.0.1 3485 (report by Frank van Vugt). 3486 3487 20050820 3488 + start updating documentation for upcoming 5.5 release. 3489 + fix to make libtool and libtinfo work together again (cf: 20050122). 3490 + fixes to allow building traces into libtinfo 3491 + add debug trace to tic that shows if/how ncurses will write to the 3492 lower corner of a terminal's screen. 3493 + update llib-l* files. 3494 3495 20050813 3496 + modify initializers in c++ binding to build with old versions of g++. 3497 + improve special case for 20050115 repainting fix, ensuring that if 3498 the first changed cell is not a character that the range to be 3499 repainted is adjusted to start at a character's beginning (Debian 3500 #316663). 3501 3502 20050806 3503 + fixes to build on QNX 6.1 3504 + improve configure script checks for Intel 9.0 compiler. 3505 + remove #include's for libc.h (obsolete). 3506 + adjust ifdef's in curses.priv.h so that when cross-compiling to 3507 produce comp_hash and make_keys, no dependency on wchar.h is needed. 3508 That simplifies the build-cppflags (report by Frank van Vugt). 3509 + move modules related to key-binding into libtinfo to fix linkage 3510 problem caused by 20050430 changes to MKkeyname.sh (report by 3511 Konstantin Andreev). 3512 3513 20050723 3514 + updates/fixes for configure script macros from vile -TD 3515 + make prism9's sgr string agree with the rest of the terminfo -TD 3516 + make vt220's sgr0 string consistent with sgr string, do this for 3517 several related cases -TD 3518 + improve translation to termcap by filtering the 'me' (sgr0) strings 3519 as in the runtime call to tgetent() (prompted by a discussion with 3520 Thomas Klausner). 3521 + improve tic check for sgr0 versus sgr(0), to help ensure that sgr0 3522 resets line-drawing. 3523 3524 20050716 3525 + fix special cases for trimming sgr0 for hurd and vt220 (Debian 3526 #318621). 3527 + split-out _nc_trim_sgr0() from modifications made to tgetent(), to 3528 allow it to be used by tic to provide information about the runtime 3529 changes that would be made to sgr0 for termcap applications. 3530 + modify make_sed.sh to make the group-name in the NAME section of 3531 form/menu library manpage agree with the TITLE string when renaming 3532 is done for Debian (Debian #78866). 3533 3534 20050702 3535 + modify parameter type in c++ binding for insch() and mvwinsch() to 3536 be consistent with underlying ncurses library (was char, is chtype). 3537 + modify treatment of Intel compiler to allow _GNU_SOURCE to be defined 3538 on Linux. 3539 + improve configure check for nanosleep(), checking that it works since 3540 some older systems such as AIX 4.3 have a nonworking version. 3541 3542 20050625 3543 + update config.guess and config.sub from 3544 3545 + modify misc/shlib to work in test-directory. 3546 + suppress $suffix in misc/run_tic.sh when cross-compiling. This 3547 allows cross-compiles to use the host's tic program to handle the 3548 "make install.data" step. 3549 + improve description of $LINES and $COLUMNS variables in manpages 3550 (prompted by report by Dave Ulrick). 3551 + improve description of cross-compiling in INSTALL 3552 + add NCURSES-Programming-HOWTO.html by Pradeep Padala 3553 (see). 3554 + modify configure script to obtain soname for GPM library (discussion 3555 with Daniel Jacobowitz). 3556 + modify configure script so that --with-chtype option will still 3557 compute the unsigned literals suffix for constants in curses.h 3558 (report by Daniel Jacobowitz: 3559 + patches from Daniel Jacobowitz: 3560 + the man_db.renames entry for tack.1 was backwards. 3561 + tack.1 had some 1m's that should have been 1M's. 3562 + the section for curs_inwstr.3 was wrong. 3563 3564 20050619 3565 + correction to --with-chtype option (report by Daniel Jacobowitz). 3566 3567 20050618 3568 + move build-time edit_man.sh and edit_man.sed scripts to top directory 3569 to simplify reusing them for renaming tack's manpage (prompted by a 3570 review of Debian package). 3571 + revert minor optimization from 20041030 (Debian #313609). 3572 + libtool-specific fixes, tested with libtool 1.4.3, 1.5.0, 1.5.6, 3573 1.5.10 and 1.5.18 (all work except as noted previously for the c++ 3574 install using libtool 1.5.0): 3575 + modify the clean-rule in c++/Makefile.in to work with IRIX64 make 3576 program. 3577 + use $(LIBTOOL_UNINSTALL) symbol, overlooked in 20030830 3578 + add configure options --with-chtype and --with-mmask-t, to allow 3579 overriding of the non-LP64 model's use of the corresponding types. 3580 + revise test for size of chtype (and mmask_t), which always returned 3581 "long" due to an uninitialized variable (report by Daniel Jacobowitz). 3582 3583 20050611 3584 + change _tracef's that used "%p" format for va_list values to ignore 3585 that, since on some platforms those are not pointers. 3586 + fixes for long-formats in printf's due to largefile support. 3587 3588 20050604 3589 + fixes for termcap support: 3590 + reset pointer to _nc_curr_token.tk_name when the input stream is 3591 closed, which could point to free memory (cf: 20030215). 3592 + delink TERMTYPE data which is used by the termcap reader, so that 3593 extended names data will be freed consistently. 3594 + free pointer to TERMTYPE data in _nc_free_termtype() rather than 3595 its callers. 3596 + add some entrypoints for freeing permanently allocated data via 3597 _nc_freeall() when NO_LEAKS is defined. 3598 + amend 20041030 change to _nc_do_color to ensure that optimization is 3599 applied only when the terminal supports back_color_erase (bce). 3600 3601 20050528 3602 + add sun-color terminfo entry -TD 3603 + correct a missing assignment in c++ binding's method 3604 NCursesPanel::UserPointer() from 20050409 changes. 3605 + improve configure check for large-files, adding check for dirent64 3606 from vile -TD 3607 + minor change to configure script to improve linker options for the 3608 Ada95 tree. 3609 3610 20050515 3611 + document error conditions for ncurses library functions (report by 3612 Stanislav Ievlev). 3613 + regenerated html documentation for ada binding. 3614 see 3615 3616 20050507 3617 + regenerated html documentation for manpages. 3618 + add $(BUILD_EXEEXT) suffix to invocation of make_keys in 3619 ncurses/Makefile (Gentoo #89772). 3620 + modify c++/demo.cc to build with g++ -fno-implicit-templates option 3621 (patch by Mike Frysinger). 3622 + modify tic to filter out long extended names when translating to 3623 termcap format. Only two characters are permissible for termcap 3624 capability names. 3625 3626 20050430 3627 + modify terminfo entries xterm-new and rxvt to add strings for 3628 shift-, control-cursor keys. 3629 + workaround to allow c++ binding to compile with g++ 2.95.3, which 3630 has a broken implementation of static_cast<> (patch by Jeff Chua). 3631 + modify initialization of key lookup table so that if an extended 3632 capability (tic -x) string is defined, and its name begins with 'k', 3633 it will automatically be treated as a key. 3634 + modify test/keynames.c to allow for the possibility of extended 3635 key names, e.g., via define_key(), or via "tic -x". 3636 + add test/demo_termcap.c to show the contents of given entry via the 3637 termcap interface. 3638 3639 20050423 3640 + minor fixes for vt100/vt52 entries -TD 3641 + add configure option --enable-largefile 3642 + corrected libraries used to build Ada95/gen/gen, found in testing 3643 gcc 4.0.0. 3644 3645 20050416 3646 + update config.guess, config.sub 3647 + modify configure script check for _XOPEN_SOURCE, disable that on 3648 Darwin whose header files have problems (patch by Chris Zubrzycki). 3649 + modify form library Is_Printable_String() to use iswprint() rather 3650 than wcwidth() for determining if a character is printable. The 3651 latter caused it to reject menu items containing non-spacing 3652 characters. 3653 + modify ncurses test program's F-test to handle non-spacing characters 3654 by combining them with a reverse-video blank. 3655 + review/fix several gcc -Wconversion warnings. 3656 3657 20050409 3658 + correct an off-by-one error in m_driver() for mouse-clicks used to 3659 position the mouse to a particular item. 3660 + implement test/demo_menus.c 3661 + add some checks in lib_mouse to ensure SP is set. 3662 + modify C++ binding to make 20050403 changes work with the configure 3663 --enable-const option. 3664 3665 20050403 3666 + modify start_color() to return ERR if it cannot allocate memory. 3667 + address g++ compiler warnings in C++ binding by adding explicit 3668 member initialization, assignment operators and copy constructors. 3669 Most of the changes simply preserve the existing semantics of the 3670 binding, which can leak memory, etc., but by making these features 3671 visible, it provides a framework for improving the binding. 3672 + improve C++ binding using static_cast, etc. 3673 + modify configure script --enable-warnings to add options to g++ to 3674 correspond to the gcc --enable-warnings. 3675 + modify C++ binding to use some C internal functions to make it 3676 compile properly on Solaris (and other platforms). 3677 3678 20050327 3679 + amend change from 20050320 to limit it to configurations with a 3680 valid locale. 3681 + fix a bug introduced in 20050320 which broke the translation of 3682 nonprinting characters to uparrow form (report by Takahashi Tamotsu). 3683 3684 20050326 3685 + add ifdef's for _LP64 in curses.h to avoid using wasteful 64-bits for 3686 chtype and mmask_t, but add configure option --disable-lp64 in case 3687 anyone used that configuration. 3688 + update misc/shlib script to account for Mac OS X (report by Michail 3689 Vidiassov). 3690 + correct comparison for wrapping multibyte characters in 3691 waddch_literal() (report by Takahashi Tamotsu). 3692 3693 20050320 3694 + add -c and -w options to tset to allow user to suppress ncurses' 3695 resizing of the terminal emulator window in the special case where it 3696 is not able to detect the true size (report by Win Delvaux, Debian 3697 #300419). 3698 + modify waddch_nosync() to account for locale zn_CH.GBK, which uses 3699 codes 128-159 as part of multibyte characters (report by Wang 3700 WenRui, Debian #300512). 3701 3702 20050319 3703 + modify ncurses.c 'd' test to make it work with 88-color 3704 configuration, i.e., by implementing scrolling. 3705 + improve scrolling in ncurses.c 'c' and 'C' tests, e.g., for 88-color 3706 configuration. 3707 3708 20050312 3709 + change tracemunch to use strict checking. 3710 + modify ncurses.c 'p' test to test line-drawing within a pad. 3711 + implement environment variable NCURSES_NO_UTF8_ACS to support 3712 miscellaneous terminal emulators which ignore alternate character 3713 set escape sequences when in UTF-8 mode. 3714 3715 20050305 3716 + change NCursesWindow::err_handler() to a virtual function (request by 3717 Steve Beal). 3718 + modify fty_int.c and fty_num.c to handle wide characters (report by 3719 Wolfgang Gutjahr). 3720 + adapt fix for fty_alpha.c to fty_alnum.c, which also handled normal 3721 and wide characters inconsistently (report by Wolfgang Gutjahr). 3722 + update llib-* files to reflect internal interface additions/changes. 3723 3724 20050226 3725 + improve test/configure script, adding tests for _XOPEN_SOURCE, etc., 3726 from lynx. 3727 + add aixterm-16color terminfo entry -TD 3728 + modified xterm-new terminfo entry to work with tgetent() changes -TD 3729 + extended changes in tgetent() from 20040710 to allow the substring of 3730 sgr0 which matches rmacs to be at the beginning of the sgr0 string 3731 (request by Thomas Wolff). Wolff says the visual effect in 3732 combination with pre-20040710 ncurses is improved. 3733 + fix off-by-one in winnstr() call which caused form field validation 3734 of multibyte characters to ignore the last character in a field. 3735 + correct logic in winsch() for inserting multibyte strings; the code 3736 would clear cells after the insertion rather than push them to the 3737 right (cf: 20040228). 3738 + fix an inconsistency in Check_Alpha_Field() between normal and wide 3739 character logic (report by Wolfgang Gutjahr). 3740 3741 20050219 3742 + fix a bug in editing wide-characters in form library: deleting a 3743 nonwide character modified the previous wide-character. 3744 + update manpage to describe NCURSES_MOUSE_VERSION 2. 3745 + correct manpage description of mouseinterval() (Debian #280687). 3746 + add a note to default_colors.3x explaining why this extension was 3747 added (Debian #295083). 3748 + add traces to panel library. 3749 3750 20050212 3751 + improve editing of wide-characters in form library: left/right 3752 cursor movement, and single-character deletions work properly. 3753 + disable GPM mouse support when $TERM happens to be prefixed with 3754 "xterm". Gpm_Open() would otherwise assert that it can deal with 3755 mouse events in this case. 3756 + modify GPM mouse support so it closes the server connection when 3757 the caller disables the mouse (report by Stanislav Ievlev). 3758 3759 20050205 3760 + add traces for callback functions in form library. 3761 + add experimental configure option --enable-ext-mouse, which defines 3762 NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse events to 3763 support wheel mice, which may transmit buttons 4 and 5. This works 3764 with xterm and similar X terminal emulators (prompted by question by 3765 Andreas Henningsson, this is also related to Debian #230990). 3766 + improve configure macros CF_XOPEN_SOURCE and CF_POSIX_C_SOURCE to 3767 avoid redefinition warnings on cygwin. 3768 3769 20050129 3770 + merge remaining development changes for extended colors (mostly 3771 complete, does not appear to break other configurations). 3772 + add xterm-88color.dat (part of extended colors testing). 3773 + improve _tracedump() handling of color pairs past 96. 3774 + modify return-value from start_color() to return OK if colors have 3775 already been started. 3776 + modify curs_color.3x list error conditions for init_pair(), 3777 pair_content() and color_content(). 3778 + modify pair_content() to return -1 for consistency with init_pair() 3779 if it corresponds to the default-color. 3780 + change internal representation of default-color to allow application 3781 to use color number 255. This does not affect the total number of 3782 color pairs which are allowed. 3783 + add a top-level tags rule. 3784 3785 20050122 3786 + add a null-pointer check in wgetch() in case it is called without 3787 first calling initscr(). 3788 + add some null-pointer checks for SP, which is not set by libtinfo. 3789 + modify misc/shlib to ensure that absolute pathnames are used. 3790 + modify test/Makefile.in, etc., to link test programs only against the 3791 libraries needed, e.g., omit form/menu/panel library for the ones 3792 that are curses-specific. 3793 + change SP->_current_attr to a pointer, adjust ifdef's to ensure that 3794 libtinfo.so and libtinfow.so have the same ABI. The reason for this 3795 is that the corresponding data which belongs to the upper-level 3796 ncurses library has a different size in each model (report by 3797 Stanislav Ievlev). 3798 3799 20050115 3800 + minor fixes to allow test-compiles with g++. 3801 + correct column value shown in tic's warnings, which did not account 3802 for leading whitespace. 3803 + add a check in _nc_trans_string() for improperly ended strings, i.e., 3804 where a following line begins in column 1. 3805 + modify _nc_save_str() to return a null pointer on buffer overflow. 3806 + improve repainting while scrolling wide-character data (Eungkyu Song). 3807 3808 20050108 3809 + merge some development changes to extend color capabilities. 3810 3811 20050101 3812 + merge some development changes to extend color capabilities. 3813 + fix manpage typo (FreeBSD report docs/75544). 3814 + update config.guess, config.sub 3815 > patches for configure script (Albert Chin-A-Young): 3816 + improved fix to make mbstate_t recognized on HPUX 11i (cf: 3817 20030705), making vsscanf() prototype visible on IRIX64. Tested for 3818 on HP-UX 11i, Solaris 7, 8, 9, AIX 4.3.3, 5.2, Tru64 UNIX 4.0D, 5.1, 3819 IRIX64 6.5, Redhat Linux 7.1, 9, and RHEL 2.1, 3.0. 3820 + print the result of the --disable-home-terminfo option. 3821 + use -rpath when compiling with SGI C compiler. 3822 3823 20041225 3824 + add trace calls to remaining public functions in form and menu 3825 libraries. 3826 + fix check for numeric digits in test/ncurses.c 'b' and 'B' tests. 3827 + fix typo in test/ncurses.c 'c' test from 20041218. 3828 3829 20041218 3830 + revise test/ncurses.c 'c' color test to improve use for xterm-88color 3831 and xterm-256color, added 'C' test using the wide-character color_set 3832 and attr_set functions. 3833 3834 20041211 3835 + modify configure script to work with Intel compiler. 3836 + fix an limit-check in wadd_wchnstr() which caused labels in the 3837 forms-demo to be one character short. 3838 + fix typo in curs_addchstr.3x (Jared Yanovich). 3839 + add trace calls to most functions in form and menu libraries. 3840 + update working-position for adding wide-characters when window is 3841 scrolled (prompted by related report by Eungkyu Song). 3842 3843 20041204 3844 + replace some references on Linux to wcrtomb() which use it to obtain 3845 the length of a multibyte string with _nc_wcrtomb, since wcrtomb() is 3846 broken in glibc (see Debian #284260). 3847 + corrected length-computation in wide-character support for 3848 field_buffer(). 3849 + some fixes to frm_driver.c to allow it to accept multibyte input. 3850 + modify configure script to work with Intel 8.0 compiler. 3851 3852 20041127 3853 + amend change to setupterm() in 20030405 which would reuse the value 3854 of cur_term if the same output was selected. This now reuses it only 3855 when setupterm() is called from tgetent(), which has no notion of 3856 separate SCREENs. Note that tgetent() must be called after initscr() 3857 or newterm() to use this feature (Redhat #140326). 3858 + add a check in CF_BUILD_CC macro to ensure that developer has given 3859 the --with-build-cc option when cross-compiling (report by Alexandre 3860 Campo). 3861 + improved configure script checks for _XOPEN_SOURCE and 3862 _POSIX_C_SOURCE (fix for IRIX 5.3 from Georg Schwarz, _POSIX_C_SOURCE 3863 updates from lynx). 3864 + cosmetic fix to test/gdc.c to recolor the bottom edge of the box 3865 for consistency (comment by Dan Nelson). 3866 3867 20041120 3868 + update wsvt25 terminfo entry -TD 3869 + modify test/ins_wide.c to test all flavors of ins_wstr(). 3870 + ignore filler-cells in wadd_wchnstr() when adding a cchar_t array 3871 which consists of multi-column characters, since this function 3872 constructs them (cf: 20041023). 3873 + modify winnstr() to return multibyte character strings for the 3874 wide-character configuration. 3875 3876 20041106 3877 + fixes to make slk_set() and slk_wset() accept and store multibyte 3878 or multicolumn characters. 3879 3880 20041030 3881 + improve color optimization a little by making _nc_do_color() check 3882 if the old/new pairs are equivalent to the default pair 0. 3883 + modify assume_default_colors() to not require that 3884 use_default_colors() be called first. 3885 3886 20041023 3887 + modify term_attrs() to use termattrs(), add the extended attributes 3888 such as enter_horizontal_hl_mode for WA_HORIZONTAL to term_attrs(). 3889 + add logic in waddch_literal() to clear orphaned cells when one 3890 multi-column character partly overwrites another. 3891 + improved logic for clearing cells when a multi-column character 3892 must be wrapped to a new line. 3893 + revise storage of cells for multi-column characters to correct a 3894 problem with repainting. In the old scheme, it was possible for 3895 doupdate() to decide that only part of a multi-column character 3896 should be repainted since the filler cells stored only an attribute 3897 to denote them as fillers, rather than the character value and the 3898 attribute. 3899 3900 20041016 3901 + minor fixes for traces. 3902 + add SP->_screen_acs_map[], used to ensure that mapping of missing 3903 line-drawing characters is handled properly. For example, ACS_DARROW 3904 is absent from xterm-new, and it was coincidentally displayed the 3905 same as ACS_BTEE. 3906 3907 20041009 3908 + amend 20021221 workaround for broken acs to reset the sgr, rmacs 3909 and smacs strings as well. Also modify the check for screen's 3910 limitations in that area to allow the multi-character shift-in 3911 and shift-out which seem to work. 3912 + change GPM initialization, using dl library to load it dynamically 3913 at runtime (Debian #110586). 3914 3915 20041002 3916 + correct logic for color pair in setcchar() and getcchar() (patch by 3917 Marcin 'Qrczak' Kowalczyk). 3918 + add t/T commands to ncurses b/B tests to allow a different color to 3919 be tested for the attrset part of the test than is used in the 3920 background color. 3921 3922 20040925 3923 + fix to make setcchar() to work when its wchar_t* parameter is 3924 pointing to a string which contains more data than can be converted. 3925 + modify wget_wstr() and example in ncurses.c to work if wchar_t and 3926 wint_t are different sizes (report by Marcin 'Qrczak' Kowalczyk). 3927 3928 20040918 3929 + remove check in wget_wch() added to fix an infinite loop, appears to 3930 have been working around a transitory glibc bug, and interferes 3931 with normal operation (report by Marcin 'Qrczak' Kowalczyk). 3932 + correct wadd_wch() and wecho_wch(), which did not pass the rendition 3933 information (report by Marcin 'Qrczak' Kowalczyk). 3934 + fix aclocal.m4 so that the wide-character version of ncurses gets 3935 compiled as libncursesw.5.dylib, instead of libncurses.5w.dylib 3936 (adapted from patch by James J Ramsey). 3937 + change configure script for --with-caps option to indicate that it 3938 is no longer experimental. 3939 + change configure script to reflect the fact that --enable-widec has 3940 not been "experimental" since 5.3 (report by Bruno Lustosa). 3941 3942 20040911 3943 + add 'B' test to ncurses.c, to exercise some wide-character functions. 3944 3945 20040828 3946 + modify infocmp -i option to match 8-bit controls against its table 3947 entries, e.g., so it can analyze the xterm-8bit entry. 3948 + add morphos terminfo entry, improve amiga-8bit entry (Pavel Fedin). 3949 + correct translation of "%%" in terminfo format to termcap, e.g., 3950 using "tic -C" (Redhat #130921). 3951 + modified configure script CF_XOPEN_SOURCE macro to ensure that if 3952 it defines _POSIX_C_SOURCE, that it defines it to a specific value 3953 (comp.os.stratus newsgroup comment). 3954 3955 20040821 3956 + fixes to build with Ada95 binding with gnat 3.4 (all warnings are 3957 fatal, and gnat does not follow the guidelines for pragmas). 3958 However that did find a coding error in Assume_Default_Colors(). 3959 + modify several terminfo entries to ensure xterm mouse and cursor 3960 visibility are reset in rs2 string: hurd, putty, gnome, 3961 konsole-base, mlterm, Eterm, screen (Debian #265784, Debian #55637). 3962 The xterm entries are left alone - old ones for compatibility, and 3963 the new ones do not require this change. -TD 3964 3965 20040814 3966 + fake a SIGWINCH in newterm() to accommodate buggy terminal emulators 3967 and window managers (Debian #265631). 3968 > terminfo updates -TD 3969 + remove dch/dch1 from rxvt because they are implemented inconsistently 3970 with the common usage of bce/ech 3971 + remove khome from vt220 (vt220's have no home key) 3972 + add rxvt+pcfkeys 3973 3974 20040807 3975 + modify test/ncurses.c 'b' test, adding v/V toggles to cycle through 3976 combinations of video attributes so that for instance bold and 3977 underline can be tested. This made the legend too crowded, added 3978 a help window as well. 3979 + modify test/ncurses.c 'b' test to cycle through default colors if 3980 the -d option is set. 3981 + update putty terminfo entry (Robert de Bath). 3982 3983 20040731 3984 + modify test/cardfile.c to allow it to read more data than can be 3985 displayed. 3986 + correct logic in resizeterm.c which kept it from processing all 3987 levels of window hierarchy (reports by Folkert van Heusden, 3988 Chris Share). 3989 3990 20040724 3991 + modify "tic -cv" to ignore delays when comparing strings. Also 3992 modify it to ignore a canceled sgr string, e.g., for terminals which 3993 cannot properly combine attributes in one control sequence. 3994 + corrections for gnome and konsole entries (Redhat #122815, patch by 3995 Hans de Goede) 3996 > terminfo updates -TD 3997 + make ncsa-m rmacs/smacs consistent with sgr 3998 + add sgr, rc/sc and ech to syscons entries 3999 + add function-keys to decansi 4000 + add sgr to mterm-ansi 4001 + add sgr, civis, cnorm to emu 4002 + correct/simplify cup in addrinfo 4003 4004 20040717 4005 > terminfo updates -TD 4006 + add xterm-pc-fkeys 4007 + review/update gnome and gnome-rh90 entries (prompted by Redhat 4008 #122815). 4009 + review/update konsole entries 4010 + add sgr, correct sgr0 for kterm and mlterm 4011 + correct tsl string in kterm