]> cygwin.com Git - cygwin-apps/setup.git/log
cygwin-apps/setup.git
19 years ago2005-05-05 Brian Dessent <brian@dessent.net>
Brian Dessent [Thu, 5 May 2005 21:00:33 +0000 (21:00 +0000)]
2005-05-05  Brian Dessent  <brian@dessent.net>

* ControlAdjuster.h: (enum ControlPosition): Declare new
resizing methods CP_STRETCH_LEFTHALF and CP_STRETCH_RIGHTHALF, and
their TOP/BOTTOM aliases.

* ControlAdjuster.cc: (ControlAdjuster::ControlInfo::adjust):
Implement CP_STRETCH_LEFTHALF and CP_STRETCH_RIGHTHALF, which
are designed to resize elements in a two-column layout.

* localdir.h: (class LocalDirPage): Remove constructor
implementation from here...

* localdir.cc: (LocalDirPage::LocalDirPage): ...to here, and call
AddControlsInfo on initialization.
(static LocaldirControlsInfo): Add.  Define sizing rules for dialog
elements.

* proppage.h: Add includes.  (PropertyPage::ClickableURL): Declare new
storage type for internal use by class. (PropertyPage::urls):
Likewise.  (PropertyPage::urlWinProc): Add declaration.
(PropertyPage::makeClickable): Likewise.

* proppage.cc: Add includes.  (PropertyPage::DialogProc): Implement
handler for WM_CTLCOLORSTATIC message.  Supports static controls that
have been turned into clickable hyperlinks. (static
PropertyPage::urls): Declare.  (PropertyPage::makeClickable):
Implement new member function that provides user interface for making
text into clickable URLs.  (PropertyPage::urlWinProc): Implement new
private member function used as a windowproc for subclassing a static
control.

* resource.h: (IDC_SPLASH_URL, IDC_FILEMODES_LINK, IDC_ROOTDIR_GRP,
IDC_INSTALLFOR_GRP, IDC_ALLUSERS_TEXT, IDC_JUSTME_TEXT, IDC_MODE_GRP,
IDC_MODE_TEXT, IDC_MODE_BIN, IDC_LOCALDIR_GRP, IDC_SPLASH_TEXT,
IDC_SPLASH_ICON, IDC_SPLASH_COPYR): Add. Replaces anonymous
IDC_STATIC ids, so that controls can be referenced by the resizer.

* res.rc: (IDD_LOCAL_DIR): Rearrange controls to match top-down order
in the dialog.  Fold long lines.  Replace anonymous IDC_STATIC ids.
(IDD_ROOT): Reorder in same manner.  Replace anonymous IDC_STATIC
ids.  Add descriptive text of each option, and hyperlink for more
information.  Mark suggested choice as "(RECOMMENDED)".  Swap order
of 'unix'/'dos' radio buttons so that recommended choice is first in
both columns.  (IDD_SPLASH): Reorder elements to match top-down
order of dialog, fold long lines. Add descriptive paragraph, remove
anonymous ids.  Update copyright text, replace sources.redhat.com
with cygwin.com.

* root.h: (class RootPage): Remove constructor implementation from
here...

* root.cc: ...to here, and call AddControlInfo.  (static
RootControlsInfo): Add.  Populate with resizing data.
(RootPage::OnInit): Make text a clickable hyperlink.

* splash.h: (class SplashPage): Likewise, move constructor from
here...

* splash.cc: ...to here.  Call AddControlInfo.  (static
SplashControlsInfo): Add and populate.  (SplashPage::Create): Make
link on splash page a clickable hyperlink.

* window.h: Add include.  (class Window): Store allocated fonts with a
vector instead of fixed array.  Change indentation of setParent to be
consistent.

* window.cc: (Window::Window): Remove FontCounter.
(Window::~Window): Likewise.  Iterate over vector of fonts
instead. (Window::SetDlgItemFont): Use vector.

19 years ago2005-05-05 Max Bowsher <maxb@ukf.net>
Max Bowsher [Thu, 5 May 2005 11:06:59 +0000 (11:06 +0000)]
2005-05-05  Max Bowsher  <maxb@ukf.net>

* Makefile.am (EXTRA_DIST, inilint_SOURCES):
Sync with several recent changes.

19 years agoFix wrong date in ChangeLog.
Max Bowsher [Thu, 5 May 2005 11:05:41 +0000 (11:05 +0000)]
Fix wrong date in ChangeLog.

19 years agoRemove spurious CR characters from ChangeLog.
Max Bowsher [Thu, 5 May 2005 11:04:40 +0000 (11:04 +0000)]
Remove spurious CR characters from ChangeLog.

19 years ago2005-04-05 Max Bowsher <maxb@ukf.net>
Max Bowsher [Thu, 5 May 2005 11:02:58 +0000 (11:02 +0000)]
2005-04-05  Max Bowsher  <maxb@ukf.net>

* Makefile.am (EXTRA_DIST): Add bootstrap.sh.

19 years ago2005-05-05 Brian Dessent <brian@dessent.net>
Brian Dessent [Thu, 5 May 2005 08:16:03 +0000 (08:16 +0000)]
2005-05-05  Brian Dessent  <brian@dessent.net>

* res.rc: (CREATEPROCESS_MANIFEST_RESOURCE_ID): Include section
comment.

19 years ago2005-05-05 Brian Dessent <brian@dessent.net>
Brian Dessent [Thu, 5 May 2005 08:09:24 +0000 (08:09 +0000)]
2005-05-05  Brian Dessent  <brian@dessent.net>

* res.rc: (IDC_CHOOSE): Widen 'view' button by 6px horizontally and
4px vertically.  Adjust other controls to accomodate.
(CREATEPROCESS_MANIFEST_RESOURCE_ID): Define so that manifest is
included in the binary.

* setup.exe.manifest: New file.  Results in common controls with
themed appearance on modern versions of Windows.

19 years ago2005-05-05 Brian Dessent <brian@dessent.net>
Brian Dessent [Thu, 5 May 2005 07:56:34 +0000 (07:56 +0000)]
2005-05-05  Brian Dessent  <brian@dessent.net>

* main.cc (WinMain): Change conditional to avoid spurious error
message on success.  Include reason for failure in log message.

19 years ago2005-05-04 Max Bowsher <maxb@ukf.net>
Max Bowsher [Wed, 4 May 2005 14:52:34 +0000 (14:52 +0000)]
2005-05-04  Max Bowsher  <maxb@ukf.net>

* state.cc, state.h (net_method, net_proxy_host, net_proxy_port,)
(net_user, net_passwd, net_proxy_user, net_proxy_passwd,)
Inet_ftp_user, net_ftp_passwd):
Move these global variables to be static variables of the NetIO class.

