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

1231 Commits

Author SHA1 Message Date
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