Tim Rühsen
9a35fe609c
Don't write core dump if --secure-option value isn't suppported.
2023-03-19 17:39:45 +00:00
Tim Rühsen
d96d20630b
* src/retr.c (fd_read_body): Increase bufsize from 8k to 64k
2023-02-18 17:26:23 +01:00
Tim Rühsen
c77c95033a
* src/retr.c (fd_read_body): Simplify gzip initialization
2023-02-18 17:26:23 +01:00
Tim Rühsen
af1100f299
* src/retr.c (fd_read_body): Use MAX instead of max
2023-02-18 17:26:23 +01:00
Tim Rühsen
77929eda1b
Simplify url_error function.
...
* src/url.c (url_error): simplify, remove url arg, return const char *.
* src/url.h (url_error): remove url arg, return const char *.
* src/html-url.c (get_urls_file): Simplify call to url_error(),
remove call to free().
* src/http.c (metalink_from_http): Likewise.
* src/main.c (main): Likewise.
* src/metalink.c (retrieve_from_metalink, fetch_metalink_file): Likewise.
* src/recur.c (retrieve_tree): Likewise.
* src/res.c (res_retrieve_file): Likewise.
* src/retr.c (retrieve_url, retrieve_from_file): Likewise.
2023-02-18 17:25:56 +01:00
Tim Rühsen
218f6fee30
* src/url.c: Refactored url_error()
2023-02-18 17:25:56 +01:00
Tim Rühsen
2339d79b05
* tests/valgrind-suppressions: Add rule for 'strcmp-sse2.S in libdl.so'
2023-02-18 17:25:56 +01:00
Tim Rühsen
dcd2ed739e
* configure.ac: Remove CC flags -Wc90-c99-compat and -Wlong-long
2023-02-17 14:00:02 +01:00
Tim Rühsen
24e876357a
* fuzz/*: Use grep >/dev/null instead of grep -q
2023-02-17 13:46:58 +01:00
Tim Rühsen
8247a34521
* src/retr.c: Don't include hash.h
2023-02-17 13:46:58 +01:00
Tim Rühsen
4223996930
Update copyright years
2023-02-17 13:46:58 +01:00
Tim Rühsen
27d3fcba33
* gnulib: Update
2023-02-17 13:46:58 +01:00
Tim Rühsen
c69030a904
* configure.ac: Disable nettle if NTLM is explicitly disabled
2022-12-11 13:31:38 +01:00
Tim Rühsen
485217d0ff
* configure.ac: Allow disabling NTLM if nettle present (Savannah #63431 )
2022-12-10 16:43:38 +01:00
Tim Rühsen
9835085544
* fuzz/Makefile.am: Add -lz to fuzzer libs
2022-09-24 18:41:31 +02:00
Tim Rühsen
aab539bb44
* src/main.c (print_help): Add --retry-on-host-error to help text
2022-03-20 21:07:54 +01:00
Tim Rühsen
cb114fbbf7
Fix HSTS portability by using int64_t instead of time_t.
...
* src/hsts.c: Use int64_t instead of time_t.
* src/http.c: Use int64_t for parsing Strict-Transport-Security.
2022-03-20 20:57:10 +01:00
Tim Rühsen
1cda2bb5d5
src/http.c (time_to_rfc1123): Fix -Wformat-nonliteral
2022-03-20 20:53:10 +01:00
Tim Rühsen
565f566fab
* src/warc.c (warc_process_cdx_line): Fix variable type to idx_t
2022-03-20 20:49:07 +01:00
Tim Rühsen
c7e6e378e5
* src/main.c (secs_to_human_time): Use snprintf instead of sprintf
2022-03-20 20:45:59 +01:00
Tim Rühsen
59d08d3290
* src/main.c (main): Remove unused variable
2022-03-20 20:44:32 +01:00
Tim Rühsen
8d5cdef9a9
* src/netrc.c (test_parse_netrc): Check if HAVE_FMEMOPEN is defined
2022-03-20 15:57:21 +01:00
Darshit Shah
9f93ffb44b
maint: post-release administrivia
...
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
* cfg.mk (old_NEWS_hash): Auto-update.
2022-02-26 17:27:55 +01:00
Darshit Shah
40747a11e4
* NEWS: Update NEWS items for release
2022-02-26 17:20:26 +01:00
Darshit Shah
b6f3c6153e
* .gitignore: Remove empty line at EOF
2022-02-26 17:02:26 +01:00
Darshit Shah
e1fa51206c
* .gitignore: Update file
2022-02-26 16:54:51 +01:00
Darshit Shah
6d4a4e56c8
* src.hsts.c(hsts_read_database): Use SCNd64 for portable format flags
2022-02-26 16:51:21 +01:00
Darshit Shah
14a7f68f46
* configure.ac: Add some warning flags to ignore
2022-02-26 16:50:48 +01:00
Darshit Shah
ccc7866fea
* cfg.mk: Remove passing syntax-checks from skip list
2022-02-26 16:24:57 +01:00
Darshit Shah
2730a00c0d
Fix issues from syntax-check
...
* doc/wget.texi: s/time stamp/timestamp/
* src/ftp-ls.c(clean_line): Same
(ftp_parse_vms_ls): Don't cast return value of x*alloc
* src/ftp.c: Don't cast return value of alloca
* src/css-url.c: wget.h should be the first include
* testenv/Makefile.am: Use $(PATH_SEPARATOR) instead of : when declaring
a path
* testenv/Test-no_proxy-env.py: s/can not/cannot/
2022-02-26 16:20:30 +01:00
Darshit Shah
be936bda56
* Update Copyright years
2022-02-26 15:49:52 +01:00
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