From cbe2ca1b8044d8268225c15f57a2a96a73b71ee9 Mon Sep 17 00:00:00 2001 From: dan Date: Sat, 6 Jan 2001 01:26:02 -0800 Subject: [PATCH] [svn] Here're the changes we agreed to on the wget mailing list regarding the multiple-branches ChangeLog problem. Note the new directories -- you'll need to do a cvs update -d. --- ChangeLog | 69 +- ChangeLog-branches/1.6_branch.ChangeLog | 385 ++ README.branches | 23 + doc/ChangeLog | 23 +- doc/ChangeLog-branches/1.6_branch.ChangeLog | 425 ++ src/ChangeLog | 136 +- src/ChangeLog-branches/1.6_branch.ChangeLog | 3903 +++++++++++++++++++ 7 files changed, 4837 insertions(+), 127 deletions(-) create mode 100644 ChangeLog-branches/1.6_branch.ChangeLog create mode 100644 README.branches create mode 100644 doc/ChangeLog-branches/1.6_branch.ChangeLog create mode 100644 src/ChangeLog-branches/1.6_branch.ChangeLog diff --git a/ChangeLog b/ChangeLog index 0dd42049..de1dad58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,66 +1,69 @@ +2001-01-06 Dan Harkless + + * ChangeLog: The '[Not in 1.6 branch.]'s were decided not to be + the best way to go about my aim. Removed them in favor of: + + * ChangeLog-branches/1.6_branch.ChangeLog: New file. + + * README.branches: Explains the 1.6_branch.ChangeLog files. + 2001-01-03 Dan Harkless * TODO: We should make a simple man page referring to info doco. 2000-12-31 Dan Harkless - * po/*.po: Changed the 'Project-Id-Version's from 1.6 to 1.7-dev. - - * ChangeLog: Since this flat file doesn't have multiple branches, - looking at the dates would make you think that things went into - 1.6 that actually just went into the 1.7-dev branch. Added "[Not - in 1.6 branch.]" where appropriate to clarify. - -2000-12-30 Dan Harkless - - * Makefile.in (dist, DISTFILES): Committed Karl Eichwalder - 's patch to not distribute CVS directories. - * README: Changed 1.5.3 in the FTP URL to 1.6. + * NEWS: Released Wget version 1.6. + * po/*.po: 'Project-Id-Version's were very haphazard, saying either "wget" or "GNU wget", and with versions of 1.5.2-b[124], 1.5.3, the nonexistent 1.5.4, and 1.6-pre. Standardized all to - "GNU Wget 1.6". Perhaps this is wrong to do because some of the - translations haven't been updated since the versions they state, - but I know some of the files were updated specifically for 1.6, - and none of them used this version. In any case, the - 'POT-Creation-Date's and 'PO-Revision-Date's remain the best - indicator of whether a translation's out of date. + "GNU Wget 1.7-dev". Perhaps this is wrong to do because some of + the translations haven't been updated since the versions they + state, but I know some of the files were updated specifically for + 1.6, and none of them used this version (unless you count the sole + "1.6-pre" guy). In any case, the 'POT-Creation-Date's and + 'PO-Revision-Date's remain the best indicator of whether a + translation's out of date. + + * ChangeLog: Since this flat file doesn't have multiple branches, + looking at the dates would make you think that things went into + 1.6 that actually just went into the 1.7-dev branch. Added "[Not + in 1.6 branch.]" where appropriate to clarify. - * NEWS: Released Wget version 1.6. - 2000-12-18 Csaba Raduly * windows/Makefile.watcom: Updated. 2000-12-10 Hrvoje Niksic - * po/POTFILES.in: Updated. [Not in 1.6 branch.] + * po/POTFILES.in: Updated. 2000-12-10 Hrvoje Niksic - * configure.in: Add windows/Makefile to the output block. [Not in - 1.6 branch.] + * configure.in: Add windows/Makefile to the output block. - * windows/Makefile.in: New file. [Not in 1.6 branch.] + * windows/Makefile.in: New file. 2000-11-25 Karl Eichwalder - * Makefile.in (SUBDIRS): Add 'windows'. [Not in 1.6 branch.] - + * Makefile.in (SUBDIRS): Add 'windows'. + (dist, DISTFILES): Don't distribute CVS directories. + 2000-12-05 Hrvoje Niksic * configure.in: Don't unconditionally define HAVE_SSL, even when - --with-ssl is given. [Not in 1.6 branch.] + --with-ssl is given. 2000-12-03 Christian Fraenkel - * INSTALL: Added the --with-ssl switch. [Not in 1.6 branch.] + * INSTALL: Added the --with-ssl switch. - * configure.in: Ditto. [Not in 1.6 branch.] + * configure.in: Ditto. - * TODO: Removed the corresponding entry. [Not in 1.6 branch.] + * TODO: Removed the corresponding entry. 2000-11-23 Hrvoje Niksic @@ -68,7 +71,7 @@ 2000-11-10 Hrvoje Niksic - * configure.in: Test for MMAP. [Not in 1.6 branch.] + * configure.in: Test for MMAP. 2000-11-16 Hrvoje Niksic @@ -103,7 +106,7 @@ 2000-10-20 Dan Harkless * TODO: -k needs to convert '?' to "%3F" in links to saved files - containing the '?' character (e.g. CGI output). Also, we need to + containing the '?' character (e.g. CGI output). Also, we need to check the HTTP spec w.r.t. simplification of absolute URLs. Generalize --html-extension to something like --mime-extension. @@ -154,7 +157,7 @@ 2000-08-25 Dan Harkless * MACHINES: Alphabetized, changed "architectures" to "OSes and - architecures", added missing company names, removed needless ^L, + architectures", added missing company names, removed needless ^L, made AIX and FreeBSD entries more general to reflect successful use on those platforms by myself and others, removed the non-factual "this version of", and fixed some grammatical errors. diff --git a/ChangeLog-branches/1.6_branch.ChangeLog b/ChangeLog-branches/1.6_branch.ChangeLog new file mode 100644 index 00000000..42b983c9 --- /dev/null +++ b/ChangeLog-branches/1.6_branch.ChangeLog @@ -0,0 +1,385 @@ +2000-12-30 Dan Harkless + + * Makefile.in (dist, DISTFILES): Committed Karl Eichwalder + 's patch to not distribute CVS directories. + + * README: Changed 1.5.3 in the FTP URL to 1.6. + + * po/*.po: 'Project-Id-Version's were very haphazard, saying + either "wget" or "GNU wget", and with versions of 1.5.2-b[124], + 1.5.3, the nonexistent 1.5.4, and 1.6-pre. Standardized all to + "GNU Wget 1.6". Perhaps this is wrong to do because some of the + translations haven't been updated since the versions they state, + but I know some of the files were updated specifically for 1.6, + and none of them used this version. In any case, the + 'POT-Creation-Date's and 'PO-Revision-Date's remain the best + indicator of whether a translation's out of date. + + * NEWS: Released Wget version 1.6. + +2000-11-23 Hrvoje Niksic + + * configure.in: Build ALL_LINGUAS dynamically. + +2000-11-16 Hrvoje Niksic + + * windows/config.h.ms: snprintf and vsnprintf exist under Windows. + + * windows/Makefile.src: Back out previous change. + +2000-11-16 Herold Heiko + + * windows/Makefile.src: Compile in vsnprintf.c. + +2000-11-02 Matthew Seaman + + * util/rmold.pl: Various fixes. + +2000-11-01 Hrvoje Niksic + + * configure.in: Check for size of long and long long. + +2000-10-30 Dan Harkless + + * NEWS: Hrvoje pointed out that relative URL grokking deserves mention. + +2000-10-27 Dan Harkless + + * TODO: wget now groks illegal relative URL HTTP redirects. + +2000-10-24 Dan Harkless + + * NEWS: Forgot to update regarding new --bind-address option. + +2000-10-20 Dan Harkless + + * TODO: -k needs to convert '?' to "%3F" in links to saved files + containing the '?' character (e.g. CGI output). Also, we need to + check the HTTP spec w.r.t. simplification of absolute URLs. + Generalize --html-extension to something like --mime-extension. + + * MAILING-LIST: I didn't realize allowed posting + by non-subscribers. soon to be an alias for it. + + * NEWS: Always forget to update this file when making user-vis. changes. + +2000-10-19 Dan Harkless + + * TODO: -E / --html-extension / html_extension has been implemented. + Make -I and -X allow an optional hostname before the directory name? + When simplifying paths, wget needs to stop at any '?' character. + + * configure.in: Put "it" language in proper alphabetical order and + added new languages "pl" and "ru". + + * po/pl.{gmo,po}: Added Grzegorz Kowal 's + Polish message translation file. + + * po/ru.{gmo,po}: Added Const Kaplinsky 's + Russian message translation file. + +2000-10-16 Dan Harkless + + * TODO: Add option to save local filenames without extra %-encoding. + +2000-10-09 Dan Harkless + + * TODO: --retr-symlinks should cause wget to traverse links to dirs too. + +2000-09-25 Dan Harkless + + * TODO: Make wget return nonzero in situations like bad HTTP + auth. Make wget follow (illegal) relative URL HTTP redirects. + +2000-08-30 Dan Harkless + + * po/*.{gmo,po,pot}: Regenerated after modifying wget --help output. + + * MACHINES: Previously said to send updates to "me" (Hrvoje) -- + now says to email the mailing list or bug-wget@gnu.org. + + * MAILING-LIST: Added mention of bug-wget@gnu.org. + + * NEWS: Added --waitretry and --page-requisites. + +2000-08-25 Dan Harkless + + * MACHINES: Alphabetized, changed "architectures" to "OSes and + architecures", added missing company names, removed needless ^L, + made AIX and FreeBSD entries more general to reflect successful + use on those platforms by myself and others, removed the + non-factual "this version of", and fixed some grammatical errors. + +2000-07-21 Dan Harkless + + * TODO: But Brian McMahon wants old behavior as an option. + +2000-07-19 Dan Harkless + + * TODO: -k should convert "hostless absolute" URLs, like "/index.html". + +2000-05-24 Dan Harkless + + * TODO: Timestamps sometimes not copied over on files retrieved by FTP. + +2000-05-22 Dan Harkless + + * AUTHORS: Added myself to this file, as Hrvoje got confirmation + of my FSF copyright assignment. + + * TODO: Added note that fragment identifiers don't work properly. + + * po/*.{gmo,po,pot}: Regenerated after modifying wget --help output. + +2000-05-17 Dan Harkless + + * TODO: Make `-k' check for files that were downloaded in the past + and convert links to them in newly-downloaded documents. + +2000-04-05 Dan Harkless + + * TODO: Make -K only leave .orig files around when different. Add + an option to save all text/html files with .html extension. Allow + mirroring of FTP URLs where logging in puts you somewhere else + besides '/'. + +2000-04-04 Dan Harkless + + * NEWS (--follow-tags, -G / --ignore-tags): Forgot to mention + these new options when I added them. + +2000-03-10 Dan Harkless + + * TODO: Removed done item: we now have an option (-G) that makes + it easy to download a single HTML document and all its constituents. + + * po/*.{gmo,po,pot}: Regenerated after adding new options. + + * po/hr.po: Hrvoje forgot '\n's on his translations of my altered + messages, causing msgfmt to balk and `make install' to fail. + +2000-03-01 Dan Harkless + + * NEWS (-K): Now possible to use -N with -k thanks to this option. + + * TODO: Removed the -K / -N interaction item. + +2000-02-29 Dan Harkless + + * NEWS (-K / --backup-converted): Mentioned this new option. + +2000-02-18 Dan Harkless + + * TODO: When -K is used with -N, check local X.orig against server X. + +1998-06-23 Dave Love + + * configure.in (exext): Define. + +1998-06-06 Hrvoje Niksic + + * configure.in: Check for access(). + +1998-05-20 Hrvoje Niksic + + * po/hr.po: Some fixes, as per suggestions by Francois Pinard. + +1998-05-19 Dominique Delamarre + + * po/fr.po: New file. + +1998-05-19 Toomas Soome + + * po/et.po: Updated. + +1998-05-11 Simos KSenitellis + + * po/el.po: New file. + +1998-05-09 Hrvoje Niksic + + * aclocal.m4 (WGET_WITH_NLS): Print available catalogs. + +1998-05-09 Toomas Soome + + * po/et.po: New file. + +1998-05-06 Douglas E. Wegscheid + + * configure.bat: set up for either Borland or Visual C + + * windows/wget.dep: new file + + * windows/Makefile.*: use wget.dep + + * rename windows/Makefile.bor to Makefile.src.bor + +1998-05-06 Douglas E. Wegscheid + + * windows/makefile.bor: Updated. + + * windows/Makefile.src: Ditto. + +1998-04-30 Douglas E. Wegscheid + + * windows/config.h.bor: New file. + + * windows/makefile.bor: New file. + +1998-04-27 John Burden + + * windows/Makefile.*: Cleanup. + +1998-04-27 Gregor Hoffleit + + * configure.in: Check for PID_T. + +1998-04-19 Giovanni Bortolozzo + + * po/it.po: Updated. + +1998-04-19 Jan Prikryl + + * po/cs.po: Updated. + +1998-04-19 Wanderlei Cavassin + + * po/pt_BR.po: Updated. + +1998-04-08 Stefan Hornburg + + * Makefile (dist): New target. + +1998-04-08 Wanderlei Cavassin + + * po/pt_BR.po: Updated. + +1998-04-04 Hrvoje Niksic + + * aclocal.m4 (WGET_WITH_NLS): Renamed USE_NLS to HAVE_NLS. + + * ABOUT-NLS: Removed. + + * Makefile.in (stamp-h): Clean up stamp-h-related dependencies. + Don't attempt to write to stamp-h.in. + + * aclocal.m4 (WGET_PROCESS_PO): Reset srcdir to ac_given_srcdir. + +1998-04-03 Hrvoje Niksic + + * Makefile.in (distclean-top): Remove stamp-h. + +1998-04-02 Robert Schmidt + + * po/no.po: New file. + +1998-04-01 Hrvoje Niksic + + * configure.in: New option `--disable-debug'. + +1998-03-31 Hrvoje Niksic + + * configure.in: Check for endianness. + +1998-03-29 Hrvoje Niksic + + * aclocal.m4 (WGET_PROCESS_PO): Use echo instead of AC_MSG_RESULT. + +1998-03-28 Hrvoje Niksic + + * aclocal.m4 (WGET_WITH_NLS): Disable USE_NLS if gettext is + unavailable. + + * aclocal.m4: Renamed AM_STRUCT_UTIMBUF to WGET_STRUCT_UTIMBUF; + renamed AM_WITH_NLS to WGET_WITH_NLS. + + * aclocal.m4: Eliminate POSUBS. + +1998-03-17 Hrvoje Niksic + + * Makefile.in: config.h* -> src/config.h* + + * configure.in: Check for vsnprintf(). + + * po/POTFILES.in: Updated. + +1998-03-16 Hrvoje Niksic + + * po/POTFILES.in: Removed extraneous newline at end of line, which + caused an error in `Makefile' which Sun make choked on. + +1998-03-16 Jan Prikryl + + * po/cs.po: New file. + +1998-03-12 Wanderlei Cavassin + + * po/pt_BR.po: New file. + +1998-03-07 Hrvoje Niksic + + * PROBLEMS: New file. + +1998-02-22 Karl Eichwalder + + * po/Makefile.in.in (install-data-yes): Fix creation of + directories for LC_MESSAGE files. + +1998-02-22 Hrvoje Niksic + + * configure.in: Removed `-Wno-switch' for gcc. + + * po/Makefile.in.in (install-data-yes): Use mkinstalldirs to + create the directory first. + +1998-02-21 Karl Eichwalder + + * po/de.po: Updated. + +1998-02-19 Hrvoje Niksic + + * Makefile.in (check): New empty target. + +1998-02-11 Hrvoje Niksic + + * po/it.po: New file, by Antonio Rosella. + +1998-02-08 Hrvoje Niksic + + * aclocal.m4: Cleaned up. + + * po/hr.po: Updated. + + * configure.in: Removed check for POSIXized ISC. + +1998-02-08 Karl Eichwalder + + * po/de.po: Updated. + +1998-02-07 Karl Eichwalder + + * Makefile.in (install.info uninstall.info install.man + uninstall.man install.wgetrc): Use it. + + * Makefile.in (install.mo): New target. + +1998-02-03 Karl Eichwalder + + * po/POTFILES.in: Touch it (needed for NLS); add src/ftp.c, + src/getopt.c, src/host.c, src/html.c, src/http.c, src/init.c, + src/main.c, src/mswindows.c, src/netrc.c, src/recur.c, src/retr.c, + src/url.c, and src/utils.c. + + * intl/po2tbl.sed.in: Add from gettext-0.10.32 (needed for NLS). + + * po/Makefile.in.in: Add from gettext-0.10.32. + + * Makefile.in (SUBDIRS): Add po/. + + * configure.in (ALL_LINGUAS): New variable. Add "de" and "hr". + (AM_GNU_GETTEXT): Add. + (AC_OUTPUT): Add po/Makefile.in; run the sed command. + + * aclocal.m4 (AM_WITH_NLS, AM_GNU_GETTEXT, AM_LC_MESSAGES, + AM_PATH_PROG_WITH_TEST): from gettext-0.10.32. + diff --git a/README.branches b/README.branches new file mode 100644 index 00000000..5f9cabb7 --- /dev/null +++ b/README.branches @@ -0,0 +1,23 @@ +In late 2000, time constraints delayed the release of Wget 1.6. While +it was awaiting release, people had new features and other changes they +wanted added to the CVS archive, but these were deemed not safe to +introduce just before a release. + +The solution was to split the stable 1.6 off onto its own branch, while +free-wheeling development continued on the main branch (whose version +was changed from 1.5.3+dev to 1.7-dev). + +Unfortunately it's difficult to portray this branched development in the +flat ChangeLog file. Either you include 1.6-branch changes in the +1.7-branch ChangeLog, in which case it becomes impossible to tell what +release version a given change first went into Wget, just judging by +date and position in the ChangeLog, or you omit all 1.6-branch changes +from the 1.7-branch ChangeLog, in which case all evidence of the +existence of 1.6 (and further information about that branch) disappears +from future versions of Wget. + +The solution that was decided upon was to make a subdirectory called +ChangeLog-branches adjacent to each ChangeLog file. Inside is the +corresponding ChangeLog from the most recent release on the stable +branch (e.g. 1.6_branch.ChangeLog). This way, no information is lost +and there's no misleading information in the ChangeLog. diff --git a/doc/ChangeLog b/doc/ChangeLog index 428e9b29..4d8e8229 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,13 +1,11 @@ -2000-12-31 Dan Harkless +2001-01-06 Dan Harkless - * wget.texi: Changed "VERSION 1.6" to "VERSION 1.7-dev". - - * ChangeLog: Since this flat file doesn't have multiple branches, - looking at the dates would make you think that things went into - 1.6 that actually just went into the 1.7-dev branch. Added "[Not - in 1.6 branch.]" where appropriate to clarify. + * ChangeLog: The '[Not in 1.6 branch.]'s were decided not to be + the best way to go about my aim. Removed them in favor of: + + * ChangeLog-branches/1.6_branch.ChangeLog: New file. -2000-12-30 Dan Harkless +2000-12-31 Dan Harkless * Makefile.in (distclean): sample.wgetrc.munged_for_texi_inclusion needs to be included in the distribution or it'll get regenerated @@ -16,9 +14,14 @@ unnecessarily. We could use a kludge of a 0-length file in the distro, but the file isn't that big and should compress very well. - * wget.texi: Changed "VERSION 1.5.3+dev" to "VERSION 1.6" and + * wget.texi: Changed "VERSION 1.5.3+dev" to "VERSION 1.7-dev" and "UPDATED Feb 2000" to "UPDATED Dec 2000". Like the comment in the file says, it'd be nice if these were handled automatically... + + * ChangeLog: Since this flat file doesn't have multiple branches, + looking at the dates would make you think that things went into + 1.6 that actually just went into the 1.7-dev branch. Added "[Not + in 1.6 branch.]" where appropriate to clarify. 2000-12-10 Hrvoje Niksic @@ -28,7 +31,7 @@ 2000-11-15 Hrvoje Niksic * wget.texi (Robots): Document that we now support the meta tag - exclusion. [Not in 1.6 branch.] + exclusion. 2000-11-16 Hrvoje Niksic diff --git a/doc/ChangeLog-branches/1.6_branch.ChangeLog b/doc/ChangeLog-branches/1.6_branch.ChangeLog new file mode 100644 index 00000000..195bc776 --- /dev/null +++ b/doc/ChangeLog-branches/1.6_branch.ChangeLog @@ -0,0 +1,425 @@ +2000-12-30 Dan Harkless + + * Makefile.in (distclean): sample.wgetrc.munged_for_texi_inclusion + needs to be included in the distribution or it'll get regenerated + due to the wget.info dependency, and then that file will get + regenerated, forcing people to have makeinfo installed + unnecessarily. We could use a kludge of a 0-length file in the + distro, but the file isn't that big and should compress very well. + + * wget.texi: Changed "VERSION 1.5.3+dev" to "VERSION 1.6" and + "UPDATED Feb 2000" to "UPDATED Dec 2000". Like the comment in the + file says, it'd be nice if these were handled automatically... + +2000-12-10 Hrvoje Niksic + + * Makefile.in (install.info): Info files are *not* in $(srcdir), + but in the current build dir. + +2000-11-16 Hrvoje Niksic + + * wget.texi: Use --- consistently. + Spell "Wget" with starting capital letter consistently. + Use ``...'' or @dfn{} instead of simple double quotes where + appropriate. + Use double space as separator between sentences consistently. + +2000-11-15 Hrvoje Niksic + + * wget.texi (Robots): Rearrange text. Mention the meta tag. + +2000-11-14 Hrvoje Niksic + + * wget.texi: Add GFDL; remove norobots specification. + + * wget.texi (Sample Wgetrc): Remove warnings with lateish + makeinfo, mostly by changing xref{} to pxref{} when inside + parentheses. + +2000-11-10 Hrvoje Niksic + + * wget.texi: cc.fer.hr -> srk.fer.hr. + +2000-11-05 Hrvoje Niksic + + * Makefile.in (sample.wgetrc.munged_for_texi_inclusion): Use $(srcdir). + +2000-11-05 Hrvoje Niksic + + * wget.texi: Updated names of contributors. + +2000-10-23 Hrvoje Niksic + + * wget.texi (HTTP Options): Remove Netscape bullying. + +2000-10-23 Dan Harkless + + * wget.texi (Recursive Retrieval Options): Improved --delete-after docs. + (Download Options): Documented Rob Mayoff's new --bind-address option. + (Wgetrc Commands): Documented Rob Mayoff's new bind_address command. + +2000-10-20 Dan Harkless + + * wget.texi (Recursive Retrieval Options): Sugg. -E on 1-page download. + +2000-10-19 Dan Harkless + + * wget.texi (HTTP Options): Documented my new -E / --html-extension. + (Wgetrc Commands): Documented my new html_extension option and + John Daily's "quad" values (which I renamed to "lockable + Boolean"). When I documented Damir Dzeko's --referer, I forgot to + add the .wgetrc equivalent; mentioned the "referrer" spelling issue. + +2000-10-09 Dan Harkless + + * wget.texi (FTP Options): --retr-symlinks wasn't documented properly. + +2000-08-30 Dan Harkless + + * wget.texi (Recursive Retrieval Options): Documented new -p option. + (Wgetrc Commands): Documented -p's equvialent, page_requisites. + +2000-08-23 Dan Harkless + + * wget.texi (Download Options): Using -c on a file that's already fully + downloaded results in an unchanged file and no second ".1" copy. + + * wget.texi (Logging and Input File Options): -B / --base was not + documented as a separate item, and the .wgetrc version was misleading. + + * wget.texi (Wgetrc Commands): Changed all instances of + ", the same as" to the more grammatical " -- the same as". + +2000-08-22 Dan Harkless + + * wget.texi (Download Options): --no-clobber's documentation was + severely lacking -- ameliorated the situation. Some of the + previously-undocumented stuff (like the multiple-file-version + numeric-suffixing) that's now mentioned for the first (and only) + time in the -nc documentation should probably be mentioned + elsewhere, but due to the way that wget.texi's hierarchy is laid + out, I had a hard time finding anywhere else appropriate. + +2000-07-17 Dan Harkless + + * wget.texi (HTTP Options): Minor clarification in "download a + single HTML page and all files necessary to display it" example. + +2000-05-22 Dan Harkless + + * wget.texi (HTTP Options): Damir Dzeko did + not document his new --referer option. Did so. + +2000-04-18 Dan Harkless + + * sample.wgetrc: Realized I put a global setting in the local section. + +2000-04-13 Dan Harkless + + * Makefile.in (sample.wgetrc.munged_for_texi_inclusion): Added + build, dependencies, and distclean cleanup of this new file. + + * sample.wgetrc: Uncommented waitretry and set it to 10, clarified + some wording, and re-wrapped some text to 71 columns due to + @sample indentation in wget.texi. + + * wget.texi: Herold further expounded on the behavior of waitretry + -- reworded docs again. Changed note saying _all_ lines in + sample.wgetrc are commented out. Don't have an entire hand- + cut-and-pasted copy of sample.wgetrc in this file -- use @include. + +2000-04-12 Dan Harkless + + * Makefile.in (install.wgetrc): I completely missed the message + that the new wgetrc wasn't being installed the first couple of + times I ran `make install' after changing sample.wgetrc. Added + blank lines around the message and a "", and reworded the message to be a bit more clear. + + * sample.wgetrc: Added entries for backup_converted and waitretry. + + * wget.texi (Download Options and Wgetrc Commands): Herold Heiko + 's new --waitretry option was + undocumented until now. Reworded the suggested documentation he + sent to the list. + +2000-03-10 Dan Harkless + + * wget.texi (Recursive Retrieval Options): In -K description, + added a link to the discussion of interaction with -N. + (Recursive Accept/Reject Options): Did some alphabetizing and added + descriptions of new --follow-tags and -G / --ignore-tags options. + (Following Links): Changed "the loads of" to "loads of". + (Wgetrc Commands): Added descriptions of new follow_tags and + ignore_tags commands. + +2000-03-02 Daniel S. Lewart + + * wget.texi: Fix spelling and grammatical mistakes. + +2000-03-02 Hrvoje Niksic + + * wget.texi (Contributors): Update contributors list. + +2000-03-01 Dan Harkless + + * wget.texi (HTTP Time-Stamping Internals): Added a note about my + newly-implemented interaction between -K and -N. + +2000-02-29 Dan Harkless + + * wget.texi: Updated version to 1.5.3+dev, updated copyrights to + 2000, changed Hrvoje's old, invalid email address to his new one, + and added " and the developers" to the .texi file's byline. + +2000-02-18 Dan Harkless + + * wget.texi (Recursive Retrieval Options): Documented my new -K / + --backup-converted option. + (Wgetrc Commands): Documented backup_converted equivalent. + +1998-09-10 Hrvoje Niksic + + * wget.texi (HTTP Options): Warn against masquerading as Mozilla. + +1998-05-24 Hrvoje Niksic + + * Makefile.in (clean): Remove HTML files. + +1998-05-13 Hrvoje Niksic + + * wget.texi: Various updates. + (Proxies): New node. + +1998-05-09 Hrvoje Niksic + + * texinfo.tex: New file. + +1998-05-08 Hrvoje Niksic + + * Makefile.in (dvi): New target. + +1998-05-02 Hrvoje Niksic + + * wget.texi (Recursive Retrieval): Fix typo. Suggested by + Francois Pinard. + +1998-04-18 Hrvoje Niksic + + * wget.texi: Fixed @dircategory, courtesy Karl Eichwalder. + +1998-03-31 Hrvoje Niksic + + * Makefile.in: Don't attempt to (un)install the man-page. + +1998-03-30 Hrvoje Niksic + + * wget.1: Removed it. + +1998-03-29 Hrvoje Niksic + + * wget.texi (Invoking): Split into more sections, analogous to + output of `wget --help'. + (HTTP Options): Document --user-agent. + +1998-03-16 Hrvoje Niksic + + * wget.texi (Contributors): Updated with oodles of new names. + +1998-02-22 Karl Eichwalder + + * Makefile.in (install.info): only info files (no *info.orig, + etc.). + +1998-01-31 Hrvoje Niksic + + * Makefile.in (install.wgetrc): Don't use `!'. + +1998-01-28 Hrvoje Niksic + + * wget.texi (Advanced Options): Expanded. + +1998-01-25 Hrvoje Niksic + + * wget.texi (Advanced Options): Document `--cache'. + (Contributors): Added Brian. + +1997-07-26 Francois Pinard + + * Makefile.in (install.wgetrc): Print the sample.wgetrc warning + only if the files actually differ. + +1998-01-23 Hrvoje Niksic + + * Makefile.in: Use `test ...' rather than `[ ... ]'. + + * wget.texi (Advanced Options): Explained suffices. + +1998-01-23 Karl Heuer + + * wget.texi (Advanced Options): Updated. + +1997-12-18 Hrvoje Niksic + + * wget.texi (Mailing List): Update. + +1997-04-23 Hrvoje Niksic + + * wget.texi (Advanced Options): Document `--follow-ftp'. + +1997-02-17 Hrvoje Niksic + + * wget.texi (Advanced Options): Document --proxy-user and + --proxy-passwd. + +1997-02-14 Karl Eichwalder + + * Makefile.in (install.wgetrc): Never ever nuke an existing rc file. + +1997-02-02 Hrvoje Niksic + + * wget.texi: Updated and revised. + + * wget.texi (Contributors): Update. + (Advanced Options): Removed bogus **/* example. + + * wget.texi: Use ``...'' instead of "...". + +1997-02-01 Hrvoje Niksic + + * wget.texi (Domain Acceptance): Document --exclude-domains. + +1997-01-21 Hrvoje Niksic + + * wget.texi (Advanced Options): Document --ignore-length. + +1997-01-20 Hrvoje Niksic + + * wget.texi (Time-Stamping): New node. + +1997-01-12 Hrvoje Niksic + + * Makefile.in (distclean): Don't remove wget.info*. + +1997-01-08 Hrvoje Niksic + + * wget.texi (Mailing List): Update archive. + (Portability): Update the Windows port by Budor. + +1996-12-21 Hrvoje Niksic + + * wget.texi (Security Considerations): New node. + +1996-12-19 Hrvoje Niksic + + * wget.texi (Advanced Options): Document --passive. + +1996-12-12 Dieter Baron + + * wget.texi (Advanced Usage): Would reference prep instead of + wuarchive. + +1996-11-25 Hrvoje Niksic + + * wget.texi (Advanced Options): Documented --retr-symlinks. + +1996-11-23 Hrvoje Niksic + + * wget.texi (Advanced Options): Document --delete-after. + +1996-11-22 Hrvoje Niksic + + * wget.texi (Portability): Add IRIX and FreeBSD as the "regular" + platforms. + +1996-11-20 Hrvoje Niksic + + * wget.texi (Advanced Usage): Document dot-style. + +1996-11-18 Hrvoje Niksic + + * wget.texi (Advanced Usage): Dot customization example. + (Sample Wgetrc): Likewise. + +1996-11-16 Hrvoje Niksic + + * wget.texi (Wgetrc Syntax): Explained emptying lists. + +1996-11-13 Hrvoje Niksic + + * wget.texi (Advanced Options): Document includes/excludes. + (Wgetrc Commands): Likewise. + +1996-11-10 Hrvoje Niksic + + * wget.texi (Advanced Options): Document headers. + +1996-11-07 Hrvoje Niksic + + * sample.wgetrc: Added header examples. + +1996-11-06 Hrvoje Niksic + + * sample.wgetrc: Rewritten. + + * Makefile.in (install.wgetrc): Install sample.wgetrc. + (uninstall.info): Use $(RM). + +1996-11-06 Hrvoje Niksic + + * wget.texi: Docfixes. + +1996-11-03 Hrvoje Niksic + + * wget.texi: Proofread; *many* docfixes. + +1996-11-02 Hrvoje Niksic + + * wget.texi (Introduction): Updated robots mailing list address. + +1996-11-01 Hrvoje Niksic + + * wget.texi: Minor docfixes. + +1996-10-26 Hrvoje Niksic + + * wget.texi (Advanced Usage): Document passwords better. + + * Makefile.in (distclean): Remove wget.1 on make distclean. + + * wget.texi (Option Syntax): Explain --. + +1996-10-21 Hrvoje Niksic + + * fetch.texi (No Parent): update. + +1996-10-18 Hrvoje Niksic + + * fetch.texi (Advanced Options): Docfix. + +1996-10-17 Tage Stabell-Kulo + + * geturl.texi (Advanced Options): Sort alphabetically. + +1996-10-16 Hrvoje Niksic + + * geturl.texi (Advanced Options): Describe -nr. + (Advanced Usage): Moved -O pipelines to Guru Usage. + (Simple Usage): Update. + (Advanced Options): Docfix. + + * Makefile.in (RM): RM = rm -f. + +1996-10-15 Hrvoje Niksic + + * geturl.texi (Guru Usage): Add proxy-filling example. + +1996-10-12 Hrvoje Niksic + + * geturl.texi (Advanced Options): Added --spider. + +1996-10-08 Hrvoje Niksic + + * geturl.texi (Advanced Options): Added -X. + + * Makefile.in: Added $(srcdir) where appropriate (I hope). diff --git a/src/ChangeLog b/src/ChangeLog index 15e13ded..7be75e9d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2001-01-06 Dan Harkless + + * ChangeLog: The '[Not in 1.6 branch.]'s were decided not to be + the best way to go about my aim. Removed them in favor of: + + * ChangeLog-branches/1.6_branch.ChangeLog: New file. + 2001-01-04 Hrvoje Niksic * url.c (replace_attr): New function, to be used by both @@ -23,8 +30,6 @@ * ftp.c, http.c: Applied Hack Kampbjørn 's patch to deal with h_errno not being defined in netdb.h under Cygwin. - * version.c: Released Wget version 1.6. - 2000-12-17 Igor Khristophorov * http.c (check_end): Fix test for '+' or '-'. @@ -61,7 +66,7 @@ * mswindows.c: Include . - * gen_sslfunc.c: Include . [Not in 1.6 branch.] + * gen_sslfunc.c: Include . * ftp-basic.c: Don't attempt to declare errno or h_errno because they're not used. @@ -75,15 +80,14 @@ 2000-12-13 Hrvoje Niksic * html-parse.c (advance_declaration): MSVC assert() chokes on - '\"'. Use '"' instead. [Not in 1.6 branch.] + '\"'. Use '"' instead. 2000-12-11 Hrvoje Niksic * utils.c (xfree_real): Removed. (xfree_debug): Just call free(). - [Not in 1.6 branch.] - * wget.h (xfree): Make it an alias for free. [Not in 1.6 branch.] + * wget.h (xfree): Make it an alias for free. 2000-12-11 Hrvoje Niksic @@ -101,7 +105,6 @@ * http.c: Include gen_sslfunc.h after including Wget's headers. (persistent_available_p): Needed coma before `int ssl'. - [Not in 1.6 branch.] 2000-12-06 Hrvoje Niksic @@ -115,22 +118,20 @@ 2000-12-06 Hrvoje Niksic * rbuf.h: Implement only a single version of RBUF_READCHAR, using - rbuf_read_bufferful when the buffer is depleted. [Not in 1.6 branch.] + rbuf_read_bufferful when the buffer is depleted. - * rbuf.c (rbuf_read_bufferful): New function. [Not in 1.6 branch.] + * rbuf.c (rbuf_read_bufferful): New function. 2000-12-06 Hrvoje Niksic - * gen_sslfunc.h: Use ansi2knr style function declarations. [Not - in 1.6 branch.] + * gen_sslfunc.h: Use ansi2knr style function declarations. * gen_sslfunc.c: Reformat according to the GNU coding standards. - More should be done. [Not in 1.6 branch.] + More should be done. * http.c (persistent_available_p): Place the cheap SSL test nearer the top of the function. (CLOSE_FINISH, CLOSE_INVALIDATE): Define only one version of each. - [Not in 1.6 branch.] 2000-12-03 Christian Fraenkel @@ -165,8 +166,6 @@ * rbuf.c: Ditto. - [All above not in 1.6 branch.] - 2000-11-30 Jan Prikryl * ftp-ls.c (ftp_parse_unix_ls): Added second parameter @@ -176,21 +175,20 @@ (ftp_parse_ls): Parses UNIX and Windows NT listings separately. Simple heuristics for distinguishing between UNIX and MS-DOS-like FTP listing provided by Windows NT FTP service. - [Not in 1.6 branch.] 2000-12-05 Hrvoje Niksic * url.c (init_unsafe_char_table): Reinstate space as an unsafe - char. [Not in 1.6 branch.] + char. 2000-11-29 John Summerfield - * netrc.c (parse_netrc): Get rid of line ending. [Not in 1.6 branch.] + * netrc.c (parse_netrc): Get rid of line ending. 2000-11-25 Hrvoje Niksic * ftp.c (ftp_retrieve_list): Undo typo "fix" until resolution by - Dan. [Not in 1.6 branch.] + Dan. 2000-11-24 Karl Eichwalder @@ -204,32 +202,29 @@ (xfree_real): Ditto. (xrealloc_real): Ditto. (xstrdup_real): Ditto. - [Not in 1.6 branch.] 2000-11-22 Hrvoje Niksic * ftp.c (getftp): ftp_getaddress() returns a malloc'ed copy of the string; no need to strdup() it. - (getftp): Make pwd_len a local variable. [Not in 1.6 branch.] - (ftp_loop): Free PWD before returning. [Not in 1.6 branch.] + (getftp): Make pwd_len a local variable. + (ftp_loop): Free PWD before returning. * init.c (cleanup): Free opt.ftp_pass only if it's non-NULL. 2000-11-22 Hrvoje Niksic - * all: Use xfree() instead of free. [Not in 1.6 branch.] + * all: Use xfree() instead of free. - * utils.c (xfree): New function. [Not in 1.6 branch.] + * utils.c (xfree): New function. 2000-11-21 Hrvoje Niksic - * url.c (convert_links): HTML-quote the converted string. [Not in - 1.6 branch.] + * url.c (convert_links): HTML-quote the converted string. * utils.c (html_quote_string): Move here from ftp-ls.c (html_quote_string): Make non-static; declare in utils.h. (html_quote_string): Convert SP to . - [Not in 1.6 branch.] 2000-11-21 Hrvoje Niksic @@ -237,20 +232,18 @@ standards; remove (debugging?) printf's; use '\0' for the ASCII zero character. Use alloca() instead of malloc() for inter-function temporary allocations. - [Not in 1.6 branch.] 2000-11-18 Jan Prikryl - * ftpparse.c, ftpparse.h: New files. [Not in 1.6 branch.] + * ftpparse.c, ftpparse.h: New files. * ftp-ls.c (ftp_parse_ls): Use ftp_parse_unix_ls for UNIX servers only. Use ftp_parse_nonunix_ls otherwise. (ftp_parse_nonunix_ls): Stub to the ftpparse library handling all exotic FTP servers. - [Not in 1.6 branch.] * ftp.h (stype): New enum, distinguishes UNIX, VMS, and "other" - FTP servers. [Not in 1.6 branch.] + FTP servers. * ftp.c: New static wariables host_type, pwd, and pwd_len. (getftp): Support for VMS. Support for FTP servers that do not @@ -258,14 +251,12 @@ (ftp_retrieve_list): VMS is silent about the real file size, issue a more appropriate message. (ftp_get_listing): Pass host_type to ftp_parse_ls. - [Not in 1.6 branch.] - * ftp-basic.c (ftp_pwd, ftp_syst): New functions. [Not in 1.6 branch.] + * ftp-basic.c (ftp_pwd, ftp_syst): New functions. 2000-11-21 Hrvoje Niksic - * hash.c (hash_table_put): Don't overwrite deleted mappings. [Not - in 1.6 branch.] + * hash.c (hash_table_put): Don't overwrite deleted mappings. 2000-11-21 Hrvoje Niksic @@ -276,38 +267,33 @@ (hash_table_remove): Ditto. (hash_table_remove): Really delete the entry if the mapping following LOCATION is empty. - [Not in 1.6 branch.] * utils.c (string_set_add): Check whether the element has existed - before. [Not in 1.6 branch.] + before. - * hash.c (hash_table_get_pair): New function. [Not in 1.6 branch.] + * hash.c (hash_table_get_pair): New function. 2000-11-20 Hrvoje Niksic * http.c (http_process_type): Ignore trailing whitespace; use - strdupdelim(). [Not in 1.6 branch.] + strdupdelim(). * recur.c (recursive_retrieve): Use the new `convert' field. (convert_all_links): Ditto. (convert_all_links): Don't respect meta_disallow_follow. - [Not in 1.6 branch.] * html-url.c (handle_link): Fill out link_relative_p and - link_complete_p. [Not in 1.6 branch.] + link_complete_p. - * url.h (struct _urlpos): Make elements more readable. [Not in - 1.6 branch.] + * url.h (struct _urlpos): Make elements more readable. * recur.c (recursive_retrieve): Call slist_prepend instead of slist_append. (convert_all_links): Call slist_nreverse before iterating through urls_html. - [Not in 1.6 branch.] * utils.c (slist_prepend): New function. (slist_nreverse): Ditto. - [Not in 1.6 branch.] 2000-11-20 Hrvoje Niksic @@ -316,77 +302,72 @@ 2000-11-20 Hrvoje Niksic * http.c (http_loop): If username and password are known, try the - `Basic' authentication scheme by default. [Not in 1.6 branch.] + `Basic' authentication scheme by default. - * connect.h: Declare test_socket_open. [Not in 1.6 branch.] + * connect.h: Declare test_socket_open. 2000-11-20 Hrvoje Niksic - * version.c: Bump version to 1.7-dev. [Not in 1.6 branch.] + * version.c: Bump version from 1.5.3+dev to 1.7-dev. 2000-11-20 Hrvoje Niksic * http.c (gethttp): Don't use the return value of sprintf(). (gethttp): Inhibit keep-alive if opt.http_keep_alive is 0. - [Not in 1.6 branch.] 2000-11-20 Hrvoje Niksic * recur.c (recursive_retrieve): Print the "so we don't load" - debugging message only if we really don't load. [Not in 1.6 branch.] + debugging message only if we really don't load. * http.c (gethttp): Inhibit keep-alive if proxy is being used. (gethttp): Don't request keep-alive if keep-alive is inhibited. - [Not in 1.6 branch.] 2000-11-19 Hrvoje Niksic * http.c (gethttp): Make the HTTP persistent connections more - robust. [Not in 1.6 branch.] + robust. 2000-11-19 Hrvoje Niksic * retr.c (get_contents): If use_expected, make sure that the - appropriate amount of data is being read. [Not in 1.6 branch.] + appropriate amount of data is being read. * http.c (gethttp): Check for both `Keep-Alive: ...' and - `Connection: Keep-Alive'. [Not in 1.6 branch.] + `Connection: Keep-Alive'. * wget.h (DEBUGP): Call debug_logprintf only if opt.debug is - turned on. [Not in 1.6 branch.] + turned on. 2000-11-19 Hrvoje Niksic - * http.c (connection_available_p): Use it. [Not in 1.6 branch.] + * http.c (connection_available_p): Use it. - * connect.c (test_socket_open): New function. [Not in 1.6 branch.] + * connect.c (test_socket_open): New function. * http.c (gethttp): Support persistent connections. Based on the ideas, and partly on code, by Sam Horrocks . (register_persistent): New function. (connection_available_p): Ditto. (invalidate_connection): Ditto. - [Not in 1.6 branch.] 2000-11-19 Hrvoje Niksic - * url.c (convert_links): Handle UREL2ABS case. [Not in 1.6 branch.] + * url.c (convert_links): Handle UREL2ABS case. * recur.c (recursive_retrieve): Instead of the list urls_downloaded, use hash tables dl_file_url_map and dl_url_file_map. (convert_all_links): Use them to retrieve data. - [Not in 1.6 branch.] - * host.c (clean_hosts): Free the hash tables. [Not in 1.6 branch.] + * host.c (clean_hosts): Free the hash tables. - * main.c (private_initialize): Call host_init(). [Not in 1.6 branch.] + * main.c (private_initialize): Call host_init(). * host.c (store_hostaddress): Use a saner, hash table-based data model. (realhost): Ditto. (host_init): Initialize the hash tables. - [Not in 1.6 branch.] 2000-11-18 Hrvoje Niksic @@ -394,46 +375,39 @@ used for what the sorted slists used to be used for. (slist_contains): Don't rely on the list being sorted. (slist_append): Simplify the code. - [Not in 1.6 branch.] - * recur.c (recursive_cleanup): Use free_string_set. [Not in 1.6 - branch.] + * recur.c (recursive_cleanup): Use free_string_set. * utils.c (string_set_add, string_set_exists, string_set_free): New functions for easier freeing of hash tables whose keys are - strdup'ed strings. [Not in 1.6 branch.] + strdup'ed strings. * recur.c (recursive_retrieve): Use the hash table functions for - storing undesirable URLs. [Not in 1.6 branch.] + storing undesirable URLs. - * hash.c: New file. [Not in 1.6 branch.] + * hash.c: New file. 2000-11-17 Hrvoje Niksic * main.c (private_initialize): Call url_init. (main): Call private_initialize. - [Not in 1.6 branch.] * url.c (unsafe_char_table): New table. (UNSAFE_CHAR): Use it. (init_unsafe_char_table): New function. (url_init): New function; call init_unsafe_char_table. - [Not in 1.6 branch.] 2000-11-15 Hrvoje Niksic * html-url.c (handle_link): Handle HTML fragment identifiers. - [Not in 1.6 branch.] * recur.c (recursive_retrieve): If norobot info is respected and the file is specified not to be followed by robots, respect that. - [Not in 1.6 branch.] * html-url.c (collect_tags_mapper): Handle . For us the important cases are where X is NONE or where X contains NOFOLLOW. (get_urls_html): Propagate that information to the caller. - [Not in 1.6 branch.] 2000-11-13 Hrvoje Niksic @@ -441,38 +415,32 @@ before writing to it. (convert_links): Use alloca instead of malloc for filename_plus_orig_suffix. - [Not in 1.6 branch.] 2000-11-10 Hrvoje Niksic * url.c (get_urls_file): Ditto. (convert_links): Ditto. - [Not in 1.6 branch.] * html-url.c (get_urls_html): Use read_file() instead of - load_file(). [Not in 1.6 branch.] + load_file(). * utils.c (read_file): New function, instead of the old load_file(). (read_file_free): Ditto. - [Not in 1.6 branch.] * url.c (findurl): Search only for the supported protocols. (convert_links): Use fwrite() when writing out a region of characters. - [Not in 1.6 branch.] 2000-11-10 Hrvoje Niksic - * ftp-ls.c: Move html_quote_string and ftp_index here. [Not in - 1.6 branch.] + * ftp-ls.c: Move html_quote_string and ftp_index here. * url.c: Remove get_urls_html, since that's now in html-url.c. - [Not in 1.6 branch.] - * html-url.c: New file. [Not in 1.6 branch.] + * html-url.c: New file. - * html-parse.c: New file. [Not in 1.6 branch.] + * html-parse.c: New file. 2000-11-16 Hrvoje Niksic diff --git a/src/ChangeLog-branches/1.6_branch.ChangeLog b/src/ChangeLog-branches/1.6_branch.ChangeLog new file mode 100644 index 00000000..b1347883 --- /dev/null +++ b/src/ChangeLog-branches/1.6_branch.ChangeLog @@ -0,0 +1,3903 @@ +2000-12-30 Dan Harkless + + * ftp.c, http.c: Applied Hack Kampbjørn 's + patch to deal with h_errno not being defined in netdb.h under Cygwin. + + * version.c: Released Wget version 1.6. + +2000-12-17 Igor Khristophorov + + * http.c (check_end): Fix test for '+' or '-'. + +2000-12-17 Hrvoje Niksic + + * url.c (get_urls_html): Use xmalloc, not malloc. + + * url.c (parseurl): Rename inner loop var from i to ind to avoid + clash with the function top-level-declared variable i. + (str_url): Likewise, rename inner-loop i to j. + + * recur.c (parse_robots): Don't declare LEN at top of function. + (robots_match): Renamed parameter FORBIDDEN to avoid hiding of + global variable. + + * main.c (main): Change erroneous use of bitwise and to logical. + + * init.c (cmd_address): Don't heap-allocate `sin'; it can be on + the stack because it will be copied to closure. + + Thanks to Csaba Raduly's run of PC-LINT over the sources. + +2000-12-17 Hrvoje Niksic + + * http.c (basic_authentication_encode): Use xmalloc(), not + malloc(). Thanks to Csaba Raduly's run of PC-LINT over the + sources. + +2000-12-17 Csaba Raduly + + * sysdep.h: Test for __EMX__ rather than for EMXOS2 for OS/2 + compilation. + +2000-12-17 Hrvoje Niksic + + * mswindows.c: Include . + + * ftp-basic.c: Don't attempt to declare errno or h_errno because + they're not used. + + * main.c: Include because errno is used. + + * ftp.c: Ditto. + + * http.c: Include for h_errno. + +2000-12-11 Hrvoje Niksic + + * http.c (http_loop): Furthermore, touch output_document only if + it is known to be an existing regular file. + +2000-12-11 Hrvoje Niksic + + * ftp.c (ftp_retrieve_list): Ditto. + + * http.c (http_loop): Touch output_document if that is used for + output. + +2000-12-06 Hrvoje Niksic + + * ftp.c (ftp_loop_internal): Ditto. + + * http.c (http_loop): Use it. + + * retr.c (sleep_between_retrievals): New function that handles the + logic of opt.wait and opt.waitretry. + +2000-11-24 Karl Eichwalder + + * main.c (print_help): Untabify. + +2000-11-22 Hrvoje Niksic + + * ftp.c (getftp): ftp_getaddress() returns a malloc'ed copy of the + string; no need to strdup() it. + + * init.c (cleanup): Free opt.ftp_pass only if it's non-NULL. + +2000-11-20 Hrvoje Niksic + + * http.c (check_end): Constify. + +2000-11-20 Hrvoje Niksic + + * version.c: Bump version to 1.6-pre. + +2000-11-16 Hrvoje Niksic + + * mswindows.h: Define snprintf and vsnprintf to _snprintf and + _vsnprintf respectively. + +2000-11-15 Hrvoje Niksic + + * config.h.in: Do the _XOPEN_SOURCE and _SVID_SOURCE things only + on Linux. + +2000-11-12 Hrvoje Niksic + + * host.c (realhost): Add HOST to the list with quality==0 only if + it wasn't already there. + Based on analysis by Lu Guohan . + +2000-11-10 Hrvoje Niksic + + * init.c (run_wgetrc): Don't bother killing off '\r' since + pars_line() skips whitespace at end of line anyway. + (parse_line): Oops, it didn't. Now it does. + + * recur.c (parse_robots): Ditto here. + + * ftp-ls.c (ftp_parse_unix_ls): Kill off the newline character + manually because read_whole_line no longer does. + + * utils.c (read_whole_line): Rewrite to: a) use less memory + (reallocates to needed size after work), b) work faster --> + fgets() instead of getc, c) be more correct --> doesn't kill the + newline character at the end of line. + +2000-11-10 Hrvoje Niksic + + * init.c (comind): Initialize MAX to array size - 1. + +2000-11-08 Hrvoje Niksic + + * url.c (construct): Changed last_slash[-1] to *(last_slash - 1). + Suggested by Edward J. Sabol. + +2000-11-08 Hrvoje Niksic + + * url.c (construct): Handle the case where host name is not + followed by a slash. + +2000-11-06 Hrvoje Niksic + + * init.c: commands[] need to be sorted! ("base" wasn't.) + +2000-11-05 Hrvoje Niksic + + * wget.h (DO_REALLOC_FROM_ALLOCA): Use braces to disambiguate + `if'. + +2000-11-05 Hrvoje Niksic + + * url.c (construct): Insert unneeded initialization for the + compiler to shut up. + + * config.h.in: Define _XOPEN_SOURCE to 500 to get the prototype + for strptime() (*duh*). Define _SVID_SOURCE to get S_IFLNK which + otherwise gets lost when you define _XOPEN_SOURCE. + + * utils.c (touch): Include the file name in the error message. + From Debian. + +2000-11-05 Hrvoje Niksic + + * log.c (logvprintf): Use vsnprintf() in all cases. If necessary, + resize the buffer to fit the formated message. That way, messages + of arbitrary size may be printed. + (logvprintf): Use saved_append() to optionally log the last + several lines of output. + (logputs): Ditto. + (log_close): Adapt to new data structures. + (log_dump): Ditto. + (redirect_output): Print messages to stderr, not to stdout. + + * log.c (saved_append_1): New function. Replaces the old logging + system ("log all output until 10M characters") with a new, much + more reasonable one ("log last screenful of text"). + (saved_append): New function; call saved_append_1. + (free_log_line): New function. + +2000-11-05 Hrvoje Niksic + + * url.c (construct): Fix comment. + (find_last_char): Document. + +2000-11-04 Hrvoje Niksic + + * snprintf.c: New file. + +2000-11-03 Hrvoje Niksic + + * wget.h: If HAVE_STDARG_H is not defined, don't declare argument + types to logprintf() and debug_logprintf(). + +2000-11-02 Hrvoje Niksic + + * ftp.c (ftp_loop_internal): Hide the password from the URL when + printing non-verbose. Problem spotted by Dariusz Mlynarczyk + . + +2000-11-02 Junio Hamano + + * ftp-basic.c (ftp_login): Make comparison case-insensitive. + +2000-11-02 Tyler Riddle + + * http.c (known_authentication_scheme_p): Recognize NTML + authentication. + (create_authorization_line): Treat NTML the same as `Basic'. + +2000-11-02 Hrvoje Niksic + + * retr.c (retrieve_url): Free url before returning. + (retrieve_url): Free mynewloc before returning. + Spotted by Mark A. Mankins . + +2000-11-02 Hrvoje Niksic + + * url.c (parseurl): Remove possible reading past the end of + sup_protos[]. Spotted by Mark A. Mankins . + +2000-11-01 Hrvoje Niksic + + * main.c (main): In case of opt.downloaded overflowing, print + instead of a totally bogus random value. + + * retr.c (retrieve_from_file): Ditto. + + * recur.c (recursive_retrieve): Ditto. + + * main.c (main): Ditto. + + * http.c (http_loop): Ditto. + + * ftp.c (ftp_loop_internal): Use downloaded_increase() instead of + `+=', and downloaded_exceeds_quota() instead of the simple-minded + check. + (ftp_retrieve_list): Ditto. + (ftp_retrieve_dirs): Ditto. + (ftp_retrieve_glob): Ditto. + + * retr.c (downloaded_increase): New function. Notice overflows of + opt.downloaded. + (downloaded_exceeds_quota): Make sure that opt.downloaded is not + used if it overflowed. + + * options.h (struct options): New member downloaded_overflow. + +2000-11-01 Hrvoje Niksic + + * wget.h (enum): Remove extra space after last enumeration. + +2000-11-01 Hrvoje Niksic + + * main.c (main): Use legible_very_long() for printing + opt.downloaded. + + * utils.c (legible_1): New function that operates on strings and + does the brunt of legible()'s work. + (legible): Use legible_1(). + (legible_very_long): New function; dump the argument with + sprintf(), and call legible_1(). + + * options.h (struct options): Use VERY_LONG_TYPE for + opt.downloaded. + + * sysdep.h (VERY_LONG_TYPE): Define it to have a 64-bit or greater + type. + + * config.h.in: Make sure that SIZEOF_LONG and SIZEOF_LONG_LONG get + defined. Define HAVE_LONG_LONG if long long is available. + +2000-11-01 Hrvoje Niksic + + * utils.c (long_to_string): Update with a later, better version. + +2000-11-01 Hrvoje Niksic + + * url.c (path_simplify_with_kludge): New function. + (path_simplify_with_kludge): Disable it. Instead... + (parse_dir): ...make sure that at this point the right thing is + done, i.e. that "query" part of the URL (?...) is always assigned + to the file, never to the directory portion of the path. + +2000-11-01 Hrvoje Niksic + + * retr.c (retrieve_url): Detect redirection cycles. + +2000-11-01 Hrvoje Niksic + + * url.c (get_urls_html): Decode HTML entities using + html_decode_entities. + + * html.c (htmlfindurl): Don't count the `#' in numeric entities + (&#NNN;) as an HTML fragemnt. + (html_decode_entities): New function. + +2000-11-01 Hrvoje Niksic + + * html.c (htmlfindurl): Fix recognition of # HTML fragments. + +2000-11-01 Hrvoje Niksic + + * url.c (construct): Rewritten for clarity. Avoids the + unnecessary copying and stack-allocation the old version + performed. + +2000-10-31 Hrvoje Niksic + + * ftp.c (getftp): Ditto. + + * http.c (gethttp): Rewind the stream when retrying from scratch. + +2000-10-31 Hrvoje Niksic + + * retr.c (retrieve_url): Use url_concat() to handle relative + redirections instead of /ad hoc/ code. + + * url.c (url_concat): New function encapsulating weird + construct(). + (urllen_http_hack): New function. + (construct): When constructing new URLs, recognize that `?' does + not form part of the file name in HTTP. + +2000-10-13 Adrian Aichner + + * retr.c: Add msec timing support for WINDOWS. + * retr.c (reset_timer): GetSystemTime() on WINDOWS. + * retr.c (elapsed_time): Calculate delta time to msec on WINDOWS. + +2000-10-27 Dan Harkless + + * retr.c (retrieve_url): Manually applied T. Bharath + 's patch to get wget to grok + illegal relative URL redirects. Reformatted and re-commented it. + +2000-10-23 Dan Harkless + + * connect.c (make_connection and bindport): Manually applied Rob + Mayoff 's 1.5.3 patch to add --bind-address, + changing coding style to GNU's. + + * ftp.c (ftp_loop_internal): --delete-after wasn't implemented for + files downloaded via FTP. Per a comment, .listing files were not + counted towards number of bytes and files downloaded because they're + deleted anyway. Well, they aren't under -nr, so count them then. + + * init.c: Manually applied Rob Mayoff's 1.5.3 patch to add + --bind-address, alphabetizing, changing coding style to GNU's, + commenting, and renaming cmd_ip_address() to cmd_address() to + imply hostnames also okay. + + * main.c (main): --delete-after didn't delete the root of the + tree. Ignore --convert-links if --delete-after was specified. + Manually applied Rob Mayoff's 1.5.3 patch to add --bind-address, + fixing duplicate use of added-since-1.5.3 case value. + (print_help): Clarified that --delete-after deletes local files. + Rob forgot to add a line for his new --bind-address option. + + * options.h (struct options): Manually applied Rob Mayoff's patch + to add --bind-address (bind_address structure member). + + * recur.c (recursive_retrieve): Improved comment; added DEBUGP(). + Ignore --convert-links if --delete-after was specified. + + * retr.c (retrieve_from_file): Just added a DEBUGP(). + +2000-10-19 Dan Harkless + + * ftp.c (ftp_loop_internal): downloaded_file() enumerators changed. + (getftp): Applied Piotr Sulecki 's + patch to work around FTP servers that incorrectly respond to the + "REST" command with the remaining size rather than the total file size. + + * http.c (gethttp): Improved a comment and added code to tack on + ".html" to text/html files without that extension when -E specified. + (http_loop): Use new downloaded_file() enumerators and deal with + the case of gethttp() called xrealloc() on u->local. + + * init.c (commands): Added new "htmlextension" command. + Also renamed John Daily's cmd_quad() to the more descriptive + cmd_lockable_boolean(), alpha-sorted the CMD_DECLARE()s and + removed duplicate cmd_boolean() declaration. + + * main.c (print_help): Added my new -E / --html-extension option. + (main): Undocumented --email-address option previously used -E synonym. + Stole it away for the much more deserving --html-extension's use. + + * options.h (struct options): Added html_extension field. + + * url.c (convert_links): URL X that we saved as X.html locally due + to -E needs to be backed up as X.orig, not X.html.orig. Added comments. + (downloaded_file): Now remembers if we added .html extension to a file. + + * url.h (downloaded_file_t): Added extra enumerators to support above. + (downloaded_file): Now takes and returns a downloaded_file_t. + + * wget.h (unnamed "dt" enum): Added ADDED_HTML_EXTENSION enumerator. + +2000-10-09 Dan Harkless + + * html.c (htmlfindurl): Added unneeded initialization to quiet warning. + + * main.c (print_help): Clarified what --retr-symlinks does. + +2000-09-15 John Daily + + * init.c: Add support for "always" and "never" values to allow + .wgetrc to override commandline (useful e.g. with .pm files + calling `wget --passive-ftp' when your firewall doesn't allow that). + + * ftp.c (getftp): passive_ftp is first option to support always/never. + +2000-08-30 Dan Harkless + + * ftp.c (ftp_retrieve_list): Use new INFINITE_RECURSION #define. + + * html.c: htmlfindurl() now takes final `dash_p_leaf_HTML' parameter. + Wrapped some > 80-column lines. When -p is specified and we're at a + leaf node, do not traverse , , or tags other than + . + + * html.h (htmlfindurl): Now takes final `dash_p_leaf_HTML' parameter. + + * init.c: Added new -p / --page-requisites / page_requisites option. + + * main.c (print_help): Clarified that -l inf and -l 0 both allow + infinite recursion. Changed the unhelpful --mirrior description + to simply give the options it's equivalent to. Added new -p option. + (main): Added some comments; handle new -p / --page-requisites. + + * options.h (struct options): Added new page_requisites field. + + * recur.c: Changed "URL-s" to "URLs" and "HTML-s" to "HTMLs". + Calculate and pass down new `dash_p_leaf_HTML' parameter to + get_urls_html(). Use new INFINITE_RECURSION #define. + + * retr.c: Changed "URL-s" to "URLs". get_urls_html() now takes + final `dash_p_leaf_HTML' parameter. + + * url.c: get_urls_html() and htmlfindurl() now take final + `dash_p_leaf_HTML' parameter. + + * url.h (get_urls_html): Now takes final `dash_p_leaf_HTML' parameter. + + * wget.h: Added some comments and new INFINITE_RECURSION #define. + +2000-08-23 Dan Harkless + + * main.c (print_help): -B / --base was not mentioned. + +2000-08-22 Dan Harkless + + * main.c (print_help): Modified -nc description to mention that it + also prevents the creation of multiple versions of the same file + with "." suffixes. + +2000-07-14 Jan Prikryl + + * retr.c (retrieve_url): Consistently strdup opt.referer when + setting u->referer. + +2000-06-09 Dan Harkless + + * main.c (print_help): --help output for --waitretry was over 80 cols. + +2000-06-09 Hrvoje Niksic + + * url.c (encode_string): Fix comment. + Suggested by Herold Heiko . + +2000-06-01 Const Kaplinsky + + * ftp.c (ftp_retrieve_list): Change permissions only on plain + files. + +2000-06-01 Hrvoje Niksic + + * url.c (str_url): Print the port number only if it's different + from the default port number for that protocol. + +2000-05-22 Dan Harkless + + * main.c (print_help): Added --help line for Damir Dzeko + 's until-now-undocumented --referer option. + Removed comments that --referer and --waitretry were undocumented. + Changed "`.wgetrc' command" to "`.wgetrc'-style command" on --help + line for --execute. + +2000-05-18 Hrvoje Niksic + + * ftp.c (getftp): Ditto. + + * http.c (gethttp): Check for return value of fclose/fflush. + +2000-04-12 Hrvoje Niksic + + * host.c (store_hostaddress): Instead of shifting ADDR, start + copying from the correct address. + +2000-04-12 Hrvoje Niksic + + * http.c (gethttp): Don't free REQUEST -- it was allocated with + alloca(). + Pointed out by Gisle Vanem . + +2000-04-04 Dan Harkless + + * host.c (store_hostaddress): R. K. Owen's patch introduces a + "left shift count >= width of type" warning on 32-bit + architectures. Got rid of it by tricking the compiler w/ a variable. + + * url.c (UNSAFE_CHAR): The macro didn't include all the illegal + characters per RFC1738, namely everything above '~'. It also + generated a warning on OSes where char =~ unsigned char. Fixed. + +1998-10-17 Hrvoje Niksic + + * http.c (http_process_type): Removed needless strdup(), a memory + leak. + +1998-09-25 Hrvoje Niksic + + * html.c (htmlfindurl): Set PH to the first occurrence of `#'. + +1998-09-25 Simon Munton + + * init.c (wgetrc_file_name): Don't free HOME under Windows. + +1998-12-01 "R. K. Owen" + + * host.c (store_hostaddress): Fix for big endian 64-bit machines. + +1998-12-01 Hrvoje Niksic + + * url.c (UNSAFE_CHAR): New macro. + (contains_unsafe): Use it. + (encode_string): Ditto. + +1998-12-01 Hrvoje Niksic + + * main.c (i18n_initialize): Use LC_MESSAGES only if available. + +2000-03-31 Hrvoje Niksic + + * Use TOUPPER/TOLOWER. + +1998-12-22 Alexander V. Lukyanov + + * ftp-opie.c (btoe): Zero-terminate OSTORE. + +2000-03-21 Hrvoje Niksic + + * wget.h (DO_REALLOC_FROM_ALLOCA): Ditto. + + * sysdep.h (ISALNUM): New macro. + (TOLOWER): Ditto. + (TOUPPER): Ditto. + +2000-03-10 Dan Harkless + + * html.c (idmatch): Implemented checking of my new --follow-tags + and --ignore-tags options. + + * init.c (commands): Added comment reminding people adding new + entries doing allocation to add corresponding freeing in cleanup(). + (commands): Added new followtags and ignoretags commands. + (cleanup): Free storage for new followtags and ignoretags. + + * main.c: Use of "comma-separated list" was random -- normalized + it. Did some alphabetization. Added comments pointing out + "Options without arguments" and "Options accepting an argument" + sections of long_options[]. Added new options --follow-tags and + -G / --ignore-tags. Added comment that Damir's --referer is + currently undocumented. Added comment that Heiko's --waitretry is + partially undocumented (mentioned in --help but not in + wget.texi). Moved improperly sorted 24, 129, and 'G' cases. + + * options.h (struct options): Added new fields follow_tags and + ignore_tags. + + * wget.h: Added "#define EQ 0" so we can say "strcmp(a, b) == EQ". + +2000-03-02 Dan Harkless + + * ftp.c (ftp_loop_internal): Heiko introduced "suggest explicit + braces to avoid ambiguous `else'" warnings. Eliminated them. + + * http.c (gethttp): Dan Berger's query string patch is totally + bogus. If you have two different URLs, gen_page.cgi?page1 and + get_page.cgi?page2, they'll both be saved as get_page.cgi and the + second will overwrite the first. Also, parameters to implicit + CGIs, like "http://www.host.com/db/?2000-03-02" cause the URLs to + be printed with trailing garbage characters, and could seg fault. + Backing out the patch, which Dan B. informed me by email was just + a kludge to download StarOffice from Sun made necessary due to + wget's unconditional escaping of certain characters (room for an + option there?). + (http_loop): Heiko introduced "suggest explicit braces to avoid + ambiguous `else'" warnings. Eliminated them. + + * main.c: Heiko's --wait / --waitretry backwards compatibility + code looks to have been totally untested -- automatic variable + 'wr' was used without being initialized, and a long int was passed + into setval()'s char* val parameter. + + * recur.c (parse_robots): Applied Edward J. Sabol + 's patch for Guan Yang's reported + problem with "User-agent:*" lines in robots.txt. + + * url.c (parseurl, str_url): Removing Dan Berger's code (see + http.c above for explanation). + +1999-08-25 Heiko Herold + + * ftp.c: Respect new option waitretry. + +2000-01-30 Damir Dzeko + + * http.c (gethttp): Send custom Referer, if required. + +1999-09-24 Charles G Waldman + + * netrc.c (parse_netrc): Allow passwords to contain spaces. + + * netrc.c (parse_netrc): New function. + +1999-09-17 Dan Berger + + * http.c (gethttp): Send it. + + * url.c (parseurl): Detect query string in HTTP URL-s. + (str_url): Print it. + +2000-03-02 HIROSE Masaaki + + * html.c (html_allow): Add and