Daniel Stenberg
4ed7abb537
MSVC makefiles: provide SSH build targets
...
"release-ssl-ssh2-zlib" and "debug-ssl-ssh2-zlib" are two new makefile
targets that build libcurl with MSVC and link with libssh2
Bug: http://curl.haxx.se/bug/view.cgi?id=3388920
Reported by: "kdekker"
2011-08-15 23:22:06 +02:00
Yang Tse
98fb0ef73e
http NTLM: split http_ntlm.[ch] between http_ntlm.[ch] and curl_ntlm.[ch]
...
For modularity purposes, huge chunks of NTLM existing code is transformed into
functions to allow future internal code reuse.
Resulting three new libcurl private functions:
- Curl_ntlm_create_type1_message()
- Curl_ntlm_create_type3_message()
- Curl_ntlm_decode_type2_message()
Changing static ntlm_sspi_cleanup() into non-static Curl_ntlm_sspi_cleanup()
This 'refactoring' has been prepared by previous commits to allow that this
specific one does not introduce any change to existing code. All existing
goodness and badness previous to this commit should remain the same once it is
applied, the only difference should be that existing code is moved into
functions.
Given the quite big portions of code being moved around, and the importance of
change traceability, this commit has been done in such a way that it is
possible to perform a three-way diff from initial http_ntlm.[ch] to resulting
http_ntlm.[ch] and curl_ntlm.[ch] to actually verify that no functional change
is introduced here.
Notice that Steve Holme has provided several patches, but these included this
refactoring along with 'extra' fixes. I really wanted this 'clean' refactoring
done first, in order to allow discussion or committing of 'extra' fixes on a
case by case basis, so, I had to bite the bullet ;-)
Comments, line adjustments, compiler warning fixes, whatever, may follow
afterwards.
2011-08-14 15:45:19 +02:00
Daniel Stenberg
a30ede868a
VC6 makefiles: added embedded documentation
...
Just a note about the fact that all VC[6/8/9/10] makefiles are generated
from the VC6 one as source.
2011-08-13 22:30:56 +02:00
Josue Andrade Gomes
9016958aa8
windows build: use correct MS CRT
2011-06-21 20:05:06 +02:00
Dan Fandrich
4235457129
Added new resolver sources to Symbian and VC6 build files
2011-04-25 18:07:32 -07:00
Daniel Stenberg
02dbfa2192
http-proxy: move proxy code to http_proxy.c
...
The new http_proxy.* files now host HTTP proxy specific code (500+ lines
moved out from http.c), and as a consequence there is a macro introduced
for the Curl_proxyCONNECT() function so that code can use it without
actually supporting proxy (or HTTP) in builds.
2011-04-04 19:38:00 +02:00
Karl M
05ebc6f0cc
VC: add missing file
...
http_negotiate_sspi.c was added to the source tree recently
2011-03-13 00:23:04 +01:00
Guenter Knauf
e36c039a07
Updated OpenSSL version, added links to docu.
2011-02-13 12:13:21 +01:00
Guenter Knauf
d541085407
Use env var for PSDK instead of hardcoded path.
2011-01-13 05:55:09 +01:00
Yang Tse
71ab0ceaa0
build: sort configuration hunks in lib/Makefile.vc6
...
sorted to reflect same internal order as the one shown
in the usage message.
2010-12-21 00:14:55 +01:00
Yang Tse
8d569c7bb0
build: refactoring of msvc makefiles to allow overriding of library filenames.
...
Default libcurl's file names are kept equal to those used since Y2K.
2010-12-20 21:53:44 +01:00
Daniel Stenberg
29439acfeb
Makefile: add gopher.c file to build
...
As the VC and RISCOS makefiles don't use the .inc file
2010-08-25 15:56:35 +02:00
Guenter Knauf
d7134036b2
Updated lib dependency versions.
2010-08-10 05:51:38 +02:00
Yang Tse
6028fdb305
build: add missing new files to non-configure target build files
2010-08-03 13:09:39 +02:00
Pierre Joye
7239538d9a
build: add enable IPV6 option for the VC makefiles
2010-06-30 19:42:37 +02:00
Yang Tse
3b24076c3b
add missing new files to non-configure target build files
2010-06-02 15:09:39 +02:00
Dan Fandrich
76255cfdc9
Added Polar SSL and RTMP files to the non-autoconf build files
...
I didn't bother with a few that have little hope of running the required
dependent libraries.
2010-05-12 19:05:58 -07:00
Dan Fandrich
ad6bc4d82e
Added the new ftp source files to the non-autoconf build files
2010-05-12 17:32:10 -07:00
Yang Tse
32236dad5e
hmac.c related compilation adjustment
2010-04-20 21:23:53 +02:00
monnerat
b30ce34d84
Add compilation directives for hmac in Watcom,riscos and vc6 platform-specific makefiles.
2010-04-20 19:23:48 +02:00
Ruslan Gazizov
2164b6b463
replaced wsock32.lib usage with ws2_32.lib in MSVC makefiles
2010-04-20 16:30:10 +02:00
Yang Tse
048438345a
fix compiler warning
2010-02-19 18:02:38 +00:00
Yang Tse
1d86ebfc88
add curl_threads.c to non-configure target build files
2010-01-26 09:20:09 +00:00
Dan Fandrich
5af20c70e4
Added rtsp.c to the non-configure target build files
2010-01-21 22:03:26 +00:00
Dan Fandrich
a644af129e
Added the new protocol source files to the non-autoconf build files
2010-01-15 06:33:46 +00:00
Yang Tse
7d22ce5573
libcurl private function Curl_memrchr() now in curl_memrchr.c and curl_memrchr.h
2009-09-28 16:05:20 +00:00
Yang Tse
f2f45339dc
Moved Curl_rand() and Curl_srand() code from formdata.c and formdata.h
...
into curl_rand.c and curl_rand.h
2009-09-17 14:23:27 +00:00
Daniel Stenberg
daf688eba6
add missing file, as pointed out by Karl M
2009-08-12 17:25:16 +00:00
Yang Tse
7eb59de7df
DEBUGBUILD / CURLDEBUG decoupling follow-up
2009-06-15 02:30:22 +00:00
Dan Fandrich
7291f50e8d
Added new libcurl source files to Amiga, RiscOS and VC6 build files.
2009-04-23 04:12:04 +00:00
Yang Tse
e813bf31d7
Introduced curl_sspi.c and curl_sspi.h for the implementation of functions
...
Curl_sspi_global_init() and Curl_sspi_global_cleanup() which previously were
named Curl_ntlm_global_init() and Curl_ntlm_global_cleanup() in http_ntlm.c
Also adjusted socks_sspi.c to remove the link-time dependency on the Windows
SSPI library using it now in the same way as it was done in http_ntlm.c.
2009-01-29 20:32:27 +00:00
Daniel Stenberg
de4610a55f
- Markus Moeller introduced two new options to libcurl:
...
CURLOPT_SOCKS5_GSSAPI_SERVICE and CURLOPT_SOCKS5_GSSAPI_NEC to allow libcurl
to do GSS-style authentication with SOCKS5 proxies. The curl tool got the
options called --socks5-gssapi-service and --socks5-gssapi-nec to enable
these.
2009-01-28 21:33:58 +00:00
Daniel Stenberg
14a6788535
- Lisa Xu pointed out that the ssh.obj file was missing from the lib/Makefile.vc6
...
file (and thus from the vc8 and vc9 ones too).
2009-01-20 06:24:25 +00:00
Yang Tse
4a4885eead
Add missing curl_addrinfo, and sort the list.
2008-11-06 18:50:32 +00:00
Dan Fandrich
4174ec7116
Added rawstr.c to the non-configure libcurl makefiles
2008-10-23 17:29:14 +00:00
Yang Tse
19479ea021
Internal time differences now use monotonic time source if available.
...
This also implies the removal of the winmm.lib dependency for WIN32.
2008-05-09 16:31:51 +00:00
Daniel Stenberg
79e06c4147
- Sandor Feldi reported bug #1942022
...
(http://curl.haxx.se/bug/view.cgi?id=1942022 ) pointing out a mistake in the
lib/Makefile.vc[68] makefiles' release-ssl-dll target.
2008-04-14 15:19:05 +00:00
Gunter Knauf
8f4fda1d6f
fixed commented define for SSPI.
2008-02-28 11:34:08 +00:00
Yang Tse
34cf35051a
update openssl version
2008-01-23 07:27:40 +00:00
Gunter Knauf
be8c219ec2
fixed VC6 makefiles for new ldap linkage.
2007-09-15 20:02:22 +00:00
Gunter Knauf
dab569d76c
make users use the latest OpenSSL and Zlib libraries;
...
added hint to compile with SSPI with MSVC6 without PSDK.
2007-07-15 13:00:39 +00:00
Daniel Stenberg
6dd4fe0740
- Robert A. Monat improved the maketgz and VC6/8 generating to set the correct
...
machine type too.
2007-03-09 22:26:59 +00:00
Yang Tse
db24518a30
Fix misplaced runtime library specification for 'release-dll' target
2006-10-21 16:25:31 +00:00
Daniel Stenberg
3ea8a4d220
Dmitriy Sergeyev provided a patch that made the SOCKS[45] code work better as
...
it now will read the full data sent from servers. The SOCKS-related code was
also moved to the new lib/socks.c source file.
2006-09-23 19:07:20 +00:00
Daniel Stenberg
d774730f83
added splay
2006-04-12 18:12:46 +00:00
Daniel Stenberg
0e3ebd9841
Kirill Vasiliev fixed the 'release-ssl-dll' target to properly build a
...
static libcurl using openssl as dll.
2005-12-23 23:40:40 +00:00
Daniel Stenberg
175335808b
Dmitry Bartsevich discovered some issues in compatibilty of SSPI-enabled
...
version of libcurl with different Windows versions. Current version of
libcurl imports SSPI functions from secur32.dll. However, under Windows NT
4.0 these functions are located in security.dll, under Windows 9x - in
secur32.dll and Windows 2000 and XP contains both these DLLs (security.dll
just forwards calls to secur32.dll).
Dmitry's patch loads proper library dynamically depending on Windows
version. Function InitSecurityInterface() is used to obtain pointers to all
of SSPI function in one structure.
: ----------------------------------------------------------------------
2005-11-08 14:15:34 +00:00
Daniel Stenberg
715b706caa
Temprimus improved the MSVC makefile so that the static debug SSL libs are
...
linked to the executable and not to the libcurld.lib
http://curl.haxx.se/bug/view.cgi?id=1326676
2005-10-21 19:32:12 +00:00
Daniel Stenberg
0c6bb8cb66
Temprimus improved the MSVC makefile: "makes a build option available so if
...
you set rtlibcfg=static for the make, then it would build with /MT. The
default behaviour is /MD (the original)."
http://curl.haxx.se/bug/view.cgi?id=1326665
2005-10-20 19:07:33 +00:00
Daniel Stenberg
51369753bb
Reported by 'TemPRImus' in bug 1326665: use the "Multi-Threaded" options even
...
when building the static library. http://curl.haxx.se/bug/view.cgi?id=1326665
2005-10-14 13:22:49 +00:00
Daniel Stenberg
0e7d93858d
added tftp.c
2005-09-07 14:42:15 +00:00
Daniel Stenberg
200ac588cc
Dave Dribin: set CURL_STATICLIB when it builds static library variants.
2005-04-22 21:16:22 +00:00
Daniel Stenberg
2a045dfceb
fixed to build after the GnuTLS fixes
2005-04-07 20:36:48 +00:00
Daniel Stenberg
833b6df969
Marcelo Juchem's improvements
2005-04-04 13:21:03 +00:00
Daniel Stenberg
f96fadc074
fixed bad comment, pointed out by Marcelo Juchem
2005-03-31 20:34:24 +00:00
Daniel Stenberg
5840c8cb70
fix by Kyrre Kristiansen
2005-03-18 10:16:49 +00:00
Daniel Stenberg
d1d35ba85f
Christopher R. Palmer made it possible to build libcurl with the
...
USE_WINDOWS_SSPI on Windows, and then libcurl will be built to use the native
way to do NTLM. SSPI also allows libcurl to pass on the current user and its
password in the request.
2005-03-10 23:15:29 +00:00
Daniel Stenberg
b1080f7c9a
Cody Jones' enhanced version of Samuel Díaz García's MSVC makefile patch.
2005-01-18 10:17:34 +00:00
Daniel Stenberg
ad9648a215
reverted the bad naming of the implib names
2005-01-02 21:15:29 +00:00
Daniel Stenberg
1576f3319e
Alex Neblett's minor update
2005-01-02 19:19:32 +00:00
Daniel Stenberg
03e7b7c95f
add select.obj
2004-11-19 13:45:46 +00:00
Gisle Vanem
61599ceb7b
Renamed import lib to "libcurl_imp.lib".
...
Some cleanup and making it more readable.
2004-11-13 14:17:41 +00:00
Gisle Vanem
377e43fbb9
Changes for removing libcurl.def file on Win32.
...
Added "CURL_EXTERN" to memdebug.h functions.
Cleaned up Makefile.vc6.
2004-11-09 14:00:56 +00:00
Daniel Stenberg
d4076c9a8a
fixed to use the new file. Can we make this use Makefile.inc somehow?
2004-09-15 08:05:53 +00:00
Gunter Knauf
559553b169
fixed linkage dll targets. (submitted by Casey O'Donnell)
2004-08-14 22:03:40 +00:00
Gunter Knauf
08df4b8971
changed paths to external libs to recent versions.
2004-07-11 13:49:18 +00:00
Daniel Stenberg
cb21851c74
David Byron made this use the mm lib by default, as was previously done. This
...
might be done differently in the future.
2004-06-01 08:09:43 +00:00
Daniel Stenberg
76dfef7117
Mohun Biswas added release-zlib and debug-zlib targets.
2004-05-26 11:49:28 +00:00
Daniel Stenberg
f6319bd706
Massimiliano Ziccardi's updates for the VC6 makefiles
2004-05-25 13:52:12 +00:00
Daniel Stenberg
3f106afd00
cut out the changelog, it is far from accurate anyway
2004-05-11 12:22:50 +00:00
Daniel Stenberg
80d2fff1a1
oops, .obj not .c!
2004-04-26 20:41:33 +00:00
Daniel Stenberg
92fc3f07ba
added the new files to the build
2004-04-26 12:33:14 +00:00
Daniel Stenberg
0fd3b7a00a
David Byron's patch for MSVC builds with zlib
2004-04-11 20:25:10 +00:00
Daniel Stenberg
75ee9b5333
strerror without prefix
2004-03-25 13:40:57 +00:00
Daniel Stenberg
0953140b53
added curl_strerror to the build
2004-03-25 07:53:37 +00:00
Daniel Stenberg
2479e06848
David Byron's work on making libcurl only require winsock 1.1 on Windows
...
machines.
2004-03-03 13:32:56 +00:00
Daniel Stenberg
4515d06465
David Byron's fixes to make the latest curl build fine under MSVC 6.
2004-02-26 16:23:28 +00:00
Daniel Stenberg
b60e0fa97e
David J Meyer's large file support.
2004-01-05 22:29:29 +00:00
Daniel Stenberg
967cb4d75e
removed the resource lines I shouldn't have added in the firt place
2003-11-07 07:13:56 +00:00
Daniel Stenberg
41be41358e
CURLDEBUG, no underscore
2003-11-06 16:04:19 +00:00
Daniel Stenberg
ecb818805b
Gisle Vanem's libcurl.dll version info patch applied
2003-11-06 15:09:30 +00:00
Daniel Stenberg
c45f43ce32
Troels Walsted Hansen fixed the MSVC makefiles to build fine on Windows.
2003-11-04 06:59:25 +00:00
Daniel Stenberg
f232baf4d2
Dylan Ellicott added the release-libcurl-ssl-dll target
2003-10-22 11:26:41 +00:00
Daniel Stenberg
d3e512c738
Jörg Müller-Tolk updated this to build fine with 7.10.6
2003-07-30 14:19:44 +00:00
Daniel Stenberg
1a94fee42d
Juan F. Codagnone's fixes to build properly on Windows again
2003-07-23 08:21:21 +00:00
Daniel Stenberg
51da6aaa07
RSAglue.lib is no longer needed with recent OpenSSL versions
2003-04-25 15:08:46 +00:00
Daniel Stenberg
3c0e4a2fa1
Added share.obj
2003-03-03 22:39:34 +00:00
Daniel Stenberg
e69362df22
Matthew Blain's improvements for debug builds
2003-01-07 09:31:45 +00:00
Daniel Stenberg
a46e2e9900
link with winmm.lib too
2002-07-29 14:20:53 +00:00
Daniel Stenberg
25dc520163
added multi.obj
2002-06-11 11:11:06 +00:00
Daniel Stenberg
5af61716aa
Miklos Nemeth's update
2002-03-23 15:41:17 +00:00
Daniel Stenberg
f73864a045
corrected SSL builds
2002-03-15 14:46:59 +00:00
Daniel Stenberg
9e6cc86bf7
Miklos Nemeth improved
2002-02-06 16:00:55 +00:00
sm
1d1530e14c
Add hash and llist to VC makefile
2002-01-04 23:47:07 +00:00
Daniel Stenberg
2f03ef39d1
SM renamed the debug DLL
2001-12-02 12:09:00 +00:00
sm
30a0bd9cf5
Fixed release-ssl build
2001-11-22 00:12:48 +00:00
Daniel Stenberg
d1ea596f88
SM added connect.obj
2001-11-21 23:10:55 +00:00
Daniel Stenberg
f5ba174f4d
John Lask's new makefile
2001-11-05 11:56:26 +00:00
sm
093c0a098e
Makefile.vc6 changed to include connect.c
2001-10-05 02:27:26 +00:00
Daniel Stenberg
d816fcc965
Linus Nielsen Feltzing changed winsock lib for linking
2001-09-17 14:38:41 +00:00