This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
winsup/cinstall ChangeLog choose.cc desktop.cc ...
- To: cygwin-cvs at sources dot redhat dot com
- Subject: winsup/cinstall ChangeLog choose.cc desktop.cc ...
- From: cgf at sourceware dot cygnus dot com
- Date: 8 May 2001 04:03:04 -0000
CVSROOT: /cvs/uberbaum
Module name: winsup
Changes by: cgf@sources.redhat.com 2001-05-07 21:03:03
Modified files:
cinstall : ChangeLog choose.cc desktop.cc dialog.cc
download.cc geturl.cc ini.cc ini.h install.cc
res.rc resource.h site.cc
Log message:
* resource.h: Add new field IDC_CHOOSE_INST_TEXT. Modify
_APS_NEXT_CONTROL_VALUE to account for addition of IDC_CHOOSE_INST_TEXT.
* res.rc (IDD_CHOOSE): Modify choose dialog to use new field
IDC_CHOOSE_INST_TEXT for screen text. Modify choose Dialog to allow hot keys
to select Prev, Curr, Exp.
* ini.h: Add new actions for ACTION_REDO and ACTION_SRC_ONLY. Modify define
for LOOP_PACKAGES to include new actions ACTION_REDO and ACTION_SRC_ONLY.
* choose.cc: Add new Trusts for TRUST_REDO and TRUST_SRC_ONLY.
(paint): Modify to check TRUST_SRC_ONLY when determining Bitmap for source
Checkbox to use.
(build_labels): Add logic to allow for selection of Source only
Download/ReDownload/Install/Reinstall and also to Redownload/Reinstall current
version binary.
(dialog_proc): Add conditional display for file selection prompt based on
download vs install using IDC_CHOOSE_INST_TEXT.
(do_choose): Add new logic for TRUST_REDO and TRUST_SRC_ONLY selection and
modify logic for TRUST_UNINSTALL, TRUST_KEEP, and TRUST_NONE to handle the
instance where Source Download/Install was selected. Modify log file to store
appropriate information regarding Action selected and the new actions that were
added (I.E.: ACTION_REDO and ACTION_SRC_ONLY).
* download.cc: Add include for <unistd.h> and "port.h".
(download_one): Modify parameter list to include the selected action for the
file to be downloaded. Modify size check against expected size to include
check for ACTION_REDO and ACTION_SRC_ONLY. Modify rename of .tmp file to also
remove the destination file if exists due to ability to redownload source and
binary now.
(do_download): Modify to also use ACTION_REDO and ACTION_SRC_ONLY in
calculation of Download Bytes. Modify to also use ACTION_REDO and
ACTION_SRC_ONLY in determining files selected for download.
* install.cc (uninstall_one): Add check to treat a Reinstall like an upgrade so
current version will be uninstalled prior to reinstall.
(do_install): Add logic to handle ACTION_REDO and ACTION_SRC_ONLY for
uninstalling and installing binary and source packages.
* desktop.cc (make_passwd_group): Modify logic to account for a Source only
cygwin install when checking for cygwin to determine need for mkpasswd and
mkgroup.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cinstall/ChangeLog.diff?cvsroot=uberbaum&r1=2.48&r2=2.49
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cinstall/choose.cc.diff?cvsroot=uberbaum&r1=2.15&r2=2.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cinstall/desktop.cc.diff?cvsroot=uberbaum&r1=2.6&r2=2.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cinstall/dialog.cc.diff?cvsroot=uberbaum&r1=2.1&r2=2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cinstall/download.cc.diff?cvsroot=uberbaum&r1=2.10&r2=2.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cinstall/geturl.cc.diff?cvsroot=uberbaum&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cinstall/ini.cc.diff?cvsroot=uberbaum&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cinstall/ini.h.diff?cvsroot=uberbaum&r1=2.5&r2=2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cinstall/install.cc.diff?cvsroot=uberbaum&r1=2.12&r2=2.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cinstall/res.rc.diff?cvsroot=uberbaum&r1=2.16&r2=2.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cinstall/resource.h.diff?cvsroot=uberbaum&r1=2.9&r2=2.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cinstall/site.cc.diff?cvsroot=uberbaum&r1=2.4&r2=2.5