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

104 Commits

Author SHA1 Message Date
hniksic
a15ce4fbe4 [svn] Doc typo fix. 2005-04-26 14:10:24 -07:00
hniksic
bdad650583 [svn] Renamed "closure" to "place". 2005-04-26 10:30:45 -07:00
hniksic
4edde35100 [svn] Renamed the SSL switches and commands. 2005-04-26 10:22:56 -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
2219d47ba3 [svn] Extract timers to a separate file. 2005-04-07 14:37:22 -07:00
hniksic
7c044778bc [svn] Improve built-in memory debugger. 2005-03-20 07:07:40 -08:00
hniksic
c36e9a5272 [svn] Concatenate strings using concat_strings. 2005-03-19 09:23:32 -08:00
hniksic
5fca43a4c0 [svn] Handle negative numbers and detect overflow in simple_atoi.
Handle negative numbers in simple_atof.
2005-03-19 09:16:32 -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
hniksic
f7193075df [svn] Under Windows, if $HOME is not defined, use the directory that
contains the Wget binary instead of hard-coded `C:\'.
(wgetrc_file_name): Under Windows, look for $HOME/.wgetrc then, if
not found, look for wget.ini in the directory of the Wget binary.

Submitted by David Fritz.
2004-02-17 07:37:31 -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
381457408a [svn] Read the data in skip_short_body directly. 2003-11-30 06:33:00 -08:00
hniksic
0ff9eb4727 [svn] Restructure generation of HTTP requests. Allow headers specified with
--header to override generated headers.
2003-11-29 10:40:01 -08:00
hniksic
7c063c3175 [svn] Don't #include netinet/Winsock stuff. 2003-11-27 15:39:53 -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
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
8e330fdba0 [svn] Add support for -4/-6. 2003-11-14 17:49:52 -08:00
hniksic
a0bae929ea [svn] Turn on opt.ipv4_only if we're compiling with IPv6, and AI_ADDRINFO is not
available, and AF_INET6 sockets can't be created.
2003-11-13 08:41:17 -08:00
hniksic
244efb6e50 [svn] Added (currently no-op) -4 and -6. 2003-11-11 13:48:35 -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
38b37ed104 [svn] New option --keep-session-cookies. 2003-11-04 16:11:33 -08:00
hniksic
c3e7a030de [svn] findcmd -> command_by_name 2003-11-04 15:19:39 -08:00
hniksic
095d89995e [svn] Abort on xfree(NULL). 2003-11-02 13:12:49 -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
5f0a2b3f08 [svn] Use new macros xnew, xnew0, xnew_array, and xnew0_array in various places. 2003-10-31 06:55:50 -08:00
hniksic
6369bc5944 [svn] Clarify how setoptval() works. 2003-10-30 03:09:18 -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
38ea4d5dad [svn] Renamed DEBUG to ENABLE_DEBUG. 2003-10-07 17:05:51 -07:00
hniksic
95c647eb44 [svn] Split off non-URL related stuff from url.c to convert.c. 2003-09-21 15:47:14 -07:00
hniksic
12ffc87ca7 [svn] Update copyright. 2003-09-21 14:39:00 -07:00
hniksic
e0303dd8ea [svn] Improved init.c error messages. 2003-09-21 12:17:45 -07:00
hniksic
51a8e9fa50 [svn] Enabled separation of different timeout values. 2003-09-20 21:41:55 -07:00
hniksic
b8e416c6c7 [svn] Adjust bandwidth limitation sleep for the error of previous sleeps.
Allow decimal numbers in bandwidth limit specification.
2003-09-20 21:05:12 -07:00
hniksic
37183b0208 [svn] Make errors in command-line options fatal. 2003-09-20 17:41:49 -07:00
hniksic
7870937036 [svn] Allow decimal values for --timeout, --wait, and --waitretry.
Message-ID: <m3llsjhx6t.fsf@hniksic.iskon.hr>
2003-09-20 16:12:18 -07:00
hniksic
a504d10ed5 [svn] Default dir_prefix to NULL rather than ".". 2003-09-19 08:28:36 -07:00
hniksic
7b5fb50cb1 [svn] Renamed wget.h XDIGIT-related macros to (hopefully) clearer names. 2003-09-19 07:08:37 -07:00
hniksic
7c802e58d3 [svn] Introduce non-strict comment parsing. 2003-09-18 17:33:22 -07:00
hniksic
fdf7fd4d76 [svn] Removed unused macro ISODIGIT. 2003-09-16 19:00:12 -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
bda244f564 [svn] Allow --foo=yes/no in addition to --foo=on/off. 2003-09-10 13:21:21 -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