]> cygwin.com Git - cygwin-apps/setup.git/log
cygwin-apps/setup.git
20 years ago2003-10-07 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Mon, 6 Oct 2003 22:19:59 +0000 (22:19 +0000)]
2003-10-07  Robert Collins <rbtcollins@hotmail.com>

        * proppage.h (PropertyPage::wantsActivation): const correctness fix.

21 years ago2003-08-19 Max Bowsher <maxb@ukf.net>
Max Bowsher [Tue, 19 Aug 2003 10:07:53 +0000 (10:07 +0000)]
2003-08-19  Max Bowsher  <maxb@ukf.net>

* win32.h: Define NOMINMAX only if not already defined - because
libstdc++-v3 3.3.1 defines NOMINMAX itself.

21 years ago2003-08-03 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sun, 3 Aug 2003 21:24:02 +0000 (21:24 +0000)]
2003-08-03  Max Bowsher  <maxb@ukf.net>

* ChangeLog: Fix broken line-wrapping throughout. Clarify that
"Ran automake" in 2003-07-26 entry was in bz2lib and zlib subdirs.

21 years ago2003-08-03 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
Max Bowsher [Sun, 3 Aug 2003 16:25:18 +0000 (16:25 +0000)]
2003-08-03  Gary R. Van Sickle  <g.r.vansickle@worldnet.att.net>

* propsheet.cc (Copyright): Update copyright dates.
(PropSheet::PropSheet): Remove NumPropPages initialization.
(PropSheet::CreatePages): Use PropertyPages.size() instead of
NumPropPages.
(PropSheet::Create): Ditto.
(PropSheet::AddPage): Change to use new PropertyPages std::vector<>.
* propsheet.h (Copyright): Update copyright dates.
(File Scope): Include <vector>.
(PropSheet::PropertyPages): Change from array to vector<>.
(PropSheet::NumPropPages): Remove.

21 years ago2003-08-02 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
Max Bowsher [Sat, 2 Aug 2003 00:02:01 +0000 (00:02 +0000)]
2003-08-02  Gary R. Van Sickle  <g.r.vansickle@worldnet.att.net>

Changes modified by Max Bowsher  <maxb@ukf.net>
* splash.cc (Copyright): Update copyright dates.
(SplashPage::OnInit): Remove call to SetDlgItemFont().  Now handled in
base class.
* proppage.h (PropertyPage::setTitleFont): Declare.
* proppage.cc (Copyright): Update copyright dates.
(PropertyPage::DialogProc WM_INITDIALOG): Move all font setting code,
including that from splash.cc into new function...
(PropertyPage::setTitleFont): Create, using moved code. Change font
"MS Sans Serif" to "MS Shell Dlg" in line with recent res.rc change.
Set font for IDC_STATIC_WELCOME_TITLE here, to allow easy re-use of
style for future "Finished" page.

21 years ago2003-08-02 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
Max Bowsher [Fri, 1 Aug 2003 23:54:14 +0000 (23:54 +0000)]
2003-08-02  Gary R. Van Sickle  <g.r.vansickle@worldnet.att.net>

* propsheet.cc: Include "resource.h".
(PropSheet::Create): Add the Cygwin icon in the left of the title bar.

21 years ago2003-08-01 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
Max Bowsher [Fri, 1 Aug 2003 22:20:13 +0000 (22:20 +0000)]
2003-08-01  Gary R. Van Sickle  <g.r.vansickle@worldnet.att.net>

* proppage.cc (PropertyPage::FirstDialogProcReflector): Modify comment.

21 years ago2003-08-01 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
Max Bowsher [Fri, 1 Aug 2003 22:17:04 +0000 (22:17 +0000)]
2003-08-01  Gary R. Van Sickle  <g.r.vansickle@worldnet.att.net>

* proppage.h (Copyright): Update copyright dates.
(PropertyPage): Document OnNext and OnBack.

21 years agoWhitespace.
Max Bowsher [Fri, 1 Aug 2003 10:41:36 +0000 (10:41 +0000)]
Whitespace.

21 years ago2003-07-31 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
Max Bowsher [Thu, 31 Jul 2003 12:21:21 +0000 (12:21 +0000)]
2003-07-31  Gary R. Van Sickle  <g.r.vansickle@worldnet.att.net>

* proppage.cc (PropertyPage::Create): Use more self-documenting
MAKEINTRESOURCE() instead of cast to LPCSTR.

21 years ago2003-07-31 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Thu, 31 Jul 2003 10:49:43 +0000 (10:49 +0000)]
2003-07-31  Robert Collins  <rbtcollins@hotmail.com>

* README: Mark completed items complete.

21 years agoUpdate README
Robert Collins [Thu, 31 Jul 2003 10:48:20 +0000 (10:48 +0000)]
Update README

21 years agocheck line ending behaviour
Robert Collins [Thu, 31 Jul 2003 10:44:28 +0000 (10:44 +0000)]
check line ending behaviour

21 years ago2003-07-31 Pierre Humblet <pierre.humblet@ieee.org>
Max Bowsher [Wed, 30 Jul 2003 23:24:18 +0000 (23:24 +0000)]
2003-07-31  Pierre Humblet  <pierre.humblet@ieee.org>

* main.cc (set_default_sec): Set token owner from token user.
Always try to set the token primary group to Users or Admins.

21 years ago2003-07-30 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Igor Peshansky [Wed, 30 Jul 2003 23:10:35 +0000 (23:10 +0000)]
2003-07-30  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* String++.h (String::replace): New instance functions.
* String++.cc (String::replace): Implement.
* filemanip.cc (backslash): Change to use String::replace.
* desktop.cc (make_cygwin_bat): Escape '%' in path.

21 years ago2003-07-11 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Igor Peshansky [Wed, 30 Jul 2003 23:04:49 +0000 (23:04 +0000)]
2003-07-11  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* String++.h (TOSTRING): New macro.
* UserSettings.cc (UserSettings::deRegisterSetting): Fix
erroneous __LINE__/__FILE__ usage.
* download.cc (validateCachedPackage, check_for_cached): Ditto.
* geturl.cc (getUrlToStream): Ditto.
* install.cc (md5_one): Ditto.

21 years ago2003-07-30 Max Bowsher <maxb@ukf.net>
Max Bowsher [Wed, 30 Jul 2003 21:49:53 +0000 (21:49 +0000)]
2003-07-30  Max Bowsher  <maxb@ukf.net>

* ini.cc (do_ini_thread): Return bool.
(do_ini_thread_reflector): Put returned bool in lParam.
* threebar.cc (WM_APP_SETUP_INI_DOWNLOAD_COMPLETE): Rework for new
meaning of lParam. Replace erroneous use of do_fromcwd with
SetActivePageByID (IDD_SOURCE).

