Commit Graph

1179 Commits

Author SHA1 Message Date
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 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
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
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 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 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 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 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 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 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 3f45148eba Remove original getopt.[ch] in favor of gnulib's. 2007-10-13 23:16: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 fe63bb03f8 Add @LIBINTL@ to LIBS in src/Makefile.am 2007-10-09 19:39:49 -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 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 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 df8b19a28e Gisle's MS-DOS support 2007-09-28 14:47:46 -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 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 4d7c5e087b [svn] Merge of fix for bugs 20341 and 20410. 2007-07-09 22:53:22 -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 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 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 6d2dc0a1b3 [svn] Use extract_params to parse the Set-Cookies header. 2006-02-28 12:50:37 -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 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 b5be7ce301 [svn] Commited new HTTP output format. 2006-01-30 00:54:09 -08:00