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

2217 Commits

Author SHA1 Message Date
Giuseppe Scrivano
334a8e9027 Convert a static local buffer to be allocated dinamically. 2010-12-01 12:47:30 +01:00
Reza Snowdon
20a64d03d8 Exit immediately if the system config file cannot be parsed. 2010-11-29 15:24:48 +01:00
Giuseppe Scrivano
8aa378bd9e Revert 2444. 2010-11-22 18:04:42 +01:00
Giuseppe Scrivano
f97c9ac8e7 Fix typo in src/ChangeLog file. 2010-11-22 15:17:01 +01:00
Giuseppe Scrivano
2aa2a913c3 On a network error, attempt to resume the download, not restart it. 2010-11-21 22:56:20 +01:00
Giuseppe Scrivano
a2596ccf21 Fix an infinite loop with error message '<filename> has sprung into existence' 2010-11-19 17:14:21 +01:00
Reza Snowdon
8c7afaf3bb Implement --config. 2010-10-29 00:20:31 +02:00
Jessica McKellar
69fb378d59 Print the total download time as part of the summary for recursive downloads. 2010-10-24 21:45:30 +02:00
Giuseppe Scrivano
ea96533903 gnutls: Read correctly last chunk of data. 2010-10-24 01:21:01 +02:00
Giuseppe Scrivano
8405493e1d gnutls: fix build under mingw32. 2010-10-23 13:50:31 +02:00
Giuseppe Scrivano
b38c40b34e gnutls: peek blocks until data is available. 2010-10-23 12:34:49 +02:00
Giuseppe Scrivano
c5dc4d1664 Remove unnecessary code. 2010-10-21 13:27:31 +02:00
Manfred Koizar
cea1f0718d Do not assume external links type to be always "text/html". 2010-10-18 10:55:16 +02:00
Giuseppe Scrivano
542c549985 Silent warnings reported by clang. 2010-10-16 03:04:25 +02:00
Giuseppe Scrivano
7ae38d431e Fix indentation. 2010-10-11 22:49:14 +02:00
Steven Schubiger
af928aaaaa Fix compiler warning. 2010-10-11 22:46:00 +02:00
Ivanov Anton
62aab82ead Fixed crash while processing page with invalid `style' attribute. 2010-10-08 13:39:36 +02:00
Giuseppe Scrivano
62864cee6e Remove unused local variable. 2010-10-06 12:24:38 +02:00
Merinov Nikolay
b5c9573ad6 Add --unlink. 2010-09-29 13:34:09 +02:00
Dennis, CHENG Renquan
6230b73df0 Fix problem when content-disposition is used with recursive downloading. 2010-09-24 14:07:58 +02:00
Giuseppe Scrivano
6a5a964d7e Do not use HTML quoting in CSS files. 2010-09-14 12:14:34 +02:00
Giuseppe Scrivano
822a32d813 Align --trust-server-names help text. 2010-09-12 14:21:03 +02:00
Giuseppe Scrivano
6ce3d0cf12 Convert correctly URLs that need to be encoded to local files. 2010-08-20 03:11:07 +02:00
Giuseppe Scrivano
2107eb06ab Use persistent connections with proxies supporting them. 2010-08-09 12:56:49 +02:00
Giuseppe Scrivano
87ad80cacc Specify the connection header when keep alive connections are not used. 2010-08-09 12:32:04 +02:00
Giuseppe Scrivano
e6152f3265 css: Skip empty urls. 2010-08-06 17:07:17 +02:00
John Trengrove
e6b486fd93 ftp: display hour:minute information if it is available. 2010-08-01 22:55:53 +02:00
Giuseppe Scrivano
e095cc064e Fix a problem when -k is specified and url's are specified in CSS code. 2010-07-30 01:00:26 +02:00
Giuseppe Scrivano
75c6ca0f5d gnutls: Fix a problem with multiple peek read calls. 2010-07-29 12:24:34 +02:00
Giuseppe Scrivano
3e25a9817f Introduce --trust-server-names. Close CVE-2010-2252. 2010-07-28 21:22:22 +02:00
Alan Jenkins
954fead685 Fix a failure if the server doesn't specify a content-length and -c is used. 2010-07-20 19:42:13 +02:00
Leonid Petrov
29c0b3cc07 Fix symlinks resume via FTP. 2010-07-20 13:09:43 +02:00
Giuseppe Scrivano
57584fe2da Fix another case of -N and -c not working well together. 2010-07-18 20:10:42 +02:00
Giuseppe Scrivano
29305e059f Rewrite last change considering SIZE return value, otherwise what RETR returns 2010-07-14 23:06:20 +02:00
Giuseppe Scrivano
6ef8c69c9d Take the maximum value between RETR and SIZE bytes counts for the file size 2010-07-14 01:23:17 +02:00
Giuseppe Scrivano
b7f54921f6 Now --timestamping and --continue works well together. 2010-07-11 15:47:18 +02:00
Giuseppe Scrivano
cf3c678c82 Rename two functions. 2010-07-09 12:24:51 +02:00
Giuseppe Scrivano
ec40efb27b The GNU TLS backend loads default root certificates. 2010-07-05 19:27:16 +02:00
Giuseppe Scrivano
eb483c9f25 Honor the --secure-protocol flag in the GNU TLS backend. 2010-07-03 13:48:15 +02:00
Giuseppe Scrivano
a6625c97c5 Fix help string for --random-wait. 2010-06-20 12:10:35 +02:00
Giuseppe Scrivano
5af14a7589 Fix GNU TLS backend under Windows. 2010-06-15 13:03:13 +02:00
Giuseppe Scrivano
b7814f7cf3 Fix some problems with GNU TLS. 2010-06-14 19:40:03 +02:00
Giuseppe Scrivano
117c25970b Send a HEAD before the GET when -N and --content-disposition are used together. 2010-06-14 19:24:47 +02:00
Muthu Subramanian K
aca9f566b6 Report the total avg transfer speed correctly with multiple URL's and -c. 2010-06-11 00:35:30 +02:00
Giuseppe Scrivano
e16bd20474 Drop the current maintainer line from the version display. 2010-06-10 10:19:27 +02:00
Giuseppe Scrivano
5cc1525e65 Generate the `build_info.c' file under the build directory. 2010-06-10 10:03:17 +02:00
Giuseppe Scrivano
bd5527dad4 If --content-disposition is used, do not send a HEAD request. 2010-06-03 16:46:56 +02:00
Giuseppe Scrivano
e0c25f7a5f Remove some unused variables. 2010-05-31 22:58:56 +02:00
Giuseppe Scrivano
e9e09e1cc0 Fix condition for closed HTML tag. 2010-05-31 17:29:05 +02:00
Giuseppe Scrivano
f747e73445 Remove _SVID_SOURCE and _BSD_SOURCE definition. 2010-05-31 11:56:06 +02:00
Giuseppe Scrivano
260b9593dc Remove an unused function and an unused local variable. 2010-05-31 11:51:27 +02:00
Giuseppe Scrivano
9e286ee357 Print diagnostic messages to stderr, not stdout. 2010-05-31 09:45:03 +02:00
Giuseppe Scrivano
c702d99f7b Use the gnulib snprintf module. 2010-05-27 13:59:46 +02:00
Giuseppe Scrivano
1b2092fd06 Cope better with unclosed html tags. 2010-05-30 14:01:10 +02:00
Giuseppe Scrivano
d733dbc703 Exit with failure if -k is specified and -O is not a regular file. 2010-05-27 12:45:15 +02:00
Giuseppe Scrivano
af5008cdb4 Tiny aesthetic changes. 2010-05-27 12:14:59 +02:00
Giuseppe Scrivano
8ff8a1d289 Send new cookies when the authorization fails. 2010-05-27 12:09:56 +02:00
Giuseppe Scrivano
b2b76dcef4 Ignore zero length domains in no_proxy. 2010-05-25 18:36:02 +02:00
Giuseppe Scrivano
475c452780 Ignore HTTP 1xx responses. 2010-05-25 17:52:13 +02:00
Giuseppe Scrivano
8f91cbd2d6 Remove definition of unused symbols. 2010-05-24 12:12:41 +02:00
Giuseppe Scrivano
84b2d52598 http_atotm copies the NUL character of the locale string. 2010-05-23 10:58:05 +02:00
Giuseppe Scrivano
58a9721edf Use the gnulib md5 module. 2010-05-16 01:34:17 +02:00
Giuseppe Scrivano
ffbba2e6b9 Fix some build issues 2010-05-15 22:58:57 +02:00
Giuseppe Scrivano
293008f682 Mass update copyright years. 2010-05-08 21:56:15 +02:00
Giuseppe Scrivano
b76ef3f452 Use always close as it is defined by gnulib on platforms lacking it. 2010-05-07 13:27:11 +02:00
Giuseppe Scrivano
5a97871f5d Fix unit tests build in a VPATH. 2010-05-07 13:10:09 +02:00
Giuseppe Scrivano
cba3187919 Remove some functions not needed anymore. 2010-05-07 12:46:47 +02:00
Giuseppe Scrivano
78a1186f2d Fix build under mingw. 2010-05-07 12:28:26 +02:00
Giuseppe Scrivano
8234d9866a Add directory with generated gnulib files. 2010-05-07 10:15:14 +02:00
Giuseppe Scrivano
63f280a030 Copy build_info.c.in only if we are working in a VPATH. 2010-05-07 09:51:35 +02:00
Giuseppe Scrivano
57a46fed5d Generate build_info.c in the builddir not in the srcdir. 2010-05-06 23:13:24 +02:00
Giuseppe Scrivano
282798f52e Give a nicer message on a malformed status line. 2010-05-05 12:27:29 +02:00
Giuseppe Scrivano
bb3f805b86 Mention last patch in the ChangeLog. 2010-05-04 18:03:51 +02:00
Giuseppe Scrivano
d829a89218 Check `resp_status' function return code. 2010-05-04 17:34:40 +02:00
Giuseppe Scrivano
1cee086162 Support HTTP/1.1. 2010-05-01 22:34:11 +02:00
Steven Schubiger
a801efcd96 Don't delete an input file fetched via FTP. 2010-03-04 22:09:31 +01:00
Steven Schubiger
33d8b23dfd Check stricter for supported URL scheme. 2010-03-02 21:41:32 +01:00
Steven Schubiger
f391a5b5b0 Fix memory leak in retrieve_from_file. 2010-03-02 20:35:02 +01:00
Steven Schubiger
ec6950f1a6 Make -i work with FTP. 2010-03-02 00:00:17 +01:00
Paul Townsend
068991e8a0 Time-measurement fix 2010-01-27 10:08:26 -08:00
Micah Cowan
30b24240ae Fixed some mixed declarations-and-code. 2010-01-13 20:41:15 -08:00
Micah Cowan
7585b7019d --no-match-server-timestamps -> --no-use-server-timestamps 2010-01-09 20:21:37 -08:00
Micah Cowan
cd4c4b63d4 Clarify David's change as not being significant for copyright. 2010-01-09 18:58:14 -08:00
David Holman
1f08245076 --no-match-server-timestamps 2010-01-09 18:57:18 -08:00
Peter Rosin
8798e25533 Format %p as unsigned. 2010-01-09 18:18:21 -08:00
Jeremy Olexa
8e39fcf97b PATH_MAX from sys/param.h, when not available from limits.h. 2010-01-09 16:53:41 -08:00
Steven Schweda
104b0b4ca8 imported patch vms-changelogs 2010-01-09 15:24:02 -08:00
Steven Schweda
3f01333ca6 imported patch vms-carat 2010-01-09 15:24:02 -08:00
Steven Schweda
3450481772 imported patch vms-overlay 2010-01-09 15:24:02 -08:00
Arvind Jamuna Dixit
d5361eca21 Support RFC 2231. 2010-01-09 14:23:29 -08:00
Petr Pisar
d92049ef66 Implement support for subjectAltName fields in X509 certs. 2009-10-24 16:06:44 -07:00
Micah Cowan
a454495722 Remove misleading comment. 2009-10-09 02:23:26 -07:00
Micah Cowan
c86f7c7b82 Fix declaration of compiled_features. 2009-10-09 02:12:33 -07:00
Micah Cowan
186ee6d0ff build_info.pl improvements, advertise large-file support. 2009-10-09 02:02:39 -07:00
Micah Cowan
3648b91197 Unconditionally include stdbool.h. 2009-09-30 19:35:26 -07:00
Micah Cowan
d65774ae38 Just move vms.c from vms/ to src/. 2009-09-25 10:17:49 -07:00
Micah Cowan
b7cef9f642 Backed out changeset b49bb4258818 2009-09-25 10:14:46 -07:00
Micah Cowan
c0721917c8 More vms-related changes. 2009-09-24 12:47:43 -07:00
Micah Cowan
5c3281ad89 Use proper prototypes for snprintf, vsnprintf. 2009-09-24 12:24:10 -07:00
Steven Schweda
e83b33f844 target -> targ; use OS_TYPE for VMS in build info string. 2009-09-24 12:23:08 -07:00
Micah Cowan
37f915419b host_errstr should return const char *. 2009-09-24 11:50:07 -07:00
Micah Cowan
663b1b3367 imported patch windows 2009-09-22 18:43:02 -07:00
Micah Cowan
a40256c1a9 More reliable Mercurial node ids. 2009-09-22 16:55:35 -07:00
Micah Cowan
ba2a0b871a Backout release-specific changes. 2009-09-22 10:24:07 -07:00
Micah Cowan
780d1e674b imported patch one-dot-twelve 2009-09-22 09:39:49 -07:00
Micah Cowan
34b1a7ad5d Avoid reusing same buffer for successive quoted args. 2009-09-22 09:16:43 -07:00
Micah Cowan
4a08094db8 [mq]: cfg-mk 2009-09-21 20:39:44 -07:00
Micah Cowan
4f53c20e27 License updates for some source files. 2009-09-21 09:03:37 -07:00
Steven Schweda
5ef1d7b949 Fixes needed for VMS. 2009-09-11 19:41:57 -07:00
Steven Schubiger
7415b33b6c Mark some options as deprecated. 2009-09-08 14:54:20 +02:00
Micah Cowan
544afabb39 Automated merge. 2009-09-06 14:08:56 -07:00
Micah Cowan
30391ad9b4 Fix false "downloaded bytes" information from getftp. 2009-09-06 14:08:35 -07:00
Steven Schubiger
c770bdc149 Declare set_local_file(). 2009-09-05 20:41:19 +02:00
Gisle Vanem
f3e634a8b2 Adjustments for MSDOS. 2009-09-05 11:27:52 -07:00
Micah Cowan
c794a7e826 Don't require Perl for user builds. 2009-09-04 10:16:49 -07:00
Micah Cowan
b9e9ad65cc Ran update-copyright. 2009-09-04 00:13:47 -07:00
Micah Cowan
e0b8a67d33 Replace use of localtime with localtime_r. 2009-09-03 20:50:00 -07:00
Micah Cowan
ab4c3117d1 Rearrange SOURCES order, add gettext.h for dist. 2009-09-03 09:43:59 -07:00
Micah Cowan
3411bd9488 Use stamp-po mechanism, and update to gettext-0.17. 2009-09-03 09:40:59 -07:00
Micah Cowan
75c4606003 Fixes for FreeBSD build. 2009-09-02 20:14:19 -07:00
Micah Cowan
edc9055768 Remove useless "gettext" advertisement. 2009-09-02 11:25:55 -07:00
Steven Schubiger
b4dca1816f Escape semicolons when converting links (#27272). 2009-08-29 23:24:49 +02:00
Micah Cowan
b014f8fae9 Improved exit status handling. 2009-08-27 23:08:58 -07:00
Micah Cowan
d21dde51b8 Heed cookies from 401s. 2009-08-27 00:40:48 -07:00
Micah Cowan
57c9e17e6c Only warn of attack if the hostname would have matched. 2009-08-19 01:15:27 -07:00
Joao Ferreira
61a4b1f77a Detect NULs in common name. 2009-08-19 00:44:22 -07:00
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
25a3d032fa Mark --dot-style as deprecated. 2009-07-26 18:55:49 -07:00
Micah Cowan
f11619be14 "Translation note" -> "TRANSLATORS" 2009-07-23 10:24:36 -07:00
Micah Cowan
d6065c927e Space before closing brace. Fixes paramcheck.pl output. 2009-07-10 02:12:34 -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
731b057e7a Removed call to already-removed ftp_dele function. 2009-07-04 20:31:31 -07:00
Micah Cowan
5daac18e96 Adjust some typos from vms merge, and remove some elements we don't want to include without further consideration first. 2009-07-04 18:42:59 -07:00
Micah Cowan
ae042e99cf Remove version.h; we generate version.c these days. 2009-07-04 16:15:26 -07:00
Micah Cowan
c2fe2f4159 Fix minor version-printer merge glitch. 2009-07-04 15:38:42 -07:00
Micah Cowan
d5e283b1a7 Automated merge. 2009-07-04 15:32:57 -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
44cde778dd Fix Test-iri-list. 2009-06-29 01:07:12 -07:00
Micah Cowan
47e7d242ff Fix Test-ftp-iri. 2009-06-28 21:15:22 -07:00
Micah Cowan
50e12521d6 Fixes to restore Test-iri and Test-iri-forced-remote 2009-06-28 20:55:01 -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
Steven Schubiger
42253233c3 Adjust copyright years. 2009-03-03 21:16:47 +01:00
Micah Cowan
5beb59b249 Fixed my stupid CONAIR typo... 2009-03-02 10:29:49 -08: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
gerel
ea3745e8dc removed some more calls 2009-02-01 15:03:51 -03:00
gerel
857224758e one less call 2009-02-01 13:06:32 -03:00
Micah Cowan
58de6f0033 Not-so-automated merge. 2008-12-01 22:59:03 -08:00
Micah Cowan
1b4ed7dcb7 Automated merge. 2008-12-01 07:05:29 -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
Saint Xavier
66dd4bda74 IRI requirement: do not percent-encode already percent-encoded values (try1) 2008-09-27 11:13:21 +02: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
Micah Cowan
090f1596ae Automated merge. 2008-08-28 01:21:59 -07:00
Micah Cowan
123f5c3966 Dependency improvements (but still needs some work). 2008-08-22 17:14:31 -07:00
Saint Xavier
26a3eea8e2 Removed commented *printf and use quote_n() for quoting several args 2008-08-15 15:15:42 +02:00
Saint Xavier
5133d57366 Fixes: use encoding got from the remote server serving the list file and use quote_n() for quote'ing several args 2008-08-15 15:03:38 +02:00
Saint Xavier
1063191b33 Fix a double quoting 2008-08-15 14:41:15 +02:00
Xavier Saint
a459f0aac9 Automated merge. 2008-08-14 18:45:26 +02:00
Xavier Saint
cbd54b549a Automated merge. 2008-08-14 18:45:13 +02:00
Xavier Saint
723dbfc818 Correct iri handling while fetching a remote file list with -i and provide a test 2008-08-14 18:26:53 +02:00
Xavier Saint
e6b4e761d1 Don't forget to free the iri struct 2008-08-14 17:42:16 +02:00
Steven Schubiger
1515ea0dea Removed dead DEBUG_MALLOC code. 2008-08-09 09:35:45 -07:00
Xavier Saint
0d0a425144 Correct a mis-merge: return type for url_error is char*, not const char* 2008-08-07 10:33:06 +02:00
Xavier Saint
44a22c78a7 Automated merge. 2008-08-07 10:27:19 +02:00
Xavier Saint
84395897ad iri.h is already included in wget.h, so don't include it in C files 2008-08-04 11:08:33 +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
Xavier Saint
c74bc2da70 Some cleanups in iri.c 2008-08-03 22:30:12 +02:00
Xavier Saint
e2813c1e4f Since wget use libidn function for finding the locale, langinfo.h is useless 2008-08-03 20:02:35 +02:00
Xavier Saint
bfd8a73f00 quote*() functions don't like that much NULL arg 2008-08-02 11:22:14 +02:00
Xavier Saint
b967d49f79 opt.remote_encoding should not override opt.locale, add a force arguments to set_uri_encoding() 2008-07-30 10:15:55 +02:00
Saint Xavier
8c513ef487 Fix numbers of arguments of the no-op macro idn_encode() 2008-07-24 14:34:48 +02:00
Saint Xavier
3ae04f5fe4 Use DEBUGP instead of commenting out all the _wonderful_ printfs 2008-07-24 14:32:31 +02:00
Saint Xavier
ccd62071dc Automated merge. 2008-07-24 00:58:10 +02:00
Saint Xavier
d82f80ecab Change global variable model for state-object 2008-07-24 00:56:29 +02:00
Micah Cowan
e4371807f6 stsc: -i URL improvements. 2008-07-22 13:33:42 -07:00
Saint Xavier
c31e00b52d Do not free/duplicate current/remote encoding string if they aren't changed 2008-07-21 19:34:22 +02:00
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
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