21 years agoRun d2u.
Max Bowsher [Wed, 30 Jul 2003 10:41:43 +0000 (10:41 +0000)]
Run d2u.

21 years agoWhitespace.
Max Bowsher [Wed, 30 Jul 2003 09:20:48 +0000 (09:20 +0000)]
Whitespace.

21 years ago2003-07-30 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Wed, 30 Jul 2003 09:04:27 +0000 (09:04 +0000)]
2003-07-30  Robert Collins  <rbtcollins@hotmail.com>

* ConnectionSetting.cc: New file, persist connection type selection.
* ConnectionSetting.h: Ditto.
* net.cc: Hold a ConnectionSetting instance to trigger the logic.
(NetPage::OnInit): Don't force net_method to any value.
* Makefile.am: Add new source files.

21 years ago2003-07-30 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Wed, 30 Jul 2003 08:44:51 +0000 (08:44 +0000)]
2003-07-30  Robert Collins  <rbtcollins@hotmail.com>

* SourceSetting.cc: New file, persist source selection.
* SourceSetting.h: Ditto.
* source.cc: Hold a Source setting instance to trigger the logic.
* Makefile.am: Add new source files.

21 years ago2003-07-30 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Wed, 30 Jul 2003 08:13:09 +0000 (08:13 +0000)]
2003-07-30  Robert Collins  <rbtcollins@hotmail.com>

* UserSettings.h (UserSettings::settingFileForLoad): Extracted method
from LocalDirSetting::load().
* UserSettings.cc (UserSettings::settingFileForLoad): Ditto.
* UserSettings.h (UserSettings::settingFileForSave): Extracted method
from LocalDirSetting::save().
* UserSettings.cc (UserSettings::settingFileForSave): Ditto.
* localdir.cc (LocalDirSetting::load): Extract location logic to
UserSettings.
(LocalDirSetting::save): Extract location logic to UserSettings.
* site.cc (SiteSetting::getSavedSites): Use
UserSettings::settingFileForLoad.
(SiteSetting::save): Use UserSettings::settingFileForSave.

21 years ago2003-07-30 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Wed, 30 Jul 2003 07:26:47 +0000 (07:26 +0000)]
2003-07-30  Robert Collins  <rbtcollins@hotmail.com>

* PickView.cc: Adjust ::GetClientRect(..) to the inherited one
throughout.

21 years agoIndentation.
Max Bowsher [Wed, 30 Jul 2003 00:04:56 +0000 (00:04 +0000)]
Indentation.

21 years ago2003-07-29 Max Bowsher <maxb@ukf.net>
Max Bowsher [Tue, 29 Jul 2003 14:14:06 +0000 (14:14 +0000)]
2003-07-29  Max Bowsher  <maxb@ukf.net>

Based on a patch by Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>.
* AntiVirus.cc (AntiVirusPage::wantsActivation): Define.
* AntiVirus.h (AntiVirusPage::wantsActivation): Declare.
* localdir.cc (LocalDirPage::OnBack): Remove logic subsumed by
RootPage::wantsActivation.
* proppage.cc (PropertyPage::DialogProc): Call wantsActivation(),
and skip to next page in sequence if activation is refused.
* proppage.h (PropertyPage::wantsActivation): Default implementation.
* root.cc (RootPage::wantsActivation): Define.
* root.h (RootPage::wantsActivation): Declare.
* source.cc: Don't include "AntiVirus.h".
(SourcePage::OnNext): Remove logic subsumed by
RootPage::wantsActivation.
(SourcePage::OnBack): Remove logic subsumed by
AntiVirusPage::wantsActivation.
* splash.cc: Don't include "AntiVirus.h" or "dialog.h".
(SplashPage::OnNext): Remove - subsumed by
AntiVirusPage::wantsActivation.
* splash.h (SplashPage::OnNext): Remove declaration.

21 years ago2003-07-29 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Tue, 29 Jul 2003 10:48:31 +0000 (10:48 +0000)]
2003-07-29  Robert Collins  <rbtcollins@hotmail.com>

* PickView.h (PickView::refresh): New method.
* PickView.cc (PickView::refresh): Extracted from various
ChooserPage callers.
* choose.cc: Use PickView::refresh wherever possible.

21 years ago2003-07-29 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Tue, 29 Jul 2003 10:41:13 +0000 (10:41 +0000)]
2003-07-29  Robert Collins  <rbtcollins@hotmail.com>

* choose.h (ChooserPage::createListView): Remove last parameter.
(ChooserPage::getDefaultListViewSize): Extracted method.
* choose.cc (ChooserPage::createListView): Remove last parameter.
(ChooserPage::getDefaultListViewSize): Extracted method.

21 years ago2003-07-29 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Tue, 29 Jul 2003 10:34:50 +0000 (10:34 +0000)]
2003-07-29  Robert Collins  <rbtcollins@hotmail.com>

* choose.cc (ChooserPage::createListView): Remove unneeded
parameter.
* choose.h: Ditto.

21 years ago2003-07-29 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Tue, 29 Jul 2003 10:07:22 +0000 (10:07 +0000)]
2003-07-29  Robert Collins  <rbtcollins@hotmail.com>

* package_db.h (packagedb::fillMissingCategory): Move from ChooserPage.
* choose.h (ChooserPage::fillMissingCategory): Delete.
* package_db.cc (packagedb::fillMissingCategory): Move from ChooserPage.
* choose.cc (ChooserPage::fillMissingCategory): Delete and adjust
callers.

21 years ago2003-07-29 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
Max Bowsher [Tue, 29 Jul 2003 09:54:13 +0000 (09:54 +0000)]
2003-07-29  Gary R. Van Sickle  <g.r.vansickle@worldnet.att.net>

* dialog.h (do_fromcwd): Change function declaration.
* fromcwd.cc (do_fromcwd): Change return type to bool.  Eliminate
use of next_dialog, return true or false instead.
* localdir.cc (LocalDirPage::OnNext): Use do_fromcwd()'s return
value instead of next_dialog.

21 years ago2003-07-29 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Tue, 29 Jul 2003 09:41:26 +0000 (09:41 +0000)]
2003-07-29  Robert Collins  <rbtcollins@hotmail.com>

* PickView.h (CATEGORY_EXPANDED): Move from choose.h
(CATEGORY_COLLAPSED): Move from choose.cc.
(PickView::setViewMode): Move from ChooserPage.
* choose.h (CATEGORY_EXPANDED): Delete.
(CATEGORY_COLLAPSED): Delete.
(ChooserPage::setViewMode): Delete.
* PickView.cc (PickView::setViewMode): Move from ChooserPage.
* chooser.cc (ChooserPage::setViewMode): Delete, and adjust callers
throughout.

