Debian Codegraph @

CHANGES

raw
1 -- $Id: CHANGES,v 1.849 2026/01/08 00:23:31 tom Exp $
2 -- Thomas E. Dickey <[email protected]>
3
4 This version of dialog was originally from a Debian snapshot. I've done this
5 to it:
6
7 2026/01/07
8 + modify package/debian/* to work with Debian 13+.
9 + modify run_test.sh to set LD_LIBRARY_PATH in case "make check" is
10 used on a system where dialog's shared library was not installed.
11 + improve gen-pkgconfig.in by widening the filter for "-z" options.
12 + improve layout of menu and checklist/radiolist widgets (report by
13 Mike Castle).
14 + add a limit-check in the tailbox widget.
15 + correct length of input-fields in form widget (report by Mike Castle).
16
17 2025/12/23
18 + correct a typo for aspect ratio in files written by --create-rc
19 (report by Mike Castle).
20 + improve manpage description of --hline (report by Mike Castle).
21 + update configure script macros for cross-compatibility.
22 + added kab.po from
23 https://translationproject.org/latest/dialog/
24 + updated bg.po, de.po, eo.po, fa.po, id.po, ja.po, ms.po, pl.po,
25 pt.po, ro.po, sq.po, sv.po, uk.po from
26 https://translationproject.org/latest/dialog/
27
28 2025/10/01
29 + configure script fixes for compiler warnings
30 + update config.guess, config.sub
31
32 2025/08/17
33 + amend macros for temporarily disabling --no-tags in buildlist and
34 treeview to allow --no-items (report/testcase by Maksym Telychko).
35 + configure script fixes for compiler warnings
36
37 2025/01/16
38 + modify dialog-config.in to allow for include-subdirectory.
39 + update configure script macros for changes made with Cdk.
40
41 2025/01/14
42 + use $ LIB_ROOTNAME, e.g., set by --with-libname, in generating
43 *-config and ".pc" files
44
45 2025/01/12
46 + further improvements to matching output from *-config and ".pc"
47 + improve gen-pkgconfig.in to mark the screen library, e.g., ncurses,
48 as "Required" and filter the cflags/libs from required packages out
49 of the ".pc" file, because pkg-config will add those automatically.
50
51 2025/01/09
52 + fix some gcc15 strict compiler warnings
53 + configure script fixes for compiler warnings
54 + update config.guess, config.sub
55
56 2024/06/19
57 + modify configure script to ease deprecation of libtool-bin package
58 (Debian #1071581).
59 + update dialog.map, dialog.sym for 2023/10/02 changes.
60 + improve dialog-config.in,
61 + suppressing several special cases of linker options, and
62 + adding support for --cflags-only-I, --cflags-only-other
63
64 2024/04/08
65 + fix a few cppcheck warnings
66 + improvements to NLS configuration.
67
68 2024/03/12
69 + add configure check for PIC vs PIE, needed for linking to libraries
70 which lack pkg-config scripts to specify LDFLAGS.
71
72 2024/03/07
73 + add option --color-modes, which can be used to color the content of
74 programbox, tailbox, textbox (requested by Rafał Radziejewski).
75
76 2024/03/06
77 + updated configure script, e.g., for compiler-warning fixes.
78 + amend change to formbox while revising --max-input to work with the
79 form's "ilen" parameter (report by Anna-Maria Gruber, cf: 2022/04/14)
80 + update config.guess, config.sub
81
82 2024/01/01
83 + updated configure script, e.g., for compiler-warning fixes.
84 + updated lv.po from
85 http://translationproject.org/latest/dialog/
86
87 2023/10/02
88 + add/use dlg_print_nowrap(), to handle multibyte character strings in
89 progressbox and tailbox (report/testcase by Sergey Merzlikin).
90 + updated configure script, e.g., for compiler-warning fixes.
91 + update config.guess, config.sub
92
93 2023/08/18
94 + updated configure script, e.g., for compiler-warning fixes.
95 + minor fixes for manpages to address mandoc warnings.
96 + updated th.po from
97 http://translationproject.org/latest/dialog/
98 + update config.guess, config.sub
99
100 2023/02/09
101 + install ".pc" files in the test-packages.
102 + add pkg-config ".pc" file, for use with the development library.
103
104 2023/02/07
105 + change shared-library configuration in test-packages to use the
106 ABI version in the library filename to match its SONAME.
107 + add sample scripts to test-packages, using new makefile rule
108 "install-examples".
109 + corrected cdialog*.install helper scripts in test-package for Debian
110 + change ftp URLs in test-packages to https
111 + updated configure script, e.g., for compiler-warning fixes.
112 + updated fur.po, zh_TW.po from
113 http://translationproject.org/latest/dialog/
114
115 2022/12/29
116 + modify slackware.rc to match dialog's output from "make check" using
117 this configuration file (FreeBSD #267777).
118 + fix shellcheck warnings in helper-scripts for building/installing.
119 + updated configure script, e.g., for compiler-warning fixes.
120 + updated hu.po from
121 http://translationproject.org/latest/dialog/
122 + update config.guess, config.sub, install-sh
123
124 2022/07/28
125 + initialize color-settings before --create-rc option is processed.
126 + add "use_scrollbar" setting in rc-file to use in whiptail.rc
127 + improve manual page discussion of "--" token.
128 + updated configure macro for math-library functions.
129 + updated ca.po from
130 http://translationproject.org/latest/dialog/
131 + update config.guess
132
133 2022/06/15
134 + fix links in manpages (FreeBSD #264660).
135
136 2022/05/26
137 + document the built-in key bindings which are not part of widgets.
138 + updated da.po fa.po is.po, added ka.po from
139 http://translationproject.org/latest/dialog/
140 + update config.sub
141
142 2022/04/14
143 + adjust fallback bindings for backspace/delete to match the curses
144 library's sense of backspace (Arch #74379).
145 + amend limit-checks to make --max-input work for sizes greater than
146 2048 (Debian #1004874).
147
148 2022/04/04
149 + corrected limit-checks in checklist.c, menubox.c, and treeview.c when
150 resizing while the data is scrolled (Debian #1004868).
151 + improve logic for updating form-height after screen-resizing.
152 + move most of the non-API definitions from dialog.h to dlg_internals.h
153 + updated configure macros.
154 + update config.guess, config.sub
155 + updated es.po, tr.po from
156 http://translationproject.org/latest/dialog/
157
158 2022/01/17
159 + update test-package for Debian to use debhelper.
160 + adjust character-offset in editbox.c in case it is past the end of
161 the string after trimming (Debian #1003185).
162 + updated ro.po from
163 http://translationproject.org/latest/dialog/
164
165 2021/12/14
166 + fix some inconsistent #if vs #ifdef.
167 + correct off-by-one limit for month when validating parameters of the
168 calendar widget (patch by "viverna", Debian #1000720).
169 + modify dlg_yes_labels to not switch to ok/cancel labels if the
170 extra button is used (report by Стрижак Андрей).
171 + move leak-checking definitions from dialog.h to dlg_internals.h
172
173 2021/11/07
174 + use mktemp utility rather than tempfile for temporary filename in
175 the sample scripts (patch by Ville Skyttä).
176 + updated id.po, lt.po from
177 http://translationproject.org/latest/dialog/
178 + update config.guess, config.sub
179
180 2021/06/21
181 + directly include stddef.h for systems which need it for offsetof().
182 + modify gauge's handle_input function to use the file pointer in the
183 object in preference to the global dialog_state.
184 + correct height-computation for fselect and timebox, broken by fixes
185 for auto-layout (Debian #990043, cf: 2019/11/10).
186 + improve configure --with-no-leaks option
187
188 2021/05/30
189 + amend adjustment to inputbox height so the autosized dimensions match
190 older versions (report by Werner Fink, cf: 2021/01/17).
191 + improve configure checks, to reduce warnings during those checks
192 + updated fr.po from
193 http://translationproject.org/latest/dialog/
194 + update config.guess, config.sub
195
196 2021/05/09
197 + improve configure checks, e.g., for libtool version
198 + updated ms.po, sr.po, zh_TW.po from
199 http://translationproject.org/latest/dialog/
200 + update config.guess, config.sub
201
202 2021/03/24
203 + add configure option --enable-stdnoreturn to build when C11 _Noreturn
204 feature is enabled in recent ncurses development.
205
206 2021/03/19
207 + updated de.po, ja.po, nl.po from
208 http://translationproject.org/latest/dialog/
209
210 2021/03/06
211 + add several usage-messages to dialog.pot
212 + improve configure-check for ld searchpath on HP-UX and Solaris.
213 + fix a few cppcheck warnings
214 + updated eo.po, fi.po, pt.po, sq.po, sv.po, ru.po, uk.po, zh_CN.po
215 from
216 http://translationproject.org/latest/dialog/
217
218 2021/01/17
219 + updated dialog.pot
220 + add option --no-hot-list, to allow suppressing the hotkey feature
221 from lists.
222 + increase minimum height of inputbox to avoid input field overlapping
223 with the button-box (report by Victor Ananjevsky).
224 + modify options-parsing to permit a "no" on any boolean option and
225 deprecating the "no" options without a "-" , e.g., generalizing on
226 "--nook" equivalence to "--no-ok".
227
228 2021/01/12
229 + minor spelling fixes, per codespell
230 + update configure macros, for quoting/escaping fixes per shellcheck
231 + update config.guess, config.sub
232
233 2020/11/26
234 + modify configure script's compiler check to work around Xcode's
235 useless aliases for standard C.
236 + enable keep-tite feature for NetBSD 8 and up; earlier releases would
237 dump core.
238 > new features/fixes (Glenn Herteg)
239 + add option "--cursor-off-label"
240 + add option "--erase-on-exit"
241 + fix errata in manpage.
242 + fix logic: dlg_button_to_char() would return wrong value if no
243 uppercase was found
244
245 2020/11/25
246 + add DIALOG_TIMEOUT to sample scripts, and use report-button more
247 consistently to handle unexpected exit-status values.
248
249 2020/11/24
250 + add dlg_getenv_num() and dlg_getenv_str().
251 + add DLG_EXIT_TIMEOUT to allow scripts to exit on an expired timeout
252 with an exit-status different from DLG_EXIT_ERROR or DLG_EXIT_ESC
253 (patch by Norbert Koch).
254
255 2020/11/23
256 + modify dlg_ok_label() and dlg_ok_labels() to ignore --no-ok if all
257 buttons would be omitted.
258 + add/use dlg_der_window() to account for derived windows just like
259 subwindows, to fix regression in dlg_getc() in fselect/dselect
260 widget.
261 + modify several widgets to make their handling of --no-ok consistent
262 with the majority of the widgets: editbox.c, menubox.c, msgbox.c,
263 rangebox.c, textbox.c, timebox.c
264 + add ^D as binding for new virtual key DLGK_LEAVE, which will close
265 the current dialog by activating the currently-selected button.
266 + improve manual-page description of --no-ok option (reports by
267 Hans Mueller, Gil Delescluse).
268 + modify configure script to make Solaris -R rpath feature work
269
270 2020/11/21
271 + fix regression in dlg_getc() caused by not taking into account
272 subwindows used for input (report by Michael Wihl).
273
274 2020/11/20
275 + add validity-checks for window pointer (report/testcase by Michael
276 Wihl).
277 + improve configure macros:
278 CF_CLANG_COMPILER: apply compiler-flags needed for test.
279 CF_WITH_SCREEN_PDCURSES: use this to reduce X11-checks.
280
281 2020/11/17
282 + amend initialization for dlg_getc to fix regression in pause widget
283 from 2020/03/27 changes (reports by Aidan Tessier, Norbert Koch,
284 Josmar Pierri).
285 + improve configure macros:
286 CF_CLANG_COMPILER: split-out check for -Qunused-arguments to ensure
287 that clang supports it. IBM xlclang does not.
288 CF_MIXEDCASE_FILENAMES: when cross-compiling to darwin (macOS),
289 assume the filesystem doesn't support mixed-case
290
291 2020/09/21
292 + modify init_dialog's initialization of tab_len and aspect_ratio to
293 avoid overwriting initialization done in process_common_options
294 (report/patch by Rainer Weikusat, Debian #970508).
295
296 2020/09/13
297 + fix out-of-order description for --tailbox vs --rangebox in manpage
298 (report by Glenn Herteg).
299 + updated configure-macros: compiler-warnings and shared-library
300 options. Changed configure --with-warnings to --enable-warnings for
301 consistency.
302 + update config.guess
303
304 2020/04/01
305 + updated sq.po from
306 http://translationproject.org/latest/dialog/
307
308 2020/03/27
309 + add clarification in manual page to show when the single/double
310 quotes may be needed (prompted by discussion with Danilo G Baio).
311 + fix an extra ".exe" in makefile.in which prevented Cygwin build.
312 + fix most cppcheck warnings
313 + tailbox/tailboxbg's exit-button now works with mouse-clicks
314 + fix repainting while resizing for the editbox widget.
315 + add configure-check for curses_exit() from ncurses 6.2
316 + fix a few memory leaks in fselect.c, mixedgauge.c when resizing.
317 + fix inconsistency in dlg_string_to_argv() which made the checklist9
318 example not work.
319 + add empty-string check in dlg_print_listitem() to avoid indexing past
320 the end of the array of character-offsets.
321 + improve handling of KEY_RESIZE by repainting the backtitle after
322 clearing the screen (integrated patch by Rainer Weikusat, Debian
323 #954185).
324 + improve logic for wtimeout() calls which are used to set temporary
325 non-blocking reads (prompted by patch by Rainer Weikusat, Debian
326 #954220).
327 + add "make check" rule.
328 + updated configure-macros.
329
330 2020/02/28
331 + updated configure-macros, to work around ncurses vs xcode's c99 -W
332 + update config.guess
333
334 2019/12/31
335 + updated configure-macros.
336 + update config.guess
337
338 2019/12/10
339 + correct rc-file lookup of "default" color (report by Grady Martin,
340 cf: 2019/09/24).
341 + fix several issues in the sample scripts reported by shellcheck.
342 + fix a few spelling errors reported by codespell (report by Jens
343 Schleusener).
344 + correct check for return-value of isblank(), which is not necessarily
345 0/1 (report/patch by Paul Cercueil, Peter Korsgaard, cf: 2018/05/31).
346
347 2019/12/09
348 + amend change for parsing command-options before calling init_dialog,
349 to handle --no-shadow, etc., which are initialized in init_dialog
350 (report by Paul Cercueil, cf: 2018/06/21).
351 + add dlg_trace_va_msg to manpage, symbol files.
352
353 2019/11/10
354 + improve layout of several widgets' data area when maximizing.
355 + modify dselect/fselect to work with autosizing (Debian #915949).
356 + add error messages from dlg_exiterr() to trace file.
357 + improve manual page description of escaping in key-bindings.
358 + modify inputmenu to recognize the "Cancel" button and keys bound to
359 that feature while editing a renamed menu item.
360 + revert one change, in form.c to the --last-key feature (Debian
361 #942025).
362 + correct ordering of libraries in configure-script, which appended
363 in a case where it should have prepended.
364 + update config.guess, config.sub
365
366 2019/09/26
367 + improve dialog-config script's filtering of -L options using the
368 linker default directories.
369 + improve dialog-config script, adding a -L option corresponding to
370 the configure --libdir option if it would be a duplicate (report by
371 Andrew Kosteltsev).
372 + build-fix for configure --disable-trace
373 + updated pt.po from
374 http://translationproject.org/latest/dialog/
375
376 2019/09/24
377 + allow for underline- and reverse-video flags in the ".rc" file
378 (integrated patch by Richard Robbins).
379
380 2019/08/08
381 + amend change to --last-key feature to eliminate an unnecessary
382 separator (report by Gabriele Balducci).
383
384 2019/08/06
385 + extend --last-key feature to the remaining widgets which have
386 ok/cancel buttons, and add logic to map keys which happen to be
387 bound to ok/extra/cancel/help to simulate a button-press on the
388 corresponding button (report by "sgewrk").
389
390 2019/08/01
391 + further fixes for dialog-config.in (report by Andrew Kosteltsev).
392
393 2019/07/28
394 + modify dialog-config.in so that setting prefix or exec-prefix to
395 a given value with --prefix=VALUE or --exec-prefix=VALUE has the
396 expected result of changing bindir, etc.
397 + correct substitution for $LIBS value in dialog-config.in (report by
398 Andrew Kosteltsev).
399
400 2019/07/24
401 + modify dlg_will_resize() and dlg_result_key() functions to reduce
402 the chance that dialog exits on a SIGWINCH (Debian #930775).
403 + make test-package for the development headers/library
404 + add --libs-only-L, etc., to dialog-config script (prompted by
405 discussion with Andrew Kosteltsev).
406 + fix a memory leak in gauge widget (Andrew Kosteltsev).
407 + minor fix for CF_GCC_WARNINGS
408 + update config.guess, config.sub
409
410 2019/02/11
411 + modify to work with ncurses' threaded-library, which does not allow
412 assignment to LINES/COLS (report by Marcus Roeckrath).
413 + correct clearing after text in progressbox from 2018/06/21 changes
414 for resizing (reports by David Boyd, Alan Somers).
415 + improved configure macros CF_GNU_SOURCE, CF_POSIX_C_SOURCE,
416 CF_XOPEN_SOURCE
417 + update config.guess, config.sub
418
419 2018/11/07
420 + convert ja.po to UTF-8 for consistency (suggested by Stanislav
421 Brabec).
422 + repair mis-encoded hi.po (report/analysis by Stanislav Brabec).
423
424 2018/10/22
425 + improved configure macros CF_CC_ENV_FLAGS, CF_LD_RPATH_OPT,
426 CF_LIBRARY_PATH, CF_SHARED_OPTS, CF_WITH_MAN2HTML,
427 CF_WITH_VERSIONED_SYMS from ncurses
428 + add ast.po, from
429 http://translationproject.org/latest/dialog/
430
431 2018/06/21
432 + improve file-offset computation in textbox.c (Werner Fink).
433 + fix an overlooked case with real_auto_size() to maximize when
434 height or width is given as -1.
435 + build-fixes for configure options "--disable-Xdialog2" and
436 "--disable-form"
437 + add traces for each widget to show its parameters.
438 + modify color scheme for mixedgauge to use the dialog window colors,
439 like the captions.
440 + fix a too-small malloc in the mixedgauge widget.
441 + fix a use-after-free in dlg_remove_callback().
442 + improve handling of SIGWINCH for several widgets (Debian #865840).
443 + menubox, the point of the Debian report was that it would be nice
444 to increase the window size if the terminal size increases. Did
445 that as a special case less problematic than decreasing the
446 terminal size. Added samples/menubox11 to demonstrate by
447 comparison with menubox10 a problem with debconf which puts extra
448 newlines in the caption that interfere with autowrap.
449 + progressbox and derived prgbox, programbox, now handle resizing.
450 + yesno, window was cleared
451 + add dlg_ttysize() to support new options, allowing scripts to obtain
452 some text-formatting details without initializing the terminal.
453 + add options --print-text-only, and --print-text-size for scripts that
454 adjust the widget size according to how the captions are formatted.
455 + improve dialog.pl:
456 + add demo.pl, to demonstrate the functions
457 + quote/escape string parameters passed to dialog.
458 + ensure all "integer" parameters are really integers.
459 + use actual screensize for list captions rather than assuming 24
460 lines.
461 + when trimming blanks, treat unconverted tabs the same as spaces.
462 + correct parameter to test when trimming blanks from the script,
463 e.g., with "--trim" (report by Jarno Suni).
464 + improve documentation of the various whitespace-filtering options,
465 to show which take precedence (Debian #867536, cf: Debian #102942).
466 + modify msgbox.c, yesno.c to bind SCROLLKEY_BINDINGS before
467 TRAVERSE_BINDINGS so that up/down arrow will by default scroll the
468 message up/down rather than be aliases for tab-traversal (report by
469 Fredrik Kers).
470 + modify dump_one_binding() to show when a binding is overridden.
471 + improve format of trace-file, making comment-syntax consistent,
472 as well as showing argv-splitting as a series of comments.
473 + modify dlg_string_to_argv() to change the quoting behavior to be
474 more consistent with shell behavior (patch by Denilson Sa Maia).
475 + modify dlg_getc() to return ESC when a timeout expires, notifying
476 callers that a quit occurred rather than exiting the application
477 (suggested by Rodrigo Freitas).
478 + modify handle_inputs() to ensure cursor-visibility is restored when
479 there is no input character available (report by Guillaume Vareille).
480 + improve comment in manual page regarding which widgets can use the
481 "--help-button" (prompted by discussion with Csanyi Pal).
482 + add a check for valid object pointer in tailbox's main loop since
483 the getc-callback may have been freed within ui_getc.c (report by
484 "David").
485 + improved configure macros for ncurses: CF_GNU_SOURCE, CF_SHARED_OPTS,
486 CF_CURSES_LIBS, CF_CURSES_FUNCS, CF_NCURSES_CONFIG
487 + improved configure script checks for groff vs man2html:
488 CF_PROG_GROFF and CF_WITH_MAN2HTML
489 + build-fix from lynx for AM_WITH_NLS configure macro
490 + update config.guess, config.sub
491
492 2017/12/09
493 + update ftp url in test-packages.
494 + modify test-packages to use recommended compiler/linker flags.
495 + improved configure macros AM_WITH_NLS, CF_CC_ENV_FLAGS,
496 CF_CURSES_LIBS, CF_NCURSES_CONFIG, CF_SHARED_OPTS, CF_WITH_LIBTOOL,
497 CF__INTL_BODY.
498 + update config.guess, config.sub
499
500 2017/05/09
501 + improved configure macros CF_ADD_CFLAGS, CF_CC_ENV_FLAGS, and
502 CF_SHARED_OPTS.
503 + updated hu.po and tr.po from
504 http://translationproject.org/latest/dialog/
505 + update config.guess, config.sub
506
507 2017/01/31
508 + use DLG_TRACE macro consistently to make "--disable-trace" configure
509 option work.
510 + modify buildlist widget to support option "--reorder" for to allow
511 user to reorder the data based on the sequence of selections
512 (discussion with Paraic O'Ceallaigh).
513 + fill background color on unused parts of buildlist.
514 + fix a minor error in buildlist which let pageup switch columns.
515 + change several calls to dlg_trace_msg to prefix with "#" to make
516 the trace logs more consistent for parsing.
517 + add samples/run_test.sh
518 + further improve performance with very long command-lines by changes
519 to howmany_tags().
520 + modify dlg_string_to_argv() to convert escaped double-quotes to
521 plain double-quotes when within a double-quoted string.
522 + modify makefile to apply CFLAGS to linking
523 + modify dlg_string_to_argv() to ignore escaped newlines except when
524 quoted, fixing a problem with samples/checklist9.
525 + interpret $DIALOGOPTS before expanding "--file", etc., to allow
526 the environment variable to turn on tracing in that process.
527 + improve performance when processing very long command lines, e.g.,
528 using "--file" by changing dialog_opts[] to an array of pointers to
529 the expanded argv[] (discussion with Lars Tauber).
530 + modified autoconf macros
531 + CF_CC_ENV_FLAGS amend the last change to move only the
532 preprocessor, optimization and warning flags to CPPFLAGS and
533 CFLAGS, leaving the residue in CC. That happens to work for gcc's
534 various "model" options, but may require tuning for other compilers
535 + CF_LARGEFILE workaround for clang exit-code vs warnings
536 + CF_MATH_LIB quiet strict gcc warning
537 + CF_WITH_LIBTOOL fix a few places in configure/build scripts where
538 DESTDIR and rpath were combined
539 + CF_XOPEN_SOURCE add "uclinux" to list of Linux's
540 + update config.guess, config.sub
541
542 2016/11/20
543 + added fur.po (Friulian) from
544 http://translationproject.org/latest/dialog/
545
546 2016/08/28
547 + improve parsing and trace for "bindkey", to convert space to/from
548 "\s", as well as handle octal escapes for single byte characters.
549 + change explicit checks for space character used for select or toggle
550 to make this rebindable to "TOGGLE" (prompted by discussion with
551 Paul van Tilburg).
552 + add default bindings for cursor left/right to formbox. The cursor
553 left/right cases were replaced with rebindable symbols in 2005/12/07
554 without providing these keys as default values (report/patch by
555 Miroslav Lichvar).
556 + modified autoconf macros
557 + CF_PROG_LINT add cpplint to programs to use; drop ad hoc tdlint and
558 alint.
559 + CF_CC_ENV_FLAGS don't limit the check to -I, -U and -D options,
560 since the added options can include various compiler options before
561 and after preprocessor options.
562 + CF_GNU_SOURCE recent glibc (Debian 2.23-4 for example) has
563 misordered ifdef/checks for new symbol _DEFAULT_SOURCE, producing
564 warning messages when only _GNU_SOURCE is defined. Add a followup
565 check to define _DEFAULT_SOURCE.
566 + CF_XOPEN_SOURCE use _GNU_SOURCE for cygwin headers, tested with
567 cygwin 2.3, 2.5 (patch by Corinna Vinschen).
568 + mention --no-collapse option in manual page description of
569 --tab-correct option.
570 + update config.guess, config.sub
571
572 2016/04/24
573 + fix a special case in drawing shadow on a line-drawing cell where the
574 alternate-character set flag was lost (report by Martin Kravec).
575 + fix a regression from 2015/05/13 changes for escaping; it is
576 necessary to retain backslashes within quotes to make "\Z" escapes
577 work (report by Marcin Krol).
578 + fix test package for RPMs; changes in 2015 omitted symbolic links
579 for the library.
580 + fix typo in help message for "--buildlist" (report by Rihards Olups).
581 + modified autoconf macros
582 + CF_PROG_AR, CF_AR_FLAGS added to improve check for archive tool.
583 + CF_LD_RPATH_OPT, change FreeBSD to use -Wl,-rpath rather than
584 -rpath option. According to FreeBSD #178732, either works since
585 FreeBSD 4.x; however scons does not accept anything except the
586 -Wl,-rpath form.
587 + CF_WITH_NCURSES_ETC, change from ncurses to check for pthreads
588 dependency.
589
590 2016/02/09
591 + modify editbox widget to add a trailing newline if the text has none
592 to ensure the last line is not ignored (report by Florent Rougon).
593 + change mouse initialization to look for button-presses rather than
594 button-clicks, for better response.
595 + modify dump_curses_key() to show mouse-coding in readable form.
596 + correct mapping of mouse-clicks on the day-grid in calendar widget
597 when "--week-start" is used to set the start of the week (report by
598 Stefan Vogtner).
599 > integrated changes from Stefan Vogtner:
600 + use Gregorian algorithm for leap year
601 + use mktime if available; calendar was written just as it became
602 standard.
603
604 2016/01/26 - release 1.3
605 + correct --infobox documentation, which said it shows an OK button.
606 + fix a couple of place in test-scripts which referred to $SIG_TRAP
607 rather than $SIG_QUIT
608 + reorganize dialog.3, to use subsections for generating navigation
609 pane, using man2html
610 + add "--week-start" option for calendar widget (prompted by discussion
611 with Stefan Vogtner).
612 + add a limit-check in editbox.c to ensure that mouse-clicks outside
613 the filled-in text area do not access past the end of the array
614 (report by Stefan Vogtner).
615 + update configure macros from ncurses changes.
616 + update config.guess, config.sub
617
618 2015/09/20
619 + decrease table value for minimum number of arguments for the widgets
620 which use --no-items option (report by Raven Singularity).
621 + update configure macros:
622 + use $SHELL consistently, deprecate non-POSIX shell
623 + PKG_CONFIG may simply be unset - fix
624 + add option to allow changing ABI version, from ncurses6.
625
626 2015/05/28
627 + fixes for two autoconf macros, CF_ADD_INCDIR and CF_NCURSES_CONFIG
628 from work on ncurses.
629 + build-fix for NetBSD curses (patch by Matthias Scheler).
630
631 2015/05/13
632 + add configure option --with-install-prefix, like ncurses.
633 + add --with-screen and related configure options from ncurses-examples
634 to allow building with ncurses6 test-packages.
635 + update configure macros for improved coding style from lynx changes.
636 + updated ro.po from
637 http://translationproject.org/latest/dialog/
638 + update config.guess, config.sub
639 > patches by Florent Rougon:
640 + fix two bugs in the "--file" option.
641 + When the number of arguments read from the included file is 0, the
642 code used to just skip over '--file' and its argument instead of
643 removing them from the argument list, causing "Error: Unknown
644 option --file" later on.
645 + In the alternative case (at least one argument read from the file),
646 the previous code used to do '--j;' in order to "force rescan" of
647 the inserted arguments. However, control then flowed to outer
648 blocks where a '++j;' counteracted this measure, causing "Error:
649 Unknown option --msgbox" (for instance) later on.
650 + modify escaping in argv.c to be more uniform, whether or not the
651 backslash is found within a parameter.
652
653 2015/02/25
654 + modify gauge widget to keep from erasing a second gauge widget, e.g.,
655 via the "--and-widget" option. This is a cosmetic change to match
656 behavior of dialog 1.0 (report by Jason Orendorf).
657 + add configure option "--with-man2html"
658 + add configure options for versioned symbols, from ongoing work on
659 ncurses.
660 + update configure macros, e.g., for shared libraries
661
662 2015/01/25
663 + suppress highlighting of character which denotes an abbreviation or
664 shortcut for the OK/Cancel and other buttons for these widgets, which
665 use abbreviations for the list shown on the screen: buildlist,
666 checklist/radiobox, menubox, treeview (Debian #775295).
667 + add grid up/left and down/right bindings in editbox.c as synonyms for
668 field prev and next, respectively when handling the OK/Cancel buttons
669 (Debian #775294).
670
671 2014/09/11
672 + correct malloc-size for change to prgbox.
673
674 2014/09/10
675 + fixes to make "-c" option work when passing command to shell for the
676 prgbox widget, for example in samples/prgbox2 (report by Korantin
677 Auguste).
678
679 2014/09/08
680 + fix an out-of-bounds array index in buildlist widget (report by
681 Cade Foster).
682
683 2014/09/01
684 + add configure check for groff, needed for html/ps/pdf output.
685 + update configure-script macros:
686 + CF_ACVERSION_CHECK - work around another gratuitous incompatibility
687 introduced in 2.69
688 + CF_ADD_CFLAGS - workaround for ash-shell, e.g., with Minix
689 + CF_ADD_LIBS - filter out duplicates
690 + CF_CURSES_FUNCS - improve workaround for weak-linkage, seems to fix
691 tests with NetBSD 6.1
692 + CF_INTEL_COMPILER - clean up the -no-gcc option which was leftover
693 from testing.
694 + CF_LIB_SUFFIX - change suffix for AIX shared libraries to ".so".
695 + CF_MAKEFLAGS - workaround for GNU make 4.0 incompatibility with
696 previous releases.
697 + CF_XOPEN_SOURCE - add cases for Minix, UnixWare and improve the
698 workaround for Solaris.
699 + improve comparison in compare_cache() function, in case difference
700 between pointers does not fit in int's.
701 + updated de.po, es.po, hu.po, lv.po from
702 http://translationproject.org/latest/dialog/
703 + update config.guess, config.sub
704
705 2014/02/19
706 + cleanup of manpages prompted by Gislason's comments.
707 + several changes to manpages to improve presentation (patches by
708 Bjarni I. Gislason, Debian #739180, Debian #739181)
709 + use "\/" when transitioning from italic to normal font
710 + correct an instance of "e.g,."
711 + use "\e" rather than "\\" to present a literal "\"
712 + improve formatting of table header
713 + remove some excess space-characters
714 + change a reference 0-9 to use "through" as the connector
715 + use "\&" to separate "." from a space to make the space shorter
716 + change a list's TP macro parameters to make the hanging text align
717 better with the adjacent paragraph
718 + add comma in a few places before "and" in a list
719 + separate units from numbers with a nonfillable space
720 + replace "-" with en-dash in a few places
721 + corrected argument indices after "--args" and "--file" to rescan the
722 argument list after removing/substituting those options.
723 + fix loops for "--file" option to handle cases with zero or no tokens at
724 all substituted (Redhat #1066168).
725 + add gd.po from
726 http://translationproject.org/latest/dialog/
727
728 2014/01/12
729 + improve calculation for amount to scroll in programbox when an "Ok"
730 button might obscure part of the data (report by Florent Rougon).
731 + modify program to permit --separate-output to be used with buildlist
732 and treeview widgets (report by Florent Rougon).
733 + add list-height parameter to manpage description of --buildlist
734 (report by Florent Rougon).
735 + minor fixes to dialog.1 manpage; the reported problem was actually
736 fixed in 20120703 (Debian #726233, patch by Bjarni Ingi Gislason).
737 + add a "Hello World" example to dialog.3 manpage (prompted by
738 discussions with Dustin Oprea, Kevin Ingwersen).
739 + correct comparison in dlg_lookup_key() so that using "bindkey" with
740 a "*" wildcard parameter works as documented (report by Stewart
741 Benedict).
742 + updated configure macros, fixes for clang and mingw.
743 + update config.guess, config.sub
744
745 2013/09/28
746 + fix a regression in gauge widget from 2013/09/28 changes;
747 dlg_reallocate_gauge() failed when no --title option was given
748 (report by Tritonas Insomnia).
749
750 2013/09/23
751 + fix samples/inputbox6-utf8, which had depended unnecessarily on bash.
752 + improve memory caching for wide-character manipulation in gauge
753 widget (report by Devin Teske).
754 + add dlg_reallocate_gauge (discussion with Devin Teske).
755 + updated configure macros to use msys changes from ncurses.
756 + update config.guess, config.sub
757
758 2013/09/02
759 + modify makefile rule to make the ".png" filenames created by groff
760 predictable.
761 + add option --help-tags to allow scripts to get the item's tag field
762 consistently from help- and help-item button results rather than
763 getting the item's text for the latter (discussion with Florent
764 Rougon).
765 + correct manpage discussion of DIALOG_ITEM_HELP versus --item-help,
766 as well as --help-button return status (report by Florent Rougon).
767 + correct limit used for --hline option (report by Devin Teske,
768 cf: 2011/06/30).
769 + do not print empty "[]" if a --hline option was given with an empty
770 value (report by Devin Teske).
771 + miscellaneous configure script fixes/updates. In particular, add
772 option --with-shared which builds shared libraries without a libtool
773 dependency.
774 + add FreeBSD port-files for test-builds.
775 + update lt.po, add fa.po from
776 http://translationproject.org/latest/dialog/
777 + update config.guess, config.sub
778
779 2013/05/23
780 + modify ifdef in arrows.c to work around packages which use the
781 wide-character ncursesw headers with the ncurses library (report
782 by Aleksey Cheusov).
783 + correct workaround for xterm alternate-screen to work with/without
784 the fix made in ncurses that makes putp() always write to the
785 standard output (Debian #708829).
786 + improve limit-checks for checklist, in case the dialog is resized
787 (report by Ilya A Arkhipov).
788 + add --last-key option (adapted from patch by Jordi Pujol, Debian
789 #697607).
790
791 2013/03/15
792 + update zh_TW.po, add an.po from
793 http://translationproject.org/latest/dialog/
794
795 2012/12/30 - release 1.2
796 + improve some older changelog entries to help with HTML'izing content.
797 + various fixes/improvements for scrollbar appearance.
798 + add mappings for some equivalent options provided by whiptail;
799 add configure option --disable-whiptail to allow suppressing these.
800 + add configure option --disable-Xdialog2 to allow suppressing the
801 newer features, i.e., for cdialog 1.2
802 + add --no-items option, for consistency.
803 + add --no-tags option, like Xdialog.
804 + add buildlist, rangebox and treeview dialogs, like Xdialog.
805 + remove obsolete workaround for ncurses 4.2 scrolling in checklist
806 and menubox.
807 + improve dialog_helpfile() by preventing it from showing extra buttons
808 (suggested by xDog Walker).
809 + correct logic in formbox's scroll_next() function (report by xDog
810 Walker).
811 + fix a case with inputbox widget where preset input text is not shown
812 until moving the cursor within the text (report by xDog Walker).
813 + handle SIGCHLD in dialog_prgbox() to eliminate defunct processes
814 (report by xDog Walker).
815 + improve the way "hotkeys" are assigned to widget buttons by checking
816 if a given key has already been used in the row of buttons (Debian
817 #684933).
818 + amend fix for --trace parsing from 2012/07/03, which sometimes
819 skipped a parameter (report by xDog Walker).
820 + drop copismall and install files from samples, which were essentially
821 nonfunctional.
822 + correct secondary border colors in samples/slackware.rc and
823 samples/whiptail.rc
824 + update gl.po, add ia.po from
825 http://translationproject.org/latest/dialog/
826 + fix various issues reported by coverity scan.
827 + miscellaneous configure script fixes/updates:
828 + require autoconf 2.52+patches
829 + support --datarootdir option
830 + check for clang compiler
831 + check for tinfo library when looking for ncurses
832 + add 3rd parameter to AC_DEFINE for autoheader
833 + remove unused macros from aclocal.m4
834 + update config.guess, config.sub
835
836 2012/07/06
837 + modify samples/setup-tempfile to work with Tru64's shell.
838 + modify inputmenu sample scripts to make them more portable:
839 + use "id" rather than "$GROUPS", use sed to work with Solaris.
840 + use sed to split-up the rename results to work with HPUX.
841 + fix regression in msgbox (ArchLinux #30574)
842
843 2012/07/03
844 + modify prgbox widget to work with --extra-button, etc.
845 + add case values to several widgets to allow for mouse-clicks with
846 "--extra-button" and "--help-button" additions.
847 + correct timebox widget's exit code for "--extra-button" when handing
848 the "enter" key.
849 + modify msgbox widget to honor "--extra-button".
850 + corrected processing of "--trace" option, which did not update the
851 index into command-line to point past its value.
852 + add a check in dialog program for valid characters used in option,
853 e.g., to generate an error if a script attempts to add option value
854 using "=" rather than with whitespace.
855 + add new command-line option --default-button and library function
856 dlg_default_button() to retrieve the value set by the option
857 to provide a way to set the default button directly rather than
858 by combining --nook, etc. (patch by Zoltan Kelemen).
859 + amend include of unctrl.h to apply only to the case where curses.h
860 is included, to avoid conflict of ncurses' unctrl.h with a system
861 implementation (report by Martin Roedlach)
862 + add limit-check to dlg_toupper() in non-wide curses mode to work
863 when non-character values such as arrow-key codes are passed to
864 it (patch by Zoltan Kelemen).
865 + override timeout value, e.g., as set via --timeout command-line
866 option in pause widget because that interferes with pause's behavior
867 (report by Jan Spitalnik).
868 + modify samples/inputmenu* to allow ":" in renamed text (report by
869 Andreas Stoewing).
870 + modify double-quoting to make it more consistent, i.e., checklist
871 output is quoted only when needed. This fixes the case where
872 single-quotes were used whether or not needed, but also modifies
873 older checklist behavior for double-quoting which always added those
874 (Debian #663664).
875 + correct exit-code used in inputmenu for "rename" button (Debian
876 #673041, forwarded from Ubuntu #333909, patch by Lebedev Vadim).
877 + update el.po and hr.po from
878 http://translationproject.org/latest/dialog/
879 + use checkbashisms to clean up sample scripts.
880
881 2012/02/15
882 + modify menubox.c to use the same improvement as in checklist.c
883 + improve auto width computation for checklist widget by using
884 dlg_calc_list_width as in the non-auto case (Edho Arief).
885 + eliminate some bashisms in the sample scripts (Pedro Giffuni).
886 + makefile fixes from FreeBSD ports (Li-Wen Hsu):
887 + make --with-package option of configure script work.
888 + get LIBTOOL_VERSION from configure script, needed by
889 ${LIBTOOL_VERSION} in LIBTOOL_CREATE (LIB_CREATE in configure and
890 aclocal.m4)
891 + update cs.po and sr.po from
892 http://translationproject.org/latest/dialog/
893 + updated configure script macros, improving CF_XOPEN_SOURCE among
894 other fixes.
895
896 2011/10/20
897 + fix --analyze warnings for clang versions 2.8, 2.9.
898 + add configure check for lint program.
899 + add check in dlg_getc() in case its window is freed as a side effect
900 of removing callbacks.
901 + fix logic in freeing subwindows (report by xDog Walker).
902 + fix a regression in logic distinguishing between inputmenu and menu
903 widgets (report by xDog Walker).
904 + minor fixes to library manpage.
905
906 2011/10/18
907 + modify header-sh.in to work around limit on sed script length on
908 HPUX.
909 + add a special case of parameter parsing for "--trace" to the
910 initialization done before calling init_dialog(), to allow users to
911 capture the initial state of the parameter list before any options
912 are processed and removed. This is only done if "--trace" is the
913 first option, otherwise it is handled in the common options as before
914 (report by xDog Walker).
915 + modify samples/testdata-8bit, discarding $1 from the parameter list
916 if it was used, so that the source'ing scripts can consistently use
917 "$@" to insert parameters before the widget, e.g., as an alternative
918 to using $DIALOGOPTS (report by xDog Walker).
919 + modify treatment of function pointers in menubox.c, make
920 dlg_renamed_menutext() and dlg_dummy_menutext() visible to library
921 users (request by xDog Walker).
922 + add dlg_count_real_columns(), use to modify centering for "--hline"
923 text to account for "\Z"s (report by xDog Walker).
924 + improve check in dlg_draw_arrows2() for conflict between the window
925 title and up-arrow marker to take into account that the given window
926 may not be the top-level window of the widget.
927 + change width of page up/down mouse areas in fselect panes to use the
928 full width of the panes rather than only the portion from the left
929 margin to the up/down arrow.
930 + add/use dlg_draw_box2() and dlg_draw_bottom_box2() to use the
931 secondary borders.
932 + modify rc-file read/write to accept/generate color values that refer
933 to previously-processed items in the color table. This reduces the
934 number of distinct colors that must be specified to set up a color
935 scheme.
936 + add color table entries for secondary borders, i.e., the ones that
937 are normally drawn with the dialog's text-colors (Debian #641168).
938 + modify fselect.c to scan the current directory if the input field
939 happens to be empty (Debian #640905).
940 + repeated the discussion of environment variables that can override
941 the exit-status values in the manpage's return-codes section
942 (Debian #642105).
943 + add an example to the manpage showing how to override the form
944 widget's keys used for field/button traversal (Debian #642108).
945 + modify call to dlg_register_window() in formbox.c so that the editing
946 bindings are attached to the form sub-window rather than the
947 top-level dialog window. Also change the name by which the editing
948 bindings are bound for editbox.c, fselect.c and inputbox.c, so that
949 the editing and navigation bindings can be different.
950 + correct logic in dlg_lookup_key() so that it matches the widget name
951 before using a binding from .dialogrc, allowing the inner/outer
952 windows of form and other editing widgets to have different bindings.
953 + modify dlg_register_window() to call dlg_dump_window_keys() after
954 its updates, via the --trace output, to supplement the manpage
955 description of key bindings (Debian #642108).
956 + add DLGK_FORM_PREV and DLGK_FORM_NEXT key-bindings to form.c, to
957 allow binding a single key to traverse both form-fields and buttons
958 (Debian #642108).
959 + modify dlg_parse_rc() to check for error return from
960 dlg_parse_bindkey().
961 + add function dlg_dump_window_keys(), to help with debugging widgets.
962 + add CR, LF, TAB, FF and ESC to table of curses names to help make
963 key bindings more readable.
964 + update table of dialog key-names so that helpfile and trace are
965 dumped properly.
966 + correct dlg_dump_keys(), which was showing only the first item in
967 the matched binding table.
968 + save/restore window current position in dlg_update_mixedgauge().
969 + pass return-code from pause_for_ok() from dlg_progressbox() when
970 pauseopt is set, rather than only DLG_OK.
971 + call setlocale() in init_dialog() rather than relying on on-demand
972 use within inputstr.c, since there are paths in textbox widget which
973 do not exercise the latter (report by xDog Walker).
974 + fix some places where checks for "\Z" were done without also checking
975 dialog_vars.colors (report by Moray Henderson).
976 + correct logic for DIALOGOPTS parsing so that the parse happens only
977 once unless memory leak checking is enabled (report by xDog Walker).
978 + remove an incorrect free() call in dlg_free_gauge() (report by xDog
979 Walker).
980 + modify dlg_trace_win() to log wide-characters (report by xDog Walker).
981 + make traces shorter by skipping repeated ERR's, but showing the
982 number skipped (report by xDog Walker).
983 + improve description in manpage to distinguish program box and
984 progress box from tailboxes (adapted from email by xDog Walker).
985 + modify dlg_trace_win() so that it looks for the topmost window in a
986 dialog. Because subwindows share space with the top window, tracing
987 the latter shows the whole widget (report by xDog Walker).
988 + expand tracing so that each window is traced before soliciting input,
989 making the ^T feature to print a window on demand partly redundant
990 (suggested by xDog Walker).
991 + cosmetic change in dialog.h to avoid "*/*" strings from comments next
992 to "*" (report by xDog Walker).
993 + ensure result from dlg_align_columns() has trailing null on each
994 string. Analysis was hindered by libc6's continuance of libc5's
995 early-1990s misfeature of clearing the result from malloc, noting
996 that libc6's documentation incorrectly claims that it does not do
997 this (report by xDog Walker).
998
999 2011/07/07
1000 + modify util.c to work better with old versions of ncurses:
1001 + suppress use of wchgat() before fix in 20060715 which is needed
1002 for simple shadow manipulation used here in 2011/06/30 (report
1003 by xDog Walker).
1004 + add a null-pointer check in dlg_print_scrolled()
1005 + fix a regression in dlg_getc() introduced by changes to intercept
1006 F1 for help-popup (report by xDog Walker).
1007
1008 2011/06/30
1009 + correct license statement for prgbox.c (Debian #632198).
1010 + correct layout when "--colors" is used, by discounting characters in
1011 the escape sequences from the column counts (report by xDog Walker).
1012 + modify dlg_checklist() so that only one item in the list can
1013 initially be selected (report by xDog Walker).
1014 + add/use macro dlg_enter_buttoncode() to improve implementation of
1015 "--nook" option (report by xDog Walker).
1016 + add option "--no-nl-expand" to suppress the conversion of "\n"
1017 strings into newlines (request by xDog Walker).
1018 + modify LIB_CREATE symbol in makefile.in to include the library
1019 dependencies such as ncurses. This is needed when dynamically
1020 loading the library (report/analysis by xDog Walker).
1021 + modify dlg_exit_label() to suppress the Cancel button, for
1022 consistency.
1023 + modify dlg_exit_label() to honor the --nook option, except when there
1024 is no other button, e.g., the help-button.
1025 + modify dlg_exit_buttoncode() so that it returns the proper code for
1026 help-button (report by xDog Walker).
1027 + correct loop limit when processing "--column-separator" (report by
1028 xDog Walker).
1029 + modify handling of "--version" and "--help" to ensure that they are
1030 processed, and exit before widgets. Separate "--print-version"
1031 from "--version", allowing its output to be interspersed with
1032 widget output (report by xDog Walker).
1033 + correct a few places where "--version" or "--help" options went
1034 always to stdout rather than allowing redirection with the "--stderr"
1035 option (report by xDog Walker).
1036 + improve repainting after erasing a widget and its shadow.
1037 + add "--hline" and "--hfile" options for compatibility with FreeBSD
1038 dialog (request by Devin Teske).
1039 + add dialog version message when opening a trace file (request by
1040 xDog Walker).
1041 + show filename of rc-file in traces.
1042 + add piped-in data for gauge widget to traces.
1043 + add entrypoints to gauge widget, for allocating, updating and freeing
1044 the widget (adapted from patch by Stephen Hurd).
1045 + fix a reference to freed memory in the gauge widget.
1046 + fix --no-mouse option by actually closing the mouse (report by
1047 xDog Walker).
1048 + add sk.po from
1049 http://translationproject.org/latest/dialog/
1050 + limit Solaris xpg4 portability fix for redefinition of ERR to cover
1051 the specific value found in <sys/regset.h>, in case an application
1052 includes dialog.h after curses.h (FreeBSD #156601, report by Jaakko
1053 Heinonen, Stephen Hurd).
1054 + updated configure macros:
1055 + CF_CURSES_CPPFLAGS,
1056 + CF_CURSES_LIBS, make checks for special libraries on hpux10 and
1057 sunos4 optional
1058 + CF_CURSES_FUNCS, workaround for bug in gcc 4.2.1 (FreeBSD 8.1)
1059 which caused part of test program to be omitted, i.e., when it saw
1060 two return-statements in a row it omitted the _first_ one. Also
1061 add expression to pointer check to help FreeBSD's linker decide it
1062 should be validated. Just an assignment was not enough. Also, add
1063 check for unctrl.h
1064 + CF_CURSES_HEADER, change order for curses.h / ncurses.h pairs to
1065 put ncurses.h first, which will tend to provide the same #define's
1066 as in CF_NCURSES_HEADER (report by Dennis Preiser).
1067 + CF_CURSES_TERM_H, modify to avoid spurious check for
1068 <curses.hterm.h> if there is no ncurses version. Look for
1069 ncurses's term.h anyway, to work around breakage by packagers who
1070 separate ncurses' header files.
1071 + CF_DISABLE_RPATH_HACK, fix garbled message
1072 + CF_LD_RPATH_OPT, add mirbsd
1073 + CF_MAKEFLAGS, filter out GNU make's entering/leaving messages.
1074 This only appeared when using the macro in a dpkg script, though it
1075 should have in other cases.
1076 + CF_RPATH_HACK, add a check for libraries not found, e.g., from
1077 suppressed functionality of gcc in linking from /usr/local/lib, and
1078 add a -L option to help work around this.
1079 + CF_XOPEN_SOURCE, workaround for cygwin to get ncurses' configure
1080 script to define _XOPEN_SOURCE_EXTENDED (cygwin's features.h
1081 doesn't do anything, so it needs a crutch).
1082 + update config.guess, config.sub
1083
1084 2011/03/02
1085 + add --prgbox and --programbox (adapted from patch by David Boyd).
1086 + add sl.po from
1087 http://translationproject.org/latest/dialog/
1088 + fix timeouts from 2011/01/18, which were being interpreted as
1089 milliseconds rather than seconds (report by Luis Moreira).
1090
1091 2011/01/18
1092 + fix inconsistency in return-codes for textbox when help-button is
1093 used by making dlg_exit_buttoncode() a wrapper for
1094 dlg_ok_buttoncode().
1095 + modify pause widget to use dlg_ok_buttoncode(), so help-button works.
1096 + correct two infobox sample scripts, which did not pass extra
1097 command-line parameters due to quoting problems.
1098 + add a limit-check to the timebox widget (patch by Garrett Cooper).
1099 + modify --trace option to also trace the command-line parameters.
1100 + account for combining characters when wrapping text (Debian #570634).
1101 + correct handling of SIGWINCH in gauge widget (Debian #305705).
1102 + add gauge_color, to make guage's progress-bar distinct from
1103 title_color (request by Dominic Derdau).
1104 + update fi.po from
1105 http://translationproject.org/latest/dialog/
1106 as well as resync line-numbers in the other po-files.
1107 + modify configure script and dialog program to build with NetBSD's
1108 wide-character curses functions, including workarounds for its
1109 incorrect WACS_xxx definitions. Some of the UTF-8 examples work.
1110 + add back-tab for traversal of tailboxbg widgets, for symmetry with
1111 tab-traversal.
1112 + reduce flicker in tailboxbg by checking if the input file size has
1113 changed.
1114 + modify internals of callbacks to avoid blocking reads of their
1115 associated files by keyboard input.
1116 + add command-line option --no-mouse, to suppress use of mouse.
1117 + add configure option --enable-header-subdir to allow the header files
1118 to be installed into a subdirectory named for the package.
1119 + modify dlg_restore_vars() to retain the updated values of
1120 input_result and input_length, eliminating the need for a caller to
1121 provide their own user buffer (prompted by report by Thiago Bimbatti
1122 Felicio).
1123 + add a null-pointer check in show_result() for
1124 dialog_vars.input_result, and ensure it is set to null after freeing
1125 (prompted by report by Thiago Bimbatti Felicio).
1126 + change order of -I options in CPPFLAGS (report by Michel Feldheim)
1127 + modify pause-widget so that it no longer exits when an unrecognized
1128 key is pressed (patch by Creidieki M Crouch).
1129 + add --with-package option to configure script to allow renaming
1130 of the dialog program and library, to support the package scripts.
1131 + add Debian and RPM package scripts for test-builds.
1132 + several improvements to configure script:
1133 + quote params of ifelse()
1134 + change obsolete ${name-value} to standard ${name:-value}
1135 + use new macros CF_ADD_LIB/CF_ADD_LIBS to enforce consistency.
1136 + AM_GNU_GETTEXT, drop $MKINSTALLDIRS, use "mkdir -p" consistently.
1137 + CF_ADD_SUBDIR_PATH, workaround - if $prefix was not mkdir'd yet, no
1138 directories were added.
1139 + CF_BUNDLED_INTL, add --with-textdomain option, to use with lynx-dev
1140 package
1141 + CF_FIND_LINKAGE, simplify save/restore of $LIBS
1142 + CF_GCC_WARNINGS, fix for Mac OS X (compiler makes conftest.dSYM
1143 directory)
1144 + CF_HEADER_PATH, don't search for variations of everything in the
1145 current include-path
1146 + CF_WITH_CURSES_DIR, move the calls to CF_ADD_INCDIR and
1147 CF_ADD_LIBDIR for the curses-directory here, from
1148 CF_NCURSES_CPPFLAGS and CF_NCURSES_LDFLAGS, so it will work even
1149 with the default checking, e.g., no --with-ncurses, etc.
1150 + update config.guess, config.sub
1151
1152 2010/04/28
1153 + several improvements to configure script:
1154 + modify CF_CURSES_TERM_H to handle cases such as cygwin where
1155 packager has installed curses.h and term.h in different
1156 directories, e.g., to wedge in a termcap library.
1157 + modify CF_XOPEN_SOURCE, adding special case for OpenSolaris
1158 + modify CF_MAKE_TAGS to add check for exctags and exetags, prefer to
1159 ctags and etags to work around pkgsrc (NetBSD) renaming.
1160 + correct CF_FIND_LINKAGE, setting cache variable for library_file in
1161 the special case where no directory search is made.
1162 + improve CF_GCC_VERSION, suppress stderr for c89 alias of gcc.
1163 + improve CF_GCC_WARNINGS, moving -W and -Wall into the list to
1164 check, since c89 alias for gcc complains about these options.
1165 + modify CF_HEADER_PATH, to not search for variations of everything
1166 in the current include-path
1167 + use "mkdir -p", remove mkdirs.sh
1168 + use CF_CURSES_HEADER to fill in possible subdirectory used for
1169 ncurses header filename.
1170 + modify CF_XOPEN_CURSES to work around current ncurse header loss of
1171 predefinition of _XOPEN_SOURCE_EXTENDED
1172 + add "--disable-rpath-hack" option, along with scripting to add
1173 rpath option to libraries found in unusual places.
1174 + modify pause widget to autosize like gauge, and to omit the area for
1175 buttons when none are displayed.
1176 + fix an infinite loop in dlg_button_layout() if there are no buttons
1177 to display (Debian #579390).
1178 + add makefile rules for generating html, etc., documentation from
1179 nroff.
1180 > patches by Samuel Martín Moro
1181 + reset errors in tailbox before reading new character.
1182 + modify dlg_draw_scrollbar(), omitting hiding percentages in boxes
1183 when no arrows or scrollbar are needed.
1184 + correct value of row for scrollbars in formbox.
1185 + update es.po from
1186 http://translationproject.org/latest/dialog/
1187
1188 2010/01/19
1189 + split up binding tables in inputbox and similar widgets to avoid
1190 conflict between cursor-key use for input-string versus navigation
1191 (report by slakmagik).
1192 + if strftime() is available, support --time-format option for timebox
1193 widget.
1194 + if strftime() is available, support --date-format option for calendar
1195 widget (request by Walter Harms).
1196 + build-fixes for linking to intl library in /usr/local
1197 + add --scrollbar option, use in most widgets to show a scrollbar on
1198 the right margin of the data. That is cosmetic, does not respond to
1199 the mouse.
1200 + reuse functions from msgbox to allow prompt for yesno box to be
1201 scrolled in a too-small window.
1202 + correct mapping of button-codes with --nook option (report by Lebedev
1203 Vadim).
1204 + cleanup sample scripts using new utility scripts setup-* and report-*,
1205 and allow command-line parameters to be added, for ad hoc testing.
1206 + correct change to tailbox widget from 2009/02/22 using
1207 dlg_button_layout(), which broke that widget.
1208 + document some of the portability caveats.
1209 + modify gauge widget to service callbacks (prompted by patch and
1210 comments by Frank Sorenson).
1211 + modify editbox to allow its input buffer to be larger than MAX_LEN
1212 unless bounded by the --max-input option, and add limit-checks for
1213 the buffer (report by slakmagik).
1214 + improve manpage description of --checklist (report by Isaac Good).
1215 + several improvements to configure script macros: CF_ADD_CFLAGS
1216 CF_CURSES_FUNCS CF_DISABLE_ECHO CF_GCC_ATTRIBUTES CF_MATH_LIB
1217 CF_POSIX_C_SOURCE CF_REMOVE_DEFINE CF_WITH_LIBTOOL CF_XOPEN_SOURCE
1218 + add is.po, lv.po, sw.po from
1219 http://translationproject.org/latest/dialog/
1220 + update de.po, id.po, pl.po, pt_BR.po, vi.po from
1221 http://translationproject.org/latest/dialog/
1222
1223 2009/02/22
1224 + do not display top-arrows for scrolling if they would overwrite the
1225 title (report by slakmagik)
1226 + consistently use dlg_button_layout() when autosizing widgets (report
1227 by slakmagik).
1228 + add "-" and "+" bindings to timebox widget.
1229 + add "-" and "+" bindings to calendar widget (OpenSolaris #6739031).
1230 + review/fix other widgets to ensure that they exit on error, e.g.,
1231 editbox.c
1232 + modify check in dlg_getc() to treat closure of either stdin or stdout
1233 as an error, rather than both. This is more stringent than the check
1234 added in 2007/07/04.
1235 + modify dlg_result_key() to map curses ERR to dialog's error exit
1236 (adapted from patch by Domagoj Pensa).
1237 + updated several configure script macros:
1238 + consistently append, rather then prepend, to $CFLAGS
1239 + add cases for AIX 6, mint, and dragonfly to CF_XOPEN_SOURCE
1240 + use $PATH_SEPARATOR rather than $PATHSEP
1241 + improve CF_FIND_LINKAGE, use in checks for more libraries, e.g.,
1242 libutf8 and libiconv.
1243 + update da.po, ru.po from
1244 http://translationproject.org/latest/dialog/
1245 + update config.guess, config.sub
1246
1247 2008/08/19
1248 + amend changes to quoting; by default, the checklist widget quotes its
1249 output except when --separate-output is used (Debian #495600).
1250 + add eo.po from
1251 http://translationproject.org/latest/dialog/
1252
1253 2008/07/27
1254 + add pointer-check when closing piped input (cf: 2007/03/25)
1255 + use here-documents rather than echo, when passing backslashes in
1256 strings, to accommodate the Debian shell "dash" (Debian #489563).
1257 + recode several ".po" files to UTF-8 for consistency.
1258 + change --separator to be an alias for --output-separator, for
1259 compatibility with Xdialog.
1260 + add --output-separator option to allow scripts to change the output
1261 separator from a newline (for --separate-output) or a space. This
1262 applies to other widgets such as forms and editboxes which normally
1263 use a newline.
1264 + add --column-separator option, to tell where column-aligned data for
1265 radio/checkboxes or menus should be split into columns (request by
1266 Ben Dibbens).
1267 + add id.po, ku.po, lt.po, nb.po and update ca.po, fr.po, gl.po, ja.po,
1268 th.po from
1269 http://translationproject.org/latest/dialog/
1270 + add "--quoted" option, to quote values returned by formbox, etc.
1271 + change names of EX/ES macros in dialog.1 to work around name-
1272 pollution caused by changes in Debian #470729.
1273
1274 2008/03/16
1275 + modify dlg_mouse_wgetch() to loop only on errors that it detects,
1276 rather than on errors forwarded from dlg_getc(), in case those are
1277 due to a disconnected terminal (report by Anatoli Sakhnik).
1278 + allow "default" color in dialogrc file (request by Dashing).
1279 + fix an indexing error in formbox (Debian #469190, report by Dmitry
1280 Gomerman, patch by Vladimir Mezentsev).
1281 + add bindings for CTL/N, CTL/P to checklist, fselect and menubox
1282 widgets (prompted by discussion with John Gatewood Ham).
1283 + add [email protected], th.po and update zh_TW.po from
1284 http://translationproject.org/latest/dialog/
1285 > patches by Peter Åstrand:
1286 + modify dlg_auto_sizefile() to ensure the computed height and width
1287 do not extend beyond the screen size.
1288 + use unctrl() to make inputstr.c work with Solaris curses.
1289 > patches by Yura Kalinichenko:
1290 + extend pause widget to use ok/cancel buttons (the former giving the
1291 same result as a timeout), rather than an exit-button.
1292 + fix initialization parameter of inputbox for multibyte characters.
1293
1294 2007/10/28
1295 + improve layout of checklist.c, menubox.c, ensuring that the list fits
1296 within the available space (report by Gordon Schumacher).
1297 + undo removal of redundant chunk from checklist.c in 2007/02/27,
1298 since some scripts depend on this (Debian #443077).
1299 + update nl.po from
1300 http://translationproject.org/latest/dialog/
1301
1302 2007/09/30
1303 + correct cursor position in editbox after deleting past left margin
1304 (report by Joe McDonagh).
1305 + add "--no-ok" option (patch by Klaus Knopper).
1306 + modify "--file" option to allow it to read from sources other than
1307 a regular file (patch by Pieter van Beek).
1308 + improved hi.po (Hindi) (from Klaus Knopper).
1309 + fix masking of attributes in dlg_draw_shadow() which lost
1310 line-drawing bit (report by David Everly).
1311 + fix editbox widget to handle zero-length files (report by Joe
1312 McDonagh).
1313 + update "po" files eu.po ga.po it.po ms.po sv.po vi.po wa.po zh_CN.po
1314 from
1315 http://translationproject.org/latest/dialog/
1316
1317 2007/07/04
1318 + revise the resizable shadows so textbox's search dialog has text
1319 visible in the shadow again.
1320 + improve the prefixing of autoconf-related symbols in the installed
1321 header files, taking into account symbols which are not mentioned in
1322 dlg_config.h
1323 + add a check when ERR returned from wgetch() to ensure that the
1324 input/output streams are still valid. If that happens, force
1325 ESC to be returned, quitting dialog (report by Reiner Huober).
1326 + add extern "C" declarations to dlg_keys.h so the corresponding
1327 function declarations are exported to C++ as C symbols.
1328 + update config.guess, config.sub
1329
1330 2007/06/04
1331 + fix a memory leak in editbox.c
1332 + revise change from 2007/02/27 which moved the logic for trimming
1333 option text out of the loop because that moved it before
1334 initialization of the "--trim" option. Put it back in the loop, but
1335 limit the tokens which are trimmed to cover only those for the
1336 current widget. Also ensure that all tokens for a widget are
1337 trimmed, rather than only the first, which is usually text (report by
1338 Lai Zit Seng).
1339 + add _FILE_OFFSET_BITS definition in CF_LARGEFILE configure macro.
1340
1341 2007/05/28
1342 + revise changes needed to make textbox's searchbox handle ncurses
1343 resizing events, e.g., by handling the ERR in that code rather than
1344 in dlg_getc() (Debian #423732).
1345
1346 2007/05/14
1347 + supply a repaint_text() call in tailbox.c which was bypassed because
1348 dlg_getc() now retries on ERR (Debian #423732, cf: 2007/02/27).
1349 + modify dlg_getc() to fix regression in 2007/02/27 for use of
1350 timeouts, broken by fixes to allow resizing of textbox (patch by
1351 Arnaud Fontaine, Debian #418905).
1352 + modify dlg_getc() to fix regression in use of TAB for traversal of
1353 tailboxbg widgets due to changes for user-definable key bindings
1354 (Debian #418917, cf: 2005/12/07).
1355
1356 2007/04/09
1357 + add case in dlg_getc() to handle tab for traversing between widgets
1358 as in the samples/tailboxbg1 script. Normally the key binding
1359 overrides, except for the special case where multiple widgets are
1360 available.
1361 + add configure --with-libtool-opts, which passes its value to the
1362 library creation and linkage passes, e.g.,
1363 --with-libtool-opts=-static
1364 to force the result to be static libraries (prompted by a related
1365 request by Santiago Vila).
1366 > several fixes based on Coverity scan:
1367 + fix memory leak in timebox, calendar widgets if the widget cannot
1368 be created.
1369 + fix memory leak in dlg_key.c if a user binding's storage cannot
1370 be allocated.
1371 + fix improperly delinked entry in dlg_del_window().
1372
1373 2007/03/25
1374 + improve mkdirs.sh to ignore error from mkdir if the target directory
1375 happens to already exist (suggested by Harald van Dijk).
1376 + amend documentation for --gauge to reflect longstanding quirk which
1377 allows it to read percentage from the first line after an "XXX"
1378 (Debian #415596).
1379 + fix makefile dependency so "configure && make install-lib" works.
1380 + fix resizing of msgbox; the message was not repainted (Debian
1381 #415022, patch by Brian Rolfe).
1382 + fix typo in makefile LIB_OBJECT symbol from 2007/02/27 changes.
1383 + improve CF_MBSTATE_T by including stdio.h, needed on Tru64 to make
1384 the test-compile work.
1385 + change makefile to install dialog.3 as part of install-lib rather
1386 than install-man (report by Thomas Klausner).
1387 + use $(INSTALL_SCRIPT) for installing dialog-config (report by
1388 Santiago Vila).
1389
1390 2007/02/27 - release 1.1
1391 + mark as "dialog 1.1"
1392 + add dialog-config script, which provides applications with compile-
1393 and link-information for using the dialog library.
1394 + move calls to dlg_trim_string() out of loop in dialog.c, so each
1395 string is trimmed once (report by Ivanov Makcim).
1396 + modify textbox.c to allow resizing while the search box is presented.
1397 This relies on bug-fix in ncurses 5.6 20070224.
1398 + use dgettext() rather than gettext() to allow libdialog to use the
1399 messages installed for dialog (patch by Vajna Miklos).
1400 + modify inputbox to position the cursor initially at the end of any
1401 initial-text (request by Klaus Knopper).
1402 + add configure --with-valgrind for testing.
1403 + add --trace option, for debugging.
1404 + add --ascii-lines and --no-lines options to control the way the
1405 line-drawing characters are rendered (request by Klaus Knopper).
1406 + add --keep-tite option, to override suppression of smcup/rmcup
1407 (termcap ti/te) strings which would switch to xterm's alternate
1408 screen (Debian #380665).
1409 + modify fselect/dselect to use space-character as a completion
1410 operator like tab in shells (patch by Yoram Bar Haim).
1411 + remove a redundant chunk from checklist.c which reported status a
1412 second time if the help-button was pressed but no item-help option
1413 was in effect (Andre C Barros).
1414 + fix return-status from "dialog --pause" (Debian #409254).
1415 + add --mixedform and --mixedgauge dialogs based on patch from
1416 Kiran Cherupally.
1417 + add some notes on compatibility to the manpage.
1418 + add editbox dialog (compatible with Xdialog, Debian #368478).
1419 + add dselect dialog (compatible with Xdialog).
1420 + remove an incorrect initialization of .text_flen from 2005/12/07
1421 changes, which made all fields in a form editable (Debian #404045).
1422 + report error and exit if a filename given for the --file option
1423 cannot be opened (report by "Dog Walker").
1424 + make --program-prefix, etc., work in configure script, e.g., to make
1425 program install as "cdialog". This does not alter the library name.
1426 + add install-bin, install-man (and uninstall) rules to makefile.
1427 + updates for configure script macros (originally vile, lynx, xterm):
1428 AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, CF_CURSES_CPPFLAGS,
1429 CF_CURSES_LIBS, CF_INCLUDE_DIRS, CF_LARGEFILE, CF_MAKEFLAGS,
1430 CF_PATH_SYNTAX, CF_SUBDIR_PATH, CF_SUBST, CF_WITH_DBMALLOC,
1431 CF_WITH_DMALLOC, CF_WITH_LIBTOOL and CF_XOPEN_SOURCE.
1432 + update config.guess, config.sub
1433 > adapted fixes from SuSE package (Werner Fink):
1434 + add some limit-checks in dlg_draw_shadow().
1435 + make shadows resizable, using new dlg_move_window() in msgbox.c
1436 and yesno.c
1437 + add dialog_state.input, use this in end_dialog() to decide whether
1438 to close pipe inputs and call _exit(), or simply call exit().
1439 + modify dlg_ctl_size() to check if the reason for failure is because
1440 shadows were used; retry in that case without shadows.
1441 + add signal catcher for SIGSEGV.
1442
1443 2006/02/21
1444 + fix logic in split-out dlg_menu() to separate inputmenu and menu
1445 handling (report by Auke Kok).
1446
1447 2006/01/26
1448 + fix fselect.c to compile properly with Intel compiler and largefile
1449 option.
1450 + improve configure script checks for curses headers to work around
1451 breakage in some packages, e.g., cygwin.
1452 + amend correction to menubox, fixes normal menus (Debian #349969).
1453
1454 2006/01/19
1455 + completed dialog.3 manpage
1456 + modify configure script option --with-gauge to cover all flavors of
1457 the gauge (gauge, pause, progressbox).
1458 + add progressbox widget, a hybrid of gauge and tailbox (Reznic Valery).
1459 + fix a comparison in checklist.c to avoid unneeded arrows when the
1460 list happens to fit in the window (patch by Peter Postma).
1461 + correct wrapping computation in print_line() from 2005/11/07 changes
1462 (report by Barry Kauler).
1463 + update sv.po (comments only).
1464 http://www.iro.umontreal.ca/translation/maint/dialog/
1465 + correct logic that passes the callback for menubox to do inputmenu
1466 operations from 2005/12/7 changes (report by Reznic Valery).
1467
1468 2006/01/01
1469 + add a null-pointer check in dlg_register_buttons(), needed for the
1470 tailboxbg (Debian #345524).
1471 + fix a few memory leaks reported by valgrind.
1472
1473 2005/12/19
1474 + correct return-values of new functions dlg_default_listitem() and
1475 dlg_default_formitem() (Debian #344002).
1476 + add Swedish translation (Debian #343303, by Daniel Nylander)
1477 + begin function-summaries in dialog.3
1478 + update config.guess, config.sub
1479
1480 2005/12/07
1481 + change license to LGPL.
1482 + change naming convention in dlg_colors.h to make it easier to read,
1483 and incidentally remove the last chunk of code preventing relicense.
1484 + add --passwordform (request by Reznic Valery).
1485 + modify pause.c, msgbox.c to work with --help-button.
1486 + modify formbox.c, inputbox.c, textbox.c, yesno.c to work with extra
1487 button (adapted from Reznic Valery patch).
1488 + modify dlg_exit_label(), dlg_yes_labels() and dlg_ok_label() to allow
1489 help-button (prompted by Reznic Valery patch).
1490 + add zh_CN.po file from
1491 http://www.iro.umontreal.ca/translation/maint/dialog/
1492 + provide alternate interfaces for dialog_checklist(), dialog_menu()
1493 and dialog_form(): dlg_checklist(), dlg_menu() and dlg_form()
1494 (discussion with Michael Gebetsroither).
1495 + add/use dlg_result_key() to allow binding function keys to the
1496 buttons.
1497 + implement user-definable key bindings in the rc-file.
1498 + modify inline cases for KEY_xxx values to use binding tables in new
1499 module dlg_keys.c
1500 + add several DIALOG_STATE items to the rc file: aspect,
1501 separate_widget, tab_len and visit_links
1502 + add a tab-adjustment to dlg_print_text() to improve solution from
1503 2005/10/30, e.g., in the samples/form* scripts.
1504 + fix an off-by-one which made mouse-selection not work for menu items
1505 past the first page (GenToo #112024, patch by Harald van Dijk).
1506
1507 2005/11/07
1508 + extend dlg_add_result() to allow caller to pass a null pointer
1509 for dialog_vars.input_result (Debian #336986).
1510 + correct length used for text portion of radio/checkboxes (report by
1511 Valentin Stoykov).
1512 + modify msgbox, textbox and center_label() to work properly for
1513 LANG=bg_BG.utf8 examples by Valentin Stoykov.
1514 + modify use of freopen() to work with opaque FILE type on DragonFly
1515 (report by Jeremy C Reed).
1516 + modify print_line() to compute columns, use that for the call to
1517 dlg_print_line(). Fix a few places where strlen() was used instead
1518 of dlg_count_columns() (reports by Valentin Stoykov).
1519
1520 2005/10/30
1521 + reviewed changes since beginning development in 1999, decided that
1522 there are no appreciable portions of original code remaining.
1523 Marked sources to correspond.
1524 + improve cache performance for inputstr.c using tsearch() rather than
1525 a linked-list search (Debian #294853).
1526 + remove a special case for darwin in CF_XOPEN_SOURCE configure macro.
1527 + add ms.po file from
1528 http://www.iro.umontreal.ca/translation/maint/dialog/
1529 + remove an assignment that caused the cursor to appear initially on a
1530 form field rather than button (Debian #333506).
1531 + modify buttons.c to count columns rather than bytes, fixing case
1532 where buttons were laid out incorrectly (report by Valentin Stoykov).
1533 + change dlg_print_text() to count columns rather than bytes, fixing
1534 case where fewer columns were displayed in menu than expected
1535 (report by Valentin Stoykov).
1536
1537 2005/10/05
1538 + improve fix for dlg_does_output(), eliminating redundant leading
1539 separator.
1540 + fill background color for item-help text (report by Peter Postma).
1541 + correct interaction between --separate-output and --output-separator
1542 broken in 2005/09/11 fix for Debian #326918 (Debian #331440).
1543 + update config.guess, config.sub
1544
1545 2005/09/11
1546 + undo doubled adjustment for left/right margins when wrapping text
1547 for msgbox, gauge and pause (report by Xyba).
1548 + correct position of scrolled text in formbox broken by 2004/12/19
1549 changes (report by Konrad Jelen).
1550 + call dlg_does_output() from dlg_add_result(), ensuring that
1551 separators are used when combining widgets such as formbox (report by
1552 John Suykerbuyk).
1553 + fix marker in textbox.c to make it disappear at the top of the file
1554 (report by Patrick J. Volkerding).
1555 + fix marker shown in arrows.c for checklists, etc., which was "(+)"
1556 where it should have been "(-)" (report/patch by Patrick J.
1557 Volkerding).
1558 + fix --input-fd (changes in glibc since 2003 made dialog hang on exit
1559 due to the way dialog updated stdin).
1560 + restore default value (a tab) for --separator or --separate-widget
1561 lost in 2003/11/26 changes (Debian #326918).
1562 + make several widgets handle SIGWINCH (calendar, checklist, formbox,
1563 fselect, inputbox, menubox, pause, tailbox, textbox, timebox). Only
1564 msgbox and yesno had been done before. Note that some still have
1565 fixed geometry requirements, so they cannot be shrunk below a given
1566 threshold. Also, these changes do not address traversal, e.g., for
1567 tailboxbg.
1568 + make gauge widget handle SIGWINCH with ncurses (Debian #305705).
1569 + add configure option to control whether largefile support is
1570 compiled-in (Debian #298882).
1571 + update eu.po (Debian #312622, patch by Piarres Egana).
1572 + add/update po files from
1573 http://www.iro.umontreal.ca/translation/maint/dialog/
1574 fi.po, rw.po, sr.po, tr.po, zh_TW.po
1575 + fixes for configure script:
1576 + improve script for determining gcc version
1577 + improve checks for Intel compiler and related warning options
1578 + improve checks for defining _XOPEN_SOURCE (or alternatives) and
1579 _POSIX_C_SOURCE
1580 + update config.guess, config.sub
1581
1582 2005/03/06
1583 + add/update po files from
1584 http://www.iro.umontreal.ca/translation/maint/dialog/
1585 ga.po, it.po
1586 + revert last change for da.po; it was from an older version (report by
1587 Morten Brix Pedersen).
1588
1589 2005/02/06
1590 + modify makefile.in so --disable-echo applies to libtool builds.
1591 + corrected malloc size used for editable fields in formbox widget to
1592 match the function which updates the corresponding buffer.
1593 + modify formbox widget's use of flen to allow negative values to be
1594 used to limit the length of the displayed field.
1595 + improve description in manpage of output from formbox widget
1596 (Debian #292418).
1597 + modify formbox widget to allow fields with flen==0 to display
1598 (Debian #292417).
1599 + improved configure macros CF_POSIX_C_SOURCE and CF_XOPEN_SOURCE, to
1600 avoid redefinition warnings on cygwin.
1601 + fix a typo in inputmenu-stdout found via "sh -n" (report by Steve
1602 Grubb).
1603 + add/update po files from
1604 http://www.iro.umontreal.ca/translation/maint/dialog/
1605 ca.po, da.po, hu.po, nl.po, rm.po, ro.po, vi.po
1606
1607 2005/01/16
1608 + add --args option to help with debugging scripts.
1609 + adapted some new po files from Debian package for whiptail: ar.po,
1610 bg.po, gl.po, hi.po, hr.po, mg.po, mk.po, ro.po, sq.po and zh_TW.po
1611 + update da.po (Morten Brix Pedersen).
1612 + add configure check for Intel 8.0 compiler, to set appropriate
1613 warning options.
1614 + update config.guess, config.sub
1615
1616 2004/12/22
1617 + correct a typo in 2004/12/19 changes which caused width of multibyte
1618 characters to be incorrectly computed in some locales.
1619 + modify --version and --help options to write consistently to the
1620 standard output (report by Santiago Vila).
1621 + modify tailboxbg by resetting tty modes at the point where it forks a
1622 process to update the screen, rather than waiting until that process
1623 exits. This improves user feedback by making it apparent that dialog
1624 is no longer processing input after that point (Redhat #142538).
1625 + minor updates to some .po files using Babel Fish, comparing with lynx.
1626 + update es.po (Santiago Vila).
1627 + work around bug in NetBSD 1.6 curses which seems to be confused by
1628 reusing color pairs with different video attributes. The problem
1629 does not appear in NetBSD 2.0 curses (but its headers do not provide
1630 version info, so color-caching is not available for that
1631 configuration).
1632 + modify pause and gauge widgets to ensure that reverse-video progress
1633 bar is visible when the background is reversed, e.g., using the
1634 default non-color attributes.
1635 + use chtype rather than attr_t, to build with old Solaris curses,
1636 used in save/restore operation from 2004/09/20.
1637
1638 2004/12/19
1639 + add pause-widget (patch by Yura Kalinichenko).
1640 + modify exit-code returned on selecting the "Help"-button when the
1641 --item-help option is given. Previously this returned the same code
1642 as "OK", since it combines output for "OK" with the help status. It
1643 now returns the help-code, but this can be overridden by setting the
1644 environment variable $DIALOG_ITEM_HELP (reports by Erika Pacholleck
1645 and Sebastian Muesch).
1646 + modify formbox widget so input-length is not limited to field-length
1647 (report by David Liebermann).
1648 + localize the label on the search box for textbox widget (report by
1649 Erika Pacholleck).
1650 + correct usage message detail for fselect, which listed an extra
1651 parameter (Debian #284008).
1652 + add include for <sys/select.h> in ui_getc.c to build with QNX 4.25
1653 using Watcom 10.6 (patch by Len Meakin).
1654 + modify behavior when no locale (or POSIX locale) is set to allow
1655 legacy interpretation of Latin-1 character set (Debian #284795).
1656
1657 2004/11/18
1658 + correct computation of column width for menubox/checkbox tags, for
1659 multicolumn characters, e.g., the menubox-utf8 example.
1660 + correct calls to wbkgdset(), which set the background attribute but
1661 not the corresponding character (ncurses uses blank if none is given).
1662 + improve configure script check for _XOPEN_SOURCE and _POSIX_C_SOURCE.
1663 + improved limit-computation in show_message() to allow for scrolling
1664 very long messages.
1665 + adjust scrolling logic in msgbox to account for the one-line offset
1666 used by the logic which wraps text in a box, thus avoiding leaving
1667 an extra blank line (report by Maxim Sobolev).
1668
1669 2004/09/20
1670 + add samples/whiptail.rc
1671 + add samples/dialog.py (noting that a later version of this exists
1672 as pythondialog, but this is relatively self-contained). Modified
1673 the script to accept the $DIALOG environment variable like the other
1674 sample scripts, to specify the path of the program to use.
1675 + modify the install rule for header-files so the autoconf names in
1676 dlg_config.h (and corresponding usage in dialog.h, etc), are altered
1677 from "HAVE_xxx" to "DLG_HAVE_xxx", etc.
1678 + add a check for getenv("HOME") in rc.c
1679 + add a call to end_dialog() in signal_handler for tailboxbg (from
1680 patch by Werner Fink).
1681 + correct initialization in checklist and radiobox for --default-item,
1682 scrolling as needed.
1683 + modify --visit-items option so that it puts the cursor initially on
1684 the list (in menubox, checklist and radiobox), accepts abbreviations
1685 for the buttons when the cursor is on the button-row, and otherwise
1686 (when --visit-items is given) abbreviations apply only to the list
1687 (report by Erika Pacholleck).
1688 + modify a few widgets (inputbox, textbox, yesno) to beep on unexpected
1689 input.
1690 + modify some msgbox widget to accept abbreviations of its button
1691 label, for consistency with other widgets (request by Erika
1692 Pacholleck).
1693 + corrected logic of dlg_char_to_button(), making it check only the
1694 first uppercase letter in each button label rather than all uppercase
1695 letters (report by Erika Pacholleck, cf: 2003/09/10).
1696 + improved description of --clear and --keep-window options (adapted
1697 from Erika Pacholleck).
1698 + move discussion of --beep and --beep-signal options to Obsolete
1699 Options section of manpage, remove these from the help-message
1700 (report by Erika Pacholleck).
1701 + bracket extern's in dialog.h with C++ extern "C" declaration, in case
1702 the library is used from a C++ application.
1703 + modify inputmenu examples to allow ESC to cancel the script.
1704 + modify inputmenu widget to cancel edit on a TAB or ESC.
1705 + modify inputmenu widget to use the same color scheme for the editable
1706 text as the inputbox widget.
1707 + modify samples/killall to work around differences in "cut" versions.
1708 + use the color-caching from the \Z logic when loading the ".rc" file,
1709 thereby reducing the number of color pairs required, and making it
1710 less likely that deriving color pairs for drawing arrows on a given
1711 background will run out of colors.
1712 + save/restore window attributes in dlg_draw_arrows() and similar
1713 functions, to allow widgets to draw arrows using the widget's
1714 background rather than a common/fixed value (request by Erika
1715 Pacholleck).
1716 + modify textbox widget so the down-arrow will be hidden when at the
1717 end of the file. (Modifying the up-arrow to be hidden is harder -
1718 will do this when implementing scrollbars).
1719 + correct off-by-one in fselect.c which left down-arrows showing at
1720 the bottom of directory- and file-lists (report by Erika Pacholleck).
1721 + improve display of percentages by omitting blanks where lines should
1722 be shown.
1723 + modify logic for \Z escapes to make those that set video attributes
1724 not clear the colors (report by Erika Pacholleck).
1725 + modify logic for \Z escapes to allow foreground and background
1726 colors to be the same, provided that bold attribute is set.
1727 Also improved the logic for choosing a background color when the
1728 foreground and background are the same (report by Erika Pacholleck).
1729 + updated configure script macro CF_XOPEN_SOURCE, ensuring that the
1730 _POSIX_C_SOURCE value is defined with a specific value (bug report
1731 originally for lynx).
1732 + fix configure script so that po/makefile is generated properly when
1733 the configure --srcdir --enable-nls options are used.
1734 + modify makefile.in to allow build/install from another directory,
1735 i.e., using configure --srcdir (patch by Mike Castle).
1736 + updated da.po (Debian #262587, Morten Brix Pedersen).
1737 + modify some sample scripts to avoid using grave quotes nested within
1738 double quotes with multiple file redirection, which does not work
1739 with Solaris /bin/sh (report/analysis by Eric Haller).
1740 + check for end of string immediately after a \Z escape to avoid
1741 displaying the null terminator as a ^@ (report by Erika Pacholleck).
1742 > patches by Erika Pacholleck:
1743 + modify calendar.c, fselect.c and timebox.c to use color scheme like
1744 other lists, using menubox colors rather than dialog colors.
1745 + correct charset for po/de.po, translate messages for "Help" and
1746 "Rename".
1747 + omit parentheses around percentage in textbox.c
1748 + correct a few mismatched attributes, e.g., searchbox_attr in textbox.c,
1749 percentage in msgbox.c,
1750
1751
1752 2004/07/31
1753 + add test scripts to cover zero-width column case.
1754 + remove limit checks from checklist.c and menubox.c (cf: 2004/07/28),
1755 since some scripts use zero-width columns (Debian #262411 and report
1756 by Kyle Sallee).
1757
1758 2004/07/29
1759 + modify msgbox.c to only reserve space for percentage shown as part
1760 of scrollable text for the msgbox widget. This makes infobox look
1761 as it did before 2004/06/06 changes (report by Vinesh Christopher)
1762
1763 2004/07/28
1764 + remove redundant calls to wtimeout() from widgets since wtimeout()
1765 is properly called from ui_getc() where it is controlled by the
1766 --timeout option (bug report by juanjo).
1767 + add limit checks in checklist.c and menubox.c for very narrow screens
1768 (prompted by Steve Grubb patch).
1769 + initialize step in dlg_draw_buttons() in case it is used to draw
1770 a vertical list of buttons (prompted by Steve Grubb patch).
1771 > fixes by Steve Grubb:
1772 + correct logic in checklist.c (cf: 2003/11/26 changes) which turned
1773 quoting on unnecessarily for radiobox, breaking some old scripts.
1774 + increase size of array in dlg_ok_labels() to avoid overrun if extra
1775 and help buttons are used (cf: 2002/06/22 changes).
1776 + initialize fkey variable in menubox.c and textbox.c (cf: 2003/07/12).
1777
1778 2004/07/21 - release 1.0
1779 + minor updates for configure script, i.e., CF_XOPEN_SOURCE,
1780 CF_NCURSES_LIBS macros.
1781 + update config.guess, config.sub
1782 + add nl.po (Jacques Weewer).
1783
1784 2004/06/06
1785 + add --visit-items option, which allows the user to tab to the item
1786 list in the checklist/radiobox and menubox widgets (request by
1787 Ari Moisio).
1788 + use wide-character line-drawing for up/down arrows when configured
1789 for wide-characters, gives better results with uxterm.
1790 + limit the number of times a --file option can be used, to prevent
1791 runaway recursion if a --file option is embedded within a file which
1792 is included.
1793 + improve discussion of wrapping in the manpage (Debian #251937).
1794 + modify msgbox to allow it to scroll vertically like textbox (Debian
1795 #233276). This only works with ncurses.
1796 + implement $DIALOGVARS environment variable to apply common options to
1797 dialog_vars when it is reset before processing other common options.
1798 + add --single-quoted option to control whether output is double-quoted
1799 with '"' or single-quoted with single-quotes.
1800 + revert the default quoting behavior of checklists to use
1801 double-quotes (report by Mark K Post regarding Slackware scripts).
1802 + add eu.po (Basque) (Piarres Beobide Egaa).
1803 + add ca.po (Catalan) (Jordi Mallach).
1804
1805 2004/04/21
1806 + add a call to flushinp() to init_dialog(), to discard any typeahead
1807 before dialog is invoked (Debian #244746).
1808 + correct dlg_match_char() function, which was broken during rewrite
1809 to support wide-characters (Debian #244777).
1810 + improved ru.po, uses UTF-8 charset (Leonid Kanter, Redhat #119200).
1811 + correct position of shadow drawn for dialogs, which appeared to work
1812 for most versions of curses (other than NetBSD) but would have been
1813 visible for certain color schemes (discussion with Julian Coleman).
1814 + correct loop-exit in longest_word() (Tomas Heredia, forwarded by
1815 Santiago Vila).
1816 + add cy.po (Welsh) (Dafydd Harries).
1817
1818 2004/03/16
1819 + modify quoting of results to use single-quote rather than double
1820 quote, and ensure that results containing a quote or backslash
1821 character are escaped (report by Florent Rougon)
1822 + remove an incorrect comparison from checklist which made cursor
1823 stick on the last line, from 2004/03/01 changes.
1824
1825 2004/03/14
1826 + add a dependency to install library if "--with-libtool" is used.
1827 + add manpage for the library.
1828 + add "--file"
1829 + modify formbox.c to support "--help-status" like menubox.
1830 + modify checklist.c to add item name to the "HELP" string when
1831 "--help-button" is used and no --item-help option is given (Debian
1832 #236841, report/patch by Jorg Sommer).
1833 + rename colors.h to dlg_colors.h, install that when the library is
1834 installed.
1835 + add copyright notice to usage ("--help") message.
1836 + correct a missing bounds check for mouse-clicks in menubox (prompted
1837 by Debian #233044).
1838 + updated several configure-script macros: AM_GNU_GETTEXT,
1839 AM_WITH_NLS, CF_OUR_MESSAGES, CF_PROG_EXT, CF_WITH_DBMALLOC,
1840 CF_WITH_DMALLOC, CF_WITH_LIBTOOL, CF_XOPEN_SOURCE.
1841
1842 2004/03/01
1843 + improve layout of calendar widget to allow for very long button
1844 labels (report by Santiago Vila).
1845 + correct logic for $DIALOG_TTY, broken in 2003/11/30. The environment
1846 variable must evaluate to a nonzero integer (report by Florent
1847 Rougon).
1848 + document interaction between "--default-no" and "--no-cancel" options
1849 in manpage (Debian #223488).
1850 + change configure script to use autoconf 2.52+patch, to work around
1851 issues with Estonian locale (report by Seemant Kulleen).
1852 + add uk.po (Ukrainian) (Debian #232441).
1853 + make --default-item apply to checklist widget (Debian #225255).
1854 + correct a missing check for --item-help when --help-status was given
1855 for checklist (Debian #232921).
1856 + correct a missing bounds check for mouse-clicks in checklist (Debian
1857 #233044).
1858 + update config.guess, config.sub
1859
1860 2003/12/07
1861 + correct infinite loop in yesno widget when "--defaultno" option is
1862 combined with "--no-cancel" (Debian #223077).
1863
1864 2003/11/30
1865 + suppress double-quotes added for "--help-status" option if the
1866 string does not contain any special characters.
1867
1868 2003/11/26
1869 + add samples/sourcemage.rc, for comparison with slackware.rc
1870 + add "--insecure" option (request by Sean Mathews ([email protected])).
1871 + make "--defaultno" option apply to widgets which use OK/Cancel
1872 buttons as well (Debian #209030).
1873 + improve documentation of exit-codes for each widget in the manpage
1874 (Debian #217926).
1875 + add option "--keep-window" to suppress repainting after completing
1876 each widget (request by Ingo van Lil).
1877 + add options "--yes-label" and "--no-label" to allow override of the
1878 "Yes" and "No" strings (request by Christoph Zwerschke).
1879 + add option "--help-status" to allow script to restore a checklist
1880 or radiolist after processing an item-help string (Debian #209031).
1881 + modify width-calculation for non-formatted text to ensure it is
1882 wide enough for the longest word in the text (patch by Andrew Gaul).
1883 + modify dlg_index_columns() to count a newline as a single cell rather
1884 than 2 for the normal curses case. This fixes an off-by-one for
1885 the text-justification, shown in screen 2 of msgbox1 sample script.
1886 + fix dlg_char_to_button(); 2003/09/10 changes made it incorrectly
1887 ignore case of the labels.
1888 + change calendar's use of arrow keys so they are (as before 2002/06/22)
1889 interpreted within the day-grid as movement within that grid (request
1890 by David Anders).
1891 + correct missing initialization of last_getc variable in dlg_getc()
1892 (report/analysis by Victor Wodecki).
1893 + modify main program to make
1894 dialog --no-shadow --print-maxsize
1895 work. Normally dialog prints the screen size after subtracting the
1896 area reserved for shadows, but some applications may need the actual
1897 screen size (Debian #213424).
1898 + several related changes (Debian #213425):
1899 + separate the examples using "--stdout" and "--output-fd" from the
1900 normal usage examples.
1901 + add "--input-fd" option, provide a sample of its use.
1902 + modify init_dialog() to use initscr() unless a "--stdout" option
1903 was used. Some scripts relied on the coincidence that redirecting
1904 standard output from dialog would "work". Before this change
1905 init_dialog() assumed that redirected standard output was
1906 synonymous with "--stdout" option (not the intended behavior).
1907 + modify command-line parsing to look for "--stdout" and "--stderr"
1908 options first, allowing only one.
1909 + add a check for an environment variable $DIALOG_TTY which provides
1910 the older behavior, i.e., try to open the terminal directly if
1911 stdout is redirected.
1912 + interface changes, to make libdialog simpler to use:
1913 + rename all of the internal functions to begin with "dlg_", but
1914 provide compatibility with older names if the application defines
1915 __DIALOG_OLD_NAMES__.
1916 + add dialog_version() function, and corresponding DIALOG_VERSION and
1917 DIALOG_PATCHDATE definitions to dlg_config.h
1918 + eliminate remaining global variables such as screen_initialized in
1919 favor of dialog_state and dialog_vars.
1920 + move some data such as dialog_vars.output to dialog_state, since
1921 they are normally not reset between widgets.
1922 + change interfaces of dialog_yesno() and dialog_checklist() to use
1923 dialog_state.defaultno and dialog_vars.separate_output, making it
1924 simpler and more consistent.
1925 + improve configure script and related definitions:
1926 + add "--with-libtool" option to provide shared library support by
1927 libtool.
1928 + rename generated "config.h" to "dlg_config.h", so it can be
1929 installed without naming conflict. Added "dlg_config.h" to
1930 install-lib rule.
1931 + modify configure script and makefile to use EXEEXT and OBJEXT.
1932 + add "--enable-widec" option to control whether wide-curses features
1933 are compiled-in, rather than check for the existence of those in
1934 the curses library. This allows building with HPUX curses, which
1935 has abandoned legacy features while not quite supporting X/Open
1936 curses.
1937 + add configure check for getbegx(), etc., which are not provided on
1938 all platforms.
1939 + update config.guess, config.sub
1940
1941 2003/10/02
1942 + update hu.po (Arpad Biro).
1943 + revert part of the 2003/08/18 change to "--stdout" option. Using
1944 stderr for screen output does not work well on several platforms
1945 since stdout's settings are affected (report by Kent Robotti).
1946
1947 2003/09/24
1948 + modify tailbox to allow it to display files with arbitrarily long
1949 lines.
1950 + fix an infinite loop in tailbox, broken when making interface changes
1951 to dlg_getc() (report by Ingo van Lil).
1952 + amend fix for "--and-widget" to not treat "---" as an option (report
1953 by Kent Robotti).
1954 + updated es.po (Santiago Vila).
1955
1956 2003/09/10
1957 + correct "RENAMED" result from inputmenu widget, which did not reset
1958 the result buffer, and did not account for scroll-offset (Debian
1959 #209336).
1960 + modify button, menu and checklist logic that matches a character to
1961 the beginning of a text field to support wide-characters (completes
1962 Debian #195674).
1963 + modify configure script to not use "head -1".
1964
1965 2003/08/30
1966 + modify searchbox popup in textbox widget so one can simply press
1967 return on an empty input to cancel the popup.
1968 + modify error reporting to avoid clearing screen if a problem is
1969 found in the ".rc" file.
1970 + add color/attribute combinations for form widget (based on patch by
1971 Reznic Valery).
1972 + combine rc-file colors, attribute- and color-tables to obtain a
1973 single table for color values, which requires less work to add new
1974 entries.
1975 + modify fselect widget to make back-tab work again, since it was
1976 broken by the rewrite of dlg_edit_string().
1977 + modify howmany_tags() so it will quit searching when it finds any
1978 option, not only "--and-widget" (Debian #206636).
1979 + correct call to dlg_print_text() in print_line(), which did not
1980 account for hidden characters (report/patch by David Poole).
1981 + modify print_button() to display properly if locale defines ok/cancel
1982 or yes/no buttons that contain multibyte characters.
1983
1984 2003/08/20
1985 + correct an indexing error when deleting from the end of a line using
1986 KEY_DC; it happened to work on Linux because malloc() clears memory
1987 like calloc().
1988 + add '\r' to case statement where '\n' is translated to KEY_ENTER to
1989 work around defect in NetBSD curses.
1990 + modify configure check for getparyx(), etc., which are implemented
1991 by NetBSD curses as functions rather than macros.
1992 + correct configure check for term.h, which may be <ncursesw/term.h>
1993 if ncursesw development headers are installed, but not ncurses
1994 development headers. Or they may not coincide (Debian #206287).
1995
1996 2003/08/18
1997 + modify checklist.c and menubox.c to display tags properly if they
1998 contain wide-characters.
1999 + better solution for initializing curses when "--stdout" option is
2000 used, e.g., use stderr for the output if it is a tty. Also correct
2001 the error handling, so dialog exits with an error if it cannot
2002 find a way to do output (Debian #205509).
2003 + modify sample scripts to use consistent definition of $DIALOG
2004 (Debian #205508).
2005 + add UTF-8 examples inputbox6-utf8, inputbox6-utf8 (from Tomohiro
2006 Kubota, Debian #195674).
2007 + modify print_line() to work with wide-characters, e.g., so it handles
2008 wrapping for double-width characters.
2009 + cache results from multibyte character indices, speeds up cursor
2010 movement.
2011 + modify form widget to support scrolling and mouse-selection.
2012 + add form widget (based on patch by Reznic Valery).
2013 + correct mouse-handling for inputmenu widget.
2014 + corrections to menu.c: location of clearing operation, and height of
2015 rows in code for older ncurses versions (patch by Reznic Valery).
2016 + improve logic that compensates for xterm's alternate-screen by
2017 cancelling the rmcup/smcup strings after the rmcup has been issued.
2018 That ensures that dialog will not clear the screen on exit (report
2019 by Javier Kohen).
2020 + modify initialization between widgets to retain the values for the
2021 --aspect, --separate-widget and --tab-len options.
2022 + add --separator as an alias for --separate-widget (compatible with
2023 Xdialog).
2024 + correct handling of Xdialog's --icon and --wmclass options, whose
2025 parameter was not ignored.
2026 + correct logic for --separate-widget so its string is written before
2027 each output, rather than only for --and-widget option (report by
2028 Javier Kohen).
2029 + improve limit-check in center_label() for buttons.c (report by Tor
2030 Vidar Havstad).
2031 + correct layout of --menu widget, which reduced display width due to
2032 logic for --inputmenu being applied whether or not that configuration
2033 was used (reports by Javier Kohen, Dimitar Zhekov and MAL
2034 <[email protected]>). Fixes Debian #201215.
2035 + modify gauge widget to support --begin option (Hans-Joachim Baader).
2036 + updated pl.po (Jaroslaw Swierczynski).
2037 + hide cursor while painting gauge.
2038 + add auto-sizing logic to gauge widget (reports by Javier Kohen and
2039 Robert Schubert).
2040
2041 2003/07/20
2042 + rewrote inputstr.c, allowing it to enter and display wide-characters.
2043 Some nonprinting characters such as control/B can be edited as well.
2044 + modify timebox to allow user to type numbers into the fields.
2045 + change interfaces of dlg_getc(), mouse_wgetch(), etc., to add
2046 parameter that returns whether the result is really a function-key.
2047 This is needed to work with wide-character curses.
2048 + correct computation of week-number in calendar widget (report by
2049 Heiner Lamann).
2050 + updated configure script macros:
2051 + suppress -Winline with gcc 3.3, since it is broken.
2052 + fix caching bug in CF_UTF8_LIB
2053 + improved script for CF_BUNDLED_INTL.
2054 + update config.guess, config.sub
2055
2056 2003/03/08
2057 + add null-pointer checks to some malloc calls which were overlooked.
2058 + correct logic in dlg_add_result(), which did not copy content of
2059 non-allocated buffer to the first allocation (report by Daniel
2060 Dupont).
2061
2062 2003/03/02
2063 + correct an uninitialized value in dlg_add_result() (Debian #182683).
2064
2065 2003/01/30
2066 + corrected print_line(), which subtracted the margin twice from the
2067 right-limit, making a string wrap unnecessarily (Debian #168823).
2068 + correct initial limit-check for arrows in checklist.c, which used
2069 the wrong variable, showing the bottom arrow when it should not
2070 (Debian #168823).
2071 + modify driver to always call show_result(), to simplify updates.
2072 + fix several memory leaks, important if dialog is run with a large
2073 number of widgets (report by [email protected] forwarded by
2074 Santiago Vila).
2075 + check if the screen output is actually to the terminal before trying
2076 to suppress xterm's alternate screen mode (see 2000/01/18) (report by
2077 David Oliveira).
2078 + use dialog_vars.input_result consistently to return the text which is
2079 printed after a widget completes. In many cases, dialog now
2080 allocates enough space to hold the text, rather than use a fixed
2081 buffer. The checklist widget was writing directly to the output to
2082 avoid limits of the fixed buffer.
2083 + modify dialog.c to also write dialog_vars.input_result if the
2084 Help-button was pressed (request by Amon Ott).
2085 + add hu.po (Arpad Biro).
2086 + update fr.po, pt.po, pt_BR.po to add strings for "Help" button (patch
2087 by Frederic L W Meunier).
2088 + fix off-by-one error in menu.c, checklist.c (reported by
2089 Tomasz Wasiak 2002/09/15 and others:
2090 Andrew Gaul 2002/11/12,
2091 Tobias C Rittweiler 2002/11/19,
2092 Arpad Biro 2003/01/21).
2093 + updated configure script, improving checks for ncurses in various
2094 locations, updated NLS script to match lynx. Added --with-curses-dir
2095 option.
2096 > Tobias C Rittweiler:
2097 + make ifdef in mousewget.c consistent with usage in dialog.h
2098 + use beep() rather than flash() in dlg_edit_string(), for consistency
2099 with the other functions.
2100 + change order of buttons so extra button falls between Ok/Cancel.
2101 + fix so "dialog --print-maxsize" exits from curses.
2102 + add --inputmenu option.
2103
2104 2002/08/14
2105 + modify checklist.c and menubox.c to treat the extra button like the
2106 "Ok" button by making dialog print the chosen items (request by
2107 Tobias C Rittweiler).
2108 + add examples checklist6 and menubox6 to illustrate the --colors
2109 option.
2110 + implement -colors option, which allows one to highlight words in the
2111 titles and most text areas with color or video attributes (adapted
2112 from patch by Tobias C Rittweiler).
2113 + add examples inputbox4, inputbox5 to illustrate how to use the
2114 --output-fd option, and how to use dialog without any temporary
2115 file at all.
2116 + add --output-fd option (Debian #153984).
2117 + documented vi-style keys for calendar, textbox widgets in manpage.
2118
2119 2002/06/22
2120 + improve mouse handling, e.g., for up/down scrolling in calendar,
2121 checklist, etc.
2122 + add --extra-button and --extra-label options (adapted from patch
2123 by Tobias C Rittweiler).
2124 + correct displayed cursor position in inputbox when returning to the
2125 input area after traversing the buttons with tabs, etc.
2126 + add left/right arrows for traversal in calendar and timebox dialogs.
2127 + implement two new functions dlg_next_ok_buttonindex() and
2128 dlg_prev_ok_buttonindex(), using these to hide details about the
2129 traversal over buttons in several widgets.
2130 + modify checklist.c and menubox.c to verify if both --help-button and
2131 --item-help are specified before assuming that selecting the help
2132 button should cause the "HELP {item-help}" message to be printed
2133 (reported by Marcel Ritter).
2134 + modify init_dialog() to work around HP's broken tty driver (report by
2135 John Mudd). Specifically, the problem is that when opening /dev/tty
2136 directly (to support the --stdout option), the terminal does not
2137 change to raw mode. The workaround opens /dev/tty only as needed;
2138 the --stdout option does not work on HPUX but otherwise dialog works.
2139 + updated el.po (patch by kromJx <[email protected]>).
2140
2141 2002/05/19 - release 0.9b
2142 + add --no-collapse option to allow one to retain tabs and repeated
2143 blanks in a message box (request by Roberto Simoni).
2144 + use DLG_EXIT_ESC constant rather than -1's in several places. This
2145 has the effect of changing some exit-with-error cases to denote that
2146 the exit was because ESC was pressed (patch by Diego Alvarez,
2147 forward by Santiago Vila).
2148 + bump package version to 0.9b (with patch-date, as usual).
2149 + add --exit-label option (request by Roberto Simoni).
2150 + updated de.po to correct translation for "Cancel" (from Michael
2151 Piefel, Debian #146402).
2152 + use definitions from autoconf macro AC_HEADER_TIME to ensure that
2153 time() is properly prototyped.
2154 + update pl.po, adding translation for "Help" (patch by Jaroslaw
2155 Swierczynski <[email protected]>).
2156 + update COPYING file, to reflect address change of FSF (reported by
2157 Santiago Vila).
2158 + update some configuration script macros: CF_CHECK_CACHE,
2159 CF_CURSES_CPPFLAGS, CF_HEADER_PATH and CF_MAKEFLAGS.
2160 + correct misuse of "$with_XXX" variables in the configure script,
2161 which prevented configuration against curses library as opposed to
2162 ncurses.
2163 + update config.guess, config.sub
2164
2165 2002/03/09 (a)
2166 + modify geometry of samples/fselect scripts to allow them to run in
2167 a 24x80 screen (report/patch by Santiago Vila).
2168 + correct exit-code for menubox.c when Cancel is pressed. This was
2169 unintentionally altered when adding --help-button (reported by
2170 Patrick J Volkerding)
2171
2172 2002/03/09
2173 + add --timeout option, which forces the program to exit with an error
2174 if no user response is given within the specified number of seconds
2175 (request by <[email protected]>).
2176 + modify calendar widget to allow day/month/year values to default to
2177 the current date (request by <[email protected]>).
2178 + modify display of buttons in checklist.c and menubox.c to handle the
2179 case where the button label is empty (Debian #134388).
2180 + extended logic for ok/cancel/help to make this work with checklist
2181 widget.
2182 + revert pt_BT.po, apply changes to pt.po (report by Frederic L W
2183 Meunier).
2184 > several changes from Stanislav Ievlev:
2185 + add options --help-button and --help-label to make menubox display a
2186 third button which can be used to return an exit code causing the
2187 calling script to show extended help information.
2188 + use home/end keys in input string-editing, e.g., inputbox.
2189 + add option --max-input to limit length of string returned by inputbox
2190 and other widgets which allow the user to edit a string.
2191
2192 2001/12/02
2193 + add --ok-label and --cancel-label options (request by Kyle Sallee).
2194 + correct usage message for --fselect option (reported by Patrick J
2195 Volkerding).
2196 + add samples/debian.rc, for comparison with slackware.rc
2197 + corrected samples/slackware.rc, which was just the compiled-in
2198 default values (patch by Patrick J Volkerding).
2199 + modify search rule for rc-file to add a global rc file /etc/dialogrc
2200 (patch by Patrick J Volkerding).
2201 + updated pt_BR.po with modified entries for fselect.c (Frederic L W
2202 Meunier).
2203 + add pl.po (Swiergot <[email protected]>).
2204
2205 2001/11/11
2206 + modify command-line parsing to allow a "--" argument to act as an
2207 escape, so the next argument is not recognized as an option if it
2208 begins with "--". This is apparently one of popt's undocumented
2209 features, upon which some Debian scripts depend (Debian #116642).
2210 + add da.po (Morten Brix Pedersen <[email protected]>).
2211 + add an install-strip rule to makefile, changing the normal install
2212 rule to not strip the installed executable (based on discussion with
2213 Santiago Vila).
2214 + initialize my_output variable if user cannot open /dev/tty, e.g., if
2215 su'd to another user (patch by Richard Braakman (<[email protected]>), Debian
2216 #117177).
2217 + add configure option --with-ncursesw, to allow configure/build with
2218 wide-character version of ncurses.
2219
2220 2001/10/14
2221 + add option --ignore, to make dialog be ignore options that it does
2222 not recognize.
2223 + add option --trim, to trim literal newlines and repeated spaces from
2224 text that will be displayed. Add samples/msgbox2, which is the
2225 same as msgbox1, but using --trim (cf: change for Debian #102942).
2226 + minor correction to attributes for buttons.c to use active_attr on
2227 the right-side of a button.
2228 + add a sample dialog rc-file slackware.rc based on diffs in hdasetup
2229 package at
2230 http://ftp1.sourceforge.net/pub/mirrors/slackware/slackware/source/a/hdsetup/
2231 (discussion with Frederic L W Meunier).
2232 + modify dialog.pl to avoid using a statically-named tempfile, allowing
2233 multiple processes to use this script (patch by James Ranson
2234 (<[email protected]>), Debian #110609).
2235 + correct fprintf() call in j_menu() function, i.e., "--menu" option,
2236 which did not guard against expanding '%' embedded in the parameters
2237 (Stavros Chatzistefanidis <[email protected]>).
2238 + add et.po (Ivar Smolin <[email protected]>).
2239 + update fr.po (Frederic L W Meunier).
2240 + modify to allow scripts to alter the exit codes, mainly to
2241 distinguish ESC and ERROR exits. This is done by setting a shell
2242 variable such as DIALOG_ESC to a new value (request by Petr Vandrovec
2243 (<[email protected]>), Debian #99264)
2244
2245 2001/08/27
2246 + use VPATH in makefile to support build with configure --srcdir, if
2247 the make program supports that. Note that samples/install/makefile
2248 is not generated, due to awkward limitation of autoconf script
2249 (reported by Frederic L W Meunier <[email protected]>).
2250 + add po/pt_BR.po (Frederic L W Meunier <[email protected]>).
2251 + correct sense of --enable/--disable shown in configure --help (report
2252 by Frederic L W Meunier <[email protected]>).
2253 + correct logic for --clear option, broken in 2000/07/02 (fixes Debian
2254 #110254).
2255
2256 2001/08/11
2257 + porting fixes to work on AIX: flush output to work around bug in
2258 curses library, use ./killall in scripts to avoid conflict with
2259 AIX program by that name.
2260 + modify dlg_trim_string() to retain literal newlines if the string
2261 does not contain "\\n" strings, and to retain leading blanks on the
2262 resulting lines, for compatibility with older scripts (Debian
2263 #102942).
2264 + add charset specification to cs.po
2265 + change dates in CHANGES to consistent format, add el.po for Greek
2266 (patch by kromJx <[email protected]>).
2267 + eliminate static globals (bss, data) from modules rc, tailbox,
2268 textbox using better parameter-passing convention, and const.
2269 + cleanup temporary files in a few of the sample scripts.
2270 + rewrote tailboxbg using select() rather than fork(), thereby
2271 eliminating lock-files. Only one process should be trying to display
2272 on the screen at any given time.
2273 + add error check to ensure that numeric parameters are really numbers.
2274 + correct off-by-one in error messages reporting too-few or too-many
2275 tokens for a given option (reported by George Mirchev).
2276 + fix typo in manpage, "textboxbg" where "tailboxbg" was meant
2277 (reported by George Mirchev <[email protected]>).
2278 + use DLG_EXIT_xxx symbols consistently for all exit codes.
2279 + updated es.po (patch by Santiago Vila).
2280 + updates for some configure script macros from lynx: CF_MAKEFLAGS,
2281 CF_NCURSES_VERSION, CF_PROG_EXT.
2282 + fixes to compile if <term.h> is included, e.g., when building with
2283 AIX curses (report by Suzi Dowson <[email protected]>).
2284
2285 2001/05/27
2286 + updated dialog.pot
2287 + modify fselect.c to work with autosize, i.e., given height and width
2288 zero (report by Martin Povolny).
2289 + add a null-pointer check in justify_text(), needed by fselect.c
2290 + add several more options which dialog can safely ignore, from
2291 Xdialog 2.0.2
2292 + refinements for configure macros checking for $CPPFLAGS, from lynx.
2293 + update config.guess, config.sub to match autoconf 2.50
2294 > Martin Povolny <[email protected]>:
2295 + add cs.po
2296 + use nl_langinfo() to customize names for day-of-week, and month
2297
2298 2001/05/11
2299 > Vincent Stemen <[email protected]>:
2300 Fixed dialog.c to not pass menu items through dlg_trim_string().
2301 Stripping extra spaces out of the menu items broke some of my
2302 scripts by altering the string that it compared to know which menu
2303 item was selected. There should be no need to do justification on
2304 the menu items, which are always one line, anyway.
2305
2306 2001/04/29
2307 > Vincent Stemen <[email protected]>:
2308 + rewrote the text justification code to be able to have preformatted
2309 text in the prompts with extra spaces like the older versions of
2310 dialog. If there are "\n" strings in the text, then extra spaces are
2311 preserved. Lines are always wrapped on word boundaries.
2312 + fixed --cr-wrap to break lines on '\n' (newline) characters and not
2313 add an extra line at the top and bottom of the text. It now works
2314 as the manual says it should.
2315 + it is no longer necessary to use "\n\" at the end of lines to escape
2316 the '\n' character. "\n" now works. However, the old way, "\n\"
2317 still works.
2318 + the fixes involved the following changes:
2319 - rewrote dlg_trim_string() to recognize preformatted text (know
2320 when not to strip extra spaces) and to pay attention to --cr-wrap.
2321 - rewrote justify_text() which now calls a new function in util.c,
2322 print_line(), to print each line and end it on a word boundary.
2323 - modified real_auto_size() to call a new function
2324 auto_size_preformated() to calculate the box size for preformatted
2325 text.
2326 - removed skip_blanks() and skip_text() since they are not used by
2327 the new justify_text().
2328 - modified dialog.c to not call dlg_trim_string() on title strings
2329 so that titles retain their spaces.
2330 + modified the following demo files in the sample directory:
2331 - inputbox
2332 changed all "\n\" strings to "\n" to demonstrate the extra
2333 backslash is no longer needed.
2334 - inputbox1
2335 removed all the "\n\" strings from the end of the lines to
2336 properly demonstrate --cr-wrap.
2337 - msgbox1
2338 this sample was using "--aspect 9 --cr-wrap". Rewrote it to
2339 properly demonstrate --aspect. 9 is already dialog's default
2340 aspect ratio. It now creates several dialogs in sequence,
2341 demonstrating aspect ratios of 9, 12 and 6 and properly
2342 demonstrates --cr-wrap.
2343 + made the following changes to the manual (dialog.1).
2344 - rewrote the description of --aspect to be more understandable.
2345 - rewrote the description of --cr-wrap to be more correct and more
2346 detailed. It did say, "Otherwise, the text for each dialog will
2347 display on a single line.", which is not correct. It wraps the
2348 text to fit in the box.
2349 > T.Dickey:
2350 + use logic from menubox dialog in checklist to handle autosizing when
2351 list height is given as zero (fixes problem reported by Eric Veltman
2352 <[email protected]>).
2353 + modify checklist and menubox dialogs to check for too-wide data, and
2354 truncate one or both of the name and text fields to fit (also
2355 reported by Eric Veltman).
2356 + corrected a few items from Vincent's patch:
2357 - use C89-style comments rather than C++
2358 - restore logic in justify_text() which checks for win==0, needed to
2359 work with standard curses implementations other than ncurses.
2360 The first call on justify_text() passes a null pointer as a flag
2361 to indicate that checking should be done, but no screen updates.
2362 - avoid modifying the buffer in decode_percent(), otherwise a message
2363 containing a space or newline would be truncated at the whitespace.
2364 - modify dlg_button_x_step() and dlg_button_layout() slightly to
2365 work with altered print_autowrap(), etc.
2366 + fixes to build/work with SunOS 4.x 5lib curses
2367
2368 2001/04/15
2369 + fix a memory leak in mouse_region().
2370 + simplify handling of optional parameters with new functions
2371 optional_str() and optional_num().
2372 + add calendar and timebox dialogs (compatible with Xdialog).
2373 + correct typo in fallback definition for getparyx, and remove void
2374 cast for mouse_open and mouse_close which prevented build with
2375 Sun's Solaris compiler.
2376 + rename --enable-lxdialog configure option to --enable-Xdialog
2377 + modify CF_NCURSES_CPPFLAGS macro to match more variations of ncurses
2378 header files.
2379 + update config.guess, config.sub
2380 + modify some configure script macros to avoid problems with buggy
2381 autoconf 2.49c which breaks changequote().
2382
2383 2001/01/15
2384 + small fix to revised real_auto_size() and justify_text() to avoid
2385 adding origin to box-width, which broke samples/wheel.
2386 + apply 1999/12/25 tempfile change to wheel and copismall samples.
2387 + add sample script for tailboxbg.
2388 + revised lock-file management to better ensure that locks are actually
2389 created by the tailbox subprocess(es).
2390 + correct hardcoded signal 15 in tailbox to SIGHUP to match
2391 documentation. Signal 15 is usually SIGTERM, which cannot be caught.
2392 + correct off-by-one comparison of return-value for arg_rest() which
2393 made
2394 dialog --gauge test 10 50
2395 dump core because it expected a 4th parameter (fixes Debian #80641).
2396 + resync config.sub, config.guess from
2397 http://subversions.gnu.org/cgi-bin/cvsweb/config/ (which finally have
2398 cases for OS/2 EMX), minor tweaks to related configure script macros.
2399
2400 2000/12/17
2401 + restore treatment of predefined height/width in real_auto_size()
2402 which was lost in 2000/12/12 rewrite (report by Raphael Halimi
2403 <[email protected]>).
2404 + updates for configure script macros AM_PATH_PROG_WITH_TEST,
2405 CF_CURSES_LIBS, CF_LIB_PREFIX, CF_PROG_EXT for $PATHSEP and $CFLAGS
2406 fixes.
2407
2408 2000/12/13
2409 + correct change for create_lock(), which resulted in an infinite loop
2410 (patch by Chris Butler, <[email protected]>).
2411
2412 2000/12/12
2413 + rewrote print_autowrap() and real_auto_size() to share common code
2414 justify_text(), which now does text flow even when the string
2415 contains newlines (fixes Debian #77199).
2416 + improve create_lock() function using open() with O_EXCL rather than
2417 fopen() (patch by Matt Kraai (<[email protected]>), Debian #78951).
2418 + correct description of --fselect in man page (patch by Tomas Pospisek
2419 (<[email protected]>), Debian #77200).
2420 + add --no-cancel as alias for --nocancel for compatibility with
2421 Xdialog (report by Luis E Limon <[email protected]>).
2422
2423 2000/10/27
2424 + some lint fixes using lclint (mostly void-casts, but some
2425 sign-extension fixes e.g., for ctype.h macros, and loop in
2426 dlg_char_to_button()).
2427 + modified to build/run on OS/2 EMX with ncurses.
2428 + minor changes to po/*.po (trim trailing blanks, provide explicit
2429 translation for "OK"), to work with Solaris gettext.
2430 + modified to allow this to build with archaic version (1.8.6)
2431 of ncurses on FreeBSD 3.1 (does not run).
2432 + update config.guess, config.sub from subversions.gnu.org
2433
2434 2000/10/17
2435 + use new function sub_window() to check success/failure of calls to
2436 subwin(), printing an error message if it fails (fixes Debian #74903).
2437 + use combination of isatty/ttyname to look for workable tty device
2438 on systems which have no /dev/tty, e.g., BeOS.
2439
2440 2000/10/08
2441 + change exiterr() to use stdarg.h, make some messages easier to
2442 understand.
2443 + add dialog_clear()
2444 + make samples/install/setup build.
2445 + implemented mouse support for buttons, e.g., in yesno dialog using
2446 ncurses (the gpm support no longer works, but is useful for reference)
2447 + add a configure check for chtype.
2448 + updates for configure script macros (CF_BUNDLED_INTL, CF_CURSES_LIBS,
2449 CF_GCC_ATTRIBUTES, CF_GCC_WARNINGS, CF_INCLUDE_DIRS), and scripts
2450 config.guess, config.sub
2451 + cleanup of item-help change, integrate with checklist and radiobox.
2452 + add ja.po, from Hirofumi Takeda <[email protected]>.
2453 > patch by Marco Mariani <[email protected]>
2454 + add --item-help option, which makes menubox data interpreted as
2455 3 columns rather than 2. The third column is displayed on the
2456 last line of the screen as a help/status message for the currently
2457 selected item.
2458 + add it.po, pt.po
2459 + change TAG_KEY_HL to FALSE, making unselected items in checklist
2460 easier to read on Linux console.
2461
2462 2000/07/30
2463 + change real_auto_size() to allow it to be used for dialogs that have
2464 no prompt, e.g., fselect. Also, rather than requiring both height
2465 and width to be given as -1 for maximizing the dialog, allow either
2466 alone.
2467 + increase minimum height needed for autosized yesno dialog.
2468 + add --version as an alias for --print-version.
2469 + fix for build on Solaris without NLS (cannot redefine 'gettext()').
2470 + add fselect dialog (compatible with Xdialog).
2471 + add --enable-lxdialog configure option.
2472 + use new configure macro CF_ARG_MSG_ENABLE to show progress with
2473 enable/disable switches.
2474
2475 2000/07/02
2476 + implement --stdout and --stderr options as in Xdialog.
2477 + move logic that translates "\\n" into '\n' into main program to
2478 simplify logic that formats text.
2479 + make ifdef's for rc-file not specific to ncurses.
2480 + correct logic making percent parameter of gauge optional.
2481
2482 2000/06/29
2483 + add alternate test-script for gauge, adapted from Xdialog.
2484 + modify gauge to make optional a percentage which was read at the
2485 beginning of the XXX-delimited message text, since clones of dialog
2486 are written to assume this is text. If the line is not a simple
2487 integer, dialog will treat it as text.
2488 + make the percent parameter of gauge optional, as in Xdialog.
2489 + undo one use of CharOf() in guage.c, an error.
2490 + fix configure macro AM_WITH_NLS to refrain from attempting to make a
2491 symbolic link into/libintl.h if we are not using the bundled intl
2492 directory from gettext (reported by Julian Coleman
2493 <[email protected]>).
2494 + add ru.po, from Michael Sobolev <[email protected]>
2495 + updates for config.guess, config.sub from tin.
2496 + updates for configure script macros: CF_MATH_LIB (improperly nested
2497 brackets/parenthesis) and CF_XOPEN_CURSES (make include of
2498 <*curses.h> depend on configure tests).
2499
2500 2000/04/25
2501 + repaint screen when a control/L is pressed.
2502 + apply CharOf() macro to avoid sign-extension on calls to waddch(),
2503 fixes a problem with accented characters (reported by Santiago Vila).
2504 + add es.po, from Santiago Vila <[email protected]>
2505
2506 2000/04/23
2507 + modified to use gettext (configure option --enable-nls). This uses
2508 gettext 0.10.35, which must be previously installed. (It can also
2509 use an included intl library, but I consider that to be a waste of
2510 disk space).
2511 + remove code in checklist/radiobox, menubox that try to use
2512 abbreviations for the OK/Cancel buttons since those conflict with the
2513 check for abbreviations in list entries, which are more useful.
2514 + moved padding of button labels out of string literals, into the
2515 logic of dlg_draw_buttons().
2516 + resync/update with configure macros CF_CURSES_LIBS, CF_FIND_LIBRARY,
2517 CF_HEADER_PATH, CF_LIBRARY_PATH and CF_NCURSES_LIBS, as well as
2518 mkdirs.sh and config.guess.
2519
2520 2000/02/22
2521 + add --default-item option, for menubox to set the default selection
2522 (fixes Debian #49796).
2523 + add sample scripts for --nocancel and --fb options with inputbox.
2524 + modify inputbox* sample scripts to show application errors, if any.
2525 + add --nocancel option, and ignore --noitem, --fb, --fullbutton, to
2526 make this compatible with whiptail scripts. (whiptail does not
2527 handle many dialog scripts however).
2528 + modify checklist/radiobox to handle home, end, nextpage, prevpage
2529 keys, as well as make the abbreviation search work for the whole
2530 list, not only the current page.
2531 + treat KEY_LL the same as KEY_END in checklist and textbox.
2532 + add logic for KEY_BTAB.
2533 + use new function dlg_draw_buttons() to better manage the layout of
2534 yes/no/ok/cancel buttons.
2535 + another pass of cleanup of dialog.c, makes it use a single table for
2536 lookup of option names and help-message. Eliminated numerous
2537 adjustments to 'offset' variable.
2538 + on initialization, check if standard input is from a terminal. If
2539 not, open /dev/tty (fixes Debian #57771)
2540
2541 2000/02/05
2542 + implement inline editing in textbox.c search dialog.
2543 + revise inputbox.c, allowing inline editing with arrow-keys. removed
2544 redundant logic in that module.
2545 + correct a typo that prevented rc-file configuration from building.
2546 + correct ifdef's to compile/run if the curses implementation does not
2547 support color.
2548
2549 2000/01/23
2550 + improve test-case for gauge.
2551 + change gauge.c to show progress in reverse-video, add a check for
2552 end-of-file in the loop for reading new messages.
2553 + use curses whline() function to simplify print_arrows() logic in
2554 checklist.c and menubox.c
2555 + use curses beep() function rather than hardcoded strings.
2556 + correct several compiler warnings for gcc -pedantic (mismatch of
2557 const, signed/unsigned).
2558 + modify exiterr() to avoid possible expansion of '%'.
2559 + change CF_MATH_LIB configure macro to allow specifying a particular
2560 test-function. For dialog, this should be sqrt(). The macro was
2561 originally written for ncurses, which needs sin(). However, that is
2562 a builtin function on the m68k port (reported by Roman Hodek
2563 <[email protected]>, this fixes Debian #55553).
2564
2565 2000/01/18
2566 + update manpage (Debian #25648).
2567 + modify configure test for math library to avoid using a constant
2568 parameter to the test function, lest gcc optimize the call away
2569 (fixes Debian #55553).
2570 + restructure help-message so actual problem is indicated. The original
2571 help-message is shown if no parameters are given, or if the --help
2572 option is specified alone.
2573 + suppress xterm's alternate screen mode by sending an exit_ca_mode
2574 after initscr if the terminal looks like xterm, e.g., has key_mouse
2575 defined, and has private-mode escapes in both enter_ca_mode and
2576 exit_ca_mode (fixes Debian #55181).
2577 + change yellow lettering on white to blue on white, since it offers
2578 better contrast (fixes Debian #51196).
2579 + use napms() rather than sleep().
2580 + some cleanup/simplification of main program. Indent'd dialog.c and
2581 util.c
2582 + eliminate several places where repeated options are treated as
2583 an error, since they are really executed once anyway.
2584
2585 2000/01/15
2586 + remove pre-autoconf Makefile
2587 + remove sleep's from a few of the sample scripts, which left users
2588 thinking that dialog was slow to complete an action.
2589 + rewrote infobox sample script, using dialog's --sleep option and
2590 a loop in the script.
2591 + change 'ch' variable in tailbox.c to an integer, because it is
2592 compared against EOF (fixes Debian #53157).
2593 + corrected mandir variable in makefile.in (reported by Santiago Vila).
2594 + small changes to sample scripts, from Debian: rename "guage" script
2595 to "gauge", change path to copy of GPL used in textbox.
2596 + add uninstall rule to makefile.in, fixed some dependencies so
2597 "make install" works without first doing "make all".
2598
2599 1999/12/25
2600 + use more portable scheme for tempfile generation in samples.
2601 + add a configure script, prefer to not use the original Makefile
2602 because it works only with GNU make.
2603 + correct prototype of 'main()', which misused const.
2604 + modify guage.c to use fgets() rather than gets().
2605 + merge changes from Debian package maintainer
2606 Santiago Vila <[email protected]>:
2607
2608 1999/10/07
2609 + add a password dialog box (Debian #45964, patch by Joey Hess).
2610 + implement "--defaultno" option to specify if the default for
2611 the yes/no box is "No" (Debian #46076, patch by Joey Hess).
2612 1999/03/10
2613 + modify input.c to clear the input field to the right of the
2614 given string, to help with screen-refresh
2615 1998/12/08
2616 + check for list_height less than one in checklist.c (Debian
2617 #22239).
2618 1998/10/21
2619 + use function wscrl() in preference to scroll() in checklist.c
2620 and menubox.c (unclear: in ncurses, scroll() is a macro that
2621 uses wscrl()).
2622 + remove the "-I/usr/include/ncurses" option from Makefile
2623 since Debian does not install ncurses' header files into
2624 that directory.
2625 1998/09/12
2626 + simplify menubox.c using new functions print_arrows() and
2627 print_items(). add logic to handle KEY_NPAGE and KEY_PPAGE
2628 (Debian #26326).
2629 + modifications to provide sample scripts (Debian #26211):
2630 + change sample scripts to use Debian tempfile utility rather
2631 than putting files into /tmp.
2632 + change sample scripts to use 'dialog' from user's path
2633 rather than in the parent directory as in the build
2634 directory.
2635 + use the system copy of GPL rather than that in the build
2636 directory as an example for the textbox script.
2637
2638 1999/11/27
2639 + fix some gcc warnings about ambiguous use of "else"
2640
2641 1999/05/01
2642 + cleaned up some of the redundant code with new functions:
2643 box_x_ordinate
2644 box_y_ordinate
2645 draw_title
2646 draw_bottom_box
2647 new_window
2648
2649 + modified msgbox.c and yesno.c to work with the KEY_RESIZE sigwinch
2650 handling in ncurses 4.2
2651
2652 + corrected spelling of "gauge"
2653
2654 The relevant portions of the Debian change log for the original version
2655 (dialog-0.9a-12) are abstracted here, omitting details of their packaging:
2656
2657 1998/05/24
2658
2659 + Replaced guage.c by the one in dialog 0.6z, which is known to work.
2660 Fixes Debian #18284: unstable dialog.
2661
2662 1997/12/16
2663
2664 + dialog.c: dialog_input_result printed with "%s" format. This was
2665 Debian #9913, fixed by Bill Mitchell, but the change was lost.
2666 + Pristine source, .depend is not removed in clean target. Instead, it
2667 is made zero length (otherwise it would not work *without* fakeroot).
2668 + Added '^U' support in input box (Debian #9915, patch by Joey Hess).
2669 + Wrote patch to fix core-dumping problem (Debian #13170). Sven Rudolph
2670 <[email protected]>:
2671
2672 -- vile:fk=utf-8