Devin Teske 74036c4de9 Improve portion of the dialog(1) API in dialog.subr responsible for
calculating widget sizes. Instead of forking a sub-shell to calculate the
optimum size for a widget, use a byRef style call-out to set variables in
the parent namespace. For example, instead of:

	size=$( f_dialog_buttonbox_size title btitle msg )
	$DIALOG --title title --backtitle btitle --msgbox msg $size

The new API replaces the above with the following:

	f_dialog_buttonbox_size height width title btitle msg
	$DIALOG --title title --backtitle btitle --msgbox msg $height $width

This reduces the number of forks, improves performance, and makes the code
more readable by revealing the argument-order for widget sizing. It also
makes performing minor adjustments to the calculated values easier as
you no longer have to split-out the response (which required knowledge of
ordering so was counter-intuitive).
2013-05-31 19:07:17 +00:00
..
2013-03-17 06:54:04 +00:00
2013-05-12 22:22:12 +00:00
2013-05-11 13:46:05 +00:00
2012-10-07 19:53:04 +00:00
2013-05-10 16:41:26 +00:00
2012-11-20 02:12:01 +00:00
2012-07-13 21:27:18 +00:00
2012-03-26 21:22:53 +00:00
2012-03-26 15:18:14 +00:00
2013-05-12 22:22:12 +00:00
2012-10-29 03:31:22 +00:00
2012-09-01 10:56:15 +00:00
2010-12-20 08:54:30 +00:00
2013-04-11 18:46:41 +00:00
2012-05-17 11:50:12 +00:00
2010-12-20 09:36:54 +00:00
2012-07-04 10:17:02 +00:00
2012-05-12 15:08:22 +00:00
2013-03-10 17:10:16 +00:00
2013-05-13 18:13:50 +00:00
2013-05-13 18:13:50 +00:00
2012-11-18 16:58:08 +00:00
2012-09-11 07:35:24 +00:00
2013-05-06 17:21:28 +00:00
2013-05-28 13:54:26 +00:00
2012-09-14 17:50:42 +00:00
2013-04-11 18:46:41 +00:00
2012-06-03 11:29:48 +00:00
2013-04-22 18:31:39 +00:00
2013-05-13 18:13:50 +00:00
2013-05-12 22:22:12 +00:00
2012-03-10 14:38:34 +00:00
2013-04-08 08:05:15 +00:00
2012-03-26 21:22:53 +00:00