21 years ago2003-07-28 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
Max Bowsher [Mon, 28 Jul 2003 17:47:00 +0000 (17:47 +0000)]
2003-07-28  Gary R. Van Sickle  <g.r.vansickle@worldnet.att.net>

* AntiVirus.cc (AntiVirusPage::OnNext): Do not explicitly specify the
page to display next, since it follows in the default page ordering
anyway.

21 years ago2003-07-28 Max Bowsher <maxb@ukf.net>
Max Bowsher [Mon, 28 Jul 2003 09:55:19 +0000 (09:55 +0000)]
2003-07-28  Max Bowsher  <maxb@ukf.net>

* dialog.h: (NEXT): Remove obsolete macro.
* site.cc (save_dialog): Remove use of NEXT(), and non-functional
unnecessary error handler.

21 years ago2003-07-28 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Mon, 28 Jul 2003 08:32:07 +0000 (08:32 +0000)]
2003-07-28  Robert Collins  <rbtcollins@hotmail.com>

* package_meta.h (packagemeta::addToCategoryAll): Declare.
* package_meta.cc (packagemeta::addToCategoryAll): New method,
separated to allow clear iteration.
* choose.cc (ChooserPage::fillMissingCategory): BUGFIX: "all" is
meant to be added unconditionally.

21 years agoRun d2u on choose.cc - strip ^Ms accidentally introduced in 2.123
Max Bowsher [Sun, 27 Jul 2003 13:55:08 +0000 (13:55 +0000)]
Run d2u on choose.cc - strip ^Ms accidentally introduced in 2.123

21 years ago2003-07-27 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 27 Jul 2003 13:18:01 +0000 (13:18 +0000)]
2003-07-27  Robert Collins  <rbtcollins@hotmail.com>

        * Generic.h: New file, home for generic programming tools.
        (visit_if): Move here from package_meta.cc.
        Adjust to be fully parameterised.
        * package_meta.h (packagemeta::hasNoCategories): Query for generic
        programming.
        (packagemeta::setDefaultCategories): set categories for packages
        with none.
        * package_meta.cc: Move visit_if out. Adjust users for
        full paramterised operation.
        (packagemeta::hasNoCategories): Implement.
        (packagemeta::setDefaultCategories): Implement.
        * choose.cc (ChooserPage::fillMissingCategory): Use visit_if to
        reduce duplicate code.
        (ChooserPage::setExistence): Delete.
        * choose.h (ChooserPage::setExistence): Rename to
        packagedb::setExistence.
        * package_db.h (packagedb::setExistence): Declare.
        * package_db.cc (packagedb::setExistence): Copy from choose.cc

21 years ago2003-07-27 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 27 Jul 2003 10:29:53 +0000 (10:29 +0000)]
2003-07-27  Robert Collins  <rbtcollins@hotmail.com>

        * localdir.h (LocalDirPage::OnInit): Remove.
        * localdir.cc (LocalDirPage::OnInit): Move to LocalDirSetting
        ::load().
        (LocalDirSetting::load): Copied from LocalDirPage::OnInit.
        * site.h (SitePage::OnInit): Remove.
        (SitePage::getSavedSites): New member, replaces get_saved_sites.
        (SitePage::registerSavedSite): New member, replaces
        register_saved_site.
        * site.cc (SitePage::OnInit): Move to SiteSetting::load().
        (SiteSetting::load): Copied from SitePage::OnInit.
        (SitePage::getSavedSites): Renamed from get_saved_sites.
        (SitePage::registerSavedSite): Renamed from register_saved_site.
        (do_download_site_info_thread): Don't look at the list size for
        determining if the download was successful.

21 years ago2003-07-27 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 27 Jul 2003 10:13:11 +0000 (10:13 +0000)]
2003-07-27  Robert Collins  <rbtcollins@hotmail.com>

        * choose.h (ChooserPage::setViewMode): Remove HWND from
        signature.
        (ChooserPage::defaultTrust): Ditto.
        Move to PickView.
        (ChooserPage::ifChecked): Use Window helper function
        IsButtonChecked.
        * choose.cc (ChooserPage::setViewMode): Use chooser->GetHWND()
        throughout.
        Update all callers with new signature.
        (ChooserPage::defaultTrust): Ditto.
        Move to PickView.
        * PickView.h (PickView::defaultTrust): Declare.
        * PickView.cc (PickView::defaultTrust): Copy from chooser.cc.

21 years ago2003-07-27 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 27 Jul 2003 09:52:02 +0000 (09:52 +0000)]
2003-07-27  Robert Collins  <rbtcollins@hotmail.com>

        * PickView.h (PickView::lv): Eliminate.
        * PickView.cc (PickView::init): Replace use of lv with
        GetHWND().
        (PickView::list_click): Ditto.
        * choose.h (ChooserPage::lv): Eliminate.
        * choose.cc: Replace lv with chooser->GetHWND()
        throughout.

21 years ago2003-07-27 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 27 Jul 2003 09:40:06 +0000 (09:40 +0000)]
2003-07-27  Robert Collins  <rbtcollins@hotmail.com>

* PickView.h (PickView::chooser): Eliminate.
(PickView::list_vscroll): Make non-static.
(PickView::list_hscroll): Ditto.
(PickView::list_click): Ditto.
(PickView::paint): Ditto.
* PickView.cc (PickView::list_vscroll): Eliminate use
of PickView::chooser.
(PickView::list_hscroll): Ditto.
(PickView::list_click): Ditto.
(PickView::paint): Ditto.
* choose.cc (Chooser::createListView): Eliminate use
of PickView::chooser.

21 years ago2003-07-27 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 27 Jul 2003 09:18:02 +0000 (09:18 +0000)]
2003-07-27  Robert Collins  <rbtcollins@hotmail.com>

