Tim Rühsen
a0e0965d1e
* .gitlab-ci.yml: Move coverage results to parent directory
2021-06-06 23:34:46 +02:00
Tim Rühsen
96971867ea
* .gitlab-ci.yml: Don't allow failure of scan-build
2021-06-06 23:26:33 +02:00
Tim Rühsen
5192dddbdd
* .gitlab-ci.yml: Pages needs Build-Tarball
2021-06-06 23:18:24 +02:00
Tim Rühsen
91c42c799a
* src/url.c (append_uri_pathel): Add cheap extra check to help static analyzers
2021-06-06 15:34:12 +02:00
Tim Rühsen
c778ac20b4
* src/http.c (gethttp): Add cheap extra check to help static analyzers
2021-06-06 15:34:06 +02:00
Tim Rühsen
4d3ee1604a
* .gitlab-ci.yml: Exclude src/css_.o from scan-build
2021-06-06 15:34:03 +02:00
Tim Rühsen
a209bb1fac
* src/main.c (main): Removed unused variable
2021-06-06 15:33:59 +02:00
Tim Rühsen
36e250e09a
Revert "Long pathnames patch"
...
This reverts commit affad27664
.
Manual tests with very long path names did not work with this patch.
We have to wait for a patch including automated tests.
2021-06-06 14:10:22 +02:00
Tim Rühsen
f3299cc606
* .lgtm.yml: Add autoconf-archive
2021-06-06 02:39:28 +02:00
Tim Rühsen
de4b94a5ae
* .gitlab-ci.yml: Re-arrange stages
2021-06-06 02:39:28 +02:00
Tim Rühsen
c1599deb1f
Remove .git/, .gitmodules and gnulib/ from bootstrap artefacts
2021-06-06 02:39:28 +02:00
Darshit Shah
61df89eb91
Updated Gitlab CI Pipeline
...
* .gitlab-ci.yml: COmpletely overhauled CI pipeline with dependencies
for a faster and more robust CI.
2021-06-06 02:39:17 +02:00
jmoellers
affad27664
Long pathnames patch
2021-05-29 17:17:27 +00:00
Tim Rühsen
170896a76a
* fuzz/wget_read_hunk_fuzzer.c: Add explicit cast for C++ compilation
2021-05-22 16:48:19 +02:00
Tim Rühsen
d4431a0b97
* fuzz/wget_ntlm_fuzzer.c: Add explicit cast for C++ compilation
2021-05-22 16:48:14 +02:00
Tim Rühsen
027d294114
* src/http.c (initialize_request): Send Host HTTP header first
...
This solves an issue where the server expects the Host: header
as first one. This seems plausible (ahem) as the Host: header is the
only one that is required.
2021-05-03 17:49:58 +02:00
Tim Rühsen
5fe8d26904
Improve wget_options_fuzzer
...
* fuzz/fuzzer.h: Ignore -Wunused-parameter.
* fuzz/wget_options_fuzzer.c: Let getaddrinfo() fail in while fuzzing.
* fuzz/wget_options_fuzzer.in/*: Update corpora from OSS-Fuzz.
2021-05-02 19:43:06 +02:00
Nekun
aabdf6eb66
Fix typo in VMS support code
...
* src/utils.c: Remove unpaired brace
Copyright-paperwork-exempt: Yes
2021-05-02 14:19:01 +02:00
Nils
1aada296dd
Use "nofollow" instead of "no-follow" in messages
...
* src/html-url.c (get_urls_html_fm): Remove misleading debug message.
* src/recur.c (retrieve_tree): Fix no-follow -> follow in DEBUGP.
The attribute in html is "nofollow" so it is more consistent to call it
so than to hyphenate it.
Copyright-paperwork-exempt: Yes
2021-04-15 21:03:56 +02:00
Nils
f1cccd2c45
Print message for no-follow attribute only if norobots respected
...
* src/html-url.c (get_urls_html_fm): Remove misleading log message.
* src/recur.c (retrieve_tree): Add log message into correct if block.
Commit e39be32838
added a message that
said links will not be followed whenever the nofollow attribute is found
in a page. It didn't take into account that with -e robots=off (and
equivalents) links will still be followed.
This bug has been noticed multiple times:
* https://www.reddit.com/r/DataHoarder/comments/mprq89/wget_respects_nofollow_attribute_despite_e/
* https://gist.github.com/simonw/27e810771137408fd7834ad153750c41#gistcomment-3648191
* https://superuser.com/questions/1494761/wget-wont-ignore-no-follow-attributes
This commits makes it so that this message is only printed when a
nofollow link is found and the norobots convention is respected.
Copyright-paperwork-exempt: Yes
2021-04-15 21:02:28 +02:00
Tim Rühsen
11c626efc4
* configure.ac: Add AM_GNU_GETTEXT_VERSION
2021-04-15 20:56:27 +02:00
Tim Rühsen
db6166d011
* testenv/test/base_test.py: Rename valgrind-suppression-ssl -> valgrind-suppressions-ssl
2021-04-11 19:41:03 +02:00
Tim Rühsen
a65bc7c0e8
* testenv/test/base_test.py: Add --show-leak-kinds=all valgrind argument
2021-04-11 19:41:00 +02:00
Tim Rühsen
3a1ac38f00
* tests/WgetTests.pm: Add --show-leak-kinds=all valgrind argument
2021-04-11 19:40:56 +02:00
Tim Rühsen
d745ea0eb6
Fix testenv valgrind suppression
...
* testenv/Makefile.am: Remove valgrind-suppressions from EXTRA_DIST.
* testenv/valgrind-suppression-ssl: Rename to testenv/valgrind-suppressions-ssl.
2021-04-11 19:09:45 +02:00
Tim Rühsen
82afc6e6f0
* bootstrap.conf: Add 'rename' to gnulib modules
...
The missing module could be a reason for
https://savannah.gnu.org/bugs/?60346 .
Reported-by: jrharris42@gmail.com
2021-04-11 13:16:21 +02:00
Tim Rühsen
90631a6fe5
* src/wget.h: Use strtoll() for str_to_wgint
...
This fixes a regression reported at https://savannah.gnu.org/bugs/?60353 .
Reported-by: Michal Ruprich
2021-04-11 12:53:20 +02:00
Shamil Gumirov
fd2a061f6a
Minor output fix to use quote_n() instead of quote()
...
* src/ftp.c (ftp_retrieve_list): change quote to quote_n
* src/iri.c (do_conversion): change quote to quote_n
* src/url.c (convert_fname): change quote to quote_n
The implementation quote() reuses the buffer it returns which
leads to printing the same string for each quote() call in one
output line. Instead, quote_n() should be used as highlighted in
the doc:
https://www.gnu.org/software/gnulib/manual/html_node/Quoting.html
Copyright-paperwork-exempt: Yes
2021-04-11 12:42:07 +02:00
Tim Rühsen
27b12dad12
* src/Makefile.am: Add metalink.c and xattr.c to EXTRA_wget_SOURCES
2021-04-05 12:37:28 +02:00
Tim Rühsen
c8d7a66217
* testenv/Makefile.am: Allow tarball build without python3
2021-04-05 12:37:15 +02:00
Tim Rühsen
6d58a04682
Fix spelling errors
...
* NEWS: trough -> through.
* README.checkout: Likewise.
* contrib/spell-checker: Add exclusion 'parm'
2021-04-04 17:14:57 +02:00
Tim Rühsen
7840db6c0b
Remove gettext version requirements
...
* bootstrap.conf: Remove gettext version requirements
* configure.ac: Likewise.
2021-04-04 17:14:54 +02:00
Darshit Shah
cf788d60e4
Use a LOG_COMPILER for running fuzz tests
...
This prevents needing a special case in the fuzz tests to detect
valgrind usage and a new exec. Instead, we simply detect the environment
in a shell script and start the test with valgrind in the first place.
* fuzz/test-runner.sh: New script for running the fuzz tests
* fuzz/main.c (main): Remove code for re-running under valgrind
* fuzz/Makefile.am: Set the LOG_COMPILER to test-runner.sh and remember
to add it to the list of extra files for packaging
2021-03-16 21:48:13 +01:00
Tim Rühsen
db4d5b6eb3
* configure.ac: Add AC_PROG_CC_C99
2021-03-07 19:56:36 +01:00
Darshit Shah
e9cf8da1a6
Bump gettext version to 0.20
...
* bootstrap.conf: Increase minimum version of gettext needed to 0.20
* configure.ac: Same
2021-03-07 14:50:11 +01:00
Darshit Shah
b743178b9d
* bootstrap: Update script
2021-03-07 14:40:41 +01:00
Darshit Shah
65cc47b504
* gnulib: Pull forward
2021-03-07 14:39:53 +01:00
Darshit Shah
f7835691b4
Fix double free in FTP Code
...
* src/ftp.c(getftp): Don't free `target`. If it is not pointing to
targetbuf, then it still pointing to its original location of u->dir.
This location will be free'd later. Doing so now causes a double free
and hence crashes Wget
* tests/Test-ftp-dir.px: New test to show double free error
* tests/Makefile.am: Add new test
2021-03-02 12:03:14 +01:00
Tim Rühsen
51ee45f017
* doc/wget.texi: Replace '' with in example
...
Needed to hide from texi2pod.pl replacement of '' -> ".
Reported-by: Vincent Lefevre
2021-01-31 18:23:36 +01:00
Tim Rühsen
7d9ed223fc
Use gnulib's utime.h
...
* bootstrap.conf: Remove utime-h (included by utime).
* configure.ac: Remove header checks for utime.h and sys/utime.h.
* src/utils.c: Simply #include <utime.h>.
2021-01-23 19:28:58 +01:00
Tim Rühsen
f81191951a
* configure.ac: Detect unresolved AX_ macros
2021-01-23 19:09:36 +01:00
Tim Rühsen
ea6143d56c
* configure.ac: Use noyywrap for AC_PROG_LEX
2021-01-16 20:09:07 +01:00
Tim Rühsen
ad36a467ac
Fix --quota on systems with 32bit long type
...
* src/init.c (cmd_bytes_sum): Use WGINT_MIN and WGINT_MAX in check.
* src/options.h (struct options): Make 'quota' of type wgint.
* src/retr.c: Make 'total_downloaded_bytes' of type wgint.
* src/utils.h: Fix comment.
* src/wget.h: Add WGINT_MIN, remove SUM_SIZE_INT.
2021-01-16 20:00:39 +01:00
Tim Rühsen
adc5aa0196
* configure.ac: Remove obsolete AC_HEADER_STDC
2021-01-16 19:34:53 +01:00
Tim Rühsen
5c8569ba5d
* configure.ac: Replace ` with '
2021-01-16 19:31:04 +01:00
Tim Rühsen
9f1c8dac77
* configure.ac: Use yywrap param for AC_PROG_LEX
2021-01-16 19:19:01 +01:00
Darshit Shah
6c84dc38bc
maint: post-release administrivia
...
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
* cfg.mk (old_NEWS_hash): Auto-update.
2021-01-09 11:01:24 +01:00
Darshit Shah
f720bdda9f
* NEWS: Update NEWS items for release
2021-01-09 10:55:08 +01:00
Darshit Shah
90d43efbea
* gnulib: Pull forward
2021-01-09 10:55:02 +01:00
Darshit Shah
0031bdedfc
* cfg.mk: Add manual_title for web docs
2021-01-09 10:54:27 +01:00