This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/winsup/cinstall ChangeLog Makefile.in READ ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	rbcollins@sources.redhat.com	2001-11-29 01:52:34

Modified files:
	winsup/cinstall: ChangeLog Makefile.in README category_list.cc 
	                 category_list.h choose.cc choose.h 
	                 cygpackage.cc cygpackage.h desktop.cc 
	                 download.cc fromcwd.cc ini.cc ini.h inilex.l 
	                 iniparse.y install.cc io_stream.cc 
	                 io_stream_cygfile.cc io_stream_file.cc 
	                 package_db.cc package_db.h package_meta.cc 
	                 package_meta.h package_source.cc 
	                 package_source.h package_version.cc 
	                 package_version.h 
Added files:
	winsup/cinstall: list.h rfc1738.cc rfc1738.h 

Log message:
	2001-11-29  Robert Collins  <rbtcollins@hotmail.com>
	
	* Makefile.in (OBJS): Add package_source and rfc1738.
	* README: Wishlist update.
	* category_list.cc (register_category): Use references.
	* category_list.h (CategoryList): Ditto.
	* choose.cc (isinstalled): Remove.
	(pkgtrustp): New macro.
	(set_action): Use packagemeta.
	(add_required): Ditto.
	(choose_caption): Example package to choose caption, rather than state flags.
	(check_existence): Remove.
	(set_existence): Remove old code.
	(fill_missing_category): Use packagemeta.
	(keep_or_skip): Remove.
	(default_trust): Use packagemeta and set trust values directly.
	(pick_line::set_line): Use packagemeta.
	(_view::insert_pkg): Ditto.
	(_view::insert_category): Ditto.
	(_view::click): Ditto.
	(set_view_mode): Ditto. Also remove "exclude" code.
	(create_listview): Use packagemeta.
	(dialog_cmd): Ditto.
	(getpkgbyname): Remove
	(scan2): Use packagemeta. Temporarily comment out the holefinding code.
	(read_installed_db): Remove.
	(package_sort): Use packagemeta.
	(do_choose): Use packagemeta. Don't sort the packages - the db does that.
	* choose.h: Use packagemeta.
	* cygpackage.cc (cygpackage::cygpackage): Initialise all variables.
	(cygpackage::cygpackage): Ditto.
	(cygpackage::set_canonical_version): Copy the passed string.
	(cygpackage::~cygpackage): Move cleanup code to destroy().
	(cygpackage::destroy): New function.
	(cygpackage::getfirstfile): Use a separate buffer.
	(cygpackage::getnextfile): Ditto.
	(cygpackage::Canonical_version): New function.
	(cygpackage::set_sdesc): Ditto.
	(cygpackage::set_ldesc): Ditto.
	* cygpackage.h (cygpackage::Canonical_version): New method.
	(cygpackage::set_sdesc): New method.
	(cygpackage::set_ldesc): New method.
	(cygpackage::SDesc): New method.
	(cygpackage::LDesc): New method.
	(cygpackage::set_canonical_version): New method.
	* desktop.cc: Include packagedb headers.
	(make_password_group): Use packagemeta.
	* download.cc: Include packagedb headers.
	(check_for_cached): New method to find any cached file and fill out the database
	info.
	(download_one): Take a packagesource, support multiple mirrors.
	(do_download): Use packagemeta.
	* from cwd.cc: Include packagedb headers.
	(found_file): Use packagemeta.
	* ini.cc (do_ini): Beginning of multiple-mirror support.
	* ini.h (CategoryPackage): Remove.
	(Dependency): Remove.
	(Package): Remove.
	(new_package,getpkgbyname,getpackagecategorybyname,add_category): Remove.
	* inilex.l: Support multiple mirrors.
	* iniparse.y: Include packagedb headers.
	(parser): Use packagemeta.
	(new_package): Remove.
	(add_correct_version): New function.
	(new_requirement): Remove.
	(add_category): Remove.
	* install.cc (uninstall_one): Use packagemeta.
	(install_one_source): New function.
	(install_one): Use packagemeta.
	(do_install): Use packagemeta.
	* io_stream.cc (io_stream::move): Bugfix on move/copy case.
	* io_stream_cygfile.cc (io-stream_cygfile::set_mtime): Do not reopen the file
	after setting the mtime, it makes no sense, and results in 0 length files.
	* io_stream_file.cc (io-stream_file::set_mtime): Ditto.
	* list.h: New file, template class for a form of list.
	* package_db.cc (packagedb::registerpackage): New function.
	* package_db.h (packagedb::npackages ()): New method.
	* package_meta.cc (packagemeta::add_version): Use list template.
	(packagemeta::set_installed): Ditto.
	(packagemeta::add_category): New method.
	* package_meta.h: Include necessary headers to parse the class.
	(CategoryPackage): New class.
	(packagemeta): Initialise all members.
	(packagemeta::SDesc): New method.
	(packagemeta::Categories): New method.
	(packagemeta::add_category): Ditto.
	(packagemeta::versions): Change to be a list instance.
	* package_source.cc (packagesource::set_canonical): New method.
	(packagesource::set_cached): New method.
	* package_source.h: Include necessary headers to parse the class.
	(site): New class.
	(packagesource::packagesource): Initialize all members.
	(packagesource): Make this class non-abstract.
	* package_version.cc (packageversion::packageversion): New method.
	* package_version.h (Dependency): New class.
	(packageversion::Canonical_vesion): New method.
	(packageversion::SDesc): New method.
	(packageversion::LDesc): New method.
	(packageversion::new_requirement): Ditto.
	(packageversion::srcpicked, binpicked): What to install.
	(packageversion::src, bin): Installation source data.
	* rfc1738.cc: New file. Escapes special characters in URL's.
	* rfc1738.h: Ditto.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/list.h.diff?cvsroot=src&r1=NONE&r2=2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/rfc1738.cc.diff?cvsroot=src&r1=NONE&r2=2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/rfc1738.h.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.151&r2=2.152
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/Makefile.in.diff?cvsroot=src&r1=2.34&r2=2.35
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/README.diff?cvsroot=src&r1=2.8&r2=2.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/category_list.cc.diff?cvsroot=src&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/category_list.h.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/choose.cc.diff?cvsroot=src&r1=2.74&r2=2.75
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/choose.h.diff?cvsroot=src&r1=2.7&r2=2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/cygpackage.cc.diff?cvsroot=src&r1=2.5&r2=2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/cygpackage.h.diff?cvsroot=src&r1=2.5&r2=2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/desktop.cc.diff?cvsroot=src&r1=2.17&r2=2.18
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/download.cc.diff?cvsroot=src&r1=2.15&r2=2.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/fromcwd.cc.diff?cvsroot=src&r1=2.13&r2=2.14
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/ini.cc.diff?cvsroot=src&r1=2.12&r2=2.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/ini.h.diff?cvsroot=src&r1=2.25&r2=2.26
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/inilex.l.diff?cvsroot=src&r1=2.8&r2=2.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/iniparse.y.diff?cvsroot=src&r1=2.17&r2=2.18
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/install.cc.diff?cvsroot=src&r1=2.29&r2=2.30
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/io_stream.cc.diff?cvsroot=src&r1=2.2&r2=2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/io_stream_cygfile.cc.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/io_stream_file.cc.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_db.cc.diff?cvsroot=src&r1=2.7&r2=2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_db.h.diff?cvsroot=src&r1=2.5&r2=2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_meta.cc.diff?cvsroot=src&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_meta.h.diff?cvsroot=src&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_source.cc.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_source.h.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_version.cc.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_version.h.diff?cvsroot=src&r1=2.3&r2=2.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]