* PickView.h (PickView): Inherit from Window.
(PickView::RegisterWindows): Move from ChooserPage.
(PickView::listview_proc): Likewise.
(PickView::paint): Ditto.
(PickView::list_click): Ditto.
(PickView::list_hscroll): Ditto.
(PickView::list_vscroll): Ditto.
(PickView::lv): Ditto.
(PickView::chooser): Ditto.
(PickView::Create): Override Windows::Create as we migrate.
(PickView::registerWindowClass): Renamed RegisterWindows.
(PickView::WindowClassAtom): Prevent double registration.
(PickView::init): Declare.
* PickView.cc: Adjust for new inheritance.
(PickView::RegisterWindows): Move from ChooserPage.
(PickView::listview_proc): Likewise.
(PickView::paint): Ditto.
(PickView::list_click): Ditto.
(PickView::list_hscroll): Ditto.
(PickView::list_vscroll): Ditto.
(PickView::lv): Ditto.
(PickView::chooser): Ditto.
(PickView::Create): Introduce stub.
(PickView::RegisterWindows): Rename
(PickView::init): Extracted from constructor to allow
reordering.
* chooser.h (ChooserPage::registerWindows): Rename to
PickView::RegisterWindows.
(ChooserPage::listview_proc): Likewise.
(ChooserPage::paint): Ditto.
(ChooserPage::list_click): Ditto.
(ChooserPage::list_hscroll): Ditto.
(ChooserPage::list_vscroll): Ditto.
(ChooserPage::lv): Duplicate into PickView, observe
as non-static.
(ChooserPage::chooser): Ditto.
* chooser.cc (ChooserPage::registerWindows): Delete.
(ChooserPage::listview_proc): Ditto.
(ChooserPage::paint): Ditto.
(ChooserPage::list_click): Ditto.
(ChooserPage::list_hscroll): Ditto.
(ChooserPage::list_vscroll): Ditto.
(ChooserPage::createListView): Create() on PickView.
* window.h (Window::RegisterWindowClass): Make virtual
to allow Create to become a Template Method, and rename
to registerWindowClass as it's not static.
* window.cc (Window::registerWindowClass): Ditto.
(Window::FirstWindowProcReflector): BUGFIX: Set window
handle to prevent races with the window procedure.

21 years ago2003-07-27 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 27 Jul 2003 01:48:02 +0000 (01:48 +0000)]
2003-07-27  Robert Collins  <rbtcollins@hotmail.com>

* choose.cc (set_view_mode): Rename to ChooserPage::setViewMode.
(default_trust): Rename to ChooserPage::defaultTrust.
(fill_missing_category): Rename to ChooserPage::fillMissingCategory.
(set_existence): Rename to ChooserPage::setExistence.
(register_windows): Rename to ChooserPage::registerWindows.
(listview_proc): Rename to ChooserPage::listview_proc.
(paint): Rename to ChooserPage::paint.
(list_click): Rename to ChooserPage::list_click.
(list_hscroll): Rename to ChooserPage::list_hscroll.
(list_vscroll): Rename to ChooserPage::list_vscroll.
(lv): Rename to ChooserPage::lv.
(chooser): Rename to ChooserPage::chooser.
* choose.h (ChooserPage::setViewMode): Declare.
(ChooserPage::defaultTrust): Declare.
(ChooserPage::fillMissingCategory): Declare.
(ChooserPage::setExistence): Declare.
(ChooserPage::registerWindows): Declare.
(ChooserPage::listview_proc): Declare.
(ChooserPage::paint): Declare.
(ChooserPage::list_click): Declare.
(ChooserPage::list_hscroll): Declare.
(ChooserPage::list_vscroll): Declare.
(ChooserPage::lv): Declare.
(ChooserPage::chooser): Declare.

21 years ago2003-07-27 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 27 Jul 2003 00:47:01 +0000 (00:47 +0000)]
2003-07-27  Robert Collins  <rbtcollins@hotmail.com>

        * choose.cc (create_listview): Use for_each instead of explicit                 iteration.
        (create_listview): Rename to ChooserPage::createListview.
        * package_meta.h (packagemeta::set_requirements): Explicitly separate           the 1 and 2 parameter versions.                                         CVS: ----------------------------------------------------------------------

21 years ago2003-07-26 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 27 Jul 2003 00:12:36 +0000 (00:12 +0000)]
2003-07-26  Robert Collins  <rbtcollins@hotmail.com>

* String++.h (String::operator !=): Declare for char * and String.
* String++.cc (String::operator !=): Implement.
* package_meta.cc(StringConcatenator): Move above all users.
(_visit_if): Predicate support for visitors.
(packagemeta::getReadableCategoryList): Refactor to use
StringConcatenator with a predicate.
* choose.h: Remove unneeded c++ guards.

21 years ago2003-07-26 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 26 Jul 2003 14:39:28 +0000 (14:39 +0000)]
2003-07-26  Robert Collins  <rbtcollins@hotmail.com>

* choose.cc (scan_downloaded_files): Rename to packagemeta::ScanDownloadedFiles.
(scanAVersion): Rename to packageversion::scan.
(GetParentRect): Rename to ChooserPage::getParentRect.
* choose.h (ChooserPage::getParentRect): Declare.
* package_meta.h (packagemeta::ScanDownloadedFiles): Declare.
* package_version.h (packageversion::scan): Declare.
* package_version.cc (packageversion::scan): Move from choose.cc
* package_meta.cc (packagemeta::ScanDownloadedFiles): Move from choose.cc

21 years ago2003-07-26 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 26 Jul 2003 13:35:21 +0000 (13:35 +0000)]
2003-07-26  Robert Collins  <rbtcollins@hotmail.com>

* choose.cc (ChooserPage::OnNext): log before starting activity threads.
(ChooserPage::OnInit): Remove temporary variable frame.
(ChooserPage::setPrompt): Extract method from OnInit.
(choose_inst_text): Remove unused variable.
* choose.h(ChooserPage::setPrompt): Declare
* res.rc (IDD_CHOOSE): Bugfix: the chooser was setting a non-present
caption.

21 years ago2003-07-26 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 26 Jul 2003 13:12:16 +0000 (13:12 +0000)]
2003-07-26  Robert Collins  <rbtcollins@hotmail.com>

Remove package specific code from choose.cc.
Update copyrights where appropriate.
* choose.cc(ChooserPage::OnNext): Extract logging to
packagemeta::logSelectionStatus.
* package_meta.cc(packagemeta::logSelectionStatus): Extract from
ChooserPage::OnNext.
(StringConcatenator): helper for logSelectionStatus.
(action_caption): Make const.
* package_meta.h(packagemeta): Declare logSelectionStatus.
(packagemeta::action_caption): Make const.
* package_version.cc(packageversion::sourcePackage): Make const.
* package_version.h(packageversion::sourcePackage): Make const.

21 years ago2003-07-26 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 26 Jul 2003 12:13:18 +0000 (12:13 +0000)]
2003-07-26  Robert Collins  <rbtcollins@hotmail.com>

* choose.cc: Update copyright.
(ChooserPage::keepClicked): Extracted from OnMessageCmd.
(ChooserPage::changeTrust): Ditto.
* choose.h (ChooserPage): Declare keepClicked and changeTrust.
(ChooserPage::ifChecked): Extracted from OnMessageCmd.
* package_meta.h (SetRequirement): Adapter for visiting package collections.

