Darshit Shah
7ba0a44939
* bootstrap: Update script
2022-02-26 15:45:03 +01:00
Darshit Shah
98c23153a2
* gnulib: Pull forward
2022-02-26 15:45:02 +01:00
Darshit Shah
3a470a90f2
Cleanup some incorrect uses of AM Conditionals
...
* configure.ac: Replace IRI_IS_ENABLED with WITH_IRI and
METALINK_IS_ENABLED with WITH_METALINK
* src/Makefile.am: Add the .c and .h files for IRI, Metalink and
Xattr support to wget_SOURCES directly when needed instead of
adding them as object files.
* testenv/Makefile.am: Rename METALINK_IS_ENABLED to WITH_METALINK
2022-02-26 15:45:02 +01:00
Darshit Shah
f5263969fa
Replace incorrect usage of AC_LIBOBJ in configure.ac
...
AC_LIBOBJ is to be used for providing replacement functions for
compatibility reasons. Not for conditional compilation of entire source
files. Autotools provides other methods for achieving that. However, our
build system has (ab-)used the AC_LIBOBJ macros for doing this for over
15 years. That stops today.
* configure.ac: Replace uses of AC_LIBOBJ with automake conditionals
that can be used in Makefiles
* src/Makefile.am: Use the defined conditionals to select which
files get built.
2022-02-26 15:20:29 +01:00
Darshit Shah
cc5ec2a158
Fix case where installed gettext is newer than minimum version
...
* configure.ac: Use AM_GNU_GETTEXT_REQUIRE_VERSION to specify a minimum
version of gettext needed. This should allow newer versions of gettext
to be copied for autipoint to use when available.
This commit hopefully fixes the annoying issue when building from
source on a system that has a newer version of gettext.
2022-02-25 17:25:30 +01:00
Tim Rühsen
f7ce79fd85
* src/netrc.c (test_parse_netrc): Free netrc structure
2022-02-13 18:00:07 +01:00
Tim Rühsen
d139fecbe8
* .gitlab-ci.yml: Fix path to llvm-symbolizer
2022-02-13 17:57:39 +01:00
Tim Rühsen
74a9d9e7c4
* src/netrc.c (test_parse_netrc): New unit test function
2022-02-13 17:28:02 +01:00
Aarni Koskela
446afdca21
* src/http.c (parse_strict_transport_security): Fix typo in string
...
Copyright-paperwork-exempt: Yes
2022-01-31 18:01:51 +01:00
Tim Rühsen
e6fa409a4d
* .gitlab-ci.yml (Scan-Build): Allow failure due to two false positives
2022-01-23 14:10:49 +01:00
Tim Rühsen
a24e67e239
* configure.ac: Use pkg-config for gpgme, libidn2 and nettle
2022-01-23 14:10:49 +01:00
Tim Rühsen
c984cb316a
* src/ftp.c: Small cleanups
2022-01-22 19:53:26 +01:00
Nik Soggia
35a6317b99
Print newline after dot progress bar in non-verbose mode
...
* src/progress.c (dot_finish): Print new in all progress bar contexts
instead of just verbose
Copyright-paperwork-exempt: Yes
2022-01-16 00:01:39 +01:00
Tim Rühsen
9474a2c6f4
* .gitlab-ci.yml: Fix artifact path for the Scan-Build runner
2022-01-12 22:10:01 +01:00
Tim Rühsen
e7a4d818fa
* src/main.c (main): Unlink output document when --unlink is given
2022-01-09 18:58:41 +01:00
Tim Rühsen
f354529708
fuzz/*.in: Update fuzzer corpora
2021-12-22 19:49:24 +01:00
Tim Rühsen
67d4cb3ab6
* .gitlab-ci.yml (CoverageReports): Fix artifacts paths
2021-12-22 17:00:47 +01:00
Tim Rühsen
d2af84fbb3
* tests/valgrind-suppressions: Fix libidn rule
2021-12-22 14:32:50 +01:00
Tim Rühsen
bfb5bedf7d
* .gitlab-ci.yml: Fix artifacts paths
2021-12-22 14:29:00 +01:00
Tim Rühsen
8c5a620f0f
* tests/valgrind-suppressions: Extend libidn rule
2021-12-22 14:01:47 +01:00
Tim Rühsen
c34c2529dc
* src/log.c (logprintf): Check earlier for verbosity
2021-12-22 13:07:23 +01:00
Tim Rühsen
c7a37d82ee
* src/http.c (http_loop): Fix memleak
2021-12-22 13:06:34 +01:00
Tim Rühsen
c81042295e
Switch fuzzing build from C++ to C
...
* Makefile.am (oss-fuzz): Build with $CC instead of $CXX.
* README.md: Remove CXX and CXXFLAGS exports.
2021-12-21 19:20:52 +01:00
Darshit Shah
f75fcf2985
* src/http.c (http_loop): Hide password when printing status with -nv
...
Reported-By: Per Lundberg <perlun@gmail.com>
Closes : #61492
2021-12-01 23:38:52 +01:00
Darshit Shah
22611a77ba
* gnulib: Pull forward
2021-12-01 23:03:56 +01:00
Darshit Shah
e1bacd2fa5
* src/hsts.c (hsts_read_database): Read time_t values as long long
2021-12-01 22:42:42 +01:00
Thomas Niederberger
faeb4d90c2
* src/main.c (print_help): Add command line option for TLS 1.3
2021-12-01 22:17:11 +01:00
Darshit Shah
65e6d5b3b8
* retr.c (rotate_backups): Non existent files are not errors in this function
2021-10-11 23:06:38 +02:00
Darshit Shah
aecf5fbf1b
* ftp.c (ftp_loop_internal): Fix computation of total_downloaded_bytes
...
When continuing a FTP download, or not starting one because the file is
already fully retrieved, don't include the size of the file in the
total_downloaded_bytes. Only the actual amount of data retrieved over
the network should be considered there.
Fixes : #61277
Reported-By: Michal Ruprich <formaiko>
2021-10-08 20:37:51 +02:00
Darshit Shah
3ea9658c07
Remove suprious print statements
...
* src/gnutls.c: Remove fprintf statements. We should never print to
console directly. Always honor the log levels.
Fixes : #61125
2021-09-08 17:52:32 +02:00
Darshit Shah
31b82825a2
maint: post-release administrivia
...
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
* cfg.mk (old_NEWS_hash): Auto-update.
2021-09-07 21:04:48 +02:00
Darshit Shah
d5588ac221
* NEWS: Update NEWS items for release
2021-09-07 20:57:24 +02:00
Darshit Shah
204a4bccf4
* cfg.mk: Disable the indent check
2021-09-07 20:57:24 +02:00
Darshit Shah
5a79362a56
* gnulib: Pull forward
2021-09-07 20:12:55 +02:00
WB
ebb96761f5
Fix #60956 (improve --page-requisites)
...
* src/html_url.c (tag_handle_link): Check for "alternate stylesheet",
"icon" and "manifest".
2021-08-21 19:51:12 +02:00
Tim Rühsen
7899e1d17b
* src/html-url.c (tag_handle_meta): Fix integer overflow
2021-08-07 14:29:02 +02:00
Tim Rühsen
254b2d3c7c
* src/recur.c (download_child): Remove temporary robots.txt.tmp
2021-07-05 15:43:13 +02:00
Josef Moellers
718ab3f79b
Long pathnames patch
2021-06-14 08:33:57 +02:00
Tim Rühsen
d73e8b42f7
* .gitlab-ci.yml: Remove scan-build deps from pages stage
2021-06-07 20:32:41 +02:00
Tim Rühsen
4a5a010eb3
* .gitlab-ci.yml: Move scan-build/ to public/ only if it exists
2021-06-07 00:11:11 +02:00
Tim Rühsen
89fc8d84b7
* .gitlab-ci.yml: Move scan-build results to parent directory
2021-06-06 23:48:42 +02:00
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