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

1823 Commits

Author SHA1 Message Date
Steven Schubiger
2957ce1cbc Remove xmalloc files from source directory. 2008-04-19 21:59:54 +02:00
Steven Schubiger
b29fd927e7 Remove alloca files from source directory. 2008-04-19 21:57:31 +02:00
Steven Schubiger
ad1b42f4f1 Remove own alloca from build-process. 2008-04-19 21:48:47 +02:00
Steven Schubiger
021b9acf53 Remove own xmalloc from build-process. 2008-04-19 21:37:17 +02:00
Steven Schubiger
d79719be09 Move memfatal() to utils.c. 2008-04-19 21:13:38 +02:00
Steven Schubiger
76780021d8 Use Gnulib's alloc functions throughout the source. 2008-04-19 01:21:24 +02:00
Steven Schubiger
b06220f359 Revert using Gnulib's alloc functions in connect.c. 2008-04-18 23:18:34 +02:00
Steven Schubiger
d8e970f494 Use Gnulib's alloc functions in connect.c. 2008-04-18 22:04:37 +02:00
Steven Schubiger
34747d72eb Conditional inclusion of Gnulib alloc headers. 2008-04-18 21:42:02 +02:00
Steven Schubiger
d9131151af Revert the alloca_array() -> xcalloc() transition. 2008-04-18 20:11:06 +02:00
Steven Schubiger
8aefedc7da Use Gnulib's xalloc module in convert.c (and include according header). 2008-04-17 00:35:34 +02:00
Steven Schubiger
3e34be1c4b Use Gnulib's quote function in utils.c. 2008-04-16 12:35:03 +02:00
Steven Schubiger
a358b3b69a Use Gnulib's quote function in res.c. 2008-04-16 12:31:17 +02:00
Steven Schubiger
87f85de75b Use Gnulib's quote function in recur.c. 2008-04-16 12:28:19 +02:00
Steven Schubiger
9d519d49f0 Use Gnulib's quote function in progress.c. 2008-04-16 12:25:45 +02:00
Steven Schubiger
29b8cb5661 Use Gnulib's quote function in openssl.c. 2008-04-16 12:23:31 +02:00
Steven Schubiger
4a465612b3 Use Gnulib's quote function in mswindows.c. 2008-04-16 12:20:06 +02:00
Steven Schubiger
b53c77dfc0 Use Gnulib's quote function in log.c. 2008-04-16 12:16:37 +02:00
Steven Schubiger
f468a6eb80 Use Gnulib's quote function in init.c. 2008-04-16 12:13:19 +02:00
Steven Schubiger
1daacbb296 Use Gnulib's quote function in gnutls.c. 2008-04-16 12:04:53 +02:00
Steven Schubiger
bb1813ebb1 Use Gnulib's quote function in ftp-opie.c. 2008-04-16 12:01:00 +02:00
Steven Schubiger
0edf98a6d9 Use Gnulib's quote function in cookies.c. 2008-04-16 11:57:19 +02:00
Steven Schubiger
5116620aa8 Use Gnulib's quote function in convert.c. 2008-04-16 11:50:36 +02:00
Steven Schubiger
cb2b31f052 Use Gnulib's quote function in connect.c. 2008-04-16 11:45:14 +02:00
Steven Schubiger
6aec825b93 Use Gnulib's quote function in ftp.c. 2008-04-16 11:36:12 +02:00
sts
3b3c7db8df Avoid redefined warnings caused by clashing defines. 2008-04-16 10:57:12 +02:00
Micah Cowan
92956183a7 Applied Steven Schubiger's patch to use Gnulib's quote function in http.c. 2008-04-14 15:45:40 -07:00
Micah Cowan
0a0d73a03f Automated merge. 2008-04-12 23:21:09 -07:00
Micah Cowan
4f50138792 Back out quieting of background message: need the pid. 2008-04-12 23:20:28 -07:00
Micah Cowan
977bb27639 Fix quiet -> opt.quiet. 2008-04-12 23:12:35 -07:00
Micah Cowan
458eb3b8ce Don't want to close log if an explicit -o was given. Let reopen to /dev/null handle any potential logging we'd do in --quiet. 2008-04-12 23:10:47 -07:00
Micah Cowan
1a41bc067c Automated merge. 2008-04-12 22:46:55 -07:00
Micah Cowan
7783870db1 Don't create a logfile for --background if we're --quiet. 2008-04-12 22:45:45 -07:00
Micah Cowan
667f4578a5 Minor formatting adjustments. 2008-04-12 13:09:43 -07:00
Micah Cowan
4e288c5db5 Merging in the rest of Alex's bundle. 2008-04-12 12:57:25 -07:00
Alexander Dergachev
0e7917cda7 * utils.c (aprintf): print log message and abort if we have too big text buffer. 2008-04-12 19:13:23 +04:00
Micah Cowan
aed143ea0c Fix fuzzy match of ChangeLog. 2008-04-11 16:38:43 -07:00
Micah Cowan
9d5b9daf06 Don't append to an existing .listing when --continue is used. Fixes bug #22825. 2008-04-11 16:28:24 -07:00
Alexander Dergachev
311f76645f * utils.c (aprintf): Now we are setting limits (1 Mb) for text buffer when we use non-C99 vsnprintf. 2008-04-11 23:52:57 +04:00
Micah Cowan
9ce3a8c0c8 ChangeLog entry for Alex's aprintf changes. 2008-04-10 11:20:35 -07:00
Alexander Dergachev
79bd3057b1 aprintf is calling memfatal function now instead of calling abort function
for consistency with xmalloc/xrealloc
2008-04-09 22:27:58 +04:00
Micah Cowan
aed227e903 More tests for directory include/exclude. 2008-03-19 15:48:54 -07:00
Micah Cowan
1db9f1e9ac Imported slash/--no-parents and sys/time.h fixes from eleven (99b1afbc14bc). 2008-03-17 01:53:49 -07:00
Micah Cowan
af6517900e Better messages for --spider without -r. 2008-02-11 14:55:25 -08:00
Micah Cowan
4c1a59ea48 Fix #22242: Option to allow auths before challenged. 2008-02-10 17:31:27 -08:00
Micah Cowan
653a658a58 Fixed #22251: Terminated download gets new filename. 2008-02-10 14:39:41 -08:00
Micah Cowan
e111c92008 Remove screenwidth assertion from create_image. 2008-02-07 00:25:03 -08:00
Micah Cowan
b9a2f26240 ChangeLog entries for NLS progress-bar changes; use correct conditional checks in progress.c. 2008-02-06 16:53:46 -08:00
Micah Cowan
e95867e6cc Deal with progress bars in environs lacking mbtowc or wcwidth. 2008-02-06 18:10:24 -08:00
Micah Cowan
c1b7382ec4 Ugly fix to make -nc without --content-disposition go back to not fetching files. 2008-02-03 12:20:52 -08:00
Micah Cowan
f74d743345 Handle error codes from mbtowc, wcwidth. 2008-02-03 01:28:05 -08:00
Micah Cowan
35b72cc941 Handle missing wchar.h, wcwidth. 2008-02-03 01:48:50 -08:00
Micah Cowan
2a8fe286da Use character widths instead of number-of-bytes, to determine where on the terminal line we are (for progress-bar). 2008-02-03 00:53:16 -08:00
Micah Cowan
d92eda101b Properly handle missing Content-Length for partial HTTP fetches. 2008-01-31 02:01:00 -08:00
Micah Cowan
bc8f473272 Updated copyright year. 2008-01-25 05:04:01 -08:00
Micah Cowan
01dfe8a759 Notes to translators re (C) and diacritics in names. 2008-01-25 04:38:56 -08:00
Micah Cowan
33f86b17c8 Automated merge. 2008-01-23 20:45:59 -08:00
Micah Cowan
dedd90a9c7 12-10 goes before 12-08 in changelog :) (silly fuzzy matching for patch...) 2008-01-23 20:34:16 -08:00
Micah Cowan
509351765c ChangeLog entries for content-disposition doc fixes. 2008-01-23 20:29:07 -08:00
Micah Cowan
0734d8dd37 Remove -Y from --help, and example in manual. 2007-12-12 12:13:50 -08:00
Micah Cowan
7039d2ce7f Merging content-disposition documentation fixes from 1.11. 2008-01-23 20:19:56 -08:00
Micah Cowan
d26ff3ca0d Print arguments of fnmatch properly; don't use fnmatch if we're not in globbing mode. 2007-12-08 14:21:37 -08:00
Micah Cowan
6b4d44ff0b Finish integration of libmd5. 2007-12-07 22:24:03 -08:00
Micah Cowan
7dc476b700 Don't return without freeing, in convert_all_links function. 2007-12-05 23:05:53 -08:00
Micah Cowan
5114aa2d07 Handle --no-parent correctly when path is /. 2007-12-05 20:56:23 -08:00
Micah Cowan
462e643a7e Merge SFLC licensing changes for OpenSSL with tip. 2007-12-07 17:37:07 -08:00
Micah Cowan
3073a77ed8 Updated ChangeLogs for license exemptions. 2007-12-07 16:59:18 -08:00
Micah Cowan
86395b297b Updated licensing exception for OpenSSL from the SFLC. 2007-11-28 00:05:33 -08:00
Micah Cowan
72bab0c11f Normalize whitespace in ChangeLogs. 2007-10-30 18:13:39 -07:00
Micah Cowan
5e2ef06c07 Remove constification of argv in main. 2007-10-30 16:50:17 -07:00
Micah Cowan
ec7940f347 Move INHIBIT_WRAP up with wget.h. 2007-10-22 12:44:32 -07:00
Micah Cowan
cb155a6b5d Workaround for broken Tru64 inttypes.h. 2007-10-18 22:55:39 -07:00
Micah Cowan
20396f7dc7 Making make check win. 2007-10-18 22:16:08 -07:00
Micah Cowan
212396c7e1 Eschew config-post.h. 2007-10-18 20:50:40 -07:00
Micah Cowan
91da7ace3f version.c should not be distributed. 2007-10-18 10:12:45 -07:00
Micah Cowan
d48ea51666 Use -r . rather than -r tip. 2007-10-16 18:18:40 -07:00
Micah Cowan
7fb8b92cd5 Remove intermediate hg-id. 2007-10-15 17:22:27 -07:00
Micah Cowan
d905504a0a --spider or --delete-after implies --no-directories. 2007-10-14 22:41:29 -07:00
Micah Cowan
68740f10dd Automated merge. 2007-10-14 22:00:25 -07:00
Micah Cowan
33880205d7 Use gnulib's MD5. 2007-10-14 19:45:40 -07:00
Micah Cowan
20a19fa69f Print any errors from unlinking robots.txt. 2007-10-14 19:10:38 -07:00
Micah Cowan
38b0f4ba27 Josh's patch to remove robots.txt when appriopriate. 2007-10-14 19:00:33 -07:00
Micah Cowan
da99855784 ISSPACE -> c_isspace 2007-10-14 14:46:24 -07:00
Micah Cowan
ee9243cb2f Forgot to remove safe-type.[ch] from Makefile.am. 2007-10-13 23:58:01 -07:00
Micah Cowan
5d3248ebae Replaced safe-ctype.[ch] with gnulib's c-ctype. 2007-10-13 23:52:19 -07:00
Micah Cowan
7c7ef3cb01 Link with libgnu.a. 2007-10-13 23:38:43 -07:00
Micah Cowan
3f45148eba Remove original getopt.[ch] in favor of gnulib's. 2007-10-13 23:16:57 -07:00
Micah Cowan
be6af65e30 Ensure that hg-id is regenerated even when it already exists. 2007-10-13 02:57:57 -07:00
Micah Cowan
12aa50d08f Avoid regenerating on 'make' when we don't have to. 2007-10-13 02:39:01 -07:00
Micah Cowan
fbe701ce28 Automated merge with file:/home/micah/devel/wget/eleven 2007-10-10 21:35:03 -07:00
Micah Cowan
c938b308c0 #include <openssl/opensslv.h> 2007-10-10 21:27:37 -07:00
Micah Cowan
61533a5ebc Merged with eleven for Gisle's mswindows.c patch. 2007-10-10 21:03:07 -07:00
Micah Cowan
d60b6388b6 Removal of no-longer-used argc, argv (Gisle). 2007-10-10 20:57:42 -07:00
Micah Cowan
b8f07eab3b Automated merge with file:/home/micah/devel/wget/mainline 2007-10-09 20:50:49 -07:00
Micah Cowan
45e439a135 Use portable method to obtain hg id's output. 2007-10-09 20:03:18 -07:00
Micah Cowan
fe63bb03f8 Add @LIBINTL@ to LIBS in src/Makefile.am 2007-10-09 19:39:49 -07:00
Micah Cowan
2681148154 Ignore failure from "hg id". 2007-10-09 16:18:24 -07:00
Micah Cowan
181c613814 Generate version.c based on output of "hg id". 2007-10-09 16:03:07 -07:00
Micah Cowan
0b0893fabe Removing version.c and hard-coding version in configure.ac. 2007-10-09 15:39:48 -07:00
Micah Cowan
a33fa2dbe0 ENABLE_NLS now, not HAVE_NLS. 2007-10-09 13:30:04 -07:00
Micah Cowan
f2956990ca Automated merge with file:/home/micah/devel/wget/eleven 2007-10-09 11:17:26 -07:00
Micah Cowan
e760334581 Bring up-to-date with gettext. 2007-10-09 10:00:50 -07:00
Micah Cowan
aa4991b8f7 Automated merge with file:/home/micah/devel/wget/fix-double-gets 2007-10-09 00:14:33 -07:00
Micah Cowan
e402ae37f4 Put send_head_first check where it needs to be. 2007-10-09 00:12:51 -07:00
Micah Cowan
c0a444d5e6 Applying Gisle's latest MS-DOS patches. 2007-10-06 12:44:17 -07:00
Micah Cowan
a20684d374 Abbreviated ChangeLog entries for Makefile.am conversions. 2007-10-05 17:58:24 -07:00
Micah Cowan
e7d78dd2a7 Merging with previous Makefile.in updates. 2007-10-05 17:30:38 -07:00
Micah Cowan
93538d26c7 Moved Makefile.in's to Makefile.am's, applied Ralf's automake patches. 2007-10-05 17:09:43 -07:00
Micah Cowan
84eba7c587 Automated merge with file:/home/micah/devel/wget/timestamp-on-get 2007-10-04 23:27:19 -07:00
Micah Cowan
2e3e06cdd0 ChangeLog entry for continue fix. 2007-10-04 23:26:59 -07:00
Micah Cowan
53d0aff795 Automated merge with file:/home/micah/devel/wget/eleven 2007-10-04 23:23:35 -07:00
Micah Cowan
7d33170f7f Hack to make -c work again without HEAD. 2007-10-04 23:00:08 -07:00
Micah Cowan
1b28d66fcb Fix silly scoping bug. 2007-10-02 23:15:08 -07:00
Micah Cowan
1153d3d05c Warn about host resolution failure. 2007-10-02 22:12:04 -07:00
Micah Cowan
94216227ea Credit for dated timestamps 2007-10-02 21:49:37 -07:00
Micah Cowan
c2c71c32cf Merge with mainline 2007-10-02 21:36:57 -07:00
Micah Cowan
1c677674ec Added changelog entries. 2007-10-02 21:35:45 -07:00
Micah Cowan
5f341d6bc1 Dates as well as times in output timestamps 2007-10-02 20:31:23 -07:00
Micah Cowan
27478c069f Fix gethttp returning RETROK, which caused abortion. 2007-09-28 18:21:08 -07:00
Micah Cowan
5dd09d9ba5 Update copyright lists, conforming to maintainer guidelines 2007-09-28 15:45:31 -07:00
Micah Cowan
df8b19a28e Gisle's MS-DOS support 2007-09-28 14:47:46 -07:00
Micah Cowan
52e3ee1f68 Use autoconf-provided EXEEXT instead of our own exeext heuristic. 2007-09-25 00:15:37 -07:00
micah
db4f2e31ca [svn] Apply Jochen's patch to stop local size always reporting as 0 2007-09-24 22:20:58 -07:00
Micah Cowan
f08922082f Apply patch to fix always reporting local size of zero. 2007-09-24 22:17:31 -07:00
Micah Cowan
e3dffde871 Timestamp files, regardless of HEAD 2007-09-12 09:34:14 -07:00
micah
fa8344734f [svn] Removed the visited_url function. 2007-08-29 21:52:16 -07:00
micah
f4771e5299 [svn] Fix #20894: URL comparisons should not compare percent-encoded and
unencoded reserved characters.
2007-08-29 21:39:33 -07:00
micah
02a54e9919 [svn] Fix #20811: Assertion failure with --spider --recursive. 2007-08-29 21:36:30 -07:00
micah
adc0632654 [svn] Fix #20747: Wget was returning error for non-recursive --spider when file exists. 2007-08-29 21:34:34 -07:00
micah
36f52a8be0 [svn] Backing out constification of SSL_METHOD *meth. 2007-08-29 21:31:01 -07:00
micah
6e3d978b8b [svn] Fix #20323 - Adjustments and tests for when HEAD should be sent. 2007-08-29 21:16:24 -07:00
micah
4358313069 [svn] Fix #20322 - Use timestamp from most recent response. 2007-08-29 20:35:49 -07:00
micah
a7d6a8b512 [svn] Modification of patch to recur.c 2007-08-27 14:28:22 -07:00
micah
3dc15952f2 [svn] Make run_with_timeout align with its declaration in utils.h 2007-08-27 13:27:30 -07:00
micah
c508cd63e1 [svn] Leave out unused static function definitions when TESTING is defined. 2007-08-27 12:07:26 -07:00
micah
248cb3e907 [svn] Various small fixes, courtesy of Gisle Vanem <giva@bgnett.no>. 2007-08-27 10:48:16 -07:00
micah
cfc064c9b7 [svn] Workaround lack of ngettext. 2007-08-27 08:35:26 -07:00
micah
676da61f1d [svn] Added spider.c to POTFILES.in; fixed use of gettext with plural forms. 2007-08-26 16:03:58 -07:00
yurimxpxman
e9a98d3639 [svn] spider.c (in_url_list_p): removed the bool verbose argument 2007-08-23 07:44:39 -07:00
micah
19f0a05e91 [svn] Fix #20748: fix test usage wrt zero-termination of strings.
Also fixed incorrect "src/" prefix in ChangeLog entry for #20736.
2007-08-16 01:41:04 -07:00
micah
e8c44c9ebc [svn] Fix #20736: wget.m4 adjustments (m4 quotation)
Also, fixed " <at> " to "@" in attribution for fix of #20735.
2007-08-16 01:32:07 -07:00
micah
91164c9568 [svn] Fix #20735: == not = in url_string 2007-08-16 01:27:02 -07:00
micah
fb7fc237f7 [svn] Fix for #20659 - Content-Disposition off by default. 2007-08-08 00:30:26 -07:00
micah
7d2066b221 [svn] Make indentation consistent (all-spaces, no tabs). 2007-08-02 20:38:21 -07:00
micah
2fe72be505 [svn] Fix for bug #20512: Don't abort for negative Content-Length values. 2007-07-31 15:39:52 -07:00
micah
c17f57f1fa [svn] Fix for bug #20296: User:pass@ given in Referer header. 2007-07-29 18:22:34 -07:00
micah
e4600575bb [svn] Fix for bug #20299: Basic auth creds sent before challenge 2007-07-29 17:29:05 -07:00
micah
10da871ac4 [svn] Merging fix #20499: MAX_REDIRECTIONS should be configurable. 2007-07-28 19:37:14 -07:00
micah
01346093a8 [svn] Applying fix #20430: Making tests more verbose. 2007-07-28 18:28:18 -07:00
micah
78aefb3bbf [svn] Backing out incomplete changes for bug 20323, until the full fix is
ready (so we have a working trunk).
2007-07-10 21:39:36 -07:00
micah
0b2296c0d4 [svn] version: terminate sentence with a period, improve GPL URL, reflow a bit. 2007-07-10 12:30:47 -07:00
micah
1b79a494a2 [svn] Fixing some syntax glitches introduced in the fix for bug 20358. 2007-07-10 00:40:44 -07:00
micah
4d7c5e087b [svn] Merge of fix for bugs 20341 and 20410. 2007-07-09 22:53:22 -07:00
micah
b554b8e849 [svn] Merging in fix for bug 20341: GPLv3 update, and maintainer references.
Still waiting for rewording of OpenSSL exception; but that could take a
while, and in the meantime, these changes should probably be in the
trunk. Also includes fix to manual, to remove GPL (for the sake of
maintaining lack of invariants).
2007-07-09 21:46:15 -07:00
mtortonesi
dfeb089f3c [svn] Skip HEAD request and start immediately with GET if -O is given. 2007-07-03 16:01:25 -07:00
hniksic
a83387134c [svn] Escape non-printable characters in server response. 2007-02-02 01:36:49 -08:00
hniksic
a161efc9ec [svn] Fix build problems with DEBUG_MALLOC. 2007-02-02 01:35:08 -08:00
hniksic
0e8788c58c [svn] Would discard cookies with unparsable expiry time. 2007-01-23 13:46:38 -08:00
hniksic
8b08f41f0d [svn] Check for overflow when calculating ETA. 2007-01-23 13:31:30 -08:00
mtortonesi
c5a4dac530 [svn] Get rid of a gcc warning about strict-aliasing violation. 2007-01-09 07:55:12 -08:00
mtortonesi
bd7f4ef701 [svn] Fixed segfault if response text is missing 2007-01-09 06:37:03 -08:00
mtortonesi
336c0de301 [svn] Several Windows-related changes. 2006-12-29 09:23:20 -08:00
mtortonesi
14ee3a6c03 [svn] Fix -P in case HTTP Content-Disposition header is present. 2006-12-27 01:42:28 -08:00
hniksic
3f51773542 [svn] Fixed problem with recursive FTP retrieval. 2006-11-21 14:18:12 -08:00
hniksic
ff82bd9276 [svn] Would incorrectly skip changing working directory when retrying after a
failed FTP attempt.
2006-10-18 13:45:30 -07:00
mtortonesi
d8aca98b18 [svn] Fixed broken -E -k -K mode. 2006-10-12 06:37:58 -07:00
mtortonesi
763229b67f [svn] #include'd spider.h to get rid of compiler warnings. 2006-08-28 07:41:40 -07:00
mtortonesi
0dbef4ccb4 [svn] Several fixes for recursive spider mode. 2006-08-24 08:27:57 -07:00
mtortonesi
8c45a34a55 [svn] Fixed a timestamping related bug in HTTP downloads. 2006-08-21 06:38:15 -07:00
mtortonesi
a9c3209a9b [svn] Fix broken -c in new HTTP code. 2006-08-17 03:49:29 -07:00
hniksic
8566a72767 [svn] Avoid code repetition between time_str and datetime_str. 2006-08-08 07:32:53 -07:00
hniksic
6493450947 [svn] Warn to keep the option list sorted. 2006-08-08 07:31:12 -07:00
hniksic
a890134659 [svn] Fix ordering of the command array. 2006-07-21 04:20:40 -07:00
mtortonesi
1c7493b83e [svn] Added sanity checks for -k, -p, -r and -N when -O is given. Added fixes for 64-bit platforms. Updated copyright and maintainer information. 2006-07-14 06:25:50 -07:00
hniksic
854a7fae35 [svn] Mark DEL (0x7f) as a control character and | as a character Windows can't
handle.
2006-07-10 10:01:03 -07:00
mtortonesi
60c88ee992 [svn] Fixes for recursive spider mode. 2006-06-28 04:09:30 -07:00
hniksic
19c5c1d52f [svn] Allow 64-bit wgint without LFS. 2006-06-26 11:31:28 -07:00
hniksic
48f21f4a71 [svn] Don't assume that strtoll_type is 64 bits wide. Don't rely on undefined
behavior to check overflow.
2006-06-26 11:24:38 -07:00
hniksic
f2756871a6 [svn] Doc fix. Credit base64_decode coming from Recode. 2006-06-25 09:22:26 -07:00
hniksic
272a9a2d90 [svn] Doc fix. 2006-06-21 01:32:55 -07:00
hniksic
0adf1ccfa0 [svn] Cast void pointer to char * before doing arithmetic on it. 2006-06-21 01:12:12 -07:00
hniksic
09d44f355f [svn] Made base64 tables const. 2006-06-20 01:18:59 -07:00
hniksic
56897eceb5 [svn] Made base64 DATA and DEST pointers void*. 2006-06-20 01:16:36 -07:00
hniksic
7bc4d2db21 [svn] base64_encode could read past the end of STR. 2006-06-19 13:35:53 -07:00
mtortonesi
c1cb70ecd0 [svn] Added support for --restrict-file-names=lowercase and --restrict-file-names=uppercase. 2006-06-13 06:58:33 -07:00
mtortonesi
9d9f134fdf [svn] Fixed recursive FTP retrieval over proxy. 2006-06-12 09:26:28 -07:00
mtortonesi
01093c0c33 [svn] Fixed recursive spider mode. 2006-05-25 09:11:29 -07:00
hniksic
739cc5ec16 [svn] Fix breakage in ls output parsing. By Larry Jones. 2006-05-21 02:10:39 -07:00
mtortonesi
9a66d92f60 [svn] Improvements/fixes to HTTP Content-Disposition header support. 2006-04-28 02:15:14 -07:00
hniksic
2a58c7d207 [svn] Wrap macro arg in parentheses. 2006-04-11 11:03:14 -07:00
hniksic
a46aa44f57 [svn] Document parse_content_disposition. 2006-04-08 09:05:42 -07:00
mtortonesi
ea4ffded27 [svn] Restricted operational semantics of frontcmp and proclist from generic strings to directory names, and fixed dirname matching algorithm. Renamed above mentioned functions to subdir_p and dir_matches_p respectively. Added testcases for subdir_p and dir_matches_p. 2006-03-15 06:55:29 -08:00
mtortonesi
0bd1751372 [svn] recur.c: changed type of html_allowed member of struct queue_element to bool. 2006-03-14 05:52:17 -08:00
mtortonesi
d34270c536 [svn] Add support for download of hidden files from FTP. 2006-03-09 05:50:03 -08:00
hniksic
2fc7e59e06 [svn] Fixed definition of TOLOWER when STANDALONE. 2006-03-06 06:00:18 -08:00
mtortonesi
46c94e5f26 [svn] Fixed recursive HTTP retrieval 2006-03-02 01:27:45 -08:00
hniksic
65cc42ee09 [svn] Use the extract_param function for parsing the www-authenticate header. 2006-02-28 14:32:56 -08:00
hniksic
6d2dc0a1b3 [svn] Use extract_params to parse the Set-Cookies header. 2006-02-28 12:50:37 -08:00
hniksic
66ee895734 [svn] Deleted extract_param_value_delim. 2006-02-28 12:09:34 -08:00
hniksic
c90e4f9c1a [svn] Parse Content-Disposition better. Implement memrchr where missing. 2006-02-28 11:27:52 -08:00
hniksic
aa07e689f2 [svn] Don't preserve ".." at beginning of path. 2006-02-28 09:41:09 -08:00
hniksic
e8b61e46ab [svn] Only use FILE.N.html if FILE.html exists. 2006-02-25 15:28:49 -08:00
hniksic
9bd8e5c94e [svn] Made thread_hnd non-static. 2006-02-09 04:39:27 -08:00
hniksic
15f7e83216 [svn] Doc fix. 2006-02-09 02:24:07 -08:00
hniksic
a202418374 [svn] Made [0.5*wait, 1.5*wait) the range of --random-wait. 2006-02-05 00:35:22 -08:00
hniksic
85146a6ebd [svn] Removed the SPRINTF_WGINT macro. 2006-02-03 02:31:00 -08:00
hniksic
b6fa9ce7be [svn] Don't use sprintf for printing WGINT_MIN; simply divide n by 10 and defer
printing the last digit.
2006-02-03 02:27:59 -08:00
mtortonesi
d8f368d062 [svn] Implement correct parsing of HTTP Content-Disposition header. 2006-02-03 01:33:57 -08:00
hniksic
b89b58e00a [svn] Obtain the declaration of uintptr_t when standalone. 2006-02-02 05:37:56 -08:00
hniksic
31cc8166dc [svn] Don't define countof if it's already defined. 2006-02-02 05:04:33 -08:00
mtortonesi
bfd24dba71 [svn] Removed empty lines in output format. 2006-01-30 02:06:10 -08:00
mtortonesi
b5be7ce301 [svn] Commited new HTTP output format. 2006-01-30 00:54:09 -08:00
mtortonesi
b15ddc5b71 [svn] Removed broken output file removal patch. 2006-01-30 00:46:16 -08:00
mtortonesi
f1b726490e [svn] Remove output document in case of download problems when -O and --quiet are given. 2006-01-24 05:36:24 -08:00
mtortonesi
823228830e [svn] Fixed pre-download verbose output which was broken by HTTP code refactoring. 2005-12-07 00:24:24 -08:00
mtortonesi
729c00ab9e [svn] Better explanation of last change to HTTP code in ChangeLog. 2005-12-05 03:25:50 -08:00
mtortonesi
e7433e4027 [svn] Removed C++ style comments from http.c and test.c, as we support C89 compilers as well. 2005-12-05 02:55:30 -08:00
mtortonesi
d40086ba5f [svn] Major refactoring of HTTP code. Added support for Content-Disposition header. 2005-11-23 02:18:18 -08:00
hniksic
3e145c6018 [svn] Use uintptr_t instead of unsigned long for integer representation of pointers. 2005-11-19 11:35:02 -08:00
mtortonesi
b285d8070b [svn] Improved support for unit testing 2005-11-02 07:48:45 -08:00
mtortonesi
74415a7585 [svn] Added basic support for unit testing 2005-10-27 07:13:40 -07:00
mtortonesi
4950b4f441 [svn] Added Daniel's fix for remotely exploitable buffer overflow vulnerability in NTML code. 2005-10-13 02:04:16 -07:00
hniksic
02e8aa3ac4 [svn] Removed gcc 4.0 warnings, by Russ Allberry. 2005-10-09 02:59:20 -07:00
mtortonesi
1ff7c1fa70 [svn] retr.c: Changed semantics of no_proxy_match. 2005-10-05 02:46:07 -07:00
mtortonesi
8c69427125 [svn] Fixed typo 2005-10-05 02:43:47 -07:00
hniksic
b9d8781b77 [svn] Don't print download summary if nothing has been downloaded. 2005-09-17 06:07:00 -07:00
hniksic
a95c910f9c [svn] Change name of param. 2005-09-17 05:55:21 -07:00
hniksic
53ca4879b9 [svn] Introduce symbolic constants for "magic" values of 0.2 and 0.9,
REFRESH_INTERVAL and ETA_REFRESH_INTERVAL.
2005-09-01 09:44:11 -07:00
hniksic
7700d6c999 [svn] Fix strtoll("0x", ptr, 0) to set *ptr to position of 'x', not after it. 2005-08-27 12:27:46 -07:00
hniksic
6cae84266c [svn] Doc fix. 2005-08-27 12:09:52 -07:00
hniksic
65401399d7 [svn] Doc fix. 2005-08-27 12:09:42 -07:00
hniksic
ed8648d0c0 [svn] Use hash_table_iterate in cookie_jar_delete. 2005-08-27 06:25:47 -07:00
hniksic
8b7dabcdf8 [svn] Simplify iteration over hash table entries. 2005-08-27 06:05:39 -07:00
hniksic
89ccc4ac04 [svn] Use @datadir@. Define localedir as $(datadir)/locale.
By Albert Chin.
2005-08-26 11:51:23 -07:00
hniksic
9f0bf14c27 [svn] Docfix: "conventional" -> "conventional wisdom" 2005-08-26 11:19:00 -07:00
hniksic
96aa9c1a06 [svn] Abort configure if --with-ssl given but SSL unavailable. Use HAVE_LIBSSL
and HAVE_LIBGNUTLS symbols provided by AC_LIB_HAVE_LINKFLAGS instead of
inventing new ones.
By Stepan Kasal.
2005-08-26 05:02:04 -07:00
hniksic
9aae245890 [svn] Tell OpenSSL to renegotiate automatically (mode SSL_MODE_AUTO_RETRY).
By Jeremy Shapiro.
2005-08-26 03:42:31 -07:00
hniksic
335f7a4f92 [svn] Use IP_INADDR_DATA. 2005-08-23 13:40:37 -07:00
hniksic
602105004e [svn] Doc fix. 2005-08-12 06:17:42 -07:00
hniksic
b23ed889b1 [svn] Renamed strtoll_return to strtoll_type. 2005-08-12 05:56:52 -07:00
hniksic
d46f0621b9 [svn] Switch to days when printing more than 48h rather than 100h. 2005-08-11 14:20:37 -07:00
hniksic
f25d593c16 [svn] If strtoll is not present, check for strtoimax and use it where available.
If neither is present, define own strtoll.
2005-08-11 14:18:56 -07:00
hniksic
481443d337 [svn] Simplify the ip_address data union. Always use inet_ntop for printing
IP addresses when IPv6 is enabled.
2005-08-10 06:50:08 -07:00
hniksic
254ed12b8f [svn] Doc fix. 2005-08-10 05:40:31 -07:00
hniksic
b110199bce [svn] Doc fix. 2005-08-10 05:28:01 -07:00
hniksic
dd8eafb6c9 [svn] Handle IPv4 addresses in inet_ntop. 2005-08-09 05:45:45 -07:00
hniksic
b138e352e0 [svn] Don't read more than the amount of data specified by the content-length
header.  Removed the obsolete "kill_lines" wgetrc var.
2005-08-08 15:51:19 -07:00
hniksic
fdb3a03fca [svn] Don't free RESPLINE if ftp_response returns a status other than FTPOK.
By Vasil Dimov.
2005-08-08 15:21:59 -07:00
hniksic
fe777884cf [svn] Remember the position of the previous token instead of backtracking to it.
By Giuseppe Bonacci.
2005-08-04 14:45:28 -07:00
hniksic
27324f9c79 [svn] Include process.h for getpid() declaration.
By Gisle Vanem.
2005-07-08 11:51:27 -07:00
hniksic
4a0417f00b [svn] Doc update. 2005-07-08 00:36:59 -07:00
hniksic
5b52e5658d [svn] Use vasprintf where available. 2005-07-08 00:33:05 -07:00
hniksic
83feeb3927 [svn] Doc fix. 2005-07-08 00:25:21 -07:00
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
7d773e86b7 [svn] Put empty for loop body on separate line. 2005-07-07 08:28:34 -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
b3900f1fbd [svn] In for loops with empty body, put the ";" on a separate line to silence
a warning from DMC.
2005-07-06 18:08:52 -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
ff751683a2 [svn] Unify Windows-related config.h files into windows/config.h and
windows/config-compiler.h.
2005-07-06 15:09:50 -07:00
hniksic
710959597f [svn] Unconditionally include <setjmp.h>. 2005-07-06 14:06:29 -07:00
hniksic
8c7cf8ea0b [svn] Doc fix. 2005-07-06 13:03:50 -07:00
hniksic
9dbc801ed1 [svn] Doc fix. 2005-07-06 12:56:20 -07:00
hniksic
f29eafcca7 [svn] Doc fix. 2005-07-06 12:50:26 -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
ec10e1a377 [svn] Doc fix. 2005-07-06 09:08:00 -07:00
hniksic
985e4d63a0 [svn] Doc fix. 2005-07-06 09:06:01 -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
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