* netio.h, netio.cc (net_method, net_proxy_host, net_proxy_port,)
(net_user, net_passwd, net_proxy_user, net_proxy_passwd,)
net_ftp_user, net_ftp_passwd):
As above.

* ConnectionSetting.cc, net.cc:
Change include, refer to variables in new location.

19 years ago2005-05-04 Max Bowsher <maxb@ukf.net>
Max Bowsher [Wed, 4 May 2005 13:43:53 +0000 (13:43 +0000)]
2005-05-04  Max Bowsher  <maxb@ukf.net>

* PickLine.cc: Remove file - redundant.
* Makefile.am (setup_SOURCES): Adjust.

19 years ago2005-05-04 Max Bowsher <maxb@ukf.net>
Max Bowsher [Wed, 4 May 2005 12:31:22 +0000 (12:31 +0000)]
2005-05-04  Max Bowsher  <maxb@ukf.net>

* package_version.h (packageversion::set_requirements):
Remove deftrust argument default value.

19 years ago2005-05-03 Max Bowsher <maxb@ukf.net>
Max Bowsher [Wed, 4 May 2005 09:58:24 +0000 (09:58 +0000)]
2005-05-03  Max Bowsher  <maxb@ukf.net>

* package_version.cc (DependencyProcessor): Remove trivial class.
(select, processOneDependency): Do not use DependencyProcessor, just
pass parameters normally.

19 years ago2005-05-04 Brian Dessent <brian@dessent.net>
Max Bowsher [Tue, 3 May 2005 23:30:50 +0000 (23:30 +0000)]
2005-05-04  Brian Dessent  <brian@dessent.net>

Fix bug #820: Clicking Curr, etc., causes some dependencies to not
be installed.

* choose.cc (ChooserPage::changeTrust):
Add a missing "packagedb.markUnVisited ()".

19 years agoCommit missed ChangeLog entry.
Max Bowsher [Tue, 3 May 2005 21:55:41 +0000 (21:55 +0000)]
Commit missed ChangeLog entry.

19 years ago2005-05-03 Max Bowsher <maxb@ukf.net>
Max Bowsher [Tue, 3 May 2005 21:55:08 +0000 (21:55 +0000)]
2005-05-03  Max Bowsher  <maxb@ukf.net>

* PickCategoryLine.cc (PickCategoryLine::click):
* PickPackageLine.cc (PickPackageLine::click):
Abandon use of trivial packagemeta::PrepareForVisit() wrapper.

* package_meta.h (packagemeta::PrepareForVisit): Remove.
* package_meta.cc (packagemeta::PrepareForVisit): Remove.

19 years ago2005-05-03 Max Bowsher <maxb@ukf.net>
Max Bowsher [Tue, 3 May 2005 21:30:30 +0000 (21:30 +0000)]
2005-05-03  Max Bowsher  <maxb@ukf.net>

* choose.h (ChooserPage::ifChecked): Remove.
(ChooserPage::changeTrust): Convert from template to ordinary function.
* choose.cc (ChooserPage::changeTrust): As above, plus avoid the use
of custom class SetRequirement, when bind2nd(mem_fun(...),...) can
achieve the same effect.
* package_meta.h (SetRequirement): Remove, now unused.

19 years ago2005-05-03 Max Bowsher <maxb@ukf.net>
Max Bowsher [Tue, 3 May 2005 20:58:45 +0000 (20:58 +0000)]
2005-05-03  Max Bowsher  <maxb@ukf.net>

* package_meta.h (packagemeta::set_requirements):
Remove default argument which seems inappropriate.
* PickPackageLine.cc (PickPackageLine::click):
Make an argument explicit, and not that it seems like the wrong value.

19 years ago* README: Describe setup's use of branches.
Max Bowsher [Tue, 3 May 2005 19:14:41 +0000 (19:14 +0000)]
* README: Describe setup's use of branches.

19 years ago2005-05-03 Brian Dessent <brian@dessent.net>
Max Bowsher [Tue, 3 May 2005 17:11:20 +0000 (17:11 +0000)]
2005-05-03  Brian Dessent  <brian@dessent.net>

Fix part of bug #853 - proxy port not remembered.

* net.cc (doing_loading): New static boolean.
(load_dialog): Use the boolean to prevent save_dialog() from taking
action due to field changes due to initialization.
(save_dialog): Check the boolean and respond appropriately.

19 years ago2005-04-19 Max Bowsher <maxb@ukf.net>
Max Bowsher [Tue, 19 Apr 2005 10:13:54 +0000 (10:13 +0000)]
2005-04-19  Max Bowsher  <maxb@ukf.net>

* postinstall.cc (RunFindVisitor::visitFile): Fix crash on
encountering a postinstall script with a name of 4 characters or less.
Bug introduced on 2004-12-25.

19 years ago2005-04-05 Max Bowsher <maxb@ukf.net>
Max Bowsher [Tue, 5 Apr 2005 22:55:09 +0000 (22:55 +0000)]
2005-04-05  Max Bowsher  <maxb@ukf.net>

The Big Cleanup: Phase "rfc1738"

* rfc1738.cc, rfc1738.h: Delete.
* csu_util/rfc1738.cc: Reimport latest version from upstream source.
Make thread-safe. Rewrite C++ wrapper in terms of std::string.
Document the divergences from the upstream source.
* csu_util/rfc1738.h: Recreate for the std::string version of the
C++ wrapper.

* Makefile.am (setup_SOURCES): Sync with added/removed files.
* IniParseFindVisitor.cc: Modify #includes.
(IniParseFindVisitor::visitFile): Change function name, as the new
C++ wrapper does not contain an irregularity that the old one did.
* download.cc: Modify #includes.
* ini.cc: Modify #includes.

19 years ago2005-04-05 Max Bowsher <maxb@ukf.net>
Max Bowsher [Tue, 5 Apr 2005 21:37:53 +0000 (21:37 +0000)]
2005-04-05  Max Bowsher  <maxb@ukf.net>

Remove setup's internal compression libraries, instead relying on the
mingw-foo packages which have been part of the Cygwin net distribution
for some time now.  At the same time, reorganize the README file to
inform about the change, and make some additional tidy-ups there whilst
working there.

* GUIDELINES: Remove, contents transferred to README.
* README: Add build instructions. Delete unconfirmed and fixed bugs
  sections. Incorporate the former contents of GUIDELINES.

* bz2lib/: Remove.
* zlib/: Remove.
* Makefile.am (DIST_SUBDIRS, SUBDIRS):
* configure.in: Remove AC_CONFIG_SUBDIRS for removed subdirs.
* compress_bz.h: Remove complex _WIN32 preprocessor conditional.
* compress_gz.h: Fix #include file name.
* archive_tar_file.cc: Remove unused #include.
* install.cc: Remove unused #include.

19 years ago* CHANGES: Update.
Max Bowsher [Thu, 27 Jan 2005 20:50:45 +0000 (20:50 +0000)]
* CHANGES: Update.

