Commit graph

47 commits

Author SHA1 Message Date
wiz
8a5b10ea93 Update HOMEPAGES and MASTER_SITES; from Sergey Svishchev. 2007-12-02 13:04:06 +00:00
wiz
86d21f1b32 Update to 1.1.20071028:
2007/10/28
	+ improve layout of checklist.c, menubox.c, ensuring that the list fits
	  within the available space (report by Gordon Schumacher).
	+ undo removal of redundant chunk from checklist.c in 2007/02/27,
	  since some scripts depend on this (Debian #443077).
	+ update nl.po from
		http://translationproject.org/latest/dialog/
2007-11-08 19:37:49 +00:00
wiz
51e88c0e73 Update to 1.1.20070930:
2007/09/30
	+ correct cursor position in editbox after deleting past left margin
	  (report by Joe McDonagh).
	+ add "--no-ok" option (patch by Klaus Knopper).
	+ modify "--file" option to allow it to read from sources other than
	  a regular file (patch by Pieter van Beek).
	+ improved hi.po (Hindi) (from Klaus Knopper).
	+ fix masking of attributes in dlg_draw_shadow() which lost
	  line-drawing bit (report by David Everly).
	+ fix editbox widget to handle zero-length files (report by Joe
	  McDonagh).
	+ update "po" files eu.po ga.po it.po ms.po sv.po vi.po wa.po zh_CN.po
	  from
		http://translationproject.org/latest/dialog/
2007-10-17 20:46:22 +00:00
wiz
4368054cfd Update to 1.1.20070704:
2007/07/04
	+ revise the resizable shadows so textbox's search dialog has text
	  visible in the shadow again.
	+ improve the prefixing of autoconf-related symbols in the installed
	  header files, taking into account symbols which are not mentioned in
	  dlg_config.h
	+ add a check when ERR returned from wgetch() to ensure that the
	  input/output streams are still valid.  If that happens, force
	  ESC to be returned, quitting dialog (report by Reiner Huober).
	+ add extern "C" declarations to dlg_keys.h so the corresponding
	  function declarations are exported to C++ as C symbols.
	+ updated config.guess, config.sub
2007-07-19 21:53:11 +00:00
wiz
99a44b1b8a Update to 20070604:
2007/06/04
	+ fix a memory leak in editbox.c
	+ revise change from 2007/02/27 which moved the logic for trimming
	  option text out of the loop because that moved it before
	  initialization of the "--trim" option.  Put it back in the loop, but
	  limit the tokens which are trimmed to cover only those for the
	  current widget.  Also ensure that all tokens for a widget are
	  trimmed, rather than only the first, which is usually text (report by
	  Lai Zit Seng).
	+ add _FILE_OFFSET_BITS definition in CF_LARGEFILE configure macro.
2007-06-12 22:25:39 +00:00
wiz
83830d3bf5 Update to 1.1.20070528:
2007/05/28
	+ revise changes needed to make textbox's searchbox handle ncurses
	  resizing events, e.g., by handling the ERR in that code rather than
	  in dlg_getc() (Debian #423732).

2007/05/14
	+ supply a repaint_text() call in tailbox.c which was bypassed because
	  dlg_getc() now retries on ERR (Debian #423732, cf: 2007/02/27).
	+ modify dlg_getc() to fix regression for use of timeouts, broken by
	  fixes to allow resizing of textbox (patch by Arnaud Fontaine, Debian
	  #418905, cf:  2007/02/27).
	+ modify dlg_getc() to fix regression in use of TAB for traversal of
	  tailboxbg widgets due to changes for user-definable key bindings
	  (Debian #418917, cf:  2005/12/07).

2007/04/09
	+ add case in dlg_getc() to handle tab for traversing between widgets
	  as in the samples/tailboxbg1 script.  Normally the key binding
	  overrides, except for the special case where multiple widgets are
	  available.
	+ add configure --with-libtool-opts, which passes its value to the
	  library creation and linkage passes, e.g.,
	  	--with-libtool-opts=-static
	  to force the result to be static libraries (prompted by a related
	  request by Santiago Vila).
	> several fixes based on Coverity scan:
	+ fix memory leak in timebox, calendar widgets if the widget cannot
	  be created.
	+ fix memory leak in dlg_key.c if a user binding's storage cannot
	  be allocated.
	+ fix improperly delinked entry in dlg_del_window().

2007/03/25
	+ improve mkdirs.sh to ignore error from mkdir if the target directory
	  happens to already exist (suggested by Harald van Dijk).
	+ amend documentation for --gauge to reflect longstanding quirk which
	  allows it to read percentage from the first line after an "XXX"
	  (Debian #415596).
	+ fix makefile dependency so "configure && make install-lib" works.
	+ fix resizing of msgbox; the message was not repainted (Debian
	  #415022, patch by Brian Rolfe).
	+ fix typo in makefile LIB_OBJECT symbol from 2007/02/27 changes.
	+ improve CF_MBSTATE_T by including stdio.h, needed on Tru64 to make
	  the test-compile work.
	+ change makefile to install dialog.3 as part of install-lib rather
	  than install-man (report by Thomas Klausner).
	+ use $(INSTALL_SCRIPT) for installing dialog-config (report by
	  Santiago Vila).
2007-06-07 19:53:24 +00:00
wiz
0a187c2bce Update to 1.1.20070227:
2007/02/27
	+ add dialog-config script, which provides applications with compile-
	  and link-information for using the dialog library.
	[pkgsrc: not installed, since library is not installed]
	+ move calls to dlg_trim_string() out of loop in dialog.c, so each
	  string is trimmed once (report by Ivanov Makcim).
	+ modify textbox.c to allow resizing while the search box is presented.
	  This relies on bug-fix in ncurses 5.6 20070224.
	+ use dgettext() rather than gettext() to allow libdialog to use the
	  messages installed for dialog (patch by Vajna Miklos).
	+ modify inputbox to position the cursor initially at the end of any
	  initial-text (request by Klaus Knopper).
	+ add configure --with-valgrind for testing.
	+ add --trace option, for debugging.
	+ add --ascii-lines and --no-lines options to control the way the
	  line-drawing characters are rendered (request by Klaus Knopper).
	+ add --keep-tite option, to override suppression of smcup/rmcup
	  (termcap ti/te) strings which would switch to xterm's alternate
	  screen (Debian #380665).
	+ modify fselect/dselect to use space-character as a completion
	  operator like tab in shells (patch by Yoram Bar Haim).
	+ remove a redundant chunk from checklist.c which reported status a
	  second time if the help-button was pressed but no item-help option
	  was in effect (Andre C Barros).
	+ fix return-status from "dialog --pause" (Debian #409254).
	+ add --mixedform and --mixedgauge dialogs based on patch from
	  Kiran Cherupally.
	+ add some notes on compatibility to the manpage.
	+ add editbox dialog (compatible with Xdialog, Debian #368478).
	+ add dselect dialog (compatible with Xdialog).
	+ remove an incorrect initialization of .text_flen from 2005/12/07
	  changes, which made all fields in a form editable (Debian #404045).
	+ report error and exit if a filename given for the --file option
	  cannot be opened (report by "Dog Walker").
	+ make --program-prefix, etc., work in configure script, e.g., to make
	  program install as "cdialog".  This does not alter the library name.
	+ add install-bin, install-man (and uninstall) rules to makefile.
	+ updates for configure script macros (originally vile, lynx, xterm):
	  AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, CF_CURSES_CPPFLAGS,
	  CF_CURSES_LIBS, CF_INCLUDE_DIRS, CF_LARGEFILE, CF_MAKEFLAGS,
	  CF_PATH_SYNTAX, CF_SUBDIR_PATH, CF_SUBST, CF_WITH_DBMALLOC,
	  CF_WITH_DMALLOC, CF_WITH_LIBTOOL and CF_XOPEN_SOURCE.
	+ updated config.guess, config.sub
	> adapted fixes from SuSE package (Werner Fink):
	  + add some limit-checks in dlg_draw_shadow().
	  + make shadows resizable, using new dlg_move_window() in msgbox.c
	    and yesno.c
	  + add dialog_state.input, use this in end_dialog() to decide whether
	    to close pipe inputs and call _exit(), or simply call exit().
	  + modify dlg_ctl_size() to check if the reason for failure is because
	    shadows were used; retry in that case without shadows.
	  + add signal catcher for SIGSEGV.
2007-03-08 18:21:13 +00:00
rillig
60aa139ce7 Fixed PKGMANDIR. 2006-12-20 02:04:52 +00:00
joerg
6e82078eef DESTDIR support. 2006-11-05 17:17:04 +00:00
obache
e896edb7fe Rename variable MAKEFILE to MAKE_FILE. 2006-09-09 02:41:53 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
wiz
4acc412762 Update to 1.0.20060221:
2006/02/21
	+ fix logic in split-out dlg_menu() to separate inputmenu and menu
	  handling (report by Auke Kok).
2006-03-03 22:29:58 +00:00
wiz
4d0cbc7656 Update to 1.0.20060126:
2006/01/26
	+ fix fselect.c to compile properly with Intel compiler and largefile
	  option.
	+ improve configure script checks for curses headers to work around
	  breakage in some packages, e.g., cygwin.
	+ amend correction to menubox, fixes normal menus (Debian #349969).
2006-01-29 17:56:48 +00:00
wiz
fba22ed2eb Update to 1.0.20060119
2006/01/19
	+ completed dialog.3 manpage
	+ modify configure script option --with-gauge to cover all flavors of
	  the gauge (gauge, pause, progressbox).
	+ add progressbox widget, a hybrid of gauge and tailbox (Reznic Valery).
	+ fix a comparison in checklist.c to avoid unneeded arrows when the
	  list happens to fit in the window (patch by Peter Postma).
	+ correct wrapping computation in print_line() from 2005/11/07 changes
	  (report by Barry Kauler).
	+ update sv.po (comments only).
		http://www.iro.umontreal.ca/translation/maint/dialog/
	+ correct logic that passes the callback for menubox to do inputmenu
	  operations from 2005/12/7 changes (report by Reznic Valery).
2006-01-23 21:49:05 +00:00
wiz
35d88b0724 Update to 1.0.20060101:
2006/01/01
	+ add a null-pointer check in dlg_register_buttons(), needed for the
	  tailboxbg (Debian #345524).
	+ fix a few memory leaks reported by valgrind.
2006-01-15 00:46:45 +00:00
wiz
fb93d0a329 Update to 1.0.20051219:
2005/12/19
	+ correct return-values of new functions dlg_default_listitem() and
	  dlg_default_formitem() (Debian #344002).
	+ add Swedish translation (Debian #343303, by Daniel Nylander)
	+ begin function-summaries in dialog.3
	+ update config.guess, config.sub

2005/12/07
	+ change license to LGPL.
	+ change naming convention in dlg_colors.h to make it easier to read,
	  and incidentally remove the last chunk of code preventing relicense.
	+ add --passwordform (request by Reznic Valery).
	+ modify pause.c, msgbox.c to work with --help-button.
	+ modify formbox.c, inputbox.c, textbox.c, yesno.c to work with extra
	  button (adapted from Reznic Valery patch).
	+ modify dlg_exit_label(), dlg_yes_labels() and dlg_ok_label() to allow
	  help-button (prompted by Reznic Valery patch).
	+ add zh_CN.po file from
		http://www.iro.umontreal.ca/translation/maint/dialog/
	+ provide alternate interfaces for dialog_checklist(), dialog_menu()
	  and dialog_form():  dlg_checklist(), dlg_menu() and dlg_form()
	  (discussion with Michael Gebetsroither).
	+ add/use dlg_result_key() to allow binding function keys to the
	  buttons.
	+ implement user-definable key bindings in the rc-file.
	+ modify inline cases for KEY_xxx values to use binding tables in new
	  module dlg_keys.c
	+ add several DIALOG_STATE items to the rc file:  aspect,
	  separate_widget, tab_len and visit_links
	+ add a tab-adjustment to dlg_print_text() to improve solution from
	  2005/10/30, e.g., in the samples/form* scripts.
	+ fix an off-by-one which made mouse-selection not work for menu items
	  past the first page (GenToo #112024, patch by Harald van Dijk).

2005/11/07
	+ extend dlg_add_result() to allow caller to pass a null pointer
	  for dialog_vars.input_result (Debian #336986).
	+ correct length used for text portion of radio/checkboxes (report by
	  Valentin Stoykov).
	+ modify msgbox, textbox and center_label() to work properly for
	  LANG=bg_BG.utf8 examples by Valentin Stoykov.
	+ modify use of freopen() to work with opaque FILE type on DragonFly
	  (report by Jeremy C Reed).
	+ modify print_line() to compute columns, use that for the call to
	  dlg_print_line().  Fix a few places where strlen() was used instead
	  of dlg_count_columns() (reports by Valentin Stoykov).

2005/10/30
	+ reviewed changes since beginning development in 1999, decided that
	  there are no appreciable portions of original code remaining.
	  Marked sources to correspond.
	+ improve cache performance for inputstr.c using tsearch() rather than
	  a linked-list search (Debian #294853).
	+ remove a special case for darwin in CF_XOPEN_SOURCE configure macro.
	+ add ms.po file from
		http://www.iro.umontreal.ca/translation/maint/dialog/
	+ remove an assignment that caused the cursor to appear initially on a
	  form field rather than button (Debian #333506).
	+ modify buttons.c to count columns rather than bytes, fixing case
	  where buttons were laid out incorrectly (report by Valentin Stoykov).
	+ change dlg_print_text() to count columns rather than bytes, fixing
	  case where fewer columns were displayed in menu than expected
	  (report by Valentin Stoykov).

2005/10/05
	+ improve fix for dlg_does_output(), eliminating redundant leading
	  separator.
	+ fill background color for item-help text (report by Peter Postma).
	+ correct interaction between --separate-output and --output-separator
	  broken in 2005/09/11 fix for Debian #326918 (Debian #331440).
	+ update config.guess, config.sub
2005-12-31 00:07:03 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
joerg
6f2c35ed2a The stdio abuse is bad enough to warrant a PKGREVISION bump. 2005-11-08 13:25:12 +00:00
wiz
5d60ddd48f Update to 1.0.20050911. Changes since 1997 (or 1995?) are too many
to mention here, see
	http://dickey.his.com/dialog/CHANGES
for details.

Closes PR pkg/30856.
2005-09-30 22:02:56 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
minskim
101b04ee11 Enable pkgviews installation. Patches provided by Joachim Kuebart on
tech-pkg@.
2004-05-31 16:47:47 +00:00
jlam
e8132b3fbf Relinquish maintainership of packages to tech-pkg@NetBSD.org. 2004-04-24 22:46:08 +00:00
jlam
326169077a USE_BUILDLINK3 must be set to "yes" or "no", not defined/undefined. 2004-03-23 04:40:59 +00:00
minskim
988c9b8ea9 bl3ify 2004-02-12 15:58:04 +00:00
grant
57891cda0a replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 14:11:09 +00:00
jlam
a9f08159c4 Back out last change related to moving ncurses/buildlink2.mk to
curses.buildlink2.mk.  This was wrong because we _really_ do want to
express that we want _n_curses when we include the buildlink2.mk file.

We should have a better way to say that the NetBSD curses doesn't
quite work well enough.  In fact, it's far better to depend on ncurses
by default, and exceptionally note when it's okay to use NetBSD curses
for specific packages.  We will look into this again in the future.
2003-09-28 09:13:55 +00:00
grant
7a71199b50 move ncurses/buildlink2.mk to mk/curses.buildlink2.mk, as it provides
support for base system curses/ncurses as well as ncurses itself.

suggested by wiz.
2003-09-27 17:07:34 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
salo
478b450fcc Fix INCOMPAT_CURSES patterns to include all netbsd-1-[56] versions. 2003-06-10 12:18:28 +00:00
jdc
40864ba0c3 Bump the package revision. Pointed out by Matthias Scheler. 2003-04-07 17:21:09 +00:00
jdc
460fc14262 Mark NetBSD 1.6 version as imcompatible.
From PR 20834 by Stephen Borrill.
2003-04-05 10:14:57 +00:00
jlam
1ffdbcf408 buildlink1 -> buildlink2 2002-09-21 00:59:26 +00:00
jlam
d88554c247 Create new variables INCOMPAT_ZLIB, INCOMPAT_BZIP2, INCOMPAT_READLINE,
INCOMPAT_GETTEXT that are analogous to INCOMPAT_ICONV and contain lists of
shell wildcards intended to match against ${MACHINE_PLATFORM}.  These
variables are used to note those platforms that have the named packages in
the base system but are incompatible in some way from the pkgsrc version
of the same package.  Change INCOMPAT_CURSES to have the same sematics as
above.  These variables allow much greater precision in specifying which
platforms have broken (for the purposes of pkgsrc) versions of software in
the base system that must be ignored.

The buildlink.mk files for these packages define private _INCOMPAT_*
versions of these variables, and they contain the default lists of
platforms that are known to have incompatible software bits.

This addresses pkg/17775 submitted by Julien T. Letessier
<julien.letessier at sun dot com>.
2002-08-07 06:10:32 +00:00
tron
0d513d1d5a This package doesn't work with NetBSD 1.5 and 1.5.x's curses library.
Problem noted by Stephen Borrill in PR pkg/16286.
2002-04-22 13:07:51 +00:00
jlam
b3f21f3c68 Remove commented-out USE_CURSES definition. 2001-11-30 03:20:16 +00:00
jlam
dbfddb7cdc Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. By using
ncurses/buildlink.mk, we can refer to the ncurses header as ncurses.h and
the ncurses lib as libncurses.
2001-06-19 15:53:11 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
wiz
3d00d4c119 NEED_NCURSES check doesn't have to be after bsd.pkg.mk inclusion anymore
(only after bsd.prefs.mk inclusion)
2000-11-02 03:25:32 +00:00
jlam
6b4a02c1e1 Make use of new USE_CURSES functionality. 2000-07-28 20:30:08 +00:00
jlam
24ef86f870 Update dependency on ncurses to >=4.2 2000-01-15 18:46:22 +00:00
jlam
706198eb78 * Update ncurses dependency. 1999-07-06 08:04:14 +00:00
tron
23e0063766 Completely replace "MASTER_SITE_SUBDIR" and "PATCH_SITE_SUBDIR" with
variable substituition of "MASTER_SITES" and "PATCH_SITES".
1999-04-15 20:39:38 +00:00
agc
daa3dd519a Update package Makefiles for automatic manual page handling. 1998-06-22 12:44:29 +00:00
tron
dd6c2619b6 New "dialog" package supplied by Johnny C. Lam in PR pkg/4993. 1998-05-26 22:07:19 +00:00