[Patch] Setup: Warn about dropped mirrors.

Bas van Gompel cygwin-apps.buzz@bavag.tmfweb.nl
Wed Nov 16 22:30:00 GMT 2005


Op Wed,  2 Nov 2005 22:29:10 +0100 (MET) schreef Bas van Gompel
in <n2m-g.dkbctp.3vv3gvj.1<at>buzzy-box.bavag>:
[Warn about dropped mirrors]

I cleaned this up a little (use ``area'', not ``continent'', check for
``!size()'' instead of ``==""''.) I also folded the second patch
(Initializing cache_action) into this one and added some missing parts
to the ChangeLog-entry. Please use this one.


ChangeLog-entry: (please fix the <at>.)

2005-11-16  Bas van Gompel  <patch-cygsup.buzz<at>bavag.tmfweb.nl>

	* res.rc (IDD_DROPPED): New dialog.
	* resource.h (IDD_DROPPED): New dialog-id.
	(IDC_DROP_MIRRORS, IDC_DROP_NOWARN): New control-ids.
	* site.cc (site_list_type::init, site_list_type::site_list_type):
	Change to four parameter form.
	(site_list_type::site_list_type, site_list_type::operator=) Copy
	servername, area and location.
	(load_site_list): New function, broken out of get_site_list.
	Support four-parameter site_list_type.
	(get_site_list): Break out load_site_list. Move reading cache
	earlier. Don't write new cache. Set flags to record cache state.
	Load both all_site_list and cached_site_list.
	(SiteSetting::registerSavedSite): Use four-parameter site_list_type.
	(drop_proc, check_dropped_mirrors, save_cache_file): New functions.
	(SitePage::OnNext): Check for dropped mirrors and save cache as
	appropriate.
	(SitePage::OnMessageCmd): Use four-parameter site_list_type.
	* site.h (site_list_type::init, site_list_type::site_list_type):
	Change to four parameter form.
	(site_list_type): Add servername, area and location members.


L8r,
-- 
  ) |  | ---/ ---/  Yes, this | This message consists of true | I do not
--  |  |   /    /   really is |   and false bits entirely.    | mail for
  ) |  |  /    /    a 72 by 4 +-------------------------------+ any1 but
--  \--| /--- /---  .sigfile. |   |perl -pe "s.u(z)\1.as."    | me. 4^re
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: setup-drop-warn2.patch
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20051116/2a62e168/attachment.ksh>


More information about the Cygwin-apps mailing list