Rohan Prinja
8d4bb928b9
Convert wget.texi to UTF-8
...
* doc/wget.texi: convert to UTF-8 by adding @documentencoding
* doc/Makefile.am: Pass argument --utf8 to pod2man.
2015-03-17 09:52:23 +01:00
Ander Juaristi Alamos
d0f406a13f
* doc/wget.texi: The default is GnuTLS, not OpenSSL.
2015-03-16 22:46:08 +01:00
Darshit Shah
87b52e510c
testenv/http_server: Allow overriding Headers
...
We would like to override existing headers in the response from the
server to allow the test cases to define their own headers. This patch
allows this behaviour through the use of the add_header() method while
also allowing sending multiple headers of the same name.
2015-03-16 23:24:14 +05:30
Darshit Shah
cc9f76c5a4
retr.c: Fix memory leak in retrieve_from_file()
...
Reported by: Coverity Bug 1188045
2015-03-14 16:48:30 +05:30
Darshit Shah
53b22974cb
html-url.c: Fix potential memory leaks
...
Reported by: Coverity Bug 1188050
2015-03-14 16:48:30 +05:30
Darshit Shah
7d5a7ef9ca
main.c: Fix two potential memory leaks
...
Reported by: Coverity bug 1188048
2015-03-14 16:48:30 +05:30
Darshit Shah
735cc220e3
retr.c: Fix two memory leaks when proxy URL is bad
...
Reported by: Coverity bug 1188047
2015-03-14 16:48:29 +05:30
Darshit Shah
524f26a200
Docs: --post-file is binary data
...
Wget considers the file mentioned in the --post-file argument as a
binary file and does not strip any control characters. The lack of this
information in the documentation can cause a lot of headaches debugging
for a simple issue
2015-03-13 23:51:59 +05:30
Giuseppe Scrivano
16f1fb1d1f
maint: update copyright year ranges to include 2015
2015-03-09 16:32:01 +01:00
Giuseppe Scrivano
b74ac4c7e0
NEWS: Prepare new development cycle
2015-03-09 16:28:16 +01:00
Yousong Zhou
91e9a20752
Fix --content-on-error option handling.
...
* src/http.c: Log --content-on-error downloads.
* src/retr.c (retrieve_url): Register the download of an error page
when --content-on-error is specified.
2015-03-09 11:45:01 +01:00
Yousong Zhou
4a214bc9a3
testenv: add test case Test--convert-links--content-on-error.py.
...
* testenv/Makefile.am: Register the new test.
* testenv/Test--convert-links--content-on-error.py: Add test case for
the combination of --convert-links and --content-on-error.py.
2015-03-09 11:42:11 +01:00
Yousong Zhou
b7b6d7fd89
testenv: fix http_server.py with Response and Authentication.
...
* testenv/exc/server_error.py: Try writing file content for GET
request even if there is a Response rule present.
* testenv/server/http/http_server.py: Likewise.
2015-03-09 11:41:08 +01:00
Yousong Zhou
3a00b37bc2
testenv: improve color output a bit.
...
* testenv/misc/colour_terminal.py: Only print color codes when stdout
isatty().
2015-03-09 11:40:44 +01:00
Yousong Zhou
adcc793a26
testenv: typo and style fix.
...
* testenv/server/http/http_server.py(BaseTest): Add docstring; use raw
string for regex.
* testenv/server/http/http_server.py(_Handler): Typo fix.
* testenv/conf/server_files.py(ServerFiles): Code style change for
readability plus another typo fix.
2015-03-09 11:40:05 +01:00
Giuseppe Scrivano
d94d9cd98b
NEWS: tag 1.16.3
2015-03-09 10:01:08 +01:00
Anderson Goulart
882ed28d59
src/main.c (--no-verbose): don't show progress bar
...
Fixes #44431
2015-03-09 00:44:23 +05:30
Darshit Shah
e316d253fa
main.c: Use assertion to test buffer size
2015-03-07 00:38:04 +05:30
Darshit Shah
9dde436dd6
main.c: Need to explicitly disallow show_progress in -q
2015-03-02 21:40:57 +05:30
Giuseppe Scrivano
bf868e8840
NEWS: add other items and tag 1.16.2
2015-02-28 15:40:18 +01:00
Giuseppe Scrivano
5352eac8fa
gnulib: sync gnulib
2015-02-28 15:39:44 +01:00
Giuseppe Scrivano
d419cd7c0c
NEWS: Update file
2015-02-27 17:36:50 +01:00
Eli Zaretskii
33c5d979ce
warc.c: native uuid generation on Windows
...
* warc.c (windows_uuid_str) [WINDOWS]: New function specific to
MS-Windows.
(warc_uuid_str) [WINDOWS]: If windows_uuid_str succeeds, use its
result; otherwise use the fallback method.
2015-02-23 23:36:02 +01:00
Gisle Vanem
9df2250f4c
idn: use idn_free() to free allocated libidn memory
...
xfree() might crash on libidn memory on Windows.
From 'man idn_free':
"Under Windows, different parts of the same application may use different
heap memory, and then it is important to deallocate memory allocated within
the same module that allocated it. This function makes that possible."
2015-02-18 12:50:57 +01:00
Tim Rühsen
3d8e765c1d
gettext: Use gnulib's gettext.h for compatibility
...
Fixes issues with gettext on Solaris
Reported-by: Kiyoshi KANAZAWA <yoi_no_myoujou@yahoo.co.jp>
2015-02-10 09:56:32 +01:00
Tim Rühsen
c83f344564
src/openssl.c: Use SSL_state() instead of ssl_st.state
...
Changes in OpenSSL 1.0.2 API hides ssl_st structure members.
Reported-by: Gisle Vanem <gvanem@yahoo.no>
2015-02-10 09:53:42 +01:00
Giuseppe Scrivano
07a350d30c
* README.checkout: Remove duplicated word
2015-01-31 00:32:06 +01:00
Giuseppe Scrivano
875d0819c4
* cfg.mk (VC_LIST_ALWAYS_EXCLUDE_REGEX): Add ChangeLog-2014-12-10.
2015-01-31 00:30:26 +01:00
Tim Rühsen
b25fbe5afc
README.checkout: Mention libio-socket-ssl-perl to be installed
2015-01-27 16:25:11 +01:00
Dagobert Michelsen
4e8e159289
tests/Makefile.am: Solaris needs libintl and libiconv for testsuite
2015-01-22 16:13:26 +01:00
Darshit Shah
8705e27e20
progress bar: Allow display on stderr alongwith -o
...
This commit causes the --show-progress option to print the progress bar
to stderr even when a logfile was explicitly provided on the command
line. Such a combination allows a user to log the output of Wget while
simultaneously keeping track of the download status.
2015-01-20 20:16:20 +01:00
Darshit Shah
a7e9a05a89
gnulib: Pull submodule forward
2015-01-18 15:40:46 +05:30
Mathieu Parent
87f4fee8c9
src/connect.c: More verbose error message (tiny change)
...
This fixes Debian bug #144076 .
2015-01-16 10:18:13 +01:00
Tim Ruehsen
5e3a760731
src/ftp-basic.c: Accept 5-digit port numbers in EPSV responses
...
Reported-by: Adam Sampson <ats@offog.org>
2015-01-04 20:57:15 +01:00
Tim Rühsen
01d5177f7a
README.checkout: Add libpcre, pkg-config, libgnutls
...
Add description for libpcre
Add description for pkg-config
Add description of GnuTLS
Add 2014,2015 copyright year
Use ASCII copyright characters
2015-01-02 13:03:44 +01:00
Tim Ruehsen
103cbf1751
src/http.c: Revert commit d81a8d5f56
...
The removal of the 'redundant' condition was a failure.
Fixes : #43876
Reported-by: Sean Jensen-Grey <seanj@xyke.com>
2014-12-27 23:27:20 +01:00
Tim Ruehsen
6f62bc5cd8
configure.ac: Skip pkg-config for opensl and gnutls when prefix is given
...
Make --with-libssl-prefix and --with-libgnutls-prefix do the right thing,
no matter if pkg-config is installed or not.
Reported-by: Charles Diza <chdiza@gmail.com>
2014-12-25 15:21:44 +01:00
Tim Ruehsen
f6b28575cc
src/main.c, src/warc.c: Use gnulib's base_name() instead of basename()
...
Reported-by: Eli Zaretskii <eliz@gnu.org>
2014-12-25 12:07:42 +01:00
Giuseppe Scrivano
5de8ab2a0b
Generate distributed ChangeLog from git log
...
* bootstrap.conf (gnulib_modules): Add "gitlog-to-changelog".
* Makefile.am: Generate the ChangeLog file from the git log and
the old ChangeLog data.
2014-12-24 11:04:30 +01:00
Giuseppe Scrivano
a8d437d827
merge ChangeLog files in ChangeLog-2014-12-10.
...
* ChangeLog: truncate file.
* ChangeLog.README: Likewise.
* doc/ChangeLog: Likewise.
* msdos/ChangeLog: Likewise.
* src/ChangeLog: Likewise.
* testenv/ChangeLog: Likewise.
* tests/ChangeLog: Likewise.
* ChangeLog-2014-12-10: New file.
* Makefile.am: Distribute ChangeLog-2014-12-10.
2014-12-24 11:04:30 +01:00
Eli Zaretskii
fc336758ab
src/utils.c: Don't include termios.h on Windows
2014-12-21 19:10:26 +01:00
Tim Ruehsen
9ee2fdd50d
tests/FTPServer.pm: Fix ftp tests for Windows
...
The Single Unix strftime format specifier %e is not supported by
MS Windows. Instead we now use %d.
Reported-By: Eli Zaretskii <eliz@gnu.org>
2014-12-21 18:12:17 +01:00
Tim Rühsen
cfe7589397
gnulib: Use basename() from gnulib module 'dirname'
...
Avoid basename incompatibilities between POSIX and GNU implementations.
Also, libgen.h isn't needed any more which increases compatibility.
2014-12-21 17:34:14 +01:00
Giuseppe Scrivano
15f18e7606
contrib/check-hard: delete trailing whitespaces and repeated word
2014-12-21 14:14:19 +01:00
Benno Schulenberg
ee196f6fe5
* src/main.c (print_help): Indent description continuation lines by two spaces.
2014-12-21 14:10:40 +01:00
Benno Schulenberg
0417ef8b50
* src/main.c (print_help): Don't use a possessive instead of a plural.
2014-12-21 14:10:35 +01:00
Benno Schulenberg
56c0098063
* src/main.c (print_help): Don't use the backtick as a left quote mark in the help text.
2014-12-21 14:10:31 +01:00
Benno Schulenberg
712d607f9b
* src/main.c (print_help): Remove the full stops from option descriptions.
...
And use semicolons to separate multiple phrases in a description.
2014-12-21 14:10:25 +01:00
Benno Schulenberg
32499e717d
* src/main.c (print_help): Make all option descriptions start with a lowercase letter.
...
Also spell URL consistently in all uppercase, and fix the grammar.
2014-12-21 14:09:51 +01:00
Tim Ruehsen
b147fb1638
doc/wget.texi: Add 'https_only' in 'wgetrc commands' section
...
Reported-By: Eli Zaretskii <eliz@gnu.org>
2014-12-20 17:42:00 +01:00