21 years ago2003-07-26 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sat, 26 Jul 2003 10:22:09 +0000 (10:22 +0000)]
2003-07-26  Max Bowsher  <maxb@ukf.net>

* tests/.cvsignore: New file, listing Makefile.in.

21 years ago2003-07-26 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 26 Jul 2003 09:16:51 +0000 (09:16 +0000)]
2003-07-26  Robert Collins  <rbtcollins@hotmail.com>

Save used local cache dir from initial run of setup, so the user doesn't
need to retype it.
* localdir.h (LocalDirSetting): UserSetting class for the local cache dir.
* localdir.cc (LocalDirSetting::save): Replace save_local_dir, and update callers.

21 years ago2003-07-26 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 26 Jul 2003 09:01:35 +0000 (09:01 +0000)]
2003-07-26  Robert Collins  <rbtcollins@hotmail.com>

Save used site from initial run of setup, so the user doesn't need to
retype it.
* main.cc (main): Load and save all user settings.
* site.cc (SiteSetting::save): Migrate logic from save_site_url.
(SitePage::OnNext): Use ChosenSites.save() to remove uneeded save_site_url call.
(save_site_url): Delete.
* site.h (save_site_url): Remove declaration.
* .cvsignore: Update autoconf generated files.

21 years ago2003-07-26 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 26 Jul 2003 07:08:44 +0000 (07:08 +0000)]
2003-07-26  Robert Collins  <rbtcollins@hotmail.com>

* tests/Makefile.am: Driver for test suite.
* tests/UserSettingTest.cc: Test UserSetting interface.
* tests/UserSettingsTest.cc: Test UserSettings interface.
* Makefile.am: Add the tests dir to recurse into.
* configure.in: Ditto.
* UserSetting.h: Add load and save methods to allow global serialisation.
Add explicit copy and assignment operators to prevent synthetics.
Make the constructor protected to prevent direct instantiation.
* UserSettings.h (UserSettings::loadAllSettings): New method.
(UserSettings::savedAllSettings): New method.
* UserSettings.cc: Implement new methods.
* site.cc: Implement stubs for new required UserSetting methods.
* site.h (ChosenSite): Ditto.
* Ran automake.

21 years ago2003-07-26 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 26 Jul 2003 07:08:43 +0000 (07:08 +0000)]
2003-07-26  Robert Collins  <rbtcollins@hotmail.com>

* tests/Makefile.am: Driver for test suite.
* tests/UserSettingTest.cc: Test UserSetting interface.
* tests/UserSettingsTest.cc: Test UserSettings interface.
* Makefile.am: Add the tests dir to recurse into.
* configure.in: Ditto.
* UserSetting.h: Add load and save methods to allow global serialisation.
Add explicit copy and assignment operators to prevent synthetics.
Make the constructor protected to prevent direct instantiation.
* UserSettings.h (UserSettings::loadAllSettings): New method.
(UserSettings::savedAllSettings): New method.
* UserSettings.cc: Implement new methods.
* site.cc: Implement stubs for new required UserSetting methods.
* site.h (ChosenSite): Ditto.
* Ran automake.

21 years ago2003-07-23 Max Bowsher <maxb@ukf.net>
Max Bowsher [Wed, 23 Jul 2003 22:32:08 +0000 (22:32 +0000)]
2003-07-23  Max Bowsher  <maxb@ukf.net>

* desktop.cc (DesktopSetupPage::OnBack): Remove obsolete use of NEXT().
* root.cc (RootPage::OnNext): Ditto.
(RootPage::OnBack): Ditto.
* install.cc (do_install_thread): Remove obsolete use of next_dialog.
* main.cc (main): Ditto.
* postinstall.cc (do_postinstall_thread): Ditto.

21 years ago2003-07-23 Max Bowsher <maxb@ukf.net>
Max Bowsher [Wed, 23 Jul 2003 22:28:30 +0000 (22:28 +0000)]
2003-07-23  Max Bowsher  <maxb@ukf.net>

* dialog.h (do_choose, do_desktop, do_local_dir, do_net, do_other)
(do_root, do_site, do_source, do_splash): Remove declarations, since
these functions no longer exist.

21 years ago2003-07-23 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
Max Bowsher [Wed, 23 Jul 2003 10:31:07 +0000 (10:31 +0000)]
2003-07-23  Gary R. Van Sickle  <g.r.vansickle@worldnet.att.net>

* choose.cc (initialized): Remove obsolete file scope variable.

21 years ago2003-07-18 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sat, 19 Jul 2003 09:29:54 +0000 (09:29 +0000)]
2003-07-18  Max Bowsher  <maxb@ukf.net>

* res.rc: Make caption of every dialog page begin with "Cygwin Setup".
This aids recognition when minimized.
Prompted by Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>.

21 years ago2003-07-10 Jeremy White <jwhite@codeweavers.com>
Max Bowsher [Fri, 11 Jul 2003 22:48:14 +0000 (22:48 +0000)]
2003-07-10  Jeremy White  <jwhite@codeweavers.com>

* mount.cc, root.cc, site.cc:  Make StringOptions required,
thereby making --longopt <parm> behave as a newbie would expect.

21 years ago2003-07-08 Max Bowsher <maxb@ukf.net>
Max Bowsher [Mon, 7 Jul 2003 23:19:49 +0000 (23:19 +0000)]
2003-07-08  Max Bowsher  <maxb@ukf.net>

* LogFile.h, cistring.h, dialog.h, diskfull.h, filemanip.h, geturl.h,
hash.h, log.h, mkdir.h, mklink2.h, mount.h, msg.h, netio.h, nio-file.h,
nio-ftp.h, nio-http.h, nio-ie5.h, port.h, simpsock.h, state.h,
version.h: Add inclusion guard.
* root.h: Standardize naming of inclusion guard.

21 years ago2003-06-23 Max Bowsher <maxb@ukf.net>
Max Bowsher [Mon, 23 Jun 2003 20:49:00 +0000 (20:49 +0000)]
2003-06-23  Max Bowsher  <maxb@ukf.net>

* AntiVirus.h, Exception.h, FilterVisitor.h, FindVisitor.h,
IOStreamProvider.h, IniDBBuilder.h, IniDBBuilderPackage.h,
IniParseFeedback.h, IniParseFindVisitor.h, LogSingleton.h, MD5++.h,
PackageSpecification.h, PackageTrust.h, PickCategoryLine.h, PickLine.h,
PickPackageLine.h, PickView.h, RECTWrapper.h, ScanFindVisitor.h,
String++.h, UserSetting.h, UserSettings.h, archive.h, archive_tar.h,
category.h, choose.h, compress.h, compress_bz.h, compress_gz.h,
cygpackage.h, desktop.h, download.h, find.h, ini.h, io_stream.h,
io_stream_cygfile.h, io_stream_file.h, io_stream_memory.h,
io_stream_rsync.h, localdir.h, net.h, package_db.h, package_meta.h,
package_source.h, package_version.h, proppage.h, propsheet.h, script.h,
site.h, source.h, splash.h, threebar.h, win32.h, window.h:
Standardize naming and placement of inclusion guards.