19 years ago* cfgaux/.direxists: Create, to work around obscure CVS bug.
Max Bowsher [Thu, 27 Jan 2005 20:40:36 +0000 (20:40 +0000)]
* cfgaux/.direxists: Create, to work around obscure CVS bug.

19 years ago2005-01-27 Max Bowsher <maxb@ukf.net>
Max Bowsher [Thu, 27 Jan 2005 20:33:09 +0000 (20:33 +0000)]
2005-01-27  Max Bowsher  <maxb@ukf.net>

Set CYGWIN=nontsec, for postinstall scripts.

* main.cc (main): putenv("CYGWIN=nontsec").

19 years ago2005-01-27 Bas van Gompel <patch-cygsup.buzz@bavag.tmfweb.nl>
Max Bowsher [Thu, 27 Jan 2005 12:43:56 +0000 (12:43 +0000)]
2005-01-27  Bas van Gompel  <patch-cygsup.buzz@bavag.tmfweb.nl>

Fix corrupt display of ini parse percentage in log file.

* ini.cc (GuiParseFeedback): Use a sensible data type for lastpct.

19 years ago2004-12-29 Max Bowsher <maxb@ukf.net>
Max Bowsher [Wed, 29 Dec 2004 12:38:04 +0000 (12:38 +0000)]
2004-12-29  Max Bowsher  <maxb@ukf.net>

* site.cc (get_site_list): Filter the incoming mirrors list to contain
only URL schemes that we can read.

19 years ago* CHANGES: Update in preparation for new snapshot.
Max Bowsher [Wed, 29 Dec 2004 12:12:31 +0000 (12:12 +0000)]
* CHANGES: Update in preparation for new snapshot.

19 years ago2004-12-28 Max Bowsher <maxb@ukf.net>
Max Bowsher [Tue, 28 Dec 2004 15:12:03 +0000 (15:12 +0000)]
2004-12-28  Max Bowsher  <maxb@ukf.net>

The Big Cleanup: Phase "hash"

* hash.cc, hash.h: Delete.
* Makefile.am (setup_SOURCES): Sync with deleted files.

* package_mets: Modify includes.
(standard_dirs): Remove.
(hash::add_subdirs): Remove.
(packagemeta::uninstall): Re-implement using STL set instead of
homebrew hash.

19 years ago2004-12-28 Max Bowsher <maxb@ukf.net>
Max Bowsher [Tue, 28 Dec 2004 15:09:05 +0000 (15:09 +0000)]
2004-12-28  Max Bowsher  <maxb@ukf.net>

* String++.h (operator std::string): Take care to never do
std::string((char*)NULL) - it causes a hang!

19 years agoFix error in ChangeLog.
Max Bowsher [Tue, 28 Dec 2004 13:44:41 +0000 (13:44 +0000)]
Fix error in ChangeLog.

19 years ago2004-12-27 Max Bowsher <maxb@ukf.net>
Max Bowsher [Mon, 27 Dec 2004 16:12:44 +0000 (16:12 +0000)]
2004-12-27  Max Bowsher  <maxb@ukf.net>

The Big Cleanup: Phase "log"

* log.cc, log.h: Delete old C-style compatibility wrapper around the
logging subsystem.
* Makefile.am (setup_SOURCES): Sync with deleted files.

* AntiVirus.cc, archive_tar_file.cc, ini.cc, install.cc,
* io_stream_cygfile.cc, localdir.cc, msg.cc, net.cc, netio.cc,
* netio.h, nio-ftp.cc, nio-ftp.h, root.cc, source.cc:
Throughout, refine includes, and update code using the old
compatibility wrapper to C++ streams style code.

19 years ago2004-12-27 Max Bowsher <maxb@ukf.net>
Max Bowsher [Mon, 27 Dec 2004 14:44:35 +0000 (14:44 +0000)]
2004-12-27  Max Bowsher  <maxb@ukf.net>

* compress.cc: Refine includes. Remove placeholder function
definitions. Make destructor an empty function.
* compress.h: Refine includes. Make placeholder functions pure
virtual. Add missing const on buffer argument to write function,
to match derived classes.
* compress_bz.cc, compress_gz.cc: Refine includes. Throw exception,
rather than logging and returning an error, when an unimplemented
function is called.
* compress_bz.h, compress_gz.h: Refine includes.

19 years ago2004-12-26 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sun, 26 Dec 2004 22:11:34 +0000 (22:11 +0000)]
2004-12-26  Max Bowsher  <maxb@ukf.net>

The Big Cleanup: Phase "version"

* String++.h (operator std::string): Add.
* desktop.cc, fromcwd.cc: Remove irrelevant include.

* version.cc, version.h: Delete, replacing all functionality in new
files.

* setup_version.h: Add, taking over declaration of generated version
symbol functionality.

* Makefile.am (setup_SOURCES): Sync with new/deleted files.
(setup_version.c): Rename the symbol 'version' to 'setup_version'.
* main.cc: Modify includes.
(main): Adapt to setup_version rename.
* splash.cc: Modify includes.
(SplashPage::OnInit): Adapt to setup_version rename.

* csu_util/version_compare.cc, csu_util/version_compare.h: Add,
containing a completely rewritten replacement for canonical_version().

* IniDBBuilderPackage.cc: Modify includes.
(IniDBBuilderPackage::buildVersion): Use new version_compare API.
* ini.cc: Modify includes.
(setup_version): Rename...
(ini_setup_version): ...to this.
(do_local_ini, do_remote_ini): Adapt to above change.
(do_ini_thread): Adapt to above change. Use new version_compare API.

19 years ago2004-12-25 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sat, 25 Dec 2004 23:39:43 +0000 (23:39 +0000)]
2004-12-25  Max Bowsher  <maxb@ukf.net>

* install.cc (Installer::installOneSource): Remove a stray "break;"
left over from the switch-case -> if-else conversion in the previous
change.

19 years agoFix typo in comment.
Max Bowsher [Sat, 25 Dec 2004 23:32:56 +0000 (23:32 +0000)]
Fix typo in comment.

19 years ago2004-12-25 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sat, 25 Dec 2004 23:05:57 +0000 (23:05 +0000)]
2004-12-25  Max Bowsher  <maxb@ukf.net>

The Big Cleanup: Phase "win32"

* win32.h: Major overhaul. Document why we use _WIN32_IE. Move out
fragment dealing with alloca() to the single file in which it is used.
Remove fragment dealing with _MAX_PATH, and convert all uses of it
elsewhere to MAX_PATH. Remove random include of <stdarg.h>. Remove
NOCOMATTRIBUTE, as setup contains no code which it affects. Remove
includes of <wininet.h> and <windowsx.h> - see later in this log.
(IsWindowsNT): New inline function, a much simpler implementation of
Win32::OS().

