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 arch ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	rbcollins@sources.redhat.com	2001-12-01 19:25:11

Modified files:
	winsup/cinstall: ChangeLog Makefile.in archive.cc archive_tar.h 
	                 choose.cc compress_bz.h compress_gz.h 
	                 cygpackage.cc download.cc geturl.cc geturl.h 
	                 ini.cc ini.h inilex.l iniparse.y io_stream.cc 
	                 io_stream.h io_stream_cygfile.cc 
	                 io_stream_cygfile.h io_stream_file.cc 
	                 io_stream_file.h io_stream_memory.h list.h 
	                 netio.cc netio.h nio-file.cc nio-file.h 
	                 nio-ftp.cc nio-ftp.h nio-http.cc nio-http.h 
	                 nio-ie5.cc nio-ie5.h package_meta.cc 
	                 package_meta.h package_source.cc 
	                 package_source.h site.cc 
Added files:
	winsup/cinstall: filemanip.cc 

Log message:
	2001-12-02  Robert Collins  <rbtcollins@hotmail.com>
	
	* Makefile.in: Add filemanip.o to setup.
	* archive.cc (archive::extract_file): Use new io_stream method 'copy'.
	* archive_tar.h (archive_tar_file): Implement get_size virtual.
	(archive_tar): Ditto.
	* choose.cc (set_action): Use [] operator instead of getnth - its more readable.
	(paint): Ditto.
	(_view::init_headers): Ditto.
	(_view::insert_pkg): Ditto.
	(set_view_mode): Ditto.
	(scan2): Ditto.
	(do_choose): Ditto.
	(base): Moved to filemanip.cc.
	(find_tar_ext): Ditto.
	(parse_filename): Ditto.
	(_Info::_Info): Remove.
	* compress_bz.h (compress_bz): Implement get_size virtual.
	* compress_gz.h (compress_gz): Implement get_size virtual.
	* cygpackage.cc (cygpackage::destroy): Use array delete for char * objects.
	* download.cc (get_file_size): Move to filemanip.cc.
	(check_for_cached): Use [] operator instead of getnth - its more readable.
	(download_one): Ditto.
	* filemanip.cc: New file.
	* geturl.cc (init_dialog): Make url a pointer to const as it is not modified.
	(get_url_to_membuf): New function - contains get_url_to_string worker code.
	(get_url_to_string): Becomes a trivial wrapper to get_url_to_membuf.
	* geturl.h: Declare new prototype.
	* ini.cc (do_ini): Use get_url_to_membuf and pass ini_init an io_stream.
	Tidy up the error code a little.
	* ini.h: Remove __cplusplus protection for ini_init.
	(_Info): Remove.
	* inilex.l: Remove old globals.
	(ini_init): Use an io_stream for getting the characters.
	(ini_getchar): Ditto.
	* iniparse.y: Declare yylex as a C++ function.
	(add_correct_version): Use [] operator instead of getnth - its more readable.
	* io_stream.cc (io_stream::move_copy): Use the copy method.
	(io_stream::copy): New method to simply copy from one stream to another.
	* io_stream.h (io_stream): New static method copy, and virtual method get_size.
	* io_stream_cygfile.cc (io_stream_cygfile::get_size): Implement this.
	* io_stream_cygfile.h (io_stream_cygfile::get_size): Declare this.
	* io_stream_file.cc (io_stream_file::get_size): Implement this.
	* io_stream_file.h (io_stream_file::get_size): Declare this.
	* io_stream_memory.h: Include errno as it's neded to parse the header.
	(io_stream_memory::get_size): Implement this.
	(io_stream_memory::st_size): Delete this.
	* list.h: Change getnth into the [] operator.
	* netio.cc (NetIO::NetIO): Change prototype to reflect Purl not being modified.
	(NetIO::set_url): Ditto.
	(NetIO::open): Ditto.
	* netio.h: As for netio.cc.
	* nio-file.cc (NetIO_File::NetIO_File): Change prototype to reflect Purl not
	being modified.
	* nio-file.h: Ditto.
	* nio-ftp.cc (NetIO_FTP::NetIO_FTP): Ditto.
	* nio-ftp.h (NetIO_FTP::NetIO_FTP): Ditto.
	* nio-http.cc (NetIO_HTTP::NetIO_HTTP): Ditto.
	* nio-http.h (NetIO_HTTP::NetIO_HTTP): Ditto.
	* nio-i5.cc (NetIO_IE5::NetIO_IE5): Ditto.
	* nio-i5.h (NetIO_IE5::NetIO_IE5): Ditto.
	* package_meta.cc (packagemeta::~packagemeta): Bugfix: use array delete.
	* package_source.cc (packagesource::set_canonical): Ditto.
	(packagesource::set_cached): Ditto.
	* package_source.h (site::~site): Ditto.
	* site.cc: Change site_list_type to a class, and search and replace sort_key to
	key globally.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/filemanip.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.155&r2=2.156
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/Makefile.in.diff?cvsroot=src&r1=2.36&r2=2.37
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/archive.cc.diff?cvsroot=src&r1=2.1&r2=2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/archive_tar.h.diff?cvsroot=src&r1=2.2&r2=2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/choose.cc.diff?cvsroot=src&r1=2.76&r2=2.77
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/compress_bz.h.diff?cvsroot=src&r1=2.2&r2=2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/compress_gz.h.diff?cvsroot=src&r1=2.2&r2=2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/cygpackage.cc.diff?cvsroot=src&r1=2.6&r2=2.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/download.cc.diff?cvsroot=src&r1=2.16&r2=2.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/geturl.cc.diff?cvsroot=src&r1=2.14&r2=2.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/geturl.h.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/ini.cc.diff?cvsroot=src&r1=2.13&r2=2.14
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/ini.h.diff?cvsroot=src&r1=2.26&r2=2.27
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/inilex.l.diff?cvsroot=src&r1=2.9&r2=2.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/iniparse.y.diff?cvsroot=src&r1=2.19&r2=2.20
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/io_stream.cc.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/io_stream.h.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/io_stream_cygfile.cc.diff?cvsroot=src&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/io_stream_cygfile.h.diff?cvsroot=src&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/io_stream_file.cc.diff?cvsroot=src&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/io_stream_file.h.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/io_stream_memory.h.diff?cvsroot=src&r1=2.1&r2=2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/list.h.diff?cvsroot=src&r1=2.1&r2=2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/netio.cc.diff?cvsroot=src&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/netio.h.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/nio-file.cc.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/nio-file.h.diff?cvsroot=src&r1=2.1&r2=2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/nio-ftp.cc.diff?cvsroot=src&r1=2.7&r2=2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/nio-ftp.h.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/nio-http.cc.diff?cvsroot=src&r1=2.8&r2=2.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/nio-http.h.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/nio-ie5.cc.diff?cvsroot=src&r1=2.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/nio-ie5.h.diff?cvsroot=src&r1=2.2&r2=2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_meta.cc.diff?cvsroot=src&r1=2.6&r2=2.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_meta.h.diff?cvsroot=src&r1=2.6&r2=2.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_source.cc.diff?cvsroot=src&r1=2.5&r2=2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_source.h.diff?cvsroot=src&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/site.cc.diff?cvsroot=src&r1=2.8&r2=2.9


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