summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-12-31 00:07:03 +0000
committerwiz <wiz@pkgsrc.org>2005-12-31 00:07:03 +0000
commitfb93d0a329db2232e1bb806ab48966f35ab852e7 (patch)
tree5fa2be25773bb7d760a4afee6af09569ec5424de /misc
parent5475dd99f03784c66048f2d0b73a70219fc3df8f (diff)
downloadpkgsrc-fb93d0a329db2232e1bb806ab48966f35ab852e7.tar.gz
Update to 1.0.20051219:
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
Diffstat (limited to 'misc')
-rw-r--r--misc/dialog/Makefile5
-rw-r--r--misc/dialog/distinfo9
-rw-r--r--misc/dialog/patches/patch-aa14
3 files changed, 6 insertions, 22 deletions
diff --git a/misc/dialog/Makefile b/misc/dialog/Makefile
index ca4bda0ca9b..e580f268a6f 100644
--- a/misc/dialog/Makefile
+++ b/misc/dialog/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2005/12/05 20:50:38 rillig Exp $
+# $NetBSD: Makefile,v 1.32 2005/12/31 00:07:03 wiz Exp $
-DISTNAME= dialog-1.0-20050911
+DISTNAME= dialog-1.0-20051219
PKGNAME= ${DISTNAME:C/-2/.2/}
-PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= ftp://invisible-island.net/dialog/
EXTRACT_SUFX= .tgz
diff --git a/misc/dialog/distinfo b/misc/dialog/distinfo
index e71118a3696..1551a681738 100644
--- a/misc/dialog/distinfo
+++ b/misc/dialog/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.10 2005/11/08 18:05:23 reed Exp $
+$NetBSD: distinfo,v 1.11 2005/12/31 00:07:03 wiz Exp $
-SHA1 (dialog-1.0-20050911.tgz) = 96c11fb4a98d5f9f074d8339fe2bad501e0f5786
-RMD160 (dialog-1.0-20050911.tgz) = 9fe5698fd2dda5cd2391302d39b081abf6f86ab8
-Size (dialog-1.0-20050911.tgz) = 307686 bytes
-SHA1 (patch-aa) = a86769efc393d641b72fa273edf47a8bcc3f9e35
+SHA1 (dialog-1.0-20051219.tgz) = 615681c0a36f886a8679213290f33a257a486977
+RMD160 (dialog-1.0-20051219.tgz) = a16c8cad4dead9443a7e4dc9c4800c740aeade05
+Size (dialog-1.0-20051219.tgz) = 328167 bytes
diff --git a/misc/dialog/patches/patch-aa b/misc/dialog/patches/patch-aa
deleted file mode 100644
index 7becff8e6bf..00000000000
--- a/misc/dialog/patches/patch-aa
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-aa,v 1.13 2005/11/08 18:05:23 reed Exp $
-
---- util.c.orig 2005-10-30 12:15:17.000000000 -0800
-+++ util.c 2005-10-31 15:55:28.000000000 -0800
-@@ -264,7 +264,8 @@
- if ((fd1 = open_terminal(&device, O_RDONLY)) >= 0
- && (fd2 = dup(fileno(stdin))) >= 0) {
- dialog_state.pipe_input = fdopen(fd2, "r");
-- *stdin = *freopen(device, "r", stdin);
-+ if (freopen(device, "r", stdin) == 0)
-+ dlg_exiterr("cannot open tty-input");
- if (fileno(stdin) != 0) /* some functions may read fd #0 */
- (void) dup2(fileno(stdin), 0);
- }