* win32.cc: Delete.

* Makefile.am (setup_SOURCES): Remove "win32.cc".

* AntiVirus.cc (detect), PickPackageLine.cc (PickPackageLine::paint),
* install.c (Installer::installOneSource):
Use IsWindowsNT(), not Win32::OS().
* main.cc (main): Use IsWindowsNT(), not locally defined iswinnt.

* PickView.cc (PickView::WindowProc), netio.cc (auth_proc),
* proppage.cc (PropertyPage::DialogProc):
Avoid using obfuscating macros from <windowsx.h>.

* archive.cc: Include or #define alloca() in the only file in which
it is used.

* nio-ie5.h: Include <wininet.h> here, where it is actually needed,
rather than in "win32.h" which is included almost everywhere.

* archive_tar.cc, archive_tar.h, cygpackage.cc, cygpackage.h,
* desktop.cc, find.cc, install.cc, main.cc, mklink2.c, mount.cc,
* script.cc: Use MAX_PATH, not _MAX_PATH.

19 years ago2004-12-25 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sat, 25 Dec 2004 20:41:09 +0000 (20:41 +0000)]
2004-12-25  Max Bowsher  <maxb@ukf.net>

Remove some overcomplications.

* Makefile.am (setup_SOURCES): Remove FilterVisitor.{cc,h}.
* FilterVisitor.cc, FilterVisitor.h: Delete.
* String++.cc (strmatch, String::matches): Remove.
* String++.h (String::matches): Remove.
* postinstall.cc: Do not include "FilterVisitor.h".
(RunFindVisitor): Exclude items with the extension ".done".
(do_postinstall_thread): Remove overcomplicated exclusion of items
with the extension ".done".

19 years ago2004-12-24 Max Bowsher <maxb@ukf.net>
Max Bowsher [Fri, 24 Dec 2004 15:48:38 +0000 (15:48 +0000)]
2004-12-24  Max Bowsher  <maxb@ukf.net>

* String++.cc, String++.h: Remove unused and incomplete code.
* LogFile.cc (LogFile::log_save): Don't leak memory.
* filemanip.cc, geturl.cc, root.cc, version.cc:
Don't pointlessly create temporary copies strings.

19 years ago* CHANGES: New file.
Max Bowsher [Thu, 23 Dec 2004 18:13:25 +0000 (18:13 +0000)]
* CHANGES: New file.

19 years ago2004-12-23 Max Bowsher <maxb@ukf.net>
Max Bowsher [Thu, 23 Dec 2004 18:12:12 +0000 (18:12 +0000)]
2004-12-23  Max Bowsher  <maxb@ukf.net>

* choose.cc (ChooserPage::OnNext): Relegate some overly verbose
logging to an #ifdef DEBUG section.
* geturl.h (dismiss_url_status_dialog): Remove stale function
declaration, for which there is no definition.
* io_stream_cygfile.cc (io_stream_cygfile::io_stream_cygfile):
Motivated by the recent unexplained hang bug, add some extra logging.

19 years ago2004-11-22 Max Bowsher <maxb@ukf.net>
Max Bowsher [Mon, 22 Nov 2004 18:15:34 +0000 (18:15 +0000)]
2004-11-22  Max Bowsher  <maxb@ukf.net>

* MD5++.cc, MD5++.h: Remove this class.
* csu_util/MD5Sum.cc, csu_util/MD5Sum.h: New more complete MD5 class.
* Makefile.am (setup_SOURCES): Adjust to new files.
* download.cc (validateCachedPackage): Simplify, using the new class.
* install.cc (md5_one): Ditto.
* package_source.h (packagesource::md5): Change to be an object of the
new class.

19 years ago2004-11-22 Max Bowsher <maxb@ukf.net>
Max Bowsher [Mon, 22 Nov 2004 18:03:10 +0000 (18:03 +0000)]
2004-11-22  Max Bowsher  <maxb@ukf.net>

* main.cc (main): Fix bug in one of the 2004-11-19 commits.
Avoid referring to the theLog pointer before it is set.

19 years ago2004-11-20 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sat, 20 Nov 2004 17:25:29 +0000 (17:25 +0000)]
2004-11-20  Max Bowsher  <maxb@ukf.net>

* res.rc (IDD_SOURCE): Clarify the radio-button option descriptions.
Re-layout the radio buttons.

19 years ago2004-11-20 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sat, 20 Nov 2004 16:59:54 +0000 (16:59 +0000)]
2004-11-20  Max Bowsher  <maxb@ukf.net>

Repair the broken detection of wrongly-sized package files.

* download.cc (validateCachedPackage): Make static, since not used
elsewhere. Improve logging. Migrate file-size tests to here, alongside
the MD5 tests.
(check_for_cached): Remove broken testing of file-size, now covered by
the above. Code cleanups.

19 years ago2004-11-19 Max Bowsher <maxb@ukf.net>
Max Bowsher [Fri, 19 Nov 2004 13:38:11 +0000 (13:38 +0000)]
2004-11-19  Max Bowsher  <maxb@ukf.net>

* package_version.cc (dumpAndList): Make dependencies much more
readable in full log output.

19 years ago2004-11-19 Max Bowsher <maxb@ukf.net>
Max Bowsher [Fri, 19 Nov 2004 09:53:30 +0000 (09:53 +0000)]
2004-11-19  Max Bowsher  <maxb@ukf.net>

* proppage.cc (PropertyPage::DialogProc): Wrap in a TOPLEVEL_CATCH
block, since allowing exceptions to unwind into the guts of Windows is
quite disasterous.

19 years ago2004-11-19 Max Bowsher <maxb@ukf.net>
Max Bowsher [Fri, 19 Nov 2004 01:58:02 +0000 (01:58 +0000)]
2004-11-19  Max Bowsher  <maxb@ukf.net>

* main.cc (main): Move option parsing code earlier - it must execute
before any significant object creations, which might test options in
their initialization.

19 years ago2004-11-19 Max Bowsher <maxb@ukf.net>
Max Bowsher [Fri, 19 Nov 2004 01:53:21 +0000 (01:53 +0000)]
2004-11-19  Max Bowsher  <maxb@ukf.net>

* main.cc (main): Remove some junk code - either commented out, or
contained within unreachable preprocessor conditional sections.

19 years ago2004-11-19 Max Bowsher <maxb@ukf.net>
Max Bowsher [Fri, 19 Nov 2004 01:49:14 +0000 (01:49 +0000)]
2004-11-19  Max Bowsher  <maxb@ukf.net>

* install.cc (Installer::installOneSource): Avoid leaking the open
file handles of every tarball that is installed.

19 years ago2004-11-19 Max Bowsher <maxb@ukf.net>
Max Bowsher [Fri, 19 Nov 2004 01:44:59 +0000 (01:44 +0000)]
2004-11-19  Max Bowsher  <maxb@ukf.net>

