Commit Graph

1386 Commits

Author SHA1 Message Date
Tony Lewis ee1df87dd8 Parse content-length before using it. Fixes NTLM (#27192). 2009-08-17 20:47:05 -07:00
Micahel Baeuerle ba84c1ec98 #include strings.h in ftp.c. 2009-08-09 18:19:25 -07:00
Micah Cowan 9dadbf6fe9 Rename --html-extension to --adjust-extension. 2009-07-28 17:37:58 -07:00
Micah Cowan fb0946c7fc --restrict-file-names=ascii 2009-07-27 23:41:26 -07:00
Marcel Telka a9a2b34b05 "invalide" -> "invalid" 2009-07-27 19:58:06 -07:00
Petr Pisar ee43faf2b1 Minor msgid fixes. Typos, and corrected contact mail. 2009-07-27 01:56:49 -07:00
Micah Cowan d2e150dc2d Remove documentation for no-longer-used --preserve-permissions. 2009-07-26 21:58:43 -07:00
Micah Cowan da2ac85f40 Documentation fixes for IRI options, and rename --locale -> --local-encoding. 2009-07-26 21:50:19 -07:00
Micah Cowan f11619be14 "Translation note" -> "TRANSLATORS" 2009-07-23 10:24:36 -07:00
Micah Cowan 532aa2cb2d Doc improvements for --base. 2009-07-06 22:53:01 -07:00
Micah Cowan 5febddec70 Fix meta name=robots. 2009-07-05 23:23:17 -07:00
Micah Cowan e941befd40 Avoid name conflict with quote function. 2009-07-05 21:26:40 -07:00
Micah Cowan 4f8d504903 Fix my stupid typo of Petr's name. 2009-07-05 14:38:15 -07:00
Peter Pisar 2524076dd2 Translation fixes. 2009-07-05 14:35:21 -07:00
Micah Cowan ba909b24ec Add dependency for version.c on configure.ac. 2009-07-05 11:09:59 -07:00
Micah Cowan 1d82a5464e Mark some iri.c strings for translation. 2009-07-05 09:46:13 -07:00
Micah Cowan f5a5cfad49 Changelogs for VMS stuff. 2009-07-04 20:34:52 -07:00
Micah Cowan 8e9a3e805f Automated merge. 2009-07-04 11:47:24 -07:00
Micah Cowan 399dab5190 Translation-related improvements to version-info string. 2009-07-04 11:47:08 -07:00
Steven Schubiger a0dc7788e5 Improve handling of schemeless URLs. 2009-07-04 11:19:57 +02:00
Micah Cowan efd514c825 Fixes for when IRIs are disabled. 2009-07-03 22:36:14 -07:00
Micah Cowan 9ef8e738a4 Make sure we link against libiconv when necessary. 2009-07-03 13:04:51 -07:00
Micah Cowan 18bca2706b More quoting. 2009-07-02 01:04:11 -07:00
Micah Cowan a00b834bb3 Referer/IRI fix. 2009-07-01 23:17:33 -07:00
Steven Schubiger af100a3c3e Generate build_info.c automatically. 2009-07-01 23:59:57 +02:00
Micah Cowan 889f705d1b Quote some things that needed quoting. 2009-06-29 21:37:03 -07:00
Micah Cowan efab446726 Changelog entry for past few checkins. 2009-06-29 02:39:33 -07:00
Micah Cowan 4f3dd68173 Merge with mainline. 2009-06-25 01:14:11 -07:00
Micah Cowan 789f7e1353 Fix for building on Interix, from Jay Krell. 2009-06-20 14:50:02 -07:00
Micah Cowan 222a835bfb Return CONERROR when accept_connection fails (#25015). 2009-06-15 23:48:14 -07:00
Micah Cowan 4bbcfc2a1d Fix for bug #24948. 2009-06-15 23:33:41 -07:00
Micah Cowan 259c560166 Make distcheck happy. 2009-06-14 01:41:44 -07:00
Micah Cowan e991f13267 Cleanup/bugfix for tilde patch. 2009-06-13 17:04:31 -07:00
Julien Pichon ca397aa5b0 Tilde expansion without globals 2009-06-13 16:45:09 -07:00
Micah Cowan 94d6650817 Merge in gerel's url-parsing stuff. 2009-06-13 04:48:18 -07:00
Micah Cowan 8d07fbcc9f ChangeLog entry for Gerardo's url-parse changes. 2009-06-13 04:30:45 -07:00
Micah Cowan 1975b2f8f5 #include <sys/types.h> 2009-06-12 15:37:10 -07:00
Micah Cowan f0790f6412 Separate "https" feature. 2009-06-12 13:28:17 -07:00
Micah Cowan e265ef9242 Declare h_errno if no declaration provided (HP-UX). 2009-06-12 01:32:44 -07:00
Xin Zou 37b7e547c3 Fix some memory leaks. 2009-06-11 19:16:51 -07:00
Micah Cowan 8477863e75 Fix bad setlocale usage. 2009-06-11 18:58:26 -07:00
Micah Cowan d1e12d9e05 Need NAMESPACE_TWEAKS on non-Linux glibc-based systems, too. 2009-06-11 16:00:59 -07:00
Steven Schubiger 766df9d4e9 Restore string after function call. 2009-05-28 23:32:54 +02:00
Steven Schubiger 1df3a35106 Duplicate string to circumvent eventual memory corruption. 2009-05-27 21:47:57 +02:00
Steven Schubiger 2e1619d3fe Fix wrong human-readable ETA output. 2009-05-17 12:53:28 +02:00
Micah Cowan faa3908610 stdint.h adjustments for Interix, thanks Markus Duft <mduft@gentoo.org>. 2009-04-24 10:00:48 -07:00
Micah Cowan bb2cba2cc7 Automated merge. 2009-04-22 11:44:13 -07:00
Micah Cowan 1cc32c3014 Fix unportable echo -n. 2009-04-20 10:37:27 -07:00
Steven Schubiger 116b261a9f Move duplicated code to a function. 2009-04-13 22:19:13 +02:00
Steven Schubiger 236ab6d8e0 Skip running rc files while executing tests. 2009-04-11 21:59:55 +02:00
Micah Cowan 4092d7eedc Merge. 2009-03-01 02:57:14 -08:00
Gisle Vanem 3ab05cfe38 No freopen(NULL,...). 2009-03-01 00:08:44 -08:00
Steven Schubiger 57a7ebef93 Improve also messages when writing a document retrieved via FTP to stdout (#20520). 2009-02-27 21:22:29 +01:00
Steven Schubiger fb7916aa1d Improve messages when writing a document to stdout. 2009-02-21 17:32:12 +01:00
Steven Schubiger 1ebd5828cb Remove an unused declaration. 2009-02-18 19:52:39 +01:00
Micah Cowan 58de6f0033 Not-so-automated merge. 2008-12-01 22:59:03 -08:00
Micah Cowan 78a7657395 Automated merge. 2008-11-26 21:55:12 -08:00
Micah Cowan d8c11a82ca Automated merge. 2008-11-26 21:53:40 -08:00
Saint Xavier 51f8e65633 Fixes bug #24862: --content-disposition doesn't work with HTTP authentication 2008-11-27 00:19:06 +01:00
Micah Cowan 289ff1c86a Merge with mainline. 2008-11-26 07:08:38 -08:00
Steven Schubiger f33c275621 Move numurls out of options struct. 2008-11-16 20:53:58 +01:00
Steven Schubiger 47bf277fb5 Default value for waitretry. 2008-11-15 13:25:20 +01:00
Steven Schubiger 94d7b0b570 Improve printing formatted build information. 2008-11-14 13:48:32 +01:00
Micah Cowan c7f74c62d3 Don't download content just to ignore it. 2008-11-13 00:59:53 -08:00
Micah Cowan 02c211d47c HTML-escape dirname in href (not perfect, good enough). 2008-11-12 21:44:48 -08:00
Micah Cowan ca12585a0e HTML-escape dir name in title, h1. 2008-11-12 21:00:05 -08:00
Micah Cowan cf93ce7f4b Applied Alexander Belopolsky's patch for htmlified FTP listings. 2008-11-12 20:47:52 -08:00
Steven Schubiger 3c1725e7a1 Return some memory control back to format_and_print_line. 2008-11-12 12:02:37 +01:00
Steven Schubiger fafd83c097 Do not handle memory within format_and_print_line. 2008-11-11 23:00:05 +01:00
Saint Xavier 65ab102f07 Make --auth-no-challenge work with user:pass@ in URLs. 2008-11-10 23:17:17 -08:00
Micah Cowan 8f5ffd9589 Only print remaining size when > 1k. 2008-11-05 13:38:50 -08:00
Micah Cowan fc7e412bd3 Mailing list move. 2008-10-31 23:15:06 -07:00
Alexander Drozdov b0bdf95494 Fix underflow, incorrect assertion. 2008-10-31 11:13:10 -07:00
Gisle Vanem 871992e247 Compatibility tweaks to format_and_print_line. 2008-10-26 13:18:36 -07:00
Gisle Vanem b58816ed33 aprintf, not asprintf. 2008-09-09 10:26:44 -07:00
Micah Cowan a38d9e7e7a Avoid unnecessary vars, and make wgetrc_file_name build properly on Windows. 2008-09-09 10:20:21 -07:00
Micah Cowan abeb6c4a9e Define program_name, for lib/error.c. 2008-09-09 09:40:13 -07:00
Gisle Vanem 8216f0acc5 Ensure stdio.h is included. 2008-09-02 15:57:43 -07:00
Xavier Saint a459f0aac9 Automated merge. 2008-08-14 18:45:26 +02:00
Steven Schubiger 1515ea0dea Removed dead DEBUG_MALLOC code. 2008-08-09 09:35:45 -07:00
Xavier Saint 44a22c78a7 Automated merge. 2008-08-07 10:27:19 +02:00
Micah Cowan ba09ad3502 Documentation updates for --default-page. 2008-08-03 22:36:38 -07:00
Micah Cowan dc9abe478f jff: option for specifying the default page-name. 2008-08-03 22:12:34 -07:00
Micah Cowan 90a2d106cd #include wget.h, not config.h. 2008-08-03 22:08:07 -07:00
Micah Cowan 0fae9cb388 stsc: better message for "unsupported schemes". 2008-08-03 22:03:04 -07:00
Saint Xavier ccd62071dc Automated merge. 2008-07-24 00:58:10 +02:00
Micah Cowan e4371807f6 stsc: -i URL improvements. 2008-07-22 13:33:42 -07:00
Saint Xavier b30a0dd817 Automated merge. 2008-07-20 21:45:09 +02:00
Micah Cowan b28a6abfe6 -i accepts URLs (stsc). For #21265. 2008-07-11 17:16:49 -07:00
Micah Cowan 2e2ac6ad2f Merge current tip with CSS stuff. 2008-07-11 16:30:51 -07:00
Saint Xavier 99396653c2 Show also the hostname in the locale when possible 2008-07-02 16:37:28 +02:00
Micah Cowan ef113e51d8 stsc: FTP -nv --spider: say something about existant files, too. 2008-06-26 11:01:48 -07:00
Saint Xavier d3007f1b3a Automated merge. 2008-06-26 18:10:16 +02:00
Saint Xavier 3b8b1b82d6 Automated merge. 2008-06-26 18:01:01 +02:00
Saint Xavier 5bb11da009 Basic support of IRIs. 2008-06-26 17:59:07 +02:00
Micah Cowan 6db8909f87 stsc: escnonprint -> quotearg_style 2008-06-24 12:08:46 -07:00
Micah Cowan b91e2353f5 Don't assume time_t* is compatible with long*. 2008-06-24 11:44:40 -07:00
Micah Cowan 25585dce47 stsc's patch to initialize, free hs->message. 2008-06-23 12:54:50 -07:00
Micah Cowan b2dbe2b7e4 stsc's better-messages-for-spider-mode patch. 2008-06-22 15:07:19 -07:00
Micah Cowan 8aef7c1f04 version.c string token concatenation. 2008-06-22 11:39:13 -07:00
Saint Xavier 85ecaaea66 Fix a typo in src/ChangeLog 2008-06-20 00:37:15 +02:00
Saint Xavier e6376b4743 Introduce a new function check_encoding_name() for doing a basic check on encoding name validity 2008-06-20 00:33:02 +02:00
Saint Xavier be546c20cb Set an initial value for IRIs options and some minor additions in iri.c 2008-06-19 23:53:03 +02:00
Saint Xavier 2baf323933 Introduce find_locale() to find out local system encoding. 2008-06-19 23:10:06 +02:00
Saint Xavier 13fec85566 Add "content-type" meta tag parsing for retrieving HTML page encoding. 2008-06-19 22:33:38 +02:00
Saint Xavier ed558a83f6 The prefered way is to avoid #ifdef flooding, so take it that way. Introduce iri.c and iri.h for achieving it 2008-06-19 22:07:03 +02:00
Micah Cowan c94d559bc3 Don't abort when len > contlen, when we set it that way. 2008-06-16 21:49:15 -07:00
Micah Cowan fe6ab90c73 Distinguish "openssl" from "ssl" (gnutls is also "ssl"). 2008-06-13 23:31:04 -07:00
Micah Cowan ec0347c018 HAVE_NTLM -> ENABLE_NTLM 2008-06-13 23:13:04 -07:00
Micah Cowan 8e9648a972 Merge build info with head. 2008-06-13 22:15:01 -07:00
Micah Cowan de86fc8c82 Reopen stdout in binary mode for -O -. 2008-06-01 17:28:44 -07:00
Micah Cowan 30a6388020 Changelog entries for the warning tweaks. 2008-05-31 00:50:34 -07:00
Micah Cowan 1859cd569b Picked off remaining escnonprint call. 2008-05-26 11:36:42 -07:00
Micah Cowan e416bb27cb ChangeLog formatting adjustment. 2008-05-19 02:41:14 -07:00
Micah Cowan f7235a59b7 Password prompt only once, and before backgrounding. 2008-05-19 02:36:35 -07:00
Micah Cowan 7c46e0f2c1 Apply Kenneth Parnell's patch for prefer_family, in addition to Steven Schubiger's; fix attribution for Schubiger's patch. 2008-05-17 13:23:47 -07:00
Micah Cowan ecdfa5b1bc preferred_family = none 2008-05-17 13:19:37 -07:00
Micah Cowan c3bd5412a8 Handle Ctrl-D, empty password. 2008-05-17 13:01:06 -07:00
Micah Cowan d78cd8d8f8 Merging heads. 2008-05-15 22:36:20 -07:00
Micah Cowan da51f9b2c4 Fix file-checking in FTP with --spider. 2008-05-15 22:26:00 -07:00
Micah Cowan 051528cb85 Use the quote module for the password prompt. 2008-05-15 21:06:51 -07:00
Micah Cowan ec84142901 Merge getpass with quote, plus my NEWS entry. 2008-05-15 20:58:27 -07:00
Micah Cowan e72b57629b Merge quote module stuff with current mainline. 2008-05-15 19:13:08 -07:00
Micah Cowan 3323b84c30 Quoting tweaks. 2008-05-14 22:26:15 -07:00
Micah Cowan 61e9169dbb Turn off timestamping after the warning. 2008-05-12 22:22:56 -07:00
Micah Cowan e8200e6808 Downgrade -N with -O to a warning. 2008-05-12 23:54:48 -07:00
Madhusudan Hosaagrahara 5e7f976fa1 Adds build information to the --version command line option. 2008-05-05 23:14:25 -07:00
Steven Schubiger ae034d236f Use gnulib's getpass-gnu module for password prompting. 2008-05-01 00:28:23 +02:00
Micah Cowan 16b833c16d Fix too-many-spaces problem for multibyte progress bars, when ETA string not displayed. 2008-04-30 13:48:30 -07:00
Micah Cowan 202caab4c2 Parse html from files when -r -nc is active. 2008-04-27 12:11:03 -07:00
Micah Cowan 886cc094e1 Add support for .. at beginning of paths back in, but only for FTP. 2008-04-27 03:23:54 -07:00
Micah Cowan db61675ec0 Downgrade -r, -p with -O to a warning rather than an error; elaborate about bad combinations with -O. 2008-04-27 02:15:31 -07:00
Micah Cowan ad21f8e2b7 Add fix from eleven, for doing HTTPS auth over a proxy (in eleven, changeset 883844a4ac33). 2008-04-26 21:28:35 -07:00
Micah Cowan c9ffc82f46 -I foo -> -Ifoo 2008-04-25 20:05:29 -07:00
Micah Cowan ce983c8421 Revised usage description of --convert-links to apply to CSS as well as to HTML. 2008-04-24 14:33:32 -07:00
Micah Cowan 0061443011 Added ChangeLog entries for CSS changes. 2008-04-24 14:10:34 -07:00
Micah Cowan 6c16fe9225 Ensure that dir matches aren't mere prefix matches. 2008-04-23 00:05:27 -07:00
Micah Cowan 3c086872e9 Allow combined cert/key once again. 2008-04-22 23:27:21 -07:00
Micah Cowan b2ad06272d Make http.c's handling of --quiet --server-response consistent with ftp.c's. 2008-04-22 23:07:19 -07:00
Micah Cowan 1297ab8328 Test to confirm that rc commands are properly sorted. 2008-04-22 22:59:22 -07:00
Micah Cowan 8896339e8d Only remove .listing if it has been created. 2008-04-22 22:28:53 -07:00
Micah Cowan d6bd8516dc Xref to resolved bugs. 2008-04-22 22:09:39 -07:00
Micah Cowan 7fc6af0faf Move declaration before statements. 2008-04-22 22:06:50 -07:00
Micah Cowan 6b3234ca2a Rearrange library order in Makefile.am. 2008-04-22 22:00:51 -07: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 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