1
2005-10-13 Daniel Stenberg <daniel@haxx.se>
3
* http-ntlm.c (ntlm_output): Fixed buffer overflow vulnerability.
5
2005-08-26 Jeremy Shapiro <jnshapiro@gmail.com>
7
* openssl.c (ssl_init): Set SSL_MODE_AUTO_RETRY.
9
2005-08-11 Hrvoje Niksic <hniksic@xemacs.org>
11
* cmpt.c (strtoll): Define it if missing on the system and if Wget
14
* mswindows.c (str_to_int64): Move to cmpt.c and rename to strtoll.
16
2005-08-09 Hrvoje Niksic <hniksic@xemacs.org>
18
* http.c (gethttp): Don't read more than the amount of data
19
specified by the content-length header.
21
2005-08-09 Vasil Dimov <vd@datamax.bg>
23
* ftp.c (getftp): Don't free RESPLINE if ftp_response returns a
24
status other than FTPOK.
26
2005-08-04 Giuseppe Bonacci <g.bonacci@libero.it>
28
* ftp-ls.c (ftp_parse_unix_ls): Remember the position of the
29
previous token instead of backtracking back to it.
31
2005-07-06 Hrvoje Niksic <hniksic@xemacs.org>
33
* http.c (gethttp): When freeing MESSAGE, take into account that
36
2005-07-05 Hrvoje Niksic <hniksic@xemacs.org>
38
* cmpt.c (timegm): Handle years after 2099.
40
2005-07-05 Hrvoje Niksic <hniksic@xemacs.org>
42
* cmpt.c (timegm): New function, used where timegm is unavailable.
44
2005-07-05 Hrvoje Niksic <hniksic@xemacs.org>
46
* http.c (gethttp): Don't print the request write error message
48
(http_atotm): Use timegm instead of mktime_from_utc.
50
2005-07-04 Hrvoje Niksic <hniksic@xemacs.org>
52
* xmalloc.c (debugging_free): Prefix hex pointer value with "0x"
55
2005-07-03 Hrvoje Niksic <hniksic@xemacs.org>
57
* mswindows.h: Also wrap accept() and listen().
59
2005-07-02 Hrvoje Niksic <hniksic@xemacs.org>
61
* host.c: Don't include "connect.h" now that we no longer have
64
* host.c: Remove extraneous include of netdb.h.
66
2005-07-02 Hrvoje Niksic <hniksic@xemacs.org>
68
* http.c (gethttp): Skip error message body in the keep-alive
71
2005-07-01 Hrvoje Niksic <hniksic@xemacs.org>
73
* url.c (url_parse): Don't crash on []-delimited IPv6 addresses
76
2005-07-01 Hrvoje Niksic <hniksic@xemacs.org>
78
* main.c (print_help): Don't refer to the non-existent -nr in
79
description of --mirror.
81
2005-06-28 Hrvoje Niksic <hniksic@xemacs.org>
83
* init.c (parse_line): Check for alphanumerics.
85
2005-06-28 Hrvoje Niksic <hniksic@xemacs.org>
87
* ftp.c (getftp): Delete trailing newlines from LIST output so
88
lines don't come out with trailing \015\012 with -S.
90
2005-06-27 Hrvoje Niksic <hniksic@xemacs.org>
92
* cookies.c: Make cookies_now static.
94
2005-06-27 Hrvoje Niksic <hniksic@xemacs.org>
96
* utils.c (human_readable): Remove intermediary cast to long; MSVC
97
has problems casting *unsigned* __int64 to double.
99
2005-06-27 Hrvoje Niksic <hniksic@xemacs.org>
101
(get_grouping_data): Restore LC_NUMERIC after querying thousand
104
2005-06-27 Hrvoje Niksic <hniksic@xemacs.org>
106
* utils.c (get_grouping_data): Would omit separators in C locale.
108
2005-06-27 Hrvoje Niksic <hniksic@xemacs.org>
110
* http.c (gethttp): Improve "POST data file missing" error
113
2005-06-27 Hrvoje Niksic <hniksic@xemacs.org>
115
* utils.c (add_thousand_seps): Add thousand separators using the
116
character and grouping rules appropriate for the locale, with the
117
exception that "," and 3-digit groups are used in the locales that
118
don't specify thousand separators. (For compatibility with the
119
output of Wget 1.10.)
120
Based on with_thousand_seps from the trunk.
122
2005-06-27 Hrvoje Niksic <hniksic@xemacs.org>
124
* Makefile.in: Don't remove .libs; adapt to the use of
125
AC_LIB_HAVE_LINKFLAGS.
127
2005-06-26 Gisle Vanem <giva@bgnett.no>
129
* mswindows.h: Define gai_strerror under MinGW.
131
2005-06-25 Hrvoje Niksic <hniksic@xemacs.org>
133
* cookies.c (parse_set_cookies): Cast pointer subtraction to int
134
before using it with %d; AIX compiler warns on this.
135
Reported by Jens Schleusener.
137
2005-06-26 Hrvoje Niksic <hniksic@xemacs.org>
139
* progress.c (create_image): Don't unnecessarily call
140
with_thousand_seps twice.
142
2005-06-25 Hrvoje Niksic <hniksic@xemacs.org>
144
* utils.c (with_thousand_seps_sum): Decrease buffer size so it
145
cannot overrun add_thousand_seps's buffer.
147
2005-06-25 Hrvoje Niksic <hniksic@xemacs.org>
149
* utils.c (SPRINTF_WGINT): The correct format is %I64d, not just
152
2005-06-25 Hrvoje Niksic <hniksic@xemacs.org>
154
* http.c (http_loop): Don't warn about wildcards in HTTP URLs if
155
globbing isn't requested in the first place.
157
* retr.c (retrieve_url): Temporarily turn off globbing when
158
processing HTTP->FTP redirects.
160
2005-06-25 Hrvoje Niksic <hniksic@xemacs.org>
162
* utils.c (with_thousand_seps_sum): Now defined only if
163
SUM_SIZE_INT is double.
165
* wget.h (SUM_SIZE_INT): Instead of bothering with long, long
166
long, __int64, and friends, simply either use wgint or double, end
167
of story. Since we know how to print either, we no longer need
170
* sysdeps.h (LARGE_INT): Renamed to SUM_SIZE_INT to better reflect
171
its intent, and moved to wget.h.
173
2005-06-24 Hrvoje Niksic <hniksic@xemacs.org>
175
* http.c (gethttp): Don't prepend / here.
177
* cookies.c (cookie_handle_set_cookie): Prepend / to PATH.
178
(cookie_header): Ditto.
180
2005-06-23 Hrvoje Niksic <hniksic@xemacs.org>
182
* utils.c (read_file): Ditto.
184
* main.c (main): Use struct_fstat.
186
* mswindows.h (struct_fstat): Define a struct_fstat to deal with
187
the fact that Borland 5.5 has 64-bit stat, but not 64-bit fstat!
189
2005-06-22 Hrvoje Niksic <hniksic@xemacs.org>
191
* http.c (gethttp): Only handle --set-cookies (and assert that
192
cookie jar exists) if opt.cookies is true. Failure to do so
193
triggered the assert when --no-cookies was used and the server
194
sent a Set-Cookie header. Ouch!
196
2005-06-22 Hrvoje Niksic <hniksic@xemacs.org>
198
* Makefile.in: Remove the manually maintained dependency list;
199
make all object files depend on every header.
201
2005-06-19 Hrvoje Niksic <hniksic@xemacs.org>
203
* init.c (cmd_lockable_boolean): Don't recognize literal "2" and
204
"-1" values; unlike 0 and 1, those should never be exposed to the
205
user. Update the error message to be more self-consistent, as
206
proposed by Benno Schulenberg.
208
2005-06-18 Hrvoje Niksic <hniksic@xemacs.org>
210
* http.c (gethttp): Don't free "head" before using it to save
213
2005-06-18 Hrvoje Niksic <hniksic@xemacs.org>
215
* http.c (gethttp): When -E is in use, check for file existence
216
after appending ".html" to the name and modify the file name if
219
2005-06-17 Hrvoje Niksic <hniksic@xemacs.org>
221
* connect.c (socket_has_inet6): Removed.
223
* host.c (lookup_host): Don't use the AI_ADDRCONFIG getaddrinfo
226
2005-06-16 Hrvoje Niksic <hniksic@xemacs.org>
228
* init.c (cmd_lockable_boolean): Improve the error message so it
229
lists the more useful values first.
231
2005-06-15 Hrvoje Niksic <hniksic@xemacs.org>
233
* http.c (gethttp): Also report the system error when the POST
234
data file is missing.
236
2005-06-15 Benno Schulenberg <benno@nietvergeten.nl>
238
* ftp.c, http.c, connect.c, cookies.c, html-url.c, init.c, res.c:
239
Gettext-ize messages that were previously missed.
241
2005-06-15 Hrvoje Niksic <hniksic@xemacs.org>
243
* host.h (ip_address): Remove the trailing comma from the type
244
enum in the no-IPv6 case.
246
* main.c (struct cmdline_option): Remove the trailing comma from
249
Reported by Jens Schleusener.
1
251
2005-05-30 Hrvoje Niksic <hniksic@xemacs.org>
3
253
* url.c (strpbrk_or_eos): Check for a recent GCC version before