* package_source.h (packagesource::Canonical, packagesource::Base)
(packagesource::Filename): Add "const" specification to accessor
methods.

19 years ago2004-11-18 Max Bowsher <maxb@ukf.net>
Max Bowsher [Thu, 18 Nov 2004 01:19:09 +0000 (01:19 +0000)]
2004-11-18  Max Bowsher  <maxb@ukf.net>

* archive.h (archive::~archive): Define a pure virtual destructor to
enforce the abstract nature of this class.
* archive.cc (archive::~archive): Pure virtual destructors require an
implementation! Add one.
* io_stream.h (io_stream::destroyed): Remove this severely
brain-damaged implementation of a weakly-enforced abstract class.
The pure virtual destructor was strongly enforcing the abstract nature
anyway.
* io_stream.cc (io_stream::~io_stream): Empty out horribly pointless
code from the pure virtual destructor.
* archive_tar.cc (archive_tar::~archive_tar): Remove all
reference to the removed "destroyed" member.
* archive_tar_file.cc (archive_tar_file::~archive_tar_file): Ditto.
* compress_bz.cc (compress_bz::~compress_bz): Ditto.
* compress_gz.cc (compress_gz::~compress_gz): Ditto.
* io_stream_cygfile.cc (io_stream_cygfile::~io_stream_cygfile): Ditto.
* io_stream_file.cc (io_stream_file::~io_stream_file): Ditto.
* io_stream_memory.cc (io_stream_memory::~io_stream_memory): Ditto.

19 years agoCommit missed ChangeLog entry
Max Bowsher [Wed, 17 Nov 2004 15:17:53 +0000 (15:17 +0000)]
Commit missed ChangeLog entry

19 years ago2004-11-17 Max Bowsher <maxb@ukf.net>
Max Bowsher [Wed, 17 Nov 2004 15:02:05 +0000 (15:02 +0000)]
2004-11-17  Max Bowsher  <maxb@ukf.net>

* mount.cc (create_mount): Fix operator precedence error introduced in
first 2004-11-11 commit - warned of by gcc 3.3.3 but not 3.4.1 !

19 years ago2004-11-13 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sat, 13 Nov 2004 00:29:35 +0000 (00:29 +0000)]
2004-11-13  Max Bowsher  <maxb@ukf.net>

Miscellaneous cleanup.

* geturl.cc (getUrlToStream): Make static.
* geturl.h (getUrlToStream): Remove declaration.

* geturl.cc, geturl.h, netio.cc, netio.h, nio-ftp.cc, nio-ftp.h,
nio-http.cc, nio-http.h:
Remove unused "allow_ftp_auth" flag throughout.

19 years ago2004-11-11 Max Bowsher <maxb@ukf.net>
Max Bowsher [Thu, 11 Nov 2004 21:42:05 +0000 (21:42 +0000)]
2004-11-11  Max Bowsher  <maxb@ukf.net>

* libmd5-rfc: New directory, to hold code imported from the libmd5-rfc
project in a clearly delineated fashion.
* libmd5-rfc/README: New file.
* md5.c, md5.h: Delete...
* libmd5-rfc/md5.c, libmd5-rfc/md5.h: ...and replace with pristine
versions from upstream (only change is restoration of upstream CVS
keyword expansions).
* libmd5-rfc/md5main.c: New file.
* Makefile.ami (setup_SOURCES): Edit file paths.
* download.cc, install.cc: Edit include paths.

19 years ago2004-11-11 Max Bowsher <maxb@ukf.net>
Max Bowsher [Thu, 11 Nov 2004 21:31:37 +0000 (21:31 +0000)]
2004-11-11  Max Bowsher  <maxb@ukf.net>

* dialog.cc (fatal): Make capable of handling a passed-in error code,
as an alternative to calling GetLastError().
* dialog.h (fatal): Adjust prototype as above.
* mount.cc (create_mount): Use the above to correctly report errors.

19 years ago2004-10-28 Max Bowsher <maxb@ukf.net>
Max Bowsher [Thu, 28 Oct 2004 21:27:07 +0000 (21:27 +0000)]
2004-10-28  Max Bowsher  <maxb@ukf.net>

* LogFile.cc (LogFile::getFileName), splash.cc (SplashPage::Create),
threebar.cc (ThreeBarProgressPage::SetBar2):
Migrate from cistring and string resources
to String and string literals.
* localdir.cc: Remove unneeded #include of "cistring.h".
* cistring.cc, cistring.h: Remove this now-redundant class.
* Makefile.am: Remove mention of the above removed files.
* res.rc, resource.h: Remove obsolete strings and IDs, both those
obseleted by and obselete before the above changes.
* res.rc: Merge the 2 adjacent STRINGTABLEs.

19 years ago2004-10-27 Max Bowsher <maxb@ukf.net>
Max Bowsher [Wed, 27 Oct 2004 18:23:22 +0000 (18:23 +0000)]
2004-10-27  Max Bowsher  <maxb@ukf.net>

* Makefile.am (setup_SOURCES): Add "RECTWrapper.h". It was missing.

19 years ago2004-10-25 Bas van Gompel <cygsup-patch.buzz@bavag.tmfweb.nl>
Max Bowsher [Mon, 25 Oct 2004 21:49:18 +0000 (21:49 +0000)]
2004-10-25  Bas van Gompel  <cygsup-patch.buzz@bavag.tmfweb.nl>

* package_source.cc (packagesource::set_canonical):
Fix one-off in 'base' when ini is in same dir as package.

19 years ago2004-10-25 Max Bowsher <maxb@ukf.net>
Max Bowsher [Mon, 25 Oct 2004 18:34:31 +0000 (18:34 +0000)]
2004-10-25  Max Bowsher  <maxb@ukf.net>

* main.cc (next_dialog): Remove this legacy global variable.
* download.cc (do_download_thread): Return a value instead of setting
a global variable, then returning void.
(do_download_reflector): Look for the next dialog code as a return
value instead of a global variable.

19 years ago2004-10-25 Max Bowsher <maxb@ukf.net>
Max Bowsher [Mon, 25 Oct 2004 17:06:09 +0000 (17:06 +0000)]
2004-10-25  Max Bowsher  <maxb@ukf.net>

* port.h: Remove this redundant file - all contained definitions are
duplicated in "win32.h".
* Makefile.am, UserSetting.cc, UserSettings.cc, archive.cc,
archive_tar.cc, archive_tar_file.cc, choose.cc, compress.cc,
compress_bz.cc, compress_gz.cc, desktop.cc, find.cc, fromcwd.cc,
iniparse.y, install.cc, io_stream_cygfile.cc, io_stream_file.cc,
main.cc, netio.cc, site.cc, version.cc:
Remove all references to "port.h".

