]> cygwin.com Git - cygwin-apps/setup.git/blobdiff - ChangeLog
2007-02-17 Cesar Strauss <cstrauss@cea.inpe.br>
[cygwin-apps/setup.git] / ChangeLog
index 8b86d87c31bdd008a9214cce5a306c8cfa92a76f..6f19e35f4a26a009b250a78ea65b9229324423e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,397 @@
+2007-02-17  Cesar Strauss  <cstrauss@cea.inpe.br>
+
+        * IniDBBuilderPackage.cc (IniDBBuilderPackage::buildPackageSource):
+        Initialize the version and operator fields of the newly created
+        PackageSpecification object, so setup can pick the correct source
+        version later on.
+
+2007-02-17  Brian Dessent  <brian@dessent.net>
+
+       * script.cc (Script::run): Check for existance of script file and
+       return without doing anything if it does not exist.
+
+2006-12-26  Max Bowsher  <maxb1@ukf.net>
+
+       * IniDBBuilder.h (IniDBBuilder): Make this class abstract.
+       * IniDBBuilder.cc: Delete file.
+       * Makefile.am (inilint_SOURCES, setup_SOURCES): Remove IniDBBuilder.cc.
+
+2006-12-26  Max Bowsher  <maxb1@ukf.net>
+
+       Add a shell script that documents/centralizes the standard configure
+       command line.
+
+       * doconfigure: New file.
+       * Makefile.am (EXTRA_DIST): Add doconfigure.
+
+2006-11-28  Igor Peshansky  <pechtcha@cs.nyu.edu>
+
+       * install.cc (Installer::installOne): If file is in use, ask the user
+       to stop processes and retry.
+       (MB_RETRYCONTINUE, IDCONTINUE): New macros.
+       (hMsgBoxHook): New static field.
+       (CBTProc): New window hook function.
+       (_custom_MessageBox): New function.
+       * CHANGES: Update with the above.
+
+2006-10-12  Igor Peshansky  <pechtcha@cs.nyu.edu>
+
+       * desktop.cc (make_cygwin_bat,save_icon): Capitalize filename.
+
+2006-08-06  Igor Peshansky  <pechtcha@cs.nyu.edu>
+
+       * package_version.cc (packageversion::scan): Catch and handle
+       validation exception.
+
+2006-08-06  Igor Peshansky  <pechtcha@cs.nyu.edu>
+
+       * cygpackage.h (filesize): Remove unused field.
+       (cygpackage::createInstance): Ditto.
+       * cygpackage.cc (cygpackage::createInstance): Ditto.
+       * package_db.cc (packagedb::packagedb): Remove unused variables.
+       Simplify parsing of installed.db.
+
+2006-08-06  Igor Peshansky  <pechtcha@cs.nyu.edu>
+
+       * desktop.cc (DesktopSetupPage::OnInit): Remove stray MessageBox.
+
+2006-05-24  Igor Peshansky  <pechtcha@cs.nyu.edu>
+
+       * PickPackageLine.h (PickPackageLine::DrawIcon): Move to PickView.
+       * PickView.h (PickView::DrawIcon): Move from PickPackageLine.
+       (PickView::icon_dc,PickView::bm_icon): New instance field.
+       (PickView::rect_icon,PickView::bg_fg_brush): Ditto.
+       * PickCategoryLine.cc (PickCategoryLine::paint): Use
+       PickView::DrawIcon() instead of BitBlt().
+       * PickPackageLine.cc (PickPackageLine::DrawIcon): Move to PickView.
+       (PickPackageLine::paint): Use PickView::DrawIcon().
+       * PickView.cc (PickView::~PickView): Delete GDI objects.
+       (PickView::init): Create icon drawing context.
+       (PickView::DrawIcon): New function.  Use system default colors to
+       draw bitmaps.
+       (PickView::paint): Set background color instead of using transparent
+       mode.  Create system-colored brush.
+
+2006-04-25  Brian Dessent  <brian@dessent.net>
+
+       * COPYING: New file (GPL).
+       * Makfile.am (EXTRA_DIST): Add COPYING.
+
+2006-04-17  Max Bowsher  <maxb1@ukf.net>
+
+       * String++.cc, String++.h: Finally, it's time for the long-awaited
+       departure of 'class String' from this world. setup.exe can now
+       happily claim to follow the sane path of using just one general
+       purpose string class throughout :-)
+       
+2006-04-17  Max Bowsher  <maxb1@ukf.net>
+
+       * cygpackage.cc, cygpackage.h, package_version.cc, package_version.h:
+       Do some String to std::string migration.
+
+2006-04-17  Max Bowsher  <maxb1@ukf.net>
+
+       * package_meta.cc, package_meta.h, package_source.cc,
+       package_source.h: Do some String to std::string migration.
+       * package_db.cc: Small tweak to assist with the above.
+
+2006-04-17  Max Bowsher  <maxb1@ukf.net>
+
+       * PickView.cc, PickView.h, package_db.cc, package_db.h:
+       Do some String to std::string migration.
+       * package_meta.h: Change a couple of types to assist with the above.
+
+2006-04-17  Max Bowsher  <maxb1@ukf.net>
+
+       * IniDBBuilder.cc, IniDBBuilder.h, IniDBBuilderPackage.cc,
+       IniDBBuilderPackage.h, PickLine.h, PickPackageLine.cc:
+       Do some String to std::string migration.
+
+2006-04-16  Max Bowsher  <maxb1@ukf.net>
+
+       * FindVisitor.cc, FindVisitor.h, IniParseFindVisitor.cc,
+       IniParseFindVisitor.h, ScanFindVisitor.cc, ScanFindVisitor.h, find.cc,
+       find.h, fromcwd.cc, ini.cc, ini.h, iniparse.y, postinstall.cc:
+       Do some String to std::string migration.
+
+2006-04-16  Max Bowsher  <maxb1@ukf.net>
+
+       * IOStreamProvider.h, archive.cc, archive.h, archive_tar.cc,
+       archive_tar.h, io_stream.cc, io_stream.h, io_stream_cygfile.cc,
+       io_stream_cygfile.h, io_stream_file.cc, io_stream_file.h:
+       Do some String to std::string migration.
+
+2006-04-16  Max Bowsher  <maxb1@ukf.net>
+
+       * desktop.cc, download.cc, install.cc, mount.cc, mount.h, script.cc,
+       script.h: Do some String to std::string migration.
+
+2006-04-16  Max Bowsher  <maxb1@ukf.net>
+
+       * category.cc: Remove source file that contained no code!
+       * category.h: Delete, moving the single useful line to...
+       * package_meta.h: ...here. Remove category.h include.
+       * choose.cc, package_db.h, package_meta.cc: Remove category.h include.
+       * Makefile.am: Remove references to removed files.
+
+2006-04-15  Max Bowsher  <maxb1@ukf.net>
+
+       * ConnectionSetting.cc, ConnectionSetting.h, Exception.cc,
+       Exception.h, IniParseFeedback.cc, IniParseFeedback.h, LogFile.cc,
+       LogFile.h, LogSingleton.h, PackageSpecification.cc,
+       PackageSpecification.h, SourceSetting.cc, SourceSetting.h,
+       UserSettings.cc, UserSettings.h, dialog.cc, dialog.h, diskfull.cc,
+       diskfull.h, filemanip.cc, filemanip.h, inilintmain.cc, localdir.cc,
+       main.cc, nio-file.cc, nio-http.cc, prereq.cc, prereq.h, proppage.cc,
+       proppage.h, site.cc, site.h, splash.cc, state.cc, state.h, window.cc,
+       window.h: Do some String to std::string migration.
+
+2006-04-15  Max Bowsher  <maxb1@ukf.net>
+
+       * String++.cc, String++.h
+       (new_cstr_char_array, format_1000s): Migrate String to std::string.
+       (casecompare_lt_op, std::string operator+): New. 
+
+2006-04-06  Max Bowsher  <maxb1@ukf.net>
+
+       * String++.h, String++.cc
+       (String::replace): Remove - usused.
+       (String::find): Remove - semantics do not match std::string.
+
+       * root.cc (directory_is_rootdir): Switch to std::string.find().
+       * script.cc (Script::baseName): Rewrite use of String.find().
+
+2006-03-30  Max Bowsher  <maxb1@ukf.net>
+
+       * String++.cc (replace): New function to take the place of one form
+       of String::replace method.
+       * String++.h (replace): Declare.
+       (String::replace): Make private.
+
+       * desktop.cc (make_cygwin_bat): Use new function.
+       * filemanip.cc (backslash): Use simple loop in place of
+       String::replace.
+       * filemanip.h (backslash): Change signature to use std::string in
+       place of String.
+
+2006-03-30  Max Bowsher  <maxb1@ukf.net>
+
+       * String++.cc, String++.h (casecompare): New function replacing
+       String.casecompare to increase parity with std::string.
+       (String::casecompare): Make private.
+
+       * ConnectionSetting.cc, IniDBBuilderPackage.cc,
+       IniParseFindVisitor.cc, LogFile.cc, PackageSpecification.cc,
+       PickView.cc, SourceSetting.cc, String++.cc, String++.h, fromcwd.cc,
+       io_stream.cc, mount.cc, package_db.cc, package_source.h,
+       package_version.cc, prereq.h, script.cc:
+       Use casecompare in place of String::casecompare.
+
+2006-03-30  Max Bowsher  <maxb1@ukf.net>
+
+       * String++.cc, String++.h: Remove String(int) constructor, which
+       was causing dangerously bizarre implicit conversions, and was a point
+       of disparity between String and std::string.
+       (stringify): New function to replace functionality removed above.
+
+       * PickView.cc (PickView::init_headers),
+       archive_tar.cc (archive_tar::next_file_name),
+       cygpackage.cc (cygpackage::setCanonicalVersion):
+       Make explicit and call out with a FIXME some bizarre behaviour.
+       
+       * ScanFindVisitor.cc (ScanFindVisitor::visitFile),
+       filemanip.cc (base), iniparse.y,
+       threebar.cc (ThreeBarProgressPage::SetBar2):
+       Make simple adaptations to the changed API.
+
+2006-03-14  Igor Peshansky  <pechtcha@cs.nyu.edu>
+
+       * PickView.cc (PickView::setViewMode): Auto-expand category if
+       its name starts with a dot.
+
+2006-03-14  Dave Korn  <dave.korn@artimi.com>
+
+       * String++.cc (new_cstr_char_array):  Handle null input correctly.
+
+2006-03-10  Christopher Faylor  <cgf@timesys.com>
+
+       * res.rc: Update copyright.
+       (IDS_MIRROR_LST): Use cygwin.com for mirror list, not
+       sources.redhat.com.
+       * site.cc (NOSAVE1): Use preferred name of sourceware site.
+       (NOSAVE2): sourceware.cygnus.com -> sources.redhat.com.
+       (NOSAVE1_LEN): Use just-defined name to determine length.
+       (NOSAVE2_LEN): Ditto.
+       (NOSAVE3_LEN): Ditto.
+
+2006-03-10  Bas van Gompel  <patch-cygsup.buzz@bavag.tmfweb.nl>
+
+       * res.rc (IDD_DROPPED): New dialog.
+       * resource.h (IDD_DROPPED): New dialog-id.
+       (IDC_DROP_MIRRORS, IDC_DROP_NOWARN): New control-ids.
+       * site.cc: Add enum for response on dropped mirrors.
+       (cache_is_usable, cache_needs_writing): New bools.
+       (cache_warn_urls): New string.
+       (cached_site-list, dropped_site_list): New SiteLists.
+       (site_list_type::init, site_list_type::site_list_type): Change to four
+       parameter form.
+       (site_list_type::site_list_type, site_list_type::operator=) Copy
+       servername, area and location.
+       (load_site_list): New function, broken out of get_site_list.  Support
+       four-parameter site_list_type.
+       (get_site_list): Break out load_site_list.  Move reading cache earlier.
+       Don't write new cache.  Set flags to record cache state.  Load both
+       all_site_list and cached_site_list.
+       (SiteSetting::registerSavedSite): Use four-parameter site_list_type.
+       (drop_proc, check_dropped_mirrors, write_cache_list, save_cache_file):
+       New functions.
+       (SitePage::OnNext): Check for dropped mirrors and save cache as
+       appropriate.
+       (SitePage::OnMessageCmd): Use four-parameter site_list_type.
+       * site.h
+       (site_list_type::init, site_list_type::site_list_type): Change to four
+       parameter form.
+       (site_list_type): Add servername, area and location members.
+
+2006-03-09  Igor Peshansky  <pechtcha@cs.nyu.edu>
+
+       * script.cc (Script::run): Fix inverted test for abnormal exit.
+
+2006-03-09  Bas van Gompel  <patch-cygsup.buzz@bavag.tmfweb.nl>
+           Max Bowsher  <maxb1@ukf.net>
+
+       Provide indication of site that a file is being downloaded from.
+       
+       * geturl.cc: Use std::string instead of String throughout.
+       (init_dialog): Put more information into GUI.
+       Remove unused 'owner' parameter and change all callers.
+       (progress): Remove spurious \n characters from GUI.
+       * geturl.h: Use std::string instead of String throughout.
+       * res.rc (IDD_INSTATUS): Use SS_ENDELLIPSIS.
+
+2006-03-09  Max Bowsher  <maxb1@ukf.net>
+       
+       * Makefile.am (EXTRA_DIST): Add tree-minus.bmp and tree-plus.bmp.
+
+2006-01-20  Bryan Thrall  <bryan.thrall@flightsafety.com>
+
+       * source.cc (SourcePage::OnActivate): Command line takes precedence
+       over last user selection.
+
+2005-11-30  Max Bowsher  <maxb1@ukf.net>
+
+       * res.rc (IDD_ROOT, IDD_LOCAL_DIR): Rearrange some controls a little,
+       in response to suggestion from Carl Karsten.
+
+2005-11-30  Max Bowsher  <maxb1@ukf.net>
+
+       * site.h, site.cc: Use std::string in preference to String.
+       (site_list_type::init): Convert some painful raw C string work to
+       STL std::string work.  Stop totally ignoring the result of this
+       calculation, implementing the (somewhat weird) sort order for sites
+       that was apparently indented for ages.
+
+2005-10-14  Igor Pechtchanski  <pechtcha@cs.nyu.edu>
+
+       * io_stream.cc (url_scheme_not_registered): New macro.
+       (io_stream::open): Better log message on error.
+       (io_stream::mkpath_p,io_stream::remove,io_stream::mklink): Ditto.
+       (io_stream::move,io_stream::exists): Ditto.
+
+2005-10-13  Igor Pechtchanski  <pechtcha@cs.nyu.edu>
+
+       * site.cc (get_site_list): Default to empty mirror list if
+       server unavailable and none cached, to allow using preferred
+       mirrors anyway.
+
+2005-09-29  Igor Pechtchanski  <pechtcha@cs.nyu.edu>
+
+       * package_db.cc (packagedb::packagedb): Remember missing package
+       database file.
+
+2005-09-29  Igor Pechtchanski  <pechtcha@cs.nyu.edu>
+
+       * site.cc (get_site_list): Store mirror list locally.
+       Use local copy if unable to download.
+
+2005-09-27  Igor Pechtchanski  <pechtcha@cs.nyu.edu>
+
+       * io_stream_cygfile.cc (io_stream_cygfile::io_stream_cygfile):
+       Better log message on error.
+
+2005-09-27  Igor Pechtchanski  <pechtcha@cs.nyu.edu>
+
+       * script.cc (Script::isAScript): Fix string comparison.
+
+2005-09-27  Igor Pechtchanski  <pechtcha@cs.nyu.edu>
+
+       * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Reconnect on FTP timeout.
+
+2005-09-11  Masayuki FUJII  <boochang@m4.kcn.ne.jp>
+
+       * package_meta.cc (packagemeta::ScanDownloadedFiles): Don't use an
+       invalid iterator.  Fix whitespace.
+
+2005-09-09  Brian Dessent  <brian@dessent.net>
+
+       * CHANGES: Document recent updates.
+       * choose.cc (ChooserPage::OnInit): Add new tooltip.
+       * res.rc (IDD_CHOOSE): Remove 'administrative' from description.
+       (IDS_HIDEOBS_TOOLTIP): Add new string for tooltip.
+       * resource.h (IDS_HIDEOBS_TOOLTIP): Define.
+       * window.cc (Window::ActivateTooltips): Fix whitespace.  Set tooltip
+       delay to 30 seconds.
+
+2005-09-09  Igor Pechtchanski  <pechtcha@cs.nyu.edu>
+
+       * PickView.cc (PickView::paint): Set background mode to transparent.
+       * PickCategoryLine.cc (PickCategoryLine::paint): Use bitwise AND to
+       blit bitmaps.
+       * PickPackageLine.cc (PickPackageLine::paint): Ditto.
+
+2005-09-01  Brian Dessent  <brian@dessent.net>
+
+       * package_meta.cc (packagemeta::uninstall): Remove support for
+       undocumented and dangerous postremove script.
+
+2005-09-01  Igor Pechtchanski  <pechtcha@cs.nyu.edu>
+
+       * script.cc (run): Change to return the exit code or negative error.
+       (Script::run): Ditto.
+       (try_run_script): Receive both filename and extension and run only
+       one script.  Also return the exit code.
+       * script.h (try_run_script): Change signature.
+       (Script::run): Ditto.
+       * postinstall.cc (RunScript::operator()): Change to return the exit
+       code or negative error.
+       * install.cc (Installer::preremoveOne): Pass extension to
+       try_run_script().
+
+2005-09-01  Eric Blake  <ebb9@byu.net>
+
+       * script.cc (shells): Use /bin/bash, not sh, to allow upgrades to
+       /bin/sh.
+
+2005-09-01  Igor Pechtchanski  <pechtcha@cs.nyu.edu>
+
+       * PickView.h (PickView::size_col): New instance variable.
+       * PickView.cc (pkg_headers, cat_headers): Add size column.
+       (PickView::set_headers): Initialize size_col.
+       (PickView::init_headers): Include width of size column.
+       * PickPackageLine.cc (PickPackageLine::paint): Handle size_col.
+       * String++.cc (format_1000s): New function.
+       * String++.h (format_1000s): Declare new function.
+
+2005-09-01  Brian Dessent  <brian@dessent.net>
+
+       * Makefile.am (BASECXXFLAGS): Add -Wno-uninitialized to work around
+       spurious warnings with gcc 3.4.4.
+
+2005-05-22  Brian Dessent  <brian@dessent.net>
+
+       * res.rc (IDD_CHOOSE): Change description to include administrative
+       packages in addition to obsolete.
+
 2005-05-21  Brian Dessent  <brian@dessent.net>
 
        * prereq.cc: New file.
        (IniDBBuilderPackage::currentOrList): Track the current Or list.
        (IniDBBuilderPackage::currentAndList): Track the current And list.
        * IniParseFeedback.cc (IniParseFeedback::progress): Provide completion
