summaryrefslogtreecommitdiff
path: root/lib/optiontable.pl
Commit message (Collapse)AuthorAgeFilesLines
* easyoptions: Fix header printing in generation scriptDaniel Gustafsson2023-01-121-2/+2
| | | | | | | | The optiontable.pl script prints the header comment when generating easyoptions.c, but it wasn't escaping all characters which jumbled the curl ascii logo. Fix by escaping. Cloes #10275
* scripts: set file mode +x on all perl and shell scriptsJay Satiro2023-01-051-0/+0
| | | | | | | | | | | | | - Set all scripts +x, ie 644 => 755. Prior to this change some scripts were not executable and therefore could not be called directly. ~~~ git ls-files -s \*.{sh,pl,py} | grep -v 100755 ~~~ Closes https://github.com/curl/curl/pull/10219
* copyright: update all copyright lines and remove year rangesDaniel Stenberg2023-01-031-1/+1
| | | | | | | | | | | | - they are mostly pointless in all major jurisdictions - many big corporations and projects already don't use them - saves us from pointless churn - git keeps history for us - the year range is kept in COPYING checksrc is updated to allow non-year using copyright statements Closes #10205
* lib/optiontable.pl: adapt to CURLOPTDEPRECATED()Daniel Stenberg2022-11-291-24/+56
| | | | | | | | | Follow-up from 6967571bf20624bc Reported-by: Gisle Vanem Fixes #9992 Closes #9993
* easyoptions: fix icc warningDaniel Stenberg2022-07-191-1/+1
| | | | | | | | easyoptions.c(360): error #188: enumerated type mixed with another type Ref: #9156 Reported-by: Matthew Thompson Closes #9176
* copyright: make repository REUSE compliantmax.mehl2022-06-131-1/+3
| | | | | | | | | | | Add licensing and copyright information for all files in this repository. This either happens in the file itself as a comment header or in the file `.reuse/dep5`. This commit also adds a Github workflow to check pull requests and adapts copyright.pl to the changes. Closes #8869
* easyoptions: add the two new PRE* optionsDaniel Stenberg2021-09-291-1/+1
| | | | | | | | | | Follow-up to a517378de58358a Also fix optiontable.pl to do the correct remainder on the entry. Reported-by: Gisle Vanem Bug: https://github.com/curl/curl/commit/a517378de58358a85b7cfe9efecb56051268f629#commitcomment-57224830 Closes #7791
* copyrights: update copyright year rangesDaniel Stenberg2021-09-081-1/+1
|
* scripts: invoke interpreters through /usr/bin/enva13460542021-08-231-1/+1
| | | | Closes #7602
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* lib: fix -Wassign-enum warningsDaniel Stenberg2020-09-081-1/+1
| | | | | | | | | | configure --enable-debug now enables -Wassign-enum with clang, identifying several enum "abuses" also fixed. Reported-by: Gisle Vanem Bug: https://github.com/curl/curl/commit/879007f8118771f4896334731aaca5850a154675#commitcomment-42087553 Closes #5929
* optiontable: use DEBUGBUILDDaniel Stenberg2020-09-011-1/+1
| | | | Follow-up to commit 6e18568ba38 (#5877)
* options: API for meta-data about easy optionsDaniel Stenberg2020-08-271-0/+118
const struct curl_easyoption *curl_easy_option_by_name(const char *name); const struct curl_easyoption *curl_easy_option_by_id (CURLoption id); const struct curl_easyoption * curl_easy_option_next(const struct curl_easyoption *prev); The purpose is to provide detailed enough information to allow for example libcurl bindings to get option information at run-time about what easy options that exist and what arguments they expect. Assisted-by: Jeroen Ooms Closes #5365