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

257 Commits

Author SHA1 Message Date
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
48b53471e8 Henri's -Wall patch. 2008-05-30 22:42:36 -07:00
Saint Xavier
d9cd5d2207 Add options for enabling IRI support and forcing some encodings 2008-05-25 03:34:28 +02:00
Micah Cowan
f7235a59b7 Password prompt only once, and before backgrounding. 2008-05-19 02:36:35 -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
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
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
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
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
714ccdcd84 Steven Schweda's VMS patch. 2008-04-22 14:48:36 -07:00
Micah Cowan
4c1a59ea48 Fix #22242: Option to allow auths before challenged. 2008-02-10 17:31:27 -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
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
462e643a7e Merge SFLC licensing changes for OpenSSL with tip. 2007-12-07 17:37:07 -08:00
Micah Cowan
86395b297b Updated licensing exception for OpenSSL from the SFLC. 2007-11-28 00:05:33 -08:00
Micah Cowan
5e2ef06c07 Remove constification of argv in main. 2007-10-30 16:50:17 -07:00
Micah Cowan
212396c7e1 Eschew config-post.h. 2007-10-18 20:50:40 -07:00
Micah Cowan
d905504a0a --spider or --delete-after implies --no-directories. 2007-10-14 22:41:29 -07:00
Micah Cowan
da99855784 ISSPACE -> c_isspace 2007-10-14 14:46:24 -07:00
Micah Cowan
3f45148eba Remove original getopt.[ch] in favor of gnulib's. 2007-10-13 23:16:57 -07:00
Micah Cowan
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
a33fa2dbe0 ENABLE_NLS now, not HAVE_NLS. 2007-10-09 13:30:04 -07:00
Micah Cowan
5f341d6bc1 Dates as well as times in output timestamps 2007-10-02 20:31:23 -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
c508cd63e1 [svn] Leave out unused static function definitions when TESTING is defined. 2007-08-27 12:07:26 -07:00
micah
10da871ac4 [svn] Merging fix #20499: MAX_REDIRECTIONS should be configurable. 2007-07-28 19:37:14 -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
hniksic
3f51773542 [svn] Fixed problem with recursive FTP retrieval. 2006-11-21 14:18:12 -08:00
mtortonesi
763229b67f [svn] #include'd spider.h to get rid of compiler warnings. 2006-08-28 07:41:40 -07:00
hniksic
8566a72767 [svn] Avoid code repetition between time_str and datetime_str. 2006-08-08 07:32:53 -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
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
mtortonesi
9a66d92f60 [svn] Improvements/fixes to HTTP Content-Disposition header support. 2006-04-28 02:15:14 -07:00
mtortonesi
74415a7585 [svn] Added basic support for unit testing 2005-10-27 07:13:40 -07:00
hniksic
b9d8781b77 [svn] Don't print download summary if nothing has been downloaded. 2005-09-17 06:07:00 -07:00
hniksic
097695b723 [svn] New option --ignore-case for case-insensitive matching. 2005-07-06 12:44:00 -07:00
hniksic
3d5863424b [svn] Make timers measure seconds directly, not milliseconds. 2005-07-06 09:35:42 -07:00
hniksic
db9de5b075 [svn] Update FSF's address and copyright years. 2005-07-01 19:26:52 -07:00
hniksic
6fbd5c2a5e [svn] Don't refer to the non-existent -nr option. 2005-06-30 18:19:00 -07:00
hniksic
09f9b4e02b [svn] Check for both SIGUSR1 and SIGHUP before using them. 2005-06-30 05:15:08 -07:00
hniksic
cf48fcc2bb [svn] Unconditionally include locale.h. 2005-06-29 14:45:44 -07:00
hniksic
e289d2ecc4 [svn] Include ETA information in dot progress. 2005-06-28 15:03:12 -07:00
hniksic
2447fb9a9b [svn] Move extern declarations to .h files. 2005-06-27 11:19:22 -07:00
hniksic
2254e5c4e4 [svn] Set all locale categories. 2005-06-26 19:06:52 -07:00
hniksic
9c810d69ac [svn] Don't translate SI units. Print more exact duration information for very
short downloads.
2005-06-26 05:04:01 -07:00
hniksic
319f52d756 [svn] When the download is finished, print the time the download took.
Always invoke SIZE, not only when continuing the download.
2005-06-25 17:41:09 -07:00
hniksic
e24bc5db1b [svn] Rewrite with_thousand_seps to be size-agnostic. Remove printing of separators
from sizes.
2005-06-25 16:09:29 -07:00
hniksic
002def87d2 [svn] Rename LARGE_INT to SUM_SIZE_INT, and simplify its handling. 2005-06-25 07:39:51 -07:00
hniksic
cb2cc3abf8 [svn] Use struct_fstat when calling fstat because of Borland's lack of 64-bit
fstat.
2005-06-23 07:29:42 -07:00
hniksic
74fbb03b10 [svn] Use bool type for boolean variables and values. 2005-06-22 12:38:10 -07:00
hniksic
976cc5bfca [svn] Define the IF_DEBUG macro. 2005-06-21 18:26:22 -07:00
hniksic
b317cb1c6d [svn] Expect existence of C89 functions, as well as of select and gettimeofday. 2005-06-21 18:01:12 -07:00
hniksic
7d48e6d057 [svn] Use #elif where appropriate to make chaining of #if ... #else ...
more readable.
2005-06-19 18:37:23 -07:00
hniksic
908d7a4bce [svn] Don't cast return type of malloc/realloc. Assume ANSI C signal handlers. 2005-06-19 16:03:27 -07:00
hniksic
277e840a0f [svn] Remove K&R support. 2005-06-19 15:34:58 -07:00
hniksic
73ca5d585b [svn] Remove trailing comma from enums; older compilers don't support them. 2005-06-15 13:08:48 -07:00
hniksic
370bb1b982 [svn] Fix wording of --secure-protocol help text. 2005-05-06 08:50:50 -07:00
hniksic
47ccb39924 [svn] Explain the choice of only setting LC_MESSAGES more thoroughly. 2005-05-06 06:55:35 -07:00
hniksic
bb60858a3f [svn] Propagate option name to init.c code so error messages mention the
failed command-line option.
2005-05-05 11:45:05 -07:00
mtortonesi
4bbcdf2edc [svn] Map the --ftp-password, --http-password and --proxy-password options to the new
ftppassword, httppassword and proxypassword commands respectively.  Document
the --user and --password options in the help string.
2005-04-27 15:08:28 -07:00
mtortonesi
e815fe81a0 [svn] Add the --user, --password, --ftp-user and --ftp-password options.
Rename the --ftp-passwd, --http-passwd and --proxy-passwd options to
--ftp-password, --http-password and --proxy-password respectively.
Deprecate the login and passwd .wgetrc commands.
2005-04-27 14:30:22 -07:00
hniksic
dc0bac5c43 [svn] Advertise DER rather than ASN1. 2005-04-27 14:17:30 -07:00
hniksic
8f935cf74c [svn] Add --random-file option. Bail out in case of error during
SSL initialization.
2005-04-27 14:08:40 -07:00
hniksic
b8efb6d762 [svn] Allow separate specification of certificate type and private key type. 2005-04-27 10:15:10 -07:00
hniksic
56ba33f044 [svn] Fix help text. 2005-04-26 10:24:19 -07:00
hniksic
4edde35100 [svn] Renamed the SSL switches and commands. 2005-04-26 10:22:56 -07:00
hniksic
72549063a9 [svn] Revert to previous revision. 2005-04-26 06:45:13 -07:00
hniksic
428c1a2b3c [svn] Fix various cookie-related problems. 2005-04-26 06:34:33 -07:00
hniksic
e26d46befc [svn] Remove support for --use-proxy. 2005-04-25 14:19:41 -07:00
hniksic
3af8340e5b [svn] Doc fix. 2005-04-25 03:25:58 -07:00
hniksic
6251403378 [svn] Doc fix. 2005-04-25 03:18:21 -07:00
hniksic
e3acbd2aaf [svn] Restore old behavior of -Y. 2005-04-25 03:13:18 -07:00
hniksic
cf994330a3 [svn] Added reordering of addresses to try IPv4 first and the associated
--prefer-family switch.
2005-04-24 13:00:19 -07:00
hniksic
7baf7b4cd9 [svn] Print the EGD option in the help text at the end of the SSL option block. 2005-04-21 07:50:45 -07:00
hniksic
b9a31d78dd [svn] Support human-readable file size printing.
Don't use persistent connection over proxies.
2005-03-22 05:20:02 -08:00
hniksic
7c044778bc [svn] Improve built-in memory debugger. 2005-03-20 07:07:40 -08:00
hniksic
30aaf5a19a [svn] Use the passive FTP transfer mode by default. 2005-03-06 11:34:25 -08:00
hniksic
e2241936d0 [svn] Remove warnings under Borland C. 2005-03-05 18:11:10 -08:00
hniksic
ef22bf610a [svn] Large file support added. Published in <87psyr6jn7.fsf@xemacs.org>. 2005-02-23 14:21:04 -08:00
mtortonesi
787f482f03 [svn] Added the --ftp-passwd command line option. 2005-02-18 17:52:01 -08:00
mtortonesi
ca13ffd249 [svn] Added string.c module. Updated copyright information and added names of new contributors to the documentation. 2005-01-01 13:29:11 -08:00
hniksic
a0642cc62e [svn] Revamped MS console logic. Submitted by David Fritz. 2004-02-25 15:45:24 -08:00
hniksic
eef22ee91e [svn] Remove ws_help; it doesn't make sense to invoke the help browser for
--help.
2004-02-22 07:45:59 -08:00
hniksic
489452a23a [svn] Declare the pointers to literal strings as `const'. 2003-12-14 05:35:27 -08:00
hniksic
0d0fe50435 [svn] New option --protocol-directories. 2003-12-05 19:01:31 -08:00
hniksic
78706dc5ea [svn] * retr.c (fd_read_body): Report the amount of data *written* as
amount_read.  This is not entirely logical, but that's what the
callers expect, and it's not easy to change.

* ftp.c (ftp_loop_internal): Ditto.

* http.c (http_loop): Be smarter about assigning restval; if we're
in the nth pass of a download, simply use the information we have
about how much data has been retrieved as restval.

* ftp.c (getftp): Ditto for FTP "REST" command.

* http.c (gethttp): When the server doesn't respect range, skip
the first RESTVAL bytes of the read body.  Never truncate the
output file.

* retr.c (fd_read_body): Support skipping initial STARTPOS octets.
2003-11-30 15:39:04 -08:00