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

1002 Commits

Author SHA1 Message Date
hniksic
1fa77ff5b1 [svn] Simplify rewrite_shorthand_url. 2005-07-07 23:31:26 -07:00
hniksic
87bcfdb7de [svn] Check for the validity of the presented X509 cert. 2005-07-07 10:04:45 -07:00
hniksic
d3617fbcf0 [svn] Print separate error messages for frequent X509 certificate problems. 2005-07-07 08:31:37 -07:00
hniksic
d513a2d946 [svn] Only define symbols in config-compiler.h, don't include headers. 2005-07-07 07:48:01 -07:00
hniksic
f65cee77a8 [svn] Use strtoll on Windows if available (as with DMC). 2005-07-06 16:25:26 -07:00
hniksic
0272acfc52 [svn] Fully declare fnmatch.h. 2005-07-06 16:06:35 -07:00
hniksic
710959597f [svn] Unconditionally include <setjmp.h>. 2005-07-06 14:06:29 -07:00
hniksic
097695b723 [svn] New option --ignore-case for case-insensitive matching. 2005-07-06 12:44:00 -07:00
hniksic
3d5863424b [svn] Make timers measure seconds directly, not milliseconds. 2005-07-06 09:35:42 -07:00
hniksic
ac4f55a297 [svn] Allow null MESSAGE. 2005-07-06 02:25:12 -07:00
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
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
e4f85cdef3 [svn] Prefix pointer value with 0x. 2005-07-04 14:15:50 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
5771564c9c [svn] Document the origin of the "cookie date" format. 2005-05-24 07:16:27 -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
a039ae12fe [svn] Print all issues with a certificate. 2005-05-16 13:32:55 -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
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
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
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
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
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
1fab70a664 [svn] Fix warnings reported by gcc -Wstrict-prototypes -Wmissing-prototypes. 2005-05-08 02:58:39 -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
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
de5fd29373 [svn] Update strstr to the one in glibc 2.3.5. 2005-05-05 15:39:28 -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