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

1515 Commits

Author SHA1 Message Date
Giuseppe Scrivano
706871e92e Do not define max twice. 2011-08-13 10:44:40 +02:00
Giuseppe Scrivano
24a76e1a8f Don't define snprintf and vsnprintf twice. 2011-08-13 10:43:43 +02:00
Giuseppe Scrivano
375d9ee3f7 css: do not include "wget.h" 2011-08-12 17:21:27 +02:00
Giuseppe Scrivano
3382df979c Use sigprocmask instead of sigsetmask. 2011-08-11 14:23:39 +02:00
Giuseppe Scrivano
f3c2686ef7 allow --with-libgnutls-prefix and --with-libssl-prefix. 2011-08-11 12:07:32 +02:00
Giuseppe Scrivano
76c651e3a1 gnutls: don't use gnutls_certificate_type_set_priority. 2011-08-11 10:32:44 +02:00
Giuseppe Scrivano
a73e3a914e Don't invoke hg to set version string. 2011-08-11 10:26:43 +02:00
Giuseppe Scrivano
228299b4f7 Fix a linker error on systems with an older gnutls version. 2011-08-10 21:35:59 +02:00
Jochen Roderburg
c25d0f6997 Ensure it doesn't print more IPs than available ones. 2011-08-06 23:28:42 +02:00
Giuseppe Scrivano
aed17cca14 Initialize show_all_dns_entries to false. 2011-08-06 22:28:31 +02:00
Giuseppe Scrivano
1f06428483 Introduce `show_all_dns_entries'. 2011-08-06 12:38:42 +02:00
Giuseppe Scrivano
1d9bb1c7b0 Use Cache-Control when --no-cache is specified. 2011-08-06 10:56:07 +02:00
Giuseppe Scrivano
9b21660d70 Accept always the file if it is the specified output destination. 2011-08-05 22:39:55 +02:00
Giuseppe Scrivano
c6cf57d215 gnutls: do not use a deprecated function. 2011-08-05 21:36:08 +02:00
Giuseppe Scrivano
473ec526d2 Maintain the cookie value quoted if it was in the server response. 2011-08-02 22:58:38 +02:00
Giuseppe Scrivano
0b5b100fc9 Exit immediately on a SIGPIPE error while logging. 2011-07-29 15:49:11 +02:00
Carlos Martín Nieto
e24571d336 Do not use PATH_MAX. 2011-07-26 12:49:44 +02:00
Giuseppe Scrivano
1e09ee5ea8 Do not register redirects when in spider mode. 2011-07-26 12:42:40 +02:00
Merinov Nikolay
37c85ecba3 Fix problem with IDN and UTF-8 encoding. 2011-07-26 09:27:08 +02:00
Giuseppe Scrivano
f90ca4e54a Parse URLs read from a file. 2011-06-08 11:32:34 +02:00
Giuseppe Scrivano
67d81d15a5 Fix ChangeLog entry. 2011-06-05 14:11:49 +02:00
Giuseppe Scrivano
00723a80f1 Define max 2011-05-24 11:13:04 +02:00
Adrien Nader
d7991738d6 Set stdout mode to binary under Windows. 2011-05-23 21:56:44 +02:00
Giuseppe Scrivano
3fb4d068a7 Avoid a small buffer when retrieving a file. 2011-05-23 20:27:42 +02:00
Giuseppe Scrivano
cd81370afe Fix error messages under Windows. 2011-05-23 20:24:20 +02:00
Ray Satiro
4a685764a8 Ensure sockets are not blocking after a select under Windows. 2011-05-15 21:59:50 +02:00
Ray Satiro
53427a9b76 openssl: Prevent loops on read errors. 2011-05-15 16:54:58 +02:00
Giuseppe Scrivano
ee6021a3b0 Fix GCC warnings. 2011-04-24 13:03:48 +02:00
Giuseppe Scrivano
df99868cb1 Update src/ChangeLog. 2011-04-24 12:57:18 +02:00
Daniel Manrique
0db305126b Set exit status when invalid host given 2011-04-23 15:31:41 -04:00
Giuseppe Scrivano
366dbedf1b gnutls: use the blocking socket. 2011-04-19 14:40:21 +02:00
Giuseppe Scrivano
87a176daa7 Use futimens instead of utimes. 2011-04-19 12:33:46 +02:00
Giuseppe Scrivano
a50931df8c Use mkdir module from gnulib. 2011-04-19 11:31:25 +02:00
Giuseppe Scrivano
179dacd735 Use utimes instead of utime. 2011-04-18 14:37:42 +02:00
Giuseppe Scrivano
1eb1e76e9a Fix build error. 2011-04-18 14:32:14 +02:00
Giuseppe Scrivano
8d764f3ac6 Use correctly FIONBIO values. 2011-04-17 13:07:01 +02:00
Giuseppe Scrivano
b0a3d43014 openssl: make openssl_peek non-blocking. 2011-04-13 13:57:37 +02:00
Cristian Rodrwuez
cbe8eb725b openssl: Use SSLv2 only when available. 2011-04-11 11:08:39 +02:00
Giuseppe Scrivano
c09d62159b Remove tight loop around gnutls_record_recv. 2011-04-07 12:56:51 +02:00
Giuseppe Scrivano
0424cb1aed Allow X509 v1 certificates. 2011-04-07 12:55:42 +02:00
Ray Satiro
96c3ec36c2 gnutls: Check for the GNUTLS_E_AGAIN return code. 2011-04-07 12:25:39 +02:00
Giuseppe Scrivano
d18b9749d9 Fix a bug recently introduced in wgnutls_peek. 2011-04-07 12:02:07 +02:00
Giuseppe Scrivano
6dca252c60 openssl: Retry to read if a non-blocking socket returns immediately. 2011-04-04 16:56:51 +02:00
Giuseppe Scrivano
4d564bd630 Ensure FD_TO_SOCKET is defined under Windows. 2011-04-04 16:46:38 +02:00
Giuseppe Scrivano
99e9291da3 Silent compiler warning under Windows. 2011-04-04 12:52:35 +02:00
Giuseppe Scrivano
1cba1a7659 Fix openssl detection under Windows. 2011-04-04 00:13:53 +02:00
Giuseppe Scrivano
b1acde223f Fix build under Windows. 2011-04-03 20:23:31 +02:00
Giuseppe Scrivano
ca244196f1 Make wgnutls_peek non blocking. 2011-04-03 02:15:22 +02:00
Giuseppe Scrivano
28db25933b Now --no-parent doesn't fetch wrong files if HTTP and HTTPS are used together. 2011-03-31 01:37:12 +02:00
Giuseppe Scrivano
1f883393c8 Add new line to some debug messages. 2011-03-31 00:51:35 +02:00
Giuseppe Scrivano
244b732e0a Silent compiler warning. 2011-03-21 13:41:41 +01:00
Giuseppe Scrivano
024683705d Silent compiler warning. 2011-03-21 13:14:20 +01:00
Giuseppe Scrivano
3a62674582 Fix some memory leaks. 2011-03-11 15:25:58 +01:00
Filipe Brandenburger
e219e587b3 Support HTTP/1.1 307 redirects keep request method. 2011-03-03 14:02:25 +01:00
Filipe Brandenburger
bb6a72caea Do not adjust the extension if the file ends in .htm. 2011-03-02 10:57:44 +01:00
Gilles Carry
09bc5b5787 Use stderr instead of stdout to prompt password. 2011-02-24 09:40:31 +01:00
Steven Schubiger
e076a6d39d Move duplicated code in http.c to a function 2011-02-23 10:37:48 +01:00
Filipe Brandenburger
e52cd21256 Initialize `total_downloaded_bytes'. 2010-12-10 23:55:54 +01:00
Giuseppe Scrivano
cdfd8a8e91 If -nc and -k are used at the same time, use only the latter 2010-12-09 13:27:17 +01:00
Jessica McKellar
8e742d05cf Make the help message clearer. 2010-12-07 10:46:42 +01:00
Giuseppe Scrivano
8c33c34bf6 Remove md5 from build info information. 2010-12-02 11:50:26 +01:00
Giuseppe Scrivano
9ae052b1e2 Remove redundant guard. 2010-12-01 13:15:13 +01:00
Giuseppe Scrivano
334a8e9027 Convert a static local buffer to be allocated dinamically. 2010-12-01 12:47:30 +01:00
Reza Snowdon
20a64d03d8 Exit immediately if the system config file cannot be parsed. 2010-11-29 15:24:48 +01:00
Giuseppe Scrivano
8aa378bd9e Revert 2444. 2010-11-22 18:04:42 +01:00
Giuseppe Scrivano
f97c9ac8e7 Fix typo in src/ChangeLog file. 2010-11-22 15:17:01 +01:00
Giuseppe Scrivano
2aa2a913c3 On a network error, attempt to resume the download, not restart it. 2010-11-21 22:56:20 +01:00
Giuseppe Scrivano
a2596ccf21 Fix an infinite loop with error message '<filename> has sprung into existence' 2010-11-19 17:14:21 +01:00
Reza Snowdon
8c7afaf3bb Implement --config. 2010-10-29 00:20:31 +02:00
Jessica McKellar
69fb378d59 Print the total download time as part of the summary for recursive downloads. 2010-10-24 21:45:30 +02:00
Giuseppe Scrivano
ea96533903 gnutls: Read correctly last chunk of data. 2010-10-24 01:21:01 +02:00
Giuseppe Scrivano
8405493e1d gnutls: fix build under mingw32. 2010-10-23 13:50:31 +02:00
Giuseppe Scrivano
b38c40b34e gnutls: peek blocks until data is available. 2010-10-23 12:34:49 +02:00
Giuseppe Scrivano
c5dc4d1664 Remove unnecessary code. 2010-10-21 13:27:31 +02:00
Manfred Koizar
cea1f0718d Do not assume external links type to be always "text/html". 2010-10-18 10:55:16 +02:00
Giuseppe Scrivano
542c549985 Silent warnings reported by clang. 2010-10-16 03:04:25 +02:00
Giuseppe Scrivano
7ae38d431e Fix indentation. 2010-10-11 22:49:14 +02:00
Steven Schubiger
af928aaaaa Fix compiler warning. 2010-10-11 22:46:00 +02:00
Ivanov Anton
62aab82ead Fixed crash while processing page with invalid `style' attribute. 2010-10-08 13:39:36 +02:00
Giuseppe Scrivano
62864cee6e Remove unused local variable. 2010-10-06 12:24:38 +02:00
Merinov Nikolay
b5c9573ad6 Add --unlink. 2010-09-29 13:34:09 +02:00
Dennis, CHENG Renquan
6230b73df0 Fix problem when content-disposition is used with recursive downloading. 2010-09-24 14:07:58 +02:00
Giuseppe Scrivano
6a5a964d7e Do not use HTML quoting in CSS files. 2010-09-14 12:14:34 +02:00
Giuseppe Scrivano
822a32d813 Align --trust-server-names help text. 2010-09-12 14:21:03 +02:00
Giuseppe Scrivano
6ce3d0cf12 Convert correctly URLs that need to be encoded to local files. 2010-08-20 03:11:07 +02:00
Giuseppe Scrivano
2107eb06ab Use persistent connections with proxies supporting them. 2010-08-09 12:56:49 +02:00
Giuseppe Scrivano
87ad80cacc Specify the connection header when keep alive connections are not used. 2010-08-09 12:32:04 +02:00
Giuseppe Scrivano
e6152f3265 css: Skip empty urls. 2010-08-06 17:07:17 +02:00
John Trengrove
e6b486fd93 ftp: display hour:minute information if it is available. 2010-08-01 22:55:53 +02:00
Giuseppe Scrivano
e095cc064e Fix a problem when -k is specified and url's are specified in CSS code. 2010-07-30 01:00:26 +02:00
Giuseppe Scrivano
75c6ca0f5d gnutls: Fix a problem with multiple peek read calls. 2010-07-29 12:24:34 +02:00
Giuseppe Scrivano
3e25a9817f Introduce --trust-server-names. Close CVE-2010-2252. 2010-07-28 21:22:22 +02:00
Alan Jenkins
954fead685 Fix a failure if the server doesn't specify a content-length and -c is used. 2010-07-20 19:42:13 +02:00
Leonid Petrov
29c0b3cc07 Fix symlinks resume via FTP. 2010-07-20 13:09:43 +02:00
Giuseppe Scrivano
57584fe2da Fix another case of -N and -c not working well together. 2010-07-18 20:10:42 +02:00
Giuseppe Scrivano
29305e059f Rewrite last change considering SIZE return value, otherwise what RETR returns 2010-07-14 23:06:20 +02:00
Giuseppe Scrivano
6ef8c69c9d Take the maximum value between RETR and SIZE bytes counts for the file size 2010-07-14 01:23:17 +02:00
Giuseppe Scrivano
b7f54921f6 Now --timestamping and --continue works well together. 2010-07-11 15:47:18 +02:00
Giuseppe Scrivano
cf3c678c82 Rename two functions. 2010-07-09 12:24:51 +02:00
Giuseppe Scrivano
ec40efb27b The GNU TLS backend loads default root certificates. 2010-07-05 19:27:16 +02:00
Giuseppe Scrivano
eb483c9f25 Honor the --secure-protocol flag in the GNU TLS backend. 2010-07-03 13:48:15 +02:00
Giuseppe Scrivano
a6625c97c5 Fix help string for --random-wait. 2010-06-20 12:10:35 +02:00
Giuseppe Scrivano
5af14a7589 Fix GNU TLS backend under Windows. 2010-06-15 13:03:13 +02:00
Giuseppe Scrivano
b7814f7cf3 Fix some problems with GNU TLS. 2010-06-14 19:40:03 +02:00
Giuseppe Scrivano
117c25970b Send a HEAD before the GET when -N and --content-disposition are used together. 2010-06-14 19:24:47 +02:00
Muthu Subramanian K
aca9f566b6 Report the total avg transfer speed correctly with multiple URL's and -c. 2010-06-11 00:35:30 +02:00
Giuseppe Scrivano
e16bd20474 Drop the current maintainer line from the version display. 2010-06-10 10:19:27 +02:00
Giuseppe Scrivano
5cc1525e65 Generate the `build_info.c' file under the build directory. 2010-06-10 10:03:17 +02:00
Giuseppe Scrivano
bd5527dad4 If --content-disposition is used, do not send a HEAD request. 2010-06-03 16:46:56 +02:00
Giuseppe Scrivano
e0c25f7a5f Remove some unused variables. 2010-05-31 22:58:56 +02:00
Giuseppe Scrivano
e9e09e1cc0 Fix condition for closed HTML tag. 2010-05-31 17:29:05 +02:00
Giuseppe Scrivano
f747e73445 Remove _SVID_SOURCE and _BSD_SOURCE definition. 2010-05-31 11:56:06 +02:00
Giuseppe Scrivano
260b9593dc Remove an unused function and an unused local variable. 2010-05-31 11:51:27 +02:00
Giuseppe Scrivano
9e286ee357 Print diagnostic messages to stderr, not stdout. 2010-05-31 09:45:03 +02:00
Giuseppe Scrivano
c702d99f7b Use the gnulib snprintf module. 2010-05-27 13:59:46 +02:00
Giuseppe Scrivano
1b2092fd06 Cope better with unclosed html tags. 2010-05-30 14:01:10 +02:00
Giuseppe Scrivano
d733dbc703 Exit with failure if -k is specified and -O is not a regular file. 2010-05-27 12:45:15 +02:00
Giuseppe Scrivano
8ff8a1d289 Send new cookies when the authorization fails. 2010-05-27 12:09:56 +02:00
Giuseppe Scrivano
b2b76dcef4 Ignore zero length domains in no_proxy. 2010-05-25 18:36:02 +02:00
Giuseppe Scrivano
475c452780 Ignore HTTP 1xx responses. 2010-05-25 17:52:13 +02:00
Giuseppe Scrivano
8f91cbd2d6 Remove definition of unused symbols. 2010-05-24 12:12:41 +02:00
Giuseppe Scrivano
84b2d52598 http_atotm copies the NUL character of the locale string. 2010-05-23 10:58:05 +02:00
Giuseppe Scrivano
58a9721edf Use the gnulib md5 module. 2010-05-16 01:34:17 +02:00
Giuseppe Scrivano
ffbba2e6b9 Fix some build issues 2010-05-15 22:58:57 +02:00
Giuseppe Scrivano
293008f682 Mass update copyright years. 2010-05-08 21:56:15 +02:00
Giuseppe Scrivano
b76ef3f452 Use always close as it is defined by gnulib on platforms lacking it. 2010-05-07 13:27:11 +02:00
Giuseppe Scrivano
5a97871f5d Fix unit tests build in a VPATH. 2010-05-07 13:10:09 +02:00
Giuseppe Scrivano
cba3187919 Remove some functions not needed anymore. 2010-05-07 12:46:47 +02:00
Giuseppe Scrivano
78a1186f2d Fix build under mingw. 2010-05-07 12:28:26 +02:00
Giuseppe Scrivano
8234d9866a Add directory with generated gnulib files. 2010-05-07 10:15:14 +02:00
Giuseppe Scrivano
63f280a030 Copy build_info.c.in only if we are working in a VPATH. 2010-05-07 09:51:35 +02:00
Giuseppe Scrivano
57a46fed5d Generate build_info.c in the builddir not in the srcdir. 2010-05-06 23:13:24 +02:00
Giuseppe Scrivano
282798f52e Give a nicer message on a malformed status line. 2010-05-05 12:27:29 +02:00
Giuseppe Scrivano
bb3f805b86 Mention last patch in the ChangeLog. 2010-05-04 18:03:51 +02:00
Giuseppe Scrivano
1cee086162 Support HTTP/1.1. 2010-05-01 22:34:11 +02:00
Steven Schubiger
a801efcd96 Don't delete an input file fetched via FTP. 2010-03-04 22:09:31 +01:00
Steven Schubiger
33d8b23dfd Check stricter for supported URL scheme. 2010-03-02 21:41:32 +01:00
Steven Schubiger
f391a5b5b0 Fix memory leak in retrieve_from_file. 2010-03-02 20:35:02 +01:00
Steven Schubiger
ec6950f1a6 Make -i work with FTP. 2010-03-02 00:00:17 +01:00
Paul Townsend
068991e8a0 Time-measurement fix 2010-01-27 10:08:26 -08:00
Micah Cowan
30b24240ae Fixed some mixed declarations-and-code. 2010-01-13 20:41:15 -08:00
Micah Cowan
7585b7019d --no-match-server-timestamps -> --no-use-server-timestamps 2010-01-09 20:21:37 -08:00
Micah Cowan
cd4c4b63d4 Clarify David's change as not being significant for copyright. 2010-01-09 18:58:14 -08:00
David Holman
1f08245076 --no-match-server-timestamps 2010-01-09 18:57:18 -08:00
Peter Rosin
8798e25533 Format %p as unsigned. 2010-01-09 18:18:21 -08:00
Jeremy Olexa
8e39fcf97b PATH_MAX from sys/param.h, when not available from limits.h. 2010-01-09 16:53:41 -08:00
Steven Schweda
104b0b4ca8 imported patch vms-changelogs 2010-01-09 15:24:02 -08:00
Arvind Jamuna Dixit
d5361eca21 Support RFC 2231. 2010-01-09 14:23:29 -08:00
Petr Pisar
d92049ef66 Implement support for subjectAltName fields in X509 certs. 2009-10-24 16:06:44 -07:00
Micah Cowan
c86f7c7b82 Fix declaration of compiled_features. 2009-10-09 02:12:33 -07:00