Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from curl:master #279

Open
wants to merge 298 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
298 commits
Select commit Hold shift + click to select a range
d3725f2
GHA/linux: fix mbedTLS cmake build
vszakats Oct 10, 2024
5b2d644
GHA/mac: simplify detecting SDK version bound to GCC
vszakats Oct 10, 2024
36bd807
GHA/linux, http3-linux: add CMake support, sync steps, other improvem…
vszakats Oct 10, 2024
436bbbe
GHA/linux: skip installing rust if rustls is in cache
vszakats Oct 10, 2024
ae53516
cmake: tidy up detection C code
vszakats Oct 8, 2024
7bab201
cmake: add native `pkg-config` detection for mbedTLS, MSH3, Quiche, R…
vszakats Oct 8, 2024
ae5e538
GHA: drop `--parallel` option for CMake + Ninja jobs
vszakats Oct 10, 2024
91519bf
cmake: use `cmake_push_check_state()` around feature checks
vszakats Oct 4, 2024
447bcea
cmake: stop adding dependency headers to global `CMAKE_REQUIRED_INCLU…
vszakats Oct 5, 2024
6074e33
cmake: add comments to feature check options applied globally
vszakats Oct 5, 2024
2c90f7f
cmake: allow manual configuration for LDAP
vszakats Oct 5, 2024
91d451b
cmake: replace `check_include_file_concat()` for LDAP and GSS detection
vszakats Oct 5, 2024
be39ed1
cookie: overhaul and cleanup
bagder Oct 10, 2024
d0377f5
multi: convert Curl_follow to static multi_follow
bagder Oct 11, 2024
962097b
TLS: TLSv1.3 earlydata support for curl
icing Oct 9, 2024
3b43a05
netrc: cache the netrc file in memory
bagder Oct 10, 2024
0095f98
libssh2: split the statemachine function into smaller sub functions
bagder Oct 10, 2024
617feb7
RELEASE-NOTES: synced
bagder Oct 11, 2024
7bff686
ci: dump `curl_config.h` to log in all jobs
vszakats Oct 11, 2024
8e34505
cmake: untangle feature detection interdependencies
vszakats Oct 5, 2024
dfd36d3
cmake: apply `WIN32_LEAN_AND_MEAN` to all feature checks
vszakats Oct 10, 2024
954177b
tool_xattr: create the user.creator xattr attribute
dfandrich Oct 9, 2024
fe8399f
gnutls: use session cache for QUIC
icing Oct 11, 2024
7d53a59
CI: bump github/codeql-action, vmactions/omnios-vm and actions/cache
dependabot[bot] Oct 7, 2024
ba68eb0
CI: update rojopolis/spellcheck, actions/checkout, actions/upload-art…
renovate[bot] Oct 8, 2024
79809ff
GHA/linux: mbedTLS 3.6.1
vszakats Oct 12, 2024
a3601cf
tests: allow pytests to run in out-of-tree builds
dfandrich Oct 10, 2024
01a8157
cmake: tidy-ups and rebase fixups
vszakats Oct 11, 2024
66cc015
GHA/windows: drop vcpkg workaround
talregev Oct 5, 2024
75dfb7b
pytest: include `buildinfo.txt` in the output
vszakats Oct 12, 2024
e8a007d
GHA: optimize test prereq steps
vszakats Oct 12, 2024
960521d
smb: do not redefine `getpid` on Windows
vszakats Oct 11, 2024
aa43b42
curl-rustls.m4: set linker flags to allow rustls build on macos
icing Oct 7, 2024
513904c
wolfSSL: fix handling of TLSv1.3 sessions
icing Oct 10, 2024
3455d36
mbedTLS: fix handling of TLSv1.3 sessions
icing Oct 10, 2024
a7ccd02
ftp: move listen handling to socket filter
icing Sep 5, 2024
eb77297
lib: move curl_path.[ch] into vssh/
bagder Oct 13, 2024
9bee39b
url: use same credentials on redirect
bagder Oct 12, 2024
69bf530
tool_operate: make --skip-existing work for --parallel
bagder Oct 13, 2024
8ea120f
GHA/linux: fixup pip for Ubuntu 24.04
vszakats Oct 14, 2024
e33cf00
server/mqttd: fix two memory leaks
bagder Oct 14, 2024
e20b139
GHA/linux: add cmake job for system mbedTLS with pkg-config
vszakats Oct 14, 2024
335d325
conncache: More efficient implementation of cpool_remove_bundle
mkauf Oct 14, 2024
ad1c49b
lib: remove function pointer typecasts for hmac/sha256/md5
bagder Oct 14, 2024
eed3c8f
curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs
bagder Oct 14, 2024
8403e5a
tests: fix callback signatures to please UndefinedBehaviorSanitizer
bagder Oct 14, 2024
3040971
GHA: silence proselint warnings and an error
vszakats Oct 14, 2024
1cf187a
CI: update GHA dependencies
renovate[bot] Oct 15, 2024
083b4ab
libssh2: put the readdir buffers into struct
bagder Oct 13, 2024
facf59c
libssh2: use the filename buffer when getting the homedir
bagder Oct 15, 2024
7fbcf4b
vquic: fix compiler warning with gcc + MUSL
vszakats Oct 16, 2024
adf2b4f
libssh: use CURL_PATH_MAX instead of PATH_MAX
bagder Oct 16, 2024
6478a36
src: guard for double declaration of `curl_ca_embed` in unity builds
vszakats Oct 16, 2024
41c980b
tests: capture stdin to get the vsftpd version number
dfandrich Oct 12, 2024
a2f913e
CI: explicitly specify the OS version when necessary
dfandrich Oct 16, 2024
1e01e2b
GHA/macos: merge autotools and cmake jobs
vszakats Oct 15, 2024
fde5326
winbuild/README: document how to clean a build
jay Oct 14, 2024
beeeb85
tests: update some HTTP/2 over HTTPS tests
bagder Oct 17, 2024
c97cd82
tests/http: fix ubuntu GnuTLS CI failures
icing Oct 16, 2024
193f1b4
DISABLED: disable test 1060 with hyper
bagder Oct 17, 2024
d132383
DISTROS: avoid use of "very"
bagder Oct 17, 2024
9cc2464
source: avoid use of 'very' in comments
bagder Oct 17, 2024
38bfe1c
GHA: switch off proselint
bagder Oct 17, 2024
8cdbaba
tool_operate: break out of loop on error
bagder Oct 17, 2024
b42eb27
openssl: improve retries on shutdown
icing Oct 17, 2024
b9877b7
GHA: drop the hyper job
bagder Oct 17, 2024
2ae8d9b
libtests: generate the lib1521 atomically
bagder Oct 17, 2024
fe2a720
http2: auto reset stream on server eos
icing Oct 17, 2024
29faa79
libcurl/opts: improve phrasing for connection cap related options
bagder Oct 16, 2024
1b155f0
tool_operate: reuse the schannel backend check
bagder Oct 17, 2024
fbc0da3
cmake: set version for `project()` and add CPack support
zjyhjqs Oct 13, 2024
288cfcb
RELEASE-NOTES: synced
bagder Oct 18, 2024
5ea61a0
hsts: support "implied LWS" properly around max-age
bagder Oct 18, 2024
b4e1625
KNOWN_BUGS: LDFLAGS passed too late
bagder Oct 16, 2024
4de627a
winbuild: add initial wolfSSL support
vszakats Oct 11, 2024
2c1d83e
Dockerfile: update Docker digest to d830561
renovate[bot] Oct 17, 2024
e29629a
GHA: update ngtcp2/ngtcp2 and awslabs/aws-lc
renovate[bot] Oct 17, 2024
6847733
docs: fix a typo in some cipher options
dfandrich Oct 18, 2024
547d600
curl_multi_perform.md: fix typo
jay Oct 19, 2024
2816cba
GHA/linux: bump to quictls 3.3.0
vszakats Oct 18, 2024
d6bae1c
curl_ws_recv: return recv 0 and point meta to NULL on all errors
bagder Oct 20, 2024
51724c4
curl_ws_recv.md: the 'meta' pointer is only returned on success
bagder Oct 20, 2024
a58584a
checksrc: add check for spaces around logical AND operators
gblmrn Oct 3, 2024
7dd7cba
version: say quictls in MSH3 builds
vszakats Oct 18, 2024
e89491e
cmake: fix compile warnings for clang-cl
zjyhjqs Oct 16, 2024
0978afd
GHA/linux: tidy up and performance
vszakats Oct 21, 2024
1e03059
GHA/windows: ignore results for test 987
vszakats Oct 22, 2024
c2e2636
GHA/windows: add http3 to libressl vcpkg job
talregev Oct 19, 2024
943df95
CI: run with standard mod_http2
icing Oct 22, 2024
dcb27fd
GHA: fix the msh3 renovate thing
bagder Oct 22, 2024
c33174d
GHA/windows: increase timeout for vcpkg jobs due to slowness
vszakats Oct 22, 2024
9126eb5
cmake: replace `CURL_*_DIR` with `{PROJECT,CMAKE_CURRENT}_*_DIR`
vszakats Oct 21, 2024
825a800
cmake: use the `BSD` variable
vszakats Oct 22, 2024
096bfde
cmake/FindCares: fix version detection for c-ares 1.34.1
vszakats Oct 22, 2024
52851d3
GHA/macos: use `test-torture` target for torture tests
vszakats Oct 22, 2024
b6219cd
GHA/linux: merge torture jobs into the main workflow
vszakats Oct 22, 2024
acd134c
tests: Fix FILEFORMAT <file name=""> directive
yedayak Oct 22, 2024
605bc2d
GHA/linux: merge 32-bit Linux workflow
vszakats Oct 22, 2024
0e18bd3
mk-lib1521: fix the long return code check
bagder Oct 22, 2024
b327a53
GHA: use `--no-install-suggests --no-install-recommends` where missing
vszakats Oct 22, 2024
e43d37c
ci: fix renovate's matching for OpenSSL and quictls
cmeister2 Oct 22, 2024
53fdc5f
runtests: use deterministic sort for `TESTINFO` lines
vszakats Sep 17, 2024
e109972
CI: update dependency openssl/openssl to v3.4.0
renovate[bot] Oct 23, 2024
73d2779
GHA/linux: drop patch from openssl3 thread sanitizer
vszakats Oct 23, 2024
5f9411f
GHA/windows: work around Git for Windows perf regression
vszakats Oct 23, 2024
b8de0da
cmake: tidy up line order [ci skip]
vszakats Oct 23, 2024
6b44070
GHA: drop "3" from openssl names and keys
vszakats Oct 23, 2024
7c023c3
libssh2: delete duplicate `break`
vszakats Oct 23, 2024
b3816f6
cmake: avoid setting `BUILD_TESTING`
vszakats Oct 22, 2024
30da1f5
setopt: split Curl_vsetopt() into several sub functions
bagder Oct 22, 2024
59831f8
tool_operate: split up the huge single_transfer into sub functions
bagder Oct 23, 2024
38c57bd
GHA: update five dependencies
renovate[bot] Oct 19, 2024
f901ab8
schannel: ignore error on recv beyond close notify
icing Oct 23, 2024
7ca164f
mprintf: do not ignore length modifiers of `%o`, `%x`, `%X`
ArtSin Oct 21, 2024
0325e1b
mprintf: treat `%o` as unsigned, add tests for `%o`, `%x`, `%X`
ArtSin Oct 22, 2024
ac7ae08
schannel: reclassify extra-verbose schannel_recv messages
jay Sep 8, 2024
9255e7a
version: minor cleanups
bagder Oct 24, 2024
1056889
url.md: clarify
bagder Oct 24, 2024
3722ed0
RELEASE-NOTES: synced
bagder Oct 24, 2024
30f66c8
mbedtls: handle session as blobs
icing Oct 24, 2024
358eae4
bearssl: improved session handling, test exceptions
icing Oct 24, 2024
b34b757
ngtcp2: set max window size to 10x of initial (128KB)
kazuho Oct 24, 2024
8cb2d5f
quic: use the session cache with wolfSSL as well
icing Oct 22, 2024
469f536
curl: detect ECH support dynamically, not at build time
bagder Oct 24, 2024
02ac554
docs/libcurl/opts/Makefile.inc: alphasort the options list
bagder Oct 24, 2024
ec68fb5
cmake: drop obsolete items from `TODO` and `INSTALL-CMAKE`
vszakats Oct 24, 2024
7e94680
cmake: tidy up `CURL_DISABLE_FORM_API` initialization
vszakats Oct 23, 2024
c9b54fa
cmake: use `list(APPEND)` on `CURL_INCLUDES`
vszakats Oct 23, 2024
f48609d
cmake: limit `CURL_STATIC_CRT` to MSVC
vszakats Oct 24, 2024
fff6afb
cmake: rename local variables to underscore-lowercase
vszakats Oct 23, 2024
1da1fcc
cmake: tidy up picky warning initialization
vszakats Oct 24, 2024
45862f2
cmake: tidy up and shorten symbol hiding initialization
vszakats Oct 24, 2024
ffc4e6a
cmake: mark as advanced some internal Find* variables
vszakats Oct 24, 2024
f66af62
cmake: document `-D` and env build options
vszakats Oct 24, 2024
b8c1263
INSTALL-CMAKE: fix punctuation and a typo [ci skip]
vszakats Oct 24, 2024
aafc074
cmake: clear package version after `pkg-config` detection
vszakats Oct 25, 2024
0910a41
cmake: fix missing spacing in log message
vszakats Oct 25, 2024
1160380
docs: clarify FTP over HTTP proxy functionality somewhat
bagder Oct 26, 2024
522c89a
lib: remove Curl_ prefix from static functions
bagder Oct 26, 2024
e773264
multi: split multi_runsingle into sub functions
bagder Oct 26, 2024
0da1489
build: disable warning `-Wunreachable-code-break`
vszakats Oct 25, 2024
1db9af2
cmake: tweaks around debug mode and hidden symbols
vszakats Oct 25, 2024
398025a
appveyor: fix job names, tidy-up
vszakats Oct 25, 2024
80aa1fe
tool_getparam: drop unused time() call
bagder Oct 27, 2024
770702f
CI: bump wolfSSH and wolfSSL
bagder Oct 28, 2024
0e0c8cd
tests/scorecard: allow remote server test
icing Oct 25, 2024
701813b
tests/http: add --insecure tests
icing Oct 28, 2024
974f6bc
RELEASE-NOTES: synced
bagder Oct 28, 2024
cb011ac
tls: avoid abusing CURLE_SSL_ENGINE_INITFAILED
bagder Oct 28, 2024
080973d
lib: msnprintf tidy-ups
bagder Oct 28, 2024
cd2b452
src/lib: remove redundant ternary operators
bagder Oct 28, 2024
ef7399b
runtests: pass single backslashes with Windows Perl
vszakats Oct 4, 2024
1a2d38c
GHA/windows: avoid curl.exe libtool wrapper
vszakats Oct 29, 2024
cbc39a8
setopt_cptr: make overflow check only done when needed
bagder Oct 29, 2024
74c7b67
runtests: add comment for handle64 pathsep requirement [ci skip]
vszakats Oct 29, 2024
b7a06de
setopt: return error for bad input to CURLOPT_RTSP_REQUEST
bagder Oct 29, 2024
a273cc2
multi: fix "Useless Assignment"
bagder Oct 29, 2024
84f96e3
tool_operate: url_proto improvements
bagder Oct 29, 2024
a70f5bc
curl/config2setopts: move SSH related options into same block
bagder Oct 29, 2024
0d475da
pytest: fix run against multissl curl
icing Oct 29, 2024
b57e9c8
OS400: don't delete source files when building with debug
jonrumsey Oct 28, 2024
85ee614
ci: update rojopolis/spellcheck-github-actions digest to 74c2a14
renovate[bot] Oct 25, 2024
22e7b15
winbuild/README: consolidate command prompt section
jay Oct 16, 2024
e4aa07b
mqtt: fix mqtt.md wording and add clearer explanation
Marwan141 Oct 29, 2024
bc62120
pytest: show curl features and protocols
vszakats Oct 29, 2024
98561a3
RELEASE-NOTES: synced
bagder Oct 30, 2024
c0d2b9b
MQTT: remove trailing newline
bagder Oct 30, 2024
0cecece
config: rename the OS define to CURL_OS to reduce collision risk
bagder Oct 30, 2024
9acecc9
tidy-up: whitespace, fix CI spacecheck for docs
vszakats Oct 25, 2024
fb711b5
build: fix clang-cl builds, add CI job
vszakats Oct 29, 2024
9640a8e
schannel: fix TLS cert verification by IP SAN
edmcln Oct 27, 2024
329a8e9
unit1307: tidy up Apple OS detection
vszakats Oct 30, 2024
2f22fc1
GHA/linux-old: adjust configure job name
vszakats Oct 31, 2024
922235e
ngtcp2: do not loop on recv
icing Oct 31, 2024
9b863ac
vquic: recv_mmsg, use fewer, but larger buffers
icing Oct 30, 2024
d88db0b
tests: use a set for several of the curl_props
dfandrich Oct 30, 2024
97d69ec
winbuild: drop `gen_resp_file.bat`
vszakats Oct 31, 2024
9d32724
certs: add missing `-CAcreateserial` option for LibreSSL
vszakats Nov 1, 2024
2502541
pytest: include curl version string and python platform in log
vszakats Nov 1, 2024
78c3172
curl_addrinfo: support operating systems with only getaddrinfo(3)
sortie Nov 1, 2024
6b2bc81
openssl: extend the OpenSSL error messages
bagder Nov 1, 2024
46bd595
ci: update dependency wolfSSL/wolfssh to v1.4.19
renovate[bot] Nov 2, 2024
4133007
wolfssl: no more use of the OpenSSL API
bagder Nov 4, 2024
f81abcb
RELEASE-NOTES: synced
bagder Nov 4, 2024
3a35901
wolfssl: coexist with openssl, further work
icing Nov 4, 2024
e1ed6b8
mbedtls: remove failf() use from mbedtls_random
bagder Nov 5, 2024
1b4897f
RELEASE-NOTES: update cmake LDAP-related entry [ci skip]
vszakats Nov 5, 2024
087f77d
GHA/macos: drop WebSockets from job names
vszakats Nov 6, 2024
380790b
GHA/non-native: fix installing OpenLDAP on OpenBSD
vszakats Nov 6, 2024
6202054
THANKS: contributors from the 8.11.0 release
bagder Nov 6, 2024
b1ef0e1
RELEASE-NOTES: synced
bagder Nov 6, 2024
9919149
cookie: treat cookie name case sensitively
bagder Nov 6, 2024
f5c6169
duphandle: also init netrc
bagder Nov 7, 2024
bcf8a84
mbedtls: call psa_crypt_init() in global init
icing Nov 7, 2024
cadfe0d
RELEASE-NOTES: synced
bagder Nov 7, 2024
878bc42
setopt: fix CURLOPT_HTTP_CONTENT_DECODING
jmalopoy Nov 7, 2024
0cdde0f
netrc: support large file, longer lines, longer tokens
bagder Nov 7, 2024
f4ee7ba
cmdline/ech.md: formatting cleanups
bagder Nov 7, 2024
1f6767e
vtls: fix compile warning when ALPN is not available
greearb Nov 7, 2024
a3b4ffd
TODO: consider OCSP stapling by default
bagder Nov 8, 2024
cb092c0
GHA: add `apt update` where missing
vszakats Nov 8, 2024
4d8ab1f
GHA/macos: let gcc dictate the configured Apple SDK
vszakats Nov 8, 2024
96edb5f
cmake: drop cmake args list from `buildinfo.txt`
vszakats Nov 6, 2024
995db17
RELEASE-PROCEDURE.md: adjust release dates
bagder Nov 8, 2024
354f3f9
macos: disable gcc `availability` workaround as needed
vszakats Nov 7, 2024
cbafcec
curl: --test-duphandle in debug builds runs "duphandled"
bagder Nov 7, 2024
1cd745a
ECH: enable support for the AWS-LC backend
vszakats Nov 6, 2024
9089ef1
nghttp2: use custom memory functions
eeverettrbx Nov 8, 2024
b0e53cb
RELEASE-NOTES: synced
bagder Nov 8, 2024
f6dd3a6
ci: Update vmactions/omnios-vm digest to 16b5996
renovate[bot] Nov 8, 2024
9416e49
GHA/non-native: enable nghttp2 in OmniOS job
vszakats Nov 8, 2024
93c65c0
libssh: when using IPv6 numerical address, add brackets
bagder Nov 8, 2024
b723f6a
GHA: update four dependencies
renovate[bot] Nov 5, 2024
8b76a8a
build: use `_fseeki64()` on Windows, drop detections
vszakats Nov 8, 2024
774844a
curl-rustls.m4: keep existing `CPPFLAGS`/`LDFLAGS` when detected
vszakats Nov 11, 2024
448df98
mk-ca-bundle: remove CKA_NSS_SERVER_DISTRUST_AFTER conditions
bagder Nov 12, 2024
acc73ed
GHA/non-native: streamline installed packages on FreeBSD
diizzyy Nov 10, 2024
e3aa2a0
tests: use the standard format of an IGNORED line
dfandrich Nov 13, 2024
93e6e4b
cmake: work around `ios.toolchain.cmake` breaking feature-detections
vszakats Nov 12, 2024
2ccd1c5
cmakelint: fix to check root `CMakeLists.txt`
vszakats Nov 13, 2024
3c6bf10
GHA/macos: follow Homebrew and switch to `pkgconf`
vszakats Nov 13, 2024
1a3408d
cmake: typo in comment [ci skip]
vszakats Nov 13, 2024
0b3b61c
os400: Fix IBMi EBCDIC conversion of arguments
andrewkirillov-ibm Nov 13, 2024
04b9054
os400: Fix IBMi builds
andrewkirillov-ibm Nov 13, 2024
2638570
GHA/linux: fix `pip3 install impacket` breakage
vszakats Nov 13, 2024
e244d50
configure: do not echo most inherited `LDFLAGS` to config files
vszakats Nov 11, 2024
9212483
socketpair: fix enabling `USE_EVENTFD`
vszakats Nov 12, 2024
22c4584
strtok: use namespaced `strtok_r` macro instead of redefining it
vszakats Nov 12, 2024
e0e93d4
cmake: sync GSS config code with other deps
vszakats Nov 11, 2024
d511ec8
build: omit certain deps from `libcurl.pc` unless found via `pkg-config`
vszakats Nov 13, 2024
c66964f
configure: add FIXMEs for disabled pkg-config references
vszakats Nov 14, 2024
9eb5c7c
cmake: restore cmake args list in `buildinfo.txt`
vszakats Nov 13, 2024
cb7558a
configure: replace `$#` shell syntax
vszakats Nov 14, 2024
8115e79
tidy-up: indentation [ci skip]
vszakats Nov 15, 2024
a06c0a5
Rename struct var to fix AIX build
andrewkirillov-ibm Nov 14, 2024
c14a9c8
CURLOPT_PREREQFUNCTION.md: add result code on failure
Nov 8, 2024
c41e9cc
krb5: fix socket/sockindex confusion, MSVC compiler warnings
vszakats Nov 15, 2024
24085b5
GHA/windows: enable GSS-API in an MSVC job
talregev Nov 14, 2024
a826886
CI: update dependencies
renovate[bot] Nov 12, 2024
bc34ebc
curl.h: mark two error codes as obsolete
bagder Nov 10, 2024
6081703
GHA/linux: enable ECH in wolfSSL jobs
vszakats Nov 17, 2024
e9b9bba
netrc: address several netrc parser flaws
bagder Nov 15, 2024
2dc54e3
socket: handle binding to "host!<ip>"
bagder Nov 16, 2024
4b07b7e
netrc: fix pointer to bool conversion
vszakats Nov 17, 2024
c56dee6
multi: add clarifying comment for wakeup_write()
bagder Nov 17, 2024
9a90678
RELEASE-NOTES: synced
bagder Nov 17, 2024
7fbd066
GHA/macos: enable ECH in wolfSSL jobs
vszakats Nov 17, 2024
ca6d3d2
show-headers.md: clarify the headers are saved with the data
bagder Nov 17, 2024
dada880
docs: document default `User-Agent`
br3ndonland Nov 17, 2024
cb2ae6e
curl_multi_socket_all.md: soften the deprecation warning
jay Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ commands:
- run:
command: |
# renovate: datasource=github-tags depName=wolfSSL/wolfssl versioning=semver extractVersion=^v?(?<version>.+)-stable$ registryUrl=https://github.com
WOLFSSL_VER=5.6.0
WOLFSSL_VER=5.7.4
echo "Installing wolfSSL $WOLFSSL_VER"
curl -LOsSf --retry 6 --retry-connrefused --max-time 999 https://github.com/wolfSSL/wolfssl/archive/v$WOLFSSL_VER-stable.tar.gz
tar -xzf v$WOLFSSL_VER-stable.tar.gz
Expand All @@ -66,7 +66,7 @@ commands:
- run:
command: |
# renovate: datasource=github-tags depName=wolfSSL/wolfssh versioning=semver extractVersion=^v?(?<version>.+)-stable$ registryUrl=https://github.com
WOLFSSH_VER=1.4.12
WOLFSSH_VER=1.4.19
echo "Installing wolfSSH $WOLFSSH_VER"
curl -LOsSf --retry 6 --retry-connrefused --max-time 999 https://github.com/wolfSSL/wolfssh/archive/v$WOLFSSH_VER-stable.tar.gz
tar -xzf v$WOLFSSH_VER-stable.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ Send your suggestions using one of these methods:

