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

1274 Commits

Author SHA1 Message Date
micah
78aefb3bbf [svn] Backing out incomplete changes for bug 20323, until the full fix is
ready (so we have a working trunk).
2007-07-10 21:39:36 -07:00
micah
0b2296c0d4 [svn] version: terminate sentence with a period, improve GPL URL, reflow a bit. 2007-07-10 12:30:47 -07:00
micah
1b79a494a2 [svn] Fixing some syntax glitches introduced in the fix for bug 20358. 2007-07-10 00:40:44 -07:00
micah
4d7c5e087b [svn] Merge of fix for bugs 20341 and 20410. 2007-07-09 22:53:22 -07:00
micah
b554b8e849 [svn] Merging in fix for bug 20341: GPLv3 update, and maintainer references.
Still waiting for rewording of OpenSSL exception; but that could take a
while, and in the meantime, these changes should probably be in the
trunk. Also includes fix to manual, to remove GPL (for the sake of
maintaining lack of invariants).
2007-07-09 21:46:15 -07:00
mtortonesi
dfeb089f3c [svn] Skip HEAD request and start immediately with GET if -O is given. 2007-07-03 16:01:25 -07:00
hniksic
a83387134c [svn] Escape non-printable characters in server response. 2007-02-02 01:36:49 -08:00
hniksic
a161efc9ec [svn] Fix build problems with DEBUG_MALLOC. 2007-02-02 01:35:08 -08:00
hniksic
0e8788c58c [svn] Would discard cookies with unparsable expiry time. 2007-01-23 13:46:38 -08:00
hniksic
8b08f41f0d [svn] Check for overflow when calculating ETA. 2007-01-23 13:31:30 -08:00
mtortonesi
c5a4dac530 [svn] Get rid of a gcc warning about strict-aliasing violation. 2007-01-09 07:55:12 -08:00
mtortonesi
bd7f4ef701 [svn] Fixed segfault if response text is missing 2007-01-09 06:37:03 -08:00
mtortonesi
336c0de301 [svn] Several Windows-related changes. 2006-12-29 09:23:20 -08:00
mtortonesi
14ee3a6c03 [svn] Fix -P in case HTTP Content-Disposition header is present. 2006-12-27 01:42:28 -08:00
hniksic
3f51773542 [svn] Fixed problem with recursive FTP retrieval. 2006-11-21 14:18:12 -08:00
hniksic
ff82bd9276 [svn] Would incorrectly skip changing working directory when retrying after a
failed FTP attempt.
2006-10-18 13:45:30 -07:00
mtortonesi
d8aca98b18 [svn] Fixed broken -E -k -K mode. 2006-10-12 06:37:58 -07:00
mtortonesi
763229b67f [svn] #include'd spider.h to get rid of compiler warnings. 2006-08-28 07:41:40 -07:00
mtortonesi
0dbef4ccb4 [svn] Several fixes for recursive spider mode. 2006-08-24 08:27:57 -07:00
mtortonesi
8c45a34a55 [svn] Fixed a timestamping related bug in HTTP downloads. 2006-08-21 06:38:15 -07:00
mtortonesi
a9c3209a9b [svn] Fix broken -c in new HTTP code. 2006-08-17 03:49:29 -07:00
hniksic
8566a72767 [svn] Avoid code repetition between time_str and datetime_str. 2006-08-08 07:32:53 -07:00
hniksic
6493450947 [svn] Warn to keep the option list sorted. 2006-08-08 07:31:12 -07:00
hniksic
a890134659 [svn] Fix ordering of the command array. 2006-07-21 04:20:40 -07:00
mtortonesi
1c7493b83e [svn] Added sanity checks for -k, -p, -r and -N when -O is given. Added fixes for 64-bit platforms. Updated copyright and maintainer information. 2006-07-14 06:25:50 -07:00
hniksic
854a7fae35 [svn] Mark DEL (0x7f) as a control character and | as a character Windows can't
handle.
2006-07-10 10:01:03 -07:00
mtortonesi
60c88ee992 [svn] Fixes for recursive spider mode. 2006-06-28 04:09:30 -07:00
hniksic
19c5c1d52f [svn] Allow 64-bit wgint without LFS. 2006-06-26 11:31:28 -07:00
hniksic
48f21f4a71 [svn] Don't assume that strtoll_type is 64 bits wide. Don't rely on undefined
behavior to check overflow.
2006-06-26 11:24:38 -07:00
hniksic
f2756871a6 [svn] Doc fix. Credit base64_decode coming from Recode. 2006-06-25 09:22:26 -07:00
hniksic
272a9a2d90 [svn] Doc fix. 2006-06-21 01:32:55 -07:00
hniksic
0adf1ccfa0 [svn] Cast void pointer to char * before doing arithmetic on it. 2006-06-21 01:12:12 -07:00
hniksic
09d44f355f [svn] Made base64 tables const. 2006-06-20 01:18:59 -07:00
hniksic
56897eceb5 [svn] Made base64 DATA and DEST pointers void*. 2006-06-20 01:16:36 -07:00
hniksic
7bc4d2db21 [svn] base64_encode could read past the end of STR. 2006-06-19 13:35:53 -07:00
mtortonesi
c1cb70ecd0 [svn] Added support for --restrict-file-names=lowercase and --restrict-file-names=uppercase. 2006-06-13 06:58:33 -07:00
mtortonesi
9d9f134fdf [svn] Fixed recursive FTP retrieval over proxy. 2006-06-12 09:26:28 -07:00
mtortonesi
01093c0c33 [svn] Fixed recursive spider mode. 2006-05-25 09:11:29 -07:00
hniksic
739cc5ec16 [svn] Fix breakage in ls output parsing. By Larry Jones. 2006-05-21 02:10:39 -07:00
mtortonesi
9a66d92f60 [svn] Improvements/fixes to HTTP Content-Disposition header support. 2006-04-28 02:15:14 -07:00
hniksic
2a58c7d207 [svn] Wrap macro arg in parentheses. 2006-04-11 11:03:14 -07:00
hniksic
a46aa44f57 [svn] Document parse_content_disposition. 2006-04-08 09:05:42 -07:00
mtortonesi
ea4ffded27 [svn] Restricted operational semantics of frontcmp and proclist from generic strings to directory names, and fixed dirname matching algorithm. Renamed above mentioned functions to subdir_p and dir_matches_p respectively. Added testcases for subdir_p and dir_matches_p. 2006-03-15 06:55:29 -08:00
mtortonesi
0bd1751372 [svn] recur.c: changed type of html_allowed member of struct queue_element to bool. 2006-03-14 05:52:17 -08:00
mtortonesi
d34270c536 [svn] Add support for download of hidden files from FTP. 2006-03-09 05:50:03 -08:00
hniksic
2fc7e59e06 [svn] Fixed definition of TOLOWER when STANDALONE. 2006-03-06 06:00:18 -08:00
mtortonesi
46c94e5f26 [svn] Fixed recursive HTTP retrieval 2006-03-02 01:27:45 -08:00
hniksic
65cc42ee09 [svn] Use the extract_param function for parsing the www-authenticate header. 2006-02-28 14:32:56 -08:00
hniksic
6d2dc0a1b3 [svn] Use extract_params to parse the Set-Cookies header. 2006-02-28 12:50:37 -08:00
hniksic
66ee895734 [svn] Deleted extract_param_value_delim. 2006-02-28 12:09:34 -08:00
hniksic
c90e4f9c1a [svn] Parse Content-Disposition better. Implement memrchr where missing. 2006-02-28 11:27:52 -08:00
hniksic
aa07e689f2 [svn] Don't preserve ".." at beginning of path. 2006-02-28 09:41:09 -08:00
hniksic
e8b61e46ab [svn] Only use FILE.N.html if FILE.html exists. 2006-02-25 15:28:49 -08:00
hniksic
9bd8e5c94e [svn] Made thread_hnd non-static. 2006-02-09 04:39:27 -08:00
hniksic
15f7e83216 [svn] Doc fix. 2006-02-09 02:24:07 -08:00
hniksic
a202418374 [svn] Made [0.5*wait, 1.5*wait) the range of --random-wait. 2006-02-05 00:35:22 -08:00
hniksic
85146a6ebd [svn] Removed the SPRINTF_WGINT macro. 2006-02-03 02:31:00 -08:00
hniksic
b6fa9ce7be [svn] Don't use sprintf for printing WGINT_MIN; simply divide n by 10 and defer
printing the last digit.
2006-02-03 02:27:59 -08:00
mtortonesi
d8f368d062 [svn] Implement correct parsing of HTTP Content-Disposition header. 2006-02-03 01:33:57 -08:00
hniksic
b89b58e00a [svn] Obtain the declaration of uintptr_t when standalone. 2006-02-02 05:37:56 -08:00
hniksic
31cc8166dc [svn] Don't define countof if it's already defined. 2006-02-02 05:04:33 -08:00
mtortonesi
bfd24dba71 [svn] Removed empty lines in output format. 2006-01-30 02:06:10 -08:00
mtortonesi
b5be7ce301 [svn] Commited new HTTP output format. 2006-01-30 00:54:09 -08:00
mtortonesi
b15ddc5b71 [svn] Removed broken output file removal patch. 2006-01-30 00:46:16 -08:00
mtortonesi
f1b726490e [svn] Remove output document in case of download problems when -O and --quiet are given. 2006-01-24 05:36:24 -08:00
mtortonesi
823228830e [svn] Fixed pre-download verbose output which was broken by HTTP code refactoring. 2005-12-07 00:24:24 -08:00
mtortonesi
729c00ab9e [svn] Better explanation of last change to HTTP code in ChangeLog. 2005-12-05 03:25:50 -08:00
mtortonesi
e7433e4027 [svn] Removed C++ style comments from http.c and test.c, as we support C89 compilers as well. 2005-12-05 02:55:30 -08:00
mtortonesi
d40086ba5f [svn] Major refactoring of HTTP code. Added support for Content-Disposition header. 2005-11-23 02:18:18 -08:00
hniksic
3e145c6018 [svn] Use uintptr_t instead of unsigned long for integer representation of pointers. 2005-11-19 11:35:02 -08:00
mtortonesi
b285d8070b [svn] Improved support for unit testing 2005-11-02 07:48:45 -08:00
mtortonesi
74415a7585 [svn] Added basic support for unit testing 2005-10-27 07:13:40 -07:00
mtortonesi
4950b4f441 [svn] Added Daniel's fix for remotely exploitable buffer overflow vulnerability in NTML code. 2005-10-13 02:04:16 -07:00
hniksic
02e8aa3ac4 [svn] Removed gcc 4.0 warnings, by Russ Allberry. 2005-10-09 02:59:20 -07:00
mtortonesi
1ff7c1fa70 [svn] retr.c: Changed semantics of no_proxy_match. 2005-10-05 02:46:07 -07:00
mtortonesi
8c69427125 [svn] Fixed typo 2005-10-05 02:43:47 -07:00
hniksic
b9d8781b77 [svn] Don't print download summary if nothing has been downloaded. 2005-09-17 06:07:00 -07:00
hniksic
a95c910f9c [svn] Change name of param. 2005-09-17 05:55:21 -07:00
hniksic
53ca4879b9 [svn] Introduce symbolic constants for "magic" values of 0.2 and 0.9,
REFRESH_INTERVAL and ETA_REFRESH_INTERVAL.
2005-09-01 09:44:11 -07:00
hniksic
7700d6c999 [svn] Fix strtoll("0x", ptr, 0) to set *ptr to position of 'x', not after it. 2005-08-27 12:27:46 -07:00
hniksic
6cae84266c [svn] Doc fix. 2005-08-27 12:09:52 -07:00
hniksic
65401399d7 [svn] Doc fix. 2005-08-27 12:09:42 -07:00
hniksic
ed8648d0c0 [svn] Use hash_table_iterate in cookie_jar_delete. 2005-08-27 06:25:47 -07:00
hniksic
8b7dabcdf8 [svn] Simplify iteration over hash table entries. 2005-08-27 06:05:39 -07:00
hniksic
89ccc4ac04 [svn] Use @datadir@. Define localedir as $(datadir)/locale.
By Albert Chin.
2005-08-26 11:51:23 -07:00
hniksic
9f0bf14c27 [svn] Docfix: "conventional" -> "conventional wisdom" 2005-08-26 11:19:00 -07:00
hniksic
96aa9c1a06 [svn] Abort configure if --with-ssl given but SSL unavailable. Use HAVE_LIBSSL
and HAVE_LIBGNUTLS symbols provided by AC_LIB_HAVE_LINKFLAGS instead of
inventing new ones.
By Stepan Kasal.
2005-08-26 05:02:04 -07:00
hniksic
9aae245890 [svn] Tell OpenSSL to renegotiate automatically (mode SSL_MODE_AUTO_RETRY).
By Jeremy Shapiro.
2005-08-26 03:42:31 -07:00
hniksic
335f7a4f92 [svn] Use IP_INADDR_DATA. 2005-08-23 13:40:37 -07:00
hniksic
602105004e [svn] Doc fix. 2005-08-12 06:17:42 -07:00
hniksic
b23ed889b1 [svn] Renamed strtoll_return to strtoll_type. 2005-08-12 05:56:52 -07:00
hniksic
d46f0621b9 [svn] Switch to days when printing more than 48h rather than 100h. 2005-08-11 14:20:37 -07:00
hniksic
f25d593c16 [svn] If strtoll is not present, check for strtoimax and use it where available.
If neither is present, define own strtoll.
2005-08-11 14:18:56 -07:00
hniksic
481443d337 [svn] Simplify the ip_address data union. Always use inet_ntop for printing
IP addresses when IPv6 is enabled.
2005-08-10 06:50:08 -07:00
hniksic
254ed12b8f [svn] Doc fix. 2005-08-10 05:40:31 -07:00
hniksic
b110199bce [svn] Doc fix. 2005-08-10 05:28:01 -07:00
hniksic
dd8eafb6c9 [svn] Handle IPv4 addresses in inet_ntop. 2005-08-09 05:45:45 -07:00
hniksic
b138e352e0 [svn] Don't read more than the amount of data specified by the content-length
header.  Removed the obsolete "kill_lines" wgetrc var.
2005-08-08 15:51:19 -07:00
hniksic
fdb3a03fca [svn] Don't free RESPLINE if ftp_response returns a status other than FTPOK.
By Vasil Dimov.
2005-08-08 15:21:59 -07:00
hniksic
fe777884cf [svn] Remember the position of the previous token instead of backtracking to it.
By Giuseppe Bonacci.
2005-08-04 14:45:28 -07:00