19 years ago2004-10-25 Max Bowsher <maxb@ukf.net>
Max Bowsher [Mon, 25 Oct 2004 13:46:26 +0000 (13:46 +0000)]
2004-10-25  Max Bowsher  <maxb@ukf.net>

Fix compilation with w32api 3.1 and later.

* ControlAdjuster.h, RECTWrapper.h, cistring.h, propsheet.h,
window.cc, window.h: Include "win32.h" not <windows.h> directly.
* win32.h (WINBASEAPI): Define to empty string.

20 years ago2004-09-13 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Igor Peshansky [Wed, 15 Sep 2004 13:22:15 +0000 (13:22 +0000)]
2004-09-13  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* script.cc (run): Kill stdin when running scripts.

20 years ago2004-09-01 Max Bowsher <maxb@ukf.net>
Max Bowsher [Wed, 1 Sep 2004 18:07:32 +0000 (18:07 +0000)]
2004-09-01  Max Bowsher  <maxb@ukf.net>

* Makefile.am: Oops. Unwanted keyword expansion ate the code of the
previous commit. Restore the code, escaped to not look like a keyword.

20 years ago2004-09-01 Max Bowsher <maxb@ukf.net>
Max Bowsher [Tue, 31 Aug 2004 23:03:52 +0000 (23:03 +0000)]
2004-09-01  Max Bowsher  <maxb@ukf.net>

* Makefile.am: Simplify the shell incantation for getting the revision
of ChangeLog from grep-and-sed to just sed.

20 years ago2004-08-31 Max Bowsher <maxb@ukf.net>
Max Bowsher [Tue, 31 Aug 2004 22:54:03 +0000 (22:54 +0000)]
2004-08-31  Max Bowsher  <maxb@ukf.net>

Attain GCC 3.4 compatibility.

* PackageSpecification.h (PackageSpecification): Make the
unnecessarily private copy-constructor public.

20 years ago2004-08-30 Max Bowsher <maxb@ukf.net>
Max Bowsher [Mon, 30 Aug 2004 16:26:03 +0000 (16:26 +0000)]
2004-08-30  Max Bowsher  <maxb@ukf.net>

Rework the implementation of not including -Werror for specific files,
to a way that does not require hardcoding modified automake output back
into its input.

* Makefile.am (AM_CXXFLAGS, BASECXXFLAGS): Seperate out -Werror.
(autoload.o): Drop this rule, -finline-functions is no longer required
and -Werror is acceptable here now we have __attribute__ ((used)).
(WARNONLY_CFLAGS, inilex.o): Drop these.
(EXTRA_PROGRAMS): Add a fake "warnonly" program.
(warnonly_CXXFLAGS): Set to the $(BASECXXFLAGS).
(warnonly_SOURCES): Set to "inilex.cc".
(EXTRA_setup_SOURCES): Set to $(warnonly_SOURCES).
(setup_SOURCES): Remove "inilex.cc".
(setup_LDADD): Add "warnonly-inilex.o".

20 years ago2004-08-30 Max Bowsher <maxb@ukf.net>
Max Bowsher [Mon, 30 Aug 2004 16:17:52 +0000 (16:17 +0000)]
2004-08-30  Max Bowsher  <maxb@ukf.net>

Move closer to GCC 3.4 compatibility.

* IOStreamProvider.h, io_stream_cygfile.cc, io_stream_cygfile.h,
io_stream_file.cc: Do not incorrectly use "enum" after it has been
hidden inside a typedef.
* archive.h: In "virtual func() = 0;", the 0 is a language construct,
not some symbol that might evaluate to 0, and gcc 3.4 enforces this.
* autoload.c (DllInfo.name): Silence warning by making const.
(DLL, autoload_common): __attribute__ ((used)) is now required to
prevent gcc being over-eager in it's optimization, and removing these
seemingly-unused (used only from assembly) functions.
Silences some warnings, too.
* Makefile.am (AM_CXXFLAGS, AM_CFLAGS): The options
-Wstrict-prototypes -Wmissing-prototypes do not apply to C++ and
g++ 3.4 complains about them.

20 years ago2004-08-29 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sun, 29 Aug 2004 16:59:40 +0000 (16:59 +0000)]
2004-08-29  Max Bowsher  <maxb@ukf.net>

* Exception.h: Reformatting, #include more, remove incorrect and
less-than-useful comments.
(TOPLEVEL_CATCH): New preprocessor macro.

* LogFile.cc (LogFile::operator()): Throw an exception object, not a
char* string.

Wrap the top-level of each thread (including the main thread) in a
try...catch block, in order to display a useful error message if an
exception is not caught.
* download.cc (do_download_reflector): Here ...
* ini.cc (do_ini_thread_reflector): ... and here ...
* install.cc (do_install_reflector: ... and here ...
* main.cc (main): ... and here ...
* postinstall.cc (do_postinstall_thread): ... and here ...
* site.cc (do_download_site_info_thread): ... and here!

* msg.h: Include a missing header requirement.
* res.rc (IDS_UNCAUGHT_EXCEPTION, IDS_UNCAUGHT_EXCEPTION_WITH_ERRNO):
New strings.
* resource.h (IDS_UNCAUGHT_EXCEPTION)
(IDS_UNCAUGHT_EXCEPTION_WITH_ERRNO): New IDs.

20 years agoAdd missing ChangeLog entry.
Max Bowsher [Sat, 28 Aug 2004 00:15:02 +0000 (00:15 +0000)]
Add missing ChangeLog entry.

20 years ago2004-08-28 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sat, 28 Aug 2004 00:13:12 +0000 (00:13 +0000)]
2004-08-28  Max Bowsher  <maxb@ukf.net>

        * res.rc (IDS_WINDOW_INIT_BADMSG): New string.
        * resource.h (IDS_WINDOW_INIT_BADMSG): New string resource ID.
        * window.cc (Window::FirstWindowProcReflector): Convert an abort()
        into a descriptive error.

20 years ago2004-08-28 Max Bowsher <maxb@ukf.net>
Max Bowsher [Fri, 27 Aug 2004 23:46:14 +0000 (23:46 +0000)]
2004-08-28  Max Bowsher  <maxb@ukf.net>

* Makefile.in, aclocal.m4, configure: Autoreconf. Fixes "make dist"
breakage with srcdir != objdir builds.

20 years ago2004-08-28 Max Bowsher <maxb@ukf.net>
Max Bowsher [Fri, 27 Aug 2004 23:37:37 +0000 (23:37 +0000)]
2004-08-28  Max Bowsher  <maxb@ukf.net>

* Makefile.am (AUTOMAKE_OPTIONS): Add "foreign" for compatibility with
modern automake.

20 years ago2004-08-24 Max Bowsher <maxb@ukf.net>
Max Bowsher [Tue, 24 Aug 2004 19:44:21 +0000 (19:44 +0000)]
2004-08-24  Max Bowsher  <maxb@ukf.net>

