1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00
Commit Graph

246 Commits

Author SHA1 Message Date
hniksic
fb7a0e7a1a [svn] Updated Croatian translation. 2001-04-27 00:45:48 -07:00
hniksic
928232229c [svn] Updated. 2001-04-26 23:43:02 -07:00
hniksic
082aa5018e [svn] Add cookies.c to po/POTFILES.in. 2001-04-24 16:11:04 -07:00
hniksic
eae28f142d [svn] Commit various hash table changes:
* 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>.
2001-04-12 17:34:24 -07:00
hniksic
7d7f01eaa9 [svn] Replace zh.po with zh_TW.Big5.po, provided by Abel Cheung in
<Pine.LNX.4.30.0104050045480.819-200000@localhost>.
2001-04-10 22:44:08 -07:00
hniksic
6382983f9c [svn] Don't insist on strict ANSI mode of the compiler.
Published in <sxs8zlezpsu.fsf@florida.arsdigita.de>.
2001-04-05 20:11:24 -07:00
hniksic
7747b95480 [svn] Cosmetic changes. 2001-04-04 06:55:09 -07:00
hniksic
d5ae105505 [svn] Norwegian and Danish are Latin 1, not Latin 2. 2001-04-03 11:31:07 -07:00
hniksic
c6def234a8 [svn] New version of et.po. 2001-04-01 16:36:45 -07:00
hniksic
57d4abad60 [svn] New file es.po. 2001-04-01 14:40:34 -07:00
dan
f486b43c23 [svn] * {.,doc,src,util,windows}/Makefile.in: Moved top_builddir out of "User
configuration section" of top Makefile and analogous spot in others.

* po/Makefile.in.in: Previous addition of top_builddir to
  po/Makefile.in was bogus -- it's generated from po/Makefile.in.in.
