curl/lib/curlx
Viktor Szakats 0260e8465a
GHA/checksrc: expand spellcheck, fix issues found
- codespell: break logic out into its own runnable script. Allowing
  to run it on local machines.
- codespell: install via `pip`, bump to latest version.
- codespell: show version number in CI log.
- codespell: drop no longer needed word exception: `msdos`.
- codespell: include all curl source tree, except `packages` and
  `winbuild`. Drop an obsolete file exclusion.
- add new spellchecker job using the `typos` tool. It includes
  the codespell dictionary and a couple more. Use linuxbrew to install
  it. This takes 10 seconds, while installing via `cargo` from source
  would take over a minute.
- codespell: introduce an inline ignore filter compatible with `cspell`
  Make `typos` recognize it, too. Move single exceptions inline.

Fix new typos found. Also rename variables and words to keep
spellchecking exceptions at minumum. This involves touching some tests.
Also switch base64 strings to `%b64[]` to avoid false positives.

Ref: https://github.com/crate-ci/typos/blob/master/docs/reference.md
Ref: https://github.com/codespell-project/codespell?tab=readme-ov-file#inline-ignore
Ref: https://github.com/codespell-project/codespell/issues/1212#issuecomment-1721152455
Ref: https://cspell.org/docs/Configuration/document-settings

Closes #17905
2025-07-21 16:09:01 +02:00
..
.checksrc checksrc: reduce exceptions, apply again to curlx 2025-06-27 17:33:35 +02:00
base64.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
base64.h mime: reuse the base64 string from the base64 code 2025-05-10 23:01:14 +02:00
binmode.h lib: make CURLX_SET_BINMODE() and use it 2025-06-19 15:57:37 +02:00
curlx.h lib: make CURLX_SET_BINMODE() and use it 2025-06-19 15:57:37 +02:00
dynbuf.c GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
dynbuf.h
inet_ntop.c GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
inet_ntop.h build: drop HAVE_SYS_SOCKET_H and HAVE_SYS_TIME_H macros 2025-06-15 18:44:39 +02:00
inet_pton.c curlx: move curlx_inet_pton 2025-05-09 13:45:24 +02:00
inet_pton.h build: drop HAVE_SYS_SOCKET_H and HAVE_SYS_TIME_H macros 2025-06-15 18:44:39 +02:00
multibyte.c lib: move multibyte.[ch] to curlx/ 2025-05-08 10:19:19 +02:00
multibyte.h curlx: simplify the curlx_unicodefree macro 2025-05-08 11:57:58 +02:00
nonblock.c curlx: move nonblock.[ch] into curlx/ 2025-05-08 13:22:02 +02:00
nonblock.h curlx: move nonblock.[ch] into curlx/ 2025-05-08 13:22:02 +02:00
strparse.c tidy-up: whitespace 2025-07-11 13:32:54 +02:00
strparse.h tidy-up: whitespace 2025-07-11 13:32:54 +02:00
timediff.c
timediff.h
timeval.c GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
timeval.h
version_win32.c curlx: move version_win32.[ch] to curlx/ 2025-05-08 17:09:32 +02:00
version_win32.h curlx: move version_win32.[ch] to curlx/ 2025-05-08 17:09:32 +02:00
wait.c lib: make curlx_wait_ms() and use it 2025-06-19 15:57:37 +02:00
wait.h lib: make curlx_wait_ms() and use it 2025-06-19 15:57:37 +02:00
warnless.c warnless: drop parts of the read/write preprocessor hack (Windows) 2025-06-19 17:09:43 +02:00
warnless.h warnless: drop parts of the read/write preprocessor hack (Windows) 2025-06-19 17:09:43 +02:00
winapi.c windows: fix to preserve error code in curlx_winapi_strerror() 2025-05-09 15:56:07 +02:00
winapi.h curlx: add curlx_winapi_ functions 2025-05-09 10:45:36 +02:00