21 years ago2003-06-22 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
Max Bowsher [Sun, 22 Jun 2003 22:01:26 +0000 (22:01 +0000)]
2003-06-22  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>

* res.rc (all dialogs): Change font from "MS Sans Serif" to
"MS Shell Dlg".

21 years ago2003-06-22 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sun, 22 Jun 2003 21:30:54 +0000 (21:30 +0000)]
2003-06-22  Max Bowsher  <maxb@ukf.net>

* Makefile.am: Clarify comment.
Derive AM_CFLAGS from AM_CXXFLAGS, rather than the other way around.
(AM_CXXFLAGS): Remove -Wmissing-declarations - it is a C-only warning.
(AM_CFLAGS): Add -Winline, and -Wmissing-declarations.

21 years ago2003-06-22 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sun, 22 Jun 2003 21:06:10 +0000 (21:06 +0000)]
2003-06-22  Max Bowsher  <maxb@ukf.net>

* rfc1738.cc (rfc1738_do_escape): Eliminate redundant conditional.

21 years ago2003-06-05 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
Max Bowsher [Thu, 5 Jun 2003 15:35:51 +0000 (15:35 +0000)]
2003-06-05  Gary R. Van Sickle  <g.r.vansickle@worldnet.att.net>

* window.h (SETUP_WINDOW_H): Rename multi-include guard.
(Copyright): Update.
(RECTWrapper): New forward declaration.
(Window::Create): Move.
(Window::MoveWindow): New overload declaration.
* window.cc: (RECTWrapper.h) Include.
(Copyright): Update.
(Window::FirstWindowProcReflector): Use reinterpret_cast<> instead
of C-style casts.
(Window::MoveWindow): New overload.

21 years ago2003-05-31 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sat, 31 May 2003 09:20:41 +0000 (09:20 +0000)]
2003-05-31  Max Bowsher  <maxb@ukf.net>

* res.rc: Resize title controls to fully fill available width.

21 years ago2003-05-07 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
Max Bowsher [Wed, 7 May 2003 18:36:49 +0000 (18:36 +0000)]
2003-05-07  Gary R. Van Sickle  <g.r.vansickle@worldnet.att.net>

* RECTWrapper.h: New file.

21 years agoupdate readme
Robert Collins [Tue, 22 Apr 2003 04:32:05 +0000 (04:32 +0000)]
update readme

21 years agoNew bug in TODO:
Max Bowsher [Thu, 17 Apr 2003 08:41:41 +0000 (08:41 +0000)]
New bug in TODO:

 * Audit rfc1738 code for bad memory/string handling. Example: Crash occurs if
   rfc1738 encoded dirname is truncated in the middle of a %xx sequence.

21 years ago2003-04-12 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 12 Apr 2003 13:35:03 +0000 (13:35 +0000)]
2003-04-12  Robert Collins  <rbtcollins@hotmail.com>

* script.cc (Script::extension): Extract method from Script::run.
(Script::run): Extract extension generation to Script::extension.
* script.h (Script::extension): Declare.

21 years ago2003-04-12 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 12 Apr 2003 13:24:03 +0000 (13:24 +0000)]
2003-04-12  Robert Collins  <rbtcollins@hotmail.com>

* script.cc (run_script): Remove.
(try_run_script): Inline method run_script.
* script.h (run_script): Remove.

21 years ago2003-04-12 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 12 Apr 2003 13:18:53 +0000 (13:18 +0000)]
2003-04-12  Robert Collins  <rbtcollins@hotmail.com>

* postinstall.cc (RunScript::operator()): Use new run syntax.
* script.h (Script::run): Eliminate to_log parameter.
* script.cc (Script::run): Ditto.
(run_script): Use new run syntax.

21 years ago2003-04-12 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 12 Apr 2003 13:13:59 +0000 (13:13 +0000)]
2003-04-12  Robert Collins  <rbtcollins@hotmail.com>

* script.cc (Script::run): Eliminate temp variable 'f2'.
Rename temp variable 'f2' to 'windowsName' for increased clarity.

21 years ago2003-04-12 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 12 Apr 2003 13:10:12 +0000 (13:10 +0000)]
2003-04-12  Robert Collins  <rbtcollins@hotmail.com>

* script.cc (Script::run): Eliminate temp variable 'fname'.

21 years ago2003-04-12 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 12 Apr 2003 13:08:03 +0000 (13:08 +0000)]
2003-04-12  Robert Collins  <rbtcollins@hotmail.com>

* script.cc (Script::run): Eliminate temp variable 'dir'.

21 years ago2003-04-12 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 12 Apr 2003 13:05:58 +0000 (13:05 +0000)]
2003-04-12  Robert Collins  <rbtcollins@hotmail.com>

* script.cc (run_script): Always pass TRUE to Script::run.
* script.h (run_script): Remove optional to_log parameter.

21 years ago2003-04-12 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 12 Apr 2003 12:59:37 +0000 (12:59 +0000)]
2003-04-12  Robert Collins  <rbtcollins@hotmail.com>

* script.cc (run_script): Move functionality into Script.
(Script::run): Absorb run_script.

21 years ago2003-04-12 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 12 Apr 2003 00:39:37 +0000 (00:39 +0000)]
2003-04-12  Robert Collins  <rbtcollins@hotmail.com>

* PickCategoryLine.cc (PickCategoryLine::click): Tell packagemeta we
are about to perform a visit.
* PickPackageLine.cc (PickPackageLine::click): Tell packagemeta we
are about to perform a visit.
* package_db.cc (packagedb::markUnVisited): Convenience wrapper -
mark all packages as unvisited.
* package_db.h (packagedb::markUnVisited): Declare.
* package_meta.cc (packagemeta::PrepareForVisit): New static method
to prepare for a loop-free visit.
(packagemeta::packagemeta): Adjust for new member.
(packagemeta::set_requirements): Only visit a node once.
(packagemeta::visited): Get and Set methods for new member visited_.
* package_meta.h (packagemeta::PrepareForVisit): Declare.
(packagemeta::visited): Declare.
(packagemeta::visited_): Declare.

21 years ago2003-04-07 Max Bowsher <maxb@ukf.net>
Max Bowsher [Mon, 7 Apr 2003 12:46:55 +0000 (12:46 +0000)]
2003-04-07  Max Bowsher  <maxb@ukf.net>

