* hash.c (hash_table_map): Allow deletion and change of the
element processed by MAPFUN.
(string_hash): Use the function from glib.
* hash.c (hash_table_remove): Rewrite to actually clear deleted
entries instead of just marking them as deleted.
Published in <sxsu23tvdur.fsf@florida.arsdigita.de>.
[svn] Fix retrieval of directories when initial CWD is not `/'.
Published in <sxsitkc709p.fsf@florida.arsdigita.de>.
* url.c (parseurl): Don't strip trailing slash when u->dir is "/"
because that strips the *leading* slash, thus forcing relative
FTP retrieval.
* ftp.c (getftp): Convert initial FTP directory from VMS to UNIX
notation for VMS servers.
(ftp_retrieve_dirs): Do not prepend '/' to f->name when
odir is an empty string.
[svn] Implement better sorting and matching of cookies.
Fix previously broken command-line options.
Published in <sxspuek9255.fsf@florida.arsdigita.de>.
[svn] Fix recursive FTP retrieval so that
`wget -r ftp://<username>:<password>@host/%2Fhome/hniksic/dir/'
works.
Published in <sxsk84ug8gt.fsf@florida.arsdigita.de>.
[svn] Remove VERY_LONG_FORMAT. Instead, define function very_long_to_string
for printing VERY_LONG_TYPE numbers.
Published in <sxsd7aqzqr7.fsf@florida.arsdigita.de>.
[svn] parse_uname() Would run past the end of the string if the
username was present, but the URL did not contain a slash, e.g.
http://foo:bar@myhost.
Reported by Christian Fraenkel.
[svn] Fix support for rfc850 time recognition on systems where strptime
format specs %a and %A are not the same.
Published in <49022.983849922@ideon.st.ryukoku.ac.jp>.
[svn] Make sure opt.dfp is rewound only on the first retrieval.
(See the code comment for a more detailed explanation.)
Published in <sxsy9tkqizz.fsf@florida.arsdigita.de>.
[svn] Don't clear dl_file_url_map and dl_url_file_map in recursive_retrieve.
Published in <sxsk856le2y.fsf@florida.arsdigita.de> under the subject
"Link conversion fix".
hniksic [Sat, 31 Mar 2001 02:20:16 +0000 (18:20 -0800)]
[svn] Committed my patch that makes HTTP code close its socket in premature
returns (before the body was drained). Published in
<sxsd7ayn0kt.fsf@florida.arsdigita.de>.
hniksic [Sat, 31 Mar 2001 02:05:54 +0000 (18:05 -0800)]
[svn] Record downloaded files and downloaded HTML files in all cases.
Published under the subject "Link conversion fix" in
<sxsn1a2n2zd.fsf@florida.arsdigita.de>.
dan [Tue, 27 Mar 2001 09:31:18 +0000 (01:31 -0800)]
[svn] configure.in: Christian Fraenkel's tests for -lcrypto and -lssl were in the
wrong order, causing a link failure if you're using libcrypto.a and libssl.a
rather than shared libraries. Also put in checks for -ldl, necessary since the
libcrypto shared library doesn't record its dependency on libdl.
dan [Tue, 27 Mar 2001 03:22:17 +0000 (19:22 -0800)]
[svn] TODO: -p should probably go "_two_ more hops" on <FRAMESET> pages.
wget.texi (Recursive Retrieval Options): Explained that you need
to use -r -l1 -p to get the two levels of requisites for a
<FRAMESET> page. Also made a few other wording improvements.
dan [Tue, 20 Mar 2001 13:54:49 +0000 (05:54 -0800)]
[svn] TODO: Oops. Hostless absolute link conversion _is_ working. My test that led
me to believe it wasn't was exposing a different bug -- URLs specified on the
commandline as opposed to being recursed to don't always get re-converted at the
end of the Wget run.
dan [Sat, 17 Mar 2001 14:21:19 +0000 (06:21 -0800)]
[svn] Linking with OpenSSL previously required the user to set up all the
appropriate -I, -L, and -R/-rpath flags in environment variables,
manually. Automated everything, including bundling libtool so we can
successfully link with the OpenSSL shared libraries on just about any
platform.
dan [Sat, 17 Mar 2001 02:01:53 +0000 (18:01 -0800)]
[svn] TODO: For some reason on 2000-11-19, Hrvoje removed the item about converting
hostless absolute links. That isn't working yet, so I've put the item back,
with a modified wording.
dan [Tue, 6 Mar 2001 01:20:58 +0000 (17:20 -0800)]
[svn] Add a --range parameter allowing you to explicitly specify a range of bytes to
get from a file over HTTP (FTP only supports ranges ending at the end of the
file, though forcibly disconnecting from the server at the desired endpoint
might be workable).
dan [Fri, 2 Mar 2001 01:46:23 +0000 (17:46 -0800)]
[svn] ChangeLog.README: Renamed from README.branches and added a note that Wget has
multiple ChangeLog files (currently ./ChangeLog, doc/ChangeLog, and
src/ChangeLog), since this is unusual and people have complained their patches
hadn't been applied after checking only the top-level ChangeLog.
hniksic [Thu, 1 Mar 2001 22:25:20 +0000 (14:25 -0800)]
[svn] Applied Jonas Jensen's patch to correctly calculate the number of bytes
in the first line of the download that.
Published in <sxsu25hioxj.fsf@florida.arsdigita.de>.
dan [Fri, 23 Feb 2001 23:37:55 +0000 (15:37 -0800)]
[svn] TODO: "Timestamps are sometimes not copied over on files retrieved by FTP."
removed. Hopefully all the failures I was seeing were due to the fact that it
wasn't documented that non-globbing, non-recursive FTP downloads need -N to get
the remote timestamp to be preserved.
dan [Fri, 23 Feb 2001 22:49:42 +0000 (14:49 -0800)]
[svn] wget.texi: Mentioned that .listing symlinked to /etc/passwd is not a security
hole, but that other files could be, so root shouldn't run wget in user dirs.
dan [Fri, 23 Feb 2001 21:31:54 +0000 (13:31 -0800)]
[svn] * po/*.po*: Updated after moving -nr to a different category.
* wget.texi: Moved -nr from "Recursive Retrieval Options" to "FTP Options" and
gave it a @cindex entry. Alphabetized FTP options by long option name.
* main.c (print_help): -nr belongs in "FTP options" section of --help output,
not "Recursive retrieval" section. Alphabetized FTP options by long option
name.
dan [Fri, 23 Feb 2001 02:09:36 +0000 (18:09 -0800)]
[svn] * configure.in: Look for perl and pod2man and make substitutions.
* Makefile.in (install): Do install.man if we have pod2man.
* Makefile.in: Make wget man page and install it if we have pod2man. Added some
missing '$(srcdir)/'s. Added missing dependencies on install targets
(allowing you to just do `make install' rather than forcing you to do `make &&
make install'). Also, Makefile rules should always use output file parameters
if available rather than redirecting stdout with '>', or you falsely satisfy
dependencies if the tool you're running is missing or fails -- fixed call of
texi2pod.pl that did this wrong.
* texi2pod.pl: Removed from CVS. Now automatically generated.
* texi2pod.pl.in: This new file is processed into texi2pod.pl, getting the
appropriate path to the Perl 5+ executable on this system and becoming
executable (CVS files, by contrast, don't arrive executable).
dan [Mon, 19 Feb 2001 23:22:48 +0000 (15:22 -0800)]
[svn] wget.texi (Download Options): Further improvement to --continue documentation --
explain interaction with -r and -N, mention usefulness for downloading new
sections of appended-to files, etc.
dan [Sat, 17 Feb 2001 05:26:34 +0000 (21:26 -0800)]
[svn] init.c (commands): Hack Kampbj?rn <hack@hackdata.com> discovered that
"httpsproxy" had been inserted into commands[] out of alphabetical order,
causing "BUG: unknown command `httpuser'".
hniksic [Sun, 11 Feb 2001 00:22:42 +0000 (16:22 -0800)]
[svn] Applied doc fixes from Jan's "realclean patch". The doc fixes
include the new texi2pod generator for creating the man page out
of Texinfo docs.
Published in <20010106184340.A14968@erwin.telekabel.at>.
hniksic [Sun, 11 Feb 2001 00:00:30 +0000 (16:00 -0800)]
[svn] Applied Jonas Jensen's download rate patch with my additions.
Published in <015b01c09084$ce2d9330$0100000a@bob> and
<sxspugq3xai.fsf@florida.arsdigita.de>.
hniksic [Sat, 10 Feb 2001 22:37:12 +0000 (14:37 -0800)]
[svn] Applied Tim Mooney's patch that fixes a build problem under Tru64.
Published in
<Pine.OSF.4.33.0102072244450.2714-100000@dogbert.cc.ndsu.NoDak.edu>.
hniksic [Sat, 10 Feb 2001 22:33:31 +0000 (14:33 -0800)]
[svn] Applied Christian Fraenkel's patch "custom certificate patch for wget-1.7+dev;
2nd try", published in <200102082132220160.00474E73@pop.gmx.net>.
It adds two options for custom certificates.
hniksic [Tue, 23 Jan 2001 14:27:40 +0000 (06:27 -0800)]
[svn] Changes according to Herold Heiko's instructions how to make alloca()
work under Windows: don't try to compile alloca.c, *and* don't forget
to include <malloc.h>.
Published in <sxsbssyibsu.fsf@florida.arsdigita.de>.