curl-curl/.github/scripts
Viktor Szakats d01d2ec9f1
docs: add CURLOPT type change history, drop casts where present
Some CURLOPT constants defined in the curl public headers were initially
enums (= ints), or macros with bare numeric values. Recent curl releases
upgraded them to `long` constants, to make them pass correctly to
`curl_easy_setop()` by default, i.e. without requiring a `(long)` cast.

This patch drops such casts from the examples embedded in the docs. At
the same time it documents which curl release made them `long` types,
to keep them useful when working with previous libcurl versions.

Also:
- drop a `(long)` cast that was never necessary.
- CURLOPT_ALTSVC_CTRL.md: bump local copy of macros to long.
- test1119: make it ignore symbols ending with an underscore, to skip
  wildcard, e.g. `**CURLAUTH_***`.

Closes #18130
2025-08-02 00:05:33 +02:00
..
badwords.pl scripts: fix two Perl uninitialized value warnings 2025-07-28 01:51:55 +02:00
badwords.txt misc: we write *an* IPv6 address 2025-05-30 07:53:31 +02:00
cleancmd.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
cmp-config.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
cmp-pkg-config.sh GHA/configure-vs-cmake: check libcurl.pc/curl-config, fix issues 2024-09-21 12:08:35 +02:00
codespell-ignore.txt GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
codespell.sh GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
distfiles.sh build: drop tool_hugehelp.c.cvs, tidy up macros, drop buildconf.bat 2025-01-26 14:22:49 +01:00
randcurl.pl scripts: fix two Perl uninitialized value warnings 2025-07-28 01:51:55 +02:00
shellcheck-ci.sh CI: fix zizmor 1.9.0 warnings, shellcheck verify CI shell code, fix fallouts 2025-06-06 21:30:43 +02:00
shellcheck.sh CI: fix zizmor 1.9.0 warnings, shellcheck verify CI shell code, fix fallouts 2025-06-06 21:30:43 +02:00
spacecheck.pl spacecheck.pl: when detecting unicode, mention line number 2025-07-31 23:29:17 +02:00
spellcheck.curl GHA: spellcheck curl symbols better 2025-02-27 13:15:21 +01:00
spellcheck.words docs: add CURLOPT type change history, drop casts where present 2025-08-02 00:05:33 +02:00
spellcheck.yaml wcurl: import v2025.04.20 script + docs 2025-04-21 11:06:44 +02:00
trimmarkdownheader.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
typos.sh GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
typos.toml GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
verify-examples.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
verify-synopsis.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
yamlcheck.sh GHA: add yamlcheck 2024-08-23 18:42:55 +02:00
yamlcheck.yaml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00