2001-03-27 03:23:59 -08:00
dan
c34585205e [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.
2001-03-27 01:31:18 -08:00
dan
dad01cbe67 [svn] INSTALL: Updated to reflect --with-ssl's new optional parameter. 2001-03-27 00:13:19 -08:00
dan
c33a1f97fe [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.
2001-03-26 19:22:17 -08:00
dan
a6a681d846 [svn] MACHINES: Added rs6000-ibm-aix4.3.3.0. 2001-03-22 00:28:01 -08:00
dan
dfe125d357 [svn] MACHINES: Added armv4l-unknown-linux-gnu. 2001-03-21 21:52:24 -08:00
dan
f81e644ae3 [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.
2001-03-20 05:54:49 -08:00
dan
d41af5f52e [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.
2001-03-17 06:21:19 -08:00
dan
9c30964b86 [svn] Duh. Previously made two separate sections for changes on the same date.
Fixed.
2001-03-16 23:09:14 -08:00
dan
7410cc3799 [svn] Just reworded my previous entry. 2001-03-16 22:59:04 -08:00
dan
b0cfe4d870 [svn] * config.guess: Hadn't been updated since 1996 -- didn't work for
NetWinder ARM Linux system (among others).  Updated to 2001-03-16 vers.

* config.sub: Hadn't been updated since 1996 -- didn't work for
  NetWinder ARM Linux system (among others).  Updated to 2001-03-12 vers.
2001-03-16 22:50:14 -08:00
dan
7ed63bd4d6 [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.
2001-03-16 18:01:53 -08:00
dan
9ff02a8539 [svn] D'oh -- cut and paste error. Said Jan made a change I was making. 2001-03-12 19:55:10 -08:00
dan
8bf001f5d8 [svn] TODO: Only normal recursion should respect -np -- page-requisite recursion
should not.
2001-03-12 19:53:34 -08:00
janp
2a36d475db [svn] Removed an obsolete TODO item about adding VMS and MS FTP server support. 2001-03-08 15:11:51 -08:00
dan
c12d5e7522 [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).
2001-03-05 17:20:58 -08:00
dan
691601f81c [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.
2001-03-01 17:46:23 -08:00
dan
f9dd5e1d13 [svn] MACHINES: Explicitly tell people to send us config.guess output. 2001-02-28 21:01:26 -08:00
dan
fd963a79d1 [svn] TODO: Make "ftp://<host>/%2F<file>" cause an initial "CWD /". 2001-02-27 18:03:59 -08:00
dan
f55d94935a [svn] TODO: Re-use FTP connection if multiple URLs on one host specified. 2001-02-27 17:29:45 -08:00
dan
63ecb8215a [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.
2001-02-23 15:37:55 -08:00
dan
b6febbc84b [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.
2001-02-23 13:31:54 -08:00
dan
78f640443a [svn] NEWS: Note that Wget now has a man page again. 2001-02-23 12:47:18 -08:00
dan
2aa1d53fb2 [svn] * main.c (print_help): --help documentation for -N said it would re-download
files if they had the _same_ timestamp on server.

* po/*.po*: Updated after changing --help's description of -N.
2001-02-23 12:43:35 -08:00
dan
776d65e829 [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).
2001-02-22 18:09:36 -08:00
dan
ed2c2903f3 [svn] Cut & paste error -- forgot to change date. 2001-02-22 16:09:44 -08:00
dan
4586f490e5 [svn] TODO: Remove empty directories created due to --accept/--reject. 2001-02-22 15:51:01 -08:00
janp
8f60fda0fb [svn] Removed references to ftpparse sources. 2001-02-12 23:46:15 -08:00
hniksic
2f6cd9d698 [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>.
2001-01-23 06:27:40 -08:00
dan
42a80553f6 [svn] Hrvoje forgot to make a ChangeLog entry when added more 1.7-dev items to NEWS.
Did that for him and made a couple of minor formatting tweaks to NEWS.
2001-01-16 13:19:38 -08:00
dan
ec2d0207cf [svn] NEWS: Was not being maintained. Added some significant 1.7-dev stuff. 2001-01-15 16:50:00 -08:00
janp
32e731fa18 [svn] *** empty log message *** 2001-01-15 16:03:45 -08:00
dan
26ef854b23 [svn] If -c used with -N, check to make sure a file hasn't changed on the server
before "continuing" to download it (preventing a bogus hybrid file).
2001-01-11 20:51:59 -08:00
hniksic
ba25a43d21 [svn] Committed Adrian Aichner's Windows Makefile updates.
From <sxslmsijbgn.fsf@florida.arsdigita.de>.
2001-01-11 08:34:36 -08:00
dan
f84a94e913 [svn] Made clarifications and corrections to --continue's --help output and wget.texi
documentation.  Published in <200101100629.WAA09744@dilvish.speed.net>.
2001-01-09 22:51:51 -08:00
dan
552ba9c965 [svn] TODO: Add a "rollback" option to have --continue throw away a configurable
number of bytes at the end of a file before resuming download.  Apparently, some
stupid proxies insert a "transfer interrupted" string we need to get rid of.
2001-01-09 21:37:59 -08:00
dan
7140f393b2 [svn] When did the bug get fixed where recursive FTP would fail if logging in put
you in a directory other than "/"?  I don't see a src/ChangeLog entry for
it.  In any case, my testing shows that it's fixed in 1.7-dev, but TODO and
a comment in src/ftp.c were not changed to reflect this.
2001-01-09 20:17:06 -08:00
dan
86ee0537d5 [svn] TODO: If -c used on a file that's already completely downloaded, don't
re-download it (unless normal --timestamping processing would cause you to do
so).
2001-01-09 19:45:19 -08:00
dan
2204604381 [svn] README.cvs: Falsely claimed you only needed GNU autoconf to build from the CVS
sources.  You also need GNU gettext and texinfo.  I also did a bunch of general
re-writing of this file.
2001-01-06 02:15:58 -08:00
dan
cbe2ca1b80 [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.
2001-01-06 01:26:02 -08:00
dan
2aece99f0b [svn] TODO: We should make a simple man page referring to info doco. 2001-01-03 14:40:18 -08:00
hniksic
f579cd1691 [svn] Csaba's Watcom changes. 2001-01-03 07:14:02 -08:00
dan
67bfa88fd8 [svn] 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-31 04:45:42 -08:00
dan
54992c64a9 [svn] Need to write these in such that the pre-1.6 release changes appear to have
occurred on the right date.
2000-12-31 04:09:55 -08:00
dan
f4d82ed3f6 [svn] * 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.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.  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.
2000-12-31 04:05:29 -08:00
dan
f105b3e43f [svn] Changed my address from dan-wget@dilvish.speed.net to wget@harkless.org
everywhere -- dilvish will probably be going away soon.
2000-12-31 03:18:37 -08:00
hniksic
9a4fcf6a68 [svn] Updated. 2000-12-09 18:23:47 -08:00
hniksic
649c599e0e [svn] Add a dummy Makefile.in. 2000-12-09 17:55:43 -08:00
hniksic
c9ccd27730 [svn] Applied Karl Eichwalder's patches.
<20001125153354.51087DD2DC@tux.gnu.franken.de>
<20001125165332.92862DD2DB@tux.gnu.franken.de>
2000-12-05 15:56:34 -08:00
hniksic
7828e81c79 [svn] Committed C. Frankel's SSL patch. 2000-12-05 15:09:41 -08:00
hniksic
916cb86723 [svn] Determine ALL_LINGUAS dynamically. 2000-11-23 13:41:37 -08:00
hniksic
b0b1c815c1 [svn] A bunch of new features:
- use mmap() to read whole files in core instead of allocating memory
  and read'ing it.

- use a new, more general, HTML parser (html-parse.c) and interface to
  it from Wget (html-url.c).

- respect <meta name=robots content=nofollow> (easy with the new HTML
  parser).

- use hash tables instead of linked lists in places where the lists
  were used to facilitate mappings.

- rewrite the code in host.c to be more readable and faster (hash
  tables instead of home-grown lists.)

- make convert_links properly convert partial URLs to complete ones
  for those URLs that have *not* been downloaded.

- use HTTP persistent connections where available.  very
  simple-minded, caches the last connection to the server.

Published in <sxshf533d5r.fsf@florida.arsdigita.de>.
2000-11-19 12:50:10 -08:00
hniksic
ccf31643ab [svn] vsnprintf() fixup. 2000-11-16 08:37:49 -08:00
hniksic
2097b8beaf [svn] Compile in vsnprintf.c under Windows.
Published by Herold Heiko in
<412FC0AFD62ED31191B40008C7E9A11A2AABF0@srvnt04.previnet.it>.
2000-11-16 01:52:45 -08:00
hniksic
268ac1fc7f [svn] Another contributed fix. 2000-11-01 16:21:53 -08:00
hniksic
29cdc8da20 [svn] Updated long_to_string(); enhanced opt.downloaded to use
64-bit types where available.
Published in <sxswvenqsmn.fsf@florida.arsdigita.de> and
<sxssnpbqshp.fsf@florida.arsdigita.de>.
2000-11-01 13:51:25 -08:00
dan
5f96643297 [svn] NEWS: Hrvoje pointed out that relative URL grokking deserves mention. 2000-10-30 20:24:14 -08:00
dan
24c465b5ad [svn] retr.c (retrieve_url): Manually applied T. Bharath
<TBharath@responsenetworks.com>'s patch to get wget to grok illegal relative URL
redirects.  Reformatted and re-commented it.
2000-10-27 20:18:20 -07:00
dan
4d925ebc24 [svn] NEWS: Forgot to update regarding new --bind-address option. 2000-10-24 15:41:32 -07:00
dan
71994021f3 [svn] TODO: Generalize --html-extension to something like --mime-extension. 2000-10-20 16:20:24 -07:00
dan
d9dd14a995 [svn] * AUTHORS: Added -E to thst list of my stuff.
* TODO: We need to check the HTTP spec w.r.t. simplification of absolute URLs.

* MAILING-LIST: I didn't realize <wget@sunsite.auc.dk> allowed posting by
  non-subscribers.  <bug-wget@gnu.org> soon to be an alias for it.

* NEWS: Always forget to update this file when making user-vis. changes.
2000-10-20 15:29:42 -07:00
dan
6dd2357558 [svn] TODO: -k needs to convert '?' to "%3F" in links to saved files containing the
'?' character (e.g. CGI output).
2000-10-20 14:44:26 -07:00
dan
b77a3437a8 [svn] Added Polish and Russian message translation files. 2000-10-20 00:20:55 -07:00
dan
da17e06a1e [svn] TODO: Make -I and -X allow an optional hostname before the directory name?
When simplifying paths, wget needs to stop at any '?' character.
2000-10-19 23:06:03 -07:00
dan
b3e2c0ff97 [svn] Implemented and documented new -E / --html-extension / html_extension option. 2000-10-19 22:55:46 -07:00
dan
de7c00c095 [svn] TODO: Add option to save local filenames without extra %-encoding. 2000-10-18 23:29:20 -07:00
dan
cbf018d0c0 [svn] --retr-symlinks was not previously documented properly. Based on my newfound
understanding of what its limitations are, added a TODO item.  Also made a minor
tweak in html.c to silence a warning.
2000-10-09 15:43:11 -07:00
dan
2358c437c5 [svn] TODO: Make wget follow (illegal) relative URL HTTP redirects. 2000-09-25 17:42:50 -07:00
dan
737daec8e6 [svn] TODO: Make wget return nonzero in situations like bad HTTP auth. 2000-09-25 15:09:25 -07:00
dan
86ac3fdcbd [svn] * 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-30 14:07:40 -07:00
dan
7931200609 [svn] * *.{gmo,po,pot}: Regenerated after modifying wget --help output.
* 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 <A>, <AREA>, or <LINK> tags other than
<LINK REL="stylesheet">.

* 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.

* wget.texi (Recursive Retrieval Options): Documented new -p option.
2000-08-30 04:26:21 -07:00
dan
93146c9432 [svn] wget works on FreeBSD 4.x as well as the previously-mentioned 2.x. Changed
MACHINES entry to have a * in the version location.
2000-08-25 15:36:34 -07:00
dan
9ec2f1d31d [svn] * MACHINES: Alphabetized, changed "architectures" to "OSes and architecures",
added missing company names, removed needless ^L, made AIX entry more general
  to reflect my testing, removed the non-factual "this version of", and fixed
  some grammatical errors.
2000-08-25 15:23:22 -07:00
dan
88c07d546e [svn] TODO: -k should convert "hostless absolute" URLs, like <A HREF="/index.html">.
However, Brian McMahon <bm@iucr.org> wants the old incorrect behavior to still
be available as an option, as he depends on it to allow mirrors of his site to
send CGI queries to his original site, but still get graphics off of the mirror
site.  Perhaps this would be better dealt with by adding an option to tell -k
not to convert certain URLs patterns?
2000-07-21 16:16:10 -07:00
dan
fe387ce432 [svn] TODO: Timestamps are sometimes not copied over on files retrieved by FTP. 2000-05-24 13:29:18 -07:00
dan
6d218bc4ab [svn] TODO: Wget does not currently handle "fragment identifiers" (the part of a URL
starting with the '#' character) properly.
2000-05-22 19:40:09 -07:00
dan
b05feb3ae2 [svn] Damir Dzeko <ddzeko@zesoi.fer.hr> did not document his new --referer option.
Did so (--help output and wget.texi).  Also tweaked --help output for --execute.
2000-05-22 19:29:38 -07:00
dan
7c9156e74a [svn] * AUTHORS: Added myself to this file, as Hrvoje got confirmation of my FSF
copyright assignment.
2000-05-22 16:36:30 -07:00
dan
f7c83b6ee3 [svn] TODO: Make `-k' check for files that were downloaded in the past and convert
links to them in newly-downloaded documents.
2000-05-17 19:19:59 -07:00
dan
e5b8bc39c0 [svn] Forgot to update the ChangeLog when I added my three entries to the TODO
yesterday.
2000-04-06 14:55:02 -07:00
dan
1c083869b0 [svn] Previously forgot to add a note about new --follow-tags and -G / --ignore-tags. 2000-04-04 19:02:08 -07:00
dan
4454f6ce0a [svn] * 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.


* 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.


* 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-10 22:48:06 -08:00
dan
4331c39c9a [svn] Implemented the item I formerly had in the TODO: When -K and -N are used
together, we compare local file X.orig (if extant) against server file X.
Previously -k and -N were worthless in combination because the local converted
files always differed from the server versions.
2000-03-01 22:33:48 -08:00
dan
e0a58713f7 [svn] Upped version number from 1.5.3. to 1.5.3+dev. Because the development source
is available via anonymous CVS and desirable features are being added, it's
quite possible for end-users to be getting their hands on development versions.
They may report bugs, so if we don't change the version number, we'll have to
continually followup the statement "I'm using version 1.5.3" with the question
"The FTP archive or the CVS source?"  Better to just make this development
version have a unique number.  Once we're ready to actually release the next
version, we can up the version from 1.5.3+dev to 1.5.4, or 1.6, or whatever it
turns out to be (depending on how much development gets done).

Also made minor updates (dates, email addresses) to wget.texi.
2000-02-29 16:50:52 -08:00
dan
e5408e7db8 [svn] Implemented new -K / --backup-converted / backup_converted = on option. 2000-02-29 16:17:23 -08:00
kwget
31d6616c48 [svn] Initial revision 1999-12-01 23:42:23 -08:00