The Doug Lee replacement malloc was no longer hooked up with the
buildsystem in any way. Pruning the remaining unused file.

* dlmalloc.c: Removed.

20 years ago2004-08-18 Max Bowsher <maxb@ukf.net>
Max Bowsher [Wed, 18 Aug 2004 22:42:37 +0000 (22:42 +0000)]
2004-08-18  Max Bowsher  <maxb@ukf.net>

"librsync is not wire-compatible with rsync 2.x, and is not likely
to be in the future." -- librsync.sourceforge.net

So, it is of no practical use to setup. Therefore, removing all
rsync related files and code from setup.

* rsync: Directory removed.
* Makefile.am: Remove rsync support from the buildsystem.
* configure.in: Ditto.
* README: Since it seems vanishingly unlikely that it will ever happen,
    remove rsync support from the wishlist.
* io_stream_rsync.cc: Remove.
* io_stream_rsync.h: Remove.

20 years ago2004-04-25 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 25 Apr 2004 15:00:13 +0000 (15:00 +0000)]
2004-04-25  Robert Collins  <rbtcollins@hotmail.com>

* package_meta.cc (packagemeta::set_requirements): fix problem with libpcre0 not being pulled in automatically.

20 years ago2004-04-25 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 25 Apr 2004 13:05:04 +0000 (13:05 +0000)]
2004-04-25  Robert Collins  <rbtcollins@hotmail.com>

* IniDBBuilderPackage.cc (dumpAndList): Move out to packageversion for reuse.
* package_meta.cc (packagemeta::logAllVersions): log dependencies.
* package_version.cc (packageversion::depends): provide a const accessor.
(dumpAndList): Moved from INIDBBuilder.cc.
* package_version.h: declare new method and function.

20 years ago2003-12-21 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 20 Dec 2003 22:29:58 +0000 (22:29 +0000)]
2003-12-21  Robert Collins  <rbtcollins@hotmail.com>

* main.cc (main): Update to head libgetopt++ syntax.

20 years ago2003-12-10 20:45:32 GMT Robert Collins <rbtcollins@hotmail.com> patch-17
Robert Collins [Wed, 10 Dec 2003 20:53:22 +0000 (20:53 +0000)]
2003-12-10 20:45:32 GMT Robert Collins <rbtcollins@hotmail.com> patch-17

    Summary:
      bump library version
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-17

    modified files:
     Makefile.am src/OptionSet.cc

2003-12-10 13:14:39 GMT Robert Collins <rbtcollins@hotmail.com> patch-16

    Summary:
      extract argumentless parsing logic
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-16

    modified files:
     include/getopt++/OptionSet.h src/OptionSet.cc

2003-12-10 12:25:55 GMT Robert Collins <rbtcollins@hotmail.com> patch-15

    Summary:
      simplify logic by consolidating Process calls in OptionSet::doOption
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-15

    modified files:
     src/OptionSet.cc

2003-12-10 12:24:22 GMT Robert Collins <rbtcollins@hotmail.com> patch-14

    Summary:
      move option value passing out of the direct path of option processing
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-14

    modified files:
     src/OptionSet.cc

2003-12-10 12:21:32 GMT Robert Collins <rbtcollins@hotmail.com> patch-13

    Summary:
      return actual Option results
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-13

    modified files:
     src/OptionSet.cc

2003-12-10 12:19:39 GMT Robert Collins <rbtcollins@hotmail.com> patch-12

    Summary:
      extract OptionSet::findOption
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-12

    modified files:
     include/getopt++/OptionSet.h src/OptionSet.cc

2003-12-10 12:14:36 GMT Robert Collins <rbtcollins@hotmail.com> patch-11

    Summary:
      make OptionSet::processOne() return void
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-11

    modified files:
     include/getopt++/OptionSet.h src/OptionSet.cc

2003-12-10 12:10:42 GMT Robert Collins <rbtcollins@hotmail.com> patch-10

    Summary:
      extract method OptionSet::doOption
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-10

    modified files:
     include/getopt++/OptionSet.h src/OptionSet.cc

2003-12-10 11:57:05 GMT Robert Collins <rbtcollins@hotmail.com> patch-9

    Summary:
      extract method OptionSet::isOption
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-9

    modified files:
     include/getopt++/OptionSet.h src/OptionSet.cc

2003-12-10 11:48:31 GMT Robert Collins <rbtcollins@hotmail.com> patch-8

    Summary:
      eliminate passed in self reference to OptionSet::processOne
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-8

    modified files:
     include/getopt++/OptionSet.h src/OptionSet.cc

2003-12-10 11:36:01 GMT Robert Collins <rbtcollins@hotmail.com> patch-7

    Summary:
      remove OptionState class
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-7

    modified files:
     include/getopt++/OptionSet.h src/OptionSet.cc

2003-12-10 11:32:33 GMT Robert Collins <rbtcollins@hotmail.com> patch-6

    Summary:
      remove OptionStateFinder class
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-6

    modified files:
     src/OptionSet.cc

2003-12-10 06:52:51 GMT Robert Collins <rbtcollins@hotmail.com> patch-5

    Summary:
      use up option values that are in the next argv slot
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-5

    modified files:
     src/OptionSet.cc

2003-12-10 06:47:33 GMT Robert Collins <rbtcollins@hotmail.com> patch-4

    Summary:
      support step by step parsing - using non options to switch 'mode'
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-4

    modified files:
     include/getopt++/OptionSet.h src/OptionSet.cc
     tests/OptionSet.cc

2003-12-10 04:37:57 GMT Robert Collins <rbtcollins@hotmail.com> patch-3

    Summary:
      deprecate the DefaultOptionSet approach for chaining options
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-3

    modified files:
     include/getopt++/BoolOption.h include/getopt++/Option.h
     include/getopt++/OptionSet.h include/getopt++/StringOption.h
     src/BoolOption.cc src/OptionSet.cc src/StringOption.cc
     tests/BoolOptionTest.cc tests/OptionSet.cc tests/testoption.cc

2003-12-10 04:01:28 GMT Robert Collins <rbtcollins@hotmail.com> patch-2

    Summary:
      remove getopt logic
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-2

    removed files:
     include/.arch-ids/cdefs.h.id include/.arch-ids/getopt.h.id
     include/cdefs.h include/getopt.h src/.arch-ids/getopt.c.id
     src/getopt.c

    modified files:
     Makefile.am configure.in include/getopt++/DefaultFormatter.h
     include/getopt++/OptionSet.h include/getopt++/StringOption.h
     src/BoolOption.cc src/StringOption.cc

