This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cinstall ChangeLog Makefile.in arch ...
- From: rbcollins at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 20 Dec 2001 11:49:54 -0000
- Subject: src/winsup/cinstall ChangeLog Makefile.in arch ...
CVSROOT: /cvs/src
Module name: src
Changes by: rbcollins@sources.redhat.com 2001-12-20 03:49:54
Modified files:
winsup/cinstall: ChangeLog Makefile.in archive.h archive_tar.h
choose.cc choose.h desktop.cc download.cc
fromcwd.cc iniparse.y install.cc io_stream.cc
io_stream.h list.h package_db.cc package_db.h
package_meta.cc package_meta.h resource.h
source.cc win32.h
Log message:
2001-12-20 Robert Collins <rbtcollins@hotmail.com>
* Makefile.in: Add libcomctl32.a for setup.exe.
* archive.h (archive): Prevent non-child direct creation of the class.
* archive_tar.h (archive_tar): Prevent inaccurate synthetic copy and assignment.
* choose.cc: Include commctrl for the choose header.
(NEW_COL_SIZE_SLOP): Define without magic numbers.
(pkgtrustp): Convert to function.
(set_action): Remove.
(add_required, fill_missing_category,default_trust): Use list syntax for
package list.
Use new set_action.
(choose_caption): Remove.
(topbucket::paint): New method.
(topbucket::empty): Ditto.
(topbucket::click): Ditto.
(topbucket::~topbucket): Ditto.
(paint): Remove i,ii and p as they are obsolete.
Remove header drawing code.
Use new chooser method to paint the chooser.
Use new chooser itemcount method.
(scroll_common): Rename to view::scroll.
Scroll the header window separately.
(list_vscroll, list_hscroll, list_click): Update for new chooser methods.
(listview_proc): Look for header messages.
(note_width): Accept stringless calls.
(pick_line::set_line): Remove.
(pick_line::paint): Remove.
(pick_pkg_line::paint): Paint this one line, using the header column widths.
(pick_category_line::paint): Paint this category, and anything in the bucket.
(pick_line::click): Remove.
(pick_pkg_line::click): Handle a click.
(pick_category_line::click): Handle a click.
(_view): Rename all to view.
(view::view): Initialise the control contents.
(view::set_headers): Work with the header control.
(view::init_headers): Use list syntax for package list.
Rearrange the width logic a little.
(view::insert_pkg): Update to use the hierarchy.
(view::insert_category): Ditto.
(view::insert_at, view::insert_under): Remove.
(view::clear_view): Update to use the hierarchy.
(view::click): Update to use the hierarchy.
(set_view_mode): Use list syntax for package list.
Update for new chooser methods.
(DoInsertItem): New helper function. (Needs a home somewhere).
(create_listview): Remove choose control code and use the constructor instead.
(dialog_cmd,scan2,do_choose): Use list syntax for package list.
* choose.h: Include newly required headers list and package_meta.
(_voew): Rename to view.
(pick_line): Convert to an ABC.
(pick_pkg_line): New class.
(pick_catgory_line): New class.
(topbucket): New class.
(view::scroll): New method created from listview_scroll function.
* desktop.cc (make_passwd_group): Use list syntax for package list.
* download.cc (do_download): Use list syntax for package list.
* fromcwd.cc (found_file): Use list syntax for package list.
* iniparse.y (pacakges): Use list syntax for package list.
* install.cc (uninstall_one): Use list syntax for package list.
(do_install): Use list syntax for package list.
* io_stream.h (io_stream): Prevent non-child direct creation of the class.
Prevent inaccurate synthetic copy and assignment.
* list.h: Include required header stdlib.
Work on const correctness.
* package_db.cc (packagedb::getpackagebyname): Remove.
(packagedb::packagedb): Remove custom list code, and make db a local.
(packagedb::getfirstpackage): Remove.
(packagedb::getnextpackage): Remove.
(packagedb::addpackage): Remove.
(flush): Remove custom list code.
(packagedb::registerpackage): Remove.
(packagedb::packages): New static member.
(packagedb::task): New static member.
* package_db.h (PackageDBActions): New enum.
(packagedb): Remove getfirstpackage, getnextpackage, getpackagebyname,
addpackage, registerpackage, packages, packagecount, curr_package, db.
Add packages, task.
* pacakge_meta.cc: Include package_db.h.
(packagemeta::action_caption): New method.
(packagemeta::set_action): New method.
* package_meta.h (CategoryPackage): Initialise key.
(packagemeta): Initialise key.
Add set_action and action_caption methods.
Prevent inaccurate synthetic copy and assignment.
* resource.h (IDC_CHOOSE_LISTHEADER): New ID.
* source.cc: Include package_db for db manipulation.
(save_dialog): Set the db task.
* win32.h: Tell the w32 include headers what IE version to expect/require.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/ChangeLog.diff?cvsroot=src&r1=2.159&r2=2.160
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/Makefile.in.diff?cvsroot=src&r1=2.38&r2=2.39
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/archive.h.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.3&r2=2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/choose.cc.diff?cvsroot=src&r1=2.78&r2=2.79
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/choose.h.diff?cvsroot=src&r1=2.8&r2=2.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/desktop.cc.diff?cvsroot=src&r1=2.18&r2=2.19
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/download.cc.diff?cvsroot=src&r1=2.17&r2=2.18
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/fromcwd.cc.diff?cvsroot=src&r1=2.15&r2=2.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/iniparse.y.diff?cvsroot=src&r1=2.20&r2=2.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/install.cc.diff?cvsroot=src&r1=2.30&r2=2.31
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/io_stream.cc.diff?cvsroot=src&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/io_stream.h.diff?cvsroot=src&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/list.h.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.11&r2=2.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_db.h.diff?cvsroot=src&r1=2.7&r2=2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_meta.cc.diff?cvsroot=src&r1=2.7&r2=2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/package_meta.h.diff?cvsroot=src&r1=2.7&r2=2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/resource.h.diff?cvsroot=src&r1=2.12&r2=2.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/source.cc.diff?cvsroot=src&r1=2.8&r2=2.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/win32.h.diff?cvsroot=src&r1=2.1&r2=2.2