aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-03libtest: fix implicit-fallthrough warnings with GCC 7Marcel Raad
2017-06-03x509asn1: fix implicit-fallthrough warning with GCC 7Marcel Raad
2017-06-03curl_sasl: fix unused-variable warningMarcel Raad
This fixes the following warning with CURL_DISABLE_CRYPTO_AUTH, as seen in the autobuilds: curl_sasl.c:417:9: warning: unused variable 'serverdata' [-Wunused-variable]
2017-06-03updatemanpages.pl: error out on too old git versionDaniel Stenberg
2017-06-03cyassl: define build macros before including ssl.hMarcel Raad
cyassl/ssl.h needs the macros from cyassl/options.h, so define them before including cyassl/ssl.h the first time, which happens in urldata.h. This broke the build on Ubuntu Xenial, which comes with WolfSSL 3.4.8 and therefore redefines the symbols from cyassl/options.h instead of including the header. Closes https://github.com/curl/curl/pull/1536
2017-06-03tool_util: remove unused tvdiff_secs and remove tool_ prefixDaniel Stenberg
Closes #1532
2017-06-03dedotdot: fixed output for ".." and "." only inputDaniel Stenberg
Found when updating test 1395, which I did to increase test coverage of this source file... Closes #1535
2017-06-02mbedtls: make TU-local variable staticMarcel Raad
mbedtls_x509_crt_profile_fr is only used locally. This fixes a missing-variable-declarations warning with clang.
2017-06-02MD(4|5): silence cast-align clang warningMarcel Raad
Unaligned access is on purpose here and the warning is harmless on affected architectures. GCC knows that, while clang warns on all architectures.
2017-06-02test1538: fix typoDaniel Stenberg
2017-06-02test1538: verify the libcurl strerror API callsDaniel Stenberg
2017-06-02curl_endian: remove unused functionsDaniel Stenberg
Closes #1529
2017-06-02test1537: dedicated tests of the URL (un)escape API callsDaniel Stenberg
Closes #1530
2017-06-02coverage: run event tests tooDaniel Stenberg
... the torture ones are commented out only because they are slooooow.
2017-06-02build: provide easy code coverage measuringDaniel Stenberg
Closes #1528
2017-06-01typecheck-gcc.h: check CURLINFO_CERTINFODaniel Stenberg
... and update the certinfo.c example accordingly. Fixes https://github.com/curl/curl/issues/846
2017-06-01typecheck-gcc.h: check CURLINFO_TLS_SSL_PTR and CURLINFO_TLS_SESSIONDaniel Stenberg
... so that they get the required "struct curl_tlssessioninfo **" arguments.
2017-06-01typecheck-gcc.h: separate getinfo slist checks from other pointersDaniel Stenberg
Fixes #1524
2017-06-01curl-compilers.m4: escape square brackets in regexMarcel Raad
Otherwise, they are removed in the final configure file. Also changed sed to "$SED" like in most other calls in this file.
2017-06-01curl-compilers.m4: fix compiler_num for clangMarcel Raad
"clang -dumpversion" always returns "4.2.1", the GCC version that clang was initially compatible to. Use "clang -v" instead, which returns the actual clang version. Fixes https://github.com/curl/curl/issues/1522 Closes https://github.com/curl/curl/pull/1523
2017-05-31examples/externalsocket.c: s/closesocket/closecbDaniel Stenberg
... since closesocket is a function in WinSock. Reported-by: Marcel Raad Bug: https://github.com/curl/curl/commit/55fcb8485914700132fd1854c9509b66c955efbe#co mmitcomment-22347818
2017-05-31lib583: fix compiler warningMarcel Raad
Use CURLMcode for variable 'res' and cast to int where necessary instead of the other way around. Other tests do the same. This fixes the following clang warning: lib583.c:68:15: warning: cast from function call of type 'CURLMcode' to non-matching type 'int' [-Wbad-function-cast]
2017-05-31CURLOPT_SSH_KEY*.3: typosDaniel Stenberg
Reported-by: Gisle Vanem
2017-05-31CURLOPT_STREAM_DEPENDS.3: typoDaniel Stenberg
2017-05-31CURLOPT_FNMATCH_FUNCTION.3: also modified example to avoid fcpp issuesDaniel Stenberg
2017-05-31CURLOPT_FNMATCH_DATA.3: modified example to avoid fcpp issuesDaniel Stenberg
2017-05-31opts: more than 100 more examples for man pages...Daniel Stenberg
2017-05-31libtest/lib574.c: use correct callback protoDaniel Stenberg
2017-05-31examples/sampleconv.c: indent changes, made callbacks staticDaniel Stenberg
2017-05-31example/externalsocket.c: make it use CLOSESOCKETFUNCTION tooDaniel Stenberg
2017-05-31curl-compilers.m4: enable -Wshift-sign-overflow for clangMarcel Raad
clang 2.9+ supports -Wshift-sign-overflow, which warns about undefined behavior on signed left shifts when shifting by too many places. Ref: https://github.com/curl/curl/issues/1516 Closes https://github.com/curl/curl/pull/1517
2017-05-31CURLOPT_PROXY.3: fix test 1140 breakageDaniel Stenberg
2017-05-31build-wolfssl: Sync config with wolfSSL 3.11Jay Satiro
wolfSSL configure script relevant changes from 3.10 to 3.11: - Async threading support added; disabled by default without async crypto, which continues to be disabled by default. wolfSSL configure script relevant changes from 3.11 to 3.11.1 (beta): - TLS 1.3 beta support added; disabled by default. For experimenting I put in a comment block the defines needed to enable TLS 1.3 support (ie the equivalent of --enable-tls13).
2017-05-30opts: more examples added to man pagesDaniel Stenberg
2017-05-30docs: clarify NO_PROXY furtherDaniel Stenberg
Fixes #1208
2017-05-30CURLOPT_PROXY.3: describe the environment variables moreDaniel Stenberg
2017-05-30transfer: init the infilesize from the postfields...Daniel Stenberg
... with a strlen() if no size was set, and do this in the pretransfer function so that the info is set early. Otherwise, the default strlen() done on the POSTFIELDS data never sets state.infilesize. Reported-by: Vincas Razma Bug: #1294
2017-05-29test557: fix ubsan runtime error due to int left shiftJay Satiro
- Test curl_msnprintf negative int width arg using INT_MIN instead of 1 << 31 which is undefined behavior. Closes https://github.com/curl/curl/issues/1516
2017-05-29mbedtls: fix variable shadow warningJay Satiro
vtls/mbedtls.c:804:69: warning: declaration of 'entropy' shadows a global declaration [-Wshadow] CURLcode Curl_mbedtls_random(struct Curl_easy *data, unsigned char *entropy, ^~~~~~~
2017-05-29RELEASE-NOTES: synced with 3aaac8c2fDaniel Stenberg
2017-05-28tests: removed some redundant empty <stdout> sectionsDan Fandrich
2017-05-28runtests.pl: removed <precommand> featureDan Fandrich
This hasn't been used in over a decade. <precheck> can still be used to run commands before the main test.
2017-05-27opts: more examples added in option man pagesDaniel Stenberg
2017-05-27runtests.pl: removed unused arguments to valgrindparseDan Fandrich
2017-05-25TODO: 6.4 is done, send telnet data in chunksDaniel Stenberg
2017-05-25docs/CURLOPT_SSLVERSION.3: Correct define name in examplePhil Crump
Closes #1509
2017-05-25ssh: fix 'left' may be used uninitializedDaniel Stenberg
follow-up to f31760e63b4e Reported-by: Michael Kaufmann Bug: https://github.com/curl/curl/pull/1495#issuecomment-303982793
2017-05-24time: fix type conversions and compiler warningsMichael Kaufmann
Fix bugs and compiler warnings on systems with 32-bit long and 64-bit time_t. Reviewed-by: Daniel Stenberg Closes #1499
2017-05-24examples: fix Wimplicit-fallthrough warningsMarcel Raad
This is contained in -Wextra with GCC 7.
2017-05-24winbuild: fix the nghttp2 buildAnatol Belski
Closes #1321