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

1802 Commits

Author SHA1 Message Date
hniksic
cf67080e5e [svn] Handle years after 2099. 2005-07-05 11:18:15 -07:00
hniksic
cee40cc718 [svn] Remove unused variable. 2005-07-05 04:44:52 -07:00
hniksic
41637b3cc5 [svn] Doc fix. 2005-07-05 04:44:02 -07:00
hniksic
b2a67d8e5b [svn] Leap days -> leap years 2005-07-05 04:41:38 -07:00
hniksic
1ebb66269f [svn] A new timegm implementation. 2005-07-05 03:26:57 -07:00
hniksic
cca63ff3f1 [svn] Add GnuTLS support. 2005-07-04 17:16:46 -07:00
hniksic
2ef83f89bd [svn] Don't print write error message twice. 2005-07-04 15:53:17 -07:00
hniksic
6f6af2d913 [svn] Only allocate an error string on actual error. 2005-07-04 14:42:09 -07:00
hniksic
134e59c61a [svn] Doc fix. 2005-07-04 14:41:41 -07:00
hniksic
e4f85cdef3 [svn] Prefix pointer value with 0x. 2005-07-04 14:15:50 -07:00
hniksic
adcb1f10ec [svn] Fix undef. 2005-07-04 07:48:19 -07:00
hniksic
8db8d930ef [svn] Simplify NEXT_BASE64_CHAR. 2005-07-04 07:46:09 -07:00
hniksic
e0aa2eef43 [svn] Don't tolerate non-base64 non-whitespace characters in base64 stream. 2005-07-04 06:28:19 -07:00
hniksic
b6037a182f [svn] Make last_tick unsigned. 2005-07-04 05:30:03 -07:00
hniksic
1b7f568562 [svn] Updated alloca declaration. 2005-07-03 18:48:47 -07:00
hniksic
5d4ff69084 [svn] 2005-07-03 18:46:46 -07:00
hniksic
2686b2dd93 [svn] Doc fix. 2005-07-03 18:07:59 -07:00
hniksic
3d66119d34 [svn] Document test_socket_open. 2005-07-03 17:55:12 -07:00
hniksic
debec8216f [svn] Separate SSL error messages with "; ". 2005-07-03 17:35:28 -07:00
hniksic
550c39e714 [svn] Correctly print SSL errors. 2005-07-03 14:20:33 -07:00
hniksic
10f290cdf3 [svn] Also wrap accept() and listen() on Windows. 2005-07-03 13:43:57 -07:00
hniksic
cfec85440d [svn] In uri_merge, skip separators appropriate for the scheme when looking
for end of path.
2005-07-02 17:03:39 -07:00
hniksic
8dcd0bd285 [svn] Don't include connect.h. 2005-07-02 06:29:02 -07:00
hniksic
5b34f1db88 [svn] Remove extraneous include of netdb.h. 2005-07-02 06:25:48 -07:00
hniksic
d7ddbd9720 [svn] Document reasoning behind CLOSE_INVALIDATED more accurately. 2005-07-02 06:23:54 -07:00
hniksic
79a8def8c8 [svn] Document the side effect of test_socket_open. 2005-07-02 06:22:13 -07:00
hniksic
126cd75141 [svn] Improve ChangeLog entry. 2005-07-02 04:05:50 -07:00
hniksic
025fcc29a8 [svn] Correctly skip error message body for keep-alive connections. 2005-07-02 04:03:29 -07:00
hniksic
09473867ea [svn] Fix fragments crash. Support fragments for FTP URLs. 2005-07-01 19:51:38 -07:00
hniksic
8363d624b5 [svn] Remove "CVS" from version number. 2005-07-01 19:28:21 -07:00
hniksic
db9de5b075 [svn] Update FSF's address and copyright years. 2005-07-01 19:26:52 -07:00
hniksic
176b61461b [svn] Display smaller download rate numbers with more digits of precision. 2005-07-01 17:40:54 -07:00
hniksic
f238f09492 [svn] Minor improvements to fd_read_hunk. 2005-07-01 16:37:50 -07:00
hniksic
f65e63492b [svn] Fix URL parsing bugs. 2005-07-01 10:22:57 -07:00
hniksic
6fbd5c2a5e [svn] Don't refer to the non-existent -nr option. 2005-06-30 18:19:00 -07:00
hniksic
c1fb83c53b [svn] Renamed "pretty_print_address" to "print_address". 2005-06-30 13:03:18 -07:00
hniksic
5b26cb40a9 [svn] Explicitly document all cases when generating the Host header. 2005-06-30 08:09:39 -07:00
hniksic
e38c88e458 [svn] Implement inet_ntop on Windows. 2005-06-30 06:48:10 -07:00
hniksic
26630942cb [svn] Remove unused variable row_qty. 2005-06-30 05:16:06 -07:00
hniksic
09f9b4e02b [svn] Check for both SIGUSR1 and SIGHUP before using them. 2005-06-30 05:15:08 -07:00
hniksic
cf48fcc2bb [svn] Unconditionally include locale.h. 2005-06-29 14:45:44 -07:00
hniksic
c60604c91a [svn] Include sys/time.h to get struct timeval. 2005-06-29 14:32:17 -07:00
hniksic
4e6b148f6a [svn] Remove obsolete definition of with_thousand_seps_sum. 2005-06-29 10:57:03 -07:00
hniksic
5f975c1dcf [svn] Unconditionally include limits.h. 2005-06-29 06:36:52 -07:00
hniksic
40f4de9ae9 [svn] Doc fix. 2005-06-28 17:45:02 -07:00
hniksic
f9d2d0e175 [svn] Mention inspiration for ETA. 2005-06-28 15:32:45 -07:00
hniksic
b8456c0fb4 [svn] Use *rand48 where available. 2005-06-28 15:22:10 -07:00
hniksic
e289d2ecc4 [svn] Include ETA information in dot progress. 2005-06-28 15:03:12 -07:00
hniksic
276f66fc14 [svn] Doc fix. 2005-06-28 14:56:43 -07:00
hniksic
b789563a17 [svn] Remove bogus entry. 2005-06-28 14:50:27 -07:00
hniksic
9d137e9b84 [svn] Fix parsing alphanumerics in .wgetrc. 2005-06-28 08:33:01 -07:00
hniksic
04ddc27bb8 [svn] Remove unnecessary casts. 2005-06-28 02:32:40 -07:00
hniksic
9b6a27f422 [svn] Document dp->accumulated 2005-06-28 02:25:29 -07:00
hniksic
6762389df0 [svn] Docfix. 2005-06-28 02:19:24 -07:00
hniksic
bb0194c6e7 [svn] Document print_percentage. 2005-06-28 02:09:31 -07:00
hniksic
4aea3747e3 [svn] Delete trailing newlines from LIST output when -S is used. 2005-06-27 17:13:44 -07:00
hniksic
3d0fda1a28 [svn] Remove superfluous includes and document existing ones. 2005-06-27 12:08:50 -07:00
hniksic
6267a79939 [svn] Use double quotes to include mswindows.h 2005-06-27 12:08:16 -07:00
hniksic
1e72fedf95 [svn] Amend alloca declaration. 2005-06-27 11:48:41 -07:00
hniksic
6b1effd729 [svn] Force thousand sep to . rather than " " when , is taken. 2005-06-27 11:30:01 -07:00
hniksic
2447fb9a9b [svn] Move extern declarations to .h files. 2005-06-27 11:19:22 -07:00
hniksic
40fc711db6 [svn] Make cookies_now static. 2005-06-27 08:33:28 -07:00
hniksic
b7b86a22fb [svn] Remove intermediary cast. 2005-06-27 07:10:57 -07:00
hniksic
cbbc2ff512 [svn] Docfix. 2005-06-27 06:58:15 -07:00
hniksic
fc4499e671 [svn] Remove obsolete mail address. 2005-06-27 06:56:27 -07:00
hniksic
b01865d73a [svn] Doc fix: timegm is not only available on Linux. 2005-06-27 06:44:41 -07:00
hniksic
b227a44f1a [svn] Use the system-provided fnmatch by default. 2005-06-27 06:27:13 -07:00
hniksic
bb8a5f2eb9 [svn] Check for timegm and use it where available. 2005-06-27 06:22:30 -07:00
hniksic
0561a866c3 [svn] Remove obsolete comment. 2005-06-27 05:53:01 -07:00
hniksic
9468fba4f7 [svn] Correctly query the old locale value. 2005-06-27 04:50:04 -07:00
hniksic
f3f6af70ea [svn] Don't #define alloca under MinGW32. 2005-06-27 04:06:12 -07:00
hniksic
9b2fea6958 [svn] Docfix. 2005-06-27 04:04:08 -07:00
hniksic
1cd911a790 [svn] Doc fix. 2005-06-26 19:18:52 -07:00
hniksic
6655b5afee [svn] Force the use of separators in C locale. 2005-06-26 19:07:31 -07:00
hniksic
2254e5c4e4 [svn] Set all locale categories. 2005-06-26 19:06:52 -07:00
hniksic
10afb07c42 [svn] Really remove translation of <n>s. 2005-06-26 18:15:46 -07:00
hniksic
68e27bf7e2 [svn] Improve "POST data file missing" error message. 2005-06-26 18:11:10 -07:00
hniksic
2e7aa7f76d [svn] Constify variable. 2005-06-26 16:04:56 -07:00
hniksic
c9049f94d7 [svn] Handle negative numbers in with_thousand_seps. 2005-06-26 15:18:01 -07:00
hniksic
39e4262d12 [svn] Delete the obsolete commented-out line with SSL includes. 2005-06-26 14:57:33 -07:00
hniksic
9d1c80944d [svn] Better document DEBUGP. 2005-06-26 14:48:39 -07:00
hniksic
39fbdba663 [svn] Mark the "eta" string for translation. 2005-06-26 14:05:52 -07:00
hniksic
fc532c9bee [svn] Don't explicitly set entry->next to NULL since entry is already zeroed out. 2005-06-26 13:29:39 -07:00
hniksic
5019227f61 [svn] Define gai_strerror under mingw. 2005-06-26 13:18:28 -07:00
hniksic
ab4abc4056 [svn] Correctly implement thousand seps of more than one character. 2005-06-26 11:06:11 -07:00
hniksic
9c810d69ac [svn] Don't translate SI units. Print more exact duration information for very
short downloads.
2005-06-26 05:04:01 -07:00
hniksic
979f8ed7f0 [svn] Update alloca declaration. 2005-06-25 18:56:29 -07:00
hniksic
319f52d756 [svn] When the download is finished, print the time the download took.
Always invoke SIZE, not only when continuing the download.
2005-06-25 17:41:09 -07:00
hniksic
e24bc5db1b [svn] Rewrite with_thousand_seps to be size-agnostic. Remove printing of separators
from sizes.
2005-06-25 16:09:29 -07:00
hniksic
bc4c82c615 [svn] Divide with 1024 instead of shifting by ten places. 2005-06-25 14:16:51 -07:00
hniksic
da084a2979 [svn] New ETA display. 2005-06-25 14:08:04 -07:00
hniksic
d92cf8d560 [svn] Decrease buffer size of with_thousand_seps_sum. 2005-06-25 13:50:42 -07:00
hniksic
3735ecda38 [svn] Use %I64d, not %I64. 2005-06-25 09:08:35 -07:00
hniksic
bd74e419d6 [svn] Don't pattern-match server redirects. 2005-06-25 08:04:47 -07:00
hniksic
002def87d2 [svn] Rename LARGE_INT to SUM_SIZE_INT, and simplify its handling. 2005-06-25 07:39:51 -07:00
hniksic
b79e5bb0d3 [svn] Don't clean .libs, which is no longer being generated. 2005-06-25 07:31:03 -07:00
hniksic
99f1a44ca4 [svn] Comment docfix. 2005-06-24 17:28:37 -07:00
hniksic
ac32102041 [svn] Remove warning under AIX. 2005-06-24 15:57:52 -07:00
hniksic
61c5b229b7 [svn] Consistently prepend / to path when entering cookie code. 2005-06-24 05:15:03 -07:00
hniksic
0a41b946d4 [svn] Declare opt.verbose as int, not bool. 2005-06-24 04:44:38 -07:00
mtortonesi
6e0e330f5c [svn] Removed libtool and switched to config.rpath to perform configuration-time detection of (non-system) libraries. 2005-06-23 19:10:18 -07:00
hniksic
220d67c59d [svn] Doc fix for human_readable. 2005-06-23 16:07:02 -07:00
hniksic
b80f389516 [svn] Removed the ChangeLog-branches directories. 2005-06-23 12:32:42 -07:00
hniksic
b1e09c679f [svn] Comment fix. 2005-06-23 08:43:51 -07:00
hniksic
82b08f2daa [svn] Expect strpbrk and mktime to exist. 2005-06-23 08:33:20 -07:00
hniksic
cb2cc3abf8 [svn] Use struct_fstat when calling fstat because of Borland's lack of 64-bit
fstat.
2005-06-23 07:29:42 -07:00
hniksic
4b3e1632db [svn] Remove support for Watcom's compiler. 2005-06-23 07:11:48 -07:00
hniksic
6af41f62f0 [svn] Expand comment for strpbrk. 2005-06-23 06:52:06 -07:00
hniksic
74fbb03b10 [svn] Use bool type for boolean variables and values. 2005-06-22 12:38:10 -07:00
hniksic
19a1ffb2e9 [svn] Check for the C99 bool type and define it if missing. 2005-06-22 10:51:29 -07:00
hniksic
b8c20f01bc [svn] Clarify the difference between this and sysdep.h. 2005-06-22 10:22:41 -07:00
hniksic
8736f63b75 [svn] Add the ChangeLogs from the 1.10 branch. 2005-06-22 07:39:55 -07:00
hniksic
e911bc2943 [svn] Remove the "lockable boolean" setting for passive_ftp. 2005-06-21 18:56:02 -07:00
hniksic
40c07f3e04 [svn] Use bitfields for booleans in struct cookie to save space. 2005-06-21 18:45:08 -07:00
hniksic
80c3fa1223 [svn] Also depend on config.h. 2005-06-21 18:32:32 -07:00
hniksic
976cc5bfca [svn] Define the IF_DEBUG macro. 2005-06-21 18:26:22 -07:00
hniksic
6895126a68 [svn] Fix crash with --no-cookies. 2005-06-21 18:06:48 -07:00
hniksic
b317cb1c6d [svn] Expect existence of C89 functions, as well as of select and gettimeofday. 2005-06-21 18:01:12 -07:00
hniksic
63dcf343f1 [svn] Remove manual tracking of dependencies; instead, force a recompile when a header
file changes.
2005-06-21 16:21:48 -07:00
hniksic
38bc0295d4 [svn] Trivially rename "mapping" to "cell" and "non-empty" to "occupied" to
avoid confusion.
2005-06-20 08:00:39 -07:00
hniksic
7d48e6d057 [svn] Use #elif where appropriate to make chaining of #if ... #else ...
more readable.
2005-06-19 18:37:23 -07:00
hniksic
0f65283528 [svn] Revert style of function definitions to an older variant, to reduce
differences between this version and the one in INN.
2005-06-19 16:44:24 -07:00
hniksic
908d7a4bce [svn] Don't cast return type of malloc/realloc. Assume ANSI C signal handlers. 2005-06-19 16:03:27 -07:00
hniksic
277e840a0f [svn] Remove K&R support. 2005-06-19 15:34:58 -07:00
hniksic
9000d2b527 [svn] Fix "lockable boolean" error message. 2005-06-19 07:08:09 -07:00
hniksic
ddd69b75f9 [svn] Mark version as post-1.10 CVS code base. 2005-06-19 06:50:41 -07:00
hniksic
613719687c [svn] Fix broken --save-headers. 2005-06-18 07:13:16 -07:00
hniksic
1805044ecd [svn] When -E is in use, check for file existence after appending ".html" to the
name and modify the file name if necessary.
2005-06-17 15:06:26 -07:00
hniksic
25cbd9f692 [svn] Fix typo in comment. 2005-06-17 11:30:05 -07:00
hniksic
e2e349b2ca [svn] Stop using AI_ADDRCONFIG. 2005-06-17 09:48:29 -07:00
hniksic
876cd95a6e [svn] Improve error message so it names the more useful values first. 2005-06-16 03:51:14 -07:00
hniksic
4206f96614 [svn] Gettext-ize previously missed messages.
By Benno Schulenberg.
2005-06-15 13:26:37 -07:00
hniksic
4f22c2f567 [svn] Handle invalid response to PWD gracefully. 2005-06-15 13:11:50 -07:00
hniksic
73ca5d585b [svn] Remove trailing comma from enums; older compilers don't support them. 2005-06-15 13:08:48 -07:00
mtortonesi
8a957c06ec [svn] Changed version strings to 1.10. 2005-06-07 15:36:24 -07:00
hniksic
71911ea593 [svn] Check for a recent gcc version before using the statement-as-expression
extension.
2005-05-30 11:44:20 -07:00
hniksic
eeacdb2ebc [svn] Don't attempt to "skip short body" if we're issuing a HEAD request (in which
case the response head is not followed by a body).
2005-05-30 07:29:01 -07:00
hniksic
0840de6605 [svn] Allow --header to contain ",". 2005-05-30 06:31:24 -07:00
hniksic
082d2a5ab7 [svn] Doc fix. 2005-05-30 05:52:44 -07:00
hniksic
1b49b07598 [svn] Mark the content from the <link src="..."> tag as expecting HTML.
Submitted by Andreas Beckmann.
2005-05-27 06:53:47 -07:00
hniksic
917ec9f02d [svn] Minor doc. clarification. 2005-05-25 08:48:16 -07:00
hniksic
5771564c9c [svn] Document the origin of the "cookie date" format. 2005-05-24 07:16:27 -07:00
hniksic
4b0ade0434 [svn] Explain why rfc2109 and rfc2965 are ignored by Wget's cookie code. 2005-05-24 07:13:47 -07:00
hniksic
724e2f84be [svn] Report exact command name alongside the "display name". 2005-05-21 06:36:43 -07:00
hniksic
1aca2ff28e [svn] Remove unnecessary casts to time_t. Insert the cast from -1 to time_t,
needed on systems with unsigned time_t.
2005-05-18 10:22:28 -07:00
hniksic
af7e522e91 [svn] Don't clobber the file when -c is specified and the first attempt
to retrieve the file fails.
2005-05-17 05:53:08 -07:00
hniksic
05a000a477 [svn] Don't clobber the file when -c fails in the first attempt. 2005-05-17 02:01:31 -07:00
hniksic
3b00da8f9a [svn] Fix erroneous comments in ftp_eprt. 2005-05-16 15:08:57 -07:00
hniksic
fc5a9adfab [svn] Clarify the logic of persistent_available_p. 2005-05-16 15:01:10 -07:00
hniksic
ba78ba1e36 [svn] Only free cert when necessary. 2005-05-16 13:52:28 -07:00
hniksic
a039ae12fe [svn] Print all issues with a certificate. 2005-05-16 13:32:55 -07:00
hniksic
857c3e2ca4 [svn] Fixed mkdirhier to make_directory in comment. 2005-05-16 10:30:07 -07:00
hniksic
430f5f3b1e [svn] Don't xfree() the line returned by ftp_response if the returned code is not
FTPOK.
2005-05-16 08:19:12 -07:00
hniksic
20e79ab0fa [svn] Don't free the non-existent opt.ftp_acc. Free the SSL-related stuff. 2005-05-16 08:09:07 -07:00
hniksic
6664409baa [svn] Consistently print \n at the end of the "Length" line. 2005-05-16 05:41:29 -07:00
hniksic
7628e1582e [svn] Update escnonprint documentation. 2005-05-15 06:15:08 -07:00
hniksic
2307fcc5c2 [svn] Announce the beginning and the end of the SSL handshake when in debug mode.
Avoid the use of the %p format.
2005-05-14 12:36:30 -07:00
hniksic
c1ba8c2111 [svn] Would forget to close the connection when keep_alive was not used. 2005-05-14 12:24:22 -07:00
hniksic
3b6b6acb8a [svn] Typo fix in comment. 2005-05-13 12:07:47 -07:00
hniksic
c690a4742d [svn] Typo fix. 2005-05-13 06:26:44 -07:00
hniksic
91a8357dfa [svn] Document the code that decides whether "*" matches ".". 2005-05-13 04:54:53 -07:00
hniksic
3d9eadee53 [svn] Use the %d format to print port number, which is int. 2005-05-12 09:24:33 -07:00
hniksic
47b8598349 [svn] Don't rewrite "https://host" to "ftp://https//host" when SSL is not used. 2005-05-12 04:45:05 -07:00
mtortonesi
efcfa7fd02 [svn] Updated version to 1.10-beta1+cvs-dev. 2005-05-11 12:59:53 -07:00
hniksic
c2bc8982b7 [svn] Tell the user about --no-check-certificate. 2005-05-11 08:52:27 -07:00
hniksic
b4c06e1dd8 [svn] Always use SSL_VERIFY_NONE, so that the handshake finishes even if the
certificate is invalid.  That way ssl_check_server_identity can provide
better diagnostics on why the verification failed.
2005-05-11 04:14:42 -07:00
hniksic
4f38e39228 [svn] *** empty log message *** 2005-05-11 01:47:18 -07:00
hniksic
4054865a00 [svn] Support wildcards for matching of hosts against common names presented by
the TLS certificate.
2005-05-11 00:58:57 -07:00
hniksic
0f61f51a30 [svn] *** empty log message *** 2005-05-10 14:16:53 -07:00
hniksic
159a1a923d [svn] Print certificate subject and issuer. 2005-05-10 14:16:00 -07:00
hniksic
c17e1b6396 [svn] Correctly pass pointers to hash_table_get_pair. 2005-05-10 12:07:57 -07:00
hniksic
5feb3f6696 [svn] Check for the server's identity after the SSL handshake. 2005-05-10 08:17:37 -07:00
hniksic
764e695fe1 [svn] Simplify cert. verification. Allow SSL_write to perform partial writes. 2005-05-09 10:21:10 -07:00
hniksic
ee18acce0a [svn] Check for wildcards in unescaped URL path. 2005-05-08 10:52:26 -07:00
hniksic
79c4490734 [svn] Re-alphabetize the command list. Have run_command correctly interpret
the new return value of parse_line.
2005-05-08 10:28:19 -07:00
hniksic
0b49b79bb7 [svn] Remove unnecessary assignments to silence warnings from Borland C. 2005-05-08 09:25:42 -07:00
hniksic
69e45d2c7c [svn] Place variable declarations in escnonprint_internal before other
statements.
2005-05-08 09:16:17 -07:00
hniksic
1fab70a664 [svn] Fix warnings reported by gcc -Wstrict-prototypes -Wmissing-prototypes. 2005-05-08 02:58:39 -07:00
hniksic
62b6b8abf5 [svn] Minor doc fix. 2005-05-07 14:11:43 -07:00
hniksic
d761d066cd [svn] Made strpbrk_or_eos inline. Use strchr(s, '\0') for finding the NUL
char in the string.
2005-05-07 10:32:25 -07:00
hniksic
58828beb5f [svn] Doc fix. 2005-05-07 10:13:18 -07:00
hniksic
247387fef5 [svn] Doc fix. 2005-05-07 10:11:29 -07:00
hniksic
2e625afe68 [svn] Renamed "decide_copy_method" to "char_needs_escaping". Made it return
bool (int).
2005-05-07 08:09:45 -07:00
hniksic
9bdeaf453d [svn] Prevent newlines in FTP command arguments causing inadvertent sending of
multiple FTP commands.
2005-05-06 18:06:26 -07:00
hniksic
5aba2a5850 [svn] Don't needlessly decode % escapes in URLs. 2005-05-06 17:34:45 -07:00
hniksic
4c4c440401 [svn] Fix request-line argument when talking to SSL server over proxy. 2005-05-06 16:27:47 -07:00
hniksic
302c744e9a [svn] Don't complain about "unknown authentication scheme" if the scheme
is Basic.  Allow empty user-agent meaning "don't send User-Agent".
2005-05-06 10:16:15 -07:00
hniksic
370bb1b982 [svn] Fix wording of --secure-protocol help text. 2005-05-06 08:50:50 -07:00
hniksic
4192de0002 [svn] Minor doc fix. 2005-05-06 06:56:16 -07:00
hniksic
47ccb39924 [svn] Explain the choice of only setting LC_MESSAGES more thoroughly. 2005-05-06 06:55:35 -07:00
hniksic
db075536c3 [svn] *** empty log message *** 2005-05-06 04:03:21 -07:00
hniksic
de5fd29373 [svn] Update strstr to the one in glibc 2.3.5. 2005-05-05 15:39:28 -07:00
hniksic
818fbdf32a [svn] Comment doc fix. 2005-05-05 15:02:46 -07:00
hniksic
a231f88b54 [svn] Zero out all of struct tm before passing it to strptime. 2005-05-05 14:49:28 -07:00
hniksic
bb60858a3f [svn] Propagate option name to init.c code so error messages mention the
failed command-line option.
2005-05-05 11:45:05 -07:00
hniksic
727f698214 [svn] Abort if there have been errors while processing .wgetrc'. 2005-05-05 11:20:17 -07:00
hniksic
b416b48a33 [svn] Slightly reduce the code repetition between two loops in
copy_and_escape.
2005-05-05 09:39:19 -07:00
hniksic
30b7d60805 [svn] Fix -X/-I with wildcards. 2005-05-05 08:22:11 -07:00
hniksic
4810f65361 [svn] Set access time to current time when "touching" the file. 2005-05-05 07:47:48 -07:00
hniksic
486d672e99 [svn] Don't unescape %00. 2005-05-05 07:05:00 -07:00
hniksic
1230b724ca [svn] Document what is meant by "non-printable" in the context of escnonprint. 2005-05-05 06:47:20 -07:00
hniksic
ce06e4297f [svn] Fix printing of FTP response. 2005-05-05 03:10:51 -07:00
hniksic
91479b4c8e [svn] Reset the sleep_adjust limit value for new downloads. Fixes Debian bug
232276.
2005-05-05 02:48:08 -07:00
hniksic
c035e39b7d [svn] Declare gettext when libintl.h is unavailable. 2005-05-04 12:11:14 -07:00
hniksic
0967c21094 [svn] Fix K&R incompatibilities reported by `gcc -Wtraditional'. 2005-05-03 08:24:30 -07:00
hniksic
53db8f33d4 [svn] Typo fix in comment. 2005-04-30 08:09:18 -07:00
hniksic
2051e4792e [svn] Correctly check for _POSIX_MONOTONIC_CLOCK. 2005-04-29 05:12:52 -07:00
hniksic
b8af169bb5 [svn] Remove unreached (and useless) break statements. 2005-04-28 06:56:31 -07:00
hniksic
c2c41a6b14 [svn] Remove unreachable "break" statements. 2005-04-28 06:52:02 -07:00
hniksic
0c9131b513 [svn] Doc fix. 2005-04-28 06:18:30 -07:00
hniksic
b633022e24 [svn] Wrap the use of opt.random_file in HAVE_SSL. 2005-04-28 02:32:13 -07:00
hniksic
c4a5b4dfc7 [svn] Set the CONNECT user-agent in the correct request object. 2005-04-27 15:31:12 -07:00
hniksic
993ba1ca75 [svn] Free the old value of opt.useragent before setting the new one. 2005-04-27 15:16:28 -07:00
mtortonesi
4bbcdf2edc [svn] Map the --ftp-password, --http-password and --proxy-password options to the new
ftppassword, httppassword and proxypassword commands respectively.  Document
the --user and --password options in the help string.
2005-04-27 15:08:28 -07:00
mtortonesi
7f2ea0eaac [svn] Changed version number to 1.10-alpha3+cvs-dev after tagging version 1.10-alpha3 in cvs. 2005-04-27 14:48:13 -07:00
mtortonesi
49bffef633 [svn] Changed version number to 1.10-alpha3 2005-04-27 14:45:47 -07:00
mtortonesi
e815fe81a0 [svn] Add the --user, --password, --ftp-user and --ftp-password options.
Rename the --ftp-passwd, --http-passwd and --proxy-passwd options to
--ftp-password, --http-password and --proxy-password respectively.
Deprecate the login and passwd .wgetrc commands.
2005-04-27 14:30:22 -07:00
hniksic
dc0bac5c43 [svn] Advertise DER rather than ASN1. 2005-04-27 14:17:30 -07:00
hniksic
8f935cf74c [svn] Add --random-file option. Bail out in case of error during
SSL initialization.
2005-04-27 14:08:40 -07:00
hniksic
9df281f755 [svn] Wrap private key commands in #ifdef HAVE_SSL. 2005-04-27 11:27:57 -07:00
hniksic
b8efb6d762 [svn] Allow separate specification of certificate type and private key type. 2005-04-27 10:15:10 -07:00
hniksic
b8d826f243 [svn] Renamed src/gen_sslfunc.c to src/openssl.c and src/gen_sslfunc.h to
src/ssl.h.
2005-04-26 14:41:41 -07:00
hniksic
a15ce4fbe4 [svn] Doc typo fix. 2005-04-26 14:10:24 -07:00
hniksic
bdad650583 [svn] Renamed "closure" to "place". 2005-04-26 10:30:45 -07:00
hniksic
56ba33f044 [svn] Fix help text. 2005-04-26 10:24:19 -07:00
hniksic
4edde35100 [svn] Renamed the SSL switches and commands. 2005-04-26 10:22:56 -07:00
hniksic
72549063a9 [svn] Revert to previous revision. 2005-04-26 06:45:13 -07:00
hniksic
428c1a2b3c [svn] Fix various cookie-related problems. 2005-04-26 06:34:33 -07:00
hniksic
e26d46befc [svn] Remove support for --use-proxy. 2005-04-25 14:19:41 -07:00
hniksic
3af8340e5b [svn] Doc fix. 2005-04-25 03:25:58 -07:00
hniksic
6251403378 [svn] Doc fix. 2005-04-25 03:18:21 -07:00
hniksic
e3acbd2aaf [svn] Restore old behavior of -Y. 2005-04-25 03:13:18 -07:00
hniksic
9c58e3c1d2 [svn] Delete unreachable statement in aprintf. 2005-04-24 13:14:10 -07:00
hniksic
cf994330a3 [svn] Added reordering of addresses to try IPv4 first and the associated
--prefer-family switch.
2005-04-24 13:00:19 -07:00
hniksic
e14d2b8115 [svn] Make retryable_socket_connect_error return 0 on ENETUNREACH and
EHOSTUNREACH.
2005-04-24 10:13:42 -07:00
hniksic
5bcaac1177 [svn] Remember that the NTLM-authorized TCP connections stay authorized. 2005-04-22 19:03:19 -07:00
hniksic
d025e62556 [svn] Treat input to base64_encode as unsigned chars. 2005-04-22 17:20:13 -07:00
hniksic
05aed0cca2 [svn] Format http-ntlm.c in an ansi2knr-friendly fashion. 2005-04-22 17:11:30 -07:00
hniksic
add6c24a19 [svn] Fix bugs in NTML handling. 2005-04-22 08:15:25 -07:00
hniksic
e09eb765f4 [svn] Fix warning message text; mark the warning message as translatable. 2005-04-22 08:12:59 -07:00
hniksic
7baf7b4cd9 [svn] Print the EGD option in the help text at the end of the SSL option block. 2005-04-21 07:50:45 -07:00
hniksic
2a7d81ac93 [svn] Fix setting the NTLM domain.
By Sami Krank.
2005-04-21 07:00:11 -07:00
mtortonesi
82c9f4f588 [svn] Removed _AS_PATH_SEPARATOR_PREPARE from configure.in (inserted by mistake during last commit). Updated version string to 1.10-alpha2+cvs-dev. 2005-04-20 18:30:54 -07:00
mtortonesi
f5530752bf [svn] Set IPV6_V6ONLY socket option when -6 switch is used. 2005-04-20 18:26:33 -07:00
hniksic
85c143a2a5 [svn] Fix the check whether a new header needs to be allocated.
By FUJISHIMA Satsuki.
2005-04-20 13:15:05 -07:00
hniksic
155ca3d489 [svn] Change orders of parameters of base64_encode, so it makes more sense.
Mention NTLM support in http.c.
2005-04-18 07:23:23 -07:00
hniksic
d406908e94 [svn] Fix potential memory leak in request_set_header. 2005-04-17 09:59:35 -07:00
hniksic
7c363df6b5 [svn] Declare VALUE argument of fmtstr as const char *.
By Russ Allbery.
2005-04-17 09:53:55 -07:00
hniksic
dccc4a2d49 [svn] More correct handling of significant digit count with %g -- 0.002 has
one significant digit, not three.
2005-04-16 16:02:39 -07:00
hniksic
9756b0adf5 [svn] Don't ignore timeout when progress=dot. 2005-04-16 13:12:43 -07:00
hniksic
4de69525f2 [svn] Doc fix. 2005-04-16 11:11:23 -07:00
hniksic
ab18c0eaed [svn] Really disable persistent connections over proxy. 2005-04-16 06:06:29 -07:00
hniksic
f4348a022d [svn] Fixed a number of bugs in snprintf.c. 2005-04-15 17:12:06 -07:00
hniksic
32a716a20e [svn] Use _POSIX_TIMERS - 0 > 0, which handles the case when POSIX_TIMERS is
_defined but empty, as well as the case when it is
undefined.  Do the same with the check for _POSIX_MONOTONIC_CLOCK.
Suggested by Larry Jones.
2005-04-15 12:29:19 -07:00
hniksic
c65d4ff828 [svn] Check for defined(_POSIX_TIMERS) before checking the value. 2005-04-15 04:09:45 -07:00
hniksic
c547fdd6b3 [svn] Report an error in skip_short_body to the caller. 2005-04-14 14:12:57 -07:00
hniksic
4cf3365fcf [svn] Open the output file in binary mode.
By Gisle Vanem.
2005-04-12 13:32:31 -07:00
hniksic
c65bc738a0 [svn] Conditonialize including config.h on HAVE_CONFIG_H, not on STANDALONE. 2005-04-11 12:20:45 -07:00
hniksic
0e3c6ed569 [svn] Clean up prototypes and definitions of ssl_init and ssl_connect.
Don't include SSL headers in retr.c.
2005-04-11 07:33:36 -07:00
hniksic
364dc617a4 [svn] Doc fix. 2005-04-11 06:41:28 -07:00
hniksic
8db46085a0 [svn] Don't define _VA_LIST; it breaks compilation with GCC under Solaris 10. 2005-04-11 06:04:08 -07:00
hniksic
4dc559af46 [svn] Warn the user to increase SZ before aborting. 2005-04-10 17:42:18 -07:00
hniksic
96d5ceefe4 [svn] Doc fix. 2005-04-10 17:41:20 -07:00
hniksic
be684b81e5 [svn] Free converted_files. 2005-04-10 16:39:41 -07:00
hniksic
62ecd29a84 [svn] Use __builtin_expect to provide a hint that -d is unlikely. 2005-04-10 12:54:02 -07:00
hniksic
67859c4035 [svn] Declare alloca as returning void *, not char *. (The alloca in
alloca.c returns void *.)
2005-04-10 11:20:54 -07:00
hniksic
b49b6db4f1 [svn] Correct logic of check #6 in download_child_p.
By Larry Jones and Hrvoje Niksic.
2005-04-09 15:18:36 -07:00
hniksic
8b9cabe004 [svn] Don't mark ~ as unsafe, it confuses too many sites. 2005-04-09 04:48:31 -07:00
hniksic
823164c62c [svn] Fix compilation of alloca.c under tcc. 2005-04-08 16:09:09 -07:00
hniksic
db9855f2be [svn] Declare ntlmbuf as char, to avoid warning with icc.
Join strings to support pre-C89 compilers.
2005-04-08 15:34:43 -07:00
hniksic
603375697b [svn] Use Windows timers under Cygwin. 2005-04-08 15:05:45 -07:00
hniksic
b381aee988 [svn] Remove the unused "initialized" field from struct ptimer. 2005-04-08 11:33:11 -07:00
hniksic
14a2d25b2e [svn] Better selection of POSIX clocks. 2005-04-08 11:19:20 -07:00
hniksic
1d84ce751b [svn] Fix typo affecting Windows build. 2005-04-08 02:18:26 -07:00
hniksic
c159a45df1 [svn] Check that _POSIX_CLOCK_MONOTONIC >= 0 before using it. 2005-04-07 16:38:08 -07:00
hniksic
fbea09290b [svn] Check for defined-ness of _POSIX_MONOTONIC_CLOCK, don't require
it to be >0.
2005-04-07 16:22:53 -07:00
hniksic
eac1dced8f [svn] Renamed OVERFLOW and UNDERFLOW to INT64_OVERFLOW and INT64_UNDERFLOW. 2005-04-07 16:21:24 -07:00
hniksic
2219d47ba3 [svn] Extract timers to a separate file. 2005-04-07 14:37:22 -07:00
hniksic
42139ce9b1 [svn] Define NO_ADDRESS only after the system headers have been included. 2005-04-07 13:43:26 -07:00
hniksic
52ad80309f [svn] Added NTLM support. 2005-04-06 13:42:22 -07:00
mtortonesi
8f0378df0b [svn] Removed string_t.c from the list of source files in Makefiles. 2005-04-05 11:46:44 -07:00
mtortonesi
6dc9563cca [svn] Removed (not used anymore) string_t.{c,h}. 2005-04-04 20:21:23 -07:00
hniksic
4b57f166ae [svn] Use the xzero shorthand for memset(..., 0, ...). 2005-04-01 16:41:04 -08:00
hniksic
334a0cf9c9 [svn] Made rewrite_shorthand_url recognize HOST:PORT again. 2005-04-01 15:59:48 -08:00
hniksic
e65ff5729a [svn] Avoid explicit 64-bit constants; construct them by multiplication at
compile-time.
2005-04-01 10:22:38 -08:00
hniksic
30e4a33756 [svn] Use sets/hash-tables instead of "slists". Remove slist implementation from
utils.c.
2005-03-30 11:27:34 -08:00
hniksic
52aafa6d15 [svn] Replace GETALL and others with GLOB_GETALL. 2005-03-29 12:13:12 -08:00
hniksic
dd299a9cf6 [svn] Slightly better handling of negative numbers in numdigit. 2005-03-29 12:03:42 -08:00
hniksic
b9a31d78dd [svn] Support human-readable file size printing.
Don't use persistent connection over proxies.
2005-03-22 05:20:02 -08:00
hniksic
7c044778bc [svn] Improve built-in memory debugger. 2005-03-20 07:07:40 -08:00
hniksic
6da4142b3b [svn] Use high-resolution timers on Windows. 2005-03-20 02:41:46 -08:00
hniksic
828a50e4f3 [svn] Undo the 2004-11-18 change to fd_read_body. Instead, always use the
"exact" flag.
2005-03-19 09:38:46 -08:00
hniksic
72ce32e8ab [svn] Limit the maximum amount of memory allocated by fd_read_hunk and its
callers.  Don't allocate more than 64k bytes on headers; don't allocate
more than 4k bytes on a single line.
2005-03-19 09:35:15 -08:00
hniksic
b90b20763b [svn] cmd_bytes now stores wgint, not long. 2005-03-19 09:29:25 -08:00
hniksic
25e3bfdbea [svn] Documentation fix. 2005-03-19 09:25:44 -08:00
hniksic
c36e9a5272 [svn] Concatenate strings using concat_strings. 2005-03-19 09:23:32 -08:00
hniksic
5fca43a4c0 [svn] Handle negative numbers and detect overflow in simple_atoi.
Handle negative numbers in simple_atof.
2005-03-19 09:16:32 -08:00
hniksic
f8aa522afb [svn] Doc fix to fd_peek. 2005-03-16 13:44:22 -08:00
hniksic
976c54d0e6 [svn] Handle multiple Set-Cookie headers sent by the server. 2005-03-06 14:53:02 -08:00
hniksic
30aaf5a19a [svn] Use the passive FTP transfer mode by default. 2005-03-06 11:34:25 -08:00
hniksic
8612bacf0a [svn] Store errors for Winsock calls in errno. Provide a version of strerror
that handles Winsock errors.
2005-03-06 08:36:45 -08:00
hniksic
f3aece8d22 [svn] Reject port numbers greater than 65535. 2005-03-06 08:34:00 -08:00
hniksic
dbd0607ea8 [svn] Include stdio.h. 2005-03-05 20:10:23 -08:00
hniksic
e2241936d0 [svn] Remove warnings under Borland C. 2005-03-05 18:11:10 -08:00
hniksic
c5ca8b7152 [svn] Fix parse error when O_BINARY is available. 2005-03-05 15:35:15 -08:00
hniksic
3a8f6494d7 [svn] Docfix. 2005-03-05 15:07:53 -08:00
hniksic
18acfe8130 [svn] Fix bogus ".." hosts injecting such components to path. 2005-03-05 15:04:05 -08:00
hniksic
b3363d2abd [svn] Fix escape chars in server response vulnerability. Server response is
now quoted to escape non-ASCII characters.
2005-03-04 11:34:31 -08:00
hniksic
50d143f3fe [svn] Fix a possible race condition when opening files.
Published in <87r7j6vy9g.fsf@xemacs.org>.
2005-03-04 11:26:18 -08:00
hniksic
16c53cdf93 [svn] Improve handling of numeric hosts when ENABLE_IPV6.
Published in <87psyr6jn7.fsf@xemacs.org>.
2005-03-04 11:21:02 -08:00
hniksic
3d04bb3a2c [svn] Avoid unneeded initialization of local var. 2005-02-28 10:48:23 -08:00
hniksic
e3fb2ec5df [svn] Remove duplicate initialization. 2005-02-26 19:00:59 -08:00
hniksic
00dc3157e5 [svn] iFixes for compilation under MingW. By Gisle Vanem. 2005-02-26 06:00:20 -08:00
hniksic
0c4e666cb6 [svn] Large file fixes for Borland C, published in
<87u0o0cgr1.fsf@xemacs.org>.
2005-02-25 16:23:24 -08:00
hniksic
76661bdc29 [svn] iInitialize err in getftp to suppress gcc warning. 2005-02-25 14:00:18 -08:00
hniksic
2e48de2b01 [svn] Fix infloop in ftp_expected_bytes introduced by the LFS patch. 2005-02-24 05:44:19 -08:00
hniksic
f80f35d480 [svn] Fix Windows problems introduced by LFS. Published in
<87k6oynmj0.fsf@xemacs.org>.
2005-02-24 04:58:00 -08:00
hniksic
ef22bf610a [svn] Large file support added. Published in <87psyr6jn7.fsf@xemacs.org>. 2005-02-23 14:21:04 -08:00
mtortonesi
787f482f03 [svn] Added the --ftp-passwd command line option. 2005-02-18 17:52:01 -08:00
mtortonesi
ceea435096 [svn] added string_t.{c,h} to CVS. 2005-02-11 13:47:10 -08:00
mtortonesi
87e0d2682b [svn]
Renamed src/string.{c,h} to src/string_t.{c,h} to solve a conflict with the
string.h standard C library header file.

Fixed a bug and triggered escape of backslashes in string_t.c to avoid
ambiguities in the result string.

Added Simone Piunno as new contributor.
2005-02-11 13:34:42 -08:00
mtortonesi
ca13ffd249 [svn] Added string.c module. Updated copyright information and added names of new contributors to the documentation. 2005-01-01 13:29:11 -08:00
mtortonesi
ec4f99d51e [svn] Fixed a problem in ftp_parse_winnt_ls that could allow a malicious remote FTP server to crash wget. 2004-12-08 17:20:39 -08:00
mtortonesi
65af6f7432 [svn] Fixed -k when using -O. 2004-11-18 16:44:38 -08:00
mtortonesi
14645396e2 [svn] Fixed a timeout problem in src/retr.c:fd_read_body when using http_proxy. 2004-11-18 13:05:30 -08:00
mtortonesi
1268028a0a [svn] merged YAMAZAKI Makoto's patch fixing termination by assertion bug in netrc parsing. 2004-11-15 13:13:50 -08:00
hniksic
44704ef233 [svn] Fix fake_fork under Borland C.
Submitted by David Fritz.
2004-05-09 14:50:00 -07:00
hniksic
2fdf38285b [svn] Fix typo. 2004-03-31 11:14:05 -08:00
hniksic
7488d701bf [svn] Send the Proxy-Authorization header over non-SSL connections too. 2004-03-30 15:19:16 -08:00
hniksic
bf4ae09b22 [svn] Fix fake_fork error handling for Windows 98.
Patch by David Fritz.
2004-03-25 11:18:54 -08:00
hniksic
8ae7bc8333 [svn] Added docs. Submitted by David Fritz. 2004-03-24 16:06:04 -08:00
hniksic
03395ca801 [svn] New Windows implementation of fork_to_background().
Submitted by David Fritz.
2004-03-24 11:16:08 -08:00
hniksic
1b6479a39a [svn] Fixed bugs in Windows console event handling.
Submitted by David Fritz.
2004-03-19 15:54:27 -08:00
hniksic
dd9a354756 [svn] Decode %HH sequences in host name. 2004-03-19 13:00:09 -08:00
hniksic
15282415b4 [svn] Quote # and % when creating links to local files. 2004-03-03 16:41:34 -08:00
hniksic
3f374f6db1 [svn] * mswindows.c (ws_percenttitle): Guard against future changes by
doing nothing if the proper variables have not been initialized.
Clamp percentage value.
Submitted by David Fritz.
2004-03-03 16:06:46 -08:00
hniksic
5c07512ec9 [svn] Don't change Windows console title if quiet.
Submitted by Gisle Vanem.
2004-03-03 16:05:26 -08:00
hniksic
a865004aba [svn] Improved Windows power management logic. Submitted by David Fritz. 2004-02-26 06:34:17 -08:00
hniksic
a0642cc62e [svn] Revamped MS console logic. Submitted by David Fritz. 2004-02-25 15:45:24 -08:00
hniksic
6b955d9fe7 [svn] Formatting tweaks by David Fritz. 2004-02-23 19:29:55 -08:00
hniksic
eef22ee91e [svn] Remove ws_help; it doesn't make sense to invoke the help browser for
--help.
2004-02-22 07:45:59 -08:00
hniksic
f7193075df [svn] Under Windows, if $HOME is not defined, use the directory that
contains the Wget binary instead of hard-coded `C:\'.
(wgetrc_file_name): Under Windows, look for $HOME/.wgetrc then, if
not found, look for wget.ini in the directory of the Wget binary.