3. as an [issue](https://github.com/curl/curl/issues)

/ The curl team!
/ The curl team
1 change: 1 addition & 0 deletions .github/scripts/badwords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ couldn't:could not
64 bit\b=64-bit
64-bits:64 bits or 64-bit
32-bits:32 bits or 32-bit
\bvery\b:rephrase using an alternative word
5 changes: 3 additions & 2 deletions .github/scripts/cmp-config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
'#define HAVE_DECL_GETPWUID_R_MISSING 1' => 1,
'#define HAVE_DLFCN_H 1' => 1,
'#define HAVE_GETHOSTBYNAME 1' => 1,
'#define HAVE_GSSAPI_GSSAPI_KRB5_H 1' => 1,
'#define HAVE_INTTYPES_H 1' => 1,
'#define HAVE_IOCTL 1' => 1,
'#define HAVE_LDAP_H 1' => 1,
Expand Down Expand Up @@ -75,8 +76,8 @@
'#define HAVE_ZSTD_H 1' => 1,
'#define LT_OBJDIR ".libs/"' => 1,
'#define NEED_LBER_H 1' => 1,
'#define OS "Linux"' => 1,
'#define OS "x86_64-pc-linux-gnu"' => 1,
'#define CURL_OS "Linux"' => 1,
'#define CURL_OS "x86_64-pc-linux-gnu"' => 1,
'#define PACKAGE "curl"' => 1,
'#define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.se/mail/"' => 1,
'#define PACKAGE_NAME "curl"' => 1,
Expand Down
5 changes: 3 additions & 2 deletions .github/scripts/spellcheck.words
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ ifdefs
ifhost
IIS
ILE
Illumos
illumos
IMAP
imap
IMAPS
Expand Down Expand Up @@ -688,7 +688,6 @@ RETR
retransmit
retrigger
RHEL
RICS
Rikard
rmdir
ROADMAP
Expand All @@ -702,6 +701,7 @@ RRtype
RSA
RTMP
rtmp
rtmpdump
RTMPE
RTMPS
RTMPT
Expand Down Expand Up @@ -768,6 +768,7 @@ SOCKOPT
SOCKSv
Solaris
SONAME
SOVERSION
Soref
SPARC
SPDX
Expand Down
118 changes: 66 additions & 52 deletions .github/workflows/checkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,59 +33,63 @@ concurrency:
permissions: {}

jobs:
proselint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
name: checkout

- name: install prereqs
run: |
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get install python3-proselint

# config file help: https://github.com/amperser/proselint/
- name: create proselint config
run: |
cat <<JSON > $HOME/.proselintrc
{
"checks": {
"typography.diacritical_marks": false,
"typography.symbols": false,
"annotations.misc": false,
"security.password": false
}
}
JSON

- name: trim headers off all *.md files
run: git ls-files -z '*.md' | xargs -0 -n1 .github/scripts/trimmarkdownheader.pl

- name: check prose
run: git ls-files -z '*.md' | grep -Evz 'CHECKSRC.md|DISTROS.md|CURLOPT_INTERFACE.md|interface.md' | xargs -0 proselint README

# This is for CHECKSRC and files with aggressive exclamation mark needs
- name: create second proselint config
run: |
cat <<JSON > $HOME/.proselintrc
{
"checks": {
"typography.diacritical_marks": false,
"typography.symbols": false,
"typography.exclamation": false,
"annotations.misc": false
}
}
JSON

- name: check special prose
run: proselint docs/CHECKSRC.md docs/libcurl/opts/CURLOPT_INTERFACE.md docs/cmdline-opts/interface.md
# proselint:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
# name: checkout
#
# - name: install prereqs
# run: |
# sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
# sudo apt-get update -y
# sudo apt-get install -y --no-install-suggests --no-install-recommends \
# python3-proselint
#
# # config file help: https://github.com/amperser/proselint/
# - name: create proselint config
# run: |
# cat <<JSON > $HOME/.proselintrc.json
# {
# "checks": {
# "typography.diacritical_marks": false,
# "typography.symbols": false,
# "annotations.misc": false,
# "security.password": false,
# "misc.annotations": false
# }
# }
# JSON
#
# - name: trim headers off all *.md files
# run: git ls-files -z '*.md' | xargs -0 -n1 .github/scripts/trimmarkdownheader.pl
#
# - name: check prose
# run: git ls-files -z '*.md' | grep -Evz 'CHECKSRC.md|DISTROS.md|curl_mprintf.md|CURLOPT_INTERFACE.md|interface.md' | xargs -0 proselint README
#
# # This is for CHECKSRC and files with aggressive exclamation mark needs
# - name: create second proselint config
# run: |
# cat <<JSON > $HOME/.proselintrc.json
# {
# "checks": {
# "typography.diacritical_marks": false,
# "typography.symbols": false,
# "typography.exclamation": false,
# "lexical_illusions.misc": false,
# "annotations.misc": false
# }
# }
# JSON
#
# - name: check special prose
# run: proselint docs/internals/CHECKSRC.md docs/libcurl/curl_mprintf.md docs/libcurl/opts/CURLOPT_INTERFACE.md docs/cmdline-opts/interface.md

# Docs: https://github.com/marketplace/actions/markdown-link-check
linkcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
name: checkout

- name: trim the cmdline docs markdown files
Expand All @@ -98,7 +102,7 @@ jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
name: checkout

- name: trim all man page *.md files
Expand All @@ -117,14 +121,14 @@ jobs:
run: grep -v '^#' .github/scripts/spellcheck.words > wordlist.txt

- name: Check Spelling
uses: rojopolis/spellcheck-github-actions@b83ca7c1b5c285e4f2b43e209a455c74872ec341 # v0
uses: rojopolis/spellcheck-github-actions@403efe0642148e94ecb3515e89c767b85a32371a # v0
with:
config_path: .github/scripts/spellcheck.yaml

badwords-synopsis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
name: checkout

- name: badwords
Expand All @@ -136,11 +140,21 @@ jobs:
man-examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
name: checkout

- name: render nroff versions
run: autoreconf -fi && ./configure --without-ssl --without-libpsl && make -C docs

- name: verify examples
run: .github/scripts/verify-examples.pl docs/libcurl/curl*.3 docs/libcurl/opts/*.3

miscchecks:
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
name: checkout

- name: spacecheck
run: .github/scripts/spacecheck.pl
34 changes: 24 additions & 10 deletions .github/workflows/checksrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,30 @@ jobs:
checksrc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
name: checkout

- name: check
run: git ls-files -z "*.[ch]" | xargs -0 -n1 ./scripts/checksrc.pl

codespell-cmakelint:
runs-on: ubuntu-latest
codespell-cmakelint-pytype-ruff:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
name: checkout

- name: install
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get install codespell python3-pip
python3 -m pip install cmakelint==1.4.3
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update -y
sudo apt-get install -y --no-install-suggests --no-install-recommends \
codespell python3-pip python3-networkx python3-pydot python3-yaml \
python3-toml python3-markupsafe python3-jinja2 python3-tabulate \
python3-typing-extensions python3-libcst python3-impacket \
python3-websockets python3-pytest
python3 -m pip install --break-system-packages cmakelint==1.4.3 pytype==2024.9.13 ruff==0.6.8

- name: spellcheck
run: |
Expand All @@ -63,20 +71,26 @@ jobs:
- name: cmakelint
run: scripts/cmakelint.sh

- name: pytype
run: find . -name '*.py' -exec pytype -j auto -k {} +

- name: ruff
run: ruff check --extend-select=B007,B016,C405,C416,COM818,D200,D213,D204,D401,D415,FURB129,N818,PERF401,PERF403,PIE790,PIE808,PLW0127,Q004,RUF010,SIM101,SIM117,SIM118,TRY400,TRY401

reuse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
name: checkout

- name: REUSE Compliance Check
uses: fsfe/reuse-action@3ae3c6bdf1257ab19397fab11fd3312144692083 # v4
uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5

miscchecks:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
name: checkout

- name: shellcheck
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@ jobs:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3
uses: github/codeql-action/init@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3
with:
languages: cpp
queries: security-extended

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3
uses: github/codeql-action/autobuild@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -73,4 +73,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3
uses: github/codeql-action/analyze@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3
6 changes: 3 additions & 3 deletions .github/workflows/configure-vs-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
check-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: run configure --with-openssl
run: |
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
run: |
echo '::group::brew packages installed'; ls -l "$(brew --prefix)/opt"; echo '::endgroup::'

- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: run configure --with-openssl
run: |
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
- name: install packages
run: sudo apt-get --quiet 2 --option Dpkg::Use-Pty=0 install mingw-w64

- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: run configure --with-schannel
run: |
Expand Down
Loading