Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/ArchiveTeam/wget-lua

Wget-AT is a modern Wget with Lua hooks, Zstandard (+dictionary) WARC compression and URL-agnostic deduplication.
https://github.com/ArchiveTeam/wget-lua

void uninitialized variable in metalink code

* src/metalink.c: Init retr_err with METALINK_MISSING_RESOURCE
* src/wget.h: Add enum METALINK_M...

5d55018ce6909342d6c08b4937279cc366e3e289 authored over 9 years ago
Fix function name collision with OpenSSL library

* src/utils.[ch], src/http.c, src/metalink.c: Rename function
hex_to_string() to wg_hex_...

4e56a910013de2b7dcd378a97ad63be4c8fa53c4 authored over 9 years ago
Fix configure options for metalink

* configure.ac: Ensure metalink support can be properly disabled

595f219a17a4981c86b47b224167eb4a341db507 authored over 9 years ago
Make the filename marquee a proper marquee

* src/progress.c: Start the marquee in the middle of the available space
and do not restart it...

b6e242cd6f13f3a5a57f9a92bebfb21d8d840143 authored over 9 years ago
NEWS: cite HSTS

207006ef25bab95d161d4b403fdaa20acdf51705 authored over 9 years ago
Fix metalink tests

testenv/Test-metalink-http.py: initialize HTTP test server
testenv/Test-metalink-xml.py: initial...

843634db59e188051ea5140a4b44726b710c34b5 authored over 9 years ago
Enhancements in testsuite engine + new HSTS test.

* testenv/Makefile.am: added new test 'Test-hsts.py'.
* testenv/Test-hsts.py: new test for HST...

54058d2b18780e660d79a3cc9109ae098237590f authored over 9 years ago
Added support for HSTS.

