Steve Holme
9351383745
connect/ntlm/http: Fixed compilation warnings when verbose strings disabled
...
warning C4189: 'data': local variable is initialized but not referenced
2016-03-20 17:51:06 +00:00
Steve Holme
89f397d7eb
openssl: Fixed compilation warning when /Wall enabled
...
warning C4706: assignment within conditional expression
2016-03-20 17:35:31 +00:00
Steve Holme
eba1b3099f
CODE_STYLE: Use boolean conditions
...
Rather than use TRUE, FALSE, NULL, 0 or != 0 in if/while conditions.
Additionally, corrected some example code to adhere to the recommended
coding style.
2016-03-20 11:51:11 +00:00
Steve Holme
f046ac48d6
inet_pton.c: Fixed compilation warnings
...
warning: conversion to 'unsigned char' from 'int' may alter its value
2016-03-20 11:14:58 +00:00
Daniel Stenberg
100f991251
RELEASE-NOTES: synced with 80851028ef
2016-03-19 22:46:09 +01:00
Daniel Stenberg
80851028ef
mbedtls: fix compiler warning
...
vtls/mbedtls.h:67:36: warning: implicit declaration of function
‘mbedtls_sha256’ [-Wimplicit-function-declaration]
2016-03-19 22:37:21 +01:00
Steve Holme
4ff5cfd5fa
easy: Minor coding standard and style updates
...
Following commit c5744340db
. Additionally removes the need for a second
'result code' variable as well.
2016-03-19 20:37:12 +00:00
Jay Satiro
c5744340db
easy: Remove poll failure check in easy_transfer
...
.. because curl_multi_wait can no longer signal poll failure.
follow-up to 77e1726
Bug: https://github.com/curl/curl/issues/707
2016-03-19 15:29:52 -04:00
Steve Holme
e66109c1e3
build: Added missing Visual Studio filter files for VC10 onwards
...
As these files don't need to contain references to the source files,
although typically do, added basic files which only include three
filters and don't require the project file generator to be modified.
These files allow the source code to be viewed in the Solution Explorer
in versions of Visual Studio from 2010 onwards in the same manner as
previous versions did rather than one large view of files.
2016-03-19 17:57:43 +00:00
Steve Holme
c142e73142
ftp/imap/pop3/smtp: Fixed compilation warning when /Wall enabled
...
warning C4706: assignment within conditional expression
2016-03-19 17:15:53 +00:00
Steve Holme
4ff2fbd1d5
config-w32.h: Fixed compilation warning when /Wall enabled
...
warning C4668: 'USE_IPV6' is not defined as a preprocessor macro,
replacing with '0' for '#if/#elif'
2016-03-19 11:05:06 +00:00
Steve Holme
97c9d2ae8c
imap.c: Fixed compilation warning with /Wall enabled
...
warning C4701: potentially uninitialized local variable 'size' used
Technically this can't happen, as the usage of 'size' is protected by
'if(parsed)' and 'parsed' is only set after 'size' has been parsed.
Anyway, lets keep the compiler happy.
2016-03-19 11:01:36 +00:00
Steve Holme
2107a952e8
KNOWN_BUGS: #93 Issue with CURLFORM_CONTENTLEN in arrays on 32-bit platforms
2016-03-19 00:06:36 +00:00
Daniel Stenberg
997a95bbc8
bump: the coming release is 7.48.0
2016-03-18 21:59:53 +01:00
Daniel Stenberg
ecf953432d
configure: use cpp -P when needed
...
Since gcc 5, the processor output can get split up on multiple lines
that made the configure script fail to figure out values from
definitions. The fix is to use cpp -P, and this fix now first checks if
cpp -P is necessary and then if cpp -P works before it uses that to
extract defined values.
Fixes #719
2016-03-18 16:26:05 +01:00
Steve Holme
7e312bdfdd
formdata.c: Fixed compilation warning
...
formdata.c:390: warning: cast from pointer to integer of different size
Introduced in commit ca5f9341ef
this happens because a char*, which is
32-bits wide in 32-bit land, is being cast to a curl_off_t which is
64-bits wide where 64-bit integers are supported by the compiler.
This doesn't happen in 64-bit land as a pointer is the same size as a
curl_off_t.
This fix doesn't address the fact that a 64-bit value cannot be used
for CURLFORM_CONTENTLEN when set in a form array and compiled on a
32-bit platforms, it does at least suppress the compilation warning.
2016-03-18 07:19:31 +00:00
Daniel Stenberg
9c2cbc104d
FAQ: 2.5 Install libcurl for both 32bit and 64bit?
2016-03-18 08:14:05 +01:00
Gisle Vanem
d816e8cf52
openssl: adapt to API breakage in ERR_remove_thread_state()
...
The OpenSSL API change that broke this is "Convert ERR_STATE to new
multi-threading API": openssl commit 8509dcc.
Closes #713
2016-03-17 10:42:33 +01:00
Daniel Stenberg
8d9d03a157
version: init moved to private name space, added protos
...
follow-up to 80015cdd52
2016-03-17 00:55:46 +01:00
Daniel Stenberg
5f5b626357
openssl: verbose: show matching SAN pattern
...
... to allow users to see which specfic wildcard that matched when such
is used.
Also minor logic cleanup to simplify the code, and I removed all tabs
from verbose strings.
2016-03-17 00:49:02 +01:00
Jay Satiro
80015cdd52
version: thread safety
2016-03-16 19:13:42 -04:00
Steve Holme
0e18b8b107
transfer: Removed redundant HTTP authentication include files
...
It would also seem that share.h is not required here either as there
are no references to the Curl_share structure or functions.
2016-03-16 07:13:16 +00:00
Steve Holme
cd869cf1c1
easy: Removed redundant HTTP authentication include files
2016-03-16 06:59:42 +00:00
Jay Satiro
732983eb41
CURLOPT_SSLENGINE.3: Only for OpenSSL built with engine support
...
Bug: https://curl.haxx.se/mail/lib-2016-03/0150.html
Reported-by: Oliver Graute
2016-03-15 16:00:36 -04:00
Steve Holme
3ccc2621a1
curl_sasl: Minor code indent fixes
2016-03-15 06:47:13 +00:00
Daniel Stenberg
42a93d4364
runtests: mention when run event-based
2016-03-14 15:39:16 +01:00
Daniel Stenberg
b51f04bf23
easy: add check to malloc() when running event-based
...
... to allow torture tests then too.
2016-03-14 15:37:03 +01:00
Daniel Stenberg
6a353b105a
memdebug: skip logging the limit countdown, fflush when reached
2016-03-14 15:36:40 +01:00
Daniel Stenberg
0fc73d364e
CODE_STYLE: Space around operators
...
As just discussed on the mailing list, also document how we prefer
spacing in expressions.
2016-03-14 14:31:14 +01:00
Daniel Stenberg
4ef6d6b1bc
curl: glob_range: no need to check unsigned variable for negative
...
cppcheck warned:
[src/tool_urlglob.c:283]: (style) Checking if unsigned variable 'step_n'
is less than zero.
2016-03-14 10:51:25 +01:00
Daniel Stenberg
2ad3cf2fba
CODE_STYLE: add example for indent style as well
2016-03-14 10:40:02 +01:00
Daniel Stenberg
c5c7a3e40f
CODE_STYLE: mention braces for functions too
2016-03-14 10:36:51 +01:00
Daniel Stenberg
519835c4b0
docs/Makefile.am: include CODE_STYLE in tarball too
2016-03-14 10:31:36 +01:00
Daniel Stenberg
1b3d736ae3
CONTRIBUTE: moved out code style to a separate document
2016-03-14 10:31:00 +01:00
Daniel Stenberg
303bf719ff
CODE_STYLE: initial version
...
Ripped out from CONTRIBUTE into its own document, but also extended from
there.
2016-03-14 10:28:54 +01:00
Daniel Stenberg
3c6238b3eb
curl_sasl.c: minor code indent fixes
2016-03-14 09:55:38 +01:00
Daniel Stenberg
c3aca6ed47
multi: simplified singlesocket
...
Since sh_getentry() now checks for invalid sockets itself and by
narrowing the scope of the remove_sock_from_hash variable.
2016-03-14 09:44:14 +01:00
Daniel Stenberg
8eaf884417
multi: introduce sh_getentry() for looking up sockets in the sockhash
...
Simplify the code by using a single entry that looks for a socket in the
socket hash. As indicated in #712 , the code looked for CURL_SOCKET_BAD
at some point and that is ineffective/wrong and this makes it easier to
avoid that.
2016-03-14 09:18:01 +01:00
Jaime Fullaondo
c0717a7059
multi hash: ensure modulo performed on curl_socket_t
...
Closes #712
2016-03-14 08:16:52 +01:00
Steve Holme
5dc43b975b
base64: Minor coding standard and style updates
2016-03-13 17:59:06 +00:00
Steve Holme
0e16de870f
base64: Use 'CURLcode result' for curl result codes
2016-03-13 17:14:57 +00:00
Steve Holme
9eb158821f
negotiate: Use 'CURLcode result' for curl result codes
2016-03-13 17:09:58 +00:00
Maksim Kuzevanov
d7e3942814
multi_runsingle: avoid loop in CURLM_STATE_WAITPROXYCONNECT
...
Closes #703
2016-03-13 12:41:17 +01:00
Daniel Stenberg
d807fbd66d
TODO: Use the RFC6265 test suite
2016-03-13 11:02:06 +01:00
Steve Holme
a8c7f0fcbf
checksrc.bat: Added the ability to scan src and lib source independently
2016-03-13 01:01:33 +00:00
Steve Holme
e4a0a9ef18
digest: Use boolean based success code for Curl_sasl_digest_get_pair()
...
Rather than use a 0 and 1 integer base result code use a TRUE / FALSE
based success code.
2016-03-12 17:25:15 +00:00
Steve Holme
a7a653fd58
digest: Corrected some typos in comments
2016-03-12 13:20:03 +00:00
Steve Holme
f0fbd099b4
krb5: Corrected some typos in function descriptions
2016-03-12 11:59:52 +00:00
Steve Holme
dbb90e7e9f
ntlm: Corrected some typos in function descriptions
2016-03-12 11:56:10 +00:00
Steve Holme
06ccaa0c68
url: Corrected indentation when calling idna_to_ascii_lz()
2016-03-11 07:46:09 +00:00