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

1570 Commits

Author SHA1 Message Date
Saint Xavier
b30a0dd817 Automated merge. 2008-07-20 21:45:09 +02:00
Saint Xavier
5982054a98 Use the right flags for idna conversion (RFC3987 section 3.1) 2008-07-20 20:37:22 +02:00
Saint Xavier
ee8ff7488f Add a missing no-op macro for set_ugly_no_encode() 2008-07-20 19:31:09 +02:00
Saint Xavier
169a16fc7d Make get_utf8_encode() directly aware of ugly_no_encode and remove get_ugly_no_encode() 2008-07-20 19:29:51 +02:00
Saint Xavier
24d68b7a25 Add some comments in iri.c and change a variable name which was the same for a global and a local one 2008-07-20 19:08:28 +02:00
Saint Xavier
7410cb9764 In spider mode, do not report links as broken if they were utf8 encoded 2008-07-20 18:52:20 +02:00
Saint Xavier
1e9ced0170 Get rid of the supplementary bool pointer in url_parse () arguments; UGLY :) 2008-07-20 18:47:52 +02:00
Saint Xavier
da6b3f4b61 Use dt rather than result 2008-07-20 18:20:18 +02:00
Saint Xavier
9a2ea3938d Basic IDN/IRI support 2008-07-20 13:10:02 +02:00
Micah Cowan
b28a6abfe6 -i accepts URLs (stsc). For #21265. 2008-07-11 17:16:49 -07:00
Micah Cowan
54df044c06 Fix merge of src/Makefile.am 2008-07-11 16:36:09 -07:00
Micah Cowan
2e2ac6ad2f Merge current tip with CSS stuff. 2008-07-11 16:30:51 -07:00
Saint Xavier
6c6e838338 No need for initial value 2008-07-08 00:44:08 +02:00
Saint Xavier
f50be2a403 Show the hostname we are connecting to in the locale when possible 2008-07-08 00:42:09 +02:00
Saint Xavier
3781197ec6 Remove an always true condition 2008-07-08 00:29:02 +02:00
Saint Xavier
99396653c2 Show also the hostname in the locale when possible 2008-07-02 16:37:28 +02:00
Saint Xavier
85185bde1b Emit a message if we found invalid or incomplete multibyte sequences 2008-07-01 19:34:37 +02:00
Saint Xavier
d687972c50 Fix copyright year and some GNU coding style 2008-07-01 19:28:24 +02:00
Saint Xavier
26252ac4ca escnonprint has been replaced by quotearg_style; reflect that change in comments too 2008-06-30 20:03:01 +02:00
Saint Xavier
8c204b7463 Fix a typo in a comment: impplement -> implement 2008-06-26 21:42:37 +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
Saint Xavier
1a33947ca0 Automated merge. 2008-06-14 17:46:53 +02: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
Saint Xavier
8fc5241a2d Automaetd merge. 2008-06-08 13:00:15 +02: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
dac53e8bdf Minor tweaks to Henri's patch. 2008-05-31 00:24:53 -07:00
Micah Cowan
48b53471e8 Henri's -Wall patch. 2008-05-30 22:42:36 -07:00
Micah Cowan
1859cd569b Picked off remaining escnonprint call. 2008-05-26 11:36:42 -07:00
Saint Xavier
4aab9e8f0a Detect HTTP Content-Type server encoding 2008-05-25 03:49:00 +02:00
Saint Xavier
d9cd5d2207 Add options for enabling IRI support and forcing some encodings 2008-05-25 03:34:28 +02: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
Joao Ferreira
9fa15c310f Changed some comments related with bug fix #23238, to make things clearer. 2008-05-14 23:21:06 +01:00
Joao Ferreira
888c30ba01 Fixed bug #23238: --no-clobber doesn't work with -O flag
"wget -nc -O file URL" now checks if "file" exists first. If it does, it terminates.
2008-05-14 22:10:37 +01: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
Steven Schubiger
aeced96fae Further quote*()-related integrations in openssl.c. 2008-04-26 14:34:30 +02:00
Steven Schubiger
883ff34537 Further quote*()-related integrations in http.c. 2008-04-26 14:25:50 +02:00
Micah Cowan
c9ffc82f46 -I foo -> -Ifoo 2008-04-25 20:05:29 -07:00
Micah Cowan
7a54d852bf Fix ISDIGIT to c_isdigit. 2008-04-25 20:04:10 -07:00
Steven Schubiger
12db0ebf11 Further quote*()-related integrations in host.c. 2008-04-25 23:05:54 +02:00
Steven Schubiger
070cf12e40 Further quote*()-related integrations in gnutls.c. 2008-04-25 23:01:33 +02:00
Steven Schubiger
1fea56d6b6 Further quote*()-related integrations in ftp.c. 2008-04-25 22:55:06 +02:00
Steven Schubiger
b23251aac2 Further quote*()-related integrations in ftp-basic.c. 2008-04-25 22:38:51 +02:00
Steven Schubiger
0d41823272 Further quote*()-related integrations in cookies.c. 2008-04-25 22:31:08 +02:00
Steven Schubiger
a52fa6056b Include Gnulib quotearg header. 2008-04-25 21:18:07 +02: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
Steven Schubiger
1897176633 Further quote*()-related integrations in connect.c. 2008-04-24 21:43:09 +02: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
Micah Cowan
714ccdcd84 Steven Schweda's VMS patch. 2008-04-22 14:48:36 -07:00
Micah Cowan
39af614535 Fix typo and let CSS files be parsed. 2008-04-22 03:24:09 -07:00
Micah Cowan
1c231299bd Fix merge glitches, get it to build. 2008-04-22 01:47:39 -07:00
Micah Cowan
caae3b70f4 Merging Ted Mielczarek's CSS changes with tip. 2008-04-22 01:28:15 -07:00
Micah Cowan
a0d0f332d5 Ted Mielczarek's CSS wonder-patch, applied against the source from around the time the patch was written. 2008-04-22 00:15:48 -07:00
Steven Schubiger
2c77220411 Undo the USE_GNULIB_ALLOC defines. 2008-04-20 11:46:52 +02:00
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