Submitted by David Fritz.
2004-02-17 07:37:31 -08:00
hniksic
5114df6b33 [svn] Respect --ignore-length.
Inhibit keep-alive when --ignore-length is used.
2004-02-06 17:48:54 -08:00
hniksic
9adc7cf275 [svn] Zero out sockaddr_in/sockaddr_in6. Apparently BSD-derived stacks need this
when binding a socket to local address.
2004-02-06 08:59:54 -08:00
hniksic
91ebe986e4 [svn] Make hash.c compilable outside the source tree. 2004-02-04 04:32:46 -08:00
hniksic
9a4afed6fd [svn] Return a value on non-Windows systems without TIOCGWINSZ. 2004-01-29 04:38:52 -08:00
hniksic
4d626daf5a [svn] Correctly determine screen size under Windows. 2004-01-28 05:42:52 -08:00
hniksic
2c0e2b0afa [svn] Fixes by Christian Biere:
* progress.c (bar_set_params): Fixed syntax error when HAVE_ISATTY
was undefined.
* ftp.c (ftp_loop_internal): Allocate a larger buffer in case
"try" gets translated to something large.  Ditto in http_loop in
http.c.
* http.c (response_header_copy): Don't write to buf[BUFSIZE].
* ftp-opie.c (skey_response): Eliminate unnecessary string
concatenation; just call gen_md5_update twice.
2004-01-27 17:02:26 -08:00
hniksic
dc99d9a487 [svn] Don't sleep using usleep for more than a second. 2004-01-24 19:16:33 -08:00
hniksic
36b266f894 [svn] Trivial doc fix. 2003-12-19 17:40:19 -08:00
hniksic
4bbe443be3 [svn] Fix generation of `Content-Length'. 2003-12-16 12:42:06 -08:00
hniksic
174fee5396 [svn] Fixed return value; 'url' if no credentials. 2003-12-15 02:22:54 -08:00
hniksic
8b30dbf8b5 [svn] Docfix. 2003-12-14 07:25:29 -08:00
hniksic
c734e9a981 [svn] Return a pointer from url_skip_credentials. 2003-12-14 05:42:53 -08:00
hniksic
489452a23a [svn] Declare the pointers to literal strings as `const'. 2003-12-14 05:35:27 -08:00
hniksic
261183c609 [svn] retr.c (fd_read_body): Pass total size to progress_create, not
the remaining amount.
2003-12-12 14:55:20 -08:00
hniksic
9179f2e699 [svn] Don't fiddle with "interactive timeout" if read timeout is unset. 2003-12-12 14:40:39 -08:00
hniksic
c5cc9f39cc [svn] Don't set the IPV6_V6ONLY option on the socket. 2003-12-12 06:14:53 -08:00
hniksic
0d0fe50435 [svn] New option --protocol-directories. 2003-12-05 19:01:31 -08:00
hniksic
a8155e7bcc [svn] Correctly calculate bandwidth as total data read divided with download
time.
2003-12-05 18:32:57 -08:00
hniksic
bf8350af62 [svn] Support the 303 See Other response. 2003-12-05 06:37:47 -08:00
hniksic
78706dc5ea [svn] * retr.c (fd_read_body): Report the amount of data *written* as
amount_read.  This is not entirely logical, but that's what the
callers expect, and it's not easy to change.

