Commit Graph

212 Commits

Author SHA1 Message Date
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
hniksic bbcdd71484 [svn] Don't reference opt.ipv4_only and opt.ipv6_only if IPv6 is disabled. 2003-11-19 05:25:20 -08:00
hniksic 5fb7ffc9ad [svn] Fix alignment of FTP options output. 2003-11-17 05:13:33 -08:00
hniksic 133d69ff24 [svn] Don't auto-set opt.ipv4_only on systems without IPv6 sockets. 2003-11-17 04:59:54 -08:00
hniksic c45fc0e595 [svn] Fix minor problems with --help text. 2003-11-16 15:42:38 -08:00
hniksic 66cc6d43f6 [svn] Don't allow opt.ipv4_only and opt.ipv6_only to both be set. 2003-11-15 16:31:58 -08:00
hniksic 22b37f3ef1 [svn] Doc fix. 2003-11-14 18:05:21 -08:00
hniksic 5a883689bc [svn] Enable -4 and -6 switches only when IPv6 is enabled. 2003-11-14 07:18:47 -08:00
hniksic 244efb6e50 [svn] Added (currently no-op) -4 and -6. 2003-11-11 13:48:35 -08:00
hniksic 113ad490d0 [svn] Fix core dump with --mirror. 2003-11-08 17:07:53 -08:00
hniksic 4f19ac5494 [svn] Retire options -g, -G, -s, and -C. 2003-11-08 12:22:21 -08:00
hniksic 439d6a11fa [svn] Added --dont-remove-listing, removed -s. 2003-11-08 12:13:24 -08:00
hniksic 7409af5e07 [svn] Break up `--help' output to smaller chunks. 2003-11-06 15:56:26 -08:00
hniksic 19144a9f4c [svn] Don't declare log_* functions in main.c. 2003-11-06 14:48:17 -08:00
hniksic ad75dd2662 [svn] Applied Dennis Smit's --preserve-permissions patch. 2003-11-06 12:33:20 -08:00
hniksic f567bec34c [svn] Improved command line option processing, introduced boolean options. 2003-11-06 12:20:43 -08:00
hniksic bc764dbb7c [svn] Improve SSL code. Only initialize PRNG when needed. 2003-11-06 05:06:59 -08:00
hniksic 38b37ed104 [svn] New option --keep-session-cookies. 2003-11-04 16:11:33 -08:00
hniksic e2e9b753e4 [svn] Retired the `boolean' type. Renamed FREE_MAYBE to xfree_null and moved the
definition from wget.h to xmalloc.h.  Moved the DEFAULT_LOGFILE
define to log.h.  Moved the INFINITE_RECURSION define to recur.h.
2003-11-02 11:56:37 -08:00
hniksic 29e36b051b [svn] Fix -p so it doesn't imply FTP recursion. 2003-10-30 05:00:29 -08:00
hniksic 711bf72609 [svn] Remove VERY_LONG_TYPE; use LARGE_INT instead. Remove special code
for handling VERY_LONG_TYPE overflows.
Make opt.quota a LARGE_INT.
2003-10-11 06:57:11 -07:00
hniksic 33dceca784 [svn] Fix typo in help string. 2003-10-08 08:24:56 -07:00
hniksic 38ea4d5dad [svn] Renamed DEBUG to ENABLE_DEBUG. 2003-10-07 17:05:51 -07:00
hniksic 6359e38d96 [svn] Improve documentation of cookie code. 2003-10-06 17:47:08 -07:00
hniksic eec3ea392d [svn] Better document html-parse macros. 2003-10-02 15:20:44 -07:00
hniksic 111dea9622 [svn] Updated copyright and email. 2003-09-30 14:54:27 -07:00
hniksic 9d333d074b [svn] Include convert.h. 2003-09-21 16:32:42 -07:00
hniksic 51a8e9fa50 [svn] Enabled separation of different timeout values. 2003-09-20 21:41:55 -07:00
hniksic 37183b0208 [svn] Make errors in command-line options fatal. 2003-09-20 17:41:49 -07:00
hniksic 7c802e58d3 [svn] Introduce non-strict comment parsing. 2003-09-18 17:33:22 -07:00
hniksic aa24b822ca [svn] Improved --restrict-file-names to accept ",nocontrol". 2003-09-16 18:32:05 -07:00
hniksic 0a3697ad65 [svn] New mechanism for quoting file names.
Published in <m3smmzt4px.fsf@hniksic.iskon.hr>.
2003-09-14 15:04:13 -07:00
hniksic 10137bd186 [svn] New option --dns-cache. 2003-09-10 12:41:54 -07:00
hniksic 30ac043b0a [svn] New option --retry-connrefused from Ahmod Dancy. 2003-09-04 14:34:58 -07:00
hniksic b2be7522c7 [svn] Update the license to include the OpenSSL exception. 2002-05-17 19:16:36 -07:00
hniksic 91a190a770 [svn] Implement several SSL features.
- allow checking of server cert
- allow defining client cert type
- allow limit of ssl protocol
- check more return values
- added debug message on break
Published by Thomas Lussnig in <3CC09969.5000607@bewegungsmelder.de>.
2002-04-20 19:26:48 -07:00
hniksic 29a66192cf [svn] Cookie interface and implementation changes
from <sxsofge9yao.fsf@florida.arsdigita.de>
and <sxslmbim7dg.fsf@florida.arsdigita.de>.
2002-04-20 13:46:38 -07:00
hniksic 0eee8f8b25 [svn] Document `--post-data' and `--post-file'. 2002-04-13 22:31:11 -07:00
hniksic 5cb8a6f44d [svn] Add the POST method.
Published in <sxssn5yj4eb.fsf@florida.arsdigita.de>.
2002-04-13 21:22:47 -07:00
hniksic 8c3287dabf [svn] Remove the OPTIONS_DEFINED_HERE kludge.
Published in <sxs4rijqmhv.fsf@florida.arsdigita.de>.
2002-04-10 14:20:55 -07:00
hniksic 1365950c01 [svn] Logging system bugfixes and improvements.
Published in <sxsofl7vdyo.fsf@florida.arsdigita.de>.
2001-12-09 21:31:45 -08:00
hniksic e521ee38ff [svn] Remove stray debugging message.
Published in <sxszo4sxjpw.fsf@florida.arsdigita.de>.
2001-12-09 11:44:20 -08:00
hniksic 39b2248bde [svn] Fall back to dot progress when forced to background.
Published in <sxs1yi8n7lx.fsf@florida.arsdigita.de>.
2001-12-05 23:14:35 -08:00
hniksic fcf68c0e9a [svn] `--sslegdsock' -> `--egd-file'
Published in <sxsadwwnc7h.fsf@florida.arsdigita.de>.
2001-12-05 21:35:17 -08:00
hniksic 0620ada923 [svn] Fix OpenSSL PRNG seeding.
Published in <sxs7ks1noc4.fsf@florida.arsdigita.de>.
2001-12-05 17:13:31 -08:00
hniksic 07e6be3527 [svn] Don't document `-nh' in --help output.
Published in <sxs4rnau642.fsf@florida.arsdigita.de>.
2001-12-01 10:51:32 -08:00