From owner-svn-src-all@FreeBSD.ORG Wed Jan 12 14:55:03 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56D48106564A; Wed, 12 Jan 2011 14:55:03 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3631A8FC13; Wed, 12 Jan 2011 14:55:03 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p0CEt334092665; Wed, 12 Jan 2011 14:55:03 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p0CEt3PD092660; Wed, 12 Jan 2011 14:55:03 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201101121455.p0CEt3PD092660@svn.freebsd.org> From: Nathan Whitehorn Date: Wed, 12 Jan 2011 14:55:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r217309 - in head: . contrib/dialog contrib/dialog/po contrib/dialog/samples contrib/dialog/samples/copifuncs contrib/dialog/samples/install gnu/lib gnu/lib/libdialog gnu/lib/libdialog/... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2011 14:55:03 -0000 Author: nwhitehorn Date: Wed Jan 12 14:55:02 2011 New Revision: 217309 URL: http://svn.freebsd.org/changeset/base/217309 Log: Update dialog to version 20100428. This changes the license under which dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new features and a new and better libdialog API. The existing libdialog will be kept temporarily as libodialog for compatibility purposes until sade, sysinstall and tzsetup have been either updated or replaced. __FreeBSD_version is now 900030. Discussed on: -current Approved by: core Obtained from: http://invisible-island.net/dialog Added: head/contrib/dialog/ head/contrib/dialog/CHANGES head/contrib/dialog/COPYING head/contrib/dialog/README head/contrib/dialog/VERSION head/contrib/dialog/aclocal.m4 head/contrib/dialog/arrows.c head/contrib/dialog/buttons.c head/contrib/dialog/calendar.c head/contrib/dialog/checklist.c head/contrib/dialog/columns.c head/contrib/dialog/config.guess (contents, props changed) head/contrib/dialog/config.hin head/contrib/dialog/config.sub (contents, props changed) head/contrib/dialog/configure (contents, props changed) head/contrib/dialog/configure.in head/contrib/dialog/dialog-config.in head/contrib/dialog/dialog.1 head/contrib/dialog/dialog.3 head/contrib/dialog/dialog.c head/contrib/dialog/dialog.h head/contrib/dialog/dialog.lsm head/contrib/dialog/dialog.pl head/contrib/dialog/dlg_colors.h head/contrib/dialog/dlg_keys.c head/contrib/dialog/dlg_keys.h head/contrib/dialog/editbox.c head/contrib/dialog/formbox.c head/contrib/dialog/fselect.c head/contrib/dialog/guage.c head/contrib/dialog/headers-sh.in (contents, props changed) head/contrib/dialog/inputbox.c head/contrib/dialog/inputstr.c head/contrib/dialog/install-sh (contents, props changed) head/contrib/dialog/makefile.in head/contrib/dialog/menubox.c head/contrib/dialog/mixedform.c head/contrib/dialog/mixedgauge.c head/contrib/dialog/mouse.c head/contrib/dialog/mousewget.c head/contrib/dialog/msgbox.c head/contrib/dialog/pause.c head/contrib/dialog/po/ head/contrib/dialog/po/POTFILES.in (contents, props changed) head/contrib/dialog/po/ar.po (contents, props changed) head/contrib/dialog/po/be@latin.po head/contrib/dialog/po/bg.po (contents, props changed) head/contrib/dialog/po/ca.po (contents, props changed) head/contrib/dialog/po/cs.po (contents, props changed) head/contrib/dialog/po/cy.po (contents, props changed) head/contrib/dialog/po/da.po (contents, props changed) head/contrib/dialog/po/de.po (contents, props changed) head/contrib/dialog/po/dialog.pot (contents, props changed) head/contrib/dialog/po/el.po (contents, props changed) head/contrib/dialog/po/eo.po (contents, props changed) head/contrib/dialog/po/es.po (contents, props changed) head/contrib/dialog/po/et.po (contents, props changed) head/contrib/dialog/po/eu.po (contents, props changed) head/contrib/dialog/po/fi.po (contents, props changed) head/contrib/dialog/po/fr.po (contents, props changed) head/contrib/dialog/po/ga.po (contents, props changed) head/contrib/dialog/po/gl.po (contents, props changed) head/contrib/dialog/po/hi.po (contents, props changed) head/contrib/dialog/po/hr.po (contents, props changed) head/contrib/dialog/po/hu.po (contents, props changed) head/contrib/dialog/po/id.po (contents, props changed) head/contrib/dialog/po/is.po (contents, props changed) head/contrib/dialog/po/it.po (contents, props changed) head/contrib/dialog/po/ja.po (contents, props changed) head/contrib/dialog/po/ku.po (contents, props changed) head/contrib/dialog/po/lt.po (contents, props changed) head/contrib/dialog/po/lv.po (contents, props changed) head/contrib/dialog/po/makefile.inn (contents, props changed) head/contrib/dialog/po/mg.po (contents, props changed) head/contrib/dialog/po/mk.po (contents, props changed) head/contrib/dialog/po/ms.po (contents, props changed) head/contrib/dialog/po/nb.po (contents, props changed) head/contrib/dialog/po/nl.po (contents, props changed) head/contrib/dialog/po/pl.po (contents, props changed) head/contrib/dialog/po/pt.po (contents, props changed) head/contrib/dialog/po/pt_BR.po (contents, props changed) head/contrib/dialog/po/rm.po (contents, props changed) head/contrib/dialog/po/ro.po (contents, props changed) head/contrib/dialog/po/ru.po (contents, props changed) head/contrib/dialog/po/rw.po (contents, props changed) head/contrib/dialog/po/sq.po (contents, props changed) head/contrib/dialog/po/sr.po (contents, props changed) head/contrib/dialog/po/sv.po (contents, props changed) head/contrib/dialog/po/sw.po (contents, props changed) head/contrib/dialog/po/th.po (contents, props changed) head/contrib/dialog/po/tr.po (contents, props changed) head/contrib/dialog/po/uk.po (contents, props changed) head/contrib/dialog/po/vi.po (contents, props changed) head/contrib/dialog/po/wa.po (contents, props changed) head/contrib/dialog/po/zh_CN.po (contents, props changed) head/contrib/dialog/po/zh_TW.po (contents, props changed) head/contrib/dialog/progressbox.c head/contrib/dialog/rc.c head/contrib/dialog/samples/ head/contrib/dialog/samples/README head/contrib/dialog/samples/calendar (contents, props changed) head/contrib/dialog/samples/calendar-stdout (contents, props changed) head/contrib/dialog/samples/calendar2 (contents, props changed) head/contrib/dialog/samples/calendar2-stdout (contents, props changed) head/contrib/dialog/samples/calendar3 (contents, props changed) head/contrib/dialog/samples/calendar3-stdout (contents, props changed) head/contrib/dialog/samples/checklist (contents, props changed) head/contrib/dialog/samples/checklist-8bit (contents, props changed) head/contrib/dialog/samples/checklist-utf8 (contents, props changed) head/contrib/dialog/samples/checklist1 (contents, props changed) head/contrib/dialog/samples/checklist10 (contents, props changed) head/contrib/dialog/samples/checklist11 (contents, props changed) head/contrib/dialog/samples/checklist2 (contents, props changed) head/contrib/dialog/samples/checklist3 (contents, props changed) head/contrib/dialog/samples/checklist4 (contents, props changed) head/contrib/dialog/samples/checklist5 (contents, props changed) head/contrib/dialog/samples/checklist6 (contents, props changed) head/contrib/dialog/samples/checklist7 (contents, props changed) head/contrib/dialog/samples/checklist8 (contents, props changed) head/contrib/dialog/samples/checklist9 (contents, props changed) head/contrib/dialog/samples/checklist9.txt head/contrib/dialog/samples/copifuncs/ head/contrib/dialog/samples/copifuncs/admin.funcs (contents, props changed) head/contrib/dialog/samples/copifuncs/common.funcs (contents, props changed) head/contrib/dialog/samples/copifuncs/copi.funcs (contents, props changed) head/contrib/dialog/samples/copifuncs/copi.ifman1 (contents, props changed) head/contrib/dialog/samples/copifuncs/copi.ifman2 (contents, props changed) head/contrib/dialog/samples/copifuncs/copi.ifmcfg2 (contents, props changed) head/contrib/dialog/samples/copifuncs/copi.ifmcfg4 (contents, props changed) head/contrib/dialog/samples/copifuncs/copi.ifmcfg5 (contents, props changed) head/contrib/dialog/samples/copifuncs/copi.ifpoll1 (contents, props changed) head/contrib/dialog/samples/copifuncs/copi.ifpoll2 (contents, props changed) head/contrib/dialog/samples/copifuncs/copi.ifreq1 (contents, props changed) head/contrib/dialog/samples/copifuncs/copi.ifreq2 (contents, props changed) head/contrib/dialog/samples/copifuncs/copi.rcnews (contents, props changed) head/contrib/dialog/samples/copifuncs/copi.sendifm1 (contents, props changed) head/contrib/dialog/samples/copifuncs/copi.sendifm2 (contents, props changed) head/contrib/dialog/samples/copifuncs/copi.trnrc head/contrib/dialog/samples/copifuncs/copi.wheel (contents, props changed) head/contrib/dialog/samples/copifuncs/ifpatch head/contrib/dialog/samples/copismall (contents, props changed) head/contrib/dialog/samples/debian.rc head/contrib/dialog/samples/dialog.py head/contrib/dialog/samples/dselect (contents, props changed) head/contrib/dialog/samples/editbox (contents, props changed) head/contrib/dialog/samples/editbox-utf8 (contents, props changed) head/contrib/dialog/samples/editbox2 (contents, props changed) head/contrib/dialog/samples/editbox3 (contents, props changed) head/contrib/dialog/samples/editbox4 (contents, props changed) head/contrib/dialog/samples/form1 (contents, props changed) head/contrib/dialog/samples/form1-both (contents, props changed) head/contrib/dialog/samples/form1-extra (contents, props changed) head/contrib/dialog/samples/form1-help (contents, props changed) head/contrib/dialog/samples/form1-utf8 (contents, props changed) head/contrib/dialog/samples/form2 (contents, props changed) head/contrib/dialog/samples/form3 (contents, props changed) head/contrib/dialog/samples/form4 (contents, props changed) head/contrib/dialog/samples/form5 (contents, props changed) head/contrib/dialog/samples/form6 (contents, props changed) head/contrib/dialog/samples/fselect (contents, props changed) head/contrib/dialog/samples/fselect-stdout (contents, props changed) head/contrib/dialog/samples/fselect1 (contents, props changed) head/contrib/dialog/samples/fselect1-stdout (contents, props changed) head/contrib/dialog/samples/fselect2 (contents, props changed) head/contrib/dialog/samples/fselect2-stdout (contents, props changed) head/contrib/dialog/samples/gauge (contents, props changed) head/contrib/dialog/samples/gauge0 (contents, props changed) head/contrib/dialog/samples/gauge0-input-fd (contents, props changed) head/contrib/dialog/samples/gauge2 (contents, props changed) head/contrib/dialog/samples/infobox (contents, props changed) head/contrib/dialog/samples/infobox1 (contents, props changed) head/contrib/dialog/samples/infobox2 (contents, props changed) head/contrib/dialog/samples/infobox3 (contents, props changed) head/contrib/dialog/samples/infobox4 (contents, props changed) head/contrib/dialog/samples/infobox5 (contents, props changed) head/contrib/dialog/samples/infobox6 (contents, props changed) head/contrib/dialog/samples/inputbox (contents, props changed) head/contrib/dialog/samples/inputbox-both (contents, props changed) head/contrib/dialog/samples/inputbox-extra (contents, props changed) head/contrib/dialog/samples/inputbox-help (contents, props changed) head/contrib/dialog/samples/inputbox1 (contents, props changed) head/contrib/dialog/samples/inputbox2 (contents, props changed) head/contrib/dialog/samples/inputbox3 (contents, props changed) head/contrib/dialog/samples/inputbox4 (contents, props changed) head/contrib/dialog/samples/inputbox5 (contents, props changed) head/contrib/dialog/samples/inputbox6-8bit (contents, props changed) head/contrib/dialog/samples/inputbox6-utf8 (contents, props changed) head/contrib/dialog/samples/inputbox7 (contents, props changed) head/contrib/dialog/samples/inputmenu (contents, props changed) head/contrib/dialog/samples/inputmenu-stdout (contents, props changed) head/contrib/dialog/samples/inputmenu1 (contents, props changed) head/contrib/dialog/samples/inputmenu2 (contents, props changed) head/contrib/dialog/samples/inputmenu3 (contents, props changed) head/contrib/dialog/samples/inputmenu4 (contents, props changed) head/contrib/dialog/samples/install/ head/contrib/dialog/samples/install/FDISK.TEST head/contrib/dialog/samples/install/makefile.in head/contrib/dialog/samples/install/setup.c head/contrib/dialog/samples/install/setup.help head/contrib/dialog/samples/killall (contents, props changed) head/contrib/dialog/samples/listing (contents, props changed) head/contrib/dialog/samples/menubox (contents, props changed) head/contrib/dialog/samples/menubox-8bit (contents, props changed) head/contrib/dialog/samples/menubox-utf8 (contents, props changed) head/contrib/dialog/samples/menubox1 (contents, props changed) head/contrib/dialog/samples/menubox10 (contents, props changed) head/contrib/dialog/samples/menubox2 (contents, props changed) head/contrib/dialog/samples/menubox3 (contents, props changed) head/contrib/dialog/samples/menubox4 (contents, props changed) head/contrib/dialog/samples/menubox5 (contents, props changed) head/contrib/dialog/samples/menubox6 (contents, props changed) head/contrib/dialog/samples/menubox7 (contents, props changed) head/contrib/dialog/samples/menubox8 (contents, props changed) head/contrib/dialog/samples/menubox9 (contents, props changed) head/contrib/dialog/samples/mixedform (contents, props changed) head/contrib/dialog/samples/mixedform2 (contents, props changed) head/contrib/dialog/samples/mixedgauge (contents, props changed) head/contrib/dialog/samples/msgbox (contents, props changed) head/contrib/dialog/samples/msgbox-help (contents, props changed) head/contrib/dialog/samples/msgbox1 (contents, props changed) head/contrib/dialog/samples/msgbox2 (contents, props changed) head/contrib/dialog/samples/msgbox3 (contents, props changed) head/contrib/dialog/samples/msgbox4-8bit (contents, props changed) head/contrib/dialog/samples/msgbox4-eucjp (contents, props changed) head/contrib/dialog/samples/msgbox4-utf8 (contents, props changed) head/contrib/dialog/samples/msgbox5 (contents, props changed) head/contrib/dialog/samples/msgbox6 (contents, props changed) head/contrib/dialog/samples/msgbox6a (contents, props changed) head/contrib/dialog/samples/password (contents, props changed) head/contrib/dialog/samples/password1 (contents, props changed) head/contrib/dialog/samples/password2 (contents, props changed) head/contrib/dialog/samples/passwordform1 (contents, props changed) head/contrib/dialog/samples/passwordform1-utf8 (contents, props changed) head/contrib/dialog/samples/pause (contents, props changed) head/contrib/dialog/samples/pause-help (contents, props changed) head/contrib/dialog/samples/progress (contents, props changed) head/contrib/dialog/samples/progress2 (contents, props changed) head/contrib/dialog/samples/radiolist (contents, props changed) head/contrib/dialog/samples/radiolist1 (contents, props changed) head/contrib/dialog/samples/radiolist10 (contents, props changed) head/contrib/dialog/samples/radiolist2 (contents, props changed) head/contrib/dialog/samples/radiolist3 (contents, props changed) head/contrib/dialog/samples/radiolist4 (contents, props changed) head/contrib/dialog/samples/report-button head/contrib/dialog/samples/report-edit head/contrib/dialog/samples/report-string head/contrib/dialog/samples/report-tempfile head/contrib/dialog/samples/report-yesno head/contrib/dialog/samples/rotated-data (contents, props changed) head/contrib/dialog/samples/setup-edit head/contrib/dialog/samples/setup-tempfile head/contrib/dialog/samples/setup-utf8 head/contrib/dialog/samples/setup-vars head/contrib/dialog/samples/slackware.rc head/contrib/dialog/samples/sourcemage.rc head/contrib/dialog/samples/suse.rc head/contrib/dialog/samples/tailbox (contents, props changed) head/contrib/dialog/samples/tailboxbg (contents, props changed) head/contrib/dialog/samples/tailboxbg1 (contents, props changed) head/contrib/dialog/samples/tailboxbg2 (contents, props changed) head/contrib/dialog/samples/testdata-8bit (contents, props changed) head/contrib/dialog/samples/textbox (contents, props changed) head/contrib/dialog/samples/textbox.txt head/contrib/dialog/samples/textbox2 (contents, props changed) head/contrib/dialog/samples/textbox3 (contents, props changed) head/contrib/dialog/samples/timebox (contents, props changed) head/contrib/dialog/samples/timebox-stdout (contents, props changed) head/contrib/dialog/samples/timebox2 (contents, props changed) head/contrib/dialog/samples/timebox2-stdout (contents, props changed) head/contrib/dialog/samples/wheel (contents, props changed) head/contrib/dialog/samples/whiptail.rc head/contrib/dialog/samples/yesno (contents, props changed) head/contrib/dialog/samples/yesno-both (contents, props changed) head/contrib/dialog/samples/yesno-extra (contents, props changed) head/contrib/dialog/samples/yesno-help (contents, props changed) head/contrib/dialog/samples/yesno-utf8 (contents, props changed) head/contrib/dialog/samples/yesno2 (contents, props changed) head/contrib/dialog/samples/yesno3 (contents, props changed) head/contrib/dialog/samples/yesno4 (contents, props changed) head/contrib/dialog/tailbox.c head/contrib/dialog/textbox.c head/contrib/dialog/timebox.c head/contrib/dialog/trace.c head/contrib/dialog/ui_getc.c head/contrib/dialog/util.c head/contrib/dialog/version.c head/contrib/dialog/yesno.c head/gnu/lib/libdialog/dlg_config.h (contents, props changed) head/gnu/lib/libodialog/ - copied from r216873, head/gnu/lib/libdialog/ Deleted: head/gnu/lib/libdialog/CHANGES head/gnu/lib/libdialog/COPYING head/gnu/lib/libdialog/README head/gnu/lib/libdialog/TESTS/ head/gnu/lib/libdialog/TODO head/gnu/lib/libdialog/checklist.c head/gnu/lib/libdialog/colors.h head/gnu/lib/libdialog/dialog.3 head/gnu/lib/libdialog/dialog.h head/gnu/lib/libdialog/dialog.priv.h head/gnu/lib/libdialog/dir.c head/gnu/lib/libdialog/dir.h head/gnu/lib/libdialog/fselect.c head/gnu/lib/libdialog/gauge.c head/gnu/lib/libdialog/help.c head/gnu/lib/libdialog/inputbox.c head/gnu/lib/libdialog/kernel.c head/gnu/lib/libdialog/lineedit.c head/gnu/lib/libdialog/menubox.c head/gnu/lib/libdialog/msgbox.c head/gnu/lib/libdialog/notify.c head/gnu/lib/libdialog/prgbox.c head/gnu/lib/libdialog/radiolist.c head/gnu/lib/libdialog/raw_popen.c head/gnu/lib/libdialog/rc.c head/gnu/lib/libdialog/rc.h head/gnu/lib/libdialog/textbox.c head/gnu/lib/libdialog/tree.c head/gnu/lib/libdialog/ui_objects.c head/gnu/lib/libdialog/ui_objects.h head/gnu/lib/libdialog/yesno.c head/gnu/usr.bin/dialog/COPYING head/gnu/usr.bin/dialog/README head/gnu/usr.bin/dialog/README.lib head/gnu/usr.bin/dialog/TESTS/ head/gnu/usr.bin/dialog/dialog.1 head/gnu/usr.bin/dialog/dialog.c Modified: head/ObsoleteFiles.inc head/UPDATING head/gnu/lib/Makefile head/gnu/lib/libdialog/Makefile head/gnu/lib/libodialog/Makefile head/gnu/usr.bin/dialog/Makefile head/share/mk/bsd.libnames.mk head/sys/sys/param.h head/usr.sbin/sade/Makefile head/usr.sbin/sysinstall/Makefile head/usr.sbin/tzsetup/Makefile Modified: head/ObsoleteFiles.inc ============================================================================== --- head/ObsoleteFiles.inc Wed Jan 12 14:38:17 2011 (r217308) +++ head/ObsoleteFiles.inc Wed Jan 12 14:55:02 2011 (r217309) @@ -38,6 +38,51 @@ # xargs -n1 | sort | uniq -d; # done +# 20110112: Update dialog to new version, rename old libdialog to libodialog, +# removing associated man pages and header files. +OLD_FILES+=usr/share/man/man3/draw_shadow.3.gz \ + usr/share/man/man3/draw_box.3.gz usr/share/man/man3/line_edit.3.gz \ + usr/share/man/man3/strheight.3.gz usr/share/man/man3/strwidth.3.gz \ + usr/share/man/man3/dialog_create_rc.3.gz \ + usr/share/man/man3/dialog_yesno.3.gz usr/share/man/man3/dialog_noyes.3.gz \ + usr/share/man/man3/dialog_prgbox.3.gz \ + usr/share/man/man3/dialog_textbox.3.gz usr/share/man/man3/dialog_menu.3.gz \ + usr/share/man/man3/dialog_checklist.3.gz \ + usr/share/man/man3/dialog_radiolist.3.gz \ + usr/share/man/man3/dialog_inputbox.3.gz \ + usr/share/man/man3/dialog_clear_norefresh.3.gz \ + usr/share/man/man3/dialog_clear.3.gz usr/share/man/man3/dialog_update.3.gz \ + usr/share/man/man3/dialog_fselect.3.gz \ + usr/share/man/man3/dialog_notify.3.gz \ + usr/share/man/man3/dialog_mesgbox.3.gz \ + usr/share/man/man3/dialog_gauge.3.gz usr/share/man/man3/init_dialog.3.gz \ + usr/share/man/man3/end_dialog.3.gz usr/share/man/man3/use_helpfile.3.gz \ + usr/share/man/man3/use_helpline.3.gz usr/share/man/man3/get_helpline.3.gz \ + usr/share/man/man3/restore_helpline.3.gz \ + usr/share/man/man3/dialog_msgbox.3.gz \ + usr/share/man/man3/dialog_ftree.3.gz usr/share/man/man3/dialog_tree.3.gz \ + usr/share/examples/dialog/README usr/share/examples/dialog/checklist \ + usr/share/examples/dialog/ftreebox usr/share/examples/dialog/infobox \ + usr/share/examples/dialog/inputbox usr/share/examples/dialog/menubox \ + usr/share/examples/dialog/msgbox usr/share/examples/dialog/prgbox \ + usr/share/examples/dialog/radiolist usr/share/examples/dialog/textbox \ + usr/share/examples/dialog/treebox usr/share/examples/dialog/yesno \ + usr/share/examples/libdialog/Makefile usr/share/examples/libdialog/check1.c\ + usr/share/examples/libdialog/check2.c usr/share/examples/libdialog/check3.c\ + usr/share/examples/libdialog/dselect.c \ + usr/share/examples/libdialog/fselect.c \ + usr/share/examples/libdialog/ftree1.c \ + usr/share/examples/libdialog/ftree1.test \ + usr/share/examples/libdialog/ftree2.c \ + usr/share/examples/libdialog/ftree2.test \ + usr/share/examples/libdialog/gauge.c usr/share/examples/libdialog/input1.c \ + usr/share/examples/libdialog/input2.c usr/share/examples/libdialog/menu1.c \ + usr/share/examples/libdialog/menu2.c usr/share/examples/libdialog/menu3.c \ + usr/share/examples/libdialog/msg.c usr/share/examples/libdialog/prgbox.c \ + usr/share/examples/libdialog/radio1.c usr/share/examples/libdialog/radio2.c\ + usr/share/examples/libdialog/radio3.c usr/share/examples/libdialog/text.c \ + usr/share/examples/libdialog/tree.c usr/share/examples/libdialog/yesno.c +OLD_DIRS+=usr/share/examples/libdialog usr/share/examples/dialog # 20101114: Remove long-obsolete MAKEDEV.8 OLD_FILES+=usr/share/man/man8/MAKEDEV.8.gz # 20101112: vgonel(9) has gone to private API a while ago Modified: head/UPDATING ============================================================================== --- head/UPDATING Wed Jan 12 14:38:17 2011 (r217308) +++ head/UPDATING Wed Jan 12 14:55:02 2011 (r217309) @@ -22,6 +22,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 9. machines to maximize performance. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.) +20110112: + The system dialog(1) has been replaced with a new version previously + in ports as devel/cdialog. dialog(1) is mostly command-line compatible + with the previous version, but the libdialog associated with it has + a largely incompatible API. As such, the original version of libdialog + will be kept temporarily as libodialog, until its base system consumers + are replaced or updated. Bump __FreeBSD_version to 900030. + 20110103: If you are trying to run make universe on a -stable system, and you get the following warning: Added: head/contrib/dialog/CHANGES ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/contrib/dialog/CHANGES Wed Jan 12 14:55:02 2011 (r217309) @@ -0,0 +1,1526 @@ +-- $Id: CHANGES,v 1.300 2010/04/28 21:27:22 tom Exp $ +-- Thomas E. Dickey + +This version of dialog was originally from a Debian snapshot. I've done this +to it: + +2010/04/28 + + several improvements to configure script: + + modify CF_CURSES_TERM_H to handle cases such as cygwin where + packager has installed curses.h and term.h in different + directories, e.g., to wedge in a termcap library. + + modify CF_XOPEN_SOURCE, adding special case for OpenSolaris + + modify CF_MAKE_TAGS to add check for exctags and exetags, prefer to + ctags and etags to work around pkgsrc (NetBSD) renaming. + + correct CF_FIND_LINKAGE, setting cache variable for library_file in + the special case where no directory search is made. + + improve CF_GCC_VERSION, suppress stderr for c89 alias of gcc. + + improve CF_GCC_WARNINGS, moving -W and -Wall into the list to + check, since c89 alias for gcc complains about these options. + + modify CF_HEADER_PATH, to not search for variations of everything + in the current include-path + + use "mkdir -p", remove mkdirs.sh + + use CF_CURSES_HEADER to fill in possible subdirectory used for + ncurses header filename. + + modify CF_XOPEN_CURSES to work around current ncurse header loss of + predefinition of _XOPEN_SOURCE_EXTENDED + + add "--disable-rpath-hack" option, along with scripting to add + rpath option to libraries found in unusual places. + + modify pause widget to autosize like gauge, and to omit the area for + buttons when none are displayed. + + fix an infinite loop in dlg_button_layout() if there are no buttons + to display (Debian #579390). + + add makefile rules for generating html, etc., documentation from + nroff. + > patches by Samuel Martín Moro + + reset errors in tailbox before reading new character. + + modify dlg_draw_scrollbar(), omitting hiding percentages in boxes + when no arrows or scrollbar are needed. + + correct value of row for scrollbars in formbox. + + update es.po from + http://translationproject.org/latest/dialog/ + +2010/01/19 + + split up binding tables in inputbox and similar widgets to avoid + conflict between cursor-key use for input-string versus navigation + (report by slakmagik). + + if strftime() is available, support --time-format option for timebox + widget. + + if strftime() is available, support --date-format option for calendar + widget (request by Walter Harms). + + build-fixes for linking to intl library in /usr/local + + add --scrollbar option, use in most widgets to show a scrollbar on + the right margin of the data. That is cosmetic, does not respond to + the mouse. + + reuse functions from msgbox to allow prompt for yesno box to be + scrolled in a too-small window. + + correct mapping of button-codes with --nook option (report by Lebedev + Vadim). + + cleanup sample scripts using new utility scripts setup-* and report-*, + and allow command-line parameters to be added, for ad hoc testing. + + correct change to tailbox widget from 2009/02/22 using + dlg_button_layout(), which broke that widget. + + document some of the portability caveats. + + modify gauge widget to service callbacks (prompted by patch and + comments by Frank Sorenson). + + modify editbox to allow its input buffer to be larger than MAX_LEN + unless bounded by the --max-input option, and add limit-checks for + the buffer (report by slakmagik). + + improve manpage description of --checklist (report by Isaac Good). + + several improvements to configure script macros: CF_ADD_CFLAGS + CF_CURSES_FUNCS CF_DISABLE_ECHO CF_GCC_ATTRIBUTES CF_MATH_LIB + CF_POSIX_C_SOURCE CF_REMOVE_DEFINE CF_WITH_LIBTOOL CF_XOPEN_SOURCE + + add is.po, lv.po, sw.po from + http://translationproject.org/latest/dialog/ + + update de.po, id.po, pl.po, pt_BR.po, vi.po from + http://translationproject.org/latest/dialog/ + +2009/02/22 + + do not display top-arrows for scrolling if they would overwrite the + title (report by slakmagik) + + consistently use dlg_button_layout() when autosizing widgets (report + by slakmagik). + + add "-" and "+" bindings to timebox widget. + + add "-" and "+" bindings to calendar widget (OpenSolaris #6739031). + + review/fix other widgets to ensure that they exit on error, e.g., + editbox.c + + modify check in dlg_getc() to treat closure of either stdin or stdout + as an error, rather than both. This is more stringent than the check + added in 2007/07/04. + + modify dlg_result_key() to map curses ERR to dialog's error exit + (adapted from patch by Domagoj Pensa). + + updated several configure script macros: + + consistently append, rather then prepend, to $CFLAGS + + add cases for AIX 6, mint, and dragonfly to CF_XOPEN_SOURCE + + use $PATH_SEPARATOR rather than $PATHSEP + + improve CF_FIND_LINKAGE, use in checks for more libraries, e.g., + libutf8 and libiconv. + + update da.po, ru.po from + http://translationproject.org/latest/dialog/ + + updated config.guess, config.sub + +2008/08/19 + + amend changes to quoting; by default, the checklist widget quotes its + output except when --separate-output is used (Debian #495600). + + add eo.po from + http://translationproject.org/latest/dialog/ + +2008/07/27 + + add pointer-check when closing piped input (cf: 2007/03/25) + + use here-documents rather than echo, when passing backslashes in + strings, to accommodate the Debian shell "dash" (Debian #489563). + + recode several ".po" files to UTF-8 for consistency. + + change --separator to be an alias for --output-separator, for + compatibility with Xdialog. + + add --output-separator option to allow scripts to change the output + separator from a newline (for --separate-output) or a space. This + applies to other widgets such as forms and editboxes which normally + use a newline. + + add --column-separator option, to tell where column-aligned data for + radio/checkboxes or menus should be split into columns (request by + Ben Dibbens). + + add id.po, ku.po, lt.po, nb.po and update ca.po, fr.po, gl.po, ja.po, + th.po from + http://translationproject.org/latest/dialog/ + + add "--quoted" option, to quote values returned by formbox, etc. + + change names of EX/ES macros in dialog.1 to work around name- + pollution caused by changes in Debian #470729. + +2008/03/16 + + modify dlg_mouse_wgetch() to loop only on errors that it detects, + rather than on errors forwarded from dlg_getc(), in case those are + due to a disconnected terminal (report by Anatoli Sakhnik). + + allow "default" color in dialogrc file (request by Dashing). + + fix an indexing error in formbox (Debian #469190, report by Dmitry + Gomerman, patch by Vladimir Mezentsev). + + add bindings for CTL/N, CTL/P to checklist, fselect and menubox + widgets (prompted by discussion with John Gatewood Ham). + + add be@latin.po, th.po and update zh_TW.po from + http://translationproject.org/latest/dialog/ + > patches by Peter Astrand: + + modify dlg_auto_sizefile() to ensure the computed height and width + do not extend beyond the screen size. + + use unctrl() to make inputstr.c work with Solaris curses. + > patches by Yura Kalinichenko: + + extend pause widget to use ok/cancel buttons (the former giving the + same result as a timeout), rather than an exit-button. + + fix initialization parameter of inputbox for multibyte characters. + +2007/10/28 + + improve layout of checklist.c, menubox.c, ensuring that the list fits + within the available space (report by Gordon Schumacher). + + undo removal of redundant chunk from checklist.c in 2007/02/27, + since some scripts depend on this (Debian #443077). + + update nl.po from + http://translationproject.org/latest/dialog/ + +2007/09/30 + + correct cursor position in editbox after deleting past left margin + (report by Joe McDonagh). + + add "--no-ok" option (patch by Klaus Knopper). + + modify "--file" option to allow it to read from sources other than + a regular file (patch by Pieter van Beek). + + improved hi.po (Hindi) (from Klaus Knopper). + + fix masking of attributes in dlg_draw_shadow() which lost + line-drawing bit (report by David Everly). + + fix editbox widget to handle zero-length files (report by Joe + McDonagh). + + update "po" files eu.po ga.po it.po ms.po sv.po vi.po wa.po zh_CN.po + from + http://translationproject.org/latest/dialog/ + +2007/07/04 + + revise the resizable shadows so textbox's search dialog has text + visible in the shadow again. + + improve the prefixing of autoconf-related symbols in the installed + header files, taking into account symbols which are not mentioned in + dlg_config.h + + add a check when ERR returned from wgetch() to ensure that the + input/output streams are still valid. If that happens, force + ESC to be returned, quitting dialog (report by Reiner Huober). + + add extern "C" declarations to dlg_keys.h so the corresponding + function declarations are exported to C++ as C symbols. + + updated config.guess, config.sub + +2007/06/04 + + fix a memory leak in editbox.c + + revise change from 2007/02/27 which moved the logic for trimming + option text out of the loop because that moved it before + initialization of the "--trim" option. Put it back in the loop, but + limit the tokens which are trimmed to cover only those for the + current widget. Also ensure that all tokens for a widget are + trimmed, rather than only the first, which is usually text (report by + Lai Zit Seng). + + add _FILE_OFFSET_BITS definition in CF_LARGEFILE configure macro. + +2007/05/28 + + revise changes needed to make textbox's searchbox handle ncurses + resizing events, e.g., by handling the ERR in that code rather than + in dlg_getc() (Debian #423732). + +2007/05/14 + + supply a repaint_text() call in tailbox.c which was bypassed because + dlg_getc() now retries on ERR (Debian #423732, cf: 2007/02/27). + + modify dlg_getc() to fix regression in 2007/02/27 for use of + timeouts, broken by fixes to allow resizing of textbox (patch by + Arnaud Fontaine, Debian #418905). + + modify dlg_getc() to fix regression in use of TAB for traversal of + tailboxbg widgets due to changes for user-definable key bindings + (Debian #418917, cf: 2005/12/07). + +2007/04/09 + + add case in dlg_getc() to handle tab for traversing between widgets + as in the samples/tailboxbg1 script. Normally the key binding + overrides, except for the special case where multiple widgets are + available. + + add configure --with-libtool-opts, which passes its value to the + library creation and linkage passes, e.g., + --with-libtool-opts=-static + to force the result to be static libraries (prompted by a related + request by Santiago Vila). + > several fixes based on Coverity scan: + + fix memory leak in timebox, calendar widgets if the widget cannot + be created. + + fix memory leak in dlg_key.c if a user binding's storage cannot + be allocated. + + fix improperly delinked entry in dlg_del_window(). + +2007/03/25 + + improve mkdirs.sh to ignore error from mkdir if the target directory + happens to already exist (suggested by Harald van Dijk). + + amend documentation for --gauge to reflect longstanding quirk which + allows it to read percentage from the first line after an "XXX" + (Debian #415596). + + fix makefile dependency so "configure && make install-lib" works. + + fix resizing of msgbox; the message was not repainted (Debian + #415022, patch by Brian Rolfe). + + fix typo in makefile LIB_OBJECT symbol from 2007/02/27 changes. + + improve CF_MBSTATE_T by including stdio.h, needed on Tru64 to make + the test-compile work. + + change makefile to install dialog.3 as part of install-lib rather + than install-man (report by Thomas Klausner). + + use $(INSTALL_SCRIPT) for installing dialog-config (report by + Santiago Vila). + +2007/02/27 + + add dialog-config script, which provides applications with compile- + and link-information for using the dialog library. + + move calls to dlg_trim_string() out of loop in dialog.c, so each + string is trimmed once (report by Ivanov Makcim). + + modify textbox.c to allow resizing while the search box is presented. + This relies on bug-fix in ncurses 5.6 20070224. + + use dgettext() rather than gettext() to allow libdialog to use the + messages installed for dialog (patch by Vajna Miklos). + + modify inputbox to position the cursor initially at the end of any + initial-text (request by Klaus Knopper). + + add configure --with-valgrind for testing. + + add --trace option, for debugging. + + add --ascii-lines and --no-lines options to control the way the + line-drawing characters are rendered (request by Klaus Knopper). + + add --keep-tite option, to override suppression of smcup/rmcup + (termcap ti/te) strings which would switch to xterm's alternate + screen (Debian #380665). + + modify fselect/dselect to use space-character as a completion + operator like tab in shells (patch by Yoram Bar Haim). + + remove a redundant chunk from checklist.c which reported status a + second time if the help-button was pressed but no item-help option + was in effect (Andre C Barros). + + fix return-status from "dialog --pause" (Debian #409254). + + add --mixedform and --mixedgauge dialogs based on patch from + Kiran Cherupally. + + add some notes on compatibility to the manpage. + + add editbox dialog (compatible with Xdialog, Debian #368478). + + add dselect dialog (compatible with Xdialog). + + remove an incorrect initialization of .text_flen from 2005/12/07 + changes, which made all fields in a form editable (Debian #404045). + + report error and exit if a filename given for the --file option + cannot be opened (report by "Dog Walker"). + + make --program-prefix, etc., work in configure script, e.g., to make + program install as "cdialog". This does not alter the library name. + + add install-bin, install-man (and uninstall) rules to makefile. + + updates for configure script macros (originally vile, lynx, xterm): + AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, CF_CURSES_CPPFLAGS, + CF_CURSES_LIBS, CF_INCLUDE_DIRS, CF_LARGEFILE, CF_MAKEFLAGS, + CF_PATH_SYNTAX, CF_SUBDIR_PATH, CF_SUBST, CF_WITH_DBMALLOC, + CF_WITH_DMALLOC, CF_WITH_LIBTOOL and CF_XOPEN_SOURCE. + + updated config.guess, config.sub + > adapted fixes from SuSE package (Werner Fink): + + add some limit-checks in dlg_draw_shadow(). + + make shadows resizable, using new dlg_move_window() in msgbox.c + and yesno.c + + add dialog_state.input, use this in end_dialog() to decide whether + to close pipe inputs and call _exit(), or simply call exit(). + + modify dlg_ctl_size() to check if the reason for failure is because + shadows were used; retry in that case without shadows. + + add signal catcher for SIGSEGV. + +2006/02/21 + + fix logic in split-out dlg_menu() to separate inputmenu and menu + handling (report by Auke Kok). + +2006/01/26 + + fix fselect.c to compile properly with Intel compiler and largefile + option. + + improve configure script checks for curses headers to work around + breakage in some packages, e.g., cygwin. + + amend correction to menubox, fixes normal menus (Debian #349969). + +2006/01/19 + + completed dialog.3 manpage + + modify configure script option --with-gauge to cover all flavors of + the gauge (gauge, pause, progressbox). + + add progressbox widget, a hybrid of gauge and tailbox (Reznic Valery). + + fix a comparison in checklist.c to avoid unneeded arrows when the + list happens to fit in the window (patch by Peter Postma). + + correct wrapping computation in print_line() from 2005/11/07 changes + (report by Barry Kauler). + + update sv.po (comments only). + http://www.iro.umontreal.ca/translation/maint/dialog/ + + correct logic that passes the callback for menubox to do inputmenu + operations from 2005/12/7 changes (report by Reznic Valery). + +2006/01/01 + + add a null-pointer check in dlg_register_buttons(), needed for the + tailboxbg (Debian #345524). + + fix a few memory leaks reported by valgrind. + +2005/12/19 + + correct return-values of new functions dlg_default_listitem() and + dlg_default_formitem() (Debian #344002). + + add Swedish translation (Debian #343303, by Daniel Nylander) + + begin function-summaries in dialog.3 + + update config.guess, config.sub + +2005/12/07 + + change license to LGPL. + + change naming convention in dlg_colors.h to make it easier to read, + and incidentally remove the last chunk of code preventing relicense. + + add --passwordform (request by Reznic Valery). + + modify pause.c, msgbox.c to work with --help-button. + + modify formbox.c, inputbox.c, textbox.c, yesno.c to work with extra + button (adapted from Reznic Valery patch). + + modify dlg_exit_label(), dlg_yes_labels() and dlg_ok_label() to allow + help-button (prompted by Reznic Valery patch). + + add zh_CN.po file from + http://www.iro.umontreal.ca/translation/maint/dialog/ + + provide alternate interfaces for dialog_checklist(), dialog_menu() + and dialog_form(): dlg_checklist(), dlg_menu() and dlg_form() + (discussion with Michael Gebetsroither). + + add/use dlg_result_key() to allow binding function keys to the + buttons. + + implement user-definable key bindings in the rc-file. + + modify inline cases for KEY_xxx values to use binding tables in new + module dlg_keys.c + + add several DIALOG_STATE items to the rc file: aspect, + separate_widget, tab_len and visit_links + + add a tab-adjustment to dlg_print_text() to improve solution from + 2005/10/30, e.g., in the samples/form* scripts. + + fix an off-by-one which made mouse-selection not work for menu items + past the first page (GenToo #112024, patch by Harald van Dijk). + +2005/11/07 + + extend dlg_add_result() to allow caller to pass a null pointer + for dialog_vars.input_result (Debian #336986). + + correct length used for text portion of radio/checkboxes (report by + Valentin Stoykov). + + modify msgbox, textbox and center_label() to work properly for + LANG=bg_BG.utf8 examples by Valentin Stoykov. + + modify use of freopen() to work with opaque FILE type on DragonFly + (report by Jeremy C Reed). + + modify print_line() to compute columns, use that for the call to + dlg_print_line(). Fix a few places where strlen() was used instead + of dlg_count_columns() (reports by Valentin Stoykov). + +2005/10/30 + + reviewed changes since beginning development in 1999, decided that + there are no appreciable portions of original code remaining. + Marked sources to correspond. + + improve cache performance for inputstr.c using tsearch() rather than + a linked-list search (Debian #294853). + + remove a special case for darwin in CF_XOPEN_SOURCE configure macro. + + add ms.po file from + http://www.iro.umontreal.ca/translation/maint/dialog/ + + remove an assignment that caused the cursor to appear initially on a + form field rather than button (Debian #333506). + + modify buttons.c to count columns rather than bytes, fixing case + where buttons were laid out incorrectly (report by Valentin Stoykov). + + change dlg_print_text() to count columns rather than bytes, fixing + case where fewer columns were displayed in menu than expected + (report by Valentin Stoykov). + +2005/10/05 + + improve fix for dlg_does_output(), eliminating redundant leading + separator. + + fill background color for item-help text (report by Peter Postma). + + correct interaction between --separate-output and --output-separator + broken in 2005/09/11 fix for Debian #326918 (Debian #331440). + + update config.guess, config.sub + +2005/09/11 + + undo doubled adjustment for left/right margins when wrapping text + for msgbox, gauge and pause (report by Xyba). + + correct position of scrolled text in formbox broken by 2004/12/19 + changes (report by Konrad Jelen). + + call dlg_does_output() from dlg_add_result(), ensuring that + separators are used when combining widgets such as formbox (report by + John Suykerbuyk). + + fix marker in textbox.c to make it disappear at the top of the file + (report by Patrick J. Volkerding). + + fix marker shown in arrows.c for checklists, etc., which was "(+)" + where it should have been "(-)" (report/patch by Patrick J. + Volkerding). + + fix --input-fd (changes in glibc since 2003 made dialog hang on exit + due to the way dialog updated stdin). + + restore default value (a tab) for --separator or --separate-widget + lost in 2003/11/26 changes (Debian #326918). + + make several widgets handle SIGWINCH (calendar, checklist, formbox, + fselect, inputbox, menubox, pause, tailbox, textbox, timebox). Only + msgbox and yesno had been done before. Note that some still have + fixed geometry requirements, so they cannot be shrunk below a given + threshold. Also, these changes do not address traversal, e.g., for + tailboxbg. + + make gauge widget handle SIGWINCH with ncurses (Debian #305705). + + add configure option to control whether largefile support is + compiled-in (Debian #298882). + + update eu.po (Debian #312622, patch by Piarres Egana). + + add/update po files from + http://www.iro.umontreal.ca/translation/maint/dialog/ + fi.po, rw.po, sr.po, tr.po, zh_TW.po + + fixes for configure script: + + improve script for determining gcc version + + improve checks for Intel compiler and related warning options + + improve checks for defining _XOPEN_SOURCE (or alternatives) and + _POSIX_C_SOURCE + + update config.guess, config.sub + +2005/03/06 + + add/update po files from + http://www.iro.umontreal.ca/translation/maint/dialog/ + ga.po, it.po + + revert last change for da.po; it was from an older version (report by + Morten Brix Pedersen). + +2005/02/06 + + modify makefile.in so --disable-echo applies to libtool builds. + + corrected malloc size used for editable fields in formbox widget to + match the function which updates the corresponding buffer. + + modify formbox widget's use of flen to allow negative values to be + used to limit the length of the displayed field. + + improve description in manpage of output from formbox widget + (Debian #292418). + + modify formbox widget to allow fields with flen==0 to display + (Debian #292417). + + improved configure macros CF_POSIX_C_SOURCE and CF_XOPEN_SOURCE, to + avoid redefinition warnings on cygwin. + + fix a typo in inputmenu-stdout found via "sh -n" (report by Steve + Grubb). + + add/update po files from + http://www.iro.umontreal.ca/translation/maint/dialog/ + ca.po, da.po, hu.po, nl.po, rm.po, ro.po, vi.po + +2005/01/16 + + add --args option to help with debugging scripts. + + adapted some new po files from Debian package for whiptail: ar.po, + bg.po, gl.po, hi.po, hr.po, mg.po, mk.po, ro.po, sq.po and zh_TW.po + + update da.po (Morten Brix Pedersen). + + add configure check for Intel 8.0 compiler, to set appropriate + warning options. + + update config.guess, config.sub + +2004/12/22 + + correct a typo in 2004/12/19 changes which caused width of multibyte + characters to be incorrectly computed in some locales. + + modify --version and --help options to write consistently to the + standard output (report by Santiago Vila). + + modify tailboxbg by resetting tty modes at the point where it forks a + process to update the screen, rather than waiting until that process + exits. This improves user feedback by making it apparent that dialog + is no longer processing input after that point (Redhat Bugzilla + #142538). + + minor updates to some .po files using Babel Fish, comparing with lynx. + + update es.po (Santiago Vila). + + work around bug in NetBSD 1.6 curses which seems to be confused by + reusing color pairs with different video attributes. The problem + does not appear in NetBSD 2.0 curses (but its headers do not provide + version info, so color-caching is not available for that + configuration). + + modify pause and gauge widgets to ensure that reverse-video progress + bar is visible when the background is reversed, e.g., using the + default non-color attributes. + + use chtype rather than attr_t, to build with old Solaris curses, + used in save/restore operation from 2004/09/20. + +2004/12/19 + + add pause-widget (patch by Yura Kalinichenko). + + modify exit-code returned on selecting the "Help"-button when the + --item-help option is given. Previously this returned the same code + as "OK", since it combines output for "OK" with the help status. It + now returns the help-code, but this can be overridden by setting the + environment variable $DIALOG_ITEM_HELP (reports by Erika Pacholleck + and Sebastian Muesch). + + modify formbox widget so input-length is not limited to field-length + (report by David Liebermann). + + localize the label on the search box for textbox widget (report by + Erika Pacholleck). + + correct usage message detail for fselect, which listed an extra + parameter (Debian #284008). + + add include for in ui_getc.c to build with QNX 4.25 + using Watcom 10.6 (patch by Len Meakin). + + modify behavior when no locale (or POSIX locale) is set to allow + legacy interpretation of Latin-1 character set (Debian #284795). + +2004/11/18 + + correct computation of column width for menubox/checkbox tags, for + multicolumn characters, e.g., the menubox-utf8 example. + + correct calls to wbkgdset(), which set the background attribute but + not the corresponding character (ncurses uses blank if none is given). + + improve configure script check for _XOPEN_SOURCE and _POSIX_C_SOURCE. + + improved limit-computation in show_message() to allow for scrolling + very long messages. + + adjust scrolling logic in msgbox to account for the one-line offset + used by the logic which wraps text in a box, thus avoiding leaving + an extra blank line (report by Maxim Sobolev). + +2004/09/20 + + add samples/whiptail.rc + + add samples/dialog.py (noting that a later version of this exists + as pythondialog, but this is relatively self-contained). Modified + the script to accept the $DIALOG environment variable like the other + sample scripts, to specify the path of the program to use. + + modify the install rule for header-files so the autoconf names in + dlg_config.h (and corresponding usage in dialog.h, etc), are altered + from "HAVE_xxx" to "DLG_HAVE_xxx", etc. + + add a check for getenv("HOME") in rc.c + + add a call to end_dialog() in signal_handler for tailboxbg (from + patch by Werner Fink). + + correct initialization in checklist and radiobox for --default-item, + scrolling as needed. + + modify --visit-items option so that it puts the cursor initially on + the list (in menubox, checklist and radiobox), accepts abbreviations + for the buttons when the cursor is on the button-row, and otherwise + (when --visit-items is given) abbreviations apply only to the list + (report by Erika Pacholleck). + + modify a few widgets (inputbox, textbox, yesno) to beep on unexpected + input. + + modify some msgbox widget to accept abbreviations of its button + label, for consistency with other widgets (request by Erika + Pacholleck). + + corrected logic of dlg_char_to_button(), making it check only the + first uppercase letter in each button label rather than all uppercase + letters (report by Erika Pacholleck, cf: 2003/09/10). + + improved description of --clear and --keep-window options (adapted + from Erika Pacholleck). + + move discussion of --beep and --beep-signal options to Obsolete + Options section of manpage, remove these from the help-message + (report by Erika Pacholleck). + + bracket extern's in dialog.h with C++ extern "C" declaration, in case + the library is used from a C++ application. + + modify inputmenu examples to allow ESC to cancel the script. + + modify inputmenu widget to cancel edit on a TAB or ESC. + + modify inputmenu widget to use the same color scheme for the editable + text as the inputbox widget. + + modify samples/killall to work around differences in "cut" versions. + + use the color-caching from the \Z logic when loading the ".rc" file, + thereby reducing the number of color pairs required, and making it + less likely that deriving color pairs for drawing arrows on a given + background will run out of colors. + + save/restore window attributes in dlg_draw_arrows() and similar + functions, to allow widgets to draw arrows using the widget's + background rather than a common/fixed value (request by Erika + Pacholleck). + + modify textbox widget so the down-arrow will be hidden when at the + end of the file. (Modifying the up-arrow to be hidden is harder - + will do this when implementing scrollbars). + + correct off-by-one in fselect.c which left down-arrows showing at + the bottom of directory- and file-lists (report by Erika Pacholleck). + + improve display of percentages by omitting blanks where lines should + be shown. + + modify logic for \Z escapes to make those that set video attributes + not clear the colors (report by Erika Pacholleck). + + modify logic for \Z escapes to allow foreground and background + colors to be the same, provided that bold attribute is set. + Also improved the logic for choosing a background color when the + foreground and background are the same (report by Erika Pacholleck). + + update configure script macro CF_XOPEN_SOURCE, ensuring that the + _POSIX_C_SOURCE value is defined with a specific value (bug report + originally for lynx). + + fix configure script so that po/makefile is generated properly when + the configure --srcdir --enable-nls options are used. + + modify makefile.in to allow build/install from another directory, + i.e., using configure --srcdir (patch by Mike Castle). + + updated da.po (Debian #262587, Morten Brix Pedersen). + + modify some sample scripts to avoid using grave quotes nested within + double quotes with multiple file redirection, which does not work + with Solaris /bin/sh (report/analysis by Eric Haller). + + check for end of string immediately after a \Z escape to avoid + displaying the null terminator as a ^@ (report by Erika Pacholleck). + > patches by Erika Pacholleck: + + modify calendar.c, fselect.c and timebox.c to use color scheme like + other lists, using menubox colors rather than dialog colors. + + correct charset for po/de.po, translate messages for "Help" and + "Rename". + + omit parentheses around percentage in textbox.c + + correct a few mismatched attributes, e.g., searchbox_attr in textbox.c, + percentage in msgbox.c, + + +2004/07/31 + + add test scripts to cover zero-width column case. + + remove limit checks from checklist.c and menubox.c (cf: 2004/07/28), + since some scripts use zero-width columns (Debian #262411 and report + by Kyle Sallee). + +2004/07/29 + + modify msgbox.c to only reserve space for percentage shown as part + of scrollable text for the msgbox widget. This makes infobox look + as it did before 2004/06/06 changes (report by Vinesh Christopher) + +2004/07/28 + + remove redundant calls to wtimeout() from widgets since wtimeout() + is properly called from ui_getc() where it is controlled by the + --timeout option (bug report by juanjo). + + add limit checks in checklist.c and menubox.c for very narrow screens + (prompted by Steve Grubb patch). + + initialize step in dlg_draw_buttons() in case it is used to draw + a vertical list of buttons (prompted by Steve Grubb patch). + > fixes by Steve Grubb: + + correct logic in checklist.c (cf: 2003/11/26 changes) which turned + quoting on unnecessarily for radiobox, breaking some old scripts. + + increase size of array in dlg_ok_labels() to avoid overrun if extra + and help buttons are used (cf: 2002/06/12 changes). + + initialize fkey variable in menubox.c and textbox.c (cf: 2003/07/12). + +2004/07/21 - release 1.0 + + minor updates for configure script, i.e., CF_XOPEN_SOURCE, + CF_NCURSES_LIBS macros. + + update config.guess, config.sub + + add nl.po (Jacques Weewer). + +2004/06/06 + + add --visit-items option, which allows the user to tab to the item + list in the checklist/radiobox and menubox widgets (request by + Ari Moisio). + + use wide-character line-drawing for up/down arrows when configured + for wide-characters, gives better results with uxterm. + + limit the number of times a --file option can be used, to prevent + runaway recursion if a --file option is embedded within a file which + is included. + + improve discussion of wrapping in the manpage (Debian #251937). + + modify msgbox to allow it to scroll vertically like textbox (Debian + #233276). This only works with ncurses. + + implement $DIALOGVARS environment variable to apply common options to + dialog_vars when it is reset before processing other common options. + + add --single-quoted option to control whether output is double-quoted + with '"' or single-quoted with single-quotes. + + revert the default quoting behavior of checklists to use + double-quotes (report by Mark K Post regarding Slackware scripts). + + add eu.po (Basque) (Piarres Beobide Egaa). + + add ca.po (Catalan) (Jordi Mallach). + +2004/04/21 + + add a call to flushinp() to init_dialog(), to discard any typeahead + before dialog is invoked (Debian #244746). + + correct dlg_match_char() function, which was broken during rewrite + to support wide-characters (Debian #244777). + + improved ru.po, uses UTF-8 charset (Leonid Kanter, Redhat Bugzilla + #119200). + + correct position of shadow drawn for dialogs, which appeared to work + for most versions of curses (other than NetBSD) but would have been + visible for certain color schemes (discussion with Julian Coleman). + + correct loop-exit in longest_word() (Tomas Heredia, forwarded by + Santiago Vila). + + add cy.po (Welsh) (Dafydd Harries). + +2004/03/16 + + modify quoting of results to use single-quote rather than double + quote, and ensure that results containing a quote or backslash + character are escaped (report by Florent Rougon) + + remove an incorrect comparison from checklist which made cursor + stick on the last line, from 2004/03/01 changes. + +2004/03/14 + + add a dependency to install library if "--with-libtool" is used. + + add manpage for the library. + + add "--file" + + modify formbox.c to support "--help-status" like menubox. + + modify checklist.c to add item name to the "HELP" string when + "--help-button" is used and no --item-help option is given (Debian + #236841, report/patch by Jorg Sommer). + + rename colors.h to dlg_colors.h, install that when the library is + installed. + + add copyright notice to usage ("--help") message. + + correct a missing bounds check for mouse-clicks in menubox (prompted + by Debian #233044). + + updated several configure-script macros: AM_GNU_GETTEXT, + AM_WITH_NLS, CF_OUR_MESSAGES, CF_PROG_EXT, CF_WITH_DBMALLOC, + CF_WITH_DMALLOC, CF_WITH_LIBTOOL, CF_XOPEN_SOURCE. + +2004/03/01 + + improve layout of calendar widget to allow for very long button + labels (report by Santiago Vila). + + correct logic for $DIALOG_TTY, broken in 2003/11/30. The environment + variable must evaluate to a nonzero integer (report by Florent + Rougon). + + document interaction between "--default-no" and "--no-cancel" options + in manpage (Debian #223488). + + change configure script to use autoconf 2.52+patch, to work around + issues with Estonian locale (report by Seemant Kulleen). + + add uk.po (Ukrainian) (Debian #232441). + + make --default-item apply to checklist widget (Debian #225255). + + correct a missing check for --item-help when --help-status was given + for checklist (Debian #232921). + + correct a missing bounds check for mouse-clicks in checklist (Debian + #233044). + + update config.guess, config.sub + +2003/12/07 + + correct infinite loop in yesno widget when "--defaultno" option is + combined with "--no-cancel" (Debian #223077). + +2003/11/30 + + suppress double-quotes added for "--help-status" option if the + string does not contain any special characters. + +2003/11/26 + + add samples/sourcemage.rc, for comparison with slackware.rc + + add "--insecure" option (request by Sean Mathews (DrWho@f34r.com)). + + make "--defaultno" option apply to widgets which use OK/Cancel + buttons as well (Debian #209030). + + improve documentation of exit-codes for each widget in the manpage + (Debian #217926). + + add option "--keep-window" to suppress repainting after completing + each widget (request by Ingo van Lil). + + add options "--yes-label" and "--no-label" to allow override of the + "Yes" and "No" strings (request by Christoph Zwerschke). + + add option "--help-status" to allow script to restore a checklist + or radiolist after processing an item-help string (Debian #209031). + + modify width-calculation for non-formatted text to ensure it is + wide enough for the longest word in the text (patch by Andrew Gaul). + + modify dlg_index_columns() to count a newline as a single cell rather + than 2 for the normal curses case. This fixes an off-by-one for + the text-justification, shown in screen 2 of msgbox1 sample script. + + fix dlg_char_to_button(); 2003/09/10 changes made it incorrectly + ignore case of the labels. + + change calendar's use of arrow keys so they are (as before 2002/06/22) + interpreted within the day-grid as movement within that grid (request + by David Anders). + + correct missing initialization of last_getc variable in dlg_getc() + (report/analysis by Victor Wodecki). + + modify main program to make + dialog --no-shadow --print-maxsize + work. Normally dialog prints the screen size after subtracting the + area reserved for shadows, but some applications may need the actual + screen size (Debian #213424). + + several related changes (Debian #213425): + + separate the examples using "--stdout" and "--output-fd" from the + normal usage examples. + + add "--input-fd" option, provide a sample of its use. + + modify init_dialog() to use initscr() unless a "--stdout" option + was used. Some scripts relied on the coincidence that redirecting + standard output from dialog would "work". Before this change + init_dialog() assumed that redirected standard output was + synonymous with "--stdout" option (not the intended behavior). + + modify command-line parsing to look for "--stdout" and "--stderr" + options first, allowing only one. + + add a check for an environment variable $DIALOG_TTY which provides + the older behavior, i.e., try to open the terminal directly if + stdout is redirected. + + interface changes, to make libdialog simpler to use: + + rename all of the internal functions to begin with "dlg_", but + provide compatibility with older names if the application defines + __DIALOG_OLD_NAMES__. + + add dialog_version() function, and corresponding DIALOG_VERSION and + DIALOG_PATCHDATE definitions to dlg_config.h + + eliminate remaining global variables such as screen_initialized in + favor of dialog_state and dialog_vars. + + move some data such as dialog_vars.output to dialog_state, since + they are normally not reset between widgets. + + change interfaces of dialog_yesno() and dialog_checklist() to use + dialog_state.defaultno and dialog_vars.separate_output, making it + simpler and more consistent. + + improve configure script and related definitions: + + add "--with-libtool" option to provide shared library support by + libtool. + + rename generated "config.h" to "dlg_config.h", so it can be + installed without naming conflict. Added "dlg_config.h" to + install-lib rule. + + modify configure script and makefile to use EXEEXT and OBJEXT. + + add "--enable-widec" option to control whether wide-curses features + are compiled-in, rather than check for the existence of those in + the curses library. This allows building with HPUX curses, which + has abandoned legacy features while not quite supporting X/Open + curses. + + add configure check for getbegx(), etc., which are not provided on + all platforms. + + update config.guess, config.sub + +2003/10/02 + + update hu.po (Arpad Biro). + + revert part of the 2003/08/18 change to "--stdout" option. Using + stderr for screen output does not work well on several platforms + since stdout's settings are affected (report by Kent Robotti). + +2003/09/24 + + modify tailbox to allow it to display files with arbitrarily long + lines. + + fix an infinite loop in tailbox, broken when making interface changes + to dlg_getc() (report by Ingo van Lil). + + amend fix for "--and-widget" to not treat "---" as an option (report + by Kent Robotti). + + updated es.po (Santiago Vila). + +2003/09/10 + + correct "RENAMED" result from inputmenu widget, which did not reset + the result buffer, and did not account for scroll-offset (Debian + #209336). + + modify button, menu and checklist logic that matches a character to + the beginning of a text field to support wide-characters (completes + Debian #195674). + + modify configure script to not use "head -1". + +2003/08/30 + + modify searchbox popup in textbox widget so one can simply press + return on an empty input to cancel the popup. + + modify error reporting to avoid clearing screen if a problem is + found in the ".rc" file. + + add color/attribute combinations for form widget (based on patch by + Reznic Valery). + + combine rc-file colors, attribute- and color-tables to obtain a + single table for color values, which requires less work to add new + entries. + + modify fselect widget to make back-tab work again, since it was + broken by the rewrite of dlg_edit_string(). + + modify howmany_tags() so it will quit searching when it finds any + option, not only "--and-widget" (Debian #206636). + + correct call to dlg_print_text() in print_line(), which did not + account for hidden characters (report/patch by David Poole). + + modify print_button() to display properly if locale defines ok/cancel + or yes/no buttons that contain multibyte characters. + +2003/08/20 + + correct an indexing error when deleting from the end of a line using + KEY_DC; it happened to work on Linux because malloc() clears memory + like calloc(). + + add '\r' to case statement where '\n' is translated to KEY_ENTER to + work around defect in NetBSD curses. + + modify configure check for getparyx(), etc., which are implemented + by NetBSD curses as functions rather than macros. + + correct configure check for term.h, which may be + if ncursesw development headers are installed, but not ncurses + development headers. Or they may not coincide (Debian #206287). + +2003/08/18 + + modify checklist.c and menubox.c to display tags properly if they + contain wide-characters. + + better solution for initializing curses when "--stdout" option is + used, e.g., use stderr for the output if it is a tty. Also correct + the error handling, so dialog exits with an error if it cannot + find a way to do output (Debian #205509). + + modify sample scripts to use consistent definition of $DIALOG + (Debian #205508). + + add UTF-8 examples inputbox6-utf8, inputbox6-utf8 (from Tomohiro + Kubota, Debian #195674). + + modify print_line() to work with wide-characters, e.g., so it handles + wrapping for double-width characters. + + cache results from multibyte character indices, speeds up cursor + movement. + + modify form widget to support scrolling and mouse-selection. + + add form widget (based on patch by Reznic Valery). + + correct mouse-handling for inputmenu widget. + + corrections to menu.c: location of clearing operation, and height of + rows in code for older ncurses versions (patch by Reznic Valery). + + improve logic that compensates for xterm's alternate-screen by + cancelling the rmcup/smcup strings after the rmcup has been issued. + That ensures that dialog will not clear the screen on exit (report + by Javier Kohen). + + modify initialization between widgets to retain the values for the + --aspect, --separate-widget and --tab-len options. + + add --separator as an alias for --separate-widget (compatible with + Xdialog). + + correct handling of Xdialog's --icon and --wmclass options, whose + parameter was not ignored. + + correct logic for --separate-widget so its string is written before + each output, rather than only for --and-widget option (report by + Javier Kohen). + + improve limit-check in center_label() for buttons.c (report by Tor + Vidar Havstad). + + correct layout of --menu widget, which reduced display width due to + logic for --inputmenu being applied whether or not that configuration + was used (reports by Javier Kohen, Dimitar Zhekov and MAL + ). Fixes Debian #201215. + + modify gauge widget to support --begin option (Hans-Joachim Baader). + + updated pl.po (Jaroslaw Swierczynski). + + hide cursor while painting gauge. + + add auto-sizing logic to gauge widget (reports by Javier Kohen and + Robert Schubert). + +2003/07/20 + + rewrote inputstr.c, allowing it to enter and display wide-characters. + Some nonprinting characters such as control/B can be edited as well. + + modify timebox to allow user to type numbers into the fields. + + change interfaces of dlg_getc(), mouse_wgetch(), etc., to add + parameter that returns whether the result is really a function-key. + This is needed to work with wide-character curses. + + correct computation of week-number in calendar widget (report by + Heiner Lamann). + + updated configure script macros: + + suppress -Winline with gcc 3.3, since it is broken. + + fix caching bug in CF_UTF8_LIB + + improved script for CF_BUNDLED_INTL. + + update config.guess, config.sub + +2003/03/08 + + add null-pointer checks to some malloc calls which were overlooked. + + correct logic in dlg_add_result(), which did not copy content of + non-allocated buffer to the first allocation (report by Daniel + Dupont). + +2003/03/02 + + correct an uninitialized value in dlg_add_result() (Debian #182683). + +2003/01/30 + + corrected print_line(), which subtracted the margin twice from the + right-limit, making a string wrap unnecessarily (Debian #168823). + + correct initial limit-check for arrows in checklist.c, which used + the wrong variable, showing the bottom arrow when it should not + (Debian #168823). *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***