| 1 |
2024-11-10 Darshit Shah <[email protected]> |
| 2 |
|
| 3 |
version 1.25.0 |
| 4 |
* NEWS: Record release date. |
| 5 |
|
| 6 |
2024-11-10 Tim Rühsen <[email protected]> |
| 7 |
|
| 8 |
* NEWS: Update for release 1.25.0 |
| 9 |
|
| 10 |
2024-11-10 Tim Rühsen <[email protected]> |
| 11 |
|
| 12 |
Fix CVE-2024-10524 (drop support for shorthand URLs) |
| 13 |
* doc/wget.texi: Add documentation for removed support for shorthand URLs. |
| 14 |
* src/html-url.c (src/html-url.c): Call maybe_prepend_scheme. |
| 15 |
* src/main.c (main): Likewise. |
| 16 |
* src/retr.c (getproxy): Likewise. |
| 17 |
* src/url.c: Rename definition of rewrite_shorthand_url to maybe_prepend_scheme, |
| 18 |
add new function is_valid_port. |
| 19 |
* src/url.h: Rename declaration of rewrite_shorthand_url to maybe_prepend_scheme. |
| 20 |
|
| 21 |
Reported-by: Goni Golan <[email protected]> |
| 22 |
|
| 23 |
2024-11-10 Darshit Shah <[email protected]> |
| 24 |
|
| 25 |
* contrib/make-release: Fix missing variables |
| 26 |
|
| 27 |
* doc/wget.texi: Document the new non-blocking read feature |
| 28 |
|
| 29 |
Revert "* configure.ac: Remove searching for makeinfo (breaks doc/ build)" |
| 30 |
This reverts commit 04053a7c1e31ec848d503282d510c99545b6ae16. |
| 31 |
|
| 32 |
2024-11-10 Darshit Shah <[email protected]> |
| 33 |
|
| 34 |
Fix a static analysis false positive |
| 35 |
Clang's static analyzer believes that it is possible for a realloc |
| 36 |
request to return NULL. However, the `xrealloc` implementation used |
| 37 |
in Wget will trigger a program crash if enough memory couldn't be |
| 38 |
found. I'm not sure why the analyzer isn't able to see that. But let's |
| 39 |
pacify it by asserting here that xrealloc will always return a non-null |
| 40 |
|
| 41 |
* src/wget.h (DO_REALLOC): Assert that xrealloc will always return |
| 42 |
non-null |
| 43 |
|
| 44 |
2024-11-10 Darshit Shah <[email protected]> |
| 45 |
|
| 46 |
Fix returning uninitialized variable |
| 47 |
* src/retr.c (retrieve_from_file): Remove a dead store to status |
| 48 |
(retrieve_from_url_list): Initialize status to a default of RETROK |
| 49 |
|
| 50 |
2024-11-10 Tim Rühsen <[email protected]> |
| 51 |
|
| 52 |
* fuzz/wget_options_fuzzer.c: Work around issue "multiple definition of getaddrinfo" |
| 53 |
|
| 54 |
2024-11-10 Darshit Shah <[email protected]> |
| 55 |
|
| 56 |
Fix build error on MingW |
| 57 |
Gnulib does not currently implement the `F_GETFL` and `F_SETFL` flags on |
| 58 |
mingw. As a result building Wget failed on Windows. We don't currently |
| 59 |
have a good solution to this problem and Windows users of Wget will not |
| 60 |
get the new functionality of non-blocking file I/O reads. The current |
| 61 |
solution is simply to provide a Windows specific no-op stub |
| 62 |
|
| 63 |
* src/mswindows.c (set_fd_nonblocking): Provide an empty stub function |
| 64 |
for Windows systems |
| 65 |
* src/mswindows.h (set_fd_nonblocking): Export the function so it is |
| 66 |
available in util.c where it is needed |
| 67 |
* src/util.c (set_fd_nonblocking): New function to set a fd as |
| 68 |
O_NONBLOCK on non-Windows, non-MSDOS systems |
| 69 |
(wget_read_from_file): Split the O_NONBLOCK code into |
| 70 |
set_fd_nonblocking and make all file I/O non-blocking, not just stdin |
| 71 |
|
| 72 |
2024-11-10 Sam James <[email protected]> (tiny change) |
| 73 |
|
| 74 |
init: fix -Warray-bounds in setval_internal_tilde |
| 75 |
>= GCC 12 reports an instance of -Warray-bounds in setval_internal_tilde |
| 76 |
with the default -DNDEBUG: |
| 77 |
``` |
| 78 |
In function ‘setval_internal_tilde’, |
| 79 |
inlined from ‘run_wgetrc’ at init.c:710:16: |
| 80 |
init.c:940:17: error: array subscript [0, 167] is outside array bounds of ‘const struct <anonymous>[168]’ [-Werror=array-bounds=] |
| 81 |
940 | if (((commands[comind].action == cmd_file) || |
| 82 |
| ~~~~~~~~^~~~~~~~ |
| 83 |
init.c: In function ‘run_wgetrc’: |
| 84 |
init.c:135:3: note: while referencing ‘commands’ |
| 85 |
135 | } commands[] = { |
| 86 |
| ^~~~~~~~ |
| 87 |
``` |
| 88 |
|
| 89 |
setval_internal_tilde calls setval_internal and stores the result in ret; |
| 90 |
setval_internal *does* check for if comind is out-of-bounds, but we only |
| 91 |
check that *after* dereferencing commands[comind]. Swap the order in the |
| 92 |
if() to fix that so we only dereference if we know it's safe. |
| 93 |
|
| 94 |
ChangeLog: |
| 95 |
|
| 96 |
* src/init.c (setval_internal_tilde): Check 'ret' earlier. |
| 97 |
|
| 98 |
2024-11-10 Darshit Shah <[email protected]> |
| 99 |
|
| 100 |
src/utils.h: Include wget.h before stdlib.h |
| 101 |
* src/utils.h: wget.h includes config.h which should be included before |
| 102 |
any other header files. So swap the order of includes |
| 103 |
|
| 104 |
2024-11-10 Tim Rühsen <[email protected]> |
| 105 |
|
| 106 |
* README: Replace FSF address with URL |
| 107 |
|
| 108 |
* configure.ac: Remove searching for makeinfo (breaks doc/ build) |
| 109 |
|
| 110 |
* bootstrap: Update from gnulib |
| 111 |
|
| 112 |
* gnulib: Update |
| 113 |
|
| 114 |
* src/http.c (http_loop): Remove unused code |
| 115 |
|
| 116 |
* configure.ac: Drop -Wc99-c11-compat and -Wuseless-cast for manywarnings |
| 117 |
|
| 118 |
2024-11-01 Tim Rühsen <[email protected]> |
| 119 |
|
| 120 |
* Makefile.am: Fix check-coverage from tarball |
| 121 |
|
| 122 |
* Makefile.am: Fix creating coverage reports |
| 123 |
|
| 124 |
* .gitlab-ci.yml: Remove tags to fix CI |
| 125 |
|
| 126 |
2024-10-31 Tim Rühsen <[email protected]> |
| 127 |
|
| 128 |
* src/utils.c (compile_posix_regex): Remove redundant casts |
| 129 |
|
| 130 |
2024-10-27 Tim Rühsen <[email protected]> |
| 131 |
|
| 132 |
* src/utils.h (strlcpy): Use restrict keywords |
| 133 |
|
| 134 |
* src/hash.c: Include config.h in STANDALONE mode |
| 135 |
|
| 136 |
2024-06-09 Tim Rühsen <[email protected]> |
| 137 |
|
| 138 |
* src/http.c (http_loop): Fix memory leak |
| 139 |
|
| 140 |
* src/retr.c (retrieve_from_url_list): Fix memory leak |
| 141 |
|
| 142 |
2024-06-02 Tim Rühsen <[email protected]> |
| 143 |
|
| 144 |
* src/retr.c (retrieve_from_file): Fix memleak |
| 145 |
|
| 146 |
* src/warc.c (warc_close): Fix memleak |
| 147 |
|
| 148 |
* src/warc.c (warc_start_new_file): Simplify code |
| 149 |
|
| 150 |
* src/httpc.c (http_loop): Fix memleak |
| 151 |
|
| 152 |
* src/init.c (cleanup): Do not close stdout on exit |
| 153 |
|
| 154 |
* src/iri.c (do_conversion): Initialize memory from realloc() |
| 155 |
|
| 156 |
* src/warc.c (warc_write_end_record): Check warc_write_ok (fix use-after-free)" |
| 157 |
|
| 158 |
* src/wget.h (DO_REALLOC): Initialize realloc'ed memory to help valgrind |
| 159 |
|
| 160 |
* src/utils.c (run_with_timeout): Set SIGALRM handler before setjmp() (reported by valgrind) |
| 161 |
|
| 162 |
* fuzz/wget_options_fuzzer.c: Fix indentation |
| 163 |
|
| 164 |
2024-06-02 Tim Rühsen <[email protected]> |
| 165 |
|
| 166 |
Properly re-implement userinfo parsing (rfc2396) |
| 167 |
* src/url.c (url_skip_credentials): Properly re-implement userinfo parsing (rfc2396) |
| 168 |
|
| 169 |
The reason why the implementation is based on RFC 2396, an outdated standard, |
| 170 |
is that the whole file is based on that RFC, and mixing standard here might be |
| 171 |
dangerous. |
| 172 |
|
| 173 |
2024-05-24 Tim Rühsen <[email protected]> |
| 174 |
|
| 175 |
* fuzz/Makefile.am (oss-fuzz): Add -lgmp |
| 176 |
|
| 177 |
2024-05-12 Darshit Shah <[email protected]> |
| 178 |
|
| 179 |
Support continious reading from stdin pipes |
| 180 |
Rather than reading from stdin only once, leave the pipe open until the |
| 181 |
other end closes it and keep reading from the file after each set of |
| 182 |
URLs is read |
| 183 |
|
| 184 |
* src/html-url.h(get_urls_file): Update prototype to add additional |
| 185 |
param |
| 186 |
* src/html-url.c(get_urls_file): Pass through read_again to |
| 187 |
wget_read_from_file. |
| 188 |
* src/retr.c(retrieve_from_file): Split the function into two. Introduce |
| 189 |
`retrieve_from_url_list` that actually performs the retrieval. |
| 190 |
Also, if `url_list` returns that the fd has been left open, then |
| 191 |
continue reading from it until the fd is closed. |
| 192 |
(retrieve_from_url_list): New function that does the retrieval from |
| 193 |
a list of URLs that was read from a file. |
| 194 |
* src/utils.c(wget_read_from_file): Rename old function `wget_read_file` |
| 195 |
to this. |
| 196 |
Accept an additional output parameter that states whether the fd was |
| 197 |
left open and if we should continue reading from it after the current |
| 198 |
set of URLs have been processed |
| 199 |
(wget_read_file): Write it as a new wrapper function around |
| 200 |
`wget_read_from_file` to maintain API comptability across other users |
| 201 |
|
| 202 |
2024-04-27 Tim Rühsen <[email protected]> |
| 203 |
|
| 204 |
* gnulib: Update |
| 205 |
|
| 206 |
2024-04-20 Tim Rühsen <[email protected]> |
| 207 |
|
| 208 |
Update gnulib link libraries |
| 209 |
* fuzz/Makefile.am: Update gnulib link libraries. |
| 210 |
* src/Makefile.am: Likewise. |
| 211 |
* tests/Makefile.am: Likewise. |
| 212 |
|
| 213 |
2024-04-16 Sam James <[email protected]> (tiny change) |
| 214 |
|
| 215 |
Fix libproxy build with --disable-debug |
| 216 |
The definition of debug_logprintf in src/log.c is guarded by ENABLE_DEBUG |
| 217 |
(although its prototype is unconditionally available in src/log.h). |
| 218 |
|
| 219 |
The uses of debug_logprintf in src/retr.c aren't guarded by ENABLE_DEBUG. |
| 220 |
|
| 221 |
Use the DEBUGP macro which is designed for this purpose. |
| 222 |
|
| 223 |
* src/retr.c (getproxy): Use DEBUGP macro. |
| 224 |
|
| 225 |
Fixes: https://gitlab.com/gnuwget/wget/-/issues/19 |
| 226 |
|
| 227 |
2024-03-16 Darshit Shah <[email protected]> |
| 228 |
|
| 229 |
Add a new testcase for pathconf truncation |
| 230 |
* testenv/Test-recursive-pathmax.py: Add a new testcase. This test tries |
| 231 |
to check that Wget allows downloading long filenames as far as allowed |
| 232 |
by the OS and filesystem. |
| 233 |
|
| 234 |
2024-03-11 Darshit Shah <[email protected]> |
| 235 |
|
| 236 |
* contrib/make-release: Automatically build and update online documentation |
| 237 |
|
| 238 |
2024-03-10 Darshit Shah <[email protected]> |
| 239 |
|
| 240 |
* contrib/make-release: More minor fixes |
| 241 |
|
| 242 |
maint: post-release administrivia |
| 243 |
* NEWS: Add header line for next release. |
| 244 |
* .prev-version: Record previous version. |
| 245 |
* cfg.mk (old_NEWS_hash): Auto-update. |
| 246 |
|
| 247 |
version 1.24.5 |
| 248 |
* NEWS: Record release date. |
| 249 |
|
| 250 |
* contrib/make-release: Some more release management |
| 251 |
|
| 252 |
* NEWS: Update the noteworthy NEWS |
| 253 |
|
| 254 |
* bootstrap.conf: Organize alphabetically |
| 255 |
|
| 256 |
* gnulib: Update to the latest version |
| 257 |
|
| 258 |
2024-03-03 Tim Rühsen <[email protected]> |
| 259 |
|
| 260 |
Remove obsolete Travis CI files |
| 261 |
* .travis.yml: Remove. |
| 262 |
* contrib/travis-ci: Remove. |
| 263 |
|
| 264 |
2024-02-24 Tim Rühsen <[email protected]> |
| 265 |
|
| 266 |
Fix HSTS matching |
| 267 |
* src/hsts.c (hsts_find_entry): Check for includeSubdomains, |
| 268 |
(test_hsts_new_entry): Fix test, |
| 269 |
(test_hsts_url_rewrite_superdomain): Improve test. |
| 270 |
|
| 271 |
Reported-by: Hanno Böck <[email protected] |
| 272 |
|
| 273 |
2024-02-19 Darshit Shah <[email protected]> |
| 274 |
|
| 275 |
Delete some redundant tests |
| 276 |
* tests/Makefile.am: Remove some tests that are redundant with the |
| 277 |
Python testenv |
| 278 |
* tests/Test-auth-basic.px: Delete file |
| 279 |
* tests/Test-auth-no-challenge.px: Same |
| 280 |
* tests/Test-auth-no-challenge-url.px: Same |
| 281 |
* tests/Test-auth-retcode.px: Same |
| 282 |
* tests/Test-auth-with-content-disposition.px: Same |
| 283 |
* tests/Test-k.px: Same |
| 284 |
|
| 285 |
* Makefile.am: Ignore some lcov errors, allowing the tests to run through |
| 286 |
|
| 287 |
* README: Add a link to the COPYING file to meet the GNU Coding Standards |
| 288 |
|
| 289 |
* bootstrap: Update script from gnulib |
| 290 |
|
| 291 |
* gnulib: Update gnulib |
| 292 |
|
| 293 |
* Update copyright year to 2024 |
| 294 |
|
| 295 |
2024-02-19 Darshit Shah <[email protected]> |
| 296 |
|
| 297 |
Add tests for --convert-links option |
| 298 |
* testenv/Makefile.am: Add two new tests, Test-k.py and Test-https-k.py |
| 299 |
* testenv/Test-k.py: New file. Add a test based on tests/Test-k.px |
| 300 |
* testenv/Test-https-k.py: New file. Add a new test to ensure that the |
| 301 |
protocol of the original host URL is retained when creatign absolute |
| 302 |
links. |
| 303 |
|
| 304 |
This test is added as a result of an issue reported on StackExchange: |
| 305 |
https://superuser.com/questions/1348940/making-wgets-convert-links-respect-http-vs-https |
| 306 |
|
| 307 |
2024-02-19 Darshit Shah <[email protected]> |
| 308 |
|
| 309 |
* testenv/conf/expected_files.py: Aesthetic changes only. Format file with black |
| 310 |
|
| 311 |
* testenv/conf/expected_files.py: Nicer diff printing on error |
| 312 |
|
| 313 |
2024-02-18 Darshit Shah <[email protected]> |
| 314 |
|
| 315 |
* SECURITY.md: Add a file stating how to report security issues |
| 316 |
|
| 317 |
2024-01-27 Tim Rühsen <[email protected]> |
| 318 |
|
| 319 |
Parse 'srcset' HTML attr for 'source' HTML tag. |
| 320 |
* src/html-url.c (struct known_tag): Use tag_handle_img() for 'source' tag. |
| 321 |
* testenv/Test-recursive-include.py: Extend test. |
| 322 |
|
| 323 |
2023-11-26 Tim Rühsen <[email protected]> |
| 324 |
|
| 325 |
* src/netrc.c (parse_netrc_fp): Add fetchmail compatibility (user and passwd) |
| 326 |
Reported-by: Gerald Pfeifer <[email protected]> |
| 327 |
|
| 328 |
2023-10-22 Tim Rühsen <[email protected]> |
| 329 |
|
| 330 |
Fix confusing 'Cannot write to ... (Success)' message |
| 331 |
* src/http.c (gethttp): Store/restore errno value. |
| 332 |
|
| 333 |
Reported-by: Christian Rosentreter, Andries E. Brouwer |
| 334 |
|
| 335 |
2023-10-20 Jan-Michael Brummer <[email protected]> (tiny change) |
| 336 |
|
| 337 |
Add libproxy support |
| 338 |
Add support for libproxy, which is capable to extract desktop |
| 339 |
environment proxy configurations from dozens of systems and platforms. |
| 340 |
This also enables wget to handle pac/wpad proxy server. |
| 341 |
|
| 342 |
* configure.ac: Add check for libbproxy. |
| 343 |
* src/retr.c (getproxy): Retrieve proxy via libproxy. |
| 344 |
|
| 345 |
2023-08-03 Tim Rühsen <[email protected]> |
| 346 |
|
| 347 |
* src/retr.c: Fix sc_prohibit_empty_lines_at_EOF |
| 348 |
|
| 349 |
2023-08-03 Tim Rühsen <[email protected]> |
| 350 |
|
| 351 |
Fix crash when printing download rate |
| 352 |
If the download rate is TB/s, a read buffer overflow happended |
| 353 |
that either caused a crash or printed whatever string was pointed to. |
| 354 |
|
| 355 |
* src/retr.c (retr_rate): Add missing array entrie for TB/s and Tb/s, |
| 356 |
(test_retr_rate): New test function. |
| 357 |
* tests/unit-tests.c (all_tests): Run test 'test_retr_rate'. |
| 358 |
* tests/unit-tests.h: Add prototype for test_retr_rate. |
| 359 |
|
| 360 |
Reported-by: Wiebe Cazemier <[email protected]> |
| 361 |
|
| 362 |
2023-08-03 Christian Weisgerber <[email protected]> (tiny change) |
| 363 |
|
| 364 |
* tests/Makefile.am: Remove './' from for portability (OpenBSD) |
| 365 |
|
| 366 |
2023-07-16 Yaakov Selkowitz <[email protected]> (tiny change) |
| 367 |
|
| 368 |
testenv: fix for Python 3.12 |
| 369 |
* testenv/server/http/http_server.py (HTTPSServer): Update for |
| 370 |
ssl.SSLContext APIs instead of deprecated ssl.wrap_socket(). |
| 371 |
|
| 372 |
ssl.wrap_socket() was deprecated in 3.7 and removed in 3.12. |
| 373 |
This should be compatible back to 3.6 (RHEL 8 and newer). |
| 374 |
|
| 375 |
2023-07-01 Tim Rühsen <[email protected]> |
| 376 |
|
| 377 |
* src/url.c (test_uri_merge): Fix check |
| 378 |
|
| 379 |
Add new unit test test_uri_merge() |
| 380 |
* src/url.c: New test function test_uri_merge(). |
| 381 |
* tests/unit-tests.c (tests/unit-tests.c): Call test_uri_merge(). |
| 382 |
* tests/unit-tests.h (tests/unit-tests.h): Declare test_uri_merge(). |
| 383 |
|
| 384 |
2023-05-16 Darshit Shah <[email protected]> |
| 385 |
|
| 386 |
Ensure that spaces are quoted when converting links |
| 387 |
* src/convert.c(convert_links): Print the actual quoted newname when printing DEBUG output |
| 388 |
(local_quote_string): Also quote the ' ' charcter as %20. While it is okay |
| 389 |
to leave the characted as-is, quoting it covers more edge cases. |
| 390 |
And it should resolve a >10 year old bug with CSS url() parameters not being quoted |
| 391 |
|
| 392 |
Bug-Id: 64082 |
| 393 |
Reported-By: Ethan Gibbs <[email protected]> |
| 394 |
Discussed-At: https://stackoverflow.com/q/13300017 |
| 395 |
|
| 396 |
2023-05-16 Darshit Shah <[email protected]> |
| 397 |
|
| 398 |
Add new test to ensure CSS url() encoding |
| 399 |
url() parameters in CSS cannot have spaces in them. Ensure that Wget does not do that |
| 400 |
when using --convert-links |
| 401 |
|
| 402 |
* testenv/test_css_url.py: New file |
| 403 |
* testenv/Makefile: Add test_css_url.py to tests |
| 404 |
|
| 405 |
Bug-Id: 64082 |
| 406 |
|
| 407 |
2023-05-14 Darshit Shah <[email protected]> |
| 408 |
|
| 409 |
Automatically verify if commit author has assigned copyrights in the past |
| 410 |
* contrib/commit-check: Add new script |
| 411 |
* .gitlab-ci.yml: Add new test in the CI pipeline |
| 412 |
|
| 413 |
2023-05-14 Jan Palus <[email protected]> (tiny change) |
| 414 |
|
| 415 |
* testenv/conf/expected_files.py: Ignore common.conf |
| 416 |
|
| 417 |
2023-05-14 Darshit Shah <[email protected]> |
| 418 |
|
| 419 |
* AUTHORS: Rework file to prepare for autmated testing |
| 420 |
|
| 421 |
2023-05-11 Darshit Shah <[email protected]> |
| 422 |
|
| 423 |
maint: post-release administrivia |
| 424 |
* NEWS: Add header line for next release. |
| 425 |
* .prev-version: Record previous version. |
| 426 |
* cfg.mk (old_NEWS_hash): Auto-update. |
| 427 |
|
| 428 |
contrib/make-release: Update regexes to match the NEWS file |
| 429 |
|
| 430 |
2023-05-11 Darshit Shah <[email protected]> |
| 431 |
|
| 432 |
cfg.mk: Replace uses of filesystem with file system |
| 433 |
|
| 434 |
Update NEWS |
| 435 |
|
| 436 |
2023-05-10 Darshit Shah <[email protected]> |
| 437 |
|
| 438 |
bootstrap.sh: Update script from gnulib |
| 439 |
|
| 440 |
gnulib: Pull forward |
| 441 |
|
| 442 |
2023-04-09 jinfuchiang <[email protected]> (tiny change) |
| 443 |
|
| 444 |
Update deprecated option '--html-extension' to '--adjust-extension' |
| 445 |
* doc/wget.texi: Update option '--html-extension' to '--adjust-extension'. |
| 446 |
Renamed in Wget 1.12 to better reflect its behavior. |
| 447 |
|
| 448 |
2023-03-19 Tim Rühsen <[email protected]> |
| 449 |
|
| 450 |
Don't write core dump if --secure-option value isn't suppported. |
| 451 |
|
| 452 |
2023-02-18 Tim Rühsen <[email protected]> |
| 453 |
|
| 454 |
* src/retr.c (fd_read_body): Increase bufsize from 8k to 64k |
| 455 |
|
| 456 |
* src/retr.c (fd_read_body): Simplify gzip initialization |
| 457 |
|
| 458 |
* src/retr.c (fd_read_body): Use MAX instead of max |
| 459 |
|
| 460 |
Simplify url_error function. |
| 461 |
* src/url.c (url_error): simplify, remove url arg, return const char *. |
| 462 |
* src/url.h (url_error): remove url arg, return const char *. |
| 463 |
* src/html-url.c (get_urls_file): Simplify call to url_error(), |
| 464 |
remove call to free(). |
| 465 |
* src/http.c (metalink_from_http): Likewise. |
| 466 |
* src/main.c (main): Likewise. |
| 467 |
* src/metalink.c (retrieve_from_metalink, fetch_metalink_file): Likewise. |
| 468 |
* src/recur.c (retrieve_tree): Likewise. |
| 469 |
* src/res.c (res_retrieve_file): Likewise. |
| 470 |
* src/retr.c (retrieve_url, retrieve_from_file): Likewise. |
| 471 |
|
| 472 |
* src/url.c: Refactored url_error() |
| 473 |
|
| 474 |
* tests/valgrind-suppressions: Add rule for 'strcmp-sse2.S in libdl.so' |
| 475 |
|
| 476 |
2023-02-17 Tim Rühsen <[email protected]> |
| 477 |
|
| 478 |
* configure.ac: Remove CC flags -Wc90-c99-compat and -Wlong-long |
| 479 |
|
| 480 |
* fuzz/*: Use grep >/dev/null instead of grep -q |
| 481 |
|
| 482 |
* src/retr.c: Don't include hash.h |
| 483 |
|
| 484 |
Update copyright years |
| 485 |
|
| 486 |
* gnulib: Update |
| 487 |
|
| 488 |
2022-12-11 Tim Rühsen <[email protected]> |
| 489 |
|
| 490 |
* configure.ac: Disable nettle if NTLM is explicitly disabled |
| 491 |
|
| 492 |
2022-12-10 Tim Rühsen <[email protected]> |
| 493 |
|
| 494 |
* configure.ac: Allow disabling NTLM if nettle present (Savannah #63431) |
| 495 |
|
| 496 |
2022-09-24 Tim Rühsen <[email protected]> |
| 497 |
|
| 498 |
* fuzz/Makefile.am: Add -lz to fuzzer libs |
| 499 |
|
| 500 |
2022-03-20 Tim Rühsen <[email protected]> |
| 501 |
|
| 502 |
* src/main.c (print_help): Add --retry-on-host-error to help text |
| 503 |
|
| 504 |
Fix HSTS portability by using int64_t instead of time_t. |
| 505 |
* src/hsts.c: Use int64_t instead of time_t. |
| 506 |
* src/http.c: Use int64_t for parsing Strict-Transport-Security. |
| 507 |
|
| 508 |
src/http.c (time_to_rfc1123): Fix -Wformat-nonliteral |
| 509 |
|
| 510 |
* src/warc.c (warc_process_cdx_line): Fix variable type to idx_t |
| 511 |
|
| 512 |
* src/main.c (secs_to_human_time): Use snprintf instead of sprintf |
| 513 |
|
| 514 |
* src/main.c (main): Remove unused variable |
| 515 |
|
| 516 |
* src/netrc.c (test_parse_netrc): Check if HAVE_FMEMOPEN is defined |
| 517 |
|
| 518 |
2022-02-26 Darshit Shah <[email protected]> |
| 519 |
|
| 520 |
maint: post-release administrivia |
| 521 |
* NEWS: Add header line for next release. |
| 522 |
* .prev-version: Record previous version. |
| 523 |
* cfg.mk (old_NEWS_hash): Auto-update. |
| 524 |
|
| 525 |
* NEWS: Update NEWS items for release |
| 526 |
|
| 527 |
* .gitignore: Remove empty line at EOF |
| 528 |
|
| 529 |
* .gitignore: Update file |
| 530 |
|
| 531 |
* src.hsts.c(hsts_read_database): Use SCNd64 for portable format flags |
| 532 |
|
| 533 |
* configure.ac: Add some warning flags to ignore |
| 534 |
|
| 535 |
* cfg.mk: Remove passing syntax-checks from skip list |
| 536 |
|
| 537 |
Fix issues from syntax-check |
| 538 |
* doc/wget.texi: s/time stamp/timestamp/ |
| 539 |
* src/ftp-ls.c(clean_line): Same |
| 540 |
(ftp_parse_vms_ls): Don't cast return value of x*alloc |
| 541 |
* src/ftp.c: Don't cast return value of alloca |
| 542 |
* src/css-url.c: wget.h should be the first include |
| 543 |
* testenv/Makefile.am: Use $(PATH_SEPARATOR) instead of : when declaring |
| 544 |
a path |
| 545 |
* testenv/Test-no_proxy-env.py: s/can not/cannot/ |
| 546 |
|
| 547 |
* Update Copyright years |
| 548 |
|
| 549 |
* bootstrap: Update script |
| 550 |
|
| 551 |
* gnulib: Pull forward |
| 552 |
|
| 553 |
Cleanup some incorrect uses of AM Conditionals |
| 554 |
* configure.ac: Replace IRI_IS_ENABLED with WITH_IRI and |
| 555 |
METALINK_IS_ENABLED with WITH_METALINK |
| 556 |
* src/Makefile.am: Add the .c and .h files for IRI, Metalink and |
| 557 |
Xattr support to wget_SOURCES directly when needed instead of |
| 558 |
adding them as object files. |
| 559 |
* testenv/Makefile.am: Rename METALINK_IS_ENABLED to WITH_METALINK |
| 560 |
|
| 561 |
2022-02-26 Darshit Shah <[email protected]> |
| 562 |
|
| 563 |
Replace incorrect usage of AC_LIBOBJ in configure.ac |
| 564 |
AC_LIBOBJ is to be used for providing replacement functions for |
| 565 |
compatibility reasons. Not for conditional compilation of entire source |
| 566 |
files. Autotools provides other methods for achieving that. However, our |
| 567 |
build system has (ab-)used the AC_LIBOBJ macros for doing this for over |
| 568 |
15 years. That stops today. |
| 569 |
|
| 570 |
* configure.ac: Replace uses of AC_LIBOBJ with automake conditionals |
| 571 |
that can be used in Makefiles |
| 572 |
* src/Makefile.am: Use the defined conditionals to select which |
| 573 |
files get built. |
| 574 |
|
| 575 |
2022-02-25 Darshit Shah <[email protected]> |
| 576 |
|
| 577 |
Fix case where installed gettext is newer than minimum version |
| 578 |
* configure.ac: Use AM_GNU_GETTEXT_REQUIRE_VERSION to specify a minimum |
| 579 |
version of gettext needed. This should allow newer versions of gettext |
| 580 |
to be copied for autipoint to use when available. |
| 581 |
|
| 582 |
This commit hopefully fixes the annoying issue when building from |
| 583 |
source on a system that has a newer version of gettext. |
| 584 |
|
| 585 |
2022-02-13 Tim Rühsen <[email protected]> |
| 586 |
|
| 587 |
* src/netrc.c (test_parse_netrc): Free netrc structure |
| 588 |
|
| 589 |
* .gitlab-ci.yml: Fix path to llvm-symbolizer |
| 590 |
|
| 591 |
* src/netrc.c (test_parse_netrc): New unit test function |
| 592 |
|
| 593 |
2022-01-31 Aarni Koskela <[email protected]> (tiny change) |
| 594 |
|
| 595 |
* src/http.c (parse_strict_transport_security): Fix typo in string |
| 596 |
|
| 597 |
2022-01-23 Tim Rühsen <[email protected]> |
| 598 |
|
| 599 |
* .gitlab-ci.yml (Scan-Build): Allow failure due to two false positives |
| 600 |
|
| 601 |
* configure.ac: Use pkg-config for gpgme, libidn2 and nettle |
| 602 |
|
| 603 |
2022-01-22 Tim Rühsen <[email protected]> |
| 604 |
|
| 605 |
* src/ftp.c: Small cleanups |
| 606 |
|
| 607 |
2022-01-16 Nik Soggia <[email protected]> (tiny change) |
| 608 |
|
| 609 |
Print newline after dot progress bar in non-verbose mode |
| 610 |
* src/progress.c (dot_finish): Print new in all progress bar contexts |
| 611 |
instead of just verbose |
| 612 |
|
| 613 |
2022-01-12 Tim Rühsen <[email protected]> |
| 614 |
|
| 615 |
* .gitlab-ci.yml: Fix artifact path for the Scan-Build runner |
| 616 |
|
| 617 |
2022-01-09 Tim Rühsen <[email protected]> |
| 618 |
|
| 619 |
* src/main.c (main): Unlink output document when --unlink is given |
| 620 |
|
| 621 |
2021-12-22 Tim Rühsen <[email protected]> |
| 622 |
|
| 623 |
fuzz/*.in: Update fuzzer corpora |
| 624 |
|
| 625 |
* .gitlab-ci.yml (CoverageReports): Fix artifacts paths |
| 626 |
|
| 627 |
* tests/valgrind-suppressions: Fix libidn rule |
| 628 |
|
| 629 |
* .gitlab-ci.yml: Fix artifacts paths |
| 630 |
|
| 631 |
* tests/valgrind-suppressions: Extend libidn rule |
| 632 |
|
| 633 |
* src/log.c (logprintf): Check earlier for verbosity |
| 634 |
|
| 635 |
* src/http.c (http_loop): Fix memleak |
| 636 |
|
| 637 |
2021-12-21 Tim Rühsen <[email protected]> |
| 638 |
|
| 639 |
Switch fuzzing build from C++ to C |
| 640 |
* Makefile.am (oss-fuzz): Build with $CC instead of $CXX. |
| 641 |
* README.md: Remove CXX and CXXFLAGS exports. |
| 642 |
|
| 643 |
2021-12-01 Darshit Shah <[email protected]> |
| 644 |
|
| 645 |
* src/http.c (http_loop): Hide password when printing status with -nv |
| 646 |
Reported-By: Per Lundberg <[email protected]> |
| 647 |
Closes: #61492 |
| 648 |
|
| 649 |
* gnulib: Pull forward |
| 650 |
|
| 651 |
* src/hsts.c (hsts_read_database): Read time_t values as long long |
| 652 |
|
| 653 |
2021-12-01 Thomas Niederberger <[email protected]> |
| 654 |
|
| 655 |
* src/main.c (print_help): Add command line option for TLS 1.3 |
| 656 |
|
| 657 |
2021-10-11 Darshit Shah <[email protected]> |
| 658 |
|
| 659 |
* retr.c (rotate_backups): Non existent files are not errors in this function |
| 660 |
|
| 661 |
2021-10-08 Darshit Shah <[email protected]> |
| 662 |
|
| 663 |
* ftp.c (ftp_loop_internal): Fix computation of total_downloaded_bytes |
| 664 |
When continuing a FTP download, or not starting one because the file is |
| 665 |
already fully retrieved, don't include the size of the file in the |
| 666 |
total_downloaded_bytes. Only the actual amount of data retrieved over |
| 667 |
the network should be considered there. |
| 668 |
|
| 669 |
Fixes: #61277 |
| 670 |
Reported-By: Michal Ruprich <formaiko> |
| 671 |
|
| 672 |
2021-09-08 Darshit Shah <[email protected]> |
| 673 |
|
| 674 |
Remove suprious print statements |
| 675 |
* src/gnutls.c: Remove fprintf statements. We should never print to |
| 676 |
console directly. Always honor the log levels. |
| 677 |
Fixes: #61125 |
| 678 |
|
| 679 |
2021-09-07 Darshit Shah <[email protected]> |
| 680 |
|
| 681 |
maint: post-release administrivia |
| 682 |
* NEWS: Add header line for next release. |
| 683 |
* .prev-version: Record previous version. |
| 684 |
* cfg.mk (old_NEWS_hash): Auto-update. |
| 685 |
|
| 686 |
* NEWS: Update NEWS items for release |
| 687 |
|
| 688 |
* cfg.mk: Disable the indent check |
| 689 |
|
| 690 |
* gnulib: Pull forward |
| 691 |
|
| 692 |
2021-08-21 WB <[email protected]> |
| 693 |
|
| 694 |
Fix #60956 (improve --page-requisites) |
| 695 |
* src/html_url.c (tag_handle_link): Check for "alternate stylesheet", |
| 696 |
"icon" and "manifest". |
| 697 |
|
| 698 |
2021-08-07 Tim Rühsen <[email protected]> |
| 699 |
|
| 700 |
* src/html-url.c (tag_handle_meta): Fix integer overflow |
| 701 |
|
| 702 |
2021-07-05 Tim Rühsen <[email protected]> |
| 703 |
|
| 704 |
* src/recur.c (download_child): Remove temporary robots.txt.tmp |
| 705 |
|
| 706 |
2021-06-14 Josef Moellers <[email protected]> |
| 707 |
|
| 708 |
Long pathnames patch |
| 709 |
|
| 710 |
2021-06-07 Tim Rühsen <[email protected]> |
| 711 |
|
| 712 |
* .gitlab-ci.yml: Remove scan-build deps from pages stage |
| 713 |
|
| 714 |
* .gitlab-ci.yml: Move scan-build/ to public/ only if it exists |
| 715 |
|
| 716 |
2021-06-06 Tim Rühsen <[email protected]> |
| 717 |
|
| 718 |
* .gitlab-ci.yml: Move scan-build results to parent directory |
| 719 |
|
| 720 |
* .gitlab-ci.yml: Move coverage results to parent directory |
| 721 |
|
| 722 |
* .gitlab-ci.yml: Don't allow failure of scan-build |
| 723 |
|
| 724 |
* .gitlab-ci.yml: Pages needs Build-Tarball |
| 725 |
|
| 726 |
* src/url.c (append_uri_pathel): Add cheap extra check to help static analyzers |
| 727 |
|
| 728 |
* src/http.c (gethttp): Add cheap extra check to help static analyzers |
| 729 |
|
| 730 |
* .gitlab-ci.yml: Exclude src/css_.o from scan-build |
| 731 |
|
| 732 |
* src/main.c (main): Removed unused variable |
| 733 |
|
| 734 |
2021-06-06 Tim Rühsen <[email protected]> |
| 735 |
|
| 736 |
Revert "Long pathnames patch" |
| 737 |
This reverts commit affad27664afccdedafd94711d350f368e859be4. |
| 738 |
|
| 739 |
Manual tests with very long path names did not work with this patch. |
| 740 |
We have to wait for a patch including automated tests. |
| 741 |
|
| 742 |
2021-06-06 Tim Rühsen <[email protected]> |
| 743 |
|
| 744 |
* .lgtm.yml: Add autoconf-archive |
| 745 |
|
| 746 |
* .gitlab-ci.yml: Re-arrange stages |
| 747 |
|
| 748 |
Remove .git/, .gitmodules and gnulib/ from bootstrap artefacts |
| 749 |
|
| 750 |
2021-06-06 Darshit Shah <[email protected]> |
| 751 |
|
| 752 |
Updated Gitlab CI Pipeline |
| 753 |
* .gitlab-ci.yml: COmpletely overhauled CI pipeline with dependencies |
| 754 |
for a faster and more robust CI. |
| 755 |
|
| 756 |
2021-05-29 jmoellers <[email protected]> |
| 757 |
|
| 758 |
Long pathnames patch |
| 759 |
|
| 760 |
2021-05-22 Tim Rühsen <[email protected]> |
| 761 |
|
| 762 |
* fuzz/wget_read_hunk_fuzzer.c: Add explicit cast for C++ compilation |
| 763 |
|
| 764 |
* fuzz/wget_ntlm_fuzzer.c: Add explicit cast for C++ compilation |
| 765 |
|
| 766 |
2021-05-03 Tim Rühsen <[email protected]> |
| 767 |
|
| 768 |
* src/http.c (initialize_request): Send Host HTTP header first |
| 769 |
This solves an issue where the server expects the Host: header |
| 770 |
as first one. This seems plausible (ahem) as the Host: header is the |
| 771 |
only one that is required. |
| 772 |
|
| 773 |
2021-05-02 Tim Rühsen <[email protected]> |
| 774 |
|
| 775 |
Improve wget_options_fuzzer |
| 776 |
* fuzz/fuzzer.h: Ignore -Wunused-parameter. |
| 777 |
* fuzz/wget_options_fuzzer.c: Let getaddrinfo() fail in while fuzzing. |
| 778 |
* fuzz/wget_options_fuzzer.in/*: Update corpora from OSS-Fuzz. |
| 779 |
|
| 780 |
2021-05-02 Nekun <[email protected]> (tiny change) |
| 781 |
|
| 782 |
Fix typo in VMS support code |
| 783 |
* src/utils.c: Remove unpaired brace |
| 784 |
|
| 785 |
2021-04-15 Nils <[email protected]> (tiny change) |
| 786 |
|
| 787 |
Use "nofollow" instead of "no-follow" in messages |
| 788 |
* src/html-url.c (get_urls_html_fm): Remove misleading debug message. |
| 789 |
* src/recur.c (retrieve_tree): Fix no-follow -> follow in DEBUGP. |
| 790 |
|
| 791 |
The attribute in html is "nofollow" so it is more consistent to call it |
| 792 |
so than to hyphenate it. |
| 793 |
|
| 794 |
2021-04-15 Nils <[email protected]> (tiny change) |
| 795 |
|
| 796 |
Print message for no-follow attribute only if norobots respected |
| 797 |
* src/html-url.c (get_urls_html_fm): Remove misleading log message. |
| 798 |
* src/recur.c (retrieve_tree): Add log message into correct if block. |
| 799 |
|
| 800 |
Commit e39be3283836b8cb7b9ee320456eefb2a2fda173 added a message that |
| 801 |
said links will not be followed whenever the nofollow attribute is found |
| 802 |
in a page. It didn't take into account that with -e robots=off (and |
| 803 |
equivalents) links will still be followed. |
| 804 |
|
| 805 |
This bug has been noticed multiple times: |
| 806 |
* https://www.reddit.com/r/DataHoarder/comments/mprq89/wget_respects_nofollow_attribute_despite_e/ |
| 807 |
* https://gist.github.com/simonw/27e810771137408fd7834ad153750c41#gistcomment-3648191 |
| 808 |
* https://superuser.com/questions/1494761/wget-wont-ignore-no-follow-attributes |
| 809 |
|
| 810 |
This commits makes it so that this message is only printed when a |
| 811 |
nofollow link is found and the norobots convention is respected. |
| 812 |
|
| 813 |
2021-04-15 Tim Rühsen <[email protected]> |
| 814 |
|
| 815 |
* configure.ac: Add AM_GNU_GETTEXT_VERSION |
| 816 |
|
| 817 |
2021-04-11 Tim Rühsen <[email protected]> |
| 818 |
|
| 819 |
* testenv/test/base_test.py: Rename valgrind-suppression-ssl -> valgrind-suppressions-ssl |
| 820 |
|
| 821 |
* testenv/test/base_test.py: Add --show-leak-kinds=all valgrind argument |
| 822 |
|
| 823 |
* tests/WgetTests.pm: Add --show-leak-kinds=all valgrind argument |
| 824 |
|
| 825 |
Fix testenv valgrind suppression |
| 826 |
* testenv/Makefile.am: Remove valgrind-suppressions from EXTRA_DIST. |
| 827 |
* testenv/valgrind-suppression-ssl: Rename to testenv/valgrind-suppressions-ssl. |
| 828 |
|
| 829 |
2021-04-11 Tim Rühsen <[email protected]> |
| 830 |
|
| 831 |
* bootstrap.conf: Add 'rename' to gnulib modules |
| 832 |
The missing module could be a reason for |
| 833 |
https://savannah.gnu.org/bugs/?60346. |
| 834 |
|
| 835 |
Reported-by: [email protected] |
| 836 |
|
| 837 |
2021-04-11 Tim Rühsen <[email protected]> |
| 838 |
|
| 839 |
* src/wget.h: Use strtoll() for str_to_wgint |
| 840 |
This fixes a regression reported at https://savannah.gnu.org/bugs/?60353. |
| 841 |
|
| 842 |
Reported-by: Michal Ruprich |
| 843 |
|
| 844 |
2021-04-11 Shamil Gumirov <[email protected]> (tiny change) |
| 845 |
|
| 846 |
Minor output fix to use quote_n() instead of quote() |
| 847 |
* src/ftp.c (ftp_retrieve_list): change quote to quote_n |
| 848 |
* src/iri.c (do_conversion): change quote to quote_n |
| 849 |
* src/url.c (convert_fname): change quote to quote_n |
| 850 |
|
| 851 |
The implementation quote() reuses the buffer it returns which |
| 852 |
leads to printing the same string for each quote() call in one |
| 853 |
output line. Instead, quote_n() should be used as highlighted in |
| 854 |
the doc: |
| 855 |
https://www.gnu.org/software/gnulib/manual/html_node/Quoting.html |
| 856 |
|
| 857 |
2021-04-05 Tim Rühsen <[email protected]> |
| 858 |
|
| 859 |
* src/Makefile.am: Add metalink.c and xattr.c to EXTRA_wget_SOURCES |
| 860 |
|
| 861 |
* testenv/Makefile.am: Allow tarball build without python3 |
| 862 |
|
| 863 |
2021-04-04 Tim Rühsen <[email protected]> |
| 864 |
|
| 865 |
Fix spelling errors |
| 866 |
* NEWS: trough -> through. |
| 867 |
* README.checkout: Likewise. |
| 868 |
* contrib/spell-checker: Add exclusion 'parm' |
| 869 |
|
| 870 |
Remove gettext version requirements |
| 871 |
* bootstrap.conf: Remove gettext version requirements |
| 872 |
* configure.ac: Likewise. |
| 873 |
|
| 874 |
2021-03-16 Darshit Shah <[email protected]> |
| 875 |
|
| 876 |
Use a LOG_COMPILER for running fuzz tests |
| 877 |
This prevents needing a special case in the fuzz tests to detect |
| 878 |
valgrind usage and a new exec. Instead, we simply detect the environment |
| 879 |
in a shell script and start the test with valgrind in the first place. |
| 880 |
|
| 881 |
* fuzz/test-runner.sh: New script for running the fuzz tests |
| 882 |
* fuzz/main.c (main): Remove code for re-running under valgrind |
| 883 |
* fuzz/Makefile.am: Set the LOG_COMPILER to test-runner.sh and remember |
| 884 |
to add it to the list of extra files for packaging |
| 885 |
|
| 886 |
2021-03-07 Tim Rühsen <[email protected]> |
| 887 |
|
| 888 |
* configure.ac: Add AC_PROG_CC_C99 |
| 889 |
|
| 890 |
2021-03-07 Darshit Shah <[email protected]> |
| 891 |
|
| 892 |
Bump gettext version to 0.20 |
| 893 |
* bootstrap.conf: Increase minimum version of gettext needed to 0.20 |
| 894 |
* configure.ac: Same |
| 895 |
|
| 896 |
* bootstrap: Update script |
| 897 |
|
| 898 |
* gnulib: Pull forward |
| 899 |
|
| 900 |
2021-03-02 Darshit Shah <[email protected]> |
| 901 |
|
| 902 |
Fix double free in FTP Code |
| 903 |
* src/ftp.c(getftp): Don't free `target`. If it is not pointing to |
| 904 |
targetbuf, then it still pointing to its original location of u->dir. |
| 905 |
This location will be free'd later. Doing so now causes a double free |
| 906 |
and hence crashes Wget |
| 907 |
* tests/Test-ftp-dir.px: New test to show double free error |
| 908 |
* tests/Makefile.am: Add new test |
| 909 |
|
| 910 |
2021-01-31 Tim Rühsen <[email protected]> |
| 911 |
|
| 912 |
* doc/wget.texi: Replace '' with in example |
| 913 |
Needed to hide from texi2pod.pl replacement of '' -> ". |
| 914 |
|
| 915 |
Reported-by: Vincent Lefevre |
| 916 |
|
| 917 |
2021-01-23 Tim Rühsen <[email protected]> |
| 918 |
|
| 919 |
Use gnulib's utime.h |
| 920 |
* bootstrap.conf: Remove utime-h (included by utime). |
| 921 |
* configure.ac: Remove header checks for utime.h and sys/utime.h. |
| 922 |
* src/utils.c: Simply #include <utime.h>. |
| 923 |
|
| 924 |
* configure.ac: Detect unresolved AX_ macros |
| 925 |
|
| 926 |
2021-01-16 Tim Rühsen <[email protected]> |
| 927 |
|
| 928 |
* configure.ac: Use noyywrap for AC_PROG_LEX |
| 929 |
|
| 930 |
Fix --quota on systems with 32bit long type |
| 931 |
* src/init.c (cmd_bytes_sum): Use WGINT_MIN and WGINT_MAX in check. |
| 932 |
* src/options.h (struct options): Make 'quota' of type wgint. |
| 933 |
* src/retr.c: Make 'total_downloaded_bytes' of type wgint. |
| 934 |
* src/utils.h: Fix comment. |
| 935 |
* src/wget.h: Add WGINT_MIN, remove SUM_SIZE_INT. |
| 936 |
|
| 937 |
* configure.ac: Remove obsolete AC_HEADER_STDC |
| 938 |
|
| 939 |
* configure.ac: Replace ` with ' |
| 940 |
|
| 941 |
* configure.ac: Use yywrap param for AC_PROG_LEX |
| 942 |
|
| 943 |
2021-01-09 Darshit Shah <[email protected]> |
| 944 |
|
| 945 |
maint: post-release administrivia |
| 946 |
* NEWS: Add header line for next release. |
| 947 |
* .prev-version: Record previous version. |
| 948 |
* cfg.mk (old_NEWS_hash): Auto-update. |
| 949 |
|
| 950 |
* NEWS: Update NEWS items for release |
| 951 |
|
| 952 |
* gnulib: Pull forward |
| 953 |
|
| 954 |
* cfg.mk: Add manual_title for web docs |
| 955 |
|
| 956 |
* contrib/make-release: Update to use maintainer-makefile |
| 957 |
|
| 958 |
* bootstrap.conf: Add gendocs and gnu-web-doc-update modules |
| 959 |
|
| 960 |
* configure.ac(AM_INIT_AUTOMAKE): Create lzip archives when making a distribution |
| 961 |
|
| 962 |
Prepare for making releases |
| 963 |
The maintainer makefile provides targets for making a release. They need |
| 964 |
these things: |
| 965 |
* cfg.mk: Set the hash of the NEWS file as it was at the beginning of |
| 966 |
this release |
| 967 |
* .prev-version: Create the .prev-version file |
| 968 |
|
| 969 |
Prepare NEWS file for new release |
| 970 |
* NEWS: Fix the copyright notice |
| 971 |
* NEWS: Add header for new release |
| 972 |
|
| 973 |
2021-01-07 Darshit Shah <[email protected]> |
| 974 |
|
| 975 |
Use PRId64 to correctly identify the format specifier |
| 976 |
* src/utils.c: Use PRId64 to correctly identify the format specifier for |
| 977 |
wgint values. This fixes a warning on 32-bit systems where wgint is a |
| 978 |
long long int instead of the long int that the format specifier |
| 979 |
indicated. |
| 980 |
|
| 981 |
Reported-by: Jeffrey Walton |
| 982 |
|
| 983 |
2021-01-03 Darshit Shah <[email protected]> |
| 984 |
|
| 985 |
* src/retr.c(rotate_backups): Simplify logic for handling filename rotation |
| 986 |
|
| 987 |
2021-01-03 Matt Whitlock <[email protected]> |
| 988 |
|
| 989 |
* configure.ac: Don't use Bashisms |
| 990 |
|
| 991 |
2021-01-01 Darshit Shah <[email protected]> |
| 992 |
|
| 993 |
Run make update-copyright |
| 994 |
|
| 995 |
* gnulib: Pull forward |
| 996 |
|
| 997 |
2020-12-31 Darshit Shah <[email protected]> |
| 998 |
|
| 999 |
* NEWS: Finalize release |
| 1000 |
|
| 1001 |
* gnulib: Update for release |
| 1002 |
|
| 1003 |
2020-12-30 Darshit Shah <[email protected]> |
| 1004 |
|
| 1005 |
* src/main.c: Disable use-askpass on VMS |
| 1006 |
|
| 1007 |
2020-12-30 Steven M. Schweda <[email protected]> |
| 1008 |
Darshit Shah <[email protected]> |
| 1009 |
|
| 1010 |
Fixes for running on VMS |
| 1011 |
time_t on VMS is typically unsigned. (Lazy man's solution to 2038?) |
| 1012 |
I added "(time_t)" type casts to negative values ("-1"), and changed |
| 1013 |
tests to avoid complaints. |
| 1014 |
|
| 1015 |
* src/hsts.c (hsts_add_entry): Explicitly cast potentially negative time |
| 1016 |
values to time_t to handle VMS quirks. |
| 1017 |
(hsts_store_entry): Same |
| 1018 |
(get_hsts_store_filename): Use new ajoin_dir_file function to join |
| 1019 |
filenames |
| 1020 |
(test_hsts_read_database): Same |
| 1021 |
* src/init.c (struct options): use-askpass is not implemented on VMS |
| 1022 |
(ajoin_dir_file): New Function to join filenames in a platform |
| 1023 |
agnostic manner |
| 1024 |
(wgetrc_user_file_name): Use ajoin_dir_file to join paths. Doing this |
| 1025 |
correctly, eliminates the need for a special case on VMS |
| 1026 |
* src/init.h: Add prototype for ajoin_dir_file |
| 1027 |
* src/log.c (check_redirect_output): Ignore on VMS |
| 1028 |
* src/main.c(option_data): Disable use-askpass on VMS |
| 1029 |
(print_help): Same |
| 1030 |
(get_hsts_database): Use ajoin_dir_file to join paths |
| 1031 |
(print_version): Add VMS specific information to Version output |
| 1032 |
* src/utils.c (fork_to_background): Fix signature on VMS |
| 1033 |
|
| 1034 |
2020-12-29 Tim Rühsen <[email protected]> |
| 1035 |
|
| 1036 |
Remove SIZEOF_WGINT as wgint is always int64_t |
| 1037 |
* src/http.c (test_parse_range_header): Remove use of SIZEOF_WGINT. |
| 1038 |
* src/utils.c (human_readable): Remove superfluous HR_NUMTYPE, |
| 1039 |
* (number_to_string): Remove use of SIZEOF_WGINT. |
| 1040 |
* src/utils.h: Remove use of SIZEOF_WGINT and HR_NUMTYPE. |
| 1041 |
* src/wget.h: Remove #define SIZEOF_WGINT. |
| 1042 |
|
| 1043 |
src/wget.h: Cleanup code around wgint |
| 1044 |
|
| 1045 |
2020-12-29 Darshit Shah <[email protected]> |
| 1046 |
|
| 1047 |
Remove portability handling for str[n]casecmp |
| 1048 |
* src/mswindows.c: Gnulib ensures we always have str{n}casecmp |
| 1049 |
* configure.ac: Don't need to define HAVE_STR[N]CASECMP anymore |
| 1050 |
|
| 1051 |
2020-12-29 Darshit Shah <[email protected]> |
| 1052 |
|
| 1053 |
Remove portability handling code for wgint |
| 1054 |
Gnulib's stdint.h module promises a C99 compliant stdint.h file on all |
| 1055 |
platforms. Thus allowing us to directly use the fixed wodth integer |
| 1056 |
type, int64_t wihout needing to resort to all the checks being |
| 1057 |
performed. |
| 1058 |
|
| 1059 |
* src/wget.h: Assume that int64_t is always available and use it |
| 1060 |
* src/mswindows.h: Remove portability code since gnulib handles it |
| 1061 |
* configure.ac: Remove sizeof checks for integer types that are no |
| 1062 |
longer used |
| 1063 |
|
| 1064 |
2020-12-29 Tim Rühsen <[email protected]> |
| 1065 |
|
| 1066 |
* .lgtm.yml: Call autoreconf to support Debian oldstable |
| 1067 |
|
| 1068 |
2020-12-28 Tim Rühsen <[email protected]> |
| 1069 |
|
| 1070 |
Fix --accept-regex/i--reject-regex for FTP |
| 1071 |
* src/ftp.c (ftp_retrieve_glob): Call accept_url() with the full URL |
| 1072 |
|
| 1073 |
Reported-by: Frans de Boer <[email protected]> |
| 1074 |
|
| 1075 |
2020-12-28 Darshit Shah <[email protected]> |
| 1076 |
|
| 1077 |
* tests/valgrind-suppressions: Make suppression for libidn false positive more generic |
| 1078 |
|
| 1079 |
* Makefile.am: Clean up gnulib_po/stamp-po |
| 1080 |
|
| 1081 |
tests/valgrind-suppressions: Add suppressions for false positives |
| 1082 |
|
| 1083 |
testenv/Test--https.py: Fix missing import |
| 1084 |
|
| 1085 |
.gitlab-ci.yml: Everyone needs an autoreconf now |
| 1086 |
|
| 1087 |
.gitlab-ci.yml: Even Debian Stable requires running autoreconf |
| 1088 |
|
| 1089 |
Fix usage of Magic number of tests |
| 1090 |
testenv/test/base_test.py: Add new variable SKIP_TEST |
| 1091 |
testenv/Test--https-crl.py: Use SKIP_TEST instead of magic number |
| 1092 |
testenv/Test--https.py: Same |
| 1093 |
testenv/Test-hsts.py: Same |
| 1094 |
testenv/Test-no_proxy-env.py: Same |
| 1095 |
testenv/Test-pinnedpubkey-der-https.py: Same |
| 1096 |
testenv/Test-pinnedpubkey-der-no-check-https.py: Same |
| 1097 |
testenv/Test-pinnedpubkey-hash-https.py: Same |
| 1098 |
testenv/Test-pinnedpubkey-hash-no-check-fail-https.py: Same |
| 1099 |
testenv/Test-pinnedpubkey-pem-fail-https.py: Same |
| 1100 |
testenv/Test-pinnedpubkey-pem-https.py: Same |
| 1101 |
|
| 1102 |
.gitlab-ci.yml: All modern builds need autoreconf |
| 1103 |
|
| 1104 |
.po/POTFILES.in: Remove files containing no translateable strings |
| 1105 |
|
| 1106 |
Fix issues reported by codespell |
| 1107 |
|
| 1108 |
.gitlab-ci.yml: Need --force option to autopoint |
| 1109 |
|
| 1110 |
* .gitlab-ci.yml: Don't need autoreconf everywhere. Only on Arch |
| 1111 |
This (partially) reverts commit 0309d13794303d82529addecfc31f0e1a8c5b97b. |
| 1112 |
|
| 1113 |
configure.ac: Revert to requiring gettext 0.19 |
| 1114 |
|
| 1115 |
.gitlab-ci.yml: Call autoreconf to refresh gettext files |
| 1116 |
|
| 1117 |
* NEWS: Update NEWS items |
| 1118 |
|
| 1119 |
configure.ac: Raise minimum gettext version to 0.20 |
| 1120 |
|
| 1121 |
Run autoupdate on configure.ac |
| 1122 |
* configure.ac, m4/{wget, wget_manywarnings}.m4: Run autoupdate |
| 1123 |
|
| 1124 |
.gitignore: Ignore gnulib_po directory |
| 1125 |
|
| 1126 |
configure.ac: Replace obsolete macro AC_AIX with AC_USE_SYSTEM_EXTENSIONS |
| 1127 |
|
| 1128 |
2020-12-27 Darshit Shah <[email protected]> |
| 1129 |
|
| 1130 |
bootstrap.conf: Remove unneeded text block |
| 1131 |
|
| 1132 |
m4/getpagesize.m4: Don't track autogenerated file |
| 1133 |
|
| 1134 |
2020-12-27 Darshit Shah <[email protected]> |
| 1135 |
|
| 1136 |
Remove unneeded files from gnulib |
| 1137 |
m4/exitfail.m4: Remove unneeded file |
| 1138 |
m4/wchar.m4: Same |
| 1139 |
m4/wctype.m4: Same |
| 1140 |
|
| 1141 |
The latest versions of these files will be copied by gnulib-tool upon |
| 1142 |
its invokation. No need to track them around here |
| 1143 |
|
| 1144 |
2020-12-27 Darshit Shah <[email protected]> |
| 1145 |
|
| 1146 |
Use a separate domain for translating gnulib |
| 1147 |
Use the --po-domain option to gnulib-tool to create a new textdomain |
| 1148 |
that can be used by gnulib files for translations. This way, we don't |
| 1149 |
have to maintain the list of all files that require translations in |
| 1150 |
gnulib. |
| 1151 |
|
| 1152 |
* bootstrap.conf: Use --po-domain and --po-base options to create a |
| 1153 |
separate base for gnulib translations |
| 1154 |
* src/main.c(i18n_initialize): Call bindtextdomain on wget-gnulib to |
| 1155 |
include those translations as well |
| 1156 |
* Makefile.am: Add new directory gnulib_po to SUBDIRS |
| 1157 |
* configure.ac: Generate gnulib_po/Makefile.in |
| 1158 |
* lib/Makefile.am: Set AM_CPPFLAGS to empty since gnulib.mk expects it |
| 1159 |
to be set |
| 1160 |
|
| 1161 |
2020-12-27 Darshit Shah <[email protected]> |
| 1162 |
|
| 1163 |
po/POTFILES.in: Update the list of files that need translation |
| 1164 |
|
| 1165 |
m4/getpagesize.m4: Update from gnulib |
| 1166 |
|
| 1167 |
configure.ac: Increase minimum required version to 2.64 |
| 1168 |
|
| 1169 |
gnulib: Pull forward |
| 1170 |
|
| 1171 |
2020-12-22 Darshit Shah <[email protected]> |
| 1172 |
|
| 1173 |
main.c (main): Warn when trying to use password without username |
| 1174 |
|
| 1175 |
2020-12-13 Tim Rühsen <[email protected]> |
| 1176 |
|
| 1177 |
* src/http.c (http_cleanup): Reset wget_cookie_jar after freeing |
| 1178 |
This silences the wget_options_fuzzer which triggered #28610 on |
| 1179 |
OSS-Fuzz. This issue can not happen with the Wget utility. |
| 1180 |
The fuzzer runs main(),...,cleanup() in a loop which the Wget utility |
| 1181 |
never does. |
| 1182 |
|
| 1183 |
2020-11-08 Tim Rühsen <[email protected]> |
| 1184 |
|
| 1185 |
* src/main.c: Add description to --help output of wait options |
| 1186 |
|
| 1187 |
2020-07-11 Tomas Hozza <[email protected]> |
| 1188 |
|
| 1189 |
testenv: Add test for handling of no_proxy environment variable |
| 1190 |
* testenv/Test-no_proxy-env.py: Added new test for no_proxy env |
| 1191 |
* testenv/Makefile.am: Added the new test to Makefile |
| 1192 |
|
| 1193 |
Added new test with 5 cases, which are testing various combinations |
| 1194 |
of no_proxy environment variable definition and requested URLs. |
| 1195 |
The test is skipped if the system does not support resolution of |
| 1196 |
localhost subdomains to lcalhost address. |
| 1197 |
|
| 1198 |
2020-07-11 Tomas Hozza <[email protected]> |
| 1199 |
|
| 1200 |
testenv: Allow definition of environment variables for wget execuion |
| 1201 |
* testenv/README: Added description for new EnvironmentVariable hook |
| 1202 |
* testenv/conf/environment_variable.py: Added implementation of |
| 1203 |
EnvironmentVariable hook |
| 1204 |
* testenv/test/base_test.py: Modified exec_wget() to enable use of |
| 1205 |
EnvironmentVariable hook |
| 1206 |
|
| 1207 |
Added new test hook called EnvironmentVariables, for defining environment |
| 1208 |
variables when wget is executed in tests. This is handy for testing |
| 1209 |
environment variables, which are accepted by wget. |
| 1210 |
|
| 1211 |
2020-07-11 Tomas Hozza <[email protected]> |
| 1212 |
|
| 1213 |
testenv: HTTPTest.begin() should return exit value |
| 1214 |
* testenv/test/http_test.py: Ensure that HTTPTest.begin() always returns |
| 1215 |
a value |
| 1216 |
|
| 1217 |
Previously the HTTPTest.begin() method always returned None. However this |
| 1218 |
is not consistent with the begin() implementation of the parent class |
| 1219 |
(BaseTest). This change ensures that HTTPTest.begin() returns a value. |
| 1220 |
|
| 1221 |
2020-07-07 Darshit Shah <[email protected]> |
| 1222 |
|
| 1223 |
Minor documentation clarification |
| 1224 |
* src/wget.texi: Clarify behaviour of --quota |
| 1225 |
Thanks to TheWild on IRC for pointing it out |
| 1226 |
|
| 1227 |
2020-06-29 Tim Rühsen <[email protected]> |
| 1228 |
|
| 1229 |
* src/ftp.c (ftp_loop_internal): Check for VERIFCERTERR to avoid SIGABRT |
| 1230 |
There is a bug that causes wget to exit with SIGABRT when trying to |
| 1231 |
receive files through FTP from a server with a certificate that failed |
| 1232 |
the verification. |
| 1233 |
|
| 1234 |
The bug is filed in RedHat Bugzilla for Fedora: |
| 1235 |
https://bugzilla.redhat.com/show_bug.cgi?id=1475861 |
| 1236 |
|
| 1237 |
Reported-by: Artem Egorenkov <[email protected]> |
| 1238 |
|
| 1239 |
2020-06-21 Tim Rühsen <[email protected]> |
| 1240 |
|
| 1241 |
* src/host.c (lookup_host): Fix uninitialized pointer access in c-ares code |
| 1242 |
Reported-by: Swapnil More |
| 1243 |
|
| 1244 |
2020-05-22 Tim Rühsen <[email protected]> |
| 1245 |
|
| 1246 |
* src/gnutls.c (ssl_init): Small cleanup fixing output of ncerts |
| 1247 |
|
| 1248 |
2020-05-01 Tim Rühsen <[email protected]> |
| 1249 |
|
| 1250 |
* src/convert.c (downloaded_files_free): Only compile if DEBUG_MALLOC or TESTING is defined |
| 1251 |
|
| 1252 |
* src/netrc.c (free_netrc): Only compile if DEBUG_MALLOC or TESTING is defined |
| 1253 |
|
| 1254 |
2020-05-01 Вячеслав Петрищев <[email protected]> |
| 1255 |
|
| 1256 |
Fix SSL/TLS timeout issues. |
| 1257 |
* connect.c (fd_read, fd_peek): Let implementation take care about timeout. |
| 1258 |
* gnutls.c (_do_handshake, _do_reauth, wgnutls_read_timeout): Fix support for interactive timeout. |
| 1259 |
* gnutls.c (wgnutls_peek): Let wgnutls_read_timeout() take care about timeout. |
| 1260 |
* openssl.c (openssl_read_peek): Fix 0 (-1) timeout. |
| 1261 |
* retr.c (fd_read_body): Avoid wrong 'interactive timeout'. |
| 1262 |
|
| 1263 |
Set interactive to true for bar progress. |
| 1264 |
* src/progress.c (bar_set_params): Set interactive to true. |
| 1265 |
* src/retr.c (fd_read_body): Avoid call fd_read with 0 timeout. |
| 1266 |
|
| 1267 |
2020-05-01 Вячеслав Петрищев <[email protected]> |
| 1268 |
|
| 1269 |
New implementation for openssl_read, openssl_peek ssl_connect_with_timeout (openssl) |
| 1270 |
Add new implementation for openssl_read, openssl_peek |
| 1271 |
ssl_connect_with_timeout (openssl). Thats allow continue |
| 1272 |
read after ETIMEDOUT (if timeout < opt.read_timeout) |
| 1273 |
without 'Retrying', and do not create thread (under MSWin) |
| 1274 |
for every read. Old implementation, (with fix for 'timeout') |
| 1275 |
avaible for build with: -DOPENSSL_RUN_WITHTIMEOUT |
| 1276 |
|
| 1277 |
Add timeout for transport_implementation {reader,peeker}; |
| 1278 |
|
| 1279 |
* src/init.c (cmd_time): Add check for negative value. |
| 1280 |
* src/connect.h (transport_implementation {reader,peeker}): Change function prototype. |
| 1281 |
* src/connect.c (select_fd_nb): New function, aviod conversion to blocked under MSWin. |
| 1282 |
* src/gnutls.c |
| 1283 |
(gnutls_read): Fix: using timeout, seting ETIMEDOUT, conversion to blocked. |
| 1284 |
(gnutls_peek): Likewise. |
| 1285 |
(wgnutls_errstr): Add errmsg for ETIMEDOUT. |
| 1286 |
(_do_handshake) (_do_reauth): Fix conversion to blocked. |
| 1287 |
* src/openssl.c: |
| 1288 |
Add new implementation for openssl_read, openssl_peek, ssl_connect_with_timeout. |
| 1289 |
(init_prng): when option --random-file given warn user if RAND_load_file() fail. |
| 1290 |
|
| 1291 |
2020-04-18 Tim Rühsen <[email protected]> |
| 1292 |
|
| 1293 |
Add missing linefeed in output strings |
| 1294 |
* src/ftp.c (getftp): Add linefeed to error message. |
| 1295 |
* src/res.c (res_parse_from_file): Likewise. |
| 1296 |
* src/utils.c (fopen_stat): Likewise. |
| 1297 |
(open_stat): Likewise. |
| 1298 |
|
| 1299 |
2020-03-28 Tim Rühsen <[email protected]> |
| 1300 |
|
| 1301 |
* src/metalink.c: Include filename.h instead of dosname.h |
| 1302 |
|
| 1303 |
* gnulib: Update |
| 1304 |
|
| 1305 |
2020-03-24 Tomas Hozza <[email protected]> |
| 1306 |
|
| 1307 |
Don't print message about loading crl or ca-cert files with --no-verbose |
| 1308 |
* src/gnutls.c (ssl_init): Use LOG_VERBOSE verbosity for informative |
| 1309 |
message related to loading CRL or CA certificate file. |
| 1310 |
|
| 1311 |
Before change [1], wget didn't produce any output related to loading CA |
| 1312 |
certificates when --no-verbose option has been used. When --no-verbose |
| 1313 |
option is used, only error messages and basic information should get |
| 1314 |
printed. Information about loading CRL or CA certificate is probably not |
| 1315 |
a basic information. Any error when loading the CRL or CA certificate |
| 1316 |
will be still printed with --no-verbose. |
| 1317 |
|
| 1318 |
Some users rely on wget not printing such information and they consider |
| 1319 |
it a regression. |
| 1320 |
|
| 1321 |
Reported as https://bugzilla.redhat.com/show_bug.cgi?id=1807267 |
| 1322 |
|
| 1323 |
[1] http://git.savannah.gnu.org/cgit/wget.git/commit/?id=e4a8fe84e2b813b65d91aec29298eecabe4850a5 |
| 1324 |
|
| 1325 |
2020-03-06 Tim Rühsen <[email protected]> |
| 1326 |
|
| 1327 |
Add NTLM fuzzer |
| 1328 |
* configure.ac: Create WITH_NTLM conditional. |
| 1329 |
* fuzz/Makefile.am: Add wget_ntlm_fuzzer. |
| 1330 |
* fuzz/wget_ntlm_fuzzer.c: New file. |
| 1331 |
* fuzz/wget_ntlm_fuzzer.in/*: Initial fuzz corpora. |
| 1332 |
|
| 1333 |
* src/http.c (check_auth): Fix memory leak |
| 1334 |
|
| 1335 |
* src/http-ntlm.c (mkhash): Fix read buffer overflow |
| 1336 |
|
| 1337 |
2020-03-05 Tim Rühsen <[email protected]> |
| 1338 |
|
| 1339 |
* README.checkout: Fix gperf typo and tab indentation |
| 1340 |
|
| 1341 |
* .gitlab-ci.yml: Generate online docs and coverage reports for Gitlab |
| 1342 |
|
| 1343 |
2020-03-05 Tim Rühsen <[email protected]> |
| 1344 |
|
| 1345 |
Add code coverage reporting |
| 1346 |
* configure.ac: Add AX_CODE_COVERAGE. |
| 1347 |
* Makefile.am: Add rules 'check-coverage' and 'fuzz-coverage'. |
| 1348 |
* fuzz/Makefile.am: Amend LDADD, AM_CFLAGS and AM_CPPFLAGS. |
| 1349 |
* src/Makefile.am: Amend LDADD, AM_CFLAGS and AM_CPPFLAGS. |
| 1350 |
|
| 1351 |
This add a new configure option, --enable-code-coverage. |
| 1352 |
|
| 1353 |
With this option enabled, generate test code coverage with |
| 1354 |
make code-coverage |
| 1355 |
and generate coverage for the fuzz test corpora with |
| 1356 |
make fuzz-coverage |
| 1357 |
|
| 1358 |
2020-03-05 Tim Rühsen <[email protected]> |
| 1359 |
|
| 1360 |
* src/http.c: Don't cast 3rd param to request_set_header. |
| 1361 |
|
| 1362 |
* README: Fix typo 'can retrieves' -> 'can retrieve' |
| 1363 |
|
| 1364 |
2020-03-03 Darshit Shah <[email protected]> |
| 1365 |
|
| 1366 |
* doc/wget.texi: Add maintainers and mention wget2 |
| 1367 |
|
| 1368 |
doc/wget.texi: Clarify usage of --level |
| 1369 |
|
| 1370 |
2020-03-03 Tim Rühsen <[email protected]> |
| 1371 |
|
| 1372 |
* src/http.c (gethttp): Remove unneeded free of hstat.(message|error) |
| 1373 |
|
| 1374 |
* src/http.c (gethttp): Fix memleaks |
| 1375 |
Reported-by: Вячеслав Петрищев |
| 1376 |
|
| 1377 |
* src/http.c (read_response_body): Fix memleak |
| 1378 |
Reported-by: Вячеслав Петрищев |
| 1379 |
|
| 1380 |
2020-02-29 Tim Rühsen <[email protected]> |
| 1381 |
|
| 1382 |
* contrib/spell-checker: Add lightening to exceptions |
| 1383 |
|
| 1384 |
Always build ssl_cleanup |
| 1385 |
* src/gnutls.c (ssl_cleanup): Don't build conditionally. |
| 1386 |
* src/openssl.c (ssl_cleanup): Likewise |
| 1387 |
|
| 1388 |
2020-02-28 Tim Rühsen <[email protected]> |
| 1389 |
|
| 1390 |
* doc/wget.texi: Fix spelling error |
| 1391 |
Reported-by: Jim Cathey |
| 1392 |
|
| 1393 |
2020-02-27 Tim Rühsen <[email protected]> |
| 1394 |
|
| 1395 |
* src/convert.c (convert_cleanup): Free downloaded_css_set |
| 1396 |
|
| 1397 |
* src/openssl.c (ssl_cleanup): Only compile for DEBUG_MALLOC or TESTING |
| 1398 |
|
| 1399 |
* src/gnutls.c (ssl_cleanup): Only compile for DEBUG_MALLOC or TESTING |
| 1400 |
|
| 1401 |
* src/netrc.c (netrc_cleanup): Only compile for DEBUG_MALLOC or TESTING |
| 1402 |
|
| 1403 |
* src/log.c (log_cleanup): Only compile for DEBUG_MALLOC or TESTING |
| 1404 |
|
| 1405 |
* src/host.c (host_cleanup): Only compile for DEBUG_MALLOC or TESTING |
| 1406 |
|
| 1407 |
* src/spider.c (spider_cleanup): Only compile for DEBUG_MALLOC or TESTING |
| 1408 |
|
| 1409 |
* src/res.c (res_cleanup): Only compile for DEBUG_MALLOC or TESTING |
| 1410 |
|
| 1411 |
* src/convert.c (convert_cleanup): Only compile for DEBUG_MALLOC or TESTING |
| 1412 |
|
| 1413 |
* src/html-url.c (cleanup_html_url): Only compile for DEBUG_MALLOC or TESTING |
| 1414 |
|
| 1415 |
* src/http.c (http_cleanup): Free hashtable basic_authed_hosts |
| 1416 |
|
| 1417 |
* src/cookies.c (cookie_jar_delete): Set psl to NULL after calling psl_free |
| 1418 |
|
| 1419 |
* src/init.c (cleanup): Call ssl_cleanup and connect_cleanup |
| 1420 |
|
| 1421 |
Add ssl_cleanup to free memory |
| 1422 |
* src/ssl.h: Add declaration for ssl_cleanup. |
| 1423 |
* src/openssl.c: Add ssl_cleanup stub. |
| 1424 |
* src/gnutls.c: Implement ssl_cleanup. |
| 1425 |
|
| 1426 |
* src/http.c (http_cleanup): Call invalidate_persistent to free resources |
| 1427 |
|
| 1428 |
* src/cookies.c: Free PSL in cookie_jar_delete |
| 1429 |
|
| 1430 |
* src/connect.c (connect_cleanup): Only needed with DEBUG_MALLOC or TESTING |
| 1431 |
|
| 1432 |
* src/http.c (http_loop): Avoid unneeded strdup |
| 1433 |
|
| 1434 |
2020-02-27 Вячеслав Петрищев <[email protected]> |
| 1435 |
|
| 1436 |
* src/http.c (gethttp): Fix memleak |
| 1437 |
|
| 1438 |
2020-02-23 Tim Rühsen <[email protected]> |
| 1439 |
|
| 1440 |
* src/http.c: Do not reveal OS type to server via User-Agent: header |
| 1441 |
Following the "privacy by design" principle, which is now European law by |
| 1442 |
virtue of the GDPR since 2018, the client should not transmit the operating |
| 1443 |
system. |
| 1444 |
|
| 1445 |
Fixes #57884 |
| 1446 |
Reported-by: Bruno Haible |
| 1447 |
|
| 1448 |
2020-02-22 Tim Rühsen <[email protected]> |
| 1449 |
|
| 1450 |
* tests/unit-tests.c: Fix 'multiple definition of...' with gcc 10 |
| 1451 |
|
| 1452 |
Split unique_name into two functions with just one arg |
| 1453 |
* src/http.c (check_file_output): Call unique_name_passthrough. |
| 1454 |
* src/metalink.c (badhash_suffix): Call unique_name. |
| 1455 |
* src/url.c (url_file_name): Call unique_name_passthrough. |
| 1456 |
* src/utils.c: Split unique_name, amend description. |
| 1457 |
* src/utils.h: Amend unique_name, add unique_name_passthrough. |
| 1458 |
|
| 1459 |
* .gitlab-ci.yml: Set tag 'linux' explicitly for each runner |
| 1460 |
|
| 1461 |
2020-02-22 Tim Rühsen <[email protected]> |
| 1462 |
|
| 1463 |
* src/http.c (print_response_line): Fixed comparison |
| 1464 |
Introduced in 68868bbb3737d26c197f39edafc5d526334426b0 (13.2.2020). |
| 1465 |
|
| 1466 |
Reported-by: Gisle Vanem |
| 1467 |
|
| 1468 |
2020-02-21 Tim Rühsen <[email protected]> |
| 1469 |
|
| 1470 |
Add valgrind suppressions |
| 1471 |
* testenv/valgrind-suppression-ssl: Add gnutls suppressions |
| 1472 |
* tests/valgrind-suppressions: Likewise |
| 1473 |
* tests/valgrind-suppressions-ssl: Likewise |
| 1474 |
|
| 1475 |
Add --gen-suppressions=all to valgrind options |
| 1476 |
* testenv/test/base_test.py: Add --gen-suppressions=all to valgrind options |
| 1477 |
* tests/Test-proxied-https-auth.px: Likewise |
| 1478 |
* tests/WgetTests.pm: Likewise |
| 1479 |
|
| 1480 |
* cfg.mk: Exclude sc_prohibit_gnu_make_extensions |
| 1481 |
|
| 1482 |
* src/retr.c (fd_read_body): Check timer before accessing (Coverity #600494) |
| 1483 |
|
| 1484 |
* src/warc.c (warc_write_start_record): Check return values of fseek, fflush (Coverity #1419650) |
| 1485 |
|
| 1486 |
* src/ftp-ls.c (eat_carets): Fix caret decoding issue (Coverity #1419653) |
| 1487 |
|
| 1488 |
* src/warc.c (warc_write_block_from_file): Check for write error (Coverity #1419654) |
| 1489 |
|
| 1490 |
* src/warc.c (warc_write_end_record): Check return value of fseeko (Coverity #1419657) |
| 1491 |
|
| 1492 |
Add valgrind suppressions for HTTPS tests (GnuTLS false positive) |
| 1493 |
* testenv/valgrind-suppression-ssl: Add new rule |
| 1494 |
* tests/valgrind-suppressions: Likewise |
| 1495 |
* tests/valgrind-suppressions-ssl: Likewise |
| 1496 |
|
| 1497 |
2020-02-20 Tim Rühsen <[email protected]> |
| 1498 |
|
| 1499 |
* src/init.c (setoptval): Add missing comma (fix compilation) |
| 1500 |
|
| 1501 |
* .gitlab-ci.yml: Add spell-checking to VPATH/Debian |
| 1502 |
|
| 1503 |
2020-02-20 Tim Rühsen <[email protected]> |
| 1504 |
|
| 1505 |
Fix typos found by codespell |
| 1506 |
*/*: Fix typos |
| 1507 |
|
| 1508 |
Thanks to https://fossies.org/features.html#codespell |
| 1509 |
|
| 1510 |
Reported-by: Jens Schleusener |
| 1511 |
|
| 1512 |
2020-02-20 Tim Rühsen <[email protected]> |
| 1513 |
|
| 1514 |
* contrib/spell-checker: Add new file |
| 1515 |
|
| 1516 |
* src/init.c (setoptval): Silence Coverity (Coverity #1419648) |
| 1517 |
|
| 1518 |
* src/main.c (init_switches): Remove unneeded code (Coverity #1419658) |
| 1519 |
|
| 1520 |
* src/ftp-ls.c (ftp_parse_vms_ls): Fix use of uninitialized stack mem (Coverity #609373) |
| 1521 |
|
| 1522 |
2020-02-19 Tim Rühsen <[email protected]> |
| 1523 |
|
| 1524 |
* src/retr.c (retrieve_url): Fix memory leak (Coverity #1316408) |
| 1525 |
|
| 1526 |
* src/http.c (set_file_timestamp): Fix stack memory leak (Coverity #1419655) |
| 1527 |
|
| 1528 |
* src/main.c (main): Initialize variable (Coverity #1419660) |
| 1529 |
|
| 1530 |
* .gitlab-ci.yml: Fix linebreak |
| 1531 |
|
| 1532 |
* src/http.c (metalink_from_http): Fix memleak (Coverity #1419661, #1419656) |
| 1533 |
|
| 1534 |
* .gitlab-ci.yml: Add 'coverity' runner |
| 1535 |
|
| 1536 |
* contrib/mk_authors: Create list of authors and translators since last version |
| 1537 |
|
| 1538 |
* src/progress.c (eta_to_human_short): Silence -Wformat-overflow |
| 1539 |
|
| 1540 |
2020-02-14 Tim Rühsen <[email protected]> |
| 1541 |
|
| 1542 |
* .gitlab-ci.yml: Don't copy gnulib manually |
| 1543 |
|
| 1544 |
* NEWS: Update |
| 1545 |
|
| 1546 |
Remove alloca includes and macros |
| 1547 |
* bootstrap.conf: Remove gnulib module 'alloca'. |
| 1548 |
* src/sysdep.h: Remove include of alloca.h. |
| 1549 |
* src/wget.h: Likewise, |
| 1550 |
remove macros BOUNDED_TO_ALLOCA and STRDUP_ALLOCA. |
| 1551 |
|
| 1552 |
* src/utils.h: Remove alloca_array |
| 1553 |
|
| 1554 |
* src/convert.c (convert_links_in_hashtable): Remove use of alloca |
| 1555 |
|
| 1556 |
* src/convert.c (local_quote_string): Remove use of alloca |
| 1557 |
|
| 1558 |
* src/convert.c (replace_attr_refresh_hack): Remove use of alloca |
| 1559 |
|
| 1560 |
* gnulib: Update |
| 1561 |
|
| 1562 |
* bootstrap.conf: Use fnmatch-gnu instead of fnmatch |
| 1563 |
|
| 1564 |
* src/convert.c (write_backup_file): Remove use of alloca |
| 1565 |
|
| 1566 |
* src/utils.c (fnmatch_nocase): Remove FNM_CASEFOLD emulation, gnulib takes care of it |
| 1567 |
|
| 1568 |
* src/cookies.c (cookie_header): Remove use of alloca |
| 1569 |
|
| 1570 |
* src/cookies.c (cookie_header): Remove use of alloca |
| 1571 |
|
| 1572 |
* src/cookies.c (cookie_handle_set_cookie): Remove use of alloca |
| 1573 |
|
| 1574 |
* src/cookies.c (parse_set_cookie): Explicitly convert from double to time_t |
| 1575 |
|
| 1576 |
* src/cookies.c (parse_set_cookie): Remove use of alloca |
| 1577 |
|
| 1578 |
* src/warc.c (warc_uuid_str): Add second param to windows_uuid_str |
| 1579 |
|
| 1580 |
* src/cookies.c (parse_set_cookie): Remove use of alloca |
| 1581 |
|
| 1582 |
* src/main.c (main): Code clean, reduce allocations |
| 1583 |
|
| 1584 |
* src/main.c: Modify macro IF_SSL to work with latest struct changes |
| 1585 |
|
| 1586 |
* configure.ac: List 'no' for --with-ssl in help output |
| 1587 |
|
| 1588 |
2020-02-13 Tim Rühsen <[email protected]> |
| 1589 |
|
| 1590 |
* src/ftp.c (ftp_retrieve_dirs): Remove use of alloca |
| 1591 |
|
| 1592 |
* src/ftp.c (ftp_retrieve_list): Remove use of alloca |
| 1593 |
|
| 1594 |
* src/ftp.c (ftp_loop_internal): Remove use of alloca |
| 1595 |
|
| 1596 |
* src/ftp.c (getftp): Remove use of alloca |
| 1597 |
|
| 1598 |
* src/http.c: Include xstrndup.h unconditionally |
| 1599 |
|
| 1600 |
* src/ftp-basic.c (ftp_request): Remove use of alloca |
| 1601 |
|
| 1602 |
* src/html-parse.c (name_allowed): Remove use of alloca |
| 1603 |
|
| 1604 |
* src/netrc.c (search_netrc): Remove use of alloca |
| 1605 |
|
| 1606 |
* src/init.c (parse_line): Remove use of alloca |
| 1607 |
|
| 1608 |
Remove use of alloca in setoptval |
| 1609 |
* src/init.c (setoptval): Remove use of alloca |
| 1610 |
* src/init.h: Add define MAX_LONGOPTION |
| 1611 |
* src/main.c (struct cmdline_option): Make 'long_name' a char array |
| 1612 |
|
| 1613 |
* src/http.c (check_auth): Remove use of alloca |
| 1614 |
|
| 1615 |
* src/http.c (print_response_line): Remove use of alloca |
| 1616 |
|
| 1617 |
* src/http.c (request_set_user_header): Remove use of alloca |
| 1618 |
|
| 1619 |
* src/http.c (metalink_from_http): Remove use of alloca |
| 1620 |
|
| 1621 |
* src/http.c (basic_authentication_encode): Remove use of alloca |
| 1622 |
|
| 1623 |
* src/http.c (gethttp): Remove use of alloca |
| 1624 |
|
| 1625 |
* src/http.c (gethttp): Remove use of alloca |
| 1626 |
|
| 1627 |
* src/http.c (set_file_timestamp): Remove use of alloca |
| 1628 |
|
| 1629 |
* src/main.c (main): Remove use of alloca |
| 1630 |
|
| 1631 |
* src/url.c (append_uri_pathel): Replace alloca by fixed array / sprintf |
| 1632 |
|
| 1633 |
* src/url.c (append_uri_pathel): Replace alloca by fixed array / xmalloc |
| 1634 |
|
| 1635 |
* src/utils.c (make_directory): Replace alloca by fixed array / xmalloc |
| 1636 |
|
| 1637 |
* src/utils.c (unique_name_1): Replace alloca by xmalloc |
| 1638 |
|
| 1639 |
Add buffer size param to warc_uuid_str |
| 1640 |
* src/http.c (gethttp): Add buffer size param to warc_uuid_str. |
| 1641 |
* src/warc.c: Likewise |
| 1642 |
* src/warc.h: Likewise |
| 1643 |
|
| 1644 |
2020-02-12 Tim Rühsen <[email protected]> |
| 1645 |
|
| 1646 |
* src/http-ntlm.c (ntlm_output): Remove alloca |
| 1647 |
|
| 1648 |
* src/http-ntlm.c (mkhash): Replace alloca by fixed length array |
| 1649 |
|
| 1650 |
* src/http-ntlm.c (ntlm_input): Replace alloca by fixed length array |
| 1651 |
|
| 1652 |
* src/gnutls.c (ssl_init): Replace alloca by fixed length arrays |
| 1653 |
|
| 1654 |
* src/retr.c (fd_read_body): Fix signedness warnings |
| 1655 |
|
| 1656 |
* src/retr.c (rotate_backups): Replace alloca by fixed length arrays |
| 1657 |
|
| 1658 |
* src/wget.h: Add inline to _unhex |
| 1659 |
|
| 1660 |
* src/metalink.h: Include dirname.h, remove declaration of last_component |
| 1661 |
|
| 1662 |
* configure.ac: Add -Wno-undef -Wno-float-equal to gcc's WARN_CFLAGS |
| 1663 |
|
| 1664 |
* src/convert.c (convert_links): Fix previous commit |
| 1665 |
|
| 1666 |
* src/convert.c (convert_links): Add \n (Fixes #57795) |
| 1667 |
|
| 1668 |
2020-01-25 Ander Juaristi <[email protected]> |
| 1669 |
|
| 1670 |
Do not overwrite restval if len is smaller |
| 1671 |
* src/http.c (http_loop): overwrite 'restval' only if 'len' is |
| 1672 |
greater than it. Else substract 'len' to 'restval'. |
| 1673 |
|
| 1674 |
When retrying a request, only send a 'Range' header if the previous |
| 1675 |
request returned data. |
| 1676 |
|
| 1677 |
2020-01-24 Вячеслав Петрищев <[email protected]> |
| 1678 |
|
| 1679 |
Fix and cleanup progress bar code |
| 1680 |
*src/progress.c |
| 1681 |
(struct dot_progress) accumulated, rows: Type changed to wgint |
| 1682 |
(print_row_stats): Fix missing unit name 'T' |
| 1683 |
(dot_update): Add ability to reduce dot_draw runtime |
| 1684 |
(bar_update): Avoid integer overflow |
| 1685 |
|
| 1686 |
* src/progress.c: Fix MINIMUM_SCREEN_WIDTH |
| 1687 |
|
| 1688 |
* src/progress.c (prepare_filename): Replace zero-width mbc (\xe2\x80\x8b, ...) |
| 1689 |
|
| 1690 |
Reenabling filename scrolling code in progress bar |
| 1691 |
* src/progress.c: Reenabling filename scrolling code |
| 1692 |
(bar_create): Reenabling file name scrolling. |
| 1693 |
(bar_create): Memory allocation, filename preparation. |
| 1694 |
(bar_finish): Filename memory deallocation. |
| 1695 |
(prepare_filename): New function, replaces unprintable chars. |
| 1696 |
|
| 1697 |
Fix multibyte handling in progress bar |
| 1698 |
* src/progress.c |
| 1699 |
(count_cols): Fix return value if invalid multibyte sequence was encountered |
| 1700 |
(bar_draw): Fix xrealoc size |
| 1701 |
|
| 1702 |
2020-01-10 Tim Rühsen <[email protected]> |
| 1703 |
|
| 1704 |
* src/progress.c (print_row_stats): Fix two integer overflows |
| 1705 |
|
| 1706 |
* .gitlab-ci.yml: Fix path for llvm-symbolizer |
| 1707 |
|
| 1708 |
* fuzz/wget_progress_fuzzer.in/*: Add fuzzer corpora |
| 1709 |
|
| 1710 |
* src/retr.c (calc_rate): Remove unwanted assertions |
| 1711 |
|
| 1712 |
Fix buffer overflows in progress 'bar' code |
| 1713 |
* src/progress.c (progress_interactive_p): Sanitize input. |
| 1714 |
(progress_update): Likewise. |
| 1715 |
(bar_create): Use larger BUF_LEN. |
| 1716 |
(bar_create): Remove superfluous memset. |
| 1717 |
(bar_create): Fix filename layout. |
| 1718 |
(bar_create): Remove filename scrolling code, it caused many buffer |
| 1719 |
overflows later in bar_create. |
| 1720 |
(bar_create): Support TB/s download speed. |
| 1721 |
|
| 1722 |
Add new fuzzer for the progress bar code |
| 1723 |
* Makefile.am: Add wget_progress_fuzzer. |
| 1724 |
* wget_progress_fuzzer.c: New file. |
| 1725 |
|
| 1726 |
2020-01-10 Darshit Shah <[email protected]> |
| 1727 |
|
| 1728 |
Update copyright year to 2020 |
| 1729 |
|
| 1730 |
* cfg.mk: Set update-copyright to use intervals |
| 1731 |
|
| 1732 |
2019-12-27 Tim Rühsen <[email protected]> |
| 1733 |
|
| 1734 |
Fix segfault in progress bar in certain locales |
| 1735 |
* src/progress.c (create_image): Protect memset from negative count |
| 1736 |
|
| 1737 |
Reported-by: JunDong Xie |
| 1738 |
|
| 1739 |
2019-12-27 Tim Rühsen <[email protected]> (tiny change) |
| 1740 |
|
| 1741 |
* src/progress.c (count_cols): Fix return value if USE_NLS_PROGRESS_BAR is undefined |
| 1742 |
Taking patch from #54126 |
| 1743 |
Reported-by: Vyacheslav |
| 1744 |
|
| 1745 |
2019-12-27 Tim Rühsen <[email protected]> |
| 1746 |
|
| 1747 |
* src/progress.c: Allow const names for set_progress_implementation. |
| 1748 |
|
| 1749 |
* src/progress.c (dot_draw): Avoid integer overflow |
| 1750 |
|
| 1751 |
* fuzz/README.md: Add --enable-assert to fuzzing build |
| 1752 |
|
| 1753 |
* src/progress.c (print_row_stats): Fix UB if eta < 0 |
| 1754 |
|
| 1755 |
* src/progress.c (dot_update, dot_finish): Sanitize input |
| 1756 |
|
| 1757 |
* src/retr.c (calc_rate): Fix division by 0 |
| 1758 |
|
| 1759 |
* src/retr.c (calc_rate): Add TB/s |
| 1760 |
|
| 1761 |
* src/progress.c (create_image): Sanitize input param 'dl_total_time' |
| 1762 |
|
| 1763 |
* fuzz/README.md: Update clang instructions |
| 1764 |
|
| 1765 |
2019-12-26 Lauri Nurmi <[email protected]> (tiny change) |
| 1766 |
|
| 1767 |
Mark note to translators properly and elaborate its contents. |
| 1768 |
* src/progress.c (create_image): Likewise |
| 1769 |
|
| 1770 |
The note was not even picked by xgettext to be included in the .pot, |
| 1771 |
so barely any translators even saw the note. |
| 1772 |
Also, this is one of the most cryptic messages to translate in wget, |
| 1773 |
unless the translator happens to guess where the string is used, |
| 1774 |
or looks at the source. |
| 1775 |
|
| 1776 |
2019-12-26 Lauri Nurmi <[email protected]> (tiny change) |
| 1777 |
|
| 1778 |
* src/main.c (print_help): Don't cut translatable string mid-sentence. |
| 1779 |
Complicates translating. |
| 1780 |
|
| 1781 |
2019-11-24 Tim Rühsen <[email protected]> |
| 1782 |
|
| 1783 |
* fuzz/wget_read_hunk_fuzzer.c: Use cast to fix C++ error |
| 1784 |
|
| 1785 |
2019-11-21 Tim Rühsen <[email protected]> |
| 1786 |
|
| 1787 |
* src/Makefile.am: Add build_info.c to EXTRA_DIST |
| 1788 |
|
| 1789 |
* .gitlab-ci.yml: Skip tests on tarball build due to missing perl |
| 1790 |
|
| 1791 |
* tests/WgetTests.pm: Support to set the wget executable for testing |
| 1792 |
|
| 1793 |
* .gitlab-ci.yml: Add --with-ssl=no |
| 1794 |
|
| 1795 |
* .gitlab-ci.yml: Allow failure for Valgrind and Scan-Build CI runner |
| 1796 |
|
| 1797 |
* src/ftp.c (delelement): Make sure free'd pointer is set to NULL |
| 1798 |
|
| 1799 |
* configure.ac: Remove -fno-sanitize-recover=integer |
| 1800 |
With this option on, several overflows from gnulib code (all |
| 1801 |
harmless and on purpose) would break our tests. |
| 1802 |
|
| 1803 |
2019-11-21 Tim Rühsen <[email protected]> |
| 1804 |
|
| 1805 |
Replace XDIGIT_TO_NUM by _unhex() with proper unsigned handling |
| 1806 |
* src/wget.h: Replace XDIGIT_TO_NUM by _unhex() |
| 1807 |
* src/html-parse.c (decode_entity): Use _unhex() |
| 1808 |
* src/host.c (is_valid_ipv6_address): Use _unhex() |
| 1809 |
* src/url.c (url_unescape_1): Use unsigned char to avoid UB |
| 1810 |
* src/res.c (free_specs): Likewise |
| 1811 |
|
| 1812 |
Code taken from Wget2. XDIGIT_TO_NUM had a signed issue, detected by |
| 1813 |
scan-build static anylyzer. |
| 1814 |
|
| 1815 |
2019-11-21 Tim Rühsen <[email protected]> |
| 1816 |
|
| 1817 |
* src/connect.c (select_fd): Check for negative fd |
| 1818 |
|
| 1819 |
* .gitlab-ci.yml: Enable Windows executables for MinGW runner |
| 1820 |
|
| 1821 |
* .gitlab-ci.yml: Add CI runners from Wget2 |
| 1822 |
|
| 1823 |
2019-11-21 Tomas Hozza <[email protected]> |
| 1824 |
|
| 1825 |
testenv: enable running tests on different wget binary |
| 1826 |
* testenv/README: Document $WGET_PATH |
| 1827 |
* testenv/test/base_test.py: Use $WGET_PATH instead ../src/wget if set |
| 1828 |
|
| 1829 |
Previously tests in testenv/ directory were run only on wget binary |
| 1830 |
which was built from sources in src/ directory. However as a |
| 1831 |
wget maintainer in a Linux distribution, I would like to be able to run |
| 1832 |
upstream tests on the wget binary distributed with the distribution. |
| 1833 |
|
| 1834 |
This change enables one to define WGET_PATH environment variable |
| 1835 |
to a path to wget binary which should be used by tests. |
| 1836 |
|
| 1837 |
2019-11-21 Tim Rühsen <[email protected]> |
| 1838 |
|
| 1839 |
* AUTHORS: Add Darshit Shah and Tim Rühsen as maintainers |
| 1840 |
|
| 1841 |
2019-11-19 Tim Rühsen <[email protected]> |
| 1842 |
|
| 1843 |
* src/cookie.c: Fix cookie file header to be recognized by 'file' |
| 1844 |
|
| 1845 |
* .mailmap: Allow mapping contributors for statistics |
| 1846 |
|
| 1847 |
2019-10-03 Darshit Shah <[email protected]> |
| 1848 |
|
| 1849 |
* configure.ac: Ignore -Wchkp which is deprecated |
| 1850 |
|
| 1851 |
Update gnulib |
| 1852 |
* gnulib: Pull submodule |
| 1853 |
* bootstrap: Update file from gnulib |
| 1854 |
|
| 1855 |
2019-05-30 Tim Rühsen <[email protected]> |
| 1856 |
|
| 1857 |
Revert "Add . to perl path for all perl tests" |
| 1858 |
This reverts commit 79be99aff4717a75ec7531d8b3a4ec96341754ca. |
| 1859 |
|
| 1860 |
/usr/bin/env 8.28 and below doesn't know -S. |
| 1861 |
|
| 1862 |
2019-05-30 Darshit Shah <[email protected]> |
| 1863 |
|
| 1864 |
Revert " Hi, Thank you again Darshit for your response. The RejectHeaderField rule rejects ANY header" |
| 1865 |
I accidentally commited this patch. |
| 1866 |
|
| 1867 |
This reverts commit 4ce2f93600827f47f7fea5e7eeb224232cef3c3d. |
| 1868 |
|
| 1869 |
2019-05-30 Darshit Shah <[email protected]> |
| 1870 |
|
| 1871 |
* .gitignore: Update gitignore file |
| 1872 |
|
| 1873 |
2019-05-30 sulfastor <[email protected]> |
| 1874 |
|
| 1875 |
Hi, Thank you again Darshit for your response. The RejectHeaderField rule rejects ANY header of the header field while RejectHeader rejects ONLY the specified full header. Since we wanted to be sure a header field is not sent to the server we wrote this rule. |
| 1876 |
* doc/wget.texi: Added --disable-header documentation. |
| 1877 |
* fuzz/wget_options_fuzzer.dict: Update with --disable-header inputs. |
| 1878 |
* src/http.c (disabled_header): Checks for disabled headers |
| 1879 |
(request_set_header): Doesn't let header to be set if disabled |
| 1880 |
(gethttp): frees disabled header to let overriding |
| 1881 |
* src/init.c (cmd_dis_header), (check_user_disabled_header) added new option disabled_headers. |
| 1882 |
* src/main.c: added new option --disable-header, added help description |
| 1883 |
* src/options.h: added new option --disable-header |
| 1884 |
* src/utils.h (vec_remove_header) |
| 1885 |
* src/utils.c (vec_remove_header) removes all header instances from vector |
| 1886 |
* testenv/Makefile.am: Added new test files |
| 1887 |
* testenv/server/http/http_server.py: Added new rule RejectHeaderField |
| 1888 |
* testenv/conf/reject_header_field.py: Added new rule RejectHeaderField |
| 1889 |
* testenv/README: Added help description for new rule |
| 1890 |
* testenv/Test-disable-default-headers.py: Test without using --header |
| 1891 |
* testenv/Test-disable-headers-after.py: Test using --header before --disable-header |
| 1892 |
* testenv/Test-disable-headers-before.py: Test using --header after --disable-header |
| 1893 |
|
| 1894 |
2019-05-28 Tim Rühsen <[email protected]> |
| 1895 |
|
| 1896 |
* src/log.c (log_vprintf_internal): Don't log twice |
| 1897 |
|
| 1898 |
2019-05-25 AviSoomirtee <[email protected]> (tiny change) |
| 1899 |
|
| 1900 |
* src/openssl.c (ssl_init): post handshake auth for OpenSSL |
| 1901 |
|
| 1902 |
2019-05-24 Tim Rühsen <[email protected]> |
| 1903 |
|
| 1904 |
* bootstrap.conf: Explicitly set source_base and test_base |
| 1905 |
|
| 1906 |
2019-05-07 Tim Rühsen <[email protected]> |
| 1907 |
|
| 1908 |
* src/convert.c (convert_basename): Do not pass NULL to strrchr() |
| 1909 |
|
| 1910 |
* src/url.c (append_uri_pathel): Check for possible NULL dereference |
| 1911 |
|
| 1912 |
* fuzz/main.c: Fix paths for WIN32 |
| 1913 |
|
| 1914 |
* bootstrap.conf: Work around VPATH issue |
| 1915 |
|
| 1916 |
* configure.ac: Update gettext version to 0.19.3 |
| 1917 |
|
| 1918 |
* bootstrap.conf: Remove rsync as prerequisite |
| 1919 |
'./bootstrap --skip-po' won't need wget nor rsync |
| 1920 |
|
| 1921 |
* bootstrap.conf: Replace prerequisite xz by gzip |
| 1922 |
|
| 1923 |
2019-05-03 Tim Rühsen <[email protected]> |
| 1924 |
|
| 1925 |
Add sanitizer flags for ./configure |
| 1926 |
* bootstrap.conf: Add 'warning' gnulib module |
| 1927 |
* configure.ac: Add --enable-fsanitize-* flags |
| 1928 |
* tests/Makefile.am: Add compiler flags for unit testing |
| 1929 |
|
| 1930 |
2019-05-02 Tim Rühsen <[email protected]> |
| 1931 |
|
| 1932 |
Add --enable-manywarnings from wget2 |
| 1933 |
* .gitignore: Exclude /lib/Makefile.am |
| 1934 |
* bootstrap.conf: Use --makefile-name=gnulib.mk with gnulib-tool |
| 1935 |
* configure.ac: Use wget_MANYWARNINGS() |
| 1936 |
* lib/Makefile.am: Define empty noinst_LIBRARIES and MAINTAINERCLEANFILES |
| 1937 |
* m4/wget_manywarnings.m4: New file from GNU Wget2 |
| 1938 |
* src/Makefile.am: Use WARN_CFLAGS for AM_CFLAGS |
| 1939 |
|
| 1940 |
2019-04-28 Tim Rühsen <[email protected]> |
| 1941 |
|
| 1942 |
Add CONTRIBUTING.md |
| 1943 |
* CONTRIBUTING.md: New file for contributors |
| 1944 |
* README: Mention CONTRIBUTING.md |
| 1945 |
|
| 1946 |
2019-04-26 Tim Rühsen <[email protected]> |
| 1947 |
|
| 1948 |
* fuzz/*.in/*: Update corpora from OSS-fuzz |
| 1949 |
|
| 1950 |
* fuzz/get_ossfuzz_corpora: Remove -f from unzip, mkdir *.in/ |
| 1951 |
|
| 1952 |
* .gitlab-ci.yml: Update Gitlab CI WORKDIR to /usr/local |
| 1953 |
|
| 1954 |
2019-04-26 Eneas U de Queiroz <[email protected]> (tiny change) |
| 1955 |
|
| 1956 |
* src/openssl.c: fix ssl_init for openssl 1.1.1 |
| 1957 |
ssl_init fails with openssl 1.1.1 when openssl.cnf is not found. |
| 1958 |
Redundant calls to intialization functions were removed as |
| 1959 |
OPENSSL_config takes care of them for openssl versions < 1.1.0. |
| 1960 |
For versions > 1.1.0, OPENSSL_init_ssl is preferred. |
| 1961 |
|
| 1962 |
2019-04-11 Leif Ryge <[email protected]> (tiny change) |
| 1963 |
|
| 1964 |
* doc/wget.texi: Fix typo in man page |
| 1965 |
|
| 1966 |
2019-04-11 raminfp <[email protected]> |
| 1967 |
|
| 1968 |
[log] miss check If logging is inhibited |
| 1969 |
|
| 1970 |
2019-04-05 Tim Rühsen <[email protected]> |
| 1971 |
|
| 1972 |
* src/iri.c (do_conversion): Remove unneeded debug lines |
| 1973 |
|
| 1974 |
2019-04-05 Darshit Shah <[email protected]> |
| 1975 |
|
| 1976 |
* NEWS: Update NEWS for new release |
| 1977 |
|
| 1978 |
2019-04-05 Tim Ruehsen <[email protected]> |
| 1979 |
|
| 1980 |
Fix a buffer overflow vulnerability |
| 1981 |
* src/iri.c(do_conversion): Reallocate the output buffer to a larger |
| 1982 |
size if it is already full |
| 1983 |
|
| 1984 |
2019-04-05 Darshit Shah <[email protected]> |
| 1985 |
|
| 1986 |
* NEWS: Update NEWS for new release |
| 1987 |
|
| 1988 |
2019-04-03 Tim Rühsen <[email protected]> |
| 1989 |
|
| 1990 |
* src/openssl.c (ssl_init): Check for X509_V_FLAG_PARTIAL_CHAIN |
| 1991 |
|
| 1992 |
2019-04-01 Darshit Shah <[email protected]> |
| 1993 |
|
| 1994 |
* gnulib: Pull forward |
| 1995 |
|
| 1996 |
2019-03-26 Tim Rühsen <[email protected]> |
| 1997 |
|
| 1998 |
* fuzz/main.c (test_all_from): Fix indentation |
| 1999 |
|
| 2000 |
2019-03-25 Tim Rühsen <[email protected]> |
| 2001 |
|
| 2002 |
Fix corner case in processing server response |
| 2003 |
* src/http.c (response_head_terminator): Don't access uninitialized data |
| 2004 |
* fuzz/wget_read_hunk_fuzzer.c: Sync response_head_terminator() |
| 2005 |
|
| 2006 |
Add new fuzzer wget_read_hunk_fuzzer.c |
| 2007 |
* fuzz/Makefile.am: Add wget_read_hunk_fuzzer |
| 2008 |
* fuzz/wget_read_hunk_fuzzer.c: New file |
| 2009 |
* fuzz/wget_read_hunk_fuzzer.in/*: Fuzz corpora |
| 2010 |
* src/connect.c: Add connect_cleanup() |
| 2011 |
* src/connect.h: Add prototype for connect_cleanup() |
| 2012 |
|
| 2013 |
2019-03-03 Tim Rühsen <[email protected]> |
| 2014 |
|
| 2015 |
* fuzz/wget_netrc_fuzzer.c: Fix fuzzer |
| 2016 |
|
| 2017 |
* fuzz/wget_ftpls_fuzzer.c: Fix fuzzer |
| 2018 |
|
| 2019 |
2019-02-22 Jeffrey Walton <[email protected]> |
| 2020 |
|
| 2021 |
* src/openssl.c (ssl_init): Trust partial cert chain |
| 2022 |
|
| 2023 |
2019-02-20 Tim Rühsen <[email protected]> |
| 2024 |
|
| 2025 |
* src/ftp-ls.c (ftp_parse_vms_ls): Use snprintf instead of strcpy/strcat |
| 2026 |
|
| 2027 |
2019-02-19 Darshit Shah <[email protected]> |
| 2028 |
|
| 2029 |
* src/html-url.c(get_urls_html_fm): Add message in verbose mode with no-follow attribute |
| 2030 |
|
| 2031 |
2019-02-19 Tim Rühsen <[email protected]> |
| 2032 |
|
| 2033 |
Fix fuzz/ tests for OpenBSD |
| 2034 |
* fuzz/wget_*_fuzzer.c: Take care when calling exit() |
| 2035 |
|
| 2036 |
* fuzz/Makefile.am: Remove hard-coded gcc flags |
| 2037 |
|
| 2038 |
Fix STDERR closing/restoring in fuzzers |
| 2039 |
* fuzz/fuzzer.h: Add CLOSE_STDERR and RESTORE_STDERR |
| 2040 |
* fuzz/wget_*_fuzzer.c: Use CLOSE_STDERR and RESTORE_STDERR |
| 2041 |
|
| 2042 |
* configure.ac: Rearrange AM_ICONV before gl_INIT |
| 2043 |
|
| 2044 |
2019-02-19 Tim Rühsen <[email protected]> |
| 2045 |
|
| 2046 |
Do not hard-code -ldl in fuzz/Makefile.am |
| 2047 |
* configure.ac: Search for dlopen and add library to $FUZZ_LIBS |
| 2048 |
* fuzz/Makefile.am: Link with $FUZZ_LIBS instead of -ldl |
| 2049 |
|
| 2050 |
This fixes linking on BSD systems. |
| 2051 |
|
| 2052 |
Reported-by: Nam Nguyen |
| 2053 |
|
| 2054 |
2019-02-14 Tim Rühsen <[email protected]> |
| 2055 |
|
| 2056 |
* doc/wget.texi: Correct --logfile -> --output-file |
| 2057 |
|
| 2058 |
2019-02-10 Darshit Shah <[email protected]> |
| 2059 |
|
| 2060 |
Update gnulib |
| 2061 |
|
| 2062 |
Update copyright statements |
| 2063 |
|
| 2064 |
2019-01-23 Leon Klingele <[email protected]> (tiny change) |
| 2065 |
|
| 2066 |
docs: --no-cache also sets the 'Cache-Control: no-cache' header |
| 2067 |
* doc/wget.texi: Add Cache-Control to docs |
| 2068 |
* src/wget.h: Add Cache-Control to comment of SEND_NOCACHE |
| 2069 |
|
| 2070 |
2019-01-20 Tim Rühsen <[email protected]> |
| 2071 |
|
| 2072 |
* .gitlab-ci.yml: Add minimal build |
| 2073 |
|
| 2074 |
* src/init.c (cleanup): Check HAVE_HSTS |
| 2075 |
Reported-by: Simon Dales |
| 2076 |
|
| 2077 |
2018-12-31 André Wolski <[email protected]> |
| 2078 |
|
| 2079 |
NTLM restart authentication (trivial change) |
| 2080 |
* src/http-ntlm.c (ntlm_input): Continue on NTLMSTATE_LAST, |
| 2081 |
error on NTLMSTATE_TYPE3 |
| 2082 |
|
| 2083 |
The code comes from the cURL project. Thanks to Daniel Stenberg |
| 2084 |
for donating the code. |
| 2085 |
|
| 2086 |
https://lists.gnu.org/archive/html/bug-wget/2018-12/msg00030.html |
| 2087 |
|
| 2088 |
2018-12-28 Tim Rühsen <[email protected]> |
| 2089 |
|
| 2090 |
* contrib/spell-checker: Remove trailing whitespace |
| 2091 |
|
| 2092 |
Fix typos detected by codespell (via contrib/spell-checker) |
| 2093 |
|
| 2094 |
* contrib/spell-checker: Add script for spell checking |
| 2095 |
|
| 2096 |
2018-12-27 Tim Rühsen <[email protected]> |
| 2097 |
|
| 2098 |
* fuzz/Makefile.am: Fix order of libraries for linking |
| 2099 |
|
| 2100 |
* src/wget.h: #undef _Noreturn when building with C++ |
| 2101 |
|
| 2102 |
* src/gnutls.c (ssl_connect_wget): Fix call to gnutls_set_default_priority() |
| 2103 |
|
| 2104 |
2018-12-26 Tim Rühsen <[email protected]> |
| 2105 |
|
| 2106 |
* NEWS: Add release changes for 1.20.1 |
| 2107 |
|
| 2108 |
2018-12-26 Tim Rühsen <[email protected]> |
| 2109 |
|
| 2110 |
Don't save user/pw with --xattr |
| 2111 |
Also the Referer info is reduced to scheme+host+port. |
| 2112 |
|
| 2113 |
* src/ftp.c (getftp): Change params of set_file_metadata() |
| 2114 |
* src/http.c (gethttp): Change params of set_file_metadata() |
| 2115 |
* src/xattr.c (set_file_metadata): Remove user/password from origin URL, |
| 2116 |
reduce Referer value to scheme/host/port. |
| 2117 |
* src/xattr.h: Change prototype of set_file_metadata() |
| 2118 |
|
| 2119 |
2018-12-26 Tim Rühsen <[email protected]> |
| 2120 |
|
| 2121 |
Don't use extended attributes (--xattr) by default |
| 2122 |
* src/init.c (defaults): Set enable_xattr to false by default |
| 2123 |
* src/main.c (print_help): Reverse option logic of --xattr |
| 2124 |
* doc/wget.texi: Add description for --xattr |
| 2125 |
|
| 2126 |
Users may not be aware that the origin URL and Referer are saved |
| 2127 |
including credentials, and possibly access tokens within |
| 2128 |
the urls. |
| 2129 |
|
| 2130 |
2018-12-13 Tim Rühsen <[email protected]> |
| 2131 |
|
| 2132 |
* .travis.yml: Email to wget-dev instead bug-wget mailing list |
| 2133 |
|
| 2134 |
2018-11-30 Darshit Shah <[email protected]> |
| 2135 |
|
| 2136 |
* NEWS: Prepare for new version |
| 2137 |
|
| 2138 |
2018-11-13 Darshit Shah <[email protected]> |
| 2139 |
|
| 2140 |
* contrib/make-release: Add a small checklist for pending tasks |
| 2141 |
|
| 2142 |
Prepare NEWS for new release |
| 2143 |
|
| 2144 |
* configure.ac: gnulib now expects autoconf >=2.63 |
| 2145 |
|
| 2146 |
* gnulib: Update library |
| 2147 |
|
| 2148 |
2018-11-13 Jay Satiro <[email protected]> |
| 2149 |
|
| 2150 |
* src/init.c: Stop freeing the pointer returned by ws_mypath() |
| 2151 |
.. since ws_mypath() saves the address it returns in a static pointer |
| 2152 |
for reuse, to also be returned in later calls. |
| 2153 |
|
| 2154 |
2018-11-13 Darshit Shah <[email protected]> |
| 2155 |
|
| 2156 |
* src/ftp.c(ftp_retrieve_glob): Honor {accept,reject}-regex switches as well |
| 2157 |
|
| 2158 |
* src/ftp.c (ftp_retrieve_glob): Refactor to prevent looping over listing multiple times |
| 2159 |
|
| 2160 |
2018-11-11 Tim Rühsen <[email protected]> |
| 2161 |
|
| 2162 |
* .gitlab-ci.yml: Split into GnuTLS and OpenSSL build |
| 2163 |
|
| 2164 |
* Makefile.am: dist clean po/stamp-po |
| 2165 |
|
| 2166 |
Remove auto-generated files from po/ |
| 2167 |
|
| 2168 |
Add VPATH build |
| 2169 |
|
| 2170 |
2018-11-09 Tim Rühsen <[email protected]> |
| 2171 |
|
| 2172 |
Revert "Bail out on unexpected 416 server errors" |
| 2173 |
This reverts commit 6f3b9959935ad7640bcf48a0a93848ed25ff8963. |
| 2174 |
|
| 2175 |
The code is obviously wrong, see https://savannah.gnu.org/bugs/?54963 |
| 2176 |
Also, the example from the original post doesn't work any more. |
| 2177 |
With other words, the broken server behavior has been fixed meanwhile. |
| 2178 |
|
| 2179 |
2018-11-09 Rosen Penev <[email protected]> (tiny change) |
| 2180 |
|
| 2181 |
openssl: Do not use engines when OpenSSL does not support |
| 2182 |
* src/openssl.c: Check for OPENSSL_NO_ENGINE before |
| 2183 |
including openssl/engine.h and before calling ENGINE_load_builtin_engines() |
| 2184 |
|
| 2185 |
Fixes compilation with no engines compiled. |
| 2186 |
|
| 2187 |
2018-11-09 Tim Rühsen <[email protected]> |
| 2188 |
|
| 2189 |
Fix HTTPS Perl tests |
| 2190 |
* tests/SSLTest.pm: Rename server cert and key file |
| 2191 |
* tests/Test-https*.px: Fix and remove OpenSSL hard-coding |
| 2192 |
* tests/certs/create-certs.sh: Script to generate test files |
| 2193 |
* tests/certs/*-template.txt: GnuTLS template files for certs and crl |
| 2194 |
* tests/certs/*.pem: Keys, certs, crls |
| 2195 |
* tests/certs/README: Removed commands, link to create-certs.sh |
| 2196 |
|
| 2197 |
2018-10-28 Kapus, Timotej <[email protected]> (tiny change) |
| 2198 |
|
| 2199 |
Replace some loops with string.h functions |
| 2200 |
* src/init.c: Replace loop with strspn |
| 2201 |
* src/url.c: Replace loop with strrchr |
| 2202 |
|
| 2203 |
2018-10-26 Luiz Angelo Daros de Luca <[email protected]> (tiny change) |
| 2204 |
|
| 2205 |
* .gitmodules: Use https:// instead of git:// for gnulib |
| 2206 |
git:// does not work over http proxy |
| 2207 |
|
| 2208 |
* src/host.c (sufmatch): Fix dot-prefixed domain matching |
| 2209 |
Current sufmatch does not match when domain is dot-prefixed. |
| 2210 |
The example of no_proxy in man (.mit.edu) does use a dot-prefixed |
| 2211 |
domain. |
| 2212 |
|
| 2213 |
2018-10-26 Tim Rühsen <[email protected]> |
| 2214 |
|
| 2215 |
* src/convert.c (convert_links): Fix fallthrough |
| 2216 |
|
| 2217 |
2018-10-22 Darshit Shah <[email protected]> |
| 2218 |
|
| 2219 |
* bootstrap: Update script from gnulib |
| 2220 |
|
| 2221 |
* gnulib: Update library |
| 2222 |
|
| 2223 |
2018-10-19 Tim Rühsen <[email protected]> |
| 2224 |
|
| 2225 |
* .lgtm.yml: New file to add LGTM to Gitlab.com CI |
| 2226 |
|
| 2227 |
2018-10-16 Tim Rühsen <[email protected]> |
| 2228 |
|
| 2229 |
* configure.ac: Fix build issue with libgpgme |
| 2230 |
|
| 2231 |
2018-10-14 Tim Rühsen <[email protected]> |
| 2232 |
|
| 2233 |
* fuzz/*_fuzzer.in/*: Update fuzzer corpora |
| 2234 |
|
| 2235 |
2018-10-08 Nikos Mavrogiannopoulos <[email protected]> |
| 2236 |
|
| 2237 |
Enable post-handshake auth under gnutls on TLS1.3 |
| 2238 |
|
| 2239 |
2018-09-20 Tim Rühsen <[email protected]> |
| 2240 |
|
| 2241 |
* src/http.c (resp_new): Fix code to avoid false positive by clang |
| 2242 |
|
| 2243 |
* src/convert.c (convert_links): Fix code to avoid false positive by clang |
| 2244 |
|
| 2245 |
2018-09-19 Tim Rühsen <[email protected]> |
| 2246 |
|
| 2247 |
Add support for PCRE2 pattern matching |
| 2248 |
* configure.ac: Check for libpcre2-8 |
| 2249 |
* src/init.c (choices): Test for HAVE_LIBPCRE2 |
| 2250 |
* src/main.c (main): Set regex compile and match functions |
| 2251 |
* src/options.h: Test for HAVE_LIBPCRE2 |
| 2252 |
* src/utils.c: Include pcre2.h, add functions |
| 2253 |
compile_pcre2_regex() and match_pcre2_regex() |
| 2254 |
* src/utils.h: Declare compile_pcre2_regex() and match_pcre2_regex() |
| 2255 |
|
| 2256 |
Fixes #54677 |
| 2257 |
Reported-by: Noël Köthe |
| 2258 |
|
| 2259 |
2018-09-07 Tim Rühsen <[email protected]> |
| 2260 |
|
| 2261 |
Add . to perl path for all perl tests |
| 2262 |
* tests/*.px: Add -I . to the shebang |
| 2263 |
|
| 2264 |
This allows perl test to be run from tests/ directory, e.g. via |
| 2265 |
./Test--post-file.px |
| 2266 |
|
| 2267 |
2018-09-07 Tomas Hozza <[email protected]> |
| 2268 |
|
| 2269 |
Add TLS 1.3 support for GnuTLS |
| 2270 |
* doc/wget.texi: Add "TLSv1_3" to --secure-protocol |
| 2271 |
* src/gnutls.c (set_prio_default): Use GNUTLS_TLS1_3 where needed |
| 2272 |
|
| 2273 |
Wget currently allows specifying "TLSv1_3" as the parameter for |
| 2274 |
--secure-protocol option. However it is only implemented for OpenSSL |
| 2275 |
and in case wget is compiled with GnuTLS, it causes wget to abort with: |
| 2276 |
GnuTLS: unimplemented 'secure-protocol' option value 6 |
| 2277 |
|
| 2278 |
GnuTLS contains TLS 1.3 implementation since version 3.6.3 [1]. However |
| 2279 |
currently it must be enabled explicitly in the application of it to be |
| 2280 |
used. This will change after the draft is finalized. [2] However for |
| 2281 |
the time being, I enabled it explicitly in case "TLSv1_3" is used with |
| 2282 |
--secure-protocol. |
| 2283 |
|
| 2284 |
I also fixed man page to contain "TLSv1_3" in all listings of available |
| 2285 |
parameters for --secure-protocol |
| 2286 |
|
| 2287 |
[1] https://lists.gnupg.org/pipermail/gnutls-devel/2018-July/008584.html |
| 2288 |
[2] https://nikmav.blogspot.com/2018/05/gnutls-and-tls-13.html |
| 2289 |
|
| 2290 |
2018-08-29 Tomas Korbar <[email protected]> |
| 2291 |
|
| 2292 |
Avoid creating empty wget-log when using -O and -q in background |
| 2293 |
* src/log.c (check_redirect_output): Check for quiet mode |
| 2294 |
|
| 2295 |
2018-08-27 Tomas Hozza <[email protected]> |
| 2296 |
|
| 2297 |
* src/warc.c (warc_write_cdx_record): Fix RESOURCE LEAK found by Coverity |
| 2298 |
Error: RESOURCE_LEAK (CWE-772): - REAL ERROR |
| 2299 |
wget-1.19.5/src/warc.c:1376: alloc_fn: Storage is returned from allocation function "url_escape". |
| 2300 |
wget-1.19.5/src/url.c:284:3: alloc_fn: Storage is returned from allocation function "url_escape_1". |
| 2301 |
wget-1.19.5/src/url.c:255:3: alloc_fn: Storage is returned from allocation function "xmalloc". |
| 2302 |
wget-1.19.5/lib/xmalloc.c:41:11: alloc_fn: Storage is returned from allocation function "malloc". |
| 2303 |
wget-1.19.5/lib/xmalloc.c:41:11: var_assign: Assigning: "p" = "malloc(n)". |
| 2304 |
wget-1.19.5/lib/xmalloc.c:44:3: return_alloc: Returning allocated memory "p". |
| 2305 |
wget-1.19.5/src/url.c:255:3: var_assign: Assigning: "newstr" = "xmalloc(newlen + 1)". |
| 2306 |
wget-1.19.5/src/url.c:258:3: var_assign: Assigning: "p2" = "newstr". |
| 2307 |
wget-1.19.5/src/url.c:275:3: return_alloc: Returning allocated memory "newstr". |
| 2308 |
wget-1.19.5/src/url.c:284:3: return_alloc_fn: Directly returning storage allocated by "url_escape_1". |
| 2309 |
wget-1.19.5/src/warc.c:1376: var_assign: Assigning: "redirect_location" = storage returned from "url_escape(redirect_location)". |
| 2310 |
wget-1.19.5/src/warc.c:1381: noescape: Resource "redirect_location" is not freed or pointed-to in "fprintf". |
| 2311 |
wget-1.19.5/src/warc.c:1387: leaked_storage: Returning without freeing "redirect_location" leaks the storage that it points to. |
| 2312 |
\# 1385| fflush (warc_current_cdx_file); |
| 2313 |
\# 1386| |
| 2314 |
\# 1387|-> return true; |
| 2315 |
\# 1388| } |
| 2316 |
\# 1389| |
| 2317 |
|
| 2318 |
url_escape() really returns a newly allocated memory and it leaks when the warc_write_cdx_record() returns. The memory returned from url_escape() is usually stored in a temporary variable in other parts of the project and then freed. I took the same approach. |
| 2319 |
|
| 2320 |
2018-08-27 Tomas Hozza <[email protected]> |
| 2321 |
|
| 2322 |
* src/warc.c (warc_write_start_record): Fix potential RESOURCE LEAK |
| 2323 |
In warc_write_start_record() function, the reutrn value of dup() is |
| 2324 |
directly used in gzdopen() call and not stored anywhere. However the |
| 2325 |
zlib documentation says that "The duplicated descriptor should be saved |
| 2326 |
to avoid a leak, since gzdopen does not close fd if it fails." [1]. |
| 2327 |
This change stores the FD in a variable and closes it in case gzopen() |
| 2328 |
fails. |
| 2329 |
|
| 2330 |
[1] https://www.zlib.net/manual.html |
| 2331 |
|
| 2332 |
Error: RESOURCE_LEAK (CWE-772): |
| 2333 |
wget-1.19.5/src/warc.c:217: open_fn: Returning handle opened by "dup". |
| 2334 |
wget-1.19.5/src/warc.c:217: leaked_handle: Failing to save or close handle opened by "dup(fileno(warc_current_file))" leaks it. |
| 2335 |
\# 215| |
| 2336 |
\# 216| /* Start a new GZIP stream. */ |
| 2337 |
\# 217|-> warc_current_gzfile = gzdopen (dup (fileno (warc_current_file)), "wb9"); |
| 2338 |
\# 218| warc_current_gzfile_uncompressed_size = 0; |
| 2339 |
\# 219| |
| 2340 |
|
| 2341 |
2018-08-27 Tomas Hozza <[email protected]> |
| 2342 |
|
| 2343 |
* src/utils.c (open_stat): Fix RESOURCE LEAK found by Coverity |
| 2344 |
Error: RESOURCE_LEAK (CWE-772): |
| 2345 |
wget-1.19.5/src/utils.c:914: open_fn: Returning handle opened by "open". [Note: The source code implementation of the function has been overridden by a user model.] |
| 2346 |
wget-1.19.5/src/utils.c:914: var_assign: Assigning: "fd" = handle returned from "open(fname, flags, mode)". |
| 2347 |
wget-1.19.5/src/utils.c:921: noescape: Resource "fd" is not freed or pointed-to in "fstat". [Note: The source code implementation of the function has been overridden by a builtin model.] |
| 2348 |
wget-1.19.5/src/utils.c:924: leaked_handle: Handle variable "fd" going out of scope leaks the handle. |
| 2349 |
\# 922| { |
| 2350 |
\# 923| logprintf (LOG_NOTQUIET, _("Failed to stat file %s, error: %s\n"), fname, strerror(errno)); |
| 2351 |
\# 924|-> return -1; |
| 2352 |
\# 925| } |
| 2353 |
\# 926| #if !(defined(WINDOWS) || defined(__VMS)) |
| 2354 |
|
| 2355 |
This seems to be a real issue, since the opened file descriptor in "fd" |
| 2356 |
would leak. There is also additional check below the "fstat" call, which |
| 2357 |
closes the opened "fd". |
| 2358 |
|
| 2359 |
2018-08-27 Tomas Hozza <[email protected]> |
| 2360 |
|
| 2361 |
* src/http.c (http_loop): Fix RESOURCE LEAK found by Coverity |
| 2362 |
Error: RESOURCE_LEAK (CWE-772): |
| 2363 |
wget-1.19.5/src/http.c:4486: alloc_fn: Storage is returned from allocation function "url_string". |
| 2364 |
wget-1.19.5/src/url.c:2248:3: alloc_fn: Storage is returned from allocation function "xmalloc". |
| 2365 |
wget-1.19.5/lib/xmalloc.c:41:11: alloc_fn: Storage is returned from allocation function "malloc". |
| 2366 |
wget-1.19.5/lib/xmalloc.c:41:11: var_assign: Assigning: "p" = "malloc(n)". |
| 2367 |
wget-1.19.5/lib/xmalloc.c:44:3: return_alloc: Returning allocated memory "p". |
| 2368 |
wget-1.19.5/src/url.c:2248:3: var_assign: Assigning: "result" = "xmalloc(size)". |
| 2369 |
wget-1.19.5/src/url.c:2248:3: var_assign: Assigning: "p" = "result". |
| 2370 |
wget-1.19.5/src/url.c:2250:3: noescape: Resource "p" is not freed or pointed-to in function "memcpy". [Note: The source code implementation of the function has been overridden by a builtin model.] |
| 2371 |
wget-1.19.5/src/url.c:2253:7: noescape: Resource "p" is not freed or pointed-to in function "memcpy". [Note: The source code implementation of the function has been overridden by a builtin model.] |
| 2372 |
wget-1.19.5/src/url.c:2257:11: noescape: Resource "p" is not freed or pointed-to in function "memcpy". [Note: The source code implementation of the function has been overridden by a builtin model.] |
| 2373 |
wget-1.19.5/src/url.c:2264:3: noescape: Resource "p" is not freed or pointed-to in function "memcpy". [Note: The source code implementation of the function has been overridden by a builtin model.] |
| 2374 |
wget-1.19.5/src/url.c:2270:7: identity_transfer: Passing "p" as argument 1 to function "number_to_string", which returns an offset off that argument. |
| 2375 |
wget-1.19.5/src/utils.c:1776:11: var_assign_parm: Assigning: "p" = "buffer". |
| 2376 |
wget-1.19.5/src/utils.c:1847:3: return_var: Returning "p", which is a copy of a parameter. |
| 2377 |
wget-1.19.5/src/url.c:2270:7: noescape: Resource "p" is not freed or pointed-to in function "number_to_string". |
| 2378 |
wget-1.19.5/src/utils.c:1774:25: noescape: "number_to_string(char *, wgint)" does not free or save its parameter "buffer". |
| 2379 |
wget-1.19.5/src/url.c:2270:7: var_assign: Assigning: "p" = "number_to_string(p, url->port)". |
| 2380 |
wget-1.19.5/src/url.c:2273:3: noescape: Resource "p" is not freed or pointed-to in function "full_path_write". |
| 2381 |
wget-1.19.5/src/url.c:1078:47: noescape: "full_path_write(struct url const *, char *)" does not free or save its parameter "where". |
| 2382 |
wget-1.19.5/src/url.c:2287:3: return_alloc: Returning allocated memory "result". |
| 2383 |
wget-1.19.5/src/http.c:4486: var_assign: Assigning: "hurl" = storage returned from "url_string(u, URL_AUTH_HIDE_PASSWD)". |
| 2384 |
wget-1.19.5/src/http.c:4487: noescape: Resource "hurl" is not freed or pointed-to in "logprintf". |
| 2385 |
wget-1.19.5/src/http.c:4513: leaked_storage: Variable "hurl" going out of scope leaks the storage it points to. |
| 2386 |
\# 4511| { |
| 2387 |
\# 4512| printwhat (count, opt.ntry); |
| 2388 |
\# 4513|-> continue; |
| 2389 |
\# 4514| } |
| 2390 |
\# 4515| else |
| 2391 |
|
| 2392 |
There are two conditional branches, which call continue, without freeing memory potentially allocated and pointed to by"hurl" pointer. In fase "!opt.verbose" is True and some of the appropriate conditions in the following if/else if construction, in which "continue" is called, are also true, then the memory allocated to "hurl" will leak. |
| 2393 |
|
| 2394 |
2018-08-27 Tomas Hozza <[email protected]> |
| 2395 |
|
| 2396 |
* src/http.c (check_auth): Fix RESOURCE LEAK found by Coverity |
| 2397 |
Error: RESOURCE_LEAK (CWE-772): |
| 2398 |
wget-1.19.5/src/http.c:2434: alloc_fn: Storage is returned from allocation function "xmalloc". |
| 2399 |
wget-1.19.5/lib/xmalloc.c:41:11: alloc_fn: Storage is returned from allocation function "malloc". |
| 2400 |
wget-1.19.5/lib/xmalloc.c:41:11: var_assign: Assigning: "p" = "malloc(n)". |
| 2401 |
wget-1.19.5/lib/xmalloc.c:44:3: return_alloc: Returning allocated memory "p". |
| 2402 |
wget-1.19.5/src/http.c:2434: var_assign: Assigning: "auth_stat" = storage returned from "xmalloc(4UL)". |
| 2403 |
wget-1.19.5/src/http.c:2446: noescape: Resource "auth_stat" is not freed or pointed-to in "create_authorization_line". |
| 2404 |
wget-1.19.5/src/http.c:5203:70: noescape: "create_authorization_line(char const *, char const *, char const *, char const *, char const *, _Bool *, uerr_t *)" does not free or save its parameter "auth_err". |
| 2405 |
wget-1.19.5/src/http.c:2476: leaked_storage: Variable "auth_stat" going out of scope leaks the storage it points to. |
| 2406 |
\# 2474| /* Creating the Authorization header went wrong */ |
| 2407 |
\# 2475| } |
| 2408 |
\# 2476|-> } |
| 2409 |
\# 2477| else |
| 2410 |
\# 2478| { |
| 2411 |
|
| 2412 |
Error: RESOURCE_LEAK (CWE-772): |
| 2413 |
wget-1.19.5/src/http.c:2431: alloc_fn: Storage is returned from allocation function "url_full_path". |
| 2414 |
wget-1.19.5/src/url.c:1105:19: alloc_fn: Storage is returned from allocation function "xmalloc". |
| 2415 |
wget-1.19.5/lib/xmalloc.c:41:11: alloc_fn: Storage is returned from allocation function "malloc". |
| 2416 |
wget-1.19.5/lib/xmalloc.c:41:11: var_assign: Assigning: "p" = "malloc(n)". |
| 2417 |
wget-1.19.5/lib/xmalloc.c:44:3: return_alloc: Returning allocated memory "p". |
| 2418 |
wget-1.19.5/src/url.c:1105:19: var_assign: Assigning: "full_path" = "xmalloc(length + 1)". |
| 2419 |
wget-1.19.5/src/url.c:1107:3: noescape: Resource "full_path" is not freed or pointed-to in function "full_path_write". |
| 2420 |
wget-1.19.5/src/url.c:1078:47: noescape: "full_path_write(struct url const *, char *)" does not free or save its parameter "where". |
| 2421 |
wget-1.19.5/src/url.c:1110:3: return_alloc: Returning allocated memory "full_path". |
| 2422 |
wget-1.19.5/src/http.c:2431: var_assign: Assigning: "pth" = storage returned from "url_full_path(u)". |
| 2423 |
wget-1.19.5/src/http.c:2446: noescape: Resource "pth" is not freed or pointed-to in "create_authorization_line". |
| 2424 |
wget-1.19.5/src/http.c:5203:40: noescape: "create_authorization_line(char const *, char const *, char const *, char const *, char const *, _Bool *, uerr_t *)" does not free or save its parameter "path". |
| 2425 |
wget-1.19.5/src/http.c:2476: leaked_storage: Variable "pth" going out of scope leaks the storage it points to. |
| 2426 |
\# 2474| /* Creating the Authorization header went wrong */ |
| 2427 |
\# 2475| } |
| 2428 |
\# 2476|-> } |
| 2429 |
\# 2477| else |
| 2430 |
\# 2478| { |
| 2431 |
|
| 2432 |
Both "pth" and "auth_stat" are allocated in "check_auth()" function. These are used for creating the HTTP Authorization Request header via "create_authorization_line()" function. In case the creation went OK (auth_err == RETROK), then the memory previously allocated to "pth" and "auth_stat" is freed. However if the creation failed, then the memory is never freed and it leaks. |
| 2433 |
|
| 2434 |
2018-08-27 Tomas Hozza <[email protected]> |
| 2435 |
|
| 2436 |
* src/ftp.c (getftp): Fix RESOURCE LEAK found by Coverity |
| 2437 |
Error: RESOURCE_LEAK (CWE-772): |
| 2438 |
wget-1.19.5/src/ftp.c:1493: alloc_fn: Storage is returned from allocation function "fopen". |
| 2439 |
wget-1.19.5/src/ftp.c:1493: var_assign: Assigning: "fp" = storage returned from "fopen(con->target, "wb")". |
| 2440 |
wget-1.19.5/src/ftp.c:1811: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. |
| 2441 |
\# 1809| if (fp && !output_stream) |
| 2442 |
\# 1810| fclose (fp); |
| 2443 |
\# 1811|-> return err; |
| 2444 |
\# 1812| } |
| 2445 |
\# 1813| |
| 2446 |
|
| 2447 |
It can happen, that "if (!output_stream || con->cmd & DO_LIST)" on line #1398 can be true, even though "output_stream != NULL". In this case a new file is opened to "fp". Later it may happen in the FTPS branch, that some error will occure and code will jump to label "exit_error". In "exit_error", the "fp" is closed only if "output_stream == NULL". However this may not be true as described earlier and "fp" leaks. |
| 2448 |
|
| 2449 |
On line #1588, there is the following conditional free of "fp": |
| 2450 |
|
| 2451 |
/* Close the local file. */ |
| 2452 |
if (!output_stream || con->cmd & DO_LIST) |
| 2453 |
fclose (fp); |
| 2454 |
|
| 2455 |
Therefore the conditional at the end of the function after "exit_error" label should be modified to: |
| 2456 |
|
| 2457 |
if (fp && (!output_stream || con->cmd & DO_LIST)) |
| 2458 |
fclose (fp); |
| 2459 |
|
| 2460 |
This will ensure that "fp" does not leak in any case it sould be opened. |
| 2461 |
|
| 2462 |
2018-08-11 Tomas Hozza <[email protected]> |
| 2463 |
|
| 2464 |
Don't limit the test suite HTTPS server to TLSv1 |
| 2465 |
In Fedora, we are implementing crypto policies, in order to enhance the |
| 2466 |
security of user systems. This is done on the system level by global |
| 2467 |
configuration. It may happen that due to the active policy, only |
| 2468 |
TLSv1.2 or higher will be available in crypto libraries. While wget as |
| 2469 |
a client will by default determine the minimal TLS version supported by |
| 2470 |
both client and server, the HTTPS server implementation in testenv/ |
| 2471 |
hardcodes use of TLSv1. As a result all HTTPS related tests fail in |
| 2472 |
case a more hardened crypto policy is set on the Fedora system. |
| 2473 |
|
| 2474 |
This change removes the explicit TLS version setting and leaves the |
| 2475 |
determination of the minimal supported TLS version on the server and |
| 2476 |
client. |
| 2477 |
|
| 2478 |
More information about Fedora change can be found here: |
| 2479 |
https://fedoraproject.org/wiki/Changes/StrongCryptoSettings |
| 2480 |
|
| 2481 |
2018-06-13 Tim Rühsen <[email protected]> |
| 2482 |
|
| 2483 |
* src/gnutls.c (ssl_check_certificate): Fix grammar of error msg |
| 2484 |
Reported-by: Nicholas Sielicki |
| 2485 |
|
| 2486 |
* fuzz/Makefile.am: Remove libtool LTLIB... from LDADD |
| 2487 |
|
| 2488 |
* src/http.c (http_loop): Fix --retry-on-host-error |
| 2489 |
|
| 2490 |
2018-06-13 ethus3h <[email protected]> (tiny change) |
| 2491 |
|
| 2492 |
Add new option --retry-on-host-error |
| 2493 |
* doc/wget.texi: Add docs for --retry-on-host-error |
| 2494 |
* src/http.c (http_loop): Add code for HOSTERR |
| 2495 |
* src/init.c: Add option --retry-on-host-error |
| 2496 |
* src/main.c: Likewise |
| 2497 |
* src/options.h: Add options.retry_on_host_error |
| 2498 |
|
| 2499 |
2018-05-29 Tim Rühsen <[email protected]> |
| 2500 |
|
| 2501 |
Save original data to WARC file |
| 2502 |
* src/retr.c (write_data): Cleanup, |
| 2503 |
(fd_read_body): Write to WARC before uncompressing |
| 2504 |
|
| 2505 |
Fixes: #53968 |
| 2506 |
|
| 2507 |
2018-05-10 Tim Rühsen <[email protected]> |
| 2508 |
|
| 2509 |
* fuzz/get_ossfuzz_corpora: Speed up corpora download |
| 2510 |
|
| 2511 |
2018-05-09 Tim Rühsen <[email protected]> |
| 2512 |
|
| 2513 |
* src/main.c (print_version): Silence UBSAN message |
| 2514 |
|
| 2515 |
* src/utils.ci (file_exists_p): Fix stat(NULL,...) |
| 2516 |
|
| 2517 |
* src/hsts.c (open_hsts_test_store): Fix unlink(NULL) |
| 2518 |
|
| 2519 |
* src/hash.c: Silence UBSAN for hash functions |
| 2520 |
|
| 2521 |
* fuzz/*_fuzzer.in: Update corpora from OSS-Fuzz |
| 2522 |
|
| 2523 |
* fuzz/get_ossfuzz_corpora: Fix path |
| 2524 |
|
| 2525 |
2018-05-08 Tim Rühsen <[email protected]> |
| 2526 |
|
| 2527 |
* src/hsts.h: Fix header guard |
| 2528 |
|
| 2529 |
* src/version.h: Add header guard |
| 2530 |
|
| 2531 |
* src/host.c (wait_ares): Remove void assignment |
| 2532 |
Reported-by: Josef Moellers |
| 2533 |
|
| 2534 |
2018-05-06 Tim Rühsen <[email protected]> |
| 2535 |
|
| 2536 |
Update NEWS file for new release |
| 2537 |
|
| 2538 |
2018-05-06 Tim Rühsen <[email protected]> |
| 2539 |
|
| 2540 |
Fix cookie injection (CVE-2018-0494) |
| 2541 |
* src/http.c (resp_new): Replace \r\n by space in continuation lines |
| 2542 |
|
| 2543 |
Fixes #53763 |
| 2544 |
"Malicious website can write arbitrary cookie entries to cookie jar" |
| 2545 |
|
| 2546 |
HTTP header parsing left the \r\n from continuation line intact. |
| 2547 |
The Set-Cookie code didn't check and could be tricked to write |
| 2548 |
\r\n into the cookie jar, allowing a server to generate cookies at will. |
| 2549 |
|
| 2550 |
2018-05-06 Tim Rühsen <[email protected]> |
| 2551 |
|
| 2552 |
* tests/Test-https-weboftrust.px: Skip test, needs cert regen |
| 2553 |
|
| 2554 |
Fix make syntax-check |
| 2555 |
* cfg.mk: Add fuzzer reproducers to exception list |
| 2556 |
* po/POTFILES.in: Add src/spider.c |
| 2557 |
|
| 2558 |
Fix HTTPS tests |
| 2559 |
* tests/Test-https-badcerts.px: Fix test return value |
| 2560 |
* tests/Test-https-crl.px: Likewise |
| 2561 |
* README: How to create certs with GnuTLS's certtool |
| 2562 |
* tests/certs/revokedcrl.pem: Recreated revocation |
| 2563 |
* tests/certs/server.crt: Recreated server cert with no expiry |
| 2564 |
* tests/certs/test-ca-cert.pem: Recreated CA cert with no expiry |
| 2565 |
|
| 2566 |
* src/init.c: Bring new --ciphers into right order in options array |
| 2567 |
|
| 2568 |
2018-05-05 Ander Juaristi <[email protected]> |
| 2569 |
|
| 2570 |
* doc/wget.texi: Add description for --ciphers |
| 2571 |
|
| 2572 |
2018-05-05 Ander Juarist <[email protected]> |
| 2573 |
|
| 2574 |
OpenSSL: Better seeding of PRNG |
| 2575 |
* src/openssl.c (init_prng): keep gathering entropy even though we |
| 2576 |
already have enough |
| 2577 |
(ssl_connect_with_timeout_callback): reseed PRNG again just before |
| 2578 |
the handshake |
| 2579 |
|
| 2580 |
Reported-by: Jeffrey Walton <[email protected]> |
| 2581 |
|
| 2582 |
2018-05-05 Ander Juaristi <[email protected]> |
| 2583 |
|
| 2584 |
Enhance SSL/TLS security |
| 2585 |
This commit hardens SSL/TLS a bit more in the following ways: |
| 2586 |
|
| 2587 |
* Explicitly exclude NULL authentication and the 'MEDIUM' cipher list |
| 2588 |
category. Ciphers in the 'HIGH' level are only considered - this |
| 2589 |
includes all symmetric ciphers with key lengths larger than 128 bits, |
| 2590 |
and some ('modern') 128-bit ciphers, such as AES in GCM mode. |
| 2591 |
* Allow RSA key exchange by default, but exclude it when |
| 2592 |
Perfect Forward Secrecy is desired (with --secure-protocol=PFS). |
| 2593 |
* Introduce new option --ciphers to set the cipher list that the SSL/TLS |
| 2594 |
engine will favor. This string is fed directly to the underlying TLS |
| 2595 |
library (GnuTLS or OpenSSL) without further processing, and hence its |
| 2596 |
format and syntax are directly dependent on the specific library. |
| 2597 |
|
| 2598 |
Reported-by: Jeffrey Walton <[email protected]> |
| 2599 |
|
| 2600 |
2018-04-28 Tim Rühsen <[email protected]> |
| 2601 |
|
| 2602 |
* src/netrc.c (parse_netrc_fp): Fix two memleaks |
| 2603 |
|
| 2604 |
Add new fuzzer for the .netrc parser |
| 2605 |
* fuzz/wget_netrc_fuzzer.c: New fuzzer |
| 2606 |
* fuzz/wget_netrc_fuzzer.dict: Fuzzer dictionary |
| 2607 |
* fuzz/wget_netrc_fuzzer.in: Initial corpora |
| 2608 |
* src/ftp.c (getftp): Amend call to search_netrc() |
| 2609 |
* src/http.c (initialize_request): Likewise |
| 2610 |
* src/netrc.c: Cleanup, prepare code for fuzzing |
| 2611 |
* src/netrc.h: Cleanup |
| 2612 |
|
| 2613 |
2018-04-27 Tim Rühsen <[email protected]> |
| 2614 |
|
| 2615 |
* src/utils.c (match_tail): Fix unsigned integer overflow |
| 2616 |
|
| 2617 |
Add new fuzzer for the Set-Cookie parser |
| 2618 |
* fuzz/Makefile.am: Add wget_cookie_fuzzer |
| 2619 |
* fuzz/wget_cookie_fuzzer.c: New fuzzer |
| 2620 |
* fuzz/wget_cookie_fuzzer.dict: Fuzzers dictionary |
| 2621 |
* fuzz/wget_cookie_fuzzer.in: Initial corpora |
| 2622 |
|
| 2623 |
2018-04-26 Tim Rühsen <[email protected]> |
| 2624 |
|
| 2625 |
Fix buffer overflow in CSS parser |
| 2626 |
* src/css-url.c (get_uri_string): Check input length |
| 2627 |
* fuzz/wget_css_fuzzer.repro/buffer-overflow-6600180399865856: |
| 2628 |
Add reproducer corpus |
| 2629 |
|
| 2630 |
Fixes OSS-Fuzz issue #8033. |
| 2631 |
This is a long standing bug affecting all versions <= 1.19.4. |
| 2632 |
|
| 2633 |
2018-04-26 Tim Rühsen <[email protected]> |
| 2634 |
|
| 2635 |
Fix buffer overflow in CSS parser |
| 2636 |
* src/css-url.c (get_urls_css): Check input string length |
| 2637 |
* fuzz/wget_css_fuzzer.repro/negative-size-param-5724866467594240: |
| 2638 |
Add reproducer corpus |
| 2639 |
|
| 2640 |
Fixes OSS-Fuzz issue #8032. |
| 2641 |
This is a long standing bug affecting all versions <= 1.19.4. |
| 2642 |
|
| 2643 |
2018-04-26 Tim Rühsen <[email protected]> |
| 2644 |
|
| 2645 |
Exclude fuzz corpora from tarball |
| 2646 |
* fuzz/Makefile.am: Do not include corpora in tarball |
| 2647 |
* fuzz/main.c: SKIP if corpora directory isn't found (make check) |
| 2648 |
|
| 2649 |
The fuzz corpora are thousands of files, not needed for a standard build |
| 2650 |
from a distribution tarball. The reproducers of former issues are being |
| 2651 |
included for regression testing. |
| 2652 |
|
| 2653 |
2018-04-26 Tim Rühsen <[email protected]> |
| 2654 |
|
| 2655 |
* tests/Makefile.am: Add -I/src to AM_CPPFLAGS |
| 2656 |
|
| 2657 |
2018-04-26 Tim Rühsen <[email protected]> |
| 2658 |
|
| 2659 |
Add CSS slowness reproducer (fixed) |
| 2660 |
* fuzz/wget_css_fuzzer.repro/slowness-6275836549267456: New file |
| 2661 |
|
| 2662 |
This file created an extreme CPU usage with the old CSS parser. |
| 2663 |
|
| 2664 |
2018-04-26 Tim Rühsen <[email protected]> |
| 2665 |
|
| 2666 |
Update CSS grammar from 1.x to 2.2 |
| 2667 |
* src/css-tokens.h: Add enums and fixate values |
| 2668 |
* src/css.l: Include config.h, |
| 2669 |
ignore several compiler warnings, |
| 2670 |
update the grammar to CSS 2.2 |
| 2671 |
|
| 2672 |
Fixes OSS-Fuzz issue #8010 (slowness issue). |
| 2673 |
This is a long standing bug affecting all versions <= 1.19.4. |
| 2674 |
|
| 2675 |
Some crafted CSS input was extremely slow / CPU wasting, so it could |
| 2676 |
be used as a DOS attack against website scanning. |
| 2677 |
|
| 2678 |
The code/grammar changes were backported from Wget2.x. |
| 2679 |
|
| 2680 |
2018-04-25 Tim Rühsen <[email protected]> |
| 2681 |
|
| 2682 |
* src/res.c (add_path): Fix memleak (parsing robots.txt) |
| 2683 |
Fixes OSS-Fuzz issue #8005. |
| 2684 |
This is a long standing bug affecting all versions <= 1.19.4. |
| 2685 |
|
| 2686 |
* src/ftp-ls.c (ftp_parse_winnt_ls): Fix integer overflow |
| 2687 |
Fixes OSS-Fuzz issue #7999. |
| 2688 |
This is a long standing bug affecting all versions <= 1.19.4. |
| 2689 |
|
| 2690 |
2018-04-24 Tim Rühsen <[email protected]> |
| 2691 |
|
| 2692 |
Add new fuzzer for the URL parser |
| 2693 |
* fuzz/Makefile.am: Add wget_url_fuzzer |
| 2694 |
* fuzz/wget_url_fuzzer.c: New fuzzer |
| 2695 |
* fuzz/wget_url_fuzzer.in: Initial corpora |
| 2696 |
|
| 2697 |
Add new fuzzer for robots.txt parsing |
| 2698 |
* fuzz/Makefile.am: Add wget_robots_fuzzer |
| 2699 |
* fuzz/wget_robots_fuzzer.c: New fuzzer |
| 2700 |
* fuzz/wget_robots_fuzzer.in: Initial corpora |
| 2701 |
|
| 2702 |
* fuzz/README.md: Add CFLAGS for undefined sanitizer |
| 2703 |
|
| 2704 |
* src/ftp-ls.c (ftp_parse_winnt_ls): Fix integer overflow |
| 2705 |
|
| 2706 |
* src/ftp-ls.c (ftp_parse_vms_ls): Fix integer overflow by left shift |
| 2707 |
|
| 2708 |
* src/ftp-ls.c (ftp_parse_unix_ls): Fix integer overflow in date parsing |
| 2709 |
|
| 2710 |
2018-04-22 Tim Rühsen <[email protected]> |
| 2711 |
|
| 2712 |
* src/ftp-ls.c (ftp_parse_winnt_ls): Fix heap-buffer-overflow |
| 2713 |
Fixes OSS-Fuzz issue #7931. |
| 2714 |
This is a long standing bug affecting all versions <= 1.19.4. |
| 2715 |
|
| 2716 |
* src/ftp-ls.c (ftp_parse_winnt_ls): Fix heap-buffer-overflow |
| 2717 |
Fixes OSS-Fuzz issue #7930. |
| 2718 |
This is a long standing bug affecting all versions <= 1.19.4. |
| 2719 |
|
| 2720 |
* fuzz/wget_ftpls_fuzzer.in: Update corpora |
| 2721 |
|
| 2722 |
2018-04-21 Tim Rühsen <[email protected]> |
| 2723 |
|
| 2724 |
* src/ftp-ls.c (eat_carets): Fix heap-buffer-overflow |
| 2725 |
|
| 2726 |
* src/ftp-ls.c (ftp_parse_winnt_ls): Fix memleak |
| 2727 |
|
| 2728 |
* src/ftp-ls.c (ftp_parse_vms_ls): Fix heap-buffer-overflow |
| 2729 |
|
| 2730 |
* src/ftp-ls.c (ftp_parse_vms_ls): Fix heap-buffer-overflow |
| 2731 |
|
| 2732 |
* src/ftp-ls.c (ftp_parse_vms_ls): Fix memleak |
| 2733 |
|
| 2734 |
Add new fuzzer for the FTP listing parsers |
| 2735 |
* fuzz/Makefile.am: Add wget_ftpls_fuzzer |
| 2736 |
* fuzz/wget_ftpls_fuzzer.c: New fuzzer |
| 2737 |
* fuzz/wget_ftpls_fuzzer.dict: Fuzzer dictionary |
| 2738 |
* fuzz/wget_ftpls_fuzzer.in/starter: Starting corpus |
| 2739 |
* src/ftp-ls.c: Parsing function take FILE * as argument, |
| 2740 |
new function ftp_parse_ls_fp() |
| 2741 |
* src/ftp.c: Remove static from freefileinfo() |
| 2742 |
* src/ftp.h: Add ftp_parse_ls_fp() and freefileinfo() |
| 2743 |
|
| 2744 |
* fuzz/run-clang.sh: Remove -detect_leaks=0 from fuzzer command line |
| 2745 |
|
| 2746 |
* src/main.c (main): Fix memleak for fuzzing/testing |
| 2747 |
|
| 2748 |
* src/init.c: Fix fuzzing in case ~/.wgetrc doesn't exist |
| 2749 |
|
| 2750 |
2018-04-20 Tim Rühsen <[email protected]> |
| 2751 |
|
| 2752 |
Fix fuzzer build for C++ |
| 2753 |
* fuzz/wget_css_fuzzer.c: Include wget.h outside 'extern "C"', |
| 2754 |
undef fopen_wgetrc directly after wget.h |
| 2755 |
* fuzz/wget_html_fuzzer.c: Likewise |
| 2756 |
|
| 2757 |
* fuzz/Makefile.am: Add -I/lib to oss-fuzz builds |
| 2758 |
|
| 2759 |
Add new HTML parser fuzzer |
| 2760 |
* fuzz/Makefile.am: Add wget_html_fuzzer |
| 2761 |
* fuzz/wget_html_fuzzer.c: New fuzzer |
| 2762 |
* fuzz/wget_html_fuzzer.dict: HTML dictionary for fuzzing |
| 2763 |
* fuzz/wget_html_fuzzer.in: Initial corpora |
| 2764 |
* src/html-url.c: Add new function get_urls_html_fm() |
| 2765 |
* src/html-url.h: Add ne function get_urls_html_fm() |
| 2766 |
* src/wget.h: Fix define for fopen_wgetrc() |
| 2767 |
|
| 2768 |
* fuzz/wget_css_fuzzer.c: Fix build |
| 2769 |
|
| 2770 |
* fuzz/wget_css_fuzzer.in/*: Update fuzzer corpora |
| 2771 |
|
| 2772 |
* src/css-url.c (get_uri_string): Fix buffer overflow (read) |
| 2773 |
|
| 2774 |
* src/iri.h: Fix C++ compile error |
| 2775 |
|
| 2776 |
2018-04-19 Tim Rühsen <[email protected]> |
| 2777 |
|
| 2778 |
* src/http.c: Download and scan CSS files in spider mode |
| 2779 |
|
| 2780 |
* src/css-url.c (get_urls_css): Call yylex_destroy() to reset CSS scanner |
| 2781 |
|
| 2782 |
Add new fuzzer wget_css_fuzzer.c |
| 2783 |
* fuzz/Makefile.am: Add wget_css_fuzzer.c |
| 2784 |
* fuzz/wget_css_fuzzer.c: New fuzzer |
| 2785 |
|
| 2786 |
2018-04-18 Tim Rühsen <[email protected]> |
| 2787 |
|
| 2788 |
* src/html-url.h: Include needed header files |
| 2789 |
|
| 2790 |
* wget_options_fuzzer.in/*: Update fuzzer corpora |
| 2791 |
|
| 2792 |
* fuzz/README.md: Add CXXFLAGS and more configure options |
| 2793 |
|
| 2794 |
Fix oss-fuzz issue with exit() |
| 2795 |
* src/wget.h: Define exit() as exit_wget() |
| 2796 |
* fuzz/wget_options_fuzzer.c: Implement exit_wget() and cleanup |
| 2797 |
|
| 2798 |
2018-04-17 Tim Rühsen <[email protected]> |
| 2799 |
|
| 2800 |
* fuzz/wget_options_fuzzer.c: Declare fopen_* as C functions |
| 2801 |
|
| 2802 |
Fix fopen/stdin issues with fuzzing |
| 2803 |
* fuzz/wget_options_fuzzer.c: Add fopen_wget() and fopen_wgetrc() |
| 2804 |
* src/utils.c: Use fopen_wgetrc() for config files, |
| 2805 |
don't read from stdin when fuzzing |
| 2806 |
* src/wget.h: Define fopen as fopen_wget when fuzzing, |
| 2807 |
define fopen_wgetrc as fopen when not fuzzing |
| 2808 |
|
| 2809 |
* configure.ac: AC_DEFINE FUZZING if --enable-fuzzing was given |
| 2810 |
|
| 2811 |
* fuzz/wget_options_fuzzer.c: Write fuzzer crash reports |
| 2812 |
|
| 2813 |
* src/log.c: Don't check_redirect_output() when fuzzing |
| 2814 |
|
| 2815 |
* src/main.c (promt_for_password): Avoid getpass() when fuzzing |
| 2816 |
|
| 2817 |
Fix double fclose() with -d while fuzzing |
| 2818 |
* src/ftp.c (ftp_loop_internal): Set warc_tmp to NULL after ffclose() |
| 2819 |
* src/init.c (cleanup): Set output_stream to NULL after fclose() |
| 2820 |
* src/log.c (log_close): Set global stream vars to NULL after closing |
| 2821 |
* src/recur.c (retrieve_tree): Set rejectedlog to NULL after closing |
| 2822 |
* src/warc.c (warc_close): Set stream vars to NULL after closing |
| 2823 |
|
| 2824 |
* src/main.c (main): Don't background if TESTING |
| 2825 |
|
| 2826 |
* src/init.c (initialize): Return error, don't exit() |
| 2827 |
|
| 2828 |
2018-04-16 Tim Rühsen <[email protected]> |
| 2829 |
|
| 2830 |
* src/init.c (cmd_use_askpass): Return false on error |
| 2831 |
|
| 2832 |
* src/utils.c (compile_posix_regex): Hard-code string to regcomp |
| 2833 |
regcomp() may be too cpu + memory intensive for fuzzing. |
| 2834 |
See https://sourceware.org/glibc/wiki/Security%20Exceptions |
| 2835 |
|
| 2836 |
Fix 2 more memleaks |
| 2837 |
* src/init.c (initialize): Use global var for wgetrc filename |
| 2838 |
* src/iri.c (find_locale): Return strdup'ed locale string |
| 2839 |
* src/options.h (struct options): Add wgetrcfile |
| 2840 |
|
| 2841 |
* src/init.c (cleanup): Set output_stream to NULL after closing |
| 2842 |
|
| 2843 |
Fix homedir memory leaks |
| 2844 |
* src/hsts.c: Use opt.homedir |
| 2845 |
* src/init.c: Likewise |
| 2846 |
* src/main.c: Likewise |
| 2847 |
* src/netrc.c: Likewise |
| 2848 |
* src/options.h (struct options): Add homedir |
| 2849 |
|
| 2850 |
* src/main.c (main): Free opt.encoding_remote properly |
| 2851 |
|
| 2852 |
* src/host.c (wait_ares): Free ptimer |
| 2853 |
|
| 2854 |
* src/init.c (cleanup): Free regex objects properly |
| 2855 |
|
| 2856 |
* src/init.c (cleanup): Never call cleanup() twice |
| 2857 |
|
| 2858 |
* src/init.c (cmd_bytes_sum): Fix integer over- and underflow |
| 2859 |
|
| 2860 |
* src/main.c (save_hsts): Free hsts_store after closing |
| 2861 |
|
| 2862 |
Use strtol() instead of selfmade function |
| 2863 |
* src/init.c (cmd_number): Use strtol() instead of selfmade function |
| 2864 |
* bootstrap.conf: Add strtol gnulib module |
| 2865 |
|
| 2866 |
* src/hsts.c (hsts_hash_func): Allow integer overflow |
| 2867 |
|
| 2868 |
* init.c (cmd_spec_mirror): Fix uninitialzed stack variable |
| 2869 |
|
| 2870 |
* src/init.c (cleanup): Free more variables |
| 2871 |
|
| 2872 |
* wget_options_fuzzer.in: Add corpora directory |
| 2873 |
|
| 2874 |
* fuzz/wget_options_fuzzer.c: Suppress error messages from wget |
| 2875 |
|
| 2876 |
* src/utils.c (fopen_stat): Early return to allow fuzzing/fmemopen |
| 2877 |
|
| 2878 |
* src/init.c (initialize): Free mem before exit() |
| 2879 |
|
| 2880 |
Add OSS-Fuzz infrastruture |
| 2881 |
* Makefile.am: Add fuzz/ to SUBDIRS |
| 2882 |
* cfg.mk: Fix 'make syntax-check' |
| 2883 |
* configure.ac: Add --enable-fuzzing |
| 2884 |
* fuzz/Makefile.am: New file |
| 2885 |
* fuzz/README.md: New file |
| 2886 |
* fuzz/fuzzer.h: New file |
| 2887 |
* fuzz/get_all_corpora: New file |
| 2888 |
* fuzz/get_ossfuzz_corpora: New file |
| 2889 |
* fuzz/glob_crash.c: New file |
| 2890 |
* fuzz/main.c: New file |
| 2891 |
* fuzz/run-afl.sh: New file |
| 2892 |
* fuzz/run-clang.sh: New file |
| 2893 |
* fuzz/view-coverage.sh: New file |
| 2894 |
* fuzz/wget_options_fuzzer.c: New file |
| 2895 |
* fuzz/wget_options_fuzzer.dict: New file |
| 2896 |
* src/init.c (cleanup): Free more resources |
| 2897 |
* src/main.c (init_switches): Initialize only once, |
| 2898 |
(print_usage): Don't print if TESTING is defined |
| 2899 |
* src/utils.h: Include wget.h |
| 2900 |
|
| 2901 |
2018-04-05 Tim Rühsen <[email protected]> |
| 2902 |
|
| 2903 |
Move unit-test code to tests/ |
| 2904 |
* src/Makefile.am: Remove test.c and test.h |
| 2905 |
* src/test.c: Rename to tests/unit-tests.c |
| 2906 |
* src/test.h: Rename to tests/unit-tests.h |
| 2907 |
* tests/Makefile.am: Add unit-tests.c and unit-tests.h |
| 2908 |
* src/hsts.c: Amend #include |
| 2909 |
* src/http.c: Likewise |
| 2910 |
* src/init.c: Likewise |
| 2911 |
* src/metalink.c: Likewise |
| 2912 |
* src/res.c: Likewise |
| 2913 |
* src/url.c: Likewise |
| 2914 |
* src/utils.c: Likewise |
| 2915 |
|
| 2916 |
* src/main.c: Rename main() -> main_wget() for unit tests |
| 2917 |
|
| 2918 |
2018-03-14 Tim Rühsen <[email protected]> |
| 2919 |
|
| 2920 |
Fix some issues found by 'infer' |
| 2921 |
|
| 2922 |
2018-03-08 Tim Rühsen <[email protected]> |
| 2923 |
|
| 2924 |
* src/openssl.c: Fix build for OpenSSL 1.1.0 without TLS1_3_VERSION |
| 2925 |
|
| 2926 |
Add docs for --secure-protocol=TLSv1_3 |
| 2927 |
* doc/wget.texi: Likewise |
| 2928 |
|
| 2929 |
2018-03-08 Loganaden Velvindron <[email protected]> (tiny change) |
| 2930 |
|
| 2931 |
Add TLS1.3 support for OpenSSL build |
| 2932 |
* src/init.c: Add 'tlsv1_3 for --secure-protocol |
| 2933 |
* src/openssl.c (ssl_init): Enable TLS1.3 if possible |
| 2934 |
* src/options.h: Add secure_protocol_tlsv1_3 |
| 2935 |
* doc/wget.texi: Add description of TLSv1_3 |
| 2936 |
|
| 2937 |
2018-03-07 Tim Rühsen <[email protected]> |
| 2938 |
|
| 2939 |
* src/main.c: Add help text for --retry-on-http-error |
| 2940 |
Reported-by: Giovanni Tirloni |
| 2941 |
|
| 2942 |
2018-03-01 Tim Rühsen <[email protected]> |
| 2943 |
|
| 2944 |
* src/url.c (convert_fname): Fix invalid free on iconv_open() failure |
| 2945 |
Reported-by: Volkmar Klatt |
| 2946 |
|
| 2947 |
2018-02-21 Tim Rühsen <[email protected]> |
| 2948 |
|
| 2949 |
* src/mswindows.c: Fix prototype of fork_to_background() |
| 2950 |
Reported-by: Gisle Vanem |
| 2951 |
|
| 2952 |
2018-02-09 Tim Rühsen <[email protected]> |
| 2953 |
|
| 2954 |
Fix warning to not print binary IP address |
| 2955 |
* tests/Test-https-badcerts.px: Likewise |
| 2956 |
* tests/Test-https-clientcert.px: Likewise |
| 2957 |
* tests/Test-https-crl.px: Likewise |
| 2958 |
* tests/Test-https-pfs.px: Likewise |
| 2959 |
* tests/Test-https-selfsigned.px: Likewise |
| 2960 |
* tests/Test-https-tlsv1.px: Likewise |
| 2961 |
* tests/Test-https-tlsv1x.px: Likewise |
| 2962 |
* tests/Test-https-weboftrust.px: Likewise |
| 2963 |
|
| 2964 |
Use gnulib's utime() |
| 2965 |
* bootstrap.conf: Add modules utime and utime-h |
| 2966 |
* src/utils.c (touch): Remove own code for gnulib's utime() |
| 2967 |
|
| 2968 |
2018-02-09 Tim Rühsen <[email protected]> |
| 2969 |
|
| 2970 |
Fix logging in background mode |
| 2971 |
* ../src/main.c: Re-init logfile if changed for background mode |
| 2972 |
* ../src/utils.c: fork_to_background() returns whether logfile changed |
| 2973 |
* ../src/utils.h: Set return type bool for fork_to_background() |
| 2974 |
|
| 2975 |
Fixes: #53020 |
| 2976 |
Reported-by: Noël Köthe |
| 2977 |
|
| 2978 |
2018-02-09 Tim Rühsen <[email protected]> |
| 2979 |
|
| 2980 |
* src/http.c: Fix two typos in comments |
| 2981 |
|
| 2982 |
2018-01-31 Tim Rühsen <[email protected]> |
| 2983 |
|
| 2984 |
* testenv/conf/expected_files.py: Ignore pubring.gpg |
| 2985 |
Reported-by: Arkadiusz Miśkiewicz |
| 2986 |
|
| 2987 |
* bootstrap.conf: Replace gnulib module gettext by gettext-h |
| 2988 |
|
| 2989 |
2018-01-22 Tim Rühsen <[email protected]> |
| 2990 |
|
| 2991 |
Mention list and bugtracker for --help and in man page |
| 2992 |
* doc/wget.texi: Mention list and bugtracker in man page |
| 2993 |
* src/main.c: Mention list and bugtracker for --help |
| 2994 |
|
| 2995 |
2018-01-21 Darshit Shah <[email protected]> |
| 2996 |
|
| 2997 |
* contrib/make-release: Add another release script |
| 2998 |
|
| 2999 |
Update NEWS file for new release |
| 3000 |
|
| 3001 |
Fix typo in documentation |
| 3002 |
|
| 3003 |
2018-01-21 Darshit Shah <[email protected]> |
| 3004 |
|
| 3005 |
Switch off compression by default |
| 3006 |
Gzip compression has a number of bugs which need to be ironed out before |
| 3007 |
we can support it by default. Some of these stem from a misunderstanding |
| 3008 |
of the HTTP spec, but a lot of them are also due to many web servers not |
| 3009 |
being compliant with RFC 7231. |
| 3010 |
|
| 3011 |
With this commit, I am marking GZip compression support as experimental |
| 3012 |
in GNU Wget pending further investigation and the addition of tests. |
| 3013 |
|
| 3014 |
* src/init.c (defaults): Switch of compression support by default |
| 3015 |
* docs/wget.texi: State that compression is experimental |
| 3016 |
|
| 3017 |
2018-01-21 Darshit Shah <[email protected]> |
| 3018 |
|
| 3019 |
Pull gnulib module forward |
| 3020 |
|
| 3021 |
Revert "* src/init.c (defaults): Set compression_none as the default compression" |
| 3022 |
This reverts commit 8283ac08467016283277578b96533febb8ce1adb. |
| 3023 |
|
| 3024 |
* src/init.c (defaults): Set compression_none as the default compression |
| 3025 |
|
| 3026 |
2018-01-20 Reiji <[email protected]> |
| 3027 |
|
| 3028 |
* src/http.c (gethttp): Fix bug that prevented all files from being decompressed |
| 3029 |
|
| 3030 |
2018-01-19 Tim Rühsen <[email protected]> |
| 3031 |
|
| 3032 |
* src/host.c (sufmatch): Fix to domain matching |
| 3033 |
|
| 3034 |
2018-01-17 Gisle Vanem <[email protected]> |
| 3035 |
|
| 3036 |
* src/netrc.c: Fix Standalone compilation of netrc file |
| 3037 |
|
| 3038 |
2018-01-14 Darshit Shah <[email protected]> |
| 3039 |
|
| 3040 |
* NEWS: Update NEWS file for new release |
| 3041 |
|
| 3042 |
* bootstrap: Use the faster gnulib-tool.py script if possible |
| 3043 |
|
| 3044 |
Sync the bootstrap script from gnulib |
| 3045 |
|
| 3046 |
Update Copyright years |
| 3047 |
|
| 3048 |
Replace HTTP urls with HTTPS where valid |
| 3049 |
|
| 3050 |
Update gnulib |
| 3051 |
|
| 3052 |
* src/netrc.c: Search for the correct netrc file on Windows |
| 3053 |
|
| 3054 |
2018-01-10 Tim Rühsen <[email protected]> |
| 3055 |
|
| 3056 |
* src/http.c: Exclude *.gz and *.tgz from decompression |
| 3057 |
|
| 3058 |
2017-12-31 Tim Rühsen <[email protected]> |
| 3059 |
|
| 3060 |
* src/utils.c (wg_pin_peer_pubkey): Fix format warning |
| 3061 |
|
| 3062 |
2017-12-31 Peter Wu <[email protected]> |
| 3063 |
|
| 3064 |
Avoid redirecting output to file when tcgetpgrp fails |
| 3065 |
* src/log.c (check_redirect_output): tcgetpgrp can return -1 (ENOTTY), |
| 3066 |
be sure to check whether a valid controlling terminal exists before |
| 3067 |
redirecting. |
| 3068 |
|
| 3069 |
Fixes: #51181 |
| 3070 |
|
| 3071 |
2017-12-11 Darshit Shah <[email protected]> |
| 3072 |
|
| 3073 |
Add new test for 416 responses |
| 3074 |
* testenv/server/http/http_server.py: If there are multiple requests in |
| 3075 |
which the requested range is unsatisfiable, then send a body in the in |
| 3076 |
the 2nd response onwards |
| 3077 |
* testenv/Test-416.py: New test to check how Wget handles 416 responses |
| 3078 |
|
| 3079 |
2017-12-08 Darshit Shah <[email protected]> |
| 3080 |
|
| 3081 |
Don't assume a 416 response has no body |
| 3082 |
* http.c(gethttp): In case of a 416 response, try to drain the socket of |
| 3083 |
any bytes before reusing the connection |
| 3084 |
|
| 3085 |
Reported-By: Iru Cai <[email protected]> |
| 3086 |
|
| 3087 |
2017-11-26 Tim Rühsen <[email protected]> |
| 3088 |
|
| 3089 |
Support building with OpenSSL 1.1 w/o deprecated features |
| 3090 |
* src/openssl.c (ssl_init): Fix code for the subject's issue |
| 3091 |
|
| 3092 |
Reported-by: Matthew Thode |
| 3093 |
|
| 3094 |
2017-11-25 Tim Rühsen <[email protected]> |
| 3095 |
|
| 3096 |
Avoid link conversion after 304 Not Modified |
| 3097 |
* src/http.c (gethttp): Handle 304 before setting document content type |
| 3098 |
|
| 3099 |
Fixes: #52404 |
| 3100 |
Reported-by: Ben Fuchs |
| 3101 |
|
| 3102 |
2017-11-16 YX Hao <[email protected]> |
| 3103 |
|
| 3104 |
Fix printing mutibyte chars as unprintable chars on Windows |
| 3105 |
* src/log.c (get_warc_log_fp): Fix return value to stderr |
| 3106 |
* src/main.c (main): Init logging as soon as possible, |
| 3107 |
fix locale/charset on Windows |
| 3108 |
|
| 3109 |
2017-11-16 Tim Rühsen <[email protected]> |
| 3110 |
|
| 3111 |
* tests/Test-https-weboftrust.px: Fix/add sslport |
| 3112 |
|
| 3113 |
2017-11-15 YX Hao <[email protected]> |
| 3114 |
|
| 3115 |
Convert remote path to local encoding |
| 3116 |
* src/url.c (url_file_name): Convert remote path to local encoding |
| 3117 |
|
| 3118 |
2017-11-10 Tim Rühsen <[email protected]> |
| 3119 |
|
| 3120 |
Do not use must-revalidate in Cache-Control header |
| 3121 |
As the bug report states, 'must-revalidate' is a request directive. |
| 3122 |
|
| 3123 |
Fixes #52379 |
| 3124 |
|
| 3125 |
2017-11-06 Darshit Shah <[email protected]> |
| 3126 |
|
| 3127 |
Fix Segfault due to derefencing null ptr |
| 3128 |
* src/http.c(gethttp): When Encoding is gzip, ensure that the |
| 3129 |
Content-Type Header was actually seen. Without this, the "type" variable |
| 3130 |
is null causing a Segfault. |
| 3131 |
|
| 3132 |
Reported-By: Noël Köthe <[email protected]> |
| 3133 |
|
| 3134 |
2017-11-03 Tim Rühsen <[email protected]> |
| 3135 |
|
| 3136 |
* src/http.c: Fix H_REDIRECTED |
| 3137 |
|
| 3138 |
* src/http.c: Add support for HTTP status code 308 |
| 3139 |
|
| 3140 |
2017-10-30 Tim Rühsen <[email protected]> |
| 3141 |
|
| 3142 |
Fix uninitialized value messages in tests |
| 3143 |
* tests/Test-https-*.px: Use correct variable in error message |
| 3144 |
|
| 3145 |
Reported-by: Jeffrey Walton |
| 3146 |
|
| 3147 |
2017-10-30 Tim Rühsen <[email protected]> |
| 3148 |
|
| 3149 |
Ignore dirmngr.conf, gpg.conf in test directories |
| 3150 |
* testenv/conf/expected_files.py: Ignore dirmngr.conf, gpg.conf |
| 3151 |
|
| 3152 |
Libgpgme creates certain files if $HOME doesn't contain the .gnupg directory. |
| 3153 |
These files disturb some metalink tests if we don't ignore them. |
| 3154 |
|
| 3155 |
Reported-by: Arkadiusz Miśkiewicz <[email protected]> |
| 3156 |
|
| 3157 |
2017-10-27 Tim Rühsen <[email protected]> |
| 3158 |
|
| 3159 |
* contrib/release: Cleanup, use lzip instead of xz |
| 3160 |
|
| 3161 |
2017-10-26 Tim Rühsen <[email protected]> |
| 3162 |
|
| 3163 |
Fix heap overflow in HTTP protocol handling (CVE-2017-13090) |
| 3164 |
* src/retr.c (fd_read_body): Stop processing on negative chunk size |
| 3165 |
|
| 3166 |
Reported-by: Antti Levomäki, Christian Jalio, Joonas Pihlaja from Forcepoint |
| 3167 |
Reported-by: Juhani Eronen from Finnish National Cyber Security Centre |
| 3168 |
|
| 3169 |
2017-10-26 Tim Rühsen <[email protected]> |
| 3170 |
|
| 3171 |
Fix stack overflow in HTTP protocol handling (CVE-2017-13089) |
| 3172 |
* src/http.c (skip_short_body): Return error on negative chunk size |
| 3173 |
|
| 3174 |
Reported-by: Antti Levomäki, Christian Jalio, Joonas Pihlaja from Forcepoint |
| 3175 |
Reported-by: Juhani Eronen from Finnish National Cyber Security Centre |
| 3176 |
|
| 3177 |
2017-10-26 Tim Rühsen <[email protected]> |
| 3178 |
|
| 3179 |
Update for release 1.19.2 |
| 3180 |
* NEWS: Add news for 1.19.2 |
| 3181 |
* doc/wget.texi: Fix 1.20 to 1.19.2 |
| 3182 |
|
| 3183 |
2017-10-25 YX Hao <[email protected]> |
| 3184 |
|
| 3185 |
Avoid unnecessary UTF-8 encoded fallback (trivial change) |
| 3186 |
* src/retr.c (retrieve_url): Check for changed URL on redirect |
| 3187 |
|
| 3188 |
2017-09-27 Tim Rühsen <[email protected]> |
| 3189 |
|
| 3190 |
Add GNU extensions to .netrc parsing |
| 3191 |
src/netrc.c (parse_netrc): Add 'port' and 'force' extensions |
| 3192 |
|
| 3193 |
Reported-by: September 20Tim Landscheidt |
| 3194 |
|
| 3195 |
2017-09-18 Josef Moellers <[email protected]> |
| 3196 |
|
| 3197 |
Bail out on unexpected 416 server errors |
| 3198 |
* src/http.c (gethttp): Stop on 416 if file is incomplete |
| 3199 |
|
| 3200 |
2017-08-04 Tim Schlueter <[email protected]> |
| 3201 |
|
| 3202 |
Add gzip Content-Encoding decompression |
| 3203 |
* src/http.c (struct http_stat): Add remote_encoding field. |
| 3204 |
(read_response_body): Enable gzip decompression. |
| 3205 |
(initialize_request): Send gzip Accept-Encoding header. |
| 3206 |
(gethttp): Decompress files with gzip Content-Encoding. |
| 3207 |
* src/retr.c: include zlib.h. |
| 3208 |
(zalloc): New function. |
| 3209 |
(zfree): New function. |
| 3210 |
(fd_read_body): Decompress gzip data. |
| 3211 |
* src/retr.h (fd_read_body enum): Add rb_compressed_gzip flag. |
| 3212 |
|
| 3213 |
Add --compression option |
| 3214 |
* doc/wget.texi: Add --compression documentation. |
| 3215 |
* src/init.c (cmd_spec_compression): New function. |
| 3216 |
(commands[]): Add opt.compression. |
| 3217 |
(defaults): Set default opt.compression value. |
| 3218 |
* src/main.c (option_data[]): Add struct for --compression. |
| 3219 |
(print_help, help[]): Add description for --compression. |
| 3220 |
(main): Add incompatibility checks for --compression. |
| 3221 |
* src/options.h (struct options): Add compression enum and field. |
| 3222 |
|
| 3223 |
Adjust Extension based on Content-Encoding |
| 3224 |
* doc/wget.texi (--adjust-extension, adjust_extension): Updated documentation. |
| 3225 |
* src/http.c (encoding_t): New enum. |
| 3226 |
(struct http_stat): Add local_encoding field. |
| 3227 |
(gethttp): --adjust-extension based on Content-Encoding. |
| 3228 |
|
| 3229 |
2017-07-31 Darshit Shah <[email protected]> |
| 3230 |
|
| 3231 |
Document gperf as a requirement |
| 3232 |
|
| 3233 |
2017-07-28 Tim Rühsen <[email protected]> |
| 3234 |
|
| 3235 |
* src/url.c (url_scheme): Use ASCII version of strncasecmp |
| 3236 |
|
| 3237 |
2017-07-28 Tim Rühsen <[email protected]> |
| 3238 |
|
| 3239 |
Fix misuse of strncasecmp |
| 3240 |
* src/http.c (set_content_type): Use c_strcasecmp instead of strncasecmp |
| 3241 |
|
| 3242 |
See issue bug #51576 |
| 3243 |
|
| 3244 |
2017-07-09 Tim Rühsen <[email protected]> |
| 3245 |
|
| 3246 |
Fix python test suite for GnuTLS 3.5.12+ |
| 3247 |
* testenv/Test-*.py: Replace 127.0.0.1 by localhost |
| 3248 |
* testenv/certs/server-template.cfg: Likewise |
| 3249 |
* testenv/certs/server-cert.pem: Regenerate |
| 3250 |
* testenv/certs/server-crl.pem: Likewise |
| 3251 |
* testenv/test/base_test.py: Hardcode 'localhost' as server domain |
| 3252 |
|
| 3253 |
Reported-by: Ludovic Courtès <[email protected]> |
| 3254 |
|
| 3255 |
2017-06-13 Tim Rühsen <[email protected]> |
| 3256 |
|
| 3257 |
Check for 304 response before applying --adjust-extension |
| 3258 |
* src/http.c (gethttp): Move 304 code before --adjust-extension code |
| 3259 |
|
| 3260 |
This fixes applying --adjust-extension in combination with 304 |
| 3261 |
HTTP responses. It could lead to .html extensions to arbitrary |
| 3262 |
files. |
| 3263 |
|
| 3264 |
Reported-by: anfractuosity |
| 3265 |
|
| 3266 |
2017-06-13 Tim Rühsen <[email protected]> |
| 3267 |
|
| 3268 |
Fix buffer overflow in Public Key Pinning |
| 3269 |
* src/utils.c (wget_base64_decode): Add param for destination size, |
| 3270 |
(wg_pubkey_pem_to_der): Amend call to wget_base64_decode(), |
| 3271 |
(wg_pin_peer_pubkey): Likewise and fix code style. |
| 3272 |
* src/utils.h: Add param to wget_base64_decode() |
| 3273 |
* src/http-ntlm.c (ntlm_input): Amend call to wget_base64_decode() |
| 3274 |
* src/http.c (skip_content_type): Likewise |
| 3275 |
|
| 3276 |
Fixes #51227 |
| 3277 |
|
| 3278 |
2017-06-02 Tim Rühsen <[email protected]> |
| 3279 |
|
| 3280 |
* doc/wget.texi: Mention --no-config |
| 3281 |
|
| 3282 |
2017-05-16 Tim Rühsen <[email protected]> |
| 3283 |
|
| 3284 |
* testenv/Test-recursive-basic.py: Check crawled files |
| 3285 |
|
| 3286 |
Fix two Metalink tests if $HOME is changed |
| 3287 |
* conf/expected_files.py (gen_local_fs_snapshot): Skip processing |
| 3288 |
of 'pubring.kbx' |
| 3289 |
|
| 3290 |
2017-05-15 Tomas Hozza <[email protected]> |
| 3291 |
|
| 3292 |
Add command line option to disable use of .netrc |
| 3293 |
Although internally code uses option for (not) reading .netrc for |
| 3294 |
credentials, it was not possible to turn this behavior off on command |
| 3295 |
line. Note that it was possible to turn it off using wgetrc. |
| 3296 |
|
| 3297 |
Idea for this change came from Bruce Jerrick ([email protected]). |
| 3298 |
Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1425097 |
| 3299 |
|
| 3300 |
2017-05-15 Tomas Hozza <[email protected]> |
| 3301 |
|
| 3302 |
Fixed getting of credentials from .netrc |
| 3303 |
There seemed to be a copy&paste error in http.c code, which decides |
| 3304 |
whether to get credentials from .netrc. In ftp.c "user" and "pass" |
| 3305 |
variables are char*, while in http.c, these are char**. For this reason |
| 3306 |
they should be dereferenced when determining if password and user login |
| 3307 |
is set to some value. |
| 3308 |
|
| 3309 |
Also since both variables are dereferenced on lines above the changed |
| 3310 |
code, it does not really make sense to check if they are NULL. |
| 3311 |
|
| 3312 |
This patch is based on fix from Bruce Jerrick <[email protected]>. |
| 3313 |
Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=1425097 |
| 3314 |
|
| 3315 |
2017-05-15 Tomas Hozza <[email protected]> |
| 3316 |
|
| 3317 |
Added tests for HTTP authentication using credentials from .netrc |
| 3318 |
Getting credentials from .netrc has been broken from time to time, thus |
| 3319 |
adding a test coverage to prevent regressions. |
| 3320 |
|
| 3321 |
Also added setting of "HOME" environment variable when executing wget, |
| 3322 |
to make sure LocalFiles like .netrc, which are created just for the |
| 3323 |
test, are actually used. |
| 3324 |
|
| 3325 |
2017-05-15 Tim Rühsen <[email protected]> |
| 3326 |
|
| 3327 |
Fix Test-https-badcerts.px |
| 3328 |
* util/createcerts.sh: Set date of invalid cert to +20 years |
| 3329 |
* tests/certs/invalid.crt: Re-generated |
| 3330 |
* tests/certs/invalid.key: Re-generated |
| 3331 |
|
| 3332 |
2017-05-14 Tim Rühsen <[email protected]> |
| 3333 |
|
| 3334 |
* util/createcerts.sh: Fix double equal (syntax-check) |
| 3335 |
|
| 3336 |
Fix Test-https-badcerts.px to work with GnuTLS |
| 3337 |
* tests/Test-https-badcerts.px: Remove OpenSSL requirement |
| 3338 |
* tests/certs/expired.crt: Re-created with valid dates |
| 3339 |
* tests/certs/expired.key: Likewise |
| 3340 |
* tests/certs/invalid.crt: Likewise |
| 3341 |
* tests/certs/invalid.key: Likewise |
| 3342 |
|
| 3343 |
2017-05-14 Vijo Cherian <[email protected]> |
| 3344 |
|
| 3345 |
New shell script to create the certs and keys required for TLS tests |
| 3346 |
* util/createcerts.sh: New file |
| 3347 |
|
| 3348 |
2017-05-11 Tim Rühsen <[email protected]> |
| 3349 |
|
| 3350 |
Fix HTTPS testing for stricter OpenSSL |
| 3351 |
* testenv/certs/README: Amend cert creation extensions |
| 3352 |
* testenv/certs/ca-cert.pem: Created without OCSP signing purpose |
| 3353 |
|
| 3354 |
Having the OCSP signing purpose set made newer versions of OpenSSL |
| 3355 |
fail due to stricter checking. Test version of OpenSSL was 1.1.0e. |
| 3356 |
|
| 3357 |
2017-05-11 Tim Rühsen <[email protected]> |
| 3358 |
|
| 3359 |
* src/iri.c (idn_encode): Better IDNA 2003 compatibility |
| 3360 |
|
| 3361 |
2017-05-10 Tim Rühsen <[email protected]> |
| 3362 |
|
| 3363 |
* .gitlab-ci.yml: Also test OpenSSL build |
| 3364 |
|
| 3365 |
* .gitlab-ci.yml: Remove installation of texlive |
| 3366 |
|
| 3367 |
2017-05-10 Tim Rühsen <[email protected]> |
| 3368 |
|
| 3369 |
Add certs/wotca.pem to avoid temp. file creation |
| 3370 |
* tests/certs/wotca.pem: New file |
| 3371 |
* tests/Test-https-weboftrust.px: Remove creation of wotca.pem |
| 3372 |
|
| 3373 |
This change let Test-https-weboftrust.px survive VPATH builds. |
| 3374 |
|
| 3375 |
2017-05-10 Tim Rühsen <[email protected]> |
| 3376 |
|
| 3377 |
* cfg.mk: Exclude ^tests/certs/.* from syntax-check |
| 3378 |
|
| 3379 |
* po/POTFILES.in: Remove spider.c (syntax-check) |
| 3380 |
|
| 3381 |
* tests/Test-https-selfsigned.px: Add newline at EOF (syntax-check) |
| 3382 |
|
| 3383 |
2017-05-10 Vijo Cherian <[email protected]> |
| 3384 |
|
| 3385 |
Removed all uses of temp files. Added needed files to GIT |
| 3386 |
|
| 3387 |
Made CRL related files in the repo, instead of trying to generate them |
| 3388 |
|
| 3389 |
2017-05-09 Tim Rühsen <[email protected]> |
| 3390 |
|
| 3391 |
Cleanup on exit in Test-https-*.px |
| 3392 |
* tests/Test-https-*.px: Cleanup on exit |
| 3393 |
|
| 3394 |
Auto-generate interca.conf and rootca.conf |
| 3395 |
* configure.ac: Add interca.conf.in and rootca.conf.in to AC_CONFIG_FILES |
| 3396 |
* tests/certs/interca.conf: Removed |
| 3397 |
* tests/certs/rootca.conf: Removed |
| 3398 |
* tests/certs/interca.conf.in: New file |
| 3399 |
* tests/certs/rootca.conf.in: New file |
| 3400 |
|
| 3401 |
Fix path and VPATH issues of new https/TLS tests |
| 3402 |
* tests/SSLTest.pm: Use $srcdir in read-only files, |
| 3403 |
(_setup_server): Remove unneeded path fixation code |
| 3404 |
* tests/Test-https-*.px: Use $srcdir for read-only files, |
| 3405 |
use $cdir for writable files |
| 3406 |
* tests/certs/interca.conf: Adjust paths |
| 3407 |
* tests/certs/rootca.conf: Adjust paths |
| 3408 |
|
| 3409 |
Check for test server name resolution in tests |
| 3410 |
* tests/Test-https-*.px: Skip if test server name resolution fails |
| 3411 |
|
| 3412 |
* tests/Makefile.am: Enable Test-https-badcerts again |
| 3413 |
|
| 3414 |
Fix WgetFeature.pm to allow multiple required features |
| 3415 |
* tests/WgetFeature.cfg: Remove file |
| 3416 |
* tests/WgetFeature.pm: Extend to multiple features, cleanup |
| 3417 |
|
| 3418 |
* .gitlab-ci.yml: Add wgettestingserver to /etc/hosts |
| 3419 |
|
| 3420 |
* tests/SSLServer.pm: Check for IO::Socket::SSL |
| 3421 |
|
| 3422 |
* tests/Test-https-*: Change server port to <= 32767 |
| 3423 |
|
| 3424 |
Move https test server ports from >32767 to <= 32767 |
| 3425 |
* Test-https-badcerts.px: Change port |
| 3426 |
* Test-https-crl.px: Likewise |
| 3427 |
* Test-https-weboftrust.px: Likewise |
| 3428 |
|
| 3429 |
* tests/Makefile.am: Add SSLTest.pm and SSLServer.pm to EXTRA_DIST |
| 3430 |
|
| 3431 |
* tests//Makefile.am: Disable Test-https-badcerts.px |
| 3432 |
|
| 3433 |
Add Gitlab CI (Debian) |
| 3434 |
* .gitlab-ci.yml: New file |
| 3435 |
|
| 3436 |
2017-05-06 Tim Rühsen <[email protected]> |
| 3437 |
|
| 3438 |
* .travis.yml: Use trusty for libidn2-dev |
| 3439 |
|
| 3440 |
2017-05-04 Tim Rühsen <[email protected]> |
| 3441 |
|
| 3442 |
* tests/certs/test-ca-key.pem: Add newline at EOF |
| 3443 |
|
| 3444 |
Add static HOSTSALIAS file |
| 3445 |
* tests/certs/wgethosts: New file |
| 3446 |
* tests/Test-https-*.px: Remove creation of wgethosts file |
| 3447 |
|
| 3448 |
2017-05-04 Vijo Cherian <[email protected]> |
| 3449 |
|
| 3450 |
Added new tests for SSL |
| 3451 |
* tests/Test-https-badcerts.px : New file |
| 3452 |
* tests/Test-https-clientcert.px : New file |
| 3453 |
* tests/Test-https-crl.px : New file |
| 3454 |
* tests/Test-https-weboftrust.px : New file |
| 3455 |
* tests/certs/interca.conf : New file |
| 3456 |
* tests/certs/rootca.conf : New file |
| 3457 |
* tests/certs/test-ca-key.pem : New file |
| 3458 |
|
| 3459 |
Added all new SSL / HTTPS tests to make check |
| 3460 |
Added Test for SSL Web of Trust, accept only if CA chain of trust is intact. |
| 3461 |
Added a test script for client certificate |
| 3462 |
Added Test for crlfile option of wget |
| 3463 |
Added test to make sure that wget doesn't accept expired or invalid certs |
| 3464 |
|
| 3465 |
Some clean up : 1, Removed cause of warnings from perl & other cosmetic changes |
| 3466 |
2, Fix make -j 4 check such that it passes all tests |
| 3467 |
|
| 3468 |
2017-05-04 Tomas Hozza <[email protected]> |
| 3469 |
|
| 3470 |
Mention TLSv1_1 and TLSv1_2 as secure-protocol values in help |
| 3471 |
* src/main.c: The --secure-protocol option accepts also values TLSv1_1 |
| 3472 |
and TLSv1_2, as mentioned in the man page. However the help message |
| 3473 |
doesn't mention these two values. This patch adds TLSv1_1 and TLSv1_2 as |
| 3474 |
possible values to the help message. |
| 3475 |
|
| 3476 |
2017-05-03 Tim Rühsen <[email protected]> |
| 3477 |
|
| 3478 |
* src/http.c (gethttp): Support Wayback Machine's X-Archive-Orig-last-modified |
| 3479 |
|
| 3480 |
2017-04-28 Vijo Cherian <[email protected]> |
| 3481 |
|
| 3482 |
Added new tests for SSL |
| 3483 |
* tests/Test-https-badcerts.px : New file |
| 3484 |
* tests/Test-https-clientcert.px : New file |
| 3485 |
* tests/Test-https-crl.px : New file |
| 3486 |
* tests/Test-https-weboftrust.px : New file |
| 3487 |
* tests/certs/interca.conf : New file |
| 3488 |
* tests/certs/rootca.conf : New file |
| 3489 |
* tests/certs/test-ca-key.pem : New file |
| 3490 |
|
| 3491 |
Added all new SSL / HTTPS tests to make check |
| 3492 |
Added Test for SSL Web of Trust, accept only if CA chain of trust is intact. |
| 3493 |
Added a test script for client certificate |
| 3494 |
Added Test for crlfile option of wget |
| 3495 |
Added test to make sure that wget doesn't accept expired or invalid certs |
| 3496 |
|
| 3497 |
Some clean up : Removed cause of warnings from perl & other cosmetic changes |
| 3498 |
|
| 3499 |
2017-04-19 Vijo Cherian <[email protected]> |
| 3500 |
|
| 3501 |
Added new tests for SSL |
| 3502 |
* tests/SSLServer.pm: New file |
| 3503 |
* tests/SSLTest.pm: New file |
| 3504 |
* tests/Test-https-pfs.px: New file |
| 3505 |
* tests/Test-https-selfsigned.px: New file |
| 3506 |
* tests/Test-https-tlsv1.px: New file |
| 3507 |
* tests/Test-https-tlsv1x.px: New file |
| 3508 |
* tests/certs/server.crt: New file |
| 3509 |
* tests/certs/server.key: New file |
| 3510 |
* tests/certs/test-ca-cert.pem: New file |
| 3511 |
|
| 3512 |
Added 4 new test scripts all for SSL. |
| 3513 |
Added base pm for SSL testing. |
| 3514 |
Added SSL tests for TLSv1, TLSv1_1 and PFS. |
| 3515 |
Added test for self signed cert : check that it fails without |
| 3516 |
--no-check-certificate and passes with that flag. |
| 3517 |
|
| 3518 |
2017-04-18 Tim Rühsen <[email protected]> |
| 3519 |
|
| 3520 |
* src/utils.c: Remove non-portable __builtin_unreachable() |
| 3521 |
|
| 3522 |
2017-04-18 Tim Rühsen <[email protected]> |
| 3523 |
|
| 3524 |
Skip iconv() usage if HAVE_ICONV is not defined |
| 3525 |
This helps on broken iconv implementations, e.g. Solaris. |
| 3526 |
|
| 3527 |
Reported-by: Mojca Miklavec |
| 3528 |
|
| 3529 |
2017-04-18 Tim Rühsen <[email protected]> |
| 3530 |
|
| 3531 |
Mention 'bash' for executing ./bootstrap |
| 3532 |
Reported-by: Mojca Miklavec |
| 3533 |
|
| 3534 |
2017-04-18 Tim Rühsen <[email protected]> |
| 3535 |
|
| 3536 |
* bootstrap.conf: Make 'sed' options more portable |
| 3537 |
'sed -i' works differently on FreeBSD. |
| 3538 |
|
| 3539 |
Reported-by: Mojca Miklavec |
| 3540 |
|
| 3541 |
2017-04-16 Tim Rühsen <[email protected]> |
| 3542 |
|
| 3543 |
Fix charset transcoding issue for non-reversible codepoints |
| 3544 |
* src/url.c: Check iconv() against 0, not -1 |
| 3545 |
|
| 3546 |
On some libiconv implementations, unknown codepoints become |
| 3547 |
encoded as ?, e.g. when converting a non-ascii codepoint to ASCII. |
| 3548 |
This results in ambigious file names which also fails our tests. |
| 3549 |
|
| 3550 |
2017-04-16 Tim Rühsen <[email protected]> |
| 3551 |
|
| 3552 |
* src/iri.c: Fix WIN32 idn2_free, forgotten code |
| 3553 |
|
| 3554 |
2017-04-14 Darshit Shah <[email protected]> |
| 3555 |
|
| 3556 |
* src/init.c: Set flstats correctly when using WGETRC env var |
| 3557 |
|
| 3558 |
2017-04-08 Tim Rühsen <[email protected]> |
| 3559 |
|
| 3560 |
Fix use of idn2_free() |
| 3561 |
* src/connect.c (connect_to_ip): Use xfree() instead of idn2_free() |
| 3562 |
* src/host.c (lookup_host): Use xfree() instead of idn2_free() |
| 3563 |
* src/iri.h: Do not include idn2.h |
| 3564 |
* src/url.c (url_free): Use xfree() instead of idn2_free() |
| 3565 |
* src/url.h (struct url): Remove 'idn_allocated' from struct |
| 3566 |
|
| 3567 |
Reported-by: Gisle Vanem |
| 3568 |
|
| 3569 |
2017-04-05 Anton Yuzhaninov <[email protected]> |
| 3570 |
|
| 3571 |
Fix perl warnings in tests |
| 3572 |
* tests/FTPServer.pm: Escape '{' in RE to fix warnings |
| 3573 |
* tests/FTPTest.pm: Likewise |
| 3574 |
* tests/HTTPServer.pm: Likewise |
| 3575 |
* tests/HTTPTest.pm: Likewise |
| 3576 |
* tests/Test-proxied-https-auth-keepalive.px: Likewise |
| 3577 |
* tests/Test-proxied-https-auth.px: Likewise |
| 3578 |
Escape '{' in RE to fix warnings: |
| 3579 |
Unescaped left brace in regex is deprecated, passed through in regex; |
| 3580 |
marked by <-- HERE in m/{{ <-- HERE port}}/ |
| 3581 |
|
| 3582 |
2017-04-01 klemens <[email protected]> |
| 3583 |
|
| 3584 |
Fix typos in comments |
| 3585 |
|
| 3586 |
2017-03-31 Tim Rühsen <[email protected]> |
| 3587 |
|
| 3588 |
* src/metalink.c (retrieve_from_metalink): Fix len in memset() |
| 3589 |
|
| 3590 |
2017-03-24 Tim Rühsen <[email protected]> |
| 3591 |
|
| 3592 |
Add gnulib module group-member |
| 3593 |
|
| 3594 |
2017-03-24 Vijo Cherian <[email protected]> |
| 3595 |
|
| 3596 |
Safeguards against TOCTTOU |
| 3597 |
* src/utils.h: Add struct file_stat_s declaration, |
| 3598 |
change prototypes of file_exists_p(), |
| 3599 |
add prototypes for fopen_stat() and open_stat(). |
| 3600 |
* src/utils.c: Extend file_exists_p(), |
| 3601 |
new function fopen_stat() and open_stat(), |
| 3602 |
add new param for file_exists_p(). |
| 3603 |
* src/init.h: Add param file_stats_t to run_wgetrc(). |
| 3604 |
* src/ftp.c: Amend calls to extended functions. |
| 3605 |
* src/hsts.c: Likewise. |
| 3606 |
* src/http.c: Likewise. |
| 3607 |
* src/init.c: Likewise. |
| 3608 |
* src/main.c: Likewise. |
| 3609 |
* src/metalink.c: Likewise. |
| 3610 |
* src/retr.c: Likewise. |
| 3611 |
* src/url.c: Likewise. |
| 3612 |
|
| 3613 |
Added fopen_stat() and open_stat() that checks to makes sure the file didn't |
| 3614 |
change underneath us. |
| 3615 |
Return error from file_exists_p(). |
| 3616 |
Added a way to return error from this file without major surgery to the |
| 3617 |
callers. |
| 3618 |
|
| 3619 |
Fixes: #20369 |
| 3620 |
|
| 3621 |
2017-03-24 Tim Rühsen <[email protected]> |
| 3622 |
|
| 3623 |
Update gnulib |
| 3624 |
|
| 3625 |
2017-03-22 Christof Horschitz <[email protected]> |
| 3626 |
|
| 3627 |
* src/warc.c (warc_write_cdx_record): Escape URLs |
| 3628 |
|
| 3629 |
2017-03-20 Mike Frysinger <[email protected]> |
| 3630 |
|
| 3631 |
Include libunistring headers only when used |
| 3632 |
* src/iri.c: Check for libidn2 < 0.14 to include libunistring headers |
| 3633 |
|
| 3634 |
The unistring functions are used only when an older version of libidn2 |
| 3635 |
is used, so don't include its headers either w/newer libdin2 versions. |
| 3636 |
|
| 3637 |
2017-03-18 Tim Rühsen <[email protected]> |
| 3638 |
|
| 3639 |
Fix links to www.robotstxt.org |
| 3640 |
* NEWS: Fix links |
| 3641 |
* doc/wget.texi: Likewise |
| 3642 |
* src/res.c: Likewise |
| 3643 |
|
| 3644 |
Reported-by: Noël Köthe |
| 3645 |
|
| 3646 |
2017-03-13 Tim Rühsen <[email protected]> |
| 3647 |
|
| 3648 |
* tests/WgetTests.pm: Add -d to Wget test options |
| 3649 |
|
| 3650 |
2017-03-08 Tim Rühsen <[email protected]> |
| 3651 |
|
| 3652 |
Include <arpa/inet.h> for Windows |
| 3653 |
Reported-by: Gisle Vanem |
| 3654 |
|
| 3655 |
2017-03-08 Tim Rühsen <[email protected]> |
| 3656 |
|
| 3657 |
Fix updating HSTS entries |
| 3658 |
* src/hsts.c (hsts_store_entry): Always update 'created' field |
| 3659 |
|
| 3660 |
Fixes: #50490 |
| 3661 |
Reported-by: Deian Stefan, Atyansh Jaiswal, Jonathan Luck |
| 3662 |
|
| 3663 |
2017-03-06 Tim Rühsen <[email protected]> |
| 3664 |
|
| 3665 |
Fix CRLF injection in Wget host part |
| 3666 |
* src/url.c (url_parse): Reject control characters in host part of URL |
| 3667 |
|
| 3668 |
Reported-by: Orange Tsai |
| 3669 |
|
| 3670 |
2017-03-04 Benjamin Esham <[email protected]> |
| 3671 |
|
| 3672 |
* src/warc.c: Use warc_write_header_uri for all WARC-Target-URI fields |
| 3673 |
The WARC spec requires that all URIs be enclosed in angle brackets. This |
| 3674 |
was being done in most cases, but not for "WARC-Target-URI" fields in |
| 3675 |
WARC blocks of type "response", "resource", "revisit", and "metadata". |
| 3676 |
|
| 3677 |
2017-02-16 Tim Rühsen <[email protected]> |
| 3678 |
|
| 3679 |
Fix 504 status handling |
| 3680 |
* src/http.c (gethttp): Move 504 handling to correct place. |
| 3681 |
(http_loop): Fix memeory leak. |
| 3682 |
* testenv/server/http/http_server.py: Add Content-Length header on non-2xx |
| 3683 |
status codes with a body |
| 3684 |
|
| 3685 |
Reported-by: Adam Sampson |
| 3686 |
|
| 3687 |
2017-02-16 YX Hao <[email protected]> |
| 3688 |
|
| 3689 |
* src/url.c (url_file_name): Do not charset convert local directory |
| 3690 |
In a non-ASCII environment, the local path may contain non-ASCII |
| 3691 |
characters. The server responded file name must be converted before |
| 3692 |
it is concatenated to the local path. Conversion after concatenation |
| 3693 |
may result in 'iconv' errors. |
| 3694 |
|
| 3695 |
2017-02-15 Tim Rühsen <[email protected]> |
| 3696 |
|
| 3697 |
* configure.ac: Remove manually resetting of LIBICONV variable |
| 3698 |
Fixes: #48193 |
| 3699 |
Reported-by: ilovezfs |
| 3700 |
Reported-by: Charles |
| 3701 |
|
| 3702 |
* bootstrap.conf: Call gperf to create lib/unicase/special-casing-table.h |
| 3703 |
|
| 3704 |
* bootstrap.conf: Fix latest gnulib to work with gperf < 3.1 |
| 3705 |
|
| 3706 |
2017-02-14 Darshit Shah <[email protected]> |
| 3707 |
|
| 3708 |
Pull GNULib to latest. |
| 3709 |
* gnulib: Pull to latest commit. This fixes an issue with Gperf 3.1 |
| 3710 |
|
| 3711 |
2017-02-12 Tim Rühsen <[email protected]> |
| 3712 |
|
| 3713 |
* src/main.c: Remove double 'verbose' option |
| 3714 |
Fixes: #50290 |
| 3715 |
|
| 3716 |
2017-02-11 Tim Rühsen <[email protected]> |
| 3717 |
|
| 3718 |
* NEWS: update |
| 3719 |
|
| 3720 |
isrc/http.c (check_retry_on_http_error): Fix gcc warning |
| 3721 |
|
| 3722 |
2017-02-11 Tom Szilagyi <[email protected]> |
| 3723 |
|
| 3724 |
Add support for --retry-on-http-error |
| 3725 |
* doc/wget.text: Add documentation |
| 3726 |
* src/http.c: Add function check_retry_on_http_error () |
| 3727 |
* src/init.c: Add opt.retry_on_http_error |
| 3728 |
* src/main.c: Add struct for retry-on-http-error to option_data[] |
| 3729 |
* src/options.h: Add retry_on_http_error to struct options |
| 3730 |
|
| 3731 |
2017-02-11 Tim Rühsen <[email protected]> |
| 3732 |
|
| 3733 |
Revert "Add support for --retry-on-http-error" |
| 3734 |
This reverts commit 977276374d1be7f171f5da8633368025c88b9eee. |
| 3735 |
|
| 3736 |
2017-02-10 Tim Rühsen <[email protected]> |
| 3737 |
|
| 3738 |
Change libtool library deps to non-libtool deps |
| 3739 |
Reported-by: Yousong Zhou |
| 3740 |
Fixes: #50260 |
| 3741 |
|
| 3742 |
2017-02-09 Tom Szilagyi <[email protected]> |
| 3743 |
|
| 3744 |
Add support for --retry-on-http-error |
| 3745 |
* doc/wget.texi: Add description for --retry-on-http-error |
| 3746 |
* src/http.c (gethttp): |
| 3747 |
Consider given HTTP response codes as non-fatal, transient errors. |
| 3748 |
Supply a comma-separated list of 3-digit HTTP response codes as |
| 3749 |
argument. Useful to work around special circumstances where retries |
| 3750 |
are required, but the server responds with an error code normally not |
| 3751 |
retried by Wget. Such errors might be 503 (Service Unavailable) and |
| 3752 |
429 (Too Many Requests). Retries enabled by this option are performed |
| 3753 |
subject to the normal retry timing and retry count limitations of |
| 3754 |
Wget. |
| 3755 |
|
| 3756 |
Using this option is intended to support special use cases only and is |
| 3757 |
generally not recommended, as it can force retries even in cases where |
| 3758 |
the server is actually trying to decrease its load. Please use it |
| 3759 |
wisely and only if you know what you are doing. |
| 3760 |
|
| 3761 |
Example use and a starting point for manual testing: |
| 3762 |
wget --retry-on-http-error=429,503 http://httpbin.org/status/503 |
| 3763 |
|
| 3764 |
2017-02-09 Tim Rühsen <[email protected]> |
| 3765 |
|
| 3766 |
* tests/WgetTests.pm: Add --no-config to wget invocation |
| 3767 |
Without --no-config, wgetrc commands may disturb the tests. |
| 3768 |
|
| 3769 |
Reported-by: Dagobert Michelsen |
| 3770 |
|
| 3771 |
2017-02-06 Tim Rühsen <[email protected]> |
| 3772 |
|
| 3773 |
* tests/WgetTests.pm (_verify_download): Fix failure message |
| 3774 |
Reported-by: Zhiming Wang |
| 3775 |
|
| 3776 |
* src/http.c (initialize_request): Fix regression in .netrc auth |
| 3777 |
Reported-by: Axel Reinhold |
| 3778 |
|
| 3779 |
* src/iri.c (idn_encode): Fix memory leak |
| 3780 |
|
| 3781 |
2017-02-06 Tim Rühsen <[email protected]> |
| 3782 |
|
| 3783 |
Remove skipping libunistring with --disable-iri |
| 3784 |
* configure.ac: Remove checking for IRI=no |
| 3785 |
|
| 3786 |
On certain systems, gnulib falls back to libunistring |
| 3787 |
for mbtowc() and wcwidth() (used in src/progress.c). |
| 3788 |
|
| 3789 |
Reported-by: Zhiming Wang |
| 3790 |
|
| 3791 |
2017-02-04 Tim Rühsen <[email protected]> |
| 3792 |
|
| 3793 |
* bootstrap.conf: Add gnulib module wcwidth |
| 3794 |
|
| 3795 |
Fix include/define clash with gnulib's unlink module |
| 3796 |
* src/options.h: Rename options.unlink to options.unlink_requested |
| 3797 |
* src/init.c: Replace options unlink member by unlink_requested |
| 3798 |
* src/http.c: Likewise |
| 3799 |
* src/ftp.c: Likewise |
| 3800 |
|
| 3801 |
* bootstrap.conf: Specify unicode modules more exact |
| 3802 |
|
| 3803 |
* src/xattr.h: Fix #define fsetxattr for MacOS and FreeBSD |
| 3804 |
Reported-by: Zhiming Wang |
| 3805 |
|
| 3806 |
2017-02-03 Tim Rühsen <[email protected]> |
| 3807 |
|
| 3808 |
* contrib/release: New release helper script |
| 3809 |
|
| 3810 |
* cfg.mk: Fix syntax-check |
| 3811 |
|
| 3812 |
* doc/announcement_1.19.txt: Add new file |
| 3813 |
|
| 3814 |
* src/utils.c: Move macro FMT_MAX_LENGTH into scope |
| 3815 |
|
| 3816 |
* src/utils.c: Fix -Wformat= warnings |
| 3817 |
|
| 3818 |
* src/gnutls.c: Fix -Wformat= warnings |
| 3819 |
|
| 3820 |
* src/iri.c: Remove unused macro IDNA_FLAGS |
| 3821 |
|
| 3822 |
* src/iri.c: Remove use of __func__ macros |
| 3823 |
|
| 3824 |
* src/http.c: Fix -Wformat= warnings |
| 3825 |
|
| 3826 |
* src/progress.c: Remove unused macro move_to_end |
| 3827 |
|
| 3828 |
* src/html-parse.c: Remove unused macro SKIP_NON_WS |
| 3829 |
|
| 3830 |
* src/hsts.c: Remove unused macro CHECK_EXPLICIT_PORT |
| 3831 |
|
| 3832 |
* src/hsts.c: Fix -Wformat= warnings |
| 3833 |
|
| 3834 |
* src/hash.c: Explicitly convert float to int |
| 3835 |
|
| 3836 |
* src/ftp-ls.c: Fix -Wformat= warnings |
| 3837 |
|
| 3838 |
* src/ftp.c (ftp_retrieve_list): Add default to switch |
| 3839 |
|
| 3840 |
* src/css-url.h: Remove redundant declaration |
| 3841 |
|
| 3842 |
* src/ftp.c: Fix -Wformat= warning |
| 3843 |
|
| 3844 |
* src/http.c (test_parse_range_header): Fix constants |
| 3845 |
|
| 3846 |
2017-02-02 Dale R. Worley <[email protected]> |
| 3847 |
|
| 3848 |
Improve documentation of --trust-server-names. |
| 3849 |
|
| 3850 |
2017-02-02 Tim Rühsen <[email protected]> |
| 3851 |
|
| 3852 |
* src/url.c (mkalldirs): Add newline to log message |
| 3853 |
|
| 3854 |
* src/cookies.c (check_domain_match): Add newline to DEBUG lines |
| 3855 |
|
| 3856 |
2017-01-17 Tim Rühsen <[email protected]> |
| 3857 |
|
| 3858 |
* NEWS: update |
| 3859 |
|
| 3860 |
* README.checkout: Link HTTPS where possible, update flex homepage |
| 3861 |
|
| 3862 |
* README.checkout: Fix libidn to libidn2 |
| 3863 |
|
| 3864 |
2017-01-13 Tim Rühsen <[email protected]> |
| 3865 |
|
| 3866 |
* src/iri.c: Use TR46 non-transitional for toASCII conversion |
| 3867 |
|
| 3868 |
* src/main.c: Fix _Noreturn compiler warnings |
| 3869 |
|
| 3870 |
* src/utils.c: Fix _Noreturn compiler warning |
| 3871 |
|
| 3872 |
* src/init.c (setval_internal): Fix sign compare warning |
| 3873 |
|
| 3874 |
2017-01-13 Tim Rühsen <[email protected]> |
| 3875 |
|
| 3876 |
Replace home-grown portability code by gnulib modules |
| 3877 |
* bootstrap.conf: Add intprops, inttypes, limits-h, signal-h, |
| 3878 |
stat, sys_types |
| 3879 |
* src/ftp.c: Replace 'struct_stat' by 'struct stat' |
| 3880 |
* src/hsts.c: Likewise |
| 3881 |
* src/http.c: Likewise |
| 3882 |
* src/main.c: Likewise |
| 3883 |
* src/netrc.c: Likewise |
| 3884 |
* src/retr.c: Likewise |
| 3885 |
* src/url.c: Likewise |
| 3886 |
* src/utils.c: Likewise |
| 3887 |
* src/sysdep.h: Remove old portability code |
| 3888 |
|
| 3889 |
Further portability issues should be addressed by gnulib. |
| 3890 |
|
| 3891 |
2017-01-13 Tim Rühsen <[email protected]> |
| 3892 |
|
| 3893 |
Replace WGET_* m4 macros by gnulib modules |
| 3894 |
* bootstrap.conf: Add hostent, inet_ntop, nanosleep, utimens |
| 3895 |
* configure.ac: Remove WGET_STRUCT_UTIMBUF, WGET_FNMATCH, |
| 3896 |
WGET_NANOSLEEP, WGET_POSIX_CLOCK, WGET_NSL_SOCKET |
| 3897 |
* m4/wget.m4: Likewise |
| 3898 |
* src/Makefile.am: Add $(LIB_NANOSLEEP) $(LIB_POSIX_SPAWN) to LDADD |
| 3899 |
* tests/Makefile.am: Likewise |
| 3900 |
* src/host.c (print_address): Use inet_ntop also for IPV4 |
| 3901 |
|
| 3902 |
2017-01-13 Tim Rühsen <[email protected]> |
| 3903 |
|
| 3904 |
Remove libidn vulnerability work-around |
| 3905 |
* src/iri.c (_utf8_is_valid): Removed |
| 3906 |
|
| 3907 |
Since we are using libidn2 for IDNs, we no longer need |
| 3908 |
this work-around. |
| 3909 |
|
| 3910 |
2017-01-13 Tim Rühsen <[email protected]> |
| 3911 |
|
| 3912 |
* src/iri.c (idn_encode): Use TR46 transitional if available |
| 3913 |
|
| 3914 |
* gnulibx: Update |
| 3915 |
|
| 3916 |
2017-01-07 Tim Rühsen <[email protected]> |
| 3917 |
|
| 3918 |
Fix previous commit 2427ca4ac090dc6cc0c527f4ac4fc5a4bd468eb1 |
| 3919 |
|
| 3920 |
2017-01-06 vijeth-aradhya <[email protected]> |
| 3921 |
|
| 3922 |
Fix http.c and ftp.c passwd logic error |
| 3923 |
* src/ftp.c (getftp): Fix password/user selection |
| 3924 |
* src/http.c (initialize_request): Likewise |
| 3925 |
|
| 3926 |
Before, netrc password won over interactive |
| 3927 |
--ask-password but now --ask-password wins |
| 3928 |
after change of program logic |
| 3929 |
|
| 3930 |
Fixes Issue #48811 |
| 3931 |
|
| 3932 |
2016-12-31 Giuseppe Scrivano <[email protected]> |
| 3933 |
|
| 3934 |
* src/main.c (main): Add missing \n in error message |
| 3935 |
|
| 3936 |
2016-12-28 Giuseppe Scrivano <[email protected]> |
| 3937 |
|
| 3938 |
Check that fd_set has not fds bigger than FD_SETSIZE |
| 3939 |
* src/connect.c: check that the fd is not bigger than FD_SETSIZE |
| 3940 |
before using FD_SET. An fd_set cannot hold fds bigger than |
| 3941 |
FD_SETSIZE, causing out-of-bounds write to a buffer on the stack. |
| 3942 |
|
| 3943 |
Reported by: Jann Horn <[email protected]> |
| 3944 |
|
| 3945 |
2016-12-20 Nikos Mavrogiannopoulos <[email protected]> |
| 3946 |
|
| 3947 |
Avoid calling the gnutls priority functions multiple times |
| 3948 |
* src/gnutls.c (ssl_connect_wget): Call gnutls_set_default_priority() |
| 3949 |
for --secure-protocol=auto (default). |
| 3950 |
|
| 3951 |
The patch fixes a behavior that may have unintended side-effects in |
| 3952 |
certain gnutls versions. Instead use the default priorities when no |
| 3953 |
options are given. |
| 3954 |
|
| 3955 |
2016-12-19 Tim Rühsen <[email protected]> |
| 3956 |
|
| 3957 |
Print debug message when skipping certain recursive downloads |
| 3958 |
* src/recur.c (retrieve_tree): Print debug message instead silently |
| 3959 |
skipping recursive downloads. |
| 3960 |
|
| 3961 |
2016-12-14 Rahul Bedarkar <[email protected]> |
| 3962 |
|
| 3963 |
Rename base64_{encode,decode} (trivial patch) |
| 3964 |
* src/http-ntlm.c: Rename base64_{encode,decode} |
| 3965 |
* src/http.c: Likewise |
| 3966 |
* src/utils.c: Likewise |
| 3967 |
* src/utils.h: Likewise |
| 3968 |
|
| 3969 |
When statically linking with gnutls, we get definition clash error for |
| 3970 |
base64_encode which is also defined by gnutls. |
| 3971 |
|
| 3972 |
To prevent definition clash, rename base64_{encode,decode} |
| 3973 |
|
| 3974 |
2016-12-11 Tim Rühsen <[email protected]> |
| 3975 |
|
| 3976 |
Add support for psl_latest() |
| 3977 |
* configure.ac: Add check for psl_latest(), |
| 3978 |
remove --with-psl-file |
| 3979 |
* src/cookies.c (check_domain_match): Use psl_latest() if available |
| 3980 |
|
| 3981 |
2016-11-09 Piotr Wajda <[email protected]> |
| 3982 |
|
| 3983 |
Respect -o parameter again |
| 3984 |
* log.c: don't choose log output dynamically when opt.lfilename is set |
| 3985 |
|
| 3986 |
Regression introduced by dd5c549f6af8e1143e1a6ef66725eea4bcd9ad50 |
| 3987 |
Reported-by: Dale R. Worley |
| 3988 |
|
| 3989 |
2016-11-07 Tim Rühsen <[email protected]> |
| 3990 |
|
| 3991 |
Move Wget from IDN2003 (libidn) to IDN2008 (libidn2) |
| 3992 |
* .travis.yml: Install libidn2-dev instead libidn11-dev. |
| 3993 |
* bootstrap.conf: Add modules libunistring-optional, unistr/base, |
| 3994 |
unicase/tolower. |
| 3995 |
* configure.ac: Check for libidn2. |
| 3996 |
* src/Makefile.am: Add $(LTLIBUNISTRING) to LDADD. |
| 3997 |
* tests/Makefile.am: Set LDADD similar to LDADD in src/Makefile.am |
| 3998 |
* src/connect.c: Use libidn2 code instead of libidn. |
| 3999 |
* src/host.c: Likewise. |
| 4000 |
* src/iri.c: Likewise. |
| 4001 |
* src/iri.h: Likewise. |
| 4002 |
* src/options.h: Likewise. |
| 4003 |
* src/url.c: Likewise. |
| 4004 |
* src/url.h: Likewise. |
| 4005 |
* src/log.c: Fix C99 comment. |
| 4006 |
|
| 4007 |
IDN2003 should not be used any more due to security concerns. |
| 4008 |
We use libunistring (resp. the unicode code from gnulib) for |
| 4009 |
lowercasing UTF-8 before we give data to libidn2. |
| 4010 |
TR#46 is missing, no support in libidn2 nor in libunistring. |
| 4011 |
|
| 4012 |
2016-11-03 Tim Rühsen <[email protected]> |
| 4013 |
|
| 4014 |
Use -O0 in contrib scripts |
| 4015 |
* contrib/check-hard: Use -O0 instead of -O2 to speed up script. |
| 4016 |
* contrib/travis-ci: Likewise. |
| 4017 |
|
| 4018 |
Update gnulib |
| 4019 |
|
| 4020 |
2016-10-22 Tim Rühsen <[email protected]> |
| 4021 |
|
| 4022 |
* src/metalink.c: Fix typo 'suceeded' -> 'succeeded' |
| 4023 |
Reported-by: Göran Uddeborg <[email protected]>, |
| 4024 |
Anders Jonsson <[email protected]> |
| 4025 |
|
| 4026 |
2016-10-21 losgrandes <[email protected]> |
| 4027 |
|
| 4028 |
Fixes #45790: wget prints it's progress even when background |
| 4029 |
* src/log.c: Use tcgetpgrp(STDIN_FILENO) != getpgrp() to determine when to print to STD* or logfile. |
| 4030 |
Deprecate log_request_redirect_output function. |
| 4031 |
Use different file handles for STD* and logfile, to easily switch between them when changing fg/bg. |
| 4032 |
* src/log.h: Make redirect_output function externally linked. |
| 4033 |
* src/main.c: Don't use deprecated log_request_redirect_output function. Use redirect_output instead. |
| 4034 |
* src/mswindows.c: Don't use deprecated log_request_redirect_output function. Use redirect_output instead. |
| 4035 |
|
| 4036 |
Fixes #46584: wget --spider always returns zero exit status |
| 4037 |
* src/ftp.c: Return error as exit value if even one file doesn't exist |
| 4038 |
|
| 4039 |
2016-10-12 Tim Rühsen <[email protected]> |
| 4040 |
|
| 4041 |
* src/http.c (gethttp): Accept 206 for request w/o Range header |
| 4042 |
Fixes: #49319 |
| 4043 |
|
| 4044 |
2016-10-07 Tim Rühsen <[email protected]> |
| 4045 |
|
| 4046 |
* tests/Makefile.am: Let WGETRC work on *nix and Windows |
| 4047 |
|
| 4048 |
Properly include iconv.h |
| 4049 |
* src/iri.c: Check HAVE_ICONV to include iconv.h |
| 4050 |
* src/url.c: Same |
| 4051 |
|
| 4052 |
* bootstrap.conf: Add pipe-posix for pipe() |
| 4053 |
|
| 4054 |
2016-10-07 Tim Rühsen <[email protected]> |
| 4055 |
|
| 4056 |
Amend redirection behavior |
| 4057 |
* src/recur.c (descend_redirect): Ignore WG_RR_LIST and WG_RR_REGEX |
| 4058 |
for redirections. |
| 4059 |
* testenv/Makefile.am: Add Test-recursive-redirect.py |
| 4060 |
* testenv/Test-recursive-redirect.py: New test |
| 4061 |
|
| 4062 |
Test-recursive-redirect.py written by Dale R. Worley. |
| 4063 |
|
| 4064 |
Reported-by: "Dale R. Worley" <[email protected]> |
| 4065 |
|
| 4066 |
2016-09-30 Matthew White <[email protected]> |
| 4067 |
|
| 4068 |
New: Metalink/XML v3 python class, update tests to use this class |
| 4069 |
* testenv/misc/metalinkv3_xml.py: New Metalink/XML v3 python class |
| 4070 |
* testenv/Test-metalink-xml-abspath-trust.py: Update test to use the |
| 4071 |
new Metalink/XML v3 python class |
| 4072 |
* testenv/Test-metalink-xml-abspath.py: Update test to use the new |
| 4073 |
Metalink/XML v3 python class |
| 4074 |
* testenv/Test-metalink-xml-absprefix-trust.py: Update test to use the |
| 4075 |
new Metalink/XML v3 python class |
| 4076 |
* testenv/Test-metalink-xml-absprefix.py: Update test to use the new |
| 4077 |
Metalink/XML v3 python class |
| 4078 |
* testenv/Test-metalink-xml-continue.py: Update test to use the new |
| 4079 |
Metalink/XML v3 python class |
| 4080 |
* testenv/Test-metalink-xml-emptyprefix-trust.py: Update test to use |
| 4081 |
the new Metalink/XML v3 python class |
| 4082 |
* testenv/Test-metalink-xml-homepath-trust.py: Update test to use the |
| 4083 |
new Metalink/XML v3 python class |
| 4084 |
* testenv/Test-metalink-xml-homepath.py: Update test to use the new |
| 4085 |
Metalink/XML v3 python class |
| 4086 |
* testenv/Test-metalink-xml-homeprefix-trust.py: Update test to use |
| 4087 |
the new Metalink/XML v3 python class |
| 4088 |
* testenv/Test-metalink-xml-homeprefix.py: Update test to use the new |
| 4089 |
Metalink/XML v3 python class |
| 4090 |
* testenv/Test-metalink-xml-nohash.py: Update test to use the new |
| 4091 |
Metalink/XML v3 python class |
| 4092 |
* testenv/Test-metalink-xml-nourls.py: Update test to use the new |
| 4093 |
Metalink/XML v3 python class |
| 4094 |
* testenv/Test-metalink-xml-prefix-trust.py: Update test to use the |
| 4095 |
new Metalink/XML v3 python class |
| 4096 |
* testenv/Test-metalink-xml-prefix.py: Update test to use the new |
| 4097 |
Metalink/XML v3 python class |
| 4098 |
* testenv/Test-metalink-xml-relpath-trust.py: Update test to use the |
| 4099 |
new Metalink/XML v3 python class |
| 4100 |
* testenv/Test-metalink-xml-relpath.py: Update test to use the new |
| 4101 |
Metalink/XML v3 python class |
| 4102 |
* testenv/Test-metalink-xml-relprefix-trust.py: Update test to use the |
| 4103 |
new Metalink/XML v3 python class |
| 4104 |
* testenv/Test-metalink-xml-relprefix.py: Update test to use the new |
| 4105 |
Metalink/XML v3 python class |
| 4106 |
* testenv/Test-metalink-xml-size.py: Update test to use the new |
| 4107 |
Metalink/XML v3 python class |
| 4108 |
* testenv/Test-metalink-xml-trust.py: Update test to use the new |
| 4109 |
Metalink/XML v3 python class |
| 4110 |
* testenv/Test-metalink-xml.py: Update test to use the new |
| 4111 |
Metalink/XML v3 python class |
| 4112 |
|
| 4113 |
2016-09-30 Matthew White <[email protected]> |
| 4114 |
|
| 4115 |
New: --metalink-over-http Content-Type/Disposition Metalink/XML processing |
| 4116 |
* src/http.c (metalink_from_http): Process the Content-Type header. |
| 4117 |
Add an application/metalink4+xml URL as metalink metaurl. If the |
| 4118 |
option opt.content_disposition is true, the Content-Disposition's |
| 4119 |
filename is the metaurl's name |
| 4120 |
* doc/wget.texi: Update --content-disposition and --metalink-over-http |
| 4121 |
* doc/metalink-standard.txt: Update doc. Content-Type/Disposition |
| 4122 |
processing through --metalink-over-http. Update download naming |
| 4123 |
system about --trust-server-names and --content-disposition |
| 4124 |
* testenv/Makefile.am: Add new files |
| 4125 |
* testenv/Test-metalink-http-xml-type.py: New file. Metalink/HTTP |
| 4126 |
Content-Type/Disposition header automated Metalink/XML tests |
| 4127 |
* testenv/Test-metalink-http-xml-type-trust.py: New file. Metalink/HTTP |
| 4128 |
Content-Type/Disposition header with --trust-server-names automated |
| 4129 |
Metalink/XML tests |
| 4130 |
* testenv/Test-metalink-http-xml-type-content.py: New file. Metalink/HTTP |
| 4131 |
Content-Type/Disposition header with --content-disposition automated |
| 4132 |
Metalink/XML tests |
| 4133 |
* testenv/Test-metalink-http-xml-type-trust-content.py: New file. |
| 4134 |
Metalink/HTTP Content-Type/Disposition header with --trust-server-names |
| 4135 |
and --content-disposition automated Metalink/XML tests |
| 4136 |
|
| 4137 |
Process the Content-Type header, identify an application/metalink4+xml |
| 4138 |
file. The Content-Disposition could provide an alternate name through |
| 4139 |
the "filename" field for the metalink xml file. Respectively, the cli |
| 4140 |
options --metalink-over-http and --content-disposition are required. |
| 4141 |
|
| 4142 |
When Metalink/XML auto-processing, to use the Content-Disposition's |
| 4143 |
filename, the cli option --trust-server-names is also required. |
| 4144 |
|
| 4145 |
2016-09-30 Matthew White <[email protected]> |
| 4146 |
|
| 4147 |
Bugfix: Set NULL variable due to --content-disposition to Metalink origin |
| 4148 |
* src/http.c (http_loop): Prevent SIGSEGV when hstat.local_file is |
| 4149 |
NULL, opt.content_disposition has a role in leaving the value unset |
| 4150 |
* src/http.c (gethttp): If hs->local_file is NULL (aka http_loop()'s |
| 4151 |
hstat.local_file), set it to the value of hs->metalink->origin |
| 4152 |
|
| 4153 |
New: --trust-server-names saves Metalink/HTTP xml files using the "name" field |
| 4154 |
* src/metalink.c (retrieve_from_metalink): If opt.trustservernames is |
| 4155 |
true, use the basename of the metaurl's name to save the xml file |
| 4156 |
* doc/metalink-standard.txt: Update doc. With --trust-server-names any |
| 4157 |
Metalink/HTTP Link application/metalink4+xml file is saved using the |
| 4158 |
basename of the "name" field, if any. Update Metalink/HTTP examples |
| 4159 |
* testenv/Makefile.am: Add new file |
| 4160 |
* testenv/Test-metalink-http-xml-trust-name.py: New file. Metalink/HTTP |
| 4161 |
automated Metalink/XML, save xml files using the "name" field tests |
| 4162 |
|
| 4163 |
2016-09-30 Matthew White <[email protected]> |
| 4164 |
|
| 4165 |
Bugfix: Detect when a metalink:file doesn't have any hash |
| 4166 |
* src/metalink.c (retrieve_from_metalink): Reject any metalink:file |
| 4167 |
without hashes. Prompt the error and switch to the next file |
| 4168 |
* testenv/Makefile.am: Add new file |
| 4169 |
* testenv/Test-metalink-xml-nohash.py: New file. Metalink/XML with no |
| 4170 |
hashes tests |
| 4171 |
|
| 4172 |
Prevent SIGSEGV. |
| 4173 |
|
| 4174 |
2016-09-30 Matthew White <[email protected]> |
| 4175 |
|
| 4176 |
Bugfix: Detect malformed base64 Metalink/HTTP Digest header |
| 4177 |
* src/http.c (metalink_from_http): Fix hash_bin_len type. Use ssize_t |
| 4178 |
instead than size_t. Reject -1 as base64_decode() return value |
| 4179 |
* testenv/Makefile.am: Add new file |
| 4180 |
* testenv/Test-metalink-http-baddigest.py: New file. Metalink/HTTP |
| 4181 |
malformed base64 Digest header tests |
| 4182 |
|
| 4183 |
On malformed base64 input, ssize_t base64_decode() returns -1. Such |
| 4184 |
value is too big for a size_t variable, and used as xmalloc() value |
| 4185 |
will exaust all the memory. |
| 4186 |
|
| 4187 |
2016-09-30 Matthew White <[email protected]> |
| 4188 |
|
| 4189 |
New option --metalink-index to process Metalink application/metalink4+xml |
| 4190 |
* NEWS: Mention the effect of --metalink-index over Metalink |
| 4191 |
* src/init.c: Add new option metalinkindex (opt.metalink_index), |
| 4192 |
initialize to -1 |
| 4193 |
* src/main.c: Add new option metalink-index (--metalink-index=NUMBER) |
| 4194 |
* src/options.h: Add new option metalink_index (int) |
| 4195 |
* src/metalink.h: Add declaration of functions fetch_metalink_file(), |
| 4196 |
replace_metalink_basename() |
| 4197 |
* src/metalink.c: Add functions fetch_metalink_file() simple file |
| 4198 |
fetch, replace_metalink_basename() replace file basename |
| 4199 |
* src/metalink.c (retrieve_from_metalink): New. Process Metalink |
| 4200 |
application/metalink4+xml of opt.metalink_index ordinal number |
| 4201 |
* doc/wget.texi: Add new option metalink-index (--metalink-index) |
| 4202 |
documentation |
| 4203 |
* doc/metalink-standard.txt: Updated doc. Add documentation about |
| 4204 |
Metalink application/metalink4+xml metaurls download naming system |
| 4205 |
* doc/metalink-standard.txt: Update Metalink/XML and HTTP examples |
| 4206 |
* testenv/Makefile.am: Add new files |
| 4207 |
* testenv/Test-metalink-http-xml.py: New file. Metalink/HTTP automated |
| 4208 |
Metalink/XML "application/metalink4+xml" --metalink-index tests |
| 4209 |
* testenv/Test-metalink-http-xml-trust.py: New file. Metalink/HTTP |
| 4210 |
automated Metalink/XML "application/metalink4+xml" --metalink-index |
| 4211 |
retrieval with --trust-server-names tests |
| 4212 |
|
| 4213 |
WARNING: Do not use lib/dirname.c (dir_name) to get the directory |
| 4214 |
name, it may append a dot '.' character to the directory name. |
| 4215 |
|
| 4216 |
2016-09-30 Matthew White <[email protected]> |
| 4217 |
|
| 4218 |
Bugfix: Prevent sorting when there are less than two elements |
| 4219 |
* src/utils.c (stable_sort): Add condition nmemb > 1, sort only when |
| 4220 |
there is more than one element |
| 4221 |
|
| 4222 |
Prevent SIGSEGV. |
| 4223 |
|
| 4224 |
2016-09-30 Matthew White <[email protected]> |
| 4225 |
|
| 4226 |
New: Parse Metalink/HTTP header for application/metalink4+xml |
| 4227 |
* src/http.c (metalink_from_http): Parse Metalink/HTTP header for |
| 4228 |
metaurls application/metalink4+xml media types |
| 4229 |
* src/metalink.h: Add function declaration metalink_meta_cmp() |
| 4230 |
* src/metalink.c: Add function metalink_meta_cmp() compare metalink |
| 4231 |
metaurls priorities |
| 4232 |
|
| 4233 |
Add Metalink/HTTP application/metalink4+xml media types as metaurls to |
| 4234 |
the metalink variable that will be used to download the files. |
| 4235 |
|
| 4236 |
2016-09-30 Matthew White <[email protected]> |
| 4237 |
|
| 4238 |
New test: Metalink shall not concatenate '/' to an empty directory prefix |
| 4239 |
* testenv/Makefile.am: Add new file |
| 4240 |
* testenv/Test-metalink-xml-emptyprefix-trust.py: New file. |
| 4241 |
Metalink/XML empty directory prefix (--directory-prefix '') tests |
| 4242 |
|
| 4243 |
Detect a '/' character wrongfully concatenated to an empty directory |
| 4244 |
prefix '' (not NULL), resulting in an absolute path as '/dir/file', |
| 4245 |
instead than 'dir/file'. |
| 4246 |
|
| 4247 |
2016-09-30 Matthew White <[email protected]> |
| 4248 |
|
| 4249 |
Bugfix: Remove surrounding quotes from Metalink/HTTP key's value |
| 4250 |
* src/metalink.h: Add declaration of function dequote_metalink_string() |
| 4251 |
* src/metalink.c: Add function dequote_metalink_string() remove |
| 4252 |
surrounding quotes from string, \' or \" |
| 4253 |
* src/metalink.c (find_key_value, find_key_values): Call dequote_metalink_string() |
| 4254 |
to remove the surrounding quotes from the parsed value |
| 4255 |
* src/metalink.c (test_find_key_value, test_find_key_values): Add |
| 4256 |
quoted key's values for unit-tests |
| 4257 |
* testenv/Makefile.am: Add new file |
| 4258 |
* testenv/Test-metalink-http-quoted.py: New file. Metalink/HTTP quoted |
| 4259 |
values tests |
| 4260 |
|
| 4261 |
Some Metalink/HTTP keys, like "type" [2], may have a quoted value [1]: |
| 4262 |
Link: <http://example.com/example.ext.meta4>; rel=describedby; |
| 4263 |
type="application/metalink4+xml" |
| 4264 |
|
| 4265 |
Wget was expecting a dequoted value from the Metalink module. This |
| 4266 |
patch addresses this problem. |
| 4267 |
|
| 4268 |
References: |
| 4269 |
[1] Metalink/HTTP: Mirrors and Hashes |
| 4270 |
1.1. Example Metalink Server Response |
| 4271 |
https://tools.ietf.org/html/rfc6249#section-1.1 |
| 4272 |
|
| 4273 |
[2] Additional Link Relations |
| 4274 |
6. "type" |
| 4275 |
https://tools.ietf.org/html/rfc6903#section-6 |
| 4276 |
|
| 4277 |
2016-09-30 Matthew White <[email protected]> |
| 4278 |
|
| 4279 |
Bugfix: Process Metalink/XML url strings containing white spaces and CRLF |
| 4280 |
* src/metalink.h: Add declaration of function clean_metalink_string() |
| 4281 |
* src/metalink.c: Add directive #include "xmemdup0.h" |
| 4282 |
* src/metalink.c: Add function clean_metalink_string() remove leading |
| 4283 |
and trailing white spaces and CRLF from string |
| 4284 |
* src/metalink.c (retrieve_from_metalink): Remove leading and trailing |
| 4285 |
white spaces and CRLF from url resource mres->url |
| 4286 |
* testenv/Makefile.am: Add new file |
| 4287 |
* testenv/Test-metalink-xml-urlbreak.py: New test. Metalink/XML white |
| 4288 |
spaces and CRLF in url resources tests |
| 4289 |
|
| 4290 |
White spaces and CRLF are not automatically removed by libmetalink |
| 4291 |
from url strings. The Wget's Metalink module was unable to process |
| 4292 |
such url strings. This patch implements the processing of such url |
| 4293 |
strings cleaning off leading and trailing white spaces and CRLF. |
| 4294 |
|
| 4295 |
If a parsed Metalink/XML url string contains strings separated by |
| 4296 |
CRLF, only the first of the series is accepted. |
| 4297 |
|
| 4298 |
2016-09-30 Matthew White <[email protected]> |
| 4299 |
|
| 4300 |
New test: Detect when there are no good Metalink url resources |
| 4301 |
* testenv/Makefile.am: Add new file |
| 4302 |
* testenv/Test-metalink-xml-nourls.py: New file. Metalink/XML unknown |
| 4303 |
urls tests |
| 4304 |
|
| 4305 |
Test if when there are no good Metalink url resources there is any |
| 4306 |
segmentation fault. |
| 4307 |
|
| 4308 |
2016-09-30 Matthew White <[email protected]> |
| 4309 |
|
| 4310 |
New: Metalink file size mismatch returns error code METALINK_SIZE_ERROR |
| 4311 |
* src/wget.h (uerr_t): Add error code METALINK_SIZE_ERROR to enum |
| 4312 |
* src/metalink.c (retrieve_from_metalink): Use boolean variable |
| 4313 |
size_ok, when false set retr_err to METALINK_SIZE_ERROR |
| 4314 |
* testenv/Makefile.am: Add new file |
| 4315 |
* testenv/Test-metalink-xml-size.py: New file. Metalink/XML file size |
| 4316 |
tests (<size></size>) |
| 4317 |
|
| 4318 |
Before this patch, no appropriate error code was returned to inform a |
| 4319 |
file size mismatch. |
| 4320 |
|
| 4321 |
This patch introduces the error code METALINK_SIZE_ERROR to inform a |
| 4322 |
file size mismatch. |
| 4323 |
|
| 4324 |
2016-09-30 Matthew White <[email protected]> |
| 4325 |
|
| 4326 |
New: Metalink/XML and Metalink/HTTP file naming safety rules |
| 4327 |
* NEWS: Mention the effect of --trust-server-names over Metalink |
| 4328 |
* src/metalink.h: Add declaration of function append_suffix_number() |
| 4329 |
* src/metalink.c: Add function append_suffix_number() append number to |
| 4330 |
string |
| 4331 |
* src/metalink.c (retrieve_from_metalink): Safer Metalink/XML and |
| 4332 |
Metalink/HTTP download naming system, opt.trustservernames based |
| 4333 |
* doc/metalink-standard.txt: Update doc. Explain new Metalink/XML and |
| 4334 |
Metalin/HTTP download naming system and --trust-server-names role |
| 4335 |
* testenv/Makefile.am: Add new files |
| 4336 |
* testenv/Test-metalink-xml-continue.py: Update test. Metalink/XML |
| 4337 |
continue/keep existing files (HTTP 416) with --continue tests |
| 4338 |
* testenv/Test-metalink-xml.py: Update test. Metalink/XML naming tests |
| 4339 |
* testenv/Test-metalink-xml-trust.py: New file. Metalink/XML naming |
| 4340 |
tests with --trust-server-names |
| 4341 |
* testenv/Test-metalink-xml-abspath.py: Update test. Metalink/XML |
| 4342 |
absolute path tests |
| 4343 |
* testenv/Test-metalink-xml-abspath-trust.py: New file. Metalink/XML |
| 4344 |
absolute path tests with --trust-server-names |
| 4345 |
* testenv/Test-metalink-xml-relpath.py: Update test. Metalink/XML |
| 4346 |
relative path tests |
| 4347 |
* testenv/Test-metalink-xml-relpath-trust.py: New file. Metalink/XML |
| 4348 |
relative path tests with --trust-server-names |
| 4349 |
* testenv/Test-metalink-xml-homepath.py: Update test. Metalink/XML |
| 4350 |
home path and ~ (tilde) tests |
| 4351 |
* testenv/Test-metalink-xml-homepath-trust.py: New file. Metalink/XML |
| 4352 |
home path and ~ (tilde) tests with --trust-server-names |
| 4353 |
* testenv/Test-metalink-xml-prefix.py: New file. Metalink/XML naming |
| 4354 |
tests with --directory-prefix |
| 4355 |
* testenv/Test-metalink-xml-prefix-trust.py: New file. Metalink/XML |
| 4356 |
naming tests with --directory-prefix and --trust-server-names |
| 4357 |
* testenv/Test-metalink-xml-absprefix.py: New file. Metalink/XML |
| 4358 |
absolute --directory-prefix tests |
| 4359 |
* testenv/Test-metalink-xml-absprefix-trust.py: New file. Metalink/XML |
| 4360 |
absolute --directory-prefix tests with --trust-server-names |
| 4361 |
* testenv/Test-metalink-xml-relprefix.py: New file. Metalink/XML |
| 4362 |
relative --directory-prefix tests |
| 4363 |
* testenv/Test-metalink-xml-relprefix-trust.py: New file. Metalink/XML |
| 4364 |
relative --directory-prefix tests with --trust-server-names |
| 4365 |
* testenv/Test-metalink-xml-homeprefix.py: New file. Metalink/XML home |
| 4366 |
--directory-prefix tests |
| 4367 |
* testenv/Test-metalink-xml-homeprefix-trust.py: New file. Metalink/XML |
| 4368 |
home --directory-prefix tests with --trust-server-names |
| 4369 |
|
| 4370 |
The option --trust-server-names allows to use the file names parsed |
| 4371 |
from a Metalink/XML file. Without --trust-server-names, the safety |
| 4372 |
mechanism provides secure and predictable file names. |
| 4373 |
|
| 4374 |
2016-09-30 Matthew White <[email protected]> |
| 4375 |
|
| 4376 |
New document: Metalink/XML and Metalink/HTTP standard reference |
| 4377 |
* doc/metalink-standard.txt: New doc. Implemented and recommended |
| 4378 |
Metalink/XML and Metalink/HTTP standard features |
| 4379 |
|
| 4380 |
2016-09-30 Matthew White <[email protected]> |
| 4381 |
|
| 4382 |
Enforce Metalink file name verification, strip directory if necessary |
| 4383 |
* NEWS: Mention the use of a safe Metalink destination path |
| 4384 |
* src/metalink.h: Add declaration of functions get_metalink_basename(), |
| 4385 |
last_component(), metalink_check_safe_path() |
| 4386 |
* src/metalink.c: Add directive #include "dosname.h" |
| 4387 |
* src/metalink.c: Add function get_metalink_basename() to return the |
| 4388 |
basename of a file name, strip w32's drive letter prefixes |
| 4389 |
* src/metalink.c (retrieve_from_metalink): Enforce Metalink file name |
| 4390 |
verification, if the file name is unsafe try its basename |
| 4391 |
* doc/metalink.txt: Update document. Explain --directory-prefix |
| 4392 |
|
| 4393 |
The function get_metalink_basename() uses FILE_SYSTEM_PREFIX_LEN to |
| 4394 |
catch any 'C:D:file' (w32 environment), then it removes each drive |
| 4395 |
letter prefix, i.e. 'C:' and 'D:'. |
| 4396 |
|
| 4397 |
Unsafe file names contain an absolute, relative, or home path. Safe |
| 4398 |
paths can be verified by libmetalink's metalink_check_safe_path(). |
| 4399 |
|
| 4400 |
2016-09-27 Matthew White <[email protected]> |
| 4401 |
|
| 4402 |
Implement Metalink/XML --directory-prefix option in Metalink module |
| 4403 |
* NEWS: Mention the effect of --directory-prefix over Metalink |
| 4404 |
* src/metalink.c (retrieve_from_metalink): Add opt.dir_prefix as |
| 4405 |
prefix to the metalink:file name mfile->name |
| 4406 |
* doc/metalink.txt: Update document. Explain --directory-prefix |
| 4407 |
|
| 4408 |
When --directory-prefix=<prefix> is used, set the top of the retrieval |
| 4409 |
tree to prefix. The default is . (the current directory). Metalink/XML |
| 4410 |
and Metalink/HTTP files will be downloaded under prefix. |
| 4411 |
|
| 4412 |
2016-09-27 Matthew White <[email protected]> |
| 4413 |
|
| 4414 |
Change mfile->name to filename in Metalink module's messages |
| 4415 |
* src/metalink.c (retrieve_from_metalink): Change mfile->name to |
| 4416 |
filename when referring to the downloaded file |
| 4417 |
|
| 4418 |
The file name could have been changed by unique_create() (or by any |
| 4419 |
other mean) before downloading. Use the name of the downloaded file |
| 4420 |
(filename) when printing output which refer to it. |
| 4421 |
|
| 4422 |
2016-09-27 Matthew White <[email protected]> |
| 4423 |
|
| 4424 |
Add file size computation in Metalink module |
| 4425 |
* NEWS: Mention Metalink's file size verification |
| 4426 |
* src/metalink.c (retrieve_from_metalink): Add file size computation |
| 4427 |
* doc/metalink.txt: Update document. Remove resolved bugs |
| 4428 |
|
| 4429 |
Reject downloaded files when they do not agree with their Metalink/XML |
| 4430 |
metalink:size: https://tools.ietf.org/html/rfc5854#section-4.2.14 |
| 4431 |
|
| 4432 |
At the moment of writing, Metalink/HTTP headers do not provide a file |
| 4433 |
size field. This information could be obtained from the Content-Length |
| 4434 |
header field: https://tools.ietf.org/html/rfc6249#section-7 |
| 4435 |
|
| 4436 |
2016-09-27 Matthew White <[email protected]> |
| 4437 |
|
| 4438 |
Update Metalink/XML tests and add a new test for home paths |
| 4439 |
* testenv/Test-metalink-xml-relpath.py: Update test |
| 4440 |
* testenv/Test-metalink-xml-homepath.py: New file. Reject home paths |
| 4441 |
* testenv/Makefile.am: Add new file |
| 4442 |
|
| 4443 |
When --input-metalink=<file> is used, each metalink:file name is |
| 4444 |
verified by libmetalink's metalink_check_safe_path(). By design, |
| 4445 |
absolute, relative and home paths are rejected. |
| 4446 |
|
| 4447 |
At the moment of writing, when --metalink-over-http is used, absolute, |
| 4448 |
relative, and home paths aren't a concern. The destination file name |
| 4449 |
is a combination of URL's file name and cli's "Directory Options" |
| 4450 |
handled by src/url.c (url_file_name). |
| 4451 |
|
| 4452 |
2016-09-27 Matthew White <[email protected]> |
| 4453 |
|
| 4454 |
Bugfix: Keep the download progress when alternating metalink:url |
| 4455 |
* NEWS: Mention the effects of --continue over Metalink |
| 4456 |
* src/metalink.c (retrieve_from_metalink): On download error, resume |
| 4457 |
output_stream with the next mres->url. Keep fully downloaded files |
| 4458 |
started with --continue, otherwise rename/remove the file |
| 4459 |
* testenv/Makefile.am: Add new file |
| 4460 |
* testenv/Test-metalink-xml-continue.py: New file. Metalink/XML |
| 4461 |
continue/keep existing files (HTTP 416) with --continue tests |
| 4462 |
|
| 4463 |
Before this patch, with --continue, existing and/or fully retrieved |
| 4464 |
files which fail the sanity tests were renamed (--keep-badhash), or |
| 4465 |
removed. |
| 4466 |
|
| 4467 |
This patch ensures that --continue doesn't rename/remove existing |
| 4468 |
and/or fully retrieved files (HTTP 416) which fail the sanity tests. |
| 4469 |
|
| 4470 |
2016-09-27 Matthew White <[email protected]> |
| 4471 |
|
| 4472 |
Bugfix: Fix NULL filename and output_stream in Metalink module |
| 4473 |
* NEWS: Mention the Metalink "path/file" name format handling |
| 4474 |
* src/metalink.c (retrieve_from_metalink): Fix NULL filename, set |
| 4475 |
filename to the right "path/file" value |
| 4476 |
* src/metalink.c (retrieve_from_metalink): Fix NULL output_stream, set |
| 4477 |
output_stream to filename when it is created by retrieve_url() |
| 4478 |
* src/metalink.c (retrieve_from_metalink): Add RFC5854 comments about |
| 4479 |
proper metalink:file "path/file" name format handling |
| 4480 |
* doc/metalink.txt: Update document. Remove resolved bugs |
| 4481 |
|
| 4482 |
If unique_create() cannot create/open the destination file, filename |
| 4483 |
and output_stream remain NULL. If fopen() is used instead, filename |
| 4484 |
always remains NULL. Both functions cannot create "path/file" trees. |
| 4485 |
|
| 4486 |
Setting filename to the right value is sufficient to prevent SIGSEGV |
| 4487 |
generating from testing a NULL value. This also allows retrieve_url() |
| 4488 |
to create a "path/file" tree through opt.output_document. |
| 4489 |
|
| 4490 |
Reading NULL as output_stream, when it shall not be, leads to wrong |
| 4491 |
results. For instance, a non-NULL output_stream tells when a stream |
| 4492 |
was interrupted, reading NULL instead means to assume the contrary. |
| 4493 |
|
| 4494 |
This patch conforms to the RFC5854 specification: |
| 4495 |
The Metalink Download Description Format |
| 4496 |
4.1.2.1. The "name" Attribute |
| 4497 |
https://tools.ietf.org/html/rfc5854#section-4.1.2.1 |
| 4498 |
|
| 4499 |
2016-09-19 Matthew White <[email protected]> |
| 4500 |
|
| 4501 |
Add metalink description |
| 4502 |
* doc/metalink.txt |
| 4503 |
|
| 4504 |
Evaluation of "Directory Options" on the command line interacting with |
| 4505 |
the option '--input-metalink=file': |
| 4506 |
|
| 4507 |
$ wget --input-metalink=file <directory options> |
| 4508 |
|
| 4509 |
2016-09-19 Matthew White <[email protected]> |
| 4510 |
|
| 4511 |
Use python .replace instead than re.sub in Metalink tests |
| 4512 |
* testenv/Test-metalink-http.py: Use python .replace |
| 4513 |
* testenv/Test-metalink-xml.py: Use python .replace |
| 4514 |
* testenv/Test-metalink-xml-abspath.py: Use python .replace |
| 4515 |
* testenv/Test-metalink-xml-relpath.py: Use python .replace |
| 4516 |
|
| 4517 |
Use python .replace instead than re.sub, remove 'import re'. |
| 4518 |
|
| 4519 |
2016-09-19 Matthew White <[email protected]> |
| 4520 |
|
| 4521 |
Fix: Change Metalink/XML v3 file name into test.metalink |
| 4522 |
* testenv/Test-metalink-xml-abspath.py: Change Metalink/XML v3 file |
| 4523 |
name from test.meta4 into test.metalink |
| 4524 |
* testenv/Test-metalink-xml-relpath.py: Change Metalink/XML v3 file |
| 4525 |
name from test.meta4 into test.metalink |
| 4526 |
* testenv/Test-metalink-xml.py: Change Metalink/XML v3 file name from |
| 4527 |
test.meta4 into test.metalink |
| 4528 |
|
| 4529 |
2016-09-13 Tim Rühsen <[email protected]> |
| 4530 |
|
| 4531 |
Add two Metalink/XML tests |
| 4532 |
* testenv/Test-metalink-xml-abspath.py: Reject absolute paths |
| 4533 |
* testenv/Test-metalink-xml-relpath.py: Reject relative paths |
| 4534 |
* testenv/Makefile.am: Add both new files to metalink tests |
| 4535 |
|
| 4536 |
2016-09-09 Tim Rühsen <[email protected]> |
| 4537 |
|
| 4538 |
Fix crash on 'srcset' inline URIs |
| 4539 |
* src/html-url.c (tag_handle_img): Check append_url() for NULL |
| 4540 |
return value before dereference. |
| 4541 |
|
| 4542 |
Crashed reproducable with parsing srcset="data:..." inline data. |
| 4543 |
Reported-by: Coverity |
| 4544 |
|
| 4545 |
2016-09-09 Tim Rühsen <[email protected]> |
| 4546 |
|
| 4547 |
* src/hsts.c (hsts_store_open): NULL check param for fclose(). |
| 4548 |
Reported-by: Coverity |
| 4549 |
|
| 4550 |
* src/ftp-ls.c (ftp_parse_winnt_ls): Fix memset params |
| 4551 |
|
| 4552 |
* src/utils.c (stable_sort): Use xmalloc instead of malloc |
| 4553 |
|
| 4554 |
2016-09-08 Tim Rühsen <[email protected]> |
| 4555 |
|
| 4556 |
* src/ftp-ls.c (ftp_parse_winnt_ls): Initialize struct fileinfo cur |
| 4557 |
Reported-by: Coverity |
| 4558 |
|
| 4559 |
Add const to url param of some functions |
| 4560 |
* src/http.c: Add const to first param of initialize_request(), |
| 4561 |
initialize_proxy_configuration(), establish_connection(), |
| 4562 |
check_file_output(), check_auth(), gethttp(), http_loop(). |
| 4563 |
* src/http.h: Add const to first param of http_loop(). |
| 4564 |
|
| 4565 |
* Makefile.am: Remove trailing empty line |
| 4566 |
|
| 4567 |
* src/recur.c (retrieve_tree): Fix possible NULL dereference |
| 4568 |
Reported-by: Coverity |
| 4569 |
|
| 4570 |
* src/http.c (initialize_request): Fix check for user |
| 4571 |
Reported-by: Coverity |
| 4572 |
|
| 4573 |
* src/retr.c (retrieve_url): NULL check mynewloc |
| 4574 |
Reported-by: Coverity |
| 4575 |
|
| 4576 |
* src/utils.c (stable_sort): Reduce tmp allocation size |
| 4577 |
Reported-by: Coverity |
| 4578 |
|
| 4579 |
* Makefile.am: Add target 'check-valgrind' |
| 4580 |
|
| 4581 |
Fix some issues detected by Coverity |
| 4582 |
* src/connect.c (connect_to_ip): Check return value of setsockopt. |
| 4583 |
* src/ftp.c (ftp_retrieve_list): Check return value of chmod. |
| 4584 |
* src/http.c (digest_authentication_encode): Cleanup code. |
| 4585 |
* src/init.c (setval_internal): Explicitely check comind range. |
| 4586 |
* src/main.c (main): Explicitely check optarg. |
| 4587 |
* src/retr.c (retr_rate): Use snprintf instead sprintf, |
| 4588 |
(retrieve_from_file): More verbose error message, |
| 4589 |
(rotate_backups): Use snprintf instead sprintf, check return |
| 4590 |
value of rename(). |
| 4591 |
* src/url.c (mkalldirs): Check return value of unlink(). |
| 4592 |
* src/utils.c (strdupdelim): Explicitely check beg and end for NULL, |
| 4593 |
(merge_vecs): Fix sizeof argument to char *, |
| 4594 |
(stable_sort): Use malloc instead of alloca. |
| 4595 |
|
| 4596 |
Code cleanup for --use-askpass |
| 4597 |
* bootstrap.conf: Add xmemdup0 and strpbrk. |
| 4598 |
* src/init.c (cmd_use_askpass): Add 'const' to char *, |
| 4599 |
remove check for file existence. |
| 4600 |
* src/main.c (run_use_askpass): C89 compat init of argv, |
| 4601 |
added \n to error messages, |
| 4602 |
fixed stripping of \n and \r from input, |
| 4603 |
make run_use_askpass and use_askpass static. |
| 4604 |
|
| 4605 |
2016-09-07 Tim Rühsen <[email protected]> |
| 4606 |
|
| 4607 |
* src/http.c (check_file_output): Replace asprintf by aprint |
| 4608 |
|
| 4609 |
2016-09-04 Tim Rühsen <[email protected]> |
| 4610 |
|
| 4611 |
* testenv/README: Remove obsolete references to TEST_NAME |
| 4612 |
|
| 4613 |
2016-09-03 Liam R. Howlett <[email protected]> |
| 4614 |
|
| 4615 |
Add --use-askpass=COMMAND support |
| 4616 |
* doc/wget.texi: Add --use-askpass to documentation. |
| 4617 |
* src/init.c: Add cmd_use_askpasss to set opt.use_askpass based on |
| 4618 |
argument, WGET_ASKPASS, and SSH_ASKPASS environment variables. |
| 4619 |
opt.wget-askpass is freed in cleanup () |
| 4620 |
* src/main.c: Update options & add spawn process of opt.use_askpass |
| 4621 |
command. |
| 4622 |
* src/options.h: Addition of string use_askpass. |
| 4623 |
* src/url.c: Function scheme_leading_string to access the leading |
| 4624 |
string of a parsed url. |
| 4625 |
* src/url.h: Prototype for scheme_leading_string for returning the |
| 4626 |
leading string. |
| 4627 |
* bootstrap.conf: Add posix_spawn to gnulib_modules |
| 4628 |
|
| 4629 |
This adds the --use-askpass option which is disabled by default. |
| 4630 |
|
| 4631 |
--use-askpass=COMMAND will request the username and password for a given |
| 4632 |
URL by executing the external program COMMAND. If COMMAND is left |
| 4633 |
blank, then the external program in the environment variable |
| 4634 |
WGET_ASKPASS will be used. If WGET_ASKPASS is not set then the |
| 4635 |
environment variable SSH_ASKPASS is used. If there is no value set, an |
| 4636 |
error is returned. If an error occurs requesting the username or |
| 4637 |
password, wget will exit. |
| 4638 |
|
| 4639 |
2016-09-02 Dale R. Worley <[email protected]> |
| 4640 |
|
| 4641 |
Add tests for recursion and redirection. |
| 4642 |
* testenv/Test-recursive-basic.py: New file. Test basic recursion |
| 4643 |
* testenv/Test-recursive-include.py: New File. Recursion test with |
| 4644 |
include directories |
| 4645 |
* testenv/Test-redirect.py: New File. Basic redirection tests |
| 4646 |
* testenv/Makefile.am: Add new tests to makefile |
| 4647 |
|
| 4648 |
Sort test names into order. |
| 4649 |
* testenv/Makefile.am: Sort all the python tests in alphabetical |
| 4650 |
order |
| 4651 |
|
| 4652 |
Corrections and amplifications to test documentation |
| 4653 |
* testenv/README: Update documentation to meet current project |
| 4654 |
status |
| 4655 |
* testenv/Test-Proto.py: Same |
| 4656 |
|
| 4657 |
2016-08-24 Giuseppe Scrivano <[email protected]> |
| 4658 |
|
| 4659 |
Append .tmp to temporary files |
| 4660 |
* src/http.c (struct http_stat): Add `temporary` flag. |
| 4661 |
(check_file_output): Append .tmp to temporary files. |
| 4662 |
(open_output_stream): Refactor condition to use hs->temporary instead. |
| 4663 |
|
| 4664 |
Reported-by: "Misra, Deapesh" <[email protected]> |
| 4665 |
Discovered by: Dawid Golunski (http://legalhackers.com) |
| 4666 |
|
| 4667 |
2016-08-24 Tim Rühsen <[email protected]> |
| 4668 |
|
| 4669 |
Limit file mode to u=rw on temp. downloaded files |
| 4670 |
* bootstrap.conf: Add gnulib modules fopen, open. |
| 4671 |
* src/http.c (open_output_stream): Limit file mode to u=rw |
| 4672 |
on temporary downloaded files. |
| 4673 |
|
| 4674 |
Reported-by: "Misra, Deapesh" <[email protected]> |
| 4675 |
Discovered by: Dawid Golunski (http://legalhackers.com) |
| 4676 |
|
| 4677 |
2016-08-21 Giuseppe Scrivano <[email protected]> |
| 4678 |
|
| 4679 |
Fix some make syntax-check issues |
| 4680 |
cfg.mk: Skip .der files. |
| 4681 |
testenv/certs/server-template.cfg: Remove empty final line. |
| 4682 |
testenv/certs/ca-template.cfg: Likewise. |
| 4683 |
|
| 4684 |
2016-08-17 Tim Rühsen <[email protected]> |
| 4685 |
|
| 4686 |
* src/css-url.c (get_urls_css): Fix memory leak |
| 4687 |
|
| 4688 |
* src/html-url.c (get_urls_html): Fix memory leak |
| 4689 |
|
| 4690 |
2016-08-17 Tim Rühsen <[email protected]> |
| 4691 |
|
| 4692 |
Improve PSL cookie checking |
| 4693 |
* configure.ac: Add --with-psl-file to set a PSL file |
| 4694 |
* src/cookies.c (check_domain_match): Load PSL_FILE with |
| 4695 |
fallback to built-in data. |
| 4696 |
|
| 4697 |
This change allows package maintainers to make Wget use the latest |
| 4698 |
PSL (DAFSA or plain text), without updating libpsl itself. |
| 4699 |
|
| 4700 |
E.g. Debian now comes with a DAFSA binary within the 'publicsuffix' |
| 4701 |
package which allows very fast loading (no parsing or processing needed). |
| 4702 |
|
| 4703 |
2016-08-10 Tobias Stoeckmann <[email protected]> |
| 4704 |
|
| 4705 |
Fix stack overflow with way too many cookies |
| 4706 |
* src/cookies.c (cookie_header): Use heap instead of stack. |
| 4707 |
* src/http.c (request_send): Likewise. |
| 4708 |
|
| 4709 |
If wget has to handle an insanely large amount of cookies (~700,000 on |
| 4710 |
32 bit systems or ~530,000 on 64 bit systems), the stack is not large |
| 4711 |
enough to hold these pointers, leading to undefined behaviour according |
| 4712 |
to POSIX; expect a segmentation fault in real life. ;) |
| 4713 |
|
| 4714 |
2016-08-09 Tobias Stoeckmann <[email protected]> |
| 4715 |
|
| 4716 |
Fix signal race condition |
| 4717 |
The signal handler for SIGALRM calls longjmp, but the handler is |
| 4718 |
installed before the jump target has been initialized. If another |
| 4719 |
process sends SIGALRM right between handler installation and target |
| 4720 |
initialization, the jump leads to undefined behavior. |
| 4721 |
|
| 4722 |
This can easily be fixed by moving the signal handler installation |
| 4723 |
into the "SETJMP == 0" conditional block, which means that the target |
| 4724 |
has just been initialized. |
| 4725 |
|
| 4726 |
* src/utils.c: call signal after SETJMP. |
| 4727 |
|
| 4728 |
2016-08-05 Jeffery To <[email protected]> |
| 4729 |
|
| 4730 |
Remove hyphens from command names |
| 4731 |
* src/init.c: Remove hyphens from command names |
| 4732 |
* src/main.c: Likewise |
| 4733 |
|
| 4734 |
Options with hyphens (or underscores) in their command name cannot be |
| 4735 |
set in a wgetrc file. |
| 4736 |
|
| 4737 |
2016-08-04 Tim Rühsen <[email protected]> |
| 4738 |
|
| 4739 |
* src/metalink.c (badhash_suffix): Fix quoting |
| 4740 |
|
| 4741 |
2016-08-04 Matthew White <[email protected]> |
| 4742 |
|
| 4743 |
Add new option --keep-badhash to keep Metalink's files with a bad hash |
| 4744 |
* src/init.c: Add keepbadhash |
| 4745 |
* src/main.c: Add keep-badhash |
| 4746 |
* src/options.h: Add keep_badhash |
| 4747 |
* doc/wget.texi: Add docs for --keep-badhash |
| 4748 |
* src/metalink.h: Add prototypes badhash_suffix(), badhash_or_remove() |
| 4749 |
* src/metalink.c: New functions badhash_suffix(), badhash_or_remove(). |
| 4750 |
(retrieve_from_metalink): Call badhash_or_remove() on download error |
| 4751 |
|
| 4752 |
With --keep-badhash, append .badhash to Metalink's files with checksum |
| 4753 |
mismatch. (retrieve_from_metalink): unique_create() may append another |
| 4754 |
suffix to avoid overwriting existing files. |
| 4755 |
|
| 4756 |
Without --keep-badhash, remove downloaded files with checksum mismatch |
| 4757 |
(this conforms to the old behaviour). |
| 4758 |
|
| 4759 |
2016-08-03 Tim Rühsen <[email protected]> |
| 4760 |
|
| 4761 |
* src/metalink.c: Remove C++ style comments |
| 4762 |
|
| 4763 |
2016-08-03 Matthew White <[email protected]> |
| 4764 |
|
| 4765 |
Add gnulib modules 'link', 'unlink' and 'symlink' |
| 4766 |
* bootstrap.conf: Add 'link', 'unlink' and 'symlink' |
| 4767 |
|
| 4768 |
2016-08-03 Matthew White <[email protected]> |
| 4769 |
|
| 4770 |
New: --continue continues partially downloaded Metalink's files |
| 4771 |
* src/metalink.c (retrieve_from_metalink): Continue file download if |
| 4772 |
opt.always_rest is true |
| 4773 |
|
| 4774 |
Without --continue, download as a new file with an unique name (this |
| 4775 |
conforms to the old behaviour). |
| 4776 |
|
| 4777 |
2016-08-03 Matthew White <[email protected]> |
| 4778 |
|
| 4779 |
Add support for Metalink's md2, and md4 hashes |
| 4780 |
* bootstrap.conf: Add crypto/md2, and crypto/md4 |
| 4781 |
* src/metalink.c (retrieve_from_metalink): Add md2, and md4 support |
| 4782 |
|
| 4783 |
This patch adds support for the deprecated (insecure) md2, and md4 |
| 4784 |
Message-Digest algorithms to the Metalink module. |
| 4785 |
|
| 4786 |
2016-08-03 Matthew White <[email protected]> |
| 4787 |
|
| 4788 |
Add support for Metalink's md5, sha1, sha224, sha384, and sha512 hashes |
| 4789 |
* bootstrap.conf: Add crypto/sha512 |
| 4790 |
* src/metalink.c (retrieve_from_metalink): Add md5, sha1, sha224, |
| 4791 |
sha384, and sha512 support |
| 4792 |
|
| 4793 |
Metalink's checksum verification was limited to sha256. This patch |
| 4794 |
adds support for md5, sha1, sha224, sha384, and sha512. |
| 4795 |
|
| 4796 |
2016-07-27 Sean Burford <[email protected]> |
| 4797 |
|
| 4798 |
Style fixes and DEBUG on setxattr failure. |
| 4799 |
* src/ftp.c: Fix style. |
| 4800 |
* src/http.c: Likewise. |
| 4801 |
* src/xattr.h: Likewise. |
| 4802 |
* src/xattr.c: Likewise, |
| 4803 |
(write_xattr_metadata): Print debug msg on error. |
| 4804 |
|
| 4805 |
2016-07-22 Sean Burford <[email protected]> |
| 4806 |
|
| 4807 |
Keep fetched URLs in POSIX extended attributes |
| 4808 |
* configure.ac: Check for xattr availability |
| 4809 |
* src/Makefile.am: Add xattr.c |
| 4810 |
* src/ftp.c: Include xattr.h. |
| 4811 |
(getftp): Set attributes if enabled. |
| 4812 |
* src/http.c: Include xattr.h. |
| 4813 |
(gethttp): Add parameter 'original_url', |
| 4814 |
set attributes if enabled. |
| 4815 |
(http_loop): Add 'original_url' to call of gethttp(). |
| 4816 |
* src/init.c: Add new option --xattr. |
| 4817 |
* src/main.c: Add new option --xattr, add description to help text. |
| 4818 |
* src/options.h: Add new config member 'enable_xattr'. |
| 4819 |
* src/xatrr.c: New file. |
| 4820 |
* src/xattr.h: New file. |
| 4821 |
|
| 4822 |
These attributes provide a lightweight method of later determining |
| 4823 |
where a file was downloaded from. |
| 4824 |
|
| 4825 |
This patch changes: |
| 4826 |
* autoconf detects whether extended attributes are available and |
| 4827 |
enables the code if they are. |
| 4828 |
* The new flags --xattr and --no-xattr control whether xattr is enabled. |
| 4829 |
* The new command "xattr = (on|off)" can be used in ~/.wgetrc or /etc/wgetrc |
| 4830 |
* The original and redirected URLs are recorded as shown below. |
| 4831 |
* This works for both single fetches and recursive mode. |
| 4832 |
|
| 4833 |
The attributes that are set are: |
| 4834 |
user.xdg.origin.url: The URL that the content was fetched from. |
| 4835 |
user.xdg.referrer.url: The URL that was originally requested. |
| 4836 |
|
| 4837 |
Here is an example, where http://archive.org redirects to https://archive.org: |
| 4838 |
$ wget --xattr http://archive.org |
| 4839 |
... |
| 4840 |
$ getfattr -d index.html |
| 4841 |
user.xdg.origin.url="https://archive.org/" |
| 4842 |
user.xdg.referrer.url="http://archive.org/" |
| 4843 |
|
| 4844 |
These attributes were chosen based on those stored by Google Chrome |
| 4845 |
https://bugs.chromium.org/p/chromium/issues/detail?id=45903 |
| 4846 |
and curl https://github.com/curl/curl/blob/master/src/tool_xattr.c |
| 4847 |
|
| 4848 |
2016-07-02 Noël Köthe <[email protected]> |
| 4849 |
|
| 4850 |
Fix typos |
| 4851 |
* ChangeLog-2014-12-10: invokation -> invocation |
| 4852 |
* doc/wget.texi: invokation -> invocation |
| 4853 |
* src/main.c: seperated -> separated |
| 4854 |
* src/options.h: seperated -> separated |
| 4855 |
* testenv/README: invokation -> invocation |
| 4856 |
* testenv/conf/wget_commands.py: invokation -> invocation |
| 4857 |
|
| 4858 |
2016-06-30 Tim Rühsen <[email protected]> |
| 4859 |
|
| 4860 |
Fix creating docs when make uses 'sh -e' |
| 4861 |
* doc/Makefile.am: Save fallback for pod2man --utf8 |
| 4862 |
|
| 4863 |
Reported-by: Jérémie Courrèges-Anglas <[email protected]> |
| 4864 |
|
| 4865 |
2016-06-30 Tim Rühsen <[email protected]> |
| 4866 |
|
| 4867 |
Fix compilation for OpenSSL 1.1.0 |
| 4868 |
* src/openssl.c (ssl_init): Use SSL_is_init_finished() instead of |
| 4869 |
SSL_state(), conditionally skip SSLeay function calls |
| 4870 |
|
| 4871 |
The python test suite makes SSL_peek() hang, consuming 100% CPU time. |
| 4872 |
This does not happen on real world TLS connections, though, but needs |
| 4873 |
investigations. |
| 4874 |
|
| 4875 |
2016-06-29 Tim Rühsen <[email protected]> |
| 4876 |
|
| 4877 |
Add script to generate test certs non-interactive |
| 4878 |
* Test-pinnedpubkey-hash-https.py: Read hashed pubkey from file |
| 4879 |
* Test-pinnedpubkey-hash-no-check-fail-https.py: Use invalid hash |
| 4880 |
* certs/make_ca.sh: New script to generate test certs non-interactive |
| 4881 |
* certs/ca-template.cfg: New file (template for CA cert) |
| 4882 |
* certs/server-template.cfg: New file (template for server cert) |
| 4883 |
* certs/server-pubkey-sha256.base64: New file (pubkey sha256 hash) |
| 4884 |
|
| 4885 |
2016-06-27 Ander Juaristi <[email protected]> |
| 4886 |
|
| 4887 |
Bypass world-writable checks on Windows |
| 4888 |
* src/hsts.c (hsts_file_access_valid): we should check for "world-writable" |
| 4889 |
files only on Unix-based systems. It's difficult to mimic the same behavior |
| 4890 |
on Windows, so it's better to just not do it. |
| 4891 |
|
| 4892 |
Reported-by: Gisle Vanem <[email protected]> |
| 4893 |
Reported-by: Eli Zaretskii <[email protected]> |
| 4894 |
|
| 4895 |
2016-06-14 Tim Rühsen <[email protected]> |
| 4896 |
|
| 4897 |
Update gnulib and bootstrap |
| 4898 |
* gnulib: Sync gnulib submodule with upstream |
| 4899 |
* bootstrap: Update to latest version from gnulib/build-aux/ |
| 4900 |
|
| 4901 |
2016-06-12 Tim Rühsen <[email protected]> |
| 4902 |
|
| 4903 |
Use ICONV_CONST to avoid type warning for iconv() |
| 4904 |
* src/iri.c (do_conversion): Cast 2. param of iconv() to |
| 4905 |
'ICONV_CONST char **' |
| 4906 |
* src/url.c (convert_fname): Likewise |
| 4907 |
|
| 4908 |
Remove check for HAVE_ICONV in src/url.c |
| 4909 |
* src/url.c: Remove check for HAVE_ICONV |
| 4910 |
|
| 4911 |
Add gnulib module 'langinfo' |
| 4912 |
* bootstrap.conf: Add 'langinfo' |
| 4913 |
|
| 4914 |
Include gnulib fcntl.h instead of sys/fcntl.h |
| 4915 |
* src/gnutls.c: Include gnulib fcntl.h |
| 4916 |
|
| 4917 |
Add libraries to LDADD for wget |
| 4918 |
* src/Makefile.am: Add $(GETADDRINFO_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB) |
| 4919 |
$(LIBSOCKET) $(LIB_CLOCK_GETTIME) $(LIB_CRYPTO) $(LIB_SELECT) |
| 4920 |
$(LTLIBICONV) $(LTLIBINTL) $(LTLIBTHREAD) $(SERVENT_LIB) to LDADD |
| 4921 |
|
| 4922 |
2016-06-10 Tim Rühsen <[email protected]> |
| 4923 |
|
| 4924 |
Explicitely mention Python3 in README.checkout |
| 4925 |
* README.checkout: Python test suite needs Python3 |
| 4926 |
|
| 4927 |
2016-06-09 Giuseppe Scrivano <[email protected]> |
| 4928 |
|
| 4929 |
NEWS: update |
| 4930 |
|
| 4931 |
2016-06-09 Giuseppe Scrivano <[email protected]> |
| 4932 |
|
| 4933 |
ftp: understand --trust-server-names on a HTTP->FTP redirect |
| 4934 |
If not --trust-server-names is used, FTP will also get the destination |
| 4935 |
file name from the original url specified by the user instead of the |
| 4936 |
redirected url. Closes CVE-2016-4971. |
| 4937 |
|
| 4938 |
* src/ftp.c (ftp_get_listing): Add argument original_url. |
| 4939 |
(getftp): Likewise. |
| 4940 |
(ftp_loop_internal): Likewise. Use original_url to generate the |
| 4941 |
file name if --trust-server-names is not provided. |
| 4942 |
(ftp_retrieve_glob): Likewise. |
| 4943 |
(ftp_loop): Likewise. |
| 4944 |
|
| 4945 |
2016-06-07 Tim Rühsen <[email protected]> |
| 4946 |
|
| 4947 |
Fix warnings for --disable-iri configure flag |
| 4948 |
* src/iri.h: Fix #define for parse_charset |
| 4949 |
* src/html-url.c: Surround some IRI code parts by #ifdef ENABLE_IRI |
| 4950 |
* src/http.c: Likewise |
| 4951 |
* src/iri.h: Likewise |
| 4952 |
* src/recur.c: Likewise |
| 4953 |
* src/retr.c: Likewise |
| 4954 |
|
| 4955 |
Fix warning about redefinition of MAP_FAILED |
| 4956 |
* src/sysdep.h: Removed definition of MAP_FAILED |
| 4957 |
* src/utils.c: Check and define MAP_FAILED after including sys/mmap.h |
| 4958 |
|
| 4959 |
2016-06-03 Tim Rühsen <[email protected]> |
| 4960 |
|
| 4961 |
Add new Test for missing scheme behavior |
| 4962 |
* testenv/Makefile.am: Add Test-missing-scheme-retval.py |
| 4963 |
* testenv: New file Test-missing-scheme-retval.py |
| 4964 |
|
| 4965 |
Idea and Perl implementation by Zdenek Dohnal <[email protected]> |
| 4966 |
|
| 4967 |
2016-05-27 Tim Rühsen <[email protected]> |
| 4968 |
|
| 4969 |
Fallback to pod2man without utf-8 on error |
| 4970 |
* doc/Makefile.am: Fallback to pod2man without utf-8 on error |
| 4971 |
|
| 4972 |
2016-05-26 Ander Juaristi <[email protected]> |
| 4973 |
|
| 4974 |
Correct HSTS debug message |
| 4975 |
* src/main.c (save_hsts): save the in-memory HSTS database to a file |
| 4976 |
only if something changed. |
| 4977 |
* src/hsts.c (struct hsts_store): new field 'changed'. |
| 4978 |
(hsts_match): update field 'changed' accordingly. |
| 4979 |
(hsts_store_entry): update field 'changed' accordingly. |
| 4980 |
(hsts_store_has_changed): new function. |
| 4981 |
* src/hsts.h (hsts_store_has_changed): new function. |
| 4982 |
|
| 4983 |
Check the HSTS file is not world-writable |
| 4984 |
* hsts.c (hsts_file_access_valid): check that the file is a regular |
| 4985 |
file, and that it's not world-writable. |
| 4986 |
(hsts_store_open): if the HSTS database file does not meet the |
| 4987 |
above requirements, disable HSTS at all. |
| 4988 |
|
| 4989 |
2016-05-24 Tim Rühsen <[email protected]> |
| 4990 |
|
| 4991 |
Improve description of Perl libraries needed for test suite |
| 4992 |
* README.checkout: Improve text about Perl libraries |
| 4993 |
|
| 4994 |
2016-05-23 Tim Rühsen <[email protected]> |
| 4995 |
|
| 4996 |
Remove special handling for Emacs in progress bar code |
| 4997 |
* src/progress.c: Remove special 'emacs' code |
| 4998 |
|
| 4999 |
Fixes #47989 |
| 5000 |
|
| 5001 |
2016-04-25 Jernej Simončič <jernej|[email protected]> |
| 5002 |
|
| 5003 |
Fix xsleep() for Windows (trivial change) |
| 5004 |
* src/mswindows.c (xsleep): Fix check for number of seconds |
| 5005 |
|
| 5006 |
2016-04-17 Sergio Gelato <[email protected]> |
| 5007 |
|
| 5008 |
More accurate log message from do_conversion() |
| 5009 |
* src/iri.c (do_conversion): More accurate log message |
| 5010 |
|
| 5011 |
2016-04-17 Tim Rühsen <[email protected]> |
| 5012 |
|
| 5013 |
Include sys/select.h if HAVE_LIBCARES |
| 5014 |
* src/hosts.c: Include sys/select.h if HAVE_LIBCARES |
| 5015 |
|
| 5016 |
Reported-by: Gisle Vanem <[email protected]> |
| 5017 |
|
| 5018 |
2016-04-17 Gisle Vanem <[email protected]> |
| 5019 |
|
| 5020 |
Fix Windows gnulib/c-ares incompatibility of select() |
| 5021 |
* src/host.c: Undef 'select' on Windows |
| 5022 |
|
| 5023 |
2016-04-15 Tim Rühsen <[email protected]> |
| 5024 |
|
| 5025 |
Set X flags for python tests |
| 5026 |
* testenv/*.py: Set eXecute flags |
| 5027 |
|
| 5028 |
Regression from commit 926e42d4678689195a0bbed210c6d027db7cc390 |
| 5029 |
|
| 5030 |
2016-04-11 Ander Juaristi <[email protected]> |
| 5031 |
|
| 5032 |
Strictly comply with RFC 6797 |
| 5033 |
* src/hsts.c (hsts_store_entry): strictly comply with RFC 6797. |
| 5034 |
|
| 5035 |
RFC 6797 states in section 8.1 that the UA's cached information should |
| 5036 |
only be updated if: |
| 5037 |
|
| 5038 |
"either or both of the max-age and includeSubDomains header field |
| 5039 |
value tokens are conveying information different than that already |
| 5040 |
maintained by the UA." |
| 5041 |
|
| 5042 |
2016-04-11 Ander Juaristi <[email protected]> |
| 5043 |
|
| 5044 |
Correct HSTS database file description |
| 5045 |
* src/hsts.c (hsts_store_dump): s/[:port]/<port>/ |
| 5046 |
|
| 5047 |
2016-04-11 moparisthebest <[email protected]> |
| 5048 |
|
| 5049 |
Implement tests for new pinnedpubkey option |
| 5050 |
* testenv/Makefile.am: Add new tests |
| 5051 |
* testenv/Test-pinnedpubkey-der-https.py: New test |
| 5052 |
* testenv/Test-pinnedpubkey-der-no-check-https.py: New Test |
| 5053 |
* testenv/Test-pinnedpubkey-hash-https.py: New test |
| 5054 |
* testenv/Test-pinnedpubkey-hash-no-check-fail-https.py: New test |
| 5055 |
* testenv/Test-pinnedpubkey-pem-fail-https.py: New test |
| 5056 |
* testenv/Test-pinnedpubkey-pem-https.py: New test |
| 5057 |
* testenv/certs/README: How to generate public keys with openssl tool |
| 5058 |
* testenv/certs/server-pubkey.der: New key file (DER format) |
| 5059 |
* testenv/certs/server-pubkey.pem: New key file (PEM format) |
| 5060 |
|
| 5061 |
Implement --pinnedpubkey option to pin public keys |
| 5062 |
* doc/wget.texi: Add description for --pinnedpubkey |
| 5063 |
* src/gnutls.c: New function pkp_pin_peer_pubkey(), |
| 5064 |
(ssl_check_certificate): Check pinned cert via pkp_pin_peer_pubkey() |
| 5065 |
* src/init.c: Add option --pinnedpubkey |
| 5066 |
* src/main.c: Add option --pinnedpubkey |
| 5067 |
* src/openssl.c: New function pkp_pin_peer_pubkey(), |
| 5068 |
(ssl_check_certificate): Check pinned cert via pkp_pin_peer_pubkey() |
| 5069 |
* src/options.h: Add new option variable 'pinnedpubkey' |
| 5070 |
* src/utils.c: New functions wg_pubkey_pem_to_der(), wg_pin_peer_pubkey() |
| 5071 |
* src/utils.h: Add prototype for wg_pin_peer_pubkey() |
| 5072 |
|
| 5073 |
2016-04-11 Tim Rühsen <[email protected]> |
| 5074 |
|
| 5075 |
Use test file name for temp working directory name |
| 5076 |
* testenv/test/base_test.py (__init__): Use test file name for name, |
| 5077 |
remove 'name' parameter |
| 5078 |
* testenv/test/http_test.py (__init__): Remove 'name' parameter |
| 5079 |
* testenv/*.py: Remove TEST_NAME |
| 5080 |
|
| 5081 |
Using a fixed string (TEST_NAME) to build the working directory |
| 5082 |
for testing caused random failures (or successes) when tests |
| 5083 |
share the same TEST_NAME value. Not easy to find without digging |
| 5084 |
into the python test suite code. |
| 5085 |
We now use the test file name, which is unique within the test |
| 5086 |
environment. |
| 5087 |
|
| 5088 |
2016-04-11 Tim Rühsen <[email protected]> |
| 5089 |
|
| 5090 |
Fix testenv/Test--rejected-log.py |
| 5091 |
* testenv/Test--rejected-log.py: Add missing tabs in expected output |
| 5092 |
|
| 5093 |
Fail python tests when post_hook errors |
| 5094 |
* testenv/test/base_test.py (__exit__): Return self.tests_passed |
| 5095 |
(__test_cleanup): Set self.tests_passed to False on exception |
| 5096 |
|
| 5097 |
2016-03-29 Darshit Shah <[email protected]> |
| 5098 |
|
| 5099 |
Print the fingerprint instead of the raw pointer in debugging message |
| 5100 |
* src/metalink.c (retrieve_from_metalink): Fix debug message to print the |
| 5101 |
fingerprint instead of a pointer. |
| 5102 |
|
| 5103 |
* Do not delete the ChangeLog file since it is required by the Makefile |
| 5104 |
and breaks compilation |
| 5105 |
|
| 5106 |
2016-03-29 Darshit Shah <[email protected]> |
| 5107 |
|
| 5108 |
Revert "Print the fingerprint instead of the raw pointer in debugging message" |
| 5109 |
This reverts commit b916595168b6eb0f8868a67a9d214d5e0022871f. |
| 5110 |
|
| 5111 |
2016-03-28 Tim Rühsen <[email protected]> |
| 5112 |
|
| 5113 |
Fixed URLs and references in wget.texi |
| 5114 |
* wget.texi: Replace server.com by example.com, |
| 5115 |
replace ftp://wuarchive.wustl.edu by https://example.com, |
| 5116 |
use HTTPS instead of HTTP where possible, |
| 5117 |
fix list archive reference, |
| 5118 |
remove reference to [email protected], |
| 5119 |
change bugtracker URL to bugtracker on Savannah, |
| 5120 |
replace yoyodyne.com by example.com, |
| 5121 |
fix URL to VMS port |
| 5122 |
|
| 5123 |
2016-03-25 Giuseppe Scrivano <[email protected]> |
| 5124 |
|
| 5125 |
* metalink.c (retrieve_from_metalink): Fix typo |
| 5126 |
|
| 5127 |
Print the fingerprint instead of the raw pointer in debugging message |
| 5128 |
* src/metalink.c (retrieve_from_metalink): Fix debug message to print the |
| 5129 |
fingerprint instead of a pointer. |
| 5130 |
|
| 5131 |
2016-03-23 Tim Rühsen <[email protected]> |
| 5132 |
|
| 5133 |
Add options --bind-dns-address and --dns-servers |
| 5134 |
* README.checkout: Add description for libares |
| 5135 |
* configure.ac: Add check for libares |
| 5136 |
* doc/wget.texi: Add docs for the new options |
| 5137 |
* src/build_info.c.in: Add +/-cares for --version output |
| 5138 |
* src/host.c: |
| 5139 |
(merge_address_lists): New static function |
| 5140 |
(address_list_from_hostent): New static function |
| 5141 |
(wait_ares): New static function |
| 5142 |
(callback): New static function |
| 5143 |
(lookup_host): Add libares resolver code |
| 5144 |
* src/init.c: Add new options, |
| 5145 |
(cleanup): Add cleanup code |
| 5146 |
* src/main.c: Add global libares channel variable |
| 5147 |
(cmdline_option option_data): Add new options |
| 5148 |
(print_help): Add short descriptions |
| 5149 |
(main): Add libares init code |
| 5150 |
* src/options.h (struct options): Add option members |
| 5151 |
|
| 5152 |
The new options allow to specify alternative DNS servers and |
| 5153 |
an alternate packet route for the resolver packets. |
| 5154 |
Wget has to built with libares, enabled at configure time by |
| 5155 |
./configure --with-cares. |
| 5156 |
|
| 5157 |
2016-03-16 Tim Rühsen <[email protected]> |
| 5158 |
|
| 5159 |
Fix SNI server names with trailing dot(s) |
| 5160 |
* src/gnutls.c (ssl_connect_wget, ssl_check_certificate): Fix SNI server name |
| 5161 |
* src/openssl.c (ssl_connect_wget, ssl_check_certificate): Fix SNI server name |
| 5162 |
|
| 5163 |
Fixes #47408 |
| 5164 |
|
| 5165 |
2016-03-10 Tim Rühsen <[email protected]> |
| 5166 |
|
| 5167 |
Fix links to original Robots Exclusion Standard |
| 5168 |
* doc/wget.texi: Fix links |
| 5169 |
|
| 5170 |
2016-03-05 Darshit Shah <[email protected]> |
| 5171 |
|
| 5172 |
Fix assertion in Progress bar |
| 5173 |
* src/progress.c (create_image): Fix off-by-one error in assert() |
| 5174 |
statement for progress bar width. |
| 5175 |
Reported-By: Gisle Vanem <[email protected]> |
| 5176 |
|
| 5177 |
2016-03-03 Giuseppe Scrivano <[email protected]> |
| 5178 |
|
| 5179 |
src/url.c: fix make syntax-check |
| 5180 |
|
| 5181 |
2016-03-03 Maks Orlovich <[email protected]> |
| 5182 |
|
| 5183 |
Parse <img srcset> attributes, they have image URLs. |
| 5184 |
* src/convert.h: Add link_noquote_html_p to permit rewriting URLs deep |
| 5185 |
inside attributes without adding extraneous quoting |
| 5186 |
* src/convert.c (convert_links): Honor link_noquote_html_p |
| 5187 |
* src/html_url.c (tag_handle_img): New function. Add srcset parsing. |
| 5188 |
|
| 5189 |
2016-03-01 Darshit Shah <[email protected]> |
| 5190 |
|
| 5191 |
Sanitize value sent to memset to prevent SEGFAULT |
| 5192 |
|
| 5193 |
2016-03-01 Darshit Shah <[email protected]> |
| 5194 |
|
| 5195 |
Update documentation about bahviour of -c |
| 5196 |
* docs/wget.texi: -c will restart download from scratch if server |
| 5197 |
does not support RANGE. |
| 5198 |
|
| 5199 |
Reported-By: David Chavez |
| 5200 |
http://stackoverflow.com/questions/30147332/unexpected-behavior-of-wget |
| 5201 |
|
| 5202 |
2016-02-27 Tim Rühsen <[email protected]> |
| 5203 |
|
| 5204 |
Fix writing WARC-Target-URI value |
| 5205 |
src/warc.c: Add function warc_write_header_uri(), |
| 5206 |
Use it for creating WARC-Target-URI |
| 5207 |
|
| 5208 |
Fixes #47281 |
| 5209 |
|
| 5210 |
2016-02-13 Darshit Shah <[email protected]> |
| 5211 |
|
| 5212 |
Remove pointer to unused Mailing List |
| 5213 |
* MAILING-LISTS: Remove pointer to old, unused mailing list for bug |
| 5214 |
reports |
| 5215 |
|
| 5216 |
2016-02-11 Tim Rühsen <[email protected]> |
| 5217 |
|
| 5218 |
Retain value of errno in logprintf(), logputs() even better |
| 5219 |
* src/log.c (logprintf,logputs): Save&Restore value of errno |
| 5220 |
|
| 5221 |
Reported-by: Gisle Vanem <[email protected]> |
| 5222 |
|
| 5223 |
2016-02-10 Tim Rühsen <[email protected]> |
| 5224 |
|
| 5225 |
Retain value of errno in logprintf() |
| 5226 |
* src/log.c (logprintf): Save&Restore value of errno |
| 5227 |
|
| 5228 |
Reported-by: Gisle Vanem <[email protected]> |
| 5229 |
|
| 5230 |
2016-02-01 Tim Rühsen <[email protected]> |
| 5231 |
|
| 5232 |
Set AM_SILENT_RULES to yes by default |
| 5233 |
* configure.ac: Set AM_SILENT_RULES to yes by default |
| 5234 |
|
| 5235 |
2016-02-01 Ander Juaristi <[email protected]> |
| 5236 |
|
| 5237 |
Enforce 'RejectHeader' rule in tests |
| 5238 |
* server/http/http_server.py (_Handler.RejectHeader): enforce |
| 5239 |
'RejectHeader' rule. |
| 5240 |
|
| 5241 |
2015-12-20 Tim Rühsen <[email protected]> |
| 5242 |
|
| 5243 |
Fix Test-iri-forced-remote |
| 5244 |
* tests/Test-iri-forced-remote.px: Fix encodings |
| 5245 |
|
| 5246 |
2015-12-18 Eli Zaretskii <[email protected]> |
| 5247 |
|
| 5248 |
Support non-ASCII URLs |
| 5249 |
* src/url.c [HAVE_ICONV]: Include iconv.h and langinfo.h. |
| 5250 |
(convert_fname): New function. |
| 5251 |
[HAVE_ICONV]: Convert file name from remote encoding to local |
| 5252 |
encoding. |
| 5253 |
(url_file_name): Call convert_fname. |
| 5254 |
(filechr_table): Don't consider bytes in 128..159 as control |
| 5255 |
characters. |
| 5256 |
|
| 5257 |
* tests/Test-ftp-iri.px: Fix the expected file name to match the |
| 5258 |
new file-name recoding. State the remote encoding explicitly on |
| 5259 |
the Wget command line. |
| 5260 |
|
| 5261 |
* NEWS: Mention the URI recoding when built with libiconv. |
| 5262 |
|
| 5263 |
2015-12-18 Giuseppe Scrivano <[email protected]> |
| 5264 |
|
| 5265 |
* NEWS: Prepare new development cycle |
| 5266 |
|
| 5267 |
2015-12-17 Tim Rühsen <[email protected]> |
| 5268 |
|
| 5269 |
Cleanup code |
| 5270 |
* src/iri.c (do_conversion): Code cleanup |
| 5271 |
|
| 5272 |
2015-12-17 Eli Zaretskii <[email protected]> |
| 5273 |
|
| 5274 |
Set URI encoding when redirected |
| 5275 |
* src/retr.c (retrieve_url): Set URI on redirection |
| 5276 |
|
| 5277 |
2015-12-17 Tim Rühsen <[email protected]> |
| 5278 |
|
| 5279 |
Remove requesting X/Open 5, POSIX 1995 |
| 5280 |
* src/sysdep.h: Remove #define _XOPEN_SOURCE 500 |
| 5281 |
|
| 5282 |
2015-12-16 Eli Zaretskii <[email protected]> |
| 5283 |
|
| 5284 |
Avoid hanging on MS-Windows when invoked with --connect-timeout |
| 5285 |
* src/connect.c (connect_to_ip) [WIN32]: Don't call fd_close if |
| 5286 |
the connection timed out, to avoid hanging. |
| 5287 |
|
| 5288 |
2015-12-15 Tim Rühsen <[email protected]> |
| 5289 |
|
| 5290 |
Fix iconv conversion |
| 5291 |
* src/iri.c: Kick out the last converted character from iconv() |
| 5292 |
|
| 5293 |
Thanks to Eli Zaretskii <[email protected]> for suggesting the fix. |
| 5294 |
Reported-by: "Andries E. Brouwer" <[email protected]> |
| 5295 |
|
| 5296 |
2015-12-14 Tim Rühsen <[email protected]> |
| 5297 |
|
| 5298 |
Let Test-k survive on CygWin and Windows |
| 5299 |
* tests/Test-k.px: Use --restrict-file-names for CygWin/Windows |
| 5300 |
filename requirements. |
| 5301 |
|
| 5302 |
2015-12-13 Ander Juaristi <[email protected]> |
| 5303 |
|
| 5304 |
Fix leak in HSTS code |
| 5305 |
* src/hsts.c (hsts_store_open): close fp if open. |
| 5306 |
|
| 5307 |
Remove unused variable in ftp code |
| 5308 |
* src/ftp.c (getftp): fix compiler warning for unused variable. |
| 5309 |
|
| 5310 |
2015-12-11 Giuseppe Scrivano <[email protected]> |
| 5311 |
|
| 5312 |
Tag release 1.17.1 |
| 5313 |
* NEWS: Update. |
| 5314 |
* gnulib: sync from upstream. |
| 5315 |
|
| 5316 |
2015-12-11 Tim Rühsen <[email protected]> |
| 5317 |
|
| 5318 |
Remove ABOUT-NLS from git |
| 5319 |
* ABOUT-NLS: Remove from repository, it will be autogenerated. |
| 5320 |
* .gitignore: Add ABOUT-NLS and build-aux/ar-lib |
| 5321 |
|
| 5322 |
2015-12-11 Jernej Simončič <jernej|[email protected]> |
| 5323 |
|
| 5324 |
* src/metalink.c: Specify 'rb' as mode to open file |
| 5325 |
|
| 5326 |
2015-12-10 Ángel González <[email protected]> |
| 5327 |
|
| 5328 |
* doc/wget.texi: add hint for self-signed certificates |
| 5329 |
|
| 5330 |
2015-12-10 Ander Juaristi <[email protected]> |
| 5331 |
|
| 5332 |
Fix Coverity issues |
| 5333 |
* src/ftp.c (getftp): on error, close the file and attempt to remove it |
| 5334 |
before exiting. |
| 5335 |
* src/hsts.c (hsts_store_open): update modification time in the end. |
| 5336 |
|
| 5337 |
2015-12-10 Darshit Shah <[email protected]> |
| 5338 |
|
| 5339 |
Faster Travis Builds |
| 5340 |
* contrib/travis-ci: Test under different languages only when all the |
| 5341 |
features are enabled. This covers the maximum number of strings. For the |
| 5342 |
other option permutations, test only in the default C locale |
| 5343 |
|
| 5344 |
Fix remaining bugs in progress bar implementation |
| 5345 |
* src/progress.c (create_image): Ensure that the entire screen width is |
| 5346 |
drawn everytime to prevent any artefacts from leaking through. |
| 5347 |
|
| 5348 |
2015-12-09 Darshit Shah <[email protected]> |
| 5349 |
|
| 5350 |
Add bug-wget to list of travis recipients |
| 5351 |
* .travis.yml: Add bug-wget to list of Travis Report Recipients |
| 5352 |
|
| 5353 |
Eliminate more compiler warnings |
| 5354 |
* src/options.h (CHECK_CERT_MODES): Remove C99 style comma after last |
| 5355 |
value |
| 5356 |
* src/progress.c (create_image): Do not mix statements and declarations |
| 5357 |
* src/init.c (cmd_boolean_internal): Mark unused parameters |
| 5358 |
|
| 5359 |
Re-enable test on multibyte locale in Travis |
| 5360 |
* .travis.yml: Use Russian locale instead of Japanese since it seems to |
| 5361 |
be more complete |
| 5362 |
* contrib/travis-ci: Re-enable testing on a Russian locale |
| 5363 |
|
| 5364 |
Fix progress bar assertion with multibyte locales |
| 5365 |
* src/progress.c (bar_create): Define size of progress buffer explicitly |
| 5366 |
(create_image): Clean up progress bar image creation. Use memset |
| 5367 |
instead of for loops to create arrays of the same byte. |
| 5368 |
|
| 5369 |
2015-12-06 Darshit Shah <[email protected]> |
| 5370 |
|
| 5371 |
Introduce Travis Integration |
| 5372 |
* .travis.yml: Configuration file for Travis-CI |
| 5373 |
* contrib/travis-ci: Script to run on travis. Similar to check-hard but modified |
| 5374 |
for travis. |
| 5375 |
* tests/valgrind-suppressions{-ssl}: Add extra suppressions to prevent a |
| 5376 |
Valgrind False Positive errors in an old version |
| 5377 |
|
| 5378 |
Since Travis currently supports only public repositories on GitHub, the support |
| 5379 |
for automated testing through Travis will be done using my Clone of Wget on |
| 5380 |
GitHub at: https://github.com/darnir/wget.git |
| 5381 |
Any commits pushed to this repository will trigger a build on Travis. |
| 5382 |
|
| 5383 |
2015-12-04 Tim Rühsen <[email protected]> |
| 5384 |
|
| 5385 |
SKIP SSL/TLS tests if configured without it |
| 5386 |
* testenv/Makefile.am: Set SSL_TESTS env variable |
| 5387 |
* testenv/Test--https-crl.py, testenv/Test--https.py, |
| 5388 |
testenv/Test-hsts.py: Return 77 (SKIP) if SSL/TLS is not configured |
| 5389 |
|
| 5390 |
2015-12-03 Tim Rühsen <[email protected]> |
| 5391 |
|
| 5392 |
Add Test-hsts.py to SSL_TESTS |
| 5393 |
* testenv/Makefile.am: Add Test-hsts.py to SSL_TESTS |
| 5394 |
|
| 5395 |
2015-12-03 Ygal Blum <[email protected]> |
| 5396 |
|
| 5397 |
Fix compilation when without-ssl is selected |
| 5398 |
|
| 5399 |
2015-12-03 Darshit Shah <[email protected]> |
| 5400 |
|
| 5401 |
Include Metalink and GPG information in version |
| 5402 |
* src/build_info.c.in: Include the presence of Metalink and GPGME features in |
| 5403 |
the output for wget --version |
| 5404 |
|
| 5405 |
2015-12-03 Giuseppe Scrivano <[email protected]> |
| 5406 |
|
| 5407 |
Add --check-certificate=quiet |
| 5408 |
* doc/wget.texi: Add documentation for --check-certificate=quiet. |
| 5409 |
* src/options.h (enum CHECK_CERT_MODES): New enum. |
| 5410 |
* src/init.c (cmd_check_cert): New static function. |
| 5411 |
(cmd_boolean_internal): Likewise. |
| 5412 |
* src/gnutls.c (ssl_check_certificate): Handle CHECK_CERT_QUIET. |
| 5413 |
* src/openssl.c (ssl_check_certificate): Handle CHECK_CERT_QUIET. |
| 5414 |
|
| 5415 |
2015-11-24 Tim Rühsen <[email protected]> |
| 5416 |
|
| 5417 |
Fix regression in HTTP authentication |
| 5418 |
* src/http.c (initialize_request): Fix wrong params to search_netrc() |
| 5419 |
|
| 5420 |
Regression introduced in commit 29850e77 |
| 5421 |
Reported-by: Axel Reinhold <[email protected]> |
| 5422 |
|
| 5423 |
2015-11-23 Tim Rühsen <[email protected]> |
| 5424 |
|
| 5425 |
Fix SIGSEGV in -N / --content-disposition combination |
| 5426 |
* src/http.c (http_loop): Fix SIGSEGV |
| 5427 |
|
| 5428 |
Reported-by: "Schleusener, Jens" <[email protected]> |
| 5429 |
|
| 5430 |
2015-11-20 Ander Juaristi <[email protected]> |
| 5431 |
|
| 5432 |
Fix potential NULL pointer dereference |
| 5433 |
* src/gnutls.c (ssl_connect_wget): check for NULL before calls |
| 5434 |
|
| 5435 |
2015-11-20 Giuseppe Scrivano <[email protected]> |
| 5436 |
|
| 5437 |
* configure.ac: change gettext version to 0.18.1 |
| 5438 |
|
| 5439 |
2015-11-19 Ikey Doherty <[email protected]> |
| 5440 |
|
| 5441 |
configure.ac: Use correct gettext version |
| 5442 |
|
| 5443 |
2015-11-19 Tim Rühsen <[email protected]> |
| 5444 |
|
| 5445 |
Fix HSTS memory issue + test code issue |
| 5446 |
* src/hsts.c (hsts_find_entry): Fix freeing memory |
| 5447 |
(hsts_remove_entry): Remove freeing host member |
| 5448 |
(hsts_match): Free host member here |
| 5449 |
(hsts_store_entry): Free host member here |
| 5450 |
(test_url_rewrite): Fix 'created' value |
| 5451 |
(test_hsts_read_database): Fix 'created' value |
| 5452 |
|
| 5453 |
Reported-by: Dagobert Michelsen <[email protected]> |
| 5454 |
|
| 5455 |
2015-11-17 Tim Rühsen <[email protected]> |
| 5456 |
|
| 5457 |
Include errno.h instead of sys/errno.h (Solaris issue) |
| 5458 |
* src/metalink.c: Include errno.h instead of sys/errno.h |
| 5459 |
|
| 5460 |
Reported-by: Dagobert Michelsen <[email protected]> |
| 5461 |
|
| 5462 |
2015-11-17 Darshit Shah <[email protected]> |
| 5463 |
|
| 5464 |
Fix compile error when IPv6 is disabled |
| 5465 |
* src/ftp-basic.c: The code for the new FTPS functionality was unintentionally |
| 5466 |
inside a #ifdef IPV6 block. Move the code around so that it is defined even when |
| 5467 |
IPV6 isn't used |
| 5468 |
|
| 5469 |
Use gnulib module flock to provide function |
| 5470 |
* bootstrap.conf: Use module flock from gnulib to provide it on other platforms |
| 5471 |
such as Windows. |
| 5472 |
|
| 5473 |
2015-11-16 Darshit Shah <[email protected]> |
| 5474 |
|
| 5475 |
Eliminate NDEBUG redefined warnings |
| 5476 |
* src/wget.h: Define NDEBUG only if it hasn't been defined before |
| 5477 |
|
| 5478 |
2015-11-15 Giuseppe Scrivano <[email protected]> |
| 5479 |
|
| 5480 |
NEWS: prepare new release cycle |
| 5481 |
|
| 5482 |
Prepare release 1.17 |
| 5483 |
* gnulib: sync with upstream. |
| 5484 |
* NEWS: Update. |
| 5485 |
* src/main.c: Change the copyright year. |
| 5486 |
|
| 5487 |
2015-11-03 Tim Rühsen <[email protected]> |
| 5488 |
|
| 5489 |
Document combination of -nc and -O |
| 5490 |
Fixes #46359 |
| 5491 |
|
| 5492 |
2015-11-03 Tim Rühsen <[email protected]> |
| 5493 |
|
| 5494 |
Do not download/save file on error when --spider enabled |
| 5495 |
* src/http.c (gethttp,http_loop): |
| 5496 |
Do not download/save file on error when --spider is enabled and not |
| 5497 |
working recursive. |
| 5498 |
|
| 5499 |
Reported-by: Сковорода Никита Андреевич [email protected] |
| 5500 |
Fixes #45821 |
| 5501 |
|
| 5502 |
2015-10-27 Tim Rühsen <[email protected]> |
| 5503 |
|
| 5504 |
Fix URL conversion for colons in filenames |
| 5505 |
* src/convert.c (construct_relative): Prepend './' to filename |
| 5506 |
* tests/Test-k.px: Amend test to succeed |
| 5507 |
|
| 5508 |
2015-10-15 Tim Rühsen <[email protected]> |
| 5509 |
|
| 5510 |
Adjust indentation of --no-use-server-timestamps in help output |
| 5511 |
* src/main.c: Adjust indentation of --no-use-server-timestamps |
| 5512 |
|
| 5513 |
2015-10-13 Ander Juaristi <[email protected]> |
| 5514 |
|
| 5515 |
Added --convert-file-only option |
| 5516 |
* src/convert.c (convert_links_in_hashtable, convert_links): |
| 5517 |
test for CO_CONVERT_BASENAME_ONLY. |
| 5518 |
(convert_basename): new function. |
| 5519 |
* src/convert.h: new constant CO_CONVERT_BASENAME_ONLY. |
| 5520 |
* src/init.c, src/main.c, src/options.h: new option "--convert-file-only". |
| 5521 |
* doc/wget.texi: updated documentation. |
| 5522 |
|
| 5523 |
Reviewed-by: Gabriel Somlo <[email protected]> |
| 5524 |
|
| 5525 |
2015-10-12 Darshit Shah <[email protected]> |
| 5526 |
|
| 5527 |
Fix Test-ftp-pasv-not-supported.px |
| 5528 |
* tests/Test-ftp-pasv-not-supported.px: We do *NOT* expect any |
| 5529 |
downloaded files. Also, do not negate the Test response. |
| 5530 |
|
| 5531 |
The test originally expected a downloaded file, but this is not |
| 5532 |
true. As a result, the test would fail and return exit code 1. This |
| 5533 |
was presumably the reason why the test result was negated before |
| 5534 |
returning to the shell. Fix this issue, so that the test runs |
| 5535 |
correctly without any hacks. |
| 5536 |
|
| 5537 |
2015-10-12 Darshit Shah <[email protected]> |
| 5538 |
|
| 5539 |
Fix make distcheck failures in Perl SSL Tests |
| 5540 |
* tests/Makefile.am: Add valgrind-suppressions-ssl to EXTRA_DIST |
| 5541 |
* tests/Test-proxied-https-auth-keepalive.px: Find valgrind in |
| 5542 |
correct path during make distcheck |
| 5543 |
* tests/Test-proxied-https-auth.px: Same |
| 5544 |
|
| 5545 |
2015-10-12 christian fafard <[email protected]> |
| 5546 |
|
| 5547 |
Skip HTTPS perl tests if IO::Socket::SSL not installed |
| 5548 |
* tests/Test-proxied-https-auth-keepalive.px: Skip test if perl module |
| 5549 |
IO::Socket::SSL is not installed (trivial change). |
| 5550 |
* tests/Test-proxied-https-auth.px: Skip test if perl module |
| 5551 |
IO::Socket::SSL is not installed (trivial change). |
| 5552 |
|
| 5553 |
2015-10-09 Ander Juaristi <[email protected]> |
| 5554 |
|
| 5555 |
Fix potential race condition |
| 5556 |
* src/hsts.c (hsts_read_database): get an open file handle |
| 5557 |
instead of a file name. |
| 5558 |
(hsts_store_dump): get an open file handle |
| 5559 |
instead of a file name. |
| 5560 |
(hsts_store_open): open the file and pass the open file handle. |
| 5561 |
(hsts_store_save): lock the file before the read-merge-dump |
| 5562 |
process. |
| 5563 |
|
| 5564 |
Reported-by: Daniel Kahn Gillmor <[email protected]> |
| 5565 |
|
| 5566 |
2015-10-09 Ander Juaristi <[email protected]> |
| 5567 |
|
| 5568 |
Fix HSTS merge bug |
| 5569 |
* src/hsts.c (hsts_store_merge): call hsts_new_entry() if the entry |
| 5570 |
does not exist in the database. |
| 5571 |
|
| 5572 |
When merging the existing HSTS database on disk with the one on memory, |
| 5573 |
the entries that were on disk but not on memory were ignored. Thus, |
| 5574 |
only the existing entries were merged. This behavior was only triggered |
| 5575 |
when more than one Wget processes were using the same HSTS database |
| 5576 |
simultaneously. This commit fixes the bug by adding the new entries |
| 5577 |
to the on-memory database if they were not found there. |
| 5578 |
|
| 5579 |
2015-09-28 Giuseppe Scrivano <[email protected]> |
| 5580 |
|
| 5581 |
testenv/Test--rejected-log.py: Remove trailing white spaces |
| 5582 |
|
| 5583 |
2015-09-28 Tim Rühsen <[email protected]> |
| 5584 |
|
| 5585 |
Handle TLS rehandshakes in GnuTLS code |
| 5586 |
* src/gnutls.c: New static function _do_handshake() |
| 5587 |
* src/gnutls.c (wgnutls_read_timeout): Handle rehandshake |
| 5588 |
* src/gnutls.c (wgnutls_write): Handle rehandshake |
| 5589 |
* src/gnutls.c (ssl_connect_wget): Move handshake code into _do_handshake() |
| 5590 |
|
| 5591 |
Fixes #46061 |
| 5592 |
|
| 5593 |
2015-09-22 Darshit Shah <[email protected]> |
| 5594 |
|
| 5595 |
Add tests for missing qop in digest auth |
| 5596 |
* testenv/test-auth-both.py: Add qop parameter for digest auth |
| 5597 |
* testenv/test-auth-digest.py: Same |
| 5598 |
* testenv/conf/authentication.py: Support additional parameters for |
| 5599 |
authentication |
| 5600 |
* testenv/servers/http/http_server.py: Same |
| 5601 |
|
| 5602 |
Do not test for impossible qop value |
| 5603 |
* http.c (digest_authentication_encode): Wget already errors out if |
| 5604 |
qop != "auth". Then it makes no sense to test for qop == "auth-int" |
| 5605 |
later on. Currently, Wget does not support the "auth-int" qop value |
| 5606 |
and till nobidy requests, it may remain so. |
| 5607 |
|
| 5608 |
2015-09-22 Darshit Shah <[email protected]> |
| 5609 |
|
| 5610 |
Fix #46024. Support RFC 2069 Digest Authentication |
| 5611 |
* http.c (digest_authentication_encode): Some servers are still |
| 5612 |
using the obsolete RFC 2069 Digest Authentication. Allow Digest |
| 5613 |
authentication without the qop parameter for this. |
| 5614 |
|
| 5615 |
Reported-by: Andreas Longwitz <[email protected]> |
| 5616 |
|
| 5617 |
2015-09-21 Darshit Shah <[email protected]> |
| 5618 |
|
| 5619 |
Revert "Disable progress bar when wget is backgrounded (trivial patch)" |
| 5620 |
This reverts commit e6247325633d7d0007906f88d573a3bfa37307a7. |
| 5621 |
|
| 5622 |
2015-09-20 Giuseppe Scrivano <[email protected]> |
| 5623 |
|
| 5624 |
NEWS: cite FTPS support |
| 5625 |
|
| 5626 |
2015-09-14 Ander Juaristi <[email protected]> |
| 5627 |
|
| 5628 |
Added support for FTPS |
| 5629 |
* doc/wget.texi: updated documentation to reflect the new FTPS functionality. |
| 5630 |
* src/ftp-basic.c (ftp_greeting): new function to read the server's greeting. |
| 5631 |
(ftp_login): greeting code was previously here. Moved to ftp_greeting to |
| 5632 |
support FTPS implicit mode. |
| 5633 |
(ftp_auth): wrapper around the AUTH TLS command. |
| 5634 |
(ftp_ccc): wrapper around the CCC command. |
| 5635 |
(ftp_pbsz): wrapper around the PBSZ command. |
| 5636 |
(ftp_prot): wraooer around the PROT command. |
| 5637 |
* src/ftp.c (get_ftp_greeting): new static function. |
| 5638 |
(init_control_ssl_connection): new static function to start SSL/TLS on the |
| 5639 |
control channel. |
| 5640 |
(getftp): added hooks to support FTPS commands (RFCs 2228 and 4217). |
| 5641 |
(ftp_loop_internal): test for new FTPS error codes. |
| 5642 |
* src/ftp.h: new enum 'prot_level' with available FTPS protection levels + |
| 5643 |
prototypes of previous functions. New flag for enum 'wget_ftp_fstatus' to track |
| 5644 |
whether the data channel has some security mechanism enabled or not. |
| 5645 |
* src/gnutls.c (struct wgnutls_transport_context): new field 'session_data'. |
| 5646 |
(wgnutls_close): free GnuTLS session data before exiting. |
| 5647 |
(ssl_connect_wget): save/resume SSL/TLS session. |
| 5648 |
* src/http.c (establish_connection): refactor ssl_connect_wget call. |
| 5649 |
(metalink_from_http): take into account SCHEME_FTPS as well. |
| 5650 |
* src/init.c, src/main.c, src/options.h: new command line/wgetrc options. |
| 5651 |
(main): in recursive downloads, check for SCHEME_FTPS as well. |
| 5652 |
* src/openssl.c (struct openssl_transport_context): new field 'sess'. |
| 5653 |
(ssl_connect_wget): save/resume SSL/TLS session. |
| 5654 |
* src/retr.c (retrieve_url): check new scheme SCHEME_FTPS. |
| 5655 |
* src/ssl.h (ssl_connect_wget): refactor. New parameter of type 'int *'. |
| 5656 |
* src/url.c. src/url.h: new scheme SCHEME_FTPS. |
| 5657 |
* src/wget.h: new FTPS error codes. |
| 5658 |
* src/metalink.h: support FTPS scheme. |
| 5659 |
|
| 5660 |
2015-09-10 Christian Neukirchen <[email protected]> |
| 5661 |
|
| 5662 |
Disable progress bar when wget is backgrounded (trivial patch) |
| 5663 |
* src/progress.c (create_image): progress only when in foreground |
| 5664 |
|
| 5665 |
Sometimes I start wget, but the remote site is too slow, so I rather |
| 5666 |
want to run it in background, however when I simply use job control |
| 5667 |
for that, wget will keep spewing the progress bar all over my |
| 5668 |
terminal. I have found the SIGHUP/SIGUSR1 feature to redirect output |
| 5669 |
to a log file, but I think the following small patch is even more |
| 5670 |
useful, since the progress bar will simply resume when wget is |
| 5671 |
foregrounded again (also, the final message is still printed to the |
| 5672 |
terminal in any case): |
| 5673 |
|
| 5674 |
2015-09-04 Hubert Tarasiuk <[email protected]> |
| 5675 |
|
| 5676 |
Add information about libmetalink and GnuPG |
| 5677 |
* README.checkout: Optional dependencies and URL references. |
| 5678 |
|
| 5679 |
2015-09-02 Hubert Tarasiuk <[email protected]> |
| 5680 |
|
| 5681 |
Do not free Metalink structure if not initialized |
| 5682 |
* src/main.c (main): Move metalink_delete to the conditional block. |
| 5683 |
|
| 5684 |
2015-09-01 Ander Juaristi <[email protected]> |
| 5685 |
|
| 5686 |
Updated HSTS documentation |
| 5687 |
* doc/wget.texi: updated HSTS documentation. |
| 5688 |
|
| 5689 |
Reported-by: Daniel Kahn Gillmor <[email protected]> |
| 5690 |
|
| 5691 |
2015-09-01 Ander Juaristi <[email protected]> |
| 5692 |
|
| 5693 |
Extra debug traces for HSTS. |
| 5694 |
* src/main.c (load_hsts, save_hsts): added DEBUGP() calls to signal |
| 5695 |
reads and saves of the HSTS database file. |
| 5696 |
|
| 5697 |
2015-08-31 Darshit Shah <[email protected]> |
| 5698 |
|
| 5699 |
Fix coding style violation in last commit |
| 5700 |
* http.c (test_parse_range_header): Declare loop variable |
| 5701 |
explicitly. Not in gnu99 standard. |
| 5702 |
|
| 5703 |
2015-08-30 Darshit Shah <[email protected]> |
| 5704 |
|
| 5705 |
Add unit test for parse_content_range() method |
| 5706 |
* http.c (test_parse_range_header): New function to test the |
| 5707 |
function for parsing the HTTP/1.1 Content-Range header. |
| 5708 |
* test.[ch]: Same |
| 5709 |
* http.c (parse_content_range): Fix parsing code. Fail on scenarios |
| 5710 |
mentioned in rfc 7233. |
| 5711 |
|
| 5712 |
2015-08-30 Tim Rühsen <[email protected]> |
| 5713 |
|
| 5714 |
Fix null pointer dereference |
| 5715 |
* src/metalink.c (gpg_skip_verification): |
| 5716 |
Check output_stream before fclose |
| 5717 |
|
| 5718 |
Fix leaks found by Coverity |
| 5719 |
* src/http.c (parse_strict_transport_security): Free c_max_age |
| 5720 |
(open_output_stream): Fix indentation |
| 5721 |
* src/iri.c (locale_to_utf8): Free new |
| 5722 |
|
| 5723 |
2015-08-29 Tim Rühsen <[email protected]> |
| 5724 |
|
| 5725 |
Fix two leaks foudn by Coverity |
| 5726 |
* src/http.c (gethttp): Do not leak 'message'. |
| 5727 |
* src/main.c (format_and_print_line): Do not leak 'line_dup'. |
| 5728 |
|
| 5729 |
Fix resource leak discovered by Coverity |
| 5730 |
* src/retr.c (retrieve_url): Don't leak local_file. |
| 5731 |
|
| 5732 |
2015-08-29 Darshit Shah <[email protected]> |
| 5733 |
|
| 5734 |
Fix memory leaks in unit-test |
| 5735 |
* hsts.c (get_hsts_store_filename): Free the homedir value |
| 5736 |
(close_hsts_test_store): Actually free the store struct too |
| 5737 |
(test_hsts_new_entry): Pass store to close_hsts_test_store() |
| 5738 |
(test_hsts_url_rewrite_superdomain): Same |
| 5739 |
(test_hsts_url_rewrite_congruent): Same |
| 5740 |
(test_hsts_read_database): Same and homedir and store filename |
| 5741 |
* http.c (test_parse_content_disposition): Free the returned |
| 5742 |
filename |
| 5743 |
* url.c (test_append_uri_pathel): Free allocated string |
| 5744 |
|
| 5745 |
Fix mixed-indentation in http.c |
| 5746 |
* http.c: Fix mix indentation. Visual change only. |
| 5747 |
|
| 5748 |
2015-08-27 Tim Rühsen <[email protected]> |
| 5749 |
|
| 5750 |
Suppress debug output when strings may contain password |
| 5751 |
* iri.c (do_conversion): Do not print out converted strings if they |
| 5752 |
contain an '@'. That could be an URL with embedded password. |
| 5753 |
|
| 5754 |
Fixes #45825 |
| 5755 |
|
| 5756 |
2015-08-26 Ander Juaristi <[email protected]> |
| 5757 |
|
| 5758 |
Fix resource leak. |
| 5759 |
* src/http.c (parse_strict_transport_security): Freed memory to avoid resource leak. |
| 5760 |
Comply with GNU coding style. |
| 5761 |
|
| 5762 |
2015-08-22 Tim Rühsen <[email protected]> |
| 5763 |
|
| 5764 |
Fix typo in NEWS |
| 5765 |
* NEWS: Change typo --accept-reject into --accept-regex |
| 5766 |
|
| 5767 |
Reported-by: grarpamp <[email protected]> |
| 5768 |
|
| 5769 |
2015-08-21 Jookia <[email protected]> |
| 5770 |
|
| 5771 |
Clarify that links are being converted. |
| 5772 |
* src/convert.c: Add 'links in' after 'Converted %d' and 'Converting %s'. |
| 5773 |
|
| 5774 |
Removed useless TODOs. |
| 5775 |
* testenv/Test--reject-log.py: Remove TODOs. |
| 5776 |
|
| 5777 |
2015-08-15 Miquel Llobet <[email protected]> |
| 5778 |
|
| 5779 |
Fixed #44516 -o- not logging to stdout |
| 5780 |
src/log.c (log_init): check for hypen on filename, set stdout |
| 5781 |
|
| 5782 |
2015-08-15 Daniele Calore <[email protected]> |
| 5783 |
|
| 5784 |
Fix #40426: Allow -r -O- only if FILE is regular |
| 5785 |
* main.c: added check of "-r -O FILE" option combination |
| 5786 |
allow only if FILE is a regular file (bug #40426) |
| 5787 |
|
| 5788 |
2015-08-15 Darshit Shah <[email protected]> |
| 5789 |
|
| 5790 |
Fix var name conflicts with math.h and wingdi.h |
| 5791 |
* src/recur.c (reject_reason): Rename all enum members to WG_RR_xx. |
| 5792 |
* src/recur.c (retrieve_tree, download_child, |
| 5793 |
write_reject_log_reason): Same |
| 5794 |
|
| 5795 |
2015-08-14 Tim Rühsen <[email protected]> |
| 5796 |
|
| 5797 |
Let bootstrap/autoreconf work without GPGME installed |
| 5798 |
* configure.ac: Check for existance of AM_PATH_GPGME |
| 5799 |
|
| 5800 |
2015-08-11 Tim Rühsen <[email protected]> |
| 5801 |
|
| 5802 |
Fix IP address exposure in FTP code |
| 5803 |
* src/ftp.c (getftp): Do not use PORT when PASV fails. |
| 5804 |
* tests/FTPServer.px: Add pasv_not_supported server flag. |
| 5805 |
* tests/Makefile.am: Add Test-ftp-pasv-not-supported.px |
| 5806 |
* tests/Test-ftp-pasv-not-supported.px: New test |
| 5807 |
|
| 5808 |
Fix IP address exposure when automatically falling back from |
| 5809 |
passive mode to active mode (using the PORT command). A behavior that |
| 5810 |
may be used to expose a client's privacy even when using a proxy. |
| 5811 |
|
| 5812 |
2015-08-07 Tim Rühsen <[email protected]> |
| 5813 |
|
| 5814 |
Fix C89 compliancy in HSTS test code |
| 5815 |
* src/hsts.c (test_hsts_new_entry): |
| 5816 |
Move variable assignment before code |
| 5817 |
|
| 5818 |
Fix C89 compliancy in latest code |
| 5819 |
* src/recur.c: Declare variables before code |
| 5820 |
(write_reject_log_url): |
| 5821 |
Use const keyword where appropriate |
| 5822 |
Use the 'default' switch statement |
| 5823 |
Use xfree() instead of free() |
| 5824 |
Renamed variable f -> fp |
| 5825 |
(write_reject_log_reason): |
| 5826 |
Use const keyword where appropriate |
| 5827 |
Use the 'default' switch statement |
| 5828 |
Renamed variable f -> fp |
| 5829 |
Renamed variable r -> reason |
| 5830 |
|
| 5831 |
2015-08-07 Tim Rühsen <[email protected]> |
| 5832 |
|
| 5833 |
Remove redundant definition of _GNU_SOURCE |
| 5834 |
* src/warc.c: Remove definition of _GNU_SOURCE |
| 5835 |
|
| 5836 |
_GNU_SOURCE is already defined in config.h |
| 5837 |
|
| 5838 |
2015-08-07 Giuseppe Scrivano <[email protected]> |
| 5839 |
|
| 5840 |
NEWS: update |
| 5841 |
|
| 5842 |
2015-08-07 Jookia <[email protected]> |
| 5843 |
|
| 5844 |
Rewrite the --rejected-log test using the new framework. |
| 5845 |
* tests/Test--rejected-log.px: Remove old test. |
| 5846 |
* testenv/Test--rejected-log.py: Create new test. |
| 5847 |
|
| 5848 |
Replace variables before comparing expected files. |
| 5849 |
* expected_files.py: Use formatted_content instead of file.content. |
| 5850 |
|
| 5851 |
2015-08-06 Jookia <[email protected]> |
| 5852 |
|
| 5853 |
Add option to write URL rejections to a tab-delimited CSV log. |
| 5854 |
* main.c: Add "--rejected-log" option. |
| 5855 |
* init.c: Add "rejectedlog" command. |
| 5856 |
* options.h: Add "rejected_log" parameter string. |
| 5857 |
* wget.texi: Add brief documentation on new --rejected-log option. |
| 5858 |
* recur.c: Optionally log details of URLs not traversed. |
| 5859 |
Add reject_reason enum. |
| 5860 |
(download_child_p -> download_child): Return a reject_reason. |
| 5861 |
(descend_redirect_p -> descend_redirect): Return a reject_reason. |
| 5862 |
(retrieve_tree): Support logging reasons for rejection. |
| 5863 |
Add write_reject_log_header that writes a CSV format header to a file. |
| 5864 |
Add write_reject_log_url that writes a url struct to a file in CSV format. |
| 5865 |
Add write_reject_log_reason that writes the URL and parent URL as well as the |
| 5866 |
rejection reason to a CSV file. |
| 5867 |
* Test--rejected-log.px: Add a basic test for the --rejected-log command. |
| 5868 |
* tests/Makefile.am: Run Test--rejected-log.px. |
| 5869 |
|
| 5870 |
This allows you to figure out why URLs are being rejected and some context |
| 5871 |
around it. CSV is used as the output format since it can be used easily parsed, |
| 5872 |
it's delimited by tabs instead of commas to allow using all (quoted) URL |
| 5873 |
characters and includes column names which may be used for compatibility. |
| 5874 |
|
| 5875 |
2015-08-04 Tim Rühsen <[email protected]> |
| 5876 |
|
| 5877 |
Fix memory leak in HSTS code |
| 5878 |
* src/main.c (get_hsts_database): Free 'home' variable |
| 5879 |
|
| 5880 |
void uninitialized variable in metalink code |
| 5881 |
* src/metalink.c: Init retr_err with METALINK_MISSING_RESOURCE |
| 5882 |
* src/wget.h: Add enum METALINK_MISSING_RESOURCE |
| 5883 |
|
| 5884 |
2015-07-24 Darshit Shah <[email protected]> |
| 5885 |
|
| 5886 |
Fix function name collision with OpenSSL library |
| 5887 |
* src/utils.[ch], src/http.c, src/metalink.c: Rename function |
| 5888 |
hex_to_string() to wg_hex_to_string sine it collides with a |
| 5889 |
similarly named function in OpenSSL Library. |
| 5890 |
|
| 5891 |
Fix configure options for metalink |
| 5892 |
* configure.ac: Ensure metalink support can be properly disabled |
| 5893 |
|
| 5894 |
2015-07-22 Alex Henrie <[email protected]> |
| 5895 |
|
| 5896 |
Make the filename marquee a proper marquee |
| 5897 |
* src/progress.c: Start the marquee in the middle of the available space |
| 5898 |
and do not restart it until all of the text has scrolled out of view. |
| 5899 |
|
| 5900 |
2015-07-20 Giuseppe Scrivano <[email protected]> |
| 5901 |
|
| 5902 |
NEWS: cite HSTS |
| 5903 |
|
| 5904 |
Fix metalink tests |
| 5905 |
testenv/Test-metalink-http.py: initialize HTTP test server |
| 5906 |
testenv/Test-metalink-xml.py: initialize HTTP test server |
| 5907 |
|
| 5908 |
2015-07-20 Ander Juaristi <[email protected]> |
| 5909 |
|
| 5910 |
Enhancements in testsuite engine + new HSTS test. |
| 5911 |
* testenv/Makefile.am: added new test 'Test-hsts.py'. |
| 5912 |
* testenv/Test-hsts.py: new test for HSTS. |
| 5913 |
* testenv/conf/domains.py: new hook to override domain list. |
| 5914 |
* testenv/test/base_test.py: (__init__): new optional parameter |
| 5915 |
for tests 'req_protocols'. |
| 5916 |
(get_domain_addr): set the instance variables 'addr' and 'port'. |
| 5917 |
Return address as an array (domain, port) instead of string. |
| 5918 |
(gen_cmd_line): take into account domain and port. |
| 5919 |
* testenv/test/http_test.py (__init__): new optional parameter |
| 5920 |
'req_protocols'. |
| 5921 |
(setup): new function. Call to server_setup() decoupled from |
| 5922 |
begin() and moved here. |
| 5923 |
(begin): call to superclass to maintain backward compatibility. |
| 5924 |
Removed call to server_setup(). |
| 5925 |
|
| 5926 |
This patch adds a new parameter to the test suite called 'req_protocols', |
| 5927 |
and a new function called 'setup'. The ability for tests to be able to set some |
| 5928 |
extra parameters such as the actual requested protocols (with 'req_protocols') |
| 5929 |
became obvious when support for HSTS was added to Wget, where the requested URI |
| 5930 |
and the actual executed URI do not have to be the same. This new parameter is optional |
| 5931 |
and if not specified, the test suite behaves as before. Also, the new function 'setup' |
| 5932 |
is provided as a means to start the test HTTP server, but not launch the test yet |
| 5933 |
(this is done when calling 'begin', as usual), in case we want to query the address |
| 5934 |
and port in which the test server listens. If 'setup' is not called, it is automatically |
| 5935 |
invoked when calling 'begin'. With these measures, we preserve backward-compatibility with |
| 5936 |
existing tests. |
| 5937 |
|
| 5938 |
2015-07-20 Ander Juaristi <[email protected]> |
| 5939 |
|
| 5940 |
Added support for HSTS. |
| 5941 |
* Makefile.am: Added new source files hsts.c and hsts.h. |
| 5942 |
* http.c (parse_strict_transport_security): new function for STS header |
| 5943 |
parsing. |
| 5944 |
(gethttp): update the HSTS store. |
| 5945 |
* http.h: new include "hsts.h". |
| 5946 |
* init.c: new options --hsts and --hsts-file. |
| 5947 |
* main.c (get_hsts_database, load_hsts, save_hsts): new functions. |
| 5948 |
New options --no-hsts and --hsts-file added to help. |
| 5949 |
(main): load and save HSTS store. |
| 5950 |
* options.h: new variables for supporting --hsts and --hsts-file. |
| 5951 |
* retr.c (retrieve_url): rewrite the URI according to the HSTS policy before |
| 5952 |
entering http_loop. |
| 5953 |
* test.c, test.h: new unit tests for HSTS. |
| 5954 |
* utils.c, utils.h (countchars): new function. |
| 5955 |
* wget.h: new preprocessor check. |
| 5956 |
* hsts.c, hsts.h: new files with the HSTS engine implementation. |
| 5957 |
|
| 5958 |
Added support for HTTP Strict Transport Security (HSTS), as defined by RFC |
| 5959 |
6797. |
| 5960 |
|
| 5961 |
2015-07-20 Giuseppe Scrivano <[email protected]> |
| 5962 |
|
| 5963 |
NEWS: cite metalink support |
| 5964 |
|
| 5965 |
fix compiler warnings |
| 5966 |
* src/utils.h: Include <stdlib.h> |
| 5967 |
* src/recur.c: Include "exits.h" |
| 5968 |
|
| 5969 |
2015-07-20 Hubert Tarasiuk <[email protected]> |
| 5970 |
|
| 5971 |
Test preferred location in Metalink-over-HTTP test case. |
| 5972 |
* testenv/Test-metalink-http.py: Ensure preferred location is handled |
| 5973 |
properly. |
| 5974 |
|
| 5975 |
Geolocation support for Metalink resources. |
| 5976 |
* doc/wget.text: Add information about --preferred-location. |
| 5977 |
* src/init.c: Add --preferred-location option. |
| 5978 |
* src/main.c (option_data): Handle --preferred-location argument. |
| 5979 |
(main): Sort resources based on location if requested. |
| 5980 |
* src/metalink.c (metalink_res_cmp): Compare based on location if |
| 5981 |
priority and preference are equal. |
| 5982 |
* src/options.h (options): Add preferred_location option. |
| 5983 |
|
| 5984 |
Support at most one file signature. Adapt comments to libmetalink 0.13. |
| 5985 |
* src/metalink.c (retrieve_from_metalink): Add comment about new |
| 5986 |
libmetalink version. Do not iterate over signatures - support just one. |
| 5987 |
|
| 5988 |
Move some Metalink-related code from http.c to metalink.c. |
| 5989 |
* src/http.c: Move find_key_value, has_key, find_key_values. |
| 5990 |
* src/metalink.c: To here. |
| 5991 |
* src/metalink.h: Make them non-static and add prototypes here. |
| 5992 |
|
| 5993 |
Unit test for find_key_values. |
| 5994 |
* src/http.c: Add test_find_key_values. |
| 5995 |
* src/test.c (main): Run new test. |
| 5996 |
* src/test.h: Add test_find_key_values. |
| 5997 |
|
| 5998 |
Unit test for has_key. |
| 5999 |
* src/http.c: Add test_has_key. |
| 6000 |
* src/test.c (main): Run new test. |
| 6001 |
* src/test.h: Add test_has_key. |
| 6002 |
|
| 6003 |
Unit test for find_key_value. |
| 6004 |
* src/http.c: Add test_find_key_value. |
| 6005 |
* src/test.c (main): Run new test. |
| 6006 |
* src/test.h: Add test_find_key_value. |
| 6007 |
|
| 6008 |
Test case for Metalink over HTTP. |
| 6009 |
* testenv/Test-metalink-http.py: New test. |
| 6010 |
* testenv/Makefile.am: Add to test list. |
| 6011 |
|
| 6012 |
Support multiple headers with same name in Python test suite. |
| 6013 |
* testenv/README: Describe how to use repeated header name. |
| 6014 |
* testenv/server/http/http_server.py (finish_headers): Send all |
| 6015 |
values from list if the header value is a Python list. |
| 6016 |
|
| 6017 |
Test case for Metalink in XML. |
| 6018 |
* testenv/Test-metalink-xml.py: New test. |
| 6019 |
* testenv/Makefile.am: Add file for automake. |
| 6020 |
|
| 6021 |
Start HTTP test only when calling begin(). |
| 6022 |
* testenv/test/http_test.py: Move self.do_test() from __init__ to |
| 6023 |
begin(). |
| 6024 |
|
| 6025 |
Metalink support. |
| 6026 |
* bootstrap.conf: Add crypto/sha256 |
| 6027 |
* configure.ac: Look for libmetalink and GPGME |
| 6028 |
* doc/wget.texi: Add --input-metalink and --metalink-over-http |
| 6029 |
options description. |
| 6030 |
* po/POTFILES.in: Add metalink.c |
| 6031 |
* src/Makefile.am: Add new translation unit (metalink.c) |
| 6032 |
* src/http.c (http_stat): Add metalink field. |
| 6033 |
(free_stat): Free metalink field. |
| 6034 |
(find_key_value): Find value of given key in header string. |
| 6035 |
(has_key): Check if token exists in header string. |
| 6036 |
(find_key_values): Find all key=value pairs in header string. |
| 6037 |
(metalink_from_http): Obtain Metalink metadata from HTTP response. |
| 6038 |
(gethttp): Call metalink_from_http if requested. |
| 6039 |
(http_loop): Request Metalink metadata from HTTP response if should be. |
| 6040 |
Fall back to regular download if no Metalink metadata found. |
| 6041 |
* src/init.c: Add --input-metalink and --metalink-over-http options |
| 6042 |
* src/main.c (option_data): Handle --input-metalink and |
| 6043 |
--metalink-over-http cmd arguments. |
| 6044 |
(print_help): Print --input-metalink option description. |
| 6045 |
(main): Retrieve files from Metalink file |
| 6046 |
* src/metalink.c (retrieve_from_metalink): Download files described by |
| 6047 |
metalink. |
| 6048 |
(metalink_res_cmp): Comparator for resources priority-sorting. |
| 6049 |
* src/metalink.h: Create header for metalink.c |
| 6050 |
(RES_TYPE_SUPPORTED): Define supported resources media. |
| 6051 |
(DEFAULT_PRI): Default mirror priority for Metalink over HTTP. |
| 6052 |
(VALID_PRI_RANGE): Valid priority range. |
| 6053 |
* src/options.h (options): Add input_metalink option and metalink_over_http |
| 6054 |
options. |
| 6055 |
* src/utils.c (hex_to_string): Convert binary data to ASCII-hex. |
| 6056 |
* src/utils.h (hex_to_string): Add prototype. |
| 6057 |
* src/wget.h: Add metalink-related error enums |
| 6058 |
Add METALINK_METADATA flag for document type. |
| 6059 |
|
| 6060 |
2015-07-15 Romain Bentz <[email protected]> |
| 6061 |
|
| 6062 |
Add NULL value check to fix #45289 |
| 6063 |
* src/recur.c (retrieve_tree): Check return value of url_parse() |
| 6064 |
|
| 6065 |
2015-07-14 Tim Rühsen <[email protected]> |
| 6066 |
|
| 6067 |
Let HTTPS tests XFAIL when no TLS support configured |
| 6068 |
* configure.ac: Export WITH_SSL for use in Makefile.am |
| 6069 |
* testenv/Makefile.am: Add HTTPS tests to XFAIL_TESTS when !WITH_SSL |
| 6070 |
|
| 6071 |
Reported-by: Ander Juaristi <[email protected]> |
| 6072 |
|
| 6073 |
2015-07-01 Tim Rühsen <[email protected]> |
| 6074 |
|
| 6075 |
Change function params to const in src/iri.[ch] |
| 6076 |
* iri.h, iri.c: Added const attribute for params of parse_charsset(), |
| 6077 |
check_encoding_name(), idn_encode(), idn_decode(), |
| 6078 |
remote_to_utf8(), set_uri_encoding(), set_content_encoding(). |
| 6079 |
|
| 6080 |
Work around a libidn <= 1.30 vulnerability |
| 6081 |
* src/iri.c: Add _utf8_is_valid() to check UTF-8 sequences before |
| 6082 |
passing them to idna_to_ascii_8z(). |
| 6083 |
|
| 6084 |
2015-06-27 Ángel González <[email protected]> |
| 6085 |
|
| 6086 |
Fix wgetrc filename creation for Windows |
| 6087 |
* init.c/wgetrc_file_name: Remove obsolete code in WINDOWS code path |
| 6088 |
|
| 6089 |
Reported-by: Gisle Vanem <[email protected]> |
| 6090 |
|
| 6091 |
2015-06-16 Darshit Shah <[email protected]> |
| 6092 |
|
| 6093 |
Add valgrind suppression files for HTTPS tests |
| 6094 |
* testenv/test/base_test.py: Use Valgrind SSL suppressions file for |
| 6095 |
tests |
| 6096 |
* testenv/valgrind-suppression-ssl, tests/valgrind-suppression-ssl: |
| 6097 |
Add new suppression files to suppress OpenSSL errors in valgrind |
| 6098 |
* tests/test-proxied-https-auth.px: Use the valgrind SSL |
| 6099 |
suppressions file for the test |
| 6100 |
* tests/test-proxied-https-auth-keepalive.px: Same |
| 6101 |
|
| 6102 |
2015-06-14 Darshit Shah <[email protected]> |
| 6103 |
|
| 6104 |
contrib/check-hard: Indentation and spacing cleanup |
| 6105 |
* contrib/check-hard: Reduce the amount of text output to the |
| 6106 |
screen. Also implement some indentation and whitespace cleanups. |
| 6107 |
|
| 6108 |
2015-06-14 Tim Rühsen <[email protected]> |
| 6109 |
|
| 6110 |
Fix usage of CFLAGS in contrib/check-hard |
| 6111 |
* contrib/check-hard: Set CFLAGS per command line instead of using export. |
| 6112 |
|
| 6113 |
'make distcheck' changes CFLAGS. So using ./configure -C together with |
| 6114 |
exported CFLAGS fails. Setting CFLAGS per command line works smoothly. |
| 6115 |
|
| 6116 |
2015-06-13 Tim Rühsen <[email protected]> |
| 6117 |
|
| 6118 |
Move test_* function protoypes from test.c to test.h |
| 6119 |
* src/test.c: Remove test_* function prototypes, make tests_run static |
| 6120 |
* src/test.h: Add test_* function protoypes |
| 6121 |
|
| 6122 |
2015-05-23 Giuseppe Scrivano <[email protected]> |
| 6123 |
|
| 6124 |
NEWS: cite --if-modified-since |
| 6125 |
|
| 6126 |
gnulib: update gnulib |
| 6127 |
|
| 6128 |
2015-05-22 Hubert Tarasiuk <[email protected]> |
| 6129 |
|
| 6130 |
Include --if-modified-since option in user manual. |
| 6131 |
* doc/wget.texi: Add --if-modified-since section. |
| 6132 |
|
| 6133 |
Support If-Modified-Since header in timestamping mode. |
| 6134 |
* src/wget.h: Add IF_MODIFIED_SINCE enum for dt. Add TIMECONV_ERR |
| 6135 |
enum to uerr_t. |
| 6136 |
* src/http.c (time_to_rfc1123): Convert time_t do http time. |
| 6137 |
* src/http.c (initialize_request): Include If-Modified-Since header |
| 6138 |
if appropriate. |
| 6139 |
* src/http.c (set_file_timestamp): Separate this code from check_file_output. |
| 6140 |
* src/http.c (check_file_output): Use set_file_timestamp. |
| 6141 |
* src/http.c (gethttp): Handle properly 304 return code and 200 if server |
| 6142 |
ignores If-Modified-Since headers. |
| 6143 |
* src/http.c (http_loop): Load filename to hstat if condget was requested, |
| 6144 |
use IF_MODIFIED_SINCE if requested and current timestamp can be obtained. |
| 6145 |
|
| 6146 |
Add --if-modified-since option |
| 6147 |
* src/init.c: Add to commands array. |
| 6148 |
* src/main.c: Add to cmdline_option. Add to help message. |
| 6149 |
* src/options.h: Add to options struct. |
| 6150 |
|
| 6151 |
Add test for condget requests. |
| 6152 |
* testenv/Test-condget.py: the test |
| 6153 |
* testenv/Makefile.am: add to tests list |
| 6154 |
|
| 6155 |
Support conditional GET in testenv server. |
| 6156 |
* src/exc/server_error.py: Add exception for GET to HEAD fallback. |
| 6157 |
* src/server/http/http_server.py: Do not send body if 304 return |
| 6158 |
code requested for a file. |
| 6159 |
|
| 6160 |
Implement timestamp support for local files in testenv |
| 6161 |
* testenv/README: Change timestamp format definition |
| 6162 |
* testenv/conf/local_files.py: Set proper timestamps |
| 6163 |
|
| 6164 |
2015-05-20 Pär Karlsson <[email protected]> |
| 6165 |
|
| 6166 |
Fix undeclared loop variable in Perl test suite |
| 6167 |
Reported-by: Hubert Tarasiuk <[email protected]> |
| 6168 |
|
| 6169 |
2015-05-12 Ander Juaristi <[email protected]> |
| 6170 |
|
| 6171 |
Make sure Wget does not unescape reserved chars. |
| 6172 |
* testenv/Test-reserved-chars.py: New file. |
| 6173 |
|
| 6174 |
* testenv/Makefile.am: Added new test Test-reserved-chars.py. |
| 6175 |
|
| 6176 |
When following redirections, Wget should not unescape the reserved |
| 6177 |
characters that might appear in target URLs. |
| 6178 |
|
| 6179 |
2015-05-12 Ander Juaristi <[email protected]> |
| 6180 |
|
| 6181 |
Fixed incorrect handling of reserved chars. |
| 6182 |
* src/iri.c (do_conversion): Call url_unescape_except_reserved, |
| 6183 |
instead of url_unescape. |
| 6184 |
|
| 6185 |
* src/url.c (url_unescape_1): New static function. |
| 6186 |
(url_unescape): Calls url_unescape_1 with mask zero. Preserves |
| 6187 |
same behavior as before. Only code changes. |
| 6188 |
(url_unescape_except_reserved): New function. |
| 6189 |
|
| 6190 |
* src/url.h: Added prototype for url_unescape_except_reserved(). |
| 6191 |
|
| 6192 |
When the locale is US-ASCII, URIs that contain special characters |
| 6193 |
in them are converted to IRIs according to RFC 3987, section 3.2 |
| 6194 |
"Converting URIs to IRIs". |
| 6195 |
|
| 6196 |
2015-05-07 Darshit Shah <[email protected]> |
| 6197 |
|
| 6198 |
Fix documentation for update_speed_ring() |
| 6199 |
* progress.c (update_speed_ring): The comment for the function |
| 6200 |
incorrectly stated that the function uses thirty samples from the |
| 6201 |
past instead of twenty. |
| 6202 |
|
| 6203 |
Reported-By: Yi Li <[email protected]> |
| 6204 |
|
| 6205 |
2015-05-04 Darshit Shah <[email protected]> |
| 6206 |
|
| 6207 |
Remove shadowed variable in http.c |
| 6208 |
* http.c (gethttp): Rename err to conn_err to prevent shadowed |
| 6209 |
variable |
| 6210 |
|
| 6211 |
2015-05-04 Steven Schubiger <[email protected]> |
| 6212 |
|
| 6213 |
paramcheck: use explicit quoting for here-docs |
| 6214 |
* util/paramcheck.pl: Adjust here-docs |
| 6215 |
|
| 6216 |
2015-05-03 Tim Ruehsen <[email protected]> |
| 6217 |
|
| 6218 |
Fix format specifier warning |
| 6219 |
* src/utils.c (aprintf): Use %d for int argument |
| 6220 |
|
| 6221 |
2015-05-01 Nikolay Merinov <[email protected]> |
| 6222 |
|
| 6223 |
Fix timestamping and continue behaviour with ftp protocol. |
| 6224 |
* src/ftp.c (ftp_loop_internal): Add option `force_full_retrieve' that force to |
| 6225 |
retrieve full file. |
| 6226 |
(ftp_retrieve_list): Pass `true' as `force_full_retrieve' option to |
| 6227 |
`ftp_loop_internal' if we want to download file with newer timestamp than local |
| 6228 |
copy. |
| 6229 |
|
| 6230 |
2015-04-27 Rohit Mathulla <[email protected]> |
| 6231 |
|
| 6232 |
openssl: Read cert from private key file when needed |
| 6233 |
* src/openssl.c (ssl_init): Assign opt.cert_{file, type} |
| 6234 |
from opt.private_key(_type) |
| 6235 |
|
| 6236 |
Fix double free bug in SSL code |
| 6237 |
* src/openssl.c, src/gnutls.c (ssl_init): Copy options using xstrdup |
| 6238 |
|
| 6239 |
2015-04-20 Hubert Tarasiuk <[email protected]> |
| 6240 |
|
| 6241 |
Single exit point and common cleanup code in gethttp |
| 6242 |
* src/http.c (gethttp): Common cleanup for type, message, |
| 6243 |
req, resp, head. Single exit point. |
| 6244 |
|
| 6245 |
2015-04-17 Tim Rühsen <[email protected]> |
| 6246 |
|
| 6247 |
Silence warning in perl test suite |
| 6248 |
* tests/WgetTests.pm: Use string comparisons for $valgrind variable |
| 6249 |
|
| 6250 |
2015-04-17 Tim Rühsen <[email protected]> |
| 6251 |
|
| 6252 |
Check memory allocations in WARC code |
| 6253 |
* src/warc.c: Remove some memory allocations, |
| 6254 |
use xmalloc instead of malloc |
| 6255 |
|
| 6256 |
Reported-by: Bill Parker <[email protected]> |
| 6257 |
|
| 6258 |
2015-04-17 Tim Rühsen <[email protected]> |
| 6259 |
|
| 6260 |
Add more const usage to function params |
| 6261 |
* warc.c, warc.h: Add const specifier to several function args |
| 6262 |
|
| 6263 |
2015-04-14 Darshit Shah <[email protected]> |
| 6264 |
|
| 6265 |
PEP8'ify the Python Test Suite |
| 6266 |
* testenv/conf/{__init__,authentication,files_crawled, |
| 6267 |
hook_sample,reject_header,server_files}.py: Aesthetic changes to |
| 6268 |
meet Python PEP8 guidelines |
| 6269 |
* testenv/exc/{server_error,test_failed}.py: Same |
| 6270 |
* testenv/misc/{colour_terminal,wget_file}.py: Same |
| 6271 |
* testenv/server/http/http_server.py: Same |
| 6272 |
* testenv/test/base_test.py: Same |
| 6273 |
|
| 6274 |
2015-04-13 Ander Juaristi <[email protected]> |
| 6275 |
|
| 6276 |
Improved test suite documentation |
| 6277 |
* README.checkout: Added reference to Python. New section |
| 6278 |
"Testing and development". Updated information about test suites. |
| 6279 |
|
| 6280 |
Added support for GDB in Python tests |
| 6281 |
* base_test.py (gen_cmd_line): Check GDB_TESTS environment variable. |
| 6282 |
|
| 6283 |
2015-04-13 Tim Ruehsen <[email protected]> |
| 6284 |
|
| 6285 |
Added GDB support to Perl tests |
| 6286 |
* WgetTests.pm (run): Check GDB_TESTS environment variable. |
| 6287 |
|
| 6288 |
2015-04-11 Hubert Tarasiuk <[email protected]> |
| 6289 |
|
| 6290 |
Add Valgrind suppression for libidn.so at idna_to_ascii_4z |
| 6291 |
* tests/WgetTests.pm (run): Include suppression file when running Valgrind. |
| 6292 |
* tests/valgrind-suppressions: Add suppression for idn_to_ascii_4z. |
| 6293 |
* tests/Makefile.am: Add valgrind-suppressions to EXTRA_DIST. |
| 6294 |
|
| 6295 |
2015-04-11 Ángel González <[email protected]> |
| 6296 |
|
| 6297 |
Remove memory leak in idn_encode. |
| 6298 |
* src/iri.c (idn_encode): Free buffer from remote_to_utf8 |
| 6299 |
when needed; give meaningful names to variables; |
| 6300 |
remove excessive comment. |
| 6301 |
|
| 6302 |
2015-04-10 Hubert Tarasiuk <[email protected]> |
| 6303 |
|
| 6304 |
Fix error in free_vec. |
| 6305 |
* src/utils.c (free_vec): Increment pointer instead of its value. |
| 6306 |
|
| 6307 |
Reported-by: Gisle Vanem <[email protected]> |
| 6308 |
|
| 6309 |
2015-04-10 Ángel González <[email protected]> |
| 6310 |
|
| 6311 |
Fix const usage in iri.c |
| 6312 |
* src/iri.c (remote_to_utf8): Do not qualify with const the output pointer. |
| 6313 |
(do_conversion): Use the provided input parameter as const. |
| 6314 |
(idn_encode): casts to remote_to_utf8 parameters are no longer needed. |
| 6315 |
* src/iri.h: Adjusted remote_to_utf8 prototype. |
| 6316 |
* src/url.c: It is no longer necessary to cast new_url to const char. |
| 6317 |
|
| 6318 |
2015-04-06 Miquel Llobet <[email protected]> |
| 6319 |
|
| 6320 |
Fixed #44628 honoring RFC 6266 content-disposition |
| 6321 |
src/http.c (parse_content_disposition): stores filename* and filename |
| 6322 |
separately and choses filename* if available. |
| 6323 |
(test_parse_content_disposition): added new tests. |
| 6324 |
|
| 6325 |
2015-04-02 Giuseppe Scrivano <[email protected]> |
| 6326 |
|
| 6327 |
NEWS: cite last change |
| 6328 |
|
| 6329 |
2015-04-02 Steven M. Schweda <[email protected]> |
| 6330 |
|
| 6331 |
Add option to restrict filenames used VMS. |
| 6332 |
* src/options.h (enum restrict_files_os): Define "restrict_vms". |
| 6333 |
* src/init.c (defaults) [__VMS]: Set "opt.restrict_files_os" to |
| 6334 |
"restrict_vms". |
| 6335 |
(cmd_spec_restrict_file_names): honor "vms". |
| 6336 |
* src/url.c (filechr_not_unix): Define "filechr_not_vms". |
| 6337 |
(filechr_table): Update for VMS. |
| 6338 |
(append_uri_pathel): Honor opt.restrict_files_os. |
| 6339 |
(FN_QUERY_SEP): Update for VMS. |
| 6340 |
(FN_QUERY_SEP_STR): Update for VMS. |
| 6341 |
|
| 6342 |
2015-04-01 Hubert Tarasiuk <[email protected]> |
| 6343 |
|
| 6344 |
Change semantics of resp_free and request_free in http.c |
| 6345 |
* src/http.c (resp_free): Change the semantics of this function. |
| 6346 |
(request_free): Change the semantics of this function. |
| 6347 |
(initialize_request): Adjust request_free call. |
| 6348 |
(establish_connection): Adjust request_free, resp_free calls. |
| 6349 |
(gethttp): Adjust request_free, resp_free calls. |
| 6350 |
|
| 6351 |
Do not free request in establish_connection; do it in gethttp |
| 6352 |
* src/http.c (establish_connection): Do not free request here (it is |
| 6353 |
* never allocated here). |
| 6354 |
* src/http.c (gethttp): Free request before returning if error in |
| 6355 |
* establish_connection encountered. |
| 6356 |
|
| 6357 |
Transform read_header label and goto into a loop |
| 6358 |
* src/http.c (gethttp): Replace label and goto statement with a do |
| 6359 |
loop. |
| 6360 |
|
| 6361 |
2015-03-31 Hubert Tarasiuk <[email protected]> |
| 6362 |
|
| 6363 |
Factor out set_content_type function from gethttp |
| 6364 |
* src/http.c (gethttp): Move some code in... |
| 6365 |
(set_content_type): ... a new function. |
| 6366 |
|
| 6367 |
2015-03-18 Giuseppe Scrivano <[email protected]> |
| 6368 |
|
| 6369 |
Factor out some gethttp code |
| 6370 |
* src/http.c (gethttp): Move some code in... |
| 6371 |
(open_output_stream): ... a new function. |
| 6372 |
|
| 6373 |
Factor out some auth gethttp code |
| 6374 |
* src/http.c (gethttp): Move some code in... |
| 6375 |
(check_auth): ... a new function. |
| 6376 |
|
| 6377 |
Factor out some gethttp code |
| 6378 |
* src/http.c (gethttp): Move some code in... |
| 6379 |
(check_file_output): ... a new function. |
| 6380 |
|
| 6381 |
Factor out some connection initialization code for gethttp |
| 6382 |
* src/http.c (gethttp): Move some initialization code in... |
| 6383 |
(establish_connection): ... a new function. |
| 6384 |
|
| 6385 |
Factor out some proxy initialization code for gethttp |
| 6386 |
* src/http.c (gethttp): Move some initialization code in... |
| 6387 |
(initialize_proxy_configuration): ... a new function. |
| 6388 |
|
| 6389 |
Factor out some initialization code for gethttp |
| 6390 |
* src/http.c (gethttp): Move some initialization code in... |
| 6391 |
(initialize_request): ... a new function. |
| 6392 |
|
| 6393 |
2015-03-18 Tim Ruehsen <[email protected]> |
| 6394 |
|
| 6395 |
src/ftp.c: make sure warc_tmp becomes closed before return |
| 6396 |
Reported-by: Coverity bug #1188044 |
| 6397 |
|
| 6398 |
src/http.c: fix error return of digest_authentication_encode() |
| 6399 |
Reported-by: Coverity bug #1188036 |
| 6400 |
|
| 6401 |
2015-03-17 Rohan Prinja <[email protected]> |
| 6402 |
|
| 6403 |
Convert wget.texi to UTF-8 |
| 6404 |
* doc/wget.texi: convert to UTF-8 by adding @documentencoding |
| 6405 |
* doc/Makefile.am: Pass argument --utf8 to pod2man. |
| 6406 |
|
| 6407 |
2015-03-16 Ander Juaristi Alamos <[email protected]> |
| 6408 |
|
| 6409 |
* doc/wget.texi: The default is GnuTLS, not OpenSSL. |
| 6410 |
|
| 6411 |
2015-03-16 Darshit Shah <[email protected]> |
| 6412 |
|
| 6413 |
testenv/http_server: Allow overriding Headers |
| 6414 |
We would like to override existing headers in the response from the |
| 6415 |
server to allow the test cases to define their own headers. This patch |
| 6416 |
allows this behaviour through the use of the add_header() method while |
| 6417 |
also allowing sending multiple headers of the same name. |
| 6418 |
|
| 6419 |
2015-03-14 Darshit Shah <[email protected]> |
| 6420 |
|
| 6421 |
retr.c: Fix memory leak in retrieve_from_file() |
| 6422 |
Reported by: Coverity Bug 1188045 |
| 6423 |
|
| 6424 |
html-url.c: Fix potential memory leaks |
| 6425 |
Reported by: Coverity Bug 1188050 |
| 6426 |
|
| 6427 |
main.c: Fix two potential memory leaks |
| 6428 |
Reported by: Coverity bug 1188048 |
| 6429 |
|
| 6430 |
retr.c: Fix two memory leaks when proxy URL is bad |
| 6431 |
Reported by: Coverity bug 1188047 |
| 6432 |
|
| 6433 |
2015-03-13 Darshit Shah <[email protected]> |
| 6434 |
|
| 6435 |
Docs: --post-file is binary data |
| 6436 |
Wget considers the file mentioned in the --post-file argument as a |
| 6437 |
binary file and does not strip any control characters. The lack of this |
| 6438 |
information in the documentation can cause a lot of headaches debugging |
| 6439 |
for a simple issue |
| 6440 |
|
| 6441 |
2015-03-09 Giuseppe Scrivano <[email protected]> |
| 6442 |
|
| 6443 |
maint: update copyright year ranges to include 2015 |
| 6444 |
|
| 6445 |
NEWS: Prepare new development cycle |
| 6446 |
|
| 6447 |
2015-03-09 Yousong Zhou <[email protected]> |
| 6448 |
|
| 6449 |
Fix --content-on-error option handling. |
| 6450 |
* src/http.c: Log --content-on-error downloads. |
| 6451 |
* src/retr.c (retrieve_url): Register the download of an error page |
| 6452 |
when --content-on-error is specified. |
| 6453 |
|
| 6454 |
testenv: add test case Test--convert-links--content-on-error.py. |
| 6455 |
* testenv/Makefile.am: Register the new test. |
| 6456 |
* testenv/Test--convert-links--content-on-error.py: Add test case for |
| 6457 |
the combination of --convert-links and --content-on-error.py. |
| 6458 |
|
| 6459 |
testenv: fix http_server.py with Response and Authentication. |
| 6460 |
* testenv/exc/server_error.py: Try writing file content for GET |
| 6461 |
request even if there is a Response rule present. |
| 6462 |
* testenv/server/http/http_server.py: Likewise. |
| 6463 |
|
| 6464 |
testenv: improve color output a bit. |
| 6465 |
* testenv/misc/colour_terminal.py: Only print color codes when stdout |
| 6466 |
isatty(). |
| 6467 |
|
| 6468 |
testenv: typo and style fix. |
| 6469 |
* testenv/server/http/http_server.py(BaseTest): Add docstring; use raw |
| 6470 |
string for regex. |
| 6471 |
* testenv/server/http/http_server.py(_Handler): Typo fix. |
| 6472 |
* testenv/conf/server_files.py(ServerFiles): Code style change for |
| 6473 |
readability plus another typo fix. |
| 6474 |
|
| 6475 |
2015-03-09 Giuseppe Scrivano <[email protected]> |
| 6476 |
|
| 6477 |
NEWS: tag 1.16.3 |
| 6478 |
|
| 6479 |
2015-03-08 Anderson Goulart <[email protected]> |
| 6480 |
|
| 6481 |
src/main.c (--no-verbose): don't show progress bar |
| 6482 |
Fixes #44431 |
| 6483 |
|
| 6484 |
2015-03-06 Darshit Shah <[email protected]> |
| 6485 |
|
| 6486 |
main.c: Use assertion to test buffer size |
| 6487 |
|
| 6488 |
2015-03-02 Darshit Shah <[email protected]> |
| 6489 |
|
| 6490 |
main.c: Need to explicitly disallow show_progress in -q |
| 6491 |
|
| 6492 |
2015-02-28 Giuseppe Scrivano <[email protected]> |
| 6493 |
|
| 6494 |
NEWS: add other items and tag 1.16.2 |
| 6495 |
|
| 6496 |
gnulib: sync gnulib |
| 6497 |
|
| 6498 |
2015-02-27 Giuseppe Scrivano <[email protected]> |
| 6499 |
|
| 6500 |
NEWS: Update file |
| 6501 |
|
| 6502 |
2015-02-23 Eli Zaretskii <[email protected]> |
| 6503 |
|
| 6504 |
warc.c: native uuid generation on Windows |
| 6505 |
* warc.c (windows_uuid_str) [WINDOWS]: New function specific to |
| 6506 |
MS-Windows. |
| 6507 |
(warc_uuid_str) [WINDOWS]: If windows_uuid_str succeeds, use its |
| 6508 |
result; otherwise use the fallback method. |
| 6509 |
|
| 6510 |
2015-02-18 Gisle Vanem <[email protected]> |
| 6511 |
|
| 6512 |
idn: use idn_free() to free allocated libidn memory |
| 6513 |
xfree() might crash on libidn memory on Windows. |
| 6514 |
|
| 6515 |
From 'man idn_free': |
| 6516 |
"Under Windows, different parts of the same application may use different |
| 6517 |
heap memory, and then it is important to deallocate memory allocated within |
| 6518 |
the same module that allocated it. This function makes that possible." |
| 6519 |
|
| 6520 |
2015-02-10 Tim Rühsen <[email protected]> |
| 6521 |
|
| 6522 |
gettext: Use gnulib's gettext.h for compatibility |
| 6523 |
Fixes issues with gettext on Solaris |
| 6524 |
Reported-by: Kiyoshi KANAZAWA <[email protected]> |
| 6525 |
|
| 6526 |
src/openssl.c: Use SSL_state() instead of ssl_st.state |
| 6527 |
Changes in OpenSSL 1.0.2 API hides ssl_st structure members. |
| 6528 |
Reported-by: Gisle Vanem <[email protected]> |
| 6529 |
|
| 6530 |
2015-01-31 Giuseppe Scrivano <[email protected]> |
| 6531 |
|
| 6532 |
* README.checkout: Remove duplicated word |
| 6533 |
|
| 6534 |
* cfg.mk (VC_LIST_ALWAYS_EXCLUDE_REGEX): Add ChangeLog-2014-12-10. |
| 6535 |
|
| 6536 |
2015-01-27 Tim Rühsen <[email protected]> |
| 6537 |
|
| 6538 |
README.checkout: Mention libio-socket-ssl-perl to be installed |
| 6539 |
|
| 6540 |
2015-01-22 Dagobert Michelsen <[email protected]> |
| 6541 |
|
| 6542 |
tests/Makefile.am: Solaris needs libintl and libiconv for testsuite |
| 6543 |
|
| 6544 |
2015-01-20 Darshit Shah <[email protected]> |
| 6545 |
|
| 6546 |
progress bar: Allow display on stderr alongwith -o |
| 6547 |
This commit causes the --show-progress option to print the progress bar |
| 6548 |
to stderr even when a logfile was explicitly provided on the command |
| 6549 |
line. Such a combination allows a user to log the output of Wget while |
| 6550 |
simultaneously keeping track of the download status. |
| 6551 |
|
| 6552 |
2015-01-18 Darshit Shah <[email protected]> |
| 6553 |
|
| 6554 |
gnulib: Pull submodule forward |
| 6555 |
|
| 6556 |
2015-01-16 Mathieu Parent <[email protected]> |
| 6557 |
|
| 6558 |
src/connect.c: More verbose error message (tiny change) |
| 6559 |
This fixes Debian bug #144076. |
| 6560 |
|
| 6561 |
2015-01-04 Tim Ruehsen <[email protected]> |
| 6562 |
|
| 6563 |
src/ftp-basic.c: Accept 5-digit port numbers in EPSV responses |
| 6564 |
Reported-by: Adam Sampson <[email protected]> |
| 6565 |
|
| 6566 |
2015-01-02 Tim Rühsen <[email protected]> |
| 6567 |
|
| 6568 |
README.checkout: Add libpcre, pkg-config, libgnutls |
| 6569 |
Add description for libpcre |
| 6570 |
Add description for pkg-config |
| 6571 |
Add description of GnuTLS |
| 6572 |
Add 2014,2015 copyright year |
| 6573 |
Use ASCII copyright characters |
| 6574 |
|
| 6575 |
2014-12-27 Tim Ruehsen <[email protected]> |
| 6576 |
|
| 6577 |
src/http.c: Revert commit d81a8d5f56fca2746c4ad83d764bd24adcfbe927 |
| 6578 |
The removal of the 'redundant' condition was a failure. |
| 6579 |
Fixes: #43876 |
| 6580 |
Reported-by: Sean Jensen-Grey <[email protected]> |
| 6581 |
|
| 6582 |
2014-12-25 Tim Ruehsen <[email protected]> |
| 6583 |
|
| 6584 |
configure.ac: Skip pkg-config for opensl and gnutls when prefix is given |
| 6585 |
Make --with-libssl-prefix and --with-libgnutls-prefix do the right thing, |
| 6586 |
no matter if pkg-config is installed or not. |
| 6587 |
|
| 6588 |
Reported-by: Charles Diza <[email protected]> |
| 6589 |
|
| 6590 |
2014-12-25 Tim Ruehsen <[email protected]> |
| 6591 |
|
| 6592 |
src/main.c, src/warc.c: Use gnulib's base_name() instead of basename() |
| 6593 |
Reported-by: Eli Zaretskii <[email protected]> |
| 6594 |
|
| 6595 |
2014-12-24 Giuseppe Scrivano <[email protected]> |
| 6596 |
|
| 6597 |
Generate distributed ChangeLog from git log |
| 6598 |
* bootstrap.conf (gnulib_modules): Add "gitlog-to-changelog". |
| 6599 |
* Makefile.am: Generate the ChangeLog file from the git log and |
| 6600 |
the old ChangeLog data. |
| 6601 |
|
| 6602 |
merge ChangeLog files in ChangeLog-2014-12-10. |
| 6603 |
* ChangeLog: truncate file. |
| 6604 |
* ChangeLog.README: Likewise. |
| 6605 |
* doc/ChangeLog: Likewise. |
| 6606 |
* msdos/ChangeLog: Likewise. |
| 6607 |
* src/ChangeLog: Likewise. |
| 6608 |
* testenv/ChangeLog: Likewise. |
| 6609 |
* tests/ChangeLog: Likewise. |
| 6610 |
* ChangeLog-2014-12-10: New file. |
| 6611 |
* Makefile.am: Distribute ChangeLog-2014-12-10. |
| 6612 |
|
| 6613 |
2014-12-21 Eli Zaretskii <[email protected]> |
| 6614 |
|
| 6615 |
src/utils.c: Don't include termios.h on Windows |
| 6616 |
|
| 6617 |
2014-12-21 Tim Ruehsen <[email protected]> |
| 6618 |
|
| 6619 |
tests/FTPServer.pm: Fix ftp tests for Windows |
| 6620 |
The Single Unix strftime format specifier %e is not supported by |
| 6621 |
MS Windows. Instead we now use %d. |
| 6622 |
|
| 6623 |
Reported-By: Eli Zaretskii <[email protected]> |
| 6624 |
|
| 6625 |
2014-12-21 Tim Rühsen <[email protected]> |
| 6626 |
|
| 6627 |
gnulib: Use basename() from gnulib module 'dirname' |
| 6628 |
Avoid basename incompatibilities between POSIX and GNU implementations. |
| 6629 |
Also, libgen.h isn't needed any more which increases compatibility. |
| 6630 |
|
| 6631 |
2014-12-21 Giuseppe Scrivano <[email protected]> |
| 6632 |
|
| 6633 |
contrib/check-hard: delete trailing whitespaces and repeated word |
| 6634 |
|
| 6635 |
2014-12-21 Benno Schulenberg <[email protected]> |
| 6636 |
|
| 6637 |
* src/main.c (print_help): Indent description continuation lines by two spaces. |
| 6638 |
|
| 6639 |
* src/main.c (print_help): Don't use a possessive instead of a plural. |
| 6640 |
|
| 6641 |
* src/main.c (print_help): Don't use the backtick as a left quote mark in the help text. |
| 6642 |
|
| 6643 |
* src/main.c (print_help): Remove the full stops from option descriptions. |
| 6644 |
And use semicolons to separate multiple phrases in a description. |
| 6645 |
|
| 6646 |
* src/main.c (print_help): Make all option descriptions start with a lowercase letter. |
| 6647 |
Also spell URL consistently in all uppercase, and fix the grammar. |
| 6648 |
|
| 6649 |
2014-12-20 Tim Ruehsen <[email protected]> |
| 6650 |
|
| 6651 |
doc/wget.texi: Add 'https_only' in 'wgetrc commands' section |
| 6652 |
Reported-By: Eli Zaretskii <[email protected]> |
| 6653 |
|
| 6654 |
2014-12-20 Eli Zaretskii <[email protected]> |
| 6655 |
|
| 6656 |
tests/WgetTests.pm: Print timestamps when tests fail due to wrong timestamps |
| 6657 |
|
| 6658 |
2014-12-19 Tim Rühsen <[email protected]> |
| 6659 |
|
| 6660 |
sample.wgetrc: Fix wrong command 'locale' into 'localencoding' |
| 6661 |
Reported-by: Eli Zaretskii <[email protected]> |
| 6662 |
|
| 6663 |
wget.texi: Clarify wgetrc command syntax |
| 6664 |
Reported-by: Eli Zaretskii <[email protected]> |
| 6665 |
|
| 6666 |
2014-12-18 Tim Rühsen <[email protected]> |
| 6667 |
|
| 6668 |
configure.ac: Fix libuuid and uuid_create detection |
| 6669 |
--with-libuuid now explictly asks for libuuid. |
| 6670 |
--without-libuuid ignores libuuid and tries to use libc builtin functions. |
| 6671 |
Else try builtin functions first, libuuid second and fallback to Wget's own |
| 6672 |
function. |
| 6673 |
|
| 6674 |
2014-12-17 Yuriy M. Kaminskiy <[email protected]> |
| 6675 |
|
| 6676 |
src/log.c: Fix unexpected termination in logprintf (tiny change) |
| 6677 |
When errno was set to EPIPE before call to logprintf (e.g. during close of |
| 6678 |
SSL connection that was reset by peer), it will unexpectedly terminate wget. |
| 6679 |
It should exit only when EPIPE was triggered by logging code. |
| 6680 |
|
| 6681 |
Regression by 0b5b100fc9aaa54257ffa16a083a862c031c335b |
| 6682 |
|
| 6683 |
2014-12-17 Tim Rühsen <[email protected]> |
| 6684 |
|
| 6685 |
configure.ac: Check for RAND_egd() in pkg-config success code |
| 6686 |
|
| 6687 |
src/main.c: Conditionally print help for --random-file and --egd-file |
| 6688 |
--random-file is only relevant when compiled with either OpenSSL or LibreSSL. |
| 6689 |
--egd-file is only relevant when compiled with OpenSSL |
| 6690 |
|
| 6691 |
src/init.c: Fix indentation for crlfile option |
| 6692 |
|
| 6693 |
wget.texi: Document --random-file and --egd-file as OpenSSL only |
| 6694 |
|
| 6695 |
2014-12-17 Jérémie Courrèges-Anglas <[email protected]> |
| 6696 |
|
| 6697 |
openssl: Detect the availability of RAND_egd (tiny change) |
| 6698 |
Alternatives like LibreSSL don't provide RAND_egd() anymore. |
| 6699 |
Fixes compilation on OpenBSD. |
| 6700 |
|
| 6701 |
Fix use of uuid libc functions (tiny change) |
| 6702 |
* Always attempt to detect uuid.h and uuid_create(). |
| 6703 |
* Split libuuid and uuid.h implementations of warc_uuid_str(), since |
| 6704 |
those APIs vary significantly. |
| 6705 |
* Correctly use the uuid.h functions |
| 6706 |
|
| 6707 |
2014-12-16 Darshit Shah <[email protected]> |
| 6708 |
|
| 6709 |
Revert "ChangeLog: Move all ChangeLog files to .pre-gitlog" |
| 6710 |
This reverts commit fcd3b3c473be25c4967fd8139d976e76faaef1b6. |
| 6711 |
|
| 6712 |
Turns out that removing the ChangeLog files causes the Wget build to |
| 6713 |
fail. While this issue is investigated and sorted out, the commit is |
| 6714 |
reversed to allow people to be able to build Wget from master |
| 6715 |
|
| 6716 |
2014-12-16 Tim Rühsen <[email protected]> |
| 6717 |
|
| 6718 |
contrib: Added script contrib/check-hard to check Wget status |
| 6719 |
This script automates some tests, e.g. testing with and without valgrind, |
| 6720 |
using different configure options. It is aimed at developers to execute |
| 6721 |
before pushing commits. |
| 6722 |
|
| 6723 |
2014-12-16 Cong Ma <[email protected]> |
| 6724 |
|
| 6725 |
ftp: fix invalid pointer dereference in getftp() (tiny change) |
| 6726 |
The pointer respline in use after being passed to ftp_response() may be |
| 6727 |
uninitialized if ftp_response() fails. Ensure that respline be used |
| 6728 |
after checking the return value of ftp_response(). |
| 6729 |
|
| 6730 |
2014-12-15 Darshit Shah <[email protected]> |
| 6731 |
|
| 6732 |
ChangeLog: Move all ChangeLog files to .pre-gitlog |
| 6733 |
From v1.16.1 onwards, Wget no longer maintains an active ChangeLog file. |
| 6734 |
Instead the ChangeLog will be automatically generated on each release |
| 6735 |
through gnulib's gitlog-to-changelog script. However, the old versions |
| 6736 |
of the ChangeLog files are retained for reference. These files are |
| 6737 |
renamed with a .pre-gitlog appended to their filenames. |
| 6738 |
Also removed ChangeLog.README file which is not required anymore |
| 6739 |
|
| 6740 |
2014-12-12 Tim Rühsen <[email protected]> |
| 6741 |
|
| 6742 |
src/iri.c: Call xstrndup instead of strndup |
| 6743 |
strndup() does not exist in some older C libraries, also xstrndup() |
| 6744 |
exits on memory allocation failures. |
| 6745 |
|
| 6746 |
bootstrap.conf: Add module 'getline' |
| 6747 |
This function does not exist in some older C libraries. |
| 6748 |
|
| 6749 |
2014-12-12 Tim Rühsen <[email protected]> |
| 6750 |
|
| 6751 |
src/iri.c: Use c_strcasestr instead of strcasestr |
| 6752 |
This also fixes a problem with strcasestr not being in the |
| 6753 |
boostrap.conf module list. |
| 6754 |
|
| 6755 |
Reported-by: Kiyoshi KANAZAWA <[email protected]> |
| 6756 |
|
| 6757 |
2014-12-11 Friedrich Haubensak <[email protected]> |
| 6758 |
|
| 6759 |
Add support for older versions of flex (tiny change) |
| 6760 |
E.g. flex 2.5.4 (Solaris 10) does not like a space after -o. |
| 6761 |
|
| 6762 |
2014-12-11 Tim Ruehsen <[email protected]> |
| 6763 |
|
| 6764 |
* src/Makefile.am: Support older versions of flex |
| 6765 |
|
| 6766 |
2014-12-10 Tim Ruehsen <[email protected]> |
| 6767 |
|
| 6768 |
* configure.ac: Check for pcre.h |
| 6769 |
|
| 6770 |
2014-12-08 Giuseppe Scrivano <[email protected]> |
| 6771 |
|
| 6772 |
* cfg.mk (local-checks-to-skip): Add sc_cast_of_argument_to_free. |
| 6773 |
|
| 6774 |
2014-12-05 Tim Ruehsen <[email protected]> |
| 6775 |
|
| 6776 |
* src/Makefile.am: Removed reference to cmpt.c |
| 6777 |
|
| 6778 |
2014-12-05 Tim Ruehsen <[email protected]> |
| 6779 |
|
| 6780 |
* configure.ac: Fix message for when GnuTLS has not been found. |
| 6781 |
|
| 6782 |
2014-12-05 Tim Ruehsen <[email protected]> |
| 6783 |
|
| 6784 |
* bootstrap.conf: Add modules fnmatch, memrchr, strcase, strptime, |
| 6785 |
strtoll, timegm |
| 6786 |
Remove module strcasecmp |
| 6787 |
Use module spawn-pipe instead of deprecated module pipe |
| 6788 |
|
| 6789 |
2014-12-04 Darshit Shah <[email protected]> |
| 6790 |
|
| 6791 |
* src/wget.h: Define MIX and MAX macros globally for all files |
| 6792 |
* src/gnutls.c, retr.c: Delete declaration of MIN macro |
| 6793 |
* src/http.c, progress.c: Delete declaration of MIN and MAX macros |
| 6794 |
|
| 6795 |
2014-12-04 Darshit Shah <[email protected]> |
| 6796 |
|
| 6797 |
* src/ftp.c (getftp): Remove a call to assert(1) and replace with error message. |
| 6798 |
Also fix indentation |
| 6799 |
|
| 6800 |
2014-12-03 Jérémie Courrèges-Anglas <[email protected]> (tiny change) |
| 6801 |
|
| 6802 |
* src/openssl.c (ssl_init): Allow pfs to be used with protocols other than |
| 6803 |
TLSv1. |
| 6804 |
|
| 6805 |
2014-12-03 Gisle Vanem <[email protected]> |
| 6806 |
|
| 6807 |
* src/openssl.c (ssl_init): Fix C89 warning |
| 6808 |
|
| 6809 |
2014-12-03 Gisle Vanem <[email protected]> |
| 6810 |
|
| 6811 |
* src/mswindows.c (ws_cleanup): Fix compiler error |
| 6812 |
|
| 6813 |
2014-12-01 Tim Ruehsen <[email protected]> |
| 6814 |
|
| 6815 |
* src/connect.c, iri.c, url.c, warc.c: Fix issues reported |
| 6816 |
by static code analysis tool 'parfait'. |
| 6817 |
|
| 6818 |
Closes: #41235 |
| 6819 |
Reported-by: Jiri Kukacka |
| 6820 |
|
| 6821 |
2014-11-29 Tim Ruehsen <[email protected]> |
| 6822 |
|
| 6823 |
* src/utils.h: xfree() sets argument to NULL after freeing, |
| 6824 |
removed xfree_null() |
| 6825 |
* src/connect.c, cookies.c, ftp-basic.c, ftp-ls.c, ftp.c hash.c, |
| 6826 |
host.c, html-url.c, http.c, init.c, iri.c, log.c, main.c, |
| 6827 |
mswindows.c, netrc.c, openssl.c, recur.c, res.c, retr.c, |
| 6828 |
url.c, warc.c: Replaced xfree_null() by xfree() |
| 6829 |
|
| 6830 |
2014-11-28 Tim Ruehsen <[email protected]> |
| 6831 |
|
| 6832 |
* src/main.c: Fix length of program_argstring, |
| 6833 |
fix regression introduced with commit |
| 6834 |
9217b864d865cf1766e1589d138c8fc17d3d3d5c. |
| 6835 |
|
| 6836 |
2014-11-28 Tim Ruehsen <[email protected]> |
| 6837 |
|
| 6838 |
* src/gettext.h: Removed this file |
| 6839 |
* src/wget.h: Do not include gettext.h, include libintl.h directly, |
| 6840 |
define _() as gettext() shortcut. |
| 6841 |
|
| 6842 |
The header file gettext.h is simply not needed. |
| 6843 |
|
| 6844 |
2014-11-28 Tim Ruehsen <[email protected]> |
| 6845 |
|
| 6846 |
* src/Makefile.am: Removed gettext.h |
| 6847 |
|
| 6848 |
2014-11-27 Darshit Shah <[email protected]> |
| 6849 |
|
| 6850 |
* src/cookies.c, gettext.h, init.c, retr.c, url.c, warc.c: Replace usage of |
| 6851 |
free() with xfree() macro. |
| 6852 |
|
| 6853 |
2014-11-26 Tim Ruehsen <[email protected]> |
| 6854 |
|
| 6855 |
* tests/HTTPServer.pm: Substitue server port in HTTP headers |
| 6856 |
|
| 6857 |
This allows us to use references like |
| 6858 |
"Location" => "http://localhost:{{port}}/whatever |
| 6859 |
in test cases. |
| 6860 |
|
| 6861 |
2014-11-26 Tim Ruehsen <[email protected]> |
| 6862 |
|
| 6863 |
* testenv/Makefile.am: Removed Test-auth-both.py from XFAIL_TESTS |
| 6864 |
|
| 6865 |
2014-11-26 Tim Ruehsen <[email protected]> |
| 6866 |
|
| 6867 |
* src/recur.c: Fix blacklisting of URLs to download |
| 6868 |
|
| 6869 |
Fixes a reported crash and prevents multiple downloads of the |
| 6870 |
same file in case the URL is escaped in different ways. |
| 6871 |
|
| 6872 |
The crash has been |
| 6873 |
Reported-by: Frédéric <[email protected]> |
| 6874 |
|
| 6875 |
2014-11-26 Tim Ruehsen <[email protected]> |
| 6876 |
|
| 6877 |
* src/recur.c: Add space after function names |
| 6878 |
|
| 6879 |
2014-11-26 Tim Ruehsen <[email protected]> |
| 6880 |
|
| 6881 |
* src/http.c: Select strongest challenge from WWW-Authenticate, |
| 6882 |
support multiple challenges per header line. |
| 6883 |
|
| 6884 |
2014-11-26 Tim Ruehsen <[email protected]> |
| 6885 |
|
| 6886 |
* src/gnutls.c (ssl_connect_wget): Implement missing code for |
| 6887 |
--secure-protocol=TLSv1_1|TLSv1_2, print message before abort() |
| 6888 |
for missing protocol implementations. |
| 6889 |
* src/openssl.c (ssl_init): Print message before abort() for |
| 6890 |
missing protocol implementations. |
| 6891 |
|
| 6892 |
2014-11-26 Giuseppe Scrivano <[email protected]> |
| 6893 |
|
| 6894 |
* testenv/Makefile.am (TESTS): Add Test-redirect-crash.py. |
| 6895 |
* testenv/Test-redirect-crash.py: New File. |
| 6896 |
|
| 6897 |
2014-11-25 Pär Karlsson <[email protected]> |
| 6898 |
|
| 6899 |
* src/Makefile.am: Added missing version.h to wget_SOURCES |
| 6900 |
|
| 6901 |
2014-11-25 Darshit Shah <[email protected]> |
| 6902 |
|
| 6903 |
* bootstrap.conf: Add flex as a prerequisite to building Wget from the |
| 6904 |
repository sources |
| 6905 |
|
| 6906 |
2014-11-24 Tim Ruehsen <[email protected]> |
| 6907 |
|
| 6908 |
* src/wget.h, test.c, main.c: Make program_name and program_argstring const |
| 6909 |
|
| 6910 |
2014-11-24 Tim Ruehsen <[email protected]> |
| 6911 |
|
| 6912 |
* src/warc.c: Fix C89 compile errors using ./configure --without-libuuid |
| 6913 |
|
| 6914 |
2014-11-24 Tim Ruehsen <[email protected]> |
| 6915 |
|
| 6916 |
* src/warc.c, warc.h, http.c: Add size of buffer to warc_timestamp() |
| 6917 |
|
| 6918 |
2014-11-24 Tim Ruehsen <[email protected]> |
| 6919 |
|
| 6920 |
* src/retrc.c: Fix possibly uninitialized variable |
| 6921 |
|
| 6922 |
2014-11-22 Darshit Shah <[email protected]> |
| 6923 |
|
| 6924 |
* src/wget.h: Make extern declaration for program_name |
| 6925 |
|
| 6926 |
2014-11-22 Darshit Shah <[email protected]> |
| 6927 |
|
| 6928 |
* src/wget.h: Make extern declaration for program_argstring. |
| 6929 |
* src/warc.c: Remove extern declaration |
| 6930 |
* src/test.c: Make program_argstring a char *, instead of const char *. |
| 6931 |
|
| 6932 |
2014-11-22 Darshit Shah <[email protected]> |
| 6933 |
|
| 6934 |
* src/version.h: New file. Add extern declarations for globally shared strings |
| 6935 |
* src/Makefile.am: Have version.c import version.h |
| 6936 |
* src/main.c: Import version.h and remove old extern declarations |
| 6937 |
* src/http.c: Same |
| 6938 |
* src/warc.c: Same |
| 6939 |
|
| 6940 |
2014-11-22 Darshit Shah <[email protected]> |
| 6941 |
|
| 6942 |
* src/version.h: Add extern for compilation_string |
| 6943 |
* src/main: Remove declaration for compilation_String |
| 6944 |
|
| 6945 |
2014-11-22 Darshit Shah <[email protected]> |
| 6946 |
|
| 6947 |
* src/utils.c (abort_run_with_timeout): The sig parameter is not used. Mark it |
| 6948 |
as such. |
| 6949 |
(abort_run_with_timeout): One implementation of this function did not |
| 6950 |
specify _Noreturn. Add it. |
| 6951 |
|
| 6952 |
2014-11-22 Darshit Shah <[email protected]> |
| 6953 |
|
| 6954 |
* src/retr.h: Declare extern variable numurls |
| 6955 |
* src/http.c: Remove extern declaration for numurls |
| 6956 |
* src/ftp.c: Same |
| 6957 |
|
| 6958 |
2014-11-22 Darshit Shah <[email protected]> |
| 6959 |
|
| 6960 |
* src/hosts.c (address_list_set_faulty): Add a helpful error message for when a |
| 6961 |
logical assumption fails |
| 6962 |
|
| 6963 |
2014-11-22 Darshit Shah <[email protected]> |
| 6964 |
|
| 6965 |
* src/cookies.c (discard_matching_cookie): Replace defensive assert with a |
| 6966 |
logical check and error message |
| 6967 |
|
| 6968 |
2014-11-22 Darshit Shah <[email protected]> |
| 6969 |
|
| 6970 |
* build-aux/build_info.pl: Include version.h in the final C file generated |
| 6971 |
by the script. |
| 6972 |
|
| 6973 |
2014-11-21 Tim Ruehsen <[email protected]> |
| 6974 |
|
| 6975 |
* testenv/server/http/http_server.py: Fixed typo Blackisted to Blacklisted |
| 6976 |
|
| 6977 |
2014-11-21 Daniel Stenberg <[email protected]> |
| 6978 |
|
| 6979 |
* src/iri.c (remote_to_utf8): Fix compiler warning |
| 6980 |
|
| 6981 |
2014-11-20 Tim Ruehsen <[email protected]> |
| 6982 |
|
| 6983 |
* src/progress.c: Fix code for undefined USE_NLS_PROGRESS_BAR |
| 6984 |
|
| 6985 |
Reported-by: Gisle Vanem |
| 6986 |
|
| 6987 |
2014-11-20 Tim Ruehsen <[email protected]> |
| 6988 |
|
| 6989 |
* src/cookies.c, ftp-basic.c, ftp-ls.c, ftp.c, html-url.c, |
| 6990 |
http.c, init.c, iri.c, main.c, progress.c, res.c, url.c, |
| 6991 |
utils.c, wget.h: Replaced strcasecmp and strncasecmp by |
| 6992 |
c_strcasecmp and c_strncasecmp where only ASCII string |
| 6993 |
comparison is wanted (instead of locale dependent). |
| 6994 |
|
| 6995 |
Fixes possible issues with Wget running in a turkish locale. |
| 6996 |
|
| 6997 |
2014-11-20 Tim Ruehsen <[email protected]> |
| 6998 |
|
| 6999 |
* src/Removed form feeds (\014) from *.c and *.h |
| 7000 |
|
| 7001 |
2014-11-20 Tim Ruehsen <[email protected]> |
| 7002 |
|
| 7003 |
* configure.ac: Fix libpsl<0.6.0 detection |
| 7004 |
|
| 7005 |
2014-11-20 Tim Ruehsen <[email protected]> |
| 7006 |
|
| 7007 |
* NEWS: remove form feeds |
| 7008 |
|
| 7009 |
2014-11-20 Tim Ruehsen <[email protected]> |
| 7010 |
|
| 7011 |
* src/cookies.c, ftp-basic.c, ftp.c, gnutls.c, host.c, |
| 7012 |
html-url.c, http.c, main.c, progress.c, retr.c, warc.c: |
| 7013 |
Trivial fixes for C89 compliancy. |
| 7014 |
|
| 7015 |
2014-11-20 Gisle Vanem <[email protected]> |
| 7016 |
|
| 7017 |
* src/http.c (parse_content_disposition): Fix C89 issue found by MSVC 16 |
| 7018 |
|
| 7019 |
2014-11-20 Gisle Vanem <[email protected]> |
| 7020 |
|
| 7021 |
* src/build_info.c.in: Assume large file for WINDOWS |
| 7022 |
|
| 7023 |
2014-11-20 Darshit Shah <[email protected]> |
| 7024 |
|
| 7025 |
* configure.ac: Use pkg-config for libpsl detection |
| 7026 |
config status for libpsl is reflected by $with_libpsl |
| 7027 |
|
| 7028 |
2014-11-20 Darshit Shah <[email protected]> |
| 7029 |
|
| 7030 |
* configure.ac: Use autoconf macros where available |
| 7031 |
|
| 7032 |
2014-11-20 Darshit Shah <[email protected]> |
| 7033 |
|
| 7034 |
* configure.ac: Change option to --enable-assert. Assertions are disabled by |
| 7035 |
default. |
| 7036 |
* NEWS: Edit to reflect default option. |
| 7037 |
* README.checkout: Document --enable-assert for developers |
| 7038 |
|
| 7039 |
2014-11-20 Darshit Shah <[email protected]> |
| 7040 |
|
| 7041 |
* configure.ac: Add the -Wextra flag when no CFLAGS are set |
| 7042 |
|
| 7043 |
2014-11-20 Darshit Shah <[email protected]> |
| 7044 |
|
| 7045 |
* .gitignore: po/stamp-po should be ignored |
| 7046 |
|
| 7047 |
2014-11-19 Tim Ruehsen <[email protected]> |
| 7048 |
|
| 7049 |
* configure.ac: Check for random() |
| 7050 |
|
| 7051 |
2014-11-19 Tim Ruehsen <[email protected]> |
| 7052 |
|
| 7053 |
* src/utils.c (random_float, random_number): Use random() and |
| 7054 |
srandom() if available. |
| 7055 |
|
| 7056 |
Reported-by: Coverity scanner |
| 7057 |
|
| 7058 |
2014-11-19 Tim Ruehsen <[email protected]> |
| 7059 |
|
| 7060 |
* src/openssl.c (ssl_check_certificate): Fix memory leak |
| 7061 |
|
| 7062 |
2014-11-19 Tim Ruehsen <[email protected]> |
| 7063 |
|
| 7064 |
* src/gnutls.c (ssl_init): Report load failure of cert files from |
| 7065 |
cert directory only with --debug. Fixes #41331. |
| 7066 |
|
| 7067 |
2014-11-19 Tim Ruehsen <[email protected]> |
| 7068 |
|
| 7069 |
* src/ftp-basic.c (ftp_epsv): Fix loop check |
| 7070 |
|
| 7071 |
Reported-by: Coverity scanner |
| 7072 |
|
| 7073 |
2014-11-19 Darshit Shah <[email protected]> |
| 7074 |
|
| 7075 |
* testenv/Test-504.py: Add new test case to show how Wget handles 504 Gateway |
| 7076 |
Timeouts |
| 7077 |
* testenv/Makefile.am: Add Test-504.py to TESTS |
| 7078 |
|
| 7079 |
2014-11-19 Darshit Shah <[email protected]> |
| 7080 |
|
| 7081 |
* src/utils.c (compile_posix_regex): Fix memory leak due to unfreed regex |
| 7082 |
pointer |
| 7083 |
|
| 7084 |
2014-11-19 Darshit Shah <[email protected]> |
| 7085 |
|
| 7086 |
* src/progress.c (create_image): Do not scroll filename if amount of scrolling |
| 7087 |
is less than MIN_SCROLL_TEXT |
| 7088 |
* src/retr.c (fd_read_body): Do not print the directory prefix in the progress |
| 7089 |
bar |
| 7090 |
|
| 7091 |
2014-11-19 Darshit Shah <[email protected]> |
| 7092 |
|
| 7093 |
* src/main.c (format_and_print_line): Fix potential memory leak |
| 7094 |
|
| 7095 |
2014-11-19 Darshit Shah <[email protected]> |
| 7096 |
|
| 7097 |
* src/exits.c (get_status_for_err): GATEWAYTIMEOUT is a Server Error and Wget's |
| 7098 |
exit code should reflect that |
| 7099 |
* src/wget.h: Add GATEWAYTIMEOUT as an error |
| 7100 |
* src/http.c (http_loop): Gateway timeout errors should be non-fatal |
| 7101 |
|
| 7102 |
2014-11-18 Tim Ruehsen <[email protected]> |
| 7103 |
|
| 7104 |
* src/Fix warnings from clang-analyzer 3.6 |
| 7105 |
|
| 7106 |
gnutls.c:457:3: warning: Value stored to 'err' is never read |
| 7107 |
err = 0; |
| 7108 |
http-ntlm.c:477:5: warning: Value stored to 'size' is never read |
| 7109 |
size = (size_t) snprintf (ntlmbuf, sizeof(ntlmbuf), |
| 7110 |
http.c:1479:3: warning: Attempt to free released memory |
| 7111 |
xfree_null (hs->error); |
| 7112 |
|
| 7113 |
2014-11-17 Tim Ruehsen <[email protected]> |
| 7114 |
|
| 7115 |
* testenv/server/http/http_server.py: allow case-insensitive auth-type, |
| 7116 |
send BasIc and DIgest to provoke Wget failures with turkish locales |
| 7117 |
|
| 7118 |
2014-11-17 Tim Ruehsen <[email protected]> |
| 7119 |
|
| 7120 |
* bootstrap.conf (gnulib_modules): Add module c-strcase |
| 7121 |
|
| 7122 |
2014-11-17 Tim Ruehsen <[email protected]> |
| 7123 |
|
| 7124 |
* src/main.c: code cleanup for redirect_output_signal() |
| 7125 |
|
| 7126 |
2014-11-17 Tim Ruehsen <[email protected]> |
| 7127 |
|
| 7128 |
* src/http.c: use c_strncasecmp() in BEGINS_WITH macro |
| 7129 |
and in STARTS macro |
| 7130 |
|
| 7131 |
2014-11-17 Tim Ruehsen <[email protected]> |
| 7132 |
|
| 7133 |
* src/ftp.h: removed unused variable ftp_last_respline |
| 7134 |
* src/init.c, test.c, warc.c: removed 'make check'compiler warnings |
| 7135 |
|
| 7136 |
2014-11-16 Tom Li <[email protected]> |
| 7137 |
|
| 7138 |
* src/progress.c (create_image): Ensure that the last character of the filename |
| 7139 |
is scrolled to |
| 7140 |
|
| 7141 |
2014-11-16 Darshit Shah <[email protected]> |
| 7142 |
|
| 7143 |
* po/stamp-po: Remove autogenerated file from checked out sources |
| 7144 |
|
| 7145 |
2014-11-16 Darshit Shah <[email protected]> |
| 7146 |
|
| 7147 |
* gnulib: Update submodule |
| 7148 |
* bootstrap: Update script from latest gnulib |
| 7149 |
|
| 7150 |
2014-11-16 Darshit Shah <[email protected]> |
| 7151 |
|
| 7152 |
* .gitignore: Sort gitignore file based on directories |
| 7153 |
|
| 7154 |
2014-11-15 Darshit Shah <[email protected]> |
| 7155 |
|
| 7156 |
* testenv/certs/README: Remove trailing whitespaces |
| 7157 |
|
| 7158 |
2014-11-15 Darshit Shah <[email protected]> |
| 7159 |
|
| 7160 |
* src/progress.c (create_image): Fix assertion that checks progress bar length |
| 7161 |
Should fix bug #43593 |
| 7162 |
|
| 7163 |
2014-11-15 Darshit Shah <[email protected]> |
| 7164 |
* configure.ac: Add AC_HEADER_ASSERT. Enables --disable-assert option |
| 7165 |
|
| 7166 |
2014-11-12 Witchakorn Kamolpornwijit <[email protected]> (tiny change) |
| 7167 |
|
| 7168 |
* src/html-parse.c (map_html_tags): Fix range check |
| 7169 |
|
| 7170 |
2014-11-12 Tim Ruehsen <[email protected]> |
| 7171 |
|
| 7172 |
* src/openssl.c (ssl_init): Fix error handling for CRL loading |
| 7173 |
|
| 7174 |
2014-11-11 Tim Ruehsen <[email protected]> |
| 7175 |
|
| 7176 |
* testenv/recreated the certs and the CRL file, also amended certs/README |
| 7177 |
|
| 7178 |
2014-11-11 Tim Ruehsen <[email protected]> |
| 7179 |
|
| 7180 |
* src/openssl.c (ssl_init): Load CRL file given by --crl-file |
| 7181 |
|
| 7182 |
2014-11-11 Tim Ruehsen <[email protected]> |
| 7183 |
|
| 7184 |
* src/main.c: Fix missing _Noreturn declaration specifiers |
| 7185 |
|
| 7186 |
Reported-by: Gisle Vanem <[email protected]> |
| 7187 |
|
| 7188 |
2014-11-11 Tim Ruehsen <[email protected]> |
| 7189 |
|
| 7190 |
* src/http.c (gethttp): Always add Accept-Encoding: identity |
| 7191 |
|
| 7192 |
Fixes bug #40819 |
| 7193 |
Reported-by: Noël Köthe <[email protected]> |
| 7194 |
|
| 7195 |
2014-11-10 Tim Ruehsen <[email protected]> |
| 7196 |
|
| 7197 |
* testenv/removed certs/wget-cert.pem |
| 7198 |
* testenv/added certs/ca-cert.pem, certs/ca-key.pem, certs/server-cert.pem, |
| 7199 |
certs/server-key.pem and certs/server-crl.pem |
| 7200 |
* testenv/added certs/README for description how to generate the certs and keys |
| 7201 |
* testenv/server/http/http_server.py: amended to work with new certs/ files |
| 7202 |
* testenv/added Test--https-crl.py to test --crl-file |
| 7203 |
* testenv/Makefile.am: added Test--https-crl.py |
| 7204 |
* testenv/Test--https.py: use --ca-certificate of --no-check-certificates |
| 7205 |
|
| 7206 |
2014-11-10 Tim Ruehsen <[email protected]> |
| 7207 |
|
| 7208 |
* src/openssl.c: Fix compile-time check for TLSv1.1 and TLSv1.2 |
| 7209 |
|
| 7210 |
Reported-by: Velemas Vosak <[email protected]> |
| 7211 |
|
| 7212 |
2014-11-09 Darshit Shah <[email protected]> |
| 7213 |
|
| 7214 |
* src/http.c (gethttps): Honour keep-alive when server responds with a 416 Range |
| 7215 |
not Satisfiable |
| 7216 |
|
| 7217 |
2014-11-09 Darshit Shah <[email protected]> |
| 7218 |
|
| 7219 |
* src/http.c (gethttp): Remove redundant condition evaluation |
| 7220 |
|
| 7221 |
2014-11-06 Tim Ruehsen <[email protected]> |
| 7222 |
|
| 7223 |
* src/init.c, main.c, options.h: added new option --crl-file |
| 7224 |
for specifying a CRL (Certificate Revocation List) file. |
| 7225 |
* src/gnutls.c: load CRL file given by --crl-file |
| 7226 |
|
| 7227 |
Reported-by: Noël Köthe <[email protected]> |
| 7228 |
|
| 7229 |
2014-11-06 Tim Ruehsen <[email protected]> |
| 7230 |
|
| 7231 |
* doc/wget.texi: added description for --crl-file |
| 7232 |
|
| 7233 |
2014-11-05 Tim Ruehsen <[email protected]> |
| 7234 |
|
| 7235 |
* tests/Test-stdouterr.px: fix skip exit code to 77 |
| 7236 |
|
| 7237 |
2014-11-05 Tim Ruehsen <[email protected]> |
| 7238 |
|
| 7239 |
* tests/Makefile.am: added $(LIB_CLOCK_GETTIME) to unit test linkage |
| 7240 |
|
| 7241 |
Reported-by: [email protected] |
| 7242 |
|
| 7243 |
2014-11-05 Tim Ruehsen <[email protected]> |
| 7244 |
|
| 7245 |
* configure.ac: check for python3 |
| 7246 |
* Makefile.am: only use python test suite if python3 found |
| 7247 |
|
| 7248 |
2014-11-05 Giuseppe Scrivano <[email protected]> |
| 7249 |
|
| 7250 |
* contrib/tsocked-wget (TSOCKS_CONF_FILE): Remove empty new-line. |
| 7251 |
|
| 7252 |
2014-11-04 Tim Ruehsen <[email protected]> |
| 7253 |
|
| 7254 |
* src/iri.c (do_conversion): fix quote() misuse |
| 7255 |
* src/iri.c (remote_to_utf8): fix segfault on do_conversion() error |
| 7256 |
|
| 7257 |
Reported-by: Mikael Magnusson <[email protected]> |
| 7258 |
|
| 7259 |
2014-11-04 Darshit Shah <[email protected]> |
| 7260 |
|
| 7261 |
* README.checkout: Bootstrap script is ./bootstrap not ./bootstrap.sh |
| 7262 |
|
| 7263 |
2014-11-03 Tim Ruehsen <[email protected]> |
| 7264 |
|
| 7265 |
* tests/added new test Test-proxied-https-auth-keepalive.px |
| 7266 |
|
| 7267 |
2014-11-03 Tim Ruehsen <[email protected]> |
| 7268 |
|
| 7269 |
* tests/Test-proxied-https-auth.px: add valgrind support, |
| 7270 |
sync parent / child (client / server) |
| 7271 |
|
| 7272 |
2014-11-03 Tim Ruehsen <[email protected]> |
| 7273 |
|
| 7274 |
* src/log.c: turn on automatic format check for log_vprintf_internal() |
| 7275 |
|
| 7276 |
2014-11-03 Pär Karlsson <[email protected]> |
| 7277 |
* tests/WgetFeature.pm: Fixed finding of WgetFeature.cfg when using separate |
| 7278 |
build dirs. |
| 7279 |
* tests/WgetFeature.pm: Fixed warning from BLOCK eval, made it indo EXPR eval |
| 7280 |
|
| 7281 |
2014-11-03 Jakub Čajka <[email protected]> |
| 7282 |
|
| 7283 |
* src/iri.c (remote_to_utf8): Fixed assumption that char is signed. Fixes |
| 7284 |
fellowing test case failures idn-cmd-utf8, idn-robots-utf8, if char is |
| 7285 |
unsigned. |
| 7286 |
|
| 7287 |
2014-11-01 Mike Frysinger <[email protected]> |
| 7288 |
|
| 7289 |
* configure.ac: Use pkg-config to check for zlib presence and |
| 7290 |
fallback to the previous code if that doesn't work. |
| 7291 |
|
| 7292 |
* configure.ac: Use pkg-config to check for libuuid presence and |
| 7293 |
fallback to the previous code if that doesn't work. |
| 7294 |
|
| 7295 |
* configure.ac: Use pkg-config to check for pcre presence and |
| 7296 |
fallback to the previous code if that doesn't work. |
| 7297 |
|
| 7298 |
* configure.ac: Use pkg-config to check for openssl presence and |
| 7299 |
fallback to the previous code if that doesn't work. |
| 7300 |
|
| 7301 |
* configure.ac: Use pkg-config to check for gnutls presence and |
| 7302 |
fallback to the previous code if that doesn't work. |
| 7303 |
|
| 7304 |
2014-11-01 Giuseppe Scrivano <[email protected]> |
| 7305 |
|
| 7306 |
* src/http.c (gethttp): Do not check for "Connection: close" header |
| 7307 |
only when the Content-Length is specified. |
| 7308 |
|
| 7309 |
2014-11-01 Darshit Shah <[email protected]> |
| 7310 |
|
| 7311 |
* src/progress.c (create_image): Extra padding for size_grouped_diff has already |
| 7312 |
been added. Do not add that again. |
| 7313 |
(create_image): Assert that the progress bar being drawn is lesser than the |
| 7314 |
size of the screen. |
| 7315 |
|
| 7316 |
2014-11-01 Darshit Shah <[email protected]> |
| 7317 |
|
| 7318 |
* configure.ac: Fix check for libpsl |
| 7319 |
|
| 7320 |
2014-10-31 Tim Ruehsen <[email protected]> |
| 7321 |
|
| 7322 |
* src/openssl.c: make _get_rfc2253_formatted() static |
| 7323 |
|
| 7324 |
2014-10-31 Pär Karlsson <[email protected]> |
| 7325 |
* tests/WgetTests.pm: Proper conditional operators, tidied up code, idiomatic |
| 7326 |
improvements as per modern Perl best practices. |
| 7327 |
* tests/WgetFeature.pm: Tidied up code, idiomatic improvements for readability |
| 7328 |
* tests/FTPServer.pm: Tidied up code (perltidy -gnu) |
| 7329 |
* tests/FTPTest.pm: Likewise |
| 7330 |
* tests/HTTPServer.pm: Likewise |
| 7331 |
* tests/HTTPTest.pm: Likewise |
| 7332 |
|
| 7333 |
2014-10-30 Mike Frysinger <[email protected]> |
| 7334 |
|
| 7335 |
* tests/WgetFeature.pm: fix skip exit code to 77 |
| 7336 |
|
| 7337 |
2014-10-30 Mike Frysinger <[email protected]> |
| 7338 |
|
| 7339 |
* src/openssl.c: fix implicit decl warning |
| 7340 |
|
| 7341 |
2014-10-29 Tim Ruehsen <[email protected]> |
| 7342 |
|
| 7343 |
* src/openssl.c: print cert subject and issuer RFC2253 compliant |
| 7344 |
* src/openssl.c (ssl_check_certificate): removed memory leak |
| 7345 |
|
| 7346 |
2014-10-29 Tim Ruehsen <[email protected]> |
| 7347 |
|
| 7348 |
* src/http.c (gethttp): use CLOSE_INVALIDATE instead of fd_close |
| 7349 |
|
| 7350 |
2014-10-29 Tim Ruehsen <[email protected]> |
| 7351 |
|
| 7352 |
* src/http.c (gethttp): fix memory leak |
| 7353 |
|
| 7354 |
2014-10-29 Tim Ruehsen <[email protected]> |
| 7355 |
|
| 7356 |
* src/http.c (CLOSE_FINISH): always set fd invalid after close |
| 7357 |
|
| 7358 |
2014-10-29 Peter Meiser <[email protected]> (tiny change) |
| 7359 |
|
| 7360 |
* src/openssl.c (ssl_init) [! OPENSSL_NO_SSL3]: Add guard for OpenSSL |
| 7361 |
without SSLv3. |
| 7362 |
|
| 7363 |
2014-10-28 Tim Ruehsen <[email protected]> |
| 7364 |
|
| 7365 |
* tests/Test-proxied-https-auth.px: synchronize client and server |
| 7366 |
|
| 7367 |
2014-10-28 Tim Ruehsen <[email protected]> |
| 7368 |
|
| 7369 |
* configure.ac: check for strlcpy() |
| 7370 |
|
| 7371 |
2014-10-28 Tim Ruehsen <[email protected]> |
| 7372 |
|
| 7373 |
* configure.ac: add --enable-valgrind-tests |
| 7374 |
|
| 7375 |
2014-10-28 Tim Ruehsen <[email protected]> |
| 7376 |
|
| 7377 |
* src/utils.c: added strlcpy(), concat_strings() rewritten |
| 7378 |
* src/utils.h: added strlcpy() |
| 7379 |
|
| 7380 |
2014-10-28 Tim Ruehsen <[email protected]> |
| 7381 |
|
| 7382 |
* src/ftp.c (ftp_loop_internal): Fix memory leak |
| 7383 |
* src/http.c (gethttp): Fix two memory leaks |
| 7384 |
* src/init.c (cleanup): Fix compile errors and warnings |
| 7385 |
* src/init.c (cleanup): Free more opt variables |
| 7386 |
* src/main.c (main): Fix two memory leaks |
| 7387 |
* src/retr.c (retrieve_url): Fix two memory leaks |
| 7388 |
* src/retr.c (retrieve_url): Add iri to call to url_parse() |
| 7389 |
* src/url.c (url_parse): Fix memory leak |
| 7390 |
|
| 7391 |
2014-10-28 Giuseppe Scrivano <[email protected]> |
| 7392 |
|
| 7393 |
* tests/Makefile.am: Replace $FOO with @VAR@. |
| 7394 |
|
| 7395 |
2014-10-28 Giuseppe Scrivano <[email protected]> |
| 7396 |
|
| 7397 |
* src/Makefile.am: Replace $FOO with @VAR@. |
| 7398 |
|
| 7399 |
2014-10-28 Giuseppe Scrivano <[email protected]> |
| 7400 |
|
| 7401 |
* doc/Makefile.am: Replace $FOO with @VAR@. |
| 7402 |
|
| 7403 |
2014-10-28 Giuseppe Scrivano <[email protected]> |
| 7404 |
|
| 7405 |
* cfg.mk (local-checks-to-skip): Add sc_makefile_at_at_check. |
| 7406 |
|
| 7407 |
* Makefile.am: Replace $FOO with @VAR@. |
| 7408 |
|
| 7409 |
2014-10-25 Tim Ruehsen <[email protected]> |
| 7410 |
|
| 7411 |
* tests/WgetTests.pm (run): generate valgrind command line if requested |
| 7412 |
* tests/Makefile.am: set/export VALGRIND_TESTS |
| 7413 |
|
| 7414 |
2014-10-25 Tim Ruehsen <[email protected]> |
| 7415 |
|
| 7416 |
* testenv/test/base_test.py (gen_cmd_line): generate valgrind command line if requested |
| 7417 |
* testenv/README: amend description of VALGRIND_TESTS |
| 7418 |
* testenv/Makefile.am: set/export VALGRIND_TESTS |
| 7419 |
|
| 7420 |
2014-10-22 Ángel González <[email protected]> |
| 7421 |
|
| 7422 |
* src/css-url.c (get_uri_string): Honor the specified length argument. |
| 7423 |
|
| 7424 |
2014-10-21 Matthew Atkinson <[email protected]> (tiny change) |
| 7425 |
|
| 7426 |
* src/http.c (gethttp): Always send Content-Length header when method is POST, |
| 7427 |
PUT, or PATCH even with no post body, as some servers will reject the |
| 7428 |
request otherwise. |
| 7429 |
|
| 7430 |
2014-10-16 Tim Ruehsen <[email protected]> |
| 7431 |
|
| 7432 |
* src/url.c (url_parse): little code cleanup |
| 7433 |
* src/html-url.c (get_urls_html): HTTP header Content-Type charset preceeds http-equiv |
| 7434 |
* src/iri.c (do_conversion): moved iconv code completely into the function |
| 7435 |
* src/iri.c (do_conversion): call url_unescape to fix charset conversion |
| 7436 |
* src/iri.c (remote_to_utf8): use strcasecmp to compare encoding |
| 7437 |
|
| 7438 |
* src/gnutls.c (ssl_connect_wget): do not use SSLv3 except explicitely requested |
| 7439 |
* src/openssl.c (ssl_init): do not use SSLv3 except explicitely requested |
| 7440 |
|
| 7441 |
2014-10-16 Tim Ruehsen <[email protected]> |
| 7442 |
|
| 7443 |
* doc/wget.texi (Download Options): update --secure-protocol description |
| 7444 |
|
| 7445 |
2014-10-08 Nikolay Morozov <[email protected]> |
| 7446 |
Sergey Lvov <[email protected]> |
| 7447 |
|
| 7448 |
* src/init.c (cmd_spec_secure_protocol): Add support for |
| 7449 |
TLS v1.1 and TLS v1.2 protocols |
| 7450 |
* src/openssl.c (ssl_init): Add support for OpenSSL engines |
| 7451 |
|
| 7452 |
2014-10-08 Darshit Shah <[email protected]> |
| 7453 |
|
| 7454 |
* testenv/Makefile.am: Fix EXTRA_DIST variable for make distcheck |
| 7455 |
* testenv/server/http/http_server.py (HTTPServer.__init__): Fix how CERTFILE is |
| 7456 |
found when running make dist / make distcheck. |
| 7457 |
|
| 7458 |
2014-10-06 Tim Ruehsen <[email protected]> |
| 7459 |
|
| 7460 |
* tests/Test-iri.px: fixed encodings |
| 7461 |
* tests/Test-iri-forced-remote.px: fixed encodings |
| 7462 |
* tests/Test-iri-percent.px: fixed encodings |
| 7463 |
* tests/Test-idn-meta.px: fixed encodings |
| 7464 |
|
| 7465 |
2014-10-02 Tim Ruehsen <[email protected]> |
| 7466 |
|
| 7467 |
* tests/tests/WgetTests.pm: use filename as default test name |
| 7468 |
* tests/tests/Test-*.px: removed redundant 'name => ...' |
| 7469 |
|
| 7470 |
2014-10-01 Tim Ruehsen <[email protected]> |
| 7471 |
|
| 7472 |
* tests/tests/Makefile.am: remove run-px, fixing dist-check |
| 7473 |
|
| 7474 |
2014-10-01 Tim Ruehsen <[email protected]> |
| 7475 |
|
| 7476 |
* tests/Test--post-file.px: name => "Test--post-file", fixing race |
| 7477 |
condition. |
| 7478 |
* tests/Test-N-no-info.px: name => "Test-N-no-info", fixing race |
| 7479 |
condition. |
| 7480 |
* tests/Test-N-smaller.px: name => "Test-N-smaller", fixing race |
| 7481 |
condition. |
| 7482 |
* tests/Test-c-shorter.px: name => "Test-c-shorter", fixing race |
| 7483 |
condition. |
| 7484 |
* tests/Test-proxy-auth-basic.px: name => "Test-proxy-auth-basic", |
| 7485 |
fixing race condition. |
| 7486 |
* tests/Test-proxied-https-auth.px: removed debug print line. |
| 7487 |
|
| 7488 |
2014-10-01 Darshit Shah <[email protected]> |
| 7489 |
|
| 7490 |
* testenv/Makefile.am: Run the tests in Python's Optimizedmode |
| 7491 |
* testenv/conf/__init__.py (gen_hook): Use try..except instead of if..else |
| 7492 |
* testenv/misc/color_terminal.py: System and check will not change while a test is |
| 7493 |
run. Do not test for them on every invocation of printer() |
| 7494 |
* testenv/server/http/http_server.py: The ssl and re modules are required by |
| 7495 |
specific functions. Load them lazily |
| 7496 |
(HTTPSServer.__init__): Lazy load ssl module here |
| 7497 |
(_handler.parse_range_header): Lazy load re module here |
| 7498 |
(_Handler.get_rule_list): get() can return a default value. Use it |
| 7499 |
(_Handler.guess_type): Same |
| 7500 |
(_Handler.is_authorized): Unused function artefact. Remove |
| 7501 |
(_Handler.reject_headers): Unused function artefact. Remove |
| 7502 |
|
| 7503 |
2014-09-30 Tim Ruehsen <[email protected]> |
| 7504 |
|
| 7505 |
* testenv/test/base_test.py: Add --track-origins=yes to valgrind testing |
| 7506 |
|
| 7507 |
2014-09-25 Tim Ruehsen <[email protected]> |
| 7508 |
|
| 7509 |
* tests/Makefile.am: Modified to use parallel test harness |
| 7510 |
* tests/Test-proxied-https-auth.px: get $top_srcdir from ENV |
| 7511 |
* tests/run-px: removed |
| 7512 |
* tests/WgetTest.pm.in: removed |
| 7513 |
* tests/WgetTest.pm: get $top_srcdir from ENV |
| 7514 |
|
| 7515 |
2014-09-25 Tim Ruehsen <[email protected]> |
| 7516 |
|
| 7517 |
* configure.ac: removed WgetTest.pm.in |
| 7518 |
* .gitignore: removed WgetTest.pm |
| 7519 |
|
| 7520 |
2014-09-12 Darshit Shah <[email protected]> |
| 7521 |
|
| 7522 |
* bootstrap.conf: Add GNULib module mbiter |
| 7523 |
|
| 7524 |
2014-09-08 Darshit Shah <[email protected]> |
| 7525 |
|
| 7526 |
* src/init.c (defaults): Set retr-symlinks to true by default. This changes a |
| 7527 |
default setting of wget. Fixes security bug CVE-2014-4877 |
| 7528 |
|
| 7529 |
2014-09-08 Darshit Shah <[email protected]> |
| 7530 |
|
| 7531 |
* src/ftp.c (ftp_retrieve_glob): Also check for invalid entries along with |
| 7532 |
harmful filenames |
| 7533 |
(is_valid_entry): New function. Check if the provided node is a valid entry |
| 7534 |
in a listing file. |
| 7535 |
|
| 7536 |
2014-09-08 Darshit Shah <[email protected]> |
| 7537 |
|
| 7538 |
* doc/wget.texi (symbolic links): Update documentation of retr-symlinks to |
| 7539 |
reflect the new default. Add warning about potential security issues with |
| 7540 |
--retr-symlinks=yes. |
| 7541 |
|
| 7542 |
2014-08-08 Darshit Shah <[email protected]> |
| 7543 |
|
| 7544 |
* testenv/conf/__init__.py: Add extra newline according to PEP8 |
| 7545 |
* testenv/conf/{authentication,expect_header,expected_files,expected_ret_code, |
| 7546 |
files_crawled,hook_sample,local_files,reject_header,response,send_header, |
| 7547 |
server_files,urls,wget_commands}.py: Add docstrings explaining the conf file |
| 7548 |
and how it should be used |
| 7549 |
* testenv/server/http/http_server (InvalidRangeHeader): Clear TODO and eliminate |
| 7550 |
this exception. Use ServerError for all such purposes. |
| 7551 |
(_Handler): Remove reference to InvalidRangeHeader |
| 7552 |
(_handler.parse_range_header): User ServerError instead of InvalidRangeHeader |
| 7553 |
(_Handler.do_GET): Add docstring |
| 7554 |
(_Handler.do_POST): Add docstring. Also create an empty dict for rules if |
| 7555 |
no rules are supplied. Send the Location header as suggested in RFC 7231 |
| 7556 |
(_Handler.do_PUT): Don't pop the server file already. Push it to later in .. |
| 7557 |
(_Handler.send_put): .. Here. If the file exists respond with a 204 No |
| 7558 |
Content message and pop the file for replacement. Do not send the |
| 7559 |
Content-Length, Content-Type headers since PUT requests should not respond |
| 7560 |
with data. |
| 7561 |
(_Handler.parse_auth_header): Fit line within 80 chars |
| 7562 |
(_Handler.check_response): Better visual indent |
| 7563 |
(_Handler.authorize_digest): Better visual indent. |
| 7564 |
(_Handler.expect_headers): Remove unused function |
| 7565 |
(_Handler.guess_type): Fix indentation |
| 7566 |
(HTTPd): Add newline according to PEP8 guidelines |
| 7567 |
(HTTPSd): Fix indentation |
| 7568 |
(StoppableHTTPServer): Add docstring |
| 7569 |
(HTTPSServer): Fix indentation |
| 7570 |
(WgetHTTPRequestHandler): Merge class into _handler. |
| 7571 |
(_Handler): Add docstring |
| 7572 |
(_Handler.parse_range_header): Fix indentation |
| 7573 |
(ServerError): Split exception into separate file ... |
| 7574 |
* testenv/exc/server_error.py: ... Here |
| 7575 |
* testenv/misc/colour_terminal.py: Add docstring, fix indentation |
| 7576 |
* testenv/test/base_test.py: Fix visual indent |
| 7577 |
* testenv/test/http_test.py: Fit within 80 char lines |
| 7578 |
|
| 7579 |
2014-08-04 Darshit Shah <[email protected]> |
| 7580 |
|
| 7581 |
* testenv/conf/server_conf.py: Delete file. Server configuration is now done via the |
| 7582 |
server_conf() method. |
| 7583 |
* testenv/server/http/http_server.py (StppableHTTPServer.server_sett): Delete |
| 7584 |
method required by the above hook |
| 7585 |
(HTTPd.server_sett): Same |
| 7586 |
|
| 7587 |
2014-08-03 Giuseppe Scrivano <[email protected]> |
| 7588 |
|
| 7589 |
* doc/wget.texi (Download Options): Fix texinfo warning. |
| 7590 |
|
| 7591 |
2014-07-28 Ángel González <[email protected]> |
| 7592 |
* contrib: Created contrib folder. |
| 7593 |
* contrib/tsocked-wget: Added wrapper for usage with socks proxy. |
| 7594 |
|
| 7595 |
2014-07-26 Darshit Shah <[email protected]> |
| 7596 |
|
| 7597 |
* testenv/Test-*.py: Remove the '-d' switch from WGET_OPTIONS. |
| 7598 |
* testenv/test/base_test (BaseTest.gen_cmd_line): Add --debug and --no-config to the |
| 7599 |
list of switches passed to wget unconditionally. |
| 7600 |
|
| 7601 |
2014-07-25 Darshit Shah <[email protected]> |
| 7602 |
|
| 7603 |
* .gitignore: Add a gitignore file for the project. |
| 7604 |
|
| 7605 |
2014-07-23 Darshit Shah <[email protected]> |
| 7606 |
|
| 7607 |
* testenv/test/base_test.py (BaseTest.gen_cmd_line): Add support for running all |
| 7608 |
tests through valgrind if the relevant environment variable is set |
| 7609 |
* testenv/conf/expected_ret_code (ExpectedRetCode.__call__): Valgrind returns error |
| 7610 |
code 45 when it detects a memory leak. |
| 7611 |
* testenv/Readme: Update with details about valgrind tests |
| 7612 |
|
| 7613 |
2014-07-23 Darshit Shah <[email protected]> |
| 7614 |
|
| 7615 |
* src/http.c (gethttp): Fix a memory leak when retrying authorization |
| 7616 |
(gethttp): Fix memory leak when trying to parse content disposition headers |
| 7617 |
(http_loop): Assigning a new value to *local)file without freeing the old |
| 7618 |
one causes a memory leak |
| 7619 |
(http_loop): Free the HTTP message and error strings before continuing loop |
| 7620 |
|
| 7621 |
2014-07-22 Darshit Shah <[email protected]> |
| 7622 |
|
| 7623 |
* testenv/(README): Remove old TODO and document SERVER_WAIT variable |
| 7624 |
|
| 7625 |
2014-07-22 Darshit Shah <[email protected]> |
| 7626 |
|
| 7627 |
* configure.ac: Fix broken code for detecting libpsl |
| 7628 |
|
| 7629 |
2014-07-21 Darshit Shah <[email protected]> |
| 7630 |
|
| 7631 |
* src/cookies.c (check_domain_match): Fix a potential memory leak when checking |
| 7632 |
cookie domain names |
| 7633 |
|
| 7634 |
2014-07-21 Darshit Shah <[email protected]> |
| 7635 |
|
| 7636 |
* configure.ac: Fix check for Libpsl |
| 7637 |
|
| 7638 |
2014-07-21 Daniel Stenberg <[email protected]> |
| 7639 |
|
| 7640 |
* src/main.c (print_help): HTTP Method is a part of the Request not Header |
| 7641 |
|
| 7642 |
2014-07-07 Tomas Hozza <[email protected]> |
| 7643 |
|
| 7644 |
* src/iri.c (locale_to_utf8): Fix checking of iconv_open return code. |
| 7645 |
|
| 7646 |
2014-07-05 Darshit Shah <[email protected]> |
| 7647 |
|
| 7648 |
* src/http.c (gethttp): Fix indentation of conditional block |
| 7649 |
(gethttp): Remove unneeded variable |
| 7650 |
|
| 7651 |
2014-07-05 Darshit Shah <[email protected]> |
| 7652 |
|
| 7653 |
* src/cookies.c (check_domain_match): Libpsl requires that all domain names |
| 7654 |
passed to it be in utf8 lower case. |
| 7655 |
|
| 7656 |
2014-07-03 Darshit Shah <[email protected]> |
| 7657 |
|
| 7658 |
* src/wget.h (uerr_t): Remove unused error codes |
| 7659 |
* src/http.c: (http_loop): Remove reference to unused error code |
| 7660 |
|
| 7661 |
2014-06-30 Giuseppe Scrivano <[email protected]> |
| 7662 |
|
| 7663 |
* src/convert.c (local_quote_string): Initialize newname. |
| 7664 |
|
| 7665 |
2014-06-29 Giuseppe Scrivano <[email protected]> |
| 7666 |
|
| 7667 |
* src/warc.c (warc_write_date_header): Avoid out-of-scope variable usage. |
| 7668 |
|
| 7669 |
2014-06-28 Giuseppe Scrivano <[email protected]> |
| 7670 |
|
| 7671 |
* src/Makefile.am (wget_SOURCES): Remove space-tab indentation. |
| 7672 |
|
| 7673 |
2014-06-28 Giuseppe Scrivano <[email protected]> |
| 7674 |
|
| 7675 |
* cfg.mk (local-checks-to-skip): Remove some checks. |
| 7676 |
|
| 7677 |
2014-06-27 Giuseppe Scrivano <[email protected]> |
| 7678 |
|
| 7679 |
* cfg.mk (VC_LIST_ALWAYS_EXCLUDE_REGEX): Ignore msdos/* and vms/* from |
| 7680 |
syntax-check. |
| 7681 |
|
| 7682 |
2014-06-22 Giuseppe Scrivano <[email protected]> |
| 7683 |
|
| 7684 |
* src/warc.c [HAVE_UUID_CREATE]: Include <uuid.h> |
| 7685 |
(warc_uuid_str) [HAVE_UUID_CREATE]: Use uuid_create and |
| 7686 |
uuid_to_string to generate the UUID. |
| 7687 |
Reported by: Alex Zimnitsky <[email protected]> |
| 7688 |
|
| 7689 |
2014-06-22 Giuseppe Scrivano <[email protected]> |
| 7690 |
|
| 7691 |
* configure.ac: Add check for uuid_create. |
| 7692 |
|
| 7693 |
2014-06-22 Darshit Shah <[email protected]> (tiny change) |
| 7694 |
|
| 7695 |
* src/progress.c (create_image): Align percentage download output better. |
| 7696 |
|
| 7697 |
2014-06-22 Darshit Shah <[email protected]> |
| 7698 |
|
| 7699 |
* testenv/(conf.files_crawled): diff is a set object and needs explicit str |
| 7700 |
conversion. |
| 7701 |
|
| 7702 |
2014-06-21 Nikita Vetrov <[email protected]> (tiny change) |
| 7703 |
|
| 7704 |
* src/openssl.c: Add one-time call OPENSSL_config in ssl_init. |
| 7705 |
|
| 7706 |
2014-06-21 Giuseppe Scrivano <[email protected]> |
| 7707 |
|
| 7708 |
* src/mswindows.c (fake_fork_child): Fix build error. |
| 7709 |
Reported by: Gisle Vanem <[email protected]>. |
| 7710 |
|
| 7711 |
2014-06-19 Giuseppe Scrivano <[email protected]> |
| 7712 |
|
| 7713 |
* src/mswindows.c (fake_fork_child): Revert dinamic allocation of |
| 7714 |
info->lfilename. |
| 7715 |
Reported by: Gisle Vanem <[email protected]>. |
| 7716 |
|
| 7717 |
2014-06-16 Giuseppe Scrivano <[email protected]> |
| 7718 |
|
| 7719 |
* src/http.c (gethttp): Set "Connection: Keep-Alive" with keep-alive |
| 7720 |
connections when using a proxy too. |
| 7721 |
Reported by: Thorsten Schroeteler <[email protected]>. |
| 7722 |
|
| 7723 |
2014-06-16 Darshit Shah <[email protected]> |
| 7724 |
|
| 7725 |
* src/test.c: Include locale.h header for gettext. |
| 7726 |
|
| 7727 |
2014-06-16 Darshit Shah <[email protected]> |
| 7728 |
|
| 7729 |
* src/main.c (print_help, print_version): Mark as noreturn. |
| 7730 |
* src/utils.c (memfatal, abort_run_with_timout): Same |
| 7731 |
|
| 7732 |
2014-06-11 Giuseppe Scrivano <[email protected]> |
| 7733 |
|
| 7734 |
* tests/Makefile.am: Remove @VAR@ with $FOO. |
| 7735 |
|
| 7736 |
* tests/FTPTest.pm: Remove terminating empty lines. |
| 7737 |
* tests/HTTPServer.pm: Likewise. |
| 7738 |
* tests/HTTPTest.pm: Likewise. |
| 7739 |
* tests/Test--httpsonly-r.px: Likewise. |
| 7740 |
* tests/Test--no-content-disposition-trivial.px: Likewise. |
| 7741 |
* tests/Test--no-content-disposition.px: Likewise. |
| 7742 |
* tests/Test--spider-fail.px: Likewise. |
| 7743 |
* tests/Test--spider-r--no-content-disposition-trivial.px: Likewise. |
| 7744 |
* tests/Test--spider-r--no-content-disposition.px: Likewise. |
| 7745 |
* tests/Test--spider-r-HTTP-Content-Disposition.px: Likewise. |
| 7746 |
* tests/Test--spider-r.px: Likewise. |
| 7747 |
* tests/Test--spider.px: Likewise. |
| 7748 |
* tests/Test--start-pos--continue.px: Likewise. |
| 7749 |
* tests/Test--start-pos.px: Likewise. |
| 7750 |
* tests/Test-E-k-K.px: Likewise. |
| 7751 |
* tests/Test-E-k.px: Likewise. |
| 7752 |
* tests/Test-HTTP-Content-Disposition-1.px: Likewise. |
| 7753 |
* tests/Test-HTTP-Content-Disposition-2.px: Likewise. |
| 7754 |
* tests/Test-HTTP-Content-Disposition.px: Likewise. |
| 7755 |
* tests/Test-N--no-content-disposition-trivial.px: Likewise. |
| 7756 |
* tests/Test-N--no-content-disposition.px: Likewise. |
| 7757 |
* tests/Test-N-HTTP-Content-Disposition.px: Likewise. |
| 7758 |
* tests/Test-N-current.px: Likewise. |
| 7759 |
* tests/Test-N-no-info.px: Likewise. |
| 7760 |
* tests/Test-N-old.px: Likewise. |
| 7761 |
* tests/Test-N-smaller.px: Likewise. |
| 7762 |
* tests/Test-N.px: Likewise. |
| 7763 |
* tests/Test-O--no-content-disposition-trivial.px: Likewise. |
| 7764 |
* tests/Test-O--no-content-disposition.px: Likewise. |
| 7765 |
* tests/Test-O-HTTP-Content-Disposition.px: Likewise. |
| 7766 |
* tests/Test-O-nc.px: Likewise. |
| 7767 |
* tests/Test-O-nonexisting.px: Likewise. |
| 7768 |
* tests/Test-O.px: Likewise. |
| 7769 |
* tests/Test-Restrict-Lowercase.px: Likewise. |
| 7770 |
* tests/Test-Restrict-Uppercase.px: Likewise. |
| 7771 |
* tests/Test-auth-basic.px: Likewise. |
| 7772 |
* tests/Test-auth-no-challenge-url.px: Likewise. |
| 7773 |
* tests/Test-auth-no-challenge.px: Likewise. |
| 7774 |
* tests/Test-auth-with-content-disposition.px: Likewise. |
| 7775 |
* tests/Test-c-full.px: Likewise. |
| 7776 |
* tests/Test-c-partial.px: Likewise. |
| 7777 |
* tests/Test-c-shorter.px: Likewise. |
| 7778 |
* tests/Test-c.px: Likewise. |
| 7779 |
* tests/Test-cookies-401.px: Likewise. |
| 7780 |
* tests/Test-cookies.px: Likewise. |
| 7781 |
* tests/Test-ftp--start-pos.px: Likewise. |
| 7782 |
* tests/Test-ftp-bad-list.px: Likewise. |
| 7783 |
* tests/Test-ftp-iri-disabled.px: Likewise. |
| 7784 |
* tests/Test-ftp-iri-fallback.px: Likewise. |
| 7785 |
* tests/Test-ftp-iri-recursive.px: Likewise. |
| 7786 |
* tests/Test-ftp-iri.px: Likewise. |
| 7787 |
* tests/Test-ftp-list-Multinet.px: Likewise. |
| 7788 |
* tests/Test-ftp-list-UNIX-hidden.px: Likewise. |
| 7789 |
* tests/Test-ftp-list-Unknown-a.px: Likewise. |
| 7790 |
* tests/Test-ftp-list-Unknown-hidden.px: Likewise. |
| 7791 |
* tests/Test-ftp-list-Unknown-list-a-fails.px: Likewise. |
| 7792 |
* tests/Test-ftp-list-Unknown.px: Likewise. |
| 7793 |
* tests/Test-ftp-pasv-fail.px: Likewise. |
| 7794 |
* tests/Test-ftp-recursive.px: Likewise. |
| 7795 |
* tests/Test-ftp.px: Likewise. |
| 7796 |
* tests/Test-i-ftp.px: Likewise. |
| 7797 |
* tests/Test-i-http.px: Likewise. |
| 7798 |
* tests/Test-idn-cmd-utf8.px: Likewise. |
| 7799 |
* tests/Test-idn-cmd.px: Likewise. |
| 7800 |
* tests/Test-idn-headers.px: Likewise. |
| 7801 |
* tests/Test-idn-meta.px: Likewise. |
| 7802 |
* tests/Test-idn-robots-utf8.px: Likewise. |
| 7803 |
* tests/Test-idn-robots.px: Likewise. |
| 7804 |
* tests/Test-iri-disabled.px: Likewise. |
| 7805 |
* tests/Test-iri-forced-remote.px: Likewise. |
| 7806 |
* tests/Test-iri-list.px: Likewise. |
| 7807 |
* tests/Test-iri-percent.px: Likewise. |
| 7808 |
* tests/Test-iri.px: Likewise. |
| 7809 |
* tests/Test-k.px: Likewise. |
| 7810 |
* tests/Test-meta-robots.px: Likewise. |
| 7811 |
* tests/Test-nonexisting-quiet.px: Likewise. |
| 7812 |
* tests/Test-noop.px: Likewise. |
| 7813 |
* tests/Test-np.px: Likewise. |
| 7814 |
* tests/Test-proxy-auth-basic.px: Likewise. |
| 7815 |
* tests/Test-restrict-ascii.px: Likewise. |
| 7816 |
* tests/Test-stdouterr.px: Likewise. |
| 7817 |
* tests/WgetTest.pm.in: Likewise. |
| 7818 |
|
| 7819 |
2014-06-11 Giuseppe Scrivano <[email protected]> |
| 7820 |
|
| 7821 |
* src/ftp.c: Replace main() with main in comments. |
| 7822 |
* src/http.c: Likewise. |
| 7823 |
* src/init.c: Likewise. |
| 7824 |
|
| 7825 |
* src/cmpt.c (day_of_the_week): Remove repeated word in a comment. |
| 7826 |
* src/utils.c: Remove repeated word in a comment. |
| 7827 |
|
| 7828 |
* src/gnutls.c: Do not include <assert.h>. |
| 7829 |
|
| 7830 |
* src/connect.c: Do not depend on always defined macros. |
| 7831 |
* src/convert.c: Likewise. |
| 7832 |
* src/css-url.c: Likewise. |
| 7833 |
* src/hash.c: Likewise. |
| 7834 |
* src/mswindows.h: Likewise. |
| 7835 |
* src/netrc.c: Likewise. |
| 7836 |
* src/progress.c: Likewise. |
| 7837 |
* src/sysdep.h: Likewise. |
| 7838 |
* src/utils.c: Likewise. |
| 7839 |
* src/wget.h: Likewise. |
| 7840 |
|
| 7841 |
* src/Makefile.am: Remove @VAR@ with $FOO. |
| 7842 |
|
| 7843 |
* src/DESCRIP_MODS.MMS: Remove terminating empty lines. |
| 7844 |
* src/DESCRIP_SRC.MMS: Likewise. |
| 7845 |
* src/convert.c: Likewise. |
| 7846 |
* src/exits.c: Likewise. |
| 7847 |
* src/http.c: Likewise. |
| 7848 |
* src/init.c: Likewise. |
| 7849 |
* src/iri.c: Likewise. |
| 7850 |
* src/res.c: Likewise. |
| 7851 |
* src/spider.c: Likewise. |
| 7852 |
* src/test.c: Likewise. |
| 7853 |
* src/test.h |
| 7854 |
* src/url.c: Likewise. |
| 7855 |
* src/utils.c: Likewise. |
| 7856 |
* src/vms.c: Likewise. |
| 7857 |
|
| 7858 |
* src/decc_ver.c (main): Ensure bindtextdomain is called. |
| 7859 |
* src/hash.c (main): Likewise. |
| 7860 |
* src/html-parse.c: Likewise. |
| 7861 |
* src/netrc.c: Likewise. |
| 7862 |
* src/test.c: Likewise. |
| 7863 |
* src/trunc.c: Likewise. |
| 7864 |
|
| 7865 |
2014-06-11 Giuseppe Scrivano <[email protected]> |
| 7866 |
|
| 7867 |
* msdos/Makefile.DJ: Remove terminating empty lines. |
| 7868 |
* msdos/Makefile.WC: Likewise. |
| 7869 |
* msdos/msdos.c: Likewise. |
| 7870 |
|
| 7871 |
2014-06-11 Giuseppe Scrivano <[email protected]> |
| 7872 |
|
| 7873 |
* doc/Makefile.am: Remove @VAR@ with $FOO. |
| 7874 |
|
| 7875 |
* doc/fdl.texi: Remove terminating empty lines. |
| 7876 |
|
| 7877 |
2014-06-11 Giuseppe Scrivano <[email protected]> |
| 7878 |
|
| 7879 |
* NEWS: Remove repeated word. |
| 7880 |
|
| 7881 |
* po/POTFILES.in: Add lib/regcomp.c. |
| 7882 |
|
| 7883 |
* configure.ac: Do not depend on always defined macros. |
| 7884 |
* vms/vms.h: Likewise. |
| 7885 |
|
| 7886 |
* Makefile.am: Remove @VAR@ with $FOO. |
| 7887 |
* util/Makefile.am: Likewise. |
| 7888 |
|
| 7889 |
* ABOUT-NLS: Remove terminating empty lines. |
| 7890 |
* MAILING-LIST: Likewise. |
| 7891 |
* util/rmold.pl: Likewise. |
| 7892 |
|
| 7893 |
* util/trunc.c (main): Ensure bindtextdomain is called. |
| 7894 |
|
| 7895 |
2014-06-10 Giuseppe Scrivano <[email protected]> |
| 7896 |
|
| 7897 |
* src/wget.h: Remove trailing whitespaces. |
| 7898 |
|
| 7899 |
* src/retr.c (getproxy): Return a dinamically allocated string and... |
| 7900 |
(retrieve_from_file, retrieve_url, url_uses_proxy): ...fix the caller |
| 7901 |
to handle it. |
| 7902 |
* src/init.c (home_dir): Replace strncpy with strdup. |
| 7903 |
* src/mswindows.c (struct fake_fork_info): Make lfilename a pointer. |
| 7904 |
(fake_fork_child): Replace strncpy with strdup. |
| 7905 |
* src/http.c (ensure_extension): Replace strncpy with memcpy, not much |
| 7906 |
better but make "make syntax-check" happy and we know the size. |
| 7907 |
* src/ftp.c (getftp): Add parameter last_expected_bytes. |
| 7908 |
(ftp_loop_internal): Pass parameter last_expected_bytes to getftp. |
| 7909 |
* src/ftp-basic.c: Remove declaration of ftp_last_respline. |
| 7910 |
(ftp_response): Do not set ftp_last_respline. |
| 7911 |
* src/css-url.c (get_uri_string): Replace strncpy with strdup. |
| 7912 |
* src/vms.c (set_vms_name): Replace strncpy with strdup. |
| 7913 |
|
| 7914 |
* src/exits.c: Move WGET_EXIT_* definitions to... |
| 7915 |
* src/exits.h: ...here. Add WGET_EXIT_GENERIC_ERROR, WGET_EXIT_PARSE_ERROR. |
| 7916 |
Remove WGET_EXIT_MINIMUM. |
| 7917 |
* src/init.c: Fix calls to exit(). |
| 7918 |
* src/log.c: Likewise. |
| 7919 |
* src/main.c: Likewise. |
| 7920 |
* src/mswindows.c: Likewise. |
| 7921 |
* src/netrc.c: Likewise. |
| 7922 |
* src/utils.c: Likewise. |
| 7923 |
* src/warc.c: Likewise. |
| 7924 |
* src/Test-stdouterr.px: Likewise. |
| 7925 |
|
| 7926 |
2014-06-10 Giuseppe Scrivano <[email protected]> |
| 7927 |
|
| 7928 |
* doc/wget.texi: Remove trailing whitespaces. |
| 7929 |
|
| 7930 |
* doc/fdl.texi: Copy from gnulib. |
| 7931 |
|
| 7932 |
2014-06-10 Giuseppe Scrivano <[email protected]> |
| 7933 |
|
| 7934 |
* build-aux/build_info.pl: Remove trailing whitespaces. |
| 7935 |
* configure.ac: Likewise. |
| 7936 |
|
| 7937 |
2014-06-08 Giuseppe Scrivano <[email protected]> |
| 7938 |
|
| 7939 |
* src/main.c: Make `program_name' not static. |
| 7940 |
|
| 7941 |
* src/cookies.c [HAVE_PSL]: Include <libpsl.h> only when HAVE_PSL is defined. |
| 7942 |
|
| 7943 |
2014-05-30 Darshit Shah <[email protected]> |
| 7944 |
|
| 7945 |
* src/cookies.c (check_domain_match): Use libpsl to check if the cookie domain |
| 7946 |
is valid. Also remove unneeded test for numeric addresses. |
| 7947 |
|
| 7948 |
2014-05-30 Darshit Shah <[email protected]> |
| 7949 |
|
| 7950 |
* src/connect.{c,h}, convert.{c,h}, cookies.{c,h}, ftp-ls.c, ftp.h, gettext.h, |
| 7951 |
hash.h, host.h, html-parse.h, html-url.h, http.c, init.c, main.c, mswindows.c, |
| 7952 |
netrc.h, openssl.c, options.h, ptimer.h, recur.c, retr.c, sysdep.h, url.h, |
| 7953 |
vms.c, warc.c, wget.h: Whitespace and formatting changes only. |
| 7954 |
|
| 7955 |
2014-05-30 Darshit Shah <[email protected]> |
| 7956 |
|
| 7957 |
* configure.ac: Allow compilation without libpsl. |
| 7958 |
* README.checkout: Add libpsl as a dependency. |
| 7959 |
|
| 7960 |
2014-05-24 Giuseppe Scrivano <[email protected]> |
| 7961 |
|
| 7962 |
* gnulib: update module. |
| 7963 |
|
| 7964 |
2014-05-24 Darshit Shah <[email protected]> |
| 7965 |
|
| 7966 |
* doc/wget.texi: Document noscroll parameter to progress=bar |
| 7967 |
|
| 7968 |
2014-05-20 Darshit Shah <[email protected]> |
| 7969 |
|
| 7970 |
* src/utils.c (human_readable): Add new parameters, acc and decimals for the |
| 7971 |
function. acc decides the number under which decimal values are shown for a |
| 7972 |
certain value, while decimals decides the number of decimal digits displayed |
| 7973 |
* src/utils.h (human_readable): Update declartion of the function |
| 7974 |
* src/ftp.c (print_length): Update call to human_readable |
| 7975 |
* src/http.c (gethttp): Same |
| 7976 |
* src/init.c (defaults): Enable scrolling filenames by default |
| 7977 |
* src/main.c (main): Update call to human_readable |
| 7978 |
* src/options.h (options): Add new option noscroll |
| 7979 |
* src/progress.c (create_image): Update the look of the progress bar. Human |
| 7980 |
readable download size by default and add support for noscroll. |
| 7981 |
(dot_set_params, bar_set_params): Change paramter to char * since strtok |
| 7982 |
needs to modify the string. |
| 7983 |
(bar_set_params): Add support for noscroll parameter to bar. |
| 7984 |
|
| 7985 |
2014-05-03 Tim Ruehsen <[email protected]> |
| 7986 |
|
| 7987 |
* src/retr.c (retrieve_url): fixed memory leak |
| 7988 |
|
| 7989 |
2014-05-03 Tim Ruehsen <[email protected]> |
| 7990 |
|
| 7991 |
* src/ftp-ls.c (ftp_parse_vms_ls): Explicitly typecast strlen's output |
| 7992 |
* src/ftp.c (getftp): Prevent declaration of shadow variable |
| 7993 |
* src/html-url.c (tag_handle_base, tag_handle_form, tag_handle_link, |
| 7994 |
tag_handle_meta): Compiler directive to ignore unused variable |
| 7995 |
* src/html-url.h (cleanup_html_url): Add function declaration |
| 7996 |
* src/http-ntlm.c (ntlm_input, mkhash): Use ssize_t to declare variables that store |
| 7997 |
sizes. |
| 7998 |
(mkhash): Explicitly typecast output of c_toupper |
| 7999 |
(short_pair): Add typecasts to prevent compiler warnings |
| 8000 |
(ntlm-output): Fix datatypes of various variables |
| 8001 |
* src/http.c (gethttp): Prevent declaration of shadow variable err |
| 8002 |
(gethttp): remove unreachable code |
| 8003 |
(test_parse_content_disposition): Fix variable declarations and use |
| 8004 |
countof() macro |
| 8005 |
* src/init.c (run_command): Prevent declaration of ghost variable |
| 8006 |
(cmd_string, cmd_string_uppercase, cmd_file, cnd_vector, |
| 8007 |
cmd_directory_vector, cmd_spec_dirstruct, cmd_spec_header, |
| 8008 |
cmd_spec_warc_header, cmd_spec_htmlify, cmd_spec_mirror, |
| 8009 |
cmd_spec_prefer_family, cmd_spec_progress, cmd_spec_recursive, |
| 8010 |
cmd_spec_regex_type, cmd_spec_restrict_file_names, cmd_spec_report_speed, |
| 8011 |
cmd_spec_timeout, cmd_spec_useragent, cmd_spec_verbose): Add compiler |
| 8012 |
directive to ignore unused variable |
| 8013 |
(cleanup_html_url, spider_cleanup): Remove declarations |
| 8014 |
(test_commands_sorted): Cleanup code |
| 8015 |
(test_cmd_spec_restrict_file_names): Use correct data types |
| 8016 |
* src/iri.c (remote_to_utf8): Use more verbose variable name |
| 8017 |
* src/main.c (init_switches): Prevent declaration of ghost variable |
| 8018 |
* src/netrc.c (netrc_cleanup): Create cleanup function on common naming scheme |
| 8019 |
* src/netrc.h (netrc_cleanup): Declare function |
| 8020 |
* src/openssl.c (openssl_write, openssl_errstr): Compiler directive to ignore |
| 8021 |
unused parameter |
| 8022 |
(openssl_errstr): Explcicitly typecasr output of ASN1_STRING_length |
| 8023 |
* src/options.h (struct options): Declare includes and excludes as const char ** |
| 8024 |
* src/progress.c (progress_interactive_p, progress_handle_sigwinch): Compiler |
| 8025 |
directive to ignore unused parameter |
| 8026 |
* src/res.c (test_is_robots_txt_url): Fix datatypes |
| 8027 |
* src/retr.c (line_terminator): Add compiler directive for ignoring unused |
| 8028 |
paramter. Remove unused variable. |
| 8029 |
* src/spider.h (spider_cleanup): Declare function |
| 8030 |
* src/test,c (main): declare unused paramter |
| 8031 |
* src/test.h (test_*): Declare functions |
| 8032 |
* src/url.c (url_string): Explicit typecast of password strings |
| 8033 |
(run_test): Declare *test, struct tests and *expected_result as const |
| 8034 |
(test_path_simplify, test_append_uri_pathl, test_are_urls_equal): Fix datatypes |
| 8035 |
* src/utls.c (fork_to_background): Be more verbose when errors occur |
| 8036 |
(dir_matches_p, test_dir_matches_p): Declare char * as const as required |
| 8037 |
(base64_encode, base64_decode, get_max_length): Set correct return type |
| 8038 |
(match_pcre_regex, match_posix_regex): Use correct datatypes and typecasts |
| 8039 |
(test_subdir_p): static const struct |
| 8040 |
* src/utils.h (base64_encode, base64_decode, get_max_length): Fix return type |
| 8041 |
* src/warc.c (ward_write_cdx_record): unused parameter |
| 8042 |
(struct hash_table *warc_cdx_dedup_table): Declare as static |
| 8043 |
|
| 8044 |
2014-05-01 Darshit Shah <[email protected]> (tiny change) |
| 8045 |
|
| 8046 |
* src/progress.c (dot_finish): Do not print extra newlines when not in verbose |
| 8047 |
mode. (Purely aesthetic change) |
| 8048 |
(get_eta): Add extra space when eta is printed. |
| 8049 |
(create_image): Remove erroneous space from being added to progress bar when |
| 8050 |
filename > MAX_FILENAME_LEN |
| 8051 |
(create_image): Remove extra space before printed download speeds |
| 8052 |
Make the filename a fixed width column. |
| 8053 |
|
| 8054 |
2014-05-01 Darshit Shah <[email protected]> |
| 8055 |
|
| 8056 |
* doc/wget.texi: Add documentation for --show-progress |
| 8057 |
|
| 8058 |
2014-05-01 Benjamin Goose <[email protected]> |
| 8059 |
|
| 8060 |
* src/http.c: Fix small memory leak |
| 8061 |
|
| 8062 |
2014-04-22 Tim Ruehsen <[email protected]> |
| 8063 |
|
| 8064 |
* src/http.c (gethttp): Fix 204 response handling |
| 8065 |
|
| 8066 |
* tests/Test-204.px: added file |
| 8067 |
* tests/run-px: added Test-204.px |
| 8068 |
* tests/Makefile.am: added Test-204.px |
| 8069 |
|
| 8070 |
|
| 8071 |
2014-04-22 Giuseppe Scrivano <[email protected]> |
| 8072 |
|
| 8073 |
* tests/Makefile.am (EXTRA_DIST): Add missing Test--start-pos.px, |
| 8074 |
Test-ftp--start-pos.px and Test--start-pos--continue.px. |
| 8075 |
|
| 8076 |
2014-04-19 Darshit Shah <[email protected]> |
| 8077 |
|
| 8078 |
* src/log.h (log_options): Add new logging options, LOG_PROGRESS. All progress |
| 8079 |
bar related output should use LOG_PROGRESS. |
| 8080 |
* src/log.c (CHECK_VERBOSE): Implement LOG_PROGRESS output |
| 8081 |
* src/progress.c (dot_create, print_row_stats, dot_update, dot_finish, |
| 8082 |
bar_finish, display_image): Output progress information through LOG_PROGRESS |
| 8083 |
(progress_implementation, dot_create, bar_create, progress_create): The |
| 8084 |
progress bar create functions accept an extra paramter for the filename of the |
| 8085 |
local file |
| 8086 |
(bar_progress): Add new variable to store filename of currently downloading |
| 8087 |
file |
| 8088 |
(bar_finish): Aesthetic change. Print two newlines if in verbose mode, else |
| 8089 |
only one. |
| 8090 |
(MACRO): Define new macro, MIN |
| 8091 |
(create_image): Implement displaying filename in progress bar output |
| 8092 |
Filename tick implementation copied from Giuseppe's patch on parallel-wget |
| 8093 |
* src/progress.h (progress_create): Accept another parameter for filename |
| 8094 |
* src/http.c (gethttp): Remove unnecessary conditional |
| 8095 |
(read_response_body): Send local filename to fd_read_body so that it can be |
| 8096 |
printed on the progress bar |
| 8097 |
* src/main.c (option_data): Add new switch, --show-progress |
| 8098 |
(main): If in verbose output, show progress bar by default |
| 8099 |
(main): Set progress implemetation when displaying progress bar |
| 8100 |
(no_prefix): Increase buffer size to 2048 to prevent overflows |
| 8101 |
* src/init.c (commands): Add new command, showprogress |
| 8102 |
(defaults): By default initialize show_progress to false |
| 8103 |
* src/options.h (options): Add new option, show_progress |
| 8104 |
* src/retr.c (fd_read_body): Accept new parameter for filename of currently |
| 8105 |
downlaoding file |
| 8106 |
(fd_read_body): Create and update progress bar when opt.show_progress is set |
| 8107 |
(fd_read_body): Display progress information in Windows console titlebars |
| 8108 |
* src/retr.h (fd_read_body): Update declaration |
| 8109 |
* src/ftp.c (getftp): Send filename of the local file so that it can be printed |
| 8110 |
with the progress bar. |
| 8111 |
|
| 8112 |
2014-03-26 Darshit Shah <[email protected]> |
| 8113 |
|
| 8114 |
* src/ftp.c (getftp): Rearrange parameters to fix compiler warning |
| 8115 |
* src/utils.c (get_dir_matches_p): Do not pass a const char** to a function that |
| 8116 |
expects char** |
| 8117 |
|
| 8118 |
2014-03-25 Daniel Stenberg <[email protected]> |
| 8119 |
|
| 8120 |
* src/url.c (shorten_length): Remove unused function. |
| 8121 |
|
| 8122 |
2014-03-19 Yousong Zhou <[email protected]> |
| 8123 |
|
| 8124 |
* src/init.c, main.c, options.h: Add option --start-pos for specifying |
| 8125 |
start position of a download. |
| 8126 |
* src/http.c: Utilize opt.start_pos for HTTP download. |
| 8127 |
* src/ftp.c: Utilize opt.start_pos for FTP retrieval. |
| 8128 |
|
| 8129 |
2014-03-13 Zihang Chen <[email protected]> |
| 8130 |
|
| 8131 |
* testenv/test: (new package) package for test case classes |
| 8132 |
* testenv/WgetTest.py: Split into test/base_test.py and test/http_test.py. |
| 8133 |
* testenv/Test-*.py: Optimize the imports according to changes of WgetTest.py |
| 8134 |
|
| 8135 |
2014-03-13 Zihang Chen <[email protected]> |
| 8136 |
|
| 8137 |
* testenv/server: (new package) package for the server classes |
| 8138 |
* testenv/server.http: (new package) package for HTTP server |
| 8139 |
* testenv/server.ftp: (new package) package for FTP server |
| 8140 |
* testenv/HTTPServer.py: Move to server/http/http_server.py. Also change the |
| 8141 |
CERTFILE to '../certs/wget-cert.pem'. |
| 8142 |
* testenv/FTPServer.py: Move to server/ftp/ftp_server.py. |
| 8143 |
* testenv/WgetTest.py: Optimize import respect to the server classes. |
| 8144 |
|
| 8145 |
2014-03-13 Zihang Chen <[email protected]> |
| 8146 |
|
| 8147 |
* testenv/misc: (new package) package for miscellaneous modules |
| 8148 |
* testenv/ColourTerm.py: Move to package misc and rename to colour_terminal.py, |
| 8149 |
add print_color functions to reduce the use of string literals like |
| 8150 |
"BLUE", "RED" etc. |
| 8151 |
* testenv/WgetTest.py: |
| 8152 |
(CommonMethods.Server_setup): Change invocation to printer to print_blue. |
| 8153 |
(CommonMethods.FilesCrawled): Change invocation to printer to print_red. |
| 8154 |
(HTTPTest.__init__): Change invocations to printer to print_red and |
| 8155 |
print_green respectively. |
| 8156 |
|
| 8157 |
2014-03-13 Zihang Chen <[email protected]> |
| 8158 |
|
| 8159 |
* testenv/exc: (new package) package for miscellaneous exceptions |
| 8160 |
* testenv/WgetTest.py: Move TestFailed to exc/test_failed.py. |
| 8161 |
|
| 8162 |
2014-03-13 Zihang Chen <[email protected]> |
| 8163 |
|
| 8164 |
* testenv/conf: (new package) package for rule classes and hook methods |
| 8165 |
* testenv/WgetTest.py: |
| 8166 |
(CommonMethods.Authentication): Move to conf/authentication.py. |
| 8167 |
(CommonMethods.ExpectHeader): Move to conf/expect_header.py. |
| 8168 |
(CommonMethods.RejectHeader): Move to conf/reject_header.py. |
| 8169 |
(CommonMethods.Response): Move to conf/response.py. |
| 8170 |
(CommonMethods.SendHeader): Move to conf/send_header.py. |
| 8171 |
(CommonMethods.ServerFiles): Move to conf/server_files.py. |
| 8172 |
(CommonMethods.LocalFiles): Move to conf/local_files.py. |
| 8173 |
(CommonMethods.ServerConf): Move to conf/server_conf.py. |
| 8174 |
(CommonMethods.WgetCommands): Move to conf/wget_commands.py. |
| 8175 |
(CommonMethods.Urls): Move to conf/urls.py. |
| 8176 |
(CommonMethods.ExpectedRetcode): Move to conf/expected_retcode.py. |
| 8177 |
(CommonMethods.ExpectedFiles): Move to conf/expected_files.py. |
| 8178 |
(CommonMethods.FilesCrawled): Move to conf/files_crawled.py. |
| 8179 |
(CommonMethods.__check_downloaded_files): Rename to |
| 8180 |
_check_downloaded_files, so that the method is callable from outside the |
| 8181 |
class. |
| 8182 |
(CommomMethods.get_server_rules): Modify so that it utilizes the conf |
| 8183 |
package. |
| 8184 |
(HTTPTest): Add a method hook_call(configs, name) to reduce duplications |
| 8185 |
in pre_hook_call, call_test and post_hook_call utilizing the conf package. |
| 8186 |
* testenv/conf/hook_sample.py: (new file) sample for hooks |
| 8187 |
* testenv/conf/rule_sample.py: (new file) sample for rules |
| 8188 |
* testenv/REAMDE: Update sections about customizing rules and hooks. |
| 8189 |
|
| 8190 |
2014-03-13 Zihang Chen <[email protected]> |
| 8191 |
|
| 8192 |
* testenv/base_test.py: |
| 8193 |
(CommonMethods): Rename to BaseTest. |
| 8194 |
(BaseTest): Implement __init__ method where the class-wide variables are |
| 8195 |
initialized. Also variable names like `xxx_list` is renamed to its plural |
| 8196 |
form, e.g. `server_list` => `servers`. |
| 8197 |
(BaseTest.init_test_env): Remove name argument due to its unnecessarity. |
| 8198 |
(BaseTest.get_test_dir): Because the path of the test directory is needed |
| 8199 |
in multiple methods, this method is implemented. |
| 8200 |
(BaseTest.get_domain_addr): Rewrite the return statement utilizing str |
| 8201 |
formatting (which is more Pythonic). |
| 8202 |
(BaseTest.get_cmd_line): Rename to gen_cmd_line. Change the variables with |
| 8203 |
capitcal characters to lower ones. Also, the nested for loop is rewritten |
| 8204 |
to a plain loop using the zip function. |
| 8205 |
(BaseTest.__gen_local_filesys): Rename to gen_local_fs_snapshot. Move to |
| 8206 |
ExpectedFiles in conf/expected_files.py and is marked as a static |
| 8207 |
method. Refactor to a less verbose implementation. |
| 8208 |
(BaseTest._check_downloaded_files): Rename to __call__ to agree with the |
| 8209 |
invocation in test case classes. Move to ExpectedFiles in |
| 8210 |
conf/expected_files.py. |
| 8211 |
(BaseTest.get_server_rules): Refactor to a more Pythonic form utilizing |
| 8212 |
dict.items() and is marked static. |
| 8213 |
(BaseTest.stop_server): (new method) an abstract method which should stop |
| 8214 |
the currently using servers. |
| 8215 |
(BaseTest.instantiate_server_by): (new method) an abstract method which |
| 8216 |
should instantiate a server instance according to the given argument. |
| 8217 |
(BaseTest.__enter__): (new method) method which initialize the context |
| 8218 |
manager |
| 8219 |
(BaseTest.__exit__): (new method) method that finilize the context manager |
| 8220 |
and deal with the exceptions during the execution of the with statement, |
| 8221 |
subclasses can override this method for extensibility |
| 8222 |
* testenv/http_test.py: |
| 8223 |
(HTTPTest.__init__): Add call to super.__init__. Default values of |
| 8224 |
pre_hook, test_params, post_hook are set to None to avoid a subtle bug of |
| 8225 |
Python. Argument servers is renamed to protocols. |
| 8226 |
(HTTPTest.Server_setup): Move to BaseTest and rename to server_setup. |
| 8227 |
Calls to pre_hook_call, call_test, post_hook_call are removed. |
| 8228 |
(HTTPTest.hook_call, pre_hook_call, call_test, post_hook_call): Move to |
| 8229 |
BaseTest for that both HTTP test cases and FTP test cases may use these |
| 8230 |
methods. |
| 8231 |
(HTTPTest.init_HTTP_Server, init_HTTPS_Server): Merge and rename to |
| 8232 |
instantiate_server_by to implement the abstract method in BaseTest. |
| 8233 |
(HTTPTest.stop_HTTP_Server): Rename to stop_server to implement the |
| 8234 |
abstract method in BaseTest. Also, pull out the part where remaining |
| 8235 |
requests are gathered into a new method request_remaining. |
| 8236 |
(BaseTest.act_retcode): Rename to ret_code because ExpectedRetCode is |
| 8237 |
moved out from BaseTest, so the name act_retcode is actually a bit |
| 8238 |
verbose. |
| 8239 |
* testenv/conf/expected_ret_code.py: |
| 8240 |
(ExpectedRetCode.__call__): Rewrite the str into a more readable form. |
| 8241 |
* testenv/conf/files_crawled.py: |
| 8242 |
(FilesCrawled.__call__): Refactor this method into a more Pythonic form |
| 8243 |
utilizing the zip function. |
| 8244 |
* testenv/conf/local_files.py: |
| 8245 |
(LocalFiles__call__): Rewrite this method with the recommended with |
| 8246 |
statement. |
| 8247 |
* testenv/conf/server_conf.py: |
| 8248 |
(ServerConf.__call__): Rewrite this method due to BaseTest.server_list is |
| 8249 |
renamed to BaseTest.servers. |
| 8250 |
* testenv/conf/server_files.py: |
| 8251 |
(ServerFiles.__call__): Refactor the nested for loop into a plain one |
| 8252 |
utilizing the zip function. |
| 8253 |
* testenv/conf/urls.py: |
| 8254 |
(URLs): Rename url_list to urls. |
| 8255 |
* testenv/conf/wget_commands.py: |
| 8256 |
(WgetCommands): Rename command_list to commands, rename test_obj.options |
| 8257 |
to test_obj.wget_options. |
| 8258 |
* testenv/Test--https.py, Test-Proto.py, Test-Parallel-Proto.py: Argument servers |
| 8259 |
is changed to protocols due to change in the signature of |
| 8260 |
HTTPTest.__init__. |
| 8261 |
|
| 8262 |
2014-03-13 Zihang Chen <[email protected]> |
| 8263 |
|
| 8264 |
* testenv/WgetTest.py: Move WgetFile to package misc. |
| 8265 |
* testenv/README: Modify documentation respect to WgetFile. |
| 8266 |
* testenv/Test-*.py: Optimize imports about WgetFile. |
| 8267 |
|
| 8268 |
2014-03-13 Zihang Chen <[email protected]> |
| 8269 |
|
| 8270 |
* testenv/Test-Proto.py: Fix a typo (line 71: server to servers). |
| 8271 |
|
| 8272 |
2014-03-04 Giuseppe Scrivano <[email protected]> |
| 8273 |
|
| 8274 |
* src/http.c (modify_param_value, extract_param): Aesthetic change. |
| 8275 |
|
| 8276 |
2014-02-24 Yousong Zhou <[email protected]> (tiny change) |
| 8277 |
|
| 8278 |
* tests/tests/Test--httpsonly-r.px: Add feature constraint on https. |
| 8279 |
|
| 8280 |
2014-02-24 Giuseppe Scrivano <[email protected]> |
| 8281 |
|
| 8282 |
* gnulib: update module. |
| 8283 |
Reported by: Darshit Shah <[email protected]>. |
| 8284 |
|
| 8285 |
2014-02-14 Vladimír Pýcha <[email protected]> (tiny change) |
| 8286 |
|
| 8287 |
* src/http.c (parse_content_disposition, extract_param) |
| 8288 |
(append_value_to_filename, digest_authentication_encode): URL-decode the |
| 8289 |
filename parameter of Content-Disposition HTTP header if it is encoded. This |
| 8290 |
is related to --content-disposition. |
| 8291 |
New parameter of extract_param(), "is_url_encoded". |
| 8292 |
Add argument NULL to the call of extract_param() in |
| 8293 |
digest_authentication_encode(). |
| 8294 |
* src/http.h: Add the new parameter to the declaration of extract_param(). |
| 8295 |
* src/cookies.c (parse_set_cookie, test_cookies): Add argument NULL to the calls |
| 8296 |
of extract_param(). |
| 8297 |
* src/url.c (url_unescape): Remove "static" modifier. |
| 8298 |
* src/url.h: Add declaration of url_unescape(). |
| 8299 |
|
| 8300 |
2014-02-13 Yousong Zhou <[email protected]> |
| 8301 |
|
| 8302 |
* tests/Wget.pm.in: Exclude existing files from the check of unexpected |
| 8303 |
downloads. |
| 8304 |
|
| 8305 |
2014-02-13 Yousong Zhou <[email protected]> |
| 8306 |
|
| 8307 |
* tests/Test--start-pos.px: Test --start-pos for HTTP downloads. |
| 8308 |
* tests/Test-ftp--start-pos.px: Test --start-pos for FTP downloads. |
| 8309 |
* tests/Test--start-pos--continue.px: Test the case when --start-pos and |
| 8310 |
--continue were both specified. |
| 8311 |
|
| 8312 |
2014-02-13 Yousong Zhou <[email protected]> |
| 8313 |
|
| 8314 |
* tests/FTPServer.pm: Fix the handling of TYPE command and avoid endless |
| 8315 |
loop when doing binary mode RETR. |
| 8316 |
|
| 8317 |
2014-02-10 Yousong Zhou <[email protected]> |
| 8318 |
|
| 8319 |
* doc/wget.texi: Add documentation for --start-pos. |
| 8320 |
|
| 8321 |
2014-02-06 Giuseppe Scrivano <[email protected]> |
| 8322 |
|
| 8323 |
* src/main.c (print_version): Move copyright year out of the localized |
| 8324 |
string and update it. |
| 8325 |
|
| 8326 |
2014-02-06 Giuseppe Scrivano <[email protected]> |
| 8327 |
|
| 8328 |
* configure.ac: Update copyright years. |
| 8329 |
|
| 8330 |
2014-01-29 Darshit Shah <[email protected]> |
| 8331 |
|
| 8332 |
* src/main.c: Remove pre-processor variable WHEN_DEBUG |
| 8333 |
(option_data[]): Do not fail on --debug even if debug support is not |
| 8334 |
compiled in. |
| 8335 |
(main): Explicitly set opt.debug to false in case debugging support was not |
| 8336 |
compiled. |
| 8337 |
* src/init.c (commands[]): Support --debug wven when support is not compiled in. |
| 8338 |
* src/options.h: Same |
| 8339 |
|
| 8340 |
2014-01-23 Lars Wendler <[email protected]> (tiny change) |
| 8341 |
|
| 8342 |
* tests/Test--post-file.px: Do not fail when wget has no debug support. |
| 8343 |
|
| 8344 |
2014-01-17 Darshit Shah <[email protected]> |
| 8345 |
|
| 8346 |
* src/init.c (commands[]): Add --no-config. |
| 8347 |
* src/options.h: Same. |
| 8348 |
* src/main.c (option_data[]): Same. |
| 8349 |
(print_help): Same. |
| 8350 |
(main): If --no-config is set, then do not read the wgetrc files. |
| 8351 |
|
| 8352 |
2014-01-05 Håkon Vågsether <[email protected]> (tiny change) |
| 8353 |
|
| 8354 |
* src/http.c (http_loop): Fix checking the URL length when filename is |
| 8355 |
specified. |
| 8356 |
|
| 8357 |
2014-01-02 Darshit Shah <[email protected]> |
| 8358 |
|
| 8359 |
* testenv/WgetTest.py (CommonMentods.exec_wget): Wait for n seconds before calling |
| 8360 |
the Wget executable. |
| 8361 |
|
| 8362 |
2014-01-02 Darshit Shah <[email protected]> |
| 8363 |
* testenv/Makefile.am: Add new Test--https.py to list of tests and EXTRA_DIST. |
| 8364 |
Also replace all tabs with spaces in file for conformity. |
| 8365 |
* testenv/Test--https.py: New test to check if Wget works correctly with HTTPS |
| 8366 |
servers |
| 8367 |
* testenv/HTTPServer.py: Import new modules for use in HTTPS Servers |
| 8368 |
(HTTPSServer): New class that generates a SSL-wrapped socket for use in a |
| 8369 |
HTTPS Server. |
| 8370 |
(HTTPSd): HTTPS daemon class. Analogous to the HTTPd class |
| 8371 |
* testenv/WgetTest.py: Define global variables HTTP and HTTPS to reflect Server |
| 8372 |
types |
| 8373 |
(CommonMethods.exec_wget): Add the protocol information to the URL before |
| 8374 |
passing it to wget |
| 8375 |
(HTTPTest.__init__): Edit syntax. The servers variable now accepts a list of |
| 8376 |
servers defined by their type. E.g. HTTP, HTTPS. |
| 8377 |
(HTTPTest.Server_setup): Reflect change in type of variable servers. |
| 8378 |
However, we maintin the value of self.servers to allow most of the code to |
| 8379 |
remain unchanged. |
| 8380 |
(HTTPTest.init_HTTPS_Server): Initialize a HTTPS Server |
| 8381 |
* testenv/Test-Parallel-Proto.py: Edit to reflect slight change in Test Fiel Syntax. |
| 8382 |
* testenv/Test-Proto.py: Same |
| 8383 |
|
| 8384 |
2013-12-29 Giuseppe Scrivano <[email protected]> |
| 8385 |
|
| 8386 |
* src/init.c (home_dir): Remove useless 'if'. |
| 8387 |
* src/warc.c (warc_start_new_file): Likewise. |
| 8388 |
(warc_process_cdx_line): Likewise. |
| 8389 |
(warc_write_response_record): Likewise. |
| 8390 |
|
| 8391 |
2013-12-29 Giuseppe Scrivano <[email protected]> |
| 8392 |
|
| 8393 |
* doc/wget.texi: Update to GFDL 1.3. |
| 8394 |
|
| 8395 |
2013-12-27 Darshit Shah <[email protected]> |
| 8396 |
|
| 8397 |
* testenv/WgetTest.py: Add modeline |
| 8398 |
(CommonMethods.ServerConf): New pre-test hook that sets |
| 8399 |
BaseHTTPRequestHandler class variables in all available servers |
| 8400 |
* testenv/HTTPServer.py (HTTPd.ServerConf): Call the respective method in the Server |
| 8401 |
to set the class variables |
| 8402 |
(StoppableHTTPServer.server_sett): Set the handler class variables |
| 8403 |
|
| 8404 |
2013-12-26 Tim Ruehsen <[email protected]> |
| 8405 |
|
| 8406 |
* src/gnutls.c (ssl_connect_wget): Fix connect timeout failure |
| 8407 |
|
| 8408 |
2013-12-26 Darshit Shah <[email protected]> |
| 8409 |
|
| 8410 |
* testenv/WgetTest.py (HTTPTest.call_test): Correct the call to stop_HTTP_Server. |
| 8411 |
|
| 8412 |
2013-12-25 Darshit Shah <[email protected]> |
| 8413 |
|
| 8414 |
* testenv/WgetTest.py (CommonMehtods.exec_wget): Catch and handle exception if the |
| 8415 |
Wget executable is not found at src/wget |
| 8416 |
(HTTPTest.call_test): In case of error during execution, remove all existing |
| 8417 |
servers before quitting |
| 8418 |
|
| 8419 |
2013-12-22 Mike Frysinger <[email protected]> |
| 8420 |
|
| 8421 |
* doc/sample.wgetrc: add links to the manual. |
| 8422 |
|
| 8423 |
2013-12-22 Giuseppe Scrivano <[email protected]> |
| 8424 |
|
| 8425 |
* gnulib: add git submodule. |
| 8426 |
|
| 8427 |
2013-12-15 Darshit Shah <[email protected]> |
| 8428 |
|
| 8429 |
* testenv/WgetTest.py (HTTPTest.HTTP_setup): Rename to Server_setup so it can be |
| 8430 |
easily reused for other non-HTTP servers. |
| 8431 |
(HTTPTest.__init__): Call Server_setup instead of HTTP_setup |
| 8432 |
(HTTPTest.Server_setup): Split into three more functions, that handle |
| 8433 |
pre-hooks, test execution and post-hooks respectively. |
| 8434 |
(HTTPTest.pre_hook_call): Set up and execute the pre-test hooks. Code split |
| 8435 |
from HTTPTest.Server_setup |
| 8436 |
(HTTPTest.call_test): Execute wget and log exit code. Code split from |
| 8437 |
HTTPTest.Server_setup |
| 8438 |
(HTTPTest.post_hook_call): Set up and execute post-test hooks. Code split |
| 8439 |
from HTTPTest.Server_setup |
| 8440 |
|
| 8441 |
2013-11-04 Darshit Shah <[email protected]> |
| 8442 |
|
| 8443 |
* tests/Makefile.am: Add new tests introduced in last commit to |
| 8444 |
EXTRA_DIST. |
| 8445 |
Reported by: Andrea Urbani <[email protected]> |
| 8446 |
|
| 8447 |
2013-11-02 Giuseppe Scrivano <[email protected]> |
| 8448 |
|
| 8449 |
* src/progress.c (struct progress_implementation): New method draw. |
| 8450 |
(bar_update): Split into... |
| 8451 |
(bar_draw): ...this new function. |
| 8452 |
(dot_update): Split into... |
| 8453 |
(dot_draw): New function. |
| 8454 |
(progress_update): Also invoke draw on `current_impl'. |
| 8455 |
|
| 8456 |
2013-11-02 Giuseppe Scrivano <[email protected]> |
| 8457 |
|
| 8458 |
* src/http.c (gethttp): Increase max header value length to 512. |
| 8459 |
|
| 8460 |
2013-10-30 Giuseppe Scrivano <[email protected]> |
| 8461 |
|
| 8462 |
* src/http.c (skip_short_body): Remove assert which is always true. |
| 8463 |
Reported by: David Binderman <[email protected]> |
| 8464 |
|
| 8465 |
2013-10-26 Bykov Aleksey <[email protected]> |
| 8466 |
|
| 8467 |
* src/utils.c (match_tail): Fix cookies reject |
| 8468 |
|
| 8469 |
* src/ftp-ls.c (ftp_parse_unix_ls): Fix parsing month name in uppercase |
| 8470 |
|
| 8471 |
2013-10-22 Ángel González <[email protected]> |
| 8472 |
|
| 8473 |
* bootstrap.conf (gnulib_modules): Add module xstrndup. |
| 8474 |
|
| 8475 |
2013-10-17 Andrea Urbani <[email protected]> |
| 8476 |
|
| 8477 |
* tests/FTPServer.pm (GetBehavior): new routine. |
| 8478 |
* tests/FTPServer.pm (get_list): new parameter to skip hidden files |
| 8479 |
* tests/Test-ftp-list-Multinet.px: Test LIST on a "UNIX MultiNet |
| 8480 |
Unix Emulation" system that returns an empty content when |
| 8481 |
"LIST -a" is requested (probably because no "-a" files |
| 8482 |
exist) |
| 8483 |
* tests/Test-ftp-list-Unknown.px: Test LIST on a "Unknown ftp |
| 8484 |
service" system that returns an empty content when |
| 8485 |
"LIST -a" is requested (probably because no "-a" files |
| 8486 |
exist) |
| 8487 |
* tests/Test-ftp-list-Unknown-a.px: Test LIST on a "Unknown ftp |
| 8488 |
service" system that recognises "LIST -a" as "give me the |
| 8489 |
-a file" and there is a "-a" file + other two files. |
| 8490 |
"LIST -a" will return only "-a", "LIST" all the three files. |
| 8491 |
* tests/Test-ftp-list-Unknown-hidden.px: Test LIST on a "Unknown ftp |
| 8492 |
service" system that recognises "LIST -a" as an "UNIX Type: |
| 8493 |
L8" system (show me also the hidden files) and there is an |
| 8494 |
hidden file. |
| 8495 |
* tests/Test-ftp-list-Unknown-list-a-fails.px: Test LIST on a |
| 8496 |
"Unknown ftp service" system that raises an error on |
| 8497 |
"LIST -a" command. |
| 8498 |
* tests/Test-ftp-list-UNIX-hidden.px: Test LIST on a "UNIX Type: |
| 8499 |
L8" system that recognises "LIST -a" as "show me also the |
| 8500 |
hidden files" and there is an hidden file. |
| 8501 |
|
| 8502 |
2013-10-17 Andrea Urbani <[email protected]> |
| 8503 |
|
| 8504 |
* src/ftp.c (getftp): force "LIST" or "LIST -a" |
| 8505 |
according to the remote system type. If the remote |
| 8506 |
system is not known, it tries, only the first time, |
| 8507 |
"LIST -a", after "LIST" and decides which one to use. |
| 8508 |
For more information look for "__LIST_A_EXPLANATION__" |
| 8509 |
* src/ftp.h (enum ustype): New ustype enum. |
| 8510 |
* src/ftp.h (ftp_syst): New enum ustype *unix_type parameter. |
| 8511 |
* src/ftp.h (ftp_list): Removed enum stype rs parameter, added. |
| 8512 |
bool avoid_list_a, bool avoid_list, bool *list_a_used |
| 8513 |
parameters. |
| 8514 |
* src/ftp.h (wget_ftp_fstatus): New AVOID_LIST_A, AVOID_LIST, |
| 8515 |
LIST_AFTER_LIST_A_CHECK_DONE values. |
| 8516 |
* src/ftp-basic.c (ftp_list): it handles the new avoid_list_a, |
| 8517 |
avoid_list and list_a_used parameters. |
| 8518 |
* src/ftp.h (ftp_syst): it stores information about the "215 UNIX" |
| 8519 |
systems into the new unix_type parameter. |
| 8520 |
|
| 8521 |
2013-10-14 Giuseppe Scrivano <[email protected]> |
| 8522 |
|
| 8523 |
* testenv/Makefile.am (XFAIL_TESTS): Remove Test--spider-r.py. |
| 8524 |
|
| 8525 |
2013-10-10 Giuseppe Scrivano <[email protected]> |
| 8526 |
|
| 8527 |
* tests/Test-idn-robots-utf8.px: Remove -H. |
| 8528 |
* tests/Test-idn-cmd.px: Likewise. |
| 8529 |
* tests/Test-idn-cmd-utf8.px: Likewise. |
| 8530 |
Suggested by: Tim Ruehsen <[email protected]> |
| 8531 |
|
| 8532 |
2013-10-10 Giuseppe Scrivano <[email protected]> |
| 8533 |
|
| 8534 |
* src/url.c (url_parse): Try to convert UTF-8 URLs to IDN. |
| 8535 |
* src/html-url.c (append_url): Parse URLs specifying an IRI structure. |
| 8536 |
|
| 8537 |
2013-10-07 Tim Ruehsen <[email protected]> |
| 8538 |
|
| 8539 |
* tests/Test-idn-robots.px: added punycoded and escaped URLs to follow |
| 8540 |
removed -H |
| 8541 |
|
| 8542 |
2013-10-06 Tim Ruehsen <[email protected]> |
| 8543 |
|
| 8544 |
* doc/wget.texi: add/explain quoting of wildcard patterns |
| 8545 |
|
| 8546 |
2013-10-06 Giuseppe Scrivano <[email protected]> |
| 8547 |
|
| 8548 |
* testenv/Makefile.am (EXTRA_DIST): Distribute test files. |
| 8549 |
|
| 8550 |
2013-09-16 Darshit Shah <[email protected]> |
| 8551 |
|
| 8552 |
* testenv/README: Update documentation |
| 8553 |
|
| 8554 |
2013-09-14 Darshit Shah <[email protected]> |
| 8555 |
|
| 8556 |
* testenv/HTTPServer.py (StoppableHTTPServer): Define object variable |
| 8557 |
request_headers which stores a list of requests received by the server |
| 8558 |
(StoppableHTTPServer.get_req_headers): Return the list of Request |
| 8559 |
Headers stored by the server |
| 8560 |
(_Handler.do_HEAD): Send the Request MEthod string for identification |
| 8561 |
(_Handler.do_GET): Same |
| 8562 |
(_Handler.__log_request): Log the request in Request_Headers list |
| 8563 |
(_Handler.send_head): Make a call to __log_request |
| 8564 |
* testenv/Test--spider-r.py: Add new list, Request_List, which contains all |
| 8565 |
the requests that Wget is expected to send. This will allow for |
| 8566 |
fine-grained tests on recursive downloading. |
| 8567 |
* testenv/WgetTest.py (CommonMethods.FilesCrawled): New Post-Test Hook, that |
| 8568 |
ensures that all the expected Files on the server were accessed as |
| 8569 |
expected. |
| 8570 |
(HTTPTest.stop_HTTP_server): On stopping server, asks it to respond |
| 8571 |
with list of all requests it received. |
| 8572 |
|
| 8573 |
2013-09-13 Tim Ruehsen <[email protected]> |
| 8574 |
|
| 8575 |
* src/recur.c (download_child_p): fix compile error when |
| 8576 |
configured using --without-ssl. |
| 8577 |
|
| 8578 |
2013-09-13 Tim Ruehsen <[email protected]> |
| 8579 |
|
| 8580 |
* configure.ac: added a summary of build options |
| 8581 |
fixed some indentations |
| 8582 |
removed the unconditionally adding of libz with --with-ssl |
| 8583 |
removed -lgcrypt and -lgpg-error for gnutls |
| 8584 |
|
| 8585 |
2013-09-13 Darshit Shah <[email protected]> |
| 8586 |
|
| 8587 |
* testenv/WgetTest.py (CommonMethods._replace_substring): New method that will |
| 8588 |
replace a substring delimited by {{ }} characters by the value of |
| 8589 |
self.<substring> variable |
| 8590 |
(CommonMethods.WgetCommands): Use the _replace_substring () call to |
| 8591 |
replace the substrings in the the command line. |
| 8592 |
(CommonMethods.ServerFiles): Run the _replace_substring () method on |
| 8593 |
the File contents too. |
| 8594 |
|
| 8595 |
2013-09-13 Darshit Shah <[email protected]> |
| 8596 |
|
| 8597 |
* testenv/Test--spider-r.py: Test retrieval in recursive spider mode. |
| 8598 |
* testenv/Makefile.am: add new file |
| 8599 |
|
| 8600 |
2013-09-13 Darshit Shah <[email protected]> |
| 8601 |
|
| 8602 |
* testenv/HTTPServer.py (_Handler.do_HEAD): If requested path is /, respond |
| 8603 |
with /index.html |
| 8604 |
(_Handler.do_HEAD): Smartly guess value of Content-Type Header from |
| 8605 |
file extension |
| 8606 |
(_Handler.guess_type): Use a preset list of extensions and |
| 8607 |
Content-Type strings. If the extension matches one in the list, use |
| 8608 |
that string, else default to "text/plain" |
| 8609 |
|
| 8610 |
2013-09-11 Darshit Shah <[email protected]> |
| 8611 |
|
| 8612 |
* testenv/WgetTest.py (CommonMethods.exec_wget): Expect domain_list instead of |
| 8613 |
domain. |
| 8614 |
(CommonMethods.get_cmd_line): Same. Generate command line by |
| 8615 |
prepending to each file it's respective domain string |
| 8616 |
(CommonMethods.ServerFiles): Generate file_list and server_rules for |
| 8617 |
each Server and set the config details |
| 8618 |
(HTTPTest): New named parameter, servers which signifies number of |
| 8619 |
servers to spawn |
| 8620 |
(HTTPTest.HTTP_setup): This method now takes servers as a new |
| 8621 |
parameter. Instead of storing server and domain, we now store |
| 8622 |
server_list and domain_list. Each server must be initialized through a |
| 8623 |
loop. |
| 8624 |
(HTTPTest.stop_HTTP_server): Stop all servers in a loop. |
| 8625 |
* testenv/Test-Parallel-Proto.py: Prototype test file for multiple servers. |
| 8626 |
|
| 8627 |
2013-09-10 Darshit Shah <[email protected]> |
| 8628 |
|
| 8629 |
* testenv/WgetTest.py (HTTPTest.stop_HTTP_server): With the threaded servers, |
| 8630 |
we can simply use the socketserver.shutdown() method to close the |
| 8631 |
server instead of sending a QUIT command |
| 8632 |
* testenv/HTTPServer.py (StoppabelHTTPServer.serve_forever): Delete method. No |
| 8633 |
need to override this method anymore. |
| 8634 |
(WgetHTTPRequestHandler.do_QUIT): No longer required |
| 8635 |
(HTTPd): Rename self.server to self.server_inst to reduce ambiguity |
| 8636 |
when referenced from WgetTest |
| 8637 |
|
| 8638 |
2013-09-09 Tim Ruehsen <[email protected]> |
| 8639 |
|
| 8640 |
* src/gnutls.c (ssl_connect_wget): changed checking of option "PFS" |
| 8641 |
to be better prepared for some kinds of backports. |
| 8642 |
Reported by: Daniel Kahn Gillmor <[email protected]> |
| 8643 |
|
| 8644 |
2013-09-08 Darshit Shah <[email protected]> |
| 8645 |
|
| 8646 |
* testenv/README (File Structure): Add explanation about various variables |
| 8647 |
used consistently across all tests. |
| 8648 |
|
| 8649 |
2013-09-07 Tim Ruehsen <[email protected]> |
| 8650 |
|
| 8651 |
* src/gnutls.c (ssl_connect_wget): use gnutls_check_version() |
| 8652 |
to check if option "PFS" is available |
| 8653 |
Reported by: Daniel Kahn Gillmor <[email protected]> |
| 8654 |
|
| 8655 |
2013-09-07 Darshit Shah <[email protected]> |
| 8656 |
|
| 8657 |
* testenv/Test-Post.py: Test basic functionality for sending HTTP POST |
| 8658 |
requests using the --method command |
| 8659 |
* testenv/Makefile.am: Add new test |
| 8660 |
|
| 8661 |
2013-09-07 Darshit Shah <[email protected]> |
| 8662 |
|
| 8663 |
* testenv/HTTPServer.py: Remove bunch of old code artefacts |
| 8664 |
* testenv/WgetTest.py: Same |
| 8665 |
|
| 8666 |
2013-09-07 Darshit Shah <[email protected]> |
| 8667 |
|
| 8668 |
* testenv/HTTPServer.py (StoppableHTTPServer.server_conf): Change global |
| 8669 |
variable fileSys to an object variable. This is good programming |
| 8670 |
practice and required for parallel-wget support. |
| 8671 |
(StoppableHTTPServer.server_forever): Edit overridden method to remove |
| 8672 |
the global queue variable. No longer required under the new working |
| 8673 |
(WgetHTTPRequestHandler.do_QUIT): Don't push fileSys through the queue |
| 8674 |
(_Handler): Rename class __Handler to _Handler to match Python's |
| 8675 |
encapsulation rules |
| 8676 |
(_Handler.do_POST): fileSys is now an object variable of the server |
| 8677 |
(_Handler.do_PUT): Same |
| 8678 |
(_Handler.send_put): Same |
| 8679 |
(_Handler.send_head): Same |
| 8680 |
(HTTPd): New class that wraps around the server for Threading |
| 8681 |
(create_server): Make new object of HTTPd. |
| 8682 |
(spawn_server): Start the thread created through create_server |
| 8683 |
(ret_fileSys): Removed method. No longer required. |
| 8684 |
* testenv/WgetTest.py (HTTPTest.__init__): Don't explicitly set |
| 8685 |
self.act_retcode. Instead toggle tests_passed boolean to set the |
| 8686 |
correct return code. |
| 8687 |
(HTTPTest.HTTP_setup): We no longer call HTTPServer.spawn_server to |
| 8688 |
start a new instance of the server. |
| 8689 |
(HTTPTest.init_HTTP_server): We no longer call the old |
| 8690 |
create_server(), spawn_server() methods. Instead use the new HTTPd |
| 8691 |
class interface to create new instances of the server |
| 8692 |
(HTTPTest.stop_HTTP_server): Don't ask server to return fileSys. |
| 8693 |
|
| 8694 |
2013-09-06 Darshit Shah <[email protected]> |
| 8695 |
|
| 8696 |
* testenv/WgetTest.py (CommonMethods.__check_downloaded_files): Print a |
| 8697 |
unified diff in case there is a mismatch in the file contents |
| 8698 |
|
| 8699 |
2013-09-06 Darshit Shah <[email protected]> |
| 8700 |
|
| 8701 |
* testenv/README: New section on pending work. Will keep updating this to keep |
| 8702 |
track of work that remains to be done on this implementation |
| 8703 |
|
| 8704 |
2013-09-06 Darshit Shah <[email protected]> |
| 8705 |
|
| 8706 |
* testenv/HTTPServer.py (WgetHTTPRequestHandler.test_cookies): Comment out the |
| 8707 |
old test_cookies code. This is no longer used and was causing problems |
| 8708 |
with expected cookies. The code will soon be removed anyways |
| 8709 |
* testenv/Test-cookie.py: Add new test for basic cookie functionality |
| 8710 |
* testenv/Test-cookie-401.py: Ensure cookies are saved during a 401 response |
| 8711 |
* testenv/Test-cookie-expires.py: Ensure that the Expires field is correctly |
| 8712 |
handled |
| 8713 |
* testenv/Test-cookies-domain-mismatch.py: Ensure that mismatched domains are |
| 8714 |
handled by Wget |
| 8715 |
* testenv/Makefile.am: Add the new tests |
| 8716 |
|
| 8717 |
2013-09-05 Darshit Shah <[email protected]> |
| 8718 |
|
| 8719 |
* testenv/Test-auth-with-content-disposition.py: Add test that ensures Content |
| 8720 |
Disposition works alongwith authentication |
| 8721 |
* testenv/Makefile.am: Add new test |
| 8722 |
|
| 8723 |
2013-09-04 Tim Ruehsen <[email protected]> |
| 8724 |
|
| 8725 |
* doc/sample.wgetrc: added "secureprotocol" example |
| 8726 |
* doc/wget.texi (HTTPS (SSL/TLS) Options): Document PFS. |
| 8727 |
|
| 8728 |
2013-09-04 Darshit Shah <[email protected]> |
| 8729 |
|
| 8730 |
* testenv/Test-c-full.py: Test Continue options |
| 8731 |
* testenv/Makefile.am: Add Test-c-full.py and Test-O |
| 8732 |
|
| 8733 |
2013-09-03 Tim Ruehsen <[email protected]> |
| 8734 |
|
| 8735 |
* src/main.c: Add new value 'PFS' to --secure-protocol to |
| 8736 |
enforce the so-called Perfect Forward Security. |
| 8737 |
* src/init.c (cmd_spec_secure_protocol): added secure_protocol_pfs |
| 8738 |
* src/openssl.c, gnutls.c, options.h: likewise |
| 8739 |
|
| 8740 |
2013-09-02 Darshit Shah <[email protected]> |
| 8741 |
|
| 8742 |
* testenv/Makefile.am: Add new Test |
| 8743 |
* testenv/Test-Head.py: New Test to ensure HEAD requests are handled correctly |
| 8744 |
|
| 8745 |
2013-08-31 Darshit Shah <[email protected]> |
| 8746 |
|
| 8747 |
* testenv/WgetTest.py: Remove import module defaultdict. |
| 8748 |
(CommonMethods.get_server_rules): server_rules should be a dict, not a |
| 8749 |
defaultdict (list). |
| 8750 |
* testenv/HTTPServer.py (WgetHTTPRequestHandler.get_rule_list): If rule does |
| 8751 |
not exist, return None. Not an emppty list. |
| 8752 |
(WgetHTTPRequestHandler.test_cookies): Rule variable is not a list. |
| 8753 |
(__Handler.send_cust_headers): Same. |
| 8754 |
(__Handler.custom_response): Same. |
| 8755 |
(__Handler.is_authorized): Same. |
| 8756 |
(__Handler.expect_headers): Same. |
| 8757 |
(__Handler.reject_headers): Same. |
| 8758 |
|
| 8759 |
2013-08-31 Darshit Shah <[email protected]> |
| 8760 |
|
| 8761 |
* testenv/README: Explain that TEST_NAME needs to be unique |
| 8762 |
* testenv/Test-auth-no-challenge.py: Edit non-unique TEST_NAME |
| 8763 |
|
| 8764 |
2013-08-31 Darshit Shah <[email protected]> |
| 8765 |
|
| 8766 |
* testenv/README: (newfile) Simple help / instructions about using the Test |
| 8767 |
Environment. |
| 8768 |
* testenv/Makefile.am: (newfile) Makefile for the Test Environment. Uses the |
| 8769 |
Automake Parallel Test Harness |
| 8770 |
* testenv/WgetTest.py: (newfile) Base module that executes the Test. |
| 8771 |
* testenv/HTTPServer.py: (newfile) Contains the custom HTTP Server for the |
| 8772 |
Test Environment. Creates an instance of http.server in Python3. |
| 8773 |
* testenv/FTPServer.py: (newfile) Overrides methods from pyftpdlib for use in |
| 8774 |
the Test Environment. ** Work under progress **. |
| 8775 |
* testenv/ColourTerm.py: (newfile) A custom module to output coloured text to |
| 8776 |
the terminal. Known to work on POSIX shells. |
| 8777 |
* testenv/Test-Proto.py: (newfile) A prototype Test File. This should be |
| 8778 |
copied when writing a new Test Case. |
| 8779 |
* testenv/Test-Content-disposition-2.py: Test Content Disposition clobbering |
| 8780 |
* testenv/Test-Content-disposition.py: Test Content Disposition Headers |
| 8781 |
* testenv/Test-O.py: Test Output filename command |
| 8782 |
* testenv/Test-auth-basic-fail.py: Test returncode on auth failure |
| 8783 |
* testenv/Test-auth-basic.py: Test Basic Auth negotiation |
| 8784 |
* testenv/Test-auth-both.py: Test handling of Multiple auth providers. This |
| 8785 |
test currently fails. |
| 8786 |
* testenv/Test-auth-digest.py: Test Digest Auth Negotiation |
| 8787 |
* testenv/Test-auth-no-challenge-url.py: Ensure --auth-no-challenge is handled |
| 8788 |
when auth details are in-URL. |
| 8789 |
* testenv/Test-auth-no-challenge.py: Ensure --auth-no-challenge is honoured |
| 8790 |
* testenv/Test-auth-retcode.py: Ensure correct return code after 403 Forbidden |
| 8791 |
response. |
| 8792 |
2013-08-31 Darshit Shah <[email protected]> |
| 8793 |
|
| 8794 |
* testenv/HTTPTest.py (ServerError): Define new Exception for handling |
| 8795 |
internal control flow. |
| 8796 |
(StoppableHTTPServer.SendHeader): Simply pass. Do nothing. Adding |
| 8797 |
functionality here seems to crash for no apparent reason. |
| 8798 |
(stoppableHTTPServer.send_cust_headers): Minor optimization. No need |
| 8799 |
for extra variable. |
| 8800 |
(__Handler.Response): Handle explicit Response Code Rules |
| 8801 |
(__Handler.Authentication): Handle Authentication rules |
| 8802 |
(__Handler.handle_auth): Actual worker method for authentication |
| 8803 |
(__Handler.ExpectHeader): Ensure Expected Headers are received |
| 8804 |
(__Handler.RejectHeader): Ensure Blacklisted Headers are NOT received |
| 8805 |
(__Handler.send_HEAD): Dynamically call server rule functions based on |
| 8806 |
the self.rules list. This feature will later be added to POST/PUT, etc |
| 8807 |
|
| 8808 |
2013-08-31 Darshit Shah <[email protected]> |
| 8809 |
|
| 8810 |
* configure.ac: Add testenv/Makefile to AC_CONFIG_FILES. |
| 8811 |
* Makefile.am: Add testenv to SUBDIRS |
| 8812 |
|
| 8813 |
2013-08-23 Tim Ruehsen <[email protected]> |
| 8814 |
|
| 8815 |
* doc/sample.wgetrc: added "httpsonly" example |
| 8816 |
|
| 8817 |
2013-08-22 Tim Ruehsen <[email protected]> |
| 8818 |
|
| 8819 |
* tests/Makefile.am (EXTRA_DIST): Add Test--httpsonly-r.px. |
| 8820 |
* tests/run-px (tests): Likewise. |
| 8821 |
* tests/Test--httpsonly-r.px: New file. |
| 8822 |
|
| 8823 |
2013-08-22 Tim Ruehsen <[email protected]> |
| 8824 |
|
| 8825 |
* src/main.c: Add new option --https-only. |
| 8826 |
* src/options.h: Likewise. |
| 8827 |
* src/recur.c (download_child_p): add check for HTTPS. |
| 8828 |
|
| 8829 |
2013-08-22 Tim Ruehsen <[email protected]> |
| 8830 |
|
| 8831 |
* doc/wget.texi: added description for --https-only |
| 8832 |
|
| 8833 |
2013-08-13 Hrvoje Niksic <[email protected]> |
| 8834 |
|
| 8835 |
* doc/wget.texi (Download Options): Fix misspelling. |
| 8836 |
|
| 8837 |
2013-08-09 Tim Ruehsen <[email protected]> |
| 8838 |
|
| 8839 |
* src/gnutls.c (ssl_init): Prevent CA files from being loaded twice |
| 8840 |
if possible. |
| 8841 |
* src/gnutls.c (ssl_check_certificate): Added some error messages |
| 8842 |
* src/gnutls.c: Fixed some compiler warnings |
| 8843 |
|
| 8844 |
2013-08-08 Will Dietz <[email protected]> (tiny change): |
| 8845 |
|
| 8846 |
* src/main.c (format_and_print_line): Wrap correctly long tokens. |
| 8847 |
|
| 8848 |
2013-07-23 Tim Ruehsen <[email protected]> |
| 8849 |
|
| 8850 |
* configure.ac: Remove AM_CONDITIONAL HAVE_NETTLE. |
| 8851 |
Reported by: Darshit Shah <[email protected]>. |
| 8852 |
|
| 8853 |
2013-07-16 Darshit Shah <[email protected]> |
| 8854 |
|
| 8855 |
* src/wget.h (err_t): Added new errors, ATTRMISSING and UNKNOWNATTR to |
| 8856 |
handle missing attributes and Unknown attribute values respectively in |
| 8857 |
HTTP Headers. |
| 8858 |
* src/exits.c (get_status_for_err): ATTRMISSING is a Protocol Error while |
| 8859 |
UNKNOWNATTR is a general error, presumably because of a feature that |
| 8860 |
is not yet implemented. |
| 8861 |
* src/http.c (gethttp): Call create_authorization_line () separately. In |
| 8862 |
case the auth_err flag has been set with an error, handle it and exit. |
| 8863 |
* src/http.c (create_authorization_line): Pass a pointer, auth_err to set |
| 8864 |
the flag for different kinds of errors encountered. |
| 8865 |
* src/http.c (http_loop): Handle the errors raised by the authentication |
| 8866 |
handlers. |
| 8867 |
* src/http.c (digest_authentication_encode): Pass pointer auth_err to set |
| 8868 |
the error flags. |
| 8869 |
Set qop to NULL in case the value of the qop / algorithm attribute is |
| 8870 |
unknown to Wget. Set an appropriate error too. |
| 8871 |
|
| 8872 |
2013-07-13 Tim Ruehsen <[email protected]> |
| 8873 |
|
| 8874 |
* src/http.c (digest_authentication_encode): Fix a crash when the algorithm |
| 8875 |
is not specified in the server response. Free dynamic memory used by |
| 8876 |
the function when the function exits. |
| 8877 |
* src/http-ntlm.c [HAVE_NETTLE]: Include <nettle/md4.h> and <nettle/des.h>. |
| 8878 |
(setup_des_key) [HAVE_NETTLE]: New function to deal with |
| 8879 |
libnettle. |
| 8880 |
(calc_resp) [HAVE_NETTLE]: Add support for libnettle. |
| 8881 |
(mkhash) [HAVE_NETTLE]: Likewise. |
| 8882 |
Reported by: Tim Ruehsen <[email protected]>. |
| 8883 |
|
| 8884 |
2013-07-13 Tim Ruehsen <[email protected]> |
| 8885 |
|
| 8886 |
* configure.ac: check for libnettle when GNU TLS is used. |
| 8887 |
|
| 8888 |
2013-07-13 Steven M. Schweda <[email protected]> |
| 8889 |
|
| 8890 |
* src/warc.c (warc_tempfile): Fix a portability issue on VMS. |
| 8891 |
|
| 8892 |
2013-07-12 Giuseppe Scrivano <[email protected]> |
| 8893 |
|
| 8894 |
* src/http.c (digest_authentication_encode): Set default value of |
| 8895 |
`algorithm' to "MD5". Check if `qop' is not-NULL before access it. |
| 8896 |
|
| 8897 |
2013-07-11 Tomas Hozza <[email protected]> |
| 8898 |
|
| 8899 |
* src/ftp.c (ftp_loop): Use ftp_retrieve_glob() also in case |
| 8900 |
--preserve-permissions was specified. |
| 8901 |
|
| 8902 |
2013-07-11 Tomas Hozza <[email protected]> |
| 8903 |
|
| 8904 |
* doc/wget.texi: Document --regex-type and --preserve-permissions. |
| 8905 |
|
| 8906 |
2013-07-11 Tim Ruehsen <[email protected]> |
| 8907 |
|
| 8908 |
* src/gnutls.c (ssl_connect_wget): respect connect timeout. |
| 8909 |
|
| 8910 |
2013-07-11 Karsten Hopp <[email protected]> |
| 8911 |
|
| 8912 |
* src/openssl.c (struct openssl_read_args, struct scwt_context): New struct. |
| 8913 |
(openssl_read, ssl_connect_with_timeout_callback): New function. |
| 8914 |
(ssl_connect_wget): respect connect timeout. |
| 8915 |
|
| 8916 |
2013-07-10 Giuseppe Scrivano <[email protected]> |
| 8917 |
|
| 8918 |
* src/http.c (read_response_body) [ALLOW_CLOBBER]: Move definition to.. |
| 8919 |
* src/options.h (struct options): Make `backups' an int. |
| 8920 |
* src/url.h [ALLOW_CLOBBER]: .. Here. Do not clobber when backups are used. |
| 8921 |
* src/url.c (url_file_name): Use the ALLOW_CLOBBER macro instead of |
| 8922 |
repeating the code. |
| 8923 |
|
| 8924 |
2013-07-09 Giuseppe Scrivano <[email protected]> |
| 8925 |
|
| 8926 |
* doc/wget.texi (Download Options): Add documentation for --backups. |
| 8927 |
(Wgetrc Commands): Add documentation for backups. |
| 8928 |
Reported by: Tomas Hozza <[email protected]>. |
| 8929 |
|
| 8930 |
2013-07-08 Steven M. Schweda <[email protected]> |
| 8931 |
|
| 8932 |
* src/retr.c (rotate_backups): Support for VMS files. |
| 8933 |
|
| 8934 |
2013-06-26 Darshit Shah <[email protected]> |
| 8935 |
|
| 8936 |
* src/http.c (gethttp): Reverse change by commit 90896 that prevented |
| 8937 |
downloading response body data to non-GET Request methods. |
| 8938 |
|
| 8939 |
2013-06-22 Ángel González <[email protected]> |
| 8940 |
|
| 8941 |
* src/init.c (cmd_string_uppercase): Rewrite function. |
| 8942 |
|
| 8943 |
2013-06-19 Ciprian Vieru <[email protected]> (tiny change) |
| 8944 |
|
| 8945 |
* src/html-url.c: Define TAG_TD, TAG_TH, TAG_VIDEO, TAG_AUDIO, TAG_SOURCE. |
| 8946 |
(tag_url_attributes, known_tags): Likewise. |
| 8947 |
|
| 8948 |
2013-06-19 Tim Ruehsen <[email protected]> |
| 8949 |
|
| 8950 |
* src/connect.c (socket_ip_address): zero out ip address structure to |
| 8951 |
avoid access to uninitialized values by inet_ntop(). |
| 8952 |
* src/ftp.c (ftp_loop_internal): fix segfault caused by warc_tmp NULL pointer. |
| 8953 |
|
| 8954 |
2013-06-17 Dave Reisner <[email protected]> (tiny change) |
| 8955 |
|
| 8956 |
* doc/texi2pod.pl: Fix formatting error that causes build to fail with |
| 8957 |
Perl 5.18 |
| 8958 |
|
| 8959 |
2013-06-17 Darshit Shah <[email protected]> |
| 8960 |
|
| 8961 |
* doc/wget.texi (POST): Explain the new redirection rules. |
| 8962 |
* doc/wget.texi (Other HTTP Methods): Same. |
| 8963 |
* doc/wget.texi (body-data): Fix typo in description. |
| 8964 |
|
| 8965 |
2013-06-13 Darshit Shah <[email protected]> |
| 8966 |
|
| 8967 |
* src/http.c (gethttp): Follow RFC 2616 and httpbis specifications when |
| 8968 |
handling redirections. Do not suspend the method on 301/302 redirects. |
| 8969 |
(gethttp): If method if not GET, we do not intend to download |
| 8970 |
anything. |
| 8971 |
* src/main.c (main): Set spider mode when opt.method is HEAD. This will |
| 8972 |
prevent Wget from downloading any file. |
| 8973 |
* src/retr.c (SUSPEND_METHOD): Rename macro SUSPEND_POST_DATA to |
| 8974 |
SUSPEND_METHOD to more accurately reflect its use. Similarly rename |
| 8975 |
related variables. |
| 8976 |
|
| 8977 |
2013-05-21 Ray Satiro <[email protected]> |
| 8978 |
|
| 8979 |
* src/url.c (url_file_name): Use MAX_PATH in Windows. |
| 8980 |
|
| 8981 |
2013-05-17 Bykov Aleksey <[email protected]> |
| 8982 |
|
| 8983 |
* bootstrap: Add `mkostemp' |
| 8984 |
|
| 8985 |
2013-05-14 Bykov Aleksey <[email protected]> |
| 8986 |
|
| 8987 |
* src/warc.c (warc_tempfile): For fix "Could not open temporary WARC manifest |
| 8988 |
file." issue in Win system force to use `mkostemp(filename, O_TEMPORARY)' |
| 8989 |
instead of `mkstemp(filename)'. Thank to Angel Gonzalez for help. |
| 8990 |
|
| 8991 |
2013-05-14 Tim Ruehsen <[email protected]> |
| 8992 |
|
| 8993 |
* src/cookies.c (cookie_jar_load): Replaced read_whole_file() by getline(). |
| 8994 |
* src/init.c (run_wgetrc): Likewise. |
| 8995 |
* src/netrc.c (parse_netrc): Likewise. |
| 8996 |
* src/utils.c: Likewise. |
| 8997 |
* src/ftp.c (getftp): Likewise. |
| 8998 |
* src/ftp-ls.c (ftp_parse_unix_ls, ftp_parse_winnt_ls, ftp_parse_vms_ls): Likewise. |
| 8999 |
* src/ftp-ls.c (clean_line): Accept the string length as parameter. |
| 9000 |
* src/ftp-ls.c: Replaced indent tabs by spaces. |
| 9001 |
* src/ftp.c: Likewise. |
| 9002 |
* src/utils.c: Removed read_whole_file() definition. |
| 9003 |
* src/netrc.c: Removed read_whole_file() definition for STANDALONE. |
| 9004 |
* src/utils.h: Removed read_whole_file() declaration. |
| 9005 |
|
| 9006 |
2013-05-10 Darshit Shah <[email protected]> (tiny change) |
| 9007 |
|
| 9008 |
* doc/wget.texi (No of tries): Fix typo to make it clear that --tries |
| 9009 |
option sets number of tries not retries. |
| 9010 |
Reported by: Hauke Hoffman <[email protected]> |
| 9011 |
|
| 9012 |
2013-05-09 Tim Ruehsen <[email protected]> |
| 9013 |
|
| 9014 |
* src/utils.c (acceptable): use standard string functions instead of |
| 9015 |
self-written code. |
| 9016 |
(match_tail): Likewise. |
| 9017 |
(suffix): Likewise. |
| 9018 |
(has_wildcards_p): Likewise. |
| 9019 |
(test_subdir_p): Fix some warnings. |
| 9020 |
(test_dir_matches_p): Likewise. |
| 9021 |
|
| 9022 |
2013-05-05 mancha <[email protected]> (tiny change) |
| 9023 |
|
| 9024 |
* src/gnutls.c (ssl_connect_wget): Don't abort on non-fatal alerts |
| 9025 |
received during handshake. For example, when connecting to servers |
| 9026 |
using TSL-SNI that send warning-level unrecognized_name alerts. |
| 9027 |
|
| 9028 |
2013-05-04 Darshit Shah <[email protected]> |
| 9029 |
|
| 9030 |
* src/init.c (cmd_string_uppercase): Fix issue that cased invalid headers |
| 9031 |
when converting to uppercase. |
| 9032 |
|
| 9033 |
2013-05-01 Giuseppe Scrivano <[email protected]> |
| 9034 |
|
| 9035 |
* src/init.c: Declare `cmd_string_uppercase'. |
| 9036 |
(commands): Now `method' uses cmd_string_uppercase. |
| 9037 |
(cmd_string_uppercase): New method |
| 9038 |
* src/http.c (gethttp): Do not transform opt.method to uppercase. |
| 9039 |
Reported by: Stefano Lattarini <[email protected]> |
| 9040 |
|
| 9041 |
2013-05-01 Gijs van Tulder <[email protected]> |
| 9042 |
|
| 9043 |
* src/retr.c (retrieve_url): New variable `saved_method'. |
| 9044 |
(SUSPEND_POST_DATA): Save the method to `saved_method'. |
| 9045 |
(RESTORE_POST_DATA): Restore the method from `saved_method'. |
| 9046 |
|
| 9047 |
2013-04-28 Giuseppe Scrivano <[email protected]> |
| 9048 |
|
| 9049 |
* doc/wget.texi (Types of Files...): Document --accept-regex, |
| 9050 |
--reject-regex. |
| 9051 |
Reported by: Tomas Hozza <[email protected]>. |
| 9052 |
|
| 9053 |
2013-04-26 Tomas Hozza <[email protected]> (tiny change) |
| 9054 |
|
| 9055 |
* src/log.c (redirect_output): Use DEFAULT_LOGFILE in diagnostic message |
| 9056 |
when `logfile' is NULL. |
| 9057 |
* src/utils.c (unique_create): Ensure `logfile' has always a value. |
| 9058 |
|
| 9059 |
2013-04-24 Darshit Shah <[email protected]> |
| 9060 |
|
| 9061 |
* src/http.c (gethttp): Remove check for opt.post_data and |
| 9062 |
opt.post_file_name. |
| 9063 |
* src/main.c (main): Change location in code where --post-data and |
| 9064 |
--post-file options are converted to --body-data --body-file. |
| 9065 |
|
| 9066 |
2013-04-21 Gijs van Tulder <[email protected]> |
| 9067 |
|
| 9068 |
* src/http.c: Copy opt.body_data to the WARC file, instead of |
| 9069 |
opt.post_data (the old option). |
| 9070 |
|
| 9071 |
2013-04-14 Giuseppe Scrivano <[email protected]> |
| 9072 |
|
| 9073 |
* doc/wget.texi (Download Options): Document "mega" dot style. |
| 9074 |
|
| 9075 |
2013-04-12 Gijs van Tulder <[email protected]> |
| 9076 |
|
| 9077 |
* src/warc.c: Generate unique UUIDs for the manifest and the record |
| 9078 |
holding the command-line arguments. |
| 9079 |
Write the manifest to a "metadata" record to follow the WARC |
| 9080 |
implementation guidelines. |
| 9081 |
* src/warc.h: Declare new function warc_write_metadata_record. |
| 9082 |
|
| 9083 |
2013-04-05 Darshit Shah <[email protected]> |
| 9084 |
|
| 9085 |
* doc/doc/wget.texi: Fix ambiguous wording in --post-data section. Make it |
| 9086 |
clear that wget does not check for the format of the post-data. |
| 9087 |
* doc/doc/wget.texi: Add documentation for --method, --body-data and |
| 9088 |
--body-file. |
| 9089 |
|
| 9090 |
2013-03-31 Gijs van Tulder <[email protected]> |
| 9091 |
|
| 9092 |
* src/warc.c: Correctly write the field length in the skip length field |
| 9093 |
of .warc.gz files. (Following the GZIP spec in RFC 1952.) |
| 9094 |
|
| 9095 |
2013-03-20 Tomas Hozza <[email protected]> |
| 9096 |
|
| 9097 |
* src/http.c (gethttp): Set "sock" to -1 if it's not and we have no |
| 9098 |
persistent connection |
| 9099 |
|
| 9100 |
2013-03-15 Darshit Shah <[email protected]> |
| 9101 |
|
| 9102 |
* src/http.c (post_file): Rename function to body_file_send to more |
| 9103 |
accurately reflect its use. |
| 9104 |
* src/http.c (gethttp): Add support for --method, --body-data and |
| 9105 |
--body-file |
| 9106 |
* src/init.c (commands): Same. |
| 9107 |
* src/options.h (options): Same. |
| 9108 |
* src/main.c (option_data): Same. |
| 9109 |
* src/main.c (print_help): Add --method command. |
| 9110 |
* src/main.c (main): Make old --post-{data,file} commands aliases to |
| 9111 |
--method. |
| 9112 |
Add sanity checks for --method, --body-data and --body-file. |
| 9113 |
* src/retr.c (SUSPEND_POST_DATA): Edit Macro Definition to use body_data. |
| 9114 |
* src/retr.c (RESTORE_POST_DATA): Same. |
| 9115 |
|
| 9116 |
2013-03-12 Darshit Shah <[email protected]> |
| 9117 |
|
| 9118 |
* tests/Makefile.am (EXTRA_DIST): Add Test--post-file.px. |
| 9119 |
* tests/run-px (tests): Likewise. |
| 9120 |
* tests/Test--post-file.px: New file. |
| 9121 |
|
| 9122 |
2013-03-12 Darshit Shah <[email protected]> |
| 9123 |
|
| 9124 |
* src/http.c (gethttp): Make wget return FILEBADFILE error and abort if |
| 9125 |
post-file does not exist. |
| 9126 |
|
| 9127 |
* src/http.c (http_loop): Handle FILEBADFILE as a valid err. |
| 9128 |
|
| 9129 |
* src/exits.c (get_status_for_err): Mark FILEBADFILE as an IO error. |
| 9130 |
|
| 9131 |
2013-02-15 Darshit Shah <[email protected]> |
| 9132 |
|
| 9133 |
* src/cookies.c (cookie_handle_set_cookie): Set cookie->discard_requested |
| 9134 |
to true on domain mismatch. |
| 9135 |
|
| 9136 |
2013-01-30 Pavel Mateja <[email protected]> (tiny change) |
| 9137 |
|
| 9138 |
* src/http.c (gethttp): Specify "Host" for CONNECT method. |
| 9139 |
|
| 9140 |
2012-12-20 Tim Ruehsen <[email protected]> |
| 9141 |
|
| 9142 |
* src/gnutls.c (ssl_connect_wget): added +VERS-SSL3.0 to fix |
| 9143 |
--secure-protocol=SSLv2/SSLv3. |
| 9144 |
|
| 9145 |
2012-12-09 Giuseppe Scrivano <[email protected]> |
| 9146 |
|
| 9147 |
* src/main.c (main): Keep looking for "config" until there are |
| 9148 |
arguments to parse. |
| 9149 |
Reported by: Adrien Dumont <[email protected]> |
| 9150 |
|
| 9151 |
* src/test.c: Include "wget.h". |
| 9152 |
|
| 9153 |
2012-12-08 Michael Stapelberg <[email protected]> (tiny change) |
| 9154 |
|
| 9155 |
* src/retr.c (retrieve_url): Set iri->orig_url to NULL after it is |
| 9156 |
freed. |
| 9157 |
|
| 9158 |
2012-11-26 Giuseppe Scrivano <[email protected]> |
| 9159 |
|
| 9160 |
* src/wget.h (MAX_INT_TO_STRING_LEN): Define macro. |
| 9161 |
* src/warc.c (warc_write_block_from_file): Use `MAX_INT_TO_STRING_LEN' |
| 9162 |
to find the buffer size. |
| 9163 |
(warc_write_cdx_record): Likewise. |
| 9164 |
|
| 9165 |
2012-11-24 Giuseppe Scrivano <[email protected]> |
| 9166 |
|
| 9167 |
* src/warc.c (warc_write_block_from_file): Use `number_to_string' to |
| 9168 |
convert the content-length to a string. |
| 9169 |
|
| 9170 |
2012-11-24 Gijs van Tulder <[email protected]> |
| 9171 |
|
| 9172 |
* src/warc.c (warc_write_cdx_record): Use `number_to_string' to |
| 9173 |
convert the offset to a string. |
| 9174 |
|
| 9175 |
2012-11-15 Giuseppe Scrivano <[email protected]> |
| 9176 |
|
| 9177 |
* src/retr.c (write_data): Fix comment. |
| 9178 |
|
| 9179 |
2012-11-14 Ángel González <[email protected]> |
| 9180 |
|
| 9181 |
* src/warc.c (warc_sha1_stream_with_payload): Fix compilation under |
| 9182 |
gcc -std=c89. |
| 9183 |
|
| 9184 |
2012-11-13 Giuseppe Scrivano <[email protected]> |
| 9185 |
|
| 9186 |
* src/retr.c (fd_read_body): Correctly check the return code from |
| 9187 |
write_data. |
| 9188 |
Reported by: Torsten Scheck <[email protected]> |
| 9189 |
|
| 9190 |
2012-11-09 Tim Ruehsen <[email protected]> |
| 9191 |
|
| 9192 |
* tests/HTTPServer.pm: added check for must-not-match request-header |
| 9193 |
* tests/Test-cookies.px: check cookie deletion and cookie domain matching |
| 9194 |
|
| 9195 |
2012-10-08 Stefano Lattarini <[email protected]> (tiny change) |
| 9196 |
|
| 9197 |
docs: fix errors and warnings with Texinfo 5 |
| 9198 |
Or rather, with the development version 4.13.90, which will |
| 9199 |
eventually become Texinfo 5.0. |
| 9200 |
* doc/wget.texi: Use '@item' instead of '@itemx' in several places, |
| 9201 |
as Texinfo 5 refuses to process an '@itemx' that is not preceded |
| 9202 |
by an '@item'. |
| 9203 |
|
| 9204 |
2012-10-07 Tim Ruehsen <[email protected]> |
| 9205 |
Giuseppe Scrivano <[email protected]> |
| 9206 |
|
| 9207 |
* src/utils.c (get_max_length): If `pathconf' is not available |
| 9208 |
fallback to PATH_MAX. |
| 9209 |
|
| 9210 |
2012-10-07 Ray Satiro <[email protected]> |
| 9211 |
|
| 9212 |
* src/url.c: Change the functions of a growable string object to null |
| 9213 |
terminate the string. |
| 9214 |
* src/url.c (append_null): New function to null terminate a growable |
| 9215 |
string object. |
| 9216 |
* src/url.c (shorten_length): New function to shorten the length of a |
| 9217 |
growable string object. |
| 9218 |
|
| 9219 |
2012-10-07 Giuseppe Scrivano <[email protected]> |
| 9220 |
|
| 9221 |
* configure.ac: Check for patchconf. |
| 9222 |
|
| 9223 |
2012-10-06 Giuseppe Scrivano <[email protected]> |
| 9224 |
|
| 9225 |
* src/http.c (http_loop): Send a HEAD request when -c and |
| 9226 |
--content-disposition are used together. |
| 9227 |
|
| 9228 |
2012-10-03 Merinov Nikolay <[email protected]> |
| 9229 |
|
| 9230 |
* src/ftp.c (ftp_loop_internal): Ignore --no-clobber option when |
| 9231 |
receiving directory listing. |
| 9232 |
|
| 9233 |
2012-09-29 Merinov Nikolay <[email protected]> |
| 9234 |
|
| 9235 |
* src/ftp-ls.c (ftp_parse_winnt_ls): Support filename extracting with |
| 9236 |
new listing format. |
| 9237 |
|
| 9238 |
2012-09-29 Tim Ruehsen <[email protected]> |
| 9239 |
|
| 9240 |
* src/url.h (CHOMP_BUFFER): Add definition. |
| 9241 |
* src/url.c (url_file_name): New local variables `fname_len_check' and |
| 9242 |
`max_length'. Check that the length of the file name is acceptable. |
| 9243 |
* src/utils.h (get_max_length): Declare function. |
| 9244 |
* src/utils.c (get_max_length): New function. |
| 9245 |
|
| 9246 |
2012-09-28 Steven Schubiger <[email protected]> |
| 9247 |
|
| 9248 |
* src/src/recur.c (retrieve_tree): Combine duplicated code. |
| 9249 |
|
| 9250 |
2012-09-23 Merinov Nikolay <[email protected]> |
| 9251 |
|
| 9252 |
* m4/wget.m4 (WGET_FNMATCH): Add AC_LANG_SOURCE into |
| 9253 |
AC_COMPILE_IFELSE in order to silence autoconf 2.68 warning. |
| 9254 |
|
| 9255 |
2012-09-20 Giuseppe Scrivano <[email protected]> |
| 9256 |
|
| 9257 |
* bootstrap: Update from gnulib. |
| 9258 |
|
| 9259 |
2012-09-03 Tim Ruehsen <[email protected]> |
| 9260 |
|
| 9261 |
* src/http.c (digest_authentication_encode): Add support for RFC 2617 |
| 9262 |
MD5-sess authentication algorithm. |
| 9263 |
Feature request and testing by: Avinash <[email protected]> |
| 9264 |
|
| 9265 |
2012-09-02 Nguyễn Thái Ngọc Duy <[email protected]> (tiny change) |
| 9266 |
|
| 9267 |
* src/src/main.c (main): mark more strings for translation. |
| 9268 |
* src/src/mswindows.c (fork_to_background): Likewise. |
| 9269 |
* src/src/recur.c (download_child_p): Likewise. |
| 9270 |
|
| 9271 |
2012-09-02 Nguyễn Thái Ngọc Duy <[email protected]> (tiny change) |
| 9272 |
|
| 9273 |
* po/POTFILES.in: Add more files. |
| 9274 |
|
| 9275 |
2012-08-29 Rohit Mathulla <[email protected]> (tiny change) |
| 9276 |
|
| 9277 |
* src/html-url.c (get_urls_file): Convert shorthand URLs. |
| 9278 |
|
| 9279 |
2012-08-28 Tim Ruehsen <[email protected]> |
| 9280 |
|
| 9281 |
* doc/wget.texi: remove -nv from --report-speed |
| 9282 |
|
| 9283 |
2012-08-28 Tim Ruehsen <[email protected]> |
| 9284 |
|
| 9285 |
* src/gnutls.c (ssl_check_certificate): deinit gnutls_x509_crt_t. |
| 9286 |
* src/gnutls.c (ssl_init): don't error if CA directory is empty. |
| 9287 |
|
| 9288 |
2012-08-25 Hrvoje Niksic <[email protected]> |
| 9289 |
|
| 9290 |
* src/warc.c (warc_find_duplicate_cdx_record): Use hash_table_get |
| 9291 |
instead of hash_table_get_pair. |
| 9292 |
|
| 9293 |
2012-08-21 <[email protected]> (tiny change) |
| 9294 |
|
| 9295 |
* src/connect.c (connect_to_ip) [ENABLE_IPV6]: Attempt to use IPv6. |
| 9296 |
* src/http.c (gethttp): Likewise. |
| 9297 |
|
| 9298 |
2012-08-04 mancha <[email protected]> (tiny change) |
| 9299 |
|
| 9300 |
* doc/wget.texi: Export ENVIRONMENT to the man page. |
| 9301 |
|
| 9302 |
2012-07-08 Steven Schubiger <[email protected]> |
| 9303 |
|
| 9304 |
* src/exits.h: Fix comment. |
| 9305 |
* src/exits.c: Likewise. |
| 9306 |
|
| 9307 |
2012-07-08 Giuseppe Scrivano <[email protected]> |
| 9308 |
|
| 9309 |
* bootstrap: Update from gnulib. |
| 9310 |
* bootstrap.conf (gnulib_extra_files): Remove $build_aux/missing. |
| 9311 |
* lib/Makefile.am: Delete file. |
| 9312 |
|
| 9313 |
2012-07-07 Tim Ruehsen <[email protected]> |
| 9314 |
|
| 9315 |
(digest_authentication_encode): Add support for RFC 2617 Digest |
| 9316 |
Access Authentication. |
| 9317 |
|
| 9318 |
2012-07-07 Giuseppe Scrivano <[email protected]> |
| 9319 |
|
| 9320 |
* src/http.c (http_loop): Fix log message. |
| 9321 |
* src/main.c (main): Likewise. |
| 9322 |
Reported by: Petr Pisar <[email protected]> |
| 9323 |
|
| 9324 |
2012-07-07 Giuseppe Scrivano <[email protected]> |
| 9325 |
|
| 9326 |
* src/html-url.c (cleanup_html_url): Remove "static" modifier. |
| 9327 |
* src/init.c (cleanup_html_url): Likewise. |
| 9328 |
Reported by: Mike Frysinger <[email protected]>. |
| 9329 |
|
| 9330 |
2012-07-03 Steven Schubiger <[email protected]> |
| 9331 |
|
| 9332 |
* src/init.c: Include warc.h for warc_close in cleanup function. |
| 9333 |
|
| 9334 |
2012-06-17 Giuseppe Scrivano <[email protected]> |
| 9335 |
|
| 9336 |
* src/wget.h: Define `CLOSEFAILED'. |
| 9337 |
* src/init.c: Include "exits.h". |
| 9338 |
(cleanup): Check `fclose' failure. |
| 9339 |
* src/exits.c (get_status_for_err): Handle `CLOSEFAILED'. |
| 9340 |
|
| 9341 |
2012-06-16 Giuseppe Scrivano <[email protected]> |
| 9342 |
|
| 9343 |
* tests/Makefile.am (EXTRA_DIST): Add Test-stdouterr.px. |
| 9344 |
* tests/run-px (tests): Likewise. |
| 9345 |
* tests/Test-stdouterr.px: New file. |
| 9346 |
|
| 9347 |
2012-06-16 Giuseppe Scrivano <[email protected]> |
| 9348 |
|
| 9349 |
* src/main.c (main): Move some cleanup related function to... |
| 9350 |
* src/init.c (cleanup): ...here. |
| 9351 |
|
| 9352 |
* src/main.c: Do not include "stdout.h". |
| 9353 |
(main): Do not register `close_stdout' at exit. |
| 9354 |
Reported by: Micah Cowan <[email protected]>. |
| 9355 |
|
| 9356 |
2012-06-16 Giuseppe Scrivano <[email protected]> |
| 9357 |
|
| 9358 |
* bootstrap.conf (gnulib_modules): Remove `closeout'. |
| 9359 |
Reported by: Micah Cowan <[email protected]>. |
| 9360 |
|
| 9361 |
2012-06-09 Giuseppe Scrivano <[email protected]> |
| 9362 |
|
| 9363 |
* src/main.c (print_help): Move --report-speed under the section |
| 9364 |
"Logging and input file". |
| 9365 |
|
| 9366 |
2012-06-09 Giuseppe Scrivano <[email protected]> |
| 9367 |
|
| 9368 |
* doc/wget.texi (Logging and Input File Options): Document "--report-speed". |
| 9369 |
(HTTPS (SSL/TLS) Options): Document WARC. |
| 9370 |
|
| 9371 |
* doc/texi2pod.pl: Revert change from 2011-08-06. |
| 9372 |
|
| 9373 |
2012-06-06 Giuseppe Scrivano <[email protected]> |
| 9374 |
|
| 9375 |
* src/main.c (print_help): Rename --bits to --report-bps. |
| 9376 |
(cmdline_options): Likewise. |
| 9377 |
* src/init.c (commands): Rename --report-bps to --report-speed. |
| 9378 |
(cmd_spec_report_speed): New function. |
| 9379 |
|
| 9380 |
* src/options.h (struct options): Rename `bits_fmt' to `report_bps'. |
| 9381 |
* src/main.c (print_help): Rename --bits to --report-bps. |
| 9382 |
(cmdline_options): Likewise. |
| 9383 |
* src/init.c (commands): Likewise |
| 9384 |
|
| 9385 |
* src/progress.c (create_image): Adjust caller. |
| 9386 |
* src/retr.c (retr_rate): Likewise. |
| 9387 |
* src/utils.c (convert_to_bits): Likewise. |
| 9388 |
|
| 9389 |
2012-06-04 Tim Ruehsen <[email protected]> |
| 9390 |
|
| 9391 |
* src/main.c (main): Check for filename != NULL. |
| 9392 |
* src/warc.c (warc_process_cdx_line): Fix memory leak. |
| 9393 |
* src/utils.c (match_posix_regex, compile_posix_regex): Remove dead assignment. |
| 9394 |
* src/openssl.c (ssl_init): Fix old-style function definition. |
| 9395 |
|
| 9396 |
2012-06-02 Giuseppe Scrivano <[email protected]> |
| 9397 |
|
| 9398 |
* src/connect.c: Include <sys/socket.h> and <sys/select.h>. |
| 9399 |
|
| 9400 |
2012-05-31 Ángel González <[email protected]> |
| 9401 |
|
| 9402 |
* convert.c: fix segfault on wrong urls (bug 36570) |
| 9403 |
|
| 9404 |
2012-05-30 Gijs van Tulder <[email protected]> |
| 9405 |
|
| 9406 |
* src/warc.c: Fix segfault if CDX record is not found. |
| 9407 |
|
| 9408 |
2012-05-26 Mike Frysinger <[email protected]> |
| 9409 |
|
| 9410 |
* src/warc.c: Change type of `warc_current_gzfile' to gzFile. |
| 9411 |
|
| 9412 |
2012-05-26 Giuseppe Scrivano <[email protected]> |
| 9413 |
|
| 9414 |
* src/warc.c (warc_load_cdx_dedup_file): Change type of `line_length' to |
| 9415 |
ssize_t. |
| 9416 |
Suggested by: Ángel González <[email protected]> |
| 9417 |
|
| 9418 |
2012-05-19 illusionoflife <[email protected]> (tiny change) |
| 9419 |
|
| 9420 |
* src/convert.c (register_html,register_css): Fixed functions signature to |
| 9421 |
not accept unused argument |
| 9422 |
* src/retr.c (retrieve_url): Changed register_{css,html} usage according |
| 9423 |
new signature. |
| 9424 |
|
| 9425 |
2012-05-18 Tim Ruehsen <[email protected]> |
| 9426 |
|
| 9427 |
* src/gnutls.c (wgnutls_poll): Honor the specified `timeout' value. |
| 9428 |
(wgnutls_peek): Likewise. |
| 9429 |
|
| 9430 |
2012-05-16 Giuseppe Scrivano <[email protected]> |
| 9431 |
|
| 9432 |
* src/warc.h: Cut length lines to 80 columns. |
| 9433 |
* src/warc.c: Likewise. |
| 9434 |
|
| 9435 |
2012-05-14 Tim Ruehsen <[email protected]> |
| 9436 |
|
| 9437 |
* src/gnutls.c (wgnutls_read_timeout): removed warnings, moved fcntl stuff |
| 9438 |
outside loop. |
| 9439 |
|
| 9440 |
* src/hash.h (hash_table_put): Make argument "value" const. |
| 9441 |
* src/hash.c (hash_table_put): Make argument value const. Cast `value' to |
| 9442 |
void. |
| 9443 |
* src/http.c (request_set_header): Make argument `name' const. Cast `value' |
| 9444 |
and `name' to void*. |
| 9445 |
(request_remove_header): Make argument `name' const. |
| 9446 |
* src/url.c (url_file_name): Make `index_filename' static. |
| 9447 |
* src/warc.h (warc_write_cdx_record): Make `url', `timestamp', `mime_type', |
| 9448 |
`payload_digest', `redirect_location', `warc_filename', response_uuid' |
| 9449 |
arguments const. Make `checksum' const. |
| 9450 |
* src/warc.c (warc_write_date_header): Make the `timestamp' argument const. |
| 9451 |
Make `extension' const. |
| 9452 |
(warc_write_cdx_record): Make `url', `timestamp', `mime_type', |
| 9453 |
`payload_digest', `redirect_location', `warc_filename', response_uuid' |
| 9454 |
arguments const. Make `checksum' const. |
| 9455 |
|
| 9456 |
2012-05-13 Tim Ruehsen <[email protected]> |
| 9457 |
|
| 9458 |
* src/gnutls.c (credentials): Change type to |
| 9459 |
gnutls_certificate_credentials_t. |
| 9460 |
(ssl_init): Do not use deprecated types. |
| 9461 |
(ssl_connect_wget): Likewise. |
| 9462 |
|
| 9463 |
2012-05-13 Giuseppe Scrivano <[email protected]> |
| 9464 |
|
| 9465 |
* doc/wget.texi (Types of Files): Document --accept-regex and |
| 9466 |
--reject-regex. |
| 9467 |
|
| 9468 |
2012-05-13 Giuseppe Scrivano <[email protected]> |
| 9469 |
|
| 9470 |
* bootstrap.conf (gnulib_modules): Add `git-version-gen'. |
| 9471 |
* build-aux/bzr-version-gen: Remove file. |
| 9472 |
* configure.ac: Invoke `build-aux/git-version-gen' to get the dist |
| 9473 |
version. |
| 9474 |
* Makefile.am (EXTRA_DIST): Distribute build-aux/git-version-gen instead |
| 9475 |
of build-aux/bzr-version-gen. |
| 9476 |
|
| 9477 |
2012-04-22 Tim Ruehsen <[email protected]> |
| 9478 |
|
| 9479 |
* src/main.c (main): Dynamically allocate `opt.progress_type'. |
| 9480 |
|
| 9481 |
2012-04-21 Tim Ruehsen <[email protected]> |
| 9482 |
|
| 9483 |
* src/ftp-basic.c (ftp_pasv): Fix memory leak. |
| 9484 |
|
| 9485 |
* src/http.c (gethttp): Fix memory leak. |
| 9486 |
|
| 9487 |
* src/ftp.c (getftp): Silent compiler warning. |
| 9488 |
|
| 9489 |
2012-04-13 Tim Ruehsen <[email protected]> (tiny change) |
| 9490 |
|
| 9491 |
* src/warc.c (warc_load_cdx_dedup_file): Fix a memory leak by freeing |
| 9492 |
`lineptr'. |
| 9493 |
|
| 9494 |
2012-04-11 Gijs van Tulder <[email protected]> |
| 9495 |
|
| 9496 |
* src/init.c: Add --accept-regex, --reject-regex and --regex-type. |
| 9497 |
* src/main.c: Likewise. |
| 9498 |
* src/options.c: Likewise. |
| 9499 |
* src/recur.c: Likewise. |
| 9500 |
* src/utils.c: Add regex-related functions. |
| 9501 |
* src/utils.h: Add regex-related functions. |
| 9502 |
|
| 9503 |
2012-04-11 Gijs van Tulder <[email protected]> |
| 9504 |
|
| 9505 |
* bootstrap.conf (gnulib_modules): Include module `regex'. |
| 9506 |
* configure.ac: Check for PCRE library. |
| 9507 |
|
| 9508 |
2012-04-07 Daniel Kahn Gillmor <[email protected]> (tiny change) |
| 9509 |
|
| 9510 |
* src/gnutls.c (key_type_to_gnutls_type): New function. |
| 9511 |
(ssl_init): Use correctly the specified gnutls certificate. |
| 9512 |
|
| 9513 |
2012-04-01 Giuseppe Scrivano <[email protected]> |
| 9514 |
|
| 9515 |
* src/gnutls.c (wgnutls_read_timeout): Ensure timer is freed. |
| 9516 |
|
| 9517 |
* src/gnutls.c (wgnutls_read_timeout): Do not use timer if it is not |
| 9518 |
allocated. |
| 9519 |
Reported by: Xu Zhongxing <[email protected]> |
| 9520 |
|
| 9521 |
2012-04-01 Gijs van Tulder <[email protected]> |
| 9522 |
|
| 9523 |
* src/html-url.c: Prevent crash on incomplete STYLE tag. |
| 9524 |
|
| 9525 |
2012-03-30 Tim Ruehsen <[email protected]> (tiny change) |
| 9526 |
|
| 9527 |
* src/warc.c: make warc_uuid_str() implementation depend on HAVE_LIBUUID. |
| 9528 |
|
| 9529 |
2012-03-30 Tim Ruehsen <[email protected]> |
| 9530 |
|
| 9531 |
* src/url.c: Use empty query in local filenames. |
| 9532 |
|
| 9533 |
2012-03-30 Tim Ruehsen <[email protected]> |
| 9534 |
|
| 9535 |
* src/convert.c (convert_links_in_hashtable): Mmake it static. |
| 9536 |
* src/cookies.c (parse_set_cookie): Remove empty else branches. |
| 9537 |
* src/css-url.c: Include "css-url.h". |
| 9538 |
(get_uri_string): Make it static. |
| 9539 |
* src/css-url.h (get_urls_css): Add protoype. |
| 9540 |
* src/gnutls.c (ssl_init): Add prototype. |
| 9541 |
* src/html-parse.c (tagstack_push): Make it static. |
| 9542 |
* src/html-parse.c (tagstack_pop): Make it static. |
| 9543 |
* src/html-parse.c (tagstack_find): Make it static. |
| 9544 |
* src/html-url.c (cleanup_html_url): Make it static. |
| 9545 |
* src/progress.c (count_cols): Make it static. |
| 9546 |
* src/progress.c (get_eta): Make it static. |
| 9547 |
* src/retr.h (convert_to_bits): Remove prototype. |
| 9548 |
* src/util.h (convert_to_bits): Add prototype. |
| 9549 |
* src/spider.c (spider_cleanup): Make it static. |
| 9550 |
* src/warc.c (warc_write_start_record): Add prototype. |
| 9551 |
* src/warc.c (warc_write_end_record): Add prototype. |
| 9552 |
* src/warc.c (warc_start_cdx_file): Add prototype. |
| 9553 |
* src/warc.c (warc_init): Add prototype. |
| 9554 |
* src/warc.c (warc_load_cdx_dedup_file): Add prototype. |
| 9555 |
* src/warc.c (warc_write_metadata): Add prototype. |
| 9556 |
* src/warc.c (warc_close): Add prototype. |
| 9557 |
* src/warc.c (warc_tempfile): Add prototype. |
| 9558 |
* src/warc.c (warc_write_warcinfo_record): Make it static. |
| 9559 |
* src/warc.c (warc_load_cdx_dedup_file): Make it static. |
| 9560 |
* src/warc.c (warc_write_metadata): Make it static. |
| 9561 |
* src/warc.h (warc_init): Fix prototype. |
| 9562 |
* src/warc.h (warc_close): Fix prototype. |
| 9563 |
* src/warc.h (warc_tempfile): Fix prototype. |
| 9564 |
|
| 9565 |
2012-03-29 Tim Ruehsen <[email protected]> (tiny change) |
| 9566 |
|
| 9567 |
* src/utils.c (library): Include <sys/time.h>. |
| 9568 |
|
| 9569 |
2012-03-25 Ray Satiro <[email protected]> |
| 9570 |
|
| 9571 |
* src/build_info.c.in: Check that HAVE_LIBSSL32 is defined when OpenSSL |
| 9572 |
is used. |
| 9573 |
|
| 9574 |
2012-03-25 Ray Satiro <[email protected]> |
| 9575 |
|
| 9576 |
* configure.ac: Fix build under mingw when OpenSSL is used. |
| 9577 |
|
| 9578 |
2012-03-25 Giuseppe Scrivano <[email protected]> |
| 9579 |
|
| 9580 |
* src/utils.c: Include <sys/ioctl.h>. |
| 9581 |
|
| 9582 |
* src/ptimer.c: Include <sys/time.h>. |
| 9583 |
|
| 9584 |
* src/connect.c: Include <sys/socket.h>, <sys/select.h>, <sys/time.h>. |
| 9585 |
Reported by: Ray Satiro <[email protected]>. |
| 9586 |
|
| 9587 |
2012-03-20 Ángel González <[email protected]> |
| 9588 |
|
| 9589 |
* bootstrap.conf (gnulib_modules): Add modules `ftello', |
| 9590 |
`mkstemp' and `strtok_r'. |
| 9591 |
|
| 9592 |
2012-03-07 Steven Schubiger <[email protected]> |
| 9593 |
|
| 9594 |
* src/init.c (wgetrc_user_file_name): Correct typo. |
| 9595 |
|
| 9596 |
2012-03-06 Sasikantha Babu <[email protected]> |
| 9597 |
|
| 9598 |
* src/utils.c (convert_to_bits): Added new function convert_to_bits to |
| 9599 |
convert bytes to bits. |
| 9600 |
* src/retr.c (calc_rate): Modified the function to handle --bits |
| 9601 |
option and download rate calculated as bits per sec (SI-prefix) |
| 9602 |
for --bits otherwise bytes (IEC-prefix). |
| 9603 |
(retr_rate): Rates will display in bits per sec for --bits. |
| 9604 |
* src/options.h (struct opt): Added --bit option bool variable bits_fmt. |
| 9605 |
* src/main.c (print_help) : Added help for --bit. |
| 9606 |
* src/init.c: Defined command for --bit option. |
| 9607 |
* src/retr.h: Added function prototype. |
| 9608 |
|
| 9609 |
2012-02-26 Giuseppe Scrivano <[email protected]> |
| 9610 |
|
| 9611 |
* src/main.c: Include "closeout.h" |
| 9612 |
(main): Register close_stdout at exit. |
| 9613 |
|
| 9614 |
2012-02-26 Giuseppe Scrivano <[email protected]> |
| 9615 |
|
| 9616 |
* bootstrap.conf (gnulib_modules): Add module `closeout'. |
| 9617 |
|
| 9618 |
2012-02-23 Giuseppe Scrivano <[email protected]> |
| 9619 |
|
| 9620 |
* src/main.c (main): Write diagnostic messages to `stderr' not to `stdout'. |
| 9621 |
|
| 9622 |
* src/main.c (main): Fail gracefully if `malloc' fails. |
| 9623 |
|
| 9624 |
* src/gnutls.c (wgnutls_read): Remove unused variables `timer' and `flags'. |
| 9625 |
|
| 9626 |
2012-02-17 Steven Schubiger <[email protected]> |
| 9627 |
|
| 9628 |
* src/warc.c: Add license header. |
| 9629 |
|
| 9630 |
2012-02-01 Gijs van Tulder <[email protected]> |
| 9631 |
|
| 9632 |
* src/warc.c: Fix large file support with ftello, fseeko. |
| 9633 |
* src/warc.h: Fix large file support. |
| 9634 |
* src/http.c: Fix large file support. |
| 9635 |
|
| 9636 |
2012-01-27 Gijs van Tulder <[email protected]> |
| 9637 |
|
| 9638 |
* src/retr.c (fd_read_body): If the response is chunked, the chunk |
| 9639 |
headers are now written to the WARC file, making the WARC file |
| 9640 |
an exact copy of the HTTP response. |
| 9641 |
|
| 9642 |
2012-01-27 Gijs van Tulder <[email protected]> |
| 9643 |
|
| 9644 |
* src/retr.c (fd_read_body): Fix a memory leak with chunked responses. |
| 9645 |
* src/http.c (skip_short_body): Fix the same memory leak. |
| 9646 |
|
| 9647 |
2012-01-09 Sasikantha Babu <[email protected]> (tiny change) |
| 9648 |
* src/connect.c (connect_to_ip): properly formatted ipv6 address display. |
| 9649 |
(socket_family): New function - returns socket family type. |
| 9650 |
* src/http.c (gethttp): properly formatted ipv6 address display. |
| 9651 |
|
| 9652 |
2012-01-09 Gijs van Tulder <[email protected]> |
| 9653 |
|
| 9654 |
* src/init.c: Disable WARC compression if zlib is disabled. |
| 9655 |
* src/main.c: Do not show the 'no-warc-compression' option if zlib is |
| 9656 |
disabled. |
| 9657 |
* src/warc.c: Do not compress WARC files if zlib is disabled. |
| 9658 |
|
| 9659 |
2012-01-09 Gijs van Tulder <[email protected]> |
| 9660 |
|
| 9661 |
* configure.ac: Always try to use libz, even without SSL. |
| 9662 |
|
| 9663 |
2011-12-12 Giuseppe Scrivano <[email protected]> |
| 9664 |
|
| 9665 |
* Makefile.am (EXTRA_DIST): Add build-aux/bzr-version-gen. |
| 9666 |
Reported by: Elan Ruusamäe <[email protected]>. |
| 9667 |
|
| 9668 |
2011-12-11 Giuseppe Scrivano <[email protected]> |
| 9669 |
|
| 9670 |
* util/trunc.c (main): Call `close' on the fd and check for errors. |
| 9671 |
Reported by: <[email protected]>. |
| 9672 |
|
| 9673 |
2011-11-09 Gijs van Tulder <address@hidden> |
| 9674 |
|
| 9675 |
* src/warc.c: Call gzdopen() with wb9 instead of wb+9, which fails on |
| 9676 |
zlib version >= 1.2.4. |
| 9677 |
|
| 9678 |
2011-11-04 Steven Schweda <address@hidden> |
| 9679 |
|
| 9680 |
* src/warc.c [! WINDOWS]: Include <libgen.h>. |
| 9681 |
(warc_write_warcinfo_record): Assign a new allocated buffer and |
| 9682 |
free it on errors. |
| 9683 |
|
| 9684 |
2011-11-01 Steven Schweda <address@hidden> |
| 9685 |
|
| 9686 |
* src/gnutls.c (ssl_init): Ensure GNU TLS is loaded only once. |
| 9687 |
|
| 9688 |
2011-10-23 Giuseppe Scrivano <[email protected]> |
| 9689 |
|
| 9690 |
* bootstrap.conf (gnulib_modules): Include module `vsnprintf'. |
| 9691 |
|
| 9692 |
2011-10-16 Steven Schubiger <[email protected]> |
| 9693 |
|
| 9694 |
* util/paramcheck.pl: Match 1 or more times where applicable. |
| 9695 |
(extract_entries): Return a copy instead of reference. |
| 9696 |
|
| 9697 |
2011-10-07 Steven Schweda <address@hidden> |
| 9698 |
|
| 9699 |
* src/connect.c: Add HAVE_SYS_SELECT_H and HAVE_SYS_SOCKET_H conditions |
| 9700 |
on includes of <sys/select.h> and <sys/socket.h>, respectively. |
| 9701 |
* src/ftp.c (getftp): Move BIN_TYPE_TRANSFER macro into VMS-specific |
| 9702 |
section. On VMS, use Stream_LF attributes for listing files. Pass |
| 9703 |
BIN_TYPE_FILE to fopen_excl() instead of constant-everywhere "true". |
| 9704 |
* src/ftp.c (ftp_retrieve_list): Restore lost test of opt.preserve_perm |
| 9705 |
(--preserve-permissions) on the chmod() operation. |
| 9706 |
* src/init.c, main.c: Remove "deprecated" from opt.preserve_perm |
| 9707 |
(--preserve-permissions). |
| 9708 |
* src/init.c (initialize): Use distinct messages for errors in C macro |
| 9709 |
SYSTEM_WGETRC and environment-variable SYSTEM_WGETRC. Avoid use of |
| 9710 |
C macro SYSTEM_WGETRC when it's not defined. |
| 9711 |
* src/log.c (log_close): Avoid closing logfp when it's stderr. |
| 9712 |
* src/main.c (print_help): Restore --preserve-permissions. |
| 9713 |
* src/main.c (main): Avoid using a negative value of longindex as a |
| 9714 |
subscript (for long_options[]) when searching for "--config". |
| 9715 |
* src/main.c (main): Exit the program using exit() instead of "return". |
| 9716 |
(VMS handles these differently, and exit() is better.) |
| 9717 |
* src/openssl.c (ssl_init): Add type cast (SSL_METHOD *) to newly "const" |
| 9718 |
"meth" argument to accommodate OpenSSL version 0.9.8, where that |
| 9719 |
argument is not "const" in the OpenSSL function (SSL_CTX_new). |
| 9720 |
* src/test.c: Declare "program_argstring". |
| 9721 |
* src/utils.c (fopen_excl): Comment typography. |
| 9722 |
* src/warc.h: New file. |
| 9723 |
* src/warc.c: New file. |
| 9724 |
|
| 9725 |
2011-10-02 Henrik Holst <[email protected]> (tiny change) |
| 9726 |
|
| 9727 |
* doc/wget.texi (HTTP Options): Document option --content-on-error. |
| 9728 |
|
| 9729 |
2011-10-02 Henrik Holst <[email protected]> (tiny change) |
| 9730 |
* src/http.c (gethttp): If 'contentonerror' is used then do not |
| 9731 |
skip the http body on 4xx and 5xx errors. |
| 9732 |
|
| 9733 |
* src/init.c (commands): Add 'contentonerror'. |
| 9734 |
|
| 9735 |
* src/main.c (print_help, option_data): Add new option 'contentonerror' |
| 9736 |
to make wget not skip the http content on 4xx and 5xx errors. |
| 9737 |
|
| 9738 |
* src/options.h: New variable 'content_on_error'. |
| 9739 |
|
| 9740 |
2011-09-27 Karl Berry <[email protected]> (tiny change) |
| 9741 |
|
| 9742 |
* doc/wget.texi: Make dir entry consistent with others. |
| 9743 |
|
| 9744 |
2011-09-19 Giuseppe Scrivano <[email protected]> |
| 9745 |
|
| 9746 |
* src/main.c (print_version): Update copyright year. |
| 9747 |
(print_version): Fix typo. |
| 9748 |
|
| 9749 |
2011-09-13 Giuseppe Scrivano <[email protected]> |
| 9750 |
|
| 9751 |
* src/ftp.c (ftp_retrieve_glob): Propagate correctly the `res' error |
| 9752 |
code. |
| 9753 |
|
| 9754 |
2011-09-07 Giuseppe Scrivano <[email protected]> |
| 9755 |
|
| 9756 |
* src/http.c (gethttp): Don't inhibit arest request if opt.timestamping is |
| 9757 |
set. |
| 9758 |
Reported by <[email protected]> |
| 9759 |
|
| 9760 |
2011-09-06 Jakob Matthes <[email protected]> (tiny change) |
| 9761 |
|
| 9762 |
* src/main.c (print_version): Do not exit prematurely when --help is passed. |
| 9763 |
|
| 9764 |
2011-09-04 Christian Jullien <[email protected]> (tiny change) |
| 9765 |
|
| 9766 |
* src/gnutls.c: Include <sys/fcntl.h>. |
| 9767 |
|
| 9768 |
2011-09-04 Alan Hourihane <[email protected]> (tiny change) |
| 9769 |
|
| 9770 |
* configure.ac: Check for libz when gnutls is used. |
| 9771 |
|
| 9772 |
2011-09-02 Mojca Miklavec <[email protected]> (tiny change) |
| 9773 |
|
| 9774 |
* src/main.c (print_version): Do not exit prematurely when --version is passed. |
| 9775 |
|
| 9776 |
2011-08-30 Giuseppe Scrivano <[email protected]> |
| 9777 |
|
| 9778 |
* src/gnutls.c (wgnutls_read_timeout): Use the non blocking socket only for |
| 9779 |
`gnutls_record_recv'. Set errno to ETIMEDOUT on a read timeout. |
| 9780 |
|
| 9781 |
2011-08-29 Giuseppe Scrivano <[email protected]> |
| 9782 |
|
| 9783 |
* src/gnutls.c (wgnutls_read_timeout): New function. |
| 9784 |
(wgnutls_read): Use wgnutls_read_timeout. |
| 9785 |
(wgnutls_peek): Likewise. |
| 9786 |
|
| 9787 |
2011-08-27 Giuseppe Scrivano <[email protected]> |
| 9788 |
|
| 9789 |
* src/main.c (print_help): Exit with an error status if print to stdout |
| 9790 |
fails. |
| 9791 |
(print_usage): Change method signature and return a status code. |
| 9792 |
(print_version): Likewise. |
| 9793 |
|
| 9794 |
2011-08-26 Giuseppe Scrivano <[email protected]> |
| 9795 |
|
| 9796 |
* src/gnutls.c: Include "ptimer.h". |
| 9797 |
(wgnutls_read): Honor read timeout. |
| 9798 |
|
| 9799 |
* src/openssl.c (ssl_init): Make `meth' const. |
| 9800 |
|
| 9801 |
2011-08-26 Giuseppe Scrivano <[email protected]> |
| 9802 |
|
| 9803 |
* configure.ac: Under mingw don't check for static OpenSSL |
| 9804 |
libraries if the shared version was already found. |
| 9805 |
Suggested by: Ray Satiro <[email protected]>. |
| 9806 |
|
| 9807 |
2011-08-25 Giuseppe Scrivano <[email protected]> |
| 9808 |
|
| 9809 |
* src/utils.c [HAVE_UTIME && HAVE_UTIME_H]: Include <utime.h>. |
| 9810 |
[HAVE_UTIME && HAVE_SYS_UTIME_H]: Include <sys/utime.h>. |
| 9811 |
(touch) [HAVE_UTIME: Prefers utime over futimens when it is available. |
| 9812 |
It was reported that Cygwin has a not working futimens. |
| 9813 |
|
| 9814 |
2011-08-25 Giuseppe Scrivano <[email protected]> |
| 9815 |
|
| 9816 |
* configure.ac: Check for `utime'. |
| 9817 |
|
| 9818 |
2011-08-19 Giuseppe Scrivano <[email protected]> |
| 9819 |
|
| 9820 |
* src/init.c (home_dir) [MSDOS]: Move local variable `len' here. |
| 9821 |
|
| 9822 |
2011-08-18 Giuseppe Scrivano <[email protected]> |
| 9823 |
|
| 9824 |
* doc/texi2pod.pl: Don't assume the perl executable is under /usr/bin/. |
| 9825 |
|
| 9826 |
2011-08-18 Giuseppe Scrivano <[email protected]> |
| 9827 |
|
| 9828 |
* src/http.c (gethttp): Fix a memory leak on some errors. Free the head |
| 9829 |
buffer. |
| 9830 |
|
| 9831 |
* src/Makefile.am: Use an additional file "css_.c" which in turn includes |
| 9832 |
"wget.h" and immediately "css.c". |
| 9833 |
|
| 9834 |
* src/http.c (gethttp): Reset chunked_transfer_encoding on redirections. |
| 9835 |
|
| 9836 |
2011-08-13 Giuseppe Scrivano <[email protected]> |
| 9837 |
|
| 9838 |
* src/retr.c (fd_read_body): Ensure max is not already defined. |
| 9839 |
|
| 9840 |
* src/mswindows.h (snprintf): Remove definition. |
| 9841 |
(vsnprintf): Likewise. |
| 9842 |
|
| 9843 |
2011-08-12 Giuseppe Scrivano <[email protected]> |
| 9844 |
|
| 9845 |
* src/css.l: Remove include "wget.h". |
| 9846 |
Reported by: Perry Smith <[email protected]>. |
| 9847 |
|
| 9848 |
2011-08-11 Giuseppe Scrivano <[email protected]> |
| 9849 |
|
| 9850 |
* src/utils.c (abort_run_with_timeout): Use sigprocmask instead of |
| 9851 |
sigsetmask. |
| 9852 |
|
| 9853 |
* src/gnutls.c (ssl_connect_wget): Remove call to deprecated function |
| 9854 |
`gnutls_certificate_type_set_priority'. |
| 9855 |
|
| 9856 |
* src/Makefile.am (version.c): Don't invoke hg to set version string. |
| 9857 |
|
| 9858 |
2011-08-11 Giuseppe Scrivano <[email protected]> |
| 9859 |
|
| 9860 |
* bootstrap.conf (gnulib_modules): Add `sigprocmask'. |
| 9861 |
|
| 9862 |
* configure.ac: Do not hardcode GNU TLS and OpenSSL libraries. |
| 9863 |
|
| 9864 |
* bootstrap.conf (gnulib_modules): Include module iconv. |
| 9865 |
|
| 9866 |
* configure.ac: Allow --with-libgnutls-prefix and |
| 9867 |
--with-libssl-prefix |
| 9868 |
Suggested by: Karl Berry <[email protected]> |
| 9869 |
|
| 9870 |
* build-aux/bzr-version-gen (TAG): Consider only the last tag. |
| 9871 |
|
| 9872 |
2011-08-10 Giuseppe Scrivano <[email protected]> |
| 9873 |
|
| 9874 |
Fix a linker error on systems with an older gnutls version. |
| 9875 |
* src/gnutls.c (ssl_connect_wget) |
| 9876 |
[HAVE_GNUTLS_PRIORITY_SET_DIRECT]: Use gnutls_priority_set_direct. |
| 9877 |
[! HAVE_GNUTLS_PRIORITY_SET_DIRECT]: Use gnutls_protocol_set_priority. |
| 9878 |
Reported by: Karl Berry <[email protected]> |
| 9879 |
|
| 9880 |
2011-08-10 Giuseppe Scrivano <[email protected]> |
| 9881 |
|
| 9882 |
* configure.ac: Print usage string for --with-ssl. |
| 9883 |
Reported by: Karl Berry <[email protected]> |
| 9884 |
|
| 9885 |
* configure.ac: Check for `gnutls_priority_set_direct' when gnutls is |
| 9886 |
used. |
| 9887 |
Reported by: Karl Berry <[email protected]> |
| 9888 |
|
| 9889 |
2011-08-09 Giuseppe Scrivano <[email protected]> |
| 9890 |
|
| 9891 |
* build-aux/bzr-version-gen: Fix some portability issues. |
| 9892 |
|
| 9893 |
2011-08-06 Jochen Roderburg <[email protected]> |
| 9894 |
|
| 9895 |
* src/host.c (lookup_host): Ensure it doesn't print more IPs than available |
| 9896 |
ones. |
| 9897 |
|
| 9898 |
2011-08-06 Giuseppe Scrivano <[email protected]> |
| 9899 |
|
| 9900 |
* src/init.c (defaults): Set default value for show_all_dns_entries. |
| 9901 |
|
| 9902 |
* src/host.c (lookup_host): If `showalldnsentries' is used then print all |
| 9903 |
the IP corresponding to a DNS entry. |
| 9904 |
* src/init.c (commands): Add `showalldnsentries'. |
| 9905 |
Suggested by: Witold Baryluk <[email protected]> |
| 9906 |
|
| 9907 |
* src/http.c (gethttp): Add the Cache-Control HTTP header when --no-cache |
| 9908 |
is specified. |
| 9909 |
Reported by: Коренберг Марк <[email protected]>. |
| 9910 |
|
| 9911 |
2011-08-06 Giuseppe Scrivano <[email protected]> |
| 9912 |
|
| 9913 |
* doc/wget.texi (Wgetrc Commands): Document show_all_dns_entries. |
| 9914 |
|
| 9915 |
* doc/Makefile.am (wget.pod): Pass the VERSION value to texi2pod. |
| 9916 |
|
| 9917 |
* doc/texi2pod.pl: Update from GCC. |
| 9918 |
|
| 9919 |
2011-08-05 Giuseppe Scrivano <[email protected]> |
| 9920 |
|
| 9921 |
* src/utils.c (acceptable): Accept always the file if it is the specified |
| 9922 |
output destination. |
| 9923 |
Reported by: Shai Berger <[email protected]> |
| 9924 |
|
| 9925 |
2011-08-05 Giuseppe Scrivano <[email protected]> |
| 9926 |
|
| 9927 |
* src/gnutls.c (ssl_connect_wget): Use `gnutls_priority_set_direct' instead |
| 9928 |
of the deprecated `gnutls_protocol_set_priority'. |
| 9929 |
|
| 9930 |
2011-08-02 Giuseppe Scrivano <[email protected]> |
| 9931 |
|
| 9932 |
* src/cookies.c (parse_set_cookie): If the value is quoted, do not modify |
| 9933 |
it. |
| 9934 |
Reported by: Nirgal Vourgère <[email protected]> |
| 9935 |
|
| 9936 |
2011-07-29 Giuseppe Scrivano <[email protected]> |
| 9937 |
|
| 9938 |
* src/log.c (logprintf): Exit immediately on a SIGPIPE error. |
| 9939 |
Reported by: Noèl Köthe <[email protected]>. |
| 9940 |
|
| 9941 |
2011-07-28 Noèl Köthe <[email protected]> (tiny change) |
| 9942 |
|
| 9943 |
* doc/wget.texi (HTTP Options): Fix typo. |
| 9944 |
|
| 9945 |
2011-07-26 Giuseppe Scrivano <[email protected]> |
| 9946 |
|
| 9947 |
* src/retr.c (retrieve_url): Do not register redirects when in spider mode. |
| 9948 |
|
| 9949 |
2011-07-26 Giuseppe Scrivano <[email protected]> |
| 9950 |
|
| 9951 |
* doc/wget.info (cookies): Remove reference to --cookies. |
| 9952 |
Reported by: Noèl Köthe. |
| 9953 |
|
| 9954 |
2011-07-26 Carlos Martín Nieto <[email protected]> (tiny change) |
| 9955 |
|
| 9956 |
* src/init.c (home_dir): Allocate path buffer dinamically. |
| 9957 |
|
| 9958 |
2011-07-20 Merinov Nikolay <[email protected]> |
| 9959 |
|
| 9960 |
* src/iri.c (remote_to_utf8): Add test for non-ASCII symbols with |
| 9961 |
UTF-8 URI encoding. |
| 9962 |
* src/res.c (res_retrieve_file): Fix url_parse call. |
| 9963 |
|
| 9964 |
2011-07-05 Giuseppe Scrivano <[email protected]> |
| 9965 |
|
| 9966 |
* doc/wget.texi (Recursive Retrieval Options): Make clearer that recursion, |
| 9967 |
by default, uses 5 levels. |
| 9968 |
Reported by: Marc Deop <[email protected]>. |
| 9969 |
|
| 9970 |
2011-06-08 Giuseppe Scrivano <[email protected]> |
| 9971 |
|
| 9972 |
* src/retr.c (retrieve_from_file): Parse the url careless if IRI is enabled. |
| 9973 |
Reported by: Volker Kuhlmann <[email protected]>. |
| 9974 |
|
| 9975 |
2011-06-03 Merinov Nikolay <[email protected]> |
| 9976 |
|
| 9977 |
* tests/Test-idn-cmd-utf8.px: Added test for idn with utf-8 local encoding. |
| 9978 |
* tests/Test-idn-robots-utf8.px: Added test for idn with utf-8 local encoding |
| 9979 |
and robots.txt file. |
| 9980 |
* tests/Makefile.am, run-px: Add new tests. |
| 9981 |
2011-05-26 Steven Schweda <[email protected]> |
| 9982 |
* src/connect.c [HAVE_SYS_SOCKET_H]: Include <sys/socket.h>. |
| 9983 |
[HAVE_SYS_SELECT_H]: Include <sys/select.h>. |
| 9984 |
|
| 9985 |
2011-05-25 Giuseppe Scrivano <[email protected]> |
| 9986 |
|
| 9987 |
* bootstrap.conf (gnulib_modules): Add `strerror_r-posix'. |
| 9988 |
|
| 9989 |
2011-05-24 Giuseppe Scrivano <[email protected]> |
| 9990 |
|
| 9991 |
* src/retr.c (fd_read_body): Define max. |
| 9992 |
|
| 9993 |
2011-05-23 Giuseppe Scrivano <[email protected]> |
| 9994 |
|
| 9995 |
* src/retr.c (fd_read_body): Be sure the buffer size is at least 8Kb. |
| 9996 |
BUFSIZ may assume very small values with a negative impact on the |
| 9997 |
performances. |
| 9998 |
|
| 9999 |
* src/mswindows.h [NEED_GAI_STRERROR]: remove definition for gai_strerror. |
| 10000 |
|
| 10001 |
2011-05-19 Giuseppe Scrivano <[email protected]> |
| 10002 |
|
| 10003 |
* COPYING: Fix the copyright years. |
| 10004 |
Reported by: Brett Smith <[email protected]>. |
| 10005 |
|
| 10006 |
2011-05-15 Ray Satiro <[email protected]> |
| 10007 |
|
| 10008 |
* src/connect.c (select_fd) [WINDOWS]: Ensure the socket is blocking. |
| 10009 |
* src/mswindows.h: Add declaration for set_windows_fd_as_blocking_socket. |
| 10010 |
* src/mswindows.c (set_windows_fd_as_blocking_socket): New function. |
| 10011 |
|
| 10012 |
* src/openssl.c (openssl_read): Prevent loops on read errors. |
| 10013 |
|
| 10014 |
2011-04-24 Giuseppe Scrivano <[email protected]> |
| 10015 |
|
| 10016 |
* src/html-url.c: Include "exists.h". |
| 10017 |
* src/gnutls.c (wgnutls_peek): Remove local variable `ret'. |
| 10018 |
|
| 10019 |
2011-04-21 Daniel Manrique <[email protected]> (tiny change) |
| 10020 |
* src/main.c (main): Set exit status when invalid host name given in |
| 10021 |
command line. |
| 10022 |
* src/html-url.c (get_urls_file): Set exit status when invalid host |
| 10023 |
name given in input file. |
| 10024 |
|
| 10025 |
2011-04-19 Ray Satiro <[email protected]> |
| 10026 |
|
| 10027 |
* configure.ac: Adjust indentation. |
| 10028 |
|
| 10029 |
2011-04-19 Giuseppe Scrivano <[email protected]> |
| 10030 |
|
| 10031 |
* tests/Makefile.am (LIBS): Add $(LIB_CLOCK_GETTIME). |
| 10032 |
|
| 10033 |
2011-04-19 Giuseppe Scrivano <[email protected]> |
| 10034 |
|
| 10035 |
* src/gnutls.c: Do not include <fcntl.h>. |
| 10036 |
* src/gnutls.c (wgnutls_peek): Ensure there is data available before attempt |
| 10037 |
a read on the blocking socket. |
| 10038 |
|
| 10039 |
* src/Makefile.am (LIBS): Add $(LIB_CLOCK_GETTIME) |
| 10040 |
* src/utils.c: Include <sys/stat.h>. Do not include <sys/time.h>. |
| 10041 |
(touch): Use `futimens' instead of `utimes'. |
| 10042 |
|
| 10043 |
* src/mswindows.h: Do not include <direct.h>. Remove macro definition for |
| 10044 |
mkdir. |
| 10045 |
|
| 10046 |
2011-04-19 Giuseppe Scrivano <[email protected]> |
| 10047 |
|
| 10048 |
* bootstrap.conf (gnulib_modules): Add `mkdir'. |
| 10049 |
|
| 10050 |
2011-04-18 Giuseppe Scrivano <[email protected]> |
| 10051 |
|
| 10052 |
* src/utils.c: Include <sys/time.h>. Do not include <sys/utime.h>. |
| 10053 |
(touch): Use `utimes' instead of `utime'. |
| 10054 |
|
| 10055 |
* src/openssl.c (openssl_read): Fix build error. |
| 10056 |
|
| 10057 |
2011-04-17 Giuseppe Scrivano <[email protected]> |
| 10058 |
|
| 10059 |
* src/wget.h [HAVE_LIBSSL32]: Define HAVE_SSL. |
| 10060 |
|
| 10061 |
* src/gnutls.c (wgnutls_peek): Use correctly FIONBIO codes under Mingw32. |
| 10062 |
Reported by: Ray Satiro <[email protected]> |
| 10063 |
|
| 10064 |
2011-04-17 Giuseppe Scrivano <[email protected]> |
| 10065 |
|
| 10066 |
* configure.ac: Do not check the host_os twice and if windres is |
| 10067 |
available. |
| 10068 |
Reported by: Ray Satiro <[email protected]> |
| 10069 |
|
| 10070 |
2011-04-16 Ray Satiro <[email protected]> |
| 10071 |
2011-04-16 Giuseppe Scrivano <[email protected]> |
| 10072 |
|
| 10073 |
* configure.ac: Detect dynamically linked OpenSSL libraries under |
| 10074 |
mingw32. |
| 10075 |
|
| 10076 |
2011-04-14 Giuseppe Scrivano <[email protected]> |
| 10077 |
|
| 10078 |
* bootstrap: Update from gnulib. |
| 10079 |
|
| 10080 |
* bootstrap.conf (gnulib_modules): Add `pipe' and `sigpipe'. |
| 10081 |
|
| 10082 |
* .cvsignore: Remove file. |
| 10083 |
* .hgignore: Likewise. |
| 10084 |
* .symlinks: Likewise. |
| 10085 |
|
| 10086 |
* bootstrap.conf (gnulib_modules): Add `mbtowc and `unlocked-io'. |
| 10087 |
|
| 10088 |
2011-04-13 Giuseppe Scrivano <[email protected]> |
| 10089 |
|
| 10090 |
* src/openssl.c (openssl_poll): Check if the specified timeout is zero after |
| 10091 |
SSL_pending. |
| 10092 |
(openssl_peek): Make the call non-blocking. |
| 10093 |
|
| 10094 |
2011-04-11 Cristian Rodríguez <[email protected]> (tiny change) |
| 10095 |
|
| 10096 |
* src/openssl.c (ssl_init) [! OPENSSL_NO_SSL2]: Use SSLv2 only when |
| 10097 |
available. |
| 10098 |
|
| 10099 |
2011-04-07 Ray Satiro <[email protected]> (tiny change) |
| 10100 |
|
| 10101 |
(wgnutls_read): Check for the GNUTLS_E_AGAIN return code in the recv |
| 10102 |
tight loop. |
| 10103 |
(wgnutls_write): Likewise. |
| 10104 |
(wgnutls_peek): Likewise. |
| 10105 |
|
| 10106 |
2011-04-07 Giuseppe Scrivano <[email protected]> |
| 10107 |
|
| 10108 |
* src/gnutls.c (wgnutls_peek): New local variable `read'. |
| 10109 |
Use `read' instead of `ret' to store the number of read bytes. |
| 10110 |
Reported by: Ray Satiro <[email protected]> |
| 10111 |
|
| 10112 |
2011-04-07 Giuseppe Scrivano <[email protected]> |
| 10113 |
|
| 10114 |
* src/gnutls.c (ssl_init): Allow X509 v1 certificates. |
| 10115 |
Suggested by: Ray Satiro <[email protected]> |
| 10116 |
|
| 10117 |
(wgnutls_peek): Remove tight loop around gnutls_record_recv. |
| 10118 |
|
| 10119 |
2011-04-04 Giuseppe Scrivano <[email protected]> |
| 10120 |
|
| 10121 |
* tests/Makefile.am (LIBS): Remove @LIBSSL@ @W32LIBS@ |
| 10122 |
|
| 10123 |
2011-04-04 Giuseppe Scrivano <[email protected]> |
| 10124 |
|
| 10125 |
* src/openssl.c [WINDOWS]: Include <w32sock.h>. |
| 10126 |
(openssl_read): Retry the read on SSL_ERROR_WANT_READ. |
| 10127 |
|
| 10128 |
* src/host.c [WINDOWS]: Include <winsock2.h> and <ws2tcpip.h>. |
| 10129 |
Suggested by: Ray Satiro <[email protected]>. |
| 10130 |
|
| 10131 |
* src/Makefile.am (LIBS): Remove @LIBSSL@ @W32LIBS@ |
| 10132 |
|
| 10133 |
2011-04-04 Giuseppe Scrivano <[email protected]> |
| 10134 |
|
| 10135 |
* configure.ac: Use AC_CHECK_LIB to look for the openssl library. |
| 10136 |
|
| 10137 |
2011-04-03 Giuseppe Scrivano <[email protected]> |
| 10138 |
|
| 10139 |
* src/gnutls.c: Include <fcntl.h>. |
| 10140 |
(wgnutls_peek): Make the socket non blocking before attempt a read. |
| 10141 |
|
| 10142 |
* src/gnutls.c: Include <sys/ioctl.h>. |
| 10143 |
(wgnutls_peek) [F_GETFL]: Use fcntl. |
| 10144 |
(wgnutls_peek) [! F_GETFL]: Use ioctl. |
| 10145 |
|
| 10146 |
|
| 10147 |
2011-04-03 Giuseppe Scrivano <[email protected]> |
| 10148 |
|
| 10149 |
* bootstrap.conf (gnulib_modules): Add `fcntl'. |
| 10150 |
|
| 10151 |
(gnulib_modules): Add `ioctl'. |
| 10152 |
|
| 10153 |
2011-03-31 Giuseppe Scrivano <[email protected]> |
| 10154 |
|
| 10155 |
* src/recur.c (download_child_p): When --no-parent is used, check that the |
| 10156 |
ports are the same only in case the same protocol is used. |
| 10157 |
Reported by: Karl Berry <[email protected]> |
| 10158 |
|
| 10159 |
* src/res.c (res_parse): Add new line to debug messages. |
| 10160 |
|
| 10161 |
2011-03-26 Giuseppe Scrivano <[email protected]> |
| 10162 |
|
| 10163 |
* configure.ac: Fix the gnutls detection. |
| 10164 |
|
| 10165 |
2011-03-21 Giuseppe Scrivano <[email protected]> |
| 10166 |
|
| 10167 |
* src/iri.h (parse_charset) [!ENABLE_IRI]: Use the parameter to avoid a |
| 10168 |
compiler warning. |
| 10169 |
|
| 10170 |
* src/iri.h: Declare `dummy_iri' as extern not static. |
| 10171 |
* src/main.c [!ENABLE_IRI]: Define `dummy_iri'. |
| 10172 |
(main) [!ENABLE_IRI]: Initialize `dummy_iri'. |
| 10173 |
|
| 10174 |
2011-03-21 Giuseppe Scrivano <[email protected]> |
| 10175 |
|
| 10176 |
* doc/wget.texi: Do not cite the current maintainer. |
| 10177 |
Reported by: Micah Cowan <[email protected]>. |
| 10178 |
|
| 10179 |
2011-03-21 Giuseppe Scrivano <[email protected]> |
| 10180 |
|
| 10181 |
* bootstrap: Update from gnulib. |
| 10182 |
|
| 10183 |
2011-03-19 Giuseppe Scrivano <[email protected]> |
| 10184 |
|
| 10185 |
* bootstrap.conf (buildreq): Update build prerequisites list. |
| 10186 |
|
| 10187 |
2011-03-11 Giuseppe Scrivano <[email protected]> |
| 10188 |
|
| 10189 |
* src/ftp.c (getftp): Fix some memory leaks. |
| 10190 |
* src/ftp-ls.c (ftp_parse_winnt_ls): Likewise. |
| 10191 |
Reported by: Zhenbo Xu <[email protected]>. |
| 10192 |
|
| 10193 |
2011-03-02 Tomasz Buchert <[email protected]> (tiny change) |
| 10194 |
|
| 10195 |
* src/http.c (ensure_extension): Do not adjust the extension if the file |
| 10196 |
ends in .htm. |
| 10197 |
|
| 10198 |
2011-02-22 Steven Schubiger <[email protected]> |
| 10199 |
|
| 10200 |
* src/http.c (gethttp, http_loop): Move duplicated code which is run |
| 10201 |
when an existing file is not to be clobbered to a function. |
| 10202 |
(get_file_flags): New static function. |
| 10203 |
|
| 10204 |
2011-02-22 Gilles Carry <[email protected]> |
| 10205 |
|
| 10206 |
* src/main.c (prompt_for_password): Use stderr instead of stdout |
| 10207 |
to prompt password. This allows to use --output-document=- and |
| 10208 |
--ask-password simultaneously. Without this, redirecting stdout |
| 10209 |
makes password prompt invisible and mucks up payload such as in |
| 10210 |
this example: |
| 10211 |
wget --output-document=- --ask-password -user=foo \ |
| 10212 |
http://foo.com/tarball.tgz | tar zxf - |
| 10213 |
|
| 10214 |
2010-12-28 Adrien Nader <[email protected]> (tiny change) |
| 10215 |
|
| 10216 |
* src/main.c [WINDOWS]: Include <io.h> and <fcntl.h>. |
| 10217 |
(main) [WINDOWS]: Set the stdout file mode to binary. |
| 10218 |
Submitted also by: Martin Panter <[email protected]> |
| 10219 |
|
| 10220 |
2010-12-22 Giuseppe Scrivano <[email protected]> |
| 10221 |
|
| 10222 |
* doc/wget.texi (HTTP Options): Remove sentence which doesn't reflect |
| 10223 |
the wget behaviour when -k -K are used with -E. |
| 10224 |
Reported by: [email protected]. |
| 10225 |
|
| 10226 |
2010-12-10 Evgeniy Philippov <[email protected]> (tiny change) |
| 10227 |
|
| 10228 |
* src/main.c (main): Initialize `total_downloaded_bytes'. |
| 10229 |
|
| 10230 |
2010-12-09 Giuseppe Scrivano <[email protected]> |
| 10231 |
|
| 10232 |
* src/main.c (main): If --no-clobber and --convert-links are used at the |
| 10233 |
same time, use only the latter. |
| 10234 |
Reported by: Romain Vimont <[email protected]> |
| 10235 |
|
| 10236 |
2010-12-07 Jessica McKellar <[email protected]> (tiny change) |
| 10237 |
|
| 10238 |
* vms/WGET.HLP: Make help message clearer. |
| 10239 |
|
| 10240 |
2010-12-07 Jessica McKellar <[email protected]> (tiny change) |
| 10241 |
|
| 10242 |
* src/main.c: Make help message clearer. |
| 10243 |
|
| 10244 |
2010-12-02 Giuseppe Scrivano <[email protected]> |
| 10245 |
|
| 10246 |
* src/build_info.c.in: Do not list md5. |
| 10247 |
|
| 10248 |
2010-12-01 Giuseppe Scrivano <[email protected]> |
| 10249 |
|
| 10250 |
* src/cmpt.c: Include <unistd.h> inconditionally. |
| 10251 |
* src/connect.c: Likewise. |
| 10252 |
* src/convert.c: Likewise. |
| 10253 |
* src/ftp-basic.c: Likewise. |
| 10254 |
* src/ftp-ls.c: Likewise. |
| 10255 |
* src/ftp.c: Likewise. |
| 10256 |
* src/gnutls.c: Likewise. |
| 10257 |
* src/http.c: Likewise. |
| 10258 |
* src/init.c: Likewise. |
| 10259 |
* src/log.c: Likewise. |
| 10260 |
* src/main.c: Likewise. |
| 10261 |
* src/openssl.c: Likewise. |
| 10262 |
* src/progress.c: Likewise. |
| 10263 |
* src/ptimer.c: Likewise. |
| 10264 |
* src/recur.c: Likewise. |
| 10265 |
* src/retr.c: Likewise. |
| 10266 |
* src/url.c: Likewise. |
| 10267 |
* src/utils.c: Likewise. |
| 10268 |
|
| 10269 |
* src/retr.c (fd_read_body): Dinamically allocate `dlbuf'. |
| 10270 |
|
| 10271 |
2010-11-27 Reza Snowdon <[email protected]> |
| 10272 |
|
| 10273 |
* src/init.c (initialize): If 'ok' is not zero; exit, as this |
| 10274 |
indicates there was a problem parsing 'SYSTEM_WGETRC'. |
| 10275 |
Fixes bug #20370. |
| 10276 |
|
| 10277 |
2010-11-22 Giuseppe Scrivano <[email protected]> |
| 10278 |
|
| 10279 |
Revert last commit. |
| 10280 |
* src/ftp.c (getftp): When count > 0, don't append to the existing file. |
| 10281 |
* src/http.c (gethttp): Likewise. |
| 10282 |
|
| 10283 |
2010-11-21 Giuseppe Scrivano <[email protected]> |
| 10284 |
|
| 10285 |
* src/ftp.c (getftp): If `count' is bigger than zero, try to resume the |
| 10286 |
download, not restart it. |
| 10287 |
* src/http.c (gethttp): Likewise. |
| 10288 |
Suggested by: Evgeny Kapun <[email protected]>. |
| 10289 |
|
| 10290 |
2010-11-20 Filipe Brandenburger <[email protected]> (tiny change) |
| 10291 |
|
| 10292 |
* src/http.c (gethttp): Repeat a POST request on a 307 response. |
| 10293 |
* src/retr.c (retrieve_url): Use NEWLOCATION_KEEP_POST. |
| 10294 |
* src/wget.h: Define NEWLOCATION_KEEP_POST. |
| 10295 |
|
| 10296 |
2010-11-19 Giuseppe Scrivano <[email protected]> |
| 10297 |
|
| 10298 |
* src/ftp.c (getftp): Accept new argument `count'. When `count' is |
| 10299 |
bigger than zero, assume the file can be overwritten. |
| 10300 |
(ftp_loop_internal): Pass new argument `count' to `getftp'. |
| 10301 |
|
| 10302 |
* src/http.c (gethttp): Accept new argument `count'. When `count' is |
| 10303 |
bigger than zero, assume the file can be overwritten. |
| 10304 |
(http_loop): Pass new argument `count' to `gethttp'. |
| 10305 |
Reported by: Evgeny Kapun <[email protected]>. |
| 10306 |
|
| 10307 |
2010-10-26 Giuseppe Scrivano <[email protected]> |
| 10308 |
|
| 10309 |
* doc/wget.texi (Download Options): Remove unclear statement about the |
| 10310 |
--waitretry option. |
| 10311 |
Reported by: Manfred Koizar <[email protected]>. |
| 10312 |
|
| 10313 |
2010-10-24 Jessica McKellar <[email protected]> (tiny change) |
| 10314 |
|
| 10315 |
* src/main.c (main): Print the total download time as part of the |
| 10316 |
summary for downloads using the recursive or page requisites |
| 10317 |
options. Fixes bug #21359. |
| 10318 |
|
| 10319 |
2010-10-24 Jessica McKellar <[email protected]> (tiny change) |
| 10320 |
|
| 10321 |
* NEWS: Mention the change to the the summary for recursive downloads. |
| 10322 |
|
| 10323 |
2010-10-24 Giuseppe Scrivano <[email protected]> |
| 10324 |
|
| 10325 |
* src/gnutls.c (wgnutls_peek): Do not return an error when |
| 10326 |
`gnutls_record_recv' fails but some data is already available. |
| 10327 |
|
| 10328 |
2010-10-23 Giuseppe Scrivano <[email protected]> |
| 10329 |
|
| 10330 |
* tests/Makefile.am (LIBS): Remove @LIBGNUTLS@ and use @W32LIBS@ as last |
| 10331 |
component. |
| 10332 |
|
| 10333 |
2010-10-23 Giuseppe Scrivano <[email protected]> |
| 10334 |
|
| 10335 |
* src/Makefile.am (LIBS): Remove @LIBGNUTLS@ and use @W32LIBS@ as last |
| 10336 |
component. |
| 10337 |
|
| 10338 |
* src/gnutls.c (wgnutls_peek): Block until data is available. |
| 10339 |
|
| 10340 |
2010-10-23 Giuseppe Scrivano <[email protected]> |
| 10341 |
|
| 10342 |
* configure.ac: Add check for libgpg-error and libgcrypt. |
| 10343 |
|
| 10344 |
2010-10-21 Giuseppe Scrivano <[email protected]> |
| 10345 |
|
| 10346 |
* src/retr.c (retrieve_url): Do not register HTML files twice. |
| 10347 |
Reported by: Manfred Koizar <[email protected]>. |
| 10348 |
|
| 10349 |
2010-10-18 Manfred Koizar <[email protected]> (tiny change) |
| 10350 |
|
| 10351 |
* src/html-url.c (tag_handle_link): Do not assume external links type |
| 10352 |
to be always "text/html". |
| 10353 |
|
| 10354 |
2010-10-16 Giuseppe Scrivano <[email protected]> |
| 10355 |
|
| 10356 |
* src/connect.c (socket_ip_address): Initialize `sockaddr' to zero. |
| 10357 |
* src/ftp-basic.c (ftp_epsv): Remove dead assignment to `s'. |
| 10358 |
* src/ftp-ls.c (ftp_parse_vms_ls): Remove dead assignment to `len'. |
| 10359 |
* src/http.c (skip_short_body): Remove dead assignment to `ret'. |
| 10360 |
* src/init.c (wgetrc_user_file_name): Remove dead assignment to `home'. |
| 10361 |
* src/main.c (main): Silent warning reported by clang. |
| 10362 |
(http_loop): Silent warning reported by clang. |
| 10363 |
* src/retr.c (retrieve_url): Likewise. |
| 10364 |
* src/url.c (init_seps): Remove dead assignment to `p'. |
| 10365 |
|
| 10366 |
2010-10-11 Steven Schubiger <[email protected]> |
| 10367 |
|
| 10368 |
* src/ftp.c (getftp): Initialize `targ'. |
| 10369 |
|
| 10370 |
2010-10-11 Giuseppe Scrivano <[email protected]> |
| 10371 |
|
| 10372 |
* src/ftp.c (getftp): Fix indentation. |
| 10373 |
|
| 10374 |
2010-10-08 Ivanov Anton <[email protected]> (tiny change) |
| 10375 |
|
| 10376 |
* src/html-url.c (check_style_attr): Skip quotes when they are present. |
| 10377 |
|
| 10378 |
2010-10-06 Giuseppe Scrivano <[email protected]> |
| 10379 |
|
| 10380 |
* src/main.c (main): Remove unused variable `status'. |
| 10381 |
|
| 10382 |
2010-09-25 Merinov Nikolay <[email protected]> |
| 10383 |
|
| 10384 |
* src/init.c: Add "unlink" command into command list. |
| 10385 |
* src/main.c: Add "unlink" option into option_data list. |
| 10386 |
* src/options.h: Adding unlink field into struct options. |
| 10387 |
* src/wget.h: Addind UNLINKERR error into uerr_t enum. |
| 10388 |
* src/exits.c (get_status_for_err): define status for UNLINKERR. |
| 10389 |
* src/ftp.c (getftp): unlink file if exists, instead clobbering. |
| 10390 |
(ftp_loop_internal): processing UNLINKERR. |
| 10391 |
* src/http.c (gethttp): unlink file if exists, instead clobbering. |
| 10392 |
(http_loop): processing UNLINKERR. |
| 10393 |
|
| 10394 |
2010-09-25 Merinov Nikolay <[email protected]> |
| 10395 |
|
| 10396 |
* doc/wget.texi (Download Options): Document --unlink option. |
| 10397 |
|
| 10398 |
2010-09-24 Dennis, CHENG Renquan <[email protected]> |
| 10399 |
|
| 10400 |
Fix problem when content-disposition is used with recursive downloading. |
| 10401 |
* src/url.h (url_file_name): Add a new argument `replaced_filename'. |
| 10402 |
* src/url.c (url_file_name): Likewise. |
| 10403 |
* src/http.c (parse_content_disposition): Do not add a prefix to the return |
| 10404 |
value. |
| 10405 |
(test_parse_content_disposition): Adjust tests. |
| 10406 |
(gethttp): Pass additional parameter to `url_file_name'. |
| 10407 |
(http_loop): Likewise. |
| 10408 |
* src/ftp.c (ftp_loop_internal, ftp_get_listing, ftp_retrieve_list) |
| 10409 |
(ftp_loop): Likewise. |
| 10410 |
|
| 10411 |
2010-09-14 Giuseppe Scrivano <[email protected]> |
| 10412 |
|
| 10413 |
* src/convert.c (local_quote_string): Accept new parameter `no_html_quote'. |
| 10414 |
Inhibit HTML quoting when `no_html_quote'. |
| 10415 |
(convert_links): Disable HTML quoting in CSS files. |
| 10416 |
Reported by: Manuel Reinhardt <[email protected]>. |
| 10417 |
|
| 10418 |
2010-09-13 Giuseppe Scrivano <[email protected]> |
| 10419 |
|
| 10420 |
* doc/wget.texi (Recursive Accept/Reject Options): Remove superfluous dot. |
| 10421 |
Reported by: Snader_LB. |
| 10422 |
|
| 10423 |
2010-09-12 Mike Frysinger <[email protected]> |
| 10424 |
|
| 10425 |
Fix some tests failures. |
| 10426 |
* tests/Test-iri-forced-remote.px: Use --trust-server-names to the cmdline |
| 10427 |
variable. |
| 10428 |
* tests/Test-iri-list.px: Likewise. |
| 10429 |
* tests/Test-iri.px: Likewise. |
| 10430 |
|
| 10431 |
2010-09-12 Giuseppe Scrivano <[email protected]> |
| 10432 |
|
| 10433 |
* src/main.c (print_help): Align --trust-server-names help text with |
| 10434 |
the rest of the text. |
| 10435 |
Suggested by: Mike Frysinger <[email protected]>. |
| 10436 |
|
| 10437 |
2010-09-06 Giuseppe Scrivano <[email protected]> |
| 10438 |
|
| 10439 |
* lib/Makefile.am: Fix typo. |
| 10440 |
|
| 10441 |
2010-08-20 Giuseppe Scrivano <[email protected]> |
| 10442 |
|
| 10443 |
* src/convert.c: Include "iri.h". |
| 10444 |
(convert_links_in_hashtable): Parse the url, if |
| 10445 |
necessary, before check if it is present in the dowloaded url |
| 10446 |
map. |
| 10447 |
Reported by: <[email protected]>. |
| 10448 |
|
| 10449 |
2010-08-09 Giuseppe Scrivano <[email protected]> |
| 10450 |
|
| 10451 |
Fix a problem with HTTP/1.0 proxies. |
| 10452 |
* src/http.c (gethttp): Specify the connection header when keep alive |
| 10453 |
connections are not used. |
| 10454 |
|
| 10455 |
Use persistent connections with proxies supporting them. |
| 10456 |
* src/http.c (gethttp): Specify Proxy-Connection to the HTTP proxy. |
| 10457 |
|
| 10458 |
2010-08-08 Reza Snowdon <[email protected]> |
| 10459 |
|
| 10460 |
* src/main.c (main): inserted 'defaults'. |
| 10461 |
Added additional 'getopt_long' while loop to search and apply a |
| 10462 |
user specified config file before any other options. |
| 10463 |
New variables 'retconf', 'use_userconfig', |
| 10464 |
'confval', 'userrc_ret', 'config_opt'. |
| 10465 |
* src/init.c: Include stdbool.h. |
| 10466 |
(commands): Added config details. |
| 10467 |
(defaults): Removed static. |
| 10468 |
(wgetrc): Removed static. |
| 10469 |
(initialize): Removed 'defaults ()', |
| 10470 |
changed 'int ok' to 'bool ok'. |
| 10471 |
* src/options.h: New variable 'choose_config'. |
| 10472 |
* src/init.h (defaults): exported function. |
| 10473 |
(run_wgetrc): exported function. |
| 10474 |
|
| 10475 |
2010-08-08 Reza Snowdon <[email protected]> |
| 10476 |
* doc/wget.texi: Added information about the config option to the |
| 10477 |
'Overview' section and a description of the option in |
| 10478 |
'Logging and Input File Options'. |
| 10479 |
|
| 10480 |
2010-08-08 Giuseppe Scrivano <[email protected]> |
| 10481 |
|
| 10482 |
* Makefile.am (EXTRA_DIST): Remove configure.bat. |
| 10483 |
|
| 10484 |
2010-08-06 Giuseppe Scrivano <[email protected]> |
| 10485 |
|
| 10486 |
* src/css-url.c (get_uri_string): Skip empty urls. |
| 10487 |
|
| 10488 |
2010-07-30 Giuseppe Scrivano <[email protected]> |
| 10489 |
|
| 10490 |
* src/html-url.h (struct map_context): Remove member `tail'. |
| 10491 |
|
| 10492 |
* src/html-url.c (append_url): Append the new url ordered by `position'. |
| 10493 |
(get_urls_html): Do not initialize `ctx.tail'. |
| 10494 |
|
| 10495 |
* src/css-url.c (get_urls_css_file): Do not initialize `ctx.tail'. |
| 10496 |
|
| 10497 |
2010-07-29 Giuseppe Scrivano <[email protected]> |
| 10498 |
|
| 10499 |
* src/gnutls.c (wgnutls_peek): Don't read more data if the buffered peek |
| 10500 |
data is sufficient. |
| 10501 |
|
| 10502 |
2010-07-28 Giuseppe Scrivano <[email protected]> |
| 10503 |
|
| 10504 |
* src/http.h (http_loop): Add new argument `original_url' |
| 10505 |
* src/http.c (http_loop): Add new argument `original_url'. Use |
| 10506 |
`original_url' to get a filename if `trustservernames' is false. |
| 10507 |
|
| 10508 |
* src/init.c (commands): Add "trustservernames". |
| 10509 |
|
| 10510 |
* src/options.h (library): Add variable `trustservernames'. |
| 10511 |
|
| 10512 |
* src/main.c (option_data): Add trust-server-names. |
| 10513 |
(print_help): Describe --trust-server-names. |
| 10514 |
|
| 10515 |
* src/retr.c (retrieve_url): Pass new argument to `http_loop'. |
| 10516 |
|
| 10517 |
2010-07-28 Alon Bar-Lev <[email protected]> (tiny change) |
| 10518 |
|
| 10519 |
* doc/texi2pod.pl: Use the warnings module only when it is available. |
| 10520 |
|
| 10521 |
2010-07-25 John Trengrove <[email protected]> (tiny change) |
| 10522 |
|
| 10523 |
* src/ftp.h: Added enum `parsetype'. Modified struct to hold parsetype. |
| 10524 |
|
| 10525 |
* src/ftp-ls.c (ftp_parse_unix_ls): Default to TT_DAY. Change to TT_HOUR_MIN |
| 10526 |
if hours/minutes parsed. |
| 10527 |
(ftp_parse_winnt_ls): Default to TT_HOUR_MIN. |
| 10528 |
(ftp_parse_vms_ls): Default to TT_HOUR_MIN. |
| 10529 |
(ftp_index): Print only if fileinfo struct value ttype set to TT_HOUR_MIN. |
| 10530 |
|
| 10531 |
2010-07-24 Giuseppe Scrivano <[email protected]> |
| 10532 |
|
| 10533 |
* configure.bat: Remove file. |
| 10534 |
|
| 10535 |
2010-07-20 Leonid Petrov <[email protected]> |
| 10536 |
|
| 10537 |
* src/ftp.c (getftp): Don't attempt to retrieve the file if it is already |
| 10538 |
completely. |
| 10539 |
(ftp_loop_internal): Force the length to be zero for symlinks. |
| 10540 |
|
| 10541 |
2010-07-20 Alan Jenkins <[email protected]> (tiny change) |
| 10542 |
|
| 10543 |
* src/http.c (gethttp): Check content-length was set before trying to |
| 10544 |
compare it with the already downloded filesize. |
| 10545 |
|
| 10546 |
2010-07-18 Giuseppe Scrivano <[email protected]> |
| 10547 |
|
| 10548 |
* src/http.c (gethttp): If -N is used, don't exit immediately if the content |
| 10549 |
length is less or equal than the existing file size. Specify "Range" |
| 10550 |
only if -N is not used. |
| 10551 |
Reported by: Caleb Cushing <[email protected]>. |
| 10552 |
|
| 10553 |
2010-07-14 Giuseppe Scrivano <[email protected]> |
| 10554 |
|
| 10555 |
* src/ftp.c (max): Remove definition. |
| 10556 |
(getftp): New variable `got_expected_bytes'. Let `expected_bytes' be |
| 10557 |
the value SIZE returns, otherwise use the bytes count returned by RETR. |
| 10558 |
Suggested by Daniel Stenberg <[email protected]>. |
| 10559 |
|
| 10560 |
2010-07-14 Giuseppe Scrivano <[email protected]> |
| 10561 |
|
| 10562 |
* src/ftp.c (max): Add definition. |
| 10563 |
(getftp): Consider for `expected_bytes' the greatest value between the |
| 10564 |
bytes count returned by SIZE and the bytes count returned by RETR. |
| 10565 |
Reported by: Jozua <[email protected]>. |
| 10566 |
|
| 10567 |
2010-07-11 Giuseppe Scrivano <[email protected]> |
| 10568 |
|
| 10569 |
* src/http.c (http_loop): New variable `force_full_retrieve'. If the remote |
| 10570 |
file is newer that the local one then inhibit -c. |
| 10571 |
Reported by: Caleb Cushing <[email protected]>. |
| 10572 |
|
| 10573 |
2010-07-11 Giuseppe Scrivano <[email protected]> |
| 10574 |
|
| 10575 |
* configure.ac (AC_CHECK_SIZEOF): Quote argument. |
| 10576 |
Reported by: Jochen Roderburg <[email protected]>. |
| 10577 |
|
| 10578 |
2010-07-09 Giuseppe Scrivano <[email protected]> |
| 10579 |
|
| 10580 |
* src/css-url.c (get_urls_css_file): Use `wget_read_file' instead of |
| 10581 |
`read_file'. Use `wget_read_file_free' instead of `read_file_free'. |
| 10582 |
* src/convert.c (convert_links): Likewise. |
| 10583 |
* src/html-url.c (get_urls_html, get_urls_file): Likewise. |
| 10584 |
* src/res.c (res_parse_from_file): Likewise. |
| 10585 |
|
| 10586 |
* src/utils.h: Rename `read_file' to `wget_read_file'. Rename |
| 10587 |
`read_file_free' to `wget_read_file_free'. |
| 10588 |
|
| 10589 |
* src/utils.c (wget_read_file): Renamed from `read_file'. |
| 10590 |
(wget_read_file_free): Renamed from `read_file_free'. |
| 10591 |
|
| 10592 |
2010-07-09 Giuseppe Scrivano <[email protected]> |
| 10593 |
|
| 10594 |
* bootstrap.conf (gnulib_modules): Add `vasprintf'. Remove `asprintf'. |
| 10595 |
|
| 10596 |
2010-07-09 Giuseppe Scrivano <[email protected]> |
| 10597 |
|
| 10598 |
* bootstrap.conf (buildreq): Relax gettext version to 0.17. |
| 10599 |
|
| 10600 |
2010-07-05 Giuseppe Scrivano <[email protected]> |
| 10601 |
|
| 10602 |
* src/gnutls.c (ssl_init): New local variables `ca_directory' and `dir'. |
| 10603 |
Load default root certificates under the `ca_directory' directory. |
| 10604 |
|
| 10605 |
2010-07-05 Giuseppe Scrivano <[email protected]> |
| 10606 |
|
| 10607 |
* bootstrap.conf (gnulib_modules): Add `asprintf'. |
| 10608 |
|
| 10609 |
2010-07-03 Giuseppe Scrivano <[email protected]> |
| 10610 |
|
| 10611 |
* src/gnutls.c (ssl_connect_wget): New local variable `allowed_protocols'. |
| 10612 |
Honor the --secure-protocol flag. |
| 10613 |
|
| 10614 |
2010-06-22 Giuseppe Scrivano <[email protected]> |
| 10615 |
|
| 10616 |
* configure.ac: By default use GNU TLS not OpenSSL. |
| 10617 |
|
| 10618 |
2010-06-20 Giuseppe Scrivano <[email protected]> |
| 10619 |
|
| 10620 |
* src/main.c (print_help): Fix help string for --random-wait. Its range is |
| 10621 |
[0.5*wait, 1.5*wait) not [0, 2*wait). |
| 10622 |
Reported by: Tom Mizutani <[email protected]>. |
| 10623 |
|
| 10624 |
2010-06-17 Giuseppe Scrivano <[email protected]> |
| 10625 |
|
| 10626 |
* windows: Remove directory. |
| 10627 |
* Makefile.am (SUBDIRS): Remove windows. |
| 10628 |
* configure.ac: Don't generate windows/Makefile. |
| 10629 |
|
| 10630 |
2010-06-15 Giuseppe Scrivano <[email protected]> |
| 10631 |
|
| 10632 |
* src/gnutls.c [WIN32]: Include "w32sock.h". |
| 10633 |
(FD_TO_SOCKET): Add definition. |
| 10634 |
(ssl_connect_wget): Get the real socket handle by FD_TO_SOCKET. |
| 10635 |
Define FD_TO_SOCKET if it is not yet defined. |
| 10636 |
|
| 10637 |
2010-06-15 Giuseppe Scrivano <[email protected]> |
| 10638 |
|
| 10639 |
* m4/wget.m4 (WGET_STRUCT_SOCKADDR_STORAGE): Guard header inclusions. |
| 10640 |
(TYPE_STRUCT_SOCKADDR_IN6): Likewise. |
| 10641 |
(MEMBER_SIN6_SCOPE_ID): Likewise. |
| 10642 |
(PROTO_INET6): Likewise. |
| 10643 |
|
| 10644 |
* configure.ac: Don't check for `getaddrinfo'. |
| 10645 |
|
| 10646 |
* bootstrap.conf (gnulib_modules): Add `getaddrinfo' module. |
| 10647 |
|
| 10648 |
2010-06-14 Giuseppe Scrivano <[email protected]> |
| 10649 |
|
| 10650 |
* src/gnutls.c: Include <stdlib.h>. |
| 10651 |
(struct wgnutls_transport_context): Remove `peekstart'. |
| 10652 |
(ssl_connect_wget): Renamed from `ssl_connect'. |
| 10653 |
(wgnutls_poll): New variable `ctx'. |
| 10654 |
(wgnutls_read): Don't use `ctx->peekstart'. |
| 10655 |
(wgnutls_peek): Likewise. Don't attempt to read if there is not |
| 10656 |
ready data. |
| 10657 |
|
| 10658 |
2010-06-14 Giuseppe Scrivano <[email protected]> |
| 10659 |
* src/http.c (http_loop): Always send a HEAD request when -N is used |
| 10660 |
together with --content-disposition. |
| 10661 |
Reported by: Jochen Roderburg <[email protected]>. |
| 10662 |
|
| 10663 |
2010-06-10 Muthu Subramanian K <[email protected]> (tiny change) |
| 10664 |
|
| 10665 |
* src/http.c (http_loop): Increase `total_downloaded_bytes' by |
| 10666 |
`hstat.rd_size', not `hstat.len'. |
| 10667 |
|
| 10668 |
2010-06-10 Giuseppe Scrivano <[email protected]> |
| 10669 |
|
| 10670 |
* src/main.c (print_version): Drop the current maintainer line. |
| 10671 |
|
| 10672 |
2010-06-10 Giuseppe Scrivano <[email protected]> |
| 10673 |
|
| 10674 |
* src/Makefile.am (build_info.c): Generate the `build_info.c' file under |
| 10675 |
the build directory. |
| 10676 |
Patch by: Daniel Stenberg <[email protected]>. |
| 10677 |
|
| 10678 |
2010-06-10 Giuseppe Scrivano <[email protected]> |
| 10679 |
|
| 10680 |
* configure.ac (AM_INIT_AUTOMAKE): Remove dist-bzip2 dist-lzma from |
| 10681 |
automake options. |
| 10682 |
Reported by: Daniel Stenberg <[email protected]>. |
| 10683 |
|
| 10684 |
2010-06-10 Giuseppe Scrivano <[email protected]> |
| 10685 |
|
| 10686 |
* bootstrap.conf (buildreq): Add definition. |
| 10687 |
|
| 10688 |
2010-06-04 Giuseppe Scrivano <[email protected]> |
| 10689 |
|
| 10690 |
* tests/Test--no-content-disposition-trivial.px: Use /usr/bin/env to find the |
| 10691 |
perl interpreter. |
| 10692 |
* tests/Test--no-content-disposition.px: Likewise. |
| 10693 |
* tests/Test--spider-fail.px: Likewise. |
| 10694 |
* tests/Test--spider-r--no-content-disposition-trivial.px: Likewise. |
| 10695 |
* tests/Test--spider-r--no-content-disposition.px: Likewise. |
| 10696 |
* tests/Test--spider-r-HTTP-Content-Disposition.px: Likewise. |
| 10697 |
* tests/Test--spider-r.px: Likewise. |
| 10698 |
* tests/Test--spider.px: Likewise. |
| 10699 |
* tests/Test-E-k-K.px: Likewise. |
| 10700 |
* tests/Test-E-k.px: Likewise. |
| 10701 |
* tests/Test-HTTP-Content-Disposition-1.px: Likewise. |
| 10702 |
* tests/Test-HTTP-Content-Disposition-2.px: Likewise. |
| 10703 |
* tests/Test-HTTP-Content-Disposition.px: Likewise. |
| 10704 |
* tests/Test-N--no-content-disposition-trivial.px: Likewise. |
| 10705 |
* tests/Test-N--no-content-disposition.px: Likewise. |
| 10706 |
* tests/Test-N-HTTP-Content-Disposition.px: Likewise. |
| 10707 |
* tests/Test-N-current.px: Likewise. |
| 10708 |
* tests/Test-N-no-info.px: Likewise. |
| 10709 |
* tests/Test-N-old.px: Likewise. |
| 10710 |
* tests/Test-N-smaller.px: Likewise. |
| 10711 |
* tests/Test-N.px: Likewise. |
| 10712 |
* tests/Test-O--no-content-disposition-trivial.px: Likewise. |
| 10713 |
* tests/Test-O--no-content-disposition.px: Likewise. |
| 10714 |
* tests/Test-O-HTTP-Content-Disposition.px: Likewise. |
| 10715 |
* tests/Test-O-nc.px: Likewise. |
| 10716 |
* tests/Test-O-nonexisting.px: Likewise. |
| 10717 |
* tests/Test-O.px: Likewise. |
| 10718 |
* tests/Test-Restrict-Lowercase.px: Likewise. |
| 10719 |
* tests/Test-Restrict-Uppercase.px: Likewise. |
| 10720 |
* tests/Test-auth-basic.px: Likewise. |
| 10721 |
* tests/Test-auth-no-challenge-url.px: Likewise. |
| 10722 |
* tests/Test-auth-no-challenge.px: Likewise. |
| 10723 |
* tests/Test-auth-retcode.px: Likewise. |
| 10724 |
* tests/Test-auth-with-content-disposition.px: Likewise. |
| 10725 |
* tests/Test-c-full.px: Likewise. |
| 10726 |
* tests/Test-c-partial.px: Likewise. |
| 10727 |
* tests/Test-c-shorter.px: Likewise. |
| 10728 |
* tests/Test-c.px: Likewise. |
| 10729 |
* tests/Test-cookies-401.px: Likewise. |
| 10730 |
* tests/Test-cookies.px: Likewise. |
| 10731 |
* tests/Test-ftp-bad-list.px: Likewise. |
| 10732 |
* tests/Test-ftp-iri-disabled.px: Likewise. |
| 10733 |
* tests/Test-ftp-iri-fallback.px: Likewise. |
| 10734 |
* tests/Test-ftp-iri-recursive.px: Likewise. |
| 10735 |
* tests/Test-ftp-iri.px: Likewise. |
| 10736 |
* tests/Test-ftp-pasv-fail.px: Likewise. |
| 10737 |
* tests/Test-ftp-recursive.px: Likewise. |
| 10738 |
* tests/Test-ftp.px: Likewise. |
| 10739 |
* tests/Test-i-ftp.px: Likewise. |
| 10740 |
* tests/Test-i-http.px: Likewise. |
| 10741 |
* tests/Test-idn-cmd.px: Likewise. |
| 10742 |
* tests/Test-idn-headers.px: Likewise. |
| 10743 |
* tests/Test-idn-meta.px: Likewise. |
| 10744 |
* tests/Test-idn-robots.px: Likewise. |
| 10745 |
* tests/Test-iri-disabled.px: Likewise. |
| 10746 |
* tests/Test-iri-forced-remote.px: Likewise. |
| 10747 |
* tests/Test-iri-list.px: Likewise. |
| 10748 |
* tests/Test-iri-percent.px: Likewise. |
| 10749 |
* tests/Test-iri.px: Likewise. |
| 10750 |
* tests/Test-k.px: Likewise. |
| 10751 |
* tests/Test-meta-robots.px: Likewise. |
| 10752 |
* tests/Test-nonexisting-quiet.px: Likewise. |
| 10753 |
* tests/Test-noop.px: Likewise. |
| 10754 |
* tests/Test-np.px: Likewise. |
| 10755 |
* tests/Test-proxied-https-auth.px: Likewise. |
| 10756 |
* tests/Test-proxy-auth-basic.px: Likewise. |
| 10757 |
* tests/Test-restrict-ascii.px: Likewise. |
| 10758 |
Reported by [email protected]. |
| 10759 |
|
| 10760 |
2010-06-04 Giuseppe Scrivano <[email protected]> |
| 10761 |
|
| 10762 |
* build-aux/build_info.pl: Use /usr/bin/env to find the perl |
| 10763 |
interpreter. |
| 10764 |
* util/paramcheck.pl: Likewise. |
| 10765 |
* util/rmold.pl: Likewise. |
| 10766 |
Reported by [email protected]. |
| 10767 |
|
| 10768 |
2010-06-03 Giuseppe Scrivano <[email protected]> |
| 10769 |
|
| 10770 |
* src/http.c (http_loop): Do not send a HEAD request before the GET request |
| 10771 |
when --content-disposition is used. |
| 10772 |
Reported by: [email protected]. |
| 10773 |
|
| 10774 |
2010-06-03 Giuseppe Scrivano <[email protected]> |
| 10775 |
|
| 10776 |
* configure.ac (W32LIBS): Remove -lwsock32. |
| 10777 |
|
| 10778 |
2010-06-03 Giuseppe Scrivano <[email protected]> |
| 10779 |
|
| 10780 |
* bootstrap.conf (gnulib_modules): Add iconv-h. |
| 10781 |
|
| 10782 |
2010-05-31 Giuseppe Scrivano <[email protected]> |
| 10783 |
|
| 10784 |
* src/sysdep.h (_SVID_SOURCE): Remove definition. |
| 10785 |
(_BSD_SOURCE): Remove definition. |
| 10786 |
|
| 10787 |
2010-05-31 Giuseppe Scrivano <[email protected]> |
| 10788 |
|
| 10789 |
* src/recur.c (retrieve_tree): Remove variable `up_error_code'. |
| 10790 |
|
| 10791 |
* src/iri.c (open_locale_to_utf8): Remove function. |
| 10792 |
|
| 10793 |
2010-05-31 Giuseppe Scrivano <[email protected]> |
| 10794 |
|
| 10795 |
* src/html-parse.c (map_html_tags): Fix condition for closed tag. Handle |
| 10796 |
the case '>' is not specified after '/'. |
| 10797 |
|
| 10798 |
2010-05-31 Giuseppe Scrivano <[email protected]> |
| 10799 |
|
| 10800 |
* src/css.l: Use option "nounput". |
| 10801 |
(YY_NO_INPUT): Add macro definition. |
| 10802 |
|
| 10803 |
2010-05-30 Giuseppe Scrivano <[email protected]> |
| 10804 |
|
| 10805 |
* src/html-parse.c (NAME_CHAR_P): Consider '<' an invalid character. |
| 10806 |
(advance_declaration): Close the tag if '<' is found. |
| 10807 |
(map_html_tags): Likewise. |
| 10808 |
|
| 10809 |
2010-05-29 Giuseppe Scrivano <[email protected]> |
| 10810 |
|
| 10811 |
* tests/Makefile.am (EXTRA_DIST): Add Test-auth-retcode.px. |
| 10812 |
|
| 10813 |
* tests/run-px (tests): Likewise. |
| 10814 |
|
| 10815 |
* tests/Test-auth-retcode.px: New file. |
| 10816 |
|
| 10817 |
2010-05-27 Giuseppe Scrivano <[email protected]> |
| 10818 |
|
| 10819 |
* src/main.c (print_usage): Accept a new parameter `error'. |
| 10820 |
(main): Print diagnostic messages to stderr, not stdout. |
| 10821 |
|
| 10822 |
2010-05-27 Giuseppe Scrivano <[email protected]> |
| 10823 |
|
| 10824 |
* src/main.c (main): Exit with failure when -k is specified and -O is not |
| 10825 |
a regular file. |
| 10826 |
|
| 10827 |
2010-05-27 Giuseppe Scrivano <[email protected]> |
| 10828 |
|
| 10829 |
* src/http.c (gethttp): Consider new cookies retrieved when the |
| 10830 |
authorization fails. |
| 10831 |
|
| 10832 |
2010-05-27 Giuseppe Scrivano <[email protected]> |
| 10833 |
|
| 10834 |
* src/Makefile.am (wget_SOURCES): Remove `snprintf.c'. |
| 10835 |
|
| 10836 |
* src/snprintf.c: Remove file. |
| 10837 |
|
| 10838 |
2010-05-27 Giuseppe Scrivano <[email protected]> |
| 10839 |
|
| 10840 |
* doc/wget.texi (Download Options): Document that -k can be used with -O |
| 10841 |
only with regular files. |
| 10842 |
|
| 10843 |
2010-05-27 Giuseppe Scrivano <[email protected]> |
| 10844 |
|
| 10845 |
* bootstrap.conf (gnulib_modules): Add `snprintf' module. |
| 10846 |
|
| 10847 |
* configure.ac: Remove check for the `snprintf' function. |
| 10848 |
|
| 10849 |
2010-05-25 Giuseppe Scrivano <[email protected]> |
| 10850 |
|
| 10851 |
* src/host.c (sufmatch): Do not consider zero length entries. |
| 10852 |
|
| 10853 |
* src/http.c (H_10X): New macro. |
| 10854 |
(gethttp): Silently ignore 1xx responses. |
| 10855 |
|
| 10856 |
2010-05-24 Giuseppe Scrivano <[email protected]> |
| 10857 |
|
| 10858 |
* src/iri.h (dummy_iri): Define static. |
| 10859 |
|
| 10860 |
* src/css-tokens.h (css_tokens): Remove variable. |
| 10861 |
|
| 10862 |
2010-05-23 Giuseppe Scrivano <[email protected]> |
| 10863 |
|
| 10864 |
* src/http.c (http_atotm): Count the NUL character when copying the locale |
| 10865 |
string. |
| 10866 |
Reported by: Florian Weimer <[email protected]> |
| 10867 |
|
| 10868 |
2010-05-16 Giuseppe Scrivano <[email protected]> |
| 10869 |
|
| 10870 |
* tests/Makefile.am (../md5/libmd5.a): Remove rule. |
| 10871 |
(LDADD): Remove MD5_LDADD. |
| 10872 |
|
| 10873 |
2010-05-16 Giuseppe Scrivano <[email protected]> |
| 10874 |
|
| 10875 |
* src/Makefile.am (LDADD): Remove MD5_LDADD. |
| 10876 |
(MD5_LDADD): Remove definition. |
| 10877 |
(AM_CPPFLAGS): Remove MD5_CPPFLAGS. |
| 10878 |
(version.c): Remove dependency from MD5_LDADD. |
| 10879 |
(../md5/libmd5.a): Remove rule. |
| 10880 |
|
| 10881 |
* src/ftp-opie.c: Include "md5.h". Do not include "gen-md5.h". |
| 10882 |
(skey_response): New variable ctx. Use md5 functions from the gnulib |
| 10883 |
module instead of functions defined previously in the "gen-md5.h" file. |
| 10884 |
|
| 10885 |
* src/gen-md5.h: Remove file. |
| 10886 |
* src/gen-md5.c: Likewise. |
| 10887 |
|
| 10888 |
* src/http.c: Include "md5.h". Do not include "gen-md5.h". |
| 10889 |
(digest_authentication_encode): New variable ctx. Use md5 functions |
| 10890 |
from the gnulib module instead of functions defined previously in the |
| 10891 |
"gen-md5.h" file. |
| 10892 |
|
| 10893 |
2010-05-16 Giuseppe Scrivano <[email protected]> |
| 10894 |
|
| 10895 |
* md5: Remove directory. |
| 10896 |
|
| 10897 |
* bootstrap.conf (gnulib_modules): Add crypto/md5. |
| 10898 |
|
| 10899 |
* configure.ac: Remove any check for md5 libraries. |
| 10900 |
|
| 10901 |
* Makefile.am (ACLOCAL_AMFLAGS): Remove -I md5/m4. |
| 10902 |
(SUBDIRS): Remove md5. |
| 10903 |
|
| 10904 |
2010-05-15 Giuseppe Scrivano <[email protected]> |
| 10905 |
|
| 10906 |
* src/Makefile.am: Quote any path using $(top_srcdir) or $(top_builddir). |
| 10907 |
(version.c): Remove dependency from configure.ac and Makefile.am. |
| 10908 |
|
| 10909 |
* src/css.l: Include "wget.h". |
| 10910 |
|
| 10911 |
2010-05-15 Giuseppe Scrivano <[email protected]> |
| 10912 |
|
| 10913 |
* bootstrap.conf (gnulib_modules): Add "getopt-gnu". Remove "getopt". |
| 10914 |
|
| 10915 |
2010-05-14 Giuseppe Scrivano <[email protected]> |
| 10916 |
|
| 10917 |
* bootstrap (gnulib_path): Default to "gnulib" if it doesn't have a |
| 10918 |
value. Redirect "git clone" stderr to stdout. |
| 10919 |
|
| 10920 |
2010-05-09 Giuseppe Scrivano <[email protected]> |
| 10921 |
|
| 10922 |
* build-aux/bzr-version-gen: New file. |
| 10923 |
|
| 10924 |
* Makefile.am (EXTRA_DIST): Add .version. |
| 10925 |
(BUILT_SOURCES): New defition. |
| 10926 |
(.version): New rule. |
| 10927 |
(dist-hook): Likewise. |
| 10928 |
|
| 10929 |
* configure.ac (AC_INIT): Use build-aux/bzr-version-gen to generate the |
| 10930 |
version string. |
| 10931 |
|
| 10932 |
2010-05-08 Giuseppe Scrivano <[email protected]> |
| 10933 |
|
| 10934 |
* tests/Makefile.am: Update copyright years. |
| 10935 |
|
| 10936 |
2010-05-08 Giuseppe Scrivano <[email protected]> |
| 10937 |
|
| 10938 |
* src/Makefile.am: Update copyright years. |
| 10939 |
* src/cmpt.c: Likewise. |
| 10940 |
* src/connect.h: Likewise. |
| 10941 |
* src/convert.c: Likewise. |
| 10942 |
* src/convert.h: Likewise. |
| 10943 |
* src/cookies.c: Likewise. |
| 10944 |
* src/cookies.h: Likewise. |
| 10945 |
* src/css-tokens.h: Likewise. |
| 10946 |
* src/css-url.c: Likewise. |
| 10947 |
* src/css-url.h: Likewise. |
| 10948 |
* src/css.l: Likewise. |
| 10949 |
* src/exits.c: Likewise. |
| 10950 |
* src/exits.h: Likewise. |
| 10951 |
* src/ftp-basic.c: Likewise. |
| 10952 |
* src/ftp-ls.c: Likewise. |
| 10953 |
* src/ftp-opie.c: Likewise. |
| 10954 |
* src/ftp.c: Likewise. |
| 10955 |
* src/ftp.h: Likewise. |
| 10956 |
* src/gen-md5.c: Likewise. |
| 10957 |
* src/gen-md5.h: Likewise. |
| 10958 |
* src/gettext.h: Likewise. |
| 10959 |
* src/gnutls.c: Likewise. |
| 10960 |
* src/hash.c: Likewise. |
| 10961 |
* src/hash.h: Likewise. |
| 10962 |
* src/host.c: Likewise. |
| 10963 |
* src/host.h: Likewise. |
| 10964 |
* src/html-parse.c: Likewise. |
| 10965 |
* src/html-parse.h: Likewise. |
| 10966 |
* src/html-url.c: Likewise. |
| 10967 |
* src/html-url.h: Likewise. |
| 10968 |
* src/http-ntlm.c: Likewise. |
| 10969 |
* src/http-ntlm.h: Likewise. |
| 10970 |
* src/http.c: Likewise. |
| 10971 |
* src/http.h: Likewise. |
| 10972 |
* src/init.c: Likewise. |
| 10973 |
* src/init.h: Likewise. |
| 10974 |
* src/iri.c: Likewise. |
| 10975 |
* src/iri.h: Likewise. |
| 10976 |
* src/log.c: Likewise. |
| 10977 |
* src/log.h: Likewise. |
| 10978 |
* src/main.c: Likewise. |
| 10979 |
* src/mswindows.c: Likewise. |
| 10980 |
* src/mswindows.h: Likewise. |
| 10981 |
* src/netrc.c: Likewise. |
| 10982 |
* src/netrc.h: Likewise. |
| 10983 |
* src/openssl.c: Likewise. |
| 10984 |
* src/options.h: Likewise. |
| 10985 |
* src/progress.c: Likewise. |
| 10986 |
* src/progress.h: Likewise. |
| 10987 |
* src/ptimer.c: Likewise. |
| 10988 |
* src/ptimer.h: Likewise. |
| 10989 |
* src/recur.c: Likewise. |
| 10990 |
* src/recur.h: Likewise. |
| 10991 |
* src/res.c: Likewise. |
| 10992 |
* src/res.h: Likewise. |
| 10993 |
* src/retr.c: Likewise. |
| 10994 |
* src/retr.h: Likewise. |
| 10995 |
* src/spider.c: Likewise. |
| 10996 |
* src/spider.h: Likewise. |
| 10997 |
* src/ssl.h: Likewise. |
| 10998 |
* src/sysdep.h: Likewise. |
| 10999 |
* src/test.c: Likewise. |
| 11000 |
* src/test.h: Likewise. |
| 11001 |
* src/url.c: Likewise. |
| 11002 |
* src/url.h: Likewise. |
| 11003 |
* src/utils.c: Likewise. |
| 11004 |
* src/utils.h: Likewise. |
| 11005 |
* src/wget.h: Likewise. |
| 11006 |
|
| 11007 |
2010-05-08 Giuseppe Scrivano <[email protected]> |
| 11008 |
|
| 11009 |
* doc/Makefile.am: Update copyright years. |
| 11010 |
|
| 11011 |
* doc/fdl.texi: Likewise. |
| 11012 |
|
| 11013 |
* doc/texi2pod.pl: Likewise. |
| 11014 |
|
| 11015 |
* doc/wget.texi: Likewise. |
| 11016 |
|
| 11017 |
2010-05-08 Giuseppe Scrivano <[email protected]> |
| 11018 |
|
| 11019 |
* Makefile.am: Update copyright years. |
| 11020 |
|
| 11021 |
* build-aux/build_info.pl: Likewise. |
| 11022 |
|
| 11023 |
* configure.ac: Likewise. |
| 11024 |
|
| 11025 |
* configure.bat: Likewise. |
| 11026 |
|
| 11027 |
* doc/Makefile.am: Likewise. |
| 11028 |
|
| 11029 |
* doc/fdl.texi: Likewise. |
| 11030 |
|
| 11031 |
* doc/texi2pod.pl: Likewise. |
| 11032 |
|
| 11033 |
* doc/wget.texi: Likewise. |
| 11034 |
|
| 11035 |
* m4/exitfail.m4: Likewise. |
| 11036 |
|
| 11037 |
* m4/getpagesize.m4: Likewise. |
| 11038 |
|
| 11039 |
* m4/wchar.m4: Likewise. |
| 11040 |
|
| 11041 |
* m4/wctype.m4: Likewise. |
| 11042 |
|
| 11043 |
* m4/wget.m4: Likewise. |
| 11044 |
|
| 11045 |
* md5/Makefile.am: Likewise. |
| 11046 |
|
| 11047 |
* md5/dummy.c: Likewise. |
| 11048 |
|
| 11049 |
* md5/m4/00gnulib.m4: Likewise. |
| 11050 |
|
| 11051 |
* md5/m4/gnulib-cache.m4: Likewise. |
| 11052 |
|
| 11053 |
* md5/m4/gnulib-common.m4: Likewise. |
| 11054 |
|
| 11055 |
* md5/m4/gnulib-comp.m4: Likewise. |
| 11056 |
|
| 11057 |
* md5/m4/gnulib-tool.m4: Likewise. |
| 11058 |
|
| 11059 |
* md5/m4/include_next.m4: Likewise. |
| 11060 |
|
| 11061 |
* md5/m4/longlong.m4: Likewise. |
| 11062 |
|
| 11063 |
* md5/m4/md5.m4: Likewise. |
| 11064 |
|
| 11065 |
* md5/m4/multiarch.m4: Likewise. |
| 11066 |
|
| 11067 |
* md5/m4/stddef_h.m4: Likewise. |
| 11068 |
|
| 11069 |
* md5/m4/stdint.m4: Likewise. |
| 11070 |
|
| 11071 |
* md5/m4/wchar.m4: Likewise. |
| 11072 |
|
| 11073 |
* md5/m4/wchar_t.m4: Likewise. |
| 11074 |
|
| 11075 |
* md5/m4/wint_t.m4: Likewise. |
| 11076 |
|
| 11077 |
* md5/md5.h: Likewise. |
| 11078 |
|
| 11079 |
* md5/stddef.in.h: Likewise. |
| 11080 |
|
| 11081 |
* md5/stdint.in.h: Likewise. |
| 11082 |
|
| 11083 |
* md5/wchar.in.h: Likewise. |
| 11084 |
|
| 11085 |
* msdos/config.h: Likewise. |
| 11086 |
|
| 11087 |
* msdos/msdos.c: Likewise. |
| 11088 |
|
| 11089 |
* po/POTFILES.in: Likewise. |
| 11090 |
|
| 11091 |
* util/Makefile.am: Likewise. |
| 11092 |
|
| 11093 |
* util/paramcheck.pl: Likewise. |
| 11094 |
|
| 11095 |
* util/rmold.pl: Likewise. |
| 11096 |
|
| 11097 |
2010-05-07 Giuseppe Scrivano <[email protected]> |
| 11098 |
|
| 11099 |
* tests/Makefile.am (LIBS): Add definition. |
| 11100 |
(LDADD): Add LIBS. |
| 11101 |
|
| 11102 |
2010-05-07 Giuseppe Scrivano <[email protected]> |
| 11103 |
|
| 11104 |
* src/gnutls.c (wgnutls_close): Use always `close', not `closesocket'. |
| 11105 |
* src/openssl.c (openssl_close): Use always `close', not `closesocket'. |
| 11106 |
(ssl_connect_wget): Get the real socket handle by FD_TO_SOCKET. |
| 11107 |
Define FD_TO_SOCKET if it is not yet defined. |
| 11108 |
* src/Makefile.am (libunittest_a_CPPFLAGS): Add -I$(top_builddir)/lib. |
| 11109 |
* src/mswindows.h: Always include <winsock2.h> and <ws2tcpip.h>. Do not |
| 11110 |
include <winsock.h>. |
| 11111 |
[! INHIBIT_WRAP]: Remove macro's socket, bind, connect, accept, recv, |
| 11112 |
send, select, getsockname, getpeername, setsockopt, closesocket. |
| 11113 |
Remove wrapped_socket, wrapped_bind, wrapped_connect, wrapped_listen, |
| 11114 |
wrapped_accept, wrapped_recv, wrapped_send, wrapped_select, |
| 11115 |
wrapped_getsockname, wrapped_getpeername, wrapped_setsockopt, |
| 11116 |
wrapped_closesocket prototypes. |
| 11117 |
* src/mswindows.c: Remove wrapped_socket, wrapped_bind, wrapped_connect, |
| 11118 |
wrapped_listen, wrapped_accept, wrapped_recv, wrapped_send, |
| 11119 |
wrapped_select, wrapped_getsockname, wrapped_getpeername, |
| 11120 |
wrapped_setsockopt, wrapped_closesocket functions. Remove WRAP macro. |
| 11121 |
* src/host.h [WINDOWS]: Include <winsock2.h> not <winsock.h>. |
| 11122 |
* src/connect.c: Include <sys/socket.h> and <sys/select.h> on any platform, |
| 11123 |
gnulib ensures they exist. Remove `read', `write', `close' macros. |
| 11124 |
* src/Makefile.am: Copy build_info.c.in only if we are working in a VPATH. |
| 11125 |
(AM_CPPFLAGS): Add directory with generated gnulib files. |
| 11126 |
|
| 11127 |
2010-05-07 Giuseppe Scrivano <[email protected]> |
| 11128 |
|
| 11129 |
* configure.ac: Don't call macro WGET_SOCKLEN_T. |
| 11130 |
(W32LIBS): Add -lws2_32. |
| 11131 |
|
| 11132 |
* Makefile.am (EXTRA_DIST): Remove autogen.sh. |
| 11133 |
|
| 11134 |
* bootstrap.conf (gnulib_modules): Use new modules from gnulib: accept, |
| 11135 |
bind, close, connect, getpeername, getsockname, listen, setsockopt. |
| 11136 |
|
| 11137 |
* m4/wget.m4 (WGET_SOCKLEN_T): Remove macro. |
| 11138 |
|
| 11139 |
* po/wget.pot: Remove. |
| 11140 |
|
| 11141 |
2010-05-07 Giuseppe Scrivano <[email protected]> |
| 11142 |
|
| 11143 |
* configure.ac (ALL_LINGUAS): Remove. |
| 11144 |
|
| 11145 |
2010-05-06 Giuseppe Scrivano <[email protected]> |
| 11146 |
|
| 11147 |
* src/Makefile.am (build_info.c): Generate build_info.c in the builddir, |
| 11148 |
not srcdir. |
| 11149 |
|
| 11150 |
2010-05-06 Giuseppe Scrivano <[email protected]> |
| 11151 |
|
| 11152 |
* bootstrap: New file. |
| 11153 |
* bootstrap.conf: New file. |
| 11154 |
* lib/Makefile.am: include gnulib.mk. |
| 11155 |
* autogen.sh: Removed. |
| 11156 |
* GNUmakefile: Likewise. |
| 11157 |
* INSTALL: Likewise. |
| 11158 |
* build-aux/announce-gen: Likewise. |
| 11159 |
* build-aux/compile: Likewise. |
| 11160 |
* build-aux/config.guess: Likewise. |
| 11161 |
* build-aux/config.rpath: Likewise. |
| 11162 |
* build-aux/config.sub: Likewise. |
| 11163 |
* build-aux/depcomp: Likewise. |
| 11164 |
* build-aux/gnupload: Likewise. |
| 11165 |
* build-aux/install-sh: Likewise. |
| 11166 |
* build-aux/mdate-sh: Likewise. |
| 11167 |
* build-aux/missing: Likewise. |
| 11168 |
* build-aux/mkinstalldirs: Likewise. |
| 11169 |
* build-aux/texinfo.tex: Likewise. |
| 11170 |
* build-aux/update-copyright: Likewise. |
| 11171 |
* build-aux/useless-if-before-free: Likewise. |
| 11172 |
* build-aux/vc-list-files: Likewise. |
| 11173 |
* build-aux/ylwrap: Likewise. |
| 11174 |
* lib/DESCRIP_DEPS.MMS: Likewise. |
| 11175 |
* lib/DESCRIP_MODS.MMS: Likewise. |
| 11176 |
* lib/DESCRIP_SRC.MMS: Likewise. |
| 11177 |
* lib/alloca.c: Likewise. |
| 11178 |
* lib/alloca.in.h: Likewise. |
| 11179 |
* lib/c-ctype.c: Likewise. |
| 11180 |
* lib/c-ctype.h: Likewise. |
| 11181 |
* lib/config.charset: Likewise. |
| 11182 |
* lib/errno.in.h: Likewise. |
| 11183 |
* lib/error.c: Likewise. |
| 11184 |
* lib/error.h: Likewise. |
| 11185 |
* lib/exitfail.c: Likewise. |
| 11186 |
* lib/exitfail.h: Likewise. |
| 11187 |
* lib/fseeko.c: Likewise. |
| 11188 |
* lib/getdelim.c: Likewise. |
| 11189 |
* lib/getline.c: Likewise. |
| 11190 |
* lib/getopt.c: Likewise. |
| 11191 |
* lib/getopt.in.h: Likewise. |
| 11192 |
* lib/getopt1.c: Likewise. |
| 11193 |
* lib/getopt_int.h: Likewise. |
| 11194 |
* lib/getpagesize.c: Likewise. |
| 11195 |
* lib/getpass.c: Likewise. |
| 11196 |
* lib/getpass.h: Likewise. |
| 11197 |
* lib/gettext.h: Likewise. |
| 11198 |
* lib/intprops.h: Likewise. |
| 11199 |
* lib/localcharset.c: Likewise. |
| 11200 |
* lib/localcharset.h: Likewise. |
| 11201 |
* lib/lseek.c: Likewise. |
| 11202 |
* lib/mbrtowc.c: Likewise. |
| 11203 |
* lib/mbsinit.c: Likewise. |
| 11204 |
* lib/memchr.c: Likewise. |
| 11205 |
* lib/memchr.valgrind: Likewise. |
| 11206 |
* lib/quote.c: Likewise. |
| 11207 |
* lib/quote.h: Likewise. |
| 11208 |
* lib/quotearg.c: Likewise. |
| 11209 |
* lib/quotearg.h: Likewise. |
| 11210 |
* lib/realloc.c: Likewise. |
| 11211 |
* lib/ref-add.sin: Likewise. |
| 11212 |
* lib/ref-del.sin: Likewise. |
| 11213 |
* lib/stdbool.in.h: Likewise. |
| 11214 |
* lib/stddef.in.h: Likewise. |
| 11215 |
* lib/stdint.in.h: Likewise. |
| 11216 |
* lib/stdio-impl.h: Likewise. |
| 11217 |
* lib/stdio-write.c: Likewise. |
| 11218 |
* lib/stdio.in.h: Likewise. |
| 11219 |
* lib/stdlib.in.h: Likewise. |
| 11220 |
* lib/str-two-way.h: Likewise. |
| 11221 |
* lib/strcasecmp.c: Likewise. |
| 11222 |
* lib/strcasestr.c: Likewise. |
| 11223 |
* lib/streq.h: Likewise. |
| 11224 |
* lib/strerror.c: Likewise. |
| 11225 |
* lib/string.in.h: Likewise. |
| 11226 |
* lib/strings.in.h: Likewise. |
| 11227 |
* lib/strncasecmp.c: Likewise. |
| 11228 |
* lib/unistd.in.h: Likewise. |
| 11229 |
* lib/verify.h: Likewise. |
| 11230 |
* lib/wchar.in.h: Likewise. |
| 11231 |
* lib/wctype.in.h: Likewise. |
| 11232 |
* lib/xalloc-die.c: Likewise. |
| 11233 |
* lib/xalloc.h: Likewise. |
| 11234 |
* lib/xmalloc.c: Likewise. |
| 11235 |
* m4/00gnulib.m4: Likewise. |
| 11236 |
* m4/alloca.m4: Likewise. |
| 11237 |
* m4/codeset.m4: Likewise. |
| 11238 |
* m4/errno_h.m4: Likewise. |
| 11239 |
* m4/error.m4: Likewise. |
| 11240 |
* m4/extensions.m4: Likewise. |
| 11241 |
* m4/fseeko.m4: Likewise. |
| 11242 |
* m4/getdelim.m4: Likewise. |
| 11243 |
* m4/getline.m4: Likewise. |
| 11244 |
* m4/getopt.m4: Likewise. |
| 11245 |
* m4/getpass.m4: Likewise. |
| 11246 |
* m4/gettext.m4: Likewise. |
| 11247 |
* m4/glibc21.m4: Likewise. |
| 11248 |
* m4/gnulib-cache.m4: Likewise. |
| 11249 |
* m4/gnulib-common.m4: Likewise. |
| 11250 |
* m4/gnulib-comp.m4: Likewise. |
| 11251 |
* m4/gnulib-tool.m4: Likewise. |
| 11252 |
* m4/iconv.m4: Likewise. |
| 11253 |
* m4/include_next.m4: Likewise. |
| 11254 |
* m4/inline.m4: Likewise. |
| 11255 |
* m4/lib-ld.m4: Likewise. |
| 11256 |
* m4/lib-link.m4: Likewise. |
| 11257 |
* m4/lib-prefix.m4: Likewise. |
| 11258 |
* m4/localcharset.m4: Likewise. |
| 11259 |
* m4/locale-fr.m4: Likewise. |
| 11260 |
* m4/locale-ja.m4: Likewise. |
| 11261 |
* m4/locale-zh.m4: Likewise. |
| 11262 |
* m4/longlong.m4: Likewise. |
| 11263 |
* m4/lseek.m4: Likewise. |
| 11264 |
* m4/malloc.m4: Likewise. |
| 11265 |
* m4/mbrtowc.m4: Likewise. |
| 11266 |
* m4/mbsinit.m4: Likewise. |
| 11267 |
* m4/mbstate_t.m4: Likewise. |
| 11268 |
* m4/memchr.m4: Likewise. |
| 11269 |
* m4/mmap-anon.m4: Likewise. |
| 11270 |
* m4/multiarch.m4: Likewise. |
| 11271 |
* m4/nls.m4: Likewise. |
| 11272 |
* m4/po.m4: Likewise. |
| 11273 |
* m4/progtest.m4: Likewise. |
| 11274 |
* m4/quote.m4: Likewise. |
| 11275 |
* m4/quotearg.m4: Likewise. |
| 11276 |
* m4/realloc.m4: Likewise. |
| 11277 |
* m4/stdbool.m4: Likewise. |
| 11278 |
* m4/stddef_h.m4: Likewise. |
| 11279 |
* m4/stdint.m4: Likewise. |
| 11280 |
* m4/stdio_h.m4: Likewise. |
| 11281 |
* m4/stdlib_h.m4: Likewise. |
| 11282 |
* m4/strcase.m4: Likewise. |
| 11283 |
* m4/strcasestr.m4: Likewise. |
| 11284 |
* m4/strerror.m4: Likewise. |
| 11285 |
* m4/string_h.m4: Likewise. |
| 11286 |
* m4/strings_h.m4: Likewise. |
| 11287 |
* m4/unistd_h.m4: Likewise. |
| 11288 |
* m4/wchar_t.m4: Likewise. |
| 11289 |
* m4/wint_t.m4: Likewise. |
| 11290 |
* m4/xalloc.m4: Likewise. |
| 11291 |
* maint.mk: Likewise. |
| 11292 |
* po/Makefile.in.in: Likewise. |
| 11293 |
* po/Makevars: Likewise. |
| 11294 |
* po/Rules-quot: Likewise. |
| 11295 |
* po/be.po: Likewise. |
| 11296 |
* po/bg.po: Likewise. |
| 11297 |
* po/boldquot.sed: Likewise. |
| 11298 |
* po/ca.po: Likewise. |
| 11299 |
* po/cs.po: Likewise. |
| 11300 |
* po/da.po: Likewise. |
| 11301 |
* po/de.po: Likewise. |
| 11302 |
* po/el.po: Likewise. |
| 11303 |
* po/en_GB.po: Likewise. |
| 11304 |
* po/eo.po: Likewise. |
| 11305 |
* po/es.po: Likewise. |
| 11306 |
* po/et.po: Likewise. |
| 11307 |
* po/eu.po: Likewise. |
| 11308 |
* po/fi.po: Likewise. |
| 11309 |
* po/fr.po: Likewise. |
| 11310 |
* po/ga.po: Likewise. |
| 11311 |
* po/gl.po: Likewise. |
| 11312 |
* po/he.po: Likewise. |
| 11313 |
* po/hr.po: Likewise. |
| 11314 |
* po/hu.po: Likewise. |
| 11315 |
* po/id.po: Likewise. |
| 11316 |
* po/it.po: Likewise. |
| 11317 |
* po/ja.po: Likewise. |
| 11318 |
* po/lt.po: Likewise. |
| 11319 |
* po/nb.po: Likewise. |
| 11320 |
* po/nl.po: Likewise. |
| 11321 |
* po/pl.po: Likewise. |
| 11322 |
* po/pt.po: Likewise. |
| 11323 |
* po/pt_BR.po: Likewise. |
| 11324 |
* po/quot.sed: Likewise. |
| 11325 |
* po/ro.po: Likewise. |
| 11326 |
* po/ru.po: Likewise. |
| 11327 |
* po/sk.po: Likewise. |
| 11328 |
* po/sl.po: Likewise. |
| 11329 |
* po/sr.po: Likewise. |
| 11330 |
* po/sv.po: Likewise. |
| 11331 |
* po/tr.po: Likewise. |
| 11332 |
* po/uk.po: Likewise. |
| 11333 |
* po/vi.po: Likewise. |
| 11334 |
* po/zh_CN.po: Likewise. |
| 11335 |
* po/zh_TW.po: Likewise. |
| 11336 |
|
| 11337 |
2010-05-05 Giuseppe Scrivano <[email protected]> |
| 11338 |
|
| 11339 |
* src/http.c (gethttp): Give a nicer message on a malformed status line. |
| 11340 |
|
| 11341 |
2010-05-04 Giuseppe Scrivano <[email protected]> |
| 11342 |
|
| 11343 |
* src/http.c (gethttp): Check `resp_status' return code and handle |
| 11344 |
errors. |
| 11345 |
|
| 11346 |
2010-05-04 Giuseppe Scrivano <[email protected]> |
| 11347 |
|
| 11348 |
* AUTHORS: Added myself. |
| 11349 |
|
| 11350 |
2010-05-03 Giuseppe Scrivano <[email protected]> |
| 11351 |
|
| 11352 |
* configure.ac: Fix a sanity check by the AC_CONFIG_SRCDIR macro. |
| 11353 |
|
| 11354 |
2010-05-01 Giuseppe Scrivano <[email protected]> |
| 11355 |
|
| 11356 |
* src/http.c (request_send): Specify 1.1 as HTTP version for requests. |
| 11357 |
(skip_short_body): Accept new parameter `chunked'. New variable |
| 11358 |
`remaining_chunk_size'. Handle the chunked transfer encoding. |
| 11359 |
(gethttp): New variable `chunked_transfer_encoding`. Set `keepalive' |
| 11360 |
by default to true. Check if the server is using the chunked transfer |
| 11361 |
encoding. |
| 11362 |
|
| 11363 |
* src/retr.h: Define `rb_chunked_transfer_encoding'. |
| 11364 |
|
| 11365 |
* src/retr.c (fd_read_body): New variable `chunked'. New variable |
| 11366 |
`remaining_chunk_size'. Handle the chunked transfer encoding. |
| 11367 |
|
| 11368 |
2010-05-01 Giuseppe Scrivano <[email protected]> |
| 11369 |
|
| 11370 |
* NEWS: Mention support for HTTP/1.1. |
| 11371 |
|
| 11372 |
2010-03-04 Steven Schubiger <[email protected]> |
| 11373 |
|
| 11374 |
* src/ftp.c (ftp_loop_internal): Omit input file from being |
| 11375 |
deleted after retrieval. |
| 11376 |
|
| 11377 |
* src/retr.c (input_file_url): New function. |
| 11378 |
|
| 11379 |
* src/retr.h: Add declaration for input_file_url. |
| 11380 |
|
| 11381 |
2010-03-02 Steven Schubiger <[email protected]> |
| 11382 |
|
| 11383 |
* src/retr.c (retrieve_from_file): Improve checking for a URL |
| 11384 |
by invoking url_valid_scheme instead of url_has_scheme. |
| 11385 |
|
| 11386 |
* src/url.c (url_valid_scheme): New function. |
| 11387 |
|
| 11388 |
* src/url.h: Add declaration for url_valid_scheme. |
| 11389 |
|
| 11390 |
2010-03-02 Steven Schubiger <[email protected]> |
| 11391 |
|
| 11392 |
* src/retr.c (retrieve_from_file): Free memory of input file. |
| 11393 |
|
| 11394 |
2010-03-01 Steven Schubiger <[email protected]> |
| 11395 |
|
| 11396 |
* tests/Test-i-ftp.px: Test --input-file in conjunction with FTP. |
| 11397 |
* tests/run-px, Makefile.am (EXTRA_DIST): Added Test-i-ftp.px. |
| 11398 |
|
| 11399 |
2010-03-01 Steven Schubiger <[email protected]> |
| 11400 |
|
| 11401 |
* src/retr.c (retrieve_url): Retrieve the local filename from ftp_loop. |
| 11402 |
(retrieve_from_file): Return if there's no input file. |
| 11403 |
|
| 11404 |
* src/ftp.c (ftp_loop_internal): Duplicate the local filename into |
| 11405 |
retrieve_url's scope when a valid reference is being passed. |
| 11406 |
(ftp_loop): Call ftp_loop_internal here with passing a |
| 11407 |
reference to the local filename, elsewhere with NULL. |
| 11408 |
|
| 11409 |
* src/ftp.h: Adjust declaration of ftp_loop. |
| 11410 |
|
| 11411 |
2010-02-26 Steven Schubiger <[email protected]> |
| 11412 |
|
| 11413 |
* tests/Test-i-http.px: Test --input-file in conjunction with HTTP. |
| 11414 |
* tests/run-px, Makefile.am (EXTRA_DIST): Added Test-i-http.px. |
| 11415 |
|
| 11416 |
2010-02-25 Steven Schubiger <[email protected]> |
| 11417 |
|
| 11418 |
* tests/FTPServer.pm (FTPServer::new): Substitute port placeholders |
| 11419 |
in content of files to be retrieved via FTP. |
| 11420 |
|
| 11421 |
2010-01-27 Paul Townsend <[email protected]> (tiny change) |
| 11422 |
|
| 11423 |
* src/retr.c (fd_read_body): Be sure to measure timer when time has |
| 11424 |
elapsed, too, not just when we've made progress. |
| 11425 |
|
| 11426 |
2010-01-13 Micah Cowan <[email protected]> |
| 11427 |
|
| 11428 |
* src/openssl.c: Fixed some mixed declarations-and-code. |
| 11429 |
|
| 11430 |
2010-01-09 Micah Cowan <[email protected]> |
| 11431 |
|
| 11432 |
* src/init.c, main.c, http.c, ftp.c, options.h: Renamed |
| 11433 |
--no-match-server-timestamps to --no-use-server-timestamps, and |
| 11434 |
add it to print_help. |
| 11435 |
|
| 11436 |
2010-01-09 Micah Cowan <[email protected]> |
| 11437 |
|
| 11438 |
* doc/wget.texi (Download Options): Documented |
| 11439 |
--no-use-server-timestamps. |
| 11440 |
|
| 11441 |
2010-01-09 Jeremy Olexa <[email protected]> (tiny change) |
| 11442 |
|
| 11443 |
* src/init.c: Deal with systems which provide PATH_MAX in |
| 11444 |
sys/param.h rather than limits.h. |
| 11445 |
|
| 11446 |
2010-01-09 David Holman <[email protected]> (tiny change) |
| 11447 |
|
| 11448 |
* src/init.c, main.c, http.c, ftp.c, options.h: Added support for |
| 11449 |
--no-match-server-timestamps. |
| 11450 |
|
| 11451 |
2009-12-03 Peter Rosin <[email protected]> |
| 11452 |
|
| 11453 |
* src/snprintf.c (dopr): Output %p as unsigned. |
| 11454 |
|
| 11455 |
2009-10-24 Petr Pisar <[email protected]> |
| 11456 |
|
| 11457 |
* src/openssl.c: Implement support for (multiple) subjectAltNames in |
| 11458 |
X509 certificates, not just the commonName. |
| 11459 |
|
| 11460 |
2009-10-14 Steven Schubiger <[email protected]> |
| 11461 |
|
| 11462 |
* tests/Test-E-k-K.px, Test-cookies-401.px, Test-ftp-bad-list.px, |
| 11463 |
Test-iri-list.px, Test-iri.px: Removed -d from invocation. |
| 11464 |
Patch by Mike Frysinger. |
| 11465 |
|
| 11466 |
2009-10-09 Steven Schweda <[email protected]> |
| 11467 |
|
| 11468 |
* src/utils.c: Added characters " : \ | to the list of normal |
| 11469 |
caret-escaped (ODS5) characters in the char_prop[] table. |
| 11470 |
|
| 11471 |
2009-10-09 Steven Schweda <[email protected]> |
| 11472 |
|
| 11473 |
* New VMS MMS/MMK builders, to accommodate the new source tree |
| 11474 |
structure: |
| 11475 |
lib/DESCRIP_DEPS.MMS Dependencies (lib) |
| 11476 |
lib/DESCRIP_MODS.MMS Modules (lib) |
| 11477 |
lib/DESCRIP_SRC.MMS Main (lib) |
| 11478 |
md5/DESCRIP_DEPS.MMS Dependencies (md5) |
| 11479 |
md5/DESCRIP_MODS.MMS Modules (md5) |
| 11480 |
md5/DESCRIP_SRC.MMS Main (md5) |
| 11481 |
src/DESCRIP_DEPS.MMS Dependencies (src) |
| 11482 |
src/DESCRIP_MODS.MMS Modules (src) |
| 11483 |
src/DESCRIP_SRC.MMS Main (src) |
| 11484 |
vms/DESCRIP.MMS Main (global) |
| 11485 |
vms/DESCRIP_MKDEPS.MMS Dependency generator |
| 11486 |
vms/DESCRIP_SRC.MMS Main (main) |
| 11487 |
vms/DESCRIP_SRC_CMN.MMS Main (common) |
| 11488 |
vms/DESCRIP_SRC_FLAGS.MMS Compiler and linker flags |
| 11489 |
vms/COLLECT_DEPS.COM Dependency processor |
| 11490 |
vms/CONFIG_EXTRACT.COM Extract AC_INIT from configure.ac |
| 11491 |
vms/WGET_MULTINET.OPT Link options for (old) MultiNet |
| 11492 |
vms/WGET_SSL_HP.OPT Link options for HP SSL |
| 11493 |
vms/WGET_SSL_O.OPT Link options for OpenSSL |
| 11494 |
|
| 11495 |
* Other VMS-specific files: |
| 11496 |
vms/alloca.h Dummy alloca.h. |
| 11497 |
vms/config.h_vms Manually crafted config.h |
| 11498 |
vms/stdint.h Dummy stdint.h |
| 11499 |
vms/vms.h Declarations, prototypes for vms.c |
| 11500 |
vms/vms_ip.h Helper for netdb.h |
| 11501 |
vms/VMS_NOTES.TXT Instructions, notes |
| 11502 |
vms/WGET.HLP Basic VMS HELP |
| 11503 |
|
| 11504 |
2009-10-09 Micah Cowan <[email protected]> |
| 11505 |
|
| 11506 |
* src/main.c: Fix declaration of compiled_features. |
| 11507 |
|
| 11508 |
* src/build_info.c.in: Adapt to new input format. Added a check for |
| 11509 |
large-file support. Replaced the "openssl" and "gnutls" |
| 11510 |
advertisements with a single "ssl/foo" advertisement. |
| 11511 |
|
| 11512 |
2009-10-09 Micah Cowan <[email protected]> |
| 11513 |
|
| 11514 |
* build_aux/build_info.pl: Reworked the input format. Eliminated |
| 11515 |
support, and need, for arbitrary #if blocks. Introduced |
| 11516 |
"choices", and explicitly open the .c file rather than print to |
| 11517 |
STDOUT, so we avoid creating the file if we find problems with |
| 11518 |
the input. Options are advertised in alphabetical order. |
| 11519 |
|
| 11520 |
2009-09-30 Micah Cowan <[email protected]> |
| 11521 |
|
| 11522 |
* src/sysdep.h: Unconditionally include stdbool.h (gnulib has it for |
| 11523 |
systems that don't supply it.) |
| 11524 |
|
| 11525 |
* src/vms.c: Added functions vms_basename(), used to extract the |
| 11526 |
bare executable name from argv[0], and vms_getpass(), a |
| 11527 |
VMS-specific replacement for GNU getpass(). |
| 11528 |
|
| 11529 |
vms.c: Added global string constants: compilation_string |
| 11530 |
(NULL), link_string (NULL), and version_string (real). |
| 11531 |
|
| 11532 |
2009-09-27 Micah Cowan <[email protected]> |
| 11533 |
|
| 11534 |
* tests/Test-idn-cmd.px, Test-idn-headers.px, Test-idn-meta.px, |
| 11535 |
Test-idn-robots.px, Test-proxy-auth-basic.px: Removed --debug from |
| 11536 |
invocation (in case it wasn't built with --debug support). |
| 11537 |
|
| 11538 |
2009-09-24 Steven Schweda <[email protected]> |
| 11539 |
|
| 11540 |
* src/main.c (print_version): Remove VMS-conditional build info |
| 11541 |
string; the new VMS builders use OS_TYPE. |
| 11542 |
|
| 11543 |
* src/ftp.c (getftp): Fix accidental use of target -> targ. |
| 11544 |
|
| 11545 |
2009-09-24 Micah Cowan <[email protected]> |
| 11546 |
|
| 11547 |
* vms/vms.c: Moved to src/src.c. |
| 11548 |
|
| 11549 |
2009-09-24 Micah Cowan <[email protected]> |
| 11550 |
|
| 11551 |
* tests/Test-ftp-iri-disabled.px: Fix name "Test-ftp-iri" -> |
| 11552 |
"test-ftp-iri-disabled" |
| 11553 |
|
| 11554 |
* tests/Test-ftp-iri-fallback.px: Fix name "Test-ftp-iri" -> |
| 11555 |
"test-ftp-iri-fallback" |
| 11556 |
|
| 11557 |
2009-09-24 Micah Cowan <[email protected]> |
| 11558 |
|
| 11559 |
* src/vms.c: Moved from vms/vms.c. |
| 11560 |
|
| 11561 |
* src/sysdep.h: Use proper prototypes for snprintf, vsnprintf (thanks |
| 11562 |
to Steven Schweda). |
| 11563 |
|
| 11564 |
2009-09-24 Micah Cowan <[email protected]> |
| 11565 |
|
| 11566 |
* src/host.c (host_errstr): host_errstr should return const char *. |
| 11567 |
|
| 11568 |
2009-09-22 Micah Cowan <[email protected]> |
| 11569 |
|
| 11570 |
* src/Makefile.am (version.c): Explicitly tell Mercurial where the |
| 11571 |
top-source repository should be, so it doesn't accidentally use |
| 11572 |
the repository for a containing directory (for instance, if the |
| 11573 |
user's home directory is managed by a Mercurial repo). Also |
| 11574 |
ensures we find the repository, even if the build directory is |
| 11575 |
outside the source directory. |
| 11576 |
|
| 11577 |
* src/wget.h: define WINDOWS if _WIN32 or __WIN32__ is defined, but |
| 11578 |
not __CYGWIN__. |
| 11579 |
|
| 11580 |
* src/mswindows.c (xsleep): Check for availability of the sleep |
| 11581 |
function, in addition to the usleep function. |
| 11582 |
(get_winsock_error, windows_strerror): Removed (gnulib already |
| 11583 |
supplies this functionality). |
| 11584 |
|
| 11585 |
* src/mswindows.h [NEED_GAI_STRERROR]: define gai_strerror |
| 11586 |
to (gnulib's) strerror, rather than windows_strerror. Removed |
| 11587 |
error macro definitions provided by gnulib. |
| 11588 |
(windows_strerror): Removed (gnulib already supplies this |
| 11589 |
functionality). |
| 11590 |
|
| 11591 |
* src/host.c: Don't declare h_errno when building on Windows. |
| 11592 |
|
| 11593 |
* src/Makefile.am (LIBS): Added @W32LIBS@. |
| 11594 |
(EXTRA_wget_SOURCES): Removed (it's in LIBOBJ now). |
| 11595 |
(version.c): Removed dependency on $(LDADD), since it may include |
| 11596 |
dependencies that are not part of the Wget sources (-lwsock32, for |
| 11597 |
instance). |
| 11598 |
|
| 11599 |
* src/openssl.c (ssl_check_certificate): Avoid reusing the same buffer |
| 11600 |
space for successive quoted arguments. Thanks to Steven Schweda |
| 11601 |
for pointing out the problem. |
| 11602 |
|
| 11603 |
2009-09-22 Micah Cowan <[email protected]> |
| 11604 |
|
| 11605 |
* configure.ac: Added "sleep" and "symlink" to AC_CHECK_FUNCS, |
| 11606 |
removing the hard-coded definition of HAVE_SYMLINK. When running |
| 11607 |
on MinGW, compile mswindows.c, and link against libwsock32. |
| 11608 |
|
| 11609 |
2009-09-22 Arvind Jamuna Dixit <[email protected]> |
| 11610 |
|
| 11611 |
* src/http.c (extract_param, parse_content_disposition): Support |
| 11612 |
RFC 2231 while parsing Content-Disposition header |
| 11613 |
|
| 11614 |
2009-09-21 Micah Cowan <[email protected]> |
| 11615 |
|
| 11616 |
* vms/VMS-WGET.COM: "the the" -> "the". |
| 11617 |
|
| 11618 |
* po/POTFILES.in: Removed some files that are not using gettext. |
| 11619 |
|
| 11620 |
* po/*.po: Updated from translationproject.org. |
| 11621 |
|
| 11622 |
2009-09-21 Micah Cowan <[email protected]> |
| 11623 |
|
| 11624 |
* src/progress.c (update_speed_ring): "the the" -> "the". |
| 11625 |
|
| 11626 |
* src/css-url.c, iri.c, mswindows.c: Removed assert.h inclusion (not |
| 11627 |
using it). |
| 11628 |
|
| 11629 |
2009-09-20 Micah Cowan <[email protected]> |
| 11630 |
|
| 11631 |
* INSTALL: Various minor adjustments to bring it up to date. |
| 11632 |
|
| 11633 |
2009-09-11 Steven Schweda <[email protected]> |
| 11634 |
|
| 11635 |
* src/utils.c, utils.h (fopen_excl): Make second argument an int, |
| 11636 |
rather than a bool (so it can handle the appropriate VMS version |
| 11637 |
of the flag). |
| 11638 |
|
| 11639 |
* src/main.c (print_version): Don't print LOCALEDIR unless NLS is |
| 11640 |
enabled. |
| 11641 |
|
| 11642 |
* src/http.c (gethttp): Pass FOPEN_BIN_FLAG, instead of true. |
| 11643 |
|
| 11644 |
* src/ftp.c (ftp_retrieve_glob): Cast strcmp to assign to cmp, for a |
| 11645 |
silly HP build environment. |
| 11646 |
|
| 11647 |
2009-09-09 Micah Cowan <[email protected]> |
| 11648 |
|
| 11649 |
* configure.ac: Add bz2 and lzma dists. |
| 11650 |
|
| 11651 |
2009-09-08 Steven Schubiger <[email protected]> |
| 11652 |
|
| 11653 |
* src/main.c, init.c: Mark the --preserve-permissions and |
| 11654 |
--html-extension option as deprecated. |
| 11655 |
|
| 11656 |
2009-09-08 Micah Cowan <[email protected]> |
| 11657 |
|
| 11658 |
* po/*.po: Updated from translationproject.org. |
| 11659 |
|
| 11660 |
2009-09-07 Micah Cowan <[email protected]> |
| 11661 |
|
| 11662 |
* tests/run-px: Exit with a failure if there were any tests with |
| 11663 |
"unknown" exit statuses. |
| 11664 |
|
| 11665 |
* tests/Test-auth-with-content-disposition.px: New. Test Content-Disposition |
| 11666 |
support when HTTP authentication is required. |
| 11667 |
* tests/run-px, Makefile.am (EXTRA_DIST): Added |
| 11668 |
Test-auth-with-content-disposition.px. |
| 11669 |
|
| 11670 |
* tests/FTPServer.pm (FTPServer::run): Pass "server behavior" information to |
| 11671 |
newly-constructed FTPPaths object. |
| 11672 |
(FTPPaths::initialize): Accept "server behavior" hash. |
| 11673 |
(FTPPaths::_format_for_list): If server behavior has "bad_list" |
| 11674 |
set, then always report 0 for the size. |
| 11675 |
* tests/Test-ftp-bad-list.px: Added. Attempts to reproduce bug |
| 11676 |
22403... but doesn't. |
| 11677 |
* tests/run-px, Makefile.am (EXTRA_DIST): Added Test-ftp-bad-list.px. |
| 11678 |
|
| 11679 |
2009-09-07 Micah Cowan <[email protected]> |
| 11680 |
|
| 11681 |
* Makefile.am (distuninstallcheck_listfiles): Don't complain if |
| 11682 |
/usr/share/info/dir and /etc/wgetrc are left behind after an |
| 11683 |
uninstall. |
| 11684 |
|
| 11685 |
* po/Rules-quot (mostlyclean-quot): Add en_US.po for remvoal by |
| 11686 |
mostlyclean. |
| 11687 |
(en_US.po-update): Behave properly for VPATH builds. |
| 11688 |
|
| 11689 |
2009-09-06 Micah Cowan <[email protected]> |
| 11690 |
|
| 11691 |
* tests/WgetTest.pm.in (_setup): Don't expect error codes from |
| 11692 |
_setup_server; none are returned. |
| 11693 |
(quotechar, _show_diff): Added facilities for expounding on where |
| 11694 |
output didn't match expectations. |
| 11695 |
(_verify_download): Use _show_diff. |
| 11696 |
|
| 11697 |
* tests/FTPTest.pm (_setup_server): Pass value of server_behavior to |
| 11698 |
FTPServer initialization. |
| 11699 |
|
| 11700 |
* tests/Test-ftp-pasv-fail.px: Added. |
| 11701 |
* tests/run-px, Makefile.am (EXTRA_DIST): Added Test-ftp-pasv-fail.px. |
| 11702 |
|
| 11703 |
* tests/WgetTest.pm.in: Added "server_behavior" to the set of accepted |
| 11704 |
initialization values. |
| 11705 |
* tests/FTPServer.pm (__open_data_connection): Add "server_behavior" to |
| 11706 |
the set of accepted initialization values. |
| 11707 |
(run): Honor the 'fail_on_pasv' server behavior setting, to |
| 11708 |
trigger the Wget getftp glitch. |
| 11709 |
|
| 11710 |
2009-09-06 Micah Cowan <[email protected]> |
| 11711 |
|
| 11712 |
* src/ftp.c (getftp, ftp_loop_internal): Separate "len" input/output |
| 11713 |
parameter (with different meanings for input and output), into two |
| 11714 |
separate parameters, one input (passed_expected_bytes) and one |
| 11715 |
output (qtyread). Fixes bug #26870. |
| 11716 |
|
| 11717 |
2009-09-06 Gisle Vanem <[email protected]> |
| 11718 |
|
| 11719 |
* msdos/Makefile.WC: Added compilation of new file msdos.c. |
| 11720 |
Simplified; no need to have explicit rules for files in ./lib and |
| 11721 |
./md5. Just use the suffix search path mechanism in wmake. |
| 11722 |
|
| 11723 |
2009-09-06 Gisle Vanem <[email protected]> |
| 11724 |
|
| 11725 |
* msdos/Makefile.DJ: Added compilation of new file msdos.c. |
| 11726 |
|
| 11727 |
2009-09-05 Steven Schubiger <[email protected]> |
| 11728 |
|
| 11729 |
* tests/run-px: Introduce two new diagnostics: Skip and Unknown. |
| 11730 |
|
| 11731 |
* tests/WgetFeature.pm (import): Parse the version output of Wget |
| 11732 |
and assert the availability of a feature. |
| 11733 |
|
| 11734 |
* tests/WgetFeature.cfg: Messages to be printed in absence of a |
| 11735 |
required feature. |
| 11736 |
|
| 11737 |
* tests/Test-ftp-iri-disabled.px, Test-ftp-iri-fallback.px, |
| 11738 |
Test-ftp-iri-recursive.px, Test-ftp-iri.px, Test-idn-cmd.px, |
| 11739 |
Test-idn-headers.px, Test-idn-meta.px, Test-idn-robots.px, |
| 11740 |
Test-iri-forced-remote.px, Test-iri-list.px, |
| 11741 |
Test-iri-percent.px, Test-iri.px: Use WgetFeature.pm to |
| 11742 |
check for the presence of the IDN/IRI feature. |
| 11743 |
|
| 11744 |
* tests/Test-proxied-https-auth.px: Replace grepping for a feature |
| 11745 |
with loading WgetFeature.pm at compile-time. |
| 11746 |
|
| 11747 |
* tests/Makefile.am: Add WgetFeature.pm and WgetFeature.cfg |
| 11748 |
to EXTRA_DIST. |
| 11749 |
|
| 11750 |
2009-09-05 Steven Schubiger <[email protected]> |
| 11751 |
|
| 11752 |
* src/retr.h: Declare set_local_file() to avoid build warnings. |
| 11753 |
|
| 11754 |
2009-09-05 Micah Cowan <[email protected]> |
| 11755 |
|
| 11756 |
* tests/Test-ftp-recursive.px: Added. |
| 11757 |
* tests/run-px, Makefile.am (EXTRA_DIST): Added Test-ftp-recursive.px. |
| 11758 |
|
| 11759 |
* tests/FTPTest.pm (_setup_server): Don't construct the "input" |
| 11760 |
directory's contents, just pass the URLs structure to |
| 11761 |
FTPServer->new. |
| 11762 |
* tests/FTPServer.pm: Rewrote portions, so that the server now uses the |
| 11763 |
information from the %urls hash directly, rather than reading from |
| 11764 |
real files. Added an FTPPaths package to the file. |
| 11765 |
|
| 11766 |
2009-09-05 Micah Cowan <[email protected]> |
| 11767 |
|
| 11768 |
* configure.ac: If we can't find idna.h, check to see if it's |
| 11769 |
because we need to add /usr/include/idn to the inclusion |
| 11770 |
path (for OpenSolaris). |
| 11771 |
|
| 11772 |
2009-09-05 Gisle Vanem <[email protected]> |
| 11773 |
|
| 11774 |
* src/connect.c, init.c, main.c, openssl.c, options.h: Replace |
| 11775 |
"ifdef MSDOS" with "ifdef USE_WATT32" since DOS-targets in fact |
| 11776 |
use the Watt-32 tcp/ip stack. |
| 11777 |
|
| 11778 |
2009-09-05 Gisle Vanem <[email protected]> |
| 11779 |
|
| 11780 |
* msdos/config.h: Added 'HAVE_ALLOCA_H' for Watcom 1.5+. Added |
| 11781 |
'USE_WATT32' since all DOS-targets use the Watt-32 tcp/ip stack. |
| 11782 |
Added meaningless dummy LOCALEDIR. |
| 11783 |
|
| 11784 |
* msdos/Makefile.WC: A much needed update. Added rules for many files |
| 11785 |
in ./lib, css.c and version.c. |
| 11786 |
|
| 11787 |
* msdos/Makefile.DJ: A much needed update. Added rules for css.c and |
| 11788 |
version.c. |
| 11789 |
|
| 11790 |
2009-09-04 Steven Schubiger <[email protected]> |
| 11791 |
|
| 11792 |
* configure.ac: Place gl_EARLY and md5_EARLY before the gettext |
| 11793 |
macros in order to silence autoconf warnings. |
| 11794 |
|
| 11795 |
2009-09-04 Micah Cowan <[email protected]> |
| 11796 |
|
| 11797 |
* tests/WgetTest.pm.in (run): Error-checking improvements. |
| 11798 |
|
| 11799 |
2009-09-04 Micah Cowan <[email protected]> |
| 11800 |
|
| 11801 |
* src/Makefile.am: Move build_info.c to wget_SOURCES from |
| 11802 |
nodist_wget_SOURCES, reduce dependencies, and invoke build_info.pl |
| 11803 |
in its new home, $(top_srcdir)/build-aux. |
| 11804 |
|
| 11805 |
2009-09-04 Micah Cowan <[email protected]> |
| 11806 |
|
| 11807 |
* doc/wget.texi (Time-Stamping): "older" -> "not newer". |
| 11808 |
|
| 11809 |
* doc/Makefile.am (install.man, install.wgetrc): Use $(mkinstalldirs), |
| 11810 |
not $(top_srcdir)/mkinstalldirs. |
| 11811 |
|
| 11812 |
2009-09-04 Micah Cowan <[email protected]> |
| 11813 |
|
| 11814 |
* Makefile.am (EXTRA_DIST): build_info.pl -> |
| 11815 |
build-aux/build_info.pl |
| 11816 |
|
| 11817 |
* build-aux/build_info.pl: Moved from top directory. |
| 11818 |
|
| 11819 |
* md5/*: Updated md5 from gnulib. |
| 11820 |
|
| 11821 |
* configure.ac: Configured build-aux/ as auxiliarry directory. |
| 11822 |
|
| 11823 |
* build-aux/compile, build-aux/config.guess, |
| 11824 |
build-aux/config.rpath, build-aux/config.sub, build-aux/depcomp, |
| 11825 |
build-aux/install-sh, build-aux/link-warning.h, |
| 11826 |
build-aux/mdate-sh, build-aux/missing, build-aux/mkinstalldirs, |
| 11827 |
build-aux/texinfo.tex, build-aux/useless-if-before-free, |
| 11828 |
build-aux/vc-list-files, build-aux/ylwrap: Moved from top |
| 11829 |
directory. |
| 11830 |
|
| 11831 |
* build-aux/announce-gen: Imported from gnulib. |
| 11832 |
* build-aux/update-copyright: Imported from gnulib. |
| 11833 |
* build-aux/gnupload: Imported from gnulib. |
| 11834 |
* lib/Makefile.am, m4/gnulib-cache.m4, m4/gnulib-comp.m4: Adjusted |
| 11835 |
for announce-gen, update-copyright, and gnupload. |
| 11836 |
|
| 11837 |
2009-09-03 gettextize <[email protected]> |
| 11838 |
|
| 11839 |
* m4/gettext.m4: Upgrade to gettext-0.17. |
| 11840 |
* m4/iconv.m4: Upgrade to gettext-0.17. |
| 11841 |
* m4/lib-link.m4: Upgrade to gettext-0.17. |
| 11842 |
* m4/po.m4: Upgrade to gettext-0.17. |
| 11843 |
|
| 11844 |
* po/Makefile.in.in: Upgrade to gettext-0.17. |
| 11845 |
|
| 11846 |
* configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.17. |
| 11847 |
|
| 11848 |
2009-09-03 Micah Cowan <[email protected]> |
| 11849 |
|
| 11850 |
* src/ftp-ls.c (ftp_parse_vms_ls): Replace use of localtime_r with |
| 11851 |
localtime, as not all platforms have localtime_r. |
| 11852 |
|
| 11853 |
* src/Makefile.am (wget_SOURCES): Rearranged some of the file order, |
| 11854 |
so .c files and .h files are apart. Added gettext.h, so that it |
| 11855 |
shows up in the dist. |
| 11856 |
|
| 11857 |
2009-09-03 Micah Cowan <[email protected]> |
| 11858 |
|
| 11859 |
* NEWS: Give credit to jff for SSL security fix, call attention to |
| 11860 |
IRI support's dependence on libidn and libiconv, and note that |
| 11861 |
--html-extension is still accepted, though deprecated. |
| 11862 |
|
| 11863 |
* lib/*, m4/*: Updated gnulib. |
| 11864 |
* lib/getpagesize.c, lib/memchr.c, lib/memchr.valgrind, |
| 11865 |
lib/stddef.in.h, lib/str-two-way.h, lib/strcasecmp.c, |
| 11866 |
lib/strcasestr.c, lib/strings.in.h, lib/strncasecmp.c, |
| 11867 |
m4/getpagesize.m4, m4/memchr.m4, m4/mmap-anon.m4, |
| 11868 |
m4/stddef_h.m3, m4/strcase.m4, m4/strcasestr.m4, |
| 11869 |
m4/strings_h.m4, m4/wchar_t.m4: Added, via gnulib --import |
| 11870 |
strcasestr. |
| 11871 |
|
| 11872 |
* configure.ac: Move AM_GNU_GETTEXT below AC_AIX, to shut up |
| 11873 |
autoconf warnings. |
| 11874 |
|
| 11875 |
2009-09-02 Micah Cowan <[email protected]> |
| 11876 |
|
| 11877 |
* tests/Makefile.am (unit-tests): explicit dependency is |
| 11878 |
unnecessary (and harmful, as it overrides the automatic one). |
| 11879 |
|
| 11880 |
2009-09-02 Micah Cowan <[email protected]> |
| 11881 |
|
| 11882 |
* src/gettext.h: Refreshed from gettext 0.17. |
| 11883 |
|
| 11884 |
* src/test.c: Added definition of program_name variable, required by |
| 11885 |
lib/error.c (libgnu.a). Doesn't cause problems until you try to |
| 11886 |
build on a non-GNU system... |
| 11887 |
|
| 11888 |
* src/build_info.c.in: Removed useless "+gettext" feature ad. |
| 11889 |
|
| 11890 |
2009-09-02 Micah Cowan <[email protected]> |
| 11891 |
|
| 11892 |
* po/Rules-quot (en_US.po-update): Remove use of GNU make's |
| 11893 |
non-portable $^ variable. |
| 11894 |
|
| 11895 |
2009-09-01 Steven Schubiger <[email protected]> |
| 11896 |
|
| 11897 |
* tests/Makefile.am: Add Test-cookies.px, Test-cookies-401.px |
| 11898 |
and Test-restrict-ascii.px to EXTRA_DIST. |
| 11899 |
|
| 11900 |
2009-09-01 Micah Cowan <[email protected]> |
| 11901 |
|
| 11902 |
* tests/Makefile.am (../src/libunittest.a): Make it a phony target, |
| 11903 |
so we always make sure to get up-to-date unit-test runs. |
| 11904 |
|
| 11905 |
2009-08-31 Steven Schubiger <[email protected]> |
| 11906 |
|
| 11907 |
* tests/Makefile.am: Add Test-k.px to EXTRA_DIST. |
| 11908 |
|
| 11909 |
2009-08-29 Steven Schubiger <[email protected]> |
| 11910 |
|
| 11911 |
* tests/run-px: Add Test-k.px to the list. |
| 11912 |
|
| 11913 |
* tests/Test-k.px: Test escaping of semicolons in local file strings. |
| 11914 |
|
| 11915 |
2009-08-29 Steven Schubiger <[email protected]> |
| 11916 |
|
| 11917 |
* src/convert.c (local_quote_string): Percent-encode semicolons |
| 11918 |
in local file strings. |
| 11919 |
|
| 11920 |
2009-08-27 Micah Cowan <[email protected]> |
| 11921 |
|
| 11922 |
* tests/run-px: Added Test-cookies.px, Test-cookies-401.px |
| 11923 |
|
| 11924 |
* tests/Test-cookies.px: Basic testing to make sure Wget doesn't send |
| 11925 |
cookies; no path/domain checking. |
| 11926 |
|
| 11927 |
* tests/Test-cookies.px: Test to make sure Wget heeds cookies when they |
| 11928 |
are sent with a 401 response (#26775). |
| 11929 |
|
| 11930 |
* tests/HTTPServer.pm (send_response): Don't try to substitute port in |
| 11931 |
response body, if there isn't one. |
| 11932 |
(verify_request_headers): Avoid uninitialized warning when an |
| 11933 |
expected header isn't provided by Wget. |
| 11934 |
|
| 11935 |
2009-08-27 Micah Cowan <[email protected]> |
| 11936 |
|
| 11937 |
* tests/WgetTest.pm.in (run): Shift the errcode right by 8 binary places. |
| 11938 |
|
| 11939 |
* tests/Test--spider-fail.px, Test--spider-r--no-content-disposition.px, |
| 11940 |
Test--spider-r--no-content-disposition-trivial.px, |
| 11941 |
Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px, |
| 11942 |
Test-O-nonexisting.px, Test-cookies-401.px, |
| 11943 |
Test-nonexisting-quiet.px: Adjusted "expected error code"; Wget's |
| 11944 |
exit codes have changed. |
| 11945 |
|
| 11946 |
2009-08-27 Micah Cowan <[email protected]> |
| 11947 |
|
| 11948 |
* src/wget.h (uerr_t): added new VERIFCERTERR code for SSL certificate |
| 11949 |
problems. Marked exit codes that are defined but never used (at |
| 11950 |
least, the ones I could find). |
| 11951 |
|
| 11952 |
* src/retr.c, retr.h (retrieve_url): Added a new boolean argument to |
| 11953 |
determine whether an exit status should be recorded. |
| 11954 |
(retrieve_from_file): Adjust to new retrieve_url signature. |
| 11955 |
|
| 11956 |
* src/res.c (res_retrieve_file): Don't have retrieve_url record an |
| 11957 |
exit status for robots.txt. |
| 11958 |
|
| 11959 |
* src/recur.c (retrieve_tree): Adjust to new retrieve_url signature. |
| 11960 |
|
| 11961 |
* src/main.c (main): Use the exit status stored by retrieve_url. |
| 11962 |
|
| 11963 |
* src/http.c (gethttp): Distinguish certificate verification problems |
| 11964 |
from SSL connection issues. |
| 11965 |
(http_loop): Handle newly-created VERIFCERTERR error code. |
| 11966 |
|
| 11967 |
* src/exits.c, exits.h: Newly added. |
| 11968 |
|
| 11969 |
* src/Makefile.am (wget_SOURCES): Add exits.c and exits.h. |
| 11970 |
|
| 11971 |
2009-08-27 Micah Cowan <[email protected]> |
| 11972 |
|
| 11973 |
* src/http.c (gethttp): Make sure Wget heeds cookies when they |
| 11974 |
are sent with a 401 response; or any other sort of response for |
| 11975 |
that matter (#26775). |
| 11976 |
|
| 11977 |
2009-08-27 Micah Cowan <[email protected]> |
| 11978 |
|
| 11979 |
* doc/texi2pod.pl: Handle @asis in table-element formatting. |
| 11980 |
|
| 11981 |
* doc/wget.texi (Exit Status): Document new exit codes. |
| 11982 |
|
| 11983 |
2009-08-27 Micah Cowan <[email protected]> |
| 11984 |
|
| 11985 |
* NEWS: Mention the changes to exit codes. |
| 11986 |
|
| 11987 |
2009-08-27 Micah Cowan <[email protected]> |
| 11988 |
|
| 11989 |
* NEWS: Add mention of the NUL characters SSL security fix. |
| 11990 |
|
| 11991 |
2009-08-19 Micah Cowan <[email protected]> |
| 11992 |
|
| 11993 |
* src/openssl.c (ssl_check_certificate): Only warn about an attack if |
| 11994 |
the hostname would otherwise have matched. Also some formatting |
| 11995 |
cleanup. |
| 11996 |
|
| 11997 |
2009-08-19 Joao Ferreira <[email protected]> |
| 11998 |
|
| 11999 |
* src/openssl.c (ssl_check_certificate): Detect embedded NUL |
| 12000 |
characters in the SSL certificate common name. |
| 12001 |
|
| 12002 |
2009-08-17 Tony Lewis <[email protected]> |
| 12003 |
|
| 12004 |
* src/http.c (gethttp): Ensure that we parse Content-Length before we |
| 12005 |
attempt to refer to its value. Without this fix, NTLM support was |
| 12006 |
completely buggered. #27192 |
| 12007 |
|
| 12008 |
2009-08-09 Michael Baeuerle <[email protected]> |
| 12009 |
|
| 12010 |
* src/ftp.c: #include <strings.h> for strcasecmp. |
| 12011 |
|
| 12012 |
2009-08-02 Micah Cowan <[email protected]> |
| 12013 |
|
| 12014 |
* doc/wget.texi (Option Syntax): "This is a complete equivalent of" -> |
| 12015 |
"This is completely equivalent to". Thanks to Reuben Thomas for |
| 12016 |
catching this. |
| 12017 |
|
| 12018 |
2009-07-28 Micah Cowan <[email protected]> |
| 12019 |
|
| 12020 |
* src/main.c (option_data): Rename --html-extension to |
| 12021 |
--adjust-extension. |
| 12022 |
(print_help): Ditto. |
| 12023 |
|
| 12024 |
* src/options.h (struct option): Rename html_extension to |
| 12025 |
adjust_extension. |
| 12026 |
* src/http.c (gethttp): Ditto. |
| 12027 |
* src/convert.c (local_quote_string): Ditto. |
| 12028 |
|
| 12029 |
* src/init.c (commands): Add "adjustextension", and reflect rename |
| 12030 |
change for opt.adjust_extension, for both "adjustextension" and |
| 12031 |
"htmlextension". |
| 12032 |
|
| 12033 |
2009-07-28 Micah Cowan <[email protected]> |
| 12034 |
|
| 12035 |
* doc/wget.texi (Download Options): Document "lowercase", "uppercase", |
| 12036 |
and the new "ascii" specifier for --restrict-file-names. |
| 12037 |
(HTTP Options): Rename --html-extension to --adjust-extension. |
| 12038 |
(Wgetrc Commands): Rename html_extension to adjust_extension. |
| 12039 |
|
| 12040 |
2009-07-28 Micah Cowan <[email protected]> |
| 12041 |
|
| 12042 |
* NEWS: Mention some more previously undocumented items, the |
| 12043 |
new "ascii" specifer for --restrict-file-names, and the renaming |
| 12044 |
of --html-extension to --adjust-extension. |
| 12045 |
|
| 12046 |
2009-07-27 Petr Pisar <[email protected]> |
| 12047 |
|
| 12048 |
* src/main.c (print_help): Fixed a couple typos. |
| 12049 |
|
| 12050 |
2009-07-27 Petr Pisar <[email protected]> |
| 12051 |
|
| 12052 |
* po/Makevars (MSGID_BUGS_ADDRESS): Fixed. |
| 12053 |
|
| 12054 |
2009-07-27 Micah Cowan <[email protected]> |
| 12055 |
|
| 12056 |
* tests/Test-restrict-ascii.px: New. |
| 12057 |
|
| 12058 |
* tests/run-px: Added Test-restrict-ascii.px. |
| 12059 |
|
| 12060 |
2009-07-27 Micah Cowan <[email protected]> |
| 12061 |
|
| 12062 |
* src/options.h (struct options): Added restrict_files_nonascii |
| 12063 |
boolean field. |
| 12064 |
|
| 12065 |
* src/url.c (FILE_CHAR_TEST): Add check for chars outside the ASCII |
| 12066 |
range. |
| 12067 |
|
| 12068 |
* src/init.c (defaults): Add restrict_files_nonascii to initialization. |
| 12069 |
(cmd_spec_restrict_file_names): Allow parsing of "ascii" keyword. |
| 12070 |
|
| 12071 |
2009-07-27 Marcel Telka <[email protected]> |
| 12072 |
|
| 12073 |
* src/iri.c (do_conversion): Typo: invalide -> invalid |
| 12074 |
|
| 12075 |
2009-07-26 Micah Cowan <[email protected]> |
| 12076 |
|
| 12077 |
* tests/Test-ftp-iri.px, Test-ftp-iri-fallback.px, |
| 12078 |
Test-ftp-iri-recursive.px, Test-ftp-iri-disabled.px, |
| 12079 |
Test-idn-cmd.px, Test-idn-robots.px: Adjust wget invocations, |
| 12080 |
replacing --locale with --local-encoding. |
| 12081 |
|
| 12082 |
2009-07-26 Micah Cowan <[email protected]> |
| 12083 |
|
| 12084 |
* src/main.c (option_data): Rename --locale option to --local-encoding |
| 12085 |
(print_help): Document --no-iri, --local-encoding, and |
| 12086 |
--remote-encoding, within usage message. Remove defunct |
| 12087 |
--preserve-permissions. |
| 12088 |
|
| 12089 |
2009-07-26 Micah Cowan <[email protected]> |
| 12090 |
|
| 12091 |
* doc/wget.texi (Download Options): Change --iri item to --no-iri; |
| 12092 |
rename --locale to --local-encoding. |
| 12093 |
(Wgetrc Commands): Document iri, local_encoding, remote_encoding, |
| 12094 |
ask_password, auth_no_challenge, and keep_session_cookies. |
| 12095 |
|
| 12096 |
2009-07-23 Micah Cowan <[email protected]> |
| 12097 |
|
| 12098 |
* src/progress.c (get_eta): Change "Translation note" in comment to |
| 12099 |
"TRANSLATORS", so it actually appears in wget.pot. |
| 12100 |
|
| 12101 |
2009-07-10 Micah Cowan <[email protected]> |
| 12102 |
|
| 12103 |
* util/paramcheck.pl (find_documentation): Added. |
| 12104 |
(emit_undocumented_opts): Check for documentation in both TexInfo |
| 12105 |
and --help string. |
| 12106 |
|
| 12107 |
2009-07-07 Steven Schubiger <[email protected]> |
| 12108 |
|
| 12109 |
* tests/Makefile.am: Add IDN/IRI test files and Test-meta-robots.px |
| 12110 |
to EXTRA_DIST. |
| 12111 |
|
| 12112 |
2009-07-06 Micah Cowan <[email protected]> |
| 12113 |
|
| 12114 |
* src/main.c (print_help): Improve documentation of --base. |
| 12115 |
|
| 12116 |
2009-07-06 Micah Cowan <[email protected]> |
| 12117 |
|
| 12118 |
* doc/wget.texi (Logging and Input File Options): Alter description of |
| 12119 |
--input-file, implying that --force-html isn't necessary when the |
| 12120 |
input is in HTML file. Improve accuracy of --base description. |
| 12121 |
(Wgetrc Commands): Improve accuracy of "base" description. |
| 12122 |
(HTTP Options): Clarify operation of --post-file. |
| 12123 |
|
| 12124 |
2009-07-05 Petr Pisar <[email protected]> |
| 12125 |
|
| 12126 |
* src/main.c (print_version): Mark initial line for translation, along |
| 12127 |
with (env), (user), and (system). Change copyright year to 2009. |
| 12128 |
|
| 12129 |
* src/http.c (http_loop): Space after colon. |
| 12130 |
|
| 12131 |
* src/gnutls.c (ssl_check_certificate): Use quote function, rather |
| 12132 |
than explicit quotes. |
| 12133 |
|
| 12134 |
2009-07-05 Micah Cowan <[email protected]> |
| 12135 |
|
| 12136 |
* tests/Test-meta-robots.px: Added. |
| 12137 |
|
| 12138 |
* tests/run-px: Add Test-meta-robots.px to the list. |
| 12139 |
|
| 12140 |
2009-07-05 Micah Cowan <[email protected]> |
| 12141 |
|
| 12142 |
* src/html-url.c (tag_handle_meta): Handle meta name="robots" |
| 12143 |
properly: deal with whitespace, commas after... |
| 12144 |
|
| 12145 |
* src/netrc.c (parse_netrc): Rename local-scope variable "quote" to |
| 12146 |
"qmark", to avoid conflict with the function name. |
| 12147 |
|
| 12148 |
2009-07-05 Micah Cowan <[email protected]> |
| 12149 |
|
| 12150 |
* src/Makefile.am (version.c): Add dependency on configure.ac. |
| 12151 |
|
| 12152 |
* src/iri.c: Mark some strings for translation. |
| 12153 |
|
| 12154 |
2009-07-05 Micah Cowan <[email protected]> |
| 12155 |
|
| 12156 |
* po/Rules-quot: Added targets to build en@{quot,boldquot}.po |
| 12157 |
|
| 12158 |
* po/POTFILES.in: Added src/gnutls.c, src/iri.c. |
| 12159 |
|
| 12160 |
* po/*.po: Updated translations from TP. New translation: |
| 12161 |
Lithuanian. |
| 12162 |
|
| 12163 |
* lib/*, md5/*: Updated gnulib. |
| 12164 |
|
| 12165 |
2009-07-04 Steven Schweda <[email protected]> |
| 12166 |
|
| 12167 |
* vms/COLLECT_DEPS.COM, vms/config.h_vms, vms/decc_ver.c, |
| 12168 |
vms/DESCRIP_CONFIG.MMS, vms/DESCRIP_DEPS.MMS, |
| 12169 |
vms/DESCRIP_MKDEPS.MMS, vms/DESCRIP.MMS, vms/DESCRIP_SRC.MMS, |
| 12170 |
vms/vms.c, vms/vms.h, vms/vms_ip.h, vms/vms_name_fix.sh, |
| 12171 |
vms/VMS_NOTES.TXT, vms/VMS-WGET.COM, vms/WGET.HLP, |
| 12172 |
vms/WGET_MULTINET.OPT, vms/WGET.OPT, vms/WGET_SSL_HP.OPT, |
| 12173 |
vms/WGET_SSL.OPT: Added. |
| 12174 |
|
| 12175 |
2009-07-04 Steven Schweda <[email protected]> |
| 12176 |
|
| 12177 |
* src/wget.h (ORIG_SFX): Macro added, to supply an alternative "_orig" |
| 12178 |
suffix on VMS. |
| 12179 |
|
| 12180 |
* src/connect.c, host.c, host.h, main.c: Include "vms_ip.h" rather |
| 12181 |
than <netdb.h> on VMS systems. |
| 12182 |
|
| 12183 |
* src/convert.c (write_backup_file): Use "_orig" rather than ".orig" |
| 12184 |
on VMS. |
| 12185 |
|
| 12186 |
* src/ftp-basic.c (ftp_list): Don't use LIST -a on VMS servers. |
| 12187 |
|
| 12188 |
* src/ftp.c [__VMS]: Include "vms.h" |
| 12189 |
* src/ftp.c (getftp): Disable some unhelpful "for VMS" code. Pass the |
| 12190 |
OS type to ftp_list. |
| 12191 |
(getftp) [__VMS]: Alter the filename as required, and invoke fopen |
| 12192 |
with extra optional arguments. |
| 12193 |
(ftp_retrieve_list): Set permissions before setting the times. |
| 12194 |
|
| 12195 |
* src/ftp-ls.c [__VMS]: Various improvements. |
| 12196 |
|
| 12197 |
* src/http.c (SET_USER_AGENT): Added. Include operating-system info in |
| 12198 |
the User-Agent header. |
| 12199 |
(gethttp): Use ORIG_SFX macro. |
| 12200 |
(gethttp) [__VMS]: invoke fopen with extra arguments to |
| 12201 |
communicate file type. |
| 12202 |
(http_loop): Add cast to time_t. |
| 12203 |
|
| 12204 |
* src/init.c (wgetrc_user_file_name) [__VMS]: Adjustments for where to |
| 12205 |
find the .wgetrc. |
| 12206 |
|
| 12207 |
* src/log.c: Adjustments to improve handling of log files on VMS. |
| 12208 |
|
| 12209 |
* src/main.c [__VMS]: Added --ftp-stmlf option (and associated |
| 12210 |
documentation). Adjust description of backup-suffixes, as they now |
| 12211 |
differ for VMS. |
| 12212 |
(print_help, print_version): Include OS type in version |
| 12213 |
information. |
| 12214 |
(main) [__VMS]: Invoke fopen with extra options, to specify file |
| 12215 |
type information. |
| 12216 |
|
| 12217 |
* src/netrc.c (search_netrc) [__VMS]: Fix .netrc-finding. |
| 12218 |
|
| 12219 |
* src/openssl.c, openssl.h (ssl_connect_wget): Renamed from ssl_connect. |
| 12220 |
|
| 12221 |
* src/options.h (struct options): Add ftp_stmlf field. |
| 12222 |
|
| 12223 |
* src/retr.c (write_data) [__VMS]: Avoid fflush. |
| 12224 |
|
| 12225 |
* src/url.c [__VMS]: Include vms.h. |
| 12226 |
* src/url.c (url_file_name) [__VMS]: Handle naming as required for VMS. |
| 12227 |
|
| 12228 |
* src/utils.c [__VMS]: Include vms.h. Various added facilities for VMS |
| 12229 |
needs. |
| 12230 |
|
| 12231 |
2009-07-04 Steven Schubiger <[email protected]> |
| 12232 |
|
| 12233 |
* src/url.c (url_parse): If an URL scheme is invalid, distinguish |
| 12234 |
between an unsupported or missing scheme. |
| 12235 |
|
| 12236 |
* src/url.c: Add a "missing scheme" entry to parse_errors. |
| 12237 |
|
| 12238 |
2009-07-04 Micah Cowan <[email protected]> |
| 12239 |
|
| 12240 |
* src/main.c (print_version): Allow localization of the version-info |
| 12241 |
labels, eschew attempts at alignment (which is complicated when |
| 12242 |
handling translated strings), and avoid using printf() with |
| 12243 |
variable-stored format strings that lack conversion |
| 12244 |
specifications. |
| 12245 |
(format_and_print_line): For similar reasons, don't calculate |
| 12246 |
line-continuation tabulation based on the number of bytes in a |
| 12247 |
string. |
| 12248 |
|
| 12249 |
2009-07-03 Micah Cowan <[email protected]> |
| 12250 |
|
| 12251 |
* tests/Test-ftp-iri-disabled.px, Test-iri-disabled.px: |
| 12252 |
--iri=no --> --no-iri |
| 12253 |
|
| 12254 |
2009-07-03 Micah Cowan <[email protected]> |
| 12255 |
|
| 12256 |
* src/iri.h (iri_dup): Provide macro definition for when IRIs are |
| 12257 |
disabled. |
| 12258 |
|
| 12259 |
* src/Makefile.am (LIBS): Added @LIBICONV@. |
| 12260 |
(wget_SOURCES): Added iri.h. |
| 12261 |
(EXTRA_wget_SOURCES): Added iri.c, so it gets packaged even if IRI |
| 12262 |
support was disabled. |
| 12263 |
|
| 12264 |
2009-07-03 Micah Cowan <[email protected]> |
| 12265 |
|
| 12266 |
* doc/wget.texi (Download Options): --iri=no --> --no-iri |
| 12267 |
(Contributors): Add Saint Xavier. |
| 12268 |
|
| 12269 |
2009-07-03 Micah Cowan <[email protected]> |
| 12270 |
|
| 12271 |
* configure.ac: Ensure LIBICONV is empty if IRIs are disabled. |
| 12272 |
|
| 12273 |
* AUTHORS: Added Ted Mielczarek and Saint Xavier. |
| 12274 |
|
| 12275 |
* NEWS: Added items for IRI support, new --version information. |
| 12276 |
|
| 12277 |
2009-07-02 Micah Cowan <[email protected]> |
| 12278 |
|
| 12279 |
* src/recur.c (url_enqueue): Quote enqueue/dequeue debug messages. |
| 12280 |
|
| 12281 |
* src/html-url.c (append_url): Change "merge()" quoting style from |
| 12282 |
locale_quoting_style to escape_quoting_style. |
| 12283 |
|
| 12284 |
2009-07-01 Steven Schubiger <[email protected]> |
| 12285 |
|
| 12286 |
* src/Makefile.am: Add a rule to generate build_info.c and list |
| 12287 |
the build_info.c.in file in EXTRA_DIST. Adjust elsewhere |
| 12288 |
where needed. |
| 12289 |
|
| 12290 |
* src/build_info.c: Remove this static source file. |
| 12291 |
|
| 12292 |
* src/build_info.c.in: Data for generation of build_info.c. |
| 12293 |
|
| 12294 |
2009-07-01 Steven Schubiger <[email protected]> |
| 12295 |
|
| 12296 |
* Makefile.am: Add build_info.pl to EXTRA_DIST. |
| 12297 |
|
| 12298 |
* build_info.pl: Generate build_info.c from data. |
| 12299 |
|
| 12300 |
2009-07-01 Micah Cowan <[email protected]> |
| 12301 |
|
| 12302 |
* tests/HTTPServer.pm (send_response): Invocation of |
| 12303 |
verify_request_headers, to support testing of Wget-sent header |
| 12304 |
values. |
| 12305 |
(verify_request_headers): Added. |
| 12306 |
|
| 12307 |
* tests/Test-iri.px: Added verification checks for Referer values. |
| 12308 |
|
| 12309 |
2009-07-01 Micah Cowan <[email protected]> |
| 12310 |
|
| 12311 |
* src/retr.c (retrieve_url): Use the existing "redirect" label, |
| 12312 |
instead of superfluous "second_try". Removed no-longer-accurate |
| 12313 |
debug statement. Use the "newloc" parameter to store the fallback |
| 12314 |
URL, when IRI version was rejected. |
| 12315 |
|
| 12316 |
* src/recur.c (retrieve_tree): Always use the parsed URL for tracking |
| 12317 |
the Referer, since that's the one we actually requested (if |
| 12318 |
there's a difference in terms of percent-encodings and such). |
| 12319 |
|
| 12320 |
2009-06-29 Micah Cowan <[email protected]> |
| 12321 |
|
| 12322 |
* tests/WgetTest.pm.in (_cleanup): Allow cleanup of test directories to |
| 12323 |
be skipped at user discretion. |
| 12324 |
|
| 12325 |
* tests/run-px, Test-iri-percent.px, Test-ftp-iri-recursive.px: Added |
| 12326 |
test for percent-coded value preservation, FTP recursion when IRI |
| 12327 |
support's on. |
| 12328 |
|
| 12329 |
2009-06-29 Micah Cowan <[email protected]> |
| 12330 |
|
| 12331 |
* src/html-url.c (append_url): Quote some more arguments that might |
| 12332 |
contain characters that are inappropriate to display for the |
| 12333 |
current locale. |
| 12334 |
|
| 12335 |
* src/retr.c (retrieve_from_file): Be sure to pass iri information |
| 12336 |
when parsing an input-fle url, and be sure to hand a clean iri |
| 12337 |
struct, off to retrieve_tree and retrieve_url. |
| 12338 |
|
| 12339 |
* src/iri.c, iri.h (iri_dup): Added. |
| 12340 |
|
| 12341 |
* src/retr.c (retrieve_url): Re-parse for IRI fallback. |
| 12342 |
|
| 12343 |
* src/main.c (main): Set up iri before the url_parse invocation (so we |
| 12344 |
can use it). |
| 12345 |
|
| 12346 |
2009-06-20 Micah Cowan <[email protected]> |
| 12347 |
|
| 12348 |
* doc/wget.texi (Contributors): Added Jay Krell. |
| 12349 |
|
| 12350 |
2009-06-20 Jay Krell <[email protected]> |
| 12351 |
|
| 12352 |
* src/sysdep.h (_ALL_SOURCE): (small change) Define the _ALL_SOURCE |
| 12353 |
macro on INTERIX systems. (I switched the location from ftp.c to |
| 12354 |
sysdep.h --mjc) |
| 12355 |
|
| 12356 |
2009-06-15 Micah Cowan <[email protected]> |
| 12357 |
|
| 12358 |
* src/ftp.c (getftp): If we can't accept the connection, return |
| 12359 |
CONERROR, not whatever the contents of err happens to be. Fixes |
| 12360 |
bug #25015. |
| 12361 |
|
| 12362 |
* src/retr.c (fd_read_body): Make both args to progress_create |
| 12363 |
consistent, resulting in an accurate progress display. Fixes bug |
| 12364 |
#24948. |
| 12365 |
|
| 12366 |
2009-06-14 Phil Pennock <[email protected]> (tiny change) |
| 12367 |
* src/host.h: Declare `is_valid_ip_address'. |
| 12368 |
* src/host.c (is_valid_ip_address): New function. |
| 12369 |
* src/http.c (gethttp): Specify the hostname to ssl_connect_wget. |
| 12370 |
* src/gnutls.c (ssl_connect_wget): Specify the server name. |
| 12371 |
* src/openssl.c (ssl_connect_wget): Likewise. |
| 12372 |
* src/ssl.h: Change method signature for ssl_connect_wget. |
| 12373 |
|
| 12374 |
2009-06-14 Micah Cowan <[email protected]> |
| 12375 |
|
| 12376 |
* tests/Makefile.am (EXTRA_DIST): Include all the tests, run-px, and |
| 12377 |
certs/, to make distcheck happy. |
| 12378 |
|
| 12379 |
2009-06-14 Micah Cowan <[email protected]> |
| 12380 |
|
| 12381 |
* src/Makefile.am (wget_SOURCES): css-tokens.h needs to ship with |
| 12382 |
dist, too. |
| 12383 |
|
| 12384 |
2009-06-14 Micah Cowan <[email protected]> |
| 12385 |
|
| 12386 |
* po/Makefile.in.in (distclean): remove en_US.po, too. |
| 12387 |
|
| 12388 |
* Makefile.am: Include md5 as a subdir unconditionally. |
| 12389 |
It may result in useless compilation, and additional risk of |
| 12390 |
breaking a build of something that isn't actually needed, but |
| 12391 |
otherwise it's too much of a hassle to manage a failure-free |
| 12392 |
distcheck. |
| 12393 |
|
| 12394 |
2009-06-14 Micah Cowan <[email protected]> |
| 12395 |
|
| 12396 |
* doc/Makefile.am (wget.pod): $(srcdir)/version.texi -> version.texi |
| 12397 |
|
| 12398 |
2009-06-13 Micah Cowan <[email protected]> |
| 12399 |
|
| 12400 |
* src/init.c: Rename setval_internal_wrapper to setval_internal_tilde, |
| 12401 |
ensure we don't "replace" the tilde unless it's actually |
| 12402 |
present. Clean up some minor GNU style issues. |
| 12403 |
|
| 12404 |
2009-06-13 Julien Pichon <[email protected]> |
| 12405 |
|
| 12406 |
* src/init.c: Handle tilde-expansion in wgetrc commands, without |
| 12407 |
resorting to setting/unsetting globals to change behavior in one |
| 12408 |
call location. |
| 12409 |
|
| 12410 |
2009-06-12 Micah Cowan <[email protected]> |
| 12411 |
|
| 12412 |
* src/host.c: Include <sys/types.h> before <sys/socket.h>. Not |
| 12413 |
required by POSIX any more, but some older systems (such as |
| 12414 |
FreeBSD 4.1) still need it, and it doesn't seem like it could |
| 12415 |
hurt... |
| 12416 |
|
| 12417 |
* src/build_info.c (library): Handle "https" as a feature in its own |
| 12418 |
right, apart from "gnutls" and "openssl". |
| 12419 |
|
| 12420 |
* src/host.c: Declare h_errno if no declaration is provided. Idea |
| 12421 |
thanks to Maciej W. Rozycki. |
| 12422 |
|
| 12423 |
2009-06-12 Micah Cowan <[email protected]> |
| 12424 |
|
| 12425 |
* doc/wget.texi (Download Options): More accuracy on what happens when |
| 12426 |
-nd is used with -r or -p. |
| 12427 |
|
| 12428 |
2009-06-12 Micah Cowan <[email protected]> |
| 12429 |
|
| 12430 |
* configure.ac: Check for h_errno declaration. Idea thanks to |
| 12431 |
Maciej W. Rozycki. |
| 12432 |
|
| 12433 |
2009-06-11 Xin Zou <[email protected]> |
| 12434 |
|
| 12435 |
* src/http.c (gethttp): Fix some memory leaks. |
| 12436 |
|
| 12437 |
2009-06-11 Micah Cowan <[email protected]> |
| 12438 |
|
| 12439 |
* src/http.c (http_atotm): Handle potential for setlocale's return |
| 12440 |
value to be static storage. Thanks to Benjamin Wolsey |
| 12441 |
<[email protected]>. |
| 12442 |
|
| 12443 |
* src/sysdep.h: Need NAMESPACE_TWEAKS on non-Linux glibc-based |
| 12444 |
systems, too. Thanks to Robert Millan. |
| 12445 |
|
| 12446 |
2009-06-11 Micah Cowan <[email protected]> |
| 12447 |
|
| 12448 |
* doc/wget.texi (Contributors): Added Xin Zou, Benjamin Wolsley, and |
| 12449 |
Robert Millan. |
| 12450 |
|
| 12451 |
2009-06-11 Joao Ferreira <[email protected]> |
| 12452 |
|
| 12453 |
* doc/wget.texi (Option Syntax): Fixed contradictory and confusing |
| 12454 |
explanation of --folow-ftp and negation. |
| 12455 |
|
| 12456 |
2009-06-11 Benjamin Wolsey <[email protected]> |
| 12457 |
|
| 12458 |
* tests/Test-proxied-https-auth.px: Take an optional argument for the |
| 12459 |
top source directory, so we can find the cert and key. |
| 12460 |
|
| 12461 |
* tests/run-px: Provide the top source directory as an argument, so |
| 12462 |
scripts can find their way around. |
| 12463 |
|
| 12464 |
2009-06-10 Micah Cowan <[email protected]> |
| 12465 |
|
| 12466 |
* doc/sample.wgetrc: Add "https_proxy" to the proxy examples. Thanks |
| 12467 |
to Martin Paul <[email protected]> for the suggestion. |
| 12468 |
|
| 12469 |
2009-05-28 Steven Schubiger <[email protected]> |
| 12470 |
|
| 12471 |
* src/ftp.c (ftp_get_listing): Update the "listing file" |
| 12472 |
string after calling ftp_loop_internal(). |
| 12473 |
|
| 12474 |
2009-05-27 Steven Schubiger <[email protected]> |
| 12475 |
|
| 12476 |
* src/ftp.c (ftp_get_listing): Duplicate the "listing file" |
| 12477 |
string to avoid memory corruption when FOPEN_EXCL_ERR is |
| 12478 |
encountered. |
| 12479 |
|
| 12480 |
2009-05-17 Steven Schubiger <[email protected]> |
| 12481 |
|
| 12482 |
* src/progress.c (eta_to_human_short): Fix the remaining hours |
| 12483 |
to be displayed. Spotted by Tadeu Martins (#26411). |
| 12484 |
|
| 12485 |
2009-04-24 Micah Cowan <[email protected]> |
| 12486 |
|
| 12487 |
* src/hash.c: Change stdint.h inclusion to use HAVE_STDINT_H, not C99 |
| 12488 |
check. |
| 12489 |
|
| 12490 |
* src/connect.c: stdint.h inclusion added. |
| 12491 |
|
| 12492 |
Thanks to Markus Duft <[email protected]> for a similar patch. |
| 12493 |
|
| 12494 |
2009-04-20 Micah Cowan <[email protected]> |
| 12495 |
|
| 12496 |
* src/Makefile.am (version.c): Fix unportable use of "echo -n". |
| 12497 |
|
| 12498 |
2009-04-13 Steven Schubiger <[email protected]> |
| 12499 |
|
| 12500 |
* src/ftp.c (ftp_retrieve_list): Move the duplicated code that |
| 12501 |
determines the local file to a function. |
| 12502 |
|
| 12503 |
* src/http.c (http_loop): Likewise. |
| 12504 |
|
| 12505 |
* src/retr.c (set_local_file): New function. |
| 12506 |
|
| 12507 |
2009-04-11 Steven Schubiger <[email protected]> |
| 12508 |
|
| 12509 |
* tests/run-px: Skip testing with real rc files by setting |
| 12510 |
SYSTEM_WGETRC and WGETRC to /dev/null. |
| 12511 |
|
| 12512 |
2009-04-11 Steven Schubiger <[email protected]> |
| 12513 |
|
| 12514 |
* src/init.c (initialize): Run a custom SYSTEM_WGETRC when |
| 12515 |
provided as an environment variable. |
| 12516 |
|
| 12517 |
2009-03-03 Steven Schubiger <[email protected]> |
| 12518 |
|
| 12519 |
* src/ftp.c, src/http.c, src/main.c, src/recur.h, |
| 12520 |
tests/Makefile.am: Update the copyright years. |
| 12521 |
|
| 12522 |
2009-02-27 Steven Schubiger <[email protected]> |
| 12523 |
|
| 12524 |
* src/ftp.c (ftp_loop_internal): Don't claim for FTP retrievals |
| 12525 |
when writing to standard output either that the document |
| 12526 |
has been saved. Addresses bug #20520 again. |
| 12527 |
|
| 12528 |
2009-02-27 Gisle Vanem <[email protected]> |
| 12529 |
|
| 12530 |
* src/main.c (main): "freopen (NULL,.." causes an assertion in MSVC |
| 12531 |
debug-mode. I.e. NULL isn't legal. But the "CONOUT$" device works |
| 12532 |
fine. |
| 12533 |
|
| 12534 |
2009-02-25 Benjamin Wolsey <[email protected]> |
| 12535 |
|
| 12536 |
* tests/Makefile.am (run-px-tests): Ensure run-px is run from srcdir. |
| 12537 |
|
| 12538 |
* tests/run-px: Include modules from srcdir. |
| 12539 |
|
| 12540 |
2009-02-21 Steven Schubiger <[email protected]> |
| 12541 |
|
| 12542 |
* src/http.c (http_loop): When a document is written to |
| 12543 |
standard output, don't claim it has been saved to a file. |
| 12544 |
Addresses bug #20520. |
| 12545 |
|
| 12546 |
2009-02-18 Steven Schubiger <[email protected]> |
| 12547 |
|
| 12548 |
* src/recur.h: Remove the dangling declaration for recursive_cleanup(). |
| 12549 |
|
| 12550 |
2009-02-01 Gerardo E. Gidoni <[email protected]> |
| 12551 |
|
| 12552 |
* src/main.c, recur.c, recur.h, res.c, retr.c, retr.h: restructured code to |
| 12553 |
avoid multiple 'url_parse' calls. |
| 12554 |
|
| 12555 |
2009-01-23 Steven Schubiger <[email protected]> |
| 12556 |
|
| 12557 |
* util/freeopts, util/rmold.pl, util/trunc.c: Remove |
| 12558 |
unnecessary whitespace. |
| 12559 |
|
| 12560 |
2008-12-04 Micah Cowan <[email protected]> (not copyrightable) |
| 12561 |
|
| 12562 |
* tests/run-px, Test-idn-robots.px: Added test for robots-file |
| 12563 |
downloads. |
| 12564 |
|
| 12565 |
* tests/Test-idn-cmd.px, Test-idn-meta.px, Test-idn-headers.px: |
| 12566 |
Fix test names. |
| 12567 |
|
| 12568 |
2008-11-27 Saint Xavier <[email protected]> |
| 12569 |
|
| 12570 |
* src/http.c (gethttp): Move authentication code before filename |
| 12571 |
allocation avoiding fallbacking on default filename because |
| 12572 |
"Content-Disposition" header wasn't present before authentcation |
| 12573 |
has been completed. Fixes bug #24862. |
| 12574 |
|
| 12575 |
2008-11-26 Micah Cowan <[email protected]> (not copyrightable) |
| 12576 |
|
| 12577 |
* tests/Test-ftp-iri-disabled.px, Test-ftp-iri-fallback.px, |
| 12578 |
Test-ftp-iri.px, Test-idn-cmd.px, Test-idn-headers.px, |
| 12579 |
Test-idn-meta.px, Test-iri-disabled.px, |
| 12580 |
Test-iri-forced-remote.px, Test-iri-list.px, Test-iri.px: More |
| 12581 |
module-scope warnings. |
| 12582 |
|
| 12583 |
2008-11-25 Steven Schubiger <[email protected]> |
| 12584 |
|
| 12585 |
* tests/WgetTest.pm.in: Remove the magic interpreter line; |
| 12586 |
replace -w with lexical warnings. |
| 12587 |
|
| 12588 |
2008-11-16 Steven Schubiger <[email protected]> |
| 12589 |
|
| 12590 |
* src/main.c: Declare and initialize the numurls counter. |
| 12591 |
|
| 12592 |
* src/ftp.c, http.c: Make the counter visible here and use it. |
| 12593 |
|
| 12594 |
* src/options.h: Remove old declaration from options struct. |
| 12595 |
|
| 12596 |
2008-11-15 Steven Schubiger <[email protected]> |
| 12597 |
|
| 12598 |
* src/init.c (defaults): Set default waitretry value. |
| 12599 |
|
| 12600 |
2008-11-15 Steven Schubiger <[email protected]> |
| 12601 |
|
| 12602 |
* doc/sample.wgetrc: Comment the waitretry "default" value, |
| 12603 |
because there is a global one now. |
| 12604 |
|
| 12605 |
* doc/wget.texi (Download Options): Mention the global |
| 12606 |
default value. |
| 12607 |
|
| 12608 |
2008-11-14 Steven Schubiger <[email protected]> |
| 12609 |
|
| 12610 |
* src/main.c (format_and_print_line): Use a custom format |
| 12611 |
string for printing leading spaces. |
| 12612 |
|
| 12613 |
2008-11-13 Steven Schubiger <[email protected]> |
| 12614 |
|
| 12615 |
* tests/FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm, |
| 12616 |
WgetTest.pm.in: Clean up leftover whitespace. |
| 12617 |
|
| 12618 |
2008-11-13 Micah Cowan <[email protected]> |
| 12619 |
|
| 12620 |
* src/http.c (gethttp): Don't do anything when content-length >= our |
| 12621 |
requested range. |
| 12622 |
|
| 12623 |
2008-11-12 Steven Schubiger <[email protected]> |
| 12624 |
|
| 12625 |
* tests/Test-auth-basic.px, Test-auth-no-challenge.px, |
| 12626 |
Test-auth-no-challenge-url.px, Test-c-full.px, |
| 12627 |
Test-c-partial.px, Test-c.px, Test-c-shorter.px, |
| 12628 |
Test-E-k-K.px, Test-E-k.px, Test-ftp.px, |
| 12629 |
Test-HTTP-Content-Disposition-1.px, |
| 12630 |
Test-HTTP-Content-Disposition-2.px, |
| 12631 |
Test-HTTP-Content-Disposition.px, Test-N-current.px, |
| 12632 |
Test-N-HTTP-Content-Disposition.px, |
| 12633 |
Test-N--no-content-disposition.px, |
| 12634 |
Test-N--no-content-disposition-trivial.px, |
| 12635 |
Test-N-no-info.px, Test--no-content-disposition.px, |
| 12636 |
Test--no-content-disposition-trivial.px, Test-N-old.px, |
| 12637 |
Test-nonexisting-quiet.px, Test-noop.px, Test-np.px, |
| 12638 |
Test-N.px, Test-N-smaller.px, |
| 12639 |
Test-O-HTTP-Content-Disposition.px, Test-O-nc.px, |
| 12640 |
Test-O--no-content-disposition.px, |
| 12641 |
Test-O--no-content-disposition-trivial.px, |
| 12642 |
Test-O-nonexisting.px, Test-O.px, |
| 12643 |
Test-proxy-auth-basic.px, Test-Restrict-Lowercase.px, |
| 12644 |
Test-Restrict-Uppercase.px, |
| 12645 |
Test--spider-fail.pxm, Test--spider.px, |
| 12646 |
Test--spider-r-HTTP-Content-Disposition.px, |
| 12647 |
Test--spider-r--no-content-disposition.px, |
| 12648 |
Test--spider-r--no-content-disposition-trivial.px, |
| 12649 |
Test--spider-r.px: Enforce lexically scoped warnings. |
| 12650 |
|
| 12651 |
* tests/Test-proxied-https-auth.px, run-px: Place use strict |
| 12652 |
before use warnings. |
| 12653 |
|
| 12654 |
2008-11-12 Steven Schubiger <[email protected]> |
| 12655 |
|
| 12656 |
* tests/FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm: |
| 12657 |
Remove the magic interpreter line, because it cannot be |
| 12658 |
used fully. Substitute -w with use warnings. |
| 12659 |
|
| 12660 |
2008-11-12 Steven Schubiger <[email protected]> |
| 12661 |
|
| 12662 |
* src/main.c (print_version): Hand the relevant |
| 12663 |
xstrdup/xfree calls back to format_and_print_line(). |
| 12664 |
|
| 12665 |
2008-11-12 Micah Cowan <[email protected]> |
| 12666 |
|
| 12667 |
* src/ftp-ls.c (ftp_index): HTML-escape dir name in title, h1, a:href. |
| 12668 |
|
| 12669 |
2008-11-12 Alexander Belopolsky <[email protected]> |
| 12670 |
|
| 12671 |
* src/url.c, url.h (url_escape_unsafe_and_reserved): Added. |
| 12672 |
|
| 12673 |
* src/ftp-ls.c (ftp_index): URL-escape, rather than HTML-escape, the |
| 12674 |
filename appearing in the link. |
| 12675 |
|
| 12676 |
2008-11-11 Steven Schubiger <[email protected]> |
| 12677 |
|
| 12678 |
* src/main.c (format_and_print_line): Move both the memory |
| 12679 |
allocating and freeing bits upwards to print_version(). |
| 12680 |
|
| 12681 |
2008-11-11 Micah Cowan <[email protected]> |
| 12682 |
|
| 12683 |
* tests/HTTPServer.pm (handle_auth): Allow testing of |
| 12684 |
--auth-no-challenge. |
| 12685 |
|
| 12686 |
* tests/Test-auth-no-challenge.px, Test-auth-no-challenge-url.px: |
| 12687 |
Added. |
| 12688 |
|
| 12689 |
* tests/run-px: Add Test-auth-no-challenge.px, |
| 12690 |
Test-auth-no-challenge-url.px. |
| 12691 |
|
| 12692 |
2008-11-10 Saint Xavier <[email protected]> |
| 12693 |
|
| 12694 |
* src/http.c: Make --auth-no-challenge works with user:pass@ in URLs. |
| 12695 |
|
| 12696 |
2008-11-10 Micah Cowan <[email protected]> |
| 12697 |
|
| 12698 |
* doc/Makefile.am (EXTRA_DIST): Removed no-longer-present |
| 12699 |
README.maint (shouldn't have been there in the first place). |
| 12700 |
|
| 12701 |
* doc/wget.texi (Mailing Lists): Added information aboug Gmane portal, |
| 12702 |
added subsection headings. |
| 12703 |
|
| 12704 |
Update node pointers. |
| 12705 |
|
| 12706 |
2008-11-10 Micah Cowan <[email protected]> |
| 12707 |
|
| 12708 |
* MAILING-LIST: Mention Gmane, introduce subsections. |
| 12709 |
|
| 12710 |
2008-11-07 Steven Schubiger <[email protected]> |
| 12711 |
|
| 12712 |
* tests/run-px: Use some colors for the summary part of the test |
| 12713 |
output to strengthen the distinction between a successful |
| 12714 |
or failing run. |
| 12715 |
|
| 12716 |
2008-11-06 Steven Schubiger <[email protected]> |
| 12717 |
|
| 12718 |
* tests/run-px: When executing test scripts, invoke them with the |
| 12719 |
current perl executable name as determined by env. |
| 12720 |
|
| 12721 |
2008-11-06 Micah Cowan <[email protected]> |
| 12722 |
|
| 12723 |
* tests/run-px: Use strict (thanks Steven Schubiger!). |
| 12724 |
|
| 12725 |
2008-11-05 Micah Cowan <[email protected]> |
| 12726 |
|
| 12727 |
* src/ftp.c (print_length): Should print humanized "size remaining" |
| 12728 |
only when it's at least 1k. |
| 12729 |
|
| 12730 |
2008-11-05 Micah Cowan <[email protected]> |
| 12731 |
|
| 12732 |
* doc/wget.texi: Move --no-http-keep-alive from FTP Options to HTTP |
| 12733 |
Options. |
| 12734 |
(Mailing List): Mention moderation for unsubscribed posts, and |
| 12735 |
archive location. |
| 12736 |
|
| 12737 |
2008-11-05 Micah Cowan <[email protected]> |
| 12738 |
|
| 12739 |
* MAILING-LIST: Mention moderation for unsubscribed posts, and |
| 12740 |
archive location. |
| 12741 |
|
| 12742 |
2008-11-04 Micah Cowan <[email protected]> |
| 12743 |
|
| 12744 |
* doc/wget.texi, fdl.texi: Updated to FDL version 1.3. |
| 12745 |
|
| 12746 |
2008-10-31 Micah Cowan <[email protected]> |
| 12747 |
|
| 12748 |
* src/main.c (print_version): Add information about the mailing list. |
| 12749 |
|
| 12750 |
2008-10-31 Micah Cowan <[email protected]> |
| 12751 |
|
| 12752 |
* doc/wget.texi (Mailing List): Update info to reflect change to |
| 12753 |
[email protected]. |
| 12754 |
|
| 12755 |
2008-10-31 Micah Cowan <[email protected]> |
| 12756 |
|
| 12757 |
* MAILING-LIST: Update information. |
| 12758 |
|
| 12759 |
* NEWS: Add mention of mailing list move. |
| 12760 |
|
| 12761 |
2008-10-31 Alexander Drozdov <[email protected]> |
| 12762 |
|
| 12763 |
* src/retr.c (fd_read_hunk): Make assert deal with maxsize == 0. |
| 12764 |
|
| 12765 |
* src/ftp-ls.c (clean_line): Prevent underflow on empty lines. |
| 12766 |
|
| 12767 |
2008-10-26 Gisle Vanem <[email protected]> |
| 12768 |
|
| 12769 |
* src/main.c (format_and_print_line): Put variables on top of |
| 12770 |
blocks (not all compilers are C99). Add an extra '\n' if |
| 12771 |
SYSTEM_WGETRC isn't defined and printed. |
| 12772 |
|
| 12773 |
2008-09-30 Steven Schubiger <[email protected]> |
| 12774 |
|
| 12775 |
* doc/wget.texi (Wgetrc Commands): Add default_page, save_headers, |
| 12776 |
spider and user_agent to the list of recognized commands. |
| 12777 |
|
| 12778 |
2008-09-10 Michael Kessler <[email protected]> |
| 12779 |
|
| 12780 |
* doc/wget.texi (Robot Exclusion): Fixed typo "downloads" -> |
| 12781 |
"download" |
| 12782 |
|
| 12783 |
2008-09-09 Micah Cowan <[email protected]> |
| 12784 |
|
| 12785 |
* tests/Test-idn-cmd.px: Added. |
| 12786 |
|
| 12787 |
* tests/run-px: Added Test-idn-cmd.px. |
| 12788 |
|
| 12789 |
2008-09-09 Micah Cowan <[email protected]> |
| 12790 |
|
| 12791 |
* src/init.c (home_dir): Save the calculated value for home, |
| 12792 |
to avoid duplicated work on repeated calls. |
| 12793 |
(wgetrc_file_name) [WINDOWS]: Define and initialize home var. |
| 12794 |
|
| 12795 |
* src/build_info.c, main.c: Remove unnecessary extern vars |
| 12796 |
system_wgetrc and locale_dir. |
| 12797 |
|
| 12798 |
* src/main.c: Define program_name for lib/error.c. |
| 12799 |
|
| 12800 |
2008-09-09 Gisle Vanem <[email protected]> |
| 12801 |
|
| 12802 |
* src/url.c (url_error): Use aprintf, not asprintf. |
| 12803 |
|
| 12804 |
2008-09-02 Gisle Vanem <[email protected]> |
| 12805 |
|
| 12806 |
* src/mswindows.h: Must ensure <stdio.h> is included before |
| 12807 |
we redefine ?vsnprintf(). |
| 12808 |
|
| 12809 |
2008-08-28 Micah Cowan <[email protected]> |
| 12810 |
|
| 12811 |
* tests/HTTPServer.pm (run): Allow distinguishing between hostnames, |
| 12812 |
when used as a proxy. |
| 12813 |
|
| 12814 |
* tests/Test-idn-headers.px, Test-idn-meta.px: Added. |
| 12815 |
|
| 12816 |
* tests/run-px: Added Test-idn-headers.px, Test-idn-meta.px. |
| 12817 |
|
| 12818 |
* tests/Test-proxy-auth-basic.px: Use the full URL, rather than just the |
| 12819 |
path (made necessary by the accompanying change to HTTPServer.pm). |
| 12820 |
|
| 12821 |
2008-08-14 Xavier Saint <[email protected]> |
| 12822 |
|
| 12823 |
* tests/Test-iri-list.px : Fetch files from a remote list. |
| 12824 |
|
| 12825 |
2008-08-08 Steven Schubiger <[email protected]> |
| 12826 |
|
| 12827 |
* src/main.c, utils.h: Removed some dead conditional DEBUG_MALLOC code. |
| 12828 |
|
| 12829 |
2008-08-03 Xavier Saint <[email protected]> |
| 12830 |
|
| 12831 |
* tests/Test-iri.px : HTTP recursive fetch for testing IRI support and |
| 12832 |
fallback. |
| 12833 |
|
| 12834 |
* tests/Test-iri-disabled.px : Same file structure as Test-iri.px but with |
| 12835 |
IRI support disabled |
| 12836 |
|
| 12837 |
* tests/Test-iri-forced-remote.px : There's a difference between ISO-8859-1 |
| 12838 |
and ISO-8859-15 for character 0xA4 (respectively currency sign and |
| 12839 |
euro sign). So with a forced ISO-8859-1 remote encoding, wget should |
| 12840 |
see 0xA4 as a currency sign and transcode it correctly in UTF-8 instead |
| 12841 |
of using the ISO-8859-15 given by the server. |
| 12842 |
|
| 12843 |
* tests/Test-ftp-iri.px : Give a file to fetch via FTP in a specific locale |
| 12844 |
and expect wget to fetch the file UTF-8 encoded. |
| 12845 |
|
| 12846 |
* tests/Test-ftp-iri-fallback.px : Same as above but wget should fallback on |
| 12847 |
locale encoding to fetch the file. |
| 12848 |
|
| 12849 |
* tests/Test-ftp-iri.px : Same as Test-ftp-iri.px but with IRI support |
| 12850 |
disabled. The UTF-8 encoded file should not be retrieved. |
| 12851 |
|
| 12852 |
2008-08-03 Xavier Saint <[email protected]> |
| 12853 |
|
| 12854 |
* doc/wget.texi : Add option descriptions for the three new |
| 12855 |
options --iri, --locale and --remote-encoding related to |
| 12856 |
IRI support. |
| 12857 |
|
| 12858 |
* doc/sample.wgetrc : Add commented lines for the three new |
| 12859 |
command iri, locale and encoding related to IRI support. |
| 12860 |
|
| 12861 |
2008-08-03 Steven Schubiger <[email protected]> |
| 12862 |
|
| 12863 |
* src/url.c, url.h (url_error): Better messages for unsupported |
| 12864 |
schemes, especially https. |
| 12865 |
|
| 12866 |
* src/html-url.c, recur.c, retr.c: Adjust to new url_error |
| 12867 |
invocation, and free result. |
| 12868 |
|
| 12869 |
2008-08-03 Micah Cowan <[email protected]> |
| 12870 |
|
| 12871 |
* src/main.c (print_help): Added --default-page. |
| 12872 |
|
| 12873 |
2008-08-03 Micah Cowan <[email protected]> |
| 12874 |
|
| 12875 |
* src/build_info.c, css-url.c: #include wget.h, not config.h. |
| 12876 |
|
| 12877 |
2008-08-03 Micah Cowan <[email protected]> |
| 12878 |
|
| 12879 |
* doc/wget.texi: Don't set UPDATED; already set by version.texi. |
| 12880 |
(HTTP Options): Add --default-page option. |
| 12881 |
|
| 12882 |
2008-08-01 Joao Ferreira <[email protected]> |
| 12883 |
|
| 12884 |
* src/init.c, main.c, options.h, url.c: Added option --default-page |
| 12885 |
to support alternative default names for index.html |
| 12886 |
|
| 12887 |
2008-08-01 Joao Ferreira <[email protected]> |
| 12888 |
|
| 12889 |
* NEWS: Added option --default-page to support alternative |
| 12890 |
default names for index.html |
| 12891 |
|
| 12892 |
2008-07-17 Steven Schubiger <[email protected]> |
| 12893 |
|
| 12894 |
* src/retr.c (retrieve_from_file): When given an URL as input file, |
| 12895 |
use it as baseref if none was specified and treat the input file |
| 12896 |
as HTML if its content type is text/html. |
| 12897 |
|
| 12898 |
* src/init.c (cleanup): Free the memory associated with the base |
| 12899 |
option (when DEBUG_MALLOC is defined). |
| 12900 |
|
| 12901 |
2008-07-17 Steven Schubiger <[email protected]> |
| 12902 |
|
| 12903 |
* doc/wget.texi (Logging and Input File Options): Document |
| 12904 |
for --input-file and according remote input file URLs, the |
| 12905 |
implicit enforcement of treating a document as HTML and |
| 12906 |
the possible baseref assumption. |
| 12907 |
|
| 12908 |
2008-07-02 Xavier Saint <[email protected]> |
| 12909 |
|
| 12910 |
* src/iri.c, iri.h : New function idn_decode() to decode ASCII |
| 12911 |
encoded hostname to the locale. |
| 12912 |
|
| 12913 |
* src/host.c : Show hostname to be resolved both in locale and |
| 12914 |
ASCII encoded. |
| 12915 |
|
| 12916 |
2008-06-30 Micah Cowan <[email protected]> |
| 12917 |
|
| 12918 |
* NEWS: Entries for 1.11.4. |
| 12919 |
|
| 12920 |
* AUTHORS: Added Steven Schubiger. |
| 12921 |
|
| 12922 |
2008-06-29 Micah Cowan <[email protected]> |
| 12923 |
|
| 12924 |
* doc/wget.texi <Contributors>: Added Joao Ferreira, Mike Frysinger, |
| 12925 |
Alain, Guibert, Madhusudan Hosaagrahara, Jim Paris, Kenny |
| 12926 |
Parnell, Benno Schulenberg, and Pranab Shenoy. Added Steven |
| 12927 |
Schubiger to the "Special Thanks" section. |
| 12928 |
|
| 12929 |
2008-06-28 Steven Schubiger <[email protected]> |
| 12930 |
|
| 12931 |
* src/retr.c (retrieve_from_file): Allow for reading the links from |
| 12932 |
an external file (HTTP/FTP). |
| 12933 |
|
| 12934 |
2008-06-26 Xavier Saint <[email protected]> |
| 12935 |
|
| 12936 |
* src/iri.c, iri.h : New functions locale_to_utf8() and |
| 12937 |
idn_encode() adding basic capabilities of IRI/IDN. |
| 12938 |
|
| 12939 |
* src/url.c : Convert URLs from locale to UTF-8 allowing a basic |
| 12940 |
support of IRI/IDN |
| 12941 |
|
| 12942 |
2008-06-26 Xavier Saint <[email protected]> |
| 12943 |
|
| 12944 |
* configure.ac : IRIs support required libiconv, check it. |
| 12945 |
|
| 12946 |
2008-06-25 Steven Schubiger <[email protected]> |
| 12947 |
|
| 12948 |
* src/ftp.c (getftp): When spidering a FTP URL, emit a diagnostic |
| 12949 |
message if the remote file exists. |
| 12950 |
|
| 12951 |
2008-06-24 Steven Schubiger <[email protected]> |
| 12952 |
|
| 12953 |
* src/http.c (http_loop): Replace escnonprint() occurence with |
| 12954 |
a quotearg_style() call. |
| 12955 |
|
| 12956 |
2008-06-24 Micah Cowan <[email protected]> |
| 12957 |
|
| 12958 |
* src/ftp-ls.c (ftp_index): Don't assume time_t* is compatible with |
| 12959 |
long*. Fixes crash on Windows, and probably other systems. |
| 12960 |
|
| 12961 |
2008-06-22 Steven Schubiger <[email protected]> |
| 12962 |
|
| 12963 |
* src/http.c: Explicitly initialize and deallocate the message |
| 12964 |
string used by the -nv --spider functionality. |
| 12965 |
|
| 12966 |
2008-06-22 Steven Schubiger <[email protected]> |
| 12967 |
|
| 12968 |
* src/http.c: Make -nv --spider include the file's name when it |
| 12969 |
exists. |
| 12970 |
|
| 12971 |
2008-06-22 Micah Cowan <[email protected]> |
| 12972 |
|
| 12973 |
* tests/Test-proxied-https-auth.px: Shift exit code so it falls in the |
| 12974 |
lower bits, and actually fails when it should. Use dynamic port, |
| 12975 |
instead of static port. Only run the test if our Wget was built |
| 12976 |
with HTTPS support. |
| 12977 |
|
| 12978 |
* tests/certs/server-cert.pem, certs/server-key.pem: Apparently failed |
| 12979 |
to add these from 1.11.x repo. Fixed. |
| 12980 |
|
| 12981 |
2008-06-22 Micah Cowan <[email protected]> |
| 12982 |
|
| 12983 |
* src/Makefile.am (version.c): Fixed version string invocation so it |
| 12984 |
once again can't result in unterminated strings, made all the |
| 12985 |
string vars pointers-to-const, and moved line lengths |
| 12986 |
below 80 (in Makefile.am, not in version.c). |
| 12987 |
|
| 12988 |
2008-06-19 Xavier Saint <[email protected]> |
| 12989 |
|
| 12990 |
* src/iri.c, iri.h : New function check_encoding_name() as |
| 12991 |
a preliminary encoding name check. |
| 12992 |
|
| 12993 |
* src/main.c, iri.c : Make use of check_encoding_name(). |
| 12994 |
|
| 12995 |
2008-06-19 Xavier Saint <[email protected]> |
| 12996 |
|
| 12997 |
* src/iri.c, iri.h : Add a new function find_locale() to find |
| 12998 |
out the local system encoding. |
| 12999 |
|
| 13000 |
* src/main.c : Make use of find_locale(). |
| 13001 |
|
| 13002 |
2008-06-19 Xavier Saint <[email protected]> |
| 13003 |
|
| 13004 |
* src/iri.c : Include missing stringprep.h file and add a |
| 13005 |
cast. |
| 13006 |
|
| 13007 |
* src/init.c : set a default initial value for opt.enable_iri, |
| 13008 |
opt.locale and opt.encoding_remote. |
| 13009 |
|
| 13010 |
2008-06-19 Xavier Saint <[email protected]> |
| 13011 |
|
| 13012 |
* src/html-url.c : Add "content-type" meta tag parsing for |
| 13013 |
retrieving page encoding. |
| 13014 |
|
| 13015 |
* src/iri.h : Make no-op version of parse_charset() return |
| 13016 |
NULL. |
| 13017 |
|
| 13018 |
2008-06-16 Micah Cowan <[email protected]> |
| 13019 |
|
| 13020 |
* src/http.c (http_loop): When hstat.len is higher than the |
| 13021 |
successfully completed content's length, but it's because we |
| 13022 |
_set_ it that way, don't abort. |
| 13023 |
|
| 13024 |
2008-06-14 Xavier Saint <[email protected]> |
| 13025 |
|
| 13026 |
* src/iri.c, iri.h : New files. |
| 13027 |
|
| 13028 |
* src/Makefile.am : Add files iri.h and conditional iri.c. |
| 13029 |
|
| 13030 |
* src/build_info.c : Add compiled feature "iri". |
| 13031 |
|
| 13032 |
* src/http.c : include iri.h and parse charset from Content-Type |
| 13033 |
header. |
| 13034 |
|
| 13035 |
* src/init.c, main.c, options.h : if an options isn't supported |
| 13036 |
at compiled time, don't get rid off it and show a dummy |
| 13037 |
message instead if they are used. |
| 13038 |
|
| 13039 |
2008-06-14 Xavier Saint <[email protected]> |
| 13040 |
|
| 13041 |
* configure.ac: Add support for IRIs |
| 13042 |
|
| 13043 |
2008-06-13 Micah Cowan <[email protected]> |
| 13044 |
|
| 13045 |
* src/build_info.c: ENABLE_NTLM, not HAVE_NTLM; distinguish OpenSSL |
| 13046 |
from "ssl". |
| 13047 |
|
| 13048 |
2008-06-13 Micah Cowan <[email protected]> |
| 13049 |
|
| 13050 |
* doc/wget.texi (Mailing List): The wget-notify mailing list no longer |
| 13051 |
receives commit notifications from the source repository. |
| 13052 |
(Internet Relay Chat): Activity isn't quite so low any more, |
| 13053 |
remove notice to that effect. |
| 13054 |
|
| 13055 |
2008-06-13 Madhusudan Hosaagrahara <com.gmail.hrmadhu> |
| 13056 |
|
| 13057 |
* src/Makefile.am, main.c, init.c, init.h, build_info.c: Adds build |
| 13058 |
information to the --version command line option. Fixes bug |
| 13059 |
#20636. |
| 13060 |
|
| 13061 |
2008-06-12 Micah Cowan <[email protected]> |
| 13062 |
|
| 13063 |
* tests/FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm, |
| 13064 |
Test--no-content-disposition-trivial.px, |
| 13065 |
Test--no-content-disposition.px, Test--spider-fail.px, |
| 13066 |
Test--spider-r--no-content-disposition-trivial.px, |
| 13067 |
Test--spider-r--no-content-disposition.px, |
| 13068 |
Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px, |
| 13069 |
Test--spider.px, Test-E-k-K.px, Test-E-k.px, |
| 13070 |
Test-HTTP-Content-Disposition-1.px, |
| 13071 |
Test-HTTP-Content-Disposition-2.px, |
| 13072 |
Test-HTTP-Content-Disposition.px, |
| 13073 |
Test-N--no-content-disposition-trivial.px, |
| 13074 |
Test-N--no-content-disposition.px, |
| 13075 |
Test-N-HTTP-Content-Disposition.px, Test-N-current.px, |
| 13076 |
Test-N-no-info.px, Test-N-old.px, Test-N-smaller.px, Test-N.px, |
| 13077 |
Test-O--no-content-disposition-trivial.px, |
| 13078 |
Test-O--no-content-disposition.px, |
| 13079 |
Test-O-HTTP-Content-Disposition.px, Test-O-nonexisting.px, |
| 13080 |
Test-O.px, Test-Restrict-Lowercase.px, |
| 13081 |
Test-Restrict-Uppercase.px, Test-auth-basic.px, Test-c-full.px, |
| 13082 |
Test-c-partial.px, Test-c.px, Test-ftp.px, |
| 13083 |
Test-nonexisting-quiet.px, Test-noop.px, Test-np.px, |
| 13084 |
Test-proxied-https-auth.px, Test-proxy-auth-basic.px, |
| 13085 |
WgetTest.pm.in: Use whatever ports are available, rather than |
| 13086 |
hard-coded ones. |
| 13087 |
|
| 13088 |
* tests/run-px: More summary info, explicit exit code. |
| 13089 |
|
| 13090 |
* tests/Makefile.am: Reinstate "run-px-tests" as a dependency for the |
| 13091 |
"check" target. |
| 13092 |
|
| 13093 |
* tests/WgetTest.pm.in: Draw more attention to the fact that |
| 13094 |
WgetTest.pm is a generated file. |
| 13095 |
|
| 13096 |
* tests/Test-proxied-https-auth.px: Better cleanup, so next test can |
| 13097 |
open the port. |
| 13098 |
|
| 13099 |
2008-06-01 Micah Cowan <[email protected]> |
| 13100 |
|
| 13101 |
* src/main.c [WINDOWS]: Reopen stdout in binary mode, when -O - is |
| 13102 |
given. |
| 13103 |
|
| 13104 |
2008-05-31 Micah Cowan <[email protected]> |
| 13105 |
|
| 13106 |
* src/html-url.c, http.c: Avoid casts in a couple spots. |
| 13107 |
|
| 13108 |
2008-05-31 Micah Cowan <[email protected]> |
| 13109 |
|
| 13110 |
* tests/Test-N-current.px: Ensure we catch failures. |
| 13111 |
|
| 13112 |
* tests/Test-N-old.px: Make it test only the timestamp, and not the |
| 13113 |
content length in addition. |
| 13114 |
|
| 13115 |
* tests/Test-N-smaller.px, Test-N-no-info.px: added. |
| 13116 |
|
| 13117 |
* tests/Test-c-partial.px: Improve checking that the file was |
| 13118 |
partially retrieved, rather than overwritten. |
| 13119 |
|
| 13120 |
* tests/run-px: Added Test-N-smaller.px, Test-N-no-info.px. |
| 13121 |
|
| 13122 |
* tests/HTTPServer.pm: Return 416 for fully-retrieved content, rather |
| 13123 |
than 206 with a zero content-length. |
| 13124 |
|
| 13125 |
2008-05-30 Henri Häkkinen <[email protected]> |
| 13126 |
|
| 13127 |
* src/cookies.c, ftp-basic.c, hash.c, html-url.c, http-ntlm.c, http.c, |
| 13128 |
init.c, log.c, main.c, progress.c, ptimer.c, spider.c, url.c, |
| 13129 |
utils.c: Minor changes to silence warnings when using -Wall. |
| 13130 |
|
| 13131 |
2008-05-29 Micah Cowan <[email protected]> |
| 13132 |
|
| 13133 |
* po/*.po: Updated from TP (the 1.11.3 set). |
| 13134 |
|
| 13135 |
* po/POTFILES.in: Added some more files from lib/, remove |
| 13136 |
src/xmalloc.c. |
| 13137 |
|
| 13138 |
* po/quot.sed, po/boldquot.sed: Automatic handling of quotearg's ` |
| 13139 |
and '. |
| 13140 |
|
| 13141 |
2008-05-26 Steven Schubiger <[email protected]> |
| 13142 |
|
| 13143 |
* src/ftp.c (getftp): Replace last remaining invocation of escnonprint |
| 13144 |
with gnulib quote. |
| 13145 |
|
| 13146 |
2008-05-23 Micah Cowan <[email protected]> |
| 13147 |
|
| 13148 |
* tests/Test--spider.px: Make test expect 0 return code. |
| 13149 |
|
| 13150 |
2008-05-22 Micah Cowan <[email protected]> |
| 13151 |
|
| 13152 |
* tests/Makefile.am (run-px-tests): Replaced ugly list of tests with |
| 13153 |
run-px Perl script to manage running them. |
| 13154 |
|
| 13155 |
* tests/run-px: Added. |
| 13156 |
|
| 13157 |
* tests/FTPServer.pm (run): Avoid re-forking. Fixes bug #20458. |
| 13158 |
|
| 13159 |
2008-05-19 Micah Cowan <[email protected]> |
| 13160 |
|
| 13161 |
* src/main.c (main): Password prompt should be done only once (not |
| 13162 |
once per argument), and should be done prior to the background |
| 13163 |
fork. |
| 13164 |
|
| 13165 |
2008-05-17 Steven Schubiger <[email protected]> |
| 13166 |
|
| 13167 |
* doc/wget.texi (Download Options): Change documentation to reflect |
| 13168 |
the new default value for --prefer-family. |
| 13169 |
(Wgetrc Commands): Same, for prefer_family wgetrc command. |
| 13170 |
|
| 13171 |
2008-05-17 Steven Schubiger <[email protected]> |
| 13172 |
|
| 13173 |
* src/init.c (defaults): Set the preferred IP family to `none' by |
| 13174 |
default. |
| 13175 |
|
| 13176 |
2008-05-17 Micah Cowan <[email protected]> |
| 13177 |
|
| 13178 |
* src/main.c (main): Handle Ctrl-D on command-line. |
| 13179 |
|
| 13180 |
2008-05-17 Kenny Parnell <[email protected]> |
| 13181 |
|
| 13182 |
(cmd_spec_prefer_family): Initialize prefer_family to prefer_none. |
| 13183 |
|
| 13184 |
2008-05-15 Steven Schubiger <[email protected]> |
| 13185 |
|
| 13186 |
* src/ftp.c (getftp): Verify that the file actually exists in FTP, by |
| 13187 |
checking it against the listing. |
| 13188 |
|
| 13189 |
2008-05-15 Micah Cowan <[email protected]> |
| 13190 |
|
| 13191 |
* src/main.c (prompt_for_password): Use the quote module. |
| 13192 |
|
| 13193 |
2008-05-15 Micah Cowan <[email protected]> |
| 13194 |
|
| 13195 |
* NEWS: Entry for --ask-password. |
| 13196 |
|
| 13197 |
2008-05-14 Micah Cowan <[email protected]> |
| 13198 |
|
| 13199 |
* src/ftp.c (ftp_retrieve_list): Symlinks and other filenames |
| 13200 |
should be fully quoted. |
| 13201 |
|
| 13202 |
2008-05-14 Joao Ferreira <[email protected]> |
| 13203 |
|
| 13204 |
* src/main.c, src/http.c, src/ftp.c: -nc is now working in |
| 13205 |
conjunction with '-O file'. |
| 13206 |
|
| 13207 |
2008-05-12 Micah Cowan <[email protected]> |
| 13208 |
|
| 13209 |
* src/main.c (main): Downgrade "-N with -O" to a warning, and switch |
| 13210 |
it off to avoid confusing messages. |
| 13211 |
|
| 13212 |
2008-05-12 Micah Cowan <[email protected]> |
| 13213 |
|
| 13214 |
* doc/wget.texi (Download Options): -N with -O downgraded to a |
| 13215 |
warning. |
| 13216 |
|
| 13217 |
2008-05-12 Micah Cowan <[email protected]> |
| 13218 |
|
| 13219 |
* NEWS: Translations and -N/-O. |
| 13220 |
|
| 13221 |
2008-04-30 Steven Schubiger <[email protected]> |
| 13222 |
|
| 13223 |
* src/main.c (main): New code that handles prompting for passwords |
| 13224 |
when specified explicitly via command-line option (using gnulib's |
| 13225 |
getpass-gnu module). |
| 13226 |
(main): Include the getpass header. |
| 13227 |
|
| 13228 |
* src/init.c: Add "ask-password" to the list of recognized commands. |
| 13229 |
|
| 13230 |
* src/options.h: Add an according boolean member to the options |
| 13231 |
struct. |
| 13232 |
|
| 13233 |
* src/sysdep.h: Comment the defines __EXTENSIONS__ and _GNU_SOURCE |
| 13234 |
out, because they're now defined independently by config.h. |
| 13235 |
|
| 13236 |
2008-04-30 Steven Schubiger <[email protected]> |
| 13237 |
|
| 13238 |
* lib/getdelim.c, lib/getline.c, lib/getpass.c, |
| 13239 |
lib/getpass.h, lib/realloc.c, lib/stdio.h, |
| 13240 |
lib/stdio.in.h, lib/stdlib.h, lib/stdlib.in.h: Imported |
| 13241 |
from gnulib. |
| 13242 |
* m4/eoverflow.m4, m4/extensions.m4, m4/getdelim.m4, |
| 13243 |
m4/getline.m4, m4/getpass.m4, m4/malloc.m4, m4/realloc.m4, |
| 13244 |
m4/stdio_h.m4, m4/stdlib_h.m4: Imported from gnulib. |
| 13245 |
* md5/stdint.h: Imported from gnulib. |
| 13246 |
|
| 13247 |
* GNUmakefile: Updated from gnulib. |
| 13248 |
* lib/Makefile.am, lib/getopt.c, lib/unistd.in.h: Updated |
| 13249 |
from gnulib. |
| 13250 |
* m4/gnulib-cache.m4, m4/gnulib-common.m4, m4/gnulib-comp.m4, |
| 13251 |
m4/include_next.m4, m4/unistd_h.m4: Updated from gnulib. |
| 13252 |
* md5/Makefile.am, md5/m4/gnulib-cache.m4, md5/m4/gnulib-common.m4, |
| 13253 |
md5/m4/gnulib-comp.m4, md5/m4/include_next.m4, md5/m4/md5.m4, |
| 13254 |
md5/m4/stdint.m4, md5/md5.c, md5/md5.h, md5/stdint.in.h, |
| 13255 |
md5/wchar.in.h: Updated from gnulib. |
| 13256 |
|
| 13257 |
2008-04-30 Steven Schubiger <[email protected]> |
| 13258 |
|
| 13259 |
* doc/wget.texi <Download Options>: Document the --ask-password |
| 13260 |
option. |
| 13261 |
|
| 13262 |
2008-04-30 Micah Cowan <[email protected]> |
| 13263 |
|
| 13264 |
* src/progress.c (create_image): Fix glitch where too many spaces are |
| 13265 |
printed on lines that don't display the ETA, in multibyte |
| 13266 |
locales. |
| 13267 |
|
| 13268 |
2008-04-30 Micah Cowan <[email protected]> |
| 13269 |
|
| 13270 |
* NEWS: Added documentation for changes made in 1.11.2. |
| 13271 |
|
| 13272 |
2008-04-27 Rabin Vincent <[email protected]> |
| 13273 |
|
| 13274 |
* src/http.c (http_loop): Fix return for the case where we don't |
| 13275 |
download a file because of -nc. |
| 13276 |
|
| 13277 |
2008-04-27 Micah Cowan <[email protected]> |
| 13278 |
|
| 13279 |
* src/url.c (path_simplify): Go back to allowing leading ".." in |
| 13280 |
paths, but only for FTP URLs. |
| 13281 |
(test_path_simplify): Add scheme-specificness to tests, adapt for |
| 13282 |
mu_run_test. |
| 13283 |
|
| 13284 |
* src/test.c (all_tests): Add test_path_simplify. |
| 13285 |
|
| 13286 |
* src/main.c (main): Downgrade -r, -p with -O to a warning rather than |
| 13287 |
an error; elaborate just a bit more for other -O combination |
| 13288 |
cases. |
| 13289 |
|
| 13290 |
2008-04-27 Micah Cowan <[email protected]> |
| 13291 |
|
| 13292 |
* doc/wget.texi (Download Options) <-O>: Elaborate on why certain |
| 13293 |
options make poor combinations with -O. |
| 13294 |
|
| 13295 |
2008-04-26 Micah Cowan <[email protected]> |
| 13296 |
|
| 13297 |
* tests/Makefile.am, Test-proxied-https-auth.px: Added a test for |
| 13298 |
accessing password-protected HTTPS URLs through a proxy (via |
| 13299 |
CONNECT). |
| 13300 |
|
| 13301 |
2008-04-26 Micah Cowan <[email protected]> |
| 13302 |
|
| 13303 |
* src/http.c (gethttp): Move proxy CONNECT handling to below the |
| 13304 |
retry_with_auth label, to deal with properly reconnecting to |
| 13305 |
proxies when we need to authenticate. |
| 13306 |
|
| 13307 |
2008-04-25 Micah Cowan <[email protected]> |
| 13308 |
|
| 13309 |
* src/Makefile.am: -I foo -> -Ifoo. |
| 13310 |
|
| 13311 |
2008-04-24 Micah Cowan <[email protected]> |
| 13312 |
|
| 13313 |
* src/main.c: Revised usage description of --convert-links to apply |
| 13314 |
to CSS as well as to HTML. |
| 13315 |
|
| 13316 |
2008-04-24 Micah Cowan <[email protected]> |
| 13317 |
|
| 13318 |
* doc/wget.texi: Adjusted documentation to account for CSS support; |
| 13319 |
added Ted Mielczarek to contributors. |
| 13320 |
|
| 13321 |
2008-04-24 Micah Cowan <[email protected]> |
| 13322 |
|
| 13323 |
* NEWS: Removed info about move to Automake, Gnulib. Added item |
| 13324 |
about the addition of CSS support. |
| 13325 |
|
| 13326 |
2008-04-23 Micah Cowan <[email protected]> |
| 13327 |
|
| 13328 |
* src/utils.c (test_dir_matches_p): Added a test for the case |
| 13329 |
described in issue #20518. |
| 13330 |
|
| 13331 |
2008-04-22 Ted Mielczarek <[email protected]> |
| 13332 |
|
| 13333 |
* src/css.lex, css-url.c, css-url.h: Added to implement support for |
| 13334 |
parsing CSS in Wget. |
| 13335 |
* src/convert.c: Convert links in CSS files, too. |
| 13336 |
* src/convert.h (convert_options): Added for options link_css_p, |
| 13337 |
link_expect_css. |
| 13338 |
* src/convert.h: Added prototype for new register_css function. |
| 13339 |
* src/html-parse.c: Added support for parsing element content, in |
| 13340 |
addition to tag starts and ends. |
| 13341 |
* src/html-parse.h (taginfo): Added delimiter fields for element |
| 13342 |
content. |
| 13343 |
* src/html-url.h: Added. |
| 13344 |
* src/html-url.c (append_url): No longer internal-linkage only. Now |
| 13345 |
takes position and size as explicit parameters. |
| 13346 |
* src/html-url.c: Use new html-url.h header, add support for |
| 13347 |
handling of "style" HTML attributes. Mark URIs obtained from |
| 13348 |
link tags with rel="stylesheet" with link_expect_css. Adapt |
| 13349 |
uses of append_url to supply the newly-added parameters for |
| 13350 |
position and size. |
| 13351 |
* src/http.c: Add detection for when the content-type is text/css; |
| 13352 |
and ensure that such files have the ".css" filename extension, |
| 13353 |
when --convert-links is active. |
| 13354 |
* src/recur.h: Remove declarations for functions found in |
| 13355 |
html-url.c (moved to html-url.h). |
| 13356 |
* src/recur.c: Add support for culling links from CSS files, too, |
| 13357 |
and tracking for when we're expecting the file to be CSS (even |
| 13358 |
when its content type isn't text/css). |
| 13359 |
* src/retr.c (retrieve_url): Add registration of CSS files. |
| 13360 |
* src/wget.h: Added TEXTCSS to dt flags enum. |
| 13361 |
* src/Makefile.am: Added css.lex, css-url.c, css-url.h, html-url.h |
| 13362 |
to wget_SOURCES. |
| 13363 |
|
| 13364 |
2008-04-22 Ted Mielczarek <[email protected]> |
| 13365 |
|
| 13366 |
* configure.ac: Added check for lex. |
| 13367 |
|
| 13368 |
2008-04-22 Steven Schubiger <[email protected]> |
| 13369 |
|
| 13370 |
* src/http.c (print_response_line): Changed to make responses always |
| 13371 |
be logged, even in --quiet mode, if --server-response was |
| 13372 |
specified. This is to bring http.c's handling of the situation |
| 13373 |
in line with ftp.c's. |
| 13374 |
|
| 13375 |
2008-04-22 Rabin Vincent <[email protected]> |
| 13376 |
|
| 13377 |
* src/ftp.c (ftp_get_listing): Only remove .listing if it has been |
| 13378 |
created. |
| 13379 |
|
| 13380 |
2008-04-22 Pranab Shenoy <[email protected]> |
| 13381 |
|
| 13382 |
* src/init.c: Added test_commands_sorted unit test to check is |
| 13383 |
commands are sorted. Fixes bug #21245. |
| 13384 |
|
| 13385 |
* src/test.c: Added test_commands_sorted to the test suite. |
| 13386 |
|
| 13387 |
2008-04-22 Mike Frysinger <[email protected]> |
| 13388 |
|
| 13389 |
* src/Makefile.am: Move @LIBS@ after other libraries, for better |
| 13390 |
static-linking support. Fixes bug #22143. |
| 13391 |
|
| 13392 |
2008-04-22 Mike Frysinger <[email protected]> |
| 13393 |
|
| 13394 |
* doc/sample.wgetrc: Added prefer_family example. Resolves bug |
| 13395 |
#22142. |
| 13396 |
|
| 13397 |
2008-04-22 Micah Cowan <[email protected]> |
| 13398 |
|
| 13399 |
* ylwrap: Added via automake -ac. |
| 13400 |
|
| 13401 |
2008-04-22 Micah Cowan <[email protected]> |
| 13402 |
|
| 13403 |
* src/Makefile.am, css.lex, css.l: Renamed css.lex to css.l. |
| 13404 |
* src/recur.c (retrieve_tree): Fix typo to allow text/css files to |
| 13405 |
be parsed. |
| 13406 |
|
| 13407 |
2008-04-22 Jim Paris <[email protected]> |
| 13408 |
|
| 13409 |
* src/openssl.c (ssl_init): Enable combined certificate/key in |
| 13410 |
single file (apparent regression from ~1.9). Resolves issue |
| 13411 |
#22767. |
| 13412 |
|
| 13413 |
2008-04-22 Alain Guibert <[email protected]> |
| 13414 |
|
| 13415 |
* src/test.h (mu_run_test): Move declaration before statements, for |
| 13416 |
C90 conformance. Fixes bug #22789. |
| 13417 |
|
| 13418 |
2008-04-16 Steven Schubiger <[email protected]> |
| 13419 |
|
| 13420 |
* src/sysdep.h: Comment the defines __EXTENSIONS__ and _GNU_SOURCE |
| 13421 |
out, because they're now defined independently by config.h. |
| 13422 |
|
| 13423 |
2008-04-16 Steven Schubiger <[email protected]> |
| 13424 |
|
| 13425 |
* src/ftp.c: Use Gnulib's quote function for printing filenames and |
| 13426 |
such. |
| 13427 |
* src/connect.c: Likewise. |
| 13428 |
* src/convert.c: Likewise. |
| 13429 |
* src/cookies.c: Likewise. |
| 13430 |
* src/ftp-opie.c: Likewise. |
| 13431 |
* src/gnutls.c: Likewise. |
| 13432 |
* src/init.c: Likewise. |
| 13433 |
* src/log.c: Likewise. |
| 13434 |
* src/mswindows.c: Likewise. |
| 13435 |
* src/openssl.c: Likewise. |
| 13436 |
* src/progress.c: Likewise. |
| 13437 |
* src/recur.c: Likewise. |
| 13438 |
* src/res.c: Likewise. |
| 13439 |
* src/utils.c: Likewise. |
| 13440 |
|
| 13441 |
2008-04-14 Steven Schubiger <[email protected]> |
| 13442 |
|
| 13443 |
* src/http.c: Use Gnulib's quote function for printing filenames and |
| 13444 |
such. |
| 13445 |
* src/wget.h: #include "quote.h". |
| 13446 |
|
| 13447 |
2008-04-14 Micah Cowan <[email protected]> |
| 13448 |
|
| 13449 |
* GNUmakefile, lib/Makefile.am, lib/error.c, lib/error.h, |
| 13450 |
lib/exitfail.c, lib/exitfail.h, lib/getopt.c, lib/intprops.h, |
| 13451 |
lib/quote.c, lib/quote.h, lib/quotearg.c, lib/quotearg.h, |
| 13452 |
lib/stdlib.in.h, lib/strerror.c, lib/string.in.h, |
| 13453 |
lib/unistd.in.h, lib/wchar.in.h, lib/wctype.in.h, |
| 13454 |
lib/xalloc-die.c, lib/xalloc.h, lib/xmalloc.c, m4/error.m4, |
| 13455 |
m4/exitfail.m4, m4/extensions.m4, m4/gnulib-cache.m4, |
| 13456 |
m4/gnulib-comp.m4, m4/include_next.m4, m4/inline.m4, |
| 13457 |
m4/mbrtowc.m4, m4/mbstate_t.m4, m4/quote.m4, m4/quotearg.m4, |
| 13458 |
m4/stdlib_h.m4, m4/strerror.m4, m4/string_h.m4, m4/unistd_h.m4, |
| 13459 |
m4/wchar.m4, m4/wctype.m4, m4/wint_t.m4, m4/xalloc.m4, |
| 13460 |
md5/Makefile.am, md5/m4/gnulib-cache.m4, md5/m4/gnulib-comp.m4, |
| 13461 |
md5/m4/include_next.m4, md5/m4/md5.m4, md5/m4/stdint.m4, |
| 13462 |
md5/md5.c, md5/md5.h, md5/stdint.in.h, md5/wchar.in.h: Update |
| 13463 |
from Gnulib, and add the "quote" module. |
| 13464 |
|
| 13465 |
2008-04-12 Rabin Vincent <[email protected]> |
| 13466 |
|
| 13467 |
* src/mswindows.c (fake_fork_child): Don't create a logfile for |
| 13468 |
--background when --quiet is used, but not --server-response. |
| 13469 |
Fixes bug #20917. |
| 13470 |
|
| 13471 |
* src/utils.c (fork_to_background): Likewise. |
| 13472 |
|
| 13473 |
2008-04-12 Micah Cowan <[email protected]> |
| 13474 |
|
| 13475 |
* src/utils.c (aprintf): Minor formatting changes to Alex's code (80- |
| 13476 |
column limit, concatenated string literals, avoiding nesting |
| 13477 |
levels), and removed invocation of free (since we're aborting |
| 13478 |
anyway). |
| 13479 |
|
| 13480 |
2008-04-11 Micah Cowan <[email protected]> |
| 13481 |
|
| 13482 |
* src/ftp.c (getftp, ftp_loop_internal): Don't append to an existing |
| 13483 |
.listing when --continue is used. Fixes bug #22825. Thanks to |
| 13484 |
Rabin Vincent <[email protected]> for pointing the way with a |
| 13485 |
suggested fix! |
| 13486 |
|
| 13487 |
2008-04-11 Micah Cowan <[email protected]> |
| 13488 |
|
| 13489 |
* doc/wget.texi <Contributors>: Added Julien Buty, Alexander |
| 13490 |
Dergachev, and Rabin Vincent. |
| 13491 |
|
| 13492 |
2008-04-11 Alexander Dergachev <[email protected]> |
| 13493 |
|
| 13494 |
* src/utils.c (aprintf): Now we are setting limits (1 Mb) for text |
| 13495 |
buffer when we use non-C99 vsnprintf. |
| 13496 |
|
| 13497 |
2008-04-10 Micah Cowan <[email protected]> |
| 13498 |
|
| 13499 |
* tests/Makefile.am, Test-proxy-auth-basic.px: Added a test for |
| 13500 |
accessing password-protected URLs through a proxy. |
| 13501 |
|
| 13502 |
2008-04-10 Alexander Dergachev <[email protected]> |
| 13503 |
|
| 13504 |
* src/xmalloc.c, xmalloc.h (memfatal): Now exported; accepts an |
| 13505 |
"unknown" value for the attempted allocation size. |
| 13506 |
* src/utils.c (aprintf): Now calls memfatal, instead of aborting. |
| 13507 |
|
| 13508 |
2008-03-24 Micah Cowan <[email protected]> |
| 13509 |
|
| 13510 |
* doc/wget.texi <Types of Fields>: Mentioned various caveats in the |
| 13511 |
behavior of accept/reject lists, deprecate current |
| 13512 |
always-download-HTML feature. Added @noindent to a couple of |
| 13513 |
appropriate spots. |
| 13514 |
|
| 13515 |
2008-03-24 Micah Cowan <[email protected]> |
| 13516 |
|
| 13517 |
* NEWS: Added documentation change re: --no-parents, and various |
| 13518 |
caveats on accept/reject lists behavior. Rearranged some items in |
| 13519 |
order of priority. |
| 13520 |
|
| 13521 |
2008-03-20 Micah Cowan <[email protected]> |
| 13522 |
|
| 13523 |
* ABOUT-NLS: Reinstated, but with a message mentioning that |
| 13524 |
gettext is not included. |
| 13525 |
* Makefile.am: Removed "test" target; "check" should be used |
| 13526 |
instead (and "test" was mildly broken, anyway). |
| 13527 |
|
| 13528 |
2008-03-19 Micah Cowan <[email protected]> |
| 13529 |
|
| 13530 |
* src/utils.c (test_dir_matches_p): More tests related for |
| 13531 |
dir_matches_p. |
| 13532 |
|
| 13533 |
2008-03-17 Micah Cowan <[email protected]> |
| 13534 |
|
| 13535 |
* src/connect.c: Include sys/time.h to support use of the select |
| 13536 |
function on older systems. |
| 13537 |
|
| 13538 |
2008-03-17 Micah Cowan <[email protected]> |
| 13539 |
|
| 13540 |
* doc/wget.texi <Directory-Based Limits>: Mention importance of |
| 13541 |
trailing slashes to --no-parents. |
| 13542 |
|
| 13543 |
2008-02-14 Micah Cowan <[email protected]> |
| 13544 |
|
| 13545 |
* ABOUT-NLS: Removed. |
| 13546 |
|
| 13547 |
2008-02-11 Benno Schulenberg <[email protected]> |
| 13548 |
|
| 13549 |
* src/http.c: More accurate and descriptive messages for when a file |
| 13550 |
won't be retrieved during spider-mode. |
| 13551 |
|
| 13552 |
2008-02-10 Micah Cowan <[email protected]> |
| 13553 |
|
| 13554 |
* src/http.c: Added existence_checked member to the http_stat |
| 13555 |
struct. |
| 13556 |
(gethttp): Mark hs->existence_checked when we've checked whether |
| 13557 |
a file-to-download exists; so we don't check it again if the |
| 13558 |
connection gets lost (and potentially pick a new "unique" name). |
| 13559 |
This fixes bug 22251. |
| 13560 |
* src/progress.c (create_image): Add space for an extra column in |
| 13561 |
the "eta" portion of the progress bar image; to deal with |
| 13562 |
too-long Czech translation. |
| 13563 |
* src/main.c, http.c, init.c: Added --auth-no-challenge option, to |
| 13564 |
bring back 1.10.2 unsafe auth behavior when needed. This fixes |
| 13565 |
bug #22242. |
| 13566 |
|
| 13567 |
2008-02-10 Micah Cowan <[email protected]> |
| 13568 |
|
| 13569 |
* doc/wget.texi <HTTP Options>: Added documentation of |
| 13570 |
--auth-no-challenge. |
| 13571 |
|
| 13572 |
2008-02-10 Micah Cowan <[email protected]> |
| 13573 |
|
| 13574 |
* NEWS: Added note re interrupted files resulting in renames, |
| 13575 |
and new --auth-no-challenge option. |
| 13576 |
|
| 13577 |
2008-02-07 Micah Cowan <[email protected]> |
| 13578 |
|
| 13579 |
* src/progress.c (create_image): Remove assertion on exceeding |
| 13580 |
screen width, which given the less-than-robust code there, can |
| 13581 |
be broken by a number of factors (such as large file downloads). |
| 13582 |
|
| 13583 |
2008-02-06 Micah Cowan <[email protected]> |
| 13584 |
|
| 13585 |
* src/progress.c (countcols): Use strlen() when mbtowc or wcwidth |
| 13586 |
not available (or not using NLS). |
| 13587 |
* src/utils.c: Ensure we use single-byte separators when not doing |
| 13588 |
NLS progress-bars. |
| 13589 |
* src/wget.h: Determine whether to use NLS for progress-bars, based |
| 13590 |
on whether wcwidth and mbtowc are available. |
| 13591 |
|
| 13592 |
2008-02-06 Micah Cowan <[email protected]> |
| 13593 |
|
| 13594 |
* doc/wget.ṫexi <Overview>: Remove references to no-longer-supported |
| 13595 |
socks library. |
| 13596 |
|
| 13597 |
2008-02-06 Micah Cowan <[email protected]> |
| 13598 |
|
| 13599 |
* configure.ac (AC_CHECK_FUNCS): Added check for mbtowc. |
| 13600 |
* NEWS: Added notes regarding fixes for the localized progress |
| 13601 |
bar and --no-clobber wasted GET request. |
| 13602 |
* po/be.po: Added from the TP. |
| 13603 |
|
| 13604 |
2008-02-03 Micah Cowan <[email protected]> |
| 13605 |
|
| 13606 |
* src/progress.c (create_image): Use number of characters/columns |
| 13607 |
consumed, rather than number of bytes, to determine how much of |
| 13608 |
a line we've used. Fixes assertion errors and field alignment |
| 13609 |
bugs (#22161, #20481) |
| 13610 |
(get_eta, count_cols): Added to support the changes for |
| 13611 |
create_image. |
| 13612 |
* src/http.c (http_loop): Put no-clobber logic back into http_loop, |
| 13613 |
before starting to fetch, for when we're not doing |
| 13614 |
content-disposition. |
| 13615 |
|
| 13616 |
2008-02-03 Micah Cowan <[email protected]> |
| 13617 |
|
| 13618 |
* configure.in: Add checks for wchar.h, wcwidth function (to |
| 13619 |
support column-counting in progress.c). |
| 13620 |
* NEWS: Added line for 1.11.1. |
| 13621 |
* util/README, util/Makefile.am, util/trunc.c: Added a small |
| 13622 |
utility program to create files of arbitrary size (useful for |
| 13623 |
testing certain situations with --continue). |
| 13624 |
|
| 13625 |
2008-01-31 Micah Cowan <[email protected]> |
| 13626 |
|
| 13627 |
* util/README, util/dist-wget, util/download-netscape.html, |
| 13628 |
util/download.html, util/update_po_files.sh, util/wget.spec: |
| 13629 |
Removed (obsolete and/or incomplete). |
| 13630 |
* Makefile.am: Removed no-longer-existant util stuff from |
| 13631 |
extra_DIST (but added the README). |
| 13632 |
|
| 13633 |
2008-01-31 Micah Cowan <[email protected]> |
| 13634 |
|
| 13635 |
* src/http.c (gethttp): Don't derive hs->contlen from possibly |
| 13636 |
invalid/missing Content-Length; instead, get the appropriate |
| 13637 |
value from the Content-Range header values. |
| 13638 |
(parse_content_range): Handle '*' instance-length field. |
| 13639 |
|
| 13640 |
2008-01-31 Micah Cowan <[email protected]> |
| 13641 |
|
| 13642 |
* doc/wget.texi: Ensure that license info appears in the info |
| 13643 |
version of the manual. |
| 13644 |
|
| 13645 |
2008-01-28 Micah Cowan <[email protected]> |
| 13646 |
|
| 13647 |
* po/[email protected], po/[email protected], po/en_US.po: Updated |
| 13648 |
translations for copyright year in --version. |
| 13649 |
* po/Rules-quot: Make en@*-update should create wget.pot. |
| 13650 |
* configure.ac: Ensure that en_US appears in ALL_LINGUAS exactly |
| 13651 |
once. |
| 13652 |
|
| 13653 |
2008-01-25 Micah Cowan <[email protected]> |
| 13654 |
|
| 13655 |
* tests/Makefile.am: Updated copyright year. |
| 13656 |
|
| 13657 |
2008-01-25 Micah Cowan <[email protected]> |
| 13658 |
|
| 13659 |
* src/main.c: Added notes to translators regarding (C), diacritics |
| 13660 |
in names. |
| 13661 |
* src/Makefile.am, cmpt.c, connect.c, connect.h, convert.c, |
| 13662 |
cookies.c, cookies.h, ftp-basic.c, ftp-ls.c, ftp-opie.c, ftp.c, |
| 13663 |
ftp.h, gen-md5.c, gen-md5.h, gnutls.c, hash.c, hash.h, host.c, |
| 13664 |
host.h, html-parse.c, html-parse.h, html-url.c, http-ntlm.c, |
| 13665 |
http-ntlm.h, http.c, http.h, init.c, init.h, log.c, log.h, |
| 13666 |
main.c, mswindows.c, mswindows.h, netrc.c, netrc.h, openssl.c, |
| 13667 |
options.h, progress.c, progress.h, ptimer.c, ptimer.h, recur.c, |
| 13668 |
recur.h, res.c, res.h, retr.c, retr.h, spider.c, spider.h, |
| 13669 |
ssl.h, sysdep.h, test.c, test.h, url.c, url.h, utils.c, |
| 13670 |
utils.h, wget.h, xmalloc.c, xmalloc.h: Updated copyright year. |
| 13671 |
|
| 13672 |
2008-01-25 Micah Cowan <[email protected]> |
| 13673 |
|
| 13674 |
* msdos/config.h: Updated copyright year. |
| 13675 |
|
| 13676 |
2008-01-25 Micah Cowan <[email protected]> |
| 13677 |
|
| 13678 |
* Makefile.am, NEWS, README, configure.ac, configure.bat, |
| 13679 |
m4/wget.m4, po/POTFILES.in, util/Makefile.am, util/dist-wget, |
| 13680 |
util/rmold.pl, files: Updated copyright year. |
| 13681 |
|
| 13682 |
2008-01-25 Micah Cowan <[email protected]> |
| 13683 |
* doc/Makefile.am, wget.texi: Updated copyright year. |
| 13684 |
|
| 13685 |
2008-01-24 Micah Cowan <[email protected]> |
| 13686 |
|
| 13687 |
* configure.ac: Added en_US LINGUA (generated). |
| 13688 |
* po/Rules-quot: Added rule to copy en_US.po from [email protected]. |
| 13689 |
* po/boldquot.sed, po/quot.sed: Translate _all_ apostrophes we |
| 13690 |
find, not just the ones used for quotes; and add rules to use |
| 13691 |
the copyight symbol, and write Hrvoje's last name properly. ^_^ |
| 13692 |
* po/[email protected], po/[email protected]: Updated by new rules. |
| 13693 |
* po/en_US.po: Added. |
| 13694 |
|
| 13695 |
2008-01-23 Micah Cowan <[email protected]> |
| 13696 |
|
| 13697 |
* tests/Makefile.am: Add libmd5 to unit-tests. |
| 13698 |
|
| 13699 |
2007-12-10 Micah Cowan <[email protected]> |
| 13700 |
|
| 13701 |
* src/main.c: The option is --content-disposition, not |
| 13702 |
--no-content-disposition (at the moment). |
| 13703 |
|
| 13704 |
2007-12-10 Micah Cowan <[email protected]> |
| 13705 |
|
| 13706 |
* doc/wget.texi: Document the --content-disposition option (and not |
| 13707 |
just the .wgetrc setting). |
| 13708 |
|
| 13709 |
2007-12-10 Micah Cowan <[email protected]> |
| 13710 |
|
| 13711 |
* NEWS: Removed developer-only notices (Autoconf, TODO, PATCHES, |
| 13712 |
GNUTLS). |
| 13713 |
|
| 13714 |
2007-12-08 Hrvoje Niksic <[email protected]> |
| 13715 |
|
| 13716 |
* src/ftp.c (ftp_retrieve_glob): Print both arguments of fnmatch in |
| 13717 |
fnmatch error message. |
| 13718 |
(ftp_retrieve_glob): Don't match with fnmatch if we're only |
| 13719 |
supposed to get one file. |
| 13720 |
|
| 13721 |
2007-12-07 Micah Cowan <[email protected]> |
| 13722 |
|
| 13723 |
* src/Makefile.am: Plug in vars to include stuff from |
| 13724 |
$(top_srcdir)/md5 when appropriate. |
| 13725 |
|
| 13726 |
2007-12-07 Micah Cowan <[email protected]> |
| 13727 |
|
| 13728 |
* lib/Makefile.am, lib/c-ctype.c, lib/c-ctype.h, lib/gettext.h, |
| 13729 |
lib/stdbool.in.h, lib/unistd.in.h, m4/gnulib-cache.m4, |
| 13730 |
m4/gnulib-common.m4, m4/gnulib-comp.m4, m4/unistd_h.m4: |
| 13731 |
Updated from gnulib. |
| 13732 |
* Makefile.am, configure.ac: Plugged in the md5/ stuff. |
| 13733 |
* lib/md5.c, lib/md5.h, lib/stdint.in.h, lib/wchar.in.h, |
| 13734 |
m4/longlong.m4, m4/md5.m4, m4/stdint.m4, m4/wchar.m4: Moved to |
| 13735 |
md5/. |
| 13736 |
* md5/Makefile.am, md5/dummy.c, md5/m4/gnulib-cache.m4, |
| 13737 |
md5/m4/gnulib-common.m4, md5/m4/gnulib-comp.m4, |
| 13738 |
md5/m4/gnulib-tool.m4, md5/m4/include_next.m4, |
| 13739 |
md5/m4/longlong.m4, md5/m4/md5.m4, md5/m4/stdint.m4, |
| 13740 |
md5/m4/wchar.m4, md5/md5.c, md5/md5.h, md5/stdint.in.h, |
| 13741 |
md5/wchar.in.h: Moved/copied from lib/, m4/; updated from |
| 13742 |
gnulib. |
| 13743 |
* m4/ulonglong.m4: Removed (via update from gnulib). |
| 13744 |
|
| 13745 |
2007-12-06 Micah Cowan <[email protected]> |
| 13746 |
|
| 13747 |
* doc/wget.texi: "the the" -> "the" |
| 13748 |
|
| 13749 |
2007-12-05 Micah Cowan <[email protected]> |
| 13750 |
|
| 13751 |
* src/utils.c (subdir_p): Handle the case where d1 is "". |
| 13752 |
* src/convert.c (convert_all_links): Don't return without |
| 13753 |
deallocating timer. |
| 13754 |
|
| 13755 |
2007-12-05 Micah Cowan <[email protected]> |
| 13756 |
|
| 13757 |
* doc/wget.texi <Wgetrc Commands>: Explicitly mention that |
| 13758 |
--content-disposition has known issues. |
| 13759 |
|
| 13760 |
2007-12-05 Micah Cowan <[email protected]> |
| 13761 |
|
| 13762 |
* NEWS: Reword warnings regarding --content-disposition. |
| 13763 |
|
| 13764 |
2007-11-28 Micah Cowan <[email protected]> |
| 13765 |
|
| 13766 |
* tests/Makefile.am: Updated license exception for OpenSSL, per the |
| 13767 |
SFLC. |
| 13768 |
|
| 13769 |
2007-11-28 Micah Cowan <[email protected]> |
| 13770 |
|
| 13771 |
* msdos/config.h: Updated license exception for OpenSSL, per the SFLC. |
| 13772 |
|
| 13773 |
2007-11-28 Micah Cowan <[email protected]> |
| 13774 |
|
| 13775 |
* src/Makefile.am, cmpt.c, connect.c, connect.h, convert.c, |
| 13776 |
convert.h, cookies.c, cookies.h, ftp-basic.c, ftp-ls.c, |
| 13777 |
ftp-opie.c, ftp.c, ftp.h, gen-md5.c, gen-md5.h, gnutls.c, |
| 13778 |
hash.c, hash.h, host.c, host.h, html-parse.c, html-parse.h, |
| 13779 |
html-url.c, http-ntlm.c, http-ntlm.h, http.c, http.h, init.c, |
| 13780 |
init.h, log.c, log.h, main.c, mswindows.c, mswindows.h, |
| 13781 |
netrc.c, netrc.h, openssl.c, options.h, progress.c, progress.h, |
| 13782 |
ptimer.c, ptimer.h, recur.c, recur.h, res.c, res.h, retr.c, |
| 13783 |
retr.h, safe-ctype.c, safe-ctype.h, spider.c, spider.h, ssl.h, |
| 13784 |
sysdep.h, test.c, test.h, url.c, url.h, utils.c, utils.h, |
| 13785 |
wget.h, xmalloc.c, xmalloc.h: Updated license exception for |
| 13786 |
OpenSSL, per the SFLC. |
| 13787 |
|
| 13788 |
2007-11-28 Micah Cowan <[email protected]> |
| 13789 |
|
| 13790 |
* Makefile.am, README, autogen.sh, configure.bat, configure.in, |
| 13791 |
m4/wget.m4, util/Makefile.am, util/dist-wget: Updated license |
| 13792 |
exception for OpenSSL, per the SFLC. |
| 13793 |
|
| 13794 |
2007-10-30 Micah Cowan <[email protected]> |
| 13795 |
|
| 13796 |
* src/main.c (main): Declare argv parameter as char **argv, rather |
| 13797 |
than char *const *argv. This fixes usage of getopt_long, |
| 13798 |
regardless of whether getopt_long has a constified argv or not. |
| 13799 |
|
| 13800 |
2007-10-23 Micah Cowan <micah@schmendrick> |
| 13801 |
|
| 13802 |
* lib/stdbool.in.h, lib/stdint.in.h: gnulib-tool --update. |
| 13803 |
Includes fix for broken stdbool.h on Tru64. |
| 13804 |
|
| 13805 |
2007-10-22 Micah Cowan <[email protected]> |
| 13806 |
|
| 13807 |
* po/*.po: Refresh from TP and update-po. |
| 13808 |
* lib/Makefile.am, m4/gnulib-cache.m4, m4/longlong.m4, |
| 13809 |
m4/ulonglong.m4, maint.mk: gnulib-tool --update. Includes fix |
| 13810 |
for maint.mk with old versions of gzip. |
| 13811 |
|
| 13812 |
2007-10-22 Gisle Vanem <[email protected]> |
| 13813 |
|
| 13814 |
* src/mswindows.c: Move INHIBIT_WRAP macro definition up with wget.h |
| 13815 |
inclusion. |
| 13816 |
|
| 13817 |
2007-10-18 Steven Schweda <[email protected]> |
| 13818 |
|
| 13819 |
* src/sysdep.h: #include <stdint.h> as well as <inttypes.h>, to work |
| 13820 |
around a glitch on Tru64 systems. |
| 13821 |
|
| 13822 |
2007-10-18 Micah Cowan <[email protected]> |
| 13823 |
|
| 13824 |
* tests/Makefile.am: Add dependency for unit_tests on libgnu.a. |
| 13825 |
|
| 13826 |
2007-10-18 Micah Cowan <[email protected]> |
| 13827 |
|
| 13828 |
* src/Makefile.am: version.c should not be distributed. Removed |
| 13829 |
config-post.h. Add version.c dependency and gnulib include path |
| 13830 |
for libunittest.a. |
| 13831 |
* src/sysdep.h: Got contents of config-post.h |
| 13832 |
* src/config-post.h: Removed. |
| 13833 |
* src/wget.h: #include "config.h". |
| 13834 |
* src/alloca.c, cmpt.c, connect.c, convert.c, cookies.c, |
| 13835 |
ftp-basic.c, ftp-ls.c, ftp-opie.c, ftp.c, gen-md5.c, gnutls.c, |
| 13836 |
hash.c, host.c, html-parse.c, html-url.c, http-ntlm.c, http.c, |
| 13837 |
init.c, log.c, main.c, mswindows.c, netrc.c, openssl.c, |
| 13838 |
progress.c, ptimer.c, recur.c, res.c, retr.c, spider.c, url.c, |
| 13839 |
utils.c, xmalloc.c: Use wget.h at very top, and instead of |
| 13840 |
config.h. |
| 13841 |
|
| 13842 |
2007-10-18 Micah Cowan <[email protected]> |
| 13843 |
|
| 13844 |
* po/POTFILES.in: Removed no-longer-existing or generated files. |
| 13845 |
* autogen.sh: Reinstated, in case we have to do something at |
| 13846 |
some point other than autoreconf. |
| 13847 |
* Makefile.am: Put autogen.sh back in EXTRA_DIST. Just in case |
| 13848 |
someone needs to rebuild configure. |
| 13849 |
* configure.ac: Removed config-post.h inclusion from bottom of |
| 13850 |
generated config.h. |
| 13851 |
|
| 13852 |
2007-10-16 Micah Cowan <[email protected]> |
| 13853 |
|
| 13854 |
* README: Draw attention to wiki:PatchGuidelines. |
| 13855 |
|
| 13856 |
2007-10-15 Micah Cowan <[email protected]> |
| 13857 |
|
| 13858 |
* src/Makefile.am: Remove intermediary hg-id file generation, make |
| 13859 |
version.c-generation more portable. |
| 13860 |
|
| 13861 |
2007-10-15 Gisle Vanem <[email protected]> |
| 13862 |
|
| 13863 |
* msdos/config.h: Added some HAVE_* for djgpp 2.04 and Watcom 1.7+. |
| 13864 |
|
| 13865 |
* msdos/Makefile.DJ: rewritten for including some files from ../lib. |
| 13866 |
|
| 13867 |
* msdos/Makefile.WC: Ditto. Handling source-files out-of current |
| 13868 |
directory makes compliation a bit more painfull. AFAICS, one |
| 13869 |
must use explicit rules. |
| 13870 |
|
| 13871 |
2007-10-14 Micah Cowan <[email protected]> |
| 13872 |
|
| 13873 |
* src/cmpt.c, cookies.c, ftp-basic.c, ftp-ls.c, ftp.c, hash.c, |
| 13874 |
host.c, html-parse.c, html-url.c, http-ntlm.c, http.c, init.c, |
| 13875 |
log.c, main.c, netrc.c, openssl.c, res.c, url.c, utils.c, |
| 13876 |
wget.h: Replace uses of ISSPACE, etc with c_isspace, etc. |
| 13877 |
* src/gnu-md5.c, gnu-md5.h: Removed, in deference to gnulib. |
| 13878 |
* src/Makefile.am: Removed gnu-md5.h from wget_SOURCES. |
| 13879 |
* src/gen-md5.c: Changed #inclusion of gnu-md5.h to md5.h (gnulib's). |
| 13880 |
* src/recur.c (download_child_p): Print error if unlink of |
| 13881 |
robots.txt fails. |
| 13882 |
* src/main.c (main): --spider or --delete-after now implies |
| 13883 |
--no-directories (thanks, Josh Williams). |
| 13884 |
|
| 13885 |
2007-10-14 Micah Cowan <[email protected]> |
| 13886 |
|
| 13887 |
* configure.ac: Let gnulib handle builtin MD5 functionality. |
| 13888 |
* NEWS: Mention gnulib. |
| 13889 |
|
| 13890 |
2007-10-14 Joshua David Williams <[email protected]> |
| 13891 |
|
| 13892 |
* src/recur.c (download_child_p): Remove robots.txt if |
| 13893 |
--delete-after or --spider is on. |
| 13894 |
|
| 13895 |
2007-10-13 Micah Cowan <[email protected]> |
| 13896 |
|
| 13897 |
* src/Makefile.am: Make version.c depend on Wget dependencies (source |
| 13898 |
files, plus such things as LIBOBJS so we get things like |
| 13899 |
http-ntlm.c). Removed getopt.[ch], as we're now using gnulib for |
| 13900 |
these. |
| 13901 |
|
| 13902 |
2007-10-13 Micah Cowan <[email protected]> |
| 13903 |
|
| 13904 |
* doc/wget.texi <Mailing Lists>: Replaced mention of no-longer |
| 13905 |
included PATCHES file with link to relevant Wgiki page. |
| 13906 |
* doc/wget.texi <Internet Relay Chat>: Added new section. |
| 13907 |
|
| 13908 |
2007-10-13 Micah Cowan <[email protected]> |
| 13909 |
|
| 13910 |
* GNUMakefile, maint.mk: Added as part of the gnulib-ization. |
| 13911 |
* Makefile.am: gnulib-ized. |
| 13912 |
* configure.ac: gnulib-ized. Removed built-in getopt checks. |
| 13913 |
|
| 13914 |
2007-10-12 Micah Cowan <[email protected]> |
| 13915 |
|
| 13916 |
* PATCHES: Removed. |
| 13917 |
* NEWS: Updated info about source repositories, removal of |
| 13918 |
PATCHES file. |
| 13919 |
|
| 13920 |
2007-10-10 Micah Cowan <[email protected]> |
| 13921 |
|
| 13922 |
* src/http-ntlm.c: Include openssl/opensslv.h explicitly, instead of |
| 13923 |
hoping it'll be included by accident in openssl/des.h. |
| 13924 |
|
| 13925 |
2007-10-10 Micah Cowan <[email protected]> |
| 13926 |
|
| 13927 |
* doc/wget.texi <Wgetrc Commands>: Fixed "doewnloads" typo. |
| 13928 |
|
| 13929 |
2007-10-09 gettextize <[email protected]> |
| 13930 |
|
| 13931 |
* m4/gettext.m4: New file, from gettext-0.16.1. |
| 13932 |
* m4/iconv.m4: New file, from gettext-0.16.1. |
| 13933 |
* m4/lib-ld.m4: Upgrade to gettext-0.16.1. |
| 13934 |
* m4/lib-link.m4: Upgrade to gettext-0.16.1. |
| 13935 |
* m4/lib-prefix.m4: Upgrade to gettext-0.16.1. |
| 13936 |
* m4/nls.m4: New file, from gettext-0.16.1. |
| 13937 |
* m4/po.m4: New file, from gettext-0.16.1. |
| 13938 |
* m4/progtest.m4: New file, from gettext-0.16.1. |
| 13939 |
* po/Makefile.in.in: Upgrade to gettext-0.16.1. |
| 13940 |
* po/Rules-quot: New file, from gettext-0.16.1. |
| 13941 |
* po/boldquot.sed: New file, from gettext-0.16.1. |
| 13942 |
* po/[email protected]: New file, from gettext-0.16.1. |
| 13943 |
* po/[email protected]: New file, from gettext-0.16.1. |
| 13944 |
* po/insert-header.sin: New file, from gettext-0.16.1. |
| 13945 |
* po/quot.sed: New file, from gettext-0.16.1. |
| 13946 |
* po/remove-potcdate.sin: New file, from gettext-0.16.1. |
| 13947 |
|
| 13948 |
2007-10-09 Micah Cowan <[email protected]> |
| 13949 |
|
| 13950 |
* src/gettext.h: Imported from /usr/share/gettext, fuller handling |
| 13951 |
of --disable-nls. |
| 13952 |
* src/wget.h: Remove logic for handling lack of NLS (now in |
| 13953 |
gettext.h). |
| 13954 |
* src/main.c: Use gettext's ENABLE_NLS rather than HAVE_NLS. |
| 13955 |
* src/Makefile.am: added @LIBINTL@ to LIBS (though it probably |
| 13956 |
belongs in LDADD, along with everything else currently assigned |
| 13957 |
to LIBS). |
| 13958 |
|
| 13959 |
2007-10-09 Micah Cowan <[email protected]> |
| 13960 |
|
| 13961 |
* configure.in: Renamed to configure.ac |
| 13962 |
* configure.ac: Renamed from configure.in. Added invocations of |
| 13963 |
AM_GNU_GETTEXT, etc. Added en@quot and en@boldquot pseudo-LINGUA |
| 13964 |
support. |
| 13965 |
* ABOUT-NLS: Added back in (required by autoreconf :\). |
| 13966 |
* Makefile.am: Added ABOUT-NLS and msdos/Makefile.WC to EXTRA_DIST. |
| 13967 |
* m4/wget.m4: Removed no-longer-used NLS stuff. |
| 13968 |
* Makefile.in.in: Restore previous policy of not updating .po's |
| 13969 |
unless explicitly asked (via update-po). |
| 13970 |
|
| 13971 |
2007-10-09 Gisle Vanem <[email protected]> |
| 13972 |
|
| 13973 |
* src/mswindows.c: 'argc' and 'argv' in 'windows_main()' are no longer |
| 13974 |
needed. Hence simply the prototype. Free 'exec_name' at exit. |
| 13975 |
|
| 13976 |
2007-10-08 Micah Cowan <[email protected]> |
| 13977 |
|
| 13978 |
* src/http.c (http_loop): Add send_head_first conditional back |
| 13979 |
around code that needs it, but not around the last-modified |
| 13980 |
header-parsing stuff this time. Removed no-longer-useful (was it |
| 13981 |
ever?) restart_loop boolean, continuing unconditionally at end |
| 13982 |
of send_head_first conditional block (if we haven't jumped out). |
| 13983 |
|
| 13984 |
2007-10-08 Micah Cowan <[email protected]> |
| 13985 |
|
| 13986 |
* doc/wget.texi: Credit to Ralf Wildenhues for automakifying patches. |
| 13987 |
|
| 13988 |
2007-10-08 Micah Cowan <[email protected]> |
| 13989 |
|
| 13990 |
* AUTHORS: Credit to Ralf Wildenhues for automakifying patches. |
| 13991 |
|
| 13992 |
2007-10-05 Ralf Wildenhues <[email protected]> |
| 13993 |
|
| 13994 |
* tests/WgetTest.pm.in: wget is built in the build tree. Use an |
| 13995 |
absolute path to the binary. |
| 13996 |
* tests/Makefile.in: Removed, replaced by Makefile.am. |
| 13997 |
* tests/Makefile.am: Converted from Makefile.in. |
| 13998 |
|
| 13999 |
2007-10-05 Ralf Wildenhues <[email protected]> |
| 14000 |
|
| 14001 |
* po/Makefile.in.in: Since `distdir' is used now, adjust |
| 14002 |
DISTFILES to the missing ChangeLog file. |
| 14003 |
Add trivial targets ps, pdf, html. |
| 14004 |
* Makefile.in: Removed, replaced by Makefile.am. |
| 14005 |
* Makefile.am: Converted from Makefile.in. |
| 14006 |
* util/Makefile.in: Removed, replaced by Makefile.am. |
| 14007 |
* util/Makefile.am: Converted from Makefile.in. |
| 14008 |
* configure.in: Adjust for automake support. |
| 14009 |
|
| 14010 |
2007-10-05 Ralf Wildenhues <[email protected]> |
| 14011 |
|
| 14012 |
* doc/Makefile.in: Removed, replaced by Makefile.am. |
| 14013 |
* doc/Makefile.am: Converted from Makefile.in. |
| 14014 |
|
| 14015 |
2007-10-05 Micah Cowan <[email protected]> |
| 14016 |
|
| 14017 |
* config.guess, config.sub, install-sh: Update from versions |
| 14018 |
found in /usr/share/automake/. |
| 14019 |
* autogen.sh: Removed, in favor of just running autoreconf. |
| 14020 |
|
| 14021 |
2007-10-04 Micah Cowan <[email protected]> |
| 14022 |
|
| 14023 |
* src/http.c (http_loop): We've got_name if content_disposition |
| 14024 |
support isn't on; make sure we continue properly in that case, |
| 14025 |
even though we're not sending HEAD. |
| 14026 |
* src/Makefile.in: Removed, replaced by Makefile.am. |
| 14027 |
* src/Makefile.am: Converted from Makefile.in. |
| 14028 |
|
| 14029 |
2007-10-03 Micah Cowan <[email protected]> |
| 14030 |
|
| 14031 |
* doc/wget.texi <Wgetrc Commands>: Cleaned up alphabetization, |
| 14032 |
more consistent use of underscores. Added a description of the |
| 14033 |
content_disposition wgetrc command. |
| 14034 |
|
| 14035 |
2007-10-03 Micah Cowan <[email protected]> |
| 14036 |
|
| 14037 |
* NEWS: Note missing functionality from GnuTLS support. Call out |
| 14038 |
attention to content_disposition's experimental status. |
| 14039 |
|
| 14040 |
2007-10-02 Stephen Gildea <[email protected]> |
| 14041 |
|
| 14042 |
* src/connect.c (connect_to_host): Warn about host lookup failures. |
| 14043 |
|
| 14044 |
2007-10-02 Micah Cowan <[email protected]> |
| 14045 |
|
| 14046 |
* src/ftp.c (getftp, ftp_loop_internal), http.c (http_loop), main |
| 14047 |
(main): Use datetime_str instead of time_str, for those who have |
| 14048 |
potentially long-running sessions. Based on suggestions by Saso |
| 14049 |
Tomat <[email protected]> and Steven M. Schweda |
| 14050 |
<[email protected]>. |
| 14051 |
* src/http.c (gethttp): Warn about host lookup failures. Adjusted |
| 14052 |
from Stephen Gildea's patch. |
| 14053 |
|
| 14054 |
2007-10-02 Gisle Vanem <[email protected]> |
| 14055 |
|
| 14056 |
* src/ftp.c: Use "_listing" for MSDOS (".listing" is illegal). |
| 14057 |
|
| 14058 |
* src/url.c: Update comment for 'filechr_not_windows'. |
| 14059 |
|
| 14060 |
* src/utils.c: Include <process.h> for 'getpid()' on Watcom. |
| 14061 |
|
| 14062 |
2007-10-02 Gisle Vanem <[email protected]> |
| 14063 |
|
| 14064 |
* msdos/config.h: Removed unused defines, added needed 'HAVE_*' defines. |
| 14065 |
|
| 14066 |
* msdos/Makefile.DJ: rewritten to be used from './src' directory. |
| 14067 |
Added '-DOPENSSL_NO_KRB5' for OpenSSL build. Target is |
| 14068 |
now wget.exe. |
| 14069 |
|
| 14070 |
* msdos/Makefile.WC: Added for building with OpenWatcom targeting |
| 14071 |
32-bit DOS (DOS32A extender). |
| 14072 |
|
| 14073 |
2007-10-01 Micah Cowan <[email protected]> |
| 14074 |
|
| 14075 |
* doc/wget.texi: Updated information in Mailing Lists, Reporting |
| 14076 |
Bugs. Added Web Site section, and add information about Mac OS |
| 14077 |
X, MS-DOS, and VMS in Portability. |
| 14078 |
|
| 14079 |
2007-09-27 Micah Cowan <[email protected]> |
| 14080 |
|
| 14081 |
* doc/wget.texi: Removed "for more details" from parenthesese |
| 14082 |
enclosing @pxref{}s, so that texi2pod.pl knows to remove the |
| 14083 |
whole reference. Made some gramattical improvements, and |
| 14084 |
strengthened the recommendation to use the info manual instead. |
| 14085 |
* doc/texi2pod.pl: Brought in some updates from the GCC version. Not |
| 14086 |
an entire update, since a couple "fixes" there breaks stuff |
| 14087 |
here. |
| 14088 |
|
| 14089 |
2007-09-25 Micah Cowan <[email protected]> |
| 14090 |
|
| 14091 |
* tests/Makefile.in: Use EXEEXT instead of exeext. |
| 14092 |
|
| 14093 |
2007-09-25 Micah Cowan <[email protected]> |
| 14094 |
|
| 14095 |
* src/Makefile.in: Use EXEEXT instead of exeext. |
| 14096 |
|
| 14097 |
2007-09-25 Micah Cowan <[email protected]> |
| 14098 |
|
| 14099 |
* configure.in: Remove unnecessary heuristic to generate exeext |
| 14100 |
variable, since AC_PROG_CC and others automatically set EXEEXT. |
| 14101 |
Pointed out by Steve Kenton <[email protected]>. |
| 14102 |
|
| 14103 |
2007-09-24 Jochen Roderburg <[email protected]> |
| 14104 |
|
| 14105 |
* src/http.c (http_zero): Remove no-longer-used local_size variable. |
| 14106 |
Fixes bug #21057. |
| 14107 |
|
| 14108 |
2007-09-24 Gisle Vanem <[email protected]> |
| 14109 |
|
| 14110 |
* src/connect.c, init.c, main.c, openssl.c, options.h, sysdep.h, |
| 14111 |
url.c, utils.c: Added support for building on MS-DOS. |
| 14112 |
|
| 14113 |
2007-09-24 Gisle Vanem <[email protected]> |
| 14114 |
|
| 14115 |
* msdos/Makefile.DJ, config.h: Added to support building on MS-DOS via |
| 14116 |
DJGPP. |
| 14117 |
|
| 14118 |
2007-09-12 Micah Cowan <[email protected]> |
| 14119 |
|
| 14120 |
* src/http.c (http_loop): Remove send_head_first from condition for |
| 14121 |
parsing timestamp. |
| 14122 |
|
| 14123 |
2007-09-12 Micah Cowan <[email protected]> |
| 14124 |
|
| 14125 |
* doc/wget.texi: Expanded the description of -O. Clarified the |
| 14126 |
detection of elements as "patterns" versus "suffixes" in -A, |
| 14127 |
-R. Describe -p in relation to -nc. |
| 14128 |
|
| 14129 |
2007-09-12 Micah Cowan <[email protected]> |
| 14130 |
|
| 14131 |
* AUTHORS: Added... me... |
| 14132 |
* TODO: file removed, bugtracker is authoritative source for |
| 14133 |
planned changes. |
| 14134 |
|
| 14135 |
2007-08-29 Micah Cowan <[email protected]> |
| 14136 |
|
| 14137 |
* src/openssl.c (ssl_init): Re un-const-ified the meth local |
| 14138 |
variable, to match current versions of openssl. |
| 14139 |
* src/spider.c: Removed visited_url function, as it may be very |
| 14140 |
inefficient. |
| 14141 |
(print_broken_links): Removed traversal of referrers, until such |
| 14142 |
time as a more efficient implementation can be written. |
| 14143 |
* src/spider.h: Replaced declaration of visited_url with an |
| 14144 |
empty-bodied, function-like macro. |
| 14145 |
|
| 14146 |
2007-08-27 Micah Cowan <[email protected]> |
| 14147 |
|
| 14148 |
* src/wget.h: Added macro replacement for ngettext, for environs |
| 14149 |
that lack NLS. |
| 14150 |
|
| 14151 |
2007-08-27 Gisle Vanem <[email protected]> |
| 14152 |
|
| 14153 |
* src/mswindows.c (run_with_timeout): Ensure that the correct |
| 14154 |
conversion specification is used for the return result of |
| 14155 |
the GetLastError function. |
| 14156 |
* src/getopt.c: Fix missing (but, accidentally, legal) comment |
| 14157 |
delimiter after licensing text. |
| 14158 |
* src/recur.c (retrieve_tree): Inserted missing cast for strip_auth. |
| 14159 |
Includes adjustment by Ralf Wildenhues. |
| 14160 |
* src/openssl.c (ssl_init): const-ified the meth local variable. |
| 14161 |
* src/main.c: Include all the static function definitions in the |
| 14162 |
"#ifndef TESTING" clause, leaving just the definitions for |
| 14163 |
exec_name (not set), and opt. |
| 14164 |
* src/utils.c (run_with_timeout): Now returns bool, to align with |
| 14165 |
declaration in utils.h. |
| 14166 |
|
| 14167 |
2007-08-26 Micah Cowan <[email protected]> |
| 14168 |
|
| 14169 |
* src/spider.c (print_broken_links): Fixed incorrect plurals msgid |
| 14170 |
usage, switched to use ngettext function. |
| 14171 |
|
| 14172 |
2007-08-26 Micah Cowan <[email protected]> |
| 14173 |
|
| 14174 |
* po/POTFILES.in: Added spider.c. |
| 14175 |
|
| 14176 |
2007-08-24 Micah Cowan <[email protected]> |
| 14177 |
|
| 14178 |
* src/http.c (http_loop): Introduced time_came_from_head boolean |
| 14179 |
flag, to help avoid parsing the same Last-Modified header twice. |
| 14180 |
Replaced spidering returns of RETRUNNEEDED for some situations, |
| 14181 |
to RETROK, as otherwise it will be interpreted as an error. |
| 14182 |
RETRUNNEEDED appears never to be referenced outside of |
| 14183 |
http.c (and wget.h), and, when returned by gethttp, is |
| 14184 |
translated by http_loop to RETROK. |
| 14185 |
* src/url.c (are_urls_equal): Don't call getchar_from_escaped_string |
| 14186 |
if u2 is shorter than u1. |
| 14187 |
(getchar_from_escaped_string): Don't decode reserved characters. |
| 14188 |
Handle illegally appearing '%'s as literal '%'s. Ensure hex |
| 14189 |
digits before attempting to decode. |
| 14190 |
(test_are_urls_equal): Added tests to handle u2 shorter than u1, |
| 14191 |
and %2f not treated the same as /. |
| 14192 |
* src/spider.c (in_url_list_p): Don't call are_urls_equal if one of |
| 14193 |
them is NULL. |
| 14194 |
|
| 14195 |
2007-08-24 Micah Cowan <[email protected]> |
| 14196 |
|
| 14197 |
* po/no.po: removed; replaced by nb.po (per the translation |
| 14198 |
project coordinator, Benno Schulenberg). |
| 14199 |
|
| 14200 |
2007-08-23 Joshua David Williams <[email protected]> |
| 14201 |
|
| 14202 |
* src/spider.c (in_url_list_p): Removed the bool verbose argument |
| 14203 |
|
| 14204 |
2007-08-22 Micah Cowan <[email protected]> |
| 14205 |
|
| 14206 |
* Makefile.in: Exclude .svn directories and below from |
| 14207 |
distribution. |
| 14208 |
|
| 14209 |
2007-08-22 Mauro Tortonesi <[email protected]> |
| 14210 |
|
| 14211 |
* src/http.c (http_loop): Fall back to GET if HEAD fails with a 500 or 501 |
| 14212 |
error code. |
| 14213 |
|
| 14214 |
2007-08-21 Mauro Tortonesi <[email protected]> |
| 14215 |
|
| 14216 |
* tests/WgetTest.pm.in: Added support for timestamping of pre-existing |
| 14217 |
files. |
| 14218 |
|
| 14219 |
* tests/Test-N-current.px: Fixed broken test logic. |
| 14220 |
|
| 14221 |
* tests/Makefile.in: Updated list of automatically run tests. |
| 14222 |
|
| 14223 |
* tests/Test-HTTP-Content-Disposition.px: Added -e contentdisposition=on |
| 14224 |
option, since now HTTP Content-Disposition header support is turned |
| 14225 |
off by default. |
| 14226 |
|
| 14227 |
* tests/Test-HTTP-Content-Disposition-1.px: Ditto. |
| 14228 |
|
| 14229 |
2007-08-21 Mauro Tortonesi <[email protected]> |
| 14230 |
|
| 14231 |
* src/http.c (http_loop): Send preliminary HEAD request if -N is given and |
| 14232 |
the destination file exists already. |
| 14233 |
|
| 14234 |
2007-08-10 Ralf Wildenhues <[email protected]> |
| 14235 |
|
| 14236 |
* src/url.c (append_uri_pathel): Do not assume dest string to be |
| 14237 |
zero-terminated. |
| 14238 |
(test_append_uri_pathel): Terminate string to fix test failure. |
| 14239 |
|
| 14240 |
2007-08-10 Mauro Tortonesi <[email protected]> |
| 14241 |
|
| 14242 |
* tests/Test--spider--no-content-disposition-trivial.px: Added new tests for |
| 14243 |
validation of HTTP Content-Disposition header support logic. In |
| 14244 |
particular, these tests check wget's behavior for every combination of |
| 14245 |
--spider [-r] and -e contentdisposition=on/off options. |
| 14246 |
|
| 14247 |
* tests/Test--spider-r-HTTP-Content-Disposition.px: Ditto. |
| 14248 |
|
| 14249 |
* tests/Test--spider-HTTP-Content-Disposition.px: Ditto. |
| 14250 |
|
| 14251 |
* tests/Test--spider--no-content-disposition.px: Ditto. |
| 14252 |
|
| 14253 |
* tests/Test--spider-r--no-content-disposition-trivial.px: Ditto. |
| 14254 |
|
| 14255 |
* tests/Test--spider-r--no-content-disposition.px: Ditto. |
| 14256 |
|
| 14257 |
2007-08-10 Mauro Tortonesi <[email protected]> |
| 14258 |
|
| 14259 |
* src/http.c (http_loop): Fixed HTTP HEAD requests logic when --spider is |
| 14260 |
given. |
| 14261 |
|
| 14262 |
2007-08-09 Ralf Wildenhues <[email protected]> |
| 14263 |
|
| 14264 |
* src/url.c (url_string): Use comparison, not assignment, in |
| 14265 |
check for auth_mode == URL_AUTH_HIDE_PASSWD. |
| 14266 |
|
| 14267 |
2007-08-09 Ralf Wildenhues <[email protected]> |
| 14268 |
|
| 14269 |
* m4/wget.m4 (WGET_PROCESS_PO, AM_PATH_PROG_WITH_TEST): Add |
| 14270 |
missing M4 quotation. Delete serial number. |
| 14271 |
|
| 14272 |
2007-08-09 Micah Cowan <[email protected]> |
| 14273 |
|
| 14274 |
* src/http.c (http_loop): If we got a HEAD and then a GET, and the |
| 14275 |
GET had a timestamp, use that one, not any we may have gotten |
| 14276 |
from the HEAD. |
| 14277 |
|
| 14278 |
2007-08-09 Micah Cowan <[email protected]> |
| 14279 |
|
| 14280 |
* NEWS: Timestamping from most recent response. |
| 14281 |
|
| 14282 |
2007-08-08 Micah Cowan <[email protected]> |
| 14283 |
|
| 14284 |
* src/init.c (defaults): Content disposition will not be default, |
| 14285 |
since it currently results in extra round-trips. |
| 14286 |
|
| 14287 |
2007-08-08 Micah Cowan <[email protected]> |
| 14288 |
|
| 14289 |
* NEWS: Call attention to the fact that Content-Disposition is |
| 14290 |
not enabled by default. |
| 14291 |
|
| 14292 |
2007-08-07 Micah Cowan <[email protected]> |
| 14293 |
|
| 14294 |
* configure.in: Fix --with-libssl-prefix failure by replacing |
| 14295 |
usage of sh "if" statement with "AS_IF" macros, to force |
| 14296 |
AC_REQUIRE'd macros to be expanded before the conditional |
| 14297 |
statement body. |
| 14298 |
* NEWS: Note that configure.in now requires autoconf >= 2.61, |
| 14299 |
to support AS_IF and its expansion of AC_REQUIREs. |
| 14300 |
|
| 14301 |
2007-07-31 Micah Cowan <[email protected]> |
| 14302 |
|
| 14303 |
* src/http.c (gethttp): Set contlen = -1 when we encounter a |
| 14304 |
negative-valued Content-Length header, so we don't consider it |
| 14305 |
an internal error later on and call abort(). |
| 14306 |
|
| 14307 |
2007-07-29 Micah Cowan <[email protected]> |
| 14308 |
|
| 14309 |
* src/url.h, url.c (url_string): Replaced bool arg of the url_string |
| 14310 |
function with enum url_auth_mode, with added option to |
| 14311 |
completely remove user/pass auth information. |
| 14312 |
* src/http.c, ftp.c, url.c, recur.c: Adapted call to url_string |
| 14313 |
function to fit new usage. |
| 14314 |
* src/recur.c (retrieve_tree): Remove auth info from Referer header. |
| 14315 |
|
| 14316 |
2007-07-29 Micah Cowan <[email protected]> |
| 14317 |
|
| 14318 |
* NEWS: No more auth before challenge. No more auth info in |
| 14319 |
Referer. New --max-redirect option. |
| 14320 |
|
| 14321 |
2007-07-28 Micah Cowan <[email protected]> |
| 14322 |
|
| 14323 |
* src/options.h, init.c, retr.c, main.c: renamed opt maxredirect |
| 14324 |
field to max_redirect, for improved consistency. |
| 14325 |
* src/init.c: changed max_redirect parser from cmd_number_inf to |
| 14326 |
cmd_number, as infinite redirects may not be appropriate. |
| 14327 |
Alternatively, if cmd_number_inf should be used, then |
| 14328 |
opt.max_redirect's value should be checked a bit differently in |
| 14329 |
retr.c, to allow for the "infinite" meaning of zero. |
| 14330 |
|
| 14331 |
2007-07-28 Micah Cowan <[email protected]> |
| 14332 |
|
| 14333 |
* doc/wget.texi <HTTP Options>: Added --max-redirect option. |
| 14334 |
|
| 14335 |
2007-07-25 Micah Cowan <[email protected]> |
| 14336 |
|
| 14337 |
* tests/HTTPServer.pm (run, send_response): Farmed out some logic from |
| 14338 |
the run method into a separate one named send_response, which |
| 14339 |
was then modified to handle simple authentication testing. |
| 14340 |
(handle_auth): Added to handle simple authentication testing. |
| 14341 |
(verify_auth_basic): Checks to make sure Basic credentials are |
| 14342 |
valid. |
| 14343 |
(verify_auth_digest): Stub added; always fails test. |
| 14344 |
* tests/Makefile.in: Added Test-auth-basic.px to list of automatically |
| 14345 |
run tests. |
| 14346 |
* tests/Test-auth-basic: Simple basic authentication test; mainly just |
| 14347 |
lets the server do its testing. Its current purpose is just to |
| 14348 |
ensure that correct basic creds are sent, but never until a |
| 14349 |
challenge has been sent. |
| 14350 |
|
| 14351 |
2007-07-25 Micah Cowan <[email protected]> |
| 14352 |
|
| 14353 |
* src/http.c (create_authorization_line) |
| 14354 |
(basic_authentication_encode, known_authentication_scheme_p) |
| 14355 |
(load_cookies): Moved declarations up. |
| 14356 |
(basic_authed_hosts): Added. Tracks what hosts have issued Basic |
| 14357 |
challenge and been given the global username, password. |
| 14358 |
(maybe_send_basic_creds): Added. Sends Basic creds for hosts that |
| 14359 |
have issued Basic challenges. |
| 14360 |
(register_basic_auth_host): Added. Instantiates |
| 14361 |
basic_authed_hosts if necessary, then registers the host that |
| 14362 |
has issued a challenge. |
| 14363 |
(gethttp) <auth>: Only send authentication credentials after |
| 14364 |
we've received a challenge from that host. This is a stop-gap |
| 14365 |
fix until a proper fix can be implemented; still isn't quite |
| 14366 |
right, as we should only be sending credentials automatically |
| 14367 |
for authenticated paths and below, and not for the entire host. |
| 14368 |
|
| 14369 |
2007-07-16 Joshua David Williams <[email protected]> |
| 14370 |
|
| 14371 |
* src/test.h: tests made more verbose; now displays the name |
| 14372 |
of each test run. |
| 14373 |
|
| 14374 |
2007-07-16 Joshua David Williams <[email protected]> |
| 14375 |
|
| 14376 |
* src/options.h: added maxredirect to options struct |
| 14377 |
* src/init.c: added maxredirect to list of variables |
| 14378 |
* src/retr.c (retrieve_url): replaced MAX_REDIRECTIONS with opt.maxredirect |
| 14379 |
* src/main.c: added option --max-redirect |
| 14380 |
|
| 14381 |
2007-07-10 Mauro Tortonesi <[email protected]> |
| 14382 |
|
| 14383 |
* tests/Test--no-content-disposition.px: Added new tests for validation of |
| 14384 |
HTTP Content-Disposition header support logic. In particular, these |
| 14385 |
tests check wget's behavior for every combination of -N/-O and -e |
| 14386 |
contentdisposition=on/off options. |
| 14387 |
|
| 14388 |
* tests/Test--no-content-disposition-trivial.px: Ditto. |
| 14389 |
|
| 14390 |
* tests/Test-N-HTTP-Content-Disposition.px: Ditto. |
| 14391 |
|
| 14392 |
* tests/Test-N--no-content-disposition.px: Ditto. |
| 14393 |
|
| 14394 |
* tests/Test-N--no-content-disposition-trivial.px: Ditto. |
| 14395 |
|
| 14396 |
* tests/Test-O-HTTP-Content-Disposition.px: Ditto. |
| 14397 |
|
| 14398 |
* tests/Test-O--no-content-disposition.px: Ditto. |
| 14399 |
|
| 14400 |
* tests/Test-O--no-content-disposition-trivial.px: Ditto. |
| 14401 |
|
| 14402 |
2007-07-10 Mauro Tortonesi <[email protected]> |
| 14403 |
|
| 14404 |
* src/http.c (http_loop): Fixed the HTTP requests logic. Now it skips the |
| 14405 |
preliminary HEAD request if either -O or --no-content-disposition are |
| 14406 |
given, and neither --spider and -N are given. |
| 14407 |
|
| 14408 |
2007-07-09 Micah Cowan <[email protected]> |
| 14409 |
|
| 14410 |
* README, util/wget.spec: Removed references to wget.sunsite.dk. |
| 14411 |
|
| 14412 |
2007-07-05 Micah Cowan <[email protected]> |
| 14413 |
|
| 14414 |
* tests/Makefile.in: |
| 14415 |
Updated GPL reference to version 3 or later, removed FSF |
| 14416 |
address. |
| 14417 |
|
| 14418 |
2007-07-05 Micah Cowan <[email protected]> |
| 14419 |
|
| 14420 |
* src/cmpt.c, connect.c, connect.h, convert.c, convert.h: |
| 14421 |
* src/cookies.c, cookies.h, ftp-basic.c, ftp.c, ftp.h, ftp-ls.c: |
| 14422 |
* src/ftp-opie.c, gen-md5.c, gen-md5.h, getopt.c, getopt.h, gnu-md5.c: |
| 14423 |
* src/gnu-md5.h, gnutls.c, hash.c, hash.h, host.c, host.h: |
| 14424 |
* src/html-parse.c, html-parse.h, html-url.c, http.c, http.h: |
| 14425 |
* src/http-ntlm.c, http-ntlm.h, init.c, init.h, log.c, log.h, main.c: |
| 14426 |
* src/Makefile.in, mswindows.c, mswindows.h, netrc.c, netrc.h: |
| 14427 |
* src/openssl.c, options.h, progress.c, progress.h, ptimer.c: |
| 14428 |
* src/ptimer.h, recur.c, recur.h, res.c, res.h, retr.c, retr.h: |
| 14429 |
* src/safe-ctype.c, safe-ctype.h, spider.c, spider.h, ssl.h, sysdep.h: |
| 14430 |
* src/test.c, test.h, url.c, url.h, utils.c, utils.h, wget.h: |
| 14431 |
* src/xmalloc.c, xmalloc.h: |
| 14432 |
Updated GPL reference to version 3 or later, removed FSF |
| 14433 |
address. |
| 14434 |
|
| 14435 |
2007-07-05 Micah Cowan <[email protected]> |
| 14436 |
|
| 14437 |
* doc/fdl.texi: |
| 14438 |
Changed to match the version in gnulib. |
| 14439 |
|
| 14440 |
* doc/Makefile.in: |
| 14441 |
* doc/texi2pod.pl: |
| 14442 |
* doc/texinfo.tex: |
| 14443 |
Updated GPL reference to version 3 or later, removed FSF |
| 14444 |
address. |
| 14445 |
|
| 14446 |
* doc/wget.texi: |
| 14447 |
Slightly reworded the FDL license invocation. Replaced the |
| 14448 |
maintainer reference. Removed the GPL text from the manual. |
| 14449 |
|
| 14450 |
* doc/gpl.texi: |
| 14451 |
Removed due to discontinuation of reference in Wget manual. |
| 14452 |
|
| 14453 |
2007-07-05 Micah Cowan <[email protected]> |
| 14454 |
|
| 14455 |
* AUTHORS: |
| 14456 |
Draw attention to previous maintainers. |
| 14457 |
|
| 14458 |
* autogen.sh, config.guess, config.sub, configure.bat: |
| 14459 |
* configure.in, m4/wget.m4, Makefile.in, util/dist-wget: |
| 14460 |
* util/Makefile.in, util/rmold.pl: |
| 14461 |
Updated GPL reference to version 3 or later, removed FSF |
| 14462 |
address. |
| 14463 |
|
| 14464 |
* README: |
| 14465 |
Updated reference to maintainer, and updated GPL reference to |
| 14466 |
version 3 or later. |
| 14467 |
|
| 14468 |
* COPYING: |
| 14469 |
Replaced with verson 3. |
| 14470 |
|
| 14471 |
2007-07-04 Mauro Tortonesi <[email protected]> |
| 14472 |
|
| 14473 |
* src/http.c (http_loop): Skip HEAD request and start immediately with GET |
| 14474 |
if -O is given. |
| 14475 |
|
| 14476 |
2007-06-14 Mauro Tortonesi <[email protected]> |
| 14477 |
|
| 14478 |
* tests/FTPServer.pm: Added FTP testing support. |
| 14479 |
|
| 14480 |
* tests/FTPTest.pm: Ditto. |
| 14481 |
|
| 14482 |
* tests/Test-ftp.px: Ditto. |
| 14483 |
|
| 14484 |
2007-02-02 Hrvoje Niksic <[email protected]> |
| 14485 |
|
| 14486 |
* src/netrc.c: Don't make netrc_list static, as it prevents |
| 14487 |
compilation with DEBUG_MALLOC. |
| 14488 |
|
| 14489 |
* src/utils.c (aprintf): Don't use vasprintf when DEBUG_MALLOC is |
| 14490 |
requested because, in that case, we want the calls to malloc to be |
| 14491 |
coming from us. |
| 14492 |
|
| 14493 |
2007-02-02 Hrvoje Niksic <[email protected]> |
| 14494 |
|
| 14495 |
* src/http.c (print_server_response): Escape non-printable characters |
| 14496 |
in server respone. |
| 14497 |
|
| 14498 |
2007-01-23 Hrvoje Niksic <[email protected]> |
| 14499 |
|
| 14500 |
* src/progress.c (create_image): Check for ETA overflow. |
| 14501 |
(print_row_stats): Ditto. |
| 14502 |
|
| 14503 |
2007-01-23 Hrvoje Niksic <[email protected]> |
| 14504 |
|
| 14505 |
* src/cookies.c (parse_set_cookie): Would erroneously discard cookies |
| 14506 |
with unparsable expiry time. |
| 14507 |
|
| 14508 |
2007-01-09 Steven M. Schweda <[email protected]> |
| 14509 |
|
| 14510 |
* src/ftp-basic.c (ftp_syst): Fixed segfault if response text is missing. |
| 14511 |
|
| 14512 |
2007-01-09 Mauro Tortonesi <[email protected]> |
| 14513 |
|
| 14514 |
* src/init.c (cmd_spec_prefer_family): Small fix to get rid of a gcc |
| 14515 |
warning about strict-aliasing violation. |
| 14516 |
|
| 14517 |
2006-12-29 Gisle Vanem <[email protected]> |
| 14518 |
|
| 14519 |
* src/mswindows.c: Avoid a warning if 'ws_hangup()' is unused. |
| 14520 |
|
| 14521 |
2006-12-27 Mauro Tortonesi <[email protected]> |
| 14522 |
|
| 14523 |
* src/http.c (parse_content_disposition): Consider directory prefix, if |
| 14524 |
specified. |
| 14525 |
|
| 14526 |
2006-12-22 Mauro Tortonesi <[email protected]> |
| 14527 |
|
| 14528 |
* tests/HTTPTest.pm: Don't ignore initial '/' character in requested URLs. |
| 14529 |
|
| 14530 |
2006-11-21 Hrvoje Niksic <[email protected]> |
| 14531 |
|
| 14532 |
* src/retr.c (retrieve_from_file): Ditto. |
| 14533 |
(url_uses_proxy): New function. |
| 14534 |
|
| 14535 |
* src/main.c (main): Don't check for opt.use_proxy when deciding |
| 14536 |
whether to call retrieve_url or retrieve_tree; check whether the |
| 14537 |
proxy would be used for *this* URL. |
| 14538 |
|
| 14539 |
2006-11-10 Mauro Tortonesi <[email protected]> |
| 14540 |
|
| 14541 |
* tests/Test-np.px: Added test for -np. |
| 14542 |
|
| 14543 |
* tests/HTTPTest.pm: Ignore initial '/' character in requested URLs. |
| 14544 |
|
| 14545 |
2006-10-17 Mike Grant <[email protected]> |
| 14546 |
|
| 14547 |
* src/ftp.c (ftp_loop_internal): Would incorrectly skip changing |
| 14548 |
working directory when retrying after a failed FTP attempt. |
| 14549 |
Originally reported by Nate Eldredge. |
| 14550 |
|
| 14551 |
2006-10-12 Mauro Tortonesi <[email protected]> |
| 14552 |
|
| 14553 |
* tests/Test1.px: Renamed to Test-noop.px. |
| 14554 |
|
| 14555 |
* tests/Test-noop.px: Ditto. |
| 14556 |
|
| 14557 |
* tests/Test2.px: Renamed to Test-N.px. |
| 14558 |
|
| 14559 |
* tests/Test-N.px: Ditto. |
| 14560 |
|
| 14561 |
* tests/Test3.px: Renamed to Test-nonexisting-quiet.px. |
| 14562 |
|
| 14563 |
* tests/Test-nonexisting-quiet.px: Ditto. |
| 14564 |
|
| 14565 |
* tests/Test4.px: Renamed to Test-O-nonexisting.px. |
| 14566 |
|
| 14567 |
* tests/Test-O-nonexisting.px: Ditto. |
| 14568 |
|
| 14569 |
* tests/Test5.px: Renamed to Test-HTTP-Content-Disposition.px. |
| 14570 |
|
| 14571 |
* tests/Test-HTTP-Content-Disposition.px: Ditto. |
| 14572 |
|
| 14573 |
* tests/Test6.px: Renamed to Test-HTTP-Content-Disposition-1.px. |
| 14574 |
|
| 14575 |
* tests/Test-HTTP-Content-Disposition-1.px: Ditto. |
| 14576 |
|
| 14577 |
* tests/Test7.px: Renamed to Test-HTTP-Content-Disposition-2.px. |
| 14578 |
|
| 14579 |
* tests/Test-HTTP-Content-Disposition-2.px: Ditto. |
| 14580 |
|
| 14581 |
* tests/Test8.px: Replaced by Test--spider-r.px. |
| 14582 |
|
| 14583 |
* tests/Test9.px: Renamed to Test-Restrict-Lowercase.px. |
| 14584 |
|
| 14585 |
* tests/Test-Restrict-Lowercase.px: Ditto. |
| 14586 |
|
| 14587 |
* tests/Test10.px: Renamed to Test-Restrict-Uppercase.px. |
| 14588 |
|
| 14589 |
* tests/Test-Restrict-Uppercase.px: Ditto. |
| 14590 |
|
| 14591 |
* tests/Test--spider.px: Added test for spider mode. |
| 14592 |
|
| 14593 |
* tests/Test--spider-fail.px: Added failing test for spider mode. |
| 14594 |
|
| 14595 |
* tests/Test--spider-r.px: Added test for recursive spider mode. |
| 14596 |
|
| 14597 |
* tests/Test-c.px: Added test for --continue mode. |
| 14598 |
|
| 14599 |
* tests/Test-c-full.px: Added test for --continue mode. |
| 14600 |
|
| 14601 |
* tests/Test-c-partial.px: Added test for --continue mode. |
| 14602 |
|
| 14603 |
* tests/Test-O.px: Added test for -O. |
| 14604 |
|
| 14605 |
* tests/Test-N-current.px: Added test for -N. |
| 14606 |
|
| 14607 |
* tests/Test-N-old.px: Added test for -N. |
| 14608 |
|
| 14609 |
* tests/Test-E-k.px: Added test for -E -k. |
| 14610 |
|
| 14611 |
* tests/Test-E-k-K.px: Added test for -E -k -K. |
| 14612 |
|
| 14613 |
2006-10-12 Mauro Tortonesi <[email protected]> |
| 14614 |
|
| 14615 |
* src/convert.c (downloaded_file): Fixed bug which used to break -E -k -K |
| 14616 |
mode. |
| 14617 |
|
| 14618 |
2006-08-28 Noèl Köthe <[email protected]> |
| 14619 |
|
| 14620 |
* Makefile.in: Fixed a DESTDIR-related bug. |
| 14621 |
|
| 14622 |
2006-08-28 Mauro Tortonesi <[email protected]> |
| 14623 |
|
| 14624 |
* src/http.c: #include'd spider.h to get rid of compiler warnings. |
| 14625 |
|
| 14626 |
* src/main.c: Ditto. |
| 14627 |
|
| 14628 |
* src/recur.c: Ditto. |
| 14629 |
|
| 14630 |
2006-08-24 Mauro Tortonesi <[email protected]> |
| 14631 |
|
| 14632 |
* src/Makefile.in: Added spider.c to the list of files to compile and |
| 14633 |
spider.h to the list of header files. Updated copyright information. |
| 14634 |
|
| 14635 |
* src/http.c: Major changes to recursive spider mode. Now for every |
| 14636 |
resource we are supposed to check, we send a HEAD request to find out |
| 14637 |
if it exists. If the resource is a HTML file, we retrieve it and parse |
| 14638 |
it to discover links to other resources. |
| 14639 |
|
| 14640 |
* src/recur.c: Ditto. |
| 14641 |
|
| 14642 |
* src/res.c (res_retrieve_file): Disable opt.timestamping and opt.spider |
| 14643 |
when retrieving robots.txt. Updated copyright information. |
| 14644 |
|
| 14645 |
* src/convert.c: Moved code tracking broken links to spider.c. |
| 14646 |
|
| 14647 |
* src/convert.h: Ditto. |
| 14648 |
|
| 14649 |
* src/spider.c: Created new file to keep track of visited URLs in spider |
| 14650 |
mode. |
| 14651 |
|
| 14652 |
* src/spider.h: Ditto. |
| 14653 |
|
| 14654 |
2006-08-21 Mauro Tortonesi <[email protected]> |
| 14655 |
|
| 14656 |
* src/http.c: Fixed timestamping-related bug. |
| 14657 |
|
| 14658 |
2006-08-17 Mauro Tortonesi <[email protected]> |
| 14659 |
|
| 14660 |
* tests/HTTPServer.pm: Added support for Range header. |
| 14661 |
|
| 14662 |
2006-08-16 Mauro Tortonesi <[email protected]> |
| 14663 |
|
| 14664 |
* src/http.c: Fixed bug which broke --continue feature. Now if -c is |
| 14665 |
given, http_loop sends a HEAD request to find out the destination |
| 14666 |
filename before resuming download. |
| 14667 |
|
| 14668 |
2006-08-08 Hrvoje Niksic <[email protected]> |
| 14669 |
|
| 14670 |
* src/utils.c (datetime_str): Avoid code repetition with time_str. |
| 14671 |
|
| 14672 |
2006-07-21 Hrvoje Niksic <[email protected]> |
| 14673 |
|
| 14674 |
* src/init.c (commands): Correctly place "contentdisposition". |
| 14675 |
|
| 14676 |
2006-07-17 Daniel Richard G. <[email protected]> |
| 14677 |
|
| 14678 |
* Makefile.in: Added DESTDIR='$(DESTDIR)' to MAKEDEFS. |
| 14679 |
|
| 14680 |
2006-07-14 Mauro Tortonesi <[email protected]> |
| 14681 |
|
| 14682 |
* tests/Test4.px: Fixed wrong expected behaviour. |
| 14683 |
|
| 14684 |
2006-07-14 Mauro Tortonesi <[email protected]> |
| 14685 |
|
| 14686 |
* src/sysdep.h: If intptr_t isn't defined, simply typedef it to long. |
| 14687 |
|
| 14688 |
* src/http.c: Added explicit cast to int in logprintf call to remove |
| 14689 |
compiler warnings on 64-bit platforms. |
| 14690 |
|
| 14691 |
* src/connect.c: Added a few casts to intptr_t to remove compiler warnings |
| 14692 |
on 64-bit platforms. |
| 14693 |
|
| 14694 |
* src/main.c: Disable -r, -p and -N when -O is used. Disable -k when -O is |
| 14695 |
used and multiple URLs are given. Update maintainer information. |
| 14696 |
|
| 14697 |
* src/all: Update copyright information. |
| 14698 |
|
| 14699 |
2006-07-14 Mauro Tortonesi <[email protected]> |
| 14700 |
|
| 14701 |
* configure.in: Check for intptr_t. |
| 14702 |
|
| 14703 |
2006-07-10 Mauro Tortonesi <[email protected]> |
| 14704 |
|
| 14705 |
* doc/wget.texi: Fixed rendering of --no-proxy description in the man |
| 14706 |
page. Added information about current maintainer. |
| 14707 |
|
| 14708 |
2006-07-10 KJKHyperion <[email protected]> |
| 14709 |
|
| 14710 |
* src/url.c (filechr_table): Mark DEL (0x7f) as a control character |
| 14711 |
and | as a character Windows can't handle. |
| 14712 |
|
| 14713 |
2006-06-28 Mauro Tortonesi <[email protected]> |
| 14714 |
|
| 14715 |
* src/res.c: Implemented is_robots_txt_url function for detection of |
| 14716 |
robots.txt URLs and related test routine. |
| 14717 |
|
| 14718 |
* src/res.h: Ditto. |
| 14719 |
|
| 14720 |
* src/url.c: Implemented are_urls_equal function for URL comparison and |
| 14721 |
related testing routine. |
| 14722 |
|
| 14723 |
* src/url.h: Ditto. |
| 14724 |
|
| 14725 |
* src/convert.c: Fixes for recursive spider mode: don't consider |
| 14726 |
non-existing robots.txt as a broken link, and use are_urls_equal |
| 14727 |
instead of strcasecmp for referrer URLs comparison. |
| 14728 |
|
| 14729 |
* src/test.c: Call tests routines for are_urls_equal and |
| 14730 |
is_robots_txt_url. |
| 14731 |
|
| 14732 |
2006-06-28 Mauro Tortonesi <[email protected]> |
| 14733 |
|
| 14734 |
* doc/wget.texi: Removed invariant status to the GPL and GFDL sections. |
| 14735 |
Changed UPDATED to Jun 2006. Updated copyright notice to include 2006. |
| 14736 |
|
| 14737 |
2006-06-27 Hrvoje Niksic <[email protected]> |
| 14738 |
|
| 14739 |
* configure.in: We're no longer using strtoimax. |
| 14740 |
|
| 14741 |
2006-06-26 Hrvoje Niksic <[email protected]> |
| 14742 |
|
| 14743 |
* src/wget.h (wgint): Typedef to any 64-bit (or larger) type we can |
| 14744 |
find, not necessarily off_t or long. |
| 14745 |
|
| 14746 |
2006-06-26 Hrvoje Niksic <[email protected]> |
| 14747 |
|
| 14748 |
* src/cmpt.c (strtoll): Check for overflow and underflow without |
| 14749 |
relying on (technically) undefined behavior. Don't assume that |
| 14750 |
strtoll_type is 64 bits wide. |
| 14751 |
|
| 14752 |
2006-06-26 Hrvoje Niksic <[email protected]> |
| 14753 |
|
| 14754 |
* doc/wget.texi (Recursive Accept/Reject Options): Document |
| 14755 |
--ignore-case. |
| 14756 |
|
| 14757 |
2006-06-21 Hrvoje Niksic <[email protected]> |
| 14758 |
|
| 14759 |
* src/utils.c (base64_encode): Cast void pointer to char * before |
| 14760 |
doing arithmetic. |
| 14761 |
|
| 14762 |
2006-06-20 Hrvoje Niksic <[email protected]> |
| 14763 |
|
| 14764 |
* src/utils.c (base64_encode): Made TBL const. |
| 14765 |
(base64_decode): Made the base64_char_to_value table const. |
| 14766 |
|
| 14767 |
2006-06-20 Hrvoje Niksic <[email protected]> |
| 14768 |
|
| 14769 |
* doc/wget.texi (Download Options): Add missing word. |
| 14770 |
Reported by Adrian Knoth. |
| 14771 |
|
| 14772 |
2006-06-19 Hrvoje Niksic <[email protected]> |
| 14773 |
|
| 14774 |
* src/utils.c (base64_encode): Would read past end of STR. |
| 14775 |
Reported by [email protected]. |
| 14776 |
|
| 14777 |
2006-06-19 Hrvoje Niksic <[email protected]> |
| 14778 |
|
| 14779 |
* src/utils.c (base64_encode): Made the DATA pointer void * so the |
| 14780 |
callers can pass it any kind of pointer (including both signed and |
| 14781 |
unsigned char pointers). |
| 14782 |
(base64_decode): Ditto for DEST. |
| 14783 |
|
| 14784 |
2006-06-13 Mauro Tortonesi <[email protected]> |
| 14785 |
|
| 14786 |
* tests/Test9.px: Added test for --restrict-file-names=lowercase option. |
| 14787 |
|
| 14788 |
* tests/Test10.px: Added test for --restrict-file-names=uppercase option. |
| 14789 |
|
| 14790 |
2006-06-13 Mauro Tortonesi <[email protected]> |
| 14791 |
|
| 14792 |
* src/options.h (struct options): Introduced member restrict_files_case to |
| 14793 |
keep track of preferences on character case restrictions for |
| 14794 |
filenames. |
| 14795 |
|
| 14796 |
* src/init.c: Modified defaults and cmd_spec_restrict_file_names to |
| 14797 |
support character case restrictions for filenames. Added |
| 14798 |
test_cmd_spec_restrict_file_names unit test. |
| 14799 |
|
| 14800 |
* src/url.c: Modified append_uri_pathel to support character case |
| 14801 |
restrictions for filenames. Added test_append_uri_pathel unit test. |
| 14802 |
|
| 14803 |
* src/test.c: Added test_cmd_spec_restrict_file_names and |
| 14804 |
test_append_uri_pathel to the list of unit tests to run. |
| 14805 |
|
| 14806 |
2006-06-12 Tony Lewis <[email protected]> |
| 14807 |
|
| 14808 |
* src/main.c: Improved CHEN Peng's patch by proposing a simpler logic. |
| 14809 |
|
| 14810 |
2006-06-12 Mauro Tortonesi <[email protected]> |
| 14811 |
|
| 14812 |
* src/retr.c (retrieve_from_file): Use retrieve_tree and automatically |
| 14813 |
turn on opt.follow_ftp in case of recursive FTP retrieval through HTTP |
| 14814 |
proxy. |
| 14815 |
|
| 14816 |
* src/main.c: Automatically turn on opt.follow_ftp in case of recursive |
| 14817 |
FTP retrieval through HTTP proxy. |
| 14818 |
|
| 14819 |
2006-06-12 CHEN Peng <[email protected]> |
| 14820 |
|
| 14821 |
* src/main.c: Use retrieve_tree in case of recursive FTP retrieval through |
| 14822 |
HTTP proxy. |
| 14823 |
|
| 14824 |
2006-05-26 Mauro Tortonesi <[email protected]> |
| 14825 |
|
| 14826 |
* tests/HTTPServer.pm: Fixed bug when returning 404. Improved logging. |
| 14827 |
|
| 14828 |
* tests/Test.pm: Added support for command lines which use an absolute path |
| 14829 |
for the Wget binary. |
| 14830 |
|
| 14831 |
2006-05-26 Mauro Tortonesi <[email protected]> |
| 14832 |
|
| 14833 |
* tests/HTTPServer.pm: Added synchronization between client and server |
| 14834 |
processes to prevent the test to start before the server is ready. |
| 14835 |
|
| 14836 |
* tests/HTTPTest.pm: Ditto. |
| 14837 |
|
| 14838 |
* tests/Test.pm: Ditto. |
| 14839 |
|
| 14840 |
* tests/Test1.px: Removed unneeded ../src/ from command line. |
| 14841 |
|
| 14842 |
* tests/Test2.px: Ditto. |
| 14843 |
|
| 14844 |
* tests/Test3.px: Ditto. |
| 14845 |
|
| 14846 |
* tests/Test4.px: Ditto. |
| 14847 |
|
| 14848 |
* tests/Test5.px: Ditto. |
| 14849 |
|
| 14850 |
* tests/Test6.px: Ditto. |
| 14851 |
|
| 14852 |
* tests/Test7.px: Ditto. |
| 14853 |
|
| 14854 |
* tests/Test8.px: Added test for recursive spider mode. |
| 14855 |
|
| 14856 |
2006-05-25 Mauro Tortonesi <[email protected]> |
| 14857 |
|
| 14858 |
* src/convert.c: Added mechanisms to keep track broken links. |
| 14859 |
|
| 14860 |
* src/convert.h: Ditto. |
| 14861 |
|
| 14862 |
* src/wget.h: Reordered and enumerated uerr_t constants. |
| 14863 |
|
| 14864 |
* src/recur.c: Fixes to support recursive spider mode. |
| 14865 |
|
| 14866 |
* src/http.c: Ditto. |
| 14867 |
|
| 14868 |
* src/main.c: Print broken links in case of recursive spider mode. |
| 14869 |
|
| 14870 |
* src/retr.c: Changed interface of retrieve_url. |
| 14871 |
|
| 14872 |
* src/retr.h: Ditto. |
| 14873 |
|
| 14874 |
* src/ftp.c: Changed interface of ftp_loop. |
| 14875 |
|
| 14876 |
* src/ftp.h: Ditto. |
| 14877 |
|
| 14878 |
* src/res.c: Minor change to reflect changes in interface of retrieve_url. |
| 14879 |
|
| 14880 |
2006-05-18 Lawrence Jones <[email protected]> |
| 14881 |
|
| 14882 |
* src/ftp-ls.c (ftp_parse_unix_ls): Correct size parsing, add size |
| 14883 |
and filename debugging output. |
| 14884 |
|
| 14885 |
2006-04-28 Mauro Tortonesi <[email protected]> |
| 14886 |
|
| 14887 |
* tests/Test5.px: Added test for HTTP Content-Disposition support. |
| 14888 |
|
| 14889 |
* tests/Test6.px: Ditto. |
| 14890 |
|
| 14891 |
* tests/Test7.px: Ditto. |
| 14892 |
|
| 14893 |
2006-04-28 Mauro Tortonesi <[email protected]> |
| 14894 |
|
| 14895 |
* src/http.c: If Content-Disposition header is present, allow unique |
| 14896 |
filename generation unless -nc is given. Permit to disable parsing of |
| 14897 |
Content-Disposition header. |
| 14898 |
|
| 14899 |
* src/options.h: Added option --no-content-disposition to disable parsing |
| 14900 |
of HTTP Content-Disposition header. |
| 14901 |
|
| 14902 |
* src/init.c: Ditto. |
| 14903 |
|
| 14904 |
* src/main.c: Ditto. |
| 14905 |
|
| 14906 |
2006-04-27 Mauro Tortonesi <[email protected]> |
| 14907 |
|
| 14908 |
* tests/HTTPServer.pm: Serve index.html if no filename is given. |
| 14909 |
|
| 14910 |
* tests/Test.pm: Added support for pre-existing files. |
| 14911 |
|
| 14912 |
2006-04-11 Hrvoje Niksic <[email protected]> |
| 14913 |
|
| 14914 |
* src/hash.c (TOLOWER): Wrap macro arg in parentheses. |
| 14915 |
|
| 14916 |
2006-04-08 Hrvoje Niksic <[email protected]> |
| 14917 |
|
| 14918 |
* src/http.c (parse_content_disposition): Doc fix. |
| 14919 |
|
| 14920 |
2006-03-15 Mauro Tortonesi <[email protected]> |
| 14921 |
|
| 14922 |
* src/utils.c: Restricted operational semantics of frontcmp and proclist |
| 14923 |
from generic strings to directory names and them to subdir_p and |
| 14924 |
dir_matches_p respectively. Applied George Ogata's one line patch to |
| 14925 |
restrict algorithm of subdir_p to full directory name matching. Added |
| 14926 |
testcases for subdir_p and dir_matches_p. |
| 14927 |
|
| 14928 |
* src/utils.h: Changed all frontcmp occurrences to subdir_p. |
| 14929 |
|
| 14930 |
* src/recur.c: Ditto. |
| 14931 |
|
| 14932 |
* src/test.c: Changed type returned by test functions from char * to const |
| 14933 |
char *. Added test_subdir_p and test_dir_matches_p to the list of |
| 14934 |
tests to run. |
| 14935 |
|
| 14936 |
* src/http.c (test_parse_content_disposition): Changed return type from |
| 14937 |
char * to const char *. |
| 14938 |
|
| 14939 |
2006-03-14 Mauro Tortonesi <[email protected]> |
| 14940 |
|
| 14941 |
* src/recur.c (struct queue_element): Changed type of html_allowed member |
| 14942 |
to bool. |
| 14943 |
|
| 14944 |
2006-03-09 Mauro Tortonesi <[email protected]> |
| 14945 |
|
| 14946 |
* src/ftp.c (ftp_list): Try `LIST -a' command first and revert to `LIST' |
| 14947 |
in case of failure. |
| 14948 |
|
| 14949 |
2006-03-06 Hrvoje Niksic <[email protected]> |
| 14950 |
|
| 14951 |
* src/hash.c (TOLOWER): Fix definition when STANDALONE. |
| 14952 |
Reported by Beni Serfaty. |
| 14953 |
|
| 14954 |
2006-03-02 Mauro Tortonesi <[email protected]> |
| 14955 |
|
| 14956 |
* src/http.c (http_loop): Fixed recursive HTTP retrieval. |
| 14957 |
|
| 14958 |
2006-02-28 Hrvoje Niksic <[email protected]> |
| 14959 |
|
| 14960 |
* src/url.c (find_last_char): Define in terms of memrchr. |
| 14961 |
|
| 14962 |
* src/cmpt.c (memrchr): Define it on systems that don't have it. |
| 14963 |
|
| 14964 |
* src/http.c (extract_param): New function for parsing header values |
| 14965 |
with parameters. |
| 14966 |
(parse_content_disposition): Use it. Don't allow slashes and |
| 14967 |
backslashes in the file name. |
| 14968 |
|
| 14969 |
2006-02-28 Hrvoje Niksic <[email protected]> |
| 14970 |
|
| 14971 |
* src/http.c (extract_param): Declare extern so it can be used from |
| 14972 |
other files. |
| 14973 |
(extract_param): Return error for empty name. |
| 14974 |
|
| 14975 |
2006-02-28 Hrvoje Niksic <[email protected]> |
| 14976 |
|
| 14977 |
* configure.in: Check for memrchr. |
| 14978 |
|
| 14979 |
2006-02-27 Hrvoje Niksic <[email protected]> |
| 14980 |
|
| 14981 |
* src/url.c (path_simplify): Don't preserve ".." at beginning of path. |
| 14982 |
Suggested by Frank McCown. |
| 14983 |
|
| 14984 |
2006-02-25 Hrvoje Niksic <[email protected]> |
| 14985 |
|
| 14986 |
* src/http.c (gethttp): Only use FILE.N.html if FILE.html exists. |
| 14987 |
|
| 14988 |
2006-02-09 Hrvoje Niksic <[email protected]> |
| 14989 |
|
| 14990 |
* src/mswindows.c (run_with_timeout): Made thread_hnd non-static. |
| 14991 |
|
| 14992 |
2006-02-05 Hrvoje Niksic <[email protected]> |
| 14993 |
|
| 14994 |
* src/retr.c (sleep_between_retrievals): Sleep at a minimum of 1/2 of |
| 14995 |
the specified wait period. |
| 14996 |
|
| 14997 |
2006-02-05 Hrvoje Niksic <[email protected]> |
| 14998 |
|
| 14999 |
* doc/wget.texi (Download Options): Document the modified meaning of |
| 15000 |
--random-wait. |
| 15001 |
|
| 15002 |
2006-02-05 Hrvoje Niksic <[email protected]> |
| 15003 |
|
| 15004 |
(Download Options): Changed "a recent article" to "a 2001 article" |
| 15005 |
in the description of --random-wait, since the article in question |
| 15006 |
is not really recent. |
| 15007 |
|
| 15008 |
2006-02-03 Mauro Tortonesi <[email protected]> |
| 15009 |
|
| 15010 |
* src/http.c: Fixed support for Content-Disposition header. |
| 15011 |
|
| 15012 |
* src/test.c: Added test_parse_content_disposition to the list of unit |
| 15013 |
tests to run. |
| 15014 |
|
| 15015 |
2006-02-03 Hrvoje Niksic <[email protected]> |
| 15016 |
|
| 15017 |
* src/utils.c (number_to_string): Don't use sprintf for printing |
| 15018 |
WGINT_MIN; simply divide n by 10 and defer printing the last |
| 15019 |
digit. |
| 15020 |
(number_to_string): Removed the SPRINTF_WGINT macro. |
| 15021 |
|
| 15022 |
2006-02-02 Hrvoje Niksic <[email protected]> |
| 15023 |
|
| 15024 |
* src/hash.c: Don't define countof if it's already defined. |
| 15025 |
|
| 15026 |
* src/hash.c: Obtain the definition of uintptr_t when standalone. |
| 15027 |
|
| 15028 |
2006-01-30 Mauro Tortonesi <[email protected]> |
| 15029 |
|
| 15030 |
* src/http.c: Changed output format. Removed excessively verbose debugging |
| 15031 |
output. |
| 15032 |
|
| 15033 |
2006-01-24 Mauro Tortonesi <[email protected]> |
| 15034 |
|
| 15035 |
* tests/HTTPServer.pm: Enhanced logging support. |
| 15036 |
|
| 15037 |
* tests/HTTPTest.pm: Updated to new test format. |
| 15038 |
|
| 15039 |
* tests/Test.pm: Improved test setup, verification and cleanup. Major |
| 15040 |
refactoring. |
| 15041 |
|
| 15042 |
* tests/Test1.px: Updated to new test format. |
| 15043 |
|
| 15044 |
* tests/Test2.px: Updated to new test format. |
| 15045 |
|
| 15046 |
* tests/Test3.px: Added new test for quiet download of nonexistent URL. |
| 15047 |
|
| 15048 |
* tests/Test4.px: Added new test for quiet download of nonexistent URL with |
| 15049 |
--output-document option. |
| 15050 |
|
| 15051 |
2005-12-07 Mauro Tortonesi <[email protected]> |
| 15052 |
|
| 15053 |
* src/http.c: Fixed pre-download verbose output which was broken by |
| 15054 |
HTTP code refactoring. |
| 15055 |
|
| 15056 |
2005-12-05 Mauro Tortonesi <[email protected]> |
| 15057 |
|
| 15058 |
* tests/HTTPServer.pm: Refactored as a subclass of HTTP::Daemon. |
| 15059 |
Removed the old run method and renamed the old run_daemon |
| 15060 |
method to run. Added support for partial |
| 15061 |
|
| 15062 |
* tests/Testing.pm: Renamed to HTTPTest.pm. |
| 15063 |
|
| 15064 |
* tests/HTTPTest.pm: Refactored as a subclass of Test. Renamed |
| 15065 |
Run_HTTP_Test to run, verify_download to _verify_download |
| 15066 |
and added support for timestamp checking. |
| 15067 |
|
| 15068 |
* tests/Test.pm: Added Test class as the super class of every |
| 15069 |
testcase. |
| 15070 |
|
| 15071 |
* tests/test1: Renamed to Test1.px. |
| 15072 |
|
| 15073 |
* tests/Test1.px: Refactored as an instance of the HTTPTest class. |
| 15074 |
|
| 15075 |
* tests/Test2.px: Added -N HTTP test. |
| 15076 |
|
| 15077 |
2005-11-23 Mauro Tortonesi <[email protected]> |
| 15078 |
|
| 15079 |
* src/http.c: Refactored HTTP code. If -O is not used, the new code |
| 15080 |
delays the choice of the file name where the downloaded resource |
| 15081 |
will be saved until the HTTP headers have been retrieved. |
| 15082 |
Added support for Content-Disposition header. |
| 15083 |
|
| 15084 |
2005-11-19 Hrvoje Niksic <[email protected]> |
| 15085 |
|
| 15086 |
* src/hash.c (INVALID_PTR): Use uintptr_t instead of unsigned long. |
| 15087 |
(hash_pointer): Don't assume a pointer fits in `unsigned long'. |
| 15088 |
|
| 15089 |
2005-11-19 Hrvoje Niksic <[email protected]> |
| 15090 |
|
| 15091 |
* configure.in: Check for uintptr_t. |
| 15092 |
|
| 15093 |
2005-11-15 Hrvoje Niksic <[email protected]> |
| 15094 |
|
| 15095 |
* doc/wget.texi: Document https_proxy. |
| 15096 |
|
| 15097 |
2005-11-02 Mauro Tortonesi <[email protected]> |
| 15098 |
|
| 15099 |
* tests/HTTPServer.pm: Added basic support for HTTP testing. |
| 15100 |
|
| 15101 |
* tests/Testing.pm: Added basic support for feature testing (only HTTP |
| 15102 |
testing is supported at the moment). |
| 15103 |
|
| 15104 |
* tests/test1: Added basic HTTP test. |
| 15105 |
|
| 15106 |
2005-11-02 Mauro Tortonesi <[email protected]> |
| 15107 |
|
| 15108 |
* src/Makefile.in: Removed support for unit testing (now it is in |
| 15109 |
tests/Makefile.in). |
| 15110 |
|
| 15111 |
2005-11-02 Mauro Tortonesi <[email protected]> |
| 15112 |
|
| 15113 |
* Makefile.in: Improved support for unit testing. |
| 15114 |
|
| 15115 |
* configure.in: Ditto. |
| 15116 |
|
| 15117 |
2005-10-27 Mauro Tortonesi <[email protected]> |
| 15118 |
|
| 15119 |
* src/Makefile.in: Added basic support for unit testing. |
| 15120 |
|
| 15121 |
* src/test.c: Ditto. |
| 15122 |
|
| 15123 |
* src/test.h: Ditto. |
| 15124 |
|
| 15125 |
2005-10-27 Mauro Tortonesi <[email protected]> |
| 15126 |
|
| 15127 |
* Makefile.in: Added basic support for unit testing. |
| 15128 |
|
| 15129 |
2005-10-13 Daniel Stenberg <[email protected]> |
| 15130 |
|
| 15131 |
* src/http-ntlm.c (ntlm_output): Fixed buffer overflow vulnerability. |
| 15132 |
|
| 15133 |
2005-10-09 Russ Allbery <[email protected]> |
| 15134 |
|
| 15135 |
* src/snprintf.c: Remove round to round_int and pow10 to pow10_int, to |
| 15136 |
avoid warnings from GCC 4.0. |
| 15137 |
|
| 15138 |
2005-10-05 Mauro Tortonesi <[email protected]> |
| 15139 |
|
| 15140 |
* src/retr.c: Changed semantics of no_proxy_match. |
| 15141 |
|
| 15142 |
2005-09-17 Hrvoje Niksic <[email protected]> |
| 15143 |
|
| 15144 |
* src/retr.c (retr_rate): Rename parameter from MSECS to SECS since it |
| 15145 |
no longer holds milliseconds. |
| 15146 |
|
| 15147 |
2005-09-17 Hrvoje Niksic <[email protected]> |
| 15148 |
|
| 15149 |
* src/main.c (main): Don't print the summary if nothing has been downloaded. |
| 15150 |
|
| 15151 |
2005-09-02 Hrvoje Niksic <[email protected]> |
| 15152 |
|
| 15153 |
* doc/sample.wgetrc: Rewrite the "passive FTP" paragraph to better |
| 15154 |
reflect reality. |
| 15155 |
|
| 15156 |
2005-09-01 Hrvoje Niksic <[email protected]> |
| 15157 |
|
| 15158 |
* src/progress.c: Introduce symbolic constants for "magic" values of |
| 15159 |
0.2 and 0.9, REFRESH_INTERVAL and ETA_REFRESH_INTERVAL. |
| 15160 |
|
| 15161 |
2005-08-27 Hrvoje Niksic <[email protected]> |
| 15162 |
|
| 15163 |
* src/hash.c (hash_table_map): Rename to hash_table_for_each and |
| 15164 |
update callers. |
| 15165 |
Document the meaning of the callback's return value. |
| 15166 |
(hash_table_iterate): New function. |
| 15167 |
(hash_table_iter_next): Likewise. |
| 15168 |
Update most places that used hash_table_for_each to use the |
| 15169 |
iteration, which doesn't require a temporary function with |
| 15170 |
explicit state management. |
| 15171 |
|
| 15172 |
2005-08-27 Hrvoje Niksic <[email protected]> |
| 15173 |
|
| 15174 |
* src/cmpt.c (strtoll): Correctly handle strtoll("0x", ptr, 0) and |
| 15175 |
strtoll("0x<nonhexchar>", ptr, 0) -- in both cases *ptr must be |
| 15176 |
set to the position of 'x', not after it. |
| 15177 |
|
| 15178 |
2005-08-26 Stepan Kasal <[email protected]> |
| 15179 |
|
| 15180 |
* configure.in: Abort configure if --with-ssl given but SSL |
| 15181 |
unavailable. Use HAVE_LIBSSL and HAVE_LIBGNUTLS symbols provided |
| 15182 |
by AC_LIB_HAVE_LINKFLAGS instead of inventing new ones. |
| 15183 |
|
| 15184 |
2005-08-26 Jeremy Shapiro <[email protected]> |
| 15185 |
|
| 15186 |
* src/openssl.c (ssl_init): Set SSL_MODE_AUTO_RETRY. |
| 15187 |
|
| 15188 |
2005-08-26 Albert Chin <[email protected]> |
| 15189 |
|
| 15190 |
* src/Makefile.in: Use @datadir@. Define localedir as $(datadir)/locale. |
| 15191 |
|
| 15192 |
2005-08-23 Hrvoje Niksic <[email protected]> |
| 15193 |
|
| 15194 |
* src/host.c (address_list_from_ipv4_addresses): Use IP_INADDR_DATA. |
| 15195 |
|
| 15196 |
2005-08-12 Hrvoje Niksic <[email protected]> |
| 15197 |
|
| 15198 |
* src/wget.h: Renamed strtoll_return to strtoll_type. |
| 15199 |
|
| 15200 |
2005-08-11 Hrvoje Niksic <[email protected]> |
| 15201 |
|
| 15202 |
* src/progress.c (eta_to_human_short): Switch to days when printing |
| 15203 |
more than 48h rather than 100h. (It's not immediately apparent |
| 15204 |
how many days there are in 83h.) |
| 15205 |
|
| 15206 |
2005-08-11 Hrvoje Niksic <[email protected]> |
| 15207 |
|
| 15208 |
* src/cmpt.c (strtoll): Define it if missing on the system and if Wget |
| 15209 |
needs it. |
| 15210 |
|
| 15211 |
* src/mswindows.c (str_to_int64): Move to cmpt.c and rename to strtoll. |
| 15212 |
|
| 15213 |
2005-08-11 Hrvoje Niksic <[email protected]> |
| 15214 |
|
| 15215 |
* configure.in: Check for strtoll and strtoimax. |
| 15216 |
|
| 15217 |
2005-08-10 Hrvoje Niksic <[email protected]> |
| 15218 |
|
| 15219 |
* src/host.c (print_address): Always use inet_ntop when IPv6 is |
| 15220 |
enabled. |
| 15221 |
|
| 15222 |
* src/host.h (ip_address): Simplify the data union. |
| 15223 |
|
| 15224 |
2005-08-09 Vasil Dimov <[email protected]> |
| 15225 |
|
| 15226 |
* src/ftp.c (getftp): Don't free RESPLINE if ftp_response returns a |
| 15227 |
status other than FTPOK. |
| 15228 |
|
| 15229 |
2005-08-09 Hrvoje Niksic <[email protected]> |
| 15230 |
|
| 15231 |
* src/mswindows.c (inet_ntop): Also handle IPv4 addresses for |
| 15232 |
completeness. |
| 15233 |
|
| 15234 |
2005-08-09 Hrvoje Niksic <[email protected]> |
| 15235 |
|
| 15236 |
* src/http.c (gethttp): Don't read more than the amount of data |
| 15237 |
specified by the content-length header. |
| 15238 |
|
| 15239 |
2005-08-09 Hrvoje Niksic <[email protected]> |
| 15240 |
|
| 15241 |
* doc/wget.texi (Wgetrc Commands): Removed documentation for the now |
| 15242 |
deleted command "kill_longer". |
| 15243 |
|
| 15244 |
2005-08-04 Giuseppe Bonacci <[email protected]> |
| 15245 |
|
| 15246 |
* src/ftp-ls.c (ftp_parse_unix_ls): Remember the position of the |
| 15247 |
previous token instead of backtracking back to it. |
| 15248 |
|
| 15249 |
2005-07-08 Hrvoje Niksic <[email protected]> |
| 15250 |
|
| 15251 |
* src/utils.c (aprintf): Use vasprintf where available. |
| 15252 |
|
| 15253 |
2005-07-08 Hrvoje Niksic <[email protected]> |
| 15254 |
|
| 15255 |
* src/url.c (rewrite_shorthand_url): Simplify code using aprintf and |
| 15256 |
strspn. |
| 15257 |
|
| 15258 |
2005-07-08 Hrvoje Niksic <[email protected]> |
| 15259 |
|
| 15260 |
* configure.in: Remove -Wno-implicit from default GCC warning |
| 15261 |
flags. |
| 15262 |
|
| 15263 |
2005-07-08 Hrvoje Niksic <[email protected]> |
| 15264 |
|
| 15265 |
* configure.in: Don't check for symlink, which is expected to |
| 15266 |
exist. Check for asprintf. |
| 15267 |
|
| 15268 |
2005-07-08 Gisle Vanem <[email protected]> |
| 15269 |
|
| 15270 |
* src/mswindows.h: Include process.h to get getpid() declaration. |
| 15271 |
|
| 15272 |
2005-07-07 Hrvoje Niksic <[email protected]> |
| 15273 |
|
| 15274 |
* src/openssl.c (ssl_check_certificate): Print custom error messages |
| 15275 |
for frequent X509 certificate problems. |
| 15276 |
|
| 15277 |
2005-07-07 Hrvoje Niksic <[email protected]> |
| 15278 |
|
| 15279 |
* src/mswindows.h: Define an alias for stat and fstat, as requested by |
| 15280 |
config-compiler.h. |
| 15281 |
(gai_strerror): Define to windows_strerror if NEED_GAI_STRERROR is |
| 15282 |
defined. |
| 15283 |
|
| 15284 |
2005-07-07 Hrvoje Niksic <[email protected]> |
| 15285 |
|
| 15286 |
* src/gnutls.c (ssl_check_certificate): Check for the validity of the |
| 15287 |
presented X509 certificate. |
| 15288 |
|
| 15289 |
2005-07-07 Hrvoje Niksic <[email protected]> |
| 15290 |
|
| 15291 |
* configure.bat: Copy the common config.h and config-compiler.h. |
| 15292 |
|
| 15293 |
2005-07-06 Hrvoje Niksic <[email protected]> |
| 15294 |
|
| 15295 |
* src/utils.c: Unconditionally include <setjmp.h>. |
| 15296 |
|
| 15297 |
2005-07-06 Hrvoje Niksic <[email protected]> |
| 15298 |
|
| 15299 |
* src/utils.c (fnmatch_nocase): New function. |
| 15300 |
(proclist): Use it instead of fnmatch when opt.ignore_case is |
| 15301 |
requested. |
| 15302 |
(in_acclist): Respect opt.ignore_case. |
| 15303 |
(frontcmp): Respect opt.ignore_case. |
| 15304 |
|
| 15305 |
* src/options.h (struct options): New flag opt.ignore_case. |
| 15306 |
|
| 15307 |
2005-07-06 Hrvoje Niksic <[email protected]> |
| 15308 |
|
| 15309 |
* src/sysdep.h: Add a full declaration of fnmatch.h. |
| 15310 |
|
| 15311 |
2005-07-06 Hrvoje Niksic <[email protected]> |
| 15312 |
|
| 15313 |
* src/ptimer.c: Measure time in seconds rather than milliseconds. |
| 15314 |
Adjusted all callers. |
| 15315 |
|
| 15316 |
2005-07-06 Hrvoje Niksic <[email protected]> |
| 15317 |
|
| 15318 |
* src/mswindows.h: Use strtoll where available. |
| 15319 |
|
| 15320 |
2005-07-06 Hrvoje Niksic <[email protected]> |
| 15321 |
|
| 15322 |
* src/http.c (gethttp): When freeing MESSAGE, take into account that |
| 15323 |
it can be NULL. |
| 15324 |
|
| 15325 |
2005-07-06 Hrvoje Niksic <[email protected]> |
| 15326 |
|
| 15327 |
* configure.in: Don't check for setjmp.h. |
| 15328 |
|
| 15329 |
2005-07-06 Hrvoje Niksic <[email protected]> |
| 15330 |
|
| 15331 |
* Makefile.in: Also use @LIBGNUTLS@ to build LIBS. |
| 15332 |
|
| 15333 |
2005-07-05 Hrvoje Niksic <[email protected]> |
| 15334 |
|
| 15335 |
* src/wget.h (or): Define HAVE_SSL when either HAVE_OPENSSL or |
| 15336 |
HAVE_GNUTLS are defined. |
| 15337 |
|
| 15338 |
* src/gnutls.c: New file. |
| 15339 |
|
| 15340 |
2005-07-05 Hrvoje Niksic <[email protected]> |
| 15341 |
|
| 15342 |
* src/http.c (gethttp): Don't print the request write error message |
| 15343 |
twice. |
| 15344 |
|
| 15345 |
2005-07-05 Hrvoje Niksic <[email protected]> |
| 15346 |
|
| 15347 |
* src/cmpt.c (timegm): Remove unused variable. |
| 15348 |
|
| 15349 |
2005-07-05 Hrvoje Niksic <[email protected]> |
| 15350 |
|
| 15351 |
* src/cmpt.c (timegm): Handle years after 2099. |
| 15352 |
|
| 15353 |
2005-07-05 Hrvoje Niksic <[email protected]> |
| 15354 |
|
| 15355 |
* src/cmpt.c (timegm): Don't call mktime; simply count the seconds |
| 15356 |
between 1970-01-01 and the specified date. |
| 15357 |
|
| 15358 |
2005-07-05 Hrvoje Niksic <[email protected]> |
| 15359 |
|
| 15360 |
* configure.in: Add check for GnuTLS if --with-ssl=gnutls is used. |
| 15361 |
|
| 15362 |
2005-07-04 Hrvoje Niksic <[email protected]> |
| 15363 |
|
| 15364 |
* src/xmalloc.c (debugging_free): Prefix hex pointer value with "0x" |
| 15365 |
when printing. |
| 15366 |
|
| 15367 |
2005-07-04 Hrvoje Niksic <[email protected]> |
| 15368 |
|
| 15369 |
* src/utils.c (base64_decode): Don't silently tolerate non-base64 |
| 15370 |
non-white-space characters in the base64 stream. |
| 15371 |
|
| 15372 |
2005-07-04 Hrvoje Niksic <[email protected]> |
| 15373 |
|
| 15374 |
* src/utils.c (NEXT_BASE64_CHAR): Rename to NEXT_CHAR and simplify to |
| 15375 |
get the next non-whitespace character. |
| 15376 |
|
| 15377 |
2005-07-04 Hrvoje Niksic <[email protected]> |
| 15378 |
|
| 15379 |
* src/openssl.c (openssl_errstr): Separate error messages with "; ". |
| 15380 |
|
| 15381 |
2005-07-04 Hrvoje Niksic <[email protected]> |
| 15382 |
|
| 15383 |
* src/openssl.c (openssl_errstr): Instead of always using a large |
| 15384 |
static buffer, only allocate the error string when there is an |
| 15385 |
actual error. |
| 15386 |
|
| 15387 |
2005-07-04 Hrvoje Niksic <[email protected]> |
| 15388 |
|
| 15389 |
* src/connect.c (LAZY_RETRIEVE_INFO): Make last_tick unsigned to match |
| 15390 |
transport_map_modified_tick. |
| 15391 |
|
| 15392 |
2005-07-04 Hrvoje Niksic <[email protected]> |
| 15393 |
|
| 15394 |
* src/config-post.h (alloca): Updated declaration to not enumerate all |
| 15395 |
Windows compilers. |
| 15396 |
|
| 15397 |
2005-07-03 Hrvoje Niksic <[email protected]> |
| 15398 |
|
| 15399 |
* src/url.c (path_end): Skip separators appropriate for the scheme. |
| 15400 |
(strpbrk_or_eos): Remove gcc-specific version, as the optimization |
| 15401 |
it tried to perform no longer applies. |
| 15402 |
|
| 15403 |
2005-07-03 Hrvoje Niksic <[email protected]> |
| 15404 |
|
| 15405 |
* src/mswindows.h: Also wrap accept() and listen(). |
| 15406 |
|
| 15407 |
2005-07-03 Hrvoje Niksic <[email protected]> |
| 15408 |
|
| 15409 |
* src/ftp.c (getftp): Ditto. |
| 15410 |
|
| 15411 |
* src/http.c (gethttp): Use fd_errstr. |
| 15412 |
|
| 15413 |
* src/connect.c (fd_register_transport): Restructure parameters to |
| 15414 |
include only a single structure that describes transport |
| 15415 |
implementation. |
| 15416 |
|
| 15417 |
* src/openssl.c (openssl_errstr): New function: dump SSL error strings |
| 15418 |
into a static buffer and return a pointer to the buffer. |
| 15419 |
|
| 15420 |
* src/connect.c (fd_errstr): New function; returns transport-specific |
| 15421 |
error message, or strerror(errno) if transport doesn't supply one. |
| 15422 |
|
| 15423 |
2005-07-03 Hrvoje Niksic <[email protected]> |
| 15424 |
|
| 15425 |
* po/POTFILES.in: Include src/ptimer.c. |
| 15426 |
|
| 15427 |
2005-07-02 Hrvoje Niksic <[email protected]> |
| 15428 |
|
| 15429 |
* src/version.c: Don't use "cvs" in version name, since we're not |
| 15430 |
using CVS anymore. |
| 15431 |
|
| 15432 |
2005-07-02 Hrvoje Niksic <[email protected]> |
| 15433 |
|
| 15434 |
* src/url.c (url_parse): Would crash when parsing fragments. Support |
| 15435 |
fragments for FTP URLs too. |
| 15436 |
|
| 15437 |
2005-07-02 Hrvoje Niksic <[email protected]> |
| 15438 |
|
| 15439 |
* src/progress.c (create_image): Ditto. |
| 15440 |
|
| 15441 |
* src/retr.c (retr_rate): Display smaller rate numbers with greater |
| 15442 |
precision. |
| 15443 |
|
| 15444 |
2005-07-02 Hrvoje Niksic <[email protected]> |
| 15445 |
|
| 15446 |
* src/http.c (response_head_terminator): Minor optimization. |
| 15447 |
|
| 15448 |
* src/retr.c (fd_read_hunk): Call terminator with pointer to the start |
| 15449 |
of the data and the pointer to the current data. Changed all |
| 15450 |
callers. |
| 15451 |
|
| 15452 |
2005-07-02 Hrvoje Niksic <[email protected]> |
| 15453 |
|
| 15454 |
* src/http.c (gethttp): Skip error message body in the keep-alive |
| 15455 |
case. |
| 15456 |
|
| 15457 |
2005-07-02 Hrvoje Niksic <[email protected]> |
| 15458 |
|
| 15459 |
* src/host.c: Remove extraneous definition of netdb.h. |
| 15460 |
|
| 15461 |
2005-07-02 Hrvoje Niksic <[email protected]> |
| 15462 |
|
| 15463 |
* src/host.c: Don't include "connect.h" now that we no longer have |
| 15464 |
socket_has_inet6. |
| 15465 |
|
| 15466 |
2005-07-01 Hrvoje Niksic <[email protected]> |
| 15467 |
|
| 15468 |
* src/url.c (url_parse): Make sure u->params is not initialized for |
| 15469 |
http/https URLs. |
| 15470 |
(url_parse): Don't crash on garbage following []-delimited IPv6 |
| 15471 |
addresses. |
| 15472 |
|
| 15473 |
2005-07-01 Hrvoje Niksic <[email protected]> |
| 15474 |
|
| 15475 |
* src/main.c (print_help): Don't refer to the non-existent -nr in |
| 15476 |
description of --mirror. |
| 15477 |
|
| 15478 |
2005-07-01 Hrvoje Niksic <[email protected]> |
| 15479 |
|
| 15480 |
* configure.in: Mention in message that the "GNU" md5 |
| 15481 |
implementation is in fact built-in to Wget. |
| 15482 |
|
| 15483 |
2005-06-30 Hrvoje Niksic <[email protected]> |
| 15484 |
|
| 15485 |
* src/http.c (gethttp): Explicitly document the different cases when |
| 15486 |
generating the Host header. |
| 15487 |
|
| 15488 |
2005-06-30 Hrvoje Niksic <[email protected]> |
| 15489 |
|
| 15490 |
* src/host.c (pretty_print_address): Renamed to just print_address. |
| 15491 |
Clarify documentation. |
| 15492 |
|
| 15493 |
2005-06-30 Hrvoje Niksic <[email protected]> |
| 15494 |
|
| 15495 |
* src/host.c (pretty_print_address): Handle error result from |
| 15496 |
inet_ntop. |
| 15497 |
|
| 15498 |
2005-06-30 Gisle Vanem <[email protected]> |
| 15499 |
|
| 15500 |
* src/mswindows.c (inet_ntop): New function. Print IPv6 addresses |
| 15501 |
using WSAAddressToString. |
| 15502 |
|
| 15503 |
2005-06-29 Hrvoje Niksic <[email protected]> |
| 15504 |
|
| 15505 |
* src/wget.h: Remove obsolete definition of with_thousand_seps_sum. |
| 15506 |
|
| 15507 |
2005-06-29 Hrvoje Niksic <[email protected]> |
| 15508 |
|
| 15509 |
* src/utils.c: Unconditionally include locale.h. |
| 15510 |
|
| 15511 |
2005-06-29 Hrvoje Niksic <[email protected]> |
| 15512 |
|
| 15513 |
* src/utils.c (random_number): Use lrand48 if available. |
| 15514 |
(random_float): Use drand48 if available. |
| 15515 |
|
| 15516 |
2005-06-29 Hrvoje Niksic <[email protected]> |
| 15517 |
|
| 15518 |
* src/ptimer.c: Include sys/time.h to get struct timeval. |
| 15519 |
|
| 15520 |
2005-06-29 Hrvoje Niksic <[email protected]> |
| 15521 |
|
| 15522 |
* src/main.c: Check for both SIGHUP and SIGUSR1 before using them. |
| 15523 |
|
| 15524 |
2005-06-29 Hrvoje Niksic <[email protected]> |
| 15525 |
|
| 15526 |
* src/main.c (secs_to_human_time): Use print_decimal when printing |
| 15527 |
total download time in seconds. |
| 15528 |
|
| 15529 |
* src/progress.c (print_row_stats): Use it to print total download |
| 15530 |
time at the end of the download. |
| 15531 |
(create_image): Ditto. |
| 15532 |
|
| 15533 |
* src/utils.c (print_decimal): New function; print small decimal |
| 15534 |
numbers with more precision than large ones. |
| 15535 |
|
| 15536 |
* src/progress.c (print_row_stats): New function. Print ETA after the |
| 15537 |
download rate at the end of each row. |
| 15538 |
|
| 15539 |
2005-06-29 Hrvoje Niksic <[email protected]> |
| 15540 |
|
| 15541 |
* src/gnu-md5.h: Unconditionally include limits.h. |
| 15542 |
|
| 15543 |
2005-06-29 Hrvoje Niksic <[email protected]> |
| 15544 |
|
| 15545 |
* m4/wget.m4 (WGET_WITH_NLS): Don't check for locale.h. |
| 15546 |
|
| 15547 |
2005-06-29 Hrvoje Niksic <[email protected]> |
| 15548 |
|
| 15549 |
* configure.in: Test for $LIBSSL instead of the old $ssl_success |
| 15550 |
when deciding which MD5 to use. |
| 15551 |
|
| 15552 |
2005-06-29 Hrvoje Niksic <[email protected]> |
| 15553 |
|
| 15554 |
* configure.in: Require Autoconf 2.59. |
| 15555 |
|
| 15556 |
2005-06-29 Hrvoje Niksic <[email protected]> |
| 15557 |
|
| 15558 |
* configure.in: Check for drand48. |
| 15559 |
|
| 15560 |
2005-06-28 Hrvoje Niksic <[email protected]> |
| 15561 |
|
| 15562 |
* src/init.c (parse_line): Check for alphanumerics. |
| 15563 |
|
| 15564 |
2005-06-28 Hrvoje Niksic <[email protected]> |
| 15565 |
|
| 15566 |
* src/ftp.c (getftp): Delete trailing newlines from LIST output so |
| 15567 |
lines don't come out with trailing \015\012 with -S. |
| 15568 |
|
| 15569 |
2005-06-28 Hrvoje Niksic <[email protected]> |
| 15570 |
|
| 15571 |
* src/(dot_create): Remove unnecessary casts. |
| 15572 |
|
| 15573 |
2005-06-28 Hrvoje Niksic <[email protected]> |
| 15574 |
|
| 15575 |
* doc/wget.texi (Logging and Input File Options): Don't claim that |
| 15576 |
--base requires --force-html to work. |
| 15577 |
|
| 15578 |
2005-06-27 Hrvoje Niksic <[email protected]> |
| 15579 |
|
| 15580 |
* src/wget.h (PTR_FORMAT): Cast the result of sizeof to int before |
| 15581 |
passing it to printf's %*. |
| 15582 |
|
| 15583 |
* src/retr.h: Declare output_stream and output_stream_regular. |
| 15584 |
|
| 15585 |
* src/ftp.h: Declare ftp_last_respline. |
| 15586 |
|
| 15587 |
* src/convert.h: Declare dl_url_file_map. |
| 15588 |
|
| 15589 |
* src/http.h: New file. |
| 15590 |
|
| 15591 |
2005-06-27 Hrvoje Niksic <[email protected]> |
| 15592 |
|
| 15593 |
* src/utils.c (with_thousand_seps): Handle negative numbers. |
| 15594 |
|
| 15595 |
2005-06-27 Hrvoje Niksic <[email protected]> |
| 15596 |
|
| 15597 |
* src/utils.c (human_readable): Remove intermediary cast to long; MSVC |
| 15598 |
has problems casting *unsigned* __int64 to double. |
| 15599 |
|
| 15600 |
2005-06-27 Hrvoje Niksic <[email protected]> |
| 15601 |
|
| 15602 |
* src/utils.c (get_grouping_data): Force the use of separators in C |
| 15603 |
locale. |
| 15604 |
|
| 15605 |
2005-06-27 Hrvoje Niksic <[email protected]> |
| 15606 |
|
| 15607 |
* src/utils.c (get_grouping_data): Force separator to "." rather than |
| 15608 |
" " when "," is taken. |
| 15609 |
|
| 15610 |
2005-06-27 Hrvoje Niksic <[email protected]> |
| 15611 |
|
| 15612 |
* src/sysdep.h: Use the system-provided fnmatch by default. |
| 15613 |
|
| 15614 |
2005-06-27 Hrvoje Niksic <[email protected]> |
| 15615 |
|
| 15616 |
* src/progress.c (set_progress_implementation): Type COLON as const |
| 15617 |
char *. |
| 15618 |
|
| 15619 |
2005-06-27 Hrvoje Niksic <[email protected]> |
| 15620 |
|
| 15621 |
* src/progress.c (dot_update): Remove unused variable row_qty. |
| 15622 |
|
| 15623 |
2005-06-27 Hrvoje Niksic <[email protected]> |
| 15624 |
|
| 15625 |
* src/mswindows.h: Remove superfluous includes. |
| 15626 |
|
| 15627 |
2005-06-27 Hrvoje Niksic <[email protected]> |
| 15628 |
|
| 15629 |
* src/main.c (i18n_initialize): Set all locale categories. |
| 15630 |
|
| 15631 |
* src/http.c (http_atotm): Temporarily set locale to "C". |
| 15632 |
|
| 15633 |
2005-06-27 Hrvoje Niksic <[email protected]> |
| 15634 |
|
| 15635 |
* src/http.c (mktime_from_utc): Renamed to timegm and moved to cmpt.c. |
| 15636 |
Don't compile it if GNU timegm is available. |
| 15637 |
(http_atotm): Use timegm. |
| 15638 |
|
| 15639 |
2005-06-27 Hrvoje Niksic <[email protected]> |
| 15640 |
|
| 15641 |
* src/http.c (http_atotm): Correctly query the old locale value. |
| 15642 |
|
| 15643 |
2005-06-27 Hrvoje Niksic <[email protected]> |
| 15644 |
|
| 15645 |
* src/http.c (gethttp): Improve "POST data file missing" error |
| 15646 |
message. |
| 15647 |
|
| 15648 |
2005-06-27 Hrvoje Niksic <[email protected]> |
| 15649 |
|
| 15650 |
* src/cookies.c: Make cookies_now static. |
| 15651 |
|
| 15652 |
2005-06-27 Hrvoje Niksic <[email protected]> |
| 15653 |
|
| 15654 |
* src/config-post.h (alloca): Don't #define alloca under MinGW32, |
| 15655 |
which defines it in malloc.h, included from mswindows.h. |
| 15656 |
|
| 15657 |
2005-06-27 Hrvoje Niksic <[email protected]> |
| 15658 |
|
| 15659 |
* src/config-post.h (alloca): Amend alloca declaration to take care of |
| 15660 |
all Win32 compilers, not just MSVC and MinGW. |
| 15661 |
|
| 15662 |
2005-06-26 Hrvoje Niksic <[email protected]> |
| 15663 |
|
| 15664 |
* src/utils.c (with_thousand_seps): Correctly implement thousand seps |
| 15665 |
consisting of more than one character. |
| 15666 |
|
| 15667 |
2005-06-26 Hrvoje Niksic <[email protected]> |
| 15668 |
|
| 15669 |
* src/progress.c (create_image): Mark the "eta" string for translation. |
| 15670 |
|
| 15671 |
2005-06-26 Hrvoje Niksic <[email protected]> |
| 15672 |
|
| 15673 |
* src/main.c (secs_to_human_time): Ditto. |
| 15674 |
|
| 15675 |
* src/progress.c (create_image): Print more exact duration of very |
| 15676 |
short downloads. |
| 15677 |
|
| 15678 |
* src/main.c (secs_to_human_time): Don't translate time suffixes "h", |
| 15679 |
"m", and "s", which are not strictly SI, but are "accepted for use |
| 15680 |
with SI". |
| 15681 |
(secs_to_human_time): Print really small intervals as 0s, not |
| 15682 |
0.00s. |
| 15683 |
|
| 15684 |
2005-06-26 Hrvoje Niksic <[email protected]> |
| 15685 |
|
| 15686 |
* src/main.c (main): Print the downloaded and quota amounts with the |
| 15687 |
"human_readable" function. |
| 15688 |
|
| 15689 |
* src/ftp.c (print_length): Ditto. |
| 15690 |
|
| 15691 |
* src/http.c (gethttp): Don't display thousand separators. |
| 15692 |
|
| 15693 |
* src/utils.c (with_thousand_seps): Rewritten to respect locale |
| 15694 |
settings and to be type size agnostic. |
| 15695 |
|
| 15696 |
2005-06-26 Hrvoje Niksic <[email protected]> |
| 15697 |
|
| 15698 |
* src/html-url.c (get_urls_file): Don't explicitly set entry->next to |
| 15699 |
NULL since entry is already zeroed out. |
| 15700 |
|
| 15701 |
2005-06-26 Hrvoje Niksic <[email protected]> |
| 15702 |
|
| 15703 |
* src/ftp.c (getftp): Always invoke SIZE, not only when continuing a |
| 15704 |
download. |
| 15705 |
|
| 15706 |
* src/main.c (main): Ditto here. |
| 15707 |
|
| 15708 |
* src/progress.c (create_image): When the download is finished, print |
| 15709 |
how long it took. |
| 15710 |
|
| 15711 |
2005-06-26 Hrvoje Niksic <[email protected]> |
| 15712 |
|
| 15713 |
* src/config-post.h: Replace the alloca declaration with the one from |
| 15714 |
the latest Autoconf manual. This should remove a warning with GCC |
| 15715 |
on AIX. |
| 15716 |
|
| 15717 |
2005-06-26 Hrvoje Niksic <[email protected]> |
| 15718 |
|
| 15719 |
* m4/wget.m4: Use proper GPL header. |
| 15720 |
|
| 15721 |
2005-06-26 Gisle Vanem <[email protected]> |
| 15722 |
|
| 15723 |
* src/mswindows.h: Define gai_strerror under MinGW. |
| 15724 |
|
| 15725 |
2005-06-25 Hrvoje Niksic <[email protected]> |
| 15726 |
|
| 15727 |
* src/utils.c (with_thousand_seps_sum): Now defined only if |
| 15728 |
SUM_SIZE_INT is double. |
| 15729 |
|
| 15730 |
* src/wget.h (SUM_SIZE_INT): Instead of bothering with long, long |
| 15731 |
long, __int64, and friends, simply either use wgint or double, end |
| 15732 |
of story. Since we know how to print either, we no longer need |
| 15733 |
LARGE_INT_FMT. |
| 15734 |
|
| 15735 |
* src/sysdeps.h (LARGE_INT): Renamed to SUM_SIZE_INT to better reflect |
| 15736 |
its intent, and moved to wget.h. |
| 15737 |
|
| 15738 |
2005-06-25 Hrvoje Niksic <[email protected]> |
| 15739 |
|
| 15740 |
* src/utils.c (with_thousand_seps_sum): Decrease buffer size so it |
| 15741 |
cannot overrun add_thousand_seps's buffer. |
| 15742 |
|
| 15743 |
2005-06-25 Hrvoje Niksic <[email protected]> |
| 15744 |
|
| 15745 |
* src/utils.c (human_readable): Divide with 1024 instead of shifting |
| 15746 |
so the operation can work with non-integer N. |
| 15747 |
|
| 15748 |
2005-06-25 Hrvoje Niksic <[email protected]> |
| 15749 |
|
| 15750 |
* src/utils.c (SPRINTF_WGINT): The correct format is %I64d, not just |
| 15751 |
%I64. |
| 15752 |
|
| 15753 |
2005-06-25 Hrvoje Niksic <[email protected]> |
| 15754 |
|
| 15755 |
* src/progress.c (eta_to_human): New logic for more human-readable |
| 15756 |
ETA. |
| 15757 |
|
| 15758 |
2005-06-25 Hrvoje Niksic <[email protected]> |
| 15759 |
|
| 15760 |
* src/http.c (http_loop): Don't warn about wildcards in HTTP URLs if |
| 15761 |
globbing isn't requested in the first place. |
| 15762 |
|
| 15763 |
* src/retr.c (retrieve_url): Temporarily turn off globbing when |
| 15764 |
processing HTTP->FTP redirects. |
| 15765 |
|
| 15766 |
2005-06-25 Hrvoje Niksic <[email protected]> |
| 15767 |
|
| 15768 |
* src/cookies.c (parse_set_cookies): Cast pointer subtraction to int |
| 15769 |
before using it with %d; AIX compiler warns on this. |
| 15770 |
Reported by Jens Schleusener. |
| 15771 |
|
| 15772 |
2005-06-25 Hrvoje Niksic <[email protected]> |
| 15773 |
|
| 15774 |
* src/Makefile.in: No need to clean .libs. |
| 15775 |
|
| 15776 |
2005-06-25 Hrvoje Niksic <[email protected]> |
| 15777 |
|
| 15778 |
* doc/wget.texi (Download Options): Update -4/-6 documentation to |
| 15779 |
reflect the fact that we no longer use AI_ADDRCONFIG. |
| 15780 |
|
| 15781 |
2005-06-25 Hrvoje Niksic <[email protected]> |
| 15782 |
|
| 15783 |
* Makefile.in: No need to clean .libs. |
| 15784 |
|
| 15785 |
2005-06-25 Hrvoje Niksic <[email protected]> |
| 15786 |
|
| 15787 |
* Makefile.in: Instead of creating configure.bat from |
| 15788 |
configure.bat.in, simply make sure the correct EOL style in |
| 15789 |
checked out of the repository. |
| 15790 |
|
| 15791 |
2005-06-25 Hrvoje Niksic <[email protected]> |
| 15792 |
|
| 15793 |
* Makefile.in (DISTFILES): Don't split the sed invocation across |
| 15794 |
several lines, Solaris make passes the backslashes to sed literally. |
| 15795 |
|
| 15796 |
2005-06-24 Hrvoje Niksic <[email protected]> |
| 15797 |
|
| 15798 |
* src/init.c: opt.verbose must be declared as int. |
| 15799 |
|
| 15800 |
2005-06-24 Hrvoje Niksic <[email protected]> |
| 15801 |
|
| 15802 |
* src/http.c (gethttp): Don't prepend / here. |
| 15803 |
|
| 15804 |
* src/cookies.c (cookie_handle_set_cookie): Prepend / to PATH. |
| 15805 |
(cookie_header): Ditto. |
| 15806 |
|
| 15807 |
2005-06-24 Hrvoje Niksic <[email protected]> |
| 15808 |
|
| 15809 |
* doc/gpl.texi (GNU General Public License): Split GPL text into a |
| 15810 |
separate file and include it from wget.texi. Used the latest |
| 15811 |
template from gnu.org with the updated address of the FSF. |
| 15812 |
|
| 15813 |
2005-06-24 Hrvoje Niksic <[email protected]> |
| 15814 |
|
| 15815 |
* configure.in: Use AC_LIB_HAVE_LINKFLAGS instead of |
| 15816 |
AC_LIB_LINKFLAGS when checking for library functions. |
| 15817 |
|
| 15818 |
* configure.in: Don't waste time checking for headers and |
| 15819 |
functions we know must be there. But manually AC_DEFINE the |
| 15820 |
functions that might be missing from non-Unix systems. |
| 15821 |
|
| 15822 |
2005-06-24 Hrvoje Niksic <[email protected]> |
| 15823 |
|
| 15824 |
* configure.in: Move the large file check further up. Only check |
| 15825 |
for endianness if GNU md5 is used (it being the only file that |
| 15826 |
needs endianness information). |
| 15827 |
|
| 15828 |
2005-06-24 Hrvoje Niksic <[email protected]> |
| 15829 |
|
| 15830 |
* configure.in: Include m4/*.m4. |
| 15831 |
|
| 15832 |
* aclocal.m4: Renamed to m4/wget.m4. |
| 15833 |
|
| 15834 |
2005-06-24 Hrvoje Niksic <[email protected]> |
| 15835 |
|
| 15836 |
* configure.in: Enable the user to turn off SSL autodetection and |
| 15837 |
disable SSL using --without-ssl. |
| 15838 |
|
| 15839 |
* Makefile.in ($(srcdir)/stamp-h.in): Remove the aclocal.m4 |
| 15840 |
dependencies. |
| 15841 |
|
| 15842 |
2005-06-24 Hrvoje Niksic <[email protected]> |
| 15843 |
|
| 15844 |
* configure.in: Don't indent #include lines. |
| 15845 |
|
| 15846 |
2005-06-23 Mauro Tortonesi <[email protected]> |
| 15847 |
|
| 15848 |
* libtool.m4, ltmain.sh: Deleted. |
| 15849 |
|
| 15850 |
* configure.in: Replaced ugly libtool-based check for OpenSSL libs |
| 15851 |
with a simpler config.rpath-based approach. |
| 15852 |
|
| 15853 |
* Makefile.in, src/Makefile.in: Removed libtool support. |
| 15854 |
|
| 15855 |
* m4/lib-link.m4, m4/lib-prefix.m4, m4/lib-ld.m4, config.rpath: |
| 15856 |
config.rpath macros taken from gettext 0.14.5. |
| 15857 |
|
| 15858 |
2005-06-23 Hrvoje Niksic <[email protected]> |
| 15859 |
|
| 15860 |
* util/dist-wget: Port to subversion. |
| 15861 |
|
| 15862 |
2005-06-23 Hrvoje Niksic <[email protected]> |
| 15863 |
|
| 15864 |
* src/utils.c (read_file): Ditto. |
| 15865 |
|
| 15866 |
* src/main.c (main): Use struct_fstat. |
| 15867 |
|
| 15868 |
* src/mswindows.h (struct_fstat): Define a struct_fstat to deal with |
| 15869 |
the fact that Borland 5.5 has 64-bit stat, but not 64-bit fstat! |
| 15870 |
|
| 15871 |
2005-06-23 Hrvoje Niksic <[email protected]> |
| 15872 |
|
| 15873 |
* src/sysdep.h: Remove code that deals with Watcom. |
| 15874 |
|
| 15875 |
2005-06-23 Hrvoje Niksic <[email protected]> |
| 15876 |
|
| 15877 |
* src/cmpt.c (strpbrk): Removed. |
| 15878 |
(mktime): Removed. |
| 15879 |
Include <time.h>. |
| 15880 |
|
| 15881 |
2005-06-23 Hrvoje Niksic <[email protected]> |
| 15882 |
|
| 15883 |
* doc/wget.texi (Contributors): Updated list of principal |
| 15884 |
contributors. |
| 15885 |
|
| 15886 |
2005-06-23 Hrvoje Niksic <[email protected]> |
| 15887 |
|
| 15888 |
* configure.in: Don't check for strpbrk and mktime. |
| 15889 |
|
| 15890 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15891 |
|
| 15892 |
* src/sysdep.h: Include the stdbool.h/_Bool/bool blurb from Autoconf. |
| 15893 |
|
| 15894 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15895 |
|
| 15896 |
* src/openssl.c, connect.c, host.c: Replace instances of #ifdef |
| 15897 |
ENABLE_DEBUG if (opt.debug) {...} #endif with IF_DEBUG {...}. |
| 15898 |
|
| 15899 |
* src/main.c: Rename the IF_DEBUG defined here to WHEN_DEBUG. |
| 15900 |
|
| 15901 |
* src/wget.h (IF_DEBUG): New macro. |
| 15902 |
(DEBUGP): Define in terms of IF_DEBUG. |
| 15903 |
|
| 15904 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15905 |
|
| 15906 |
* src/init.c (cmd_lockable_boolean): Removed. |
| 15907 |
|
| 15908 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15909 |
|
| 15910 |
* src/http.c (gethttp): Only handle --set-cookies (and assert that |
| 15911 |
cookie jar exists) if opt.cookies is true. Failure to do so |
| 15912 |
triggered the assert when --no-cookies was used and the server |
| 15913 |
sent a Set-Cookie header. Ouch! |
| 15914 |
|
| 15915 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15916 |
|
| 15917 |
* src/cookies.c (struct cookie): Use 1-bit bitfields for booleans |
| 15918 |
which makes the structure takes less space at no cost in |
| 15919 |
complexity. |
| 15920 |
|
| 15921 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15922 |
|
| 15923 |
* src/connect.c (select_fd): Expect select() to exist. |
| 15924 |
|
| 15925 |
* src/utils.c (xsleep): Always use select() as sleep fallback on |
| 15926 |
non-Windows platforms. |
| 15927 |
|
| 15928 |
* src/ptimer.c: Delete the implementation of PTIMER_TIME. |
| 15929 |
|
| 15930 |
* src/main.c: Assume existence of signal(), test for different signal |
| 15931 |
names instead. |
| 15932 |
|
| 15933 |
* src/cmpt.c: Better document reasons why certain functions are |
| 15934 |
included. |
| 15935 |
|
| 15936 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15937 |
|
| 15938 |
* src/all: Use bool instead of int and false/true instead of 0/non-0 |
| 15939 |
for boolean variables and values. |
| 15940 |
|
| 15941 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15942 |
|
| 15943 |
* src/Makefile.in: Remove the manually maintained dependency list; |
| 15944 |
make all object files depend on every header. |
| 15945 |
|
| 15946 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15947 |
|
| 15948 |
* src/Makefile.in ($(OBJ)): Add the config.h dependency. |
| 15949 |
|
| 15950 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15951 |
|
| 15952 |
* doc/wget.texi: Use the more standard authorship phrase "and others". |
| 15953 |
|
| 15954 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15955 |
|
| 15956 |
* doc/wget.texi (Wgetrc Commands): Remove the "lockable boolean" |
| 15957 |
feature. |
| 15958 |
|
| 15959 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15960 |
|
| 15961 |
* doc/wget.texi (Overview): Remove explicit vertical spacing. |
| 15962 |
|
| 15963 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15964 |
|
| 15965 |
* doc/wget.texi (Mailing List): Remove reference to the wget-cvs list, |
| 15966 |
which no longer exists. |
| 15967 |
|
| 15968 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15969 |
|
| 15970 |
* doc/texinfo.tex: Update with a non-prehistoric version. |
| 15971 |
|
| 15972 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15973 |
|
| 15974 |
* doc/texi2pod.pl: Locate perl using the "env" program, so we don't |
| 15975 |
need to modify texi2pod. |
| 15976 |
|
| 15977 |
* doc/Makefile.in (wget.pod): Work with texi2pod.pl directly instead |
| 15978 |
of generating it from texi2pod.pl.in. |
| 15979 |
|
| 15980 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15981 |
|
| 15982 |
* configure.in: Don't check for signal.h. Remove the |
| 15983 |
AC_HEADER_TIME check. Remove the test for ANSI C prototypes. |
| 15984 |
|
| 15985 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15986 |
|
| 15987 |
* configure.in: Check for C99 conformant stdbool.h. |
| 15988 |
|
| 15989 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 15990 |
|
| 15991 |
* configure.in: Assume existence of gettimeofday and select. |
| 15992 |
gettimeofday exists on all platforms we care about (except for |
| 15993 |
Windows where Windows-specific functions are used instead), and |
| 15994 |
select exists virtually everywhere. |
| 15995 |
|
| 15996 |
* configure.in: Assume existence of strerror, signal, strstr, and |
| 15997 |
memmove, which are all required by ANSI C. |
| 15998 |
|
| 15999 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 16000 |
|
| 16001 |
* config.sub, config.guess: Updated from canonical location. |
| 16002 |
|
| 16003 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 16004 |
|
| 16005 |
* autogen.sh: New file. |
| 16006 |
|
| 16007 |
* Makefile.svn: Deleted, replaced with the even simpler (and more |
| 16008 |
standard) `autogen.sh' script. |
| 16009 |
|
| 16010 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 16011 |
|
| 16012 |
* README.svn: Renamed to README.checkout. Edited to mention the |
| 16013 |
autogen.sh script. |
| 16014 |
|
| 16015 |
2005-06-22 Hrvoje Niksic <[email protected]> |
| 16016 |
|
| 16017 |
* MAILING-LIST: Remove reference to the obsolete `wget-cvs' |
| 16018 |
mailing list. |
| 16019 |
|
| 16020 |
2005-06-21 Hrvoje Niksic <[email protected]> |
| 16021 |
|
| 16022 |
* Makefile.cvs: Renamed to Makefile.svn. |
| 16023 |
|
| 16024 |
* README.cvs: Renamed to README.svn. |
| 16025 |
|
| 16026 |
2005-06-20 Hrvoje Niksic <[email protected]> |
| 16027 |
|
| 16028 |
* src/main.c, ptimer.c, sysdep.h, utils.c: Use #elif to simplify reading of |
| 16029 |
chained if-else-else-else-... statements. |
| 16030 |
|
| 16031 |
2005-06-20 Hrvoje Niksic <[email protected]> |
| 16032 |
|
| 16033 |
* src/hash.c: Rename "mapping" to "cell" to avoid confusion with the |
| 16034 |
term "mapping" (or "map") sometimes being used for the entire hash |
| 16035 |
table. Also rename "non-empty" to "occupied" for easier reading |
| 16036 |
of if (!NON_EMPTY (...)) ... . |
| 16037 |
|
| 16038 |
2005-06-20 Hrvoje Niksic <[email protected]> |
| 16039 |
|
| 16040 |
* src/all: Return type of signal handlers is `void'. Include signal.h |
| 16041 |
unconditionally. |
| 16042 |
|
| 16043 |
* src/all: Don't explicitly cast values returned by malloc. We no |
| 16044 |
longer support ancient compilers that don't declare malloc, and we |
| 16045 |
never supported C++ builds. |
| 16046 |
|
| 16047 |
2005-06-20 Hrvoje Niksic <[email protected]> |
| 16048 |
|
| 16049 |
* doc/ansi2knr.1: Removed. |
| 16050 |
|
| 16051 |
2005-06-20 Hrvoje Niksic <[email protected]> |
| 16052 |
|
| 16053 |
* configure.in: Don't check for the return type of signal |
| 16054 |
handlers; C89 requires it to be void. |
| 16055 |
|
| 16056 |
2005-06-19 Hrvoje Niksic <[email protected]> |
| 16057 |
|
| 16058 |
* src/init.c (cmd_lockable_boolean): Don't recognize literal "2" and |
| 16059 |
"-1" values; unlike 0 and 1, those should never be exposed to the |
| 16060 |
user. Update the error message to be more self-consistent, as |
| 16061 |
proposed by Benno Schulenberg. |
| 16062 |
|
| 16063 |
2005-06-19 Hrvoje Niksic <[email protected]> |
| 16064 |
|
| 16065 |
* src/all: Don't declare errno. Include both time.h and sys/time.h, |
| 16066 |
as long as sys/time.h exists. Don't dereference function pointers |
| 16067 |
when invoking the functions they point to. |
| 16068 |
|
| 16069 |
* src/cmpt.c (memmove): Remove function mandated by C89. |
| 16070 |
(strerror): Ditto. |
| 16071 |
(strstr): Ditto. |
| 16072 |
|
| 16073 |
* src/all: Undo the K&R-ization changes from 2005-05-03. |
| 16074 |
|
| 16075 |
* src/all: Remove support for K&R compilers: use C89 function |
| 16076 |
declarations, remove definition of PARAMS, remove support for |
| 16077 |
varargs, and remove ansi2knr. Assume the presence of time.h, |
| 16078 |
string.h, and other headers mandated by C89. |
| 16079 |
|
| 16080 |
2005-06-19 Hrvoje Niksic <[email protected]> |
| 16081 |
|
| 16082 |
* aclocal.m4: Remove support for K&R compilers. |
| 16083 |
|
| 16084 |
2005-06-18 Hrvoje Niksic <[email protected]> |
| 16085 |
|
| 16086 |
* src/http.c (gethttp): When -E is in use, check for file existence |
| 16087 |
after appending ".html" to the name and modify the file name if |
| 16088 |
necessary. |
| 16089 |
|
| 16090 |
2005-06-18 Hrvoje Niksic <[email protected]> |
| 16091 |
|
| 16092 |
* src/http.c (gethttp): Don't free "head" before using it to save |
| 16093 |
headers. |
| 16094 |
|
| 16095 |
2005-06-17 Hrvoje Niksic <[email protected]> |
| 16096 |
|
| 16097 |
* src/connect.c (socket_has_inet6): Removed. |
| 16098 |
|
| 16099 |
* src/host.c (lookup_host): Don't use the AI_ADDRCONFIG getaddrinfo |
| 16100 |
hint. |
| 16101 |
|
| 16102 |
2005-06-16 Hrvoje Niksic <[email protected]> |
| 16103 |
|
| 16104 |
* src/init.c (cmd_lockable_boolean): Improve the error message so it |
| 16105 |
lists the more useful values first. |
| 16106 |
|
| 16107 |
2005-06-16 Hrvoje Niksic <[email protected]> |
| 16108 |
|
| 16109 |
* doc/wget.texi (Logging and Input File Options): It's --no-verbose, |
| 16110 |
not --non-verbose. |
| 16111 |
|
| 16112 |
2005-06-15 Hrvoje Niksic <[email protected]> |
| 16113 |
|
| 16114 |
* src/http.c (gethttp): Also report the system error when the POST |
| 16115 |
data file is missing. |
| 16116 |
|
| 16117 |
2005-06-15 Hrvoje Niksic <[email protected]> |
| 16118 |
|
| 16119 |
* src/host.h (ip_address): Remove the trailing comma from the type |
| 16120 |
enum in the no-IPv6 case. |
| 16121 |
|
| 16122 |
* src/main.c (struct cmdline_option): Remove the trailing comma from |
| 16123 |
the enum. |
| 16124 |
|
| 16125 |
Reported by Jens Schleusener. |
| 16126 |
|
| 16127 |
2005-06-15 Benno Schulenberg <[email protected]> |
| 16128 |
|
| 16129 |
* src/ftp.c, http.c, connect.c, cookies.c, html-url.c, init.c, res.c: |
| 16130 |
Gettext-ize messages that were previously missed. |
| 16131 |
|
| 16132 |
2005-06-06 Keith Moore <[email protected]> |
| 16133 |
|
| 16134 |
* doc/Makefile.in: Fix a harmless (but annoying) installation warning. |
| 16135 |
|
| 16136 |
2005-05-30 Hrvoje Niksic <[email protected]> |
| 16137 |
|
| 16138 |
* src/url.c (strpbrk_or_eos): Check for a recent GCC version before |
| 16139 |
using the statement-as-expression extension. |
| 16140 |
|
| 16141 |
2005-05-30 Hrvoje Niksic <[email protected]> |
| 16142 |
|
| 16143 |
* src/init.c (cmd_spec_header): Don't split the string along the |
| 16144 |
commas using cmd_vector; just append the new value using |
| 16145 |
vec_append instead. |
| 16146 |
|
| 16147 |
* src/utils.c (vec_append): New function. |
| 16148 |
|
| 16149 |
2005-05-30 Hrvoje Niksic <[email protected]> |
| 16150 |
|
| 16151 |
* src/http.c (gethttp): Don't attempt to "skip short body" if we're |
| 16152 |
issuing a HEAD request (in which case the response head is not |
| 16153 |
followed by a body). |
| 16154 |
|
| 16155 |
2005-05-30 Hrvoje Niksic <[email protected]> |
| 16156 |
|
| 16157 |
* doc/wget.texi (HTTP Options): Removed statement that redirect in |
| 16158 |
response to POST is "technically disallowed", which I cannot find |
| 16159 |
in rfc2616 nor in rfc1945. Even if that were technically the |
| 16160 |
case, the widespreadedness of such responses would make the |
| 16161 |
prohibition irrelevant. |
| 16162 |
|
| 16163 |
2005-05-27 Andreas Beckmann <[email protected]> |
| 16164 |
|
| 16165 |
* src/html-url.c (tag_handle_link): Mark the content from the <link |
| 16166 |
src="..."> tag as expecting HTML. |
| 16167 |
|
| 16168 |
2005-05-24 Hrvoje Niksic <[email protected]> |
| 16169 |
|
| 16170 |
* src/http.c (http_atotm): Document the origin of the "cookie date" |
| 16171 |
format. |
| 16172 |
|
| 16173 |
2005-05-21 Hrvoje Niksic <[email protected]> |
| 16174 |
|
| 16175 |
* src/init.c (setval_internal): Report exact command name alongside |
| 16176 |
the "display name". |
| 16177 |
|
| 16178 |
2005-05-18 Hrvoje Niksic <[email protected]> |
| 16179 |
|
| 16180 |
* src/cookies.c (update_cookie_field): Explicitly cast -1 to time_t to |
| 16181 |
cope with systems where time_t is unsigned. |
| 16182 |
|
| 16183 |
* src/cookies.c: Remove unnecessary casts to time_t from values |
| 16184 |
already of that type. |
| 16185 |
|
| 16186 |
2005-05-17 Hrvoje Niksic <[email protected]> |
| 16187 |
|
| 16188 |
* src/ftp.c (ftp_loop_internal): Same here. |
| 16189 |
|
| 16190 |
* src/http.c (http_loop): Don't clobber the file when -c is specified |
| 16191 |
and the first attempt to retrieve the file fails. |
| 16192 |
|
| 16193 |
2005-05-16 Hrvoje Niksic <[email protected]> |
| 16194 |
|
| 16195 |
* src/openssl.c (ssl_check_certificate): Print all issues with a |
| 16196 |
certificate. |
| 16197 |
|
| 16198 |
2005-05-16 Hrvoje Niksic <[email protected]> |
| 16199 |
|
| 16200 |
* src/init.c (cleanup): Don't free the non-existent opt.ftp_acc. Free |
| 16201 |
the SSL-related stuff. |
| 16202 |
|
| 16203 |
2005-05-16 Hrvoje Niksic <[email protected]> |
| 16204 |
|
| 16205 |
* src/ftp.c (print_length): Consistently print \n at end of the |
| 16206 |
"Length" line. |
| 16207 |
|
| 16208 |
2005-05-16 Hrvoje Niksic <[email protected]> |
| 16209 |
|
| 16210 |
* src/ftp-basic.c: Don't xfree() the line returned by ftp_response if |
| 16211 |
the returned code is not FTPOK. |
| 16212 |
|
| 16213 |
2005-05-14 Hrvoje Niksic <[email protected]> |
| 16214 |
|
| 16215 |
* src/openssl.c (ssl_connect): Announce the beginning and the end of |
| 16216 |
the SSL handshake when in debug mode. |
| 16217 |
|
| 16218 |
* src/wget.h (PTR_FORMAT): New macro for easier printing of pointer |
| 16219 |
values. Use %0*lx along with PTR_FORMAT instead of %p. |
| 16220 |
|
| 16221 |
2005-05-14 Hrvoje Niksic <[email protected]> |
| 16222 |
|
| 16223 |
* src/http.c (gethttp): Would forget to close the connection when |
| 16224 |
keep_alive was not used. |
| 16225 |
|
| 16226 |
2005-05-14 Hrvoje Niksic <[email protected]> |
| 16227 |
|
| 16228 |
* doc/wget.texi (Overview): Document --[no-]proxy as primarily being |
| 16229 |
used to turn *off* the use of proxies. |
| 16230 |
|
| 16231 |
2005-05-13 Hrvoje Niksic <[email protected]> |
| 16232 |
|
| 16233 |
* src/openssl.c (pattern_match): Document the code that decides |
| 16234 |
whether "*" matches ".". |
| 16235 |
|
| 16236 |
2005-05-12 Hrvoje Niksic <[email protected]> |
| 16237 |
|
| 16238 |
* src/url.c (rewrite_shorthand_url): Don't rewrite "https://host" to |
| 16239 |
"ftp://https//host" when SSL is not used. |
| 16240 |
|
| 16241 |
2005-05-12 Hrvoje Niksic <[email protected]> |
| 16242 |
|
| 16243 |
* src/ftp-ls.c (ftp_index): Use %d to print the port number, which is |
| 16244 |
now int. |
| 16245 |
From Steven M. Schweda's VMS patches. |
| 16246 |
|
| 16247 |
2005-05-11 Hrvoje Niksic <[email protected]> |
| 16248 |
|
| 16249 |
* src/openssl.c (ssl_init): Always use SSL_VERIFY_NONE, so that the |
| 16250 |
handshake finishes even if the certificate is invalid. That way |
| 16251 |
ssl_check_server_identity can provide better diagnostics on why |
| 16252 |
the verification failed. |
| 16253 |
|
| 16254 |
2005-05-11 Hrvoje Niksic <[email protected]> |
| 16255 |
|
| 16256 |
* src/openssl.c (ssl_check_server_identity): Renamed to |
| 16257 |
ssl_check_certificate because it does more than just checking the |
| 16258 |
server's identity. |
| 16259 |
(ssl_check_certificate): Tell the user about |
| 16260 |
--no-check-certificate. |
| 16261 |
|
| 16262 |
2005-05-11 Hrvoje Niksic <[email protected]> |
| 16263 |
|
| 16264 |
* src/openssl.c (pattern_match): New function. |
| 16265 |
(ssl_check_server_identity): Treat peer certificate common name as |
| 16266 |
wildcard. |
| 16267 |
|
| 16268 |
2005-05-11 Hrvoje Niksic <[email protected]> |
| 16269 |
|
| 16270 |
* doc/wget.texi (HTTPS (SSL/TLS) Options): Explain certificate |
| 16271 |
checking in more detail. |
| 16272 |
|
| 16273 |
2005-05-10 Hrvoje Niksic <[email protected]> |
| 16274 |
|
| 16275 |
* src/res.c (res_register_specs): Correctly pass pointers to |
| 16276 |
hash_table_get_pair. |
| 16277 |
|
| 16278 |
2005-05-10 Hrvoje Niksic <[email protected]> |
| 16279 |
|
| 16280 |
* src/openssl.c (ssl_check_server_identity): Print certificate subject |
| 16281 |
and issuer. |
| 16282 |
|
| 16283 |
2005-05-10 Hrvoje Niksic <[email protected]> |
| 16284 |
|
| 16285 |
* src/http.c (gethttp): Call ssl_check_server_identity. |
| 16286 |
|
| 16287 |
* src/openssl.c (ssl_check_server_identity): New function, verifies |
| 16288 |
that the host name in the certificate matches the actual host |
| 16289 |
name. |
| 16290 |
(verify_cert_callback): Removed, since it didn't do anything |
| 16291 |
except returning the preverify_ok argument. |
| 16292 |
|
| 16293 |
* src/connect.c (fd_transport_context): Allow retrieval of the context |
| 16294 |
pointer registered with fd_register_transport. |
| 16295 |
|
| 16296 |
2005-05-10 Hrvoje Niksic <[email protected]> |
| 16297 |
|
| 16298 |
* configure.in: Test for OpenSSL includes we actually need. |
| 16299 |
|
| 16300 |
2005-05-09 Hrvoje Niksic <[email protected]> |
| 16301 |
|
| 16302 |
* src/openssl.c (verify_cert_callback): Renamed from verify_callback. |
| 16303 |
Always return the received "ok" value. Print the X509 name in |
| 16304 |
debug mode. |
| 16305 |
(ssl_init): Enable partial writes in SSL context. |
| 16306 |
|
| 16307 |
2005-05-08 Hrvoje Niksic <[email protected]> |
| 16308 |
|
| 16309 |
* src/netrc.c (parse_netrc): Explicitly check for assignment != NULL |
| 16310 |
to silence warning from Borland C. |
| 16311 |
|
| 16312 |
* src/url.c (sync_path): Don't unnecessarily increment p. |
| 16313 |
(url_parse): Don't unnecessarily set url_encode to NULL just |
| 16314 |
prior to return from the function. |
| 16315 |
|
| 16316 |
2005-05-08 Hrvoje Niksic <[email protected]> |
| 16317 |
|
| 16318 |
* src/log.c (escnonprint_internal): Place variable declarations |
| 16319 |
before other statements. |
| 16320 |
|
| 16321 |
2005-05-08 Hrvoje Niksic <[email protected]> |
| 16322 |
|
| 16323 |
* src/init.c (run_command): Correctly interpret the return value of |
| 16324 |
parse_line. |
| 16325 |
(commands): Re-alphabetize. |
| 16326 |
|
| 16327 |
2005-05-08 Hrvoje Niksic <[email protected]> |
| 16328 |
|
| 16329 |
* src/http.c (http_loop): Check for wildcards in the URL path |
| 16330 |
component, not in the whole URL. |
| 16331 |
|
| 16332 |
* src/ftp.c (ftp_loop): Check for wildcards in URL path before |
| 16333 |
unescaping, so the users can escape globbing metacharacters with % |
| 16334 |
escapes. |
| 16335 |
|
| 16336 |
2005-05-08 Hrvoje Niksic <[email protected]> |
| 16337 |
|
| 16338 |
* src/html-url.c: Include recur.h. |
| 16339 |
|
| 16340 |
* src/http.c (request_new): Define as accepting no args. |
| 16341 |
|
| 16342 |
2005-05-08 Hrvoje Niksic <[email protected]> |
| 16343 |
|
| 16344 |
* doc/texi2pod.pl.in: Allow an "EXAMPLES" section. |
| 16345 |
|
| 16346 |
2005-05-07 Hrvoje Niksic <[email protected]> |
| 16347 |
|
| 16348 |
* src/url.c (strpbrk_or_eos): Made inline. Use strchr(s, '\0') for |
| 16349 |
finding the NUL char position. |
| 16350 |
|
| 16351 |
2005-05-07 Hrvoje Niksic <[email protected]> |
| 16352 |
|
| 16353 |
* src/url.c (decide_copy_method): Renamed to char_needs_escaping. |
| 16354 |
Since it now returns only two possible values, change it to return |
| 16355 |
boolean (int). |
| 16356 |
|
| 16357 |
2005-05-07 Hrvoje Niksic <[email protected]> |
| 16358 |
|
| 16359 |
* src/url.c (decide_copy_method): Never cause reencode_escapes to |
| 16360 |
decode % escapes; it is too intrusive and breaks some servers. |
| 16361 |
|
| 16362 |
2005-05-07 Hrvoje Niksic <[email protected]> |
| 16363 |
|
| 16364 |
* src/http.c (gethttp): When tunnelling SSL traffic over proxy with |
| 16365 |
CONNECT, we're really talking to the remote server directly. |
| 16366 |
Because of this, the request-line argument must be the URL path |
| 16367 |
rather than the whole URL, as it would be when using regular |
| 16368 |
proxies. |
| 16369 |
Reported by Charles Lane. |
| 16370 |
|
| 16371 |
2005-05-07 Hrvoje Niksic <[email protected]> |
| 16372 |
|
| 16373 |
* src/ftp-basic.c (ftp_request): Prevent newlines in VALUE causing |
| 16374 |
inadvertent sending of multiple FTP commands. |
| 16375 |
|
| 16376 |
2005-05-06 Hrvoje Niksic <[email protected]> |
| 16377 |
|
| 16378 |
* src/main.c (print_help): Fix wording of --secure-protocol help text. |
| 16379 |
|
| 16380 |
2005-05-06 Hrvoje Niksic <[email protected]> |
| 16381 |
|
| 16382 |
* src/init.c (cmd_spec_useragent): Allow empty User-Agent. |
| 16383 |
|
| 16384 |
* src/http.c (gethttp): Don't print "unknown authentication scheme" |
| 16385 |
for failed Basic authentication. |
| 16386 |
(SET_USER_AGENT): Don't set user-agent if opt.useragent is empty. |
| 16387 |
(gethttp): Use alloca for allocation of www_authenticate. |
| 16388 |
|
| 16389 |
2005-05-06 Hrvoje Niksic <[email protected]> |
| 16390 |
|
| 16391 |
* src/cmpt.c (strstr): Updated from glibc 2.3.5. |
| 16392 |
|
| 16393 |
2005-05-06 Hrvoje Niksic <[email protected]> |
| 16394 |
|
| 16395 |
* doc/wget.texi (HTTP Options): Document empty user-agent. |
| 16396 |
|
| 16397 |
2005-05-06 Hrvoje Niksic <[email protected]> |
| 16398 |
|
| 16399 |
* doc/wget.texi (Download Options): Explain that the read timeout |
| 16400 |
really refers to idle timeout. |
| 16401 |
(Download Options): Mention that decimal and subsecond values may |
| 16402 |
be used for timeouts. |
| 16403 |
|
| 16404 |
2005-05-06 Hrvoje Niksic <[email protected]> |
| 16405 |
|
| 16406 |
* configure.in: Set MAKEINFO to "true" so build doesn't fail for |
| 16407 |
users without either makeinfo or the pre-packaged info files. |
| 16408 |
|
| 16409 |
2005-05-06 Hrvoje Niksic <[email protected]> |
| 16410 |
|
| 16411 |
* Makefile.in ($(srcdir)/stamp-h.in): Don't print the line with |
| 16412 |
the comment about running autoheader. |
| 16413 |
|
| 16414 |
2005-05-05 Hrvoje Niksic <[email protected]> |
| 16415 |
|
| 16416 |
* src/utils.c (touch): Set access time to current time. |
| 16417 |
|
| 16418 |
2005-05-05 Hrvoje Niksic <[email protected]> |
| 16419 |
|
| 16420 |
* src/url.c (url_unescape): Don't unescape %00, it effectively |
| 16421 |
truncates the string. |
| 16422 |
|
| 16423 |
2005-05-05 Hrvoje Niksic <[email protected]> |
| 16424 |
|
| 16425 |
* src/retr.c (limit_bandwidth_reset): Reset sleep_adjust. |
| 16426 |
(limit_bandwidth): Don't allow huge "adjustment" values that |
| 16427 |
result from being suspended for a while. |
| 16428 |
|
| 16429 |
2005-05-05 Hrvoje Niksic <[email protected]> |
| 16430 |
|
| 16431 |
* src/main.c (main): Propagate option name to setoptval. |
| 16432 |
|
| 16433 |
* src/init.c (setoptval): Accept another argument, OPTNAME. Propagate |
| 16434 |
that argument as the option name independently of the actual |
| 16435 |
command, determined by command_by_name(com). |
| 16436 |
|
| 16437 |
2005-05-05 Hrvoje Niksic <[email protected]> |
| 16438 |
|
| 16439 |
* src/log.c (copy_and_escape): Slightly reduce code repetition between |
| 16440 |
the two loops. |
| 16441 |
|
| 16442 |
2005-05-05 Hrvoje Niksic <[email protected]> |
| 16443 |
|
| 16444 |
* src/log.c (copy_and_escape): Replace the FOR_URI argument with a |
| 16445 |
slightly more general mechanism for specifying different kinds of |
| 16446 |
escape. |
| 16447 |
|
| 16448 |
2005-05-05 Hrvoje Niksic <[email protected]> |
| 16449 |
|
| 16450 |
* src/init.c (parse_line): Make the return value indicate whether |
| 16451 |
there was a syntax error or a setter failed. |
| 16452 |
(run_wgetrc): Return an indication on whether an error has been |
| 16453 |
encountered. |
| 16454 |
(initialize): Abort if there have been errors running either |
| 16455 |
.wgetrc file. |
| 16456 |
|
| 16457 |
2005-05-05 Hrvoje Niksic <[email protected]> |
| 16458 |
|
| 16459 |
* src/http.c (http_atotm): Zero out the whole struct tm being passed |
| 16460 |
to strptime. |
| 16461 |
|
| 16462 |
2005-05-05 Hrvoje Niksic <[email protected]> |
| 16463 |
|
| 16464 |
* src/ftp-basic.c (ftp_response): Fix printing FTP server response. |
| 16465 |
|
| 16466 |
2005-05-05 Hrvoje Niksic <[email protected]> |
| 16467 |
|
| 16468 |
* doc/wget.texi: We're using GFDL 1.2, not 1.1. |
| 16469 |
|
| 16470 |
2005-05-05 Hrvoje Niksic <[email protected]> |
| 16471 |
|
| 16472 |
* doc/wget.texi (Contributors): Updated. |
| 16473 |
|
| 16474 |
2005-05-05 Charles C.Fu <[email protected]> |
| 16475 |
|
| 16476 |
* src/utils.c (proclist): Strip leading slash when calling fnmatch |
| 16477 |
too, otherwise wildcard comparisons always fail. |
| 16478 |
|
| 16479 |
2005-05-04 Hrvoje Niksic <[email protected]> |
| 16480 |
|
| 16481 |
* src/wget.h: If gettext was found but libtintl.h wasn't, declare |
| 16482 |
gettext's return type to avoid type mismatches. |
| 16483 |
|
| 16484 |
2005-05-03 Hrvoje Niksic <[email protected]> |
| 16485 |
|
| 16486 |
* src/url.c (url_parse): Rename label `error' to avoid conflict with |
| 16487 |
identifier. |
| 16488 |
|
| 16489 |
* src/retr.c (fd_read_body): Rename label `out' to avoid conflict with |
| 16490 |
identifier. |
| 16491 |
(fd_read_hunk): Use explicit double constant. |
| 16492 |
(retrieve_from_file): Don't use string concatenation. |
| 16493 |
(sleep_between_retrievals): Make sure xsleep is called with a |
| 16494 |
`double' argument. |
| 16495 |
(no_proxy_match): Define as static, like it is declared. |
| 16496 |
|
| 16497 |
* src/progress.c (bar_create): Use 0.0 instead of 0 because K&R |
| 16498 |
compilers can't automatically promote it. |
| 16499 |
|
| 16500 |
* src/http-ntlm.c (ntlm_output): Replace \xHH sequences with \OOO for |
| 16501 |
the sake of old compilers. |
| 16502 |
|
| 16503 |
* src/ftp.c (ftp_loop_internal): Don't use string concatenation. |
| 16504 |
|
| 16505 |
* src/http.c (request_send): Use explicit double constants when |
| 16506 |
calling fd_read and fd_write. |
| 16507 |
(post_file): Ditto. |
| 16508 |
(gethttp): Ditto. |
| 16509 |
(skip_short_body): Ditto. |
| 16510 |
|
| 16511 |
* src/ftp-basic.c: When calling fd_write, specify the last argument as |
| 16512 |
a `double' constant for the sake of K&R compilers which don't see |
| 16513 |
the prototype and therefore can't promote it to double |
| 16514 |
automatically. |
| 16515 |
|
| 16516 |
* src/cookies.c (cookie_jar_load): Rename abort label to abort_cookie |
| 16517 |
to avoid name conflict in K&R compilers. |
| 16518 |
|
| 16519 |
2005-05-02 Hrvoje Niksic <[email protected]> |
| 16520 |
|
| 16521 |
* INSTALL: Document environment variables affecting configure, |
| 16522 |
especially $CC. |
| 16523 |
|
| 16524 |
* INSTALL: Mention that make install requires root. |
| 16525 |
|
| 16526 |
2005-04-29 Hrvoje Niksic <[email protected]> |
| 16527 |
|
| 16528 |
* src/ptimer.c (posix_init): Since we allow _POSIX_MONOTONIC_CLOCK==0, |
| 16529 |
it is not enough to check for _POSIX_MONOTONIC_CLOCK-0, we must |
| 16530 |
also check for defined(_POSIX_MONOTONIC_CLOCK). |
| 16531 |
|
| 16532 |
2005-04-29 Hrvoje Niksic <[email protected]> |
| 16533 |
|
| 16534 |
* configure.in: Don't set ipv6 to yes only because struct |
| 16535 |
sockaddr_in6 was found. Stop the rest of the IPv6 checks when one |
| 16536 |
check fails. Abort if IPv6 was explicitly requested, but not |
| 16537 |
found. |
| 16538 |
|
| 16539 |
2005-04-28 Hrvoje Niksic <[email protected]> |
| 16540 |
|
| 16541 |
* windows/Makefile.top.bor: Use MAKEDIR for make clean too. |
| 16542 |
|
| 16543 |
2005-04-28 Hrvoje Niksic <[email protected]> |
| 16544 |
|
| 16545 |
* windows/Makefile.src.bor: Don't suppress unreachable code |
| 16546 |
warning. |
| 16547 |
|
| 16548 |
2005-04-28 Hrvoje Niksic <[email protected]> |
| 16549 |
|
| 16550 |
* windows/Makefile.src.bor: Don't delete executables other than |
| 16551 |
wget.exe. Delete various auxilliary files created by the Borland |
| 16552 |
build process. |
| 16553 |
|
| 16554 |
2005-04-28 Hrvoje Niksic <[email protected]> |
| 16555 |
|
| 16556 |
* src/init.c (commands): Wrap the use of opt.random_file in #ifdef |
| 16557 |
HAVE_SSL. |
| 16558 |
|
| 16559 |
2005-04-28 Hrvoje Niksic <[email protected]> |
| 16560 |
|
| 16561 |
* src/http.c (gethttp): Correctly set the user agent. |
| 16562 |
|
| 16563 |
2005-04-28 Hrvoje Niksic <[email protected]> |
| 16564 |
|
| 16565 |
* src/ftp.c, hash.c, connect.c, host.c, http.c: Remove unreached code, |
| 16566 |
such as "break" following return or abort. |
| 16567 |
|
| 16568 |
2005-04-28 Hrvoje Niksic <[email protected]> |
| 16569 |
|
| 16570 |
* NEWS: Advertise new-style syntax for --no-dns-cache instead |
| 16571 |
of --dns-cache=off. |
| 16572 |
|
| 16573 |
2005-04-28 Hrvoje Niksic <[email protected]> |
| 16574 |
|
| 16575 |
* INSTALL: Mention --disable-ntlm. |
| 16576 |
|
| 16577 |
2005-04-28 Herold Heiko <[email protected]> |
| 16578 |
|
| 16579 |
* windows/wget.dep: Rename gen_sslfunc.c to openssl.c. |
| 16580 |
|
| 16581 |
2005-04-27 Mauro Tortonesi <[email protected]> |
| 16582 |
|
| 16583 |
* src/main.c: Map --ftp-password, --http-password and --proxy-password to |
| 16584 |
the new ftppassword, httppassword and proxypassword commands |
| 16585 |
respectively. Document the --user and --password options in the help |
| 16586 |
string. |
| 16587 |
|
| 16588 |
2005-04-27 Mauro Tortonesi <[email protected]> |
| 16589 |
|
| 16590 |
* src/ftp.c: Add support for --user and --password. |
| 16591 |
|
| 16592 |
* src/http.c: Add support for --user and --password. |
| 16593 |
|
| 16594 |
* src/init.c: Deprecated ftppasswd, httppasswd, login, passwd and |
| 16595 |
proxypasswd commands. Added ftppassword, ftpuser, httppassword, |
| 16596 |
password, proxypassword and user commands. |
| 16597 |
|
| 16598 |
* src/main.c: Renamed --ftp-passwd to --ftp-password. Added --ftp-user, |
| 16599 |
--http-password, --password, --proxy-password and --user. Deprecated |
| 16600 |
--http-passwd and --proxy-passwd. Added documentation for new options |
| 16601 |
and removed documentation for deprecated options in the help string. |
| 16602 |
|
| 16603 |
* src/options.h (struct options): Added user and passwd members to handle |
| 16604 |
--user and --password respectively. Renamed ftp_acc and ftp_pass |
| 16605 |
members to ftp_user and ftp_passwd for consistency. |
| 16606 |
|
| 16607 |
2005-04-27 Mauro Tortonesi <[email protected]> |
| 16608 |
|
| 16609 |
* doc/wget.texi: Fixed a broken reference to Security Considerations |
| 16610 |
section in tex-generated documents (like the man page). |
| 16611 |
|
| 16612 |
2005-04-27 Mauro Tortonesi <[email protected]> |
| 16613 |
|
| 16614 |
* doc/wget.texi: Document --user, --password, --ftp-user and the |
| 16615 |
corresponding Wgetrc command. Renamed --ftp-passwd to --ftp-password, |
| 16616 |
--http-passwd to --http-passwd and --proxy-passwd to proxy_password. |
| 16617 |
Renamed ftp_passwd to ftp_password, http_passwd to http_passwd and |
| 16618 |
proxy_passwd to proxy_password. Removed documentation for the |
| 16619 |
deprecated login command. |
| 16620 |
|
| 16621 |
2005-04-27 Mauro Tortonesi <[email protected]> |
| 16622 |
|
| 16623 |
* NEWS: Mention the new --ftp-user, --ftp-password, --user and |
| 16624 |
--password options, the name changes for --http-passwd and |
| 16625 |
--proxy-passwd and the deprecation of login and passwd commands. |
| 16626 |
|
| 16627 |
2005-04-27 Hrvoje Niksic <[email protected]> |
| 16628 |
|
| 16629 |
* src/openssl.c (ssl_init): Ditto. |
| 16630 |
|
| 16631 |
* src/options.h (struct options): Allow separate specification of key |
| 16632 |
type and certificate type. |
| 16633 |
|
| 16634 |
* src/init.c (cmd_spec_cert_type): Provide a "der" synonym for "asn1" |
| 16635 |
certificate encoding. |
| 16636 |
|
| 16637 |
2005-04-27 Hrvoje Niksic <[email protected]> |
| 16638 |
|
| 16639 |
* src/openssl.c (init_prng): Disable the weak random seed by default. |
| 16640 |
|
| 16641 |
* src/http.c (gethttp): Simplify SSL initialization; disable SSL when |
| 16642 |
anything goes wrong with the initialization. |
| 16643 |
|
| 16644 |
* src/options.h (struct options): New option opt.random_file. |
| 16645 |
|
| 16646 |
2005-04-27 Hrvoje Niksic <[email protected]> |
| 16647 |
|
| 16648 |
* src/main.c (print_help): Advertise "DER", not "ASN1". |
| 16649 |
|
| 16650 |
2005-04-27 Hrvoje Niksic <[email protected]> |
| 16651 |
|
| 16652 |
* src/init.c: Wrap private key commands in IF_SSL. |
| 16653 |
|
| 16654 |
2005-04-27 Hrvoje Niksic <[email protected]> |
| 16655 |
|
| 16656 |
* src/init.c (cmd_spec_useragent): Free the old value of |
| 16657 |
opt.useragent before setting the new one. |
| 16658 |
|
| 16659 |
2005-04-27 Hrvoje Niksic <[email protected]> |
| 16660 |
|
| 16661 |
* doc/wget.texi: Improve wording of command descriptions. |
| 16662 |
|
| 16663 |
2005-04-27 Hrvoje Niksic <[email protected]> |
| 16664 |
|
| 16665 |
* doc/wget.texi: Document the new form of SSL/TLS options. |
| 16666 |
|
| 16667 |
2005-04-27 Hrvoje Niksic <[email protected]> |
| 16668 |
|
| 16669 |
* doc/wget.texi (HTTPS (SSL/TLS) Options): Document --random-file. |
| 16670 |
|
| 16671 |
2005-04-27 Hrvoje Niksic <[email protected]> |
| 16672 |
|
| 16673 |
* doc/wget.texi (HTTP Options): Mention --keep-session-cookies when |
| 16674 |
documenting --post-data. |
| 16675 |
|
| 16676 |
2005-04-27 Hrvoje Niksic <[email protected]> |
| 16677 |
|
| 16678 |
* doc/wget.texi (Download Options): Fix bind address cindex entry that |
| 16679 |
broke concept index generation. |
| 16680 |
|
| 16681 |
2005-04-26 Hrvoje Niksic <[email protected]> |
| 16682 |
|
| 16683 |
* src/openssl.c: Renamed "gen_sslfunc.c" to "openssl.c" and |
| 16684 |
"gen_sslfunc.h" to "openssl.h". This reflects the intent of |
| 16685 |
openssl.c encapsulating the OpenSSL-specific code. |
| 16686 |
|
| 16687 |
2005-04-26 Hrvoje Niksic <[email protected]> |
| 16688 |
|
| 16689 |
* src/init.c: Renamed "closure" (a synonym for context in some |
| 16690 |
cultures) to "place", which more accurately reflects the usage. |
| 16691 |
|
| 16692 |
2005-04-26 Hrvoje Niksic <[email protected]> |
| 16693 |
|
| 16694 |
* src/http.c (gethttp): Call skip_short_body only if keep_alive is in |
| 16695 |
use. |
| 16696 |
(gethttp): Send the User-Agent header with the CONNECT request as |
| 16697 |
well. |
| 16698 |
|
| 16699 |
2005-04-26 Hrvoje Niksic <[email protected]> |
| 16700 |
|
| 16701 |
* src/gen_sslfunc.c (ssl_init): Use default locations for loading the |
| 16702 |
certificate bundles. |
| 16703 |
(ssl_init_prng): Disable the cryptographically weak PRNG |
| 16704 |
initialization fallback. |
| 16705 |
|
| 16706 |
* src/init.c: Renamed SSL command-line arguments and wgetrc commands. |
| 16707 |
(defaults): Check the server certificate by default. |
| 16708 |
|
| 16709 |
2005-04-26 Hrvoje Niksic <[email protected]> |
| 16710 |
|
| 16711 |
* src/cookies.c (cookie_handle_set_cookie): Delete the part of the |
| 16712 |
path after the trailing slash. |
| 16713 |
|
| 16714 |
* src/http.c (gethttp): Call cookie_handle_set_cookie with path that |
| 16715 |
begins with '/'. |
| 16716 |
|
| 16717 |
2005-04-26 Hrvoje Niksic <[email protected]> |
| 16718 |
|
| 16719 |
* doc/wget.texi (Option Syntax): Document boolean options. Include |
| 16720 |
the option syntax in the man page. |
| 16721 |
(Directory Options): Removed stray text after --protocol-directories. |
| 16722 |
|
| 16723 |
2005-04-26 Hrvoje Niksic <[email protected]> |
| 16724 |
|
| 16725 |
* doc/wget.texi (HTTP Options): Improved entry on |
| 16726 |
--keep-session-cookies. |
| 16727 |
|
| 16728 |
2005-04-26 Hrvoje Niksic <[email protected]> |
| 16729 |
|
| 16730 |
* doc/wget.texi (Directory Options): Removed stray text after |
| 16731 |
--protocol-directories. |
| 16732 |
|
| 16733 |
2005-04-25 Hrvoje Niksic <[email protected]> |
| 16734 |
|
| 16735 |
* src/main.c (option_data): Removed support for the undocumented flag |
| 16736 |
--use-proxy. |
| 16737 |
|
| 16738 |
2005-04-25 Hrvoje Niksic <[email protected]> |
| 16739 |
|
| 16740 |
* src/main.c (option_data): Don't treat -Y as a boolean switch; treat |
| 16741 |
it as a value switch instead, so "-Y off" continues to work. |
| 16742 |
|
| 16743 |
2005-04-25 Hrvoje Niksic <[email protected]> |
| 16744 |
|
| 16745 |
* doc/wget.texi (Download Options): Document --retry-connrefused. |
| 16746 |
|
| 16747 |
2005-04-25 Hrvoje Niksic <[email protected]> |
| 16748 |
|
| 16749 |
* doc/wget.texi (Advanced Usage): Don't advertise the non-existent |
| 16750 |
`-s' option. |
| 16751 |
|
| 16752 |
2005-04-25 Hrvoje Niksic <[email protected]> |
| 16753 |
|
| 16754 |
* doc/Makefile.in (wget.info): Depend on version.texi as well. |
| 16755 |
|
| 16756 |
* doc/wget.texi: Simplify copyright. Replace remaining instances of |
| 16757 |
--OPTION=off with --no-OPTION. |
| 16758 |
|
| 16759 |
2005-04-24 Hrvoje Niksic <[email protected]> |
| 16760 |
|
| 16761 |
* src/utils.c (aprintf): Delete unreachable statement. |
| 16762 |
|
| 16763 |
2005-04-24 Hrvoje Niksic <[email protected]> |
| 16764 |
|
| 16765 |
* src/host.c (cmp_prefer_ipv4): New function. |
| 16766 |
(cmp_prefer_ipv6): New function. |
| 16767 |
(lookup_host): Use the appropriate comparator according to |
| 16768 |
opt.prefer_family. |
| 16769 |
|
| 16770 |
* src/init.c: New option prefer_family. |
| 16771 |
|
| 16772 |
* src/host.c (is_valid_ipv6_address): Spell NS_* constants in lower |
| 16773 |
case to avoid clash with system headers. |
| 16774 |
(lookup_host): Reorder the addresses so that IPv4 ones come first. |
| 16775 |
|
| 16776 |
* src/utils.c (stable_sort): New function. |
| 16777 |
|
| 16778 |
2005-04-24 Hrvoje Niksic <[email protected]> |
| 16779 |
|
| 16780 |
* src/connect.c (retryable_socket_connect_error): Return 0 for |
| 16781 |
ENETUNREACH and EHOSTUNREACH. |
| 16782 |
|
| 16783 |
2005-04-24 Hrvoje Niksic <[email protected]> |
| 16784 |
|
| 16785 |
* doc/wget.texi (Download Options): Don't claim that -6 accepts mapped |
| 16786 |
IPv4 addresses. |
| 16787 |
|
| 16788 |
2005-04-24 Hrvoje Niksic <[email protected]> |
| 16789 |
|
| 16790 |
* doc/wget.texi (Download Options): Document --prefer-family. |
| 16791 |
|
| 16792 |
2005-04-23 Hrvoje Niksic <[email protected]> |
| 16793 |
|
| 16794 |
* src/utils.c (base64_encode): Treat input as unsigned chars. |
| 16795 |
Required for correct encoding of binary stuff. |
| 16796 |
|
| 16797 |
2005-04-23 Hrvoje Niksic <[email protected]> |
| 16798 |
|
| 16799 |
* src/http-ntlm.c: Format the function definitions in an |
| 16800 |
ansi2knr-friendly fashion. |
| 16801 |
|
| 16802 |
2005-04-23 Hrvoje Niksic <[email protected]> |
| 16803 |
|
| 16804 |
* src/cmpt.c: Reenable the memmove implementation for systems that |
| 16805 |
lack it. |
| 16806 |
|
| 16807 |
* src/http.c (gethttp): Store the "authorized" state of the persistent |
| 16808 |
connection. |
| 16809 |
(request_remove_header): New function. |
| 16810 |
(gethttp): Don't send the "Basic" authentication if the connection |
| 16811 |
is already authorized. |
| 16812 |
|
| 16813 |
2005-04-23 Hrvoje Niksic <[email protected]> |
| 16814 |
|
| 16815 |
* doc/wget.texi: Documented the SSL command-line options. |
| 16816 |
|
| 16817 |
2005-04-23 Hrvoje Niksic <[email protected]> |
| 16818 |
|
| 16819 |
* doc/wget.texi (Wgetrc Commands): Document ftp_passwd. |
| 16820 |
(FTP Options): Document --ftp-passwd. |
| 16821 |
|
| 16822 |
2005-04-23 Hrvoje Niksic <[email protected]> |
| 16823 |
|
| 16824 |
* doc/texi2pod.pl.in: First process @@ then @}, so @samp{-wget@@} is |
| 16825 |
interpreted correctly. |
| 16826 |
|
| 16827 |
2005-04-22 Hrvoje Niksic <[email protected]> |
| 16828 |
|
| 16829 |
* src/http.c (gethttp): Handle multiple WWW-Authentication headers, |
| 16830 |
only one of which is recognized. Those are sent by IIS with NTLM |
| 16831 |
authorization. |
| 16832 |
(create_authorization_line): Propagate information whether |
| 16833 |
authorization is finished. |
| 16834 |
(gethttp): Only stop authorization when it's really finished, not |
| 16835 |
after fixed two steps. |
| 16836 |
|
| 16837 |
2005-04-22 Hrvoje Niksic <[email protected]> |
| 16838 |
|
| 16839 |
* po/eo.po: Added Esperanto translation. |
| 16840 |
|
| 16841 |
2005-04-21 Hrvoje Niksic <[email protected]> |
| 16842 |
|
| 16843 |
* src/main.c (print_help): Print the EGD option outside the cluster of |
| 16844 |
SSL options. |
| 16845 |
|
| 16846 |
2005-04-21 Hrvoje Niksic <[email protected]> |
| 16847 |
|
| 16848 |
* src/http-ntlm.c (ntlm_output): Fix setting the domain. |
| 16849 |
Suggested by Sami Krank. |
| 16850 |
|
| 16851 |
2005-04-21 Hrvoje Niksic <[email protected]> |
| 16852 |
|
| 16853 |
* src/gen_sslfunc.c (ssl_init): Fix warning message text; mark the |
| 16854 |
message as translatable. |
| 16855 |
|
| 16856 |
2005-04-21 Hrvoje Niksic <[email protected]> |
| 16857 |
|
| 16858 |
* po/vi.po: Added Vietnamese translation. |
| 16859 |
|
| 16860 |
2005-04-20 Mauro Tortonesi <[email protected]> |
| 16861 |
|
| 16862 |
* src/connect.c: Set IPV6_V6ONLY socket option when -6 switch is used. |
| 16863 |
|
| 16864 |
2005-04-20 Hrvoje Niksic <[email protected]> |
| 16865 |
|
| 16866 |
* doc/wget.texi: Document behavior of -6 wrt mapped IPv4 addresses. |
| 16867 |
|
| 16868 |
2005-04-20 Hrvoje Niksic <[email protected]> |
| 16869 |
|
| 16870 |
* doc/wget.texi: Document IPv6 related options. |
| 16871 |
|
| 16872 |
2005-04-20 FUJISHIMA Satsuki <[email protected]> |
| 16873 |
|
| 16874 |
* src/http.c (request_set_header): Fix the check whether a new header |
| 16875 |
needs to be allocated. |
| 16876 |
|
| 16877 |
2005-04-18 Hrvoje Niksic <[email protected]> |
| 16878 |
|
| 16879 |
* src/utils.c (base64_encode): Use the parameter order that makes more |
| 16880 |
sense. Return the length of the base64 written. Updated all |
| 16881 |
callers. |
| 16882 |
|
| 16883 |
2005-04-18 Hrvoje Niksic <[email protected]> |
| 16884 |
|
| 16885 |
* doc/wget.texi: Update mailing list information. |
| 16886 |
|
| 16887 |
2005-04-18 Hrvoje Niksic <[email protected]> |
| 16888 |
|
| 16889 |
* doc/wget.texi (Download Options): Don't claim that --no-dns-cache is |
| 16890 |
necessary for dyndns servers -- it's not. |
| 16891 |
|
| 16892 |
2005-04-18 Hrvoje Niksic <[email protected]> |
| 16893 |
|
| 16894 |
* MACHINES: Removed. |
| 16895 |
|
| 16896 |
2005-04-17 Hrvoje Niksic <[email protected]> |
| 16897 |
|
| 16898 |
* src/snprintf.c (fmtstr): Declare VALUE as const char *. |
| 16899 |
Based on patch by Russ Allbery. |
| 16900 |
|
| 16901 |
2005-04-17 Hrvoje Niksic <[email protected]> |
| 16902 |
|
| 16903 |
* src/snprintf.c (fmtfp): More correct handling of significant digit |
| 16904 |
count with %g -- 0.002 has one significant digit, not three. |
| 16905 |
|
| 16906 |
2005-04-17 Hrvoje Niksic <[email protected]> |
| 16907 |
|
| 16908 |
* src/http.c (request_set_header): Free NAME when VALUE is NULL and |
| 16909 |
freeing the header name is requested. |
| 16910 |
|
| 16911 |
2005-04-16 Hrvoje Niksic <[email protected]> |
| 16912 |
|
| 16913 |
* src/snprintf.c: Use the PARAMS macro to handle prototypes. Write |
| 16914 |
function definitions in the ansi2knr-friendly way. |
| 16915 |
(fmtstr): If string precision is specified, don't read VALUE past |
| 16916 |
it. |
| 16917 |
(dopr): Actually print %g and %e formats. |
| 16918 |
(fmtfp): Fix a bug that caused 0.01 to be printed as 0.1. |
| 16919 |
(fmtfp): Use LLONG in floating point conversions to be able to |
| 16920 |
convert more digits. |
| 16921 |
(fmtfp): Interpret precision as number of significant digits with |
| 16922 |
%g. |
| 16923 |
(fmtfp): Omit trailing decimal zeros with %g. |
| 16924 |
|
| 16925 |
* src/snprintf.c: Don't include <ctype.h> because none of it is used. |
| 16926 |
Include strings.h/string.h, as per Autoconf. |
| 16927 |
|
| 16928 |
2005-04-16 Hrvoje Niksic <[email protected]> |
| 16929 |
|
| 16930 |
* src/retr.c (fd_read_body): Respect read timeout with non-interactive |
| 16931 |
or no progress gauge -- treat ETIMEDOUT specially only when |
| 16932 |
progress_interactive. |
| 16933 |
Reported by FUJISHIMA Satsuki. |
| 16934 |
|
| 16935 |
2005-04-16 FUJISHIMA Satsuki <[email protected]> |
| 16936 |
|
| 16937 |
* src/http.c (gethttp): Don't use HTTP/1.0 persistent connections over |
| 16938 |
proxy. |
| 16939 |
|
| 16940 |
2005-04-15 Hrvoje Niksic <[email protected]> |
| 16941 |
|
| 16942 |
* src/ptimer.c: Use _POSIX_TIMERS - 0 > 0, which handles the case when |
| 16943 |
_POSIX_TIMERS is defined but empty, as well as the case when it is |
| 16944 |
undefined. Do the same with the check for _POSIX_MONOTONIC_CLOCK. |
| 16945 |
Suggested by Larry Jones. |
| 16946 |
|
| 16947 |
2005-04-15 Hrvoje Niksic <[email protected]> |
| 16948 |
|
| 16949 |
* src/ptimer.c: Check that _POSIX_TIMERS is defined as well as > 0. |
| 16950 |
Problem reported by Steven M. Schweda. |
| 16951 |
|
| 16952 |
2005-04-14 Hrvoje Niksic <[email protected]> |
| 16953 |
|
| 16954 |
* src/http.c (skip_short_body): Print the skipped body data in debug |
| 16955 |
mode. |
| 16956 |
(skip_short_body): Don't skip more than 4k of body data. |
| 16957 |
(skip_short_body): Return whether the skipping was successful. |
| 16958 |
(gethttp): If skip_short_body failed, invalidate the connection. |
| 16959 |
|
| 16960 |
2005-04-12 Gisle Vanem <[email protected]> |
| 16961 |
|
| 16962 |
* src/ftp.c (getftp): Ditto. |
| 16963 |
|
| 16964 |
* src/http.c (gethttp): Open the output file in binary mode. |
| 16965 |
|
| 16966 |
2005-04-11 Hrvoje Niksic <[email protected]> |
| 16967 |
|
| 16968 |
* src/xmalloc.c (register_ptr): Warn the user to increase SZ prior to |
| 16969 |
aborting. |
| 16970 |
|
| 16971 |
2005-04-11 Hrvoje Niksic <[email protected]> |
| 16972 |
|
| 16973 |
* src/hash.c: Conditionalize including config.h on HAVE_CONFIG_H |
| 16974 |
instead of on STANDALONE. |
| 16975 |
|
| 16976 |
2005-04-11 Hrvoje Niksic <[email protected]> |
| 16977 |
|
| 16978 |
* src/gen_sslfunc.c (ssl_print_errors): Made static. |
| 16979 |
(ssl_print_errors): Eliminate potentially dangerous fixed-size |
| 16980 |
error buffer. Passing NULL to ERR_error_string causes it to use |
| 16981 |
its own static buffer, which is fine for our purposes. |
| 16982 |
|
| 16983 |
* src/gen_sslfunc.c: Include gen_sslfunc.h. Make the declarations of |
| 16984 |
ssl_init and ssl_conect match the actual definitions. |
| 16985 |
(ssl_connect): Simply return a boolean, the SSL context is no |
| 16986 |
longer useful as a return value. |
| 16987 |
|
| 16988 |
* src/retr.c: Don't include SSL headers; we don't need them. |
| 16989 |
|
| 16990 |
2005-04-11 Hrvoje Niksic <[email protected]> |
| 16991 |
|
| 16992 |
* src/convert.c (convert_cleanup): Free converted_files. |
| 16993 |
|
| 16994 |
2005-04-11 Hrvoje Niksic <[email protected]> |
| 16995 |
|
| 16996 |
* src/config-post.h: Don't define _VA_LIST under Solaris; it breaks |
| 16997 |
compilation with GCC 3.4 under Solaris 10. (It was defined to |
| 16998 |
avoid a warning with previous versions of GCC.) |
| 16999 |
|
| 17000 |
2005-04-10 Hrvoje Niksic <[email protected]> |
| 17001 |
|
| 17002 |
* src/wget.h (DEBUGP): Use __builtin_expect to give a hint to GCC that |
| 17003 |
opt.debug is false in the vast majority of cases. |
| 17004 |
|
| 17005 |
2005-04-10 Hrvoje Niksic <[email protected]> |
| 17006 |
|
| 17007 |
* src/config-post.h: Declare alloca as void *, not char *. |
| 17008 |
|
| 17009 |
2005-04-09 Hrvoje Niksic <[email protected]> |
| 17010 |
|
| 17011 |
* src/url.c: Use "static const" in preference to "const static". |
| 17012 |
Sun's cc warns that "storage class after type is obsolescent". |
| 17013 |
|
| 17014 |
* src/url.c (urlchr_table): Don't mark ~ as unsafe, too many broken |
| 17015 |
web sites are confused when ~ is changed to %7E. Their servers |
| 17016 |
redirect /%7Efoo/ to /~foo/, which Wget again accesses using %7E, |
| 17017 |
causing further redirections, therefore looping infinitely. See |
| 17018 |
Debian bug #301624 for an example. |
| 17019 |
|
| 17020 |
2005-04-09 Hrvoje Niksic <[email protected]> |
| 17021 |
|
| 17022 |
* src/recur.c (download_child_p): When -p is used, (temporarily) |
| 17023 |
ignore accept/reject rules for HTMLs, even when they are at the |
| 17024 |
maximum recursion depth. That is because with -p we are, if |
| 17025 |
necessary, overstepping the max. depth to get the requisites. |
| 17026 |
|
| 17027 |
2005-04-09 Hrvoje Niksic <[email protected]> |
| 17028 |
|
| 17029 |
* src/http-ntlm.c (ntlm_output): Use "char", not "unsigned char" for |
| 17030 |
ntlmbuf. Our base64 functions accept char anyway. |
| 17031 |
(ntlm_output): Join up the format string, since we nominally |
| 17032 |
support K&R compilers. |
| 17033 |
(ntlm_output): Ditto. |
| 17034 |
|
| 17035 |
2005-04-09 Hrvoje Niksic <[email protected]> |
| 17036 |
|
| 17037 |
* src/alloca.c: Include wget.h to be able to use xmalloc. In addition |
| 17038 |
to defining malloc to xmalloc, also define free to xfree. |
| 17039 |
|
| 17040 |
2005-04-08 Larry Jones <[email protected]> |
| 17041 |
|
| 17042 |
* doc/Makefile.in (wget.info): Don't use $< in an explicit rule. |
| 17043 |
|
| 17044 |
2005-04-08 Hrvoje Niksic <[email protected]> |
| 17045 |
|
| 17046 |
* windows/Makefile.src: Compile ptimer.c and http-ntlm.c. |
| 17047 |
|
| 17048 |
2005-04-08 Hrvoje Niksic <[email protected]> |
| 17049 |
|
| 17050 |
* src/ptimer.c: Use Windows timers under Cygwin, whose POSIX timer |
| 17051 |
implementation is incomplete. |
| 17052 |
|
| 17053 |
2005-04-08 Hrvoje Niksic <[email protected]> |
| 17054 |
|
| 17055 |
* src/ptimer.c (struct ptimer): Remove the unused initialized field. |
| 17056 |
|
| 17057 |
* src/ptimer.c: Renamed function parameters from WT (which used to |
| 17058 |
stand for wget_timer or wtimer) to PT. |
| 17059 |
|
| 17060 |
2005-04-08 Hrvoje Niksic <[email protected]> |
| 17061 |
|
| 17062 |
* src/ptimer.c (ptimer_init): In fact, _POSIX_MONOTONIC_CLOCK needs to |
| 17063 |
be >= 0. |
| 17064 |
|
| 17065 |
* src/ptimer.c (ptimer_init): Check whether _POSIX_MONOTONIC_CLOCK is |
| 17066 |
defined instead of whether it's greater than 0. glibc defines it |
| 17067 |
to 0, but still makes it available via sysconf. |
| 17068 |
|
| 17069 |
2005-04-08 Hrvoje Niksic <[email protected]> |
| 17070 |
|
| 17071 |
* src/ptimer.c (ptimer_init): Explicitly check that |
| 17072 |
_POSIX_MONOTONIC_CLOCK is *both* defined and >=0. (Undefined |
| 17073 |
symbols are >=0.) |
| 17074 |
|
| 17075 |
2005-04-08 Hrvoje Niksic <[email protected]> |
| 17076 |
|
| 17077 |
* src/ptimer.c (ptimer_diff): Fix typo affecting Windows build. |
| 17078 |
|
| 17079 |
2005-04-08 Hrvoje Niksic <[email protected]> |
| 17080 |
|
| 17081 |
* src/ptimer.c (posix_init): Be smarter about choosing clocks. In |
| 17082 |
decreasing order of preference, use CLOCK_MONOTONIC, |
| 17083 |
CLOCK_HIGHRES, and CLOCK_REALTIME. |
| 17084 |
(ptimer_allocate): Removed. |
| 17085 |
|
| 17086 |
* src/ptimer.c: Refactor the code by cleanly separating the |
| 17087 |
architecture-dependent code from the architecture-independent |
| 17088 |
code. |
| 17089 |
|
| 17090 |
2005-04-08 Hrvoje Niksic <[email protected]> |
| 17091 |
|
| 17092 |
* src/mswindows.c (str_to_int64): Rename OVERFLOW and UNDERFLOW to |
| 17093 |
INT64_OVERFLOW and INT64_UNDERFLOW, since those names are used. |
| 17094 |
|
| 17095 |
2005-04-08 Hrvoje Niksic <[email protected]> |
| 17096 |
|
| 17097 |
* configure.in: When checking for OpenSSL headers, check for all |
| 17098 |
the ones that Wget is using. |
| 17099 |
|
| 17100 |
2005-04-08 Hrvoje Niksic <[email protected]> |
| 17101 |
|
| 17102 |
* configure.in: Use it. |
| 17103 |
|
| 17104 |
* aclocal.m4 (WGET_POSIX_CLOCK): Check whether -lrt is needed to |
| 17105 |
use POSIX clock functions like clock_gettime. |
| 17106 |
|
| 17107 |
2005-04-08 Hrvoje Niksic <[email protected]> |
| 17108 |
|
| 17109 |
* Makefile.in ($(srcdir)/stamp-h.in): Don't attempt to run |
| 17110 |
autoheader automatically; it breaks things with fresh CVS builds. |
| 17111 |
|
| 17112 |
2005-04-07 Hrvoje Niksic <[email protected]> |
| 17113 |
|
| 17114 |
* src/ptimer.c: New file. Move the "wtimer" functions from utils.c to |
| 17115 |
this file and rename them to ptimer_. |
| 17116 |
|
| 17117 |
2005-04-07 Hrvoje Niksic <[email protected]> |
| 17118 |
|
| 17119 |
* src/host.c (NO_ADDRESS): Define NO_ADDRESS only after the system |
| 17120 |
headers have been included. |
| 17121 |
|
| 17122 |
2005-04-06 Hrvoje Niksic <[email protected]> |
| 17123 |
|
| 17124 |
* src/http.c (pconn): Include NTLM data, which is per-connection. |
| 17125 |
(known_authentication_scheme_p): Recognize NTLM authorization. |
| 17126 |
(create_authorization_line): Call ntlm_input and ntlm_output. |
| 17127 |
|
| 17128 |
* src/http-ntlm.c: New file, donated by Daniel Stenberg and originally |
| 17129 |
written for curl, heavily modified for Wget. |
| 17130 |
|
| 17131 |
* src/utils.c (base64_encode): Relocated from http.c, since it is now |
| 17132 |
used by http-ntlm.c, and will possibly be used elsewhere. |
| 17133 |
(base64_decode): New function, originally based on code from GNU |
| 17134 |
recode. |
| 17135 |
|
| 17136 |
2005-04-06 Hrvoje Niksic <[email protected]> |
| 17137 |
|
| 17138 |
* configure.in: Allow the user to disable NTLM authorization. |
| 17139 |
Make sure NTLM is disabled if OpenSSL is unavailable. If NTLM is |
| 17140 |
*explicitly* requested and OpenSSL is unavailable, abort. |
| 17141 |
|
| 17142 |
* configure.in: Renamed USE_* to ENABLE_*. |
| 17143 |
|
| 17144 |
2005-04-05 Mauro Tortonesi <[email protected]> |
| 17145 |
|
| 17146 |
* src/Makefile.in: removed string_t.c from list of source files. |
| 17147 |
|
| 17148 |
2005-04-04 Mauro Tortonesi <[email protected]> |
| 17149 |
|
| 17150 |
* src/string_t.c: Removed. |
| 17151 |
|
| 17152 |
* src/string_t.h: Removed. |
| 17153 |
|
| 17154 |
2005-04-02 Hrvoje Niksic <[email protected]> |
| 17155 |
|
| 17156 |
* src/url.c (rewrite_shorthand_url): Only accept recognized schemes. |
| 17157 |
That way "foo:80" will correctly be rewritten to "http://foo:80" |
| 17158 |
instead of left unchanged and ultimately rejected because of |
| 17159 |
"unsupported scheme foo". |
| 17160 |
|
| 17161 |
2005-04-02 Hrvoje Niksic <[email protected]> |
| 17162 |
|
| 17163 |
* src/ftp.c (ftp_loop): Ditto. |
| 17164 |
|
| 17165 |
* src/ftp-basic.c (ftp_pasv): Use the xzero shorthand for memset(0). |
| 17166 |
(ftp_lpsv): Ditto. |
| 17167 |
|
| 17168 |
2005-03-31 Hrvoje Niksic <[email protected]> |
| 17169 |
|
| 17170 |
* src/utils.c (number_to_string): Avoid explicit 64-bit constants; |
| 17171 |
construct them by multiplication at compile-time. |
| 17172 |
|
| 17173 |
* src/utils.c, elsewhere: Don't append "L" to 32-bit integer |
| 17174 |
constants; we aren't really compilable on 16-bit systems anyway. |
| 17175 |
|
| 17176 |
* src/hash.c (prime_size): Remove primes larger than 2^31, but include |
| 17177 |
2^31-1, which is prime. |
| 17178 |
|
| 17179 |
2005-03-30 Hrvoje Niksic <[email protected]> |
| 17180 |
|
| 17181 |
* src/utils.c (string_set_to_array): New function. |
| 17182 |
|
| 17183 |
* src/convert.c: Replace the use of "slists" with sets/hash-tables, |
| 17184 |
which in fact suit the intended purpose much better. |
| 17185 |
downloaded_html_list is removed altogether. |
| 17186 |
|
| 17187 |
2005-03-29 Hrvoje Niksic <[email protected]> |
| 17188 |
|
| 17189 |
* src/utils.c (numdigit): More correct handling of negative numbers. |
| 17190 |
|
| 17191 |
2005-03-29 Hrvoje Niksic <[email protected]> |
| 17192 |
|
| 17193 |
* src/ftp.h (enum): Rename GLOBALL, GETALL, and GETONE to |
| 17194 |
GLOB_GLOBALL, GLOB_GETALL, and GLOB_GETONE to avoid conflict with |
| 17195 |
Linux headers. |
| 17196 |
|
| 17197 |
2005-03-23 Hrvoje Niksic <[email protected]> |
| 17198 |
|
| 17199 |
* po/POTFILES.in: Removed headers.c and rbuf.c. |
| 17200 |
|
| 17201 |
2005-03-22 Joseph Caretto <[email protected]> |
| 17202 |
|
| 17203 |
* doc/texi2pod.pl.in: Handle asis again. It used to work (see the |
| 17204 |
2001-12-11 entry), but the local change was lost in the upgrade |
| 17205 |
to 1.4. |
| 17206 |
|
| 17207 |
2005-03-21 Hrvoje Niksic <[email protected]> |
| 17208 |
|
| 17209 |
* src/http.c (gethttp): Print the human-readable size. |
| 17210 |
|
| 17211 |
* src/ftp.c (getftp): Print the human-readable size of the file to be |
| 17212 |
downloaded. |
| 17213 |
|
| 17214 |
* src/utils.c (human_readable): New function. |
| 17215 |
|
| 17216 |
* src/utils.c: Renamed "legible" to "with_thousand_seps", |
| 17217 |
"legible_large_int" to "with_thousand_seps_large", and "legible_1" |
| 17218 |
to "add_thousand_seps". |
| 17219 |
|
| 17220 |
2005-03-21 Hrvoje Niksic <[email protected]> |
| 17221 |
|
| 17222 |
* src/http.c (gethttp): Inhibit persistent connections when talking to |
| 17223 |
proxies, as mandated by RFC 2068. |
| 17224 |
|
| 17225 |
2005-03-20 Hrvoje Niksic <[email protected]> |
| 17226 |
|
| 17227 |
* src/url.c (unescape_single_char): New function. |
| 17228 |
(url_escape_dir): Use it to unescape slashes in directory |
| 17229 |
components. |
| 17230 |
(url_string): Escape unsafe chars in host name, except for the ':' |
| 17231 |
charaters, which can appear in IPv6 addresses. |
| 17232 |
|
| 17233 |
* src/main.c (main): Don't access the cookie jar directly. |
| 17234 |
|
| 17235 |
* src/log.c (escnonprint_internal): Correctly calculate the needed |
| 17236 |
string size. Don't forget the buffer's new size after having |
| 17237 |
reallocated it. |
| 17238 |
(log_cleanup): New function. Free the escnonprint ring data. |
| 17239 |
|
| 17240 |
* src/init.c (cleanup): Don't free the cookie jar explicitly, it is |
| 17241 |
now done by http_cleanup. |
| 17242 |
(cleanup): opt.user_headers is now a vector, free it with |
| 17243 |
free_vec. |
| 17244 |
|
| 17245 |
* src/http.c (gethttp): Make sure to free the request data, the status |
| 17246 |
message, and the response data before returning from the function. |
| 17247 |
(save_cookies): New function. |
| 17248 |
(http_cleanup): Free the cookie jar here. |
| 17249 |
|
| 17250 |
* src/hash.c: Renamed string_hash to hash_string and ptrhash to |
| 17251 |
hash_pointer. Exported hash_pointer. |
| 17252 |
|
| 17253 |
* src/xmalloc.c: Organized malloc_table (previously malloc_debug) as a |
| 17254 |
simple EQ hash table. register_ptr and unregister_ptr are now of |
| 17255 |
O(1) complexity. |
| 17256 |
|
| 17257 |
* src/xmalloc.c: Renamed "*_debug" to debugging_* and "*_real" to |
| 17258 |
checking_*. |
| 17259 |
|
| 17260 |
2005-03-18 Hrvoje Niksic <[email protected]> |
| 17261 |
|
| 17262 |
* src/init.c (cmd_file): Use concat_strings. |
| 17263 |
|
| 17264 |
* src/http.c (basic_authentication_encode): Use concat_strings. |
| 17265 |
|
| 17266 |
* src/ftp-ls.c (ftp_index): Use concat_strings. |
| 17267 |
|
| 17268 |
* src/ftp-basic.c (ftp_request): Use concat_strings. |
| 17269 |
|
| 17270 |
* src/utils.c (concat_strings): New function. |
| 17271 |
|
| 17272 |
2005-03-17 Hrvoje Niksic <[email protected]> |
| 17273 |
|
| 17274 |
* src/ftp-basic.c (ftp_login): Don't free the string if ftp_response |
| 17275 |
returned an error status because the line didn't get allocated in |
| 17276 |
the first place. |
| 17277 |
|
| 17278 |
2005-03-15 Hrvoje Niksic <[email protected]> |
| 17279 |
|
| 17280 |
* src/retr.c (fd_read_body): Undo the 2004-11-18 change. Instead, |
| 17281 |
always be "exact". |
| 17282 |
|
| 17283 |
2005-03-15 Hrvoje Niksic <[email protected]> |
| 17284 |
|
| 17285 |
* src/http.c (read_http_response_head): Limit the response size to 64k |
| 17286 |
bytes. |
| 17287 |
|
| 17288 |
* src/retr.c (fd_read_hunk): Accept a MAXSIZE argument that limits the |
| 17289 |
number of bytes the function is allowed to allocate. |
| 17290 |
(fd_read_line): Limit the line to 4096 bytes. |
| 17291 |
|
| 17292 |
2005-03-12 Hrvoje Niksic <[email protected]> |
| 17293 |
|
| 17294 |
* src/wget.h: Include options.h after wgint has been defined. |
| 17295 |
|
| 17296 |
* src/options.h (struct options): Declare options processed with |
| 17297 |
cmd_bytes as wgint, not long. |
| 17298 |
|
| 17299 |
2005-03-12 Hrvoje Niksic <[email protected]> |
| 17300 |
|
| 17301 |
* src/utils.c (debug_test_md5): Moved to gen-md5.c. |
| 17302 |
|
| 17303 |
* src/mswindows.h: Don't declare inet_ntop, since we don't use it. |
| 17304 |
|
| 17305 |
* src/mswindows.h: For consistency, also wrap closesocket, it being |
| 17306 |
a Winsock call. |
| 17307 |
|
| 17308 |
* src/mswindows.h: Don't declare sleep and usleep; we're defining |
| 17309 |
xsleep now. |
| 17310 |
|
| 17311 |
* src/mswindows.h (mkdir): Don't special-case Borland C, _mkdir |
| 17312 |
works there as well. |
| 17313 |
|
| 17314 |
* src/host.c: Don't include winsock header files; the correct ones |
| 17315 |
are already included by mswindows.h. |
| 17316 |
|
| 17317 |
* src/mswindows.c (xsleep): Round toward the nearest millisecond |
| 17318 |
in an attempt to avoid average short sleeps. |
| 17319 |
|
| 17320 |
* src/utils.c (wtimer_granularity): Report correct values for |
| 17321 |
Windows timers and for high-resolution timers. |
| 17322 |
|
| 17323 |
* src/utils.c (wtimer_initialize_once): New function, called to |
| 17324 |
initialize the timer frequency. |
| 17325 |
|
| 17326 |
* src/utils.c: Replace the use of GetSystemTime with high-resolution |
| 17327 |
counters under Windows. When high-resolution counters are |
| 17328 |
unavailable, use GetTickCount(). |
| 17329 |
|
| 17330 |
2005-03-12 Hrvoje Niksic <[email protected]> |
| 17331 |
|
| 17332 |
* src/init.c (simple_atof): Handle negative numbers; skip whitespace |
| 17333 |
before the number. |
| 17334 |
(simple_atoi): Ditto. Also, check for overflow and underflow. |
| 17335 |
(cmd_number): Bail out on negative numbers. |
| 17336 |
(parse_bytes_helper): Ditto. |
| 17337 |
|
| 17338 |
2005-03-06 Hrvoje Niksic <[email protected]> |
| 17339 |
|
| 17340 |
* windows/Makefile.src.bor: Reenable warnings under Borland C, |
| 17341 |
disabling only specific warnings. Generate Pentium Pro code by |
| 17342 |
default. |
| 17343 |
|
| 17344 |
2005-03-06 Hrvoje Niksic <[email protected]> |
| 17345 |
|
| 17346 |
* src/utils.c (read_file): Don't use wgint for file size; LFS won't |
| 17347 |
work since the file is mmap'ed as a whole. |
| 17348 |
|
| 17349 |
* src/options.h: Don't include stdio.h. |
| 17350 |
|
| 17351 |
* src/log.c: Ditto. |
| 17352 |
|
| 17353 |
* src/init.c: Disambiguate assignment from non-zero test to avoid |
| 17354 |
Borland C warning. |
| 17355 |
|
| 17356 |
* src/http.c (response_new): Don't needlessly post-increment count. |
| 17357 |
|
| 17358 |
* src/hash.c: Include stdio.h. |
| 17359 |
|
| 17360 |
* src/gnu-md5.h: Don't include stdio.h. |
| 17361 |
|
| 17362 |
* src/getopt.h (struct option): Always use const. |
| 17363 |
|
| 17364 |
* src/ftp.c (getftp): Avoid unnecessary assignment to RES to avoid |
| 17365 |
Borland C warning. |
| 17366 |
|
| 17367 |
* src/ftp-ls.c: Disambiguate assignment from non-zero test to avoid |
| 17368 |
Borland C warning. |
| 17369 |
|
| 17370 |
* src/cmpt.c (strptime_internal): Don't initialize rp_backup when |
| 17371 |
!_NL_CURRENT to avoid Borland C warning. |
| 17372 |
|
| 17373 |
2005-03-06 Hrvoje Niksic <[email protected]> |
| 17374 |
|
| 17375 |
* src/utils.c (fopen_excl): Fix parse error when O_BINARY is |
| 17376 |
available. |
| 17377 |
|
| 17378 |
2005-03-06 Hrvoje Niksic <[email protected]> |
| 17379 |
|
| 17380 |
* src/url.c (url_parse): Reject port numbers larger than 65535. We |
| 17381 |
also check for overflow while parsing port numbers. |
| 17382 |
|
| 17383 |
2005-03-06 Hrvoje Niksic <[email protected]> |
| 17384 |
|
| 17385 |
* src/mswindows.c: Provide wrappers to Winsock functions that set |
| 17386 |
errno to WSAGetLastError() in case of failure. Also provide a |
| 17387 |
Windows-specific version of strerror. |
| 17388 |
|
| 17389 |
* src/mswindows.h: Wrap calls to socket, bind, connect, recv, send, |
| 17390 |
select, getsockname, getpeername, and setsockopt. |
| 17391 |
|
| 17392 |
2005-03-06 Hrvoje Niksic <[email protected]> |
| 17393 |
|
| 17394 |
* src/init.c (defaults): Use passive FTP by default. |
| 17395 |
|
| 17396 |
2005-03-06 Hrvoje Niksic <[email protected]> |
| 17397 |
|
| 17398 |
* src/http.c (gethttp): Handle multiple Set-Cookie headers sent by |
| 17399 |
remote server. |
| 17400 |
|
| 17401 |
2005-03-05 Hrvoje Niksic <[email protected]> |
| 17402 |
|
| 17403 |
* src/url.c (url_file_name): Don't allow hosts named ".." to be |
| 17404 |
appended as path elements. |
| 17405 |
|
| 17406 |
2005-03-03 Hrvoje Niksic <[email protected]> |
| 17407 |
|
| 17408 |
* src/retr.c (retrieve_url): Escape location header. |
| 17409 |
|
| 17410 |
* src/http.c (print_server_response_1): Escape server response when |
| 17411 |
printing it. |
| 17412 |
(gethttp): Escape host name, status message, location header, and |
| 17413 |
content type. |
| 17414 |
(http_loop): Escape error message from server. |
| 17415 |
|
| 17416 |
* src/host.c (lookup_host): Escape host name when printing it. |
| 17417 |
|
| 17418 |
* src/ftp.c (getftp): Escape user name when printing it. |
| 17419 |
(getftp): Escape remote file and directory for printing. |
| 17420 |
(getftp): Escape server listing when printing it. |
| 17421 |
(ftp_retrieve_list): Escape link name and file name. |
| 17422 |
(ftp_retrieve_glob): Escape file name. |
| 17423 |
|
| 17424 |
* src/ftp-basic.c (ftp_response): Escape server response when printing |
| 17425 |
it. |
| 17426 |
|
| 17427 |
* src/cookies.c (parse_set_cookies): Escape the cookie field when |
| 17428 |
printing it. |
| 17429 |
(parse_set_cookies): Escape contents of remote header. |
| 17430 |
(cookie_handle_set_cookie): Escape host name and cookie domain. |
| 17431 |
|
| 17432 |
* src/connect.c (connect_to_ip): Escape the host name. |
| 17433 |
|
| 17434 |
* src/log.c (escnonprint): New function, used for printing strings |
| 17435 |
coming from the server that possibly contain non-ASCII characters. |
| 17436 |
(escnonprint_uri): Ditto. |
| 17437 |
|
| 17438 |
2005-02-26 Hrvoje Niksic <[email protected]> |
| 17439 |
|
| 17440 |
* src/utils.c: Use the nnnI64 syntax for __int64 constants under all |
| 17441 |
Windows compilers. |
| 17442 |
(SPRINTF_WGINT): Use "%I64" under all Windows compilers. |
| 17443 |
|
| 17444 |
* src/mswindows.h (WGINT_MAX): Use the nnnI64 syntax for |
| 17445 |
__int64 constants under all Windows compilers. |
| 17446 |
(struct_stat): Use `struct stati64' under Borland C. |
| 17447 |
(fstat): Don't redefine to _fstati64 under Borland. |
| 17448 |
|
| 17449 |
* src/mswindows.c: Define str_to_int64 under Borland C as well as |
| 17450 |
under (older) Visual C. |
| 17451 |
|
| 17452 |
2005-02-26 Gisle Vanem <[email protected]> |
| 17453 |
|
| 17454 |
* src/utils.c: Use the nnnLL syntax under GCC. Define struct_stat to |
| 17455 |
struct _stati64 under __MINGW32__ as well as under MS VC. |
| 17456 |
|
| 17457 |
2005-02-25 Hrvoje Niksic <[email protected]> |
| 17458 |
|
| 17459 |
* src/ftp.c (getftp): Initialize err to suppress compiler warning. |
| 17460 |
|
| 17461 |
2005-02-24 Hrvoje Niksic <[email protected]> |
| 17462 |
|
| 17463 |
* src/mswindows.c (wget_ftello): Removed. |
| 17464 |
|
| 17465 |
* src/mswindows.h: Remove bogus definition of stat. |
| 17466 |
(wget_ftello): Remove the leftover ftello replacement. |
| 17467 |
|
| 17468 |
2005-02-24 Hrvoje Niksic <[email protected]> |
| 17469 |
|
| 17470 |
* src/host.c (lookup_host): Test for AI_ADDRCONFIG directly, instead |
| 17471 |
of checking for HAVE_GETADDRINFO_AI_ADDRCONFIG. |
| 17472 |
|
| 17473 |
2005-02-24 Hrvoje Niksic <[email protected]> |
| 17474 |
|
| 17475 |
* src/ftp.c (getftp): Ditto. |
| 17476 |
|
| 17477 |
* src/http.c (gethttp): When we're not supposed to overwrite files, |
| 17478 |
use fopen_excl to open the file and recompute the file name. |
| 17479 |
|
| 17480 |
* src/log.c (redirect_output): Use unique_create to avoid a race |
| 17481 |
condition. |
| 17482 |
|
| 17483 |
* src/mswindows.c (fake_fork_child): Use unique_create. |
| 17484 |
|
| 17485 |
* src/utils.c (fopen_excl): New function that opens a stdio stream |
| 17486 |
with the O_EXCL flag (where available). |
| 17487 |
(unique_create): New function, like unique_name, but also creating |
| 17488 |
the file and returning a file pointer. |
| 17489 |
(fork_to_background): Use unique_create to create the file |
| 17490 |
immediately to avoid race condition with multiple instances of |
| 17491 |
wget -b. |
| 17492 |
|
| 17493 |
2005-02-24 Hrvoje Niksic <[email protected]> |
| 17494 |
|
| 17495 |
* src/ftp.c (ftp_expected_bytes): Fix bug that caused infloop because |
| 17496 |
of not correctly skipping the '(' character. |
| 17497 |
|
| 17498 |
2005-02-23 Hrvoje Niksic <[email protected]> |
| 17499 |
|
| 17500 |
* src/host.c (is_valid_ipv6_address): Move here from url.c. |
| 17501 |
(lookup_host): If the address is numeric, don't print the |
| 17502 |
"resolving..." line, don't set up DNS timeouts, and set the |
| 17503 |
AI_NUMERICHOST hint, where available. |
| 17504 |
|
| 17505 |
2005-02-20 Hrvoje Niksic <[email protected]> |
| 17506 |
|
| 17507 |
* src/mswindows.c (wget_ftello): Wget's replacement for ftello. |
| 17508 |
|
| 17509 |
* src/utils.c (file_size): Use ftello where available. |
| 17510 |
|
| 17511 |
* src/ftp-ls.c (ftp_parse_unix_ls): Use str_to_wgint to parse the file |
| 17512 |
size. |
| 17513 |
(ftp_parse_winnt_ls): Ditto. |
| 17514 |
|
| 17515 |
* src/ftp-basic.c (ftp_size): Use str_to_wgint to convert number to |
| 17516 |
wgint; pass 10 instead of 0 as the BASE argument. |
| 17517 |
|
| 17518 |
* src/ftp.c (ftp_expected_bytes): Use str_to_wgint to parse the file |
| 17519 |
size. |
| 17520 |
|
| 17521 |
* src/sysdep.h (LARGE_INT_FMT): Use __int64 as LARGE_INT on |
| 17522 |
MSVC/Windows; print it with "%I64". |
| 17523 |
|
| 17524 |
* src/wget.h: Define a `wgint' type, normally aliased to (the possibly |
| 17525 |
64-bit variant of) off_t. |
| 17526 |
|
| 17527 |
* src/all: Use `wgint' instead of `long' for numeric variables that |
| 17528 |
can hold file sizes. |
| 17529 |
|
| 17530 |
* src/utils.c (number_to_string): Support printing of `wgint' |
| 17531 |
argument. |
| 17532 |
(number_to_static_string): New function. |
| 17533 |
|
| 17534 |
* src/all: Replace printf("%ld", long_value) with printf("%s", |
| 17535 |
number_to_static_string(wgint_value)). |
| 17536 |
|
| 17537 |
2005-02-20 Hrvoje Niksic <[email protected]> |
| 17538 |
|
| 17539 |
* configure.in: Check for LFS. Determine SIZEOF_OFF_T. |
| 17540 |
Check for ftello. |
| 17541 |
|
| 17542 |
2005-02-18 Mauro Tortonesi <[email protected]> |
| 17543 |
|
| 17544 |
* src/main.c: Added the --ftp-passwd command line option. |
| 17545 |
|
| 17546 |
* src/init.c: Renamed command passwd to ftppasswd. |
| 17547 |
|
| 17548 |
2005-02-18 Marco Colombo <[email protected]> |
| 17549 |
|
| 17550 |
* po/it.po: Updated Italian translation. |
| 17551 |
|
| 17552 |
2005-02-11 Mauro Tortonesi <[email protected]> |
| 17553 |
|
| 17554 |
* src/string_t.c: Fixed a bug in do_escape and triggered escape of |
| 17555 |
backslashes in string_escape to avoid ambiguities in the result |
| 17556 |
string. |
| 17557 |
|
| 17558 |
2005-02-11 Mauro Tortonesi <[email protected]> |
| 17559 |
|
| 17560 |
* doc/wget.texi: Added Simone Piunno as new contributor. |
| 17561 |
|
| 17562 |
2005-02-10 Mauro Tortonesi <[email protected]> |
| 17563 |
|
| 17564 |
* src/string.h: Renamed to string_t.h to fix a compilation conflict |
| 17565 |
with the string.h header in the standard C library. |
| 17566 |
|
| 17567 |
* src/string.c: Renamed to string_t.c for consistency with string.h. |
| 17568 |
|
| 17569 |
* src/string_t.c: Ditto. |
| 17570 |
|
| 17571 |
* src/string_t.h: Ditto. |
| 17572 |
|
| 17573 |
2005-01-01 Mauro Tortonesi <[email protected]> |
| 17574 |
|
| 17575 |
* doc/wget.texi: Updated copyright information, added new contributors. |
| 17576 |
|
| 17577 |
2004-12-31 Mauro Tortonesi <[email protected]> |
| 17578 |
|
| 17579 |
* src/string.c: New file. |
| 17580 |
|
| 17581 |
* src/string.h: New file. |
| 17582 |
|
| 17583 |
* src/Makefile.in: Added string.c to the list of modules to compile. |
| 17584 |
|
| 17585 |
* src/main.c: Updated copyright. |
| 17586 |
|
| 17587 |
2004-11-20 Hans-Andreas Engel <[email protected]> |
| 17588 |
|
| 17589 |
* doc/wget.texi: Describe limitations of combining `-O' with `-k'. |
| 17590 |
|
| 17591 |
2004-11-18 Ulf Harnhammar <[email protected]> |
| 17592 |
|
| 17593 |
* src/ftp-ls.c: Fixed a problem in ftp_parse_winnt_ls that could allow a |
| 17594 |
malicious remote FTP server to crash wget. |
| 17595 |
|
| 17596 |
2004-11-18 Mauro Tortonesi <[email protected]> |
| 17597 |
|
| 17598 |
* src/connect.c: Minor correction to the comment in front of fd_peek. |
| 17599 |
|
| 17600 |
2004-11-18 Leonid Petrov <[email protected]> |
| 17601 |
|
| 17602 |
* src/retr.c: Fix a timeout problem in fd_read_body when using http_proxy. |
| 17603 |
|
| 17604 |
2004-11-18 Hans-Andreas Engel <[email protected]> |
| 17605 |
|
| 17606 |
* src/http.c: Enable --convert-links (-k) when a single page is downloaded |
| 17607 |
via --output-document (-O). |
| 17608 |
|
| 17609 |
2004-11-15 YAMAZAKI Makoto <[email protected]> |
| 17610 |
|
| 17611 |
* src/netrc.c: Fix termination by assertion bug in netrc parsing. |
| 17612 |
|
| 17613 |
2004-06-12 Larry Jones <[email protected]> |
| 17614 |
|
| 17615 |
* src/recur.c (download_child_p): Correct the logic in check number 6: |
| 17616 |
test opt.reclevel (not DEPTH) against INFINITE_RECURSION. |
| 17617 |
|
| 17618 |
2004-05-13 Nico R. <[email protected]> |
| 17619 |
|
| 17620 |
* doc/Makefile.in: Allow building in a separate tree with source tree |
| 17621 |
write-protected. |
| 17622 |
|
| 17623 |
2004-05-09 David Fritz <[email protected]> |
| 17624 |
|
| 17625 |
* windows/Makefile.src.bor: Fix broken build rule. Add clean target. |
| 17626 |
|
| 17627 |
* windows/Makefile.top.bor: Use tabs instead of spaces. Ignore |
| 17628 |
errors in clean rules. Use lowercase filenames when building |
| 17629 |
distribution .zip archive. |
| 17630 |
|
| 17631 |
* windows/config.h.bor: Don't define HAVE_UINT32_T. |
| 17632 |
|
| 17633 |
* windows/Makefile.doc: Fix remaining instance of build rules |
| 17634 |
indented with spaces instead of tabs. |
| 17635 |
|
| 17636 |
* windows/Makefile.src: Update copyright year. |
| 17637 |
|
| 17638 |
* windows/Makefile.top: Update copyright year. |
| 17639 |
|
| 17640 |
* windows/config.h.mingw (WGET_USE_STDARG, HAVE_SIG_ATOMIC_T): Define. |
| 17641 |
|
| 17642 |
* windows/config.h.ms (HAVE_STRPBRK, HAVE_LIMITS_H) |
| 17643 |
(HAVE_LOCALE_H): Define. |
| 17644 |
|
| 17645 |
* windows/Makefile.watcom: Add /I. to CFLAGS. Remove reference to |
| 17646 |
specific Wget version from linker flags. Add missing |
| 17647 |
dependencies. |
| 17648 |
|
| 17649 |
2004-05-09 David Fritz <[email protected]> |
| 17650 |
|
| 17651 |
* src/mswindows.c (fake_fork): Pass entire command line to the child |
| 17652 |
process. |
| 17653 |
|
| 17654 |
2004-03-31 Hrvoje Niksic <[email protected]> |
| 17655 |
|
| 17656 |
* src/http.c (gethttp): Fix typo: SCHEME_SSL -> SCHEME_HTTPS. |
| 17657 |
|
| 17658 |
2004-03-30 Hrvoje Niksic <[email protected]> |
| 17659 |
|
| 17660 |
* src/http.c (gethttp): Send the Proxy-Authorization header over |
| 17661 |
non-SSL connections too. |
| 17662 |
|
| 17663 |
2004-03-25 David Fritz <[email protected]> |
| 17664 |
|
| 17665 |
* src/mswindows.c (fake_fork_child): Ignore error code when |
| 17666 |
OpenFileMapping() fails; assume it failed because the object does |
| 17667 |
not exist. |
| 17668 |
|
| 17669 |
2004-03-24 David Fritz <[email protected]> |
| 17670 |
|
| 17671 |
* src/mswindows.c (fake_fork): New function. |
| 17672 |
|
| 17673 |
* src/mswindows.c (fork_to_background): Use it. |
| 17674 |
|
| 17675 |
2004-03-19 Hrvoje Niksic <[email protected]> |
| 17676 |
|
| 17677 |
* src/url.c (url_parse): Decode %HH sequences in host name. |
| 17678 |
|
| 17679 |
2004-03-19 David Fritz <[email protected]> |
| 17680 |
|
| 17681 |
* src/mswindows.c (ws_hangup): Incorporate old fork_to_background() |
| 17682 |
code. Add event name argument. |
| 17683 |
(fork_to_backgorund): Now a simple wrapper around ws_hangup(). |
| 17684 |
(ws_handler): Correctly handle the case when neither CTRLC_BACKGND |
| 17685 |
nor CTRLBREAK_BACKGND are defined. Don't bother handling close, |
| 17686 |
logoff, or shutdown events. Call ws_hangup() with the correct |
| 17687 |
event name; don't assume it was CTRL+Break. |
| 17688 |
|
| 17689 |
2004-03-04 Hrvoje Niksic <[email protected]> |
| 17690 |
|
| 17691 |
* src/convert.c (local_quote_string): Quote "#" as "%23" and "%" as |
| 17692 |
"%25" when creating links to local files. |
| 17693 |
|
| 17694 |
2004-03-04 Gisle Vanem <[email protected]> |
| 17695 |
|
| 17696 |
* src/retr.c (fd_read_body): Don't change console title if quiet. |
| 17697 |
|
| 17698 |
2004-03-02 David Fritz <[email protected]> |
| 17699 |
|
| 17700 |
* src/mswindows.c (ws_percenttitle): Guard against future changes by |
| 17701 |
doing nothing if the proper variables have not been initialized. |
| 17702 |
Clamp percentage value. |
| 17703 |
|
| 17704 |
2004-02-25 David Fritz <[email protected]> |
| 17705 |
|
| 17706 |
* src/mswindows.c (set_sleep_mode): Remove argument and return value. |
| 17707 |
Call GetModuleHandle() instead of LoadLibrary()/FreeLibrary() for |
| 17708 |
kernel32.dll. Use typedef for function-pointer. Don't cast |
| 17709 |
l-value. Don't use dereference operator when calling through |
| 17710 |
function-pointer. |
| 17711 |
(ws_startup): Update call to set_sleep_mode(). |
| 17712 |
(ws_cleanup): Remove call to set_sleep_mode(). |
| 17713 |
|
| 17714 |
2004-02-23 David Fritz <[email protected]> |
| 17715 |
|
| 17716 |
* src/mswindows.h: Ditto. |
| 17717 |
|
| 17718 |
* src/mswindows.c: Misc. formatting/comment tweaks throughout. |
| 17719 |
|
| 17720 |
2004-02-23 David Fritz <[email protected]> |
| 17721 |
|
| 17722 |
* src/http.c (http_loop): Ditto. |
| 17723 |
|
| 17724 |
* src/ftp.c (ftp_loop_internal): Update call to ws_changetitle(). |
| 17725 |
|
| 17726 |
* src/main.c (main): Don't bother calling ws_changetitle(). |
| 17727 |
|
| 17728 |
* src/mswindows.h (ws_changetitle): Update prototype. |
| 17729 |
|
| 17730 |
* src/mswindows.c (ws_changetitle): Remove second argument. Use |
| 17731 |
xfree_null(). |
| 17732 |
(ws_percenttitle): Only update title when percentage has changed. |
| 17733 |
|
| 17734 |
2004-02-22 Hrvoje Niksic <[email protected]> |
| 17735 |
|
| 17736 |
* doc/wget.texi (Contributors): Updated. |
| 17737 |
|
| 17738 |
2004-02-20 David Fritz <[email protected]> |
| 17739 |
|
| 17740 |
* src/main.c (print_help): Remove call to ws_help(). |
| 17741 |
|
| 17742 |
* src/mswindows.c (ws_help): Remove. |
| 17743 |
|
| 17744 |
* src/mswindows.h (ws_help): Remove. |
| 17745 |
|
| 17746 |
2004-02-16 David Fritz <[email protected]> |
| 17747 |
|
| 17748 |
* src/init.c (home_dir): Use aprintf() instead of xmalloc()/sprintf(). |
| 17749 |
Under Windows, if $HOME is not defined, use the directory that |
| 17750 |
contains the Wget binary instead of hard-coded `C:\'. |
| 17751 |
(wgetrc_file_name): Under Windows, look for $HOME/.wgetrc then, if |
| 17752 |
not found, look for wget.ini in the directory of the Wget binary. |
| 17753 |
|
| 17754 |
* src/mswindows.c (ws_mypath): Employ slightly more robust methodology. |
| 17755 |
Strip trailing path separator. |
| 17756 |
|
| 17757 |
2004-02-12 Jens Roesner <[email protected]> |
| 17758 |
|
| 17759 |
* doc/wget.texi (Wgetrc Commands): Document `-e' here. |
| 17760 |
|
| 17761 |
2004-02-09 David Fritz <[email protected]> |
| 17762 |
|
| 17763 |
* configure.bat.in: Don't clear the screen. |
| 17764 |
|
| 17765 |
* windows/README: Add introductory paragraph. Re-word a few |
| 17766 |
sentences. Correct minor typographical errors. Use consistent |
| 17767 |
capitalization of Wget, SSL, and OpenSSL. Refer to Microsoft |
| 17768 |
Visual C++ as MSVC instead of VC++. Mention the --msvc option to |
| 17769 |
configure.bat. Reflow paragraphs. |
| 17770 |
|
| 17771 |
* windows/Makefile.top: Use tabs instead of spaces. Ignore errors |
| 17772 |
in clean rules. Use lowercase filenames when building distribution |
| 17773 |
.zip archive. |
| 17774 |
|
| 17775 |
* windows/Makefile.doc: Use tabs instead of spaces. Ignore errors |
| 17776 |
in clean rules. |
| 17777 |
|
| 17778 |
* windows/Makefile.src: Clean-up clean rules. Use tabs instead of |
| 17779 |
spaces. Link against gdi32.lib. Don't define SYSTEM_WGETRC. |
| 17780 |
Remove unused macros. Remove anachronistic and superfluous linker |
| 17781 |
flags. Don't rename wget.exe to all upper-case. Add |
| 17782 |
`preprocessor' conditionals for SSL and newer MSVC options. Use |
| 17783 |
batch rules. Don't suppress all warnings. |
| 17784 |
|
| 17785 |
2004-02-08 Hrvoje Niksic <[email protected]> |
| 17786 |
|
| 17787 |
* doc/wget.texi (Security Considerations): Put @item contents on a |
| 17788 |
separate line. |
| 17789 |
Reported by Ted Rodriguez-Bell. |
| 17790 |
|
| 17791 |
2004-02-06 Hrvoje Niksic <[email protected]> |
| 17792 |
|
| 17793 |
* src/http.c (gethttp): Respect --ignore-length. |
| 17794 |
(gethttp): Inhibit keep-alive if --ignore-length is specified. |
| 17795 |
|
| 17796 |
2004-02-06 Hrvoje Niksic <[email protected]> |
| 17797 |
|
| 17798 |
* src/connect.c (sockaddr_set_data): Zero out |
| 17799 |
sockaddr_in/sockaddr_in6. Apparently BSD-derived stacks need this |
| 17800 |
when binding a socket to local address. |
| 17801 |
|
| 17802 |
2004-02-06 Hrvoje Niksic <[email protected]> |
| 17803 |
|
| 17804 |
* doc/wget.texi (Wgetrc Commands): Document --no-http-keep-alive and |
| 17805 |
the corresponding Wgetrc command. |
| 17806 |
|
| 17807 |
2004-02-04 Hrvoje Niksic <[email protected]> |
| 17808 |
|
| 17809 |
* src/hash.c: Make the file compilable outside Wget source tree when |
| 17810 |
-DSTANDALONE is used. |
| 17811 |
|
| 17812 |
2004-01-29 Hrvoje Niksic <[email protected]> |
| 17813 |
|
| 17814 |
* src/utils.c (determine_screen_width): Return 0 if not running on |
| 17815 |
Windows or on a TIOCGWINSZ-capable system. |
| 17816 |
|
| 17817 |
2004-01-28 David Fritz <[email protected]> |
| 17818 |
|
| 17819 |
* src/utils.c (determine_screen_width): Correctly determine console |
| 17820 |
width under Windows. |
| 17821 |
|
| 17822 |
2004-01-28 Christian Biere <[email protected]> |
| 17823 |
|
| 17824 |
* src/progress.c (bar_set_params): Fixed syntax error when HAVE_ISATTY |
| 17825 |
was undefined. |
| 17826 |
|
| 17827 |
* src/ftp.c (ftp_loop_internal): Allocate a larger buffer in case |
| 17828 |
"try" gets translated to something large. Ditto in http_loop in |
| 17829 |
http.c. |
| 17830 |
|
| 17831 |
* src/http.c (response_header_copy): Don't write to buf[BUFSIZE]. |
| 17832 |
|
| 17833 |
* src/ftp-opie.c (skey_response): Eliminate unnecessary string |
| 17834 |
concatenation; just call gen_md5_update twice. |
| 17835 |
|
| 17836 |
2004-01-25 Hrvoje Niksic <[email protected]> |
| 17837 |
|
| 17838 |
* src/utils.c (xsleep): Don't call usleep with values larger than |
| 17839 |
1,000,000. |
| 17840 |
|
| 17841 |
2003-12-16 Hrvoje Niksic <[email protected]> |
| 17842 |
|
| 17843 |
* src/http.c (gethttp): Fix generation of `Content-Length'. |
| 17844 |
|
| 17845 |
2003-12-15 Gisle Vanem <[email protected]> |
| 17846 |
|
| 17847 |
* src/url.c (url_skip_credentials): Fixed return value; 'url' if no |
| 17848 |
credentials. |
| 17849 |
|
| 17850 |
2003-12-14 Hrvoje Niksic <[email protected]> |
| 17851 |
|
| 17852 |
* src/url.c (url_skip_credentials): Return a pointer directly. |
| 17853 |
|
| 17854 |
2003-12-14 Hrvoje Niksic <[email protected]> |
| 17855 |
|
| 17856 |
* src/url.c (url_file_name): Ditto. |
| 17857 |
(parse_errors): Ditto. |
| 17858 |
|
| 17859 |
* src/retr.c (retr_rate): Ditto. |
| 17860 |
|
| 17861 |
* src/progress.c (create_image): Ditto. |
| 17862 |
|
| 17863 |
* src/netrc.c (parse_netrc): Ditto. |
| 17864 |
|
| 17865 |
* src/main.c (struct cmdline_option): Ditto. |
| 17866 |
(redirect_output_signal): Ditto. |
| 17867 |
|
| 17868 |
* src/init.c (commands): Ditto. |
| 17869 |
|
| 17870 |
* src/ftp-ls.c (ftp_index): Ditto. |
| 17871 |
|
| 17872 |
* src/cookies.c (check_domain_match): Declare the pointer to a literal |
| 17873 |
string as `const'. |
| 17874 |
|
| 17875 |
2003-12-12 Hrvoje Niksic <[email protected]> |
| 17876 |
|
| 17877 |
* src/retr.c (fd_read_body): Pass total size to progress_create, not |
| 17878 |
the remaining amount. |
| 17879 |
|
| 17880 |
2003-12-12 Hrvoje Niksic <[email protected]> |
| 17881 |
|
| 17882 |
* src/retr.c (fd_read_body): Don't fiddle with "interactive timeout" |
| 17883 |
if read timeout is unset. |
| 17884 |
|
| 17885 |
2003-12-12 Hrvoje Niksic <[email protected]> |
| 17886 |
|
| 17887 |
* src/connect.c (bind_local): Don't set the IPV6_V6ONLY option on the |
| 17888 |
socket. |
| 17889 |
|
| 17890 |
2003-12-06 Hrvoje Niksic <[email protected]> |
| 17891 |
|
| 17892 |
* src/url.c (url_file_name): Respect the setting of |
| 17893 |
opt.protocol_directories. |
| 17894 |
|
| 17895 |
* src/main.c (main): Only check for ret=='?' when longindex is unset. |
| 17896 |
(option_data): New option --protocol-directories. |
| 17897 |
|
| 17898 |
2003-12-06 Hrvoje Niksic <[email protected]> |
| 17899 |
|
| 17900 |
* src/ftp.c (getftp): Ditto. |
| 17901 |
|
| 17902 |
* src/http.c (gethttp): Correctly calculate bandwidth as total data |
| 17903 |
read divided with download time. |
| 17904 |
|
| 17905 |
* src/retr.c (fd_read_body): Separate the return values for data |
| 17906 |
written and read. |
| 17907 |
|
| 17908 |
2003-12-06 Hrvoje Niksic <[email protected]> |
| 17909 |
|
| 17910 |
* doc/wget.texi: Document the new option `--protocol-directories'. |
| 17911 |
|
| 17912 |
2003-12-06 Hrvoje Niksic <[email protected]> |
| 17913 |
|
| 17914 |
* doc/wget.texi (Download Options): Don't incorrectly claim that `-O' |
| 17915 |
sets the number of retries to 1. |
| 17916 |
|
| 17917 |
2003-12-05 Hrvoje Niksic <[email protected]> |
| 17918 |
|
| 17919 |
* src/http.c (H_REDIRECTED): Respect the HTTP/1.1 "303 See Other" |
| 17920 |
response code. |
| 17921 |
Suggested by Dan Razzell. |
| 17922 |
|
| 17923 |
2003-11-30 Hrvoje Niksic <[email protected]> |
| 17924 |
|
| 17925 |
* src/retr.c (fd_read_body): Sanitize arguments and document them |
| 17926 |
better. Make sure the timer is created and updated only if |
| 17927 |
necessary. Updated callers. |
| 17928 |
|
| 17929 |
2003-11-30 Hrvoje Niksic <[email protected]> |
| 17930 |
|
| 17931 |
* src/retr.c (fd_read_body): Report the amount of data *written* as |
| 17932 |
amount_read. This is not entirely logical, but that's what the |
| 17933 |
callers expect, and it's not easy to change. |
| 17934 |
|
| 17935 |
* src/ftp.c (ftp_loop_internal): Ditto. |
| 17936 |
|
| 17937 |
* src/http.c (http_loop): Be smarter about assigning restval; if we're |
| 17938 |
in the nth pass of a download, simply use the information we have |
| 17939 |
about how much data has been retrieved as restval. |
| 17940 |
|
| 17941 |
* src/ftp.c (getftp): Ditto for FTP "REST" command. |
| 17942 |
|
| 17943 |
* src/http.c (gethttp): When the server doesn't respect range, skip |
| 17944 |
the first RESTVAL bytes of the read body. Never truncate the |
| 17945 |
output file. |
| 17946 |
|
| 17947 |
* src/retr.c (fd_read_body): Support skipping initial STARTPOS octets. |
| 17948 |
|
| 17949 |
2003-11-30 Hrvoje Niksic <[email protected]> |
| 17950 |
|
| 17951 |
* src/http.c (skip_short_body): Renamed skip_body to skip_short_body; |
| 17952 |
don't bother calling fd_read_body. |
| 17953 |
|
| 17954 |
2003-11-30 Hrvoje Niksic <[email protected]> |
| 17955 |
|
| 17956 |
* src/http.c (skip_body): New function. |
| 17957 |
(gethttp): Use it to skip the body of the responses we don't care |
| 17958 |
to download. That allows us to reuse the connection. |
| 17959 |
(gethttp): Trust that the HEAD requests will not generate body |
| 17960 |
data. |
| 17961 |
|
| 17962 |
* src/retr.c (fd_read_body): Don't write to OUT if it's NULL. |
| 17963 |
|
| 17964 |
2003-11-29 Hrvoje Niksic <[email protected]> |
| 17965 |
|
| 17966 |
* src/http.c (gethttp): Initialize SSL only the first time when SSL |
| 17967 |
URL is downloaded. |
| 17968 |
|
| 17969 |
2003-11-29 Hrvoje Niksic <[email protected]> |
| 17970 |
|
| 17971 |
* src/cookies.c (cookie_header): Only generate the contents of the |
| 17972 |
header, not the leading "Cookie: " or the trailing "\r\n". |
| 17973 |
|
| 17974 |
* src/http.c (gethttp): When adding headers specified with `--header', |
| 17975 |
allow them to override the headers generated by Wget. |
| 17976 |
|
| 17977 |
* src/init.c (cmd_spec_header): Made opt.user_headers a vector. |
| 17978 |
|
| 17979 |
* src/http.c (request_new): New function. Returns a request structure |
| 17980 |
which can be modified in various ways, most notably by adding HTTP |
| 17981 |
headers to the request. |
| 17982 |
(request_set_header): New function for adding the header to the |
| 17983 |
request. If the header is already available, it gets replaced. |
| 17984 |
(request_send): Construct and send the request. |
| 17985 |
(gethttp): Use the request_* functions to generate the request. |
| 17986 |
|
| 17987 |
2003-11-28 Hrvoje Niksic <[email protected]> |
| 17988 |
|
| 17989 |
* src/init.c: Don't #include netinet/Winsock stuff. |
| 17990 |
|
| 17991 |
2003-11-28 Hrvoje Niksic <[email protected]> |
| 17992 |
|
| 17993 |
* src/http.c: Deleted the old functions header_process, |
| 17994 |
header_extract_number, header_exists, header_strdup, |
| 17995 |
http_process_range, http_process_none, http_process_type, and |
| 17996 |
http_process_connection. |
| 17997 |
|
| 17998 |
* src/http.c (response_new): New function. |
| 17999 |
(response_header_bounds): Ditto. |
| 18000 |
(response_header_copy): Ditto. |
| 18001 |
(response_header_strdup): Ditto. |
| 18002 |
(response_status): Ditto. |
| 18003 |
(gethttp): Use the new response_* functions to parse the response. |
| 18004 |
Support HTTP/0.9 responses. |
| 18005 |
|
| 18006 |
2003-11-28 Hrvoje Niksic <[email protected]> |
| 18007 |
|
| 18008 |
* src/http.c (gethttp): Use the CONNECT handle to establish SSL |
| 18009 |
passthrough through non-SSL proxies. |
| 18010 |
|
| 18011 |
2003-11-28 Hrvoje Niksic <[email protected]> |
| 18012 |
|
| 18013 |
* src/http.c (gethttp): Don't include the Proxy-Authorization header |
| 18014 |
in the request tunneled through proxy. |
| 18015 |
|
| 18016 |
2003-11-27 Hrvoje Niksic <[email protected]> |
| 18017 |
|
| 18018 |
* src/progress.c (create_image): Don't calculate ETA if nothing has |
| 18019 |
been downloaded yet, because it causes division by zero. |
| 18020 |
|
| 18021 |
2003-11-27 Hrvoje Niksic <[email protected]> |
| 18022 |
|
| 18023 |
* src/connect.c (bind_local): Rename sa_len to addrlen because IRIX |
| 18024 |
headers define sa_len as a macro. |
| 18025 |
|
| 18026 |
2003-11-26 Hrvoje Niksic <[email protected]> |
| 18027 |
|
| 18028 |
* src/html-parse.c (convert_and_copy): Remove embedded newlines when |
| 18029 |
AP_TRIM_BLANKS is specified. |
| 18030 |
|
| 18031 |
2003-11-26 Hrvoje Niksic <[email protected]> |
| 18032 |
|
| 18033 |
* src/ftp.c: Set con->csock to -1 where rbuf_uninitialize was |
| 18034 |
previously used. |
| 18035 |
|
| 18036 |
2003-11-26 Hrvoje Niksic <[email protected]> |
| 18037 |
|
| 18038 |
* src/Makefile.in (http$o): Added the trailing backslash that was |
| 18039 |
missing. |
| 18040 |
|
| 18041 |
2003-11-26 Hrvoje Niksic <[email protected]> |
| 18042 |
|
| 18043 |
* aclocal.m4: Don't check for AI_V4MAPPED and for AI_ALL, since |
| 18044 |
Wget doesn't need them. |
| 18045 |
|
| 18046 |
* configure.in: Check for struct sockaddr_storage. |
| 18047 |
|
| 18048 |
2003-11-21 Hrvoje Niksic <[email protected]> |
| 18049 |
|
| 18050 |
* src/rbuf.c: Removed. |
| 18051 |
|
| 18052 |
* src/ftp-basic.c (ftp_response): Use fd_read_line. No longer use |
| 18053 |
struct rbuf. Updated all callers. |
| 18054 |
|
| 18055 |
* src/http.c (gethttp): Use fd_read_head to read all the headers in |
| 18056 |
one go. |
| 18057 |
(next_header): New function. |
| 18058 |
|
| 18059 |
* src/retr.c (fd_read_line): New function: reads a line from FD, |
| 18060 |
leaving the rest of the data unread. |
| 18061 |
(fd_read_head): New function. |
| 18062 |
|
| 18063 |
* src/connect.c (fd_peek): New function, implements peeking. |
| 18064 |
(poll_internal): New function. |
| 18065 |
(fd_read): Use it. |
| 18066 |
(fd_write): Ditto. |
| 18067 |
(fd_peek): Ditto. |
| 18068 |
(fd_register_transport): Allow registering a "peeker" callback. |
| 18069 |
|
| 18070 |
2003-11-21 Hrvoje Niksic <[email protected]> |
| 18071 |
|
| 18072 |
* src/headers.c: Removed. The file is no longer relevant, now that no |
| 18073 |
special handling of headers is done by the rbuf code. Moved |
| 18074 |
portions to http.c. |
| 18075 |
|
| 18076 |
2003-11-20 Hrvoje Niksic <[email protected]> |
| 18077 |
|
| 18078 |
* src/connect.c: Renamed xread/xwrite/xclose to |
| 18079 |
fd_read/fd_write/fd_close. The "x" prefix is not appropriate |
| 18080 |
because the semantics have diverged from read/write/close too |
| 18081 |
significantly. Updated all callers. |
| 18082 |
|
| 18083 |
2003-11-20 Hrvoje Niksic <[email protected]> |
| 18084 |
|
| 18085 |
* src/connect.c (sock_write): It's not necessary to initialize RES. |
| 18086 |
|
| 18087 |
2003-11-19 Hrvoje Niksic <[email protected]> |
| 18088 |
|
| 18089 |
* src/main.c (main): Don't reference opt.ipv4_only and opt.ipv6_only |
| 18090 |
if IPv6 is disabled. |
| 18091 |
|
| 18092 |
2003-11-19 Hrvoje Niksic <[email protected]> |
| 18093 |
|
| 18094 |
* src/connect.c (socket_has_inet6): Only compile it if IPv6 is enabled |
| 18095 |
and AI_ADDRCONFIG is missing. |
| 18096 |
|
| 18097 |
2003-11-18 Hrvoje Niksic <[email protected]> |
| 18098 |
|
| 18099 |
* src/host.c (address_list_contains): Renamed address_list_find to |
| 18100 |
address_list_contains because its result is boolean. |
| 18101 |
|
| 18102 |
2003-11-18 Hrvoje Niksic <[email protected]> |
| 18103 |
|
| 18104 |
* src/gen_sslfunc.c (ssl_init_prng): Warn the user when using a weak |
| 18105 |
random seed. |
| 18106 |
|
| 18107 |
2003-11-18 Hrvoje Niksic <[email protected]> |
| 18108 |
|
| 18109 |
* src/connect.c (select_fd): Return 1 if select is not available. |
| 18110 |
|
| 18111 |
2003-11-17 Hrvoje Niksic <[email protected]> |
| 18112 |
|
| 18113 |
* src/main.c (print_help): Fix alignment of FTP options output. |
| 18114 |
|
| 18115 |
2003-11-17 Hrvoje Niksic <[email protected]> |
| 18116 |
|
| 18117 |
* src/host.c (lookup_host): Check for the ability to create IPv6 |
| 18118 |
sockets here. |
| 18119 |
|
| 18120 |
* src/init.c (defaults): Don't auto-set --inet4-only on IPv6-less |
| 18121 |
systems. |
| 18122 |
|
| 18123 |
2003-11-17 Hrvoje Niksic <[email protected]> |
| 18124 |
|
| 18125 |
* src/connect.c (connect_to_host): Don't reference address list after |
| 18126 |
releasing it. |
| 18127 |
|
| 18128 |
2003-11-16 Hrvoje Niksic <[email protected]> |
| 18129 |
|
| 18130 |
* src/main.c (print_help): Fix typo in `-O' help message. Fix docs of |
| 18131 |
-Y/--proxy. Fix docs of `--cookies' and `--glob'. Improve docs |
| 18132 |
of --convert-links. Fix docs of SSL options. |
| 18133 |
|
| 18134 |
2003-11-16 Hrvoje Niksic <[email protected]> |
| 18135 |
|
| 18136 |
* src/main.c (main): Don't allow setting of both opt.ipv4_only and |
| 18137 |
opt.ipv6_only. |
| 18138 |
|
| 18139 |
* src/init.c (defaults): Mark opt.ipv4_only specially when set |
| 18140 |
automatically. |
| 18141 |
|
| 18142 |
2003-11-16 Hrvoje Niksic <[email protected]> |
| 18143 |
|
| 18144 |
* src/ftp-basic.c: Don't include <arpa/inet.h> and others because |
| 18145 |
they're no longer needed. |
| 18146 |
|
| 18147 |
2003-11-15 Hrvoje Niksic <[email protected]> |
| 18148 |
|
| 18149 |
* src/init.c: Make sure the options are in alphabetic order! |
| 18150 |
|
| 18151 |
* src/host.c (lookup_host): Merge lookup_host_passive and lookup_host |
| 18152 |
after all -- having both would result in some code duplication. |
| 18153 |
(lookup_host): Set hints.ai_family to AF_INET if ipv4_only is |
| 18154 |
requested. Likewise, set it to AF_INET6 for ipv6_only. Specify |
| 18155 |
AI_ADDRCONFIG where available. |
| 18156 |
(lookup_host): New flag LH_REFRESH that specifies that a cached |
| 18157 |
entry for HOST should be refreshed. |
| 18158 |
(cache_query): New function. |
| 18159 |
(cache_store): Ditto. |
| 18160 |
(cache_remove): Ditto. |
| 18161 |
(forget_host_lookup): No longer necessary, replaced with static |
| 18162 |
function cache_remove. |
| 18163 |
|
| 18164 |
2003-11-15 Hrvoje Niksic <[email protected]> |
| 18165 |
|
| 18166 |
* src/http.c (persistent_available_p): Correctly specify the endpoint |
| 18167 |
argument to socket_ip_address. |
| 18168 |
(gethttp): When printing the "reusing connection to..." message, |
| 18169 |
specify the host name of the reused connection, not the current |
| 18170 |
host name. That makes more sense because it provides a useful |
| 18171 |
piece of information -- we know to which host we're supposed to |
| 18172 |
connect anyway! |
| 18173 |
|
| 18174 |
2003-11-15 Hrvoje Niksic <[email protected]> |
| 18175 |
|
| 18176 |
* src/host.c: Don't refer to the now-removed function |
| 18177 |
forget_host_lookup in the documentation of lookup_host. |
| 18178 |
|
| 18179 |
2003-11-15 Hrvoje Niksic <[email protected]> |
| 18180 |
|
| 18181 |
* src/host.c (lookup_host): Use AI_ADDRCONFIG only if the family is |
| 18182 |
unspecified. This ensures that specifying `--no-inet4' on systems |
| 18183 |
where IPv6 resolves, but doesn't work behaves the same regardless |
| 18184 |
of the availability of AI_ADDRCONFIG. |
| 18185 |
|
| 18186 |
2003-11-15 Hrvoje Niksic <[email protected]> |
| 18187 |
|
| 18188 |
* doc/wget.texi: Documented that --dont-remove-listing is now |
| 18189 |
--no-remove-listing. |
| 18190 |
|
| 18191 |
2003-11-15 Hrvoje Niksic <[email protected]> |
| 18192 |
|
| 18193 |
* doc/wget.texi (Portability): Update slightly. |
| 18194 |
|
| 18195 |
2003-11-14 Hrvoje Niksic <[email protected]> |
| 18196 |
|
| 18197 |
* src/url.c (uri_merge): Merging "foo" and "bar" should result in |
| 18198 |
"bar", not in "foo/bar". |
| 18199 |
(path_simplify): Don't remove empty path elements; don't |
| 18200 |
special-case leading slash. |
| 18201 |
(path_simplify): Don't swallow ".."'s at the beginning of string. |
| 18202 |
E.g. simplify "foo/../../bar" as "../bar", not as "bar". |
| 18203 |
(append_uri_pathel): Defang ".." path element upon encountering |
| 18204 |
it. |
| 18205 |
|
| 18206 |
2003-11-14 Hrvoje Niksic <[email protected]> |
| 18207 |
|
| 18208 |
* src/main.c: Enable -4 and -6 only if IPv6 is enabled. |
| 18209 |
|
| 18210 |
2003-11-14 Hrvoje Niksic <[email protected]> |
| 18211 |
|
| 18212 |
* src/connect.c (register_transport): Renamed from register_extended. |
| 18213 |
Explain the intended usage. |
| 18214 |
|
| 18215 |
2003-11-14 Hrvoje Niksic <[email protected]> |
| 18216 |
|
| 18217 |
* doc/fdl.texi: New file. |
| 18218 |
|
| 18219 |
* doc/wget.texi: Upgrade to GNU Free Documentation License 1.2. |
| 18220 |
|
| 18221 |
2003-11-13 Hrvoje Niksic <[email protected]> |
| 18222 |
|
| 18223 |
* src/wget.h (CONNECT_ERROR): Use it. |
| 18224 |
|
| 18225 |
* src/connect.c (unsupported_socket_family_error): New function. |
| 18226 |
|
| 18227 |
2003-11-13 Hrvoje Niksic <[email protected]> |
| 18228 |
|
| 18229 |
* src/init.c (defaults): Turn on opt.ipv4_only if we're compiling with |
| 18230 |
IPv6, and AI_ADDRINFO is not available, and AF_INET6 sockets can't |
| 18231 |
be created. |
| 18232 |
|
| 18233 |
2003-11-13 Hrvoje Niksic <[email protected]> |
| 18234 |
|
| 18235 |
* src/http.c (persistent_available_p): Don't attempt to talk to two |
| 18236 |
different SSL sites over the same secure connection. |
| 18237 |
|
| 18238 |
2003-11-13 Hrvoje Niksic <[email protected]> |
| 18239 |
|
| 18240 |
* src/http.c (gethttp): Ditto. |
| 18241 |
|
| 18242 |
* src/ftp.c (getftp): Use retryable_socket_connect_error instead of |
| 18243 |
CONNECT_ERROR. |
| 18244 |
|
| 18245 |
* src/wget.h (CONNECT_ERROR): Removed. |
| 18246 |
|
| 18247 |
* src/connect.c (retryable_socket_connect_error): New function instead |
| 18248 |
of unsupported_socket_family_error. |
| 18249 |
|
| 18250 |
2003-11-13 Hrvoje Niksic <[email protected]> |
| 18251 |
|
| 18252 |
* src/host.c (lookup_host): Document the fact that the addresses are |
| 18253 |
returned in order. |
| 18254 |
|
| 18255 |
2003-11-13 Hrvoje Niksic <[email protected]> |
| 18256 |
|
| 18257 |
* src/connect.c (bind_local): Renamed bindport to bind_local; return |
| 18258 |
the socket directly. Updated callers. |
| 18259 |
(accept_connection): Renamed acceptport to accept_connection; |
| 18260 |
return the created socket directly. Updated callers. |
| 18261 |
|
| 18262 |
2003-11-12 Hrvoje Niksic <[email protected]> |
| 18263 |
|
| 18264 |
* src/utils.c: Use limits.h only where available. |
| 18265 |
|
| 18266 |
* src/hash.c: Use INVALID_PTR and INVALID_PTR_BYTE. Include limits.h. |
| 18267 |
|
| 18268 |
2003-11-12 Hrvoje Niksic <[email protected]> |
| 18269 |
|
| 18270 |
* configure.in: Use a more standard checking message when checking |
| 18271 |
for md5.h. |
| 18272 |
|
| 18273 |
2003-11-12 Hrvoje Niksic <[email protected]> |
| 18274 |
|
| 18275 |
* configure.in: Tweak ansi2knr test, use : instead of true. |
| 18276 |
|
| 18277 |
2003-11-12 Hrvoje Niksic <[email protected]> |
| 18278 |
|
| 18279 |
* configure.in: Check for limits.h. |
| 18280 |
|
| 18281 |
2003-11-11 Hrvoje Niksic <[email protected]> |
| 18282 |
|
| 18283 |
* src/main.c: Added options --inet4-only and --inet6-only. |
| 18284 |
|
| 18285 |
2003-11-11 Hrvoje Niksic <[email protected]> |
| 18286 |
|
| 18287 |
* src/host.c (host_errstr): Use the more standard message "Unknown |
| 18288 |
host". |
| 18289 |
|
| 18290 |
2003-11-10 Hrvoje Niksic <[email protected]> |
| 18291 |
|
| 18292 |
* src/host.c (lookup_host): Special-case the numeric addresses only in |
| 18293 |
the non-IPv6 case. |
| 18294 |
|
| 18295 |
2003-11-10 Hrvoje Niksic <[email protected]> |
| 18296 |
|
| 18297 |
* src/connect.c (resolve_bind_address): Call lookup_host_passive. |
| 18298 |
Make sure that opt.bind_address is resolved only once. |
| 18299 |
|
| 18300 |
* src/host.c (lookup_host_passive): New function, handles "passive" |
| 18301 |
lookups. |
| 18302 |
(lookup_host): Remove the passive flags. Remove the |
| 18303 |
family-related flags -- use ip_default_family instead. |
| 18304 |
|
| 18305 |
2003-11-10 Hrvoje Niksic <[email protected]> |
| 18306 |
|
| 18307 |
* src/connect.c (connect_to_host): Use that flag to decide whether to |
| 18308 |
re-resolve the host name. |
| 18309 |
|
| 18310 |
* src/host.c (struct address_list): Added a flag that maintains |
| 18311 |
whether the connection worked at some point. |
| 18312 |
|
| 18313 |
2003-11-10 Hrvoje Niksic <[email protected]> |
| 18314 |
|
| 18315 |
* aclocal.m4 (WGET_STRUCT_UTIMBUF): Use AC_CHECK_TYPES instead of |
| 18316 |
AC_EGREP_CPP to check for struct utimbuf. |
| 18317 |
|
| 18318 |
2003-11-10 Hrvoje Niksic <[email protected]> |
| 18319 |
|
| 18320 |
* aclocal.m4 (WGET_SOCKLEN_T): Use AC_COMPILE_IFELSE instead of |
| 18321 |
AC_TRY_COMPILE. |
| 18322 |
|
| 18323 |
2003-11-09 Hrvoje Niksic <[email protected]> |
| 18324 |
|
| 18325 |
* src/main.c (option_data): Specify the command to use for --mirror. |
| 18326 |
|
| 18327 |
2003-11-09 Hrvoje Niksic <[email protected]> |
| 18328 |
|
| 18329 |
* src/html-url.c: Get URLs from <object data="...">. |
| 18330 |
|
| 18331 |
2003-11-09 Hrvoje Niksic <[email protected]> |
| 18332 |
|
| 18333 |
* doc/wget.texi: Remove next/previous/up node links. Makeinfo doesn't |
| 18334 |
require them, and they make the document harder to modify. |
| 18335 |
|
| 18336 |
2003-11-09 Hrvoje Niksic <[email protected]> |
| 18337 |
|
| 18338 |
* doc/wget.texi: No longer document options -s, -C, -g, and -G. |
| 18339 |
(Contributors): Update my email address. |
| 18340 |
|
| 18341 |
2003-11-09 Hrvoje Niksic <[email protected]> |
| 18342 |
|
| 18343 |
* configure.in: Don't attempt to use Emacs as a makeinfo |
| 18344 |
substitute. |
| 18345 |
|
| 18346 |
2003-11-09 Hrvoje Niksic <[email protected]> |
| 18347 |
|
| 18348 |
* aclocal.m4 (WGET_WITH_NLS): Respect the user's setting of |
| 18349 |
LINGUAS, e.g. `LINGUAS="en bg ja" ./configure'. |
| 18350 |
|
| 18351 |
2003-11-08 Hrvoje Niksic <[email protected]> |
| 18352 |
|
| 18353 |
* src/utils.c (wtimer_allocate): Bless the use of wtimer_read on a |
| 18354 |
timer that has merely been allocated because get_contents() does |
| 18355 |
that. |
| 18356 |
(wtimer_update): Abort if the timer is not initialized. |
| 18357 |
|
| 18358 |
2003-11-08 Hrvoje Niksic <[email protected]> |
| 18359 |
|
| 18360 |
* src/retr.c (get_contents): Pass the timer to limit_bandwidth(). |
| 18361 |
|
| 18362 |
* src/utils.c (wtimer_update): New function instead of wget_elapsed; |
| 18363 |
just update the timer, but don't return anything. |
| 18364 |
(wtimer_read): Read and return the last known value of the timer. |
| 18365 |
|
| 18366 |
2003-11-08 Hrvoje Niksic <[email protected]> |
| 18367 |
|
| 18368 |
* src/progress.c (update_speed_ring): Clear the speed ring when the |
| 18369 |
download stalls. |
| 18370 |
|
| 18371 |
* src/retr.c (get_contents): Specify 0.95s read timeout, so that the |
| 18372 |
progress gauge can be updated even when data arrives very slowly |
| 18373 |
or stalls. |
| 18374 |
|
| 18375 |
2003-11-08 Hrvoje Niksic <[email protected]> |
| 18376 |
|
| 18377 |
* src/main.c (main): Removed one-letter options `-C', `-g', `-G', and |
| 18378 |
`-s'. |
| 18379 |
|
| 18380 |
2003-11-08 Hrvoje Niksic <[email protected]> |
| 18381 |
|
| 18382 |
* src/main.c (main): Add --dont-remove-listing for backward |
| 18383 |
compatibility with previous versions. |
| 18384 |
(print_help): Fix typo, spotted by Dennis Smit. |
| 18385 |
|
| 18386 |
2003-11-08 Hrvoje Niksic <[email protected]> |
| 18387 |
|
| 18388 |
* src/http.c (persistent_available_p): No reason for the host lookup |
| 18389 |
to be silent -- it's a lookup like any other. |
| 18390 |
|
| 18391 |
2003-11-08 Hrvoje Niksic <[email protected]> |
| 18392 |
|
| 18393 |
* src/http.c (persistent_available_p): Instead of matching all the |
| 18394 |
addresses of HOST and last host, determine the peer's IP address |
| 18395 |
with socket_ip_address and see if that address is one of those |
| 18396 |
HOST resolves to. |
| 18397 |
|
| 18398 |
* src/host.c (address_list_match_all): Removed. |
| 18399 |
(address_list_find): New function, finds an IP address in the |
| 18400 |
address list. |
| 18401 |
|
| 18402 |
* src/ftp.c (ftp_do_pasv): Get the peer's address here, and pass it to |
| 18403 |
ftp_epsv so it doesn't need to call getpeername. |
| 18404 |
|
| 18405 |
* src/ftp-basic.c (ftp_port): Use socket_ip_address instead of |
| 18406 |
getpeername. |
| 18407 |
(ftp_lprt): Ditto. |
| 18408 |
|
| 18409 |
* src/connect.c (socket_ip_address): Replaces conaddr, generalized to |
| 18410 |
either get peer's or local address. |
| 18411 |
(sockaddr_get_data): Made local to this file. |
| 18412 |
|
| 18413 |
2003-11-08 Hrvoje Niksic <[email protected]> |
| 18414 |
|
| 18415 |
* src/hash.c (HASH_POSITION): Explicitly accept the hash function. |
| 18416 |
(grow_hash_table): Extract ht->hash_function outside the loop. |
| 18417 |
(hash_table_remove): Ditto. |
| 18418 |
(hash_table_clear): Fill entries with 0xff to clear them. |
| 18419 |
(hash_table_remove): Mark entries as deleted with the correct |
| 18420 |
marker. |
| 18421 |
|
| 18422 |
2003-11-08 Hrvoje Niksic <[email protected]> |
| 18423 |
|
| 18424 |
* src/cookies.c (cookie_handle_set_cookie): Specify exact match for |
| 18425 |
unspecified domains. |
| 18426 |
|
| 18427 |
2003-11-08 Hrvoje Niksic <[email protected]> |
| 18428 |
|
| 18429 |
* src/connect.c (register_extended): Check that fd >= 0. |
| 18430 |
|
| 18431 |
2003-11-08 Gisle Vanem <[email protected]> |
| 18432 |
|
| 18433 |
* src/ftp-basic.c: Support Windows-2000 ftp servers. Win-2000 *is* |
| 18434 |
Win-NT 5.0 so calling it ST_WINNT is okay I guess. |
| 18435 |
|
| 18436 |
2003-11-07 Hrvoje Niksic <[email protected]> |
| 18437 |
|
| 18438 |
* src/url.c (url_parse): Allow empty ports. |
| 18439 |
|
| 18440 |
2003-11-07 Hrvoje Niksic <[email protected]> |
| 18441 |
|
| 18442 |
* src/main.c (print_help): Break the help string into multiple chunks. |
| 18443 |
(cmdline_option): New option handler OPT_FUNCALL. Generalized |
| 18444 |
HANDLE_CMD to generic DATA. |
| 18445 |
(option_data): Use the new OPT_FUNCALL feature. |
| 18446 |
|
| 18447 |
2003-11-07 Hrvoje Niksic <[email protected]> |
| 18448 |
|
| 18449 |
* src/hash.c (NON_EMPTY): Use the all-bit-set value as the marker that |
| 18450 |
the field is empty. This allows NULL pointer and 0 value to be |
| 18451 |
used as keys, which is necessary for the connect.c code to work |
| 18452 |
when fd==0. |
| 18453 |
(hash_table_new): Fill mappings with 0xff. |
| 18454 |
(grow_hash_table): Ditto. |
| 18455 |
|
| 18456 |
2003-11-07 Hrvoje Niksic <[email protected]> |
| 18457 |
|
| 18458 |
* src/connect.c (LAZY_RETRIEVE_INFO): Set LAST_INFO. |
| 18459 |
|
| 18460 |
2003-11-07 Hrvoje Niksic <[email protected]> |
| 18461 |
|
| 18462 |
* README: Remove explicit version reference, so that the file |
| 18463 |
doesn't have to be updated for each new release. |
| 18464 |
|
| 18465 |
2003-11-06 Hrvoje Niksic <[email protected]> |
| 18466 |
|
| 18467 |
* src/main.c (init_switches): New function. Convert option_data to |
| 18468 |
long_options and short_options, which can be fed to getopt_long. |
| 18469 |
(main): Execute command-line options by consulting option_data. |
| 18470 |
|
| 18471 |
2003-11-06 Hrvoje Niksic <[email protected]> |
| 18472 |
|
| 18473 |
* src/log.h: Declare log_init, log_close, and |
| 18474 |
log_request_redirect_output here. |
| 18475 |
|
| 18476 |
2003-11-06 Hrvoje Niksic <[email protected]> |
| 18477 |
|
| 18478 |
* src/gen_sslfunc.c (ssl_read): Implement a more correct check for |
| 18479 |
EINTR. |
| 18480 |
(ssl_write): Ditto. |
| 18481 |
(init_ssl): Use a global SSL context. |
| 18482 |
|
| 18483 |
2003-11-06 Hrvoje Niksic <[email protected]> |
| 18484 |
|
| 18485 |
* src/connect.c: Updated all callers of |
| 18486 |
iread/ssl_iread/iwrite/ssl_iwrite to use xread and xwrite instead. |
| 18487 |
|
| 18488 |
* src/rbuf.h (struct rbuf): Removed the SSL member because SSL is |
| 18489 |
handled automatically by xread. |
| 18490 |
|
| 18491 |
* src/hash.c (ptrhash): Made private. |
| 18492 |
(ptrcmp): Ditto. |
| 18493 |
(inthash): Removed. |
| 18494 |
|
| 18495 |
* src/connect.c (select_fd): Don't set errno, leave it to the caller. |
| 18496 |
|
| 18497 |
* src/gen_sslfunc.c (connect_ssl): Use register_extended to register |
| 18498 |
SSL callbacks for communication with SSL-enabled endpoints. |
| 18499 |
(ssl_read): New function. |
| 18500 |
(ssl_write): Ditto. |
| 18501 |
(ssl_poll): Ditto. |
| 18502 |
(ssl_close): Ditto. |
| 18503 |
|
| 18504 |
* src/connect.c (register_extended): New function -- register |
| 18505 |
callbacks for basic socket operations. |
| 18506 |
(xread): Ditto. |
| 18507 |
(xwrite): Ditto. |
| 18508 |
(xclose): Ditto. |
| 18509 |
(sock_read): New function, default implementation for reading. |
| 18510 |
(sock_write): Ditto for writing. |
| 18511 |
(sock_poll): Ditto for polling. |
| 18512 |
(sock_close): Ditto for closing. |
| 18513 |
|
| 18514 |
2003-11-06 Hrvoje Niksic <[email protected]> |
| 18515 |
|
| 18516 |
* src/connect.c (xclose): Free INFO even if it doesn't provide a |
| 18517 |
closer. |
| 18518 |
|
| 18519 |
2003-11-05 Hrvoje Niksic <[email protected]> |
| 18520 |
|
| 18521 |
* windows/config.h.ms: MSVC doesn't have uint32_t. |
| 18522 |
|
| 18523 |
2003-11-05 Hrvoje Niksic <[email protected]> |
| 18524 |
|
| 18525 |
* src/cookies.c (save_cookies_mapper): Respect the setting of |
| 18526 |
keep-session-cookies. |
| 18527 |
(cookie_jar_load): Import session cookies. |
| 18528 |
Based on code submitted by Nicolas Schodet. |
| 18529 |
|
| 18530 |
* src/utils.c (datetime_str): Use information in TM when it's |
| 18531 |
non-NULL. |
| 18532 |
|
| 18533 |
* src/main.c (main): New option `--keep-session-cookies'. |
| 18534 |
|
| 18535 |
2003-11-05 Hrvoje Niksic <[email protected]> |
| 18536 |
|
| 18537 |
* src/connect.c (resolve_bind_address): Use a more accurate error |
| 18538 |
message -- we're not binding to ANY, we're disabling bind |
| 18539 |
altogether. |
| 18540 |
|
| 18541 |
2003-11-05 Hrvoje Niksic <[email protected]> |
| 18542 |
|
| 18543 |
* src/connect.c (connect_to_ip): More compact error checking. |
| 18544 |
(bindport): Don't treat failed setsockopt as a fatal error. |
| 18545 |
|
| 18546 |
2003-11-05 Hrvoje Niksic <[email protected]> |
| 18547 |
|
| 18548 |
* src/connect.c (bindport): Fix compilation under pre-C99 compilers. |
| 18549 |
|
| 18550 |
2003-11-05 Hrvoje Niksic <[email protected]> |
| 18551 |
|
| 18552 |
* libtool.m4, ltmain.sh, config.sub, config.guess: Upgrade to |
| 18553 |
libtool 1.5. |
| 18554 |
|
| 18555 |
2003-11-05 Hrvoje Niksic <[email protected]> |
| 18556 |
|
| 18557 |
* doc/wget.texi (HTTP Options): Document `--keep-session-cookies'. |
| 18558 |
|
| 18559 |
2003-11-05 Hrvoje Niksic <[email protected]> |
| 18560 |
|
| 18561 |
* configure.in: Use the Autoconf macro AC_C_PROTOTYPES instead of |
| 18562 |
the old AM_C_PROTOTYPES. |
| 18563 |
|
| 18564 |
2003-11-05 Hrvoje Niksic <[email protected]> |
| 18565 |
|
| 18566 |
* configure.in: Substitute ANSI2KNR and U, so we can compile. |
| 18567 |
|
| 18568 |
2003-11-05 Hrvoje Niksic <[email protected]> |
| 18569 |
|
| 18570 |
* configure.in: Remove the broken check for socks. |
| 18571 |
|
| 18572 |
2003-11-05 Dennis Smit <[email protected]> |
| 18573 |
|
| 18574 |
* src/main.c: (main): added --preserve-permissions option. |
| 18575 |
|
| 18576 |
* src/ftp.c (ftp_retrieve_list): added support for |
| 18577 |
--preserve-permissions option. |
| 18578 |
|
| 18579 |
* src/init.c: added support for --preserve-permission option. |
| 18580 |
|
| 18581 |
* src/option.h: added support for --preserve-permission option. |
| 18582 |
|
| 18583 |
2003-11-04 Hrvoje Niksic <[email protected]> |
| 18584 |
|
| 18585 |
* src/progress.c (progress_handle_sigwinch): Don't call |
| 18586 |
determine_screen_width() from the signal handler. Instead, just |
| 18587 |
set a volatile variable. |
| 18588 |
(bar_create): Check whether SIGWINCH was received. |
| 18589 |
(bar_update): Ditto. |
| 18590 |
|
| 18591 |
* src/sysdep.h: Define SYSTEM_FNMATCH only if HAVE_FNMATCH_H is true. |
| 18592 |
|
| 18593 |
2003-11-04 Hrvoje Niksic <[email protected]> |
| 18594 |
|
| 18595 |
* src/config-post.h: New file, included from now autogenerated |
| 18596 |
config.h.in. |
| 18597 |
|
| 18598 |
2003-11-04 Hrvoje Niksic <[email protected]> |
| 18599 |
|
| 18600 |
* src/Makefile.in (realclean): Delete config.h.in. |
| 18601 |
|
| 18602 |
2003-11-04 Hrvoje Niksic <[email protected]> |
| 18603 |
|
| 18604 |
* configure.in: Use the new form of AC_OUTPUT. |
| 18605 |
|
| 18606 |
* Makefile.cvs (prep): Invoke autoheader. |
| 18607 |
|
| 18608 |
2003-11-04 Hrvoje Niksic <[email protected]> |
| 18609 |
|
| 18610 |
* configure.in: Require Autoconf 2.57. |
| 18611 |
|
| 18612 |
2003-11-04 Hrvoje Niksic <[email protected]> |
| 18613 |
|
| 18614 |
* configure.in: Move some checks into aclocal.m4. Check whether |
| 18615 |
fnmatch.h is includable. |
| 18616 |
|
| 18617 |
* configure.in: Also check whether #include <md5.h> works before |
| 18618 |
deciding to use Solaris libmd5. |
| 18619 |
|
| 18620 |
* configure.in: Use AC_MSG_NOTICE instead of echo. Use |
| 18621 |
AC_MSG_ERROR for fatal errors. |
| 18622 |
|
| 18623 |
2003-11-04 Hrvoje Niksic <[email protected]> |
| 18624 |
|
| 18625 |
* configure.in: Don't misuse AC_MSG_RESULT. Use AC_MSG_NOTICE |
| 18626 |
where appropriate. |
| 18627 |
|
| 18628 |
2003-11-04 Hrvoje Niksic <[email protected]> |
| 18629 |
|
| 18630 |
* configure.in: Check whether volatile is supported. Don't check |
| 18631 |
for gethostname and uname, which are not used. |
| 18632 |
|
| 18633 |
2003-11-04 Hrvoje Niksic <[email protected]> |
| 18634 |
|
| 18635 |
* aclocal.m4: Ditto. |
| 18636 |
|
| 18637 |
* configure.in: Add description annotations to AC_DEFINE. |
| 18638 |
|
| 18639 |
* Makefile.in: Update maintenance targets, preparing them for the |
| 18640 |
use of `autoheader'. |
| 18641 |
|
| 18642 |
2003-11-03 Hrvoje Niksic <[email protected]> |
| 18643 |
|
| 18644 |
* src/wget.h (N_): Don't parenthesize argument. |
| 18645 |
|
| 18646 |
2003-11-03 Hrvoje Niksic <[email protected]> |
| 18647 |
|
| 18648 |
* src/utils.c (xsleep): New function. Uses nanosleep where available, |
| 18649 |
resuming sleeps interrupted by signals. Updated callers of sleep |
| 18650 |
and usleep to use xsleep. |
| 18651 |
|
| 18652 |
2003-11-03 Hrvoje Niksic <[email protected]> |
| 18653 |
|
| 18654 |
* src/log.c (logvprintf): Documented better. Renamed to |
| 18655 |
log_vprintf_internal to avoid confusion with the public API |
| 18656 |
functions logprintf and logputs. |
| 18657 |
|
| 18658 |
2003-11-03 Hrvoje Niksic <[email protected]> |
| 18659 |
|
| 18660 |
* src/host.h (ADDRESS_IPV4_DATA): Don't take the address of in.s_addr |
| 18661 |
because that doesn't work on machines that define it as bitfield. |
| 18662 |
|
| 18663 |
2003-11-03 Hrvoje Niksic <[email protected]> |
| 18664 |
|
| 18665 |
* src/ftp-basic.c (ftp_login): Remove shadowing (and bogus) |
| 18666 |
declaration of SEED. |
| 18667 |
|
| 18668 |
2003-11-03 Hrvoje Niksic <[email protected]> |
| 18669 |
|
| 18670 |
* src/connect.c (select_fd): Generalize the third argument into WAIT, |
| 18671 |
so that the caller can request waiting for both read and write. |
| 18672 |
Updated callers. |
| 18673 |
|
| 18674 |
2003-11-03 Hrvoje Niksic <[email protected]> |
| 18675 |
|
| 18676 |
* configure.in: Look for nanosleep in -lrt and -lposix4, which is |
| 18677 |
where Solaris has them. |
| 18678 |
|
| 18679 |
2003-11-03 Hrvoje Niksic <[email protected]> |
| 18680 |
|
| 18681 |
* configure.in: Check for nanosleep. |
| 18682 |
|
| 18683 |
2003-11-02 Hrvoje Niksic <[email protected]> |
| 18684 |
|
| 18685 |
* src/wget.h: Retired the `boolean' type. Moved the DEFAULT_LOGFILE |
| 18686 |
define to log.h. Moved the INFINITE_RECURSION define to recur.h. |
| 18687 |
|
| 18688 |
* src/xmalloc.h: Renamed FREE_MAYBE to xfree_null and moved the |
| 18689 |
definition from wget.h to xmalloc.h. |
| 18690 |
|
| 18691 |
2003-11-02 Hrvoje Niksic <[email protected]> |
| 18692 |
|
| 18693 |
* src/html-url.c (cleanup_html_url): Destroy the hash tables, don't |
| 18694 |
just call free on them. |
| 18695 |
(init_interesting): Use hash_table_put instead of string_set_add |
| 18696 |
because we don't need the strdup that the latter function |
| 18697 |
performs. |
| 18698 |
|
| 18699 |
* src/init.c (cleanup): Don't pass NULL to cookie_jar_delete. |
| 18700 |
|
| 18701 |
* src/xmalloc.c (xfree_real): Abort when passed a NULL pointer. |
| 18702 |
(xfree_debug): Print at the file and line of the offending call to |
| 18703 |
free. |
| 18704 |
|
| 18705 |
2003-11-02 Hrvoje Niksic <[email protected]> |
| 18706 |
|
| 18707 |
* src/html-parse.c (decode_entity): New function; split the decoding |
| 18708 |
of entities here. |
| 18709 |
(convert_and_copy): Use it to decode entities. |
| 18710 |
(decode_entity): Handle the &apos entity. |
| 18711 |
(decode_entity): Don't decode Latin 1 numeric entities. Don't |
| 18712 |
decode �. |
| 18713 |
|
| 18714 |
2003-11-01 Hrvoje Niksic <[email protected]> |
| 18715 |
|
| 18716 |
* src/host.c: Removed the ip_default_family global variable. |
| 18717 |
|
| 18718 |
* src/host.c (lookup_host): Document the function. Fixed declaration |
| 18719 |
of VEC. |
| 18720 |
|
| 18721 |
2003-11-01 Hrvoje Niksic <[email protected]> |
| 18722 |
|
| 18723 |
* src/ftp-opie.c (calculate_skey_response): Use uint32_t instead of |
| 18724 |
`unsigned long' for the cheksum array. Document the function. |
| 18725 |
|
| 18726 |
2003-11-01 Hrvoje Niksic <[email protected]> |
| 18727 |
|
| 18728 |
* src/connect.c (acceptport): Don't call select_fd when timeout is not |
| 18729 |
requested. |
| 18730 |
|
| 18731 |
2003-10-31 Hrvoje Niksic <[email protected]> |
| 18732 |
|
| 18733 |
* src/wget.h: Move declarations of malloc and logging code to |
| 18734 |
xmalloc.h and log.h respectively to unclutter this file. |
| 18735 |
(STRDUP_ALLOCA): Made it side-effect free. |
| 18736 |
|
| 18737 |
* src/xmalloc.h: New files. Define macros xnew, xnew0, xnew_array, |
| 18738 |
and xnew0_array. |
| 18739 |
|
| 18740 |
* src/xmalloc.c: New file. Move the xmalloc routines here. |
| 18741 |
|
| 18742 |
2003-10-31 Hrvoje Niksic <[email protected]> |
| 18743 |
|
| 18744 |
* src/various: Use new macros xnew, xnew0, xnew_array, and xnew0_array |
| 18745 |
in various places. |
| 18746 |
|
| 18747 |
2003-10-31 Hrvoje Niksic <[email protected]> |
| 18748 |
|
| 18749 |
* src/sysdep.h (CLOSE): Don't call close on file descriptors less than |
| 18750 |
0, i.e. on uncreated sockets. |
| 18751 |
|
| 18752 |
* src/connect.c (resolve_bind_address): Work on struct sockaddr |
| 18753 |
directly. |
| 18754 |
(connect_to_host): Replacement for connect_to_many. Resolve HOST |
| 18755 |
and connect to any of its addresses. If we can't connect and the |
| 18756 |
host name lookup was cached, try to resolve it again. This should |
| 18757 |
fix problems with hosts behind dynamic DNS. Updated all callers. |
| 18758 |
(connect_to_ip): Replacement for connect_to_one. Removed SILENT; |
| 18759 |
added the argument PRINT instead. Updated all callers. |
| 18760 |
(set_connection_host_name): Removed. |
| 18761 |
|
| 18762 |
* src/host.c (address_list_address_at): New function instead of |
| 18763 |
address_list_copy_one. It returns a pointer to ip_address *, so |
| 18764 |
it's not necessary to copy the data. |
| 18765 |
(address_list_cached_p): New function. |
| 18766 |
(forget_host_lookup): Ditto. |
| 18767 |
|
| 18768 |
* src/connect.c: Got rid of the MSOCK global variable. Made bindport |
| 18769 |
return the local socket it creates. Added a new argument to |
| 18770 |
acceptport, the socket to call accept on. Updated callers. |
| 18771 |
(closeport): Removed. |
| 18772 |
|
| 18773 |
* src/connect.c: Moved the sockaddr code from host.c to this file, |
| 18774 |
because most of that stuff is used for connecting, and has nothing |
| 18775 |
to do with host names anyway. |
| 18776 |
(sockaddr_set_data, sockaddr_get_data): New functions, replace the |
| 18777 |
old sockaddr_set_address, sockaddr_set_port, sockaddr_get_address, |
| 18778 |
and sockaddr_get_port. |
| 18779 |
|
| 18780 |
2003-10-31 Hrvoje Niksic <[email protected]> |
| 18781 |
|
| 18782 |
* src/host.c (address_list_from_single): Removed. |
| 18783 |
(address_list_from_ipv4_addresses): Renamed from |
| 18784 |
address_list_from_vector. |
| 18785 |
|
| 18786 |
2003-10-31 Hrvoje Niksic <[email protected]> |
| 18787 |
|
| 18788 |
* src/connect.c (sockaddr_set_data): Remove the broken code that |
| 18789 |
checked for NULL address. |
| 18790 |
|
| 18791 |
2003-10-30 Hrvoje Niksic <[email protected]> |
| 18792 |
|
| 18793 |
* src/url.c (append_uri_pathel): New argument ESCAPED_P that says |
| 18794 |
whether [B, E) is to be treated as URL-escaped or not. If |
| 18795 |
ESCAPED_P is false, don't unescape the region. |
| 18796 |
(url_file_name): u->file is not URL-escaped. |
| 18797 |
|
| 18798 |
2003-10-30 Hrvoje Niksic <[email protected]> |
| 18799 |
|
| 18800 |
* src/sysdep.h: Use `S >= 8' rather than `S == 8' when looking for |
| 18801 |
large integers. |
| 18802 |
|
| 18803 |
2003-10-30 Hrvoje Niksic <[email protected]> |
| 18804 |
|
| 18805 |
* src/retr.c (retrieve_from_file): Use retrieve_tree for |
| 18806 |
page-requisites. |
| 18807 |
|
| 18808 |
* src/main.c (main): Don't define opt.recursive when -p is used. |
| 18809 |
Instead, make sure that recursion is used for HTTP in that case. |
| 18810 |
|
| 18811 |
2003-10-29 Hrvoje Niksic <[email protected]> |
| 18812 |
|
| 18813 |
* src/host.h: Defined accessors for elements of ip_address. Updated |
| 18814 |
all callers. |
| 18815 |
(address_list_match_all): Use memcmp in the non-IPv6 case. |
| 18816 |
|
| 18817 |
* src/wget.h (CONNECT_ERROR): Don't retry connecting if connect() |
| 18818 |
returned EAFNOSUPPORT. |
| 18819 |
|
| 18820 |
2003-10-29 Hrvoje Niksic <[email protected]> |
| 18821 |
|
| 18822 |
* configure.in: Reenable IPv6 autodetection. |
| 18823 |
|
| 18824 |
2003-10-27 Mauro Tortonesi <[email protected]> |
| 18825 |
|
| 18826 |
* src/connect.h: changed bindport prototype and added the related |
| 18827 |
BIND_ON_IPV4_ONLY and BIND_ON_IPV6_ONLY flags. |
| 18828 |
|
| 18829 |
* src/connect.c: changed bindport and resolve_bind_address to allow |
| 18830 |
protocol-version specific DNS resolution. modified conaddr, |
| 18831 |
acceptport and connect_to_one to make use of struct |
| 18832 |
sockaddr_storage and of the new ip_address structure. |
| 18833 |
|
| 18834 |
* src/ftp-basic.c: added LPRT/LPSV (RFC1639) support, refactored |
| 18835 |
PORT/PASV (RFC959) and EPRT/EPSV (RFC2428) support code. |
| 18836 |
|
| 18837 |
* src/ftp.c: added the ftp_do_port and ftp_do_pasv functions to |
| 18838 |
handle FTP over IPv6. |
| 18839 |
|
| 18840 |
* src/ftp.h: changed prototype of ftp_epsv and added prototypes for |
| 18841 |
ftp_lpsv, ftp_lprt and ftp_eprt. |
| 18842 |
|
| 18843 |
* src/host.c: renamed the |
| 18844 |
wget_sockaddr_set_address and wget_sockaddr_get_addr, and |
| 18845 |
wget_sockaddr_{s,g}et_port couples to sockaddr_{s,g}et_address and |
| 18846 |
sockaddr_{g,s}et_port respectively. changed |
| 18847 |
address_list_match_all, address_list_from_addrinfo sockaddr_len, |
| 18848 |
pretty_print_address, lookup_host, sockaddr_{s,g}et_address and |
| 18849 |
sockaddr_{g,s}et_port to make use of struct sockaddr_storage and |
| 18850 |
of the new ip_address structure. removed map_ipv4_to_ip and |
| 18851 |
map_ip_to_ipv4. |
| 18852 |
|
| 18853 |
* src/host.h: redefined structure ip_address and removed structure |
| 18854 |
wget_sockaddr. |
| 18855 |
|
| 18856 |
2003-10-26 Hrvoje Niksic <[email protected]> |
| 18857 |
|
| 18858 |
* windows/config.h.mingw: Ditto. |
| 18859 |
|
| 18860 |
* windows/Makefile.top.mingw: Ditto. |
| 18861 |
|
| 18862 |
* windows/Makefile.src.mingw: New file. |
| 18863 |
|
| 18864 |
* windows/wget.dep: Support convert.o. |
| 18865 |
|
| 18866 |
* configure.bat.in: New option `--mingw'. |
| 18867 |
From Chin-yuan Kuo. |
| 18868 |
|
| 18869 |
2003-10-26 Hrvoje Niksic <[email protected]> |
| 18870 |
|
| 18871 |
* windows/config.h.bor: DEBUG is now ENABLE_DEBUG. Borland has |
| 18872 |
snprintf, but not u_int32_t. |
| 18873 |
|
| 18874 |
* windows/Makefile.src.bor (OBJS): Use convert.c. |
| 18875 |
|
| 18876 |
From Chin-yuan Kuo. |
| 18877 |
|
| 18878 |
2003-10-26 Hrvoje Niksic <[email protected]> |
| 18879 |
|
| 18880 |
* windows/Makefile.src.watcom (OBJS): Use convert.c. |
| 18881 |
From Chin-yuan Kuo. |
| 18882 |
|
| 18883 |
2003-10-26 Hrvoje Niksic <[email protected]> |
| 18884 |
|
| 18885 |
* src/sysdep.h: Include inttypes.h where available. |
| 18886 |
|
| 18887 |
* src/host.c: Switch from u_int32_t to uint32_t. |
| 18888 |
|
| 18889 |
2003-10-26 Hrvoje Niksic <[email protected]> |
| 18890 |
|
| 18891 |
* src/netrc.c (parse_netrc): Reset the QUOTE flag after the closing |
| 18892 |
quote. |
| 18893 |
|
| 18894 |
2003-10-26 Hrvoje Niksic <[email protected]> |
| 18895 |
|
| 18896 |
* doc/wget.texi (Wgetrc Commands): Fixed typo. |
| 18897 |
From DervishD <[email protected]>. |
| 18898 |
|
| 18899 |
2003-10-26 Hrvoje Niksic <[email protected]> |
| 18900 |
|
| 18901 |
* configure.in: Switch from u_int32_t to uint32_t. Check for |
| 18902 |
inttypes.h so it's used to get the definition of uint32_t where |
| 18903 |
available. |
| 18904 |
|
| 18905 |
2003-10-25 Hrvoje Niksic <[email protected]> |
| 18906 |
|
| 18907 |
* src/url.c (is_valid_ipv6_address): Reformat to GNU coding style. |
| 18908 |
Use enums for NS_IN* constants. Use ISXDIGIT. |
| 18909 |
|
| 18910 |
* src/convert.c (construct_relative): Document better how the function |
| 18911 |
works. |
| 18912 |
|
| 18913 |
2003-10-24 Hrvoje Niksic <[email protected]> |
| 18914 |
|
| 18915 |
* doc/Makefile.in (install.info): Handle the case when only wget.info |
| 18916 |
is generated from wget.texi. In that case, wget.info-*[0-9] |
| 18917 |
doesn't match anything and therefore ends up as a bogus value of |
| 18918 |
FILE in the loop. Fix this by not calling INSTALL_DATA on |
| 18919 |
nonexistent files. |
| 18920 |
|
| 18921 |
2003-10-23 Hrvoje Niksic <[email protected]> |
| 18922 |
|
| 18923 |
* src/version.c: Bump version. |
| 18924 |
|
| 18925 |
2003-10-23 Hrvoje Niksic <[email protected]> |
| 18926 |
|
| 18927 |
* src/url.c: Ditto. |
| 18928 |
|
| 18929 |
* src/html-parse.c (advance_declaration): Don't use trailing comma in |
| 18930 |
enum because older compilers don't support it. |
| 18931 |
|
| 18932 |
* src/utils.c: Don't redefine HAVE_SIGSETJMP. |
| 18933 |
|
| 18934 |
2003-10-23 Hrvoje Niksic <[email protected]> |
| 18935 |
|
| 18936 |
* src/config.h.in: Deploy preprocessor magic to avoid Ultrix's |
| 18937 |
<netdb.h> include <bitypes.h> which defines its own u_int32_t. |
| 18938 |
Reported by Bernhard Simon. |
| 18939 |
|
| 18940 |
2003-10-23 Hrvoje Niksic <[email protected]> |
| 18941 |
|
| 18942 |
* Makefile.in (dist): Depend on configure.bat. |
| 18943 |
(realclean-top): Delete configure.bat. |
| 18944 |
|
| 18945 |
2003-10-21 Hrvoje Niksic <[email protected]> |
| 18946 |
|
| 18947 |
* Makefile.in (distclean-top): Remove the libtool script, because |
| 18948 |
it's generated by configure. |
| 18949 |
|
| 18950 |
2003-10-16 Hrvoje Niksic <[email protected]> |
| 18951 |
|
| 18952 |
* src/convert.c (construct_relative): Don't handle absolute files |
| 18953 |
specially -- for example, -P/tmp/foo shouldn't imply that |
| 18954 |
converted files must refer to "/tmp/foo/..."! |
| 18955 |
|
| 18956 |
2003-10-16 Hrvoje Niksic <[email protected]> |
| 18957 |
|
| 18958 |
* configure.in: Don't check for int32_t because we're not really |
| 18959 |
using it. |
| 18960 |
|
| 18961 |
2003-10-15 Philip Stadermann <[email protected]> |
| 18962 |
|
| 18963 |
* src/ftp.c (ftp_retrieve_glob): Correctly loop through the list whose |
| 18964 |
elements might have been deleted. |
| 18965 |
|
| 18966 |
2003-10-15 Hrvoje Niksic <[email protected]> |
| 18967 |
|
| 18968 |
* src/http.c: Consider status 307 a valid redirect. |
| 18969 |
|
| 18970 |
2003-10-13 Hrvoje Niksic <[email protected]> |
| 18971 |
|
| 18972 |
* src/sysdep.h: Only define u_int32_t. |
| 18973 |
|
| 18974 |
2003-10-13 Hrvoje Niksic <[email protected]> |
| 18975 |
|
| 18976 |
* src/html-url.c (tag_handle_meta): Set the Refresh link to expect |
| 18977 |
HTML. |
| 18978 |
(append_one_url): Renamed to append_url. |
| 18979 |
|
| 18980 |
2003-10-11 Hrvoje Niksic <[email protected]> |
| 18981 |
|
| 18982 |
* src/utils.c (large_int_to_string): Use snprintf() to print the |
| 18983 |
number. This will work even on systems where libc doesn't |
| 18984 |
understand %lld, but the compiler does, because it will use our |
| 18985 |
snprintf replacement. |
| 18986 |
|
| 18987 |
* src/init.c (parse_bytes_helper): New function. |
| 18988 |
(cmd_bytes): Use it to parse bytes, but cast the result to long. |
| 18989 |
(cmd_bytes_large): Ditto, but store the result to LARGE_INT. Used |
| 18990 |
for --quota so that --quota=10G works even on machines without |
| 18991 |
long long. |
| 18992 |
|
| 18993 |
* src/options.h (struct options): Declare quota as LARGE_INT. |
| 18994 |
|
| 18995 |
* src/retr.c (downloaded_exceeds_quota): Removed. |
| 18996 |
(downloaded_increase): Ditto. |
| 18997 |
(total_downloaded_bytes): New variable, replaces opt.downloaded, |
| 18998 |
which was the wrong place for it anyway. Updated callers of |
| 18999 |
downloaded_exceeds_quota and downloaded_increase to check this |
| 19000 |
variable directly. |
| 19001 |
|
| 19002 |
* src/sysdep.h: Get rid of VERY_LONG_TYPE. Use LARGE_INT for the same |
| 19003 |
purpose, defined as `long', `long long' or `double', depending on |
| 19004 |
size of long and whether long long is available. |
| 19005 |
|
| 19006 |
2003-10-11 Hrvoje Niksic <[email protected]> |
| 19007 |
|
| 19008 |
* src/sysdep.h: Also check size of short for int32_t. |
| 19009 |
|
| 19010 |
2003-10-11 Hrvoje Niksic <[email protected]> |
| 19011 |
|
| 19012 |
* src/host.c (lookup_host): Use u_int32_t to store the result of |
| 19013 |
inet_addr(). That removes the need for offset fiddling, caring |
| 19014 |
about endian-ness, etc. |
| 19015 |
|
| 19016 |
* src/sysdep.h: Define int32_t and u_int32_t if not available. |
| 19017 |
|
| 19018 |
2003-10-11 Hrvoje Niksic <[email protected]> |
| 19019 |
|
| 19020 |
* src/ftp-basic.c (ftp_epsv): Use socklen_t * as the third argument to |
| 19021 |
getpeername. |
| 19022 |
|
| 19023 |
* src/config.h.in: Define socklen_t stub. |
| 19024 |
|
| 19025 |
* src/host.c (sockaddr_len): Return socklen_t. |
| 19026 |
|
| 19027 |
* src/connect.c (conaddr): Use socklen_t as the third argument to |
| 19028 |
accept, getsockname, and connect. |
| 19029 |
|
| 19030 |
2003-10-11 Hrvoje Niksic <[email protected]> |
| 19031 |
|
| 19032 |
* configure.in: Check for int32_t and u_int32_t. Check for |
| 19033 |
SIZEOF_INT. |
| 19034 |
|
| 19035 |
2003-10-10 Hrvoje Niksic <[email protected]> |
| 19036 |
|
| 19037 |
* src/recur.c (retrieve_tree): Don't descend into documents that are |
| 19038 |
not expected to contain HTML, regardless of their content-type. |
| 19039 |
|
| 19040 |
* src/html-url.c (tag_url_attributes): Record which attributes are |
| 19041 |
supposed to yield HTML links that can be followed. |
| 19042 |
(tag_find_urls): Propagate that information to the caller through |
| 19043 |
struct urlpos. |
| 19044 |
|
| 19045 |
2003-10-10 Hrvoje Niksic <[email protected]> |
| 19046 |
|
| 19047 |
* src/hash.c (hash_table_new): Slightly change the meaning of the |
| 19048 |
first parameter. Instead of being the minimum initial size, it is |
| 19049 |
now the minimum number of items that the hash table can take |
| 19050 |
without needing to resize. |
| 19051 |
|
| 19052 |
2003-10-10 Hrvoje Niksic <[email protected]> |
| 19053 |
|
| 19054 |
* src/hash.c (find_mapping): Return the next available mapping when |
| 19055 |
the key is not found, not NULL. |
| 19056 |
(hash_table_put): Use find_mapping to find the storage for the new |
| 19057 |
data. |
| 19058 |
(hash_table_put): Grow the table before exceeding maximum |
| 19059 |
fullness, not afterwards. |
| 19060 |
|
| 19061 |
2003-10-10 Hrvoje Niksic <[email protected]> |
| 19062 |
|
| 19063 |
* po/tr.po: Ditto. |
| 19064 |
|
| 19065 |
* po/sv.po: Updated from TP. |
| 19066 |
|
| 19067 |
2003-10-10 Hrvoje Niksic <[email protected]> |
| 19068 |
|
| 19069 |
* aclocal.m4 (WGET_WITH_NLS): First check for gettext in libintl, |
| 19070 |
then use the libc version. That way systems that get libintl.h |
| 19071 |
from /usr/local/include will get the matching gettext. |
| 19072 |
|
| 19073 |
2003-10-09 Hrvoje Niksic <[email protected]> |
| 19074 |
|
| 19075 |
* src/html-url.c (init_interesting): Initialize interesting_tags and |
| 19076 |
interesting_attributes as hash tables. This simplifies the code |
| 19077 |
immensely because hash tables handle allocation and remove |
| 19078 |
duplicates automatically. |
| 19079 |
(find_tag): Removed. |
| 19080 |
(collect_tags_mapper): Instead of calling find_tag, simply get the |
| 19081 |
entry from interesting_tags hash table, which is both simpler and |
| 19082 |
faster. |
| 19083 |
|
| 19084 |
2003-10-09 Hrvoje Niksic <[email protected]> |
| 19085 |
|
| 19086 |
* src/hash.c (hash_table_get): Declare hash-table argument as const. |
| 19087 |
(find_mapping): Ditto. |
| 19088 |
(hash_table_get_pair): Ditto. |
| 19089 |
(hash_table_contains): Ditto. |
| 19090 |
(hash_table_count): Ditto. |
| 19091 |
|
| 19092 |
2003-10-09 Hrvoje Niksic <[email protected]> |
| 19093 |
|
| 19094 |
* po/ft.po, po/sk.po, po/ja.po: Updated from the TP. |
| 19095 |
|
| 19096 |
2003-10-09 Herold Heiko <[email protected]> |
| 19097 |
|
| 19098 |
* windows/Makefile.watcom (OBJS): Ditto. |
| 19099 |
|
| 19100 |
* windows/Makefile.src.bor: Ditto. |
| 19101 |
|
| 19102 |
* windows/wget.dep: Ditto. |
| 19103 |
|
| 19104 |
* windows/Makefile.src: Removed references to fnmatch.c and |
| 19105 |
fnmatch.o. |
| 19106 |
|
| 19107 |
2003-10-08 Hrvoje Niksic <[email protected]> |
| 19108 |
|
| 19109 |
* src/main.c (print_help): Fix typo; stured -> stored. |
| 19110 |
|
| 19111 |
2003-10-08 Hrvoje Niksic <[email protected]> |
| 19112 |
|
| 19113 |
* src/html-url.c (get_urls_html): Parse the appropriate flags to |
| 19114 |
html-parse.c. |
| 19115 |
|
| 19116 |
* src/html-parse.c (map_html_tags): Accept FLAGS from the caller |
| 19117 |
instead of examining OPT. |
| 19118 |
|
| 19119 |
2003-10-08 Hrvoje Niksic <[email protected]> |
| 19120 |
|
| 19121 |
* src/html-url.c (find_tag): Switch to binary search. |
| 19122 |
|
| 19123 |
2003-10-08 Hrvoje Niksic <[email protected]> |
| 19124 |
|
| 19125 |
* src/getopt.c: Newer version, imported from Free libit. |
| 19126 |
|
| 19127 |
2003-10-08 Hrvoje Niksic <[email protected]> |
| 19128 |
|
| 19129 |
* src/getopt.c: Add definitions of getopt_long and getopt_long_only. |
| 19130 |
|
| 19131 |
2003-10-08 Hrvoje Niksic <[email protected]> |
| 19132 |
|
| 19133 |
* src/ftp.c (has_insecure_name_p): Define it here. |
| 19134 |
|
| 19135 |
* src/utils.c (has_wildcards_p): Define it here. |
| 19136 |
|
| 19137 |
* src/sysdep.h: Declare fnmatch-related macros here, if not using |
| 19138 |
system fnmatch(). Update .c files to not declare fnmatch.h |
| 19139 |
directly. |
| 19140 |
|
| 19141 |
* src/cmpt.c (fnmatch): Moved here. Use it only under non-GNU libc. |
| 19142 |
|
| 19143 |
2003-10-08 Hrvoje Niksic <[email protected]> |
| 19144 |
|
| 19145 |
* src/config.h.in: Renamed DEBUG to ENABLE_DEBUG. ENABLE_DEBUG is, I |
| 19146 |
think, a better name, because it implies that debugging output is |
| 19147 |
merely possible, not "on by default", as might be construed from |
| 19148 |
just DEBUG. |
| 19149 |
|
| 19150 |
2003-10-08 Hrvoje Niksic <[email protected]> |
| 19151 |
|
| 19152 |
* po/wget.pot: Recreated. |
| 19153 |
|
| 19154 |
2003-10-08 Hrvoje Niksic <[email protected]> |
| 19155 |
|
| 19156 |
* configure.in: Renamed DEBUG to ENABLE_DEBUG. |
| 19157 |
|
| 19158 |
2003-10-07 Hrvoje Niksic <[email protected]> |
| 19159 |
|
| 19160 |
* src/cookies.c (struct cookie): Remove unused backpointer to cookie |
| 19161 |
jar. |
| 19162 |
|
| 19163 |
2003-10-07 Hrvoje Niksic <[email protected]> |
| 19164 |
|
| 19165 |
* src/cmpt.c (memmove): Comment out, since it's no longer used. |
| 19166 |
|
| 19167 |
* src/cookies.c (cookie_jar_generate_cookie_header): Allocate room for |
| 19168 |
chains in one pass. |
| 19169 |
(find_chains_of_host): Assume that the caller has allocated DEST |
| 19170 |
to be sufficiently large to take all the data. |
| 19171 |
(eliminate_dups): Run through the array and eliminate dups on the |
| 19172 |
fly instead of using memmove. |
| 19173 |
(cookie_jar_process_set_cookie): Free cookie->domain before |
| 19174 |
re-setting it. |
| 19175 |
|
| 19176 |
2003-10-07 Hrvoje Niksic <[email protected]> |
| 19177 |
|
| 19178 |
* doc/wget.texi (HTTP Options): Documented --post-file and |
| 19179 |
--post-data. |
| 19180 |
|
| 19181 |
2003-10-05 Hrvoje Niksic <[email protected]> |
| 19182 |
|
| 19183 |
* src/utils.c (file_size): Return -1 if fopen() returns NULL. Prior |
| 19184 |
to this patch, wget --post-file=nosuchfile dumped core. |
| 19185 |
|
| 19186 |
2003-10-05 Gisle Vanem <[email protected]> |
| 19187 |
|
| 19188 |
* src/mswindows.c (set_sleep_mode): Fix type of |
| 19189 |
_SetThreadExecutionState. |
| 19190 |
|
| 19191 |
2003-10-04 Hrvoje Niksic <[email protected]> |
| 19192 |
|
| 19193 |
* src/log.c: Use `...' in function definitions; ansi2knr will convert |
| 19194 |
them to va_dcl. This allowed removal of the ugly VA_START_1 and |
| 19195 |
VA_START_2 macros. |
| 19196 |
|
| 19197 |
2003-10-04 Hrvoje Niksic <[email protected]> |
| 19198 |
|
| 19199 |
* libtool.m4: New file with contents imported from libtool. |
| 19200 |
|
| 19201 |
* aclocal.m4: Move libtool stuff into a separate file. That |
| 19202 |
leaves this file only with Wget-specific stuff. |
| 19203 |
|
| 19204 |
2003-10-04 Gisle Vanem <[email protected]> |
| 19205 |
|
| 19206 |
* src/mswindows.c (run_with_timeout): Use WaitForSingleObject to wait |
| 19207 |
for thread termination. |
| 19208 |
|
| 19209 |
2003-10-03 Hrvoje Niksic <[email protected]> |
| 19210 |
|
| 19211 |
* src/html-parse.c (convert_and_copy): Move variable declarations |
| 19212 |
before statements. |
| 19213 |
|
| 19214 |
2003-10-03 Gisle Vanem <[email protected]> |
| 19215 |
|
| 19216 |
* src/connect.c: And don't include them here. |
| 19217 |
|
| 19218 |
* src/mswindows.h: Include winsock headers here. |
| 19219 |
|
| 19220 |
2003-10-02 Hrvoje Niksic <[email protected]> |
| 19221 |
|
| 19222 |
* src/wget.h (XMALLOC_ARRAY): Removed. |
| 19223 |
(ALLOCA_ARRAY): Ditto. |
| 19224 |
|
| 19225 |
* src/html-parse.c: Renamed alloca_p to resized. |
| 19226 |
(GROW_ARRAY): Renamed DO_REALLOC_FROM_ALLOCA to GROW_ARRAY and |
| 19227 |
returned it to html-parse.c, since nothing else was using it. |
| 19228 |
|
| 19229 |
2003-10-02 Hrvoje Niksic <[email protected]> |
| 19230 |
|
| 19231 |
* src/utils.c (alarm_set): New function; use either setitimer or alarm |
| 19232 |
to set up the alarm. |
| 19233 |
(alarm_cancel): New function; cancel the alarm set up by |
| 19234 |
alarm_set. |
| 19235 |
(run_with_timeout): Use them. |
| 19236 |
|
| 19237 |
2003-10-02 Hrvoje Niksic <[email protected]> |
| 19238 |
|
| 19239 |
* src/retr.c (retrieve_url): Initialize DUMMY storage for DT. Caught |
| 19240 |
by valgrind. |
| 19241 |
|
| 19242 |
2003-10-02 Hrvoje Niksic <[email protected]> |
| 19243 |
|
| 19244 |
* src/html-parse.c (convert_and_copy): Handle numeric entities in |
| 19245 |
hexadecimal, &#xHH. |
| 19246 |
(convert_and_copy): Copy the contents directly to the pool without |
| 19247 |
a stack-allocated intermediary. |
| 19248 |
|
| 19249 |
2003-10-02 Gisle Vanem <[email protected]> |
| 19250 |
|
| 19251 |
* src/mswindows.c (run_with_timeout): For Windows: Run the 'fun' in a |
| 19252 |
thread via a helper function. Continually query the thread's |
| 19253 |
exit-code until finished or timed out. |
| 19254 |
|
| 19255 |
2003-10-01 Hrvoje Niksic <[email protected]> |
| 19256 |
|
| 19257 |
* src/url.c (url_parse): Don't leak memory when a reencoded URL turns |
| 19258 |
out to be invalid. |
| 19259 |
|
| 19260 |
* src/url.c (parse_errors): Mark error messages for translation. |
| 19261 |
(url_error): Translate error messages returned to the caller. |
| 19262 |
|
| 19263 |
2003-10-01 Hrvoje Niksic <[email protected]> |
| 19264 |
|
| 19265 |
* src/ftp.c (ftp_loop_internal): Initialize TMRATE to NULL to shut up |
| 19266 |
the compiler. |
| 19267 |
|
| 19268 |
2003-10-01 Hrvoje Niksic <[email protected]> |
| 19269 |
|
| 19270 |
* po/hu.po: Updated from the TP. |
| 19271 |
|
| 19272 |
* po/et.po: Updated from the TP. |
| 19273 |
|
| 19274 |
* po/ro.po: New file from the TP. |
| 19275 |
|
| 19276 |
2003-10-01 Hrvoje Niksic <[email protected]> |
| 19277 |
|
| 19278 |
* po/hr.po: Updated. |
| 19279 |
|
| 19280 |
2003-10-01 Hrvoje Niksic <[email protected]> |
| 19281 |
|
| 19282 |
* po/POTFILES.in: Added src/convert.c. |
| 19283 |
|
| 19284 |
2003-10-01 Hrvoje Niksic <[email protected]> |
| 19285 |
|
| 19286 |
* doc/wget.texi: Renamed prep.ai.mit.edu to ftp.gnu.org. |
| 19287 |
|
| 19288 |
2003-10-01 Hrvoje Niksic <[email protected]> |
| 19289 |
|
| 19290 |
* doc/wget.texi (Contributors): Updated from ChangeLog entries. |
| 19291 |
|
| 19292 |
2003-09-30 Herold Heiko <[email protected]> |
| 19293 |
|
| 19294 |
* windows/Makefile.src (OBJ): Fix typo. |
| 19295 |
|
| 19296 |
2003-09-29 Aaron Hawley <[email protected]> |
| 19297 |
|
| 19298 |
* src/ftp.c (getftp): --spider option should now work with FTP |
| 19299 |
downloads. |
| 19300 |
(ftp_loop_internal): quiet reports and calculations of downloads |
| 19301 |
when --spider option set, nor try deleting when --delete-after |
| 19302 |
also set. |
| 19303 |
(ftp_loop): --spider will skip HTML-ification of .listing file. |
| 19304 |
|
| 19305 |
2003-09-26 Gisle Vanem <[email protected]> |
| 19306 |
|
| 19307 |
* windows/config.h.ms: Don't declare alloca under compilers that |
| 19308 |
support it. |
| 19309 |
|
| 19310 |
* windows/config.h.ms: Define HAVE_SNPRINTF, HAVE_VSNPRINTF, and |
| 19311 |
HAVE_MEMMOVE. |
| 19312 |
|
| 19313 |
2003-09-26 Gisle Vanem <[email protected]> |
| 19314 |
|
| 19315 |
* src/src/mswindows.c: Added ws_percenttitle() showing progress in the |
| 19316 |
window titlebar. Called from retr.c. Secured ws_mypath(). |
| 19317 |
|
| 19318 |
* src/windows/config.h.ms: alloca() prototype not needed. Removed |
| 19319 |
"#undef ENABLE_NLS"; should be in Makefile IMHO. Moved |
| 19320 |
WGET_USE_STDARG from mswindows.h to config.ms.h because of #ifdef |
| 19321 |
in log.c. (MSVC's vararg.h and stdarg.h are incompatible). |
| 19322 |
|
| 19323 |
2003-09-26 Gisle Vanem <[email protected]> |
| 19324 |
|
| 19325 |
* src/mswindows.c (read_registry): Removed. |
| 19326 |
(set_sleep_mode): New function. |
| 19327 |
(windows_main_junk): Call it. |
| 19328 |
|
| 19329 |
2003-09-26 Gisle Vanem <[email protected]> |
| 19330 |
|
| 19331 |
* src/mswindows.c (read_registry): Fix invocation of registry |
| 19332 |
functions. |
| 19333 |
|
| 19334 |
* src/mswindows.c (read_registry): Condition definitions of sleep and |
| 19335 |
usleep with not HAVE_SLEEP and HAVE_USLEEP respectively. Define |
| 19336 |
HAVE_SLEEP and HAVE_USLEEP under __DMC__. |
| 19337 |
|
| 19338 |
2003-09-25 Herold Heiko <[email protected]> |
| 19339 |
|
| 19340 |
* windows/Makefile.src: Updated OBJ list. |
| 19341 |
|
| 19342 |
2003-09-24 Hrvoje Niksic <[email protected]> |
| 19343 |
|
| 19344 |
* src/url.c (url_escape_1): Revert unintentional change to lowercase |
| 19345 |
xdigit escapes. |
| 19346 |
(url_escape_dir): Document that this function depends on the |
| 19347 |
output of url_escape_1. |
| 19348 |
|
| 19349 |
2003-09-23 Hrvoje Niksic <[email protected]> |
| 19350 |
|
| 19351 |
* src/progress.c (create_image): Print the current ETA if we're done |
| 19352 |
with the download. |
| 19353 |
(create_image): Change '-' display char to '+' in the progress bar. |
| 19354 |
|
| 19355 |
* src/Makefile.in (clean): Remove .libs. |
| 19356 |
|
| 19357 |
2003-09-23 Hrvoje Niksic <[email protected]> |
| 19358 |
|
| 19359 |
* src/cookies.c (struct cookie): New flag domain_exact. |
| 19360 |
(update_cookie_field): Skip leading dot in domain. |
| 19361 |
(find_matching_chains): Match numeric addresses exactly; don't |
| 19362 |
needlessly copy HOST to the stack. |
| 19363 |
(matching_cookie): Added argument HOST. If cookie->domain_exact |
| 19364 |
is set, check that HOST is equal to cookie->domain. |
| 19365 |
(cookie_jar_load): Only use TAB as delimiter. Document the |
| 19366 |
meaning of DOMAIN-FLAG. Skip leading dot in domain. |
| 19367 |
(cookie_jar_load): Don't ignore DOMAIN-FLAG -- instead, set |
| 19368 |
domain_exact to true if DOMAIN-FLAG is false. |
| 19369 |
(save_cookies_mapper): If domain_exact is false, prepend the |
| 19370 |
domain with dot, like Mozilla does. |
| 19371 |
|
| 19372 |
2003-09-23 Hrvoje Niksic <[email protected]> |
| 19373 |
|
| 19374 |
* Makefile.in (distclean-top): Remove autom4te.cache. |
| 19375 |
|
| 19376 |
2003-09-23 Hrvoje Niksic <[email protected]> |
| 19377 |
|
| 19378 |
* Makefile.in (clean-top): Remove .libs. |
| 19379 |
|
| 19380 |
2003-09-22 Hrvoje Niksic <[email protected]> |
| 19381 |
|
| 19382 |
* src/url.c (path_simplify): Instead of calls to memmove, handle "./" |
| 19383 |
and "../" by advancing pointers. |
| 19384 |
|
| 19385 |
2003-09-22 Hrvoje Niksic <[email protected]> |
| 19386 |
|
| 19387 |
* src/safe-ctype.h (_sch_test): The cast of BIT to unsigned char was |
| 19388 |
broken -- _sch_istable bitmasks are 16-bit, not 8-bit! Cast BIT |
| 19389 |
to unsigned short instead. |
| 19390 |
|
| 19391 |
2003-09-22 Hrvoje Niksic <[email protected]> |
| 19392 |
|
| 19393 |
* src/retr.c (getproxy): Moved from url.c. |
| 19394 |
|
| 19395 |
* src/convert.c: Split off link conversion from url.c into separate |
| 19396 |
file. Also included the book-keeping stuff from recur.c. |
| 19397 |
|
| 19398 |
2003-09-22 Hrvoje Niksic <[email protected]> |
| 19399 |
|
| 19400 |
* src/progress.c (create_image): Print the initial part of the |
| 19401 |
download with '-' characters, analogous to how dot progress prints |
| 19402 |
the initial part with ','. |
| 19403 |
|
| 19404 |
* src/hash.c (ptrhash): New function. |
| 19405 |
(ptrcmp): Ditto. |
| 19406 |
(hash_table_new): Default to identity hash table. |
| 19407 |
|
| 19408 |
2003-09-21 Matthew J. Mellon <[email protected]> |
| 19409 |
|
| 19410 |
* src/http.c (gethttp): Recognize content-type "application/xhtml+xml" |
| 19411 |
as what Wget considers "text/html". |
| 19412 |
|
| 19413 |
2003-09-21 Hrvoje Niksic <[email protected]> |
| 19414 |
|
| 19415 |
* src/main.c (main): Use setoptval() for setting the options. Use |
| 19416 |
run_command for `-e'. |
| 19417 |
|
| 19418 |
* src/init.c (parse_line): Rewritten to return COMIND right away. |
| 19419 |
Changed linkage to static. |
| 19420 |
(run_wgetrc): Use the available comind when calling setval, so it |
| 19421 |
doesn't have to be computed twice. |
| 19422 |
(setval_internal): New function, runs the command's action without |
| 19423 |
any error checking. |
| 19424 |
(setoptval): New function, does what setval used to do, but exits |
| 19425 |
in case of error. |
| 19426 |
(run_command): New function. |
| 19427 |
|
| 19428 |
2003-09-21 Hrvoje Niksic <[email protected]> |
| 19429 |
|
| 19430 |
* src/init.c: Improved documentation of functions. |
| 19431 |
(cmd_boolean): Attempt to make code that tries to avoid calling |
| 19432 |
strcmp for "speed" a bit more readable. |
| 19433 |
|
| 19434 |
* src/init.c (simple_atof): Report error on encountering non-digit, |
| 19435 |
non-"." character. |
| 19436 |
(simple_atoi): Replacement for myatoi(), calling interface |
| 19437 |
compatible with simple_atof. Updated myatoi's callers. |
| 19438 |
|
| 19439 |
2003-09-21 Hrvoje Niksic <[email protected]> |
| 19440 |
|
| 19441 |
* src/init.c (simple_atof): New function. |
| 19442 |
(cmd_time): Use it. |
| 19443 |
(cmd_bytes): Accept things like "1.5k" and such. Use simple_atof |
| 19444 |
to parse decimals. |
| 19445 |
|
| 19446 |
* src/retr.c (limit_bandwidth): Adjust each sleep by the error of the |
| 19447 |
previous one. |
| 19448 |
|
| 19449 |
2003-09-21 Hrvoje Niksic <[email protected]> |
| 19450 |
|
| 19451 |
* src/connect.c (select_fd): Change MAXTIME's type to double. Handle |
| 19452 |
its decimal part. |
| 19453 |
|
| 19454 |
* src/retr.c (sleep_between_retrievals): In the random-wait case, use |
| 19455 |
random_float() to wait between 0 and 2*opt.wait seconds. |
| 19456 |
|
| 19457 |
* src/utils.c (run_with_timeout): Accept `double' timeouts. Correctly |
| 19458 |
handle timeout values in (0, 1) range. |
| 19459 |
(random_float): New function. |
| 19460 |
|
| 19461 |
* src/options.h (struct options): Change the types of wait, waitretry, |
| 19462 |
and timeout to double. |
| 19463 |
|
| 19464 |
* src/init.c (cmd_time): Accept floating point time. |
| 19465 |
|
| 19466 |
2003-09-21 Hrvoje Niksic <[email protected]> |
| 19467 |
|
| 19468 |
* src/connect.c (connect_with_timeout): Made timeout type double. |
| 19469 |
|
| 19470 |
* src/options.h (struct options): New members read_timeout, |
| 19471 |
dns_timeout, and connect_timeout. |
| 19472 |
Use them. |
| 19473 |
|
| 19474 |
2003-09-21 Hrvoje Niksic <[email protected]> |
| 19475 |
|
| 19476 |
* doc/wget.texi: Documented the new timeout options. |
| 19477 |
|
| 19478 |
2003-09-21 Bertrand Demiddelaer <[email protected]> |
| 19479 |
|
| 19480 |
* src/url.c (path_simplify): Would read two bytes past the end of the |
| 19481 |
string in the "./" case. |
| 19482 |
|
| 19483 |
2003-09-21 Aaron S. Hawley <[email protected]> |
| 19484 |
|
| 19485 |
* doc/wget.texi: Split version to version.texi. Tweak documentation's |
| 19486 |
phrasing and markup. |
| 19487 |
|
| 19488 |
2003-09-20 Hrvoje Niksic <[email protected]> |
| 19489 |
|
| 19490 |
* src/url.c (uri_merge): Get rid of uri_merge_1. |
| 19491 |
(uri_merge): Merge "foo//", "bar" as "foo//bar", not "foo///bar", |
| 19492 |
i.e. don't add an extra slash merely because BASE ends with two |
| 19493 |
slashes. |
| 19494 |
(parse_credentials): Renamed from parse_uname. Rewrittern in |
| 19495 |
standard [beg, end) calling style. |
| 19496 |
(url_skip_credentials): Renamed from url_skip_uname. Made static. |
| 19497 |
(url_skip_credentials): Include # and ; as terminators. Old code |
| 19498 |
would mistakenly consider "http://foo.com#[email protected]" to |
| 19499 |
contain a username. |
| 19500 |
(url_skip_scheme): Removed because it was unused. |
| 19501 |
(url_has_scheme): Require "scheme" to be at least one char long. |
| 19502 |
|
| 19503 |
2003-09-20 Hrvoje Niksic <[email protected]> |
| 19504 |
|
| 19505 |
* src/retr.c (get_contents): Cosmetic fixes. |
| 19506 |
|
| 19507 |
2003-09-19 Hrvoje Niksic <[email protected]> |
| 19508 |
|
| 19509 |
* src/wget.h (BOUNDED_TO_ALLOCA): Evaluate PLACE only once. |
| 19510 |
(ARRAY_SIZE): Renamed to countof. All callers updated. |
| 19511 |
|
| 19512 |
2003-09-19 Hrvoje Niksic <[email protected]> |
| 19513 |
|
| 19514 |
* src/url.c (url_file_name): Expect NULL dir_prefix. |
| 19515 |
|
| 19516 |
* src/init.c (cmd_file): Use a macro to prevent multiple #ifdef |
| 19517 |
WINDOWS. |
| 19518 |
(defaults): Set dir_prefix to NULL by default. |
| 19519 |
|
| 19520 |
2003-09-19 Hrvoje Niksic <[email protected]> |
| 19521 |
|
| 19522 |
* src/safe-ctype.h (_sch_test): Cast BIT to unsigned char, like latest |
| 19523 |
gcc does. |
| 19524 |
|
| 19525 |
2003-09-19 Hrvoje Niksic <[email protected]> |
| 19526 |
|
| 19527 |
* src/main.c (main): New option --strict-comments. |
| 19528 |
|
| 19529 |
* src/html-parse.c (find_comment_end): New function: simple BM search |
| 19530 |
for "-->". |
| 19531 |
(map_html_tags): Use it if looking at a comment and not in strict |
| 19532 |
comments mode. |
| 19533 |
|
| 19534 |
2003-09-19 Hrvoje Niksic <[email protected]> |
| 19535 |
|
| 19536 |
* doc/wget.texi: Changed @itemx not preceded by @item to @item. |
| 19537 |
|
| 19538 |
2003-09-18 Hrvoje Niksic <[email protected]> |
| 19539 |
|
| 19540 |
* src/safe-ctype.h: Don't #define ctype.h macros to errors because |
| 19541 |
that loses when someone #include's ctype.h after safe-ctype.h. |
| 19542 |
|
| 19543 |
2003-09-18 Hrvoje Niksic <[email protected]> |
| 19544 |
|
| 19545 |
* src/retr.c (get_contents): Pass the correct argument to ssl_iread. |
| 19546 |
|
| 19547 |
2003-09-17 Hrvoje Niksic <[email protected]> |
| 19548 |
|
| 19549 |
* src/url.c: Undef U, W, C after use. |
| 19550 |
|
| 19551 |
2003-09-17 Hrvoje Niksic <[email protected]> |
| 19552 |
|
| 19553 |
* src/url.c (url_escape_1): New function. |
| 19554 |
(url_escape): Use it. |
| 19555 |
(sync_path): Handle pathological cases where u->file and u->dir |
| 19556 |
contain really strange characters. |
| 19557 |
(ENCODE): Deleted. |
| 19558 |
(REENCODE): Deleted. |
| 19559 |
|
| 19560 |
2003-09-17 Hrvoje Niksic <[email protected]> |
| 19561 |
|
| 19562 |
* src/init.c (cmd_spec_restrict_file_names): Allow the OS setting to |
| 19563 |
be augmented by ",nocontrol" which means don't escape the control |
| 19564 |
characters, but otherwise keep OS settings. |
| 19565 |
|
| 19566 |
* src/url.c (file_unsafe_char): Deleted. |
| 19567 |
(append_uri_pathel): Query filechr_table directly. |
| 19568 |
(filechr_table): Separated Unix, Windows, and control-unsafe |
| 19569 |
characters. |
| 19570 |
|
| 19571 |
2003-09-17 Hrvoje Niksic <[email protected]> |
| 19572 |
|
| 19573 |
* ltmain.sh, aclocal.m4: Upgrade to libtool 1.4.3. Libtool 1.5 |
| 19574 |
has been out for a while now, but it can wait until after Wget 1.9 |
| 19575 |
is released. |
| 19576 |
|
| 19577 |
2003-09-17 Hrvoje Niksic <[email protected]> |
| 19578 |
|
| 19579 |
* install-sh, mkinstalldirs: Updated from Autoconf 2.57. |
| 19580 |
|
| 19581 |
2003-09-17 Hrvoje Niksic <[email protected]> |
| 19582 |
|
| 19583 |
* doc/wget.texi (Download Options): Explain new --restrict-file-names |
| 19584 |
semantics. |
| 19585 |
|
| 19586 |
2003-09-17 Hrvoje Niksic <[email protected]> |
| 19587 |
|
| 19588 |
* doc/wget.texi (Download Options): Explain how --tries works by |
| 19589 |
default. |
| 19590 |
|
| 19591 |
2003-09-17 Hrvoje Niksic <[email protected]> |
| 19592 |
|
| 19593 |
* config.sub: Ditto. |
| 19594 |
|
| 19595 |
* config.guess: Updated from Autoconf 2.57. |
| 19596 |
|
| 19597 |
2003-09-17 Aurelien Marchand <[email protected]> |
| 19598 |
|
| 19599 |
* src/ftp.h: Added OS400 system in enum |
| 19600 |
* src/ftp-basic.c: recognize OS400 systems |
| 19601 |
* src/ftp.c: don't prepend the CWD if talking to OS400, since it |
| 19602 |
breaks the change in library |
| 19603 |
|
| 19604 |
2003-09-16 Noel Kothe <[email protected]> |
| 19605 |
|
| 19606 |
* doc/wget.texi (Download Options): Fix misspelling. |
| 19607 |
|
| 19608 |
2003-09-16 Mauro Tortonesi <[email protected]> |
| 19609 |
|
| 19610 |
* configure.in, aclocal.m4: Added proper IPv6 detection. |
| 19611 |
|
| 19612 |
2003-09-16 Hrvoje Niksic <[email protected]> |
| 19613 |
|
| 19614 |
* util/dist-wget: Fixed portable echo checking under Bash. |
| 19615 |
|
| 19616 |
2003-09-16 Hrvoje Niksic <[email protected]> |
| 19617 |
|
| 19618 |
* src/utils.c (wtimer_sys_diff): Convert the time difference to signed |
| 19619 |
__int64, then to double. This works around MS VC++ 6 which can't |
| 19620 |
convert unsigned __int64 to double directly. |
| 19621 |
|
| 19622 |
2003-09-16 Hrvoje Niksic <[email protected]> |
| 19623 |
|
| 19624 |
* src/url.c (url_file_name): Don't reallocate FNAME if the file |
| 19625 |
doesn't exist, as is usually the case. |
| 19626 |
|
| 19627 |
* src/utils.c (unique_name): New flag allow_passthrough. |
| 19628 |
|
| 19629 |
2003-09-16 Hrvoje Niksic <[email protected]> |
| 19630 |
|
| 19631 |
* src/http.c (post_file): Don't pad the file if it's not large |
| 19632 |
enough. Bail out instead. |
| 19633 |
|
| 19634 |
2003-09-16 Hrvoje Niksic <[email protected]> |
| 19635 |
|
| 19636 |
* src/Makefile.in (clean): Also remove the core.<number> files |
| 19637 |
produced by recent Linux systems. |
| 19638 |
|
| 19639 |
2003-09-16 Hrvoje Niksic <[email protected]> |
| 19640 |
|
| 19641 |
* doc/wget.texi: Set the man page title to a string more descriptive |
| 19642 |
than "Wget manual". |
| 19643 |
|
| 19644 |
2003-09-16 Hrvoje Niksic <[email protected]> |
| 19645 |
|
| 19646 |
* doc/Makefile.in ($(TEXI2POD)): Update only the #! line. |
| 19647 |
|
| 19648 |
* doc/texi2pod.pl: New version from Gcc. |
| 19649 |
|
| 19650 |
2003-09-16 Hrvoje Niksic <[email protected]> |
| 19651 |
|
| 19652 |
* configure.in: Change AC_CHECK_FUNC(getaddrinfo...) to |
| 19653 |
AC_CHECK_FUNCS, which automatically defines HAVE_GETADDRINFO. |
| 19654 |
|
| 19655 |
2003-09-16 Hrvoje Niksic <[email protected]> |
| 19656 |
|
| 19657 |
* Makefile.in (all): Don't build configure.bat by default. |
| 19658 |
|
| 19659 |
2003-09-15 Nicolas Schodet <[email protected]> |
| 19660 |
|
| 19661 |
* doc/wget.texi (Download Options): Add link to Proxies. |
| 19662 |
|
| 19663 |
2003-09-15 Hrvoje Niksic <[email protected]> |
| 19664 |
|
| 19665 |
* src/wget.h (XDIGIT_TO_XCHAR): Implement as index into a literal |
| 19666 |
string. |
| 19667 |
(XDIGIT_TO_xchar): Ditto. |
| 19668 |
|
| 19669 |
2003-09-15 Hrvoje Niksic <[email protected]> |
| 19670 |
|
| 19671 |
* src/utils.c: Change the type of timer-related functions from long to |
| 19672 |
double, for better precision. On machines supporting gettimeofday |
| 19673 |
the timers now work with granularity of less than one millisecond. |
| 19674 |
|
| 19675 |
2003-09-15 Hrvoje Niksic <[email protected]> |
| 19676 |
|
| 19677 |
* src/url.c (strpbrk_or_eos): Implement as a macro under Gcc. |
| 19678 |
|
| 19679 |
2003-09-15 Hrvoje Niksic <[email protected]> |
| 19680 |
|
| 19681 |
* src/retr.c (get_contents): Reduce the buffer size to the amount of |
| 19682 |
data that may pass through for one second. This prevents long |
| 19683 |
sleeps when limiting bandwidth. |
| 19684 |
|
| 19685 |
* src/connect.c (connect_to_one): Reduce the socket's RCVBUF when |
| 19686 |
bandwidth limitation to small values is requested. |
| 19687 |
|
| 19688 |
2003-09-15 Hrvoje Niksic <[email protected]> |
| 19689 |
|
| 19690 |
* src/progress.c (update_speed_ring): Moved the speed ring update to a |
| 19691 |
separate function and documented it better. |
| 19692 |
|
| 19693 |
* src/progress.c: Use `double' for most timers to support granularity |
| 19694 |
smaller than 1ms. |
| 19695 |
|
| 19696 |
2003-09-15 Hrvoje Niksic <[email protected]> |
| 19697 |
|
| 19698 |
* src/cookies.c (parse_set_cookies): Fixed the parser to handle more |
| 19699 |
edge conditions. |
| 19700 |
(test_cookies): New function, contains a test suite for |
| 19701 |
parse_set_cookies. |
| 19702 |
|
| 19703 |
2003-09-15 Hrvoje Niksic <[email protected]> |
| 19704 |
|
| 19705 |
* src/cookies.c (parse_set_cookies): Allow trailing space in |
| 19706 |
set-cookies header. Also, allow any amount of whitespace, not |
| 19707 |
only one character. Allow empty set-cookies header without |
| 19708 |
spewing an error. |
| 19709 |
|
| 19710 |
2003-09-14 Hrvoje Niksic <[email protected]> |
| 19711 |
|
| 19712 |
* src/utils.c (wtimer_sys_set): Extracted the code that sets the |
| 19713 |
current time here. |
| 19714 |
(wtimer_reset): Call it. |
| 19715 |
(wtimer_sys_diff): Extracted the code that calculates the |
| 19716 |
difference between two system times here. |
| 19717 |
(wtimer_elapsed): Call it. |
| 19718 |
(wtimer_elapsed): Don't return a value smaller than the previous |
| 19719 |
one, which could previously happen when system time is set back. |
| 19720 |
Instead, reset start time to current time and note the elapsed |
| 19721 |
offset for future calculations. The returned times are now |
| 19722 |
guaranteed to be monotonically nondecreasing. |
| 19723 |
|
| 19724 |
2003-09-14 Hrvoje Niksic <[email protected]> |
| 19725 |
|
| 19726 |
* src/url.c (append_uri_pathel): Use opt.restrict_file_names when |
| 19727 |
calling file_unsafe_char. |
| 19728 |
|
| 19729 |
* src/init.c: New command restrict_file_names. |
| 19730 |
|
| 19731 |
* src/main.c (main): New option --restrict-file-names[=windows,unix]. |
| 19732 |
|
| 19733 |
* src/url.c (url_file_name): Renamed from url_filename. |
| 19734 |
(url_file_name): Add directory and hostdir prefix here, not in |
| 19735 |
mkstruct. |
| 19736 |
(append_dir_structure): New function, does part of the work that |
| 19737 |
used to be in mkstruct. Iterates over path elements in u->path, |
| 19738 |
calling append_uri_pathel on each one to append it to the file |
| 19739 |
name. |
| 19740 |
(append_uri_pathel): URL-unescape a path element and reencode it |
| 19741 |
with a different set of rules, more appropriate for handling of |
| 19742 |
files. |
| 19743 |
(file_unsafe_char): New function, uses a lookup table to decide |
| 19744 |
whether a character should be escaped for use in file name. |
| 19745 |
(append_string): New utility function. |
| 19746 |
(append_char): Ditto. |
| 19747 |
(file_unsafe_char): New argument restrict_for_windows, decide |
| 19748 |
whether Windows file names should be escaped in run-time. |
| 19749 |
|
| 19750 |
* src/connect.c: Include <stdlib.h> to get prototype for abort(). |
| 19751 |
|
| 19752 |
2003-09-14 Hrvoje Niksic <[email protected]> |
| 19753 |
|
| 19754 |
* doc/wget.texi (Download Options): Document the new option |
| 19755 |
--restrict-file-names and the corresponding wgetrc command. |
| 19756 |
|
| 19757 |
2003-09-10 Hrvoje Niksic <[email protected]> |
| 19758 |
|
| 19759 |
* src/init.c: New command dns_cache. |
| 19760 |
|
| 19761 |
* src/main.c (main): New option --dns-cache[=off]. |
| 19762 |
|
| 19763 |
2003-09-10 Hrvoje Niksic <[email protected]> |
| 19764 |
|
| 19765 |
* src/init.c (cmd_boolean): Accept yes/no along with on/off. |
| 19766 |
(cmd_lockable_boolean): Ditto. |
| 19767 |
|
| 19768 |
2003-09-10 Hrvoje Niksic <[email protected]> |
| 19769 |
|
| 19770 |
* src/host.c (lookup_host): Print the result of the DNS lookup. |
| 19771 |
|
| 19772 |
2003-09-10 Hrvoje Niksic <[email protected]> |
| 19773 |
|
| 19774 |
* doc/wget.texi (Download Options): Documented new option --dns-cache. |
| 19775 |
|
| 19776 |
2003-09-09 Hrvoje Niksic <[email protected]> |
| 19777 |
|
| 19778 |
* src/url.c (url_parse): Return an error if the URL contains a [...] |
| 19779 |
IPv6 numeric address and we don't support IPv6. |
| 19780 |
|
| 19781 |
2003-09-09 Hrvoje Niksic <[email protected]> |
| 19782 |
|
| 19783 |
* src/config.h.in: Initialize HAVE_GETADDRINFO and ENABLE_IPV6. |
| 19784 |
|
| 19785 |
* src/all: Use #ifdef ENABLE_IPV6 instead of the older INET6. Use |
| 19786 |
HAVE_GETADDRINFO for getaddrinfo-related stuff. |
| 19787 |
|
| 19788 |
2003-09-09 Hrvoje Niksic <[email protected]> |
| 19789 |
|
| 19790 |
* configure.in, aclocal.m4: Added configure check for IPv6 and |
| 19791 |
getaddrinfo. From Daniel Stenberg. |
| 19792 |
|
| 19793 |
2003-09-05 Mauro Tortonesi <[email protected]> |
| 19794 |
|
| 19795 |
src/url.c: added RFC 2732 compliance for URL parsing. The |
| 19796 |
functions is_*_address valid are a modified version of |
| 19797 |
glibc 2.3.2 inet_pton's code. |
| 19798 |
|
| 19799 |
2003-09-05 Maciej W. Rozycki <[email protected]> |
| 19800 |
|
| 19801 |
* configure.in: Additional M4 quoting. |
| 19802 |
|
| 19803 |
2003-09-05 Hrvoje Niksic <[email protected]> |
| 19804 |
|
| 19805 |
* src/url.c (is_valid_ipv6_address): Modified to not require |
| 19806 |
zero-terminated strings. |
| 19807 |
(is_valid_ipv4_address): Ditto. |
| 19808 |
|
| 19809 |
2003-09-04 Hrvoje Niksic <[email protected]> |
| 19810 |
|
| 19811 |
* aclocal.m4, configure.in: Made them work under Autoconf 2.5x. |
| 19812 |
|
| 19813 |
2003-09-03 Ahmon Dancy <[email protected]> |
| 19814 |
|
| 19815 |
* src/main.c init.c options.h: Added --retry-connrefused option so |
| 19816 |
that Connection Refused failures are treated as non-fatal (when |
| 19817 |
trying to retrieve from busy servers). |
| 19818 |
|
| 19819 |
* src/wget.h: New CONNECT_ERROR macro for encapsulating this |
| 19820 |
modification. |
| 19821 |
|
| 19822 |
* src/ftp.c http.c : Use CONNECT_ERROR macro in places where |
| 19823 |
ECONNREFUSED was checked. |
| 19824 |
|
| 19825 |
2003-03-09 Nicolas Schodet <[email protected]> |
| 19826 |
|
| 19827 |
* Makefile.in: Fixed bad configure.bat scrdir. |
| 19828 |
|
| 19829 |
2003-02-25 Hrvoje Niksic <[email protected]> |
| 19830 |
|
| 19831 |
* libtool.m4, ltmain.sh, config.sub, config.guess: Upgrade to |
| 19832 |
libtool 1.5.14. |
| 19833 |
|
| 19834 |
2003-02-24 Hrvoje Niksic <[email protected]> |
| 19835 |
|
| 19836 |
* configure.in: Don't check for AI_ADDRCONFIG here, it is checked |
| 19837 |
for in the source directly. |
| 19838 |
|
| 19839 |
2003-02-23 Hrvoje Niksic <[email protected]> |
| 19840 |
|
| 19841 |
* libtool.m4, ltmain.sh, config.sub, config.guess: Upgrade to |
| 19842 |
libtool 1.5.8. |
| 19843 |
|
| 19844 |
2003-01-11 Ian Abbott <[email protected]> |
| 19845 |
|
| 19846 |
* src/ftp.c (ftp_retrieve_glob): Reject insecure filenames as determined |
| 19847 |
by calling new function has_insecure_name_p. This is based on a |
| 19848 |
patch by Red Hat. |
| 19849 |
|
| 19850 |
* src/fnmatch.c (has_insecure_name_p): New function: returns non-zero |
| 19851 |
if filename starts with `/' or contains `../' and is therefore |
| 19852 |
considered insecure. |
| 19853 |
|
| 19854 |
* src/fnmatch.h: Declare has_insecure_name_p(). |
| 19855 |
|
| 19856 |
2002-08-03 Hrvoje Niksic <[email protected]> |
| 19857 |
|
| 19858 |
* src/init.c (cmd_file): Allocate RESULT correctly. |
| 19859 |
|
| 19860 |
2002-07-24 Hrvoje Niksic <[email protected]> |
| 19861 |
|
| 19862 |
* src/recur.c (retrieve_tree): Check whether downloaded_html_set is |
| 19863 |
non-NULL before using it. |
| 19864 |
|
| 19865 |
2002-05-27 Ian Abbott <[email protected]> |
| 19866 |
|
| 19867 |
* windows/config.h.bor: Do #define WGET_USE_STDARG. |
| 19868 |
|
| 19869 |
2002-05-27 Hrvoje Niksic <[email protected]> |
| 19870 |
|
| 19871 |
* src/html-parse.c (NAME_CHAR_P): Allow almost any character here. |
| 19872 |
|
| 19873 |
2002-05-24 Hrvoje Niksic <[email protected]> |
| 19874 |
|
| 19875 |
* src/progress.c (bar_set_params): Fall back to dot progress if the |
| 19876 |
terminal type is "emacs". |
| 19877 |
|
| 19878 |
2002-05-20 Hrvoje Niksic <[email protected]> |
| 19879 |
|
| 19880 |
* windows/config.h.ms: Ditto. |
| 19881 |
|
| 19882 |
* windows/config.h.bor: Don't #define __STDC__. |
| 19883 |
|
| 19884 |
2002-05-20 Hrvoje Niksic <[email protected]> |
| 19885 |
|
| 19886 |
* src/log.c: Don't #undef WGET_USE_STDARG. |
| 19887 |
|
| 19888 |
2002-05-18 Hrvoje Niksic <[email protected]> |
| 19889 |
|
| 19890 |
* ALL: Update the license to reflect the OpenSSL exception. |
| 19891 |
|
| 19892 |
2002-05-16 Ian Abbott <[email protected]> |
| 19893 |
|
| 19894 |
* src/url.c (schemes_are_similar_p): New function to test enumerated |
| 19895 |
scheme codes for similarity. |
| 19896 |
|
| 19897 |
* src/url.h: Declare it. |
| 19898 |
|
| 19899 |
* src/recur.c (download_child_p): Use it to compare schemes. This |
| 19900 |
also fixes a bug that allows hosts to be spanned (without the |
| 19901 |
-H option) when the parent scheme is https and the child's is |
| 19902 |
http or vice versa. |
| 19903 |
|
| 19904 |
2002-05-16 Ian Abbott <[email protected]> |
| 19905 |
|
| 19906 |
* src/recur.c (download_child_p): Minor optimization to avoid an |
| 19907 |
unnecessary additional call to schemes_are_similar_p function. |
| 19908 |
|
| 19909 |
2002-05-16 Hrvoje Niksic <[email protected]> |
| 19910 |
|
| 19911 |
* src/hash.c (prime_size): Store the offset of the prime number in the |
| 19912 |
prime table. When searching, start with the given offset. |
| 19913 |
(hash_table_new): Pass the pointer to ht->prime_offset to |
| 19914 |
prime_size. |
| 19915 |
(grow_hash_table): Ditto. |
| 19916 |
(prime_size): Make 13 the first prime to make empty hash tables |
| 19917 |
slightly smaller. |
| 19918 |
|
| 19919 |
2002-05-14 Bill Richardson <[email protected]> |
| 19920 |
|
| 19921 |
* src/ftp.c (getftp): Don't ftruncate stdout. |
| 19922 |
|
| 19923 |
* src/http.c (gethttp): Don't ftruncate stdout. |
| 19924 |
|
| 19925 |
2002-05-09 Ian Abbott <[email protected]> |
| 19926 |
|
| 19927 |
* src/cmpt.c (strptime_internal): Synched with glibc-2.1.3. |
| 19928 |
(get_number): Ditto. |
| 19929 |
(get_alt_number): Ditto. |
| 19930 |
(__isleap): New function-like macro used by strptime. |
| 19931 |
(day_of_the_week): New function used by strptime. |
| 19932 |
(day_of_the_year): Ditto. |
| 19933 |
(__mon_yday): Now shared by mktime and strptime implementations. |
| 19934 |
|
| 19935 |
2002-05-08 Hrvoje Niksic <[email protected]> |
| 19936 |
|
| 19937 |
* src/cookies.c (check_domain_match): Use match_tail in case |
| 19938 |
insensitive mode. |
| 19939 |
|
| 19940 |
* src/utils.c (match_tail): Allow the caller to specify case |
| 19941 |
insensitive mode. |
| 19942 |
|
| 19943 |
* src/cookies.c (store_cookie): When expiry_time is 0, print it as |
| 19944 |
undefined, not indefinite. |
| 19945 |
|
| 19946 |
2002-05-07 Ian Abbott <[email protected]> |
| 19947 |
|
| 19948 |
* src/cookies.c (cookie_jar_process_set_cookie): Do not store |
| 19949 |
discarded cookie. |
| 19950 |
|
| 19951 |
2002-04012 Ian Abbott <[email protected]> |
| 19952 |
|
| 19953 |
* src/http.c (http_loop): Compensate for MS Windows two-second |
| 19954 |
granularity of file modification time when comparing timestamps. |
| 19955 |
|
| 19956 |
* src/ftp.c (ftp_retrieve_list): Ditto. |
| 19957 |
|
| 19958 |
2002-04-24 Hrvoje Niksic <[email protected]> |
| 19959 |
|
| 19960 |
* doc/wget.texi (Robot Exclusion): Explain how to turn off the robot |
| 19961 |
exclusion support from the command line. |
| 19962 |
(Wgetrc Commands): Explain that the `robots' variable also takes |
| 19963 |
effect on the "nofollow" matching. |
| 19964 |
|
| 19965 |
2002-04-23 Ian Abbott <[email protected]> |
| 19966 |
|
| 19967 |
* windows/config.h.ms: Accounted for MSVC not defining `__STDC__' when |
| 19968 |
Microsoft's extensions are enabled and define it anyway (set to `1'). |
| 19969 |
Defined some things that broke as a result of this. |
| 19970 |
|
| 19971 |
2002-04-21 Thomas Lussnig <[email protected]> |
| 19972 |
|
| 19973 |
* src/gen_ssl.c: |
| 19974 |
- allow checking of server cert |
| 19975 |
- allow defining client cert type |
| 19976 |
- allow limit of ssl protocol |
| 19977 |
- check more return values |
| 19978 |
- added debug message on break |
| 19979 |
|
| 19980 |
2002-04-21 Hrvoje Niksic <[email protected]> |
| 19981 |
|
| 19982 |
* src/recur.c (download_child_p): Revert order of items in check |
| 19983 |
number 6 for clarity. |
| 19984 |
|
| 19985 |
2002-04-21 Hrvoje Niksic <[email protected]> |
| 19986 |
|
| 19987 |
* src/cookies.c (check_domain_match): Allow cookies to be set for |
| 19988 |
subdomains of unknown top-level domains under some circumstances. |
| 19989 |
|
| 19990 |
2002-04-20 Hrvoje Niksic <[email protected]> |
| 19991 |
|
| 19992 |
* src/init.c: Ditto. |
| 19993 |
|
| 19994 |
* src/main.c: Ditto. |
| 19995 |
|
| 19996 |
* src/http.c: Use the new interface. |
| 19997 |
|
| 19998 |
* src/cookies.c: Provide an OO-style "cookie jar" interface to enable |
| 19999 |
separate cookie jars. |
| 20000 |
|
| 20001 |
* src/http.c (http_atotm): Declare argument as const. |
| 20002 |
|
| 20003 |
2002-04-20 Hrvoje Niksic <[email protected]> |
| 20004 |
|
| 20005 |
* src/cookies.c (cookie_new): Default to PORT_ANY. |
| 20006 |
(find_cookie_chain_exact): Only search by DOMAIN. |
| 20007 |
(find_matching_cookie): Also check that PORT matches. |
| 20008 |
(store_cookie): Only match the domain. |
| 20009 |
(set_cookie_header_cb): When a cookie "fakes" a domain, assume it |
| 20010 |
is valid for that host rather than discarding it completely. |
| 20011 |
(find_matching_chains): Don't search by PORT. |
| 20012 |
(matching_cookie): Also match PORT. |
| 20013 |
(load_cookies): Set the port if specified, otherwise leave it as |
| 20014 |
ANY. |
| 20015 |
(save_cookies_mapper): Save the port if specified, otherwise leave |
| 20016 |
it empty. |
| 20017 |
|
| 20018 |
2002-04-20 Hrvoje Niksic <[email protected]> |
| 20019 |
|
| 20020 |
* po/de.po: Updated from the TP. |
| 20021 |
|
| 20022 |
2002-04-19 Thomas Lussnig <[email protected]> |
| 20023 |
|
| 20024 |
* src/init.c: The option `egdfile' was not in sort order. |
| 20025 |
|
| 20026 |
2002-04-16 Hrvoje Niksic <[email protected]> |
| 20027 |
|
| 20028 |
* src/http.c (gethttp): If Content-Type is not given, assume |
| 20029 |
text/html. |
| 20030 |
|
| 20031 |
2002-04-16 Hrvoje Niksic <[email protected]> |
| 20032 |
|
| 20033 |
* src/ftp.c (getftp): Treat directories that begin with <letter>: as |
| 20034 |
absolute. |
| 20035 |
(getftp): Strip trailing slashes from con->id before merging it |
| 20036 |
with TARGET. |
| 20037 |
|
| 20038 |
2002-04-15 Ian Abbott <[email protected]> |
| 20039 |
|
| 20040 |
Makefile.in: Updated several dependencies for object files to take |
| 20041 |
account of nested include files. |
| 20042 |
|
| 20043 |
2002-04-15 Ian Abbott <[email protected]> |
| 20044 |
|
| 20045 |
Makefile.in: The target `connect$o' (connect.o) now depends on |
| 20046 |
`utils.h' |
| 20047 |
|
| 20048 |
2002-04-15 Ian Abbott <[email protected]> |
| 20049 |
|
| 20050 |
* src/host.c (SET_H_ERRNO): New function-like macro to set `h_errno'. |
| 20051 |
(gethostbyname_with_timeout): Use it. |
| 20052 |
|
| 20053 |
* src/utils.c: Don't define `SETJMP()', `run_with_timeout_env' or |
| 20054 |
`abort_run_with_timeout()' when `USE_SIGNAL_TIMEOUT' is undefined. |
| 20055 |
|
| 20056 |
2002-04-15 Hrvoje Niksic <[email protected]> |
| 20057 |
|
| 20058 |
* src/recur.c (download_child_p): Don't ignore rejection of HTML |
| 20059 |
documents that are themselves leaves of recursion. |
| 20060 |
|
| 20061 |
2002-04-15 Hrvoje Niksic <[email protected]> |
| 20062 |
|
| 20063 |
* src/host.c (getaddrinfo_with_timeout): New function. |
| 20064 |
(gethostbyname_with_timeout): Ditto. |
| 20065 |
(lookup_host): Use them. |
| 20066 |
|
| 20067 |
2002-04-15 Hrvoje Niksic <[email protected]> |
| 20068 |
|
| 20069 |
* po/hr.po: Editing the Project-Id-Version to say "wget" rather |
| 20070 |
than "GNU Wget". |
| 20071 |
|
| 20072 |
2002-04-15 Hrvoje Niksic <[email protected]> |
| 20073 |
|
| 20074 |
* doc/wget.texi (Download Options): Fix the documentation of |
| 20075 |
`--progress'. |
| 20076 |
|
| 20077 |
2002-04-14 Hrvoje Niksic <[email protected]> |
| 20078 |
|
| 20079 |
* src/utils.c (number_to_string): Handle the case when n < -INT_MAX. |
| 20080 |
|
| 20081 |
2002-04-14 Hrvoje Niksic <[email protected]> |
| 20082 |
|
| 20083 |
* src/retr.c (retrieve_url): Make sure that POST is not honored for |
| 20084 |
redirections. |
| 20085 |
|
| 20086 |
* src/http.c (gethttp): Send the POST data when requested. |
| 20087 |
(post_file): New function. |
| 20088 |
(gethttp): Use it. |
| 20089 |
|
| 20090 |
* src/main.c (main): Ditto. |
| 20091 |
|
| 20092 |
* src/init.c: Add new options. |
| 20093 |
|
| 20094 |
* src/options.h (struct options): New options post_data and |
| 20095 |
post_file_name. |
| 20096 |
|
| 20097 |
2002-04-14 Hrvoje Niksic <[email protected]> |
| 20098 |
|
| 20099 |
* src/main.c (print_help): Document `--post-data' and `--post-file'. |
| 20100 |
|
| 20101 |
2002-04-14 Hrvoje Niksic <[email protected]> |
| 20102 |
|
| 20103 |
* src/init.c (comind): Use a marginally faster implementation of |
| 20104 |
binary search. To quote Martin Buchholz, "a nanosecond saved is a |
| 20105 |
nanosecond earned." |
| 20106 |
|
| 20107 |
2002-04-14 Hrvoje Niksic <[email protected]> |
| 20108 |
|
| 20109 |
* src/http.c (gethttp): Ditto. |
| 20110 |
|
| 20111 |
* src/retr.c (retrieve_url): Initialize variables to appease the |
| 20112 |
compiler. |
| 20113 |
|
| 20114 |
* src/gen_sslfunc.c (ssl_iread): Don't handle EINTR when calling |
| 20115 |
select_fd. |
| 20116 |
(ssl_iwrite): Ditto. |
| 20117 |
|
| 20118 |
* src/connect.c (select_fd): Rewrite to handle EINTR. Set errno to |
| 20119 |
ETIMEDOUT in case of timeout. |
| 20120 |
(iread): No need to handle EINTR when calling select_fd. |
| 20121 |
(iwrite): Ditto. |
| 20122 |
|
| 20123 |
2002-04-14 Hrvoje Niksic <[email protected]> |
| 20124 |
|
| 20125 |
* src/connect.c (connect_with_timeout): Firing SIGALRM can result in |
| 20126 |
connect() exiting with EINTR. Treat EINTR the same as ETIMEDOUT. |
| 20127 |
|
| 20128 |
2002-04-14 Hrvoje Niksic <[email protected]> |
| 20129 |
|
| 20130 |
* doc/wget.texi (Wgetrc Commands): Document `--limit-rate'. |
| 20131 |
|
| 20132 |
2002-04-13 Hrvoje Niksic <[email protected]> |
| 20133 |
|
| 20134 |
* src/url.c (getproxy): Accept a struct url argument. This obviates |
| 20135 |
the need for USE_PROXY_P. |
| 20136 |
|
| 20137 |
* src/retr.c (retrieve_url): Allow proxy to be a non-FTP URL. |
| 20138 |
|
| 20139 |
* src/ftp.c (getftp): Recognize FWTK-style proxy. |
| 20140 |
|
| 20141 |
2002-04-13 Hrvoje Niksic <[email protected]> |
| 20142 |
|
| 20143 |
* src/connect.c (connect_with_timeout): Use it. |
| 20144 |
|
| 20145 |
* src/utils.c (run_with_timeout): New function. |
| 20146 |
|
| 20147 |
2002-04-12 Ian Abbott <[email protected]> |
| 20148 |
|
| 20149 |
* windows/config.h.bor: Account for Borland not defining `__STDC__' |
| 20150 |
when Borland's extensions enabled, and define it anyway. |
| 20151 |
|
| 20152 |
2002-04-12 Ian Abbott <[email protected]> |
| 20153 |
|
| 20154 |
* windows/Makefile.src.bor: Removed pre-compiled header options as |
| 20155 |
they increase build time (on my machine). |
| 20156 |
|
| 20157 |
2002-04-12 Ian Abbott <[email protected]> |
| 20158 |
|
| 20159 |
* src/utils.c (has_html_suffix_p): New function to test filename for |
| 20160 |
common html extensions. |
| 20161 |
|
| 20162 |
* src/utils.h: Declare it. |
| 20163 |
|
| 20164 |
* src/http.c (http_loop): Use it instead of previous test. |
| 20165 |
|
| 20166 |
* src/retr.c (retrieve_url): Ditto. |
| 20167 |
|
| 20168 |
* src/recur.c (download_child_p): Ditto. |
| 20169 |
|
| 20170 |
2002-04-12 Ian Abbott <[email protected]> |
| 20171 |
|
| 20172 |
* src/Makefile.in: Specify libtool mode explicitly when linking. |
| 20173 |
|
| 20174 |
2002-04-12 Hrvoje Niksic <[email protected]> |
| 20175 |
|
| 20176 |
* src/connect.c (connect_with_timeout): New function. |
| 20177 |
(connect_to_one): Use it. |
| 20178 |
|
| 20179 |
* src/config.h.in: Add stubs for HAVE_SIGSETJMP, HAVE_SIGBLOCK, and |
| 20180 |
HAVE_SETJMP_H. |
| 20181 |
|
| 20182 |
2002-04-12 Hrvoje Niksic <[email protected]> |
| 20183 |
|
| 20184 |
* src/config.h.in: Only define _VA_LIST when compiled with gcc. |
| 20185 |
|
| 20186 |
2002-04-12 Hrvoje Niksic <[email protected]> |
| 20187 |
|
| 20188 |
* src/config.h.in: Define _VA_LIST on Solaris to prevent stdio.h from |
| 20189 |
declaring va_list. |
| 20190 |
From Kevin Rodgers <[email protected]>. |
| 20191 |
|
| 20192 |
2002-04-12 Hrvoje Niksic <[email protected]> |
| 20193 |
|
| 20194 |
* configure.in: Check for <setjmp.h>. Check for sigsetjmp and |
| 20195 |
sigblock. |
| 20196 |
|
| 20197 |
2002-04-11 Hrvoje Niksic <[email protected]> |
| 20198 |
|
| 20199 |
* src/url.c (url_filename): Use compose_file_name regardless of |
| 20200 |
whether opt.dirstruct is set. |
| 20201 |
(mkstruct): Don't handle the query and the reencoding of DIR; that |
| 20202 |
is done in compose_file_name. |
| 20203 |
|
| 20204 |
2002-04-11 Hrvoje Niksic <[email protected]> |
| 20205 |
|
| 20206 |
* src/progress.c (struct progress_implementation): Use PARAMS when |
| 20207 |
declaring the parameters of *create, *update, *finish, and |
| 20208 |
*set_params. |
| 20209 |
|
| 20210 |
* src/netrc.c: Ditto. |
| 20211 |
|
| 20212 |
* src/http.c: Reformat some function definitions so that ansi2knr can |
| 20213 |
read them. |
| 20214 |
|
| 20215 |
* src/hash.c (struct hash_table): Use the PARAMS macro around |
| 20216 |
parameters in the declaration of hash_function and test_function. |
| 20217 |
(prime_size): Spell 2580823717UL and 3355070839UL as (unsigned |
| 20218 |
long)0x99d43ea5 and (unsigned long)0xc7fa5177 respectively, so |
| 20219 |
that pre-ANSI compilers can read them. |
| 20220 |
(find_mapping): Use PARAMS when declaring EQUALS. |
| 20221 |
(hash_table_put): Ditto. |
| 20222 |
|
| 20223 |
* src/ftp.h: Wrap the parameters of ftp_index declaration in PARAMS. |
| 20224 |
|
| 20225 |
* src/cookies.c (cookie_new): Use (unsigned long)0 instead of 0UL, |
| 20226 |
which was unsupported by pre-ANSI compilers. |
| 20227 |
|
| 20228 |
From Nelson H. F. Beebe <[email protected]>, for the most part. |
| 20229 |
|
| 20230 |
2002-04-11 Hrvoje Niksic <[email protected]> |
| 20231 |
|
| 20232 |
* src/progress.c (bar_create): If INITIAL is larger than TOTAL, fix |
| 20233 |
TOTAL. |
| 20234 |
(bar_finish): Likewise. |
| 20235 |
|
| 20236 |
2002-04-11 Hrvoje Niksic <[email protected]> |
| 20237 |
|
| 20238 |
* src/log.c: Set WGET_USE_STDARG if __STDC__ is defined and stdarg.h |
| 20239 |
is present. |
| 20240 |
|
| 20241 |
2002-04-11 Hrvoje Niksic <[email protected]> |
| 20242 |
|
| 20243 |
* src/html-url.c (tag_handle_form): New function. Pick up form |
| 20244 |
actions and mark them for conversion only. |
| 20245 |
|
| 20246 |
2002-04-10 Hrvoje Niksic <[email protected]> |
| 20247 |
|
| 20248 |
* src/wget.h: Ditto for extern char *exec_name. |
| 20249 |
|
| 20250 |
* src/options.h: Don't guard against OPTIONS_DEFINED_HERE -- it is |
| 20251 |
perfectly legal to follow an `extern' with a non-`extern' ones, |
| 20252 |
provided the types match. |
| 20253 |
|
| 20254 |
* src/main.c: Don't define OPTIONS_DEFINED_HERE. |
| 20255 |
|
| 20256 |
2002-04-10 Hrvoje Niksic <[email protected]> |
| 20257 |
|
| 20258 |
* src/progress.c (create_image): Revert to calculating ETA based on |
| 20259 |
average download speed. |
| 20260 |
(create_image): Don't print ETA until the download has been active |
| 20261 |
for at least 3 seconds. |
| 20262 |
(create_image): When ETA is not available, don't print anything. |
| 20263 |
The previous version would print --:--. |
| 20264 |
|
| 20265 |
2002-04-10 Hrvoje Niksic <[email protected]> |
| 20266 |
|
| 20267 |
* src/progress.c (bar_update): Keep updating a subinterval until it |
| 20268 |
reaches or exceeds a watermark. That way the measurement will be |
| 20269 |
guaranteed to span a configurable minimum of time. The current |
| 20270 |
default is 3s in 30 100ms intervals. |
| 20271 |
|
| 20272 |
2002-04-10 Hrvoje Niksic <[email protected]> |
| 20273 |
|
| 20274 |
* doc/wget.texi: Warn about the dangers of specifying passwords on the |
| 20275 |
command line and in unencrypted files. |
| 20276 |
|
| 20277 |
2002-04-09 Ian Abbott <[email protected]> |
| 20278 |
|
| 20279 |
* windows/config.h.bor: define `HACK_BCC_UTIME_BUG'. Define `utime' |
| 20280 |
as `borland_utime' if `HACK_BCC_UTIME_BUG' is defined. |
| 20281 |
|
| 20282 |
2002-04-09 Ian Abbott <[email protected]> |
| 20283 |
|
| 20284 |
* src/mswindows.c (borland_utime): New function conditionally defined |
| 20285 |
when `HACK_BCC_UTIME_BUG' is defined. A reimplementation of |
| 20286 |
`utime()' as Borland's `utime()' function is broken on Windows 9x |
| 20287 |
systems. (Original patch by Chin-yuan Kuo <[email protected]>.) |
| 20288 |
|
| 20289 |
2002-04-09 Hrvoje Niksic <[email protected]> |
| 20290 |
|
| 20291 |
* src/progress.c (bar_update): Maintain an array of the time it took |
| 20292 |
to perform previous 30 network reads. |
| 20293 |
(create_image): Calculate the download speed and ETA based on the |
| 20294 |
last 30 reads, not the entire download. |
| 20295 |
(create_image): Make sure that the ETA is not changed more than |
| 20296 |
once per second. |
| 20297 |
|
| 20298 |
2002-04-08 Hrvoje Niksic <[email protected]> |
| 20299 |
|
| 20300 |
* src/ftp.c (ftp_loop): Propagate the result of ftp_retrieve_glob. |
| 20301 |
|
| 20302 |
2002-03-26 Ian Abbott <[email protected]> |
| 20303 |
|
| 20304 |
* windows/wget.dep: Updated several dependencies for object files. |
| 20305 |
|
| 20306 |
2002-03-26 Ian Abbott <[email protected]> |
| 20307 |
|
| 20308 |
* src/Makefile.in: Updated several dependencies for object files. |
| 20309 |
|
| 20310 |
2002-03-20 Ian Abbott <[email protected]> |
| 20311 |
|
| 20312 |
* windows/config.h.bor: |
| 20313 |
* windows/config.h.ms: |
| 20314 |
Removed conditional cruft that was there for Unix-like systems. |
| 20315 |
|
| 20316 |
2002-03-20 Ian Abbott <[email protected]> |
| 20317 |
|
| 20318 |
* src/mswindows.c: Include "utils.h". |
| 20319 |
|
| 20320 |
2002-03-20 Ian Abbott <[email protected]> |
| 20321 |
|
| 20322 |
* * windows/wget.dep: Fix dependencies for target mswindows$o |
| 20323 |
(mswindows.obj) |
| 20324 |
|
| 20325 |
2002-03-19 Chin-yuan Kuo <[email protected]> |
| 20326 |
|
| 20327 |
* configure.bat.in: Do not check %BORPATH% as C++Builder compiler |
| 20328 |
does not use it. |
| 20329 |
|
| 20330 |
* windows/Makefile.src.bor: |
| 20331 |
* windows/config.h.bor: |
| 20332 |
Migrated to free (as in beer) C++Builder compiler. |
| 20333 |
|
| 20334 |
2002-03-18 Ian Abbott <[email protected]> |
| 20335 |
|
| 20336 |
* src/host.h: Don't include netdb.h on windows. |
| 20337 |
|
| 20338 |
2002-03-13 Ian Abbott <[email protected]> |
| 20339 |
|
| 20340 |
* configure.bat: Removed (renamed to configure.bat.ini). |
| 20341 |
|
| 20342 |
* configure.bat.in: New (renamed from configure.bat). |
| 20343 |
|
| 20344 |
* Makefile.in: Add rule to copy configure.bat.in to configure.bat, |
| 20345 |
converting line endings to MS-DOS format in the process. |
| 20346 |
|
| 20347 |
2002-02-19 Hrvoje Niksic <[email protected]> |
| 20348 |
|
| 20349 |
* src/url.c (url_parse): Don't treat '?' as query string separator |
| 20350 |
when parsing FTP URLs. |
| 20351 |
|
| 20352 |
2002-02-19 Hrvoje Niksic <[email protected]> |
| 20353 |
|
| 20354 |
* src/recur.c (retrieve_tree): Handle the case when start_url doesn't |
| 20355 |
parse. |
| 20356 |
|
| 20357 |
2002-02-19 Hrvoje Niksic <[email protected]> |
| 20358 |
|
| 20359 |
* src/host.h: Include Unix-specific includes #ifndef WINDOWS. |
| 20360 |
Patch originally provided by Christian Lackas. |
| 20361 |
|
| 20362 |
2002-02-19 Andreas Damm <[email protected]> |
| 20363 |
|
| 20364 |
* src/wget.h (DO_REALLOC_FROM_ALLOCA): Multiply with sizeof(type) when |
| 20365 |
calling xmalloc and memcpy. |
| 20366 |
|
| 20367 |
2002-02-19 Alan Eldridge <[email protected]> |
| 20368 |
|
| 20369 |
* src/host.h: Also include <netinet/in.h> and <sys/socket.h>. |
| 20370 |
|
| 20371 |
* src/ftp-basic.c: Also include <netinet/in.h>. |
| 20372 |
|
| 20373 |
2002-02-11 Christian Lackas <[email protected]> |
| 20374 |
|
| 20375 |
* src/recur.c: recurive downloading for https fixed. |
| 20376 |
|
| 20377 |
2002-02-05 Ian Abbott <[email protected]> |
| 20378 |
|
| 20379 |
* src/http.c (gethttp): when -c used, mark already fully retrieved |
| 20380 |
file as successfully retrieved. |
| 20381 |
|
| 20382 |
2002-02-01 Hrvoje Niksic <[email protected]> |
| 20383 |
|
| 20384 |
* src/html-url.c (tag_handle_meta): Don't crash on <meta |
| 20385 |
http-equiv=refresh> where content is missing. |
| 20386 |
|
| 20387 |
2002-01-31 Herold Heiko <[email protected]> |
| 20388 |
|
| 20389 |
* src/ftp-basic.c, host.c: don't include sys/socket.h, arpa/inet.h, |
| 20390 |
netdb.h on windows. |
| 20391 |
|
| 20392 |
2002-01-30 Hrvoje Niksic <[email protected]> |
| 20393 |
|
| 20394 |
* src/retr.c (retrieve_url): Remove redirection cycle detection. This |
| 20395 |
is because some sites legitimately redirect the user back to the |
| 20396 |
same location, e.g. after an authorization check performed by |
| 20397 |
another page. MAX_REDIRECTIONS is still used to prevent infinite |
| 20398 |
redirection loops. |
| 20399 |
|
| 20400 |
2002-01-26 Hrvoje Niksic <[email protected]> |
| 20401 |
|
| 20402 |
* src/url.c (urlchr_table): Make square braces reserved, so we can |
| 20403 |
parse http://[::1]/. |
| 20404 |
(url_parse): Handle host in braces. |
| 20405 |
(url_string): If url->host contains colons, wrap it in braces. |
| 20406 |
|
| 20407 |
2002-01-26 Hrvoje Niksic <[email protected]> |
| 20408 |
|
| 20409 |
* src/url.c (url_parse): Allow all hex digits, not only decimal ones, |
| 20410 |
to form an IP address. |
| 20411 |
|
| 20412 |
2002-01-26 Hrvoje Niksic <[email protected]> |
| 20413 |
|
| 20414 |
* src/http.c (gethttp): Wrap host name in square brackets if it |
| 20415 |
contains a colon. |
| 20416 |
|
| 20417 |
2002-01-24 Hrvoje Niksic <[email protected]> |
| 20418 |
|
| 20419 |
* src/source: Integrated IPv6 support. |
| 20420 |
Written by Thomas Lussnig <[email protected]>. |
| 20421 |
|
| 20422 |
2002-01-24 Hrvoje Niksic <[email protected]> |
| 20423 |
|
| 20424 |
* src/host.c (lookup_host): Use sizeof(ip4_address) to calculate the |
| 20425 |
offset. |
| 20426 |
(address_list_new): Use map_ipv4_to_ip. |
| 20427 |
(wget_sockaddr_set_address): Convert ADDR to IPv4 before using it |
| 20428 |
in IPv4 context. |
| 20429 |
|
| 20430 |
2002-01-24 Hrvoje Niksic <[email protected]> |
| 20431 |
|
| 20432 |
* src/connect.c (resolve_bind_address): New function. |
| 20433 |
(connect_to_one): Use it. |
| 20434 |
(bindport): Ditto. |
| 20435 |
|
| 20436 |
* src/init.c: Don't resolve bind-address here. |
| 20437 |
|
| 20438 |
* src/host.c (wget_sockaddr_set_address): Would bug out with ADDR == NULL. |
| 20439 |
|
| 20440 |
2002-01-17 Hrvoje Niksic <[email protected]> |
| 20441 |
|
| 20442 |
* src/netrc.c (parse_netrc): Skip leading whitespace before testing |
| 20443 |
whether the line is empty. Empty lines still contain the line |
| 20444 |
terminator. |
| 20445 |
|
| 20446 |
2002-01-15 Ian Abbott <[email protected]> |
| 20447 |
|
| 20448 |
* src/init.c (cmd_file): Change `\' to `/' for Windows (yes, really!) |
| 20449 |
(cmd_directory): New function. Like cmd_file(), but strips |
| 20450 |
trailing directory separators. |
| 20451 |
(commands): Change action for "dirprefix" from `cmd_file' to |
| 20452 |
`cmd_directory'. |
| 20453 |
|
| 20454 |
* src/utils.c (make_directory): Allow intermediate `mkdir' calls to |
| 20455 |
fail, as not all path components that do not exist should be |
| 20456 |
directory components, especially under Windows. |
| 20457 |
|
| 20458 |
2002-01-15 Hrvoje Niksic <[email protected]> |
| 20459 |
|
| 20460 |
* src/gen_sslfunc.c (ssl_iread): Call select on the file descriptor |
| 20461 |
only if no data is pending in SSL buffers. |
| 20462 |
From [email protected]. |
| 20463 |
|
| 20464 |
2002-01-15 Hrvoje Niksic <[email protected]> |
| 20465 |
|
| 20466 |
* MACHINES: OS X entry by Jonathan Davis. |
| 20467 |
|
| 20468 |
2002-01-14 Hrvoje Niksic <[email protected]> |
| 20469 |
|
| 20470 |
* src/url.c (parse_uname): URL-decode *USER and *PASSWD. |
| 20471 |
|
| 20472 |
2002-01-14 Hrvoje Niksic <[email protected]> |
| 20473 |
|
| 20474 |
* src/http.c (gethttp): Invalidate SOCK if get_contents encountered an |
| 20475 |
error. |
| 20476 |
|
| 20477 |
2002-01-14 Hrvoje Niksic <[email protected]> |
| 20478 |
|
| 20479 |
* src/headers.c (header_get): Strip trailing whitespace from the |
| 20480 |
header. |
| 20481 |
|
| 20482 |
2002-01-07 Ian Abbott <[email protected]> |
| 20483 |
|
| 20484 |
* src/url.c (uri_merge_1): Deal with "net path" relative URL (one that |
| 20485 |
starts with "//"). |
| 20486 |
|
| 20487 |
2001-12-24 Hrvoje Niksic <[email protected]> |
| 20488 |
|
| 20489 |
* src/version.c: Wget 1.8.1 is released. |
| 20490 |
|
| 20491 |
2001-12-19 Hrvoje Niksic <[email protected]> |
| 20492 |
|
| 20493 |
* src/version.c: Wget 1.8.1-pre3 is released. |
| 20494 |
|
| 20495 |
2001-12-19 Hrvoje Niksic <[email protected]> |
| 20496 |
|
| 20497 |
* src/recur.c (retrieve_tree): Enqueue the canonical representation of |
| 20498 |
start_url, so that the test against dl_url_file_map works. |
| 20499 |
|
| 20500 |
2001-12-19 Hrvoje Niksic <[email protected]> |
| 20501 |
|
| 20502 |
* src/log.c (logputs): Check for requested verbosity before printing |
| 20503 |
anything. |
| 20504 |
|
| 20505 |
2001-12-19 Hrvoje Niksic <[email protected]> |
| 20506 |
|
| 20507 |
* src/html-url.c (tag_handle_link): Treat the "shortcut icon" link as |
| 20508 |
inline. |
| 20509 |
|
| 20510 |
2001-12-19 Csaba Raduly <[email protected]> |
| 20511 |
|
| 20512 |
* windows/Makefile.watcom: add gen-md5.obj and progress.obj to the |
| 20513 |
list of "sources" |
| 20514 |
|
| 20515 |
* configure.bat: add section for Watcom |
| 20516 |
|
| 20517 |
2001-12-18 Ian Abbott <[email protected]> |
| 20518 |
|
| 20519 |
* src/recur.c (retrieve_tree): Pass on referring URL when retrieving |
| 20520 |
recursed URL. |
| 20521 |
|
| 20522 |
2001-12-18 Hrvoje Niksic <[email protected]> |
| 20523 |
|
| 20524 |
* src/recur.c (retrieve_tree): Make a copy of file obtained from |
| 20525 |
dl_url_file_map because the code calls xfree(file) later. |
| 20526 |
|
| 20527 |
2001-12-18 Hrvoje Niksic <[email protected]> |
| 20528 |
|
| 20529 |
* src/recur.c (register_html): Maintain a hash table of HTML files |
| 20530 |
along with the list. Disallow duplicates. |
| 20531 |
(retrieve_tree): Use downloaded_html_set to check whether the file |
| 20532 |
found in dl_url_file_map is an HTML file, and descend into it if |
| 20533 |
so. |
| 20534 |
(convert_all_links): Don't guard against duplicates in |
| 20535 |
downloaded_html_list, since they are no longer possible. |
| 20536 |
|
| 20537 |
2001-12-17 Hrvoje Niksic <[email protected]> |
| 20538 |
|
| 20539 |
* src/version.c: Wget 1.8.1-pre2 is released. |
| 20540 |
|
| 20541 |
2001-12-17 Hrvoje Niksic <[email protected]> |
| 20542 |
|
| 20543 |
* src/retr.c (sleep_between_retrievals): Simplify indentation. |
| 20544 |
|
| 20545 |
2001-12-17 Hrvoje Niksic <[email protected]> |
| 20546 |
|
| 20547 |
* src/gen_sslfunc.c (ssl_init_prng): Use random_number to get a byte |
| 20548 |
of "randomness" at a time. |
| 20549 |
(ssl_init_prng): Don't seed the PRNG; random_number will do that. |
| 20550 |
|
| 20551 |
* src/retr.c (sleep_between_retrievals): Use it. Make sure that the |
| 20552 |
random amount averages in opt.wait. |
| 20553 |
(sleep_between_retrievals): Don't seed the PRNG; random_number |
| 20554 |
will do that. |
| 20555 |
|
| 20556 |
* src/utils.c (random_number): New function. |
| 20557 |
|
| 20558 |
2001-12-16 Hrvoje Niksic <[email protected]> |
| 20559 |
|
| 20560 |
* doc/wget.texi (Wgetrc Commands): Undocument simple_host_check. |
| 20561 |
|
| 20562 |
2001-12-14 Hrvoje Niksic <[email protected]> |
| 20563 |
|
| 20564 |
* src/url.c (path_simplify): Move here from utils.c, and make static. |
| 20565 |
|
| 20566 |
2001-12-13 Hrvoje Niksic <[email protected]> |
| 20567 |
|
| 20568 |
* src/version.c: Wget 1.8.1-pre1 is released. |
| 20569 |
|
| 20570 |
2001-12-13 Hrvoje Niksic <[email protected]> |
| 20571 |
|
| 20572 |
* src/res.c (matches): Fix broken URL in the docstring. |
| 20573 |
|
| 20574 |
2001-12-13 Hrvoje Niksic <[email protected]> |
| 20575 |
|
| 20576 |
* src/recur.c (register_download): Don't abort when one URL references |
| 20577 |
two different files. |
| 20578 |
|
| 20579 |
2001-12-13 Hrvoje Niksic <[email protected]> |
| 20580 |
|
| 20581 |
* src/init.c (wgetrc_file_name): Print correct message when loading |
| 20582 |
getenv("WGETRC") fails. |
| 20583 |
|
| 20584 |
2001-12-13 Hrvoje Niksic <[email protected]> |
| 20585 |
|
| 20586 |
* src/http.c (gethttp): Check for conn->scheme, not u->scheme, before |
| 20587 |
calling ssl_iwrite. |
| 20588 |
|
| 20589 |
2001-12-13 Hrvoje Niksic <[email protected]> |
| 20590 |
|
| 20591 |
* src/html-url.c (tag_url_attributes): Mark <embed href=...> as |
| 20592 |
external. |
| 20593 |
|
| 20594 |
2001-12-13 Hrvoje Niksic <[email protected]> |
| 20595 |
|
| 20596 |
* po/ja.po: Ditto. |
| 20597 |
|
| 20598 |
* po/sv.po: Ditto. |
| 20599 |
|
| 20600 |
* po/de.po: Ditto. |
| 20601 |
|
| 20602 |
* po/es.po: Ditto. |
| 20603 |
|
| 20604 |
* po/fr.po: Ditto. |
| 20605 |
|
| 20606 |
* po/et.po: Ditto. |
| 20607 |
|
| 20608 |
* po/tr.po: Ditto. |
| 20609 |
|
| 20610 |
* po/ru.po: Update from TP. |
| 20611 |
|
| 20612 |
2001-12-13 Hrvoje Niksic <[email protected]> |
| 20613 |
|
| 20614 |
* doc/wget.texi (Robots): Fix broken URLs that point to the webcrawler |
| 20615 |
web site. |
| 20616 |
|
| 20617 |
2001-12-12 Hrvoje Niksic <[email protected]> |
| 20618 |
|
| 20619 |
* src/url.c (get_urls_file): Cosmetic changes. |
| 20620 |
|
| 20621 |
2001-12-12 Hrvoje Niksic <[email protected]> |
| 20622 |
|
| 20623 |
* src/html-url.c (collect_tags_mapper): Break into several functions. |
| 20624 |
(tag_url_attributes): Collect <embed href=...>. |
| 20625 |
|
| 20626 |
2001-12-12 Hrvoje Niksic <[email protected]> |
| 20627 |
|
| 20628 |
* src/html-url.c (append_one_url): Resurrect warning when unable to |
| 20629 |
resolve a relative link. |
| 20630 |
|
| 20631 |
2001-12-12 Hrvoje Niksic <[email protected]> |
| 20632 |
|
| 20633 |
* configure.in: Autodetect SSL. Check for SSL includes too. |
| 20634 |
|
| 20635 |
2001-12-11 Hrvoje Niksic <[email protected]> |
| 20636 |
|
| 20637 |
* src/host.c: New type ipv4_address. Use it consistently instead of |
| 20638 |
`unsigned char[4]' and `unsigned char *'. |
| 20639 |
(pretty_print_address): Accept a `const void *', to require even |
| 20640 |
less casting. |
| 20641 |
|
| 20642 |
2001-12-11 Hrvoje Niksic <[email protected]> |
| 20643 |
|
| 20644 |
* src/ftp-ls.c (ftp_parse_vms_ls): Fix obvious memory leaks. |
| 20645 |
|
| 20646 |
2001-12-11 Hrvoje Niksic <[email protected]> |
| 20647 |
|
| 20648 |
* doc/wget.texi (HTTP Options): Explain how to make IE produce a |
| 20649 |
`cookies.txt'-compatible file. |
| 20650 |
Reported by Herold Heiko. |
| 20651 |
|
| 20652 |
2001-12-11 Hrvoje Niksic <[email protected]> |
| 20653 |
|
| 20654 |
* doc/texi2pod.pl.in: Handle @asis in table. |
| 20655 |
|
| 20656 |
2001-12-11 Hrvoje Niksic <[email protected]> |
| 20657 |
|
| 20658 |
* configure.in: Check for md5_calc rather than MD5Update when |
| 20659 |
looking for Solaris md5. |
| 20660 |
|
| 20661 |
2001-12-11 Hrvoje Niksic <[email protected]> |
| 20662 |
|
| 20663 |
* config.sub: Ditto. |
| 20664 |
|
| 20665 |
* config.guess: Ditto. |
| 20666 |
|
| 20667 |
* aclocal.m4: Ditto. |
| 20668 |
|
| 20669 |
* ltmain.sh: Upgrade to libtool 1.4.2. |
| 20670 |
|
| 20671 |
2001-12-10 Hrvoje Niksic <[email protected]> |
| 20672 |
|
| 20673 |
* src/utils.c (path_simplify): Rewrite, with better comments, and |
| 20674 |
without the use of strcpy to move overlapping blocks. |
| 20675 |
|
| 20676 |
2001-12-10 Hrvoje Niksic <[email protected]> |
| 20677 |
|
| 20678 |
* src/utils.c (path_simplify): Correctly handle the unlikely case that |
| 20679 |
b starts out as path + 1. |
| 20680 |
|
| 20681 |
2001-12-10 Hrvoje Niksic <[email protected]> |
| 20682 |
|
| 20683 |
* src/utils.c (long_to_string): Return a pointer after where the |
| 20684 |
number ends. |
| 20685 |
(long_to_string): Rename to number_to_string. |
| 20686 |
|
| 20687 |
2001-12-10 Hrvoje Niksic <[email protected]> |
| 20688 |
|
| 20689 |
* src/main.c (main): Initialize progress after fork_to_background, so |
| 20690 |
that it knows when to use dots. |
| 20691 |
|
| 20692 |
* src/mswindows.c (ws_hangup): Call log_request_redirect_output. |
| 20693 |
|
| 20694 |
* src/utils.c (fork_to_background): Print the PID of the child |
| 20695 |
process. |
| 20696 |
|
| 20697 |
* src/log.c (log_request_redirect_output): Set a flag that output |
| 20698 |
redirection has been requested. Doing anything else in a signal |
| 20699 |
handler is unsafe. |
| 20700 |
(check_redirect_output): New function: check whether redirection |
| 20701 |
has been requested and, if so, call redirect_output(). |
| 20702 |
(logputs): Call check_redirect_output. |
| 20703 |
(logprintf): Ditto. |
| 20704 |
(debug_logprintf): Ditto. |
| 20705 |
(redirect_output): Print clearer messages. |
| 20706 |
|
| 20707 |
* src/main.c (redirect_output_signal): Don't call |
| 20708 |
redirect_output_signal directly. Instead, call |
| 20709 |
log_request_redirect_output. |
| 20710 |
|
| 20711 |
* src/utils.c (memfatal): Ditto. |
| 20712 |
|
| 20713 |
* src/progress.c (display_image): Use it. |
| 20714 |
|
| 20715 |
* src/log.c (log_set_save_context): New function: allow the caller to |
| 20716 |
turn off saving log context lines. |
| 20717 |
|
| 20718 |
2001-12-10 Hrvoje Niksic <[email protected]> |
| 20719 |
|
| 20720 |
* src/host.c (address_list_set_faulty): Uncomment a sanity check. |
| 20721 |
|
| 20722 |
2001-12-09 Hrvoje Niksic <[email protected]> |
| 20723 |
|
| 20724 |
* src/version.c: Wget 1.8 is released. |
| 20725 |
|
| 20726 |
2001-12-09 Hrvoje Niksic <[email protected]> |
| 20727 |
|
| 20728 |
* src/url.c (reencode_string): Declare static. |
| 20729 |
|
| 20730 |
* src/res.c (registered_specs): Declare static. |
| 20731 |
|
| 20732 |
* src/progress.c (current_impl_locked): Declare static. |
| 20733 |
|
| 20734 |
* src/log.c (flush_log_p): Declare static. |
| 20735 |
(needs_flushing): Ditto. |
| 20736 |
|
| 20737 |
* src/http.c (digest_authentication_encode): Declare static. |
| 20738 |
|
| 20739 |
* src/html-url.c (init_interesting): Declare static. |
| 20740 |
|
| 20741 |
* src/host.c (host_name_addresses_map): Declare static. |
| 20742 |
|
| 20743 |
* src/cookies.c (find_matching_chains): Declare static. |
| 20744 |
|
| 20745 |
* src/ftp-ls.c (ftp_parse_vms_ls): Warn about the memory leak |
| 20746 |
indicated by lint. |
| 20747 |
|
| 20748 |
* src/utils.c (path_simplify): Remove unused variable STUB_CHAR. |
| 20749 |
|
| 20750 |
* src/host.c (address_list_set_faulty): Document that INDEX is |
| 20751 |
currently unused. |
| 20752 |
|
| 20753 |
* src/url.c (rewrite_shorthand_url): Remove unused variable PATH. |
| 20754 |
|
| 20755 |
2001-12-09 Hrvoje Niksic <[email protected]> |
| 20756 |
|
| 20757 |
* src/progress.c (create_image): Fix ETA padding when hours are prined. |
| 20758 |
|
| 20759 |
2001-12-09 Hrvoje Niksic <[email protected]> |
| 20760 |
|
| 20761 |
* src/main.c (main): Remove stray debugging message. |
| 20762 |
|
| 20763 |
2001-12-09 Hrvoje Niksic <[email protected]> |
| 20764 |
|
| 20765 |
* src/init.c (cmd_spec_progress): Resurrect. Check whether VAL is a |
| 20766 |
valid progress type before setting it. |
| 20767 |
|
| 20768 |
2001-12-09 Hrvoje Niksic <[email protected]> |
| 20769 |
|
| 20770 |
* doc/wget.texi: Bump version to 1.8. |
| 20771 |
|
| 20772 |
2001-12-08 R.I.P. Deaddog <[email protected]> |
| 20773 |
|
| 20774 |
* po/zh_TW.po: Updated for 1.8. |
| 20775 |
|
| 20776 |
2001-12-08 Hrvoje Niksic <[email protected]> |
| 20777 |
|
| 20778 |
* src/version.c: Wget 1.8-pre2 is released. |
| 20779 |
|
| 20780 |
2001-12-08 Hrvoje Niksic <[email protected]> |
| 20781 |
|
| 20782 |
* po/tr.po: Ditto. |
| 20783 |
|
| 20784 |
* po/sv.po: Ditto. |
| 20785 |
|
| 20786 |
* po/ru.po: Ditto. |
| 20787 |
|
| 20788 |
* po/fr.po: Ditto. |
| 20789 |
|
| 20790 |
* po/es.po: Ditto. |
| 20791 |
|
| 20792 |
* po/de.po: Update from TP. |
| 20793 |
|
| 20794 |
2001-12-08 Hrvoje Niksic <[email protected]> |
| 20795 |
|
| 20796 |
* doc/wget.texi (HTTP Options): Provide more specific information |
| 20797 |
about how --load-cookies is meant to be used. |
| 20798 |
|
| 20799 |
2001-12-08 Hrvoje Niksic <[email protected]> |
| 20800 |
|
| 20801 |
* doc/texi2pod.pl: Include the EXAMPLES section. |
| 20802 |
|
| 20803 |
* doc/wget.texi (Overview): Shorten the man page DESCRIPTION. |
| 20804 |
(Examples): Redo the Examples chapter. Include it in the man |
| 20805 |
page. |
| 20806 |
|
| 20807 |
2001-12-06 Hrvoje Niksic <[email protected]> |
| 20808 |
|
| 20809 |
* src/version.c: Wget 1.8-pre1 is released. |
| 20810 |
|
| 20811 |
2001-12-06 Hrvoje Niksic <[email protected]> |
| 20812 |
|
| 20813 |
* src/utils.c (read_whole_line): Handle lines beginning with \0. |
| 20814 |
|
| 20815 |
2001-12-06 Hrvoje Niksic <[email protected]> |
| 20816 |
|
| 20817 |
* src/url.c (scheme_disable): New function. |
| 20818 |
|
| 20819 |
* src/main.c (main): Call ssl_init_prng from here rather than from |
| 20820 |
init_ssl, so that it has a chance to disable support for https |
| 20821 |
before a URL has been resolved. |
| 20822 |
|
| 20823 |
* src/gen_sslfunc.c (ssl_init_prng): Seed with rand() if all else |
| 20824 |
failed. |
| 20825 |
(ssl_init_prng): Disable support for https if seeding the PRNG |
| 20826 |
fails. |
| 20827 |
|
| 20828 |
2001-12-06 Hrvoje Niksic <[email protected]> |
| 20829 |
|
| 20830 |
* src/progress.c (progress_handle_sigwinch): Set up the signal again. |
| 20831 |
|
| 20832 |
* src/utils.c: Include <sys/termios.h>, where Solaris defines |
| 20833 |
TIOCGWINSZ. |
| 20834 |
|
| 20835 |
* src/progress.c (bar_create): Don't use the last column on the screen. |
| 20836 |
(create_image): Pad ETA to constant size. Pad SIZE to nine digits |
| 20837 |
only until it exceeded them. |
| 20838 |
|
| 20839 |
2001-12-06 Hrvoje Niksic <[email protected]> |
| 20840 |
|
| 20841 |
* src/progress.c (progress_create): Make sure that, when the output is |
| 20842 |
redirected, the progress implementation gets changed to the |
| 20843 |
fallback one. |
| 20844 |
(bar_set_params): Set current_impl_locked to 1 when "force" is |
| 20845 |
specified. |
| 20846 |
(progress_create): Don't change the progress implementation if |
| 20847 |
current_impl_locked is non-zero. |
| 20848 |
|
| 20849 |
* src/main.c (redirect_output_signal): Call |
| 20850 |
progress_schedule_redirect. |
| 20851 |
|
| 20852 |
* src/progress.c (progress_schedule_redirect): New function. |
| 20853 |
|
| 20854 |
2001-12-06 Hrvoje Niksic <[email protected]> |
| 20855 |
|
| 20856 |
* src/log.c (logvprintf): Restructure to allow being called multiple |
| 20857 |
times. |
| 20858 |
(logprintf): Call logvprintf in a loop. |
| 20859 |
(debug_logprintf): Ditto. |
| 20860 |
|
| 20861 |
2001-12-06 Hrvoje Niksic <[email protected]> |
| 20862 |
|
| 20863 |
* src/gen_sslfunc.c (ssl_init_prng): Make the printed message |
| 20864 |
translatable. |
| 20865 |
|
| 20866 |
2001-12-06 Hrvoje Niksic <[email protected]> |
| 20867 |
|
| 20868 |
* src/gen_sslfunc.c (ssl_init_prng): Allow the user to disable EGD by |
| 20869 |
setting egd_file it to empty string. |
| 20870 |
|
| 20871 |
* src/main.c (main): Change the option name from --sslegdsock to |
| 20872 |
--egd-file. |
| 20873 |
|
| 20874 |
2001-12-06 Hrvoje Niksic <[email protected]> |
| 20875 |
|
| 20876 |
* po/et.po: Update from the TP. |
| 20877 |
|
| 20878 |
2001-12-06 Hrvoje Niksic <[email protected]> |
| 20879 |
|
| 20880 |
* po/de.po: Ditto. |
| 20881 |
|
| 20882 |
* po/fr.po: Ditto. |
| 20883 |
|
| 20884 |
* po/tr.po: Ditto. |
| 20885 |
|
| 20886 |
* po/sv.po: Ditto. |
| 20887 |
|
| 20888 |
* po/et.po: Update from TP. |
| 20889 |
|
| 20890 |
* po/hu.po: New file from TP. |
| 20891 |
|
| 20892 |
2001-12-06 Hrvoje Niksic <[email protected]> |
| 20893 |
|
| 20894 |
* configure.in: Check for <termios.h> |
| 20895 |
|
| 20896 |
2001-12-05 Hrvoje Niksic <[email protected]> |
| 20897 |
|
| 20898 |
* src/utils.c (path_simplify): Document with test cases. |
| 20899 |
|
| 20900 |
2001-12-05 Hrvoje Niksic <[email protected]> |
| 20901 |
|
| 20902 |
* src/recur.c (convert_all_links): Guard against duplicates in |
| 20903 |
downloaded_html_files. |
| 20904 |
(register_download): Don't invalidate similar-looking URLs. |
| 20905 |
(match_except_index): New function. |
| 20906 |
|
| 20907 |
2001-12-04 Ian Abbott <[email protected]> |
| 20908 |
|
| 20909 |
* src/snprintf.c (dopr): Use `unsigned int' as the second argument to |
| 20910 |
va_arg when casting to `unsigned short' is intended. |
| 20911 |
|
| 20912 |
2001-12-04 Hrvoje Niksic <[email protected]> |
| 20913 |
|
| 20914 |
* src/url.c (local_quote_string): Reenable quoting of question marks, |
| 20915 |
but only when `--html-extension' is used. |
| 20916 |
|
| 20917 |
2001-12-04 Hrvoje Niksic <[email protected]> |
| 20918 |
|
| 20919 |
* src/recur.c (retrieve_tree): Check whether the URL was already |
| 20920 |
downloaded before downloading it again. |
| 20921 |
(descend_child_p): Renamed to download_child_p. |
| 20922 |
(register_download): When one URL is downloaded to a file already |
| 20923 |
"owned" by another URL, delete all references that map any URL to |
| 20924 |
that file. |
| 20925 |
(register_delete_file): New function. |
| 20926 |
(retrieve_tree): Use it after deleting a file. |
| 20927 |
|
| 20928 |
* src/url.c (url_parse): Re-canonicalize the URL also if the path is |
| 20929 |
empty, so that e.g. "http://www.server.com" -> |
| 20930 |
"http://www.server.com/". |
| 20931 |
(lowercase_str): Use ISUPPER instead of !ISLOWER. |
| 20932 |
|
| 20933 |
* src/retr.c (retrieve_url): Use the canonical URL form when calling |
| 20934 |
register_download(). |
| 20935 |
|
| 20936 |
2001-12-04 Hrvoje Niksic <[email protected]> |
| 20937 |
|
| 20938 |
* src/gen_sslfunc.c: Ditto. |
| 20939 |
|
| 20940 |
* src/rbuf.c: Include <string.h>. |
| 20941 |
|
| 20942 |
2001-12-04 Herold Heiko <[email protected]> |
| 20943 |
|
| 20944 |
* windows\Makefile.src: add gen_sslfunc.c |
| 20945 |
|
| 20946 |
* windows\Makefile.src.bor: ditto. |
| 20947 |
|
| 20948 |
2001-12-04 Herold Heiko <[email protected]> |
| 20949 |
|
| 20950 |
* src/gen_sslfunc.c: on windows provide ssl crypto random |
| 20951 |
initialization through RAND_screen(); could possibly |
| 20952 |
be not enough for strong ssl communication (see the |
| 20953 |
relevant manual page from the openssl package). |
| 20954 |
|
| 20955 |
2001-12-03 Hrvoje Niksic <[email protected]> |
| 20956 |
|
| 20957 |
* src/version.c: Wget 1.8-beta3 is released. |
| 20958 |
|
| 20959 |
2001-12-03 Hrvoje Niksic <[email protected]> |
| 20960 |
|
| 20961 |
* src/snprintf.c (dopr): Replace `short int' and `unsigned short int' |
| 20962 |
with `int' when using it as the second argument to `va_arg'. |
| 20963 |
|
| 20964 |
2001-12-03 Hrvoje Niksic <[email protected]> |
| 20965 |
|
| 20966 |
* src/snprintf.c (dopr): Cast the result of va_arg to short int and |
| 20967 |
short unsigned int where these types are expected to be used. |
| 20968 |
|
| 20969 |
2001-12-03 Hrvoje Niksic <[email protected]> |
| 20970 |
|
| 20971 |
* src/host.c (address_list_new_one): New function. |
| 20972 |
(lookup_host): Use it. |
| 20973 |
|
| 20974 |
2001-12-03 Hrvoje Niksic <[email protected]> |
| 20975 |
|
| 20976 |
* src/ftp-basic.c (ftp_port): Don't return HOSTERR if we fail getting |
| 20977 |
the socket data. |
| 20978 |
|
| 20979 |
* src/ftp.c: Ditto. |
| 20980 |
|
| 20981 |
* src/http.c: No need to declare h_errno. |
| 20982 |
|
| 20983 |
* src/host.c: Declare h_errno. |
| 20984 |
|
| 20985 |
2001-12-03 Andre Majorel <[email protected]> |
| 20986 |
|
| 20987 |
* src/host.c (lookup_host): Don't initialize TMPSTORE directly because |
| 20988 |
it's not legal C. |
| 20989 |
|
| 20990 |
2001-12-02 Hrvoje Niksic <[email protected]> |
| 20991 |
|
| 20992 |
* src/version.c: Wget 1.8-beta2 is released. |
| 20993 |
|
| 20994 |
2001-12-02 Hrvoje Niksic <[email protected]> |
| 20995 |
|
| 20996 |
* src/utils.c (file_merge): If BASE doesn't contain a slash, just |
| 20997 |
return a copy of FILE. |
| 20998 |
|
| 20999 |
2001-12-01 Hrvoje Niksic <[email protected]> |
| 21000 |
|
| 21001 |
* src/version.c: Wget 1.8-beta1 is released. |
| 21002 |
|
| 21003 |
2001-12-01 Hrvoje Niksic <[email protected]> |
| 21004 |
|
| 21005 |
* src/url.c (url_full_path): Document better. |
| 21006 |
|
| 21007 |
* src/http.c (gethttp): Use the full path when creating digest |
| 21008 |
authorization. |
| 21009 |
|
| 21010 |
2001-12-01 Hrvoje Niksic <[email protected]> |
| 21011 |
|
| 21012 |
* src/url.c (replace_attr_refresh_hack): New function. |
| 21013 |
(convert_links): Call replace_attr_refresh_hack for Refresh |
| 21014 |
links. It will add the "TMOUT; URL=" junk before the link. |
| 21015 |
|
| 21016 |
* src/html-url.c (collect_tags_mapper): Set ID to the ID of the |
| 21017 |
"content" attribute, not "http-equiv". |
| 21018 |
(collect_tags_mapper): Don't use OFFSET to hack the raw_* values; |
| 21019 |
instead, store the information that this entry belongs to a |
| 21020 |
"refresh" link. |
| 21021 |
|
| 21022 |
2001-12-01 Hrvoje Niksic <[email protected]> |
| 21023 |
|
| 21024 |
* src/url.c (get_urls_file): If opt.base_href is specified, merge each |
| 21025 |
URL with the base. |
| 21026 |
|
| 21027 |
2001-12-01 Hrvoje Niksic <[email protected]> |
| 21028 |
|
| 21029 |
* src/recur.c (retrieve_tree): Allow -p retrievals to exceed maximum |
| 21030 |
depth by more than one. |
| 21031 |
|
| 21032 |
2001-12-01 Hrvoje Niksic <[email protected]> |
| 21033 |
|
| 21034 |
* src/main.c (print_help): Don't document the removed `-nh'. |
| 21035 |
|
| 21036 |
2001-12-01 Hrvoje Niksic <[email protected]> |
| 21037 |
|
| 21038 |
* src/ftp.c (getftp): When PWD fails, assume "/". |
| 21039 |
|
| 21040 |
* src/ftp-basic.c (ftp_syst): Fix indentation. |
| 21041 |
|
| 21042 |
2001-12-01 Hrvoje Niksic <[email protected]> |
| 21043 |
|
| 21044 |
* src/cookies.c (path_matches): Return 0 if PREFIX doesn't begin with |
| 21045 |
'/'. |
| 21046 |
|
| 21047 |
2001-12-01 Hrvoje Niksic <[email protected]> |
| 21048 |
|
| 21049 |
* src/cookies.c (path_matches): FULL_PATH doesn't begin with '/', but |
| 21050 |
PREFIX does. |
| 21051 |
|
| 21052 |
2001-12-01 Hrvoje Niksic <[email protected]> |
| 21053 |
|
| 21054 |
* src/cookies.c (check_domain_match): Reimplement to match Netscape's |
| 21055 |
"preliminary specification" for cookies. |
| 21056 |
|
| 21057 |
2001-12-01 Hrvoje Niksic <[email protected]> |
| 21058 |
|
| 21059 |
* po/hr.po: Updated Croatian translation. |
| 21060 |
|
| 21061 |
2001-12-01 Hrvoje Niksic <[email protected]> |
| 21062 |
|
| 21063 |
* doc/wget.texi: Update the manual with the new recursive retrieval |
| 21064 |
stuff. |
| 21065 |
|
| 21066 |
2001-11-30 T. Bharath <[email protected]> |
| 21067 |
|
| 21068 |
* src/http.c (persistent_available_p): Call SHUTDOWN_SSL if |
| 21069 |
test_socket_open fails. |
| 21070 |
|
| 21071 |
2001-11-30 Ingo T. Storm <[email protected]> |
| 21072 |
|
| 21073 |
* doc/sample.wgetrc: Document ftp_proxy, too. |
| 21074 |
|
| 21075 |
2001-11-30 Hrvoje Niksic <[email protected]> |
| 21076 |
|
| 21077 |
* src/retr.c (retrieve_url): Don't allow more than 20 redirections. |
| 21078 |
|
| 21079 |
2001-11-30 Hrvoje Niksic <[email protected]> |
| 21080 |
|
| 21081 |
* src/recur.c (retrieve_tree): Skip the non-inline entries when |
| 21082 |
enqueuing the children of a leaf HTML node in -p mode. |
| 21083 |
(descend_url_p): Ignore opt.no_parent when in -p mode and UPOS is |
| 21084 |
"inline". |
| 21085 |
|
| 21086 |
* src/html-url.c (get_urls_html): Don't accept dash_p_leaf_HTML. |
| 21087 |
(collect_tags_mapper): When an entry is "inline", mark it as such. |
| 21088 |
|
| 21089 |
* src/recur.c (descend_url_p): Fix test when checking for |
| 21090 |
acceptance/rejection rules. |
| 21091 |
|
| 21092 |
2001-11-30 Hrvoje Niksic <[email protected]> |
| 21093 |
|
| 21094 |
* src/progress.c (display_image): Just print one CR to reset the |
| 21095 |
cursor position. |
| 21096 |
|
| 21097 |
2001-11-30 Christian Fraenkel <[email protected]> |
| 21098 |
|
| 21099 |
* src/init.c: New command `ssl_egd_sock'. |
| 21100 |
|
| 21101 |
* src/main.c (main): New option `--sslegdsock'. |
| 21102 |
|
| 21103 |
* src/gen_sslfunc.c (ssl_init_prng): Seed the RNG using EGD. |
| 21104 |
|
| 21105 |
2001-11-29 Hrvoje Niksic <[email protected]> |
| 21106 |
|
| 21107 |
* src/recur.c (descend_url_p): When resolving no_parent, compare with |
| 21108 |
start_url, not parent url. Otherwise link from /a/b/ to /a/c/ |
| 21109 |
wouldn't be followed, although the download started from /a/. |
| 21110 |
|
| 21111 |
2001-11-29 Hrvoje Niksic <[email protected]> |
| 21112 |
|
| 21113 |
* src/http.c (http_process_range): Accept the broken output of |
| 21114 |
"JavaWebServer/1.1.1". |
| 21115 |
|
| 21116 |
2001-11-29 Hrvoje Niksic <[email protected]> |
| 21117 |
|
| 21118 |
* src/host.c (address_list_new): Initialize al->faulty. |
| 21119 |
|
| 21120 |
2001-11-29 Hrvoje Niksic <[email protected]> |
| 21121 |
|
| 21122 |
* src/headers: Guard against header files being included twice. |
| 21123 |
|
| 21124 |
2001-11-29 Hrvoje Niksic <[email protected]> |
| 21125 |
|
| 21126 |
* src/gen-md5.c: Use unsigned char * as the buffer argument to |
| 21127 |
gen_md5_update. |
| 21128 |
|
| 21129 |
2001-11-29 Hrvoje Niksic <[email protected]> |
| 21130 |
|
| 21131 |
* src/connect.h: Declare select_fd. |
| 21132 |
|
| 21133 |
2001-11-29 Hrvoje Niksic <[email protected]> |
| 21134 |
|
| 21135 |
* src/cmpt.c (memmove): Include a simple memmove implementation. |
| 21136 |
|
| 21137 |
2001-11-29 Hrvoje Niksic <[email protected]> |
| 21138 |
|
| 21139 |
* configure.in: Use SSL's MD5 if we're compiling with SSL anyway. |
| 21140 |
|
| 21141 |
2001-11-28 Hrvoje Niksic <[email protected]> |
| 21142 |
|
| 21143 |
* src/progress.c (dot_set_params): If PARAMS is unspecified, use |
| 21144 |
dot_style, if available. |
| 21145 |
|
| 21146 |
* src/init.c: Ditto. |
| 21147 |
|
| 21148 |
* src/main.c (main): Resurect --dot-style. |
| 21149 |
|
| 21150 |
* src/progress.c (dot_finish): Print the quantity if we're left at the |
| 21151 |
beginning of a row. |
| 21152 |
|
| 21153 |
2001-11-27 Ian Abbott <[email protected]> |
| 21154 |
|
| 21155 |
* src/retr.c (retrieve_from_file): Initialize `new_file' to NULL to |
| 21156 |
prevent seg fault. |
| 21157 |
|
| 21158 |
2001-11-27 Hrvoje Niksic <[email protected]> |
| 21159 |
|
| 21160 |
* src/url.c (convert_links): Don't translate %d-%d. |
| 21161 |
|
| 21162 |
* src/main.c (print_help): Remove stray HAVE_RANDOM code. |
| 21163 |
|
| 21164 |
2001-11-27 Hrvoje Niksic <[email protected]> |
| 21165 |
|
| 21166 |
* src/progress.c: Change the default progress implementation to "bar". |
| 21167 |
|
| 21168 |
2001-11-27 Hrvoje Niksic <[email protected]> |
| 21169 |
|
| 21170 |
* src/progress.c (bar_create): Print two newlines. |
| 21171 |
|
| 21172 |
2001-11-27 Hrvoje Niksic <[email protected]> |
| 21173 |
|
| 21174 |
* src/ftp.c (getftp): Improve output after sending PASV. Don't |
| 21175 |
attempt to "look up" the IP address we already know; call |
| 21176 |
connect_to_one directly. |
| 21177 |
|
| 21178 |
2001-11-27 Hrvoje Niksic <[email protected]> |
| 21179 |
|
| 21180 |
* src/connect.c (connect_to_many): Use address_list_set_faulty to |
| 21181 |
prevent the faulty address from being reused. |
| 21182 |
|
| 21183 |
* src/host.c (address_list_set_faulty): New function. |
| 21184 |
(address_list_get_bounds): New function, instead of |
| 21185 |
address_list_count. |
| 21186 |
|
| 21187 |
2001-11-27 Hrvoje Niksic <[email protected]> |
| 21188 |
|
| 21189 |
* src/cmpt.c (random): Removed. |
| 21190 |
|
| 21191 |
* src/retr.c (sleep_between_retrievals): Use the more portable rand() |
| 21192 |
instead of random(). |
| 21193 |
|
| 21194 |
2001-11-27 Hrvoje Niksic <[email protected]> |
| 21195 |
|
| 21196 |
* src/cmpt.c (random): New function, a simple-minded replacement for |
| 21197 |
random() on systems that don't have it. |
| 21198 |
|
| 21199 |
2001-11-27 Hrvoje Niksic <[email protected]> |
| 21200 |
|
| 21201 |
* po/hr.po: Updated. |
| 21202 |
|
| 21203 |
2001-11-27 Hrvoje Niksic <[email protected]> |
| 21204 |
|
| 21205 |
* configure.in: Don't check for random. |
| 21206 |
|
| 21207 |
2001-11-27 Hrvoje Niksic <[email protected]> |
| 21208 |
|
| 21209 |
* configure.in: Check for random. |
| 21210 |
|
| 21211 |
2001-11-26 Ian Abbott <[email protected]> |
| 21212 |
|
| 21213 |
* src/http.c (gethttp): fix undeclared variable 'err' when compiled |
| 21214 |
with HAVE_SSL. |
| 21215 |
|
| 21216 |
2001-11-26 Hrvoje Niksic <[email protected]> |
| 21217 |
|
| 21218 |
* src/recur.c (retrieve_tree): In case of followed redirection, |
| 21219 |
blacklist the pre-redirection URL. |
| 21220 |
|
| 21221 |
2001-11-26 Hrvoje Niksic <[email protected]> |
| 21222 |
|
| 21223 |
* src/recur.c (descend_redirect_p): New function. |
| 21224 |
(retrieve_tree): Make sure redirections are not blindly followed. |
| 21225 |
|
| 21226 |
2001-11-26 Hrvoje Niksic <[email protected]> |
| 21227 |
|
| 21228 |
* src/progress.c: Don't allocate new timers; use the timing data |
| 21229 |
propagated from the caller. |
| 21230 |
|
| 21231 |
* src/retr.c (get_contents): Allocate and use a timer. |
| 21232 |
|
| 21233 |
2001-11-26 Hrvoje Niksic <[email protected]> |
| 21234 |
|
| 21235 |
* src/http.c (last_host_ip): Made into an address_list. |
| 21236 |
(invalidate_persistent): Release pc_last_host_ip. |
| 21237 |
(register_persistent): Use lookup_host. |
| 21238 |
(persistent_available_p): Check for equality of hosts using |
| 21239 |
address_list_match_all. Call address_list_release. |
| 21240 |
(http_cleanup): New function. |
| 21241 |
|
| 21242 |
* src/ftp.c (getftp): Use lookup_host and connect_to_many. |
| 21243 |
|
| 21244 |
* src/http.c (gethttp): Use lookup_host and connect_to_many. |
| 21245 |
|
| 21246 |
* src/connect.c (make_connection): Removed. |
| 21247 |
(connect_to_one): New function. |
| 21248 |
(connect_to_many): Ditto. |
| 21249 |
(set_connection_host_name): Ditto. |
| 21250 |
|
| 21251 |
* src/host.c (lookup_host): New function; new return type. |
| 21252 |
(address_list_new): New function. |
| 21253 |
(address_list_count): Ditto. |
| 21254 |
(address_list_copy_one): Ditto. |
| 21255 |
(address_list_delete): Ditto. |
| 21256 |
(address_list_release): Ditto. |
| 21257 |
(pretty_print_address): Ditto. |
| 21258 |
|
| 21259 |
2001-11-26 Hrvoje Niksic <[email protected]> |
| 21260 |
|
| 21261 |
* src/config.h.in: Put a HAVE_USLEEP stub. |
| 21262 |
|
| 21263 |
* src/cmpt.c (usleep): Replacement implementation of usleep using |
| 21264 |
select. |
| 21265 |
|
| 21266 |
* src/init.c: New option init_rate. |
| 21267 |
|
| 21268 |
* src/main.c (main): New option --limit-rate. |
| 21269 |
|
| 21270 |
* src/retr.c (limit_bandwidth): New function. |
| 21271 |
(get_contents): Call it to limit the bandwidth used when |
| 21272 |
downloading. |
| 21273 |
|
| 21274 |
* src/progress.c (dot_update): Would print the wrong download speed on |
| 21275 |
rows other than the first one when the download was continued. |
| 21276 |
(dot_finish): Ditto. |
| 21277 |
|
| 21278 |
2001-11-26 Hrvoje Niksic <[email protected]> |
| 21279 |
|
| 21280 |
* configure.in: Check for usleep. |
| 21281 |
|
| 21282 |
2001-11-25 Hrvoje Niksic <[email protected]> |
| 21283 |
|
| 21284 |
* util/dist-wget: New file: the script used for building Wget. |
| 21285 |
|
| 21286 |
2001-11-25 Hrvoje Niksic <[email protected]> |
| 21287 |
|
| 21288 |
* src/url.c (reencode_string): Use unsigned char, not char -- |
| 21289 |
otherwise the hex digits come out wrong for 8-bit chars such as |
| 21290 |
nbsp. |
| 21291 |
(lowercase_str): New function. |
| 21292 |
(url_parse): Canonicalize u->url if needed. |
| 21293 |
(get_urls_file): Parse each URL, and return only the valid ones. |
| 21294 |
(free_urlpos): Call url_free. |
| 21295 |
(mkstruct): Add :port if the port is non-standard. |
| 21296 |
(mkstruct): Append the query string to the file name, if any. |
| 21297 |
(urlpath_length): Use strpbrk_or_eos. |
| 21298 |
(uri_merge_1): Handle the cases where LINK is an empty string, |
| 21299 |
where LINK consists only of query, and where LINK consists only of |
| 21300 |
fragment. |
| 21301 |
(convert_links): Count and report both kinds of conversion. |
| 21302 |
(downloaded_file): Use a hash table, not a list. |
| 21303 |
(downloaded_files_free): Free the hash table. |
| 21304 |
|
| 21305 |
* src/retr.c (retrieve_from_file): Ditto. |
| 21306 |
|
| 21307 |
* src/main.c (main): Call either retrieve_url or retrieve_tree |
| 21308 |
for each URL, not both. |
| 21309 |
|
| 21310 |
* src/retr.c (register_all_redirections): New function. |
| 21311 |
(register_redirections_mapper): Ditto. |
| 21312 |
(retrieve_url): Register the redirections. |
| 21313 |
(retrieve_url): Make the string "Error parsing proxy ..." |
| 21314 |
translatable. |
| 21315 |
|
| 21316 |
* src/res.c (add_path): Strip leading slash from robots.txt paths so |
| 21317 |
that the path representations are "compatible". |
| 21318 |
(free_specs): Free each individual path, too. |
| 21319 |
(res_cleanup): New function. |
| 21320 |
(cleanup_hash_table_mapper): Ditto. |
| 21321 |
|
| 21322 |
* src/recur.c (url_queue_new): New function. |
| 21323 |
(url_queue_delete): Ditto. |
| 21324 |
(url_enqueue): Ditto. |
| 21325 |
(url_dequeue): Ditto. |
| 21326 |
(retrieve_tree): New function, replacement for recursive_retrieve. |
| 21327 |
(descend_url_p): New function. |
| 21328 |
(register_redirection): New function. |
| 21329 |
|
| 21330 |
* src/progress.c (create_image): Cosmetic changes. |
| 21331 |
|
| 21332 |
* src/init.c (cleanup): Do all those complex cleanups only if |
| 21333 |
DEBUG_MALLOC is defined. |
| 21334 |
|
| 21335 |
* src/main.c: Removed --simple-check and the corresponding |
| 21336 |
simple_host_check in init.c. |
| 21337 |
|
| 21338 |
* src/html-url.c (handle_link): Parse the URL here, and propagate the |
| 21339 |
parsed URL to the caller, who would otherwise have to parse it |
| 21340 |
again. |
| 21341 |
|
| 21342 |
* src/host.c (xstrdup_lower): Moved to utils.c. |
| 21343 |
(realhost): Removed. |
| 21344 |
(same_host): Ditto. |
| 21345 |
|
| 21346 |
2001-11-25 Hrvoje Niksic <[email protected]> |
| 21347 |
|
| 21348 |
* src/url.c (convert_links): Handle CO_NULLIFY_BASE. |
| 21349 |
|
| 21350 |
* src/recur.c (retrieve_tree): Ignore download-ignorable children. |
| 21351 |
(convert_all_links): Specify CO_NULLIFY_BASE when link_base_p. |
| 21352 |
|
| 21353 |
* src/html-url.c (handle_link): Return the newly created urlpos. |
| 21354 |
(collect_tags_mapper): When dealing with BASE, store the base |
| 21355 |
reference and mark it as download-ignorable. |
| 21356 |
|
| 21357 |
2001-11-25 Hrvoje Niksic <[email protected]> |
| 21358 |
|
| 21359 |
* src/url.c (convert_links): Attempt to quote '?' as "%3F" when |
| 21360 |
linking to local files. Given up on the attempt, as it breaks |
| 21361 |
local browsing. |
| 21362 |
|
| 21363 |
2001-11-25 Hrvoje Niksic <[email protected]> |
| 21364 |
|
| 21365 |
* src/recur.c (descend_url_p): Be more conservative with blacklisting |
| 21366 |
URLs. |
| 21367 |
(convert_all_links): Print how many files have been converted, and |
| 21368 |
how long it took. |
| 21369 |
|
| 21370 |
* src/progress.c (create_image): Place the number of downloaded bytes |
| 21371 |
right after the progress bar. |
| 21372 |
|
| 21373 |
* src/utils.c (suffix): Return a pointer into the string. |
| 21374 |
|
| 21375 |
2001-11-25 Hrvoje Niksic <[email protected]> |
| 21376 |
|
| 21377 |
* src/progress.c (dot_create): Align the "[ skipping ... ]" string |
| 21378 |
with the dots. |
| 21379 |
|
| 21380 |
* src/retr.c (rate): Split into two functions: calc_rate and |
| 21381 |
retr_rate. |
| 21382 |
|
| 21383 |
* src/progress.c (create_image): Draw a dummy progress bar even when |
| 21384 |
total size is unknown. |
| 21385 |
(display_image): Place the text cursor at the end of the "image". |
| 21386 |
|
| 21387 |
2001-11-25 Hrvoje Niksic <[email protected]> |
| 21388 |
|
| 21389 |
* src/main.c (private_initialize): Removed. |
| 21390 |
(main): Don't call private_initialize. |
| 21391 |
|
| 21392 |
* src/http.c: Call lookup_host. |
| 21393 |
|
| 21394 |
* src/host.c (host_init): Removed. |
| 21395 |
(add_host_to_cache): Initialize host_name_address_map here, on |
| 21396 |
demand. |
| 21397 |
(ngethostbyname): Commented out. |
| 21398 |
|
| 21399 |
* src/connect.c (make_connection): Remove dead code; use lookup_host. |
| 21400 |
|
| 21401 |
* src/host.c (store_hostaddress): Renamed to lookup_host and reversed |
| 21402 |
the args. |
| 21403 |
Removed host_address_name_map and host_slave_master_map. |
| 21404 |
|
| 21405 |
2001-11-24 Hrvoje Niksic <[email protected]> |
| 21406 |
|
| 21407 |
* src/utils.c (path_simplify): Preserver the (non-)existence of |
| 21408 |
leading slash. Return non-zero if changes were made. |
| 21409 |
|
| 21410 |
2001-11-24 Hrvoje Niksic <[email protected]> |
| 21411 |
|
| 21412 |
* src/retr.c (retrieve_url): When the redirection URL doesn't parse, |
| 21413 |
print the correct error message rather than "UNKNOWN". |
| 21414 |
|
| 21415 |
2001-11-24 Hrvoje Niksic <[email protected]> |
| 21416 |
|
| 21417 |
* src/recur.c (recursive_retrieve): Fix typo. |
| 21418 |
|
| 21419 |
2001-11-24 Hrvoje Niksic <[email protected]> |
| 21420 |
|
| 21421 |
* src/progress.c (bar_update): Don't modify bp->total_length if it is |
| 21422 |
zero. |
| 21423 |
|
| 21424 |
2001-11-24 Hrvoje Niksic <[email protected]> |
| 21425 |
|
| 21426 |
* src/progress.c (bar_finish): If the timer didn't record any time |
| 21427 |
since the download beginning, fake 1ms. |
| 21428 |
|
| 21429 |
2001-11-23 Lemble Gregory <[email protected]> |
| 21430 |
|
| 21431 |
* src/gen_sslfunc.c (ssl_init_prng): New function; seed the SSL RNG. |
| 21432 |
|
| 21433 |
2001-11-23 Hrvoje Niksic <[email protected]> |
| 21434 |
|
| 21435 |
* src/utils.c (determine_screen_width): New function. |
| 21436 |
|
| 21437 |
* src/main.c (main): New option `--progress=TYPE'. |
| 21438 |
(main): Implement compatibility with the old option `--dot-style'. |
| 21439 |
|
| 21440 |
* src/init.c: Removed cmd_spec_dotstyle -- that logic is now in |
| 21441 |
dp_set_params. |
| 21442 |
(cmd_spec_progress): New function. |
| 21443 |
|
| 21444 |
* src/retr.c (get_contents): Use the progress_* functions instead of |
| 21445 |
the old show_progress(). |
| 21446 |
(show_progress): Removed. |
| 21447 |
(rate): Print "xxxx.xx K/s" instead of "KB/s". Ditto for MB/s, |
| 21448 |
etc. |
| 21449 |
|
| 21450 |
* src/progress.c (set_progress_implementation): New function. |
| 21451 |
(valid_progress_implementation_p): Ditto. |
| 21452 |
(progress_create): Ditto. |
| 21453 |
(progress_update): Ditto. |
| 21454 |
(progress_finish): Ditto. |
| 21455 |
(dp_create): Ditto. |
| 21456 |
(dp_update): Ditto. |
| 21457 |
(dp_finish): Ditto. |
| 21458 |
(dp_set_params): Ditto. |
| 21459 |
(print_elapsed): Ditto. |
| 21460 |
|
| 21461 |
2001-11-23 Hrvoje Niksic <[email protected]> |
| 21462 |
|
| 21463 |
* src/progress.c: Renamed dp_* functions to dot_* for greater clarity |
| 21464 |
and consistency with bar_*. |
| 21465 |
(print_download_speed): Get rid of the unneeded '@' character. |
| 21466 |
(create_image): Fix download rate geometry. |
| 21467 |
|
| 21468 |
* src/progress.c (print_elapsed): Remove spurious space. |
| 21469 |
(print_elapsed): Renamed to print_download_speed, since that's |
| 21470 |
what it does. |
| 21471 |
|
| 21472 |
2001-11-23 Hrvoje Niksic <[email protected]> |
| 21473 |
|
| 21474 |
* src/progress.c (create_image): Don't translate "%ld ". |
| 21475 |
|
| 21476 |
2001-11-23 Hrvoje Niksic <[email protected]> |
| 21477 |
|
| 21478 |
* src/progress.c (bar_update): If the downloaded amount becomes larger |
| 21479 |
than the expected amount, adjust the expected amount accordingly. |
| 21480 |
|
| 21481 |
2001-11-23 Hrvoje Niksic <[email protected]> |
| 21482 |
|
| 21483 |
* src/progress.c (bar_set_params): Allow the user to force the use of |
| 21484 |
the bar. |
| 21485 |
|
| 21486 |
2001-11-23 Hrvoje Niksic <[email protected]> |
| 21487 |
|
| 21488 |
* po/wget.pot: Rebuild. |
| 21489 |
|
| 21490 |
* po/POTFILES.in: Update with the new source files. |
| 21491 |
|
| 21492 |
2001-11-23 Hrvoje Niksic <[email protected]> |
| 21493 |
|
| 21494 |
* po/hr.po: A major overhaul. |
| 21495 |
|
| 21496 |
2001-11-23 Hrvoje Niksic <[email protected]> |
| 21497 |
|
| 21498 |
* doc/wget.texi (Download Options): Document the new `--progress' |
| 21499 |
option. |
| 21500 |
|
| 21501 |
2001-11-23 Hrvoje Niksic <[email protected]> |
| 21502 |
|
| 21503 |
* configure.in: Check for sys/ioctl.h. |
| 21504 |
|
| 21505 |
2001-11-22 Jochen Hein <[email protected]> |
| 21506 |
|
| 21507 |
* src/main.c (main): Split the copyright notice for easier |
| 21508 |
translation. |
| 21509 |
|
| 21510 |
2001-11-22 Hrvoje Niksic <[email protected]> |
| 21511 |
|
| 21512 |
* windows/Makefile.doc: Update docs generation. |
| 21513 |
|
| 21514 |
2001-11-22 Hrvoje Niksic <[email protected]> |
| 21515 |
|
| 21516 |
* src/utils.c (path_simplify): Don't remove trailing slashes. |
| 21517 |
|
| 21518 |
* src/ftp.c (ftp_get_listing): Use it. |
| 21519 |
|
| 21520 |
* src/utils.c (file_merge): New function. |
| 21521 |
|
| 21522 |
* src/url.c (opt_url): Removed. |
| 21523 |
|
| 21524 |
* src/recur.c (recursive_retrieve): Inline "opt_url" logic. |
| 21525 |
|
| 21526 |
* src/main.c (main): Use xfree(), not free(). |
| 21527 |
|
| 21528 |
* src/url.c (rewrite_url_maybe): Renamed to rewrite_shorthand_url. |
| 21529 |
|
| 21530 |
* src/ftp.c (ccon): Move `ccon' typedef here, since it's only used |
| 21531 |
internally. |
| 21532 |
|
| 21533 |
* src/config.h.in: Include a stub for HAVE_STRPBRK. |
| 21534 |
|
| 21535 |
* src/cmpt.c (strpbrk): Include a replacement for systems without |
| 21536 |
strpbrk(). |
| 21537 |
|
| 21538 |
* src/ftp.c: Use url_set_dir and url_set_file when modifying the URL. |
| 21539 |
|
| 21540 |
* src/url.c (url_set_dir): New function. |
| 21541 |
(url_set_file): Ditto. |
| 21542 |
|
| 21543 |
* src/ftp-basic.c (ftp_process_type): Process FTP type here; the URL |
| 21544 |
parser makes the URL "params" available, so we can do that in this |
| 21545 |
function. |
| 21546 |
|
| 21547 |
* src/retr.c: Ditto. |
| 21548 |
|
| 21549 |
* src/ftp.c: Ditto; pass the local file information in `ccon'. |
| 21550 |
|
| 21551 |
* src/http.c: Get rid of the ugly kludge that had URL being replaced |
| 21552 |
with the proxy URL when proxy retrieval was requested. Use a |
| 21553 |
separate parameter to http_loop and gethttp for the proxy URL. |
| 21554 |
|
| 21555 |
* src/http.c: Changed to reflect the fact that local file, proxy, and |
| 21556 |
referer information are no longer stored in struct url. The local |
| 21557 |
file information is passed in `struct hstat' now. |
| 21558 |
|
| 21559 |
* src/url.c: Reworked URL parsing to be more regular. Reencode the |
| 21560 |
URL using reencode_string. |
| 21561 |
Removed non-URL-related information from struct url. This |
| 21562 |
includes fields `proxy', `local', and `referer'. |
| 21563 |
|
| 21564 |
2001-11-22 Hrvoje Niksic <[email protected]> |
| 21565 |
|
| 21566 |
* src/retr.c (show_progress): Use it. |
| 21567 |
|
| 21568 |
* src/log.c (log_set_flush): New function. |
| 21569 |
|
| 21570 |
2001-11-22 Hrvoje Niksic <[email protected]> |
| 21571 |
|
| 21572 |
* doc/wget.texi (Proxies): Fix typo. |
| 21573 |
(Proxies): Sync the text with the example. |
| 21574 |
(Wgetrc Commands): There is no -f option. It's --follow-ftp. |
| 21575 |
Reported by Wojtek Kotwica. |
| 21576 |
|
| 21577 |
2001-11-22 Hrvoje Niksic <[email protected]> |
| 21578 |
|
| 21579 |
* configure.in: Check for strpbrk(). |
| 21580 |
|
| 21581 |
2001-11-22 Herold Heiko <[email protected]> |
| 21582 |
|
| 21583 |
* windows/Readme |
| 21584 |
* windows/Makefile.doc |
| 21585 |
Windows documentation update. |
| 21586 |
* windows/Makefile.src |
| 21587 |
Cleanup config.h |
| 21588 |
|
| 21589 |
2001-11-20 Hrvoje Niksic <[email protected]> |
| 21590 |
|
| 21591 |
* src/url.c (parseurl): Don't depend on the now-obsolete TYPE. |
| 21592 |
|
| 21593 |
2001-11-19 Hrvoje Niksic <[email protected]> |
| 21594 |
|
| 21595 |
* src/url.c: Clean up handling of URL schemes. |
| 21596 |
|
| 21597 |
2001-11-19 Hrvoje Niksic <[email protected]> |
| 21598 |
|
| 21599 |
* src/url.c (getproxy): Handle URL shorthands. |
| 21600 |
|
| 21601 |
2001-11-19 Hrvoje Niksic <[email protected]> |
| 21602 |
|
| 21603 |
* src/main.c: Remove --wait / --waitretry backwards compatibility |
| 21604 |
code. |
| 21605 |
|
| 21606 |
2001-11-19 Hrvoje Niksic <[email protected]> |
| 21607 |
|
| 21608 |
* src/main.c (main): Use it. |
| 21609 |
|
| 21610 |
* src/url.c (rewrite_url_maybe): New function. |
| 21611 |
|
| 21612 |
2001-11-18 Hrvoje Niksic <[email protected]> |
| 21613 |
|
| 21614 |
* src/version.c: Wget 1.7.1 is released. |
| 21615 |
|
| 21616 |
2001-11-18 Hrvoje Niksic <[email protected]> |
| 21617 |
|
| 21618 |
* src/res.c (res_register_specs): Initialize OLD and HP_OLD to appease |
| 21619 |
the compiler. |
| 21620 |
|
| 21621 |
2001-11-18 Hrvoje Niksic <[email protected]> |
| 21622 |
|
| 21623 |
* src/md5.h: Renamed to gnu-md5.h. |
| 21624 |
|
| 21625 |
* src/md5.c: Renamed to gnu-md5.c. |
| 21626 |
|
| 21627 |
* src/http.c: Ditto. |
| 21628 |
|
| 21629 |
* src/ftp-opie.c: Use the new macros. |
| 21630 |
|
| 21631 |
* src/sysdep.h: Define md5-related macros. |
| 21632 |
|
| 21633 |
* src/config.h.in: Define HAVE_SOLARIS_MD5 or HAVE_BUILTIN_MD5 |
| 21634 |
depending on which md5 implementation is used. |
| 21635 |
|
| 21636 |
2001-11-18 Hrvoje Niksic <[email protected]> |
| 21637 |
|
| 21638 |
* src/http.c (gethttp): Print the whole response line when printing |
| 21639 |
headers is requested. |
| 21640 |
|
| 21641 |
2001-11-18 Hrvoje Niksic <[email protected]> |
| 21642 |
|
| 21643 |
* src/Makefile.in: Conditionally compile getopt.o. |
| 21644 |
|
| 21645 |
2001-11-18 Hrvoje Niksic <[email protected]> |
| 21646 |
|
| 21647 |
* po/: Installed ja.po, et.po, he.po, fr.po, da.po, uk.po, es.po, |
| 21648 |
sl.po, nl.po from the Translation Project. |
| 21649 |
|
| 21650 |
2001-11-18 Hrvoje Niksic <[email protected]> |
| 21651 |
|
| 21652 |
* configure.in: Check for getopt_long in libc. |
| 21653 |
|
| 21654 |
2001-11-18 Hrvoje Niksic <[email protected]> |
| 21655 |
|
| 21656 |
* configure.in: Check for Solaris libmd5. |
| 21657 |
|
| 21658 |
2001-11-17 Hrvoje Niksic <[email protected]> |
| 21659 |
|
| 21660 |
* doc/Makefile.in (install.info): If info files from the build |
| 21661 |
directory are not available, use the ones from $(srcdir). |
| 21662 |
|
| 21663 |
2001-11-16 Peter Farmer <[email protected]> |
| 21664 |
|
| 21665 |
* doc/Makefile.in: Use $? instead of $<. Use TEXI2POD more |
| 21666 |
consistently. |
| 21667 |
|
| 21668 |
2001-11-16 Hrvoje Niksic <[email protected]> |
| 21669 |
|
| 21670 |
* src/html-parse.c (map_html_tags): Support XML-style empty tags. |
| 21671 |
|
| 21672 |
2001-11-16 Hrvoje Niksic <[email protected]> |
| 21673 |
|
| 21674 |
* src/html-parse.c (advance_declaration): Use 0x22 instead of '"' or |
| 21675 |
'\"'. Different compilers' assert macros are broken in different |
| 21676 |
ways. |
| 21677 |
|
| 21678 |
2001-11-16 Hrvoje Niksic <[email protected]> |
| 21679 |
|
| 21680 |
* src/headers.c (header_extract_number): Ignore trailing whitespace. |
| 21681 |
|
| 21682 |
2001-11-16 Chris Seawood <[email protected]> |
| 21683 |
|
| 21684 |
* src/init.c: Ditto. |
| 21685 |
|
| 21686 |
* src/host.c: Ditto. |
| 21687 |
|
| 21688 |
* src/connect.c: Ditto. |
| 21689 |
|
| 21690 |
* src/sysdep.h: Support compilation under BEOS. |
| 21691 |
|
| 21692 |
2001-11-04 Alan Eldridge <[email protected]> |
| 21693 |
|
| 21694 |
* src/config.h.in: added HAVE_RANDOM. |
| 21695 |
|
| 21696 |
* src/options.h: added random_wait to struct options. |
| 21697 |
|
| 21698 |
* src/main.c (print_help [HAVE_RANDOM], main): added arg parsing, help |
| 21699 |
for --random-wait. |
| 21700 |
|
| 21701 |
* src/retr.c (sleep_between_retrievals) [HAVE_RANDOM]: added |
| 21702 |
implementation of random wait times. |
| 21703 |
|
| 21704 |
* src/init.c (commands): added "randomwait" keyword. |
| 21705 |
|
| 21706 |
2001-11-04 Alan Eldridge <[email protected]> |
| 21707 |
|
| 21708 |
* doc/wget.texi: Document --random-wait, randomwait=on/off. |
| 21709 |
|
| 21710 |
2001-10-31 Daniel BODEA <[email protected]> |
| 21711 |
|
| 21712 |
* src/netrc.c (search_netrc): When slack_default is 0, still look for |
| 21713 |
an account with matching password, just not the "default account". |
| 21714 |
HTTP Authorization using .netrc should now work as expected. |
| 21715 |
|
| 21716 |
2001-09-29 Christian Fraenkel <[email protected]> |
| 21717 |
|
| 21718 |
* src/http.c (gethttp): print debug output for errors occuring during |
| 21719 |
the ssl handshake. |
| 21720 |
|
| 21721 |
2001-08-24 Ian Abbott <[email protected]> |
| 21722 |
|
| 21723 |
* src/html-url.c (collect_tags_mapper): Fix bug converting links |
| 21724 |
with -k option for tags with multiple link attributes by |
| 21725 |
handling links in the order they appear. |
| 21726 |
|
| 21727 |
2001-08-21 Dave Turner <[email protected]> |
| 21728 |
|
| 21729 |
* src/ftp-basic.c (ftp_size): New function to send non-standard SIZE |
| 21730 |
command to server to request file size. |
| 21731 |
* src/ftp.h (ftp_size): Export it. |
| 21732 |
* src/ftp.c (getftp): Use new ftp_size function if restoring |
| 21733 |
transfer of a file with unknown size. |
| 21734 |
|
| 21735 |
2001-08-15 Ian Abbott <[email protected]> |
| 21736 |
|
| 21737 |
* src/ftp.c (ftp_loop_internal): Avoid a potential buffer overflow in |
| 21738 |
the call to the 'rate' function by moving it past the error |
| 21739 |
checking for the 'getftp' function return value. |
| 21740 |
|
| 21741 |
2001-06-26 Hrvoje Niksic <[email protected]> |
| 21742 |
|
| 21743 |
* src/wget.h (DO_REALLOC_FROM_ALLOCA): Set SIZEVAR after the memcpy() |
| 21744 |
call because it needs the old value. |
| 21745 |
|
| 21746 |
2001-06-26 Hrvoje Niksic <[email protected]> |
| 21747 |
|
| 21748 |
* src/wget.h (DO_REALLOC_FROM_ALLOCA): Check for do_realloc_newsize in |
| 21749 |
loop condition because we're no longer setting SIZEVAR here. |
| 21750 |
|
| 21751 |
2001-06-18 Hrvoje Niksic <[email protected]> |
| 21752 |
|
| 21753 |
* src/url.c (url_filename): Make sure that slashes that sneak in to |
| 21754 |
u->file via query string get protected. |
| 21755 |
(file_name_protect_query_string): New function. |
| 21756 |
|
| 21757 |
2001-06-18 Hrvoje Niksic <[email protected]> |
| 21758 |
|
| 21759 |
* src/cookies.c (ATTR_NAME_CHAR): Allow almost any character to be in |
| 21760 |
an attribute name. |
| 21761 |
|
| 21762 |
2001-06-16 Hrvoje Niksic <[email protected]> |
| 21763 |
|
| 21764 |
* doc/wget.texi: Updated version to 1.7.1. |
| 21765 |
|
| 21766 |
2001-06-16 Hrvoje Niksic <[email protected]> |
| 21767 |
|
| 21768 |
* MACHINES: Added mips-sgi-irix6.5, as reported by Edward |
| 21769 |
J. Sabol. |
| 21770 |
|
| 21771 |
2001-06-15 Hrvoje Niksic <[email protected]> |
| 21772 |
|
| 21773 |
* po/da.po: New version from TP. |
| 21774 |
|
| 21775 |
2001-06-15 Hrvoje Niksic <[email protected]> |
| 21776 |
|
| 21777 |
* doc/Makefile.in (install.wgetrc): Use $(DESTDIR) when testing |
| 21778 |
whether $(WGETRC) exists. |
| 21779 |
|
| 21780 |
2001-06-15 Hrvoje Niksic <[email protected]> |
| 21781 |
|
| 21782 |
* doc/Makefile.in (install.wgetrc): Take $(DESTDIR) into account when |
| 21783 |
running mkinstalldirs. |
| 21784 |
|
| 21785 |
2001-06-15 Hrvoje Niksic <[email protected]> |
| 21786 |
|
| 21787 |
* config.sub: New version from libtool 1.4. |
| 21788 |
|
| 21789 |
* config.guess: New version from libtool 1.4. |
| 21790 |
|
| 21791 |
* ltmain.sh: New version from libtool 1.4. |
| 21792 |
|
| 21793 |
* aclocal.m4: Imported `libtool.m4' from libtool 1.4. |
| 21794 |
|
| 21795 |
* ltconfig: Removed. |
| 21796 |
|
| 21797 |
* configure.in: First check the compiler, then invoke libtool. |
| 21798 |
|
| 21799 |
2001-06-15 Adam J. Richter <[email protected]> |
| 21800 |
|
| 21801 |
* doc/Makefile.in (install.wgetrc): Make `make install' |
| 21802 |
non-interactive in all cases. |
| 21803 |
|
| 21804 |
2001-06-14 Maciej W. Rozycki <[email protected]> |
| 21805 |
|
| 21806 |
* configure.in: Use `libtool' to test linking of external |
| 21807 |
libraries. |
| 21808 |
|
| 21809 |
2001-06-14 Hrvoje Niksic <[email protected]> |
| 21810 |
|
| 21811 |
* src/sysdep.h (MAP_FAILED): Provide MAP_FAILED for systems that don't |
| 21812 |
define it. |
| 21813 |
|
| 21814 |
2001-06-14 Hrvoje Niksic <[email protected]> |
| 21815 |
|
| 21816 |
* src/recur.c (recursive_retrieve): Also check undesirable_urls with |
| 21817 |
canonicalized URL. |
| 21818 |
|
| 21819 |
2001-06-14 Hrvoje Niksic <[email protected]> |
| 21820 |
|
| 21821 |
* src/http.c (gethttp): Search `.netrc' with real host, not the proxy |
| 21822 |
one. |
| 21823 |
|
| 21824 |
2001-06-14 Hrvoje Niksic <[email protected]> |
| 21825 |
|
| 21826 |
* po/: Install new files from the TP: sv.po, cs.po, et.po, tr.po, |
| 21827 |
es.po, de.po, gl.po, sk.po, ru.po, fr.po. |
| 21828 |
|
| 21829 |
2001-06-14 Hrvoje Niksic <[email protected]> |
| 21830 |
|
| 21831 |
* configure.in: Check for both gethostbyname and inet_ntoa before |
| 21832 |
concluding that -lnsl is not needed. |
| 21833 |
|
| 21834 |
2001-06-09 Jan Prikryl <[email protected]> |
| 21835 |
|
| 21836 |
* src/ftp.h: Provide correct prototype for ftp_parse_ls(). |
| 21837 |
|
| 21838 |
2001-06-08 Edward J. Sabol <[email protected]> |
| 21839 |
|
| 21840 |
* src/url.c (url_equal): Fix a memory leak when parseurl returns an |
| 21841 |
error on the second URL. Also, since url_equal is not used at the |
| 21842 |
moment, do not compile it. |
| 21843 |
|
| 21844 |
* src/url.h: Ditto for the prototype of url_equal. |
| 21845 |
|
| 21846 |
2001-06-05 Jan Prikryl <[email protected]> |
| 21847 |
|
| 21848 |
* po/cs.po: Updated to match the 1.7 POT. |
| 21849 |
|
| 21850 |
2001-06-05 Jan Prikryl <[email protected]> |
| 21851 |
|
| 21852 |
* doc/Makefile.in (wget.info): Added -I$(srcdir) to support compilation |
| 21853 |
outside the source tree. |
| 21854 |
(install.man): Replaced $(srcdir)$(MAN) with $(MAN). The former |
| 21855 |
did not work when compiling outside the source tree. |
| 21856 |
|
| 21857 |
2001-06-04 Hrvoje Niksic <[email protected]> |
| 21858 |
|
| 21859 |
* src/version.c: Wget 1.7 is released. |
| 21860 |
|
| 21861 |
2001-06-04 Hrvoje Niksic <[email protected]> |
| 21862 |
|
| 21863 |
* po/: New versions of de.po and gl.po from the TP. |
| 21864 |
|
| 21865 |
2001-06-03 Karl Eichwalder <[email protected]> |
| 21866 |
|
| 21867 |
* src/ftp-ls.c (ftp_parse_ls): Fix typo. |
| 21868 |
|
| 21869 |
2001-06-03 Hrvoje Niksic <[email protected]> |
| 21870 |
|
| 21871 |
* po/wget.pot: Updated. |
| 21872 |
|
| 21873 |
2001-06-03 Hrvoje Niksic <[email protected]> |
| 21874 |
|
| 21875 |
* po/hr.po: Updated to match the new POT. |
| 21876 |
|
| 21877 |
2001-06-03 Hrvoje Niksic <[email protected]> |
| 21878 |
|
| 21879 |
* po/es.po: Use the version from TP. |
| 21880 |
|
| 21881 |
2001-06-02 R.I.P. Deaddog <[email protected]> |
| 21882 |
|
| 21883 |
* po/zh_TW.po: Updated for 1.7. |
| 21884 |
|
| 21885 |
2001-06-02 Hrvoje Niksic <[email protected]> |
| 21886 |
|
| 21887 |
* po/pl.po: Use iso-8859-1 as charset. |
| 21888 |
|
| 21889 |
* po/hr.po: Update. |
| 21890 |
|
| 21891 |
2001-06-02 Hrvoje Niksic <[email protected]> |
| 21892 |
|
| 21893 |
* po/: Updated ru.po, et.po, and sv.po. Added tr.po. |
| 21894 |
|
| 21895 |
2001-05-31 Hrvoje Niksic <[email protected]> |
| 21896 |
|
| 21897 |
* doc/wget.texi (Mailing List): Fix the mailing list address. |
| 21898 |
|
| 21899 |
2001-05-28 Maciej W. Rozycki <[email protected]> |
| 21900 |
|
| 21901 |
* configure.in: Use $host_os instead of non-existent "$opsys" when |
| 21902 |
deciding based on host type. |
| 21903 |
|
| 21904 |
* configure.in: Print "cross" when cross-compiling. |
| 21905 |
|
| 21906 |
2001-05-27 Hrvoje Niksic <[email protected]> |
| 21907 |
|
| 21908 |
* src/all: Update copyright information. |
| 21909 |
|
| 21910 |
2001-05-27 Hrvoje Niksic <[email protected]> |
| 21911 |
|
| 21912 |
* doc/wget.texi (Copying): Clarify. Link to |
| 21913 |
"free-software-for-freedom.html". |
| 21914 |
|
| 21915 |
2001-05-26 Hrvoje Niksic <[email protected]> |
| 21916 |
|
| 21917 |
* src/version.c: Wget 1.7-pre1 is released. |
| 21918 |
|
| 21919 |
2001-05-26 Hrvoje Niksic <[email protected]> |
| 21920 |
|
| 21921 |
* src/version.c: Updated version to 1.7-pre1. |
| 21922 |
|
| 21923 |
2001-05-26 Hrvoje Niksic <[email protected]> |
| 21924 |
|
| 21925 |
* src/http.c (gethttp): Indicate that the continued download failed |
| 21926 |
for *this* file. |
| 21927 |
|
| 21928 |
2001-05-26 Hrvoje Niksic <[email protected]> |
| 21929 |
|
| 21930 |
* po/hr.po: Updated. |
| 21931 |
|
| 21932 |
* po/wget.pot: Regenerated from sources. |
| 21933 |
|
| 21934 |
* README: Updated copyright statement. |
| 21935 |
|
| 21936 |
* INSTALL: Document the new OpenSSL autodetector. |
| 21937 |
|
| 21938 |
2001-05-26 Hrvoje Niksic <[email protected]> |
| 21939 |
|
| 21940 |
* doc/wget.texi: Updated version to 1.7. |
| 21941 |
|
| 21942 |
2001-05-26 Hrvoje Niksic <[email protected]> |
| 21943 |
|
| 21944 |
* doc/wget.texi: Updated version to 1.7-pre1. |
| 21945 |
|
| 21946 |
2001-05-26 Hrvoje Niksic <[email protected]> |
| 21947 |
|
| 21948 |
* doc/wget.texi (Contributors): Updated list of contributors. |
| 21949 |
|
| 21950 |
2001-05-26 Hrvoje Niksic <[email protected]> |
| 21951 |
|
| 21952 |
* configure.in: Provide a default for AC_TRY_RUN when |
| 21953 |
cross-compiling. Effectively, assume that when cross-compiling, |
| 21954 |
working linkage implies working executable. |
| 21955 |
|
| 21956 |
2001-05-25 Hrvoje Niksic <[email protected]> |
| 21957 |
|
| 21958 |
* configure.in: Rewrote OpenSSL library detection. Now the code |
| 21959 |
loops over system locations where libssl/libcrypto might be |
| 21960 |
located. Aside from linking, it actually tries to run the |
| 21961 |
executable before concluding that the linking "worked". |
| 21962 |
|
| 21963 |
2001-05-16 Csaba Raduly <[email protected]> |
| 21964 |
|
| 21965 |
* windows/Makefile.watcom: Make linker accept space-separated list |
| 21966 |
of object files. |
| 21967 |
|
| 21968 |
2001-05-14 Hrvoje Niksic <[email protected]> |
| 21969 |
|
| 21970 |
* src/http.c (gethttp): Use real URL data for cookies, not the proxy |
| 21971 |
stuff. |
| 21972 |
|
| 21973 |
2001-05-14 Hrvoje Niksic <[email protected]> |
| 21974 |
|
| 21975 |
* src/gen_sslfunc.c: Don't include <sys/time.h> directly. |
| 21976 |
|
| 21977 |
2001-05-14 Herold Heiko <[email protected]> |
| 21978 |
|
| 21979 |
* windows/Makefile.src: Update for SSL. |
| 21980 |
|
| 21981 |
2001-05-14 Herold Heiko <[email protected]> |
| 21982 |
|
| 21983 |
* windows/Makefile.src: |
| 21984 |
* windows/Makefile.src.bor: |
| 21985 |
* windows/Makefile.watcom: |
| 21986 |
* windows/config.h.bor: |
| 21987 |
* windows/config.h.ms: |
| 21988 |
* windows/wget.dep: |
| 21989 |
Windows update. |
| 21990 |
|
| 21991 |
2001-05-14 Csaba Raduly <[email protected]> |
| 21992 |
|
| 21993 |
* windows/Makefile.watcom: Updated. |
| 21994 |
|
| 21995 |
2001-05-14 Csaba Raduly <[email protected]> |
| 21996 |
|
| 21997 |
* windows/Makefile.watcom: Rewritten. |
| 21998 |
|
| 21999 |
2001-05-13 Hrvoje Niksic <[email protected]> |
| 22000 |
|
| 22001 |
* src/url.c: Get rid of `protostrings'. |
| 22002 |
(skip_proto): Don't use protostrings. |
| 22003 |
(has_proto): Ditto. |
| 22004 |
|
| 22005 |
2001-05-12 Hrvoje Niksic <[email protected]> |
| 22006 |
|
| 22007 |
* src/res.c: New file. Implement all RES-related code here. |
| 22008 |
|
| 22009 |
2001-05-12 Hrvoje Niksic <[email protected]> |
| 22010 |
|
| 22011 |
* src/main.c (print_help): Document `--no-http-keep-alive'. |
| 22012 |
|
| 22013 |
* src/utils.c (numdigit): Handle negative numbers *correctly*. |
| 22014 |
|
| 22015 |
* src/hash.c (make_nocase_string_hash_table): Use term "nocase" rather |
| 22016 |
than the confusing "unsigned". |
| 22017 |
|
| 22018 |
* src/utils.c (string_set_contains): Renamed from string_set_exists. |
| 22019 |
|
| 22020 |
* src/hash.c (hash_table_contains): Renamed from hash_table_exists. |
| 22021 |
|
| 22022 |
* src/cookies.c: Move case-insensitive hash tables to hash.c. |
| 22023 |
|
| 22024 |
2001-05-09 Hrvoje Niksic <[email protected]> |
| 22025 |
|
| 22026 |
* src/http.c (gethttp): Before concluding that the file is already |
| 22027 |
fully retrieved, make sure that the file existed and `Range' was |
| 22028 |
actually requested. |
| 22029 |
|
| 22030 |
2001-05-09 Hrvoje Niksic <[email protected]> |
| 22031 |
|
| 22032 |
* src/cookies.c (eliminate_dups): New function. |
| 22033 |
(build_cookies_request): Use it. |
| 22034 |
(build_cookies_request): Set chain_store_size after reallocating |
| 22035 |
all_chains. |
| 22036 |
(check_domain_match): Annotated for easier future debugging. |
| 22037 |
(store_cookie): In the debug message, print whether the cookie is |
| 22038 |
permanent. |
| 22039 |
|
| 22040 |
2001-05-08 Hrvoje Niksic <[email protected]> |
| 22041 |
|
| 22042 |
* src/http.c (http_loop): Reset no_truncate before deciding whether to |
| 22043 |
set it. |
| 22044 |
(gethttp): Further clarify "-c conflicts with existing file" error |
| 22045 |
message, based on input from Herold Heiko. |
| 22046 |
|
| 22047 |
2001-05-07 Hrvoje Niksic <[email protected]> |
| 22048 |
|
| 22049 |
* src/http.c (http_loop): If restval is set, set no_truncate to 1 |
| 22050 |
unconditionally. |
| 22051 |
|
| 22052 |
2001-05-02 Jan Prikryl <[email protected]> |
| 22053 |
|
| 22054 |
* src/ftp-ls.c (ftp_parse_winnt_ls): Assure months are being correctly |
| 22055 |
converted. Pointed out by <[email protected]>. |
| 22056 |
(ftp_parse_vms_ls): Ditto. |
| 22057 |
|
| 22058 |
2001-04-30 Hrvoje Niksic <[email protected]> |
| 22059 |
|
| 22060 |
* src/init.c (cmd_address): Zero SIN before using it; apparently |
| 22061 |
needed on *BSD. |
| 22062 |
|
| 22063 |
2001-04-29 Hrvoje Niksic <[email protected]> |
| 22064 |
|
| 22065 |
* src/main.c (main): Make `--cookies' respect its argument. |
| 22066 |
|
| 22067 |
2001-04-29 Hrvoje Niksic <[email protected]> |
| 22068 |
|
| 22069 |
* src/ftp.c (ftp_loop_internal): Don't set NO_TRUNCATE if the file is |
| 22070 |
empty. |
| 22071 |
|
| 22072 |
2001-04-28 Hrvoje Niksic <[email protected]> |
| 22073 |
|
| 22074 |
* src/main.c (main): Removed undocumented option `--email-address'. |
| 22075 |
|
| 22076 |
* src/netrc.c: Use the latest read_whole_line. |
| 22077 |
|
| 22078 |
* src/init.c (defaults): Set opt.ftp_pass to "-wget@". |
| 22079 |
|
| 22080 |
* src/mswindows.c (pwd_cuserid): Ditto. |
| 22081 |
|
| 22082 |
* src/utils.c (pwd_cuserid): Removed. |
| 22083 |
|
| 22084 |
* src/host.c (ftp_getaddress): Removed. |
| 22085 |
|
| 22086 |
2001-04-28 Hrvoje Niksic <[email protected]> |
| 22087 |
|
| 22088 |
* src/http.c (gethttp): Return RETRUNNEEDED when the retrieval is |
| 22089 |
unneeded because the file is already there and fully downloaded, |
| 22090 |
and -c is specified. |
| 22091 |
(http_loop): Handle RETRUNNEEDED. |
| 22092 |
|
| 22093 |
* src/wget.h (uerr_t): New value RETRUNNEEDED. |
| 22094 |
|
| 22095 |
* src/http.c (http_loop): Set no_truncate for files that both exist |
| 22096 |
and are non-empty. |
| 22097 |
(gethttp): Consider the download finished when restval >= contlen, |
| 22098 |
not only when restval==contlen. |
| 22099 |
(gethttp): Handle redirection before giving up due to -c. |
| 22100 |
(gethttp): Clarify error message which explains that -c will not |
| 22101 |
truncate the file. |
| 22102 |
(gethttp): When returning CONTNOTSUPPORTED, don't forget to free |
| 22103 |
the stuff that needs freeing and release the socket. |
| 22104 |
|
| 22105 |
2001-04-28 Hrvoje Niksic <[email protected]> |
| 22106 |
|
| 22107 |
* doc/wget.texi (Wgetrc Commands): Update docs for `continue'. |
| 22108 |
|
| 22109 |
2001-04-28 Hrvoje Niksic <[email protected]> |
| 22110 |
|
| 22111 |
(http_loop): Allocate space for filename_plus_orig_suffix with |
| 22112 |
alloca; this is more efficient and removes the need to free it |
| 22113 |
before each and every return. |
| 22114 |
|
| 22115 |
2001-04-28 Herold Heiko <[email protected]> |
| 22116 |
|
| 22117 |
* windows/wget.dep: Update. |
| 22118 |
|
| 22119 |
* windows/Makefile.src: Update. |
| 22120 |
|
| 22121 |
* windows/config.h.ms: Define inline to __inline. |
| 22122 |
Define ftruncate to chsize. |
| 22123 |
|
| 22124 |
2001-04-28 Csaba Raduly <[email protected]> |
| 22125 |
|
| 22126 |
* windows/Makefile.watcom: Update. |
| 22127 |
|
| 22128 |
2001-04-27 Hrvoje Niksic <[email protected]> |
| 22129 |
|
| 22130 |
* src/safe-ctype.h: Instead of throwing #error when isalpha is |
| 22131 |
defined, redefine it to something that will throw a compile-time |
| 22132 |
error if actually *used*. Do the same for the rest of the |
| 22133 |
standard C macros. |
| 22134 |
|
| 22135 |
2001-04-27 Hrvoje Niksic <[email protected]> |
| 22136 |
|
| 22137 |
* src/main.c (print_help): Wget booleans accept "off", not "no". |
| 22138 |
|
| 22139 |
2001-04-27 Hrvoje Niksic <[email protected]> |
| 22140 |
|
| 22141 |
* src/http.c (mktime_from_utc): Improve documentation. |
| 22142 |
(http_atotm): Put format strings into a separate array. |
| 22143 |
|
| 22144 |
2001-04-27 Hrvoje Niksic <[email protected]> |
| 22145 |
|
| 22146 |
* src/http.c (http_loop): If allow_cache is zero, always disable |
| 22147 |
caching, not only when retrieving through proxy. |
| 22148 |
|
| 22149 |
* src/init.c: Ditto. |
| 22150 |
|
| 22151 |
* src/options.h (struct options): Rename proxy_cache to allow_cache. |
| 22152 |
|
| 22153 |
2001-04-27 Hrvoje Niksic <[email protected]> |
| 22154 |
|
| 22155 |
* po/ja.po: New update by Hiroshi Takekawa. |
| 22156 |
|
| 22157 |
2001-04-27 Hrvoje Niksic <[email protected]> |
| 22158 |
|
| 22159 |
* po/hr.po: Updated. |
| 22160 |
|
| 22161 |
2001-04-27 Hrvoje Niksic <[email protected]> |
| 22162 |
|
| 22163 |
* doc/wget.texi (HTTP Options): Document cookie options. |
| 22164 |
|
| 22165 |
2001-04-26 Hrvoje Niksic <[email protected]> |
| 22166 |
|
| 22167 |
* src/url.c (getproxy): Ignore empty proxy vars. |
| 22168 |
|
| 22169 |
2001-04-25 Roger L. Beeman <[email protected]> |
| 22170 |
|
| 22171 |
* src/http.c (http_atotm): Initialize t.tm_isdst to 0. |
| 22172 |
(mktime_from_utc): Prevent mktime() from having discontinuities at |
| 22173 |
DST transition points. |
| 22174 |
|
| 22175 |
2001-04-25 Hrvoje Niksic <[email protected]> |
| 22176 |
|
| 22177 |
* src/utils.c: Document timer functions. |
| 22178 |
|
| 22179 |
* src/retr.c (rate): Use it. |
| 22180 |
(rate): Print in GB/s if transfer rate exceeds 1 GB/s. |
| 22181 |
|
| 22182 |
* src/utils.c (wtimer_granularity): New function. |
| 22183 |
|
| 22184 |
2001-04-25 Hrvoje Niksic <[email protected]> |
| 22185 |
|
| 22186 |
* src/utils.c: Define each DIGITS_* in one line. |
| 22187 |
|
| 22188 |
2001-04-25 Hrvoje Niksic <[email protected]> |
| 22189 |
|
| 22190 |
* src/url.c (UNSAFE_CHAR): Reimplement using a static table. |
| 22191 |
(url_init): Removed. |
| 22192 |
(init_unsafe_char_table): Removed. |
| 22193 |
|
| 22194 |
2001-04-25 Hrvoje Niksic <[email protected]> |
| 22195 |
|
| 22196 |
* src/snprintf.c (dopr): Replace ISDIGIT with '0' <= ch && ch <= '9'. |
| 22197 |
|
| 22198 |
2001-04-25 Hrvoje Niksic <[email protected]> |
| 22199 |
|
| 22200 |
* src/http.c (http_loop): Would load cookies every time. |
| 22201 |
|
| 22202 |
* src/cookies.c (load_cookies): Handle cookies whose values contain |
| 22203 |
embedded spaces. |
| 22204 |
|
| 22205 |
2001-04-25 Hrvoje Niksic <[email protected]> |
| 22206 |
|
| 22207 |
* src/html-url.c (get_urls_html): Fix documentation. |
| 22208 |
|
| 22209 |
2001-04-25 Hrvoje Niksic <[email protected]> |
| 22210 |
|
| 22211 |
* po/POTFILES.in: Add src/cookies.c. |
| 22212 |
|
| 22213 |
2001-04-24 Hrvoje Niksic <[email protected]> |
| 22214 |
|
| 22215 |
* src/utils.c (numdigit): Handle negative numbers. |
| 22216 |
|
| 22217 |
2001-04-24 Hrvoje Niksic <[email protected]> |
| 22218 |
|
| 22219 |
* src/utils.c (long_to_string): New, faster version. Favors smaller |
| 22220 |
numbers; much of the calculation is now done at compile-time. |
| 22221 |
|
| 22222 |
2001-04-24 Hrvoje Niksic <[email protected]> |
| 22223 |
|
| 22224 |
* src/retr.c (show_progress): Ditto. |
| 22225 |
|
| 22226 |
* src/ftp.c (getftp): Ditto. |
| 22227 |
|
| 22228 |
* src/http.c (gethttp): Use new timer functions. |
| 22229 |
|
| 22230 |
* src/utils.c (wtimer_allocate): New function. |
| 22231 |
(wtimer_new): Ditto. |
| 22232 |
(wtimer_delete): Ditto. |
| 22233 |
(wtimer_reset): Ditto. |
| 22234 |
(wtimer_elapsed): Ditto. |
| 22235 |
|
| 22236 |
2001-04-23 Hrvoje Niksic <[email protected]> |
| 22237 |
|
| 22238 |
* src/retr.c (show_progress): Print the download rate even when the |
| 22239 |
percentages are not available. |
| 22240 |
|
| 22241 |
2001-04-21 Hrvoje Niksic <[email protected]> |
| 22242 |
|
| 22243 |
* src/ftp.c (getftp): Adjust expected_bytes if the length is |
| 22244 |
authoritative. |
| 22245 |
|
| 22246 |
2001-04-15 Ian Abbott <[email protected]> |
| 22247 |
|
| 22248 |
windows/wget.dep: The target `connect$o' (connect.obj) now depends on |
| 22249 |
`utils.h'. |
| 22250 |
|
| 22251 |
2001-04-15 Hrvoje Niksic <[email protected]> |
| 22252 |
|
| 22253 |
* po/da.po: Ditto. |
| 22254 |
|
| 22255 |
* po/de.po: Ditto. |
| 22256 |
|
| 22257 |
* po/el.po: Ditto. |
| 22258 |
|
| 22259 |
* po/es.po: Ditto. |
| 22260 |
|
| 22261 |
* po/et.po: Ditto. |
| 22262 |
|
| 22263 |
* po/fr.po: Ditto. |
| 22264 |
|
| 22265 |
* po/gl.po: Ditto. |
| 22266 |
|
| 22267 |
* po/he.po: Ditto. |
| 22268 |
|
| 22269 |
* po/ja.po: Ditto. |
| 22270 |
|
| 22271 |
* po/pl.po: Ditto. |
| 22272 |
|
| 22273 |
* po/sk.po: Ditto. |
| 22274 |
|
| 22275 |
* po/sl.po: Ditto. |
| 22276 |
|
| 22277 |
* po/sv.po: Ditto. |
| 22278 |
|
| 22279 |
* po/tr.po: Ditto. |
| 22280 |
|
| 22281 |
* po/zh_TW.po: Update from TP. |
| 22282 |
|
| 22283 |
* po/ca.po: Ditto. |
| 22284 |
|
| 22285 |
* po/bg.po: New file from TP. |
| 22286 |
|
| 22287 |
2001-04-14 Hrvoje Niksic <[email protected]> |
| 22288 |
|
| 22289 |
* src/url.c: Don't declare `construct'. |
| 22290 |
|
| 22291 |
* src/hash.c (grow_hash_table): Speed up rehashing; inline storing of |
| 22292 |
mappings to new locations. |
| 22293 |
(hash_table_new): Make resize_threshold a field in the hash table, |
| 22294 |
so we don't have to recalculate it in each hash_table_put. |
| 22295 |
(grow_hash_table): Update resize_threshold. |
| 22296 |
(MAX): Remove unused macro. |
| 22297 |
(prime_size): Made static. |
| 22298 |
|
| 22299 |
2001-04-14 Hrvoje Niksic <[email protected]> |
| 22300 |
|
| 22301 |
* src/retr.c (retrieve_url): Call uri_merge, not url_concat. |
| 22302 |
|
| 22303 |
* src/html-url.c (collect_tags_mapper): Call uri_merge, not |
| 22304 |
url_concat. |
| 22305 |
|
| 22306 |
* src/url.c (mkstruct): Use encode_string instead of xstrdup followed |
| 22307 |
by URL_CLEANSE. |
| 22308 |
(path_simplify_with_kludge): Deleted. |
| 22309 |
(contains_unsafe): Deleted. |
| 22310 |
(construct): Renamed to uri_merge_1. |
| 22311 |
(url_concat): Renamed to uri_merge. |
| 22312 |
|
| 22313 |
2001-04-13 Hrvoje Niksic <[email protected]> |
| 22314 |
|
| 22315 |
* src/wget.h (XDIGIT_TO_xchar): Define here. |
| 22316 |
|
| 22317 |
* src/url.c (decode_string): Use new name. |
| 22318 |
(encode_string): Ditto. |
| 22319 |
|
| 22320 |
* src/http.c (XDIGIT_TO_xchar): Rename HEXD2asc to XDIGIT_TO_xchar. |
| 22321 |
(dump_hash): Use new name. |
| 22322 |
|
| 22323 |
* src/wget.h: Rename ASC2HEXD and HEXD2ASC to XCHAR_TO_XDIGIT and |
| 22324 |
XDIGIT_TO_XCHAR respectively. |
| 22325 |
|
| 22326 |
2001-04-13 Hrvoje Niksic <[email protected]> |
| 22327 |
|
| 22328 |
* src/url.c (str_url): Use encode_string instead of the unnecessary |
| 22329 |
CLEANDUP. |
| 22330 |
(encode_string_maybe): New function, returns input string if no |
| 22331 |
encoding is needed. |
| 22332 |
(encode_string): Call encode_string_maybe to do the dirty work, |
| 22333 |
xstrdup if no work needed. |
| 22334 |
|
| 22335 |
2001-04-13 Hrvoje Niksic <[email protected]> |
| 22336 |
|
| 22337 |
* src/init.c: Include cookies.h. |
| 22338 |
|
| 22339 |
* src/cookies.h: Declare cookies_cleanup. |
| 22340 |
|
| 22341 |
* src/cookies.c (check_domain_match): Remove unused variable. |
| 22342 |
(save_cookies): Remove extraneous argument from debug statement. |
| 22343 |
|
| 22344 |
* src/host.c (same_host): Don't call skip_url. |
| 22345 |
|
| 22346 |
* src/url.c (skip_url): Removed. Removed its calls from various |
| 22347 |
functions in url.c. |
| 22348 |
|
| 22349 |
2001-04-13 Hrvoje Niksic <[email protected]> |
| 22350 |
|
| 22351 |
* src/cookies.c (unsigned_string_hash): Use the new code in |
| 22352 |
string_hash as reference. |
| 22353 |
|
| 22354 |
* src/hash.c (hash_table_map): Allow deletion and change of the |
| 22355 |
element processed by MAPFUN. |
| 22356 |
(string_hash): Use the function from glib. |
| 22357 |
|
| 22358 |
2001-04-12 Hrvoje Niksic <[email protected]> |
| 22359 |
|
| 22360 |
* src/hash.h: Declare hash_table_get_pair and hash_table_count. |
| 22361 |
|
| 22362 |
2001-04-12 Hrvoje Niksic <[email protected]> |
| 22363 |
|
| 22364 |
* src/ftp-ls.c (ftp_parse_vms_ls): Make seconds optional in time |
| 22365 |
specification. |
| 22366 |
|
| 22367 |
2001-04-12 Hrvoje Niksic <[email protected]> |
| 22368 |
|
| 22369 |
* src/ftp-ls.c (ftp_parse_unix_ls): Use octal constants for |
| 22370 |
permissions. A compiler that doesn't accept octal constants is |
| 22371 |
seriously broken and shouldn't be used -- octal constants were |
| 22372 |
present in K&R C! |
| 22373 |
|
| 22374 |
2001-04-12 Hrvoje Niksic <[email protected]> |
| 22375 |
|
| 22376 |
* src/cookies.c: Declare http_atotm. |
| 22377 |
|
| 22378 |
2001-04-12 Hrvoje Niksic <[email protected]> |
| 22379 |
|
| 22380 |
* src/config.h.in: Include #undef stub. |
| 22381 |
|
| 22382 |
* src/hash.c (hash_table_remove): Rewrite to actually clear deleted |
| 22383 |
entries instead of just marking them as deleted. |
| 22384 |
|
| 22385 |
2001-04-12 Hrvoje Niksic <[email protected]> |
| 22386 |
|
| 22387 |
* configure.in: Check for inline. |
| 22388 |
|
| 22389 |
2001-04-11 Hrvoje Niksic <[email protected]> |
| 22390 |
|
| 22391 |
* src/url.c (parseurl): Don't strip trailing slash when u->dir is "/" |
| 22392 |
because that strips the *leading* slash, thus forcing relative |
| 22393 |
FTP retrieval. |
| 22394 |
|
| 22395 |
2001-04-11 Hrvoje Niksic <[email protected]> |
| 22396 |
|
| 22397 |
* po/zh_TW.po: Reinstated, after an update by Abel Cheung. |
| 22398 |
|
| 22399 |
* po/zh_TW.Big5.po: Removed. |
| 22400 |
|
| 22401 |
2001-04-11 Hrvoje Niksic <[email protected]> |
| 22402 |
|
| 22403 |
* po/zh_TW.Big5.po: New file, submitted by Abel Cheung. |
| 22404 |
|
| 22405 |
* po/zh.po: Removed outdated file. |
| 22406 |
|
| 22407 |
2001-04-10 Jan Prikryl <[email protected]> |
| 22408 |
|
| 22409 |
* src/ftp.c (getftp): Convert initial FTP directory from VMS to UNIX |
| 22410 |
notation for VMS servers. |
| 22411 |
(ftp_retrieve_dirs): Do not prepend '/' to f->name when |
| 22412 |
odir is an empty string. |
| 22413 |
|
| 22414 |
2001-04-10 Jan Prikryl <[email protected]> |
| 22415 |
|
| 22416 |
* src/ftp-ls.c (ftp_parse_winnt_ls): Made the fix for AM/PM more |
| 22417 |
effective. Suggested by Edward J. Sabol. |
| 22418 |
|
| 22419 |
2001-04-10 Hrvoje Niksic <[email protected]> |
| 22420 |
|
| 22421 |
* src/cookies.c (build_cookies_request): Use and sort cookies from all |
| 22422 |
matching domains. |
| 22423 |
(build_cookies_request): Check for duplicates before generating |
| 22424 |
the `Cookies' header. |
| 22425 |
|
| 22426 |
* src/main.c (main): Don't load cookies here. |
| 22427 |
(main): Make loadcookies and savecookies call the correct command. |
| 22428 |
|
| 22429 |
* src/http.c (http_loop): Load cookies on-demand. |
| 22430 |
|
| 22431 |
2001-04-09 Hrvoje Niksic <[email protected]> |
| 22432 |
|
| 22433 |
* src/init.c (cmd_file): New function. |
| 22434 |
(enable_tilde_expansion): New variable. |
| 22435 |
(run_wgetrc): Use it. |
| 22436 |
(cmd_file): Use it. |
| 22437 |
|
| 22438 |
2001-04-09 Hrvoje Niksic <[email protected]> |
| 22439 |
|
| 22440 |
* src/http.c (gethttp): Fix indentation of SSL ifdef. |
| 22441 |
|
| 22442 |
2001-04-09 Hrvoje Niksic <[email protected]> |
| 22443 |
|
| 22444 |
* src/ftp.c (ftp_retrieve_dirs): Don't forcibly prepend "/" to u->dir; |
| 22445 |
that hack is no longer necessary. |
| 22446 |
(getftp): Prepend initial directory to *non*-absolute u->dir's. |
| 22447 |
|
| 22448 |
2001-04-08 Jan Prikryl <[email protected]> |
| 22449 |
|
| 22450 |
* src/ftp-ls.c (ftp_parse_winnt_ls): The AM/PM change did assume |
| 22451 |
12:01PM == 00:01, which was obviously wrong. Taken care of this |
| 22452 |
anomaly. |
| 22453 |
|
| 22454 |
* src/ChangeLog: Removed an excess conflict marker. Reformatted the |
| 22455 |
entry by Philipp Thomas from 2001-03-09. |
| 22456 |
|
| 22457 |
* src/ftp-ls.c (ftp_parse_winnt_ls): Ensure that adjusted PM hours lay |
| 22458 |
between 0 and 23. Elminate unused variable `sec'. |
| 22459 |
|
| 22460 |
2001-04-08 Hrvoje Niksic <[email protected]> |
| 22461 |
|
| 22462 |
* src/utils.c (datetime_str): New function. |
| 22463 |
|
| 22464 |
2001-04-08 Hrvoje Niksic <[email protected]> |
| 22465 |
|
| 22466 |
* src/init.c: Include cookie-related options. |
| 22467 |
|
| 22468 |
* src/main.c (main): Include cookie-specific options. |
| 22469 |
(main): Load cookies before download is finished. |
| 22470 |
(main): Save cookies when done. |
| 22471 |
|
| 22472 |
* src/http.c (gethttp): Process the `Set-Cookie' header. |
| 22473 |
(gethttp): Include cookies in the response. |
| 22474 |
|
| 22475 |
* src/cookies.c: New file. |
| 22476 |
|
| 22477 |
2001-04-08 Hrvoje Niksic <[email protected]> |
| 22478 |
|
| 22479 |
* src/hash.c (hash_table_count): New function. |
| 22480 |
|
| 22481 |
2001-04-06 Hrvoje Niksic <[email protected]> |
| 22482 |
|
| 22483 |
* src/utils.c (read_file): Cast MAP_FAILED to char *. Enforced by |
| 22484 |
Digital Unix cc. |
| 22485 |
|
| 22486 |
2001-04-06 Hrvoje Niksic <[email protected]> |
| 22487 |
|
| 22488 |
* src/sysdep.h: Don't define VERY_LONG_FORMAT. |
| 22489 |
|
| 22490 |
* src/utils.c (very_long_to_string): New function. |
| 22491 |
(legible_very_long): Use it; don't use VERY_LONG_FORMAT. |
| 22492 |
|
| 22493 |
2001-04-06 Hrvoje Niksic <[email protected]> |
| 22494 |
|
| 22495 |
* src/http.c (gethttp): Prepend literal newline with `\n\'. |
| 22496 |
|
| 22497 |
2001-04-06 Hrvoje Niksic <[email protected]> |
| 22498 |
|
| 22499 |
* src/hash.c: Include <string.h>. |
| 22500 |
|
| 22501 |
2001-04-06 Hrvoje Niksic <[email protected]> |
| 22502 |
|
| 22503 |
* src/config.h.in: Oops, do the namespace tweaks only on systems we |
| 22504 |
know about. |
| 22505 |
|
| 22506 |
2001-04-06 Hrvoje Niksic <[email protected]> |
| 22507 |
|
| 22508 |
* src/config.h.in: Define "compilation environment" options that work |
| 22509 |
under Linux and Solaris. To be reviewed on other OS'es. |
| 22510 |
|
| 22511 |
2001-04-06 Hrvoje Niksic <[email protected]> |
| 22512 |
|
| 22513 |
* aclocal.m4 (AM_PROG_CC_STDC): Don't use -Xc under SYSV. It |
| 22514 |
forces strict ANSI mode, which means we lose `long long'. |
| 22515 |
Generally, don't require __STDC__ to be defined to 1 because that |
| 22516 |
signifies strict ANSI. |
| 22517 |
|
| 22518 |
2001-04-04 Hrvoje Niksic <[email protected]> |
| 22519 |
|
| 22520 |
* NEWS: Cosmetic changes. |
| 22521 |
|
| 22522 |
2001-04-04 Christian Fraenkel <[email protected]> |
| 22523 |
|
| 22524 |
* src/url.c (parse_uname): Would run past the end of the string if the |
| 22525 |
username was present, but the URL did not contain a slash, e.g. |
| 22526 |
http://foo:bar@myhost. |
| 22527 |
|
| 22528 |
2001-04-03 Trond Eivind Glomsrod <[email protected]> |
| 22529 |
|
| 22530 |
* po/da.po: Ditto. |
| 22531 |
|
| 22532 |
* po/no.po: The charset is iso-8859-1, not iso-8859-2. |
| 22533 |
|
| 22534 |
2001-04-03 Paul Bludov <[email protected]> |
| 22535 |
|
| 22536 |
* src/mswindows.c (sleep): Use SleepEx() instead of Sleep(). |
| 22537 |
(ws_changetitle): Use alloca() instead of malloc() to avoid memory |
| 22538 |
leak. |
| 22539 |
(ws_mypath): Use GetModuleFileName instead of argv[0]. |
| 22540 |
(ws_startup): Use data.wVersion for comparison. |
| 22541 |
|
| 22542 |
2001-04-03 KOJIMA Hajime <[email protected]> |
| 22543 |
|
| 22544 |
* src/http.c (http_atotm): Use %A instead of %a to match full |
| 22545 |
weekday. (On most systems there is no difference.) |
| 22546 |
|
| 22547 |
2001-04-02 Hrvoje Niksic <[email protected]> |
| 22548 |
|
| 22549 |
* src/retr.c (retrieve_url): New variable global_download_count used |
| 22550 |
to identify first retrieval. |
| 22551 |
|
| 22552 |
* src/ftp.c (getftp): Ditto. |
| 22553 |
|
| 22554 |
* src/http.c (gethttp): Rewind opt.dfp only on first retrieval. |
| 22555 |
|
| 22556 |
2001-04-02 Hrvoje Niksic <[email protected]> |
| 22557 |
|
| 22558 |
* src/netrc.c (parse_netrc): Don't trim the line endings explicitly; |
| 22559 |
they will be handled as whitespace. |
| 22560 |
(parse_netrc): Correctly handle lines that end with whitespace. |
| 22561 |
|
| 22562 |
2001-04-02 Hrvoje Niksic <[email protected]> |
| 22563 |
|
| 22564 |
* src/init.c (cmd_address): Heap-allocate the address that gets stored |
| 22565 |
to CLOSURE. Old code would simply assign an address on the stack. |
| 22566 |
|
| 22567 |
2001-04-02 Hrvoje Niksic <[email protected]> |
| 22568 |
|
| 22569 |
* src/http.c (http_loop): Ditto. |
| 22570 |
|
| 22571 |
* src/ftp.c (ftp_loop_internal): Made the check whether to continue |
| 22572 |
retrieval `-O'-friendly. |
| 22573 |
|
| 22574 |
2001-04-02 Hrvoje Niksic <[email protected]> |
| 22575 |
|
| 22576 |
* po/et.po: New version by Toomas Soome. |
| 22577 |
|
| 22578 |
2001-04-01 Nicolas Lichtmaier <[email protected]> |
| 22579 |
|
| 22580 |
* src/main.c (main): Add -C to the string that is the third arg to |
| 22581 |
getopt_long(). |
| 22582 |
|
| 22583 |
2001-04-01 Nicolas Lichtmaier <[email protected]> |
| 22584 |
|
| 22585 |
* src/ftp.c (ftp_get_listing): Propagate error status. |
| 22586 |
(ftp_retrieve_glob): Use it. |
| 22587 |
(ftp_loop): Ditto. |
| 22588 |
|
| 22589 |
2001-04-01 Nicolas Lichtmaier <[email protected]> |
| 22590 |
|
| 22591 |
* po/es.po: New file. |
| 22592 |
|
| 22593 |
2001-04-01 Hrvoje Niksic <[email protected]> |
| 22594 |
|
| 22595 |
* src/ftp.c (getftp): Don't start the download from scratch if `-c' |
| 22596 |
was specified, but the file is already fully downloaded. |
| 22597 |
|
| 22598 |
* src/http.c (gethttp): Don't truncate a pre-existing file if `-c' was |
| 22599 |
specified and the server doesn't support continued download. |
| 22600 |
(gethttp): Don't start the download from scratch if `-c' was |
| 22601 |
specified, but the file is already fully downloaded. |
| 22602 |
|
| 22603 |
2001-04-01 Hrvoje Niksic <[email protected]> |
| 22604 |
|
| 22605 |
* doc/wget.texi (Recursive Retrieval Options): Document more |
| 22606 |
accurately what --convert-links does. |
| 22607 |
|
| 22608 |
2001-03-31 Hrvoje Niksic <[email protected]> |
| 22609 |
|
| 22610 |
* src/retr.c (retrieve_url): Call register_download() for downloaded |
| 22611 |
files and register_html() for downloaded HTML files. |
| 22612 |
|
| 22613 |
* src/recur.c (register_download): New function; register here that a |
| 22614 |
file has been downloaded, rather than in recursive_retrieve(). |
| 22615 |
(register_html): New function; enqueue the location of HTML files |
| 22616 |
here rather than in recursive_retrieve(). |
| 22617 |
|
| 22618 |
2001-03-31 Hrvoje Niksic <[email protected]> |
| 22619 |
|
| 22620 |
* src/recur.c (recursive_retrieve): Clear the hash tables only when |
| 22621 |
they are defined. |
| 22622 |
|
| 22623 |
2001-03-31 Hrvoje Niksic <[email protected]> |
| 22624 |
|
| 22625 |
* src/main.c (print_help): Use multiple fputs instead of a single ugly |
| 22626 |
printf(). |
| 22627 |
(main): Consistently assign numbers >128 to options without a |
| 22628 |
corresponding character. |
| 22629 |
|
| 22630 |
2001-03-31 Hrvoje Niksic <[email protected]> |
| 22631 |
|
| 22632 |
* src/http.c (gethttp): Make sure the socket is closed with |
| 22633 |
CLOSE_INVALIDATE before we have drained the body. |
| 22634 |
|
| 22635 |
2001-03-31 Hrvoje Niksic <[email protected]> |
| 22636 |
|
| 22637 |
(recursive_retrieve): Don't clear the hash tables at this point at |
| 22638 |
all; it interferes with the normal operation of register_download. |
| 22639 |
|
| 22640 |
2001-03-27 Dan Harkless <[email protected]> |
| 22641 |
|
| 22642 |
* src/Makefile.in: Moved top_builddir out of "User configuration |
| 22643 |
section" of top Makefile and analogous spot in this one. |
| 22644 |
|
| 22645 |
2001-03-27 Dan Harkless <[email protected]> |
| 22646 |
|
| 22647 |
* doc/Makefile.in: Moved top_builddir out of "User configuration |
| 22648 |
section" of top Makefile and analogous spot in this one. |
| 22649 |
|
| 22650 |
2001-03-27 Dan Harkless <[email protected]> |
| 22651 |
|
| 22652 |
* INSTALL: Updated to reflect --with-ssl's new optional parameter. |
| 22653 |
|
| 22654 |
* configure.in: Christian Fraenkel's tests for -lcrypto and -lssl |
| 22655 |
were in the wrong order, causing a link failure if you're using |
| 22656 |
libcrypto.a and libssl.a rather than shared libraries. Also put |
| 22657 |
in checks for -ldl, necessary since the libcrypto shared library |
| 22658 |
doesn't record its dependency on libdl. |
| 22659 |
|
| 22660 |
* {.,util,windows}/Makefile.in: Moved top_builddir out of "User |
| 22661 |
configuration section" of top Makefile and analogous spot in others. |
| 22662 |
|
| 22663 |
* po/Makefile.in.in: Previous addition of top_builddir to |
| 22664 |
po/Makefile.in was bogus -- it's generated from po/Makefile.in.in. |
| 22665 |
|
| 22666 |
2001-03-26 Dan Harkless <[email protected]> |
| 22667 |
|
| 22668 |
* doc/wget.texi (Recursive Retrieval Options): Explained that you need |
| 22669 |
to use -r -l1 -p to get the two levels of requisites for a |
| 22670 |
<FRAMESET> page. Also made a few other wording improvements. |
| 22671 |
|
| 22672 |
2001-03-26 Dan Harkless <[email protected]> |
| 22673 |
|
| 22674 |
* TODO: -p should probably go "_two_ more hops" on <FRAMESET> pages. |
| 22675 |
|
| 22676 |
2001-03-22 Dan Harkless <[email protected]> |
| 22677 |
|
| 22678 |
* MACHINES: Added rs6000-ibm-aix4.3.3.0. |
| 22679 |
|
| 22680 |
2001-03-21 Dan Harkless <[email protected]> |
| 22681 |
|
| 22682 |
* MACHINES: Added armv4l-unknown-linux-gnu. |
| 22683 |
|
| 22684 |
2001-03-20 Dan Harkless <[email protected]> |
| 22685 |
|
| 22686 |
* TODO: Oops. Hostless absolute link conversion _is_ working. My |
| 22687 |
test that led me to believe it wasn't was exposing a different bug |
| 22688 |
-- URLs specified on the commandline as opposed to being recursed |
| 22689 |
to don't always get re-converted at the end of the Wget run. |
| 22690 |
|
| 22691 |
2001-03-17 Dan Harkless <[email protected]> |
| 22692 |
|
| 22693 |
* src/Makefile.in: Include @SSL_INCLUDES@ substition in INCLUDES. |
| 22694 |
Define top_builddir. Link wget with libtool so the user doesn't |
| 22695 |
have to supply a bunch of custom environment variables to |
| 22696 |
correctly link with the OpenSSL shared libraries. |
| 22697 |
|
| 22698 |
2001-03-17 Dan Harkless <[email protected]> |
| 22699 |
|
| 22700 |
* doc/Makefile.in: Using '^' in the sed call caused a weird failure on |
| 22701 |
Solaris 2.6. Changed it to a ','. Defined top_builddir. |
| 22702 |
|
| 22703 |
2001-03-17 Dan Harkless <[email protected]> |
| 22704 |
|
| 22705 |
* aclocal.m4: Appended libtool 1.3.5's libtool.m4 to it. |
| 22706 |
|
| 22707 |
* configure.in: Use AM_PROG_LIBTOOL macro (now defined in our |
| 22708 |
aclocal.m4) to create a libtool script from ltconfig and ltmain.sh. |
| 22709 |
If --with-ssl specified, look in /usr/local/ssl/lib by default for |
| 22710 |
OpenSSL libs. Allow override with --with-ssl=<OpenSSL_root_dir>. |
| 22711 |
Set up -I<OpenSSL_root_dir>/include and -R<OpenSSL_root_dir>/lib |
| 22712 |
(possibly rewritten by libtool) as well. Don't appear to be |
| 22713 |
looking for a function main() in -lcrypto. If the OpenSSL lib |
| 22714 |
checks fail, don't just silently build a wget without https |
| 22715 |
support -- issue a warning. Define top_builddir. |
| 22716 |
|
| 22717 |
* ltconfig: New file from libtool 1.3.5 distribution. |
| 22718 |
|
| 22719 |
* ltmain.sh: New file from libtool 1.3.5 distribution. |
| 22720 |
|
| 22721 |
* {.,po,util,windows}/Makefile.in: Define top_builddir. |
| 22722 |
|
| 22723 |
2001-03-16 Dan Harkless <[email protected]> |
| 22724 |
|
| 22725 |
* TODO: For some reason on 2000-11-19, Hrvoje removed the item |
| 22726 |
about converting hostless absolute links. That isn't working yet, |
| 22727 |
so I've put the item back, with a modified wording. |
| 22728 |
|
| 22729 |
* config.guess: Hadn't been updated since 1996 -- didn't work for recent |
| 22730 |
machines and OSes, such as NetWinder ARM Linux. Updated to latest |
| 22731 |
version (2001-03-16) from <ftp://ftp.gnu.org/pub/gnu/config/>. |
| 22732 |
|
| 22733 |
* config.sub: Ditto -- updated to latest version (2001-03-12). |
| 22734 |
|
| 22735 |
2001-03-12 Dan Harkless <[email protected]> |
| 22736 |
|
| 22737 |
* TODO: Only normal recursion should respect -np -- page-requisite |
| 22738 |
recursion should not. |
| 22739 |
|
| 22740 |
2001-03-09 Philipp Thomas <[email protected]> |
| 22741 |
|
| 22742 |
* src/safe-ctype.h: New file. Locale independent ctype.h replacement |
| 22743 |
taken from libiberty. |
| 22744 |
|
| 22745 |
* src/safe-ctype.c: New file. Tables for above. |
| 22746 |
|
| 22747 |
* src/Makefile.in: Add safe-ctype$o to OBJS. Add dependencies for |
| 22748 |
safe-ctype$o. |
| 22749 |
|
| 22750 |
* src/cmpt.c: Remove include of ctype.h. Use ISSPACE instead of |
| 22751 |
isspace. |
| 22752 |
|
| 22753 |
* src/ftp-basic.c: Don't include ctype.h. |
| 22754 |
|
| 22755 |
* src/ftp-ls.c: Likewise. |
| 22756 |
|
| 22757 |
* src/ftp.c: Likewise. |
| 22758 |
|
| 22759 |
* src/headers.c: Likewise. |
| 22760 |
|
| 22761 |
* src/host.c: Likewise. |
| 22762 |
|
| 22763 |
* src/html-parse.c: Likewise. |
| 22764 |
|
| 22765 |
* src/html-url.c: Likewise. |
| 22766 |
|
| 22767 |
* src/http.c: Likewise. |
| 22768 |
|
| 22769 |
* src/init.c: Likewise. |
| 22770 |
|
| 22771 |
* src/main.c: Likewise. Set LC_CTYPE along with LC_MESSAGES. |
| 22772 |
|
| 22773 |
* src/netrc.c: Likewise. |
| 22774 |
|
| 22775 |
* src/recur.c: Likewise. |
| 22776 |
|
| 22777 |
* src/retr.c: Likewise. |
| 22778 |
|
| 22779 |
* src/snprintf.c: Replace ctype.h with safe-ctype.h. Use ISDIGIT |
| 22780 |
instead of isdigit. |
| 22781 |
|
| 22782 |
* src/sysdep.h: Remove defines of ctype macros as they aren't needed |
| 22783 |
for safe-ctype-h. |
| 22784 |
|
| 22785 |
* src/url.c: Don't include ctype.h. |
| 22786 |
|
| 22787 |
* src/utils.c: Likewise. |
| 22788 |
|
| 22789 |
* src/wget.h: Include safe-ctype.h. |
| 22790 |
|
| 22791 |
2001-03-07 Jan Prikryl <[email protected]> |
| 22792 |
|
| 22793 |
* TODO: Removed an obsolete item about adding VMS and MS FTP |
| 22794 |
server support. |
| 22795 |
|
| 22796 |
2001-03-06 Hack Kampbjorn <[email protected]> |
| 22797 |
|
| 22798 |
* src/http.c (gethttp): skip :port in host header if it is the |
| 22799 |
DEFAULT_HTTPS_PORT when using SSL. |
| 22800 |
|
| 22801 |
* src/url.c: move the #define of DEFAULT_HTTP_PORT, DEFAULT_FTP_PORT |
| 22802 |
and DEFAULT_HTTPS_PORT to the header file so it can be use in the |
| 22803 |
rest of the code. |
| 22804 |
* src/url.h: Ditto |
| 22805 |
|
| 22806 |
2001-03-05 Dan Harkless <[email protected]> |
| 22807 |
|
| 22808 |
* TODO: Add a --range option to download only a given byte range. |
| 22809 |
|
| 22810 |
2001-03-01 Jonas Jensen <[email protected]> |
| 22811 |
|
| 22812 |
* src/retr.c (show_progress): Correctly calculate the number of bytes |
| 22813 |
in the first line of the download that have been actually |
| 22814 |
downloaded in this run. |
| 22815 |
|
| 22816 |
2001-03-01 Dan Harkless <[email protected]> |
| 22817 |
|
| 22818 |
* ChangeLog.README: Renamed from README.branches and added a note |
| 22819 |
that Wget has multiple ChangeLog files (currently ./ChangeLog, |
| 22820 |
doc/ChangeLog, and src/ChangeLog), since this is unusual and |
| 22821 |
people have complained their patches hadn't been applied after |
| 22822 |
checking only the top-level ChangeLog. |
| 22823 |
|
| 22824 |
2001-02-28 Dan Harkless <[email protected]> |
| 22825 |
|
| 22826 |
* MACHINES: Explicitly tell people to send us config.guess output. |
| 22827 |
|
| 22828 |
2001-02-27 Dan Harkless <[email protected]> |
| 22829 |
|
| 22830 |
* TODO: Re-use FTP connection if multiple URLs on one host |
| 22831 |
specified. Make "ftp://<host>/%2F<file>" cause an initial "CWD /". |
| 22832 |
|
| 22833 |
2001-02-23 Dan Harkless <[email protected]> |
| 22834 |
|
| 22835 |
* src/main.c (print_help): --help documentation for -N said it would |
| 22836 |
re-download files if they had the _same_ timestamp on server. |
| 22837 |
(print_help): -nr belongs in "FTP options" section of --help |
| 22838 |
output, not "Recursive retrieval" section. Alphabetized FTP |
| 22839 |
options by long option name. |
| 22840 |
|
| 22841 |
2001-02-23 Dan Harkless <[email protected]> |
| 22842 |
|
| 22843 |
* doc/wget.texi: Corrections, clarifications, and English fixes to |
| 22844 |
time-stamping documentation. Also moved -nr from "Recursive |
| 22845 |
Retrieval Options" to "FTP Options" and gave it a @cindex entry. |
| 22846 |
Alphabetized FTP options by long option name. Mentioned that |
| 22847 |
.listing symlinked to /etc/passwd is not a security hole, but that |
| 22848 |
other files could be, so root shouldn't run wget in user dirs. |
| 22849 |
|
| 22850 |
2001-02-23 Dan Harkless <[email protected]> |
| 22851 |
|
| 22852 |
* NEWS: Note that Wget now has a man page again. |
| 22853 |
|
| 22854 |
* po/*.po*: Updated after changing --help's description of -N and |
| 22855 |
moving -nr to a different category. |
| 22856 |
|
| 22857 |
* TODO: "Timestamps are sometimes not copied over on files |
| 22858 |
retrieved by FTP." removed. Hopefully all the failures I was |
| 22859 |
seeing were due to the fact that it wasn't documented that |
| 22860 |
non-globbing, non-recursive FTP downloads need -N to get the |
| 22861 |
remote timestamp to be preserved. |
| 22862 |
|
| 22863 |
2001-02-22 Dan Harkless <[email protected]> |
| 22864 |
|
| 22865 |
* doc/Makefile.in: Make wget man page and install it if we have |
| 22866 |
pod2man. Added some missing '$(srcdir)/'s. Added missing |
| 22867 |
dependencies on install targets (allowing you to just do `make |
| 22868 |
install' rather than forcing you to do `make && make install'). |
| 22869 |
Also, Makefile rules should always use output file parameters if |
| 22870 |
available rather than redirecting stdout with '>', or you falsely |
| 22871 |
satisfy dependencies if the tool you're running is missing or |
| 22872 |
fails -- fixed call of texi2pod.pl that did this wrong. |
| 22873 |
|
| 22874 |
* doc/texi2pod.pl: Removed from CVS. Now automatically generated. |
| 22875 |
|
| 22876 |
* doc/texi2pod.pl.in: This new file is processed into texi2pod.pl, |
| 22877 |
getting the appropriate path to the Perl 5+ executable on this |
| 22878 |
system and becoming executable (CVS files, by contrast, don't |
| 22879 |
arrive executable). |
| 22880 |
|
| 22881 |
2001-02-22 Dan Harkless <[email protected]> |
| 22882 |
|
| 22883 |
* TODO: Remove empty directories created due to --accept/--reject. |
| 22884 |
|
| 22885 |
* configure.in: Look for perl and pod2man and make substitutions. |
| 22886 |
|
| 22887 |
* Makefile.in (install): Do install.man if we have pod2man. |
| 22888 |
|
| 22889 |
2001-02-19 Dan Harkless <[email protected]> |
| 22890 |
|
| 22891 |
* doc/wget.texi (Download Options): Further improvement to --continue |
| 22892 |
documentation -- explain interaction with -r and -N, mention |
| 22893 |
usefulness for downloading new sections of appended-to files, etc. |
| 22894 |
|
| 22895 |
2001-02-16 Dan Harkless <[email protected]> |
| 22896 |
|
| 22897 |
* src/init.c (commands): Hack Kampbjørn <[email protected]> discovered |
| 22898 |
that "httpsproxy" had been inserted into commands[] out of |
| 22899 |
alphabetical order, causing "BUG: unknown command `httpuser'". |
| 22900 |
|
| 22901 |
2001-02-13 Jan Prikryl <[email protected]> |
| 22902 |
|
| 22903 |
* windows/Makefile.src: Removed references to ftpparse sources. |
| 22904 |
|
| 22905 |
* windows/wget.dep: Ditto. |
| 22906 |
|
| 22907 |
* windows/Makefile.watcom: Ditto. |
| 22908 |
|
| 22909 |
2001-02-13 Jan Prikryl <[email protected]> |
| 22910 |
|
| 22911 |
* src/ftp-ls.c (ftp_parse_ls): Added support of ST_MACOS (Unix-like |
| 22912 |
listing without correct permissons). |
| 22913 |
|
| 22914 |
* src/ftp.h (stype): Added ST_MACOS to identify the NetPresenz MacOS |
| 22915 |
FTP server. |
| 22916 |
|
| 22917 |
* src/ftp.c (ftp_retrieve_list): New mirroring logic: A remote file |
| 22918 |
shall be donwloaded only when it's newer than the local copy or |
| 22919 |
when it has the same timeestamp but its size is different. ST_VMS |
| 22920 |
and ST_MACOS as special cases that lie about file size. |
| 22921 |
|
| 22922 |
* src/ftp-ls.c (ftp_parse_ls): Support for ST_MACOS. |
| 22923 |
|
| 22924 |
* src/Makefile.in: Removed dependency on ftpparse library due to unclear |
| 22925 |
copyright issues and absence of any feedback to our queries. |
| 22926 |
|
| 22927 |
* src/ftp-ls.c: Removed dependency on ftpparse library due to unclear |
| 22928 |
copyright issues and absence of any feedback to our queries. |
| 22929 |
(ftp_parse_ls): Added a warning message when remote server system |
| 22930 |
does not seem to be suported by wget. |
| 22931 |
(ftp_parse_vms_ls): New function for parsing VMS ftp |
| 22932 |
server listing output. |
| 22933 |
(clean_line): New function responsible for removing |
| 22934 |
end-of-line characters from FTP listing texts. |
| 22935 |
|
| 22936 |
* src/ftp.c (getftp): Global variables pwd and host_type are now |
| 22937 |
member of the ccon structure under names ccon.id and ccon.rs. |
| 22938 |
|
| 22939 |
* src/ftp.h (struct ccon): Added formed global variables from ftp.c, |
| 22940 |
enum stype rs (remote system identification) and char *id (initial |
| 22941 |
working directory), as suggested by Hrvoje. |
| 22942 |
|
| 22943 |
* src/url.c (parse_uname): Added support for passwords containing '@' |
| 22944 |
characters. |
| 22945 |
(skip_uname): Ditto. |
| 22946 |
|
| 22947 |
2001-02-11 Hrvoje Niksic <[email protected]> |
| 22948 |
|
| 22949 |
* src/ftp.c (ftp_loop_internal): Disable padding. |
| 22950 |
(getftp): Ditto. |
| 22951 |
|
| 22952 |
* src/http.c (http_loop): Disable padding. |
| 22953 |
|
| 22954 |
* src/retr.c (show_progress): Use it to enable padding. |
| 22955 |
|
| 22956 |
* src/retr.c (rate): Optional parameter PAD for padding the rate. |
| 22957 |
|
| 22958 |
2001-02-11 Hrvoje Niksic <[email protected]> |
| 22959 |
|
| 22960 |
* src/ftp.c (ftp_loop): Reset con. |
| 22961 |
|
| 22962 |
2001-02-11 Hack Kampbjørn <[email protected]> |
| 22963 |
|
| 22964 |
* src/url.c (parseurl): Debug-print u->ftp_type. |
| 22965 |
|
| 22966 |
2001-02-10 Tim Mooney <[email protected]> |
| 22967 |
|
| 22968 |
* src/ftp.h: Rename enums `command' to `wget_ftp_command' and |
| 22969 |
`fstatus' to `wget_ftp_status' because old names clash with Tru64 |
| 22970 |
net/if.h. |
| 22971 |
|
| 22972 |
2001-02-10 Jonas Jensen <[email protected]> |
| 22973 |
|
| 22974 |
* src/retr.c (show_progress): Print the download rate along with the |
| 22975 |
percentages. |
| 22976 |
Along with Anders Thorsby <[email protected]>. |
| 22977 |
|
| 22978 |
2001-02-10 Hrvoje Niksic <[email protected]> |
| 22979 |
|
| 22980 |
* src/retr.c (show_progress): Make sure that the last output line |
| 22981 |
includes progress. |
| 22982 |
|
| 22983 |
2001-02-08 Christian Fraenkel <[email protected]> |
| 22984 |
|
| 22985 |
* src/gen_sslfunc.c: verify_callback is now static |
| 22986 |
|
| 22987 |
* src/gen_sslfunc.c (init_ssl): load certificate if specified |
| 22988 |
|
| 22989 |
* src/gen_sslfunc.c (ssl_printerr): new function |
| 22990 |
|
| 22991 |
* src/init.c: added new --sslcertfile and --sslcertkey switches |
| 22992 |
|
| 22993 |
* src/main.c: ditto |
| 22994 |
|
| 22995 |
* src/options.h: ditto |
| 22996 |
|
| 22997 |
* src/http.c (gethttp): abort when init_ssl fails |
| 22998 |
|
| 22999 |
2001-01-23 Herold Heiko <[email protected]> |
| 23000 |
|
| 23001 |
* windows/Makefile.src: Don't attempt to compile in alloca.c; it |
| 23002 |
doesn't work and it's not needed. |
| 23003 |
|
| 23004 |
2001-01-23 Herold Heiko <[email protected]> |
| 23005 |
|
| 23006 |
* src/mswindows.h: Include <malloc.h>; it's needed for alloca(). |
| 23007 |
|
| 23008 |
2001-01-23 Herold Heiko <[email protected]> |
| 23009 |
|
| 23010 |
* src/config.h.ms, mswindows.h: defined HAVE_ISATTY, use _isatty for |
| 23011 |
MS VC; somebody with Borland compiler please check and provide |
| 23012 |
patch if possible; |
| 23013 |
|
| 23014 |
* src/cmpt.c: provided a usleep emulation. |
| 23015 |
|
| 23016 |
2001-01-20 Karl Eichwalder <[email protected]> |
| 23017 |
|
| 23018 |
* src/Makefile.in: Provide and use DESTDIR according to the Coding |
| 23019 |
Standards. |
| 23020 |
|
| 23021 |
2001-01-20 Karl Eichwalder <[email protected]> |
| 23022 |
|
| 23023 |
* doc/Makefile.in: Provide and use DESTDIR according to the Coding |
| 23024 |
Standards. |
| 23025 |
|
| 23026 |
2001-01-16 Hrvoje Niksic <[email protected]> |
| 23027 |
|
| 23028 |
* NEWS: Added more NEWS items. |
| 23029 |
|
| 23030 |
2001-01-15 Jan Prikryl <[email protected]> |
| 23031 |
|
| 23032 |
* util/wget.spec: Updated to 1.7, merged with the spec file from |
| 23033 |
RedHat. |
| 23034 |
|
| 23035 |
* po/Makefile.in.in: `make realclean' equal to `make |
| 23036 |
maintainer-clean'. |
| 23037 |
|
| 23038 |
* Makefile.in (realclean-top): Remove 'configure' as well. |
| 23039 |
|
| 23040 |
2001-01-15 Dan Harkless <[email protected]> |
| 23041 |
|
| 23042 |
* NEWS: Was not being maintained. Added some significant 1.7-dev stuff. |
| 23043 |
|
| 23044 |
2001-01-11 Dan Harkless <[email protected]> |
| 23045 |
|
| 23046 |
* TODO: If -c used with -N, check to make sure a file hasn't |
| 23047 |
changed on the server before "continuing" to download it. |
| 23048 |
|
| 23049 |
2001-01-11 Adrian Aichner <[email protected]> |
| 23050 |
|
| 23051 |
* windows/Makefile.src: Updated. |
| 23052 |
|
| 23053 |
* windows/wget.dep: Ditto. |
| 23054 |
|
| 23055 |
2001-01-10 Dan Harkless <[email protected]> |
| 23056 |
|
| 23057 |
* src/url.c (str_url): Clarified this function's comment header after |
| 23058 |
Hrvoje answered my question on the list as to when hide != 1. |
| 23059 |
Also Hrvoje pointed out I need to use xstrdup() on the string literal. |
| 23060 |
|
| 23061 |
2001-01-09 Dan Harkless <[email protected]> |
| 23062 |
|
| 23063 |
* src/html-url.c: A bunch of fixup of `--page-requisites'-related |
| 23064 |
comments to reflect Hrvoje's changes to my code when transplanting |
| 23065 |
it into this new file, to fix spelling mistakes, to clarify, etc. |
| 23066 |
|
| 23067 |
* src/url.c (write_backup_file): Clarified a comment. |
| 23068 |
(str_url): Henrik van Ginhoven pointed out on the list that we |
| 23069 |
shouldn't give away the number of characters in the password by |
| 23070 |
replacing each character with a 'x'. Use "<password>" instead. |
| 23071 |
|
| 23072 |
* src/ftp.c (ftp_retrieve_dirs): The bug where recursion into FTP |
| 23073 |
directories didn't work if logging in put you in a directory other |
| 23074 |
than "/" is fixed now. Removed the comment here warning of the bug. |
| 23075 |
|
| 23076 |
* src/main.c (print_help): --continue's description was misleading. |
| 23077 |
We don't "restart", we "resume". Also, better to say |
| 23078 |
"partially-downloaded file" rather than just "existing file". |
| 23079 |
|
| 23080 |
2001-01-09 Dan Harkless <[email protected]> |
| 23081 |
|
| 23082 |
* doc/wget.texi (Download Options): Did a bunch of clarification and |
| 23083 |
correction to the description of --continue. |
| 23084 |
|
| 23085 |
2001-01-09 Dan Harkless <[email protected]> |
| 23086 |
|
| 23087 |
* TODO: If -c is on, don't re-download a 100%-downloaded file. |
| 23088 |
|
| 23089 |
* TODO: The bug where you couldn't recurse into ftp directories if |
| 23090 |
logging in put you somewhere else besides the server's "/" |
| 23091 |
directory got fixed without the TODO entry for it being removed. |
| 23092 |
|
| 23093 |
* TODO: Add a "rollback" option to have --continue throw away X |
| 23094 |
corrupted (e.g. by proxy) bytes from end of file before resuming. |
| 23095 |
|
| 23096 |
* po/*.po*: Updated after changing --help's description of -c. |
| 23097 |
|
| 23098 |
2001-01-06 Jan Prikryl <[email protected]> |
| 23099 |
|
| 23100 |
* src/url.c (parse_uname): Added support for passwords containing '@' |
| 23101 |
characters. |
| 23102 |
(skip_uname): Ditto. |
| 23103 |
|
| 23104 |
2001-01-06 Jan Prikryl <[email protected]> |
| 23105 |
|
| 23106 |
* doc/wget.texi (Reporting Bugs): Deleted the setence about Cc-ing the |
| 23107 |
bug report to Wget mailing list as the bug report address is an |
| 23108 |
alias for the mailing ist anyway. |
| 23109 |
(Mailing List): Added URL for the alternate archive. |
| 23110 |
|
| 23111 |
* doc/wget.texi: Bunch of cosmetical changes. |
| 23112 |
|
| 23113 |
* doc/Makefile.in: Added targets for manpage generation using |
| 23114 |
texi2pod.pl and pod2man (comes with Perl5). As we cannot rely on |
| 23115 |
Perl5 being available on the system, manpage is not being built |
| 23116 |
automatically. Updated '*clean' targets to remove |
| 23117 |
'sample.wgetrc.munged...', 'wget.pod', and 'wget.man'. |
| 23118 |
|
| 23119 |
* doc/texi2pod.pl: New file copied from GCC distribution to facilitate |
| 23120 |
automatic manpage generation. |
| 23121 |
|
| 23122 |
2001-01-06 Hrvoje Niksic <[email protected]> |
| 23123 |
|
| 23124 |
* src/connect.c (bindport): Declare addrlen as int. Diagnosed by |
| 23125 |
Drazen Kacar <[email protected]>. |
| 23126 |
(conaddr): Ditto. |
| 23127 |
|
| 23128 |
2001-01-06 Dan Harkless <[email protected]> |
| 23129 |
|
| 23130 |
* src/ChangeLog: The '[Not in 1.6 branch.]'s were decided not to be |
| 23131 |
the best way to go about my aim. Removed them in favor of: |
| 23132 |
|
| 23133 |
* src/ChangeLog-branches/1.6_branch.ChangeLog: New file. |
| 23134 |
|
| 23135 |
2001-01-06 Dan Harkless <[email protected]> |
| 23136 |
|
| 23137 |
* doc/ChangeLog: The '[Not in 1.6 branch.]'s were decided not to be |
| 23138 |
the best way to go about my aim. Removed them in favor of: |
| 23139 |
|
| 23140 |
* doc/ChangeLog-branches/1.6_branch.ChangeLog: New file. |
| 23141 |
|
| 23142 |
2001-01-06 Dan Harkless <[email protected]> |
| 23143 |
|
| 23144 |
* ChangeLog: The '[Not in 1.6 branch.]'s were decided not to be |
| 23145 |
the best way to go about my aim. Removed them in favor of: |
| 23146 |
|
| 23147 |
* ChangeLog-branches/1.6_branch.ChangeLog: New file. |
| 23148 |
|
| 23149 |
* README.branches: Explains the 1.6_branch.ChangeLog files. |
| 23150 |
|
| 23151 |
* README.cvs: Falsely claimed you only needed GNU autoconf to |
| 23152 |
build from the CVS sources. You also need GNU gettext and |
| 23153 |
texinfo. I also did a bunch of general re-writing of this file. |
| 23154 |
|
| 23155 |
2001-01-04 Hrvoje Niksic <[email protected]> |
| 23156 |
|
| 23157 |
* src/url.c (replace_attr): New function, to be used by both |
| 23158 |
TO_COMPLETE and TO_RELATIVE case in convert_links. |
| 23159 |
(find_fragment): New function for finding URL fragments. |
| 23160 |
(replace_attr): Better handle the case where the original string |
| 23161 |
is not quoted. Use find_fragment. |
| 23162 |
(convert_links): Use replace_attr(). |
| 23163 |
|
| 23164 |
2001-01-03 Dan Harkless <[email protected]> |
| 23165 |
|
| 23166 |
* TODO: We should make a simple man page referring to info doco. |
| 23167 |
|
| 23168 |
2000-12-31 Dan Harkless <[email protected]> |
| 23169 |
|
| 23170 |
* src/ChangeLog: Since this flat file doesn't have multiple branches, |
| 23171 |
looking at the dates would make you think that things went into |
| 23172 |
1.6 that actually just went into the 1.7-dev branch. Added "[Not |
| 23173 |
in 1.6 branch.]" where appropriate to clarify. |
| 23174 |
|
| 23175 |
2000-12-31 Dan Harkless <[email protected]> |
| 23176 |
|
| 23177 |
* doc/Makefile.in (distclean): sample.wgetrc.munged_for_texi_inclusion |
| 23178 |
needs to be included in the distribution or it'll get regenerated |
| 23179 |
due to the wget.info dependency, and then that file will get |
| 23180 |
regenerated, forcing people to have makeinfo installed |
| 23181 |
unnecessarily. We could use a kludge of a 0-length file in the |
| 23182 |
distro, but the file isn't that big and should compress very well. |
| 23183 |
|
| 23184 |
* doc/wget.texi: Changed "VERSION 1.5.3+dev" to "VERSION 1.7-dev" and |
| 23185 |
"UPDATED Feb 2000" to "UPDATED Dec 2000". Like the comment in the |
| 23186 |
file says, it'd be nice if these were handled automatically... |
| 23187 |
|
| 23188 |
* doc/ChangeLog: Since this flat file doesn't have multiple branches, |
| 23189 |
looking at the dates would make you think that things went into |
| 23190 |
1.6 that actually just went into the 1.7-dev branch. Added "[Not |
| 23191 |
in 1.6 branch.]" where appropriate to clarify. |
| 23192 |
|
| 23193 |
2000-12-31 Dan Harkless <[email protected]> |
| 23194 |
|
| 23195 |
* README: Changed 1.5.3 in the FTP URL to 1.6. |
| 23196 |
|
| 23197 |
* NEWS: Released Wget version 1.6. |
| 23198 |
|
| 23199 |
* po/*.po: 'Project-Id-Version's were very haphazard, saying |
| 23200 |
either "wget" or "GNU wget", and with versions of 1.5.2-b[124], |
| 23201 |
1.5.3, the nonexistent 1.5.4, and 1.6-pre. Standardized all to |
| 23202 |
"GNU Wget 1.7-dev". Perhaps this is wrong to do because some of |
| 23203 |
the translations haven't been updated since the versions they |
| 23204 |
state, but I know some of the files were updated specifically for |
| 23205 |
1.6, and none of them used this version (unless you count the sole |
| 23206 |
"1.6-pre" guy). In any case, the 'POT-Creation-Date's and |
| 23207 |
'PO-Revision-Date's remain the best indicator of whether a |
| 23208 |
translation's out of date. |
| 23209 |
|
| 23210 |
* ChangeLog: Since this flat file doesn't have multiple branches, |
| 23211 |
looking at the dates would make you think that things went into |
| 23212 |
1.6 that actually just went into the 1.7-dev branch. Added "[Not |
| 23213 |
in 1.6 branch.]" where appropriate to clarify. |
| 23214 |
|
| 23215 |
2000-12-30 Dan Harkless <[email protected]> |
| 23216 |
|
| 23217 |
* src/ftp.c, http.c: Applied Hack Kampbjørn <[email protected]>'s |
| 23218 |
patch to deal with h_errno not being defined in netdb.h under Cygwin. |
| 23219 |
|
| 23220 |
2000-12-18 Csaba Raduly <[email protected]> |
| 23221 |
|
| 23222 |
* windows/Makefile.watcom: Updated. |
| 23223 |
|
| 23224 |
2000-12-18 Csaba Raduly <[email protected]> |
| 23225 |
|
| 23226 |
* src/sysdep.h: Include <malloc.h> and <io.h> under Watcom. |
| 23227 |
|
| 23228 |
2000-12-17 Igor Khristophorov <[email protected]> |
| 23229 |
|
| 23230 |
* src/http.c (check_end): Fix test for '+' or '-'. |
| 23231 |
|
| 23232 |
2000-12-17 Hrvoje Niksic <[email protected]> |
| 23233 |
|
| 23234 |
* src/url.c (parseurl): Rename inner loop var from i to ind to avoid |
| 23235 |
clash with the function top-level-declared variable i. |
| 23236 |
(str_url): Likewise, rename inner-loop i to j. |
| 23237 |
|
| 23238 |
* src/recur.c (parse_robots): Don't declare LEN at top of function. |
| 23239 |
(robots_match): Renamed parameter FORBIDDEN to avoid hiding of |
| 23240 |
global variable. |
| 23241 |
|
| 23242 |
* src/main.c (main): Change erroneous use of bitwise and to logical. |
| 23243 |
|
| 23244 |
* src/init.c (cmd_address): Don't heap-allocate `sin'; it can be on |
| 23245 |
the stack because it will be copied to closure. |
| 23246 |
|
| 23247 |
Thanks to Csaba Raduly's run of PC-LINT over the sources. |
| 23248 |
|
| 23249 |
2000-12-17 Hrvoje Niksic <[email protected]> |
| 23250 |
|
| 23251 |
* src/mswindows.c: Include <errno.h>. |
| 23252 |
|
| 23253 |
* src/gen_sslfunc.c: Include <errno.h>. |
| 23254 |
|
| 23255 |
* src/ftp-basic.c: Don't attempt to declare errno or h_errno because |
| 23256 |
they're not used. |
| 23257 |
|
| 23258 |
* src/main.c: Include <errno.h> because errno is used. |
| 23259 |
|
| 23260 |
* src/ftp.c: Ditto. |
| 23261 |
|
| 23262 |
* src/http.c: Include <netdb.h> for h_errno. |
| 23263 |
|
| 23264 |
2000-12-17 Hrvoje Niksic <[email protected]> |
| 23265 |
|
| 23266 |
* src/http.c (basic_authentication_encode): Use xmalloc(), not |
| 23267 |
malloc(). Thanks to Csaba Raduly's run of PC-LINT over the |
| 23268 |
sources. |
| 23269 |
|
| 23270 |
2000-12-17 Csaba Raduly <[email protected]> |
| 23271 |
|
| 23272 |
* src/sysdep.h: Test for __EMX__ rather than for EMXOS2 for OS/2 |
| 23273 |
compilation. |
| 23274 |
|
| 23275 |
2000-12-13 Hrvoje Niksic <[email protected]> |
| 23276 |
|
| 23277 |
* src/html-parse.c (advance_declaration): MSVC assert() chokes on |
| 23278 |
'\"'. Use '"' instead. |
| 23279 |
|
| 23280 |
2000-12-11 Hrvoje Niksic <[email protected]> |
| 23281 |
|
| 23282 |
* src/utils.c (xfree_real): Removed. |
| 23283 |
(xfree_debug): Just call free(). |
| 23284 |
|
| 23285 |
* src/wget.h (xfree): Make it an alias for free. |
| 23286 |
|
| 23287 |
2000-12-11 Hrvoje Niksic <[email protected]> |
| 23288 |
|
| 23289 |
* src/http.c (http_loop): Furthermore, touch output_document only if |
| 23290 |
it is known to be an existing regular file. |
| 23291 |
|
| 23292 |
2000-12-11 Hrvoje Niksic <[email protected]> |
| 23293 |
|
| 23294 |
* src/ftp.c (ftp_retrieve_list): Ditto. |
| 23295 |
|
| 23296 |
* src/http.c (http_loop): Touch output_document if that is used for |
| 23297 |
output. |
| 23298 |
|
| 23299 |
2000-12-10 Hrvoje Niksic <[email protected]> |
| 23300 |
|
| 23301 |
* po/POTFILES.in: Updated. |
| 23302 |
|
| 23303 |
2000-12-10 Hrvoje Niksic <[email protected]> |
| 23304 |
|
| 23305 |
* doc/Makefile.in (install.info): Info files are *not* in $(srcdir), |
| 23306 |
but in the current build dir. |
| 23307 |
|
| 23308 |
2000-12-10 Hrvoje Niksic <[email protected]> |
| 23309 |
|
| 23310 |
* configure.in: Add windows/Makefile to the output block. |
| 23311 |
|
| 23312 |
* windows/Makefile.in: New file. |
| 23313 |
|
| 23314 |
* README.cvs: New file. |
| 23315 |
|
| 23316 |
2000-12-06 Hrvoje Niksic <[email protected]> |
| 23317 |
|
| 23318 |
* src/rbuf.h: Implement only a single version of RBUF_READCHAR, using |
| 23319 |
rbuf_read_bufferful when the buffer is depleted. |
| 23320 |
|
| 23321 |
* src/rbuf.c (rbuf_read_bufferful): New function. |
| 23322 |
|
| 23323 |
2000-12-06 Hrvoje Niksic <[email protected]> |
| 23324 |
|
| 23325 |
* src/http.c: Include gen_sslfunc.h after including Wget's headers. |
| 23326 |
(persistent_available_p): Needed coma before `int ssl'. |
| 23327 |
|
| 23328 |
2000-12-06 Hrvoje Niksic <[email protected]> |
| 23329 |
|
| 23330 |
* src/gen_sslfunc.h: Use ansi2knr style function declarations. |
| 23331 |
|
| 23332 |
* src/gen_sslfunc.c: Reformat according to the GNU coding standards. |
| 23333 |
More should be done. |
| 23334 |
|
| 23335 |
* src/http.c (persistent_available_p): Place the cheap SSL test nearer |
| 23336 |
the top of the function. |
| 23337 |
(CLOSE_FINISH, CLOSE_INVALIDATE): Define only one version of each. |
| 23338 |
|
| 23339 |
2000-12-06 Hrvoje Niksic <[email protected]> |
| 23340 |
|
| 23341 |
* src/ftp.c (ftp_loop_internal): Ditto. |
| 23342 |
|
| 23343 |
* src/http.c (http_loop): Use it. |
| 23344 |
|
| 23345 |
* src/retr.c (sleep_between_retrievals): New function that handles the |
| 23346 |
logic of opt.wait and opt.waitretry. |
| 23347 |
|
| 23348 |
2000-12-05 Hrvoje Niksic <[email protected]> |
| 23349 |
|
| 23350 |
* src/url.c (init_unsafe_char_table): Reinstate space as an unsafe |
| 23351 |
char. |
| 23352 |
|
| 23353 |
2000-12-05 Hrvoje Niksic <[email protected]> |
| 23354 |
|
| 23355 |
* configure.in: Don't unconditionally define HAVE_SSL, even when |
| 23356 |
--with-ssl is given. |
| 23357 |
|
| 23358 |
2000-12-03 Christian Fraenkel <[email protected]> |
| 23359 |
|
| 23360 |
* src/Makefile.in: added gen_sslfunc object |
| 23361 |
* src/config.h.in: added HAVE_SSL define |
| 23362 |
* src/connect.c: changed select_fd from static int to int |
| 23363 |
* src/connect.h: ditto |
| 23364 |
* src/gen_sslfunc.h: New file |
| 23365 |
* src/gen_sslfunc.c: ditto |
| 23366 |
* src/http.c: added HTTPS fuctionality |
| 23367 |
* src/retrc.c: ditto |
| 23368 |
* src/url.c: ditto |
| 23369 |
* src/init.c: added opt.httpsproxy |
| 23370 |
* src/options.h: ditto |
| 23371 |
* src/rbuf.h: added alternate rbuf struct |
| 23372 |
* src/wget.h: added CONSSLERR |
| 23373 |
* src/rbuf.c: ditto |
| 23374 |
|
| 23375 |
* src/http.c: Added HTTPS fuctionality. |
| 23376 |
|
| 23377 |
* src/retrc.c: Ditto. |
| 23378 |
|
| 23379 |
* src/url.c: Ditto. |
| 23380 |
|
| 23381 |
* src/init.c: Added opt.httpsproxy. |
| 23382 |
|
| 23383 |
* src/options.h: Ditto. |
| 23384 |
|
| 23385 |
* src/rbuf.h: Added alternate rbuf struct. |
| 23386 |
|
| 23387 |
* src/wget.h: Added CONSSLERR. |
| 23388 |
|
| 23389 |
* src/rbuf.c: Ditto. |
| 23390 |
|
| 23391 |
2000-12-03 Christian Fraenkel <[email protected]> |
| 23392 |
|
| 23393 |
* INSTALL: Added the --with-ssl switch. |
| 23394 |
|
| 23395 |
* configure.in: Ditto. |
| 23396 |
|
| 23397 |
* TODO: Removed the corresponding entry. |
| 23398 |
|
| 23399 |
2000-11-30 Jan Prikryl <[email protected]> |
| 23400 |
|
| 23401 |
* src/ftp-ls.c (ftp_parse_unix_ls): Added second parameter |
| 23402 |
"ignore_perms" to ignore file and directory permissions for |
| 23403 |
Windows NT FTP server listings. |
| 23404 |
(ftp_parse_winnt_ls): New function. |
| 23405 |
(ftp_parse_ls): Parses UNIX and Windows NT listings |
| 23406 |
separately. Simple heuristics for distinguishing between UNIX and |
| 23407 |
MS-DOS-like FTP listing provided by Windows NT FTP service. |
| 23408 |
|
| 23409 |
2000-11-30 Jan Prikryl <[email protected]> |
| 23410 |
|
| 23411 |
* src/ftp-ls.c (ftp_parse_unix_ls): Added second parameter |
| 23412 |
"ignore_perms" to ignore file and directory permissions for |
| 23413 |
Windows NT FTP server listings. |
| 23414 |
(ftp_parse_winnt_ls): New function. |
| 23415 |
(ftp_parse_ls): Parses UNIX and Windows NT listings |
| 23416 |
separately. Simple heuristics for distinguishing between UNIX |
| 23417 |
and MS-DOS-like FTP listing provided by Windows NT FTP service. |
| 23418 |
|
| 23419 |
2000-11-29 John Summerfield <[email protected]> |
| 23420 |
|
| 23421 |
* src/netrc.c (parse_netrc): Get rid of line ending. |
| 23422 |
|
| 23423 |
2000-11-25 Karl Eichwalder <[email protected]> |
| 23424 |
|
| 23425 |
* Makefile.in (SUBDIRS): Add 'windows'. |
| 23426 |
(dist, DISTFILES): Don't distribute CVS directories. |
| 23427 |
|
| 23428 |
2000-11-25 Hrvoje Niksic <[email protected]> |
| 23429 |
|
| 23430 |
* src/ftp.c (ftp_retrieve_list): Undo typo "fix" until resolution by |
| 23431 |
Dan. |
| 23432 |
|
| 23433 |
2000-11-24 Karl Eichwalder <[email protected]> |
| 23434 |
|
| 23435 |
* src/main.c (print_help): Untabify. |
| 23436 |
|
| 23437 |
2000-11-23 Hrvoje Niksic <[email protected]> |
| 23438 |
|
| 23439 |
* src/utils.c (xrealloc_debug): Do the unregister/register thing only |
| 23440 |
if the pointer has actually changed. |
| 23441 |
(xmalloc_real): Declare `static' in DEBUG_MALLOC builds. |
| 23442 |
(xfree_real): Ditto. |
| 23443 |
(xrealloc_real): Ditto. |
| 23444 |
(xstrdup_real): Ditto. |
| 23445 |
|
| 23446 |
2000-11-23 Hrvoje Niksic <[email protected]> |
| 23447 |
|
| 23448 |
* configure.in: Build ALL_LINGUAS dynamically. |
| 23449 |
|
| 23450 |
2000-11-22 Hrvoje Niksic <[email protected]> |
| 23451 |
|
| 23452 |
* src/ftp.c (getftp): ftp_getaddress() returns a malloc'ed copy of the |
| 23453 |
string; no need to strdup() it. |
| 23454 |
(getftp): Make pwd_len a local variable. |
| 23455 |
(ftp_loop): Free PWD before returning. |
| 23456 |
|
| 23457 |
* src/init.c (cleanup): Free opt.ftp_pass only if it's non-NULL. |
| 23458 |
|
| 23459 |
2000-11-22 Hrvoje Niksic <[email protected]> |
| 23460 |
|
| 23461 |
* src/all: Use xfree() instead of free. |
| 23462 |
|
| 23463 |
* src/utils.c (xfree): New function. |
| 23464 |
|
| 23465 |
2000-11-21 Hrvoje Niksic <[email protected]> |
| 23466 |
|
| 23467 |
* src/url.c (convert_links): HTML-quote the converted string. |
| 23468 |
|
| 23469 |
* src/utils.c (html_quote_string): Move here from ftp-ls.c |
| 23470 |
(html_quote_string): Make non-static; declare in utils.h. |
| 23471 |
(html_quote_string): Convert SP to  . |
| 23472 |
|
| 23473 |
2000-11-21 Hrvoje Niksic <[email protected]> |
| 23474 |
|
| 23475 |
* src/hash.c (hash_table_put): Don't overwrite deleted mappings. |
| 23476 |
|
| 23477 |
2000-11-21 Hrvoje Niksic <[email protected]> |
| 23478 |
|
| 23479 |
* src/hash.c (find_mapping): New function. |
| 23480 |
(hash_table_get): Use it. |
| 23481 |
(hash_table_get_pair): Ditto. |
| 23482 |
(hash_table_exists): Ditto. |
| 23483 |
(hash_table_remove): Ditto. |
| 23484 |
(hash_table_remove): Really delete the entry if the mapping |
| 23485 |
following LOCATION is empty. |
| 23486 |
|
| 23487 |
* src/utils.c (string_set_add): Check whether the element has existed |
| 23488 |
before. |
| 23489 |
|
| 23490 |
* src/hash.c (hash_table_get_pair): New function. |
| 23491 |
|
| 23492 |
2000-11-21 Hrvoje Niksic <[email protected]> |
| 23493 |
|
| 23494 |
* src/ftp.c (getftp): Reformat Jan's code according to GNU coding |
| 23495 |
standards; remove (debugging?) printf's; use '\0' for the ASCII |
| 23496 |
zero character. Use alloca() instead of malloc() for |
| 23497 |
inter-function temporary allocations. |
| 23498 |
|
| 23499 |
2000-11-20 Hrvoje Niksic <[email protected]> |
| 23500 |
|
| 23501 |
* src/version.c: Bump version from 1.5.3+dev to 1.7-dev. |
| 23502 |
|
| 23503 |
2000-11-20 Hrvoje Niksic <[email protected]> |
| 23504 |
|
| 23505 |
* src/recur.c (recursive_retrieve): Print the "so we don't load" |
| 23506 |
debugging message only if we really don't load. |
| 23507 |
|
| 23508 |
* src/http.c (gethttp): Inhibit keep-alive if proxy is being used. |
| 23509 |
(gethttp): Don't request keep-alive if keep-alive is inhibited. |
| 23510 |
|
| 23511 |
2000-11-20 Hrvoje Niksic <[email protected]> |
| 23512 |
|
| 23513 |
* src/http.c (http_process_type): Ignore trailing whitespace; use |
| 23514 |
strdupdelim(). |
| 23515 |
|
| 23516 |
* src/recur.c (recursive_retrieve): Use the new `convert' field. |
| 23517 |
(convert_all_links): Ditto. |
| 23518 |
(convert_all_links): Don't respect meta_disallow_follow. |
| 23519 |
|
| 23520 |
* src/html-url.c (handle_link): Fill out link_relative_p and |
| 23521 |
link_complete_p. |
| 23522 |
|
| 23523 |
* src/url.h (struct _urlpos): Make elements more readable. |
| 23524 |
|
| 23525 |
* src/recur.c (recursive_retrieve): Call slist_prepend instead of |
| 23526 |
slist_append. |
| 23527 |
(convert_all_links): Call slist_nreverse before iterating through |
| 23528 |
urls_html. |
| 23529 |
|
| 23530 |
* src/utils.c (slist_prepend): New function. |
| 23531 |
(slist_nreverse): Ditto. |
| 23532 |
|
| 23533 |
2000-11-20 Hrvoje Niksic <[email protected]> |
| 23534 |
|
| 23535 |
* src/http.c (http_loop): If username and password are known, try the |
| 23536 |
`Basic' authentication scheme by default. |
| 23537 |
|
| 23538 |
* src/connect.h: Declare test_socket_open. |
| 23539 |
|
| 23540 |
2000-11-20 Hrvoje Niksic <[email protected]> |
| 23541 |
|
| 23542 |
* src/http.c (gethttp): Don't use the return value of sprintf(). |
| 23543 |
(gethttp): Inhibit keep-alive if opt.http_keep_alive is 0. |
| 23544 |
|
| 23545 |
2000-11-20 Hrvoje Niksic <[email protected]> |
| 23546 |
|
| 23547 |
* src/http.c (check_end): Constify. |
| 23548 |
|
| 23549 |
2000-11-19 Hrvoje Niksic <[email protected]> |
| 23550 |
|
| 23551 |
* src/url.c (convert_links): Handle UREL2ABS case. |
| 23552 |
|
| 23553 |
* src/recur.c (recursive_retrieve): Instead of the list |
| 23554 |
urls_downloaded, use hash tables dl_file_url_map and |
| 23555 |
dl_url_file_map. |
| 23556 |
(convert_all_links): Use them to retrieve data. |
| 23557 |
|
| 23558 |
* src/host.c (clean_hosts): Free the hash tables. |
| 23559 |
|
| 23560 |
* src/main.c (private_initialize): Call host_init(). |
| 23561 |
|
| 23562 |
* src/host.c (store_hostaddress): Use a saner, hash table-based data |
| 23563 |
model. |
| 23564 |
(realhost): Ditto. |
| 23565 |
(host_init): Initialize the hash tables. |
| 23566 |
|
| 23567 |
2000-11-19 Hrvoje Niksic <[email protected]> |
| 23568 |
|
| 23569 |
* src/retr.c (get_contents): If use_expected, make sure that the |
| 23570 |
appropriate amount of data is being read. |
| 23571 |
|
| 23572 |
* src/http.c (gethttp): Check for both `Keep-Alive: ...' and |
| 23573 |
`Connection: Keep-Alive'. |
| 23574 |
|
| 23575 |
* src/wget.h (DEBUGP): Call debug_logprintf only if opt.debug is |
| 23576 |
turned on. |
| 23577 |
|
| 23578 |
2000-11-19 Hrvoje Niksic <[email protected]> |
| 23579 |
|
| 23580 |
* src/http.c (gethttp): Make the HTTP persistent connections more |
| 23581 |
robust. |
| 23582 |
|
| 23583 |
2000-11-19 Hrvoje Niksic <[email protected]> |
| 23584 |
|
| 23585 |
* src/http.c (connection_available_p): Use it. |
| 23586 |
|
| 23587 |
* src/connect.c (test_socket_open): New function. |
| 23588 |
|
| 23589 |
* src/http.c (gethttp): Support persistent connections. Based on the |
| 23590 |
ideas, and partly on code, by Sam Horrocks <[email protected]>. |
| 23591 |
(register_persistent): New function. |
| 23592 |
(connection_available_p): Ditto. |
| 23593 |
(invalidate_connection): Ditto. |
| 23594 |
|
| 23595 |
2000-11-18 Jan Prikryl <[email protected]> |
| 23596 |
|
| 23597 |
* src/ftpparse.c, ftpparse.h: New files. |
| 23598 |
|
| 23599 |
* src/ftp-ls.c (ftp_parse_ls): Use ftp_parse_unix_ls for UNIX servers |
| 23600 |
only. Use ftp_parse_nonunix_ls otherwise. |
| 23601 |
(ftp_parse_nonunix_ls): Stub to the ftpparse library handling all |
| 23602 |
exotic FTP servers. |
| 23603 |
|
| 23604 |
* src/ftp.h (stype): New enum, distinguishes UNIX, VMS, and "other" |
| 23605 |
FTP servers. |
| 23606 |
|
| 23607 |
* src/ftp.c: New static wariables host_type, pwd, and pwd_len. |
| 23608 |
(getftp): Support for VMS. Support for FTP servers that do not |
| 23609 |
place you in the root directory after login. |
| 23610 |
(ftp_retrieve_list): VMS is silent about the real file size, issue |
| 23611 |
a more appropriate message. |
| 23612 |
(ftp_get_listing): Pass host_type to ftp_parse_ls. |
| 23613 |
|
| 23614 |
* src/ftp-basic.c (ftp_pwd, ftp_syst): New functions. |
| 23615 |
|
| 23616 |
2000-11-18 Jan Prikryl <[email protected]> |
| 23617 |
|
| 23618 |
* src/ftpparse.c, ftpparse.h: New files. |
| 23619 |
|
| 23620 |
* src/ftp-ls.c (ftp_parse_ls): Use ftp_parse_unix_ls for UNIX servers |
| 23621 |
only. Use ftp_parse_nonunix_ls otherwise. |
| 23622 |
(ftp_parse_nonunix_ls): Stub to the ftpparse library handling all |
| 23623 |
exotic FTP servers. |
| 23624 |
|
| 23625 |
* src/ftp.h (stype): New enum, distinguishes UNIX, VMS, and "other" |
| 23626 |
FTP servers. |
| 23627 |
|
| 23628 |
* src/ftp.c: New static wariables host_type, pwd, and pwd_len. |
| 23629 |
(getftp): Support for VMS. Support for FTP servers that do not |
| 23630 |
place you in the root directory after login. |
| 23631 |
(ftp_retrieve_list): VMS is silent about the real file size, issue |
| 23632 |
a more appropriate message. |
| 23633 |
(ftp_get_listing): Pass host_type to ftp_parse_ls. |
| 23634 |
|
| 23635 |
* src/ftp-basic.c (ftp_pwd, ftp_syst): New functions. |
| 23636 |
|
| 23637 |
2000-11-18 Hrvoje Niksic <[email protected]> |
| 23638 |
|
| 23639 |
* src/utils.c (slist_append): Eviscerate NOSORT. Hash tables are now |
| 23640 |
used for what the sorted slists used to be used for. |
| 23641 |
(slist_contains): Don't rely on the list being sorted. |
| 23642 |
(slist_append): Simplify the code. |
| 23643 |
|
| 23644 |
* src/recur.c (recursive_cleanup): Use free_string_set. |
| 23645 |
|
| 23646 |
* src/utils.c (string_set_add, string_set_exists, string_set_free): |
| 23647 |
New functions for easier freeing of hash tables whose keys are |
| 23648 |
strdup'ed strings. |
| 23649 |
|
| 23650 |
* src/recur.c (recursive_retrieve): Use the hash table functions for |
| 23651 |
storing undesirable URLs. |
| 23652 |
|
| 23653 |
* src/hash.c: New file. |
| 23654 |
|
| 23655 |
2000-11-17 Hrvoje Niksic <[email protected]> |
| 23656 |
|
| 23657 |
* src/main.c (private_initialize): Call url_init. |
| 23658 |
(main): Call private_initialize. |
| 23659 |
|
| 23660 |
* src/url.c (unsafe_char_table): New table. |
| 23661 |
(UNSAFE_CHAR): Use it. |
| 23662 |
(init_unsafe_char_table): New function. |
| 23663 |
(url_init): New function; call init_unsafe_char_table. |
| 23664 |
|
| 23665 |
2000-11-16 Hrvoje Niksic <[email protected]> |
| 23666 |
|
| 23667 |
* windows/config.h.ms: snprintf and vsnprintf exist under Windows. |
| 23668 |
|
| 23669 |
* windows/Makefile.src: Back out previous change. |
| 23670 |
|
| 23671 |
2000-11-16 Hrvoje Niksic <[email protected]> |
| 23672 |
|
| 23673 |
* src/mswindows.h: Define snprintf and vsnprintf to _snprintf and |
| 23674 |
_vsnprintf respectively. |
| 23675 |
|
| 23676 |
2000-11-16 Hrvoje Niksic <[email protected]> |
| 23677 |
|
| 23678 |
* doc/wget.texi: Use --- consistently. |
| 23679 |
Spell "Wget" with starting capital letter consistently. |
| 23680 |
Use ``...'' or @dfn{} instead of simple double quotes where |
| 23681 |
appropriate. |
| 23682 |
Use double space as separator between sentences consistently. |
| 23683 |
|
| 23684 |
2000-11-16 Herold Heiko <[email protected]> |
| 23685 |
|
| 23686 |
* windows/Makefile.src: Compile in vsnprintf.c. |
| 23687 |
|
| 23688 |
2000-11-15 Hrvoje Niksic <[email protected]> |
| 23689 |
|
| 23690 |
* src/html-url.c (handle_link): Handle HTML fragment identifiers. |
| 23691 |
|
| 23692 |
* src/recur.c (recursive_retrieve): If norobot info is respected and |
| 23693 |
the file is specified not to be followed by robots, respect that. |
| 23694 |
|
| 23695 |
* src/html-url.c (collect_tags_mapper): Handle <meta name=robots |
| 23696 |
content=X>. For us the important cases are where X is NONE or |
| 23697 |
where X contains NOFOLLOW. |
| 23698 |
(get_urls_html): Propagate that information to the caller. |
| 23699 |
|
| 23700 |
2000-11-15 Hrvoje Niksic <[email protected]> |
| 23701 |
|
| 23702 |
* src/config.h.in: Do the _XOPEN_SOURCE and _SVID_SOURCE things only |
| 23703 |
on Linux. |
| 23704 |
|
| 23705 |
2000-11-15 Hrvoje Niksic <[email protected]> |
| 23706 |
|
| 23707 |
* doc/wget.texi (Robots): Rearrange text. Mention the meta tag. |
| 23708 |
|
| 23709 |
2000-11-15 Hrvoje Niksic <[email protected]> |
| 23710 |
|
| 23711 |
* doc/wget.texi (Robots): Document that we now support the meta tag |
| 23712 |
exclusion. |
| 23713 |
|
| 23714 |
2000-11-14 Hrvoje Niksic <[email protected]> |
| 23715 |
|
| 23716 |
* doc/wget.texi: Add GFDL; remove norobots specification. |
| 23717 |
|
| 23718 |
* doc/wget.texi (Sample Wgetrc): Remove warnings with lateish |
| 23719 |
makeinfo, mostly by changing xref{} to pxref{} when inside |
| 23720 |
parentheses. |
| 23721 |
|
| 23722 |
2000-11-13 Hrvoje Niksic <[email protected]> |
| 23723 |
|
| 23724 |
* src/url.c (convert_links): Unlink the file we might be reading from |
| 23725 |
before writing to it. |
| 23726 |
(convert_links): Use alloca instead of malloc for |
| 23727 |
filename_plus_orig_suffix. |
| 23728 |
|
| 23729 |
2000-11-12 Hrvoje Niksic <[email protected]> |
| 23730 |
|
| 23731 |
* src/host.c (realhost): Add HOST to the list with quality==0 only if |
| 23732 |
it wasn't already there. |
| 23733 |
Based on analysis by Lu Guohan <[email protected]>. |
| 23734 |
|
| 23735 |
2000-11-10 Hrvoje Niksic <[email protected]> |
| 23736 |
|
| 23737 |
* src/url.c (get_urls_file): Ditto. |
| 23738 |
(convert_links): Ditto. |
| 23739 |
|
| 23740 |
* src/html-url.c (get_urls_html): Use read_file() instead of |
| 23741 |
load_file(). |
| 23742 |
|
| 23743 |
* src/utils.c (read_file): New function, instead of the old |
| 23744 |
load_file(). |
| 23745 |
(read_file_free): Ditto. |
| 23746 |
|
| 23747 |
* src/url.c (findurl): Search only for the supported protocols. |
| 23748 |
(convert_links): Use fwrite() when writing out a region of |
| 23749 |
characters. |
| 23750 |
|
| 23751 |
2000-11-10 Hrvoje Niksic <[email protected]> |
| 23752 |
|
| 23753 |
* src/init.c (run_wgetrc): Don't bother killing off '\r' since |
| 23754 |
pars_line() skips whitespace at end of line anyway. |
| 23755 |
(parse_line): Oops, it didn't. Now it does. |
| 23756 |
|
| 23757 |
* src/recur.c (parse_robots): Ditto here. |
| 23758 |
|
| 23759 |
* src/ftp-ls.c (ftp_parse_unix_ls): Kill off the newline character |
| 23760 |
manually because read_whole_line no longer does. |
| 23761 |
|
| 23762 |
* src/utils.c (read_whole_line): Rewrite to: a) use less memory |
| 23763 |
(reallocates to needed size after work), b) work faster --> |
| 23764 |
fgets() instead of getc, c) be more correct --> doesn't kill the |
| 23765 |
newline character at the end of line. |
| 23766 |
|
| 23767 |
2000-11-10 Hrvoje Niksic <[email protected]> |
| 23768 |
|
| 23769 |
* src/init.c (comind): Initialize MAX to array size - 1. |
| 23770 |
|
| 23771 |
2000-11-10 Hrvoje Niksic <[email protected]> |
| 23772 |
|
| 23773 |
* src/ftp-ls.c: Move html_quote_string and ftp_index here. |
| 23774 |
|
| 23775 |
* src/url.c: Remove get_urls_html, since that's now in html-url.c. |
| 23776 |
|
| 23777 |
* src/html-url.c: New file. |
| 23778 |
|
| 23779 |
* src/html-parse.c: New file. |
| 23780 |
|
| 23781 |
2000-11-10 Hrvoje Niksic <[email protected]> |
| 23782 |
|
| 23783 |
* doc/wget.texi: cc.fer.hr -> srk.fer.hr. |
| 23784 |
|
| 23785 |
2000-11-10 Hrvoje Niksic <[email protected]> |
| 23786 |
|
| 23787 |
* configure.in: Test for MMAP. |
| 23788 |
|
| 23789 |
2000-11-08 Hrvoje Niksic <[email protected]> |
| 23790 |
|
| 23791 |
* src/url.c (construct): Handle the case where host name is not |
| 23792 |
followed by a slash. |
| 23793 |
|
| 23794 |
2000-11-08 Hrvoje Niksic <[email protected]> |
| 23795 |
|
| 23796 |
* src/url.c (construct): Changed last_slash[-1] to *(last_slash - 1). |
| 23797 |
Suggested by Edward J. Sabol. |
| 23798 |
|
| 23799 |
2000-11-06 Hrvoje Niksic <[email protected]> |
| 23800 |
|
| 23801 |
* src/init.c: commands[] need to be sorted! ("base" wasn't.) |
| 23802 |
|
| 23803 |
2000-11-05 Hrvoje Niksic <[email protected]> |
| 23804 |
|
| 23805 |
* src/wget.h (DO_REALLOC_FROM_ALLOCA): Use braces to disambiguate |
| 23806 |
`if'. |
| 23807 |
|
| 23808 |
2000-11-05 Hrvoje Niksic <[email protected]> |
| 23809 |
|
| 23810 |
* src/url.c (construct): Insert unneeded initialization for the |
| 23811 |
compiler to shut up. |
| 23812 |
|
| 23813 |
* src/config.h.in: Define _XOPEN_SOURCE to 500 to get the prototype |
| 23814 |
for strptime() (*duh*). Define _SVID_SOURCE to get S_IFLNK which |
| 23815 |
otherwise gets lost when you define _XOPEN_SOURCE. |
| 23816 |
|
| 23817 |
* src/utils.c (touch): Include the file name in the error message. |
| 23818 |
From Debian. |
| 23819 |
|
| 23820 |
2000-11-05 Hrvoje Niksic <[email protected]> |
| 23821 |
|
| 23822 |
* src/url.c (construct): Fix comment. |
| 23823 |
(find_last_char): Document. |
| 23824 |
|
| 23825 |
2000-11-05 Hrvoje Niksic <[email protected]> |
| 23826 |
|
| 23827 |
* src/log.c (logvprintf): Use vsnprintf() in all cases. If necessary, |
| 23828 |
resize the buffer to fit the formated message. That way, messages |
| 23829 |
of arbitrary size may be printed. |
| 23830 |
(logvprintf): Use saved_append() to optionally log the last |
| 23831 |
several lines of output. |
| 23832 |
(logputs): Ditto. |
| 23833 |
(log_close): Adapt to new data structures. |
| 23834 |
(log_dump): Ditto. |
| 23835 |
(redirect_output): Print messages to stderr, not to stdout. |
| 23836 |
|
| 23837 |
* src/log.c (saved_append_1): New function. Replaces the old logging |
| 23838 |
system ("log all output until 10M characters") with a new, much |
| 23839 |
more reasonable one ("log last screenful of text"). |
| 23840 |
(saved_append): New function; call saved_append_1. |
| 23841 |
(free_log_line): New function. |
| 23842 |
|
| 23843 |
2000-11-05 Hrvoje Niksic <[email protected]> |
| 23844 |
|
| 23845 |
* doc/wget.texi: Updated names of contributors. |
| 23846 |
|
| 23847 |
2000-11-05 Hrvoje Niksic <[email protected]> |
| 23848 |
|
| 23849 |
* doc/Makefile.in (sample.wgetrc.munged_for_texi_inclusion): Use $(srcdir). |
| 23850 |
|
| 23851 |
2000-11-04 Hrvoje Niksic <[email protected]> |
| 23852 |
|
| 23853 |
* src/snprintf.c: New file. |
| 23854 |
|
| 23855 |
2000-11-03 Hrvoje Niksic <[email protected]> |
| 23856 |
|
| 23857 |
* src/wget.h: If HAVE_STDARG_H is not defined, don't declare argument |
| 23858 |
types to logprintf() and debug_logprintf(). |
| 23859 |
|
| 23860 |
2000-11-02 Tyler Riddle <[email protected]> |
| 23861 |
|
| 23862 |
* src/http.c (known_authentication_scheme_p): Recognize NTML |
| 23863 |
authentication. |
| 23864 |
(create_authorization_line): Treat NTML the same as `Basic'. |
| 23865 |
|
| 23866 |
2000-11-02 Matthew Seaman <[email protected]> |
| 23867 |
|
| 23868 |
* util/rmold.pl: Various fixes. |
| 23869 |
|
| 23870 |
2000-11-02 Junio Hamano <[email protected]> |
| 23871 |
|
| 23872 |
* src/ftp-basic.c (ftp_login): Make comparison case-insensitive. |
| 23873 |
|
| 23874 |
2000-11-02 Hrvoje Niksic <[email protected]> |
| 23875 |
|
| 23876 |
* src/url.c (parseurl): Remove possible reading past the end of |
| 23877 |
sup_protos[]. Spotted by Mark A. Mankins <[email protected]>. |
| 23878 |
|
| 23879 |
2000-11-02 Hrvoje Niksic <[email protected]> |
| 23880 |
|
| 23881 |
* src/retr.c (retrieve_url): Free url before returning. |
| 23882 |
(retrieve_url): Free mynewloc before returning. |
| 23883 |
Spotted by Mark A. Mankins <[email protected]>. |
| 23884 |
|
| 23885 |
2000-11-02 Hrvoje Niksic <[email protected]> |
| 23886 |
|
| 23887 |
* src/ftp.c (ftp_loop_internal): Hide the password from the URL when |
| 23888 |
printing non-verbose. Problem spotted by Dariusz Mlynarczyk |
| 23889 |
<[email protected]>. |
| 23890 |
|
| 23891 |
2000-11-01 Hrvoje Niksic <[email protected]> |
| 23892 |
|
| 23893 |
* src/wget.h (enum): Remove extra space after last enumeration. |
| 23894 |
|
| 23895 |
2000-11-01 Hrvoje Niksic <[email protected]> |
| 23896 |
|
| 23897 |
* src/utils.c (long_to_string): Update with a later, better version. |
| 23898 |
|
| 23899 |
2000-11-01 Hrvoje Niksic <[email protected]> |
| 23900 |
|
| 23901 |
* src/url.c (path_simplify_with_kludge): New function. |
| 23902 |
(path_simplify_with_kludge): Disable it. Instead... |
| 23903 |
(parse_dir): ...make sure that at this point the right thing is |
| 23904 |
done, i.e. that "query" part of the URL (?...) is always assigned |
| 23905 |
to the file, never to the directory portion of the path. |
| 23906 |
|
| 23907 |
2000-11-01 Hrvoje Niksic <[email protected]> |
| 23908 |
|
| 23909 |
* src/url.c (get_urls_html): Decode HTML entities using |
| 23910 |
html_decode_entities. |
| 23911 |
|
| 23912 |
* src/html.c (htmlfindurl): Don't count the `#' in numeric entities |
| 23913 |
(&#NNN;) as an HTML fragemnt. |
| 23914 |
(html_decode_entities): New function. |
| 23915 |
|
| 23916 |
2000-11-01 Hrvoje Niksic <[email protected]> |
| 23917 |
|
| 23918 |
* src/url.c (construct): Rewritten for clarity. Avoids the |
| 23919 |
unnecessary copying and stack-allocation the old version |
| 23920 |
performed. |
| 23921 |
|
| 23922 |
2000-11-01 Hrvoje Niksic <[email protected]> |
| 23923 |
|
| 23924 |
* src/retr.c (retrieve_url): Detect redirection cycles. |
| 23925 |
|
| 23926 |
2000-11-01 Hrvoje Niksic <[email protected]> |
| 23927 |
|
| 23928 |
* src/main.c (main): Use legible_very_long() for printing |
| 23929 |
opt.downloaded. |
| 23930 |
|
| 23931 |
* src/utils.c (legible_1): New function that operates on strings and |
| 23932 |
does the brunt of legible()'s work. |
| 23933 |
(legible): Use legible_1(). |
| 23934 |
(legible_very_long): New function; dump the argument with |
| 23935 |
sprintf(), and call legible_1(). |
| 23936 |
|
| 23937 |
* src/options.h (struct options): Use VERY_LONG_TYPE for |
| 23938 |
opt.downloaded. |
| 23939 |
|
| 23940 |
* src/sysdep.h (VERY_LONG_TYPE): Define it to have a 64-bit or greater |
| 23941 |
type. |
| 23942 |
|
| 23943 |
* src/config.h.in: Make sure that SIZEOF_LONG and SIZEOF_LONG_LONG get |
| 23944 |
defined. Define HAVE_LONG_LONG if long long is available. |
| 23945 |
|
| 23946 |
2000-11-01 Hrvoje Niksic <[email protected]> |
| 23947 |
|
| 23948 |
* src/main.c (main): In case of opt.downloaded overflowing, print |
| 23949 |
<overflow> instead of a totally bogus random value. |
| 23950 |
|
| 23951 |
* src/retr.c (retrieve_from_file): Ditto. |
| 23952 |
|
| 23953 |
* src/recur.c (recursive_retrieve): Ditto. |
| 23954 |
|
| 23955 |
* src/main.c (main): Ditto. |
| 23956 |
|
| 23957 |
* src/http.c (http_loop): Ditto. |
| 23958 |
|
| 23959 |
* src/ftp.c (ftp_loop_internal): Use downloaded_increase() instead of |
| 23960 |
`+=', and downloaded_exceeds_quota() instead of the simple-minded |
| 23961 |
check. |
| 23962 |
(ftp_retrieve_list): Ditto. |
| 23963 |
(ftp_retrieve_dirs): Ditto. |
| 23964 |
(ftp_retrieve_glob): Ditto. |
| 23965 |
|
| 23966 |
* src/retr.c (downloaded_increase): New function. Notice overflows of |
| 23967 |
opt.downloaded. |
| 23968 |
(downloaded_exceeds_quota): Make sure that opt.downloaded is not |
| 23969 |
used if it overflowed. |
| 23970 |
|
| 23971 |
* src/options.h (struct options): New member downloaded_overflow. |
| 23972 |
|
| 23973 |
2000-11-01 Hrvoje Niksic <[email protected]> |
| 23974 |
|
| 23975 |
* src/html.c (htmlfindurl): Fix recognition of # HTML fragments. |
| 23976 |
|
| 23977 |
2000-11-01 Hrvoje Niksic <[email protected]> |
| 23978 |
|
| 23979 |
* configure.in: Check for size of long and long long. |
| 23980 |
|
| 23981 |
2000-10-31 Hrvoje Niksic <[email protected]> |
| 23982 |
|
| 23983 |
* src/retr.c (retrieve_url): Use url_concat() to handle relative |
| 23984 |
redirections instead of /ad hoc/ code. |
| 23985 |
|
| 23986 |
* src/url.c (url_concat): New function encapsulating weird |
| 23987 |
construct(). |
| 23988 |
(urllen_http_hack): New function. |
| 23989 |
(construct): When constructing new URLs, recognize that `?' does |
| 23990 |
not form part of the file name in HTTP. |
| 23991 |
|
| 23992 |
2000-10-31 Hrvoje Niksic <[email protected]> |
| 23993 |
|
| 23994 |
* src/ftp.c (getftp): Ditto. |
| 23995 |
|
| 23996 |
* src/http.c (gethttp): Rewind the stream when retrying from scratch. |
| 23997 |
|
| 23998 |
2000-10-30 Dan Harkless <[email protected]> |
| 23999 |
|
| 24000 |
* NEWS: Hrvoje pointed out that relative URL grokking deserves mention. |
| 24001 |
|
| 24002 |
2000-10-27 Dan Harkless <[email protected]> |
| 24003 |
|
| 24004 |
* src/retr.c (retrieve_url): Manually applied T. Bharath |
| 24005 |
<[email protected]>'s patch to get wget to grok |
| 24006 |
illegal relative URL redirects. Reformatted and re-commented it. |
| 24007 |
|
| 24008 |
2000-10-27 Dan Harkless <[email protected]> |
| 24009 |
|
| 24010 |
* TODO: wget now groks illegal relative URL HTTP redirects. |
| 24011 |
|
| 24012 |
2000-10-24 Dan Harkless <[email protected]> |
| 24013 |
|
| 24014 |
* NEWS: Forgot to update regarding new --bind-address option. |
| 24015 |
|
| 24016 |
2000-10-23 Hrvoje Niksic <[email protected]> |
| 24017 |
|
| 24018 |
* doc/wget.texi (HTTP Options): Remove Netscape bullying. |
| 24019 |
|
| 24020 |
2000-10-23 Dan Harkless <[email protected]> |
| 24021 |
|
| 24022 |
* src/connect.c (make_connection and bindport): Manually applied Rob |
| 24023 |
Mayoff <[email protected]>'s 1.5.3 patch to add --bind-address, |
| 24024 |
changing coding style to GNU's. |
| 24025 |
|
| 24026 |
* src/ftp.c (ftp_loop_internal): --delete-after wasn't implemented for |
| 24027 |
files downloaded via FTP. Per a comment, .listing files were not |
| 24028 |
counted towards number of bytes and files downloaded because they're |
| 24029 |
deleted anyway. Well, they aren't under -nr, so count them then. |
| 24030 |
|
| 24031 |
* src/init.c: Manually applied Rob Mayoff's 1.5.3 patch to add |
| 24032 |
--bind-address, alphabetizing, changing coding style to GNU's, |
| 24033 |
commenting, and renaming cmd_ip_address() to cmd_address() to |
| 24034 |
imply hostnames also okay. |
| 24035 |
|
| 24036 |
* src/main.c (main): --delete-after didn't delete the root of the |
| 24037 |
tree. Ignore --convert-links if --delete-after was specified. |
| 24038 |
Manually applied Rob Mayoff's 1.5.3 patch to add --bind-address, |
| 24039 |
fixing duplicate use of added-since-1.5.3 case value. |
| 24040 |
(print_help): Clarified that --delete-after deletes local files. |
| 24041 |
Rob forgot to add a line for his new --bind-address option. |
| 24042 |
|
| 24043 |
* src/options.h (struct options): Manually applied Rob Mayoff's patch |
| 24044 |
to add --bind-address (bind_address structure member). |
| 24045 |
|
| 24046 |
* src/recur.c (recursive_retrieve): Improved comment; added DEBUGP(). |
| 24047 |
Ignore --convert-links if --delete-after was specified. |
| 24048 |
|
| 24049 |
* src/retr.c (retrieve_from_file): Just added a DEBUGP(). |
| 24050 |
|
| 24051 |
2000-10-23 Dan Harkless <[email protected]> |
| 24052 |
|
| 24053 |
* doc/wget.texi (Recursive Retrieval Options): Improved --delete-after docs. |
| 24054 |
(Download Options): Documented Rob Mayoff's new --bind-address option. |
| 24055 |
(Wgetrc Commands): Documented Rob Mayoff's new bind_address command. |
| 24056 |
|
| 24057 |
2000-10-20 Dan Harkless <[email protected]> |
| 24058 |
|
| 24059 |
* doc/wget.texi (Recursive Retrieval Options): Sugg. -E on 1-page download. |
| 24060 |
|
| 24061 |
2000-10-20 Dan Harkless <[email protected]> |
| 24062 |
|
| 24063 |
* TODO: -k needs to convert '?' to "%3F" in links to saved files |
| 24064 |
containing the '?' character (e.g. CGI output). Also, we need to |
| 24065 |
check the HTTP spec w.r.t. simplification of absolute URLs. |
| 24066 |
Generalize --html-extension to something like --mime-extension. |
| 24067 |
|
| 24068 |
* MAILING-LIST: I didn't realize <[email protected]> allowed posting |
| 24069 |
by non-subscribers. <[email protected]> soon to be an alias for it. |
| 24070 |
|
| 24071 |
* NEWS: Always forget to update this file when making user-vis. changes. |
| 24072 |
|
| 24073 |
2000-10-19 Dan Harkless <[email protected]> |
| 24074 |
|
| 24075 |
* src/ftp.c (ftp_loop_internal): downloaded_file() enumerators changed. |
| 24076 |
(getftp): Applied Piotr Sulecki <[email protected]>'s |
| 24077 |
patch to work around FTP servers that incorrectly respond to the |
| 24078 |
"REST" command with the remaining size rather than the total file size. |
| 24079 |
|
| 24080 |
* src/http.c (gethttp): Improved a comment and added code to tack on |
| 24081 |
".html" to text/html files without that extension when -E specified. |
| 24082 |
(http_loop): Use new downloaded_file() enumerators and deal with |
| 24083 |
the case of gethttp() called xrealloc() on u->local. |
| 24084 |
|
| 24085 |
* src/init.c (commands): Added new "htmlextension" command. |
| 24086 |
Also renamed John Daily's cmd_quad() to the more descriptive |
| 24087 |
cmd_lockable_boolean(), alpha-sorted the CMD_DECLARE()s and |
| 24088 |
removed duplicate cmd_boolean() declaration. |
| 24089 |
|
| 24090 |
* src/main.c (print_help): Added my new -E / --html-extension option. |
| 24091 |
(main): Undocumented --email-address option previously used -E synonym. |
| 24092 |
Stole it away for the much more deserving --html-extension's use. |
| 24093 |
|
| 24094 |
* src/options.h (struct options): Added html_extension field. |
| 24095 |
|
| 24096 |
* src/url.c (convert_links): URL X that we saved as X.html locally due |
| 24097 |
to -E needs to be backed up as X.orig, not X.html.orig. Added comments. |
| 24098 |
(downloaded_file): Now remembers if we added .html extension to a file. |
| 24099 |
|
| 24100 |
* src/url.h (downloaded_file_t): Added extra enumerators to support above. |
| 24101 |
(downloaded_file): Now takes and returns a downloaded_file_t. |
| 24102 |
|
| 24103 |
* src/wget.h (unnamed "dt" enum): Added ADDED_HTML_EXTENSION enumerator. |
| 24104 |
|
| 24105 |
2000-10-19 Dan Harkless <[email protected]> |
| 24106 |
|
| 24107 |
* doc/wget.texi (HTTP Options): Documented my new -E / --html-extension. |
| 24108 |
(Wgetrc Commands): Documented my new html_extension option and |
| 24109 |
John Daily's "quad" values (which I renamed to "lockable |
| 24110 |
Boolean"). When I documented Damir Dzeko's --referer, I forgot to |
| 24111 |
add the .wgetrc equivalent; mentioned the "referrer" spelling issue. |
| 24112 |
|
| 24113 |
2000-10-19 Dan Harkless <[email protected]> |
| 24114 |
|
| 24115 |
* TODO: -E / --html-extension / html_extension has been implemented. |
| 24116 |
Make -I and -X allow an optional hostname before the directory name? |
| 24117 |
When simplifying paths, wget needs to stop at any '?' character. |
| 24118 |
|
| 24119 |
* configure.in: Put "it" language in proper alphabetical order and |
| 24120 |
added new languages "pl" and "ru". |
| 24121 |
|
| 24122 |
* po/pl.{gmo,po}: Added Grzegorz Kowal <[email protected]>'s |
| 24123 |
Polish message translation file. |
| 24124 |
|
| 24125 |
* po/ru.{gmo,po}: Added Const Kaplinsky <[email protected]>'s |
| 24126 |
Russian message translation file. |
| 24127 |
|
| 24128 |
2000-10-16 Dan Harkless <[email protected]> |
| 24129 |
|
| 24130 |
* TODO: Add option to save local filenames without extra %-encoding. |
| 24131 |
|
| 24132 |
2000-10-13 Adrian Aichner <[email protected]> |
| 24133 |
|
| 24134 |
* src/retr.c: Add msec timing support for WINDOWS. |
| 24135 |
* src/retr.c (reset_timer): GetSystemTime() on WINDOWS. |
| 24136 |
* src/retr.c (elapsed_time): Calculate delta time to msec on WINDOWS. |
| 24137 |
|
| 24138 |
2000-10-09 Dan Harkless <[email protected]> |
| 24139 |
|
| 24140 |
* src/html.c (htmlfindurl): Added unneeded initialization to quiet warning. |
| 24141 |
|
| 24142 |
* src/main.c (print_help): Clarified what --retr-symlinks does. |
| 24143 |
|
| 24144 |
2000-10-09 Dan Harkless <[email protected]> |
| 24145 |
|
| 24146 |
* doc/wget.texi (FTP Options): --retr-symlinks wasn't documented properly. |
| 24147 |
|
| 24148 |
2000-10-09 Dan Harkless <[email protected]> |
| 24149 |
|
| 24150 |
* TODO: --retr-symlinks should cause wget to traverse links to dirs too. |
| 24151 |
|
| 24152 |
2000-09-25 Dan Harkless <[email protected]> |
| 24153 |
|
| 24154 |
* TODO: Make wget return nonzero in situations like bad HTTP |
| 24155 |
auth. Make wget follow (illegal) relative URL HTTP redirects. |
| 24156 |
|
| 24157 |
2000-09-15 John Daily <[email protected]> |
| 24158 |
|
| 24159 |
* src/init.c: Add support for "always" and "never" values to allow |
| 24160 |
.wgetrc to override commandline (useful e.g. with .pm files |
| 24161 |
calling `wget --passive-ftp' when your firewall doesn't allow that). |
| 24162 |
|
| 24163 |
* src/ftp.c (getftp): passive_ftp is first option to support always/never. |
| 24164 |
|
| 24165 |
2000-08-30 Dan Harkless <[email protected]> |
| 24166 |
|
| 24167 |
* src/ftp.c (ftp_retrieve_list): Use new INFINITE_RECURSION #define. |
| 24168 |
|
| 24169 |
* src/html.c: htmlfindurl() now takes final `dash_p_leaf_HTML' parameter. |
| 24170 |
Wrapped some > 80-column lines. When -p is specified and we're at a |
| 24171 |
leaf node, do not traverse <A>, <AREA>, or <LINK> tags other than |
| 24172 |
<LINK REL="stylesheet">. |
| 24173 |
|
| 24174 |
* src/html.h (htmlfindurl): Now takes final `dash_p_leaf_HTML' parameter. |
| 24175 |
|
| 24176 |
* src/init.c: Added new -p / --page-requisites / page_requisites option. |
| 24177 |
|
| 24178 |
* src/main.c (print_help): Clarified that -l inf and -l 0 both allow |
| 24179 |
infinite recursion. Changed the unhelpful --mirrior description |
| 24180 |
to simply give the options it's equivalent to. Added new -p option. |
| 24181 |
(main): Added some comments; handle new -p / --page-requisites. |
| 24182 |
|
| 24183 |
* src/options.h (struct options): Added new page_requisites field. |
| 24184 |
|
| 24185 |
* src/recur.c: Changed "URL-s" to "URLs" and "HTML-s" to "HTMLs". |
| 24186 |
Calculate and pass down new `dash_p_leaf_HTML' parameter to |
| 24187 |
get_urls_html(). Use new INFINITE_RECURSION #define. |
| 24188 |
|
| 24189 |
* src/retr.c: Changed "URL-s" to "URLs". get_urls_html() now takes |
| 24190 |
final `dash_p_leaf_HTML' parameter. |
| 24191 |
|
| 24192 |
* src/url.c: get_urls_html() and htmlfindurl() now take final |
| 24193 |
`dash_p_leaf_HTML' parameter. |
| 24194 |
|
| 24195 |
* src/url.h (get_urls_html): Now takes final `dash_p_leaf_HTML' parameter. |
| 24196 |
|
| 24197 |
* src/wget.h: Added some comments and new INFINITE_RECURSION #define. |
| 24198 |
|
| 24199 |
2000-08-30 Dan Harkless <[email protected]> |
| 24200 |
|
| 24201 |
* po/*.{gmo,po,pot}: Regenerated after modifying wget --help output. |
| 24202 |
|
| 24203 |
* MACHINES: Previously said to send updates to "me" (Hrvoje) -- |
| 24204 |
now says to email the mailing list or [email protected]. |
| 24205 |
|
| 24206 |
* MAILING-LIST: Added mention of [email protected]. |
| 24207 |
|
| 24208 |
* NEWS: Added --waitretry and --page-requisites. |
| 24209 |
|
| 24210 |
2000-08-30 Dan Harkless <[email protected]> |
| 24211 |
|
| 24212 |
* doc/wget.texi (Recursive Retrieval Options): Documented new -p option. |
| 24213 |
(Wgetrc Commands): Documented -p's equvialent, page_requisites. |
| 24214 |
|
| 24215 |
2000-08-25 Dan Harkless <[email protected]> |
| 24216 |
|
| 24217 |
* MACHINES: Alphabetized, changed "architectures" to "OSes and |
| 24218 |
architectures", added missing company names, removed needless ^L, |
| 24219 |
made AIX and FreeBSD entries more general to reflect successful |
| 24220 |
use on those platforms by myself and others, removed the |
| 24221 |
non-factual "this version of", and fixed some grammatical errors. |
| 24222 |
|
| 24223 |
2000-08-23 Dan Harkless <[email protected]> |
| 24224 |
|
| 24225 |
* src/main.c (print_help): -B / --base was not mentioned. |
| 24226 |
|
| 24227 |
2000-08-23 Dan Harkless <[email protected]> |
| 24228 |
|
| 24229 |
* doc/wget.texi (Download Options): Using -c on a file that's already fully |
| 24230 |
downloaded results in an unchanged file and no second ".1" copy. |
| 24231 |
|
| 24232 |
* doc/wget.texi (Logging and Input File Options): -B / --base was not |
| 24233 |
documented as a separate item, and the .wgetrc version was misleading. |
| 24234 |
|
| 24235 |
* doc/wget.texi (Wgetrc Commands): Changed all instances of |
| 24236 |
", the same as" to the more grammatical " -- the same as". |
| 24237 |
|
| 24238 |
2000-08-22 Dan Harkless <[email protected]> |
| 24239 |
|
| 24240 |
* src/main.c (print_help): Modified -nc description to mention that it |
| 24241 |
also prevents the creation of multiple versions of the same file |
| 24242 |
with ".<number>" suffixes. |
| 24243 |
|
| 24244 |
2000-08-22 Dan Harkless <[email protected]> |
| 24245 |
|
| 24246 |
* doc/wget.texi (Download Options): --no-clobber's documentation was |
| 24247 |
severely lacking -- ameliorated the situation. Some of the |
| 24248 |
previously-undocumented stuff (like the multiple-file-version |
| 24249 |
numeric-suffixing) that's now mentioned for the first (and only) |
| 24250 |
time in the -nc documentation should probably be mentioned |
| 24251 |
elsewhere, but due to the way that wget.texi's hierarchy is laid |
| 24252 |
out, I had a hard time finding anywhere else appropriate. |
| 24253 |
|
| 24254 |
2000-07-21 Dan Harkless <[email protected]> |
| 24255 |
|
| 24256 |
* TODO: But Brian McMahon <[email protected]> wants old behavior as an option. |
| 24257 |
|
| 24258 |
2000-07-19 Dan Harkless <[email protected]> |
| 24259 |
|
| 24260 |
* TODO: -k should convert "hostless absolute" URLs, like "/index.html". |
| 24261 |
|
| 24262 |
2000-07-17 Dan Harkless <[email protected]> |
| 24263 |
|
| 24264 |
* doc/wget.texi (HTTP Options): Minor clarification in "download a |
| 24265 |
single HTML page and all files necessary to display it" example. |
| 24266 |
|
| 24267 |
2000-07-14 Jan Prikryl <[email protected]> |
| 24268 |
|
| 24269 |
* src/retr.c (retrieve_url): Consistently strdup opt.referer when |
| 24270 |
setting u->referer. |
| 24271 |
|
| 24272 |
2000-06-09 Hrvoje Niksic <[email protected]> |
| 24273 |
|
| 24274 |
* src/url.c (encode_string): Fix comment. |
| 24275 |
Suggested by Herold Heiko <[email protected]>. |
| 24276 |
|
| 24277 |
2000-06-09 Dan Harkless <[email protected]> |
| 24278 |
|
| 24279 |
* src/main.c (print_help): --help output for --waitretry was over 80 cols. |
| 24280 |
|
| 24281 |
2000-06-01 Hrvoje Niksic <[email protected]> |
| 24282 |
|
| 24283 |
* src/url.c (str_url): Print the port number only if it's different |
| 24284 |
from the default port number for that protocol. |
| 24285 |
|
| 24286 |
2000-06-01 Const Kaplinsky <[email protected]> |
| 24287 |
|
| 24288 |
* src/ftp.c (ftp_retrieve_list): Change permissions only on plain |
| 24289 |
files. |
| 24290 |
|
| 24291 |
2000-05-24 Dan Harkless <[email protected]> |
| 24292 |
|
| 24293 |
* TODO: Timestamps sometimes not copied over on files retrieved by FTP. |
| 24294 |
|
| 24295 |
2000-05-22 Dan Harkless <[email protected]> |
| 24296 |
|
| 24297 |
* src/main.c (print_help): Added --help line for Damir Dzeko |
| 24298 |
<[email protected]>'s until-now-undocumented --referer option. |
| 24299 |
Removed comments that --referer and --waitretry were undocumented. |
| 24300 |
Changed "`.wgetrc' command" to "`.wgetrc'-style command" on --help |
| 24301 |
line for --execute. |
| 24302 |
|
| 24303 |
2000-05-22 Dan Harkless <[email protected]> |
| 24304 |
|
| 24305 |
* doc/wget.texi (HTTP Options): Damir Dzeko <[email protected]> did |
| 24306 |
not document his new --referer option. Did so. |
| 24307 |
|
| 24308 |
2000-05-22 Dan Harkless <[email protected]> |
| 24309 |
|
| 24310 |
* AUTHORS: Added myself to this file, as Hrvoje got confirmation |
| 24311 |
of my FSF copyright assignment. |
| 24312 |
|
| 24313 |
* TODO: Added note that fragment identifiers don't work properly. |
| 24314 |
|
| 24315 |
* po/*.{gmo,po,pot}: Regenerated after modifying wget --help output. |
| 24316 |
|
| 24317 |
2000-05-18 Hrvoje Niksic <[email protected]> |
| 24318 |
|
| 24319 |
* src/ftp.c (getftp): Ditto. |
| 24320 |
|
| 24321 |
* src/http.c (gethttp): Check for return value of fclose/fflush. |
| 24322 |
|
| 24323 |
2000-05-17 Dan Harkless <[email protected]> |
| 24324 |
|
| 24325 |
* TODO: Make `-k' check for files that were downloaded in the past |
| 24326 |
and convert links to them in newly-downloaded documents. |
| 24327 |
|
| 24328 |
2000-04-18 Dan Harkless <[email protected]> |
| 24329 |
|
| 24330 |
* doc/sample.wgetrc: Realized I put a global setting in the local section. |
| 24331 |
|
| 24332 |
2000-04-13 Dan Harkless <[email protected]> |
| 24333 |
|
| 24334 |
* doc/Makefile.in (sample.wgetrc.munged_for_texi_inclusion): Added |
| 24335 |
build, dependencies, and distclean cleanup of this new file. |
| 24336 |
|
| 24337 |
* doc/sample.wgetrc: Uncommented waitretry and set it to 10, clarified |
| 24338 |
some wording, and re-wrapped some text to 71 columns due to |
| 24339 |
@sample indentation in wget.texi. |
| 24340 |
|
| 24341 |
* doc/wget.texi: Herold further expounded on the behavior of waitretry |
| 24342 |
-- reworded docs again. Changed note saying _all_ lines in |
| 24343 |
sample.wgetrc are commented out. Don't have an entire hand- |
| 24344 |
cut-and-pasted copy of sample.wgetrc in this file -- use @include. |
| 24345 |
|
| 24346 |
2000-04-12 Hrvoje Niksic <[email protected]> |
| 24347 |
|
| 24348 |
* src/http.c (gethttp): Don't free REQUEST -- it was allocated with |
| 24349 |
alloca(). |
| 24350 |
Pointed out by Gisle Vanem <[email protected]>. |
| 24351 |
|
| 24352 |
2000-04-12 Hrvoje Niksic <[email protected]> |
| 24353 |
|
| 24354 |
* src/host.c (store_hostaddress): Instead of shifting ADDR, start |
| 24355 |
copying from the correct address. |
| 24356 |
|
| 24357 |
2000-04-12 Dan Harkless <[email protected]> |
| 24358 |
|
| 24359 |
* doc/Makefile.in (install.wgetrc): I completely missed the message |
| 24360 |
that the new wgetrc wasn't being installed the first couple of |
| 24361 |
times I ran `make install' after changing sample.wgetrc. Added |
| 24362 |
blank lines around the message and a "<Hit RETURN to |
| 24363 |
acknowledge>", and reworded the message to be a bit more clear. |
| 24364 |
|
| 24365 |
* doc/sample.wgetrc: Added entries for backup_converted and waitretry. |
| 24366 |
|
| 24367 |
* doc/wget.texi (Download Options and Wgetrc Commands): Herold Heiko |
| 24368 |
<[email protected]>'s new --waitretry option was |
| 24369 |
undocumented until now. Reworded the suggested documentation he |
| 24370 |
sent to the list. |
| 24371 |
|
| 24372 |
2000-04-05 Dan Harkless <[email protected]> |
| 24373 |
|
| 24374 |
* TODO: Make -K only leave .orig files around when different. Add |
| 24375 |
an option to save all text/html files with .html extension. Allow |
| 24376 |
mirroring of FTP URLs where logging in puts you somewhere else |
| 24377 |
besides '/'. |
| 24378 |
|
| 24379 |
2000-04-04 Dan Harkless <[email protected]> |
| 24380 |
|
| 24381 |
* src/host.c (store_hostaddress): R. K. Owen's patch introduces a |
| 24382 |
"left shift count >= width of type" warning on 32-bit |
| 24383 |
architectures. Got rid of it by tricking the compiler w/ a variable. |
| 24384 |
|
| 24385 |
* src/url.c (UNSAFE_CHAR): The macro didn't include all the illegal |
| 24386 |
characters per RFC1738, namely everything above '~'. It also |
| 24387 |
generated a warning on OSes where char =~ unsigned char. Fixed. |
| 24388 |
|
| 24389 |
2000-04-04 Dan Harkless <[email protected]> |
| 24390 |
|
| 24391 |
* NEWS (--follow-tags, -G / --ignore-tags): Forgot to mention |
| 24392 |
these new options when I added them. |
| 24393 |
|
| 24394 |
2000-03-31 Hrvoje Niksic <[email protected]> |
| 24395 |
|
| 24396 |
* src/Use TOUPPER/TOLOWER. |
| 24397 |
|
| 24398 |
2000-03-21 Hrvoje Niksic <[email protected]> |
| 24399 |
|
| 24400 |
* src/wget.h (DO_REALLOC_FROM_ALLOCA): Ditto. |
| 24401 |
|
| 24402 |
* src/sysdep.h (ISALNUM): New macro. |
| 24403 |
(TOLOWER): Ditto. |
| 24404 |
(TOUPPER): Ditto. |
| 24405 |
|
| 24406 |
2000-03-10 Dan Harkless <[email protected]> |
| 24407 |
|
| 24408 |
* src/html.c (idmatch): Implemented checking of my new --follow-tags |
| 24409 |
and --ignore-tags options. |
| 24410 |
|
| 24411 |
* src/init.c (commands): Added comment reminding people adding new |
| 24412 |
entries doing allocation to add corresponding freeing in cleanup(). |
| 24413 |
(commands): Added new followtags and ignoretags commands. |
| 24414 |
(cleanup): Free storage for new followtags and ignoretags. |
| 24415 |
|
| 24416 |
* src/main.c: Use of "comma-separated list" was random -- normalized |
| 24417 |
it. Did some alphabetization. Added comments pointing out |
| 24418 |
"Options without arguments" and "Options accepting an argument" |
| 24419 |
sections of long_options[]. Added new options --follow-tags and |
| 24420 |
-G / --ignore-tags. Added comment that Damir's --referer is |
| 24421 |
currently undocumented. Added comment that Heiko's --waitretry is |
| 24422 |
partially undocumented (mentioned in --help but not in |
| 24423 |
wget.texi). Moved improperly sorted 24, 129, and 'G' cases. |
| 24424 |
|
| 24425 |
* src/options.h (struct options): Added new fields follow_tags and |
| 24426 |
ignore_tags. |
| 24427 |
|
| 24428 |
* src/wget.h: Added "#define EQ 0" so we can say "strcmp(a, b) == EQ". |
| 24429 |
|
| 24430 |
2000-03-10 Dan Harkless <[email protected]> |
| 24431 |
|
| 24432 |
* doc/wget.texi (Recursive Retrieval Options): In -K description, |
| 24433 |
added a link to the discussion of interaction with -N. |
| 24434 |
(Recursive Accept/Reject Options): Did some alphabetizing and added |
| 24435 |
descriptions of new --follow-tags and -G / --ignore-tags options. |
| 24436 |
(Following Links): Changed "the loads of" to "loads of". |
| 24437 |
(Wgetrc Commands): Added descriptions of new follow_tags and |
| 24438 |
ignore_tags commands. |
| 24439 |
|
| 24440 |
2000-03-10 Dan Harkless <[email protected]> |
| 24441 |
|
| 24442 |
* TODO: Removed done item: we now have an option (-G) that makes |
| 24443 |
it easy to download a single HTML document and all its constituents. |
| 24444 |
|
| 24445 |
* po/*.{gmo,po,pot}: Regenerated after adding new options. |
| 24446 |
|
| 24447 |
* po/hr.po: Hrvoje forgot '\n's on his translations of my altered |
| 24448 |
messages, causing msgfmt to balk and `make install' to fail. |
| 24449 |
|
| 24450 |
2000-03-02 Hrvoje Niksic <[email protected]> |
| 24451 |
|
| 24452 |
* doc/wget.texi (Contributors): Update contributors list. |
| 24453 |
|
| 24454 |
2000-03-02 HIROSE Masaaki <[email protected]> |
| 24455 |
|
| 24456 |
* src/html.c (html_allow): Add <link href=...> and <script src=...>. |
| 24457 |
|
| 24458 |
2000-03-02 Daniel S. Lewart <[email protected]> |
| 24459 |
|
| 24460 |
* doc/wget.texi: Fix spelling and grammatical mistakes. |
| 24461 |
|
| 24462 |
2000-03-02 Dan Harkless <[email protected]> |
| 24463 |
|
| 24464 |
* src/ftp.c (ftp_loop_internal): Heiko introduced "suggest explicit |
| 24465 |
braces to avoid ambiguous `else'" warnings. Eliminated them. |
| 24466 |
|
| 24467 |
* src/http.c (gethttp): Dan Berger's query string patch is totally |
| 24468 |
bogus. If you have two different URLs, gen_page.cgi?page1 and |
| 24469 |
get_page.cgi?page2, they'll both be saved as get_page.cgi and the |
| 24470 |
second will overwrite the first. Also, parameters to implicit |
| 24471 |
CGIs, like "http://www.host.com/db/?2000-03-02" cause the URLs to |
| 24472 |
be printed with trailing garbage characters, and could seg fault. |
| 24473 |
Backing out the patch, which Dan B. informed me by email was just |
| 24474 |
a kludge to download StarOffice from Sun made necessary due to |
| 24475 |
wget's unconditional escaping of certain characters (room for an |
| 24476 |
option there?). |
| 24477 |
(http_loop): Heiko introduced "suggest explicit braces to avoid |
| 24478 |
ambiguous `else'" warnings. Eliminated them. |
| 24479 |
|
| 24480 |
* src/main.c: Heiko's --wait / --waitretry backwards compatibility |
| 24481 |
code looks to have been totally untested -- automatic variable |
| 24482 |
'wr' was used without being initialized, and a long int was passed |
| 24483 |
into setval()'s char* val parameter. |
| 24484 |
|
| 24485 |
* src/recur.c (parse_robots): Applied Edward J. Sabol |
| 24486 |
<[email protected]>'s patch for Guan Yang's reported |
| 24487 |
problem with "User-agent:<space>*<space>" lines in robots.txt. |
| 24488 |
|
| 24489 |
* src/url.c (parseurl, str_url): Removing Dan Berger's code (see |
| 24490 |
http.c above for explanation). |
| 24491 |
|
| 24492 |
2000-03-01 Dan Harkless <[email protected]> |
| 24493 |
|
| 24494 |
* src/ftp.c (ftp_loop_internal): Call new downloaded_file() function, |
| 24495 |
even though we don't do conversion on HTML files retrieved via |
| 24496 |
FTP, so _current_ usage of downloaded_file() makes this call unneeded. |
| 24497 |
(ftp_retrieve_list): Added a comment saying where we need to |
| 24498 |
stat() a .orig file if FTP'd HTML file conversion is ever implemented. |
| 24499 |
(ftp_retrieve_list): "Local file '%s' is more recent," is sometimes |
| 24500 |
a lie -- reworded as "Server file no newer than local file '%s' --". |
| 24501 |
|
| 24502 |
* src/http.c (http_loop): Fixed a typo and clarified a comment. |
| 24503 |
(http_loop): When -K and -N are specified together, compare size |
| 24504 |
and timestamp of server file X against local file X.orig (if |
| 24505 |
extant) rather than converted local file X. |
| 24506 |
(http_loop): "Local file '%s' is more recent," is sometimes a lie |
| 24507 |
-- reworded as "Server file no newer than local file '%s' --". |
| 24508 |
(http_loop): Call new downloaded_file() function to prevent |
| 24509 |
wrongful overwriting of .orig file when -N is specified. |
| 24510 |
|
| 24511 |
* src/url.c (convert_links): When -K specified, only rename X to |
| 24512 |
X.orig if downloaded_file() returns TRUE. Otherwise when we skip |
| 24513 |
file X due to -N, we clobber an X.orig from a previous invocation. |
| 24514 |
(convert_links): Call the failsafe xstrdup(), not the real strdup(). |
| 24515 |
(convert_links): Added a note asking anyone who understands how |
| 24516 |
multiple URLs can correspond to a single file to comment it. |
| 24517 |
(downloaded_file): Added this new function. |
| 24518 |
|
| 24519 |
* src/url.h (downloaded_file): Added prototype for this new function |
| 24520 |
as well as its downloaded_file_t enum type. |
| 24521 |
|
| 24522 |
* src/wget.h (boolean): Added this new typedef and TRUE and FALSE #defines. |
| 24523 |
|
| 24524 |
2000-03-01 Dan Harkless <[email protected]> |
| 24525 |
|
| 24526 |
* doc/wget.texi (HTTP Time-Stamping Internals): Added a note about my |
| 24527 |
newly-implemented interaction between -K and -N. |
| 24528 |
|
| 24529 |
2000-03-01 Dan Harkless <[email protected]> |
| 24530 |
|
| 24531 |
* NEWS (-K): Now possible to use -N with -k thanks to this option. |
| 24532 |
|
| 24533 |
* TODO: Removed the -K / -N interaction item. |
| 24534 |
|
| 24535 |
2000-02-29 Dan Harkless <[email protected]> |
| 24536 |
|
| 24537 |
* src/version.c: Upped version to developer-only "1.5.3+dev". |
| 24538 |
|
| 24539 |
2000-02-29 Dan Harkless <[email protected]> |
| 24540 |
|
| 24541 |
* doc/wget.texi: Updated version to 1.5.3+dev, updated copyrights to |
| 24542 |
2000, changed Hrvoje's old, invalid email address to his new one, |
| 24543 |
and added " and the developers" to the .texi file's byline. |
| 24544 |
|
| 24545 |
2000-02-29 Dan Harkless <[email protected]> |
| 24546 |
|
| 24547 |
* NEWS (-K / --backup-converted): Mentioned this new option. |
| 24548 |
|
| 24549 |
2000-02-18 Dan Harkless <[email protected]> |
| 24550 |
|
| 24551 |
* src/init.c (backup_converted): Added this new option. |
| 24552 |
|
| 24553 |
* src/main.c (-K / --backup-converted): Added this new option. |
| 24554 |
|
| 24555 |
* src/options.h (backup_converted): Added this new option. |
| 24556 |
|
| 24557 |
* src/url.c (convert_links): When backup_converted is specified, save |
| 24558 |
file X as X.orig before converting. |
| 24559 |
|
| 24560 |
* src/url.h (urlpos): Fixed typo -- said "Rekative" instead of "Relative". |
| 24561 |
|
| 24562 |
2000-02-18 Dan Harkless <[email protected]> |
| 24563 |
|
| 24564 |
* doc/wget.texi (Recursive Retrieval Options): Documented my new -K / |
| 24565 |
--backup-converted option. |
| 24566 |
(Wgetrc Commands): Documented backup_converted equivalent. |
| 24567 |
|
| 24568 |
2000-02-18 Dan Harkless <[email protected]> |
| 24569 |
|
| 24570 |
* TODO: When -K is used with -N, check local X.orig against server X. |
| 24571 |
|
| 24572 |
2000-01-30 Damir Dzeko <[email protected]> |
| 24573 |
|
| 24574 |
* src/http.c (gethttp): Send custom Referer, if required. |
| 24575 |
|
| 24576 |
1999-09-24 Charles G Waldman <[email protected]> |
| 24577 |
|
| 24578 |
* src/netrc.c (parse_netrc): Allow passwords to contain spaces. |
| 24579 |
|
| 24580 |
* src/netrc.c (parse_netrc): New function. |
| 24581 |
|
| 24582 |
1999-09-17 Dan Berger <[email protected]> |
| 24583 |
|
| 24584 |
* src/http.c (gethttp): Send it. |
| 24585 |
|
| 24586 |
* src/url.c (parseurl): Detect query string in HTTP URL-s. |
| 24587 |
(str_url): Print it. |
| 24588 |
|
| 24589 |
1999-08-25 Heiko Herold <[email protected]> |
| 24590 |
|
| 24591 |
* src/ftp.c: Respect new option waitretry. |
| 24592 |
|
| 24593 |
1999-05-02 andrew deryabin <[email protected]> |
| 24594 |
|
| 24595 |
* src/http.c (gethttp): Specify port in `Host' header only if it's |
| 24596 |
different from 80. |
| 24597 |
|
| 24598 |
1998-12-22 Alexander V. Lukyanov <[email protected]> |
| 24599 |
|
| 24600 |
* src/ftp-opie.c (btoe): Zero-terminate OSTORE. |
| 24601 |
|
| 24602 |
1998-12-01 Hrvoje Niksic <[email protected]> |
| 24603 |
|
| 24604 |
* src/url.c (UNSAFE_CHAR): New macro. |
| 24605 |
(contains_unsafe): Use it. |
| 24606 |
(encode_string): Ditto. |
| 24607 |
|
| 24608 |
1998-12-01 Hrvoje Niksic <[email protected]> |
| 24609 |
|
| 24610 |
* src/main.c (i18n_initialize): Use LC_MESSAGES only if available. |
| 24611 |
|
| 24612 |
1998-12-01 "R. K. Owen" <[email protected]> |
| 24613 |
|
| 24614 |
* src/host.c (store_hostaddress): Fix for big endian 64-bit machines. |
| 24615 |
|
| 24616 |
1998-11-03 Edward J. Sabol <[email protected]> |
| 24617 |
|
| 24618 |
* src/recur.c (recursive_retrieve): If a finite maximum depth is |
| 24619 |
specified, and we're are already at that depth, don't download the |
| 24620 |
HTML file for parsing. |
| 24621 |
|
| 24622 |
1998-10-17 Hrvoje Niksic <[email protected]> |
| 24623 |
|
| 24624 |
* src/http.c (http_process_type): Removed needless strdup(), a memory |
| 24625 |
leak. |
| 24626 |
|
| 24627 |
1998-09-25 Simon Munton <[email protected]> |
| 24628 |
|
| 24629 |
* src/init.c (wgetrc_file_name): Don't free HOME under Windows. |
| 24630 |
|
| 24631 |
1998-09-25 Hrvoje Niksic <[email protected]> |
| 24632 |
|
| 24633 |
* src/html.c (htmlfindurl): Set PH to the first occurrence of `#'. |
| 24634 |
|
| 24635 |
1998-09-21 Hrvoje Niksic <[email protected]> |
| 24636 |
|
| 24637 |
* src/version.c: Wget 1.5.3 is released. |
| 24638 |
|
| 24639 |
1998-09-21 Hrvoje Niksic <[email protected]> |
| 24640 |
|
| 24641 |
* src/host.c (ftp_getaddress): Don't warn when reverse-lookup of local |
| 24642 |
address doesn't yield FQDN. |
| 24643 |
|
| 24644 |
1998-09-21 Andreas Schwab <[email protected]> |
| 24645 |
|
| 24646 |
* src/cmpt.c (strerror): Fix declaration of sys_errlist. |
| 24647 |
|
| 24648 |
1998-09-11 Szakacsits Szabolcs <[email protected]> |
| 24649 |
|
| 24650 |
* src/html.c (htmlfindurl): Download table background. |
| 24651 |
|
| 24652 |
1998-09-11 Hrvoje Niksic <[email protected]> |
| 24653 |
|
| 24654 |
* src/main.c (main): Don't use an array subscript as the first |
| 24655 |
argument to STRDUP_ALLOCA. |
| 24656 |
From Kaveh R. Ghazi. |
| 24657 |
|
| 24658 |
1998-09-11 Hans Grobler <[email protected]> |
| 24659 |
|
| 24660 |
* src/init.c (parse_line): Would free *com before allocating it. |
| 24661 |
(parse_line): Would free com instead of *com. |
| 24662 |
|
| 24663 |
1998-09-10 Kaveh R. Ghazi <[email protected]> |
| 24664 |
|
| 24665 |
* src/log.c: Use <stdarg.h> only when __STDC__. |
| 24666 |
|
| 24667 |
1998-09-10 Hrvoje Niksic <[email protected]> |
| 24668 |
|
| 24669 |
* src/http.c (http_loop): Don't print status code if quiet. |
| 24670 |
|
| 24671 |
1998-09-10 Hrvoje Niksic <[email protected]> |
| 24672 |
|
| 24673 |
* doc/wget.texi (HTTP Options): Warn against masquerading as Mozilla. |
| 24674 |
|
| 24675 |
1998-09-10 Howard Gayle <[email protected]> |
| 24676 |
|
| 24677 |
* src/url.c (get_urls_html): Would drop the last character of the |
| 24678 |
link. |
| 24679 |
|
| 24680 |
1998-09-10 Howard Gayle <[email protected]> |
| 24681 |
|
| 24682 |
* src/ftp.c (ftp_retrieve_list): Don't update the time stamp of a file |
| 24683 |
not retrieved. |
| 24684 |
|
| 24685 |
1998-09-10 Adam D. Moss <[email protected]> |
| 24686 |
|
| 24687 |
* src/html.c (htmlfindurl): Download <layer src=...>. |
| 24688 |
|
| 24689 |
1998-06-27 Hrvoje Niksic <[email protected]> |
| 24690 |
|
| 24691 |
* src/utils.c: Include <libc.h> on NeXT. |
| 24692 |
|
| 24693 |
1998-06-26 Heinz Salzmann <[email protected]> |
| 24694 |
|
| 24695 |
* src/url.c (get_urls_html): Fix calculation of URL position. |
| 24696 |
|
| 24697 |
1998-06-23 Hrvoje Niksic <[email protected]> |
| 24698 |
|
| 24699 |
* src/version.c: Wget 1.5.2 is released. |
| 24700 |
|
| 24701 |
1998-06-23 Dave Love <[email protected]> |
| 24702 |
|
| 24703 |
* src/ftp.c, init.c, netrc.c: Include errno.h. |
| 24704 |
|
| 24705 |
* src/http.c: Include errno.h and time header. |
| 24706 |
|
| 24707 |
* src/Makefile.in (exext): Define. |
| 24708 |
(install.bin, uninstall.bin): Use it. |
| 24709 |
|
| 24710 |
1998-06-23 Dave Love <[email protected]> |
| 24711 |
|
| 24712 |
* configure.in (exext): Define. |
| 24713 |
|
| 24714 |
1998-06-21 Hrvoje Niksic <[email protected]> |
| 24715 |
|
| 24716 |
* src/http.c (http_loop): Don't attempt to compare local and remote |
| 24717 |
sizes if the remote size is unknown. |
| 24718 |
|
| 24719 |
1998-06-16 Hrvoje Niksic <[email protected]> |
| 24720 |
|
| 24721 |
* src/url.c (get_urls_html): Use malloc() instead of alloca in the |
| 24722 |
loop. |
| 24723 |
|
| 24724 |
1998-06-13 Hrvoje Niksic <[email protected]> |
| 24725 |
|
| 24726 |
* src/version.c: Wget 1.5.2-b4 is released. |
| 24727 |
|
| 24728 |
1998-06-13 Hrvoje Niksic <[email protected]> |
| 24729 |
|
| 24730 |
* src/url.c (get_urls_html): Ignore spaces before and after the URI. |
| 24731 |
|
| 24732 |
1998-06-08 Wanderlei Antonio Cavassin <[email protected]> |
| 24733 |
|
| 24734 |
* src/ftp.c (getftp): Translate `done'. |
| 24735 |
|
| 24736 |
1998-06-06 Hrvoje Niksic <[email protected]> |
| 24737 |
|
| 24738 |
* src/version.c: Wget 1.5.2-b3 is released. |
| 24739 |
|
| 24740 |
1998-06-06 Hrvoje Niksic <[email protected]> |
| 24741 |
|
| 24742 |
* src/utils.c (make_directory): Twiddle. |
| 24743 |
|
| 24744 |
* src/config.h.in: Added template for access(). |
| 24745 |
|
| 24746 |
1998-06-06 Hrvoje Niksic <[email protected]> |
| 24747 |
|
| 24748 |
* configure.in: Check for access(). |
| 24749 |
|
| 24750 |
1998-06-06 Alexander Kourakos <[email protected]> |
| 24751 |
|
| 24752 |
* src/init.c (cleanup): Close dfp, don't free it. |
| 24753 |
|
| 24754 |
1998-06-05 Mathieu Guillaume <[email protected]> |
| 24755 |
|
| 24756 |
* src/html.c (htmlfindurl): Download <input src=...> |
| 24757 |
|
| 24758 |
1998-06-03 Hrvoje Niksic <[email protected]> |
| 24759 |
|
| 24760 |
* src/utils.c (file_exists_p): Use access() with two arguments. |
| 24761 |
|
| 24762 |
1998-05-27 Martin Kraemer <[email protected]> |
| 24763 |
|
| 24764 |
* src/netrc.c (parse_netrc): Correct logic. |
| 24765 |
|
| 24766 |
1998-05-27 Hrvoje Niksic <[email protected]> |
| 24767 |
|
| 24768 |
* src/ftp.c (getftp): Added `break'; suggested by Lin Zhe Min |
| 24769 |
<[email protected]>. |
| 24770 |
|
| 24771 |
1998-05-24 Hrvoje Niksic <[email protected]> |
| 24772 |
|
| 24773 |
* src/version.c: Wget 1.5.2-b2 is released. |
| 24774 |
|
| 24775 |
1998-05-24 Hrvoje Niksic <[email protected]> |
| 24776 |
|
| 24777 |
* doc/Makefile.in (clean): Remove HTML files. |
| 24778 |
|
| 24779 |
1998-05-20 Hrvoje Niksic <[email protected]> |
| 24780 |
|
| 24781 |
* po/hr.po: Some fixes, as per suggestions by Francois Pinard. |
| 24782 |
|
| 24783 |
1998-05-19 Toomas Soome <[email protected]> |
| 24784 |
|
| 24785 |
* po/et.po: Updated. |
| 24786 |
|
| 24787 |
1998-05-19 Dominique Delamarre <[email protected]> |
| 24788 |
|
| 24789 |
* po/fr.po: New file. |
| 24790 |
|
| 24791 |
1998-05-18 Juan Jose Rodriguez <[email protected]> |
| 24792 |
|
| 24793 |
* src/mswindows.h: Don't translate mkdir to _mkdir under Borland. |
| 24794 |
|
| 24795 |
1998-05-17 Hrvoje Niksic <[email protected]> |
| 24796 |
|
| 24797 |
* src/retr.c (elapsed_time): Return correct value when |
| 24798 |
HAVE_GETTIMEOFDAY is undefined. |
| 24799 |
|
| 24800 |
1998-05-13 Hrvoje Niksic <[email protected]> |
| 24801 |
|
| 24802 |
* src/version.c: Wget 1.5.2-b1 is released. |
| 24803 |
|
| 24804 |
1998-05-13 Hrvoje Niksic <[email protected]> |
| 24805 |
|
| 24806 |
* doc/wget.texi: Various updates. |
| 24807 |
(Proxies): New node. |
| 24808 |
|
| 24809 |
1998-05-11 Simos KSenitellis <[email protected]> |
| 24810 |
|
| 24811 |
* po/el.po: New file. |
| 24812 |
|
| 24813 |
1998-05-09 Toomas Soome <[email protected]> |
| 24814 |
|
| 24815 |
* po/et.po: New file. |
| 24816 |
|
| 24817 |
1998-05-09 Hrvoje Niksic <[email protected]> |
| 24818 |
|
| 24819 |
* doc/texinfo.tex: New file. |
| 24820 |
|
| 24821 |
1998-05-09 Hrvoje Niksic <[email protected]> |
| 24822 |
|
| 24823 |
* aclocal.m4 (WGET_WITH_NLS): Print available catalogs. |
| 24824 |
|
| 24825 |
1998-05-08 Hrvoje Niksic <[email protected]> |
| 24826 |
|
| 24827 |
* src/getopt.c (_getopt_internal): Use exec_name instead of argv[0]. |
| 24828 |
(_getopt_internal): Don't translate `#if 0'-ed strings. |
| 24829 |
|
| 24830 |
1998-05-08 Hrvoje Niksic <[email protected]> |
| 24831 |
|
| 24832 |
* doc/Makefile.in (dvi): New target. |
| 24833 |
|
| 24834 |
1998-05-06 Douglas E. Wegscheid <[email protected]> |
| 24835 |
|
| 24836 |
* windows/makefile.bor: Updated. |
| 24837 |
|
| 24838 |
* windows/Makefile.src: Ditto. |
| 24839 |
|
| 24840 |
1998-05-06 Douglas E. Wegscheid <[email protected]> |
| 24841 |
|
| 24842 |
* src/mswindows.c (ws_handler): Use fork_to_background(). |
| 24843 |
|
| 24844 |
1998-05-06 Douglas E. Wegscheid <[email protected]> |
| 24845 |
|
| 24846 |
* configure.bat: set up for either Borland or Visual C |
| 24847 |
|
| 24848 |
* windows/wget.dep: new file |
| 24849 |
|
| 24850 |
* windows/Makefile.*: use wget.dep |
| 24851 |
|
| 24852 |
* rename windows/Makefile.bor to Makefile.src.bor |
| 24853 |
|
| 24854 |
1998-05-05 Hrvoje Niksic <[email protected]> |
| 24855 |
|
| 24856 |
* src/version.c: Wget 1.5.1 is released. |
| 24857 |
|
| 24858 |
1998-05-05 Hrvoje Niksic <[email protected]> |
| 24859 |
|
| 24860 |
* src/http.c (parse_http_status_line): Avoid `minor' and `major' |
| 24861 |
names. |
| 24862 |
|
| 24863 |
1998-05-02 Hrvoje Niksic <[email protected]> |
| 24864 |
|
| 24865 |
* src/utils.c (mkdirhier): Renamed to make_directory. |
| 24866 |
|
| 24867 |
1998-05-02 Hrvoje Niksic <[email protected]> |
| 24868 |
|
| 24869 |
* doc/wget.texi (Recursive Retrieval): Fix typo. Suggested by |
| 24870 |
Francois Pinard. |
| 24871 |
|
| 24872 |
1998-05-01 Hrvoje Niksic <[email protected]> |
| 24873 |
|
| 24874 |
* src/mswindows.c (fork_to_background): Define under Windows. |
| 24875 |
|
| 24876 |
* src/utils.c (fork_to_background): New function. |
| 24877 |
|
| 24878 |
* src/html.c (htmlfindurl): Removed rerdundant casts. |
| 24879 |
|
| 24880 |
1998-05-01 Douglas E. Wegscheid <[email protected]> |
| 24881 |
|
| 24882 |
* src/mswindows.c (ws_mypath): Cache the path. |
| 24883 |
|
| 24884 |
1998-04-30 Douglas E. Wegscheid <[email protected]> |
| 24885 |
|
| 24886 |
* windows/config.h.bor: New file. |
| 24887 |
|
| 24888 |
* windows/makefile.bor: New file. |
| 24889 |
|
| 24890 |
1998-04-30 Douglas E. Wegscheid <[email protected]> |
| 24891 |
|
| 24892 |
* src/ftp.h: Prefix enum ftype members with FT_. |
| 24893 |
|
| 24894 |
* src/ftp-ls.c, ftp.c, html.h: Adjust accordingly. |
| 24895 |
|
| 24896 |
* src/mswindows.h: Use stat under Borland, _stat under MSVC. |
| 24897 |
|
| 24898 |
1998-04-28 Hrvoje Niksic <[email protected]> |
| 24899 |
|
| 24900 |
* src/http.c (known_authentication_scheme_p): New function. |
| 24901 |
(gethttp): Handle authorization more correctly. |
| 24902 |
|
| 24903 |
* src/ftp-basic.h: Removed. |
| 24904 |
|
| 24905 |
* src/cmpt.h: Removed. |
| 24906 |
|
| 24907 |
* src/utils.c: Include <unistd.h> before <pwd.h>; needed under SunOS |
| 24908 |
with gcc 2.8. |
| 24909 |
(numdigit): Use `while' loop. |
| 24910 |
|
| 24911 |
* src/http.c (create_authorization_line): Detect authentication |
| 24912 |
schemes case-insensitively. |
| 24913 |
|
| 24914 |
* src/http.c (extract_header_attr): Use strdupdelim(). |
| 24915 |
(digest_authentication_encode): Move declaration of local |
| 24916 |
variables to smaller scope. |
| 24917 |
(digest_authentication_encode): Reset REALM, OPAQUE and NONCE. |
| 24918 |
(create_authorization_line): Detect authentication schemes |
| 24919 |
case-insensitively. |
| 24920 |
|
| 24921 |
* src/utils.c (touch): Constify. |
| 24922 |
|
| 24923 |
* src/http.c (gethttp): Report a nicer error when no data is received. |
| 24924 |
|
| 24925 |
* src/rbuf.h (RBUF_READCHAR): Ditto. |
| 24926 |
|
| 24927 |
* src/ftp-basic.c (ftp_response): Use sizeof. |
| 24928 |
|
| 24929 |
1998-04-27 John Burden <[email protected]> |
| 24930 |
|
| 24931 |
* windows/Makefile.*: Cleanup. |
| 24932 |
|
| 24933 |
1998-04-27 Hrvoje Niksic <[email protected]> |
| 24934 |
|
| 24935 |
* src/retr.c (print_percentage): EXPECTED is long, not int. |
| 24936 |
(print_percentage): Use floating-point arithmetic to avoid |
| 24937 |
overflow with large files' sizes multiplied with 100. |
| 24938 |
|
| 24939 |
1998-04-27 Gregor Hoffleit <[email protected]> |
| 24940 |
|
| 24941 |
* src/config.h.in: Added pid_t stub. |
| 24942 |
|
| 24943 |
* src/sysdep.h (S_ISREG): Moved here from mswindows.h (NeXT doesn't |
| 24944 |
define it). |
| 24945 |
|
| 24946 |
1998-04-27 Gregor Hoffleit <[email protected]> |
| 24947 |
|
| 24948 |
* configure.in: Check for PID_T. |
| 24949 |
|
| 24950 |
1998-04-20 Hrvoje Niksic <[email protected]> |
| 24951 |
|
| 24952 |
* src/version.c: Wget 1.5.0 is released. |
| 24953 |
|
| 24954 |
1998-04-19 Wanderlei Cavassin <[email protected]> |
| 24955 |
|
| 24956 |
* po/pt_BR.po: Updated. |
| 24957 |
|
| 24958 |
1998-04-19 Jan Prikryl <[email protected]> |
| 24959 |
|
| 24960 |
* po/cs.po: Updated. |
| 24961 |
|
| 24962 |
1998-04-19 Giovanni Bortolozzo <[email protected]> |
| 24963 |
|
| 24964 |
* po/it.po: Updated. |
| 24965 |
|
| 24966 |
1998-04-18 Hrvoje Niksic <[email protected]> |
| 24967 |
|
| 24968 |
* src/url.c (str_url): Ditto. |
| 24969 |
|
| 24970 |
* src/ftp-basic.c (ftp_rest): Use new name. |
| 24971 |
|
| 24972 |
* src/utils.c (long_to_string): Renamed from prnum(). |
| 24973 |
|
| 24974 |
1998-04-18 Hrvoje Niksic <[email protected]> |
| 24975 |
|
| 24976 |
* doc/wget.texi: Fixed @dircategory, courtesy Karl Eichwalder. |
| 24977 |
|
| 24978 |
1998-04-16 Hrvoje Niksic <[email protected]> |
| 24979 |
|
| 24980 |
* src/version.c: Wget 1.5-b17 is released. |
| 24981 |
|
| 24982 |
1998-04-08 Wanderlei Cavassin <[email protected]> |
| 24983 |
|
| 24984 |
* po/pt_BR.po: Updated. |
| 24985 |
|
| 24986 |
1998-04-08 Stefan Hornburg <[email protected]> |
| 24987 |
|
| 24988 |
* Makefile (dist): New target. |
| 24989 |
|
| 24990 |
1998-04-08 Hrvoje Niksic <[email protected]> |
| 24991 |
|
| 24992 |
* src/version.c: Wget 1.5-b16 is released. |
| 24993 |
|
| 24994 |
1998-04-08 Hrvoje Niksic <[email protected]> |
| 24995 |
|
| 24996 |
* src/init.c (commands): Renamed `always_rest' to `continue'. |
| 24997 |
|
| 24998 |
1998-04-08 Hrvoje Niksic <[email protected]> |
| 24999 |
|
| 25000 |
* src/headers.c (header_get): New argument FLAGS. |
| 25001 |
|
| 25002 |
* src/http.c (gethttp): If request is malformed, bail out of the |
| 25003 |
header loop. |
| 25004 |
(gethttp): Check for empty header *after* the status line checks. |
| 25005 |
(gethttp): Disallow continuations for status line. |
| 25006 |
|
| 25007 |
1998-04-05 Hrvoje Niksic <[email protected]> |
| 25008 |
|
| 25009 |
* src/all: Use it. |
| 25010 |
|
| 25011 |
* src/log.c (logputs): New argument. |
| 25012 |
(logvprintf): Ditto. |
| 25013 |
(logprintf): Ditto. |
| 25014 |
|
| 25015 |
1998-04-04 Hrvoje Niksic <[email protected]> |
| 25016 |
|
| 25017 |
* src/version.c: Wget 1.5-b15 is released. |
| 25018 |
|
| 25019 |
1998-04-04 Hrvoje Niksic <[email protected]> |
| 25020 |
|
| 25021 |
* src/utils.h: Declare file_non_directory_p(). |
| 25022 |
|
| 25023 |
1998-04-04 Hrvoje Niksic <[email protected]> |
| 25024 |
|
| 25025 |
* src/http.c (http_atotm): Update comment. |
| 25026 |
|
| 25027 |
* src/main.c (i18n_initialize): Set LC_MESSAGES, not LC_ALL. |
| 25028 |
|
| 25029 |
* src/wget.h: Renamed ENABLED_NLS to HAVE_NLS. |
| 25030 |
|
| 25031 |
* src/main.c (i18n_initialize): New function. |
| 25032 |
(main): Use it. |
| 25033 |
|
| 25034 |
* src/log.c: Include <unistd.h>. |
| 25035 |
|
| 25036 |
* src/retr.c (show_progress): Cast alloca to char *. |
| 25037 |
|
| 25038 |
1998-04-04 Hrvoje Niksic <[email protected]> |
| 25039 |
|
| 25040 |
* aclocal.m4 (WGET_WITH_NLS): Renamed USE_NLS to HAVE_NLS. |
| 25041 |
|
| 25042 |
* ABOUT-NLS: Removed. |
| 25043 |
|
| 25044 |
* Makefile.in (stamp-h): Clean up stamp-h-related dependencies. |
| 25045 |
Don't attempt to write to stamp-h.in. |
| 25046 |
|
| 25047 |
* aclocal.m4 (WGET_PROCESS_PO): Reset srcdir to ac_given_srcdir. |
| 25048 |
|
| 25049 |
1998-04-03 Hrvoje Niksic <[email protected]> |
| 25050 |
|
| 25051 |
* src/main.c (main): It's `tries', not `numtries' now. |
| 25052 |
|
| 25053 |
1998-04-03 Hrvoje Niksic <[email protected]> |
| 25054 |
|
| 25055 |
* Makefile.in (distclean-top): Remove stamp-h. |
| 25056 |
|
| 25057 |
1998-04-02 Robert Schmidt <[email protected]> |
| 25058 |
|
| 25059 |
* po/no.po: New file. |
| 25060 |
|
| 25061 |
1998-04-01 Tim Charron <[email protected]> |
| 25062 |
|
| 25063 |
* src/log.c (logvprintf): Don't use ARGS twice. |
| 25064 |
|
| 25065 |
1998-04-01 Junio Hamano <[email protected]> |
| 25066 |
|
| 25067 |
* src/http.c: Document all the Digest functions. |
| 25068 |
|
| 25069 |
1998-04-01 John <[email protected]> |
| 25070 |
|
| 25071 |
* src/mswindows.c: Cleaned up. |
| 25072 |
|
| 25073 |
1998-04-01 Hrvoje Niksic <[email protected]> |
| 25074 |
|
| 25075 |
* src/version.c: Wget 1.5-b14 is released. |
| 25076 |
|
| 25077 |
1998-04-01 Hrvoje Niksic <[email protected]> |
| 25078 |
|
| 25079 |
* src/utils.c (file_non_directory_p): Renamed from isfile(). |
| 25080 |
|
| 25081 |
* src/mswindows.h (S_ISREG): New macro, suggested by Tim Adam. |
| 25082 |
|
| 25083 |
1998-04-01 Hrvoje Niksic <[email protected]> |
| 25084 |
|
| 25085 |
* src/init.c (getperms): Removed. |
| 25086 |
|
| 25087 |
1998-04-01 Hrvoje Niksic <[email protected]> |
| 25088 |
|
| 25089 |
* src/ftp-opie.c (STRLEN4): New macro. |
| 25090 |
(btoe): Use it. |
| 25091 |
|
| 25092 |
1998-04-01 Hrvoje Niksic <[email protected]> |
| 25093 |
|
| 25094 |
* configure.in: New option `--disable-debug'. |
| 25095 |
|
| 25096 |
1998-03-31 Junio Hamano <[email protected]> |
| 25097 |
|
| 25098 |
* src/http.c (HEXD2asc): New macro. |
| 25099 |
(dump_hash): Use it. |
| 25100 |
|
| 25101 |
1998-03-31 Hrvoje Niksic <[email protected]> |
| 25102 |
|
| 25103 |
* src/version.c: Wget 1.5-b13 is released. |
| 25104 |
|
| 25105 |
1998-03-31 Hrvoje Niksic <[email protected]> |
| 25106 |
|
| 25107 |
* src/utils.c (mkdirhier): Use 0777 instead of opt.dirmode. |
| 25108 |
|
| 25109 |
* src/init.c (cmd_spec_dotstyle): Use 48 dots per line for binary |
| 25110 |
style. |
| 25111 |
(cmd_permissions): Removed. |
| 25112 |
|
| 25113 |
* src/config.h.in: Add template for WORDS_BIGENDIAN. |
| 25114 |
|
| 25115 |
1998-03-31 Hrvoje Niksic <[email protected]> |
| 25116 |
|
| 25117 |
* src/main.c (main): Don't try to use `com'. |
| 25118 |
|
| 25119 |
1998-03-31 Hrvoje Niksic <[email protected]> |
| 25120 |
|
| 25121 |
* doc/Makefile.in: Don't attempt to (un)install the man-page. |
| 25122 |
|
| 25123 |
1998-03-31 Hrvoje Niksic <[email protected]> |
| 25124 |
|
| 25125 |
* configure.in: Check for endianness. |
| 25126 |
|
| 25127 |
1998-03-30 Hrvoje Niksic <[email protected]> |
| 25128 |
|
| 25129 |
* src/version.c: Wget 1.5-b12 is released. |
| 25130 |
|
| 25131 |
1998-03-30 Hrvoje Niksic <[email protected]> |
| 25132 |
|
| 25133 |
* src/init.c (commands): Renamed `numtries' to `tries'. |
| 25134 |
(cmd_spec_debug): Removed. |
| 25135 |
(home_dir): Under Windows, return `C:\' if HOME is undefined. |
| 25136 |
|
| 25137 |
1998-03-30 Hrvoje Niksic <[email protected]> |
| 25138 |
|
| 25139 |
* src/init.c (cmd_permissions): New function. |
| 25140 |
|
| 25141 |
1998-03-30 Hrvoje Niksic <[email protected]> |
| 25142 |
|
| 25143 |
* doc/wget.1: Removed it. |
| 25144 |
|
| 25145 |
1998-03-29 Hrvoje Niksic <[email protected]> |
| 25146 |
|
| 25147 |
* src/version.c: Wget 1.5-b11 is released. |
| 25148 |
|
| 25149 |
1998-03-29 Hrvoje Niksic <[email protected]> |
| 25150 |
|
| 25151 |
* src/config.h.in: Define _XOPEN_SOURCE. |
| 25152 |
|
| 25153 |
* src/init.c (check_user_specified_header): New function. |
| 25154 |
(cmd_spec_header): Use it. |
| 25155 |
(cmd_spec_useragent): New function. |
| 25156 |
|
| 25157 |
1998-03-29 Hrvoje Niksic <[email protected]> |
| 25158 |
|
| 25159 |
* doc/wget.texi (Invoking): Split into more sections, analogous to |
| 25160 |
output of `wget --help'. |
| 25161 |
(HTTP Options): Document --user-agent. |
| 25162 |
|
| 25163 |
1998-03-29 Hrvoje Niksic <[email protected]> |
| 25164 |
|
| 25165 |
* aclocal.m4 (WGET_PROCESS_PO): Use echo instead of AC_MSG_RESULT. |
| 25166 |
|
| 25167 |
1998-03-28 Hrvoje Niksic <[email protected]> |
| 25168 |
|
| 25169 |
* src/wget.h: Include <libintl.h> only if NLS is enabled. |
| 25170 |
|
| 25171 |
1998-03-28 Hrvoje Niksic <[email protected]> |
| 25172 |
|
| 25173 |
* aclocal.m4 (WGET_WITH_NLS): Disable USE_NLS if gettext is |
| 25174 |
unavailable. |
| 25175 |
|
| 25176 |
* aclocal.m4: Renamed AM_STRUCT_UTIMBUF to WGET_STRUCT_UTIMBUF; |
| 25177 |
renamed AM_WITH_NLS to WGET_WITH_NLS. |
| 25178 |
|
| 25179 |
* aclocal.m4: Eliminate POSUBS. |
| 25180 |
|
| 25181 |
1998-03-26 Hrvoje Niksic <[email protected]> |
| 25182 |
|
| 25183 |
* src/options.h (struct options): Made `wait' a long. |
| 25184 |
(struct options): Ditto for `timeout'. |
| 25185 |
|
| 25186 |
1998-03-19 Hrvoje Niksic <[email protected]> |
| 25187 |
|
| 25188 |
* src/utils.c (exists): Renamed to file_exists_p. |
| 25189 |
(file_exists_p): Use access() if available. |
| 25190 |
|
| 25191 |
1998-03-17 Hrvoje Niksic <[email protected]> |
| 25192 |
|
| 25193 |
* src/utils.c (memfatal): Set save_log_p to 0 to avoid potential |
| 25194 |
infloop. |
| 25195 |
|
| 25196 |
* src/log.c: do_logging -> save_log_p. |
| 25197 |
|
| 25198 |
* src/config.h.in: Added template for HAVE_VSNPRINTF. |
| 25199 |
|
| 25200 |
1998-03-17 Hrvoje Niksic <[email protected]> |
| 25201 |
|
| 25202 |
* Makefile.in: config.h* -> src/config.h* |
| 25203 |
|
| 25204 |
* configure.in: Check for vsnprintf(). |
| 25205 |
|
| 25206 |
* po/POTFILES.in: Updated. |
| 25207 |
|
| 25208 |
1998-03-16 Jan Prikryl <[email protected]> |
| 25209 |
|
| 25210 |
* po/cs.po: New file. |
| 25211 |
|
| 25212 |
1998-03-16 Hrvoje Niksic <[email protected]> |
| 25213 |
|
| 25214 |
* src/version.c: Wget 1.5-b10 is released. |
| 25215 |
|
| 25216 |
1998-03-16 Hrvoje Niksic <[email protected]> |
| 25217 |
|
| 25218 |
* src/init.c: Ditto. |
| 25219 |
|
| 25220 |
* src/http.c: Protect declaration against non-ANSI compiler. |
| 25221 |
|
| 25222 |
* src/log.c (logvprintf): Use vsnprintf() if available. |
| 25223 |
|
| 25224 |
* src/getopt.c (main): Don't translate test stuff. |
| 25225 |
|
| 25226 |
1998-03-16 Hrvoje Niksic <[email protected]> |
| 25227 |
|
| 25228 |
* po/POTFILES.in: Removed extraneous newline at end of line, which |
| 25229 |
caused an error in `Makefile' which Sun make choked on. |
| 25230 |
|
| 25231 |
1998-03-16 Hrvoje Niksic <[email protected]> |
| 25232 |
|
| 25233 |
* doc/wget.texi (Contributors): Updated with oodles of new names. |
| 25234 |
|
| 25235 |
1998-03-12 Wanderlei Cavassin <[email protected]> |
| 25236 |
|
| 25237 |
* po/pt_BR.po: New file. |
| 25238 |
|
| 25239 |
1998-03-11 Hrvoje Niksic <[email protected]> |
| 25240 |
|
| 25241 |
* src/ftp.c (getftp): Don't translate "CWD %s". |
| 25242 |
|
| 25243 |
* src/wget.h (GCC_FORMAT_ATTR): Renamed from FORMAT_ATTR. |
| 25244 |
|
| 25245 |
1998-03-07 Tim Adam <[email protected]> |
| 25246 |
|
| 25247 |
* src/recur.c (parse_robots): Correctly reset `entries' on empty |
| 25248 |
disallow. |
| 25249 |
|
| 25250 |
1998-03-07 Hrvoje Niksic <[email protected]> |
| 25251 |
|
| 25252 |
* src/init.c (cmd_spec_debug): Use cmd_boolean(). |
| 25253 |
|
| 25254 |
1998-03-07 Hrvoje Niksic <[email protected]> |
| 25255 |
|
| 25256 |
* src/ftp-opie.c (btoe): Use memcpy() instead of strncat(). |
| 25257 |
|
| 25258 |
* src/log.c (logputs): New function. |
| 25259 |
(logvprintf): Renamed from vlogmsg; use logputs(). |
| 25260 |
|
| 25261 |
* src/retr.c (show_progress): Print `[100%]' when the retrieval is |
| 25262 |
finished. |
| 25263 |
|
| 25264 |
* src/init.c (run_wgetrc): Use FILE, not PATH. |
| 25265 |
(wgetrc_file_name): Ditto. |
| 25266 |
|
| 25267 |
1998-03-07 Hrvoje Niksic <[email protected]> |
| 25268 |
|
| 25269 |
* PROBLEMS: New file. |
| 25270 |
|
| 25271 |
1998-02-23 Hrvoje Niksic <[email protected]> |
| 25272 |
|
| 25273 |
* src/http.c (gethttp): Create proxy-authorization correctly. |
| 25274 |
|
| 25275 |
1998-02-22 Karl Eichwalder <[email protected]> |
| 25276 |
|
| 25277 |
* po/Makefile.in.in (install-data-yes): Fix creation of |
| 25278 |
directories for LC_MESSAGE files. |
| 25279 |
|
| 25280 |
1998-02-22 Karl Eichwalder <[email protected]> |
| 25281 |
|
| 25282 |
* doc/Makefile.in (install.info): only info files (no *info.orig, |
| 25283 |
etc.). |
| 25284 |
|
| 25285 |
1998-02-22 Hrvoje Niksic <[email protected]> |
| 25286 |
|
| 25287 |
* src/version.c: Wget 1.5-b9 is released. |
| 25288 |
|
| 25289 |
1998-02-22 Hrvoje Niksic <[email protected]> |
| 25290 |
|
| 25291 |
* src/recur.c (recursive_retrieve): Reset `first_time'. |
| 25292 |
|
| 25293 |
* src/ftp.c (getftp): Added `default' clause to switches of uerr_t. |
| 25294 |
|
| 25295 |
* src/rbuf.c (rbuf_peek): Simplified. |
| 25296 |
(rbuf_flush): Use MINVAL. |
| 25297 |
|
| 25298 |
* src/wget.h (MINVAL): Moved from url.h. |
| 25299 |
|
| 25300 |
* src/rbuf.h (RBUF_FD): New macro. |
| 25301 |
|
| 25302 |
* src/url.c (add_url): Add to the head of the list. |
| 25303 |
|
| 25304 |
* src/ftp.c (ftp_retrieve_list): Set the permissions to downloaded |
| 25305 |
file. |
| 25306 |
(getftp): Set the default permissions to 0600. |
| 25307 |
|
| 25308 |
1998-02-22 Hrvoje Niksic <[email protected]> |
| 25309 |
|
| 25310 |
* src/md5.c: Ditto. |
| 25311 |
|
| 25312 |
* src/getopt.c: Use ANSI function definitions. |
| 25313 |
|
| 25314 |
* src/ftp-opie.c: New file. |
| 25315 |
|
| 25316 |
* src/options.h: Don't redefine EXTERN. |
| 25317 |
|
| 25318 |
* src/init.c: Sort it correctly. |
| 25319 |
|
| 25320 |
1998-02-22 Hrvoje Niksic <[email protected]> |
| 25321 |
|
| 25322 |
* configure.in: Removed `-Wno-switch' for gcc. |
| 25323 |
|
| 25324 |
* po/Makefile.in.in (install-data-yes): Use mkinstalldirs to |
| 25325 |
create the directory first. |
| 25326 |
|
| 25327 |
1998-02-21 Karl Eichwalder <[email protected]> |
| 25328 |
|
| 25329 |
* po/de.po: Updated. |
| 25330 |
|
| 25331 |
1998-02-21 Hrvoje Niksic <[email protected]> |
| 25332 |
|
| 25333 |
* src/url.c (get_urls_html): Ditto. |
| 25334 |
(convert_links): Ditto. |
| 25335 |
|
| 25336 |
* src/recur.c (parse_robots): Ditto. |
| 25337 |
|
| 25338 |
* src/html.c (ftp_index): Ditto. |
| 25339 |
|
| 25340 |
* src/ftp-ls.c (ftp_parse_unix_ls): Open file as binary. |
| 25341 |
|
| 25342 |
* src/init.c (defaults): Initialize `opt' to zero via memset. |
| 25343 |
|
| 25344 |
* src/http.c (digest_authentication_encode): goto considered harmful. |
| 25345 |
|
| 25346 |
1998-02-19 Hrvoje Niksic <[email protected]> |
| 25347 |
|
| 25348 |
* src/ftp.c (delelement): Simplify and fix leak. |
| 25349 |
|
| 25350 |
1998-02-19 Hrvoje Niksic <[email protected]> |
| 25351 |
|
| 25352 |
* Makefile.in (check): New empty target. |
| 25353 |
|
| 25354 |
1998-02-18 Hrvoje Niksic <[email protected]> |
| 25355 |
|
| 25356 |
* src/http.c (dump_hash): Use HEXD2ASC instead of home-grown stuff. |
| 25357 |
|
| 25358 |
* src/url.h (HEXD2ASC): Removed warning. |
| 25359 |
|
| 25360 |
* src/init.c (comind): Use binary search. |
| 25361 |
(commands): Reorganized. |
| 25362 |
(setval): Ditto. |
| 25363 |
(cmd_boolean): New function. |
| 25364 |
(cmd_number): Ditto. |
| 25365 |
(cmd_number_inf): Ditto. |
| 25366 |
(cmd_string): Ditto. |
| 25367 |
(cmd_vector): Ditto. |
| 25368 |
(cmd_directory_vector): Ditto. |
| 25369 |
(cmd_bytes): Ditto. |
| 25370 |
(cmd_time): Ditto. |
| 25371 |
(cmd_spec_debug): Ditto. |
| 25372 |
(cmd_spec_dirmode): Ditto. |
| 25373 |
(cmd_spec_dirstruct): Ditto. |
| 25374 |
(cmd_spec_dotstyle): Ditto. |
| 25375 |
(cmd_spec_header): Ditto. |
| 25376 |
(cmd_spec_htmlify): Ditto. |
| 25377 |
(cmd_spec_mirror): Ditto. |
| 25378 |
(cmd_spec_outputdocument): Ditto. |
| 25379 |
(cmd_spec_recursive): Ditto. |
| 25380 |
(settime): Merged with cmd_time(). |
| 25381 |
(setbytes): Merged with cmd_bytes(). |
| 25382 |
(setonoff): Merged with cmd_boolean(). |
| 25383 |
(onoff): Ditto. |
| 25384 |
|
| 25385 |
1998-02-17 Hrvoje Niksic <[email protected]> |
| 25386 |
|
| 25387 |
* src/version.c: Wget 1.5-b8 is released. |
| 25388 |
|
| 25389 |
1998-02-17 Hrvoje Niksic <[email protected]> |
| 25390 |
|
| 25391 |
* src/http.c (digest_authentication_encode): New function. |
| 25392 |
(create_authorization_line): Use it. |
| 25393 |
(dump_hash): New function. |
| 25394 |
(digest_authentication_encode): Use it. |
| 25395 |
|
| 25396 |
* src/fnmatch.c: Renamed from `mtch.c'. |
| 25397 |
|
| 25398 |
1998-02-17 Hrvoje Niksic <[email protected]> |
| 25399 |
|
| 25400 |
* src/Makefile.in (distclean): Remove `config.h'. |
| 25401 |
|
| 25402 |
1998-02-15 Karl Eichwalder <[email protected]> |
| 25403 |
|
| 25404 |
* src/main.c (main): Tag "Written by..." string as translatable. |
| 25405 |
|
| 25406 |
1998-02-15 Hrvoje Niksic <[email protected]> |
| 25407 |
|
| 25408 |
* src/wget.h (FREE_MAYBE): New macro. |
| 25409 |
|
| 25410 |
* src/http.c (create_authorization_line): Don't use ANSI C string |
| 25411 |
concatenation feature. |
| 25412 |
(basic_authentication_encode): Use alloca() for temporary |
| 25413 |
variables. |
| 25414 |
|
| 25415 |
* src/recur.h: Ditto. |
| 25416 |
|
| 25417 |
* src/http.c: Ditto. |
| 25418 |
|
| 25419 |
* src/headers.h: Ditto. |
| 25420 |
|
| 25421 |
* src/ftp-basic.c: Protect declaration against non-ANSI compiler. |
| 25422 |
|
| 25423 |
* src/http.c (create_authorization_line): Cast `unsigned char *' to |
| 25424 |
`char *' for sprintf, to shut up the noisy Digital Unix cc. |
| 25425 |
|
| 25426 |
1998-02-15 Hrvoje Niksic <[email protected]> |
| 25427 |
|
| 25428 |
* src/version.c: Wget 1.5-b7 is released. |
| 25429 |
|
| 25430 |
1998-02-15 Hrvoje Niksic <[email protected]> |
| 25431 |
|
| 25432 |
* src/cmpt.c (strstr): Synched with glibc-2.0.6. |
| 25433 |
|
| 25434 |
* src/ftp-basic.c (calculate_skey_response): Ditto. |
| 25435 |
(calculate_skey_response): Use alloca(). |
| 25436 |
|
| 25437 |
* src/http.c (create_authorization_line): Work with FSF's version of |
| 25438 |
md5.c. |
| 25439 |
|
| 25440 |
* src/md5.c: New file, from GNU libc. |
| 25441 |
|
| 25442 |
1998-02-14 Hrvoje Niksic <[email protected]> |
| 25443 |
|
| 25444 |
* src/url.h (URL_CLEANSE): Name the temporary variable more carefully. |
| 25445 |
|
| 25446 |
1998-02-13 Junio Hamano <[email protected]> |
| 25447 |
|
| 25448 |
* src/http.c: Add HTTP-DA support. |
| 25449 |
* src/ftp-basic.c: Add Opie/S-key support. |
| 25450 |
* src/config.h.in, Makefile.in: Add HTTP-DA and Opie/S-key support. |
| 25451 |
* src/md5.c, md5.h: New files. |
| 25452 |
|
| 25453 |
1998-02-13 Hrvoje Niksic <[email protected]> |
| 25454 |
|
| 25455 |
* src/http.c (http_process_range): Renamed from hprocrange(). |
| 25456 |
(http_process_range): Parse the whole header. |
| 25457 |
|
| 25458 |
* src/headers.c: New file. |
| 25459 |
(header_process): New function. |
| 25460 |
(header_get): Renamed from fetch_next_header. |
| 25461 |
|
| 25462 |
* src/all: Include utils.h only where necessary. |
| 25463 |
|
| 25464 |
* src/wget.h: Declare xmalloc(), xrealloc() and xstrdup() here. |
| 25465 |
|
| 25466 |
* src/wget.h: Add provisions for dmalloc. |
| 25467 |
|
| 25468 |
1998-02-13 Hrvoje Niksic <[email protected]> |
| 25469 |
|
| 25470 |
* src/http.c (basic_authentication_encode): New function, instead of |
| 25471 |
the macro. |
| 25472 |
|
| 25473 |
1998-02-12 Hrvoje Niksic <[email protected]> |
| 25474 |
|
| 25475 |
* src/version.c: Wget 1.5-b6 is released. |
| 25476 |
|
| 25477 |
1998-02-12 Hrvoje Niksic <[email protected]> |
| 25478 |
|
| 25479 |
* src/ftp.c (ftp_loop): Determine `filename' more precisely. |
| 25480 |
|
| 25481 |
* src/init.c (setval): Don't set `opt.quiet' if output-document is |
| 25482 |
`-'. |
| 25483 |
|
| 25484 |
* src/log.c (log_init): Print to STDERR instead of STDOUT. |
| 25485 |
(vlogmsg): Use STDERR by default. |
| 25486 |
(logflush): Ditto. |
| 25487 |
|
| 25488 |
1998-02-11 Simon Josefsson <[email protected]> |
| 25489 |
|
| 25490 |
* src/host.c: Use addr_in again. |
| 25491 |
|
| 25492 |
1998-02-11 Hrvoje Niksic <[email protected]> |
| 25493 |
|
| 25494 |
* po/it.po: New file, by Antonio Rosella. |
| 25495 |
|
| 25496 |
1998-02-08 Karl Eichwalder <[email protected]> |
| 25497 |
|
| 25498 |
* src/http.c (gethttp): Fixed typo. |
| 25499 |
|
| 25500 |
1998-02-08 Karl Eichwalder <[email protected]> |
| 25501 |
|
| 25502 |
* po/de.po: Updated. |
| 25503 |
|
| 25504 |
1998-02-08 Hrvoje Niksic <[email protected]> |
| 25505 |
|
| 25506 |
* src/version.c: Wget 1.5-b5 is released. |
| 25507 |
|
| 25508 |
1998-02-08 Hrvoje Niksic <[email protected]> |
| 25509 |
|
| 25510 |
* src/retr.c (show_progress): Use it. |
| 25511 |
|
| 25512 |
* src/log.c (logflush): New function. |
| 25513 |
|
| 25514 |
* src/wget.h: Utilize __attribute__ if on gcc. |
| 25515 |
|
| 25516 |
1998-02-08 Hrvoje Niksic <[email protected]> |
| 25517 |
|
| 25518 |
* aclocal.m4: Cleaned up. |
| 25519 |
|
| 25520 |
* po/hr.po: Updated. |
| 25521 |
|
| 25522 |
* configure.in: Removed check for POSIXized ISC. |
| 25523 |
|
| 25524 |
1998-02-07 Karl Eichwalder <[email protected]> |
| 25525 |
|
| 25526 |
* Makefile.in (install.info uninstall.info install.man |
| 25527 |
uninstall.man install.wgetrc): Use it. |
| 25528 |
|
| 25529 |
* Makefile.in (install.mo): New target. |
| 25530 |
|
| 25531 |
1998-02-07 Hrvoje Niksic <[email protected]> |
| 25532 |
|
| 25533 |
* src/http.c (base64_encode_line): New argument LENGTH. |
| 25534 |
(BASIC_AUTHENTICATION_ENCODE): Use it. |
| 25535 |
(BASIC_AUTHENTICATION_ENCODE): Take length of HEADER into account. |
| 25536 |
|
| 25537 |
* src/main.c (main): Fixed fprintf() format mismatch. |
| 25538 |
|
| 25539 |
1998-02-06 Hrvoje Niksic <[email protected]> |
| 25540 |
|
| 25541 |
* src/version.c: Wget 1.5-b4 is released. |
| 25542 |
|
| 25543 |
1998-02-04 Hrvoje Niksic <[email protected]> |
| 25544 |
|
| 25545 |
* src/init.c (cleanup): Use it. |
| 25546 |
|
| 25547 |
* src/recur.c (recursive_cleanup): New function. |
| 25548 |
|
| 25549 |
* src/retr.c (retrieve_from_file): Ditto. |
| 25550 |
|
| 25551 |
* src/main.c (main): Use it. |
| 25552 |
|
| 25553 |
* src/recur.c (recursive_reset): New function. |
| 25554 |
|
| 25555 |
* src/retr.c (retrieve_from_file): Ditto. |
| 25556 |
|
| 25557 |
* src/main.c (main): Simplify call to recursive_retrieve(). |
| 25558 |
|
| 25559 |
* src/recur.c (recursive_retrieve): Removed FLAGS argument. |
| 25560 |
|
| 25561 |
* src/http.c (gethttp): Changed call to iwrite(). |
| 25562 |
|
| 25563 |
1998-02-03 Simon Josefsson <[email protected]> |
| 25564 |
|
| 25565 |
* src/host.c: use sockaddr_in instead of addr_in. |
| 25566 |
|
| 25567 |
1998-02-03 Karl Eichwalder <[email protected]> |
| 25568 |
|
| 25569 |
* po/POTFILES.in: Touch it (needed for NLS); add src/ftp.c, |
| 25570 |
src/getopt.c, src/host.c, src/html.c, src/http.c, src/init.c, |
| 25571 |
src/main.c, src/mswindows.c, src/netrc.c, src/recur.c, src/retr.c, |
| 25572 |
src/url.c, and src/utils.c. |
| 25573 |
|
| 25574 |
* intl/po2tbl.sed.in: Add from gettext-0.10.32 (needed for NLS). |
| 25575 |
|
| 25576 |
* po/Makefile.in.in: Add from gettext-0.10.32. |
| 25577 |
|
| 25578 |
* Makefile.in (SUBDIRS): Add po/. |
| 25579 |
|
| 25580 |
* configure.in (ALL_LINGUAS): New variable. Add "de" and "hr". |
| 25581 |
(AM_GNU_GETTEXT): Add. |
| 25582 |
(AC_OUTPUT): Add po/Makefile.in; run the sed command. |
| 25583 |
|
| 25584 |
* aclocal.m4 (AM_WITH_NLS, AM_GNU_GETTEXT, AM_LC_MESSAGES, |
| 25585 |
AM_PATH_PROG_WITH_TEST): from gettext-0.10.32. |
| 25586 |
|
| 25587 |
1998-02-03 Hrvoje Niksic <[email protected]> |
| 25588 |
|
| 25589 |
* src/version.c: Wget 1.5-b3 is released. |
| 25590 |
|
| 25591 |
* src/host.c (ftp_getaddress): Don't print to stderr directly. |
| 25592 |
|
| 25593 |
* src/init.c (setbytes): Support `g' for gigabytes. |
| 25594 |
(cmdtype): New specification CTIME. |
| 25595 |
(setval): Use it with settime(). |
| 25596 |
(commands): Use it for WAIT and TIMEOUT. |
| 25597 |
|
| 25598 |
1998-02-03 Hrvoje Niksic <[email protected]> |
| 25599 |
|
| 25600 |
* src/url.c (get_urls_html): Ditto. |
| 25601 |
(free_urlpos): Ditto. |
| 25602 |
(mkstruct): Ditto. |
| 25603 |
(construct): Ditto. |
| 25604 |
|
| 25605 |
* src/retr.c (retrieve_url): Move declaration of local variables to |
| 25606 |
smaller scope. |
| 25607 |
|
| 25608 |
* src/url.c (urlproto): Use it. |
| 25609 |
(parseurl): Ditto. |
| 25610 |
(str_url): Ditto. |
| 25611 |
(get_urls_html): Ditto. |
| 25612 |
|
| 25613 |
* src/utils.h (ARRAY_SIZE): New macro. |
| 25614 |
|
| 25615 |
* src/url.c (proto): Moved from url.h. |
| 25616 |
|
| 25617 |
* src/url.h (URL_CLEANSE): Reformatted. |
| 25618 |
(USE_PROXY_P): Renamed from USE_PROXY. |
| 25619 |
|
| 25620 |
* src/ftp-basic.c: Adjust to the new interface of iwrite(). |
| 25621 |
|
| 25622 |
* src/ftp-basic.c (ftp_port): Use alloca(). |
| 25623 |
|
| 25624 |
1998-02-02 Hrvoje Niksic <[email protected]> |
| 25625 |
|
| 25626 |
* src/http.c (BASIC_AUTHENTICATION_ENCODE): New macro. |
| 25627 |
(gethttp): Use it. |
| 25628 |
|
| 25629 |
* src/utils.c (unique_name_1): Moved from url.c. |
| 25630 |
(unique_name): Ditto. |
| 25631 |
|
| 25632 |
* src/url.c (url_filename): Ditto. |
| 25633 |
|
| 25634 |
* src/log.c (redirect_output): Changed call to unique_name(). |
| 25635 |
|
| 25636 |
* src/url.c (unique_name_1): Renamed from unique_name(). |
| 25637 |
(unique_name): Changed interface. |
| 25638 |
|
| 25639 |
* src/init.c (enum cmdid): Moved from init.h. |
| 25640 |
(cmdtype): Ditto. |
| 25641 |
(struct cmd): Ditto. |
| 25642 |
|
| 25643 |
* src/main.c (main): Use it. |
| 25644 |
(main): Moved `--backups' to not have a short option. |
| 25645 |
|
| 25646 |
* src/options.h (struct options): New member BACKGROUND. |
| 25647 |
|
| 25648 |
* src/main.c (print_help): Rearranged. |
| 25649 |
(main): New long options for -n* short options: --no-directories, |
| 25650 |
--no-host-directories, --non-verbose, --no-host-lookup and |
| 25651 |
--dont-remove-listing. |
| 25652 |
|
| 25653 |
1998-02-01 Hrvoje Niksic <[email protected]> |
| 25654 |
|
| 25655 |
* src/main.c (main): Use log_close(). |
| 25656 |
|
| 25657 |
* src/log.c: New variable LOGFP. |
| 25658 |
(vlogmsg): Use it. |
| 25659 |
(redirect_output): Don't open /dev/null; set LOGFP to stdin |
| 25660 |
instead. |
| 25661 |
(log_close): New function. |
| 25662 |
|
| 25663 |
* src/options.h (struct options): Removed LFILE. |
| 25664 |
|
| 25665 |
* src/log.c (log_enable): Removed. |
| 25666 |
|
| 25667 |
* src/main.c (main): Use it. |
| 25668 |
|
| 25669 |
* src/log.c (log_init): New function. |
| 25670 |
|
| 25671 |
* src/url.c (get_urls_html): Removed needless assignment to BASE. |
| 25672 |
|
| 25673 |
* src/host.c (add_hlist): Don't set CMP needlessly. |
| 25674 |
|
| 25675 |
* src/utils.c (match_backwards): Ditto. |
| 25676 |
(in_acclist): Ditto. |
| 25677 |
|
| 25678 |
* src/url.c (findurl): Ditto. |
| 25679 |
|
| 25680 |
* src/netrc.c (parse_netrc): Ditto. |
| 25681 |
|
| 25682 |
* src/log.c (log_dump): Ditto. |
| 25683 |
|
| 25684 |
* src/html.c (html_quote_string): Ditto. |
| 25685 |
|
| 25686 |
* src/ftp-basic.c (ftp_request): Made static. |
| 25687 |
|
| 25688 |
* src/connect.c: Made global variables static. |
| 25689 |
|
| 25690 |
* src/url.c (construct): Ditto. |
| 25691 |
|
| 25692 |
* src/init.c (init_path): Avoid assignment inside `if'-condition. |
| 25693 |
|
| 25694 |
* src/ftp.c: Don't include in.h or winsock.h. |
| 25695 |
|
| 25696 |
* src/ftp.c (ftp_loop): Use SZ. |
| 25697 |
|
| 25698 |
* src/connect.c (bindport): Cast &addrlen to int *. |
| 25699 |
(conaddr): Ditto. |
| 25700 |
|
| 25701 |
* src/init.c (initialize): Don't use SYSTEM_WGETRC unconditionally. |
| 25702 |
|
| 25703 |
1998-01-31 Hrvoje Niksic <[email protected]> |
| 25704 |
|
| 25705 |
* src/version.c: Wget 1.5-b2 is released. |
| 25706 |
|
| 25707 |
* src/netrc.c (NETRC_FILE_NAME): Moved from netrc.h. |
| 25708 |
|
| 25709 |
* src/utils.c (proclist): Pass FNM_PATHNAME to fnmatch(). |
| 25710 |
|
| 25711 |
* src/ftp-basic.c (ftp_pasv): Avoid unnecessary casting to unsigned |
| 25712 |
char. |
| 25713 |
|
| 25714 |
* src/log.c: Don't attempt to hide arguments from ansi2knr. |
| 25715 |
|
| 25716 |
* src/cmpt.c: Synched strptime() and mktime() with glibc-2.0.6. |
| 25717 |
|
| 25718 |
* src/ansi2knr.c: Use a later version, from fileutils-3.16l alpha. |
| 25719 |
|
| 25720 |
* src/ftp.c (getftp): Ditto. |
| 25721 |
|
| 25722 |
* src/http.c (gethttp): Use it. |
| 25723 |
|
| 25724 |
* src/retr.c (get_contents): New argument EXPECTED; pass it to |
| 25725 |
show_progress(). |
| 25726 |
(show_progress): New argument EXPECTED; use it to display |
| 25727 |
percentages. |
| 25728 |
|
| 25729 |
* src/init.c (setval): Ditto. |
| 25730 |
|
| 25731 |
* src/http.c (gethttp): Ditto. |
| 25732 |
(http_loop): Ditto. |
| 25733 |
|
| 25734 |
* src/ftp.c (getftp): Ditto. |
| 25735 |
(ftp_loop_internal): Ditto. |
| 25736 |
|
| 25737 |
* src/ftp-ls.c (ftp_parse_unix_ls): Use abort() instead of assert(0). |
| 25738 |
|
| 25739 |
* src/sysdep.h (CLOSE): Simplify; use DEBUGP. |
| 25740 |
|
| 25741 |
* src/netrc.c (search_netrc): Use alloca(). |
| 25742 |
|
| 25743 |
* src/init.c (defaults): Initialize no_flush. |
| 25744 |
|
| 25745 |
* src/log.c (vlogmsg): Don't flush if no_flush. |
| 25746 |
|
| 25747 |
* src/options.h (struct options): New variable no_flush. |
| 25748 |
|
| 25749 |
* src/main.c (main): Don't play games with buffering. |
| 25750 |
|
| 25751 |
* src/log.c (vlogmsg): Flush the output after every message. |
| 25752 |
|
| 25753 |
1998-01-31 Hrvoje Niksic <[email protected]> |
| 25754 |
|
| 25755 |
* src/recur.c (parse_robots): Check for comments more correctly. |
| 25756 |
|
| 25757 |
* src/host.c (ftp_getaddress): Use STRDUP_ALLOCA. |
| 25758 |
(ftp_getaddress): Add diagnostics when reverse-lookup yields only |
| 25759 |
hostname. |
| 25760 |
|
| 25761 |
1998-01-31 Hrvoje Niksic <[email protected]> |
| 25762 |
|
| 25763 |
* src/init.c (parse_line): Ditto. |
| 25764 |
|
| 25765 |
* src/url.c (get_urls_html): Ditto. |
| 25766 |
|
| 25767 |
* src/main.c (main): Don't cast to unsigned char. |
| 25768 |
|
| 25769 |
* src/init.c (run_wgetrc): Don't cast to unsigned char. |
| 25770 |
(parse_line): Accept char instead of unsigned char. |
| 25771 |
|
| 25772 |
* src/html.c (htmlfindurl): Use char instead of unsigned char. |
| 25773 |
|
| 25774 |
* src/all: Use them. |
| 25775 |
|
| 25776 |
* src/sysdep.h: Add wrappers to ctype macros to make them |
| 25777 |
eight-bit-clean: |
| 25778 |
|
| 25779 |
1998-01-31 Hrvoje Niksic <[email protected]> |
| 25780 |
|
| 25781 |
* src/ftp.c (getftp): Initialize opt.ftp_pass here. |
| 25782 |
(ftp_retrieve_dirs): Use alloca(). |
| 25783 |
|
| 25784 |
* src/init.c (defaults): Don't initialize opt.ftp_pass. |
| 25785 |
|
| 25786 |
* src/sysdep.h (S_ISLNK): Declare for OS/2; ditto for lstat. |
| 25787 |
From Ivan F. Martinez <[email protected]>. |
| 25788 |
|
| 25789 |
1998-01-31 Hrvoje Niksic <[email protected]> |
| 25790 |
|
| 25791 |
* doc/Makefile.in (install.wgetrc): Don't use `!'. |
| 25792 |
|
| 25793 |
1998-01-30 Hrvoje Niksic <[email protected]> |
| 25794 |
|
| 25795 |
* src/http.c (gethttp): Cosmetic changes. |
| 25796 |
|
| 25797 |
* src/http.c (check_end): Allow `+D...' instead of `GMT'. |
| 25798 |
From Fabrizio Pollastri <[email protected]>. |
| 25799 |
|
| 25800 |
* src/url.c (process_ftp_type): New function. |
| 25801 |
(parseurl): Use it. |
| 25802 |
|
| 25803 |
* src/connect.c (iwrite): Allow writing in a few chunks. |
| 25804 |
(bindport): Made SRV static, so addr can point to it. |
| 25805 |
(select_fd): Removed HPUX kludge. |
| 25806 |
|
| 25807 |
* src/host.c (free_hlist): Incorporated into clean_hosts(). |
| 25808 |
|
| 25809 |
1998-01-30 Hrvoje Niksic <[email protected]> |
| 25810 |
|
| 25811 |
* src/html.c (htmlfindurl): Download <img lowsrc=...> |
| 25812 |
|
| 25813 |
* src/main.c (main): Ignore SIGPIPE. |
| 25814 |
|
| 25815 |
* src/connect.c (select_fd): New argument WRITEP. |
| 25816 |
(iwrite): Call select_fd(). |
| 25817 |
|
| 25818 |
1998-01-29 Hrvoje Niksic <[email protected]> |
| 25819 |
|
| 25820 |
* src/version.c: Wget v1.5-b1 is released. |
| 25821 |
|
| 25822 |
* src/http.c (hgetlen): Use sizeof() to get the header length. |
| 25823 |
(hgetrange): Ditto. |
| 25824 |
(hgettype): Ditto. |
| 25825 |
(hgetlocation): Ditto. |
| 25826 |
(hgetmodified): Ditto. |
| 25827 |
(haccepts_none): Ditto. |
| 25828 |
|
| 25829 |
* src/main.c (main): Updated `--version' and `--help' output, as per |
| 25830 |
Francois Pinard's suggestions. |
| 25831 |
|
| 25832 |
* src/main.c: Include locale.h; call setlocale(), bindtextdomain() and |
| 25833 |
textdomain(). |
| 25834 |
|
| 25835 |
* src/config.h.in: Define stubs for I18N3. |
| 25836 |
|
| 25837 |
* src/wget.h: Include libintl.h. |
| 25838 |
|
| 25839 |
1998-01-29 Hrvoje Niksic <[email protected]> |
| 25840 |
|
| 25841 |
* src/host.c (hlist): Made static. |
| 25842 |
(search_address): Cosmetic change. |
| 25843 |
|
| 25844 |
1998-01-28 Hrvoje Niksic <[email protected]> |
| 25845 |
|
| 25846 |
* src/url.c (mkstruct): Check for opt.cut_dirs. |
| 25847 |
(mkstruct): alloca()-te more, xmalloc() less. |
| 25848 |
|
| 25849 |
* src/utils.c (load_file): Check for ferror(). |
| 25850 |
|
| 25851 |
* src/url.c (get_urls_file): Close only the files we opened. |
| 25852 |
(get_urls_html): Ditto. |
| 25853 |
(count_slashes): New function. |
| 25854 |
|
| 25855 |
* src/http.h: Removed. |
| 25856 |
|
| 25857 |
* src/http.c (gethttp): Respect username and password provided by |
| 25858 |
proxy URL. |
| 25859 |
(base64_encode_line): Write into an existing buffer instead of |
| 25860 |
malloc-ing a new one. |
| 25861 |
(struct http_stat): Moved from http.h |
| 25862 |
|
| 25863 |
* src/retr.c (retrieve_url): Free SUF. |
| 25864 |
|
| 25865 |
* src/all: Removed lots of unnecessary .h dependencies. |
| 25866 |
|
| 25867 |
* src/html.c (global_state): Made static. |
| 25868 |
|
| 25869 |
* src/utils.h (ALLOCA_ARRAY): New macro. |
| 25870 |
|
| 25871 |
* src/main.c (main): New option `--cut-dirs'. |
| 25872 |
|
| 25873 |
* src/url.c (construct): Use alloca() for T. |
| 25874 |
|
| 25875 |
* src/utils.c (mkdirhier): Use STRDUP_ALLOCA. |
| 25876 |
|
| 25877 |
* src/host.c (_host_t): Moved from host.h. |
| 25878 |
(struct host): Renamed from _host_t. |
| 25879 |
(store_hostaddress): Use STRDUP_ALLOCA for INET_S. |
| 25880 |
(realhost): Ditto. |
| 25881 |
|
| 25882 |
* src/host.h: Don't include url.h. |
| 25883 |
|
| 25884 |
* src/ftp.c (LIST_FILENAME): Moved from ftp.h. |
| 25885 |
|
| 25886 |
* src/init.c (DEFAULT_FTP_ACCT): Moved from ftp.h. |
| 25887 |
|
| 25888 |
* src/main.c (main): Enable log if the output goes to a TTY. |
| 25889 |
|
| 25890 |
* src/connect.h: Removed unused constant `BACKLOG'. |
| 25891 |
|
| 25892 |
* src/config.h.in: Check for isatty(). |
| 25893 |
|
| 25894 |
* src/Makefile.in (LINK): Use CFLAGS when linking. |
| 25895 |
|
| 25896 |
1998-01-28 Hrvoje Niksic <[email protected]> |
| 25897 |
|
| 25898 |
* doc/wget.texi (Advanced Options): Expanded. |
| 25899 |
|
| 25900 |
1998-01-27 Hrvoje Niksic <[email protected]> |
| 25901 |
|
| 25902 |
* src/mswindows.c (ws_hangup): Use redirect_output(). |
| 25903 |
|
| 25904 |
* src/main.c (redirect_output_signal): New function; use |
| 25905 |
redirect_output(). |
| 25906 |
|
| 25907 |
* src/log.c (redirect_output): New function, based on hangup(), which |
| 25908 |
is deleted. |
| 25909 |
|
| 25910 |
* src/log.c (vlogmsg): New function. |
| 25911 |
|
| 25912 |
* src/wget.h (DEBUGP): Use debug_logmsg(). |
| 25913 |
|
| 25914 |
* src/main.c (hangup): Use it. |
| 25915 |
|
| 25916 |
* src/log.c (log_dump): New function. |
| 25917 |
|
| 25918 |
* src/utils.h (DO_REALLOC): Use `long' for various sizes. |
| 25919 |
|
| 25920 |
* src/http.c (hskip_lws): Use `while', for clarity. |
| 25921 |
(HTTP_DYNAMIC_LINE_BUFFER): New constant. |
| 25922 |
(fetch_next_header): Use it instead of DYNAMIC_LINE_BUFFER. |
| 25923 |
|
| 25924 |
* src/ftp-basic.c (FTP_DYNAMIC_LINE_BUFFER): New constant. |
| 25925 |
(ftp_response): Use it instead of DYNAMIC_LINE_BUFFER. |
| 25926 |
|
| 25927 |
* src/utils.c (DYNAMIC_LINE_BUFFER): Moved from utils.c. |
| 25928 |
(LEGIBLE_SEPARATOR): Ditto. |
| 25929 |
(FILE_BUFFER_SIZE): Ditto. |
| 25930 |
|
| 25931 |
* src/retr.c (BUFFER_SIZE): Moved from retr.h. |
| 25932 |
|
| 25933 |
* src/log.c: New file. |
| 25934 |
(logmsg): Moved from utils.c. |
| 25935 |
(debug_logmsg): New function. |
| 25936 |
|
| 25937 |
* src/mswindows.h: Include it here. |
| 25938 |
|
| 25939 |
* src/init.c: Ditto. |
| 25940 |
|
| 25941 |
* src/utils.c: Don't include <windows.h>. |
| 25942 |
|
| 25943 |
1998-01-25 Hrvoje Niksic <[email protected]> |
| 25944 |
|
| 25945 |
* src/host.c (ftp_getaddress): Ditto. |
| 25946 |
|
| 25947 |
* src/main.c (main): Use it. |
| 25948 |
|
| 25949 |
* src/utils.h (STRDUP_ALLOCA): New macro. |
| 25950 |
|
| 25951 |
* src/init.c: Prepend `wget: ' to error messages printed on stderr. |
| 25952 |
|
| 25953 |
* src/utils.c (mkdirhier): Renamed from mymkdir. |
| 25954 |
(touch): Renamed from my_touch. |
| 25955 |
(pwd_cuserid): Renamed from my_cuserid(). |
| 25956 |
|
| 25957 |
1998-01-25 Hrvoje Niksic <[email protected]> |
| 25958 |
|
| 25959 |
* doc/wget.texi (Advanced Options): Document `--cache'. |
| 25960 |
(Contributors): Added Brian. |
| 25961 |
|
| 25962 |
1998-01-24 Karl Heuer <[email protected]> |
| 25963 |
|
| 25964 |
* src/netrc.c (search_netrc): Initialize `l' only after processing |
| 25965 |
netrc. |
| 25966 |
|
| 25967 |
* src/main.c (main): Don't trap SIGHUP if it's being ignored. |
| 25968 |
|
| 25969 |
1998-01-24 Hrvoje Niksic <[email protected]> |
| 25970 |
|
| 25971 |
* src/recur.c (parse_robots): Respect opt.useragent; use alloca(). |
| 25972 |
|
| 25973 |
* src/http.c (gethttp): Construct useragent accordingly. |
| 25974 |
|
| 25975 |
* src/version.c: Changed version string to numbers-only. |
| 25976 |
|
| 25977 |
* src/main.c (print_help): List all the options. |
| 25978 |
|
| 25979 |
* src/mswindows.c (windows_main_junk): Initialize argv0 here. |
| 25980 |
|
| 25981 |
1998-01-24 Hrvoje Niksic <[email protected]> |
| 25982 |
|
| 25983 |
* src/all: Use logmsg(). |
| 25984 |
|
| 25985 |
* src/utils.c (time_str): Moved from retr.c. |
| 25986 |
(logmsg): New function. |
| 25987 |
(logmsg_noflush): Ditto. |
| 25988 |
|
| 25989 |
* src/rbuf.c: New file, moved buf_* functions here. |
| 25990 |
|
| 25991 |
* src/ftp.c (ftp_expected_bytes): Moved from ftp-basic.c. |
| 25992 |
|
| 25993 |
* src/ftp-basic.c (ftp_rest): Use prnum(). |
| 25994 |
|
| 25995 |
* src/ftp-basic.c: Ditto. |
| 25996 |
|
| 25997 |
* src/ftp.c: Use the new reading functions and macros. |
| 25998 |
|
| 25999 |
* src/retr.c (buf_initialize): New function. |
| 26000 |
(buf_initialized_p): Ditto. |
| 26001 |
(buf_uninitialize): Ditto. |
| 26002 |
(buf_fd): Ditto. |
| 26003 |
|
| 26004 |
* src/http.c (fetch_next_header): Use the BUF_READCHAR macro for |
| 26005 |
efficiency. |
| 26006 |
(gethttp): Use alloca() where appropriate. |
| 26007 |
|
| 26008 |
* src/retr.c (buf_readchar): Use it. |
| 26009 |
(buf_peek): Use rstreams. |
| 26010 |
|
| 26011 |
* src/retr.h (BUF_READCHAR): New macro. |
| 26012 |
|
| 26013 |
* src/init.c (home_dir): Rewritten for clarity. |
| 26014 |
(init_path): Ditto. |
| 26015 |
|
| 26016 |
* src/mswindows.c (ws_backgnd): Made static. |
| 26017 |
(read_registry): Ditto. |
| 26018 |
(ws_cleanup): Ditto. |
| 26019 |
(ws_handler): Ditto. |
| 26020 |
|
| 26021 |
1998-01-24 Andy Eskilsson <[email protected]> |
| 26022 |
|
| 26023 |
* src/utils.c (accdir): Process wildcards. |
| 26024 |
(proclist): New function. |
| 26025 |
(accdir): Use it to avoid code repetition. |
| 26026 |
|
| 26027 |
1998-01-23 Karl Heuer <[email protected]> |
| 26028 |
|
| 26029 |
* doc/wget.texi (Advanced Options): Updated. |
| 26030 |
|
| 26031 |
1998-01-23 Hrvoje Niksic <[email protected]> |
| 26032 |
|
| 26033 |
* src/alloca.c: New file. |
| 26034 |
|
| 26035 |
* src/Makefile.in (ALLOCA): Define. |
| 26036 |
|
| 26037 |
* src/mswindows.c (ws_help): Constify. |
| 26038 |
(ws_help): Use alloca. |
| 26039 |
|
| 26040 |
* src/mswindows.c: Reformat. |
| 26041 |
|
| 26042 |
* src/all: Added _(...) annotations for I18N snarfing and translation. |
| 26043 |
|
| 26044 |
* src/host.c (ftp_getaddress): Nuke SYSINFO. |
| 26045 |
(ftp_getaddress): Don't use getdomainname(). |
| 26046 |
(ftp_getaddress): Use uname(), where available. |
| 26047 |
|
| 26048 |
* src/http.c (gethttp): Protect a stray fprintf(). |
| 26049 |
|
| 26050 |
* src/init.c (settime): New function. |
| 26051 |
(setval): Treat WAIT specially, allowing suffixes like `m' for |
| 26052 |
minutes, etc. |
| 26053 |
|
| 26054 |
1998-01-23 Hrvoje Niksic <[email protected]> |
| 26055 |
|
| 26056 |
* doc/Makefile.in: Use `test ...' rather than `[ ... ]'. |
| 26057 |
|
| 26058 |
* doc/wget.texi (Advanced Options): Explained suffices. |
| 26059 |
|
| 26060 |
1998-01-21 Jordan Mendelson <[email protected]> |
| 26061 |
|
| 26062 |
* src/url.c (rotate_backups): New function. |
| 26063 |
|
| 26064 |
* src/http.c (gethttp): Ditto. |
| 26065 |
|
| 26066 |
* src/ftp.c (getftp): Rotate backups. |
| 26067 |
|
| 26068 |
1998-01-21 Hrvoje Niksic <[email protected]> |
| 26069 |
|
| 26070 |
* src/url.c (get_urls_html): Use alloca() for TEMP. |
| 26071 |
|
| 26072 |
1997-12-18 Hrvoje Niksic <[email protected]> |
| 26073 |
|
| 26074 |
* src/all: Renamed nmalloc(), nrealloc() and nstrdup() to xmalloc(), |
| 26075 |
xrealloc() and xstrdup(). Use the new functions. |
| 26076 |
|
| 26077 |
* src/url.c (decode_string): Made static. |
| 26078 |
(has_proto): Ditto. |
| 26079 |
(parse_dir): Ditto. |
| 26080 |
(parse_uname): Ditto. |
| 26081 |
(mkstruct): Ditto. |
| 26082 |
(construct): Ditto. |
| 26083 |
(construct_relative): Ditto. |
| 26084 |
|
| 26085 |
* src/retr.c (show_progress): Made static. |
| 26086 |
|
| 26087 |
* src/recur.c (robots_url): Made static. |
| 26088 |
(retrieve_robots): Ditto. |
| 26089 |
(parse_robots): Ditto. |
| 26090 |
(robots_match): Ditto. |
| 26091 |
|
| 26092 |
* src/main.h: Removed. |
| 26093 |
|
| 26094 |
* src/main.c (printhelp): Made static. |
| 26095 |
(hangup): Ditto. |
| 26096 |
|
| 26097 |
* src/init.c (comind): Made static. |
| 26098 |
(defaults): Ditto. |
| 26099 |
(init_path): Ditto. |
| 26100 |
(run_wgetrc): Ditto. |
| 26101 |
(onoff): Ditto. |
| 26102 |
(setonoff): Ditto. |
| 26103 |
(setnum): Ditto. |
| 26104 |
(myatoi): Ditto. |
| 26105 |
(getperms): Ditto. |
| 26106 |
(setbytes): Ditto. |
| 26107 |
|
| 26108 |
* src/http.c (fetch_next_header): Made static. |
| 26109 |
(hparsestatline): Ditto. |
| 26110 |
(hskip_lws): Ditto. |
| 26111 |
(hgetlen): Ditto. |
| 26112 |
(hgetrange): Ditto. |
| 26113 |
(hgettype): Ditto. |
| 26114 |
(hgetlocation): Ditto. |
| 26115 |
(hgetmodified): Ditto. |
| 26116 |
(haccepts_none): Ditto. |
| 26117 |
(gethttp): Ditto. |
| 26118 |
(base64_encode_line): Ditto. |
| 26119 |
(mktime_from_utc): Ditto. |
| 26120 |
(http_atotm): Ditto. |
| 26121 |
|
| 26122 |
* src/html.c (idmatch): Made static. |
| 26123 |
|
| 26124 |
* src/host.c (search_host): Made static. |
| 26125 |
(search_address): Ditto. |
| 26126 |
(free_hlist): Ditto. |
| 26127 |
|
| 26128 |
* src/ftp.c (getftp): Made static. |
| 26129 |
(ftp_loop_internal): Ditto. |
| 26130 |
(ftp_get_listing): Ditto. |
| 26131 |
(ftp_retrieve_list): Ditto. |
| 26132 |
(ftp_retrieve_dirs): Ditto. |
| 26133 |
(ftp_retrieve_glob): Ditto. |
| 26134 |
(freefileinfo): Ditto. |
| 26135 |
(delelement): Ditto. |
| 26136 |
|
| 26137 |
* src/ftp-ls.c (symperms): Made static. |
| 26138 |
(ftp_parse_unix_ls): Ditto. |
| 26139 |
|
| 26140 |
* src/connect.c (select_fd): Made static. |
| 26141 |
|
| 26142 |
* src/utils.c (xmalloc): Renamed from nmalloc. |
| 26143 |
(xrealloc): Renamed from nrealloc. |
| 26144 |
(xstrdup): Renamed from nstrdup. |
| 26145 |
|
| 26146 |
* src/getopt.c (exchange): Use alloca. |
| 26147 |
|
| 26148 |
* src/mswindows.c (mycuserid): Use strncpy. |
| 26149 |
|
| 26150 |
* src/New files mswindows.c, mswindows.h, sysdep.h. winjunk.c, |
| 26151 |
systhings.h, windecl.h and winjunk.h removed. |
| 26152 |
|
| 26153 |
* src/mswindows.c (sleep): New function. |
| 26154 |
|
| 26155 |
* src/utils.c: Include <windows.h> under Windows. |
| 26156 |
|
| 26157 |
1997-12-18 Hrvoje Niksic <[email protected]> |
| 26158 |
|
| 26159 |
* doc/wget.texi (Mailing List): Update. |
| 26160 |
|
| 26161 |
1997-07-26 Francois Pinard <[email protected]> |
| 26162 |
|
| 26163 |
* doc/Makefile.in (install.wgetrc): Print the sample.wgetrc warning |
| 26164 |
only if the files actually differ. |
| 26165 |
|
| 26166 |
1997-06-12 Hrvoje Niksic <[email protected]> |
| 26167 |
|
| 26168 |
* src/cmpt.c (strptime_internal): Handle years more correctly for |
| 26169 |
`%y'. |
| 26170 |
|
| 26171 |
1997-06-12 Darko Budor <[email protected]> |
| 26172 |
|
| 26173 |
* src/url.h (URL_UNSAFE): Change default under Windows. |
| 26174 |
|
| 26175 |
* src/retr.c (retrieve_from_file): Respect opt.delete_after. |
| 26176 |
|
| 26177 |
* src/main.c (main): Call ws_help on Windows. |
| 26178 |
|
| 26179 |
* src/winjunk.c (windows_main_junk): New function. |
| 26180 |
|
| 26181 |
* src/main.c (main): Junk-process argv[0]. |
| 26182 |
|
| 26183 |
* src/http.c (mktime_from_utc): Return -1 if mktime failed. |
| 26184 |
|
| 26185 |
* src/http.c (http_loop): Ditto. |
| 26186 |
|
| 26187 |
* src/ftp.c (ftp_loop_internal): Change title on Windows when using a |
| 26188 |
new URL. |
| 26189 |
|
| 26190 |
* src/winjunk.c (getdomainname): Lots of functions. |
| 26191 |
|
| 26192 |
1997-06-09 Mike Thomas <[email protected]> |
| 26193 |
|
| 26194 |
* src/http.c (gethttp): Allocate enough space for |
| 26195 |
`Proxy-Authorization' header. |
| 26196 |
|
| 26197 |
1997-05-10 Hrvoje Niksic <[email protected]> |
| 26198 |
|
| 26199 |
* src/version.c: Wget/1.4.5 is released. |
| 26200 |
|
| 26201 |
1997-05-10 Hrvoje Niksic <[email protected]> |
| 26202 |
|
| 26203 |
* src/retr.c (get_contents): Check return value of fwrite more |
| 26204 |
carefully. |
| 26205 |
|
| 26206 |
1997-04-23 Hrvoje Niksic <[email protected]> |
| 26207 |
|
| 26208 |
* doc/wget.texi (Advanced Options): Document `--follow-ftp'. |
| 26209 |
|
| 26210 |
1997-03-30 Hrvoje Niksic <[email protected]> |
| 26211 |
|
| 26212 |
* src/utils.c (isfile): Use `lstat' instead of `stat'. |
| 26213 |
|
| 26214 |
1997-03-30 Andreas Schwab <[email protected]> |
| 26215 |
|
| 26216 |
* src/cmpt.c (strptime_internal) [case 'Y']: Always subtract 1900 from |
| 26217 |
year, regardless of century. |
| 26218 |
|
| 26219 |
1997-03-29 Hrvoje Niksic <[email protected]> |
| 26220 |
|
| 26221 |
* src/utils.c (numdigit): Use explicit test. |
| 26222 |
|
| 26223 |
1997-03-21 Hrvoje Niksic <[email protected]> |
| 26224 |
|
| 26225 |
* src/http.c (http_loop): Always use `url_filename' to get u->local. |
| 26226 |
|
| 26227 |
1997-03-20 Hrvoje Niksic <[email protected]> |
| 26228 |
|
| 26229 |
* src/url.c: Recognize https. |
| 26230 |
|
| 26231 |
1997-03-13 Hrvoje Niksic <[email protected]> |
| 26232 |
|
| 26233 |
* src/recur.c (recursive_retrieve): Lowercase just the host name. |
| 26234 |
|
| 26235 |
1997-03-09 Hrvoje Niksic <[email protected]> |
| 26236 |
|
| 26237 |
* src/url.c (get_urls_file): Use the correct test. |
| 26238 |
(get_urls_html): Ditto. |
| 26239 |
|
| 26240 |
1997-03-07 Hrvoje Niksic <[email protected]> |
| 26241 |
|
| 26242 |
* src/connect.c: Reverted addrlen to int. |
| 26243 |
|
| 26244 |
* src/init.c (parse_line): Check for -1 instead of NONE. |
| 26245 |
|
| 26246 |
* src/version.c: Changed version to 1.4.5. |
| 26247 |
|
| 26248 |
1997-02-27 Fila Kolodny <[email protected]> |
| 26249 |
|
| 26250 |
* src/ftp.c (ftp_retrieve_list): If retrieving symlink and the proper |
| 26251 |
one already exists, just skip it. |
| 26252 |
|
| 26253 |
1997-02-17 Hrvoje Niksic <[email protected]> |
| 26254 |
|
| 26255 |
* src/init.c: New option netrc. |
| 26256 |
(initialize): Don't parse .netrc. |
| 26257 |
|
| 26258 |
* src/cmpt.c (recursive): Return rp. |
| 26259 |
(strptime_internal): Match the long strings first, the abbreviated |
| 26260 |
second. |
| 26261 |
|
| 26262 |
1997-02-17 Hrvoje Niksic <[email protected]> |
| 26263 |
|
| 26264 |
* doc/wget.texi (Advanced Options): Document --proxy-user and |
| 26265 |
--proxy-passwd. |
| 26266 |
|
| 26267 |
1997-02-16 Hrvoje Niksic <[email protected]> |
| 26268 |
|
| 26269 |
* src/http.c (check_end): New function. |
| 26270 |
(http_atotm): Use it. |
| 26271 |
|
| 26272 |
1997-02-14 Karl Eichwalder <[email protected]> |
| 26273 |
|
| 26274 |
* doc/Makefile.in (install.wgetrc): Never ever nuke an existing rc file. |
| 26275 |
|
| 26276 |
1997-02-14 Hrvoje Niksic <[email protected]> |
| 26277 |
|
| 26278 |
* src/ftp.c (ftp_retrieve_list): Create links even if not relative. |
| 26279 |
|
| 26280 |
1997-02-13 gilles Cedoc <[email protected]> |
| 26281 |
|
| 26282 |
* src/http.c (gethttp): Use them. |
| 26283 |
|
| 26284 |
* src/init.c: New options proxy_user and proxy_passwd. |
| 26285 |
|
| 26286 |
1997-02-10 Marin Purgar <[email protected]> |
| 26287 |
|
| 26288 |
* src/connect.c: Make addrlen size_t instead of int. |
| 26289 |
(conaddr): Ditto. |
| 26290 |
|
| 26291 |
1997-02-10 Hrvoje Niksic <[email protected]> |
| 26292 |
|
| 26293 |
* src/recur.c (recursive_retrieve): Lowercase the host name, if the |
| 26294 |
URL is not "optimized". |
| 26295 |
|
| 26296 |
* src/host.c (realhost): Return l->hostname, even if it matches with |
| 26297 |
host. |
| 26298 |
|
| 26299 |
1997-02-09 Hrvoje Niksic <[email protected]> |
| 26300 |
|
| 26301 |
* src/version.c: Released 1.4.3. |
| 26302 |
|
| 26303 |
* src/url.c: Futher update to list of protostrings. |
| 26304 |
(skip_proto): Skip `//' correctly for FTP and HTTP. |
| 26305 |
|
| 26306 |
* src/url.c (get_urls_html): Handle bogus `http:' things a little |
| 26307 |
different. |
| 26308 |
|
| 26309 |
* src/main.c (main): Removed `follow-ftp' from `f'. |
| 26310 |
(main): Dumped the `prefix-files' and `file-prefix' options and |
| 26311 |
features; old and bogus. |
| 26312 |
(main): Exit on failed setval() in `-e'. |
| 26313 |
|
| 26314 |
* src/http.c (fetch_next_header): Use it to detect header continuation |
| 26315 |
correctly. |
| 26316 |
|
| 26317 |
* src/retr.c (buf_peek): New function. |
| 26318 |
|
| 26319 |
1997-02-09 Gregor Hoffleit <[email protected]> |
| 26320 |
|
| 26321 |
* src/systhings.h: Define S_ISLNK on NeXT too. |
| 26322 |
|
| 26323 |
1997-02-08 Roger Beeman <[email protected]> |
| 26324 |
|
| 26325 |
* src/ftp.c: Include <time.h> |
| 26326 |
|
| 26327 |
1997-02-08 Hrvoje Niksic <[email protected]> |
| 26328 |
|
| 26329 |
* src/wget.h: Include time.h and stuff. |
| 26330 |
|
| 26331 |
1997-02-07 Hrvoje Niksic <[email protected]> |
| 26332 |
|
| 26333 |
* src/url.c (findurl): Would read over buffer limits. |
| 26334 |
|
| 26335 |
1997-02-06 Hrvoje Niksic <[email protected]> |
| 26336 |
|
| 26337 |
* src/ftp-ls.c (ftp_parse_unix_ls): Allow spaces in file names. |
| 26338 |
|
| 26339 |
1997-02-05 Hrvoje Niksic <[email protected]> |
| 26340 |
|
| 26341 |
* src/http.c (http_atotm): Initialize tm.is_dst. |
| 26342 |
|
| 26343 |
1997-02-02 Hrvoje Niksic <[email protected]> |
| 26344 |
|
| 26345 |
* src/http.c (gethttp): Don't print the number of retrieved headers. |
| 26346 |
|
| 26347 |
* src/main.c (main): New option `--no-clobber', alias for `-nc'. |
| 26348 |
|
| 26349 |
* src/url.c: Recognize `https://'. |
| 26350 |
|
| 26351 |
1997-02-02 Hrvoje Niksic <[email protected]> |
| 26352 |
|
| 26353 |
* doc/wget.texi: Updated and revised. |
| 26354 |
|
| 26355 |
* doc/wget.texi (Contributors): Update. |
| 26356 |
(Advanced Options): Removed bogus **/* example. |
| 26357 |
|
| 26358 |
* doc/wget.texi: Use ``...'' instead of "...". |
| 26359 |
|
| 26360 |
1997-02-01 Hrvoje Niksic <[email protected]> |
| 26361 |
|
| 26362 |
* src/host.c (herrmsg): Don't use h_errno. |
| 26363 |
|
| 26364 |
1997-02-01 Hrvoje Niksic <[email protected]> |
| 26365 |
|
| 26366 |
* doc/wget.texi (Domain Acceptance): Document --exclude-domains. |
| 26367 |
|
| 26368 |
1997-01-30 Hrvoje Niksic <[email protected]> |
| 26369 |
|
| 26370 |
* src/host.c (accept_domain): Use it. |
| 26371 |
|
| 26372 |
* src/main.c (main): New option `--exclude-domains'. |
| 26373 |
|
| 26374 |
* src/retr.c (retrieve_url): Use it. |
| 26375 |
(retrieve_url): Bail out when an URL is redirecting to itself. |
| 26376 |
|
| 26377 |
* src/url.c (url_equal): New function. |
| 26378 |
|
| 26379 |
1997-01-29 Hrvoje Niksic <[email protected]> |
| 26380 |
|
| 26381 |
* src/connect.c: Include arpa/inet.h instead of arpa/nameser.h. |
| 26382 |
|
| 26383 |
* src/http.c (mk_utc_time): New function. |
| 26384 |
(http_atotm): Use it; handle time zones correctly. |
| 26385 |
|
| 26386 |
1997-01-28 Hrvoje Niksic <[email protected]> |
| 26387 |
|
| 26388 |
* src/http.c: Ditto. |
| 26389 |
|
| 26390 |
* src/ftp-basic.c: Use it instead of WRITE. |
| 26391 |
|
| 26392 |
* src/connect.c (iwrite): New function. |
| 26393 |
|
| 26394 |
1997-01-27 Hrvoje Niksic <[email protected]> |
| 26395 |
|
| 26396 |
* src/cmpt.c (mktime): New function. |
| 26397 |
|
| 26398 |
* src/netrc.c: Include <sys/types.h>. |
| 26399 |
|
| 26400 |
* src/main.c (main): Wouldn't recognize --spider. |
| 26401 |
|
| 26402 |
* src/retr.c (rate): Use `B', `KB' and `MB'. |
| 26403 |
(reset_timer,elapsed_time): Moved from utils.c. |
| 26404 |
|
| 26405 |
* src/ftp.c (ftp_retrieve_list): Ditto. |
| 26406 |
|
| 26407 |
* src/http.c (http_loop): Don't touch the file if opt.dfp. |
| 26408 |
|
| 26409 |
1997-01-24 Hrvoje Niksic <[email protected]> |
| 26410 |
|
| 26411 |
* src/cmpt.c: New file. |
| 26412 |
|
| 26413 |
* src/ftp.c (ftp_retrieve_glob): New argument semantics. |
| 26414 |
(ftp_retrieve_dirs): Use it. |
| 26415 |
(ftp_loop): Ditto. |
| 26416 |
|
| 26417 |
* src/html.c (htmlfindurl): Recognize `'' as the quote char. |
| 26418 |
|
| 26419 |
1997-01-23 Hrvoje Niksic <[email protected]> |
| 26420 |
|
| 26421 |
* src/ftp.c (ftp_loop_internal): Use it. |
| 26422 |
|
| 26423 |
* src/utils.c (remove_link): New function. |
| 26424 |
|
| 26425 |
1997-01-22 Hrvoje Niksic <[email protected]> |
| 26426 |
|
| 26427 |
* src/retr.c (retrieve_url): Require STRICT redirection URL. |
| 26428 |
|
| 26429 |
* src/url.c (parseurl): New argument STRICT. |
| 26430 |
|
| 26431 |
* src/http.c (hparsestatline): Be a little-bit less strict about |
| 26432 |
status line format. |
| 26433 |
|
| 26434 |
1997-01-21 Hrvoje Niksic <[email protected]> |
| 26435 |
|
| 26436 |
* src/http.c (gethttp): Use it. |
| 26437 |
|
| 26438 |
* src/main.c (main): Don't use '<digit>' as options. |
| 26439 |
|
| 26440 |
* src/init.c: New option ignore_length. |
| 26441 |
|
| 26442 |
* src/http.c (gethttp): Ditto. |
| 26443 |
(http_loop): Check for redirection without Location:. |
| 26444 |
(gethttp): Don't print Length unless RETROKF. |
| 26445 |
|
| 26446 |
* src/ftp.c (getftp): Use it. |
| 26447 |
|
| 26448 |
* src/url.c (mkalldirs): New function. |
| 26449 |
|
| 26450 |
* src/utils.c (mymkdir): Don't check for existing non-directory. |
| 26451 |
|
| 26452 |
* src/url.c (mkstruct): Don't create the directory. |
| 26453 |
|
| 26454 |
1997-01-21 Hrvoje Niksic <[email protected]> |
| 26455 |
|
| 26456 |
* doc/wget.texi (Advanced Options): Document --ignore-length. |
| 26457 |
|
| 26458 |
1997-01-20 Hrvoje Niksic <[email protected]> |
| 26459 |
|
| 26460 |
* src/init.c (setval): Removed NO_RECURSION checks. |
| 26461 |
|
| 26462 |
1997-01-20 Hrvoje Niksic <[email protected]> |
| 26463 |
|
| 26464 |
* doc/wget.texi (Time-Stamping): New node. |
| 26465 |
|
| 26466 |
1997-01-19 Hrvoje Niksic <[email protected]> |
| 26467 |
|
| 26468 |
* src/version.c: "Released" 1.4.3-pre2. |
| 26469 |
|
| 26470 |
* src/recur.c (recursive_retrieve): Bypass host checking only if URL |
| 26471 |
is ftp AND parent URL is not ftp. |
| 26472 |
|
| 26473 |
* src/ftp-basic.c (ftp_request): Print out Turtle Power. |
| 26474 |
|
| 26475 |
* src/ftp.c (ftp_loop): Call ftp_retrieve_glob with 0 if there's no |
| 26476 |
wildcard. |
| 26477 |
(ftp_retrieve_glob): Call ftp_loop_internal even on empty list, if |
| 26478 |
not glob. |
| 26479 |
|
| 26480 |
* src/http.c (gethttp): Be a little bit smarter about status codes. |
| 26481 |
|
| 26482 |
* src/recur.c (recursive_retrieve): Always reset opt.recursive when |
| 26483 |
dealing with FTP. |
| 26484 |
|
| 26485 |
1997-01-18 Hrvoje Niksic <[email protected]> |
| 26486 |
|
| 26487 |
* src/retr.c (retrieve_url): New variable location_changed; use it for |
| 26488 |
tests instead of mynewloc. |
| 26489 |
(retrieve_url): Allow heuristic adding of html. |
| 26490 |
|
| 26491 |
* src/url.c (url_filename): Don't use the `%' in Windows file names. |
| 26492 |
|
| 26493 |
* src/http.c (http_loop): Always time-stamp the local file. |
| 26494 |
|
| 26495 |
* src/http.c (http_loop): Ditto. |
| 26496 |
|
| 26497 |
* src/ftp.c (ftp_retrieve_list): Use it. |
| 26498 |
|
| 26499 |
* src/utils.c (my_touch): New function. |
| 26500 |
|
| 26501 |
* src/ftp.c (ftp_retrieve_list): Use #ifdef HAVE_STRUCT_UTIMBUF |
| 26502 |
instead of #ifndef NeXT. |
| 26503 |
|
| 26504 |
* src/utils.c (strptime): New version, by Ulrich Drepper. |
| 26505 |
|
| 26506 |
1997-01-17 Hrvoje Niksic <[email protected]> |
| 26507 |
|
| 26508 |
* src/http.c (haccepts_none): Renamed from `haccepts_bytes'. |
| 26509 |
(gethttp): If haccepts_none(), disable ACCEPTRANGES. |
| 26510 |
(http_loop): Would remove ACCEPTRANGES. |
| 26511 |
|
| 26512 |
* src/ftp.c (getftp): Call ftp_list with NULL. |
| 26513 |
|
| 26514 |
1997-01-15 Hrvoje Niksic <[email protected]> |
| 26515 |
|
| 26516 |
* src/html.c (ftp_index): Don't print minutes and seconds if we don't |
| 26517 |
know them; beautify the output. |
| 26518 |
|
| 26519 |
* src/ftp.c (getftp): Don't close the socket on FTPNSFOD. |
| 26520 |
|
| 26521 |
1997-01-14 Hrvoje Niksic <[email protected]> |
| 26522 |
|
| 26523 |
* src/utils.c (strptime): New function. |
| 26524 |
(strptime): Don't use get_alt_number. |
| 26525 |
(strptime): Don't use locale. |
| 26526 |
(match_string): Made it a function. |
| 26527 |
|
| 26528 |
1997-01-12 Hrvoje Niksic <[email protected]> |
| 26529 |
|
| 26530 |
* src/http.c (http_atotm): New function. |
| 26531 |
(http_loop): Use it. |
| 26532 |
|
| 26533 |
* src/atotm.c: Removed from the distribution. |
| 26534 |
|
| 26535 |
* src/http.c (base64_encode_line): Rewrite. |
| 26536 |
|
| 26537 |
1997-01-12 Hrvoje Niksic <[email protected]> |
| 26538 |
|
| 26539 |
* doc/Makefile.in (distclean): Don't remove wget.info*. |
| 26540 |
|
| 26541 |
1997-01-09 Hrvoje Niksic <[email protected]> |
| 26542 |
|
| 26543 |
* src/ftp.c (getftp): Use ftp_expected_bytes; print size. |
| 26544 |
|
| 26545 |
* src/ftp-basic.c (ftp_response): Use ftp_last_respline. |
| 26546 |
(ftp_expected_bytes): New function. |
| 26547 |
|
| 26548 |
* src/ftp.c (getftp): Print the unauthoritative file length. |
| 26549 |
|
| 26550 |
* src/ftp-ls.c: Renamed from ftp-unix.c. |
| 26551 |
(ftp_parse_ls): Moved from ftp.c. |
| 26552 |
(ftp_parse_unix_ls): Recognize seconds in time spec. |
| 26553 |
(ftp_parse_unix_ls): Recognize year-less dates of the previous |
| 26554 |
year. |
| 26555 |
|
| 26556 |
1997-01-08 Hrvoje Niksic <[email protected]> |
| 26557 |
|
| 26558 |
* src/ftp-basic.c: Don't declare errno if #defined. |
| 26559 |
|
| 26560 |
* src/host.c (ftp_getaddress): Check for sysinfo legally. |
| 26561 |
|
| 26562 |
1997-01-08 Hrvoje Niksic <[email protected]> |
| 26563 |
|
| 26564 |
* doc/wget.texi (Mailing List): Update archive. |
| 26565 |
(Portability): Update the Windows port by Budor. |
| 26566 |
|
| 26567 |
1997-01-08 Darko Budor <[email protected]> |
| 26568 |
|
| 26569 |
* src/connect.c (iread): Use READ. |
| 26570 |
|
| 26571 |
1996-12-26 Darko Budor <[email protected]> |
| 26572 |
|
| 26573 |
* src/wget.h: READ and WRITE macros for use instead of read and write |
| 26574 |
on sockets, grep READ *.c, grep WRITE *.c |
| 26575 |
|
| 26576 |
* src/wsstartup.c: new file - startup for winsock |
| 26577 |
|
| 26578 |
* src/wsstartup.h: new file |
| 26579 |
|
| 26580 |
* src/win32decl.h: new file - fixup for <errno.h> and winsock trouble |
| 26581 |
|
| 26582 |
* src/configure.bat: Configure utility for MSVC |
| 26583 |
|
| 26584 |
* src/src/Makefile.ms,config.h.ms: new files for use with MSVC 4.x |
| 26585 |
|
| 26586 |
1996-12-23 Hrvoje Niksic <[email protected]> |
| 26587 |
|
| 26588 |
* src/url.c: Recognize finger, rlogin, tn3270, mid and cid as valid |
| 26589 |
schemes. |
| 26590 |
|
| 26591 |
1996-12-22 Hrvoje Niksic <[email protected]> |
| 26592 |
|
| 26593 |
* src/version.c: Released 1.4.3-pre. |
| 26594 |
|
| 26595 |
* src/utils.c (prnum): Accept long. |
| 26596 |
(legible): Use prnum(). |
| 26597 |
|
| 26598 |
* src/connect.c (make_connection): Accept port as short. |
| 26599 |
(bindport): Ditto. |
| 26600 |
|
| 26601 |
* src/http.c (gethttp): Use search_netrc. |
| 26602 |
|
| 26603 |
1996-12-22 Hrvoje Niksic <[email protected]> |
| 26604 |
|
| 26605 |
* src/host.c (ftp_getaddress): Allow `.' in hostname. |
| 26606 |
|
| 26607 |
1996-12-21 Hrvoje Niksic <[email protected]> |
| 26608 |
|
| 26609 |
* src/ftp.c (getftp): Use search_netrc. |
| 26610 |
|
| 26611 |
* src/netrc.c (free_netrc): New function. |
| 26612 |
|
| 26613 |
* src/init.c (home_dir): New function. |
| 26614 |
|
| 26615 |
* src/url.c (convert_links): Allow REL2ABS changes. |
| 26616 |
|
| 26617 |
1996-12-21 Hrvoje Niksic <[email protected]> |
| 26618 |
|
| 26619 |
* doc/wget.texi (Security Considerations): New node. |
| 26620 |
|
| 26621 |
1996-12-21 Gordon Matzigkeit <[email protected]> |
| 26622 |
|
| 26623 |
* src/netrc.c: New file. |
| 26624 |
(parse_netrc, maybe_add_to_list): New functions. |
| 26625 |
|
| 26626 |
1996-12-19 Hrvoje Niksic <[email protected]> |
| 26627 |
|
| 26628 |
* doc/wget.texi (Advanced Options): Document --passive. |
| 26629 |
|
| 26630 |
1996-12-17 Hrvoje Niksic <[email protected]> |
| 26631 |
|
| 26632 |
* src/retr.c (retrieve_url): Reset opt.recursion before calling |
| 26633 |
ftp_loop if it is reached through newloc. |
| 26634 |
|
| 26635 |
* src/init.c (run_wgetrc): Print the wgetrc path too, when reporting |
| 26636 |
error; don't use "Syntax error", since we don't know if it is |
| 26637 |
really a syntax error. |
| 26638 |
|
| 26639 |
1996-12-16 Hrvoje Niksic <[email protected]> |
| 26640 |
|
| 26641 |
* src/utils.c (acceptable): Extract the filename part of the path. |
| 26642 |
|
| 26643 |
* src/recur.c (recursive_retrieve): Call acceptable() with the right |
| 26644 |
argument; would bug out on wildcards. |
| 26645 |
|
| 26646 |
* src/init.c (parse_line): Likewise. |
| 26647 |
|
| 26648 |
* src/html.c (htmlfindurl): Cast to char * when calling stuff. |
| 26649 |
|
| 26650 |
1996-12-15 Hrvoje Niksic <[email protected]> |
| 26651 |
|
| 26652 |
* src/url.c (parseurl): Debug output. |
| 26653 |
|
| 26654 |
* src/utils.c (path_simplify): New one, adapted from bash's |
| 26655 |
canonicalize_pathname(). |
| 26656 |
|
| 26657 |
1996-12-15 Hrvoje Niksic <[email protected]> |
| 26658 |
|
| 26659 |
* src/ftp.c (getftp): Use ftp_pasv. |
| 26660 |
|
| 26661 |
* src/ftp-basic.c (ftp_request): Accept NULL value. |
| 26662 |
(ftp_pasv): New function. |
| 26663 |
|
| 26664 |
* src/options.h (struct options): Add passive FTP option. |
| 26665 |
|
| 26666 |
1996-12-14 Hrvoje Niksic <[email protected]> |
| 26667 |
|
| 26668 |
* src/ftp.c (getftp): Don't discard the buffer. |
| 26669 |
|
| 26670 |
* src/retr.c (get_contents): New parameter nobuf. |
| 26671 |
|
| 26672 |
1996-12-13 Shawn McHorse <[email protected]> |
| 26673 |
|
| 26674 |
* src/url.c (get_urls_html): Skip "http:". |
| 26675 |
|
| 26676 |
1996-12-13 Shawn McHorse <[email protected]> |
| 26677 |
|
| 26678 |
* src/html.c (htmlfindurl): Recognize <meta contents="d; URL=...". |
| 26679 |
|
| 26680 |
* src/init.c (setval): Strip the trailing slashes on CVECDIR. |
| 26681 |
|
| 26682 |
1996-12-13 Kaveh R. Ghazi <[email protected]> |
| 26683 |
|
| 26684 |
* src/(configure.in, config.h.in, src/Makefile.in, src/*.[ch]): Add |
| 26685 |
ansi2knr support for compilers which don't support ANSI style |
| 26686 |
function prototypes and signatures. |
| 26687 |
|
| 26688 |
* src/(aclocal.m4, src/ansi2knr.c, src/ansi2knr.1): New files. |
| 26689 |
|
| 26690 |
1996-12-13 Hrvoje Niksic <[email protected]> |
| 26691 |
|
| 26692 |
* src/utils.c (strcasecmp): From glibc. |
| 26693 |
(strncasecmp): Also. |
| 26694 |
(strstr): Also. |
| 26695 |
|
| 26696 |
* src/url.c: Added javascript: to the list of URLs prefixes. |
| 26697 |
|
| 26698 |
1996-12-13 Hrvoje Niksic <[email protected]> |
| 26699 |
|
| 26700 |
* src/init.c: Make excludes and includes under CVECDIR instead of |
| 26701 |
CVEC. |
| 26702 |
|
| 26703 |
1996-12-12 Shawn McHorse <[email protected]> |
| 26704 |
|
| 26705 |
* src/recur.c (retrieve_robots): Print the warning message only if |
| 26706 |
verbose. |
| 26707 |
|
| 26708 |
1996-12-12 Hrvoje Niksic <[email protected]> |
| 26709 |
|
| 26710 |
* src/systhings.h: New file. |
| 26711 |
|
| 26712 |
* src/../configure.in: Check for utime.h |
| 26713 |
|
| 26714 |
* src/ftp.c: Check whether we have unistd.h. |
| 26715 |
|
| 26716 |
1996-12-12 Gregor Hoffleit <[email protected]> |
| 26717 |
|
| 26718 |
* src/ftp.c (ftp_retrieve_list): Use NeXT old utime interface. |
| 26719 |
|
| 26720 |
1996-12-12 Dieter Baron <[email protected]> |
| 26721 |
|
| 26722 |
* doc/wget.texi (Advanced Usage): Would reference prep instead of |
| 26723 |
wuarchive. |
| 26724 |
|
| 26725 |
1996-11-27 Hrvoje Niksic <[email protected]> |
| 26726 |
|
| 26727 |
* src/recur.c (recursive_retrieve): Send the canonical URL as referer. |
| 26728 |
(recursive_retrieve): Call get_urls_html with the canonical URL. |
| 26729 |
|
| 26730 |
1996-11-26 Hrvoje Niksic <[email protected]> |
| 26731 |
|
| 26732 |
* src/url.c: Use it; Recognize paths ending with "." and ".." as |
| 26733 |
directories. |
| 26734 |
(url_filename): Append .n whenever file exists and could be a |
| 26735 |
directory. |
| 26736 |
|
| 26737 |
* src/url.h (ISDDOT): New macro. |
| 26738 |
|
| 26739 |
* src/init.c (parse_line): Use unsigned char. |
| 26740 |
|
| 26741 |
* src/url.c (get_urls_html): Cast to unsigned char * when calling |
| 26742 |
htmlfindurl. |
| 26743 |
|
| 26744 |
* src/html.c (htmlfindurl): Use unsigned char. |
| 26745 |
|
| 26746 |
* src/version.c: Changed version to 1.4.3. |
| 26747 |
|
| 26748 |
1996-11-25 Hrvoje Niksic <[email protected]> |
| 26749 |
|
| 26750 |
* src/version.c: Released 1.4.2. |
| 26751 |
|
| 26752 |
* src/ftp.c (getftp): Simplified assertion. |
| 26753 |
(ftp_loop_internal): Remove symlink before downloading. |
| 26754 |
(ftp_retrieve_list): Unlink the symlink name before attempting to |
| 26755 |
create a symlink! |
| 26756 |
|
| 26757 |
* src/options.h (struct options): Renamed print_server_response to |
| 26758 |
server_response. |
| 26759 |
|
| 26760 |
* src/ftp.c (rel_constr): Removed. |
| 26761 |
(ftp_retrieve_list): Don't use it. |
| 26762 |
(ftp_retrieve_list): Use opt.retr_symlinks. |
| 26763 |
|
| 26764 |
1996-11-25 Hrvoje Niksic <[email protected]> |
| 26765 |
|
| 26766 |
* doc/wget.texi (Advanced Options): Documented --retr-symlinks. |
| 26767 |
|
| 26768 |
1996-11-24 Hrvoje Niksic <[email protected]> |
| 26769 |
|
| 26770 |
* src/main.c (main): New option retr_symlinks. |
| 26771 |
|
| 26772 |
* src/url.c (convert_links): Print verbose message. |
| 26773 |
|
| 26774 |
1996-11-24 Hrvoje Niksic <[email protected]> |
| 26775 |
|
| 26776 |
* src/http.c (http_loop): Reset newloc in the beginning of function; |
| 26777 |
would cause FMR in retrieve_url. |
| 26778 |
|
| 26779 |
1996-11-23 Hrvoje Niksic <[email protected]> |
| 26780 |
|
| 26781 |
* src/recur.c (convert_all_links): Find the URL of each HTML document, |
| 26782 |
and feed it to get_urls_html; would bug out. |
| 26783 |
(convert_all_links): Check for l2 instead of dl; removed dl. |
| 26784 |
|
| 26785 |
* src/url.c (convert_links): Don't refer to freed newname. |
| 26786 |
|
| 26787 |
* src/recur.c (recursive_retrieve): Add this_url to urls_downloaded. |
| 26788 |
|
| 26789 |
* src/main.c (main): Print the OS_TYPE in the debug output, too. |
| 26790 |
|
| 26791 |
* src/recur.c (recursive_retrieve): Check for opt.delete_after. |
| 26792 |
|
| 26793 |
* src/main.c (main): New option delete-after. |
| 26794 |
|
| 26795 |
* src/init.c (setval): Cleaned up. |
| 26796 |
|
| 26797 |
1996-11-23 Hrvoje Niksic <[email protected]> |
| 26798 |
|
| 26799 |
* doc/wget.texi (Advanced Options): Document --delete-after. |
| 26800 |
|
| 26801 |
1996-11-22 Hrvoje Niksic <[email protected]> |
| 26802 |
|
| 26803 |
* doc/wget.texi (Portability): Add IRIX and FreeBSD as the "regular" |
| 26804 |
platforms. |
| 26805 |
|
| 26806 |
1996-11-21 Shawn McHorse <[email protected]> |
| 26807 |
|
| 26808 |
* src/html.c (htmlfindurl): Reset s->in_quote after getting out of |
| 26809 |
quotes. |
| 26810 |
|
| 26811 |
1996-11-21 Hrvoje Niksic <[email protected]> |
| 26812 |
|
| 26813 |
* src/Makefile.in (wget): Make `wget' the default target. |
| 26814 |
|
| 26815 |
* src/ftp.c (ftp_loop_internal): Move noclobber checking out of the |
| 26816 |
loop. |
| 26817 |
(ftp_retrieve_list): Warn about non-matching sizes. |
| 26818 |
|
| 26819 |
* src/http.c (http_loop): Made -nc non-dependent on opt.recursive. |
| 26820 |
|
| 26821 |
* src/init.c (setnum): Renamed from setnuminf; New argument flags. |
| 26822 |
(setval): Use it. |
| 26823 |
|
| 26824 |
* src/main.c (main): Sorted the options. |
| 26825 |
(main): New option --wait. |
| 26826 |
|
| 26827 |
1996-11-20 Hrvoje Niksic <[email protected]> |
| 26828 |
|
| 26829 |
* src/version.c: Released 1.4.1. |
| 26830 |
|
| 26831 |
* src/html.c (html_quote_string): New function. |
| 26832 |
(ftp_index): Use it. |
| 26833 |
(htmlfindurl): A more gentle ending debug message. |
| 26834 |
|
| 26835 |
* src/ftp.c (ftp_loop): Check for opt.htmlify. |
| 26836 |
|
| 26837 |
* src/init.c: New command htmlify. |
| 26838 |
|
| 26839 |
* src/ftp.c (getftp): Nicer error messages, with `'-encapsulated |
| 26840 |
strings. |
| 26841 |
(ftp_loop): Print size of index.html. |
| 26842 |
|
| 26843 |
* src/init.c (setval): Implement "styles". |
| 26844 |
|
| 26845 |
* src/main.c (main): New option dotstyle. |
| 26846 |
|
| 26847 |
1996-11-20 Hrvoje Niksic <[email protected]> |
| 26848 |
|
| 26849 |
* src/version.c: Changed version to 1.4.2. |
| 26850 |
|
| 26851 |
1996-11-20 Hrvoje Niksic <[email protected]> |
| 26852 |
|
| 26853 |
* doc/wget.texi (Advanced Usage): Document dot-style. |
| 26854 |
|
| 26855 |
1996-11-19 Hrvoje Niksic <[email protected]> |
| 26856 |
|
| 26857 |
* src/ftp.c (getftp): Close the master socket in case of errors, after |
| 26858 |
bindport(). |
| 26859 |
|
| 26860 |
* src/connect.c (bindport): Initialize msock to -1. |
| 26861 |
|
| 26862 |
* src/ftp.c (getftp): Initialize dtsock to -1. |
| 26863 |
|
| 26864 |
* src/connect.c (closeport): Don't close sock if sock == -1. |
| 26865 |
|
| 26866 |
1996-11-18 Hrvoje Niksic <[email protected]> |
| 26867 |
|
| 26868 |
* src/init.c (setnuminf): Nuked default value -- just leave unchanged. |
| 26869 |
(setval): Don't send default values. |
| 26870 |
(defaults): Use DEFAULT_TIMEOUT -- aaargh. |
| 26871 |
|
| 26872 |
* src/options.h (struct options): Use long for dot_bytes. |
| 26873 |
|
| 26874 |
* src/init.c (setquota): Renamed to setbytes. |
| 26875 |
(setval): Use setbytes on DOTBYTES. |
| 26876 |
|
| 26877 |
1996-11-18 Hrvoje Niksic <[email protected]> |
| 26878 |
|
| 26879 |
* doc/wget.texi (Advanced Usage): Dot customization example. |
| 26880 |
(Sample Wgetrc): Likewise. |
| 26881 |
|
| 26882 |
1996-11-17 Hrvoje Niksic <[email protected]> |
| 26883 |
|
| 26884 |
* src/ftp.c (getftp): Initialize con->dltime. |
| 26885 |
|
| 26886 |
* src/recur.c (recursive_retrieve): Use same_host instead of |
| 26887 |
try_robots; simply load robots_txt whenever the host is changed. |
| 26888 |
(recursive_retrieve): Free forbidden before calling parse_robots. |
| 26889 |
|
| 26890 |
1996-11-16 Mark Boyns <[email protected]> |
| 26891 |
|
| 26892 |
* src/recur.c (recursive_retrieve): Retrieve directories regardless of |
| 26893 |
acc/rej rules; check for empty u->file. |
| 26894 |
|
| 26895 |
1996-11-16 Hrvoje Niksic <[email protected]> |
| 26896 |
|
| 26897 |
* src/retr.c (show_progress): Use them. |
| 26898 |
|
| 26899 |
* src/options.h (struct options): New options dot_bytes, dots_on_line |
| 26900 |
and dot_spacing. |
| 26901 |
|
| 26902 |
1996-11-16 Hrvoje Niksic <[email protected]> |
| 26903 |
|
| 26904 |
* doc/wget.texi (Wgetrc Syntax): Explained emptying lists. |
| 26905 |
|
| 26906 |
1996-11-14 Shawn McHorse <[email protected]> |
| 26907 |
|
| 26908 |
* src/recur.c (recursive_retrieve): Use base_url instead of this_url |
| 26909 |
for no_parent. |
| 26910 |
|
| 26911 |
1996-11-14 Shawn McHorse <[email protected]> |
| 26912 |
|
| 26913 |
* src/html.c (htmlfindurl): Reset s->in_quote after exiting the quote. |
| 26914 |
|
| 26915 |
1996-11-14 Hrvoje Niksic <[email protected]> |
| 26916 |
|
| 26917 |
* src/init.c (setval): Use it. |
| 26918 |
|
| 26919 |
* src/utils.c (merge_vecs): New function. |
| 26920 |
|
| 26921 |
* src/init.c (setval): Reset the list-type functions when encountering |
| 26922 |
"". |
| 26923 |
|
| 26924 |
1996-11-13 Hrvoje Niksic <[email protected]> |
| 26925 |
|
| 26926 |
* src/utils.c (sepstring): Rewrote; don't use strtok. |
| 26927 |
|
| 26928 |
* src/recur.c (recursive_retrieve): Enter assorted this_url to slist |
| 26929 |
when running the first time. |
| 26930 |
(retrieve_robots): Warn to ignore errors when robots are loaded. |
| 26931 |
|
| 26932 |
* src/utils.c (load_file): Moved from url.c. |
| 26933 |
|
| 26934 |
* src/http.c: Made static variables const too in h* functions. |
| 26935 |
|
| 26936 |
* src/main.c (main): Renamed --continue-ftp to --continue. |
| 26937 |
|
| 26938 |
* src/recur.c (recursive_retrieve): Use it. |
| 26939 |
|
| 26940 |
* src/utils.c (frontcmp): New function. |
| 26941 |
|
| 26942 |
* src/url.c (accdir): New function. |
| 26943 |
|
| 26944 |
* src/html.c (htmlfindurl): Recognize <area href=...>. |
| 26945 |
|
| 26946 |
* src/ftp.c (ftp_retrieve_dirs): Implemented opt.includes. |
| 26947 |
|
| 26948 |
* src/init.c (setval): Free the existing opt.excludes and |
| 26949 |
opt.includes, if available. |
| 26950 |
|
| 26951 |
* src/main.c (main): New option -I. |
| 26952 |
|
| 26953 |
1996-11-13 Hrvoje Niksic <[email protected]> |
| 26954 |
|
| 26955 |
* doc/wget.texi (Advanced Options): Document includes/excludes. |
| 26956 |
(Wgetrc Commands): Likewise. |
| 26957 |
|
| 26958 |
1996-11-12 Hrvoje Niksic <[email protected]> |
| 26959 |
|
| 26960 |
* src/ftp.c (ftp_retrieve_glob): Do not weed out directories. |
| 26961 |
|
| 26962 |
* src/version.c: Changed version to 1.4.1. |
| 26963 |
|
| 26964 |
1996-11-11 Hrvoje Niksic <[email protected]> |
| 26965 |
|
| 26966 |
* src/version.c: Released 1.4.0. |
| 26967 |
|
| 26968 |
1996-11-10 Hrvoje Niksic <[email protected]> |
| 26969 |
|
| 26970 |
* src/main.c (main): Free com and val after parse_line. |
| 26971 |
(printhelp): Reorder the listing. |
| 26972 |
|
| 26973 |
* src/http.c: More robust header parsing. |
| 26974 |
|
| 26975 |
* src/http.c: Allow any number of spaces, or no spaces, precede ':'. |
| 26976 |
(hskip_lws): New function. |
| 26977 |
(haccepts_bytes): New function. |
| 26978 |
(gethttp): Use it. |
| 26979 |
|
| 26980 |
* src/init.c (setval): Check header sanity. |
| 26981 |
(setval): Allow resetting of headers. |
| 26982 |
|
| 26983 |
1996-11-10 Hrvoje Niksic <[email protected]> |
| 26984 |
|
| 26985 |
* src/http.c (http_loop): Don't use has_wildcards. |
| 26986 |
|
| 26987 |
* src/http.c (gethttp): Free all_headers -- would leak. |
| 26988 |
|
| 26989 |
* src/recur.c (recursive_retrieve): Initialize depth to 1 instead of |
| 26990 |
0 -- this fixes a long-standing bug in -rl. |
| 26991 |
|
| 26992 |
1996-11-10 Hrvoje Niksic <[email protected]> |
| 26993 |
|
| 26994 |
* doc/wget.texi (Advanced Options): Document headers. |
| 26995 |
|
| 26996 |
1996-11-09 Hrvoje Niksic <[email protected]> |
| 26997 |
|
| 26998 |
* src/ftp.c: Use -1 as "impossible" value for con->fd. |
| 26999 |
|
| 27000 |
* src/url.h (URL_SEPARATOR): Don't treat `*' and `+' as separators. |
| 27001 |
|
| 27002 |
* src/init.c (parse_line): Use isalpha. |
| 27003 |
|
| 27004 |
* src/ftp-unix.c: Use HAVE_UNISTD_H. |
| 27005 |
|
| 27006 |
* src/mtch.c (has_wildcards): Don't match \. |
| 27007 |
|
| 27008 |
* src/http.c (http_loop): Warn on HTTP wildcard usage. |
| 27009 |
|
| 27010 |
1996-11-08 Hrvoje Niksic <[email protected]> |
| 27011 |
|
| 27012 |
* src/url.c (url_filename): Do not create numbered suffixes if |
| 27013 |
opt.noclobber -- would bug out on -nc. |
| 27014 |
|
| 27015 |
1996-11-07 Hrvoje Niksic <[email protected]> |
| 27016 |
|
| 27017 |
* src/recur.c (parse_robots): Don't chuck out the commands without |
| 27018 |
arguments (`Disallow:<empty>' didn't work). |
| 27019 |
(parse_robots): Compare versions lowercase. |
| 27020 |
(parse_robots): Match on base_version, not version_string! |
| 27021 |
(parse_robots): Handle comments properly. |
| 27022 |
(parse_robots): Match versions in a sane way. |
| 27023 |
|
| 27024 |
* src/init.c: Print nicer error messages. |
| 27025 |
|
| 27026 |
* src/version.c: Changed version to 1.4.0. |
| 27027 |
|
| 27028 |
1996-11-07 Hrvoje Niksic <[email protected]> |
| 27029 |
|
| 27030 |
* doc/sample.wgetrc: Added header examples. |
| 27031 |
|
| 27032 |
1996-11-06 Hrvoje Niksic <[email protected]> |
| 27033 |
|
| 27034 |
* src/version.c: Released 1.4.0-test2. |
| 27035 |
|
| 27036 |
* src/init.c (run_wgetrc): Close fp. |
| 27037 |
|
| 27038 |
* src/ftp.c (ftp_retrieve_dirs): Allocate the correct length for |
| 27039 |
u->dir. |
| 27040 |
|
| 27041 |
1996-11-06 Hrvoje Niksic <[email protected]> |
| 27042 |
|
| 27043 |
* src/init.c (setquota): Allow inf as quota specification. |
| 27044 |
|
| 27045 |
1996-11-06 Hrvoje Niksic <[email protected]> |
| 27046 |
|
| 27047 |
* doc/wget.texi: Docfixes. |
| 27048 |
|
| 27049 |
1996-11-06 Hrvoje Niksic <[email protected]> |
| 27050 |
|
| 27051 |
* doc/sample.wgetrc: Rewritten. |
| 27052 |
|
| 27053 |
* doc/Makefile.in (install.wgetrc): Install sample.wgetrc. |
| 27054 |
(uninstall.info): Use $(RM). |
| 27055 |
|
| 27056 |
1996-11-05 Hrvoje Niksic <[email protected]> |
| 27057 |
|
| 27058 |
* src/ftp.c (ftp_retrieve_dirs): Return QUOTEXC if quota exceeded. |
| 27059 |
(ftp_retrieve_glob): Return QUOTEXC on quota exceeded. |
| 27060 |
|
| 27061 |
* src/main.c (main): Check for quota by comparison with downloaded |
| 27062 |
stuff, not from status. |
| 27063 |
|
| 27064 |
* src/connect.c (select_fd): Should compile on HPUX without warnings now. |
| 27065 |
|
| 27066 |
* src/ftp.c (ftp_get_listing): Check whether ftp_loop_internal |
| 27067 |
returned RETROK. |
| 27068 |
|
| 27069 |
1996-11-04 Hrvoje Niksic <[email protected]> |
| 27070 |
|
| 27071 |
* src/ftp.c (ftp_retrieve_glob): Print the pattern nicely. |
| 27072 |
(getftp): Return FTPRETRINT on control connection error. |
| 27073 |
|
| 27074 |
* src/html.c (htmlfindurl): Recognize <embed src=...> and |
| 27075 |
<bgsound src=...>. |
| 27076 |
(ftp_index): Handle username and password correctly. |
| 27077 |
|
| 27078 |
* src/main.c (main): Made `-np' a synonim for --no-parent. |
| 27079 |
|
| 27080 |
1996-11-03 Hrvoje Niksic <[email protected]> |
| 27081 |
|
| 27082 |
* doc/wget.texi: Proofread; *many* docfixes. |
| 27083 |
|
| 27084 |
1996-11-02 Hrvoje Niksic <[email protected]> |
| 27085 |
|
| 27086 |
* src/version.c: Released 1.4.0-test1. |
| 27087 |
|
| 27088 |
* src/url.c (str_url): Don't use sprintf when creating %2F-prefixed |
| 27089 |
directory. |
| 27090 |
(convert_links): Removed definition of make_backup. |
| 27091 |
|
| 27092 |
* src/http.h: Removed definition of MAX_ERROR_LENGTH. |
| 27093 |
|
| 27094 |
* src/host.c (ftp_getaddress): Check for "(none)" domains. |
| 27095 |
|
| 27096 |
* src/ftp.c (ftp_retrieve_dirs): Docfix. |
| 27097 |
|
| 27098 |
* src/http.c (gethttp): Use ou->referer instead of u->referer. |
| 27099 |
|
| 27100 |
* src/retr.c (retrieve_url): Reset u to avoid freeing pointers twice; |
| 27101 |
this was known to cause coredumps on Linux. |
| 27102 |
|
| 27103 |
* src/html.c (ftp_index): Cast the argument to local_time to time_t *. |
| 27104 |
|
| 27105 |
1996-11-02 Hrvoje Niksic <[email protected]> |
| 27106 |
|
| 27107 |
* src/ftp.c (ftp_loop): Check for opt.ftp_glob too before calling |
| 27108 |
ftp_retrieve_glob. |
| 27109 |
|
| 27110 |
* src/version.c: Changed version to 1.4.0-test2. |
| 27111 |
|
| 27112 |
1996-11-02 Hrvoje Niksic <[email protected]> |
| 27113 |
|
| 27114 |
* doc/wget.texi (Introduction): Updated robots mailing list address. |
| 27115 |
|
| 27116 |
1996-11-01 Hrvoje Niksic <[email protected]> |
| 27117 |
|
| 27118 |
* src/connect.c (select_fd): Use exceptfds -- once and for all. |
| 27119 |
|
| 27120 |
* src/retr.c (retrieve_from_file): Free filename after |
| 27121 |
recursive_retrieve. |
| 27122 |
(retrieve_from_file): Send RFIRST_TIME to recursive_retrieve on |
| 27123 |
first-time retrieval. |
| 27124 |
(retrieve_from_file): Return uerr_t; new argument, count. |
| 27125 |
(retrieve_from_file): Break on QUOTEXC. |
| 27126 |
|
| 27127 |
* src/init.c (setquota): Fixed a bug that caused rejection of |
| 27128 |
non-postfixed values.. |
| 27129 |
|
| 27130 |
1996-11-01 Hrvoje Niksic <[email protected]> |
| 27131 |
|
| 27132 |
* doc/wget.texi: Minor docfixes. |
| 27133 |
|
| 27134 |
1996-10-30 Hrvoje Niksic <[email protected]> |
| 27135 |
|
| 27136 |
* src/version.c: Changed name to wget. |
| 27137 |
|
| 27138 |
* src/connect.c (iread): Smarter use of select. |
| 27139 |
(select_fd): Set errno on timeout. If not timeout, return 1 |
| 27140 |
instead of 0. |
| 27141 |
|
| 27142 |
1996-10-29 Hrvoje Niksic <[email protected]> |
| 27143 |
|
| 27144 |
* src/ftp.c (ftp_loop_internal): Don't use con->cmd before |
| 27145 |
establishing it. |
| 27146 |
|
| 27147 |
1996-10-26 Hrvoje Niksic <[email protected]> |
| 27148 |
|
| 27149 |
* src/http.c (gethttp): Send correct referer when using proxy. |
| 27150 |
(gethttp): Use struct urlinfo ou to access the relevant data; send |
| 27151 |
correct authorization in all cases. |
| 27152 |
|
| 27153 |
* src/host.c (same_host): Use skip_uname to skip username and |
| 27154 |
password. |
| 27155 |
|
| 27156 |
* src/url.c (skip_uname): New function. |
| 27157 |
(parseurl): Use it. |
| 27158 |
|
| 27159 |
* src/host.c (same_host): Do not assume HTTP -- same_host should now |
| 27160 |
be totally foolproof. |
| 27161 |
|
| 27162 |
* src/url.c (skip_proto): New function. |
| 27163 |
(parse_uname): Use it. |
| 27164 |
|
| 27165 |
* src/http.c (gethttp): Create local user and passwd from what is |
| 27166 |
given. |
| 27167 |
|
| 27168 |
* src/url.c (parseurl): Check for HTTP username and password too. |
| 27169 |
|
| 27170 |
1996-10-26 Hrvoje Niksic <[email protected]> |
| 27171 |
|
| 27172 |
* doc/wget.texi (Advanced Usage): Document passwords better. |
| 27173 |
|
| 27174 |
* doc/Makefile.in (distclean): Remove wget.1 on make distclean. |
| 27175 |
|
| 27176 |
* doc/wget.texi (Option Syntax): Explain --. |
| 27177 |
|
| 27178 |
1996-10-25 Hrvoje Niksic <[email protected]> |
| 27179 |
|
| 27180 |
* src/config.h.in: Removed #define gethostbyname R... |
| 27181 |
|
| 27182 |
1996-10-22 Hrvoje Niksic <[email protected]> |
| 27183 |
|
| 27184 |
* src/version.c: Changed version to 1.4.0-test1. |
| 27185 |
|
| 27186 |
1996-10-21 Hrvoje Niksic <[email protected]> |
| 27187 |
|
| 27188 |
* src/version.c: "Released" 1.4b29. |
| 27189 |
|
| 27190 |
* src/recur.c (recursive_retrieve): Check for no_parent. |
| 27191 |
|
| 27192 |
* src/init.c (setval): Option update. |
| 27193 |
|
| 27194 |
* src/main.c (main): New option no-parent. |
| 27195 |
|
| 27196 |
* src/options.h (struct options): New variable no_parent. |
| 27197 |
|
| 27198 |
* src/recur.c (recursive_retrieve): Only files are checked for |
| 27199 |
opt.accepts and opt.rejects. |
| 27200 |
(recursive_retrieve): Check directories for opt.excludes. |
| 27201 |
(recursive_retrieve): Make the dir absolute when checking |
| 27202 |
opt.excludes. |
| 27203 |
|
| 27204 |
* src/html.c (htmlfindurl): Recognize <applet code=...> and <script |
| 27205 |
src=...> |
| 27206 |
|
| 27207 |
1996-10-21 Hrvoje Niksic <[email protected]> |
| 27208 |
|
| 27209 |
* doc/fetch.texi (No Parent): update. |
| 27210 |
|
| 27211 |
1996-10-18 Hrvoje Niksic <[email protected]> |
| 27212 |
|
| 27213 |
* src/version.c: "Released" 1.4b28. |
| 27214 |
|
| 27215 |
* src/ftp.c (ftp_loop_internal): Check whether f->size == len and |
| 27216 |
don't continue the loop if it is. |
| 27217 |
(ftp_get_listing): Remove list_filename on unsuccesful loop. |
| 27218 |
|
| 27219 |
1996-10-18 Hrvoje Niksic <[email protected]> |
| 27220 |
|
| 27221 |
* src/ftp.c (getftp): Do not line-break assert entries at all. |
| 27222 |
(ftp_retrieve_dirs): docfix. |
| 27223 |
|
| 27224 |
* src/connect.c (select_fd): Use fd + 1 as nfds. |
| 27225 |
|
| 27226 |
* src/version.c: Changed version to 1.4b29. |
| 27227 |
|
| 27228 |
1996-10-18 Hrvoje Niksic <[email protected]> |
| 27229 |
|
| 27230 |
* doc/fetch.texi (Advanced Options): Docfix. |
| 27231 |
|
| 27232 |
1996-10-17 Tage Stabell-Kulo <[email protected]> |
| 27233 |
|
| 27234 |
* doc/geturl.texi (Advanced Options): Sort alphabetically. |
| 27235 |
|
| 27236 |
1996-10-17 Hrvoje Niksic <[email protected]> |
| 27237 |
|
| 27238 |
* src/recur.c (parse_robots): Fixed an off-by-one bug when looking for |
| 27239 |
':'. |
| 27240 |
|
| 27241 |
* src/html.c (htmlfindurl): Fixed several possible off-by-one bugs by |
| 27242 |
moving `bufsize &&' to the beginning of each check in for-loops. |
| 27243 |
|
| 27244 |
* src/recur.c (parse_robots): Close fp on exit. |
| 27245 |
|
| 27246 |
* src/url.c (mymkdir): Check for each directory before creating. |
| 27247 |
|
| 27248 |
1996-10-17 Hrvoje Niksic <[email protected]> |
| 27249 |
|
| 27250 |
* src/ftp.c (ftp_loop_internal): Use strcpy to initialize tmp. |
| 27251 |
(getftp): Do not use multiline assert. |
| 27252 |
|
| 27253 |
* src/http.c (hparsestatline): Use mjr and mnr instead of major and |
| 27254 |
minor, which don't compile on Ultrix. |
| 27255 |
(http_loop): Use strcpy() to initialize tmp. |
| 27256 |
|
| 27257 |
* src/all: Geturl -> Fetch |
| 27258 |
|
| 27259 |
1996-10-16 Hrvoje Niksic <[email protected]> |
| 27260 |
|
| 27261 |
* src/version.c: Changed version to 1.4b28. |
| 27262 |
|
| 27263 |
1996-10-16 Hrvoje Niksic <[email protected]> |
| 27264 |
|
| 27265 |
* src/version.c: "Released" 1.4b27. |
| 27266 |
|
| 27267 |
* src/init.c (parse_line): Use isspace. |
| 27268 |
(parse_line): Free *com on all errors. |
| 27269 |
|
| 27270 |
* src/ftp.c (ftp_loop): Change FTPOK to RETROK before exiting. |
| 27271 |
(delelement): Use next instead of f->next and prev instead of |
| 27272 |
f->prev. |
| 27273 |
(delelement): Free the members of the deleted element. |
| 27274 |
|
| 27275 |
* src/http.c (http_loop): Do not return RETROK on code != 20x. |
| 27276 |
|
| 27277 |
* src/init.c (cleanup): Free opt.user_header. |
| 27278 |
(cleanup): Free opt.domains. |
| 27279 |
|
| 27280 |
* src/url.c (freelists): Moved to cleanup(). |
| 27281 |
|
| 27282 |
* src/http.c (hparsestatline): Docfix. |
| 27283 |
|
| 27284 |
* src/main.c (main): Return with error status on unsuccesful |
| 27285 |
retrieval. |
| 27286 |
|
| 27287 |
* src/init.c (setval): Do not remove listing when mirroring. |
| 27288 |
|
| 27289 |
* src/url.c (url_filename): Use opt.fileprefix. |
| 27290 |
|
| 27291 |
* src/ftp.c (ftp_get_listing): Use url_filename to get filename for |
| 27292 |
.listing. |
| 27293 |
|
| 27294 |
* src/main.c (main): New option: -rn. |
| 27295 |
|
| 27296 |
1996-10-16 Hrvoje Niksic <[email protected]> |
| 27297 |
|
| 27298 |
* doc/geturl.texi (Advanced Options): Describe -nr. |
| 27299 |
(Advanced Usage): Moved -O pipelines to Guru Usage. |
| 27300 |
(Simple Usage): Update. |
| 27301 |
(Advanced Options): Docfix. |
| 27302 |
|
| 27303 |
* doc/Makefile.in (RM): RM = rm -f. |
| 27304 |
|
| 27305 |
1996-10-15 Hrvoje Niksic <[email protected]> |
| 27306 |
|
| 27307 |
* src/Makefile.in (RM): Added RM = rm -f. |
| 27308 |
|
| 27309 |
* src/host.c (clean_hosts): New function. |
| 27310 |
(free_hlist): Just free the list, no reset. |
| 27311 |
|
| 27312 |
* src/version.c: Changed version to 1.4b27. |
| 27313 |
|
| 27314 |
1996-10-15 Hrvoje Niksic <[email protected]> |
| 27315 |
|
| 27316 |
* doc/geturl.texi (Guru Usage): Add proxy-filling example. |
| 27317 |
|
| 27318 |
1996-10-13 Hrvoje Niksic <[email protected]> |
| 27319 |
|
| 27320 |
* src/version.c: "Released" 1.4b26. |
| 27321 |
|
| 27322 |
* src/retr.c (retrieve_from_file): If call get_urls_html with |
| 27323 |
opt.spider to make it silent in spider mode. |
| 27324 |
|
| 27325 |
* src/url.c (str_url): Use CLEANDUP instead of URL_CLEANSE. |
| 27326 |
|
| 27327 |
* src/url.h (CLEANDUP): New macro. |
| 27328 |
|
| 27329 |
* src/http.c (gethttp): Fixed a bug that freed location only when it |
| 27330 |
was NULL. |
| 27331 |
|
| 27332 |
* src/retr.c (retrieve_url): Free url if it will not be stored, |
| 27333 |
i.e. newloc is NULL. |
| 27334 |
|
| 27335 |
* src/html.c (htmlfindurl): Handle exiting from quotes correctly; the |
| 27336 |
old version would bug out on <a href="x#a"href="y">. |
| 27337 |
|
| 27338 |
* src/html.h (state_t): New member in_quote. |
| 27339 |
|
| 27340 |
* src/html.c (htmlfindurl): Free s->attr at the beginning of |
| 27341 |
attr-loop. |
| 27342 |
|
| 27343 |
* src/recur.c (recursive_retrieve): Recognize RCLEANUP. |
| 27344 |
(tried_robots): Make hosts a global variable. |
| 27345 |
(recursive_retrieve): Free constr after URL host optimization. |
| 27346 |
(tried_robots): Free urlinfo before exiting. |
| 27347 |
|
| 27348 |
* src/utils.c (free_slist): New function. |
| 27349 |
|
| 27350 |
* src/recur.c (recursive_retrieve): Use flags to add cleanup |
| 27351 |
possibility. |
| 27352 |
|
| 27353 |
* src/main.c (main): Free filename after recursive_retrieve. |
| 27354 |
|
| 27355 |
* src/http.c (gethttp): Store successful responses too. |
| 27356 |
|
| 27357 |
1996-10-12 Hrvoje Niksic <[email protected]> |
| 27358 |
|
| 27359 |
* src/all: Constified the whole source. This required some minor |
| 27360 |
changes in many functions in url.c, possibly introducing bugs -- I |
| 27361 |
hope not. |
| 27362 |
|
| 27363 |
* src/ftp-basic.c: Removed last_respline. |
| 27364 |
|
| 27365 |
* src/http.c (gethttp): Free type. |
| 27366 |
|
| 27367 |
* src/host.c (same_host): Free real1 and real2. |
| 27368 |
|
| 27369 |
* src/main.c (main): New option --spider. |
| 27370 |
|
| 27371 |
* src/retr.c (get_contents): Don't reset errno. |
| 27372 |
|
| 27373 |
* src/main.c (main): Sorted the options. |
| 27374 |
|
| 27375 |
* src/connect.c (iread): Set errno to ETIMEDOUT only if it was left |
| 27376 |
uninitialized by select(). |
| 27377 |
|
| 27378 |
* src/http.c (http_loop): Print the time when the connection is |
| 27379 |
closed. |
| 27380 |
(gethttp): Debug-print the HTTP request. |
| 27381 |
|
| 27382 |
1996-10-12 Hrvoje Niksic <[email protected]> |
| 27383 |
|
| 27384 |
* doc/geturl.texi (Advanced Options): Added --spider. |
| 27385 |
|
| 27386 |
1996-10-11 Hrvoje Niksic <[email protected]> |
| 27387 |
|
| 27388 |
* src/connect.c (iread): Do not try reading after timeout. |
| 27389 |
|
| 27390 |
* src/main.c (main): Would bug out on -T. |
| 27391 |
|
| 27392 |
* src/connect.c (select_fd): Do not use exceptfds. |
| 27393 |
(iread): Set ETIMEDOUT on select_fd <= 0. |
| 27394 |
|
| 27395 |
* src/version.c: Changed version to 1.4b26. |
| 27396 |
|
| 27397 |
1996-10-10 Hrvoje Niksic <[email protected]> |
| 27398 |
|
| 27399 |
* src/version.c: "Released" 1.4b25. |
| 27400 |
|
| 27401 |
* src/ftp-unix.c (ftp_parse_unix_ls): Ignore lines without file name |
| 27402 |
or link name. |
| 27403 |
|
| 27404 |
* src/http.c (gethttp): Add errcode to struct hstat. |
| 27405 |
(http_loop): Use it. |
| 27406 |
|
| 27407 |
* src/url.c (no_proxy_match): Simplify using char** for no_proxy. |
| 27408 |
|
| 27409 |
* src/options.h (struct options): Make opt.no_proxy a vector. |
| 27410 |
|
| 27411 |
* src/utils.c (sepstring): Use !*s instead of !strlen(s). |
| 27412 |
|
| 27413 |
* src/init.c (setval): Set opt.maxreclevel to 0 on --mirror. |
| 27414 |
(getperms): Use ISODIGIT instead of isdigit. |
| 27415 |
|
| 27416 |
* src/ftp.c (getftp): Print time. |
| 27417 |
|
| 27418 |
* src/main.c (main): Use legible output of downloaded quantity. |
| 27419 |
|
| 27420 |
* src/ftp.c (getftp): Use elapsed_time(). |
| 27421 |
(ftp_loop_internal): Use rate(). |
| 27422 |
|
| 27423 |
* src/http.c (http_loop): Add download ratio output; Use rate(). |
| 27424 |
|
| 27425 |
* src/utils.c (rate): New function. |
| 27426 |
|
| 27427 |
1996-10-09 Hrvoje Niksic <[email protected]> |
| 27428 |
|
| 27429 |
* src/http.c (http_loop): Use timer. |
| 27430 |
|
| 27431 |
* src/ftp.c: Split to ftp-basic.c and ftp.c |
| 27432 |
|
| 27433 |
* src/utils.c (reset_timer): New function. |
| 27434 |
(elapsed_time): New function. |
| 27435 |
|
| 27436 |
* src/retr.c (show_progress): Make bytes_in_line and offs long; should |
| 27437 |
work on 16-bit machines. |
| 27438 |
|
| 27439 |
1996-10-08 Hrvoje Niksic <[email protected]> |
| 27440 |
|
| 27441 |
* src/url.c (in_acclist): New argument backward. |
| 27442 |
|
| 27443 |
* src/ftp.c (ftp_retrieve_glob): Use acceptable() to determine whether |
| 27444 |
a file should be retrieved according to suffix. |
| 27445 |
(ftp_get_listing): Check the return value of unlink; Do not call |
| 27446 |
ftp_retrieve_dirs if depth reached maxreclevel. |
| 27447 |
(ftp_retrieve_dirs): Check whether the directory is in |
| 27448 |
exclude-list. |
| 27449 |
|
| 27450 |
* src/main.c (main): Print the version number at the beginning of |
| 27451 |
DEBUG output. |
| 27452 |
(main): Use strrchr when creating exec_name. |
| 27453 |
|
| 27454 |
* src/ftp.c (ftp_retrieve_glob): Do not close control connection. |
| 27455 |
|
| 27456 |
* src/version.c: Changed version to 1.4b25. |
| 27457 |
|
| 27458 |
1996-10-08 Hrvoje Niksic <[email protected]> |
| 27459 |
|
| 27460 |
* doc/geturl.texi (Advanced Options): Added -X. |
| 27461 |
|
| 27462 |
* doc/Makefile.in: Added $(srcdir) where appropriate (I hope). |
| 27463 |
|
| 27464 |
1996-10-07 Hrvoje Niksic <[email protected]> |
| 27465 |
|
| 27466 |
* src/version.c: "Released" 1.4b24. |
| 27467 |
|
| 27468 |
* src/Makefile.in: Rewrite. |
| 27469 |
|
| 27470 |
* src/ftp.c (ftp_loop_internal): Likewise. |
| 27471 |
|
| 27472 |
* src/retr.c (time_str): Check for failed time(). |
| 27473 |
|
| 27474 |
* src/html.c (htmlfindurl): Recognize <fig src> and <overlay src> from |
| 27475 |
HTML3.0. |
| 27476 |
|
| 27477 |
* src/retr.c (time_str): Return time_t *. |
| 27478 |
|
| 27479 |
* src/connect.c (bindport): Close msock on unsuccesful bind. |
| 27480 |
(bindport): The same for getsockname and listen. |
| 27481 |
|
| 27482 |
* src/retr.c (retrieve_url): Allow any number of retries on |
| 27483 |
proxy. |
| 27484 |
|
| 27485 |
* src/http.c (gethttp): Do not treat errno == 0 as timeout. |
| 27486 |
(http_loop): Likewise. |
| 27487 |
(http_loop): Cosmetic changes. |
| 27488 |
|
| 27489 |
* src/connect.c (iread): Set errno to ETIMEDOUT in case of timeout. |
| 27490 |
|
| 27491 |
* src/retr.c (get_contents): Reset errno. |
| 27492 |
|
| 27493 |
* src/ftp.c (getftp): Minor fixes. |
| 27494 |
|
| 27495 |
1996-10-06 Hrvoje Niksic <[email protected]> |
| 27496 |
|
| 27497 |
* src/version.c: "Released" 1.4b23. |
| 27498 |
|
| 27499 |
* src/ftp.c (ftp_loop_internal): Get the time after getftp. |
| 27500 |
|
| 27501 |
* src/Makefile.in (install.info): New target. |
| 27502 |
(install): Use it. |
| 27503 |
|
| 27504 |
* src/http.c (http_loop): Fix output when doing -O. |
| 27505 |
|
| 27506 |
1996-10-06 Hrvoje Niksic <[email protected]> |
| 27507 |
|
| 27508 |
* src/http.c: Do not use backups. |
| 27509 |
|
| 27510 |
* src/geturl.1 (WARNING): Warn that man-page could be obsolete. |
| 27511 |
|
| 27512 |
* src/getopt.c (getopt_long): Moved to getopt.c |
| 27513 |
|
| 27514 |
* src/geturl.texi: Enhanced. |
| 27515 |
|
| 27516 |
* src/main.c (main): Use it. |
| 27517 |
|
| 27518 |
* src/recur.c (convert_all_links): New function. |
| 27519 |
|
| 27520 |
* src/utils.c (add_slist): New argument flags. |
| 27521 |
|
| 27522 |
* src/recur.c (recursive_retrieve): Update a list of downloaded URLs. |
| 27523 |
(parse_robots): Do not chuck out empty value fields. |
| 27524 |
(parse_robots): Make yourself welcome on empty Disallow. |
| 27525 |
|
| 27526 |
* src/version.c: Changed version to 1.4b24. |
| 27527 |
|
| 27528 |
1996-10-05 Hrvoje Niksic <[email protected]> |
| 27529 |
|
| 27530 |
* src/geturl.texi: New file. |
| 27531 |
|
| 27532 |
* src/main.c (main): Do not print the warnings and download summary if |
| 27533 |
opt.quiet is set. |
| 27534 |
|
| 27535 |
* src/version.c: Changed version to 1.4b23. |
| 27536 |
|
| 27537 |
1996-10-05 Hrvoje Niksic <[email protected]> |
| 27538 |
|
| 27539 |
* src/"Released" 1.4b22. |
| 27540 |
|
| 27541 |
* src/atotm.c (atotm): Use True and False instead of TRUE and FALSE, |
| 27542 |
to avoid redefinition warnings. |
| 27543 |
|
| 27544 |
* src/host.c (store_hostaddress): Use memcpy() to copy the address |
| 27545 |
returned by inet_addr. |
| 27546 |
|
| 27547 |
* src/version.c: Changed version to 1.4b22. |
| 27548 |
|
| 27549 |
1996-10-04 Hrvoje Niksic <[email protected]> |
| 27550 |
|
| 27551 |
* src/version.c: "Released" 1.4b21. |
| 27552 |
|
| 27553 |
* src/ftp-unix.c (ftp_parse_ls): Renamed to ftp_parse_unix_ls. |
| 27554 |
|
| 27555 |
* src/ftp.c (ftp_port): Use conaddr. |
| 27556 |
(getftp): Print the file length. |
| 27557 |
(ftp_retrieve_list): Check the stamps of plain files only. |
| 27558 |
|
| 27559 |
* src/connect.c (closeport): Do not call shutdown(). |
| 27560 |
(conaddr): New function. |
| 27561 |
|
| 27562 |
* src/html.c (ftp_index): Made it dfp-aware. |
| 27563 |
|
| 27564 |
* src/init.c (cleanup): New name of freemem. Close opt.dfp. |
| 27565 |
|
| 27566 |
* src/ftp.c (getftp): Use opt.dfp if it is set. |
| 27567 |
|
| 27568 |
* src/ftp-unix.c (ftp_parse_ls): Recognize time in h:mm format. |
| 27569 |
|
| 27570 |
* src/ftp.c (ftp_retrieve_dirs): Fixed a bug that caused incorrect |
| 27571 |
CWDs to be sent with recursive FTP retrievals. |
| 27572 |
|
| 27573 |
1996-10-03 Hrvoje Niksic <[email protected]> |
| 27574 |
|
| 27575 |
* src/recur.c (parse_robots): Made it more compliant with "official" |
| 27576 |
specifications. |
| 27577 |
|
| 27578 |
* src/http.c: New function. |
| 27579 |
|
| 27580 |
* src/ftp-unix.c (ftp_parse_ls): Added better debug output. |
| 27581 |
|
| 27582 |
* src/ftp.c (getftp): Print out the LIST in case of |
| 27583 |
opt.print_server_response. |
| 27584 |
|
| 27585 |
* src/version.c: Changed version to 1.4b21. |
| 27586 |
|
| 27587 |
1996-10-01 Hrvoje Niksic <[email protected]> |
| 27588 |
|
| 27589 |
* src/version.c: "Released" 1.4b20. |
| 27590 |
|
| 27591 |
* src/README: Update. |
| 27592 |
|
| 27593 |
* src/http.c (gethttp): Preset lengths of various headers instead of |
| 27594 |
calculating them dynamically. |
| 27595 |
(gethttp): Check for 206 partial contents. |
| 27596 |
|
| 27597 |
1996-09-30 Hrvoje Niksic <[email protected]> |
| 27598 |
|
| 27599 |
* src/configure.in: Set SYSTEM_GETURLRC to $libdir/geturlrc |
| 27600 |
|
| 27601 |
* src/http.c (gethttp): Send the port number in the Host: header. |
| 27602 |
|
| 27603 |
1996-09-29 Hrvoje Niksic <[email protected]> |
| 27604 |
|
| 27605 |
* src/http.c (gethttp): Send host: header. |
| 27606 |
(gethttp): Add the possibility of user-defined headers. |
| 27607 |
(gethttp): Move decision about pragma: no-cache to http_loop, |
| 27608 |
where it belongs. |
| 27609 |
(gethttp): Pass a struct instead of enormous argument list. |
| 27610 |
(http_loop): Use a new, fancier display format. |
| 27611 |
(ftp_loop): Likewise. |
| 27612 |
|
| 27613 |
* src/main.c: (hangup): Turn off buffering of the new log file. |
| 27614 |
|
| 27615 |
* src/install-sh: Likewise. |
| 27616 |
|
| 27617 |
* src/config.sub: Replace with the one in autoconf-2.10 |
| 27618 |
|
| 27619 |
* src/geturl.1: Update. |
| 27620 |
|
| 27621 |
* src/init.c: New options httpuser and httppasswd. |
| 27622 |
|
| 27623 |
* src/http.c: (base64_encode_line): New function. |
| 27624 |
(gethttp): Send authentication. |
| 27625 |
|
| 27626 |
* src/connect.c (make_connection): Use store_hostaddress. |
| 27627 |
|
| 27628 |
1996-09-28 Hrvoje Niksic <[email protected]> |
| 27629 |
|
| 27630 |
* src/host.c (store_hostaddress): New function. |
| 27631 |
|
| 27632 |
* src/NEWS: Update. |
| 27633 |
|
| 27634 |
* src/http.c (hgetrange): New function. |
| 27635 |
(gethttp): Use ranges. |
| 27636 |
|
| 27637 |
* src/utils.c (numdigit): Accept long instead of int. |
| 27638 |
|
| 27639 |
* src/http.c (http_loop): Add restart capabilities. |
| 27640 |
|
| 27641 |
* src/ftp.c (ftp_retrieve_glob): Fixed a bug that could cause matchres |
| 27642 |
being used uninitialized. |
| 27643 |
(ftp_retrieve_list): Similar fix. |
| 27644 |
|
| 27645 |
* src/host.c (add_hlist): Fixed a bug that could cause cmp being used |
| 27646 |
uninitialized. |
| 27647 |
|
| 27648 |
* src/url.c (construct_relative): New function. |
| 27649 |
|
| 27650 |
* src/recur.c (recursive_retrieve): Use it. |
| 27651 |
|
| 27652 |
* src/retr.c (convert_links): New function. |
| 27653 |
|
| 27654 |
1996-09-27 Hrvoje Niksic <[email protected]> |
| 27655 |
|
| 27656 |
* src/url.c (free_urlpos): New function. |
| 27657 |
|
| 27658 |
* src/recur.c (recursive_retrieve): Adapt. |
| 27659 |
|
| 27660 |
* src/url.c (get_urls_html): Return a linked list instead of a vector. |
| 27661 |
|
| 27662 |
* src/url.c (get_urls_file): Return a linked list instead of a vector. |
| 27663 |
|
| 27664 |
* src/geturl.1: Update. |
| 27665 |
|
| 27666 |
* src/http.c (gethttp): Implement it. |
| 27667 |
|
| 27668 |
* src/init.c (setval): New option: SAVEHEADERS |
| 27669 |
|
| 27670 |
* src/ftp.c (ftp_loop_internal): Do not set restval if listing is to |
| 27671 |
be retrieved. Lack of this test caused bugs when the connection |
| 27672 |
was lost during listing. |
| 27673 |
|
| 27674 |
* src/retr.c (retrieve_url): Fixed a bug that caused |
| 27675 |
coredumps. *newloc is now reset by default. |
| 27676 |
(retrieve_url): Lift the twenty-tries limit on proxies. |
| 27677 |
|
| 27678 |
* src/version.c: Changed version to 1.4b20. |
| 27679 |
|
| 27680 |
1996-09-20 Hrvoje Niksic <[email protected]> |
| 27681 |
|
| 27682 |
* src/version.c: "Released" 1.4b19. |
| 27683 |
|
| 27684 |
1996-09-19 Hrvoje Niksic <[email protected]> |
| 27685 |
|
| 27686 |
* src/ftp.c (ftp_loop_internal): Renamed from ftp_1fl_loop. |
| 27687 |
(getftp): Changed prototype to accept ccon *. |
| 27688 |
|
| 27689 |
1996-09-17 Hrvoje Niksic <[email protected]> |
| 27690 |
|
| 27691 |
* src/ftp.c (ftp_retrieve_list): Fixed a bug that caused setting |
| 27692 |
incorrect values to files pointed to by symbolic links. |
| 27693 |
(ftp_1fl_loop): Do not count listings among the downloaded URL-s. |
| 27694 |
|
| 27695 |
1996-09-16 Hrvoje Niksic <[email protected]> |
| 27696 |
|
| 27697 |
* src/url.c (mkstruct): Do not prepend "./" in front of a pathname. |
| 27698 |
|
| 27699 |
* src/main.c (main): New option: --user-agent. |
| 27700 |
|
| 27701 |
* src/geturl.1: Ditto. |
| 27702 |
|
| 27703 |
* src/init.h: Ditto. |
| 27704 |
|
| 27705 |
* src/init.c (setval): Ditto. |
| 27706 |
|
| 27707 |
* src/main.c (main): Rename "server-headers" to "server-response". |
| 27708 |
|
| 27709 |
* src/ftp-unix.c (ftp_parse_ls): Check for asterisks at the end of |
| 27710 |
executables in 'ls -F' listings. |
| 27711 |
|
| 27712 |
1996-09-15 Hrvoje Niksic <[email protected]> |
| 27713 |
|
| 27714 |
* src/url.c (parseurl): Remove realloc() and sprintf(). |
| 27715 |
(str_url): Get rid of sprintf(). |
| 27716 |
|
| 27717 |
* src/recur.c (recursive_retrieve): Enable FTP recursion through proxy |
| 27718 |
servers. |
| 27719 |
|
| 27720 |
* src/url.h (URL_CLEANSE): Made it else-resistant. |
| 27721 |
(USE_PROXY): New macro. |
| 27722 |
|
| 27723 |
1996-09-14 Hrvoje Niksic <[email protected]> |
| 27724 |
|
| 27725 |
* src/version.c: "Released" 1.4b18. |
| 27726 |
|
| 27727 |
* src/url.c: Made it reallocate space exponentially. |
| 27728 |
|
| 27729 |
1996-09-14 Hrvoje Niksic <[email protected]> |
| 27730 |
|
| 27731 |
* src/NEWS: Update. |
| 27732 |
|
| 27733 |
* src/version.c: Changed version to 1.4b19. |
| 27734 |
|
| 27735 |
1996-09-14 Drazen Kacar <[email protected]> |
| 27736 |
|
| 27737 |
* src/html.c (htmlfindurl): Added <frame src> and <iframe src> among |
| 27738 |
the list of stuff to fetch. |
| 27739 |
|
| 27740 |
1996-09-13 Hrvoje Niksic <[email protected]> |
| 27741 |
|
| 27742 |
* src/url.c (get_urls_html): Fixed a bug that caused SIGSEGV's with |
| 27743 |
-Fi. |
| 27744 |
|
| 27745 |
* src/html.c (htmlfindurl): Rewrite. |
| 27746 |
|
| 27747 |
* src/http.c (gethttp): Use opt.proxy_cache. |
| 27748 |
|
| 27749 |
* src/main.c (main): Added --cache option. |
| 27750 |
|
| 27751 |
* src/ftp.c (ftp_response): Print server response if opt.print_server |
| 27752 |
response is set. |
| 27753 |
(getftp): Print newlines after each request if the server response |
| 27754 |
is to be printed. |
| 27755 |
(ftp_response): Copy the last response line to last_respline. |
| 27756 |
|
| 27757 |
* src/http.c (gethttp): Add Pragma: nocache for retried |
| 27758 |
proxy-retrievals. |
| 27759 |
|
| 27760 |
* src/ftp.c (getftp): Use it. |
| 27761 |
|
| 27762 |
* src/retr.c (buf_discard): New function. |
| 27763 |
|
| 27764 |
* src/ftp.c (ftp_response): Use buf_readchar(). |
| 27765 |
(getftp): Flush the control connection buffer before calling |
| 27766 |
get_contents(). |
| 27767 |
|
| 27768 |
* src/retr.c (buf_readchar): New function. |
| 27769 |
(buf_flush): New function. |
| 27770 |
(get_contents): Use buf_readchar() instead of read(x, x, 1). |
| 27771 |
(get_contents): Use buf_flush. |
| 27772 |
|
| 27773 |
1996-09-12 Hrvoje Niksic <[email protected]> |
| 27774 |
|
| 27775 |
* src/http.c (hgetlen): Compute the header length the first time only. |
| 27776 |
(hgettype): Ditto. |
| 27777 |
(hgetlocation): Ditto. |
| 27778 |
(hgetmodified): Ditto. |
| 27779 |
|
| 27780 |
1996-09-12 Hrvoje Niksic <[email protected]> |
| 27781 |
|
| 27782 |
* src/ftp.c: Incorporate changes to ftp_response. |
| 27783 |
|
| 27784 |
* src/ftp.c (ftp_response): Allocate the server response dynamically, |
| 27785 |
as in read_whole_line and fetch_next_header. |
| 27786 |
|
| 27787 |
* src/utils.c (read_whole_line): Fixed a bug that prevented reading |
| 27788 |
the last line if it is not \n-terminated. Also fixed a possible |
| 27789 |
memory overflow. |
| 27790 |
|
| 27791 |
* src/http.c (fetch_next_header): Return malloc-ed string as large as |
| 27792 |
needed. |
| 27793 |
(gethttp): Use new fetch_next_header. |
| 27794 |
|
| 27795 |
1996-09-11 Hrvoje Niksic <[email protected]> |
| 27796 |
|
| 27797 |
* src/sample.geturlrc: Update. |
| 27798 |
|
| 27799 |
1996-09-10 Hrvoje Niksic <[email protected]> |
| 27800 |
|
| 27801 |
* src/version.c: "Released" 1.4b17. |
| 27802 |
|
| 27803 |
* src/ftp-unix.c (ftp_parse_ls): If unable to open file, return NULL |
| 27804 |
instead of failed assertion. |
| 27805 |
|
| 27806 |
1996-09-10 Hrvoje Niksic <[email protected]> |
| 27807 |
|
| 27808 |
* src/http.c (http_loop): Ditto. |
| 27809 |
|
| 27810 |
* src/ftp.c (getftp): Open the output file as binary. |
| 27811 |
|
| 27812 |
* src/version.c: Changed version to 1.4b18. |
| 27813 |
|
| 27814 |
1996-09-09 Hrvoje Niksic <[email protected]> |
| 27815 |
|
| 27816 |
* src/ftp.c (ftp_get_listing): Add a numbered suffix to LIST_FILENAME |
| 27817 |
if a file of that name already exists. |
| 27818 |
|
| 27819 |
1996-09-05 Hrvoje Niksic <[email protected]> |
| 27820 |
|
| 27821 |
* src/ftp.c (ftp_1fl_loop): Handler FTPPORTERR and FOPENERR correctly. |
| 27822 |
|
| 27823 |
* src/config.h.in: Define gethostbyname as Rgethostbyname when using |
| 27824 |
Socks. |
| 27825 |
|
| 27826 |
* src/configure.in: Check for -lresolv if using Socks. |
| 27827 |
|
| 27828 |
* src/version.c: Changed version to 1.4b17. |
| 27829 |
|
| 27830 |
1996-07-15 Hrvoje Niksic <[email protected]> |
| 27831 |
|
| 27832 |
* src/version.c: "Released" 1.4b16. |
| 27833 |
|
| 27834 |
* src/http.c (gethttp): More intelligent check for first line of HTTP |
| 27835 |
response. |
| 27836 |
(gethttp): Would bug out on time-stamping. |
| 27837 |
|
| 27838 |
* src/version.c: Changed version to 1.4b16. |
| 27839 |
|
| 27840 |
1996-07-11 Hrvoje Niksic <[email protected]> |
| 27841 |
|
| 27842 |
* src/version.c: Released 1.4b15. |
| 27843 |
|
| 27844 |
* src/http.c (http_loop): Print \n after the loop entry, not before. |
| 27845 |
|
| 27846 |
* src/url.c (url_filename): Use ISDOT. |
| 27847 |
|
| 27848 |
* src/url.h (ISDOT): New macro. |
| 27849 |
|
| 27850 |
* src/recur.c (recursive_retrieve): Change only opt.recursive for |
| 27851 |
following FTP. |
| 27852 |
|
| 27853 |
1996-07-11 Hrvoje Niksic <[email protected]> |
| 27854 |
|
| 27855 |
* src/url.c (url_filename): Check for opt.dirstruct instead for |
| 27856 |
opt.recursive && opt.dirstruct. |
| 27857 |
|
| 27858 |
* src/init.c (defaults): Ditto. |
| 27859 |
(defaults): Reset dirstruct by default. |
| 27860 |
(setval): Set opt.dirstruct whenever setting recursive. |
| 27861 |
|
| 27862 |
* src/init.h: Removed FORCEDIRHIER. |
| 27863 |
|
| 27864 |
* src/INSTALL: Added -L to socks-description. |
| 27865 |
|
| 27866 |
* src/version.c: Changed version to 1.4b15. |
| 27867 |
|
| 27868 |
1996-07-11 Antonio Rosella <[email protected]> |
| 27869 |
|
| 27870 |
* src/socks/geturl.cgi: Fixed version No. |
| 27871 |
|
| 27872 |
* src/socks/download-netscape.html: Ditto. |
| 27873 |
|
| 27874 |
* src/socks/download.html: Changed socks.html to download.html. |
| 27875 |
|
| 27876 |
1996-07-10 Hrvoje Niksic <[email protected]> |
| 27877 |
|
| 27878 |
* src/version.c: "Released" 1.4b14. |
| 27879 |
|
| 27880 |
* src/geturl.1: Update AUTHOR to include Rosella as contributor. |
| 27881 |
|
| 27882 |
* src/NEWS: Update. |
| 27883 |
|
| 27884 |
* src/socks/geturl.cgi: Simplified command creation, nuked <blink>. |
| 27885 |
|
| 27886 |
* src/socks/geturl.cgi: Wrap nutscape extensions within if $netscape. |
| 27887 |
(cal_time): Fix == to eq. |
| 27888 |
|
| 27889 |
* src/socks/geturl.cgi: GPL-ized with permission of A. Rosella. |
| 27890 |
|
| 27891 |
* src/geturl.1 (hostname): Moved URL CONVENTIONS to the beginning. |
| 27892 |
|
| 27893 |
* src/Makefile.in: Use @VERSION@. |
| 27894 |
|
| 27895 |
* src/configure.in: Check version from version.c. |
| 27896 |
|
| 27897 |
* src/socks/geturl.cgi: Changed /pub/bin/perl to /usr/bin/perl. |
| 27898 |
|
| 27899 |
* src/socks/download.html: Created from download-netscape.html, made |
| 27900 |
HTML-2.0 compliant. |
| 27901 |
|
| 27902 |
* src/recur.c (recursive_retrieve): Set opt.force_dir_hier when |
| 27903 |
following FTP links from recursions. |
| 27904 |
|
| 27905 |
1996-07-09 Hrvoje Niksic <[email protected]> |
| 27906 |
|
| 27907 |
* src/version.c: "Released" 1.4b13. |
| 27908 |
|
| 27909 |
* src/url.c (make_backup): New function. |
| 27910 |
|
| 27911 |
* src/http.c (http_loop): Make a backup copy of the local file (using |
| 27912 |
rename(2)) before opening it. |
| 27913 |
|
| 27914 |
* src/main.c (main): Added --backups. |
| 27915 |
|
| 27916 |
* src/host.c (ftp_getaddress): Bail out on failed mycuserid(). |
| 27917 |
(ftp_getaddress): Check for leading dot on MY_DOMAIN. |
| 27918 |
(ftp_getaddress): Check for empty, null or (null) domain. |
| 27919 |
|
| 27920 |
* src/url.c (get_urls_html): If this_url is NULL, the base must have a |
| 27921 |
protocol. |
| 27922 |
(parseurl): Use has_proto. |
| 27923 |
|
| 27924 |
* src/retr.c (retrieve_url): Warn when proxy is used with more than 20 |
| 27925 |
retries. |
| 27926 |
|
| 27927 |
* src/url.c (mkstruct): Create the directory (calling mymkdir()) only |
| 27928 |
if it is not already there. |
| 27929 |
(has_proto): New function. |
| 27930 |
(get_urls_html): Eliminate the remaining call to findurl -- use |
| 27931 |
has_proto. |
| 27932 |
|
| 27933 |
* src/geturl.1: Ditto. |
| 27934 |
|
| 27935 |
* src/main.c: Change -X to -x. |
| 27936 |
|
| 27937 |
* src/url.c (url_filename): Simplify creation of filename if |
| 27938 |
prefix_files is set. |
| 27939 |
(url_filename): Simplify everything. And I do mean *everything*. |
| 27940 |
(mkstruct): Add dir_prefix before hostname. |
| 27941 |
(path_simplify): Fixed a bug that caused writing outside the path |
| 27942 |
string in case of "." and ".." path strings. |
| 27943 |
|
| 27944 |
1996-07-09 Hrvoje Niksic <[email protected]> |
| 27945 |
|
| 27946 |
* src/url.c (mymkdir): Fixed a bug that prevented mymkdir() to create |
| 27947 |
absolute directories correctly. |
| 27948 |
|
| 27949 |
* src/version.c: Changed version to 1.4b14. |
| 27950 |
|
| 27951 |
1996-07-06 Hrvoje Niksic <[email protected]> |
| 27952 |
|
| 27953 |
* src/init.c: Added --mirror. |
| 27954 |
|
| 27955 |
* src/main.c (main): Added -X to force saving of directory hierarchy. |
| 27956 |
|
| 27957 |
* src/ftp.c (ftp_retrieve_list): Added recursion depth counter. |
| 27958 |
(ftp_retrieve_list): Check whether quota is exceeded. |
| 27959 |
|
| 27960 |
* src/url.c (get_urls_html): Skip leading blanks for absolute URIs. |
| 27961 |
|
| 27962 |
* src/http.c (gethttp): Use referer if present. |
| 27963 |
|
| 27964 |
* src/recur.c (recursive_retrieve): Set u->referer before calling |
| 27965 |
retrieve_url. |
| 27966 |
|
| 27967 |
* src/url.c (newurl): Use memset to nullify the struct members. |
| 27968 |
(freeurl): Free the referer field too. |
| 27969 |
|
| 27970 |
* src/url.h: Added referer to urlinfo. |
| 27971 |
|
| 27972 |
* src/geturl.1: Updated the manual to document some of the new features. |
| 27973 |
|
| 27974 |
* src/utils.c (numdigit): Moved from url.c. |
| 27975 |
|
| 27976 |
* src/README: Rewritten. |
| 27977 |
|
| 27978 |
* src/config.h.in: Add the support for socks. |
| 27979 |
|
| 27980 |
* src/configure.in: Add the support for socks. |
| 27981 |
|
| 27982 |
* src/url.c (url_filename): If the dir_prefix is ".", work with just |
| 27983 |
the file name. |
| 27984 |
(url_filename): Do not look for .n extensions if timestamping if |
| 27985 |
turned on. |
| 27986 |
|
| 27987 |
* src/retr.c (show_progress): Skip the over-abundant restval data, and |
| 27988 |
print the rest of it with ',' instead of '.'. |
| 27989 |
|
| 27990 |
1996-07-05 Hrvoje Niksic <[email protected]> |
| 27991 |
|
| 27992 |
* src/retr.c (show_progress): Changed second arg. to long (as it |
| 27993 |
should be). |
| 27994 |
(show_progress): Moved to retr.c. |
| 27995 |
(get_contents): Moved to retr.c. |
| 27996 |
|
| 27997 |
* src/version.c: Change version to 1.4b13. |
| 27998 |
|
| 27999 |
1996-07-05 Hrvoje Lacko <[email protected]> |
| 28000 |
|
| 28001 |
* src/url.c (in_acclist): Would return after the first suffix. |
| 28002 |
|
| 28003 |
1996-07-04 Hrvoje Niksic <[email protected]> |
| 28004 |
|
| 28005 |
* src/version.c: "Released" 1.4b12. |
| 28006 |
|
| 28007 |
* src/url.c (path_simplify): More kludgifications. |
| 28008 |
(get_urls_html): Use new parameters for htmlfindurl. |
| 28009 |
|
| 28010 |
* src/html.c: Removed memorizing "parser states", since the new |
| 28011 |
organization does not require them. |
| 28012 |
|
| 28013 |
* src/init.c (run_geturlrc): Use read_whole_line. |
| 28014 |
|
| 28015 |
* src/ftp-unix.c (ftp_parse_ls): Use read_whole_line. |
| 28016 |
|
| 28017 |
* src/recur.c (parse_robots): Use read_whole_line. |
| 28018 |
|
| 28019 |
* src/utils.c (read_whole_line): New function. |
| 28020 |
|
| 28021 |
* src/recur.c (tried_robots): Use add_slist/in_slist, *much* cleaner. |
| 28022 |
|
| 28023 |
* src/host.c (ngethostbyname): Call inet_addr just once. Yet to be |
| 28024 |
tested on OSF and Ultrix. |
| 28025 |
(add_hlist): New function. |
| 28026 |
(free_hlist): New function. |
| 28027 |
(search_host): New function. |
| 28028 |
(search_address): New function. |
| 28029 |
(realhost): Use search_host, search_address and add_hlist. |
| 28030 |
(same_host): Replaced realloc() with strdupdelim(), made |
| 28031 |
case-insensitive, fixed a memory leak. |
| 28032 |
|
| 28033 |
* src/html.c (ftp_index): Fixed tm_min and tm_sec to be tm_hour and |
| 28034 |
tm_min, like intended. |
| 28035 |
|
| 28036 |
* src/version.c: Change user agent information to |
| 28037 |
Geturl/version. |
| 28038 |
|
| 28039 |
1996-07-03 Hrvoje Niksic <[email protected]> |
| 28040 |
|
| 28041 |
* src/utils.c: Renamed nmalloc.c to utils.c, .h likewise. |
| 28042 |
|
| 28043 |
* src/url.c (acceptable): Always accept directories. |
| 28044 |
|
| 28045 |
* src/ftp-unix.c (ftp_parse_ls): Support brain-damaged "ls -F"-loving |
| 28046 |
servers by stripping trailing @ from symlinks and trailing / from |
| 28047 |
directories. |
| 28048 |
|
| 28049 |
* src/ftp.c (ftp_loop): Debugged the "enhanced" heuristics. :-) |
| 28050 |
|
| 28051 |
* src/url.c (skip_url): Use toupper instead of UCASE. |
| 28052 |
|
| 28053 |
* src/host.c (sufmatch): Made it case-insensitive. |
| 28054 |
|
| 28055 |
* src/url.c (match_backwards_or_pattern): Fixed i == -1 to j == -1. |
| 28056 |
(match_backwards): New function, instead of |
| 28057 |
match_backwards_or_pattern. |
| 28058 |
|
| 28059 |
* src/recur.c (recursive_retrieve): Increased performance by |
| 28060 |
introducing inl, which reduces number of calls to in_slist to only |
| 28061 |
one. |
| 28062 |
|
| 28063 |
* src/ftp.c (ftp_loop): Enhanced the heuristics that decides which |
| 28064 |
routine to use. |
| 28065 |
|
| 28066 |
* src/main.c (printhelp): Removed the warranty stuff. |
| 28067 |
|
| 28068 |
1996-07-02 Hrvoje Niksic <[email protected]> |
| 28069 |
|
| 28070 |
* src/url.c (add_slist): Simplify. |
| 28071 |
(match_backwards_or_pattern): New function. |
| 28072 |
(in_acclist): Use match_backwards_or_pattern. |
| 28073 |
(matches): Remove. |
| 28074 |
|
| 28075 |
1996-06-30 Hrvoje Niksic <[email protected]> |
| 28076 |
|
| 28077 |
* src/ftp.c (ftp_loop): Call ftp_index on empty file names, if not |
| 28078 |
recursive. |
| 28079 |
|
| 28080 |
* src/html.c (ftp_index): Fixed to work. Beautified the output. |
| 28081 |
|
| 28082 |
* src/ftp.c (ftp_retrieve_glob): Another argument to control whether |
| 28083 |
globbing is to be used. |
| 28084 |
(ftp_retrieve_list): Compare the time-stamps of local and remote |
| 28085 |
files to determine whether to download. |
| 28086 |
|
| 28087 |
1996-06-29 Hrvoje Niksic <[email protected]> |
| 28088 |
|
| 28089 |
* src/ftp.c (rel_constr): New function. |
| 28090 |
|
| 28091 |
* src/retr.c (retrieve_from_file): Check for text/html before |
| 28092 |
retrieving recursively. |
| 28093 |
|
| 28094 |
* src/main.c (main): Check whether the file is HTML before going into |
| 28095 |
recursive HTML retrieving. |
| 28096 |
|
| 28097 |
* src/ftp.c (ftp_retrieve_list): Manage directories. |
| 28098 |
(ftp_retrieve_glob): Pass all the file-types to ftp_retrieve_list. |
| 28099 |
(ftp_1fl_loop): Fixed a bug that caused con->com to be incorrectly |
| 28100 |
initialized, causing bugchecks in getftp to fail. |
| 28101 |
|
| 28102 |
* src/configure.in: Check for symlink. |
| 28103 |
|
| 28104 |
* src/ftp.c (ftp_retrieve_list): Added support for symlinks. |
| 28105 |
|
| 28106 |
* src/version.c: "Released" 1.4b10. |
| 28107 |
|
| 28108 |
* src/atotm.c (atotm): Redeclared as time_t. |
| 28109 |
|
| 28110 |
* src/init.c: New variable "timestamping". |
| 28111 |
|
| 28112 |
* src/main.c (main): New option 'N'. |
| 28113 |
|
| 28114 |
* src/http.c (hgetlocation): Case-insensitive match. |
| 28115 |
(hgetmodified): New function. |
| 28116 |
(http_loop): Implement time-stamping. |
| 28117 |
|
| 28118 |
1996-06-28 Hrvoje Niksic <[email protected]> |
| 28119 |
|
| 28120 |
* src/version.c: Changed version to 1.4b10 |
| 28121 |
|
| 28122 |
* src/atotm.c: New file, from phttpd. |
| 28123 |
|
| 28124 |
* src/options.h (struct options): New parameter timestamping. |
| 28125 |
|
| 28126 |
* src/version.c: 1.4b9 "released". |
| 28127 |
|
| 28128 |
* src/recur.c (recursive_retrieve): Used linked list (ulist) for |
| 28129 |
faster storing of URLs. |
| 28130 |
|
| 28131 |
* src/url.c (get_urls_html): Removed the old kludge with comparing the |
| 28132 |
outputs of htmlfindurl and findurl. |
| 28133 |
(get_urls_html): Added better protocol support here. |
| 28134 |
(create_hash): Removed, as well as add_hash and in_hash. |
| 28135 |
(addslist): New function. |
| 28136 |
(in_slist): ditto |
| 28137 |
|
| 28138 |
* src/version.c: Released 1.4b8, changed version to b9. |
| 28139 |
|
| 28140 |
1996-06-27 Hrvoje Niksic <[email protected]> |
| 28141 |
|
| 28142 |
* src/ftp.c (freefileinfo): New function. |
| 28143 |
(delelement): New function. |
| 28144 |
|
| 28145 |
* src/everywhere: GPL! |
| 28146 |
|
| 28147 |
* src/ftp.c (ftp_loop): Use ccon. |
| 28148 |
(ftp_retrieve_glob): Likewise. |
| 28149 |
|
| 28150 |
* src/ftp.h: Define ccon, to define status of control connection. |
| 28151 |
|
| 28152 |
* src/ftp.c (ftp_get_listing): New function. |
| 28153 |
(ftp_retrieve_more): New function. |
| 28154 |
(ftp_retrieve_glob): New function. |
| 28155 |
|
| 28156 |
1996-06-25 Hrvoje Niksic <[email protected]> |
| 28157 |
|
| 28158 |
* src/configure.in: Removed the search for cuserid(). |
| 28159 |
|
| 28160 |
* src/init.c (getmode): Renamed to getperms. |
| 28161 |
|
| 28162 |
1996-06-24 Hrvoje Niksic <[email protected]> |
| 28163 |
|
| 28164 |
* src/version.c: New version. |
| 28165 |
|
| 28166 |
* src/main.c (hangup): New function, that handles hangup. Hangup |
| 28167 |
signal now causes geturl to stop writing on stdout, and to write |
| 28168 |
to a log file. |
| 28169 |
|
| 28170 |
* src/ftp.c (getftp): "Released" 1.4b7. |
| 28171 |
|
| 28172 |
* src/html.c (htmlfindurl): Ignore everything inside <head>...</head>. |
| 28173 |
(ftp_index): Use fileinfo/urlinfo. |
| 28174 |
|
| 28175 |
* src/ftp-unix.c (ftp_parse_ls): New function. |
| 28176 |
(symperms): New function. |
| 28177 |
|
| 28178 |
* src/ftp.c (ftp_1fl_loop): New function, to handle 1-file loops. |
| 28179 |
|
| 28180 |
* src/retr.c (retrieve_url): Added FTP support. |
| 28181 |
|
| 28182 |
1996-06-23 Hrvoje Niksic <[email protected]> |
| 28183 |
|
| 28184 |
* src/geturl.h: Removed NOTFTP2HTML enum. |
| 28185 |
Added DO_LOGIN, DO_CWD and DO_LIST. LIST_ONLY is obsolete. |
| 28186 |
|
| 28187 |
* src/ftp.c (getftp): Resynched with urlinfo. |
| 28188 |
(getftp): Removed HMTL-ization of index.html from getftp. |
| 28189 |
|
| 28190 |
* src/version.c: 1.4b6 "released". |
| 28191 |
|
| 28192 |
* src/options.h (options): New struct, to keep options in. |
| 28193 |
|
| 28194 |
* src/http.c (http_loop,gethttp): Synched with proxy. |
| 28195 |
|
| 28196 |
* src/retr.c (retrieve_url): Implemented proxy retrieval. |
| 28197 |
|
| 28198 |
* src/main.c (main): Use retrieve_from_file. |
| 28199 |
|
| 28200 |
1996-06-22 Hrvoje Niksic <[email protected]> |
| 28201 |
|
| 28202 |
* src/retr.c (retrieve_from_file): New function. |
| 28203 |
|
| 28204 |
* src/url.c (parseurl): Modified to return URLOK if all OK. Protocol |
| 28205 |
can be found in u->proto. |
| 28206 |
|
| 28207 |
* src/ftp.c (ftp_response): Fixed to accept multi-line responses as |
| 28208 |
per RFC 959. |
| 28209 |
|
| 28210 |
* src/recr.c (recursive_retrieve): Take newloc from retrieve_url. |
| 28211 |
|
| 28212 |
* src/url.c (mymkdir): Removed the file of the same name, if one |
| 28213 |
exists. |
| 28214 |
(isfile): New function. |
| 28215 |
(mkstruct): Fixed the '/' glitches. |
| 28216 |
(path_simplify): Hacked to treat something/.. correctly. |
| 28217 |
|
| 28218 |
1996-06-21 Hrvoje Niksic <[email protected]> |
| 28219 |
|
| 28220 |
* src/http.c (gethttp): Close the socket after error in headers. |
| 28221 |
(http_loop): HEOF no longer a fatal header. |
| 28222 |
|
| 28223 |
* src/loop.c (retrieve_url): When dt is NULL, do not modify it. This |
| 28224 |
simplifies the syntax of calling retrieve_url. |
| 28225 |
|
| 28226 |
* src/recr.c (recursive_retrieve): Modified to use get_urls_html. |
| 28227 |
|
| 28228 |
* src/url.c (get_urls_file): New function. |
| 28229 |
(get_urls_html): New function. |
| 28230 |
|
| 28231 |
* src/recr.c (recursive_retrieve): Patched up to conform to the |
| 28232 |
standards. |
| 28233 |
|
| 28234 |
* src/http.c (gethttp): Synched with the rest... |
| 28235 |
(gethttp): Treat only CONREFUSED specially, with connection |
| 28236 |
errors. |
| 28237 |
|
| 28238 |
* src/init.c,geturl.1,http.c (http_loop): Removed kill_error. |
| 28239 |
|
| 28240 |
1996-06-20 Hrvoje Niksic <[email protected]> |
| 28241 |
|
| 28242 |
* src/http.c (http_loop): New function. |
| 28243 |
|
| 28244 |
* src/loop.c: Removed *lots* of stuff from retrieve_url. |
| 28245 |
|
| 28246 |
* src/url.c (parseurl): Changed to work with urlinfo. Integrated |
| 28247 |
username finding and path parsing. |
| 28248 |
(newurl): New function. |
| 28249 |
(freeurl): New function. |
| 28250 |
(mkstruct): Removed the old bogosities, made it urlinfo-compliant. |
| 28251 |
(url_filename): Likewise. |
| 28252 |
(path_simplify): Accept relative paths too. |
| 28253 |
(opt_url): Made urlinfo-compliant, removed bogosities. |
| 28254 |
(path_simplify): Expanded to accept relative paths. |
| 28255 |
(str_url): A replacement for hide_url |
| 28256 |
(decode_string): Fixed a bug that caused malfunctioning when |
| 28257 |
encountering an illegal %.. combination. |
| 28258 |
(opt_url): Removed the argument. Dot-optimizations are now default. |
| 28259 |
|
| 28260 |
* src/nmalloc.c (strdupdelim): New function. |
| 28261 |
|
| 28262 |
* src/url.h: Added the urlinfo structure |
| 28263 |
|
| 28264 |
1996-06-19 Hrvoje Niksic <[email protected]> |
| 28265 |
|
| 28266 |
* src/url.c (hide_url): Thrown out the protocol assertion. Do not |
| 28267 |
change the URL if the protocol if not recognized. |
| 28268 |
(findurl): Put continue instead of break. |
| 28269 |
|
| 28270 |
1996-06-18 Hrvoje Niksic <[email protected]> |
| 28271 |
|
| 28272 |
* src/sample.geturlrc: Changed the defaults to be commented out and |
| 28273 |
harmless (previous defaults caused pains if copied to |
| 28274 |
~/.geturlrc). |
| 28275 |
|
| 28276 |
* src/http.c (gethttp): Print the HTTP request in debug mode. |
| 28277 |
|
| 28278 |
* src/connect.c (iread): Added EINTR check loop to select-ing |
| 28279 |
too. EINTR is now correctly handled with select(). |
| 28280 |
|
| 28281 |
* src/TODO: new file |
| 28282 |
|
| 28283 |
1996-05-07 Hrvoje Niksic <[email protected]> |
| 28284 |
|
| 28285 |
* src/host.c (same_host): Made the function a little bit more |
| 28286 |
intelligent regarding diversified URL syntaxes. |
| 28287 |
|
| 28288 |
* src/url.c (skip_url): Spaces are now skipped after URL: |
| 28289 |
|
| 28290 |
* src/Released 1.3.1 with the patch to prevent crashing when sending |
| 28291 |
NULL to robot* functions and the patch to compile "out of the box" |
| 28292 |
on AIX. |
| 28293 |
|
| 28294 |
* src/recr.c (recursive_retrieve): Added checking whether this_url is |
| 28295 |
NULL when calling the robot functions. |
| 28296 |
|
| 28297 |
* src/ChangeLog: New file. |