* download.cc: Add command line option to suppress MD5 checks.
(validateCachedPackage): Test option and possibly skip.

21 years agoadd bug
Robert Collins [Fri, 4 Apr 2003 09:51:18 +0000 (09:51 +0000)]
add bug

21 years ago2003-04-02 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Wed, 2 Apr 2003 14:26:27 +0000 (14:26 +0000)]
2003-04-02  Robert Collins  <rbtcollins@hotmail.com>

Merge in setup-200303-troubleshooting fixes.

2003-04-02  Robert Collins  <rbtcollins@hotmail.com>

* main.cc (NTSecurity::setDefaultDACL): Reinstate commented code.
(NTSecurity::setDefaultSecurity): Ditto.

2003-04-02  Robert Collins  <rbtcollins@hotmail.com>

* main.cc (NTSecurity::setDefaultDACL): Use MS calculations for ACL
buffer sizing.

2003-04-02  Robert Collins  <rbtcollins@hotmail.com>

* main.cc (NTSecurity::setDefaultDACL): Sanity check memory allocation.

2003-04-02  Robert Collins  <rbtcollins@hotmail.com>

* main.cc (NTSecurity::setDefaultDACL): Adjust commented code for auto_ptr use.

2003-04-02  Robert Collins  <rbtcollins@hotmail.com>

* main.cc (NTSecurity::NoteFailedAPI): Helper function.
Use throughout NTSecurity routines.
(NTSecurity::setDefaultDACL): Use dynamic memory for ACL storage.

2003-04-02  Robert Collins  <rbtcollins@hotmail.com>

* main.cc (NTSecurity::setDefaultDACL): Disable ~ 50% of remaining active code.

2003-04-02  Robert Collins  <rbtcollins@hotmail.com>

* main.cc (NTSecurity::GroupInfo): Extract group query code.
(NTSecurity::setDefaultDACL): Disable ~ 50% of code.

2003-04-02  Robert Collins  <rbtcollins@hotmail.com>

* main.cc (NTSecurity::setDefaultSecurity): Disable ~ 50% of security code.

2003-04-01  Robert Collins  <rbtcollins@hotmail.com>

* main.cc (NTSecurity::setDefaultSecurity): Remove double declaration of sz.
User TokenGroupCollection to abstract token searching logic, eliminate isadmin
and isuser temporary variables.
(TokenGroupCollection): New class for querying token group information.

2003-04-01  Robert Collins  <rbtcollins@hotmail.com>

* main.cc (NTSecurity::setDefaultSecurity): Extract esid initialisation.
Move local variables to just before first use.
SetTokenInformationFailures where being handled inconsistently.
Remove assignments from if statements.
(NTSecurity::esid): Rename to everyOneSID.
(NTSecurity::initialiseEveryOneSID): new method.
(NTSecurity::setDefaultDACL): Extract method for default DACL logic.

2003-04-01  Robert Collins  <rbtcollins@hotmail.com>

* main.cc (SIDWrapper): Manage SID memory.
(HANDLEWrapper): Likewise for HANDLES.
(NTSecurity): Worker class for set_default_sec().
(set_default_sec): Move body into NTSecurity::setDefaultSecurity().
(NTSecurity::setDefaultSecurity): Eliminate goto out: via memory managing objects.

21 years ago2003-04-01 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
Max Bowsher [Tue, 1 Apr 2003 14:57:00 +0000 (14:57 +0000)]
2003-04-01  Gary R. Van Sickle  <g.r.vansickle@worldnet.att.net>

* cygwin.ico:  Added two new resolutions, 64x64 and 72x72.

21 years ago2003-03-29 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 29 Mar 2003 10:15:57 +0000 (10:15 +0000)]
2003-03-29  Robert Collins  <rbtcollins@hotmail.com>

* GUIDELINES: New file documenting code guidelines.

21 years ago2003-03-26 Max Bowsher <maxb@ukf.net>
Max Bowsher [Wed, 26 Mar 2003 19:23:18 +0000 (19:23 +0000)]
2003-03-26  Max Bowsher  <maxb@ukf.net>

* .cvsignore: Add cfgaux.

21 years ago2003-03-26 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Wed, 26 Mar 2003 10:02:04 +0000 (10:02 +0000)]
2003-03-26  Robert Collins  <rbtcollins@hotmail.com>

* package_version.cc (_defaultversion::accessible): Override and make always false.
(_packageversion::accessible): Fix a couple of logic bugs resulting in incorrect trues.
* package_version.h (_packageversion::accessible): Make virtual.

21 years ago2003-03-25 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Max Bowsher [Tue, 25 Mar 2003 20:57:13 +0000 (20:57 +0000)]
2003-03-25  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* threebar.h (WM_APP_START_POSTINSTALL): New message.
(WM_APP_POSTINSTALL_THREAD_COMPLETE): New message.
* threebar.cc (ThreeBarProgressPage::OnMessageApp):
Add handling for WM_APP_START_POSTINSTALL and
WM_APP_POSTINSTALL_THREAD_COMPLETE.
* install.cc (do_install_thread): Set next_dialog to
IDD_S_POSTINSTALL.
* desktop.cc (DesktopSetupPage::OnFinish): Move the
do_postinstall call to ThreeBarProgressPage::OnMessageApp.
* script.h (Script::fullName): New member function.
(Script::run): New member function.
(Script::ETCPostinstall): New static member constant.
* script.cc (Script::fullName): Implement.
(Script::run): Implement.
(Script::ETCPostinstall): Define.
(Script::isAScript): Use ETCPostinstall instead of a
hardcoded string constant.
(run): Enable "#if 0"'d code.
* postinstall.cc (Progress): New extern variable.
(RunFindVisitor::visitFile): Add script to vector
instead of running.
(RunFindVisitor::_scripts): New member variable.
(RunScript): New helper class for use in for_each.
(do_postinstall_thread): Rename do_postinstall to.  Add
Progress bar and text setting.  Add package count.
(do_postinstall_reflector): New static function.
(do_postinstall): Rename to do_postinstall_thread.
Create a thread instead.

21 years ago2003-03-18 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Max Bowsher [Thu, 20 Mar 2003 10:02:51 +0000 (10:02 +0000)]
2003-03-18  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* script.cc (run): Add file_out parameter.
Redirect output of subprocess to file, creating the
path if necessary.  Minimize the script window.
(run_script): Add optional to_log boolean parameter.
If to_log, redirect output to temporary file and then
import it into LOG_BABBLE.
(OutputLog): New helper class.
(operator<<): New operation on OutputLog.
* script.h (run_script): Add optional to_log parameter.
* postinstall.cc (RunFindVisitor::visitFile): Instruct
run_script() to log script output.
(do_postinstall): Ditto.

