wget2:master commits
-
Fix gcc 15 -Wunterminated-string-initialization
* libwget/base64.c (base64_encode): Drop explicit error length. * libwget/buffer_printf.c (convert_pointer): Likewise. Just cosmetics - allows to build with -Werror.
-
Fix gcc 15 -Wzero-as-null-pointer-constant
* libwget/logger.c (wget_logger_is_active): Fix warning. * libwget/ssl_gnutls.c (verify_certificate_callback): Likewise. * src/host.c (_search_host_for_free_job): Likewise. * src/wget.c (main, input_thread): Likewise. Just cosmetics - allows to build with -Werror.
-
* configure.ac: Hide m4_ifdef from autopoint
-
* gnulib: Update
-
bootstrap: Sync with gnulib
-
gnulib: Pull forward
-
* contrib:Dockerfile.win32.static: Update and fix build
-
* contrib/Dockerfile.win32.static: Use upstream gnulib with git
-
Fix redirect regression
* src/wget.c (process_response_header): Follow location header. Fixes #689 Reported-by: https://gitlab.com/omos
-
Drop iri->uri_allocated
* include/wget/wget.h (struct wget_iri_st): Remove uri_allocated. * libwget/iri.c (wget_iri_free_content): Do not free iri->uri, (wget_iri_clone): Simplify code and do not heap-allocate iri->uri.
-
Fix buffer overflow in wget_iri_clone() after wget_iri_set_scheme()
* fuzz/libwget_iri_fuzzer.c: Call wget_iri_clone() after wget_iri_set_scheme(). * libwget/iri.c (wget_iri_parse): Increase value of iri->msize, (wget_iri_clone): Use wget_memdup() instead of malloc+memcpy, (wget_iri_set_scheme): Tiny code cleanup. Fixes: https://gitlab.com/gnuwget/wget2/-/issues/687 Reported-by: https://gitlab.com/gleurent
-
Add --show-progress
* src/options.c (struct optionw options): Add show-progress item. Copyright-paperwork-exempt: Yes
-
* src/wget.c: use _() to translate info and error strings
-
Fix sorting of metalink mirrors by priority
* libwget/metalink.c (compare_mirror): Fix implementation. Reported-by: Aidan Harris (https://gitlab.com/aidanharris)
-
Fix metalink with -O/--output-document
* src/wget.c (process_response): Handle config.output_document. Reported-by: Aidan Harris (https://gitlab.com/aidanharris)
-
Fix chunk_size conversion on 32bit arch
* src/wget.c (process_head_response): Cast size_t to long long. * src/wget_options.h (struct config): Change type of chunk_size from size_t to long long. Reported-by: https://gitlab.com/uhle
-
* src/wget.c (queue_url_from_remote): Make messages consistent