2003-12-10 03:50:09 GMT Robert Collins <rbtcollins@hotmail.com> patch-1

    Summary:
      add test case, and reimplement getopt from scratch
    Revision:
      libgetoptplusplus--own-getopt--1.0--patch-1

    new files:
     tests/.arch-ids/OptionSet.cc.id tests/OptionSet.cc

    modified files:
     Makefile.am include/getopt++/BoolOption.h
     include/getopt++/DefaultFormatter.h include/getopt++/Option.h
     include/getopt++/OptionSet.h include/getopt++/StringOption.h
     src/BoolOption.cc src/OptionSet.cc src/StringOption.cc

2003-12-09 06:32:21 GMT Robert Collins <rbtcollins@hotmail.com> base-0

    Summary:
      initial import
    Revision:
      libgetoptplusplus--own-getopt--1.0--base-0

    (automatically generated log message)

    new files:
     COPYING ChangeLog Makefile.am README bootstrap.sh configure.in
     include/cdefs.h include/getopt++/BoolOption.h
     include/getopt++/DefaultFormatter.h
     include/getopt++/GetOption.h include/getopt++/Option.h
     include/getopt++/OptionSet.h include/getopt++/StringOption.h
     include/getopt.h src/BoolOption.cc src/GetOption.cc
     src/Option.cc src/OptionSet.cc src/StringOption.cc
     src/getopt.c tests/BoolOptionTest.cc tests/optioniterator.cc
     tests/testoption.cc

20 years agoadd a BoolOption testcase
Robert Collins [Thu, 27 Nov 2003 13:17:34 +0000 (13:17 +0000)]
add a BoolOption testcase

20 years ago2003-11-16 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 16 Nov 2003 10:06:46 +0000 (10:06 +0000)]
2003-11-16 Robert Collins  <rbtcollins@hotmail.com>

* src/OptionSet.cc (OptionSet::Process): Call the default optionset
if one is supplied and no options are in the default.

20 years ago2003-11-2 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 2 Nov 2003 08:40:50 +0000 (08:40 +0000)]
2003-11-2  Robert Collins  <rbtcollins@hotmail.com>

* ControlAdjuster.h (ControlPosition::CP_MIDDLE): Rename to
CP_CENTERED.
* ControlAdjuster.cc: Ditto.

20 years ago2003-10-31 Frank Richter <frichter@gmx.li>
Robert Collins [Sat, 1 Nov 2003 07:23:47 +0000 (07:23 +0000)]
2003-10-31  Frank Richter  <frichter@gmx.li>

* localdir.cc (OnNext): When SelectDirectoryA() fails, display a
message with the error returned from the system instead of just
'could not change dir'. Also, offer the user to 'Retry', 'Ignore' the
error or 'Abort' the directory change.

20 years ago2003-10-31 Frank Richter <frichter@gmx.li>
Robert Collins [Sat, 1 Nov 2003 07:21:28 +0000 (07:21 +0000)]
2003-10-31  Frank Richter  <frichter@gmx.li>

* propsheet.cc (PropSheetWndProc): Don't do child resizing if a the
window gets minimized. Otherwise some glitches (e.g. wrong child
sizes) occur.
Added support for WM_GETMINMAXINFO. Prevents the property sheet from
getting smaller than the original size.

20 years ago2003-11-1 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 1 Nov 2003 07:04:39 +0000 (07:04 +0000)]
2003-11-1  Robert Collins  <rbtcollins@hotmail.com>

        * ControlAdjuster.h (ControlDimension): Add.
        (ControlAdjuster): Factor adjust functionality into ControlInfo.
        * ControlAdjuster.cc (ControlAdjuster::adjust): Ditto.
        (ControlAdjuster::ControlInfo::adjust): Ditto.

20 years ago2003-10-31 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Robert Collins [Sat, 1 Nov 2003 05:58:46 +0000 (05:58 +0000)]
2003-10-31  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* ControlAdjuster.h (ControlPosition): New enum type.
(ControlInfo::horizontalPos, ControlInfo::verticalPos): New
instance variables.
(ControlInfo::anchorLeft, ControlInfo::anchorTop,
ControlInfo::anchorRight, ControlInfo::anchorBottom): Remove.
* ControlAdjuster.cc (ControlAdjuster::AdjustControls): Switch to
using position specifiers instead of anchors.
* choose.cc (ChooserControlsInfo): Ditto.
* proppage.cc (DefaultControlsInfo): Ditto.
* propsheet.cc (PropSheetControlsInfo): Ditto.
* site.cc (SiteControlsInfo): Position specifiers for site
selection dialog controls.
* threebar.cc (ThreeBarControlsInfo): Position specifiers for
progress dialog controls.

20 years ago2003-10-27 Ralf Habacker <ralf.habacker@freenet.de>
Robert Collins [Mon, 27 Oct 2003 19:49:46 +0000 (19:49 +0000)]
2003-10-27  Ralf Habacker  <ralf.habacker@freenet.de>

* main.cc (HelpOption): New instance.
(main): Added help command line option handling.
* localdir.cc (LocalDirOption): New instance.
(LocalDirSetting::load): allow setting localdir from command line.

20 years ago2003-10-16 Frank Richter <frichter@gmx.li>
Robert Collins [Sun, 26 Oct 2003 19:38:30 +0000 (19:38 +0000)]
2003-10-16  Frank Richter  <frichter@gmx.li>

* ControlAdjuster.cc: New file, helper to move elements of a dialog
along when the it's resized.
* ControlAdjuster.h: Ditto.
* Makefile.am: Add new source files.
* proppage.cc (PropertyPage::DialogProc): Adjust some common
controls (Cygwin icon top right, separator below) when a page is
resized.
(PropertyPage::PropertyPage): Dito.
* propsheet.cc (IsDialog): New. Test whether a window is a dialog.
Used internally by resize logic.
(EnumPages): New. Used internally by resize logic: resizes the
property sheet's individual pages.
(PropSheetWndProc): New. Hook for the propery sheet window proc.
(PropSheetProc): More style tweaks, add maximize box and thick border
as well. Hook into the property sheet's window proc.
(PropSheet::AdjustPageSize): New. Adjust the metrics of a single page
to fit nicely into the property sheet. Part of resize logic.
* res.rc (All dialogs): The top-right Cygwin icon and top separator
now have IDs distinct from IDC_STATIC, so their metrics can be
adjusted upon a resize. Also, all those Cygwin icons are at the exact
same spot now.
* choose.cc (ChooserPage::ChooserPage): Now the controls on the
chooser page move/size when the page size is changed.
* choose.h: Dito.

20 years ago2003-10-23 Jerry D. Hedden <jerry@hedden.us>
Robert Collins [Sun, 26 Oct 2003 12:02:52 +0000 (12:02 +0000)]
2003-10-23  Jerry D. Hedden <jerry@hedden.us>

        * ConnectionSetting.cc (ConnectionSetting::load): Load proxysettings.
        (ConnectionSetting::save): Save proxy settings.

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.

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