21 years ago2003-03-20 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Thu, 20 Mar 2003 00:27:33 +0000 (00:27 +0000)]
2003-03-20  Robert Collins  <rbtcollins@hotmail.com>

* package_meta.cc (packagemeta::set_action): The logic
test for the default action was reversed.

21 years ago2003-03-19 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Wed, 19 Mar 2003 00:14:46 +0000 (00:14 +0000)]
2003-03-19 Robert Collins  <rbtcollins@hotmail.com>

* configure.in: Bump version number.
* Makefile.am: Add DefaultFormatter.h to installed files.
* src/OptionSet.cc (OptionSet::ParameterUsage): Use new
default DefaultFormatter to format parameters.
* include/getopt++/OptionSet.h: Update copyright.
* include/getopt++/DefaultFormatter.h: Format the help from an Option.
* tests/testoption.cc: Include a -h|--help option to test help
formatting.
Insert copyright statement.
* tests/optioniterator.cc: Insert copyright statement.

21 years agoRemove spurious duplicate files. (Spurios duplicate directories emptied: cvs upd...
Max Bowsher [Tue, 18 Mar 2003 22:53:03 +0000 (22:53 +0000)]
Remove spurious duplicate files. (Spurios duplicate directories emptied: cvs upd -P advised.)

21 years ago2003-03-18 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Max Bowsher [Tue, 18 Mar 2003 22:43:15 +0000 (22:43 +0000)]
2003-03-18  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* postinstall.cc (do_postinstall): Filter out '*.done'.
* FilterVisitor.h: New header file.  Declare the
FilterVisitor, Filter, and ExcludeNameFilter classes.
* FilterVisitor.cc: New file.  Implement FilterVisitor,
Filter, and ExcludeNameFilter.
* String++.h (String::matches): New instance function.
* String++.cc (String::matches): Implement.
(strmatch) Import and adapt for <buf,len> strings.
* Makefile.am (setup_SOURCES): Add FilterVisitor.cc and
FilterVisitor.h to value.

21 years ago2002-03-18 Max Bowsher <maxb@ukf.net>
Max Bowsher [Tue, 18 Mar 2003 14:53:09 +0000 (14:53 +0000)]
2002-03-18  Max Bowsher  <maxb@ukf.net>

* LogFile.cc (LogFile::exit): Use CRT exit() instead of ExitProcess().
Use passed exit_code even if been_here.
Remove incorrect _CYGWIN_ preprocessor conditional.

21 years ago2003-03-18 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Tue, 18 Mar 2003 10:24:14 +0000 (10:24 +0000)]
2003-03-18  Robert Collins  <rbtcollins@hotmail.com>

* include/getopt++/OptionSet.h (OptionSet): Convert to use a vector.
* src/OptionSet.cc: Convert array to vector use throughout.
(OptionSet::optionsInSet): Implement external access to the available
options.

21 years agointroduce some linefeeds
Robert Collins [Mon, 17 Mar 2003 23:23:03 +0000 (23:23 +0000)]
introduce some linefeeds

21 years ago2003-03-16 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Mon, 17 Mar 2003 22:23:33 +0000 (22:23 +0000)]
2003-03-16  Robert Collins  <rbtcollins@hotmail.com>

* package_db.h (PackageDBConnectedIterator): Typedef for connected loop detection collection iterator.
* package_db.cc (ConnectedLoopDetector): An implementation of R.E. Tarjans strongly connected set visitor algorithm.
* postinstall.cc (do_postinstall): Use the new iterator for visiting postinstall scripts.

2003-03-16  Robert Collins  <rbtcollins@hotmail.com>

* install.cc: Introduce Installer class.
(init_dialog): Rename to Installer::initDialog.
(progress): Rename to Installer::progress.
(standard_dirs): Rename to Installer::StandardDirs.
(uninstall_one): Rename to Installer::uninstallOne.
(replace_one): Rename to Installer::replaceOne.
(log_ror_failure): Rename to Installer::replaceOnRebootFailed.
(log_ror_success): Rename to Installer::replaceOnRebootSucceeded.
(install_one_source): Rename to Installer::installOneSource.
Note script files as they are installed.
* package_version.cc (packageversion::addScript): Implement.
(packageversion::scripts): Implement.
* package_version.h (packageversion::addScript): Record the presence of a script.
* script.h (Script): New class to track scripts.
* postinstall.cc (do_postinstall): Iterate through the package listed scripts before searching for scripts.
* String++.cc (String::substr): Second argument needed to be signed.
* String++.h (String::substr): Second argument needed to be signed.

21 years ago2003-03-16 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sun, 16 Mar 2003 09:31:26 +0000 (09:31 +0000)]
2003-03-16  Max Bowsher  <maxb@ukf.net>

* .cvsignore: Create, to ignore configure, aclocal.m4, Makefile.in and
autom4te.cache.

21 years ago2003-03-16 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sun, 16 Mar 2003 02:06:05 +0000 (02:06 +0000)]
2003-03-16  Max Bowsher  <maxb@ukf.net>

* UserSettings.cc (UserSettings::Instance): Remove premature return.

21 years ago2003-03-15 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 15 Mar 2003 22:14:40 +0000 (22:14 +0000)]
2003-03-15  Robert Collins  <rbtcollins@hotmail.com>

* script.cc (run): Rename variable b to createSucceeded.

2003-03-15  Igor Pechtchanski <pechtcha@cs.nyu.edu>

* script.cc (run): Close unneeded handles.

21 years ago2003-03-15 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 15 Mar 2003 12:18:44 +0000 (12:18 +0000)]
2003-03-15  Robert Collins  <rbtcollins@hotmail.com>

* configure: Remove.
* aclocal.m4: Remove.
* Makefile.in: Remove.
* cfgaux: Remove.
* cfgaux/compile: Remove.
* cfgaux/config.guess: Remove.
* cfgaux/config.sub: Remove.
* cfgaux/depcomp: Remove.
* cfgaux/install-sh: Remove.
* cfgaux/ltmain.sh: Remove.
* cfgaux/missing: Remove.
* cfgaux/mkinstalldirs: Remove.

21 years agoMove verified-complete release blockers to the completed section.
Max Bowsher [Sat, 15 Mar 2003 12:07:01 +0000 (12:07 +0000)]
Move verified-complete release blockers to the completed section.

21 years ago2003-03-14 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Max Bowsher [Fri, 14 Mar 2003 09:54:35 +0000 (09:54 +0000)]
2003-03-14  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* install.cc (replace_one): Clear Text3.

This page took 0.073748 seconds and 5 git commands to generate.