]> sjero.net Git - wget/blob - NEWS
[svn] Adjust bandwidth limitation sleep for the error of previous sleeps.
[wget] / NEWS
1 GNU Wget NEWS -- history of user-visible changes.
2
3 Copyright (C) 1997, 1998, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
4 See the end for copying conditions.
5
6 Please send GNU Wget bug reports to <bug-wget@gnu.org>.
7 \f
8 * Changes in Wget 1.9.
9
10 ** It is now possible to specify that POST method be used for HTTP
11 requests.  For example, `wget --post-data="id=foo&data=bar" URL' will
12 send a POST request with the specified contents.
13
14 ** IPv6 is experimentally supported.
15
16 ** The `--timeout' option now affects DNS lookup and establishing the
17 connection as well.  Previously it only affected reading and writing
18 data.
19
20 ** Download speed shown by the progress bar is based on the data
21 recently read, rather than the average speed of the entire download.
22 The ETA projection is still based on the overall average.
23
24 ** It is now possible to connect to FTP servers through FWTK
25 firewalls.  Set ftp_proxy to an FTP URL, and Wget will automatically
26 log on to the proxy as "username@host".
27
28 ** The new option `--retry-connrefused' makes Wget retry downloads
29 even in the face of refused connections, which are otherwise
30 considered a fatal error.
31
32 ** The new option `--dns-cache=off' may be used to prevent Wget from
33 caching DNS lookups.
34
35 ** Wget no longer escapes characters in local file names based on
36 whether they're appropriate in URLs.  Escaping can still occur for
37 nonprintable characters or for '/', but no longer for frequent
38 characters such as space.  You can use the new option
39 --restrict-file-names to relax or strengthen these rules, which can be
40 useful if you dislike the default or if you're downloading to
41 non-native partitions.
42
43 ** Handling of HTML comments has been dumbed down to conform to what
44 users expect and other browsers do: instead of being treated as SGML
45 declaration, a comment is terminated at the first occurrence of "-->".
46 Use `--strict-comments' to revert to the old behavior.
47
48 ** Wget now correctly handles relative URIs that begin with "//", such
49 as "//img.foo.com/foo.jpg".
50
51 ** Boolean options in `.wgetrc' and on the command line now accept
52 values "yes" and "no" along with the traditional "on" and "off".
53
54 ** It is now possible to specify decimal values for --timeout, --wait,
55 --waitretry, and --limit-rate.  For instance, `--wait=0.5' now
56 works as expected, and so does --limit-rate=2.5k.
57 \f
58 * Wget 1.8.2 is a bugfix release with no user-visible changes.
59 \f
60 * Wget 1.8.1 is a bugfix release with no user-visible changes.
61 \f
62 * Changes in Wget 1.8.
63
64 ** A new progress indicator is now available and used by default.
65 You can choose the progress bar type with `--progress=TYPE'.  Two
66 types are available, "bar" (the new default), and "dot" (the old
67 dotted indicator).  You can permanently revert to the old progress
68 indicator by putting `progress = dot' in your `.wgetrc'.
69
70 ** You can limit the download rate of the retrieval using the
71 `--limit-rate' option.  For example, `wget --limit-rate=15k URL' will
72 tell Wget not to download the body of the URL faster than 15 kilobytes
73 per second.
74
75 ** Recursive retrieval and link conversion have been revamped:
76
77 *** Wget now traverses links breadth-first.  This makes the
78 calculation of depth much more reliable than before.  Also, recursive
79 downloads are faster and consume *significantly* less memory than
80 before.
81
82 *** Links are converted only when the entire retrieval is complete.
83 This is the only safe thing to do, as only then is it known what URLs
84 have been downloaded.
85
86 *** BASE tags are handled correctly when converting links.  Since Wget
87 already resolves <base href="..."> when resolving handling URLs, link
88 conversion now makes the BASE tags point to an empty string.
89
90 *** HTML anchors are now handled correctly.  Links to an anchor in the
91 same document (<a href="#anchorname">), which used to confuse Wget,
92 are now converted correctly.
93
94 *** When in page-requisites (-p) mode, no-parent (-np) is ignored when
95 retrieving for inline images, stylesheets, and other documents needed
96 to display the page.
97
98 *** Page-requisites (-p) mode now works with frames.  In other words,
99 `wget -p URL-THAT-USES-FRAMES' will now download the frame HTML files,
100 and all the files that they need to be displayed properly.
101
102 ** `--base' now works conjunction with `--input-file', providing a
103 base for each URL and thereby allowing the URLs in the file to be
104 relative.
105
106 ** If a host has more than one IP address, Wget uses the other
107 addresses when accessing the first one fails.
108
109 ** Host directories now contain port information if the URL is at a
110 non-standard port.
111
112 ** Wget now supports the robots.txt directives specified in
113 <http://www.robotstxt.org/wc/norobots-rfc.txt>.
114
115 ** URL parser has been fixed, especially the infamous overzealous
116 quoting.  Wget no longer dequotes reserved characters, e.g. `%3F' is
117 no longer translated to `?', nor `%2B' to `+'.  Unsafe characters
118 which are not reserved are still escaped, of course.
119
120 ** No more than 20 successive redirections are allowed.
121 \f
122 * Wget 1.7.1 is a bugfix release with no user-visible changes.
123 \f
124 * Changes in Wget 1.7.
125
126 ** SSL (`https') pages now work if you compile Wget with SSL support;
127 use the `--with-ssl' configure flag.  You need to have OpenSSL
128 installed.
129
130 ** Cookies are now supported.  Wget will accept cookies sent by the
131 server and return them in later requests.  Additionally, it can load
132 and save cookies to disk, in the same format that Netscape uses.
133
134 ** "Keep-alive" (persistent) HTTP connections are now supported.
135 Using keep-alive allows Wget to share one TCP/IP connection for
136 many retrievals, making multiple-file downloads faster and less
137 stressing for the server and the network.
138
139 ** Wget now recognizes FTP directory listings generated by NT and VMS
140 servers.
141
142 ** It is now possible to recurse through FTP sites where logging in
143 puts you in some directory other than '/'.
144
145 ** You may now use `~' to mean home directory in `.wgetrc'.  For
146 example, `load_cookies = ~/.netscape/cookies.txt' works as you would
147 expect.
148
149 ** The HTML parser has been rewritten.  The new one works more
150 reliably, allows finer-grained control over which tags and attributes
151 are detected, and has better support for some features like correctly
152 skipping comments and declarations, decoding entities, etc.  It is
153 also more general.
154
155 ** <meta name="robots"> tags are now respected.
156
157 ** Wget's internal tables now use hash tables instead of linked lists
158 where appropriate.  This results in huge speedups when retrieving
159 large sites (thousands of documents).
160
161 ** Wget now has a man page, automatically generated from the Texinfo
162 documentation.  (The last version that shipped with a man page was
163 1.4.5).  To get this, you need to have pod2man from the Perl
164 distribution installed on your system.
165 \f
166 * Changes in Wget 1.6
167
168 ** Administrative changes.
169
170 *** Maintainership.  Due to Hrvoje being plagued with a "real job",
171 Dan Harkless is the most active maintainer (not that he doesn't have a
172 real job as well).  Hrvoje still participates occasionally, and both
173 are being helped by many other people.
174
175 *** Web page.  Thanks to Jan Prikryl, Wget has an "official" web page.
176 Take a look at:
177
178     http://sunsite.dk/wget/
179
180 *** Anonymous CVS.  Thanks to ever-helpful Karsten Thygesen, Wget
181 sources are now available at an anonymous CVS server.  Take a look at
182 the web page for downloading instructions.
183
184 ** New -K / --backup-converted / backup_converted = on option causes files
185 modified due to -k to be saved with a .orig prefix before being changed.  When
186 using -N as well, it is these .orig files that are compared against the server.
187
188 ** New --follow-tags / follow_tags = ... option allows you to restrict
189 Wget to following only certain HTML tags when doing a recursive
190 retrieval.  -G / --ignore-tags / ignore_tags = ... is just the
191 opposite -- all tags but the ones you specify will be followed.
192
193 ** New --waitretry / waitretry = SECONDS option allows waiting between retries
194 of failed downloads.  Wget will use "linear" backoff, waiting 1 second after the
195 first failure, 2 after the second, up to SECONDS.  waitretry is set to 10 by
196 default in the system wgetrc.
197
198 ** New -p / --page-requisites / page_requisites = on option causes
199 Wget to download all ancillary files necessary to display a given HTML
200 page properly (e.g. inlined images).
201
202 ** New -E / --html-extension / html_extension = on option causes Wget
203 to append ".html" to text/html filenames not ending in regexp
204 "\.[Hh][Tt][Mm][Ll]?".
205
206 ** New type of .wgetrc command -- "lockable Boolean".  Can be set to on, off,
207 always, or never.  This allows the .wgetrc to override the commandline.  So far,
208 passive_ftp is the only .wgetrc command which takes a lockable Boolean.
209
210 ** A number of new translation files have been added.
211
212 ** New --bind-address / bind_address = <address> option for people on hosts 
213 bound to multiple IP addresses.
214
215 ** wget now accepts (illegal per HTTP spec) relative URLs in HTTP redirects.
216 \f
217 * Wget 1.5.3 is a bugfix release with no user-visible changes.
218 \f
219 * Wget 1.5.2 is a bugfix release with no user-visible changes.
220 \f
221 * Wget 1.5.1 is a bugfix release with no user-visible changes.
222 \f
223 * Changes in Wget 1.5.0
224
225 ** Wget speaks many languages!
226
227 On systems with gettext(), Wget will output messages in the language
228 set by the current locale, if available.  At this time we support
229 Czech, German, Croatian, Italian, Norwegian and Portuguese.
230
231 ** Opie (Skey) is now supported with FTP.
232
233 ** HTTP Digest Access Authentication (RFC2069) is now supported.
234
235 ** The new `-b' option makes Wget go to background automatically.
236
237 ** The `-I' and `-X' options now accept wildcard arguments.
238
239 ** The `-w' option now accepts suffixes `s' for seconds, `m' for
240 minutes, `h' for hours, `d' for days and `w' for weeks.
241
242 ** Upon getting SIGHUP, the whole previous log is now copied to
243 `wget-log'.
244
245 ** Wget now understands proxy settings with explicit usernames and
246 passwords, e.g. `http://user:password@proxy.foo.com/'.
247
248 ** You can use the new `--cut-dirs' option to make Wget create less
249 directories.
250
251 ** The `;type=a' appendix to FTP URLs is now recognized.  For
252 instance, the following command will retrieve the welcoming message in
253 ASCII type transfer:
254
255     wget "ftp://ftp.somewhere.com/welcome.msg;type=a"
256
257 ** `--help' and `--version' options have been redone to to conform to
258 standards set by other GNU utilities.
259
260 ** Wget should now be compilable under MS Windows environment.  MS
261 Visual C++ and Watcom C have been used successfully.
262
263 ** If the file length is known, percentages are displayed during
264 download.
265
266 ** The manual page, now hopelessly out of date, is no longer
267 distributed with Wget.
268 \f
269 * Wget 1.4.5 is a bugfix release with no user-visible changes.
270 \f
271 * Wget 1.4.4 is a bugfix release with no user-visible changes.
272 \f
273 * Changes in Wget 1.4.3
274
275 ** Wget is now a GNU utility.
276
277 ** Can do passive FTP.
278
279 ** Reads .netrc.
280
281 ** Info documentation expanded.
282
283 ** Compiles on pre-ANSI compilers.
284
285 ** Global wgetrc now goes to /usr/local/etc (i.e. $sysconfdir).
286
287 ** Lots of bugfixes.
288 \f
289 * Changes in Wget 1.4.2
290
291 ** New mirror site at ftp://sunsite.auc.dk/pub/infosystems/wget/,
292 thanks to Karsten Thygesen.
293
294 ** Mailing list!  Mail to wget-request@sunsite.auc.dk to subscribe.
295
296 ** New option --delete-after for proxy prefetching.
297
298 ** New option --retr-symlinks to retrieve symbolic links like plain
299 files.
300
301 ** rmold.pl -- script to remove files deleted on the remote server
302
303 ** --convert-links should work now.
304
305 ** Minor bugfixes.
306 \f
307 * Changes in Wget 1.4.1
308
309 ** Minor bugfixes.
310
311 ** Added -I (the opposite of -X).
312
313 ** Dot tracing is now customizable; try wget --dot-style=binary
314 \f
315 * Changes in Wget 1.4.0
316
317 ** Wget 1.4.0 [formerly known as Geturl] is an extensive rewrite of
318 Geturl.  Although many things look suspiciously similar, most of the
319 stuff was rewritten, like recursive retrieval, HTTP, FTP and mostly
320 everything else.  Wget should be now easier to debug, maintain and,
321 most importantly, use.
322
323 ** Recursive HTTP should now work without glitches, even with Location
324 changes, server-generated directory listings and other naughty stuff.
325
326 ** HTTP regetting is supported on servers that support Range
327 specification. WWW authorization is supported -- try
328 wget http://user:password@hostname/
329
330 ** FTP support was rewritten and widely enhanced. Globbing should now
331 work flawlessly. Symbolic links are created locally. All the
332 information the Unix-style ls listing can give is now recognized.
333
334 ** Recursive FTP is supported, e.g.
335     wget -r ftp://gnjilux.cc.fer.hr/pub/unix/util/
336
337 ** You can specify "rejected" directories, to which you do not want to
338 enter, e.g. with wget -X /pub
339
340 ** Time-stamping is supported, with both HTTP and FTP. Try wget -N URL.
341
342 ** A new texinfo reference manual is provided.  It can be read with
343 Emacs, standalone info, or converted to HTML, dvi or postscript.
344
345 ** Fixed a long-standing bug, so that Wget now works over SLIP
346 connections.
347
348 ** You can have a system-wide wgetrc (/usr/local/lib/wgetrc by
349 default). Settings in $HOME/.wgetrc override the global ones, of
350 course :-)
351
352 ** You can set up quota in .wgetrc to prevent sucking too much
353 data. Try `quota = 5M' in .wgetrc (or quota = 100K if you want your
354 sysadmin to like you).
355
356 ** Download rate is printed after retrieval.
357
358 ** Wget now sends the `Referer' header when retrieving
359 recursively.
360
361 ** With the new --no-parent option Wget can retrieve FTP recursively
362 through a proxy server.
363
364 ** HTML parser, as well as the whole of Wget was rewritten to be much
365 faster and less memory-consuming (yes, both).
366
367 ** Absolute links can be converted to relative links locally. Check
368 wget -k.
369
370 ** Wget catches hangup, filtering the output to a log file and
371 resuming work. Try kill -HUP %?wget.
372
373 ** User-defined headers can be sent.  Try
374
375     wget http://fly.cc.her.hr/ --header='Accept-Charset: iso-8859-2'
376
377 ** Acceptance/Rejection lists may contain wildcards.
378
379 ** Wget can display HTTP headers and/or FTP server response with the
380 new `-S' option.  It can save the original HTTP headers with `-s'.
381
382 ** socks library is now supported (thanks to Antonio Rosella
383 <Antonio.Rosella@agip.it>). Configure with --with-socks.
384
385 ** There is a nicer display of REST-ed output.
386
387 ** Many new options (like -x to force directory hierarchy, or -m to
388 turn on mirroring options).
389
390 ** Wget is now distributed under GNU General Public License (GPL).
391
392 ** Lots of small features I can't remember. :-)
393
394 ** A host of bugfixes.
395 \f
396 * Changes in Geturl 1.3
397
398 ** Added FTP globbing support (ftp://fly.cc.fer.hr/*)
399
400 ** Added support for no_proxy
401
402 ** Added support for ftp://user:password@host/
403
404 ** Added support for %xx in URL syntax
405
406 ** More natural command-line options
407
408 ** Added -e switch to execute .geturlrc commands from the command-line
409
410 ** Added support for robots.txt
411
412 ** Fixed some minor bugs
413 \f
414 * Geturl 1.2 is a bugfix release with no user-visible changes.
415 \f
416 * Changes in Geturl 1.1
417
418 ** REST supported in FTP
419
420 ** Proxy servers supported
421
422 ** GNU getopt used, which enables command-line arguments to be ordered
423 as you wish, e.g.  geturl http://fly.cc.fer.hr/ -vo log is the same as
424 geturl -vo log http://fly.cc.fer.hr/
425
426 ** Netscape-compatible URL syntax for HTTP supported: host[:port]/dir/file
427
428 ** NcFTP-compatible colon URL syntax for FTP supported: host:/dir/file
429
430 ** <base href="xxx"> supported
431
432 ** autoconf supported
433 \f
434 ----------------------------------------------------------------------
435 Copyright information:
436
437 Copyright (C) 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
438
439    Permission is granted to anyone to make or distribute verbatim
440    copies of this document as received, in any medium, provided that
441    the copyright notice and this permission notice are preserved, thus
442    giving the recipient permission to redistribute in turn.
443
444    Permission is granted to distribute modified versions of this
445    document, or of portions of it, under the above conditions,
446    provided also that they carry prominent notices stating who last
447    changed them.