* Makefile.am: Added new source files hsts.c and hsts.h.
* http.c (parse_strict_transport_secu...

b60131a399b1215674e5728e0e77f8fe8e07d6fe authored over 9 years ago
NEWS: cite metalink support

fc8a545bfdf642d15131ef9620e5fc793a3d9841 authored over 9 years ago
fix compiler warnings

* src/utils.h: Include <stdlib.h>
* src/recur.c: Include "exits.h"

9e12b8ca39302a3ea8cdd8e258a12cd1e6544aa5 authored over 9 years ago
Unit test for find_key_value.

* src/http.c: Add test_find_key_value.
* src/test.c (main): Run new test.
* src/test.h: Add test...

70cbd59ed6684e12cdc6ce1e10f122ff3608c411 authored over 9 years ago
Test case for Metalink over HTTP.

* testenv/Test-metalink-http.py: New test.
* testenv/Makefile.am: Add to test list.

0e7aff7623e8158d04736546e2cb3ec35b05f2d6 authored over 9 years ago
Support multiple headers with same name in Python test suite.

* testenv/README: Describe how to use repeated header name.
* testenv/server/http/http_server.py...

792dd09a873464c7b24cf962b0b3e633d67477d2 authored over 9 years ago
Test case for Metalink in XML.

* testenv/Test-metalink-xml.py: New test.
* testenv/Makefile.am: Add file for automake.

a4f5ced797b41605a37320756a82f9313516b5fa authored over 9 years ago
Unit test for has_key.

* src/http.c: Add test_has_key.
* src/test.c (main): Run new test.
* src/test.h: Add test_has_key.

1113e7853466903fc0cbfefecc5c7169446c0976 authored over 9 years ago
Support at most one file signature. Adapt comments to libmetalink 0.13.

* src/metalink.c (retrieve_from_metalink): Add comment about new
libmetalink version. Do not ite...

97389a7497047d42c2841a53d94846a721857683 authored over 9 years ago
Unit test for find_key_values.

* src/http.c: Add test_find_key_values.
* src/test.c (main): Run new test.
* src/test.h: Add tes...

92a889b2785c31e5ff8bdd8264a03b906cfa7692 authored over 9 years ago
Move some Metalink-related code from http.c to metalink.c.

* src/http.c: Move find_key_value, has_key, find_key_values.
* src/metalink.c: To here.
* src/me...

225a87d4a2204006d6633af0a0e293c2c6322055 authored over 9 years ago
Test preferred location in Metalink-over-HTTP test case.

* testenv/Test-metalink-http.py: Ensure preferred location is handled
properly.

4c3043d19d36539689c0b7c67464413cf8b36583 authored over 9 years ago
Geolocation support for Metalink resources.

* doc/wget.text: Add information about --preferred-location.
* src/init.c: Add --preferred-locat...

6064f21c66b8494de3c3383e857730a1490e00b2 authored over 9 years ago
Metalink support.

* bootstrap.conf: Add crypto/sha256
* configure.ac: Look for libmetalink and GPGME
* doc/wget.te...

37b58e3976c02acc90f86e0f65e19b14e2ea9269 authored over 9 years ago
Start HTTP test only when calling begin().

* testenv/test/http_test.py: Move self.do_test() from __init__ to
begin().

05c30c3b1bf1671d1ea0d0af8966190285507f29 authored over 9 years ago
Add NULL value check to fix #45289

* src/recur.c (retrieve_tree): Check return value of url_parse()

80303366aeb158f1780e4ff5acec8e9df7db83df authored over 9 years ago
Let HTTPS tests XFAIL when no TLS support configured

* configure.ac: Export WITH_SSL for use in Makefile.am
* testenv/Makefile.am: Add HTTPS tests to...

bd0ffcf8bc51174904f3f5a4716b2e2b2e768aa1 authored over 9 years ago
Change function params to const in src/iri.[ch]

* iri.h, iri.c: Added const attribute for params of parse_charsset(),
check_encoding_name(), id...

25c9b462bf44ec3d1435000db33c135135ff3482 authored over 9 years ago
Work around a libidn <= 1.30 vulnerability

* src/iri.c: Add _utf8_is_valid() to check UTF-8 sequences before
passing them to idna_to_asci...

77f5a27e6506970c00b96570b6783c49582eacd7 authored over 9 years ago
Fix wgetrc filename creation for Windows

* init.c/wgetrc_file_name: Remove obsolete code in WINDOWS code path

Reported-by: Gisle Vanem <...

ae58d8a78b3531a330970fba2787d528d63dd83f authored over 9 years ago
Add valgrind suppression files for HTTPS tests

* testenv/test/base_test.py: Use Valgrind SSL suppressions file for
tests
* testenv/...

58702ffd4f0d04bca62f1f2728cbc63fd80f03fe authored over 9 years ago
contrib/check-hard: Indentation and spacing cleanup

* contrib/check-hard: Reduce the amount of text output to the
screen. Also implement som...

103f940950393700c7ecb399b119c921f0234ec1 authored over 9 years ago
Fix usage of CFLAGS in contrib/check-hard

* contrib/check-hard: Set CFLAGS per command line instead of using export.

'make distcheck' cha...

5f0818d9f171df76127cc0d5d2024bb1592422a5 authored over 9 years ago
Move test_* function protoypes from test.c to test.h

* src/test.c: Remove test_* function prototypes, make tests_run static
* src/test.h: Add test_* ...

c6ac51d5bc6edcfe833b84af98429acde2b268fb authored over 9 years ago
NEWS: cite --if-modified-since

fd3a3245eb13ecba1cbe409ee2e3061b11ef2a56 authored over 9 years ago
gnulib: update gnulib

48acb6693d58c5730c363363b071e7d4c7678e55 authored over 9 years ago
Include --if-modified-since option in user manual.

* doc/wget.texi: Add --if-modified-since section.

885eaaa214d1e1e45f0d981e9ad7e9dda2a02827 authored over 9 years ago
Implement timestamp support for local files in testenv

* testenv/README: Change timestamp format definition
* testenv/conf/local_files.py: Set proper t...

e397a48f6a24b6aff58fce056b018ba4b212f9df authored over 9 years ago
Support conditional GET in testenv server.

* src/exc/server_error.py: Add exception for GET to HEAD fallback.
* src/server/http/http_server...

901bc98edf1cda510c417b8d2af384e43fca7a14 authored over 9 years ago
Add test for condget requests.

* testenv/Test-condget.py: the test
* testenv/Makefile.am: add to tests list

be4f91737ad785a08529c9b2d8c0df0aebb88e06 authored over 9 years ago
Add --if-modified-since option

* src/init.c: Add to commands array.
* src/main.c: Add to cmdline_option. Add to help message.
*...

0e8d2d42517cbd82be92e3f2648dc46dab34d852 authored over 9 years ago
Support If-Modified-Since header in timestamping mode.

* src/wget.h: Add IF_MODIFIED_SINCE enum for dt. Add TIMECONV_ERR
enum to uerr_t.
* src/http.c (...

8a8d138dcc95b1248b66fb3dd64a1849b6da6ff5 authored over 9 years ago
Fix undeclared loop variable in Perl test suite

Reported-by: Hubert Tarasiuk <[email protected]>

83537f241502777972df808e97185139c147bf8b authored over 9 years ago
Make sure Wget does not unescape reserved chars.

* testenv/Test-reserved-chars.py: New file.

* testenv/Makefile.am: Added new test Test-reserved...

8682c2612ff35062f1b2e20ec1b008db49b252a3 authored over 9 years ago
Fixed incorrect handling of reserved chars.

* src/iri.c (do_conversion): Call url_unescape_except_reserved,
instead of url_unescape.

* src/...

b0820d553b6bef4400c493474d38930fee461b45 authored over 9 years ago
Fix documentation for update_speed_ring()

* progress.c (update_speed_ring): The comment for the function
incorrectly stated that t...

b6b1388fb73ad32b09aecae0ac338f6fd281e6c4 authored over 9 years ago
Remove shadowed variable in http.c

* http.c (gethttp): Rename err to conn_err to prevent shadowed
variable

9b1dd6dab83940b55e38db3fc80afe71bdcf7701 authored over 9 years ago
paramcheck: use explicit quoting for here-docs

* util/paramcheck.pl: Adjust here-docs

1cc835dc5b3972dcf3560143ae6d5edc7eae50ff authored over 9 years ago
Fix format specifier warning

* src/utils.c (aprintf): Use %d for int argument

6b8dfe1d6e3cf47a4b7d2f01cdb1ebf6953ba89c authored over 9 years ago
Fix timestamping and continue behaviour with ftp protocol.

* src/ftp.c (ftp_loop_internal): Add option `force_full_retrieve' that force to
retrieve full fi...

0e6d6ca963f13e0c4d239cd9e7aea62d176da8eb authored over 9 years ago
openssl: Read cert from private key file when needed

* src/openssl.c (ssl_init): Assign opt.cert_{file, type}
from opt.private_key(_type)

3765a1b266c9a84be74c53713cfb6c555a37d759 authored over 9 years ago
Fix double free bug in SSL code

* src/openssl.c, src/gnutls.c (ssl_init): Copy options using xstrdup

8654f7e2e70ca69229d7f5006a73cd31c6360458 authored over 9 years ago
Single exit point and common cleanup code in gethttp

* src/http.c (gethttp): Common cleanup for type, message,
req, resp, head. Single exit point.

566696cb828954bb763c84d811ad37857a16ae74 authored almost 10 years ago
Add more const usage to function params

* warc.c, warc.h: Add const specifier to several function args

4dde3e200faae8a81152c9378fc5d0dcdb59e79b authored almost 10 years ago
Check memory allocations in WARC code

* src/warc.c: Remove some memory allocations,
use xmalloc instead of malloc

Repor...

c579c7bf1ec2ed0f111f117d3dcd07e282252bbf authored almost 10 years ago
Silence warning in perl test suite

* tests/WgetTests.pm: Use string comparisons for $valgrind variable

bebe462a67ebd34fe04accc7bec668f51e58f823 authored almost 10 years ago
PEP8'ify the Python Test Suite

* testenv/conf/{__init__,authentication,files_crawled,
hook_sample,reject_header,serve...

8e0dd0d870ae5009be0d287502dd5845d31d3ac0 authored almost 10 years ago
Improved test suite documentation

* README.checkout: Added reference to Python. New section
"Testing and development". Updated i...

c6af2fddee5ab20f8ce693dd07ff9fe8c5cb2bdf authored almost 10 years ago
Added support for GDB in Python tests

* base_test.py (gen_cmd_line): Check GDB_TESTS environment variable.

e7e3227b34fc0423c8f1ac84ffee031e91fe7500 authored almost 10 years ago
Added GDB support to Perl tests

* WgetTests.pm (run): Check GDB_TESTS environment variable.

5c5d45ae4953c40d122419751e6038c074b161a9 authored almost 10 years ago
Add Valgrind suppression for libidn.so at idna_to_ascii_4z

* tests/WgetTests.pm (run): Include suppression file when running Valgrind.
* tests/valgrind-sup...

f4072e5d0b4f9babf0ba879e8855fd1c95e59e4e authored almost 10 years ago
Remove memory leak in idn_encode.

* src/iri.c (idn_encode): Free buffer from remote_to_utf8
when needed; give meaningful names to ...

bef59452028b35eb9076ccf2a4e991e2140f4d9e authored almost 10 years ago
Fix error in free_vec.

* src/utils.c (free_vec): Increment pointer instead of its value.

Reported-by: Gisle Vanem <gva...

ac40b84ee138d45379046e21e31d237f6937a014 authored almost 10 years ago
Fix const usage in iri.c

* src/iri.c (remote_to_utf8): Do not qualify with const the output pointer.
(do_conversion): Use...

45463eaad7c96fe830c975cc9849ee7fe470a56c authored almost 10 years ago
Fixed #44628 honoring RFC 6266 content-disposition

src/http.c (parse_content_disposition): stores filename* and filename
separately and choses file...

d03b40e31e9aa06669c3ae0113ed24273e1b60e5 authored almost 10 years ago
NEWS: cite last change

268e6aef72b4bc0c41b7426bc25e475f21fcc8b8 authored almost 10 years ago
Add option to restrict filenames used VMS.

* src/options.h (enum restrict_files_os): Define "restrict_vms".
* src/init.c (defaults) [__VMS]...

5efb24e4a267e2b206e899e0c6768eaf3bb90254 authored almost 10 years ago
Change semantics of resp_free and request_free in http.c

* src/http.c (resp_free): Change the semantics of this function.
(request_free): Change the sema...

eae8b1d565dcaadeaf5fd134f821b257dff0cd20 authored almost 10 years ago
Do not free request in establish_connection; do it in gethttp

* src/http.c (establish_connection): Do not free request here (it is
* never allocated here).
* ...

045463b814049952fc75755e86a50afb8af02b2d authored almost 10 years ago
Transform read_header label and goto into a loop

* src/http.c (gethttp): Replace label and goto statement with a do
loop.

621c313b946bd87669288f1ae3199495540efd44 authored almost 10 years ago
Factor out set_content_type function from gethttp

* src/http.c (gethttp): Move some code in...
(set_content_type): ... a new function.

52a7d0ad85abf9c7d93fbe382c5a472b0053624e authored almost 10 years ago
Factor out some gethttp code

* src/http.c (gethttp): Move some code in...
(check_file_output): ... a new function.

8aa63e482e237a18dd7c228fe380c30bfd0f329e authored almost 10 years ago
Factor out some gethttp code

* src/http.c (gethttp): Move some code in...
(open_output_stream): ... a new function.

59e9ef00e62c6e5e8a08f8b1f6b0c2045fdc1fd5 authored almost 10 years ago
Factor out some auth gethttp code

* src/http.c (gethttp): Move some code in...
(check_auth): ... a new function.

14bbc18512d6451d01d337314cc2e6faa3fb511a authored almost 10 years ago
Factor out some connection initialization code for gethttp

* src/http.c (gethttp): Move some initialization code in...
(establish_connection): ... a new fu...

0bc2757713c6da1b21e5360d136a2e5134f34bc7 authored almost 10 years ago
Factor out some proxy initialization code for gethttp

* src/http.c (gethttp): Move some initialization code in...
(initialize_proxy_configuration): .....

f8abb9dd00cb18d5594ed16e85d4e847d7cc9e3b authored almost 10 years ago
Factor out some initialization code for gethttp

* src/http.c (gethttp): Move some initialization code in...
(initialize_request): ... a new func...

29850e77d0bd246f4bce206d6ac6207f9b9dc0f4 authored almost 10 years ago
src/ftp.c: make sure warc_tmp becomes closed before return

Reported-by: Coverity bug #1188044

799c5457223ec0b9bdeb5773317e0538d1b3b149 authored almost 10 years ago
src/http.c: fix error return of digest_authentication_encode()

Reported-by: Coverity bug #1188036

014b1d60419ae7d6b3c9079cc5fdd30c5ed406ed authored almost 10 years ago
Convert wget.texi to UTF-8

* doc/wget.texi: convert to UTF-8 by adding @documentencoding
* doc/Makefile.am: Pass argument -...

8d4bb928b921b7620f1b3d61f04ed848138c3d7c authored almost 10 years ago
* doc/wget.texi: The default is GnuTLS, not OpenSSL.

d0f406a13f4b32e7a7fb2980b148b6cd7b16d1da authored almost 10 years ago
testenv/http_server: Allow overriding Headers

We would like to override existing headers in the response from the
server to allow the test cas...

87b52e510c105c7b3e6568516428a00c909c551d authored almost 10 years ago
retr.c: Fix memory leak in retrieve_from_file()

Reported by: Coverity Bug 1188045

cc9f76c5a41049458cc707abfc5ff502f180848b authored almost 10 years ago
html-url.c: Fix potential memory leaks

Reported by: Coverity Bug 1188050

53b22974cbcecd3f252cc9a572fd04b889313709 authored almost 10 years ago
main.c: Fix two potential memory leaks

Reported by: Coverity bug 1188048

7d5a7ef9cafb915170ad3dd1cd480192bcd15127 authored almost 10 years ago
retr.c: Fix two memory leaks when proxy URL is bad

Reported by: Coverity bug 1188047

735cc220e36bbe1ec04f63ba62bfef3d37924730 authored almost 10 years ago
Docs: --post-file is binary data

Wget considers the file mentioned in the --post-file argument as a
binary file and does not stri...

524f26a200fec61a980c24917d6f2c82d224ce6b authored almost 10 years ago
maint: update copyright year ranges to include 2015

16f1fb1d1f8bc46157a14af189752bcd60b9b627 authored almost 10 years ago
NEWS: Prepare new development cycle

b74ac4c7e0410f24869358460c9a7f1ae6f54872 authored almost 10 years ago
Fix --content-on-error option handling.

* src/http.c: Log --content-on-error downloads.
* src/retr.c (retrieve_url): Register the downlo...

91e9a20752c72f5e19e9c27290a3cf74299038b3 authored almost 10 years ago
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...

4a214bc9a367c6da4df97be32eb2ab9527820d61 authored almost 10 years ago
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 Respo...

b7b6d7fd89b2a95e1263fb4542e466faca1803f7 authored almost 10 years ago
testenv: improve color output a bit.

* testenv/misc/colour_terminal.py: Only print color codes when stdout
isatty().

3a00b37bc2ec20ad12baadfe62e1a244fbe681c0 authored almost 10 years ago
testenv: typo and style fix.

* testenv/server/http/http_server.py(BaseTest): Add docstring; use raw
string for regex.
* teste...

adcc793a268ddd909b23a6582d29c2dc243d9116 authored almost 10 years ago
NEWS: tag 1.16.3

d94d9cd98b64da50386e04b148d843f5f4c32e4c authored almost 10 years ago
src/main.c (--no-verbose): don't show progress bar

Fixes #44431

882ed28d5998b8e6ffa10f24191271bad32a97df authored almost 10 years ago
main.c: Use assertion to test buffer size

e316d253fa55f4319cdb842a75f50f7ea099ea5c authored almost 10 years ago
main.c: Need to explicitly disallow show_progress in -q

9dde436dd689bd51eef71d64152dde9c8c0b5f65 authored almost 10 years ago
NEWS: add other items and tag 1.16.2

bf868e88402d9f54be67cbf5c7af6296b9aaad32 authored almost 10 years ago
gnulib: sync gnulib

5352eac8fadd383994d566cf1d72ac450a70a9f7 authored almost 10 years ago
NEWS: Update file

d419cd7c0ccf5e870f3ab0f4176264fcd3c3d97a authored almost 10 years ago
warc.c: native uuid generation on Windows

* warc.c (windows_uuid_str) [WINDOWS]: New function specific to
MS-Windows.
(warc_uuid_str) [WIN...

33c5d979ce47943d931bd75bdbb6fc019d4c6e1d authored almost 10 years ago
idn: use idn_free() to free allocated libidn memory

xfree() might crash on libidn memory on Windows.

From 'man idn_free':
"Under Windows, different...

9df2250f4c103bf5dead9366ae377ac891eda936 authored almost 10 years ago