-               progress on parsing.
+       progress on parsing.
        (IniParseFeedback::iniName): Tell what ini filename we are currently
        processing.
        * IniParseFeedback.h: Declare IniParseFeedback.cc changes.
 
        * archive_tar.cc (archive_tar::next_file_name()): fixed broken
        GNU long name extension support.
-    
+
 2002-05-27  Robert Collins  <rbtcollins@hotmail.com>
 
        * IniParseFindVisitor.cc (IniParseFindVisitor::visitFile): Don't 
 2002-05-19  Robert Collins  <rbtcollins@hotmail.com>
 
        * IniDBBuilderPackage.cc (IniDBBuilderPackage::IniDBBuilderPackage): New
-               method.
+       method.
        (IniDBBuilderPackage::buildVersion): Provide a warning when a newer 
        setup version created the ini file.
        * IniDBBuilderPackage.h (IniDBBuilderPackage::IniDBBuilderPackage): New
 2002-05-19  Robert Collins  <rbtcollins@hotmail.com>
 
        * rsync: New support library, contains librsync. This is not (yet)
-       rsync interoperable.
+       rsync interoperable.
        * configure.in: --with-rsync to enable rsync support. (Not complete).
        * Makefile.am: Enable building with rsync.
        * Makefile.in: Regenerate.
This page took 0.032724 seconds and 5 git commands to generate.