--- - branch: MAIN date: Thu Feb 21 09:59:30 UTC 2019 files: - new: '1.2' old: '1.1' path: pkgsrc/devel/cdk/DESCR pathrev: pkgsrc/devel/cdk/DESCR@1.2 type: modified - new: '1.39' old: '1.38' path: pkgsrc/devel/cdk/Makefile pathrev: pkgsrc/devel/cdk/Makefile@1.39 type: modified - new: '1.4' old: '1.3' path: pkgsrc/devel/cdk/PLIST pathrev: pkgsrc/devel/cdk/PLIST@1.4 type: modified - new: '1.7' old: '1.6' path: pkgsrc/devel/cdk/distinfo pathrev: pkgsrc/devel/cdk/distinfo@1.7 type: modified - new: '0' old: '1.4' path: pkgsrc/devel/cdk/patches/patch-aa pathrev: pkgsrc/devel/cdk/patches/patch-aa@0 type: deleted - new: '0' old: '1.4' path: pkgsrc/devel/cdk/patches/patch-ac pathrev: pkgsrc/devel/cdk/patches/patch-ac@0 type: deleted - new: '0' old: '1.2' path: pkgsrc/devel/cdk/patches/patch-ad pathrev: pkgsrc/devel/cdk/patches/patch-ad@0 type: deleted - new: '0' old: '1.2' path: pkgsrc/devel/cdk/patches/patch-ae pathrev: pkgsrc/devel/cdk/patches/patch-ae@0 type: deleted - new: '0' old: '1.2' path: pkgsrc/devel/cdk/patches/patch-af pathrev: pkgsrc/devel/cdk/patches/patch-af@0 type: deleted - new: '0' old: '1.2' path: pkgsrc/devel/cdk/patches/patch-ag pathrev: pkgsrc/devel/cdk/patches/patch-ag@0 type: deleted - new: '0' old: '1.3' path: pkgsrc/devel/cdk/patches/patch-aj pathrev: pkgsrc/devel/cdk/patches/patch-aj@0 type: deleted id: 20190221T095930Z.23201669e907834cf19df8e668e068b7a80760fc log: "cdk: update to 5.0.20180306.\n\nThis update was provided by Thomas E. Dickey in private email.\n\n2018/03/06\n\t+ update versioned-symbol list for reRegisterCDKObject (prompted by\n\t Debian #892114, which adopted a different set of symbol versions\n\t \ such as \"5.0.20161120\", cf: 2014/11/06).\n\t+ updated configure macros, from lynx development: CF_CURSES_FUNCS,\n\t CF_CURSES_LIBS, CF_MAKEFLAGS, CF_NCURSES_CONFIG, CF_SHARED_OPTS\n\t+ update config.guess, config.sub\n\n2017/12/09\n\t+ updated ftp url in test-packages, etc.\n\t+ updated configure macros CF_CC_ENV_FLAGS, CF_SHARED_OPTS\n\t+ update config.guess, config.sub\n\n2017/09/18\n\t+ updated configure macros:\n\t + CF_ADD_CFLAGS improve formatting of generated lists using\n\t \ CF_APPEND_TEXT\n\t + CF_CC_ENV_FLAGS - two changes\n\t a) revise the expression generating $cf_flags to actually work when\n\t there is more than one option.\n\t \ b) correct the parameter passed to CF_ADD_CFLAGS, which was the\n\t whole list rather than the current parameter.\n\t + CF_CURSES_LIBS reorganize to handle the case where initscr is a\n\t macro.\n\t + CF_NCURSES_CONFIG add check for term.h when using pkg-config\n\t + CF_NCURSES_VERSION use prototype for main\n\t \ + CF_SHARED_OPTS workaround for PGI compiler\n\t + CF_WITH_LIBTOOL use SIGQUIT(3) rather than SIGTRAP(5) in trap\n\t commands. Fix a few places in configure/build scripts where\n\t DESTDIR and rpath were combined.\n\t+ update config.guess, config.sub\n\n2016/12/10\n\t+ improve formatting of manpages, using bullets\n\t+ add -C and -R options to matrix_ex.c to exercise the col/row spacing\n\t features of matrix widget.\n\t+ modify matrix widget to highlight the current cell for the cases\n\t when col/row spacing are greater than zero.\n\n2016/12/04\n\t+ cleanup change for color pairs in 2016/11/20\n\t+ modify initCDKScreen() to simplify initialization of curses by\n\t calling initscr() in this function after initializing the locale.\n\t That fixes a problem using PuTTY with CDK when built using ncurses\n\t \ (report by Marc Smith).\n\n2016/11/20\n\t+ fix warnings from cppcheck 1.76.1\n\t+ updated configure macros:\n\t + CF_CC_ENV_FLAGS don't limit the check to -I, -U and -D options,\n\t since the added options can include various compiler options before\n\t and after preprocessor options.\n\t + CF_GNU_SOURCE recent glibc (Debian 2.23-4 for example) has\n\t misordered ifdef/checks for new symbol _DEFAULT_SOURCE, producing\n\t warning messages when only _GNU_SOURCE is defined. \ Add a followup\n\t check to define _DEFAULT_SOURCE.\n\t + CF_LD_RPATH_OPT change FreeBSD to use -Wl,-rpath rather than -rpath\n\t option. According to FreeBSD #178732, either works since FreeBSD\n\t 4.x; however scons does not accept anything except the -Wl,-rpath\n\t form.\n\t + CF_PROG_LINT add cpplint to programs to use; drop ad hoc tdlint and\n\t alint.\n\t + CF_WITH_NCURSES_ETC add check for ncurses pthreads\n\t + CF_XOPEN_SOURCE add \"uclinux\" to list of Linux's and use\n\t _GNU_SOURCE for cygwin headers, tested with cygwin 2.3, 2.5\n\t + CF__ADD_SHLIB_RULES improve scripting for ldconfig to avoid warning\n\t \ messages if no permissions\n\t+ update config.guess, config.sub\n\t> patches by Aarian P. Aleahmad:\n\t+ modify encodeAttribute() to allow up to 256 color pairs.\n\t+ corrected assignment in scroller_SetPosition(), to show highlighted\n\t \ member.\n\t+ improve the way attributes are applied to Mentry widgets.\n\t+ improve Entry widget by using newwin rather than subwin, as well\n\t as passing arguments to callback function.\n\n2016/11/19\n\t+ add reRegisterCDKObject()\n\n2016/01/31\n\t+ fix a few of the lintian errors in package/debian\n\t+ fix some too-wide tables in manpages, which caused Debian lintian\n\t errors.\n\t+ take lower-limit's formatted length into account in slider, etc.,\n\t (patch by Guido Meusch).\n\t+ make similar repainting-fixes for radio.c and marquee.c\n\t+ fix repainting of Scroll widget when it has no box-outline\n\t (patch by Manuel Schmitz).\n\t+ add highlight and callbackData members to CDKBUTTON, as well as\n\t macros for setting/getting the highlight value. Use the highlight to\n\t override the default A_REVERSE used in CDK button (patch by Aarian P.\n\t Aleahmad).\n\t+ fix two bugs in template.c (patch by Aarian P. Aleahmad):\n\t + in cleanCDKTemplate, fill all of the info string with nulls\n\t + in setCDKTemplateValue, call cleanCDKTemplate whether or not\n\t the pointer for newValue passed by the caller was a null.\n\t+ updated configure macros:\n\t + CF_LIB_PREFIX, CF_WITH_LIBTOOL, and CF_XOPEN_SOURCE, build-fixes\n\t for OS/2\n\t + CF_XOPEN_CURSES, improve check, making it define NCURSES_WIDECHAR\n\t if we happen to be building on a platform (such as OSX) where we do\n\t not define _XOPEN_SOURCE or _XOPEN_SOURCE_EXTENDED\n\t + CF_WITH_VERSIONED_SYMS, avoid ncurses build error on ppc64\n\t architecture the nm tool is reporting _is_missing in Data section\n\t for ppc64 (by comparison ppc64le is reporting it in Text section)\n\t+ update config.guess, config.sub\n\n2015/09/28\n\t+ build \".deb\" test-package with ncurses6, using versioned symbols.\n\t+ updated configure macros:\n\t + modifications from ncurses/xterm to allow alternate to /bin/sh for\n\t configure-shell, while dropping support for non-POSIX shell such\n\t \ as Solaris.\n\t + updated/integrated changes for versioned symbols from ncurses6.\n\t \ + CF_DISABLE_LIBTOOL_VERSION when using -version-info (the native\n\t libtool mode), get the ABI_VERSION value from $VERSION (which comes\n\t from CF_VERSION_INFO)\n\t \ + CF_ADD_INCDIR fix an infinite loop when the include-directory to be\n\t added does not exist (Debian #786436)\n\t + CF_WITH_NCURSES_ETC add --with-screen option\n\t \ + CF_SUBDIR_PATH change this to a loop, adding /usr/pkg (NetBSD) and\n\t /opt/local (Mac OSX)\n\t+ update config.guess, config.sub\n\n2015/01/03\n\t+ modify cdk-config.in to work with systems where libdir is /usr/lib64\n\t (patch by Peter Hyman).\n\n2014/11/06\n\t+ alter limit-check in setCDKLabelMessage to use the actual window size\n\t rather than the label-array's latest size (prompted by suggestion by\n\t Stuart Friedberg).\n\t+ reset label pointer to 0 after freeing it during resizing in\n\t setCDKLabelMessage (report/analysis by Stuart Friedberg).\n\t+ fix most Coverity warnings, aside from demos using getenv.\n\t+ correct dependency of dpkg/mingw test packages; only \"ncurses6\" is\n\t used rather than \"libncurses6\".\n\t+ change test-packages to use --with-shared rather than cdkshlib hack.\n\t+ add configure options to implement symbol versioning/hiding:\n\t --with-versioned-syms=X markup versioned symbols using ld\n\t --with-export-syms=XXX limit exported symbols using libtool\n\t+ updated configure macros:\n\t + CF_ACVERSION_CHECK -\n\t + work around another gratuitous incompatibility introduced in 2.69\n\t (reported by Ross Burton, openembedded.org)\n\t + CF_ADD_CFLAGS - workaround for ash-shell with Minix 3.2\n\t \ + CF_ADD_LIBS -\n\t + workaround in CF_X_TOOLKIT uses pkgconfig, whose files generally\n\t are using incomplete dependencies - in turn introducing lots of\n\t duplication. filter out the duplicates.\n\t + CF_CHECK_CFLAGS - workaround for ash-shell with Minix 3.2\n\t + CF_CURSES_FUNCS -\n\t + improve workaround for weak-linkage, seems to fix tests with\n\t NetBSD 6.1\n\t + CF_GETOPT_HEADER -\n\t + add NEED_GETOPT_H definition, since that's the only interesting\n\t special case\n\t + CF_INTEL_COMPILER -\n\t + cleanup the -no-gcc option which was leftover from testing - prcs\n\t does not build with this option.\n\t + CF_LIB_SUFFIX -\n\t + it is not necessary or even a good idea to make AIX's shared-library suffixes \".a\" -- make it \".so\" like everyone else (including the system's shared libraries).\n\t + CF_MAKEFLAGS -\n\t \ + workaround for GNU make 4.0 incompatibility with previous\n\t releases.\n\t \ + CF_X_ATHENA - add --with-Xaw3dxft option.\n\t + CF_XOPEN_SOURCE -\n\t + add case for UnixWare (report/discussion with Mark Ryan).\n\t + Minix3.2 ifdef's the POSIX.1-2001 functions inside\n\t _NETBSD_SOURCE, even though it was released 2012-02-29 - appease\n\t it. At the same time, turn on the verbose flag to show that most\n\t platforms need platform-specific define's to get POSIX (sic).\n\t + for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++\n\t 4.5.2 on Solaris 11), suppress the followup check for defining\n\t \ _XOPEN_SOURCE because it is not needed, as well as because g++\n\t 4.7.3 (no package, used in Sage for Solaris 10) has some\n\t unspecified header breakage which is triggered by the duplicate\n\t definition.\n\t + CF_X_TOOLKIT -\n\t + add workaround for breakage in XQuartz upgrades.\n\t + add 3rd parameter to AC_DEFINE for autoheader.\n\t+ modify spec-file to work with OpenSUSE's customization of\n\t _defaultdocdir, which puts documentation for most packages in\n\t /usr/share/doc/packages/\n\t+ update config.guess, config.sub\n\n2014/01/18\n\t+ fix memory leak in allocListArrays() in scroll.c (patch by Alexander\n\t Gozman).\n\t+ amend changes for alphalist in 2012/03/23, to make its \"list\"\n\t parameter read/write so that the caller's copy can be sorted as\n\t before.\n\t+ add man/man2html.ignore, used when generating\n\t \ http://invisible-island.net/cdk/manpage/\n\n2014/01/01\n\t+ improve limit-checks in trimCDKWindow() (patch by Tyson Nottingham).\n\t+ updated configure script (further improvments for shared libraries,\n\t and clang).\n\t+ update config.guess\n\n2013/11/17\n\t+ fix dependencies of Debian MinGW packages.\n\n2013/11/07\n\t+ add scripts for testing cross-compiles to MinGW.\n\t+ add new scroller.h to CDKHDR variable in Makefile.in, so it will be\n\t installed (report by Aitor Atuin).\n\t+ updated configure script (further improvments for shared libraries,\n\t and MinGW).\n\t+ update config.guess, config.sub\n\n2013/09/01\n\t+ add a limit-check in drawCDKSwindowList() (patch by Wang Weber).\n\t+ refactor scrolling support from radio.c, scroll.c, selection.c as new\n\t file scroll.c, making functions from macros which were in cdk_int.h.\n\t This change also modifies header files to move common fields to a new\n\t SCROLLER_FIELDS macro - this is a source-compatible change, but not\n\t binary-compatible (patch by Corentin Delorme).\n\t+ add FreeBSD port-files, for test-builds.\n\t+ add --enable-rpath and --disable-rpath-hack options to configure\n\t \ script.\n\t+ deprecate the cdkshlib makefile target; it is not available if either\n\t --with-libtool or --with-shared is given.\n\t+ corrected Makefile.in permissions of cdk5-config script, which was\n\t not executable; this did not affect packages (cf: 2011/05/17).\n\t+ enable the configure --disable-libtool-version option by defining\n\t LIBTOOL_VERSION in Makefile.in, so that the soname can be set or left\n\t to libtool to manage.\n\t+ add configure options for manipulating linker rpath feature.\n\t+ improve configure options for curses variants by reusing macro\n\t from ncurses-examples\n\t+ add lint rule to makefiles\n\t+ fix warnings from clang\n\t+ adapt configure --with-shared option from ncurses.\n\t+ updated configure script (mostly minor changes for autoheader).\n\t+ update config.guess, config.sub\n\n2012/03/23\n\t+ use gmtime instead of localtime in a few places so that calendar\n\t results are not offset by the hour of the day (report/analysis by\n\t Alex Charis).\n\t+ add configure option --enable-const, which defines, like\n\t NCURSES_CONST, the symbol CDK_CONST which can be used to address\n\t \ improved const checking while preserving source-compatibility.\n\t+ revise copyChtypeList to correspond with copyCharList\n\t+ use const in cdk_util function prototypes, similar \"string\" uses\n\t to improve writable-strings warnings. Arrays of strings are not\n\t addressed due to compatibility.\n\t+ change document directory to /usr/share/doc\n\t+ add configure --enable-hdr-subdir to control whether cdk.h should\n\t be in /usr/include/cdk for example, or in /usr/include. Make the\n\t \ default the latter, standard layout.\n\t+ simplify dpkg script, provide only one library using ncursesw\n\t+ updated configure script macros, many changes for portability.\n\t+ add cdk_test.h to installed headers (Debian #500161). Resolution\n\t \ of that bug report by the way did not actually install the requested\n\t header file.\n\t+ update config.guess, config.sub\n\n2012/03/18\n\t+ provide shlibs file in dpkg scripts.\n\n2011/05/17\n\t+ modify calendar widget to allow applications to override the choice\n\t of the first day of the week, by setting the \"weekBase\" member of\n\t the widget. The calendar_ex example demonstrates this using the\n\t \ \"-w\" option (request by Alex Karev).\n\t+ modify marquee widget so that changing its box flag will cause the\n\t widget to be resized, e.g., after 2006/05/07 changes which caused the\n\t example program to not display properly.\n\t+ corrected example for cdk_display.3 manpage (patch by Lo�c\n\t Pefferkorn).\n\t+ modify install rules to allow package scripts to specify that\n\t libcdkw's header files go into /usr/include/cdkw, and its *-config\n\t file is named \"cdkw-config\".\n\t+ autoconf'd the actual name for ctags and etags.\n\t+ modify cdkshlib rule in makefile to eliminate warnings by\n\t dpkg-shlibdeps.\n\t+ correct algorithm for leap year in calendar.c (report by Olaf\n\t Seibert).\n\t+ minor formatting of changelog to simplify extraction of credits.\n\n2011/05/14\n\t+ add dpkg scripts, for test-builds.\n\n2011/05/13\n\t+ drop cdk.spec, adapt 2-package rules from a Fedora spec file in\n\t the package subdirectory.\n\t+ drop mkdirs.sh script, use \"mkdir -p\".\n\t+ updated configure script macros, many changes for portability.\n\t These changes add \"--with-pkg-config\" and \"--disable-libtool-version\"\n\t options.\n\t+ update config.guess, config.sub\n\n2010/11/07\n\t+ indent using cdk-indent, from\n\t http://invisible-island.net/cindent/\n\n2009/02/15\n\t+ add KEY_ERROR case to each widget to make vERROR events handled by\n\t each.\n\t+ modify scroller_SetPosition() macro to improve scrolling behavior\n\t (patch by Ricardo Cantu).\n\t+ add vERROR event type to EExitType enumeration, using this in\n\t setCdkExitType() and the selection widget to handle errors (patch by\n\t Ricardo Cantu).\n\t+ improve manpage descriptions for writeCharAttrib and\n\t writeChtypeAttrib (report by Knut Schwichten).\n\t+ add EXTRA_LDFLAGS symbol to makefile rule for creating library,\n\t in case options are needed (prompted by patch by Timothy Redaelli).\n\t+ modify matrix.c to allow defining empty column or row titles by\n\t passing a null pointer in the newCDKMatrix() call. Fix repainting\n\t of column titles by first erasing the cell (patch by Vincenzo Romano).\n\t+ regenerate configure script with autoconf 2.52 (patched) to make this\n\t work in non-POSIX locales (report by Mart St��r).\n\t+ updated configure script macros, e.g., to ensure that options are\n\t appended to $CFLAGS rather than prepended.\n\t+ update config.guess, config.sub\n\n2008/11/05\n\t+ modify matrix widget so that if title, row-title, column-title or\n\t box-border are suppressed, the widget will shrink the matrix rather\n\t than leave those parts blank (request by Vincenzo Romano).\n\t+ modify matrix_ex example to allow turning off title, column- and\n\t row-headers using -t, -c and -r options, and changing sense of -S\n\t option to allow turning off shadows.\n\t+ fix a limit-check in getcCDKObject(), found with valgrind in\n\t buttonbox_ex.\n\t+ apply same limit-check to radio.c as from selection.c\n\t+ fix a limit-check in selection.c (report by Robin Lee Powell).\n\t+ add -f/-h options to examples/selection_ex.c to test change to\n\t label.c\n\t+ fix a case where focus would be lost on a selection widget if there\n\t was also a label on the screen, and both were repainted (report\n\t by Robin Lee Powell).\n\t+ make CDK build/work with MinGW (patch by Gregory Sharp).\n\t+ correct setCDKTemplateValue() logic, which caused the source to\n\t be repeated (report/patch by Christian Gaida).\n\t+ use prefix makefile-variable in DOCUMENT_DIR expression to allow\n\t override of prefix at build-time (patch by Saurabh Nix).\n\t+ increase a buffer size in calendar.c (Debian #452401).\n\t+ allow widgets to create empty lists, a feature assumed by Harry\n\t Brueckner's cpm program (reports by Lars Strand, Harry Brueckner).\n\t+ modify Makefile.in for consistent usage of DESTDIR.\n\t+ add cdk5-config script to install\n\t+ updated configure script, e.g., tests for curses libraries.\n\t+ update config.guess, config.sub\n\n2006/05/07\n\t+ reduce the number of calls on touchwin(), which is used mainly for\n\t cleanup after moving a window.\n\t+ improve focus in alphalist.c and fselect.c to ensure that the\n\t dependent scroll widget highlights data after losing focus to the\n\t entry widget (report by Harry Brueckner).\n\t+ add getCDKScrollCurrentItem(), setCDKScrollCurrentItem(),\n\t \ getCDKScrollCurrentTop() and setCDKScrollCurrentTop().\n\t+ add getCDKFselectCurrentItem(), setCDKFselectCurrentItem(), use these\n\t in fselect_ex.c to illustrate how to modify list displayed by\n\t the fselect widget.\n\t+ add getCDKAlphalistCurrentItem(), setCDKAlphalistCurrentItem(), use\n\t these in alphalist_ex.c to illustrate how to modify list displayed by\n\t the alphalist widget.\n\t+ add copyCharList(), copyChtypeList(), lenCharList(), lenChtypeList().\n\t+ fix misformatted cdk_display manpage, which did not show vINT\n\t and some other data properly (report by Dominik Douville-Belanger).\n\t+ split-out cdk_display.c to eliminate repeated logic in entry.c,\n\t matrix.c and mentry.c, and implement hidden fields for the matrix\n\t widget.\n\t+ correct box-height for marquee widget. The box parameter was\n\t previously ignored; this correction will make some applications no\n\t \ longer show a box (report by Michael White).\n\t+ modify logic for KEY_DC and KEY_BACKSPACE so the former only deletes\n\t the current character, and the latter only deletes the previous,\n\t rather than equating them. This affects alphalist, entry, mentry,\n\t template (request by Harry Brueckner).\n\t+ suppress conversion of control characters in getcCDKObject() if the\n\t character is bound to another. \ This was last changed in 2004/8/24\n\t (report by Harry Brueckner).\n\t+ add check in adjustAlphalistCB() in case the list is empty (report by\n\t Harry Brueckner).\n\n2006/02/20\n\t+ correct makefile dependency so $(MAN_DIR) and $(INCLUDE_DIR) are\n\t created before headers.sed and manpage.sed, since headers.sh\n\t relies on the existence of the destination directory (reports\n\t by Marek Lipovean, Marcelo Goes, also Gentoo #123374).\n\n2005/12/30\n\t+ add some redundant pointer checks, e.g., to entry.c, to avoid core\n\t dump if one tries building Cdk with NetBSD curses (see lib/32417).\n\t+ split up traverseCDKScreen() to allow customized flavors of that to\n\t be written in a calling application using the pieces:\n\t traverseCDKOnce(), setCDKFocusFirst() (request by Jorgen Lundman).\n\t+ restore assignment of selectedItem in setCDKRadioCurrentItem() which\n\t was dropped in 2005/04/24 (report by Fu Steve X).\n\t+ modify refreshCDKScreen() to ensure that only one widget will have\n\t \ focus, i.e., the first which currently has focus, or if none, then\n\t the first visible one (report by Fu Steve X).\n\t+ use cleanCDKTemplate() consistently in the template widget, ensuring\n\t that the editing position is updated, and that the proper length is\n\t used when clearing memory (report by Fu Steve X).\n\t+ modify calendar, radio, scroll, selection widgets so the cursor is\n\t shown at the beginning of the selected item's row for better\n\t accessibility (report by Fu Steve X).\n\t+ add null-pointer check in setCDKViewerInfo() in case caller gives\n\t too-large value for list size (report by Jorgen Lundman).\n\t+ improve traverseCDKScreen() by updating curobj from the\n\t getCDKFocusCurrent() function (patch by Jorgen Lundman).\n\t+ add setCDKFocusCurrent() (patch by Jorgen Lundman).\n\t+ add configure script option allowing manpage section to be changed\n\t from \"3\" to other values such as \"3CDK\", e.g., for Debian.\n\t+ modify getCDKRadioItems(), getCDKScrollItems() and\n\t getCDKSelectionItems() to return just the list-size if the list\n\t pointer is null.\n\t+ correct highlighting of selected line in CDKSelection window when\n\t the window is scrolled left/right (patch by Jorgen Lundman).\n\t+ various manpage fixes (report by Jorgen Lundman).\n\t+ change manpages to use \".XX\" macro to indicate aliases, to make\n\t the manpage more readable.\n\t+ eliminate duplication between cdk_util.3 and cdk_misc.3 manpages\n\t (dialogs belong in the former, for instance).\n\t+ modify alphalist, itemlist, radio, selection and swindow to allow\n\t creating a widget with an empty list (request by Harry Brueckner).\n\t+ modify mentry.c case for KEY_RIGHT so one can move the cursor past\n\t the end of the string to add new text (report by Harry Brueckner).\n\t+ modify cdk_params.c to use strtol() rather than atoi() to allow\n\t command-line parameters such as -h 0xffff for the slider examples.\n\t+ modify gen-slider.c to use sprintf/strlen to obtain length of\n\t formatted integer types since intlen() does not give correct result\n\t for maximum value of unsigned type. Modify increment/decrement logic\n\t to take into account unsigned types (report by Keith J Outwater).\n\t+ modify cli examples to exit with 255 when reporting an error rather\n\t than a -1 which is generally not portable.\n\t+ fix several memory leaks exposed by valgrind in the example programs.\n\t+ add configure --disable-leaks option to look for ncurses' debug\n\t function _nc_free_and_exit(), using that to help with memory leak\n\t checking. This uses a new header which will not be\n\t installed, since it is used only for testing in the build tree.\n\t> patches by Phuah Yee Keat:\n\t + add an IsVisibleObj attribute to all CDK objects so the caller can\n\t set some object to be invisible, and calling refreshCDKScreen\n\t \ after that won't display it again, it enables one to dynamically\n\t show or hide a particular widget based on user actions.\n\t Note: this changes alignments in many of the structs from 5.0,\n\t requiring an ABI bump.\n\t + improve string length-computation in entry.c, allowing a 1-char\n\t field, and also allowing movement past end of text with KEY_END.\n\t + add setCDKRadioSelectedItem() and getCDKRadioSelectedItem().\n\t + fix some memory leaks by adding cleanCDKObjBindings() into all of\n\t the _destroyXXX() functions, modify cleanCDKObjBindings() to free\n\t and null (obj)->bindingList.\n\t+ fix makefile for installing manpages when building outside of the\n\t source directory (patch by Mike Castle).\n\t+ remove obsolete lsm file\n\t+ review/correct some functions listed in manpages but not implemented,\n\t and the reverse (report by Rajat Das).\n\t+ add setCDKMatrixCB() (report by 'zam).\n\t+ updated configure script (mostly fixes related to CF_XOPEN_SOURCE).\n\t+ update config.guess, config.sub\n\n2005/04/24 - T.E.Dickey \n\t+ bump major version to 5 (overdue).\n\t+ add built-in bindings for '<' and '>' to KEY_HOME and KEY_END\n\t for radio.c, scroll.c, selection.c, swindow.c and viewer.c\n\t (patch by Thorsten Glaser).\n\t+ add manpages for some of the non-widget utilities:\n\t cdk_compat.3, cdk_objs.3, cdk_params.3 and cdk_util.3\n\t+ correct drawCDKTitle, which did not account for border-size in\n\t vertical position of titles.\n\t+ change addCDKScrollPosition() to not set the current item to the\n\t \ beginning of the list.\n\t+ add insertCDKScrollPosition(), to allow insertions before the current\n\t item.\n\t+ add a check in scroll.c to prevent overflow if the list is empty.\n\t+ modify deleteCDKScrollItem() to ensure the current item is on a\n\t valid position after the deletion.\n\t+ modify setCDKScrollPosition() to avoid scrolling if the target is\n\t already on the screen.\n\t+ make similar simplifications to radio.c and selection.c as in scroll.c\n\t+ simplify and make consistent bookkeeping in scroll.c using new\n\t utility functions. As a result, addCDKScrollItem() and\n\t deleteCDKScrollItem() update the size of the scrollbar toggle (report\n\t by Fu Steve X).\n\t+ improve resequence function from 2005/03/23 by preserving attributes\n\t in the target chtype array.\n\t+ modify scroll_ex.c, binding 'a', 'i' and 'd' to add, insert and\n\t delete lines respectively (adapted from example by Fu Steve X).\n\t+ modify makefile so that cdk_config.h (which is generated by the\n\t configure script) is not removed by \"make clean\".\n\t+ modify makefile to work around limitation of Solaris make program\n\t which was confused by a header dependency in a \"::\" line (report by\n\t Fu Steve X).\n\t+ modify makefile and scripts for configure --srcdir (adapted from\n\t patch by Mike Castle).\n\n2005/03/23 - T.E.Dickey \n\t+ modify deleteCDKScrollItem() to resequence numbers (request by Fu\n\t Steve X).\n\t+ cleanup memory allocation in scroll.c, make addCDKScrollItem\n\t reallocate the scroll widget's arrays (report by Fu Steve X).\n\n2005/03/08 - T.E.Dickey \n\t+ correct logic of deleteCDKScrollItem(), which did not preserve the\n\t final null-pointer at the end of the list (report by Fu Steve X).\n\t+ add isCDKOBjectBind() to simply check if the given object/key\n\t combination is bound, rather than invoke the bound function.\n\t+ modify binding.c so that all of the functions share the same logic\n\t for mapping the given object to the bindable object, e.g., the entry\n\t \ widget for alphalist and fselect composite widgets. In particular,\n\t checkCDKObjectBind() and getcCDKObject() did not use the same binding\n\t data.\n\t+ correct initialization of traverseCDKScreen(), which required two\n\t tab keypresses to make the first traversal (report by Fu Steve X).\n\t+ updated configure script checks for _XOPEN_SOURCE, etc.\n\t+ update config.guess and config.sub\n\t+ correct prototype shown in manpage for setCDKScroll() (report by\n\t Stefan Heimann).\n\t+ correct equivalent expressions in setCDKRadioItems() and\n\t setCDKSelectionItems().\n\t+ correct expression in setCDKScrollItems() which caused the updated\n\t window to shrink by 2 lines (report by Stefan Heimann).\n\n2004/12/24 - T.E.Dickey \n========================================\n\t+ correct expression in CDKCalendarField from 2004/08/31 changes, which\n\t caused it to show only 6 days/week, broken by a fix for\n\t demos/appointment (reports/patches by Ryan Flannery, Greg Martin).\n\n2004/11/07 - T.E.Dickey \n========================================\n\t+ correct top-level Makefile.in to remove libtool's auxiliary files\n\t in the \"make clean\" rule.\n\t+ amend simplification of writeCharAttrib(), ensuring that attributes\n\t passed in the chtype-string are not ignored (report by Benoit\n\t \ Bidoggia).\n\n2004/10/04 - T.E.Dickey \n========================================\n\t+ correct logic of writeBlanks(), which did not check for malloc\n\t failure and made an unnecessary call to freeChar().\n\t+ simplify draw.c a little by using writeCharAttrib() and\n\t writeChtypeAttrib() to implement writeChar() and writeChtype().\n\t+ revert 2002/07/27 change that used waddchnstr() in writeChtype(),\n\t since it does not render control characters (report by Mike Leib).\n\t+ fix an infinite loop in viewer.c when displaying control characters\n\t such as form-feed.\n\n2004/08/31 - T.E.Dickey \n========================================\n\t+ add a simple compatibility header (cdk_compat.h), which can be\n\t put in an application's include-path when compiling old applications\n\t against new/old Cdk.\n\t+ updated libtool ABI to 2.0.0 since several items are added to CDKOBJS,\n\t as well as cleanup of slider- and scale-header templates.\n\t+ add check for ANSI compiler, needed for example with HPUX 10.20.\n\t+ ifdef'd out nonfunctional saveData and refreshData methods of entry\n\t and itemlist widgets.\n\t+ moved functions for setting background color or attribute into\n\t CDKOBJS.\n\t+ moved pre- and post-processing data into CDKOBJS, changing the\n\t functions that set those per-widget into macros using cdk_objs.c\n\t+ modify scale and slider widgets to allow the user to directly modify\n\t the value by typing over it (request by Keith Outwater).\n\t+ add slider widgets for types float, unsigned.\n\t+ add scale widgets for types double, unsigned.\n\t+ add script gen-scale.sh, and templates (e.g., gen-scale.c,\n\t \ gen-scale.h) to allow easy generation of scale and slider widgets of\n\t various types. Use this to replace the existing CDKSCALE, CDKFSCALE,\n\t CDKSLIDER widgets (discussion with Keith Outwater).\n\t+ adapt fix from dialog for porting getmaxx(), etc., to systems such\n\t as HPUX which do not provide these legacy definitions.\n\t+ remove duplicate vinstall.c from examples directory.\n\t+ modify install scripting to translate generated names in cdk_config.h\n\t to add \"CDK_\" prefix to most, reducing name-pollution. These names\n\t are used to allow applications to compile against the Cdk header\n\t files, but are otherwise of no general interest. In particular,\n\t \"PACKAGE\" is no longer conflicting (report by Phuah Yee Keat).\n\t+ add earlyExit member to CDKOBJS, using this to implement a method\n\t for applications to specify whether the widget's exitType should\n\t be modified after calling checkCDKObjectBind(), and what value\n\t (discussion with Bernhard Walle, comparing with NetBSD variation).\n\t+ correct logic in calendar widget for decrementing day- and\n\t month-values.\n\t+ modify treatment of exitType field so it is only set to vESCAPE_HIT\n\t if an escape character was received. Hide most of the internal\n\t details of exitType, making it available as an object value (but\n\t \ retaining the widget field to ease upgrading old applications).\n\t+ implement shadow option for newCDKMarquee().\n\t+ rewrite activateCDKMarquee(), eliminating an infinite-loop bug\n\t found in traverse_ex.c, as well as making it work properly with and\n\t without box-outline.\n\t+ modify deleteCursesWindow() to call eraseCursesWindow(), so that\n\t deleting an object will also erase it, following the various manpages\n\t \ comment about removing the object from the screen (report by\n\t Mukovoz I.S.).\n\t+ correct positionCDKObject() for CDKSCREEN's which do not happen to\n\t be the same size/shape as stdscr.\n\t+ change layout of menus to account for parent window's origin\n\t since subwin() since uses absolute screen position (report by \"Anna\"\n\t \ w/o a return address).\n\t+ correct off-by-one in positionCDKObject() which prevented user from\n\t reaching the right- and bottom-margins.\n\t+ fix a few limits on sprintf's involving strings.\n\t+ eliminate fixed array limit MAX_OBJECT in CDKSCREEN.\n\t+ use CTRL() macro consistently in preference to CONTROL().\n\t+ remove delwin(stdscr) from example programs since it is both unneeded\n\t and nonportable.\n\t+ use EXIT_SUCCESS and EXIT_FAILURE consistently in example programs.\n\t+ remove all KEY_xxx symbols which are in X/Open curses from curdefs.h\n\t+ remove all ACS_xxx symbols from curdefs.h\n\t+ remove all A_xxx symbols from curdefs.h\n\t+ add/use isChar() and CharOf() macros to get rid of A_CHARTEXT usage.\n\t+ fix menus to allow them to scroll if there are too many entries to\n\t fit on the screen.\n\t+ collect most uses of touchwin/refresh into new function\n\t refreshCDKWindow().\n\t+ clear background of menu windows, in case they are drawn over another\n\t widget.\n\t+ correct length of title in menu if more than one is placed on the\n\t right side of the screen.\n\t+ add getcCDKBind() function, to which keys can be bound for simple\n\t translation of the inputs via getcCDKObject(). Use this in\n\t examples/traverse_ex.c to bind F1 to menu.\n\t+ eliminate mapChtype() function, since it could conflict with curses'\n\t definitions. Use the given key value instead, since it is always\n\t \ positive.\n\t+ use KEY_MAX in preference to MAX_BINDINGS symbol.\n\t+ eliminate internal use of literal backspace, DEL, tab, newline and\n\t carriage-return constants, etc., by mapping them to KEY_BACKSPACE,\n\t KEY_DC, KEY_ENTER, etc., in getcCDKObject().\n\t+ modify examples and demos to read input using getcCDKObject(), to\n\t solve problems with stdscr refresh overwriting the widgets.\n\t+ modify matrix.c and menu.c to read input using getcCDKObject(), like\n\t all of the other widgets.\n\t+ rewrote examples/traverse_ex.c to use menus to select the left,\n\t center and right widgets used for demonstrating traversal.\n\t+ modify traversal to update object focus properly if a menu action\n\t removes or moves the object associated with the focus.\n\t+ cleanup menu in traverse.c if escape character is used to cancel it.\n\t+ move curs_set() calls out of focus/unfocus functions, into traverse.c\n\t+ remove the SIGBUS/SIGSEGV handler, since it is redundant.\n\t+ updated configure script, e.g,. macros CF_ADD_CFLAGS,\n\t CF_CHECK_CACHE, CF_GCC_WARNINGS, CF_NCURSES_LIBS, CF_PROG_EXT,\n\t CF_WITH_DBMALLOC, CF_WITH_DMALLOC, CF_WITH_LIBTOOL, CF_WITH_WARNINGS,\n\t CF_X_ATHENA, CF_X_TOOLKIT.\n\t+ update config.guess, config.sub\n\t> fixes for fselect.c by ewigg (Ed Wigg):\n\t+ add a range check to ensure that filename completion at the end of\n\t the list does not reference past the end of the list.\n\t+ correct the value returned from filename completion (fixes in\n\t 2002/07/27 mistook an assignment that removed the last character\n\t of the result - it is actually used to trim the \"/\", \"@\" or similar\n\t character from the displayed filename).\n\t+ remove an unnecessary if statement.\n\t> patches by Phuah Yee Keat:\n\t+ enable focus in mentry.c, radio.c\n\t+ implement unfocus in entry.c\n\t+ implement focus/unfocus in mentry.c, template.c\n\t+ add setCDKRadioCurrentItem() and getCDKRadioCurrentItem().\n\t+ improve entry.c: \ When the user types until the last character, do\n\t not shift the cursor to one character beyond the end of the maximum\n\t value allowed in the field, that will create an extra '.' that will\n\t give the user an impression that he can still enter more characters,\n\t when he actually can't.\n\t+ fix two core dumps with Solaris curses in scroll.c:\n\t + On solaris curses, just pressing the \"down\" key on a scroll list\n\t will coredump, on certain sizes of the scroll list. \ On my\n\t fullscreen test, it will coredump on any number of items unless if\n\t the number of items is a multiple of 5. I assume that it's because\n\t \ that under certain conditions, the togglePos actually exceeds the\n\t boundary at the end of the scroll bar. Does not happen in ncurses.\n\t + On solaris curses, press 'G' will coredump.\n\t Does not happen in ncurses.\n\t+ make wording in COPYING consistent with other fixes from 1999/05/15\n\t (report by Ahmad Attia).\n\n2003/12/10 - T.E.Dickey \n========================================\n\t+ bump version to 4.9.11 (corresponding source from Mike Glover added\n\t install.sh to tarball; no other source changes were made).\n\t+ rename \"install.sh\" to \"install-sh\" to work around bugs in certain\n\t make-programs.\n\t+ allocate marker[] array in calendar dynamically. Reduce\n\t corresponding array limits to reasonable values.\n\t+ add getCDKCalendarMarker()\n\t+ correct seconds in calendar's return value.\n\t+ eliminate fixed array limits from dialog widget.\n\t+ eliminate fixed array limits from label widget.\n\t+ eliminate fixed array limits from selection widget.\n\t+ eliminate fixed array limits from viewer widget.\n\t+ eliminate fixed array limits from buttonbox widget.\n\t+ eliminate fixed array limits from matrix widget. Passing around\n\t 1000x1000 arrays was inefficient, and caused core dumps in the Perl\n\t binding for this widget.\n\t+ correct one of the attrbox() calls in drawCDKMatrixCell(), which used\n\t a left-tee where a right-tee was needed (report by William L Davis).\n\t+ add setCDKMatrixCells(), redefining setCDKMatrix() as a macro to\n\t call it.\n\t+ add cleanCDKMatrixCell().\n\t+ correct position for right-aligned menus, which was off by one from\n\t 2003/11/30 changes (report/patch by William L Davis).\n\n2003/12/01 - T.E.Dickey \n========================================\n\t+ correct logic in char2Chtype() for <#UL>, <#UR> and <#LR>, broken in\n\t 1999/06/05 (report by William L Davis).\n\n2003/11/30 - T.E.Dickey \n========================================\n\t+ remove borderSize parameter from alignxy().\n\t+ modify all widgets to account for borderSize consistently, allowing\n\t one to display a widget that uses the full screen size (report by\n\t Phuah Yee Keat ).\n\t+ add cdk_params.c, use this to simplify cli programs and add getopt\n\t processing systematically to the demos and examples.\n\t+ correct an off-by-one in baseName() that would return the slash\n\t character in the result.\n\t+ add setCDKCalendarMonthsNames() and setCDKCalendarDaysNames (patch\n\t by Stanislaw Bierowka ).\n\t+ split-out several files from draw.c since they are wrappers for\n\t widgets rather than drawing functions. Doing this reduces the\n\t executable size: get_index.c, get_string.c, popup_dialog.c,\n\t popup_label.c, select_file.c, view_file.c and view_info.c\n\t+ eliminate static MAX_LINES limit from graph-widget values.\n\t+ eliminate static MAX_LINES limit from widget titles.\n\t+ updated configure script, improved checks for curses functions.\n\t+ update config.guess, config.sub\n\n2003/11/24 - T.E.Dickey \n========================================\n\t+ display a \"processing...\" message in setCDKViewerInfo while building\n\t the internal data structures (request by Mike Leib).\n\t+ modify viewer widget to compute the total number of lines to display,\n\t making it independent of the listSize parameter.\n\t+ modify viewer widget to accept a negative listSize parameter,\n\t making it count the length of list[], ending with a null.\n\t+ modify viewer_ex, adding -f, -i and -l options. The -f option\n\t bypasses the fselect widget, specifying the filename directly.\n\t The -i option tells whether to interpret embedded markup, and\n\t the -l option tells viewer_ex to load the file using an embedded\n\t \ link.\n\n2003/11/19 - T.E.Dickey \n========================================\n\t+ modify searches in viewer widget to allow for overlapping partial\n\t matches, e.g., if the pattern is \"00A\", it will find the match in\n\t a line consisting of \"000A\". Also corrected logic to matches can\n\t extend to the end of a line.\n\t+ add 'N' to viewer to implement reverse search.\n\t+ modify ':' command in viewer to start with current line number\n\t rather than 0. Also adjust the size of the scale widget to allow\n\t for very large line numbers, e.g., more than 5 digits.\n\t+ remove an obsolete limit-check in viewer widget that limited view\n\t to 4996 lines, fix a few off-by-one indices.\n\n2003/11/18 - T.E.Dickey \n========================================\n\t+ correct viewer widget, making it interpret tabs and non-printing\n\t characters for the non-interpreted file viewer case. The curses\n\t library cannot display control characters in chtype's.\n\t+ add cleanCDKViewer().\n\t+ rename a few .itemCount members to .listSize for consistency.\n\t+ eliminate static list-size limit MAX_LINES from swindow, viewer\n\t widgets. Renamed .info, .infoPos, .infoLen to .list, .listPos and\n\t \ .listLen members to be consistent with other widgets.\n\n2003/11/16 - T.E.Dickey \n========================================\n\t+ suppress \".\" from fselect listing, since it was not useful.\n\t+ eliminate static list-size limit MAX_ITEMS from alphalist, fselect\n\t itemlist, radio, scroll and selection widgets (request by Mike Leib).\n\t+ change functions that set line-drawing characters to macros, mapping\n\t those to method calls in CDKOBJS.\n\t+ add setCDKEntryBox().\n\t+ add setCDKMarqueeBox() and getCDKMarqueeBox().\n\t+ add setCDKMatrixBox() and getCDKMatrixBox().\n\t+ adjust some title lines to be offset by the borderSize rather than\n\t a hardcoded \"1\" (report by Max Mikhanosha).\n\t+ strip trailing newlines from text read via pipe in execCDKSwindow(),\n\t lost in original cleanup (report by Max Mikhanosha\n\t ).\n\n2003/04/18 - T.E.Dickey \n=================================================\n\t+ for variants built with ncursesw and pdcurses, name the libraries\n\t \"-lcdkw\" and \"-lcdkX\" respectively.\n\t+ add a missing assignment to store the result in _injectCDKFScale()\n\t (report by Barry Davis ).\n\t+ fix missing definition of mvwhline(), mvwvline() in pdcurses.\n\t+ add a .c.i rule in top-level makefile\n\t+ fix uninstall rule, was missing a line-continuation.\n\t+ fix several prototypes in manpages which did not match header files\n\t (reported by Lucas Gonze ).\n\t+ fix a few compiler warnings, e.g., by parentheses in\n\t drawCDKEntryField() and drawCDKMatrixCell().\n\t+ updates to configure script macros\n\t + add --with-ncursesw option.\n\t + add --with-XawPlus option.\n\t + add --with-curses-dir option.\n\t + modify CF_DISABLE_ECHO to make libtool quiet also.\n\t + use AC_PROG_PATH to find libtool; show the version which is found.\n\t + change sed delimiter to '%' to accommodate AFS.\n\t + improve/correct CF_HEADER_PATH, CF_LIBRARY_PATH to cover special\n\t cases of ncurses/ncursesw configurations.\n\t + change ordering of options in CF_ADD_CFLAGS, CF_ADD_CPPFLAGS,\n\t CF_INCLUDE_DIRS.\n\t + workaround gcc 3.x defects in CF_ADD_INCDIR.\n\n2002/08/09 - T.E.Dickey \n=================================================\n\t+ fix entry, matrix, template, viewer widgets to display 8-bit input\n\t characters (reported by Bernhard Walle ).\n\t+ modify manpage install to create links for each function name listed\n\t in the NAME section.\n\t+ correct cursor location in dialog's radio-box, which was left on the\n\t separator line (reported by Peter Farley )\n\n2002/07/27 - T.E.Dickey \n=================================================\n\t+ several changes to make destroyCDKScreenObjects() and\n\t destroyCDKScreen() actually work (needed for perlcdk):\n\t + record all objects and screens created/destroyed, in cdkscreen.c\n\t + reimplement destroyCDKObject() by a function _destroyCDKObject(),\n\t \ which first does an erase for the given object, then calls the\n\t destroy method, and finally frees the object.\n\t + add a check in each erase-method to ensure that the object is still\n\t valid.\n\t+ add check in setCDKGraphValues() to ensure that X and Y scales are\n\t nonzero, since they are used as denominators. \ This makes perlcdk's\n\t graph example work.\n\t+ add configure check for curses feature which would allow one to move\n\t a subwindow, or (in the case of NetBSD curses) at least compile.\n\t+ add configure check and fallback for addchnstr() to accommodate\n\t NetBSD's partial implementation of curses.\n\t+ move version information to VERSION file.\n\t+ add --with-libtool configure option\n\t+ make most wgetch() calls use the object's inputWindow via the\n\t getcCDKObject() function.\n\t+ improve type-checking and array-limits in cdkscreen.c\n\t+ remove cdktype member from CDKSCREEN since it is redundant.\n\t+ eliminate several fixed-buffers with new function writeBlanks().\n\t+ interpret home/end keys in entry widget.\n\t+ warn about special keys such as insert which are not recognized in\n\t alphalist, entry, matrix, mentry, template (it was using the low 8\n\t bits of those, inserting that).\n\t+ rewrote/simplified dirName().\n\t+ rewrote/simplified baseName().\n\t+ eliminate fixed-size buffers in fselect.c\n\t+ correct a couple of places where fselect.c freed constant memory.\n\t+ correct an unterminated string in fselect.c tilde-expansion, and use\n\t $HOME if no account name is given.\n\t+ simplified several functions using mvhline(), mvvline() and\n\t mvaddchnstr().\n\t+ add vFSCALE as a valid object type in cdkscreen.c\n\t+ modify moveCursesWindow(), which did not work with ncurses after\n\t 2000/9/15 changes to use mvwin() in preference to directly modifying\n\t the _begx/_begy members of WINDOW. That made position_ex not work.\n\t The change was originally for NetBSD's curses implementation which\n\t does not move derived windows properly anyway.\n\t+ simplify calls to moveCursesWindow() by moving null-pointer check\n\t inside that function.\n\t+ change tab-expansion in char2Chtype() to expand based on the current\n\t length of the string rather than always to 8 columns.\n\t+ correct limit-checks in stripWhiteSpace()\n\t+ interpret back-tab in buttonbox.c and dialog.c inject-methods for\n\t symmetry with tab.\n\t+ corrected return-values of button, matrix, scale widgets to match\n\t documentation as well as to conform with other widgets.\n\t+ reorganized inject methods (which may return data of different types)\n\t \ to return the actual data in an area of the widget, and defined macros\n\t to preserve source-compatibility.\n\t+ rewrote initCDKColor() to check if color is available before trying\n\t to initialize it, and to use the terminal's actual number of colors\n\t in making color pairs.\n\t+ use 2-digit fields in bind_ex.c for time, date.\n\t+ modify matrix.c to add borderSize before the column titles, to\n\t match the change to box layout.\n\t+ modify matrix_ex.c to consistently center row-titles. Some were\n\t centered, some were right- and some left-justified. \ The change to\n\t justifyString() produced an odd effect.\n\t+ add functions\n\t\tCDKVersion()\n\t\tchtype2String().\n\n\t> patches by Tim Moloney:\n\t+ added a setCDKxxxBackgroundAttrib() function to all the widgets.\n\t This function takes a chtype. The setCDKxxxBackgroundColor() still\n\t exists and converts from a character string to a chtype, but it now\n\t \ calls the new function to eliminate duplicate code.\n\t+ fix minor bugs in marquee_ex and radio1_ex.\n\t+ fix an off-by-one error in the dialog widget when it is not drawing\n\t its box. The buttons were displayed one line too high.\n\t+ add object type to each widget.\n\t+ correct _drawCDKEntry(), which did not account for whether a box was\n\t used when computing layout.\n\t+ change moveCDKButton() from a function to a macro using\n\t moveCDKObject().\n\t+ add functions\n\t\tpopupLabelAttrib()\n\t\tsetCDKButtonboxButtonAttrib()\n\t\tsetCDKEntryHighlight()\n\n\t> integrated/adapted changes by Grant Edwards:\n\t+ make the destroy function in each widget a method in CDKOBJS.\n\t+ make the inject function in each widget a method in CDKOBJS.\n\t (this was incomplete, and did not provide for different return-types)\n\t+ add focus, unfocus, refreshData, saveData methods and supporting\n\t \ data to CDKOBJS (not all widgets implement these methods). See\n\t entry.c, itemlist.c, selection.c for example.\n\t+ store a borderSize value in CDKOBJS for each widget, which is used to\n\t reserve space for a box/border around each widget if the Box\n\t parameter is true when creating the widget. Several related changes\n\t also made, including modifying the alignxy() interface to add\n\t \ a borderSize parameter.\n\t+ modify justifyString() to not subtract 1 on each side, since that\n\t is generally assumed to be done to compensate for boxes drawn around\n\t the text.\n\t+ change drawCDKItemlistField() to add a highlight parameter.\n\t+ change the label window to a subwin() in entry.c\n\t+ hide cursor while in popupLabel() function.\n\t+ simplified scroll.c, a little.\n\t+ add files\n\t\tbutton.c\n\t\texamples/radio1_ex.c\n\t\texamples/traverse_ex.c\n\t+ added functions:\n\t\tdestroyCDKScreenObjects()\n\t\tgetCDKSelectionCurrent()\n\t\tsetCDKSelectionCurrent()\n\t\tgetCDKScrollCurrent()\n\t\tsetCDKScrollCurrent()\n\t\tdestroyCDKScreenObjects()\n\t\tcmpStrChstr()\n\t\tchstrncpy()\n\t+ removed these functions:\n\t\tsetCDKEntryBox()\n\n2002/04/30 - T.E.Dickey \n=================================================\n\t+ correct parsing of in char2Chtype() where \"xx\" contains digits\n\t (patch by Robert R Landon ).\n\t+ updated cdk.spec for RPM (patch by Vladimir Kondratiev\n\t ).\n\t+ introduce CDKINCLUDES ifdef's so that any of the header files may\n\t be included separately. Previously only could be included\n\t due to interdependencies among the headers.\n\t+ add some #undef's to cdk.h in case curses.h includes term.h producing\n\t a symbol conflict (reported by Kenneth Pronovici\n\t ).\n\t+ miscellaneous updates to configure script, including workarounds for\n\t incompatibilies in autoconf 2.5x.\n\n2002/02/25 - T.E.Dickey \n=================================================\n\t+ add cdk_process manpage.\n\t+ remove redundant description of bindCDKObject() from several manpages.\n\t+ add rcs identifiers to header files.\n\t+ add ifdef's in each header file for C++, to make the C externs link\n\t properly without requiring the application to declare them (reported\n\t in comp.unix.programmer newsgroup by ).\n\t+ correct typo in template.c introduced in 2000/01/16 substitutions\n\t to use macro isPlateChar() which made templates not work with\n\t interspersed punctuation (reported by jiny ).\n\n2001/12/30 - T.E.Dickey \n=================================================\n\t+ remove some redundant wrefresh() calls in various widgets.\n\t+ correct an uninitialized pointer in cli/cdkalphalist.c\n\t+ modify cli/samples/alphalist.sh to check for non-empty return from\n\t the selection rather than hang attempting to find that account.\n\t+ remove -B option from cli/samples/alphalist.sh since it should have a\n\t value, but does not.\n\t+ corrected some display-limits in writeChtype() and\n\t writeChtypeAttrib().\n\t+ modify CDKreadFile() to trim newlines from file as read, making it\n\t more like the original readFile(). This is needed to prevent the\n\t trailing newlines loaded into label widgets from clearing the rest\n\t of the line when they are drawn.\n\t+ add floatized-scale widget (Lutz Mueller ).\n\t+ modify headers.sh script to remove gzip'd versions of the manpages\n\t just in case some were previously installed that way, i.e., by\n\t hand. The gzip'd version would be found instead of the new install.\n\t (prompted by a report by Ron Poulton ).\n\t+ correct typo in uninstall rule for manpages which made\n\t \"make installCDKHeaderFiles\" remove the manpages after installing.\n\n2001/04/21 - T.E.Dickey \n=================================================\n\t+ add an uninstall rule.\n\t+ move the installed documentation to /usr/local/doc/cdk (it does not\n\t belong in /usr/local/include/cdk).\n\t+ modify install rules so that references to header files such as cdk.h\n\t are transformed to , which matches the actual install\n\t location (reports by Pawel Gajda , Carlos Alberto\n\t Pereira Gomes and Ron Poulton\n\t , who found that Cdk's menu.h conflicts with\n\t ncurses' menu.h when building the Perl interface).\n\t+ correct cli examples' callbacks, which did not return a value.\n\t+ update config.guess and config.sub\n\t+ modify CF_CURSES_LIBS to allow build with SunOS 4.x 5lib curses.\n\t+ split out CF_CURSES_CPPFLAGS from CF_CURSES_LIBS to allow an interim\n\t check if the curses implementation is really ncurses.\n\t+ modify some configure script macros to work when the curses header\n\t file is not , e.g., .\n\t+ modify configure script macros to avoid using changequote(), which\n\t is broken in the current autoconf alpha versions, e.g., 2.49d.\n\t+ change configure script macros to use $CPPFLAGS consistently for\n\t preprocessor options, and $CFLAG for other compiler flags.\n\t+ modify several configure script macros which checked for $GCC, to\n\t ensure it is not actually the compiler name versus an existence\n\t check.\n\n2001/01/06 - T.E.Dickey \n=================================================\n\t+ reverted part of 1999/6/5 change, allowing callback functions to\n\t return a value. Note that this makes PROCESSFN and BINDFN use\n\t the same prototype (report by Ian Eure ).\n\t+ SCO OpenServer does not define S_IFSOCK\n\n2000/09/23 - T.E.Dickey \n=================================================\n\t+ change literal 48's in calendar.c to '0'.\n\t+ eliminate nonprinting/nonspace characters using macro CTRL().\n\t+ integrated new examples into makefiles.\n\t+ use raiseCDKObject_ex.c and lowerCDKObject_ex.c to debug/fix the\n\t raiseCDKObject() and lowerCDKObject() functions which shared the same\n\t defect in 4.9.9 (the code did not properly update two objects, but\n\t modified screenIndex of one twice).\n\t+ modified cli programs to work with CDKreadFile(), CDKsplitString()\n\t \ and CDKcountStrings() since readFile() and splitString() are not\n\t provided in this version.\n\n\t> reviewed/integrated changes from Mike Glover's 4.9.10 (August 2000):\n\t+ add examples/raiseCDKObject_ex.c, examples/lowerCDKObject_ex.c\n\t+ add cli subdirectory\n\t+ modify itemlist.c to make labels one cell wider.\n\t+ did not use changes to cdkscreen.c (see 1999/5/15).\n\t+ did not use casts to unsigned char, since those are incorrect\n\t (they are casting chtype's which are wider than a char).\n\n2000/09/15 - T.E.Dickey \n=================================================\n\t+ add/use configure check for some curses functions/macros which use\n\t internals of the WINDOW struct, which is opaque on NetBSD (patch by\n\t Simon Burge ).\n\t+ update autoconf scripts (config.guess, config.sub, macros\n\t CF_CURSES_LIBS, CF_UPPER, CF_X_ATHENA) to my 20000819 autoconf patch.\n\t+ revised man-pages: \ reorder so that functions are listed\n\t alphabetically within the NAME, SYNOPSIS, DESCRIPTION sections, the\n\t prototypes shown only in the SYNOPSIS section (and formatted for\n\t readability), remove excess wording and convert as needed to use tbl.\n\n2000/08/28 - T.E.Dickey \n=================================================\n\t+ add cdk_position.3 man page.\n\t+ rename cdk_cdk.3 to cdk.3\n\n2000/08/20 - T.E.Dickey \n=================================================\n\t+ remove obsolete comments from manpages telling users to define\n\t NCURSES for that library. The configure script creates cdk_config.h,\n\t which has settings as needed.\n\n2000/08/20 - T.E.Dickey \n=================================================\n\t+ fix some array-overruns in viewer.c if it happens to load a binary\n\t file.\n\t+ fix symbol conflict with newkey in waitCDKLabel(), as well as keycode\n\t truncation in that function.\n\n2000/06/28 - T.E.Dickey \n=================================================\n\t+ add RPM spec-file (patch by Wai-Sun Chia ).\n\t+ add Linux-specific makefile rule for generating a shared library\n\t (patch by Pawel Gajda ).\n\t+ eliminate fixed-length lists assumed in getDirectoryContents() using\n\t new function CDKgetDirectoryContents().\n\t+ eliminate fixed-length lists assumed in readFile() using new function\n\t CDKreadFile().\n\t+ remove unused substring().\n\t+ use qsort-wrapper sortList() instead of quickSort().\n\t+ change configure.in to avoid having configure script check for X\n\t libraries as a side-effect of adding tests for PDCurses.\n\t+ updates to configure script macros:\n\t CF_CURSES_FUNCS, CF_FIND_LIBRARY, CF_HEADER_PATH, CF_LIBRARY_PATH,\n\t \ CF_NCURSES_LIBS and CF_XOPEN_CURSES\n\t+ update config.guess, config.sub\n\n2000/04/09 - T.E.Dickey \n==========================================\n\t+ modify newwin() call in subwindow_ex.c to account for actual screen\n\t size rather than assuming 25 lines (reported by Gary Funck\n\t ).\n\t+ add CF_X_ATHENA and CF_X_TOOLKIT configure macros for --with-pdcurses\n\t option, needed if the Xcurses or dependent libraries are static\n\t rather than shared.\n\t+ correct typo in configure check for HPUX 11.x (reported by Bjorn\n\t Helgaas ).\n\n2000/02/18 - T.E.Dickey \n==========================================\n\t+ add case for HPUX 11.x use of cur_colr library (reported by\n\t Bjorn Helgaas ).\n\t+ add configure option --with-pdcurses, to link with the X11 version\n\t of PDCurses.\n\t+ eliminate quoted includes, in favor of bracketed form.\n\t+ ifdef'd limits.h, moving that into cdk.h with a fallback definition\n\t for INT_MIN and INT_MAX.\n\t+ minor fixes for building with SunOS 5lib version: configure check\n\t for getopt variables, correction to demos/Makefile.in\n\n2000/01/17 - T.E.Dickey \n==========================================\n\t+ add lib-prefix and executable suffix checks to configure script for\n\t port to OS/2 EMX.\n\t+ add configure check for lstat().\n\n2000/01/16 - T.E.Dickey \n==========================================\n\t+ drop dependency on usleep(), using napms() which is standard with\n\t SVr4 curses.\n\t+ rewrote mode2Char(), making it table-driven and splitting out\n\t mode2Filetype() to make porting simpler, by putting ifdef's for\n\t S_ISSOCK in one place only.\n\t+ use new freeCharList() to reduce clutter.\n\t+ eliminate casts of NULL, to reduce clutter.\n\t+ change several uses of control characters in source to use CONTROL()\n\t \ macro.\n\t+ correct format of date shown in bind_ex.c\n\t+ correct nonstandard getcwd() usage in fselect.c\n\t+ change demo and example makefiles to not strip executables.\n\t+ modify demo/Makefile.in to work around Solaris' make program which\n\t does not process \".c\" rule as desired.\n\n2000/01/08 - T.E.Dickey \n==========================================\n\t+ fix compiler warnings with Solaris cc.\n\n1999/12/19 - T.E.Dickey \n==========================================\n\t+ updated email and url for Mike Glover based on 4.9.9 version dated\n\t 1999/7/29.\n" module: pkgsrc subject: 'CVS commit: pkgsrc/devel/cdk' unixtime: '1550743170' user: wiz