2004-02-05 Edward Peschko * ConnectionSetting.cc (ConnectionSetting::UseIE5, ConnectionSetting::ProxyHost, ConnectionSetting::ProxyPort): Added headers "getopt++/BoolOption.h", "getopt++/StringOption.h" - static variables for command line options UseIE5 (short -E) to by default use IE settings rather than default, ProxyHost (short -H) to by default use a given host, and ProxyPort (short -P) to by default use a given port. (ConnectionSetting::load): added support for command line options ProxyHost, ProxyPort in setting options for downloading cygwin packages. (ConnectionSetting::typeFromString): added support for UseIE5, ProxyHost command line variables to override defaults. * PickCategoryLine.h (PickCategoryLine::PickCategoryLine): changed constructor to take an optional Default Action parameter in support of AllInstall, UnInstall, and ReInstall command line arguments (see below). Set current_default to this parameter. * PickView.cc (PickView::setViewMode): added support for AllInstall, UnInstall, and ReInstall by setting the default install type for each set of contents - PickCategoryLines - based on arguments from commandline. (PickView::insert_pkg): added parameter that passes command line argument AllInstall, UnInstall, or ReInstall to PickCategoryLine constructor. (PickView::PickView): changed default install param from 0 (second argument) to packagemeta::action_from_argv() (which supports AllInstall, UnInstall or ReInstall) * main.cc (main): moved argument processing to earlier in the file so that added parameters would exist before their windows were created. * net.cc (NetPage::OnInit): changed the default order for package download preferences to be NET_IE5 first (as per docs, ie: bug fix). * package_meta.cc: added header "getopt++/BoolOption.h", static boolean variables (AllInstall, UnInstall, ReInstall) - AllInstall (short -a) controls whether or not a user wants to by command line install all of cygwin. UnInstall (short -u) allows users to uninstall all of cygwin by command line, and ReInstall (short -e, allows users to reinstall all of cygwin. (packagemeta::action_from_argv): new function. returns back which of the options users selected. * package_meta_h: added headers for action_from_argv, copy constructor