This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cinstall ChangeLog Makefile.in choo ...
- From: rbcollins at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 3 Dec 2001 22:22:10 -0000
- Subject: src/winsup/cinstall ChangeLog Makefile.in choo ...
CVSROOT: /cvs/src
Module name: src
Changes by: rbcollins@sources.redhat.com 2001-12-03 14:22:10
Modified files:
winsup/cinstall: ChangeLog Makefile.in choose.cc fromcwd.cc
ini.cc list.h other.cc res.rc site.cc state.h
Added files:
winsup/cinstall: site.h version.cc
Log message:
2001-12-04 Robert Collins <rbtcollins@hotmail.com>
* Makefile.in (OBJS): Add setup_version.o.
(version.c): Rename to setup_version.
* choose.cc (set_action): Prevent NULL pointer dereference.
(package_sort): Remove.
* fromcwd.cc (canonicalize_version): Moved to version.cc.
(check_ini): New function for use with find to see if there is a cached setup.ini.
(do_fromcwd): Check for a cached setup.ini from any mirror site.
* ini.cc (find_routine): New function, for finding cached setup.ini's.
(do_local_ini): New function, drives parsing of local ini's.
(do_remote_ini): New function, drives parsing and caching of remote ini's.
(do_ini): Move guts to do_remote_ini and do_local_ini.
* list.h (removebyindex): New method.
* other.cc (save_dialog): Use new site_list and all_site_list to add the
new site to the site picklist.
(dialog_cmd): Only save the dialog when exiting the dialog.
* res.rc (IDD_SITE): Make IDC_URL_LIST a multiple-selection control.
* site.cc (site_list_type): Move to site.h
(site_list): New global, sites chosen by the user.
(all_site_list): New global, all potential sites.
(site_list_type::init): New method, parses a mirror.lst URL string into a
site_list_type object.
(site_list_type::site_list_type): New method.
(check_if_enable_next): Examine the control, not a local variable.
(load_dialog): Select all the user chosen sites by default.
(save_dialog): Adjust for multiple selection semantics.
(save_site_url): Save all user chosen sites.
(dialog_cmd): Don't save the dialog when the listbox recieves a message -
thats not needed.
Remove obsolete other_url reference.
(dialog_proc): Use all_site_list instead of site_list.
(site_sort): Remove.
(get_site_list): Remove malloc use - use list template instead.
Move site_list_type initialisation to site_list_type::init().
(get_initial_list_idx): Renamed to ...
(get_saved_sites): this. Also read in multiple sites to the site_list.
(do_site): Use all_site_list not site_list.
Log all chosen sites.
* site.h: New file, defines site related class, functions and variables.
* state.h: Add comment about use of state.h
(mirror_site): Remove.
(other_url): Remove.
(MIRROR_SITE): Remove.
* version.cc: New file, for version-handling and related functions.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/site.h.diff?cvsroot=src&r1=NONE&r2=2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/version.cc.diff?cvsroot=src&r1=NONE&r2=2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/ChangeLog.diff?cvsroot=src&r1=2.156&r2=2.157
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/Makefile.in.diff?cvsroot=src&r1=2.37&r2=2.38
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/choose.cc.diff?cvsroot=src&r1=2.77&r2=2.78
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/fromcwd.cc.diff?cvsroot=src&r1=2.14&r2=2.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/ini.cc.diff?cvsroot=src&r1=2.14&r2=2.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/list.h.diff?cvsroot=src&r1=2.2&r2=2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/other.cc.diff?cvsroot=src&r1=2.2&r2=2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/res.rc.diff?cvsroot=src&r1=2.30&r2=2.31
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/site.cc.diff?cvsroot=src&r1=2.9&r2=2.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/state.h.diff?cvsroot=src&r1=2.5&r2=2.6