summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* urlglob: fix division by zeroDaniel Stenberg2017-06-131-1/+5
| | | | | | | | The multiply() function that is used to avoid integer overflows, was itself reason for a possible division by zero error when passed a specially formatted glob. Reported-by: GwanYeong Kim
* configure: update the copyright year in the outputDaniel Stenberg2017-06-121-1/+1
|
* BINDINGS: update SP-Forth and OCaml urlsygrek2017-06-121-2/+2
|
* FindWin32CACert: Use a temporary buffer on the stackMichael Kaufmann2017-06-111-8/+2
| | | | | | | | | | | | Don't malloc() the temporary buffer, and use the correct type: SearchPath() works with TCHAR, but SearchPathA() works with char. Set the buffer size to MAX_PATH, because the terminating null byte is already included in MAX_PATH. Reviewed-by: Daniel Stenberg Reviewed-by: Marcel Raad Closes #1548
* test1521: fixed OOM handlingDan Fandrich2017-06-111-752/+759
|
* RELEASE-PROCEDURE: updated future release datesDaniel Stenberg2017-06-091-4/+5
|
* gitignore: ignore all vim swap filesPaul Harris2017-06-091-1/+1
| | | | Closes #1561
* lib1521: fix compiler warnings on the use of bad 'long' valuesbagder/lib1521-long-warningsDaniel Stenberg2017-06-092-7/+7
| | | | | Reported-by: Marcel Raad Bug: https://github.com/curl/curl/commit/cccac4fb2b20d6ed87da7978408c3ecacc464fe4#commitcomment-22453387
* setopt: check CURLOPT_ADDRESS_SCOPE option rangeDaniel Stenberg2017-06-091-1/+4
| | | | | ... and return error instead of triggering an assert() when being way out of range.
* cmake: Fix inconsistency regarding mbed TLS include directoryTheAssassin2017-06-081-3/+3
| | | | | | | | | Previously, one had to set MBEDTLS_INCLUDE_DIR to make CMake find the headers, but the system complained that mbed TLS wasn't found due to MBEDTLS_INCLUDE_DIRS (note the trailing s) was not set. This commit attempts to fix that. Closes https://github.com/curl/curl/pull/1541
* examples/multi-uv.c: fix deprecated symbolRyuichi KAWAMATA2017-06-081-1/+1
| | | | Closes #1557
* asyn-ares: s/Curl_expire_latest/Curl_expireDaniel Stenberg2017-06-081-1/+1
|
* expire: remove Curl_expire_latest()Daniel Stenberg2017-06-084-53/+8
| | | | | | | | | | | | | | | | | With the introduction of expire IDs and the fact that existing timers can be removed now and thus never expire, the concept with adding a "latest" timer is not working anymore as it risks to not expire at all. So, to be certain the timers actually are in line and will expire, the plain Curl_expire() needs to be used. The _latest() function was added as a sort of shortcut in the past that's quite simply not necessary anymore. Follow-up to 31b39c40cf90 Reported-by: Paul Harris Closes #1555
* configure: fix link with librtmp when specifying pathChris Carlmar2017-06-071-0/+1
| | | | Bug: https://curl.haxx.se/mail/lib-2017-06/0017.html
* file: make speedcheck use current time for checksDaniel Stenberg2017-06-071-4/+2
| | | | | | | ... as it would previously just get the "now" timestamp before the transfer starts and then not update it again. Closes #1550
* metalink: remove unused printf() argumentDaniel Stenberg2017-06-071-2/+2
|
* travis: let some builds *not* use --enable-debugDaniel Stenberg2017-06-061-3/+9
| | | | | | typecheck-gcc and other things require optimized builds Closes #1544
* README.md: show the coverall coverage on githubDaniel Stenberg2017-06-061-0/+1
|
* lib1521: fix compiler warningsDaniel Stenberg2017-06-062-54/+86
|
* test1521: make the code < 80 columns wideDaniel Stenberg2017-06-052-21/+41
|
* test1121: use stricter types to work with typcheck-gccDaniel Stenberg2017-06-052-36/+116
|
* typecheck-gcc: allow CURLOPT_STDERR to be NULL tooDaniel Stenberg2017-06-051-2/+3
|
* test1521: test *all* curl_easy_setopt optionsDaniel Stenberg2017-06-057-30/+999
| | | | | | | | | | | | | mk-lib1521.pl generates a test program (lib1521.c) that calls curl_easy_setopt() for every known option with a few typical values to make sure they work (ignoring the return codes). Some small changes were necessary to avoid asserts and NULL accesses when doing this. The perl script needs to be manually rerun when we add new options. Closes #1543
* test1538: added "verbose logs" keywordDan Fandrich2017-06-051-0/+1
| | | | These error messages are not displayed with --disable-verbose
* test1262: verify ftp download with -z for "if older than this"Daniel Stenberg2017-06-052-1/+41
|
* curl_ntlm_core: use Curl_raw_toupper instead of toupperMarcel Raad2017-06-051-1/+1
| | | | | | This was the only remaining use of toupper in the entire source code. Suggested-by: Daniel Stenberg
* RELEASE-NOTES: synced with 65ba92650Daniel Stenberg2017-06-041-8/+48
|
* curl_ntlm_core: pass unsigned char to toupperMarcel Raad2017-06-041-1/+1
| | | | | | | | | | | Otherwise, clang on Cygwin64 warns: curl_ntlm_core.c:525:35: error: array subscript is of type 'char' [-Werror,-Wchar-subscripts] dest[2 * i] = (unsigned char)(toupper(src[i])); ^~~~~~~~~~~~~~~ /usr/include/ctype.h:152:25: note: expanded from macro 'toupper' (void) __CTYPE_PTR[__x]; (toupper) (__x);}) ^~~~
* BINDINGS: add Ring bindingMahmoud Samir Fayed2017-06-031-0/+2
| | | | Closes https://github.com/curl/curl/pull/1539
* CONTRIBUTE.md: mention tests done on pull requestsDaniel Stenberg2017-06-041-7/+25
|
* travis: add coverage, distcheck and cmake buildsDaniel Stenberg2017-06-041-11/+73
| | | | Closes #1534
* libtest: fix int-in-bool-context warningsMarcel Raad2017-06-032-2/+2
| | | | | GCC 7 complained: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]
* libtest: fix implicit-fallthrough warnings with GCC 7Marcel Raad2017-06-032-0/+2
|
* x509asn1: fix implicit-fallthrough warning with GCC 7Marcel Raad2017-06-031-0/+1
|
* curl_sasl: fix unused-variable warningMarcel Raad2017-06-031-1/+4
| | | | | | | | 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]
* updatemanpages.pl: error out on too old git versionDaniel Stenberg2017-06-031-1/+8
|
* cyassl: define build macros before including ssl.hMarcel Raad2017-06-031-32/+32
| | | | | | | | | | | 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
* tool_util: remove unused tvdiff_secs and remove tool_ prefixDaniel Stenberg2017-06-032-39/+9
| | | | Closes #1532
* dedotdot: fixed output for ".." and "." only inputDaniel Stenberg2017-06-032-2/+10
| | | | | | | Found when updating test 1395, which I did to increase test coverage of this source file... Closes #1535
* mbedtls: make TU-local variable staticMarcel Raad2017-06-021-1/+1
| | | | | mbedtls_x509_crt_profile_fr is only used locally. This fixes a missing-variable-declarations warning with clang.
* MD(4|5): silence cast-align clang warningMarcel Raad2017-06-022-2/+2
| | | | | | Unaligned access is on purpose here and the warning is harmless on affected architectures. GCC knows that, while clang warns on all architectures.
* test1538: fix typoDaniel Stenberg2017-06-021-1/+1
|
* test1538: verify the libcurl strerror API callsDaniel Stenberg2017-06-024-2/+205
|
* curl_endian: remove unused functionsDaniel Stenberg2017-06-022-138/+2
| | | | Closes #1529
* test1537: dedicated tests of the URL (un)escape API callsDaniel Stenberg2017-06-024-2/+134
| | | | Closes #1530
* coverage: run event tests tooDaniel Stenberg2017-06-023-0/+12
| | | | ... the torture ones are commented out only because they are slooooow.
* build: provide easy code coverage measuringDaniel Stenberg2017-06-027-7/+246
| | | | Closes #1528
* typecheck-gcc.h: check CURLINFO_CERTINFODaniel Stenberg2017-06-013-21/+16
| | | | | | ... and update the certinfo.c example accordingly. Fixes https://github.com/curl/curl/issues/846
* typecheck-gcc.h: check CURLINFO_TLS_SSL_PTR and CURLINFO_TLS_SESSIONDaniel Stenberg2017-06-011-0/+10
| | | | | ... so that they get the required "struct curl_tlssessioninfo **" arguments.
* typecheck-gcc.h: separate getinfo slist checks from other pointersDaniel Stenberg2017-06-013-6/+8
| | | | Fixes #1524