[PATCH setup 0/4] Distinguish between user URLs and cygwin mirrors in UI
Ken Brown
kbrown@cornell.edu
Sun Dec 3 15:23:00 GMT 2017
This is a followup to
https://cygwin.com/ml/cygwin-apps/2011-04/msg00014.html .
In that message Jon suggested splitting site selection into two pages,
one for cygwin.com mirrors and one for additional user URLs. The
latter would be visible only if the user had previously checked a
suitable checkbox.
I attempted to implement this but found it to be too complicated.
This patch series implements a variant of that suggestion. There is
still only one site selection page, but it now has a checkbox "Allow
sites that are not cygwin.com mirrors". The box is initially
unchecked unless the "last-mirror" user setting in setup.rc contains a
non-mirror.
The button for adding a user URL is disabled unless the box is
checked.
Ken Brown (4):
Add checkbox IDC_ALLOW_USER_URL to IDD_SITE dialog
Set the initial state of IDC_ALLOW_USER_URL
Adjust site list if IDC_ALLOW_USER_URL is unchecked
Display full URL of non-mirrors in the site list
res.rc | 15 +++++-----
resource.h | 1 +
site.cc | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
site.h | 1 +
4 files changed, 103 insertions(+), 7 deletions(-)
--
2.15.1
More information about the Cygwin-apps
mailing list