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

1802 Commits

Author SHA1 Message Date
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