* ftp.c (ftp_loop_internal): Ditto.

* http.c (http_loop): Be smarter about assigning restval; if we're
in the nth pass of a download, simply use the information we have
about how much data has been retrieved as restval.

* ftp.c (getftp): Ditto for FTP "REST" command.

* http.c (gethttp): When the server doesn't respect range, skip
the first RESTVAL bytes of the read body.  Never truncate the
output file.

* retr.c (fd_read_body): Support skipping initial STARTPOS octets.
2003-11-30 15:39:04 -08:00
hniksic
381457408a [svn] Read the data in skip_short_body directly. 2003-11-30 06:33:00 -08:00
hniksic
2f357b5eb8 [svn] Better documentation for fd_read_body args. 2003-11-29 20:41:08 -08:00
hniksic
3390f7eb45 [svn] Try to reuse connections that return error codes. 2003-11-29 17:34:33 -08:00
hniksic
63d492c0ba [svn] Initialize SSL only the first time when an SSL URL is encountered. 2003-11-29 14:24:55 -08:00
hniksic
ddd2644bc8 [svn] Docfix. 2003-11-29 14:19:46 -08:00
hniksic
f57e571154 [svn] Cosmetic change. 2003-11-29 14:19:26 -08:00
hniksic
0ff9eb4727 [svn] Restructure generation of HTTP requests. Allow headers specified with
--header to override generated headers.
2003-11-29 10:40:01 -08:00
hniksic
83b0e38940 [svn] Don't include the Proxy-Authorization header in the request tunneled
through proxy.
2003-11-28 03:28:05 -08:00
hniksic
76b59b1ad7 [svn] Use the CONNECT method to establish passthrough over SSL traffic
over proxies.
2003-11-27 18:24:53 -08:00
hniksic
7c063c3175 [svn] Don't #include netinet/Winsock stuff. 2003-11-27 15:39:53 -08:00
hniksic
8f286c1238 [svn] Remove obsolete finder_t typedef. 2003-11-27 15:34:32 -08:00
hniksic
dfe1f43dc0 [svn] Use fd_read_hunk for reading HTTP response head. Support HTTP/0.9
responses.
2003-11-27 15:29:36 -08:00
hniksic
b83acf88c1 [svn] Don't calculate the ETA if nothing has yet been downloaded. 2003-11-27 14:59:36 -08:00
hniksic
f496a0ea07 [svn] Renamed sa_len to addrlen because IRIX defines sa_len as macro. 2003-11-27 02:59:41 -08:00
hniksic
795614dcbb [svn] Check for struct sockaddr_storage. 2003-11-26 09:20:23 -08:00
hniksic
3f84a5e00e [svn] Squash embedded newlines in links. 2003-11-26 08:37:04 -08:00
hniksic
1b2dce0493 [svn] Set con->csock to -1 where rbuf_uninitialize was previously used. 2003-11-25 16:38:20 -08:00
hniksic
c06c8d039f [svn] Added the trailing backslash that was missing. 2003-11-25 16:20:42 -08:00
hniksic
7736d5dc98 [svn] Remove headers.c and headers.h. 2003-11-21 00:48:45 -08:00
hniksic
d9fea91a0a [svn] Remove the "rbuf" buffering layer. Provide peeking primitives instead. 2003-11-20 17:48:11 -08:00
hniksic
0716c335a0 [svn] Renamed xread/xwrite/xclose to fd_read/fd_write/fd_close. The "x" prefix is
not appropriate because the semantics have diverged from read/write/close
too significantly.
2003-11-20 07:19:59 -08:00
hniksic
0c4b349c5a [svn] It's not necessary to initialize RES. 2003-11-19 17:26:02 -08:00
hniksic
51b0fdbace [svn] It's not necessary to initialize RES. 2003-11-19 16:42:21 -08:00
hniksic
bbcdd71484 [svn] Don't reference opt.ipv4_only and opt.ipv6_only if IPv6 is disabled. 2003-11-19 05:25:20 -08:00
hniksic
3792aa7058 [svn] Don't compile socket_has_inet6 if IPv6 is disabled. 2003-11-19 04:07:42 -08:00
hniksic
581f9539a3 [svn] Warn the user when using weak random seed. 2003-11-18 14:28:01 -08:00
hniksic
0fb0ee87c7 [svn] Renamed address_list_find to address_list_contains. 2003-11-18 14:18:44 -08:00
hniksic
b61d05160b [svn] Document connect_to_host better. 2003-11-17 15:53:14 -08:00
hniksic
ac1d8e5078 [svn] Make select_fd return 1 if select is unavailable. 2003-11-17 15:46:20 -08:00
hniksic
e4c730c3a5 [svn] Don't reference address list after releasing it. 2003-11-17 12:51:27 -08:00
hniksic
5fb7ffc9ad [svn] Fix alignment of FTP options output. 2003-11-17 05:13:33 -08:00
hniksic
133d69ff24 [svn] Don't auto-set opt.ipv4_only on systems without IPv6 sockets. 2003-11-17 04:59:54 -08:00
hniksic
c45fc0e595 [svn] Fix minor problems with --help text. 2003-11-16 15:42:38 -08:00
hniksic
cd8797a2a2 [svn] No longer include INET headers in ftp-basic.c. 2003-11-16 11:17:48 -08:00
hniksic
66cc6d43f6 [svn] Don't allow opt.ipv4_only and opt.ipv6_only to both be set. 2003-11-15 16:31:58 -08:00
hniksic
dcc890b007 [svn] Specify AI_ADDRCONFIG only when the address family is not explicitly
requested.
2003-11-14 18:18:41 -08:00
hniksic
98349dee6f [svn] Don't refer to nonexistent forget_host_lookup. 2003-11-14 18:10:56 -08:00
hniksic
22b37f3ef1 [svn] Doc fix. 2003-11-14 18:05:21 -08:00
hniksic
36387204b0 [svn] Fix call to socket_ip_address. 2003-11-14 18:03:23 -08:00
hniksic
8e330fdba0 [svn] Add support for -4/-6. 2003-11-14 17:49:52 -08:00
hniksic
5a883689bc [svn] Enable -4 and -6 switches only when IPv6 is enabled. 2003-11-14 07:18:47 -08:00
hniksic
615ae382f9 [svn] Cosmetic changes. 2003-11-14 05:55:02 -08:00
hniksic
4cef0cc3f9 [svn] Document that Winsock's gethostbyname might not grok numeric addresses. 2003-11-14 05:51:32 -08:00
hniksic
4e58524e8f [svn] Renamed register_extended to register_transport. 2003-11-14 05:43:46 -08:00
hniksic
a501e1c988 [svn] Import the 1.9.1 release change logs to 1.9 branch change logs. 2003-11-13 18:08:23 -08:00
hniksic
6ddd0006e4 [svn] Preserve consecutive slashes in URLs. Make sure leading ".."'s are
not stripped away.
2003-11-13 17:36:02 -08:00
hniksic
9d907933ad [svn] Don't attempt to talk to two different SSL sites over the same secure
connection.
2003-11-13 14:48:03 -08:00
hniksic
509154dc81 [svn] Use the new function retryable_socket_connect_error instead of the
CONNECT_ERROR macro.
2003-11-13 14:27:38 -08:00
hniksic
1cfde0c27d [svn] Correctly check for unsupported socket families. 2003-11-13 12:26:18 -08:00
hniksic
0f99d1f220 [svn] Rewrote bindport and acceptport to use a more standard calling convention. 2003-11-13 09:05:06 -08:00
hniksic
a0bae929ea [svn] Turn on opt.ipv4_only if we're compiling with IPv6, and AI_ADDRINFO is not
available, and AF_INET6 sockets can't be created.
2003-11-13 08:41:17 -08:00
hniksic
fea4fb28cb [svn] Document that the IP addresses are returned in order. 2003-11-12 17:37:46 -08:00
hniksic
6f3dbca0c5 [svn] Better INT_MAX and UCHAR_MAX checks. 2003-11-11 16:42:09 -08:00
hniksic
244efb6e50 [svn] Added (currently no-op) -4 and -6. 2003-11-11 13:48:35 -08:00
hniksic
1c35fe3c45 [svn] Mention that gethostbyname is not required to accept dotted-decimal
addresses.
2003-11-10 19:21:57 -08:00
hniksic
1d0ab81f37 [svn] Use a more standard error message. 2003-11-10 19:19:33 -08:00
hniksic
9e5222bd7c [svn] Add docs for address_list_release. 2003-11-10 16:26:14 -08:00
hniksic
02f90322e8 [svn] Network updates. 2003-11-10 05:20:46 -08:00
hniksic
5921fb2d57 [svn] Special-case numeric addresses only in the IPv4 case. 2003-11-10 04:56:08 -08:00
hniksic
8ccc51e5af [svn] Split passive host lookups to a separate function. 2003-11-09 17:38:09 -08:00
hniksic
eb88464568 [svn] Download URLs from <object data="...">. 2003-11-08 17:33:33 -08:00
hniksic
113ad490d0 [svn] Fix core dump with --mirror. 2003-11-08 17:07:53 -08:00
hniksic
c4ba08110d [svn] Mark clearly where the response begins and ends in the debug output. 2003-11-08 17:05:35 -08:00
hniksic
8cfaba536a [svn] Specify exact domain match on cookies that don't specify domain. 2003-11-08 14:32:52 -08:00
hniksic
36a5d0b2fe [svn] Doc fix. 2003-11-08 12:41:15 -08:00
hniksic
4f19ac5494 [svn] Retire options -g, -G, -s, and -C. 2003-11-08 12:22:21 -08:00
hniksic
439d6a11fa [svn] Added --dont-remove-listing, removed -s. 2003-11-08 12:13:24 -08:00
hniksic
34a06b07b0 [svn] Doc fix. 2003-11-08 11:29:36 -08:00
hniksic
3b8e1052cb [svn] Support Windows-2000 ftp servers. By Gisle Vanem. 2003-11-08 11:20:29 -08:00
hniksic
cd87cd9e09 [svn] Remove the debugging sledgehammer check. 2003-11-08 09:00:45 -08:00
hniksic
94ca33d2fb [svn] Update the progress gauge even when the data does not arrive. 2003-11-08 08:56:52 -08:00
hniksic
cb393a062d [svn] Abort if wtimer_update is called on an uninitialized timer.
On the other hand, allow wtimer_read on such a timer.
2003-11-08 08:13:54 -08:00
hniksic
0bd6576cde [svn] Timer code update. 2003-11-07 20:55:44 -08:00
hniksic
caa70d1420 [svn] Move the explanation of IdentityHashMap to hash_table_new. 2003-11-07 20:06:03 -08:00
hniksic
21f6620b49 [svn] *** empty log message *** 2003-11-07 19:58:50 -08:00
hniksic
85ff32caeb [svn] Name the source of the integer hash function. 2003-11-07 19:42:58 -08:00
hniksic
d7e592d797 [svn] Replace conaddr with socket_ip_address. 2003-11-07 18:57:51 -08:00
hniksic
fef88bd179 [svn] Mark entries as deleted with the correct marker. 2003-11-07 16:52:23 -08:00
hniksic
bf1ce5b2ad [svn] Use 0xff in hash_table_clear. 2003-11-07 16:48:12 -08:00
hniksic
e5332ac6fc [svn] Improve documentation. 2003-11-07 16:20:10 -08:00
hniksic
1a0adb90b4 [svn] Don't force silent lookup. 2003-11-07 16:11:29 -08:00
hniksic
7d12ad0f36 [svn] Explicitly check that fd>=0 in register_extended. 2003-11-07 15:45:03 -08:00
hniksic
4a2a06a881 [svn] Set last_info. 2003-11-07 08:46:01 -08:00
hniksic
c929628ba8 [svn] No need to initialize NEWEL->next to NULL, it's already NULL. 2003-11-07 04:08:05 -08:00
hniksic
99625a869b [svn] Improve documentation of "reserved" and "unsafe" chars. 2003-11-07 04:00:23 -08:00
hniksic
ab15dd054b [svn] Allow NULL/0 as hash table keys. 2003-11-07 03:40:08 -08:00
hniksic
84db601be6 [svn] Allow empty port spec in URL. 2003-11-06 17:10:12 -08:00
hniksic
7409af5e07 [svn] Break up `--help' output to smaller chunks. 2003-11-06 15:56:26 -08:00
hniksic
19144a9f4c [svn] Don't declare log_* functions in main.c. 2003-11-06 14:48:17 -08:00
hniksic
ad75dd2662 [svn] Applied Dennis Smit's --preserve-permissions patch. 2003-11-06 12:33:20 -08:00
hniksic
f567bec34c [svn] Improved command line option processing, introduced boolean options. 2003-11-06 12:20:43 -08:00
hniksic
bc764dbb7c [svn] Improve SSL code. Only initialize PRNG when needed. 2003-11-06 05:06:59 -08:00
hniksic
49dfcb6036 [svn] Free INFO even if it doesn't register a closer. 2003-11-05 17:15:44 -08:00
hniksic
1484fe09f5 [svn] Use int for modification tick. 2003-11-05 17:13:21 -08:00
hniksic
c8e92cdbd6 [svn] Get rid of ssl_iread/ssl_iwrite. Have the SSL code register its
routines for reading and writing data.
2003-11-05 17:12:03 -08:00
hniksic
1131c6a116 [svn] Fix compilation under pre-C99 compilers. 2003-11-05 13:33:46 -08:00
hniksic
2d00f882e0 [svn] Make setsockopt(SO_REUSEADDR) non-fatal if fails. 2003-11-05 07:12:14 -08:00
hniksic
5355da917f [svn] More specific error message in resolve_bind_address. 2003-11-05 06:42:42 -08:00
hniksic
38b37ed104 [svn] New option --keep-session-cookies. 2003-11-04 16:11:33 -08:00
hniksic
c3e7a030de [svn] findcmd -> command_by_name 2003-11-04 15:19:39 -08:00
hniksic
bc768ec88a [svn] HAVE_FNMATCH_H is now HAVE_WORKING_FNMATCH_H. 2003-11-04 08:22:52 -08:00
hniksic
4914c2c49c [svn] New file. 2003-11-04 08:06:38 -08:00
hniksic
086dd1ca8a [svn] Delete config.h.in from `make realclean'. 2003-11-04 08:06:25 -08:00
hniksic
e75d817c09 [svn] Use autoheader to generate config.h.in. 2003-11-04 07:28:18 -08:00
hniksic
0e62563e27 [svn] Use more standard description. 2003-11-04 05:49:47 -08:00
hniksic
71b3daae55 [svn] Imported Mauro's IPv6 ChangeLog. 2003-11-04 05:40:21 -08:00
hniksic
f4cbba565e [svn] Only set a flag in the SIGWINCH handler. 2003-11-04 05:37:14 -08:00
hniksic
9af99f3b83 [svn] Enable SYSTEM_FNMATCH only if fnmatch.h is available. 2003-11-03 17:09:54 -08:00
hniksic
8cd9b4cd8a [svn] New function xsleep that resumes sleeps interrupted by signals
on systems that support nanosleep.
2003-11-03 13:57:04 -08:00
hniksic
2f2939d23e [svn] Don't shadow SEED. 2003-11-03 13:21:05 -08:00
hniksic
e958a474b0 [svn] Renamed logvprintf to log_vprintf_internal. 2003-11-03 12:08:46 -08:00
hniksic
3ec22d9843 [svn] Msg fix. 2003-11-02 18:44:41 -08:00
hniksic
b997a9d34f [svn] Don't parenthesize argument to N_. 2003-11-02 16:28:53 -08:00
hniksic
2063522623 [svn] Don't take the address of in.s_addr because that doesn't work on some
machines.
2003-11-02 15:48:45 -08:00
hniksic
6d3df65e88 [svn] Generalized the third argument to select_fd. 2003-11-02 15:17:59 -08:00
hniksic
c12e07faa6 [svn] Cosmetic change. 2003-11-02 13:16:43 -08:00
hniksic
12693decd1 [svn] Revert DEBUG_MALLOC to undefined. 2003-11-02 13:15:57 -08:00
hniksic
095d89995e [svn] Abort on xfree(NULL). 2003-11-02 13:12:49 -08:00
hniksic
e2e9b753e4 [svn] Retired the `boolean' type. Renamed FREE_MAYBE to xfree_null and moved the
definition from wget.h to xmalloc.h.  Moved the DEFAULT_LOGFILE
define to log.h.  Moved the INFINITE_RECURSION define to recur.h.
2003-11-02 11:56:37 -08:00
hniksic
3e207912bd [svn] Added undefs for FITS and SKIP_SEMI macros. 2003-11-02 08:48:40 -08:00
hniksic
504effdc13 [svn] Improved support for entities. 2003-11-02 06:57:31 -08:00
hniksic
37dd65621c [svn] Document the Opie code better. Use uint32_t instead of unsigned long
for 32-bit quantities.
2003-11-01 08:36:43 -08:00
hniksic
7ec83a1b2a [svn] Don't call select_fd unless timeout is desired. 2003-11-01 06:01:53 -08:00
hniksic
9d9e242e5d [svn] Improved fatal error message. 2003-10-31 18:51:47 -08:00
hniksic
3dc9f336e8 [svn] Renamed HASH_FULLNESS_THRESHOLD to HASH_MAX_FULLNESS. 2003-10-31 18:45:16 -08:00
hniksic
5b8d5d5a05 [svn] Doc fix. 2003-10-31 18:29:38 -08:00
hniksic
bed1c56453 [svn] Fixed declaration of VEC in lookup_host.
Removed the ip_default_family global variable.
2003-10-31 18:22:11 -08:00
hniksic
916d8c1586 [svn] New file. 2003-10-31 07:27:29 -08:00
hniksic
c6c171bed7 [svn] Don't declare long-gone function "pwd_cuserid". 2003-10-31 07:18:48 -08:00
hniksic
5f0a2b3f08 [svn] Use new macros xnew, xnew0, xnew_array, and xnew0_array in various places. 2003-10-31 06:55:50 -08:00
hniksic
370ff7a576 [svn] Moved malloc-related code to xmalloc.c. Defined new macros xnew, xnew0,
xnew_array, and xnew0_array.  Created xmalloc.h and log.h to unclutter
wget.h.
2003-10-31 06:31:56 -08:00
hniksic
83e7fe2ca8 [svn] Retired broken code that checked for NULL ip_address in sockaddr_set_data. 2003-10-31 04:20:14 -08:00
hniksic
dbe01ae695 [svn] Removed address_list_from_single. 2003-10-31 02:50:03 -08:00
hniksic
add61a2d9c [svn] Networking improvements: get rid of the MSOCK global variable,
move the sockaddr handling to connect.c, make sure Wget refreshes
the DNS lookup after it becomes stale.
2003-10-30 16:18:08 -08:00
hniksic
e4ff71fca5 [svn] *** empty log message *** 2003-10-30 13:32:35 -08:00
hniksic
3f8a70c227 [svn] Use S >= 8' rather than S == 8' when looking for large integers. 2003-10-30 07:55:53 -08:00
hniksic
448a61fb83 [svn] Don't unescape URL escapes twice. 2003-10-30 07:42:52 -08:00
hniksic
29e36b051b [svn] Fix -p so it doesn't imply FTP recursion. 2003-10-30 05:00:29 -08:00
hniksic
6369bc5944 [svn] Clarify how setoptval() works. 2003-10-30 03:09:18 -08:00
hniksic
6f1250b1c6 [svn] Updated IPv6 code. 2003-10-29 15:13:25 -08:00
hniksic
8c19243974 [svn] Dummy ChangeLog entry for Mauro's IPv6 changes. 2003-10-29 13:47:07 -08:00
hniksic
90cb3309da [svn] Imported Mauro's IPv6 changes. 2003-10-29 10:23:56 -08:00
hniksic
c81651f4c1 [svn] Change u_int32_t to uint32_t. 2003-10-25 18:41:56 -07:00
hniksic
dd356aff3d [svn] Reset the QUOTE flag after the closing quote. 2003-10-25 17:03:38 -07:00
hniksic
27d5becdaf [svn] Better document the workings of construct_relative().
Reformat is_valid_ipv6_address() to GNU formatting style.
2003-10-25 04:58:24 -07:00
hniksic
51c82cd8b3 [svn] Fixed compilation under Ultrix. 2003-10-23 08:25:34 -07:00
hniksic
5fa95aabc7 [svn] Bump version. 2003-10-23 05:33:26 -07:00
hniksic
d66af0ab20 [svn] Don't use trailing commas in enums. 2003-10-23 05:15:39 -07:00
hniksic
168f03d21d [svn] Don't let absolute path specified by -P introduce absolute file names
to links converted by -k.
2003-10-16 08:48:24 -07:00
hniksic
31d919b23d [svn] Accept HTTP status 307 as redirect. 2003-10-14 16:32:15 -07:00
hniksic
c6dcc539f8 [svn] Updated comment. 2003-10-14 15:54:57 -07:00
hniksic
3f6913663e [svn] Correctly loop through the linked list.
By Philip Stadermann.
2003-10-14 15:52:12 -07:00
hniksic
5535c9ff17 [svn] Expect links followed from Refreshes to contain URLs. 2003-10-13 07:32:25 -07:00
hniksic
7487dbfa81 [svn] Don't define int32_t because we're not using it. 2003-10-13 07:20:51 -07:00
hniksic
711bf72609 [svn] Remove VERY_LONG_TYPE; use LARGE_INT instead. Remove special code
for handling VERY_LONG_TYPE overflows.
Make opt.quota a LARGE_INT.
2003-10-11 06:57:11 -07:00
hniksic
a6f72ca66b [svn] Also check for short for int32_t. 2003-10-11 05:41:13 -07:00
hniksic
f58c6774e4 [svn] Provide the support for int32_t and u_int32_t. 2003-10-10 19:27:41 -07:00
hniksic
5155384340 [svn] Look for and use socklen_t. 2003-10-10 18:39:07 -07:00
hniksic
1b3cdef574 [svn] Don't descend into HTML that was downloaded by following <img src=...>
and such.
2003-10-10 07:25:10 -07:00
hniksic
ffc2d0f653 [svn] Make the first argument to hash_table_new a minimal count of items before
regrow, not raw size, which is more useful.
2003-10-09 19:46:09 -07:00
hniksic
233ebb78de [svn] Use hash table for tag lookup in html-url.c and html-parse.c. 2003-10-09 08:01:58 -07:00
hniksic
b49e89e78a [svn] Add const declarations to hash-table functions. 2003-10-09 06:32:28 -07:00
hniksic
ae1d264fcc [svn] Add FLAGS argument to map_html_tags. 2003-10-08 09:17:33 -07:00
hniksic
a9c3c58c9f [svn] Switch to binary search for find_tag. 2003-10-08 09:00:10 -07:00
hniksic
33dceca784 [svn] Fix typo in help string. 2003-10-08 08:24:56 -07:00
hniksic
6057dbec6f [svn] Add definitions of getopt_long and getopt_long_only to getopt.c.
The definitions were lost when updating the file.
2003-10-08 07:55:44 -07:00
hniksic
e4d15a373b [svn] run_with_timeout docstring synch with utils.c. 2003-10-07 17:16:43 -07:00
hniksic
f1a802d1c0 [svn] Cosmetic changes to GNU convention. 2003-10-07 17:09:56 -07:00
hniksic
38ea4d5dad [svn] Renamed DEBUG to ENABLE_DEBUG. 2003-10-07 17:05:51 -07:00
hniksic
097923f7b1 [svn] Move fnmatch() to cmpt.c and don't use it under GNU libc. 2003-10-07 16:53:31 -07:00
hniksic
d7cbc755e0 [svn] Add a fresher getopt.c. 2003-10-07 15:58:27 -07:00
hniksic
cc5d6f0ab8 [svn] Doc typo fix. 2003-10-07 14:45:26 -07:00
hniksic
3d823e690e [svn] Remove unused pointer from struct cookie. 2003-10-07 03:39:18 -07:00
hniksic
df4064bc68 [svn] jar->chains_by_domain -> jar->chains 2003-10-06 17:49:58 -07:00
hniksic
6359e38d96 [svn] Improve documentation of cookie code. 2003-10-06 17:47:08 -07:00
hniksic
abf7afb9d4 [svn] Fix type of _SetThreadExecutionState local var.
By Gisle Vanem.
2003-10-05 14:12:36 -07:00
hniksic
30c3b5bc8a [svn] Doc update. 2003-10-04 15:58:34 -07:00
hniksic
533412b55c [svn] Doc update. 2003-10-04 15:51:00 -07:00
hniksic
254291cc03 [svn] Fix crash when post-file is missing. 2003-10-04 15:26:58 -07:00
hniksic
711692375e [svn] Use WaitForSingleObject to wait for thread termination.
By Gisle Vanem.
2003-10-04 14:54:12 -07:00
hniksic
98b7ac79f3 [svn] Update ansi2knr.c and ansi2knr.1.
Update log.c to use `...' in function definition argument lists
unconditionally.
2003-10-04 03:34:10 -07:00
hniksic
351c4b9add [svn] Include winsock headers from mswindows.h.
By Gisle Vanem.
2003-10-03 09:37:47 -07:00
hniksic
87275db136 [svn] Fix compilation problem on non-Gcc compilers. 2003-10-03 09:11:09 -07:00
hniksic
5a905bcec3 [svn] Window-specific implementation of run_with_timeout.
By Gisle Vanem.
2003-10-02 16:28:49 -07:00
hniksic
eec3ea392d [svn] Better document html-parse macros. 2003-10-02 15:20:44 -07:00
hniksic
f70c6cacb9 [svn] Initialize DUMMY storage for DT. 2003-10-02 14:21:07 -07:00
hniksic
2e8899bc10 [svn] Added support for hexadecimal numeric entities. 2003-10-02 10:23:25 -07:00
hniksic
675c1a703c [svn] Doc fixes. 2003-10-02 08:15:36 -07:00
hniksic
030704403b [svn] Subsecond granularity in run_with_timeout. 2003-10-02 06:37:45 -07:00
hniksic
4055ebc41f [svn] Synch doc/version.texi with src/version.c. 2003-10-01 13:44:15 -07:00
hniksic
65cec8deee [svn] Fix memory leak in a rare case in url.c.
Translate error messages from url_parse().
2003-10-01 12:59:48 -07:00
hniksic
d0f4a1e109 [svn] Initialize local variable to shut up the compiler. 2003-10-01 12:45:41 -07:00
hniksic
6a2477fdc2 [svn] *** empty log message *** 2003-10-01 06:44:46 -07:00
hniksic
111dea9622 [svn] Updated copyright and email. 2003-09-30 14:54:27 -07:00
hniksic
451ddf3cf9 [svn] Display percentage in title bar.
By Gisle Vanem.
2003-09-30 14:24:36 -07:00
hniksic
b307160959 [svn] Made --spider work with FTP downloads.
By Aaron S. Hawley.
2003-09-30 14:14:02 -07:00
hniksic
a95b801f61 [svn] Windows fixes by Gisle Vanem. 2003-09-26 17:35:31 -07:00
hniksic
700df4394e [svn] Fixes to support out of the box compilation on various Windows compilers.
By Gisle Vanem.
2003-09-25 15:39:37 -07:00
hniksic
831f376303 [svn] Fix oversight in escape handling. 2003-09-25 15:31:35 -07:00
hniksic
e6fd9cb793 [svn] Force printing of ETA at the end of download. 2003-09-23 13:48:10 -07:00
hniksic
845a0988b1 [svn] Remove .libs directory when cleaning up. 2003-09-23 13:10:59 -07:00
hniksic
d403f7f835 [svn] Cosmetic change in var names. 2003-09-23 11:39:22 -07:00
hniksic
45164e05cc [svn] Fix a bug when loading cookies. Don't ignore domain-flag. 2003-09-22 18:08:01 -07:00
hniksic
625a9d3a9f [svn] Indicate where the download has started in progress bar. 2003-09-22 10:14:19 -07:00
hniksic
c2ffc02ab3 [svn] If hash/test functions aren't given, default to identity hash tables. 2003-09-22 07:32:17 -07:00
hniksic
566289ea9d [svn] Added comment about SO_SNDBUF for post. 2003-09-22 06:55:22 -07:00
hniksic
b8fa2039a7 [svn] Doc update. 2003-09-22 06:34:55 -07:00
hniksic
bebad75ff9 [svn] Another doc update. 2003-09-22 05:07:20 -07:00
hniksic
f78016fb95 [svn] path_simplify doc update. 2003-09-22 05:03:34 -07:00
hniksic
e6d8f06093 [svn] Fix broken cast of BIT to unsigned char. 2003-09-21 19:05:34 -07:00
hniksic
3e9dc5b994 [svn] Modified path_simplify not to rely on extensive use of memmove. 2003-09-21 17:23:44 -07:00
hniksic
9d333d074b [svn] Include convert.h. 2003-09-21 16:32:42 -07:00
hniksic
dadde97838 [svn] Removed spurious includes. 2003-09-21 16:09:06 -07:00
hniksic
95c647eb44 [svn] Split off non-URL related stuff from url.c to convert.c. 2003-09-21 15:47:14 -07:00
hniksic
12ffc87ca7 [svn] Update copyright. 2003-09-21 14:39:00 -07:00
hniksic
e0303dd8ea [svn] Improved init.c error messages. 2003-09-21 12:17:45 -07:00
hniksic
7211c51139 [svn] path_simplify would read two bytes past the end of the string in the "./" case. 2003-09-21 06:36:50 -07:00
hniksic
c06d32a309 [svn] Treat xhtml files just like regular html.
By Matthew J. Mellon.
2003-09-21 05:02:57 -07:00
hniksic
51a8e9fa50 [svn] Enabled separation of different timeout values. 2003-09-20 21:41:55 -07:00
hniksic
b8e416c6c7 [svn] Adjust bandwidth limitation sleep for the error of previous sleeps.
Allow decimal numbers in bandwidth limit specification.
2003-09-20 21:05:12 -07:00
hniksic
37183b0208 [svn] Make errors in command-line options fatal. 2003-09-20 17:41:49 -07:00
hniksic
7870937036 [svn] Allow decimal values for --timeout, --wait, and --waitretry.
Message-ID: <m3llsjhx6t.fsf@hniksic.iskon.hr>
2003-09-20 16:12:18 -07:00
hniksic
e7998ad916 [svn] Cosmetic fixes. 2003-09-20 14:08:41 -07:00
hniksic
101f896e47 [svn] Minor fixes and cosmetic changes.
(uri_merge): Get rid of uri_merge_1.
(uri_merge): Merge "foo//", "bar" as "foo//bar", not "foo///bar",
i.e. don't add an extra slash merely because BASE ends with two
slashes.
(parse_credentials): Renamed from parse_uname.  Rewrittern in
standard [beg, end) calling style.
(url_skip_credentials): Renamed from url_skip_uname.  Made static.
(url_skip_credentials): Include # and ; as terminators.  Old code
would mistakenly consider "http://foo.com#hniksic@iskon.hr" to
contain a username.
(url_skip_scheme): Removed because it was unused.
(url_has_scheme): Require "scheme" to be at least one char long.
2003-09-19 17:05:36 -07:00
hniksic
a504d10ed5 [svn] Default dir_prefix to NULL rather than ".". 2003-09-19 08:28:36 -07:00
hniksic
4fd9c65005 [svn] Cosmetic change. 2003-09-19 07:20:35 -07:00
hniksic
7b5fb50cb1 [svn] Renamed wget.h XDIGIT-related macros to (hopefully) clearer names. 2003-09-19 07:08:37 -07:00
hniksic
7c802e58d3 [svn] Introduce non-strict comment parsing. 2003-09-18 17:33:22 -07:00
hniksic
e71b2799d2 [svn] Add support for OS/400 ftp server. 2003-09-18 06:46:17 -07:00
hniksic
fb67dd6201 [svn] Call ssl_iread with the correct arguments. 2003-09-18 04:43:00 -07:00
hniksic
beb08d42ba [svn] Don't #define ctype.h macros to errors. 2003-09-18 04:39:22 -07:00
hniksic
fdf7fd4d76 [svn] Removed unused macro ISODIGIT. 2003-09-16 19:00:12 -07:00
hniksic
4dcee39c88 [svn] Undef U, W, C after use. 2003-09-16 18:59:46 -07:00
hniksic
aa24b822ca [svn] Improved --restrict-file-names to accept ",nocontrol". 2003-09-16 18:32:05 -07:00
hniksic
d4281f04b2 [svn] Made sync_path more resilient to pathological values of u->file and u->dir. 2003-09-16 17:18:52 -07:00
hniksic
4b1afddab3 [svn] Allow unique_name to return the FILE argument unmodified.
Streamline and optimize unique_name_1.
2003-09-16 14:47:49 -07:00
hniksic
c95d75292b [svn] Work around VC's inability to cast unsigned __int64 to void. 2003-09-16 14:16:59 -07:00
hniksic
f5c82a6468 [svn] Added proper IPv6 configure detection.
By Mauro Tortonesi.
2003-09-16 05:24:29 -07:00
hniksic
8514281d39 [svn] Have `make clean' also delete the core.<number> files created by recent
Linux systems.
2003-09-15 16:42:59 -07:00
hniksic
0e77942233 [svn] Don't pad shrunk POST'ed files.
Message-ID: <m3u17dn1qk.fsf@hniksic.iskon.hr>
2003-09-15 15:09:17 -07:00
hniksic
d54b2a086d [svn] Improved --limit-rate for small bandwidths.
Message-ID: <m3znh5n2og.fsf@hniksic.iskon.hr>
2003-09-15 14:48:43 -07:00
hniksic
9228f0bf53 [svn] Update progress code to use higher timer resolution.
Message-ID: <m37k49oivp.fsf@hniksic.iskon.hr>
2003-09-15 14:14:15 -07:00
hniksic
ea8a108b1f [svn] Implement xdigit_to_xchar more efficiently. 2003-09-15 10:50:43 -07:00
hniksic
016867ca33 [svn] Another version of parse_set_cookies, along with a test suite. 2003-09-15 08:35:47 -07:00
hniksic
79157a03fd [svn] Made strpbrk_or_eos a macro under Gcc. 2003-09-15 03:47:46 -07:00
hniksic
3abcd16d79 [svn] Allow trailing whitespace in Set-Cookies. Also allow empty Set-Cookies
without spewing an error.
Message-ID: <m365jucpci.fsf@xemacs.org>.
2003-09-15 03:35:01 -07:00
hniksic
0a3697ad65 [svn] New mechanism for quoting file names.
Published in <m3smmzt4px.fsf@hniksic.iskon.hr>.
2003-09-14 15:04:13 -07:00
hniksic
ebea9e7e0b [svn] Fixed a long-standing bug in the timer code that would cause Wget to
crash when the system time was set back during a Wget run.
Message-ID: <m3znh8wag9.fsf@hniksic.iskon.hr>
2003-09-13 16:12:45 -07:00
hniksic
7e7ce3dc0e [svn] Print the result of DNS lookup. 2003-09-10 13:46:32 -07:00
hniksic
bda244f564 [svn] Allow --foo=yes/no in addition to --foo=on/off. 2003-09-10 13:21:21 -07:00
hniksic
10137bd186 [svn] New option --dns-cache. 2003-09-10 12:41:54 -07:00
hniksic
cd8b1259f1 [svn] IPv6 configure auto-detection. 2003-09-09 12:30:45 -07:00
hniksic
0e9b4de751 [svn] Return an error from url_parse if the IP address is IPv6 and we don't
handle IPv6.
2003-09-09 06:06:58 -07:00
hniksic
05715ed4d6 [svn] Add proper detection of numeric IPv6 addresses.
By Mauro Tortonesi.
2003-09-05 13:36:17 -07:00
hniksic
30ac043b0a [svn] New option --retry-connrefused from Ahmod Dancy. 2003-09-04 14:34:58 -07:00
abbotti
0410411939 [svn] Fix for FTP directory traversal vulnerability (at least for Unix).
Based on a patch by Red Hat.
Published in <85u02vg4hukbc2fltdd51uds5oq14rd92f@farscape.privy.mev.co.uk>.
2003-01-11 12:12:35 -08:00
hniksic
27483fd0f5 [svn] Fix off-by-one error in cmd_file.
Published in <sxsit2rfzqo.fsf@florida.munich.redhat.com>.
2002-08-03 13:34:58 -07:00
hniksic
d7673d398b [svn] Check whether downloaded_html_set is non-NULL before using it.
Posted in <sxsr8hsvnhh.fsf@florida.munich.redhat.com>.
2002-07-24 14:16:30 -07:00
hniksic
ac7a99c636 [svn] New file. 2002-05-29 18:51:09 -07:00
hniksic
89b37c7eff [svn] Allow almost any character in attribute/tag names. 2002-05-27 08:03:35 -07:00
hniksic
5ac6afa590 [svn] Bump version to 1.9-beta. 1.8.1+cvs no longer makes sense, now
that 1.8.2 is being released.
2002-05-25 11:09:30 -07:00
hniksic
d3a636f2a5 [svn] Fall back to dot progress if the terminal type is "emacs".
Published in <sxsd6vllhsi.fsf@florida.munich.redhat.com>.
2002-05-24 07:53:18 -07:00
hniksic
f97f3ef416 [svn] Don't #define __STDC__ against the compiler's will.
Published in <sxsptzr64ea.fsf@florida.munich.redhat.com>.
2002-05-19 17:38:14 -07:00
hniksic
b2be7522c7 [svn] Update the license to include the OpenSSL exception. 2002-05-17 19:16:36 -07:00
hniksic
a4abdda23d [svn] Minor optimization of prime_size.
Published in <sxswuu2p6pm.fsf@florida.munich.redhat.com>.
2002-05-17 18:48:39 -07:00
abbotti
83dc077b17 [svn] (download_child_p): Minor optimization to avoid unnecessary call to
schemes_are_similar_p function.
Published in <kvq7eu4okekh2ohb0rdvavt16nbgb02v00@farscape.privy.mev.co.uk>.
2002-05-16 10:38:30 -07:00
abbotti
e863a6323b [svn] New function schemes_are_similar_p to test enumerated scheme codes for
similarity (SCHEME_HTTP and SCHEME_HTTPS are similar).  Use it in recur.c
(download_child_p).  Fixes a bug that caused -H option to be ignored when
child scheme different to parent scheme.
Published in <agn4eu8apduek7magfu9bfe63gto8i7cdh@farscape.privy.mev.co.uk>.
2002-05-16 10:22:24 -07:00
abbotti
043d305fb1 [svn] Don't ftruncate standard output.
Submitted by Bill Richardson  <bill@riverstonenet.com>.
Final version of patch published in
<9vv1eus668tn7v3vn95e7l2lcjbbph8bi2@farscape.privy.mev.co.uk>.
2002-05-14 05:23:51 -07:00
abbotti
55f59d0022 [svn] Synched strptime with glibc 2.1.3. 2002-05-09 03:14:15 -07:00
hniksic
fd42ae1311 [svn] Allow match_tail to be case insensitive.
Published in <sxsznzabirr.fsf@florida.munich.redhat.com>.
2002-05-08 11:24:40 -07:00
abbotti
291693c3c2 [svn] Do not store discarded cookie after it is delected.
Submitted by Ian Abbott in
<2h2gdu0q04v94ltet2634888sh6imcrgnd@farscape.privy.mev.co.uk>.
2002-05-07 10:22:33 -07:00
hniksic
58ee1f008a [svn] Fix matching of cookie domains.
Published in <sxsy9fhu1bu.fsf@florida.arsdigita.de>.
2002-04-20 21:25:36 -07:00
hniksic
6fe9ec9f16 [svn] Indentation change. 2002-04-20 21:25:07 -07:00
hniksic
91a190a770 [svn] Implement several SSL features.
- allow checking of server cert
- allow defining client cert type
- allow limit of ssl protocol
- check more return values
- added debug message on break
Published by Thomas Lussnig in <3CC09969.5000607@bewegungsmelder.de>.
2002-04-20 19:26:48 -07:00
hniksic
bf018d5721 [svn] Revert order of check number 6 in download_child_p for clarity. 2002-04-20 19:15:11 -07:00
hniksic
d4b0486cc4 [svn] Remove needless level of indentation. 2002-04-20 17:54:13 -07:00
hniksic
29a66192cf [svn] Cookie interface and implementation changes
from <sxsofge9yao.fsf@florida.arsdigita.de>
and <sxslmbim7dg.fsf@florida.arsdigita.de>.
2002-04-20 13:46:38 -07:00
hniksic
a9e97711fa [svn] Keep the commands list in sort order! 2002-04-19 02:24:32 -07:00
hniksic
123034fa83 [svn] Remove stray conflict marker. 2002-04-16 13:15:23 -07:00
hniksic
7953158bce [svn] Correctly merge DOS-like absolute directories.
Published in <sxslmbomnm7.fsf@florida.arsdigita.de>.
2002-04-15 18:36:16 -07:00
hniksic
426bf23ae1 [svn] If content-type is not given, assume text/html. 2002-04-15 18:13:51 -07:00
hniksic
f8b4b8bd12 [svn] When downloading recursively, don't ignore rejection of HTML
documents that are themselves leaves of recursion.
2002-04-15 14:57:10 -07:00
abbotti
4c11f1b269 [svn] Updated several dependencies for object files, taking account of nested
include files.
Submitted by Ian Abbott.
2002-04-15 13:15:43 -07:00
abbotti
56698ffd1d [svn] Updated dependencies of connect$o to include utils.h 2002-04-15 12:10:23 -07:00
abbotti
caa0f23be3 [svn] Fix broken Windows builds due to the xxx_with_timeout stuff.
Submitted by Ian Abbotti in <3CBB2FFE.20193.73A594@localhost>.
2002-04-15 12:01:56 -07:00
hniksic
036f99c801 [svn] Extend the timeout to DNS lookups.
Published in <sxsn0w57ldh.fsf@florida.arsdigita.de>.
2002-04-14 19:21:38 -07:00
hniksic
fbf0306dd7 [svn] Have number_to_string handle the case when number < -MAX_INT.
Published in <sxs662uf7l9.fsf@florida.arsdigita.de>.
2002-04-14 12:18:33 -07:00
hniksic
081e4eb4f4 [svn] Use a marginally faster implementation of binary search.
Published in <sxs662uf7l9.fsf@florida.arsdigita.de>.
2002-04-14 11:39:43 -07:00
hniksic
0eee8f8b25 [svn] Document --post-data' and --post-file'. 2002-04-13 22:31:11 -07:00
hniksic
9f2cc07924 [svn] Minor cleanup of iread/iwrite.
Published in <sxsk7raj1t2.fsf@florida.arsdigita.de>.
2002-04-13 22:19:27 -07:00
hniksic
5cb8a6f44d [svn] Add the POST method.
Published in <sxssn5yj4eb.fsf@florida.arsdigita.de>.
2002-04-13 21:22:47 -07:00
hniksic
f3d3a50a56 [svn] Generalize connect_with_timeout into run_with_timeout.
Published in <sxs4rifxndi.fsf@florida.arsdigita.de>.
2002-04-13 15:18:28 -07:00
hniksic
5390ada318 [svn] Support FWTK-style proxies.
Pbublished in <sxslmbsxptu.fsf@florida.arsdigita.de>.
2002-04-12 20:04:47 -07:00
hniksic
278b63093f [svn] Remove stray conflict marker. 2002-04-12 13:28:05 -07:00
hniksic
faf77c8f51 [svn] Only define _VA_LIST when compiling with gcc.
Published in <sxsit6w1x5t.fsf@florida.arsdigita.de>.
2002-04-12 13:27:18 -07:00
abbotti
4aaf8fdcea [svn] Compensate for MS Windows two-second granularity of file modification
timestamps.
Submitted by Ian Abbott in <3CB7355C.21011.2134FDA@localhost>.
2002-04-12 12:21:02 -07:00
abbotti
cfd7b9a951 [svn] Use new function to test filename for common html suffixes.
Submitted by Ian Abbott in <3CB72D29.4898.1F34872@localhost> with minor
changes to formatting and comments.
2002-04-12 11:53:39 -07:00
hniksic
2a72eef0af [svn] Define _VA_LIST to prevent Solaris stdio.h from declaring va_list.
Published in <sxs1ydk4vg0.fsf@florida.arsdigita.de>.
2002-04-12 11:36:07 -07:00
abbotti
fa2fa7a100 [svn] Specify libtool mode explicitly when linking.
Submitted by Ian Abbott in <3CB6F27B.15581.10E13BA@localhost>.
2002-04-12 06:47:02 -07:00
hniksic
9de4909bea [svn] Update copyright years. 2002-04-11 18:23:23 -07:00
hniksic
0cd669109b [svn] Implement connect timeout.
Published in <sxs1ydld8ha.fsf@florida.arsdigita.de>.
2002-04-11 18:14:18 -07:00
hniksic
fca8dcf829 [svn] Use stdarg only if compiling with an ANSI C compiler. 2002-04-11 12:13:57 -07:00
hniksic
c77a16309f [svn] Don't allow initial_length to exceed total_length.
Published in <sxssn62dq99.fsf@florida.arsdigita.de>.
2002-04-11 11:51:26 -07:00
hniksic
8f93191f26 [svn] Convert URLs in <form action=...>.
Published in <sxsit6yf7jo.fsf@florida.arsdigita.de>.
2002-04-11 10:51:45 -07:00
hniksic
1375a89141 [svn] Allow Wget to be compiled with a K&R compiler.
Published in <sxszo0af9k6.fsf@florida.arsdigita.de>.
2002-04-11 10:49:32 -07:00
hniksic
485673c3a8 [svn] Make sure directory and file names are encoded the same way.
Published in <sxsofgqmf6e.fsf@florida.arsdigita.de>.
2002-04-11 08:25:51 -07:00
hniksic
8c3287dabf [svn] Remove the OPTIONS_DEFINED_HERE kludge.
Published in <sxs4rijqmhv.fsf@florida.arsdigita.de>.
2002-04-10 14:20:55 -07:00
hniksic
1600aaeaa6 [svn] Revert to calculating ETA based on average download speed.
Published in <sxspu17sl10.fsf@florida.arsdigita.de>.
2002-04-10 07:10:03 -07:00
hniksic
538307f151 [svn] Keep updating a subinterval until it reaches or exceeds a watermark.
That way the measurement will be guaranteed to span a configurable
minimum of time.  The current default is 3s in 30 100ms intervals.

Published in <sxsu1qkszdb.fsf@florida.arsdigita.de>.
2002-04-10 02:24:28 -07:00
hniksic
c292e8e153 [svn] Print the current download speed, rather than the average.
Published in <sxs3cy4yacm.fsf@florida.arsdigita.de>.
2002-04-09 15:10:01 -07:00
abbotti
c3c1c24f5c [svn] Fix for Borland's broken (on Win9X) `utime' function.
Submitted by Ian Abbott in <3CB33A8E.15259.1E52AF@localhost>.
(Based on original patch by Chin-yuan Kuo in
<20020321015049.16722.qmail@web16202.mail.tpe.yahoo.com>.)
2002-04-09 11:29:54 -07:00
hniksic
07d72c3cd3 [svn] Propagate the result of ftp_retrieve_glob to the caller of ftp_loop.
Published in <sxssn663zwl.fsf@florida.arsdigita.de>.
2002-04-08 09:43:36 -07:00
abbotti
80a90d6d2c [svn] Updated several dependencies for object files.
Submitted by Ian Abbott in <3C9F8BA4.19135.14568BF@localhost>.
2002-03-26 10:59:44 -08:00
abbotti
9f485af560 [svn] Dependcies update for src/mswindows.c.
Submitted by Ian Abbott in <3C98D8C6.31335.36EB6F@localhost>.
2002-03-20 10:56:45 -08:00
abbotti
47a8225eda [svn] Don't include netdb.h on windows.
Submitted by Ian Abbott in <3C964B8C.18942.D3115@localhost>.
2002-03-18 12:21:58 -08:00
hniksic
1fa3b90235 [svn] Handle starting URL of recursing download being non-parsable.
Published in <sxszo26t33k.fsf@florida.arsdigita.de>.
2002-02-18 22:09:57 -08:00
hniksic
562ab4ae8a [svn] (DO_REALLOC_FROM_ALLOCA): Multiply with sizeof(type) when calling
xmalloc and memcpy.
Submitted by Andreas Damm in
<Pine.LNX.4.33.0202011632280.1281-200000@gate.rad-ab.u-net.com>.
2002-02-18 21:32:59 -08:00
hniksic
667d494978 [svn] Only include Unix-specific includes #ifndef WINDOWS. 2002-02-18 21:25:42 -08:00
hniksic
75a080ad0d [svn] Follow https links from http.
Submitted by Christian Lackas in <20020211202444.GA20371@lackas.desy.de>.
2002-02-18 21:23:35 -08:00
hniksic
57f36f8a6a [svn] Add the necessary includes for compilation under FreeBSD.
Submitted by Alan Eldridge in <200202130630.g1D6U3S07907@wwweasel.geeksrus.net>.
2002-02-18 21:21:42 -08:00
hniksic
a9ff5853a9 [svn] when -c used, mark already fully retrieved file as successfully retrieved.
Submitted by Ian Abbott in <3C6019F4.30803.FF43E9@localhost>.
2002-02-18 21:18:43 -08:00
hniksic
b9e90c34b4 [svn] Don't treat '?' as a query string separator when parsing FTP URLs.
Published in <sxslmdqxdmq.fsf@florida.arsdigita.de>.
2002-02-18 21:09:14 -08:00
hniksic
0e40fc9a3c [svn] Don't crash on <meta http-equiv=refresh>.
Published in <sxshep1q3je.fsf@florida.arsdigita.de>.
2002-01-31 19:34:31 -08:00
hniksic
a861f718ed [svn] Enable compilation on Windows.
Submitted by Herold Heiko in
<B11A7CEC1675D511A3890002A551AD7C37D8AE@srvnt08.previnet.it>.
2002-01-30 18:23:04 -08:00
hniksic
6c4c785cc2 [svn] Remove redirection cycle detection.
Published in <sxs7kpzhcwa.fsf@florida.arsdigita.de>.
2002-01-30 11:12:20 -08:00
hniksic
f2bb99d102 [svn] Wrap numeric IPv6 addresses in square brackets when sending out HTTP
`Host' header.
Published in <sxs7kq4vgzf.fsf@florida.arsdigita.de>.
2002-01-26 15:19:10 -08:00
hniksic
1bea726393 [svn] Allow all hex digits in IPv6 IP addresses.
Published in <sxsofjgvo72.fsf@florida.arsdigita.de>.
2002-01-26 12:43:17 -08:00
hniksic
774c7c7461 [svn] *** empty log message *** 2002-01-26 11:01:39 -08:00
hniksic
ef1eda86c4 [svn] Allow IPv6 numeric addresses in URLs.
Submitted in <sxsu1t9uedf.fsf@florida.arsdigita.de>.
2002-01-26 11:00:38 -08:00
hniksic
a69cb0c3ad [svn] Various IPv6 fixes.
Submitted in <sxsd6zz2jf7.fsf@florida.arsdigita.de>.
2002-01-24 19:34:23 -08:00
hniksic
853a1c9e35 [svn] Fix some IPv6-related problems.
Submitted in <sxsg04w6zl6.fsf@florida.arsdigita.de>.
2002-01-23 22:19:35 -08:00
hniksic
cb40034035 [svn] Commit IPv6 support by Thomas Lussnig.
Published in <sxsk7u8715e.fsf@florida.arsdigita.de>.
2002-01-23 21:45:54 -08:00
hniksic
e59a7ee8ac [svn] Make -P work on Windows.
Submitted by Ian Abbott in <3C447E8F.13424.16ED42@localhost>.
2002-01-16 17:03:33 -08:00
hniksic
fb2ed23830 [svn] Skip initial whitespace before testing for EOL.
Submitted in <sxsu1tl6bf2.fsf@florida.arsdigita.de>.
2002-01-16 16:59:13 -08:00
hniksic
31d20e644c [svn] select the file descriptor only if no data is pending in SSL buffers.
Submitted by tony@bluetail.com.
Published in <sxslmezocyp.fsf@florida.arsdigita.de>.
2002-01-15 07:24:19 -08:00
hniksic
08c935bef2 [svn] Strip trailing whitespace in header_process().
Published in <sxsadvh0xpz.fsf@florida.arsdigita.de>.
2002-01-14 07:17:34 -08:00
hniksic
46617228fa [svn] URL-decode user and password in URL.
Published in <sxsita52hg6.fsf@florida.arsdigita.de>.
2002-01-14 05:26:16 -08:00
hniksic
524a1f54dc [svn] Handle links to relative "net locations," e.g. <a href="//www.server.com/">. 2002-01-13 17:56:40 -08:00
hniksic
cafe798fec [svn] Invalidate socket if get_contents encountered an error.
Published in <sxsita54sqy.fsf@florida.arsdigita.de>.
2002-01-13 17:39:16 -08:00
hniksic
90afc592e4 [svn] Bumped version number to 1.8.1+cvs. 2001-12-29 02:15:55 -08:00
hniksic
11745f55bf [svn] Bump version to 1.8.1. 2001-12-24 13:02:25 -08:00
hniksic
a92b46f8ae [svn] Bump version. 2001-12-19 08:30:47 -08:00
hniksic
5c859be2d4 [svn] Bump version to 1.8.1-pre3. 2001-12-19 06:59:01 -08:00
hniksic
8db1264218 [svn] Enqueue start_url in the canonical form.
Published in <sxsofkvi8zx.fsf@florida.arsdigita.de>.
2001-12-19 06:27:29 -08:00
hniksic
001cac91a4 [svn] Check for requested verbosity in logputs.
Published in <sxswuzjk0v6.fsf@florida.arsdigita.de>.
2001-12-19 01:36:58 -08:00
hniksic
ca9319aaba [svn] Treat the "shortcut icon" link as inline.
Published in <sxsadwgko2q.fsf@florida.arsdigita.de>.
2001-12-18 17:15:34 -08:00
hniksic
2cf87bea8b [svn] Fix crash introduced by previous patch. 2001-12-18 14:20:14 -08:00
hniksic
40fd876c57 [svn] Descend into HTML files we've already downloaded. 2001-12-18 14:14:31 -08:00
hniksic
a45e8255cc [svn] Allow standalone compilation of html-parse.c. 2001-12-18 11:33:36 -08:00
hniksic
416671063a [svn] Propagate referrer information from retrieve_tree to retrieve_url.
Submitted by Ian Abbott in <3C1F4BFE.17436.D2D7B2@localhost>.
2001-12-18 07:22:03 -08:00
hniksic
daa2fd1afd [svn] Bump version. 2001-12-17 09:04:27 -08:00
hniksic
f03f033bf3 [svn] Bump version to 1.8.1-pre2. 2001-12-17 07:24:14 -08:00
hniksic
eb0f9de05d [svn] Simplify indentation in sleep_between_retrievals. 2001-12-17 07:00:25 -08:00
hniksic
75699d6213 [svn] Use the new function `random_number' that doesn't depend on RAND_MAX
being defined.
Published in <sxsheqqq6xb.fsf@florida.arsdigita.de>.
2001-12-17 06:05:08 -08:00
hniksic
a3500d32d7 [svn] Move path_simplify to url.c. 2001-12-14 07:46:00 -08:00
hniksic
0f120eee66 [svn] Fix error message when $WGETRC not found.
Published in <sxswuzrylnm.fsf@florida.arsdigita.de>.
2001-12-13 11:19:03 -08:00
hniksic
f031900662 [svn] Don't abort when one URL references more than one file.
Published in <sxs1yhz0w1m.fsf@florida.arsdigita.de>.
2001-12-13 11:18:31 -08:00
hniksic
5b575eef31 [svn] Check for conn->ssl before using ssl_iwrite. 2001-12-13 08:46:56 -08:00
hniksic
92676dafee [svn] Bump version. 2001-12-13 01:47:51 -08:00
hniksic
6821132a4d [svn] Bump version to 1.8.1-pre1. 2001-12-12 23:40:50 -08:00
hniksic
3b44ca73ab [svn] Fix the broken URLs that pointed to info.webcrawler.com to point to
the new www.robotstxt.org site.
2001-12-12 23:29:05 -08:00
hniksic
3ddcea34a4 [svn] Mark <embed href=...> as external. 2001-12-12 23:18:59 -08:00
hniksic
b9f370004d [svn] Cosmetic changes to get_urls_html. 2001-12-12 11:06:10 -08:00
hniksic
390adeea93 [svn] Use "incomplete" rather than "relative". 2001-12-12 10:32:17 -08:00
hniksic
d425985c37 [svn] Minor doc update. 2001-12-12 09:01:26 -08:00
hniksic
8817f4c1a4 [svn] Break up collect_tags_mapper into several functions.
Published in <sxsg06gla1h.fsf@florida.arsdigita.de>.
2001-12-12 07:43:01 -08:00
hniksic
1dee527a56 [svn] Use a typedef for IPv4 address.
Published in <sxsn10qrwbj.fsf@florida.arsdigita.de>.
2001-12-11 00:32:58 -08:00
hniksic
b8789d7798 [svn] Fix obvious memory leaks in the VMS directory parser.
Published in <sxsadwqpbo1.fsf@florida.arsdigita.de>.
2001-12-10 21:29:52 -08:00
hniksic
1365950c01 [svn] Logging system bugfixes and improvements.
Published in <sxsofl7vdyo.fsf@florida.arsdigita.de>.
2001-12-09 21:31:45 -08:00
hniksic
7d65f1b896 [svn] Doc update in read_whole_line. 2001-12-09 19:34:48 -08:00
hniksic
fb9368e889 [svn] Restore sanity check in address_list_set_faulty. 2001-12-09 18:33:08 -08:00
hniksic
943f657aa7 [svn] Rename long_to_string to number_to_string, and make it return a useful
value.
2001-12-09 18:29:12 -08:00
hniksic
997a87548c [svn] Minor fix for path_simplify.
Submitted in <sxsheqzx1qv.fsf@florida.arsdigita.de>.
2001-12-09 18:12:17 -08:00
hniksic
0e72aa6e13 [svn] Rewrite path_simplify.
Published in <sxspu5nx2yi.fsf@florida.arsdigita.de>.
2001-12-09 17:58:37 -08:00
hniksic
233fcbc44d [svn] Would abort when given invalid progress type.
Published in <sxsg06kxc9g.fsf@florida.arsdigita.de>.
2001-12-09 14:25:34 -08:00
hniksic
e521ee38ff [svn] Remove stray debugging message.
Published in <sxszo4sxjpw.fsf@florida.arsdigita.de>.
2001-12-09 11:44:20 -08:00
hniksic
0a89fc1a10 [svn] Fix a minor ETA padding glitch.
Published in <sxs667hyp19.fsf@florida.arsdigita.de>.
2001-12-08 20:51:40 -08:00
hniksic
cdc0cc0c1a [svn] Bump version. 2001-12-08 20:33:47 -08:00
hniksic
fdd51b8d46 [svn] Bump version to 1.8. 2001-12-08 17:37:17 -08:00
hniksic
dd84231c6a [svn] Minor fixes prompted by `lint'.
Published in <sxsadwt2nkg.fsf@florida.arsdigita.de>.
2001-12-08 17:24:41 -08:00
hniksic
171feaa3f2 [svn] Bump version. 2001-12-07 21:08:57 -08:00
hniksic
60680e27db [svn] Release 1.8-pre2. 2001-12-07 19:44:23 -08:00
hniksic
bfd017746b [svn] Doc fix. 2001-12-06 02:48:09 -08:00
hniksic
4e5bbd646b [svn] Various progress-bar related fixes.
Published in <sxspu5slja3.fsf@florida.arsdigita.de>.
2001-12-06 02:45:27 -08:00
hniksic
7c6f905f94 [svn] Bump version. 2001-12-05 23:23:55 -08:00
hniksic
760e87d7a0 [svn] Bump version to 1.8-pre1. 2001-12-05 23:17:20 -08:00
hniksic
39b2248bde [svn] Fall back to dot progress when forced to background.
Published in <sxs1yi8n7lx.fsf@florida.arsdigita.de>.
2001-12-05 23:14:35 -08:00
hniksic
00407b0762 [svn] Update copyright year. 2001-12-05 21:54:50 -08:00