This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
[PATCH setup 0/4] Distinguish between user URLs and cygwin mirrors in UI
- From: Ken Brown <kbrown at cornell dot edu>
- To: cygwin-apps at cygwin dot com
- Date: Sun, 3 Dec 2017 10:22:51 -0500
- Subject: [PATCH setup 0/4] Distinguish between user URLs and cygwin mirrors in UI
- Authentication-results: sourceware.org; auth=none
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