platform/upstream/curl.git
23 years agoupdated version in header as we have 7.8.1 details in here
Daniel Stenberg [Mon, 20 Aug 2001 07:36:57 +0000 (07:36 +0000)]
updated version in header as we have 7.8.1 details in here

23 years agoRFC2732 parsing, curl-config patching, -G added, kerberos name space fixing,
Daniel Stenberg [Mon, 20 Aug 2001 07:25:18 +0000 (07:25 +0000)]
RFC2732 parsing, curl-config patching, -G added, kerberos name space fixing,
configure fixes, libtool cleanups

23 years agoAlbert Chin's neat configure/package fixes
Daniel Stenberg [Mon, 20 Aug 2001 07:10:28 +0000 (07:10 +0000)]
Albert Chin's neat configure/package fixes

23 years agoSM's fix for -G on URLs with host name only
Daniel Stenberg [Sun, 19 Aug 2001 17:09:06 +0000 (17:09 +0000)]
SM's fix for -G on URLs with host name only

23 years ago<couldn't resist>
Sterling Hughes [Sat, 18 Aug 2001 02:42:23 +0000 (02:42 +0000)]
<couldn't resist>
  Use a more appropriate variable name
</couldn't resist>

23 years agoCurl_ prefix added to a few function calls
Daniel Stenberg [Fri, 17 Aug 2001 10:24:59 +0000 (10:24 +0000)]
Curl_ prefix added to a few function calls

23 years agoinclude getinfo.h for Curl_getinfo() proto
Daniel Stenberg [Fri, 17 Aug 2001 10:19:26 +0000 (10:19 +0000)]
include getinfo.h for Curl_getinfo() proto

23 years agomodified to use the renamed kerberos functions with Curl_ prefix
Daniel Stenberg [Fri, 17 Aug 2001 10:14:06 +0000 (10:14 +0000)]
modified to use the renamed kerberos functions with Curl_ prefix

23 years agoAdded two fields in the connectdata struct for kerberos fiddles
Daniel Stenberg [Fri, 17 Aug 2001 10:13:32 +0000 (10:13 +0000)]
Added two fields in the connectdata struct for kerberos fiddles

23 years agouse the Curl_ name space
Daniel Stenberg [Fri, 17 Aug 2001 10:12:51 +0000 (10:12 +0000)]
use the Curl_ name space
removed unused code
removed use of global variable(s)

23 years agoremoved dead/unused code
Daniel Stenberg [Fri, 17 Aug 2001 10:11:46 +0000 (10:11 +0000)]
removed dead/unused code
removed use of global variables
removed name space pollutions (added Curl_ prefixes)

23 years agoCurl_ prefix
Daniel Stenberg [Fri, 17 Aug 2001 10:10:15 +0000 (10:10 +0000)]
Curl_ prefix

23 years agocleaned up rewrite
Daniel Stenberg [Fri, 17 Aug 2001 10:02:34 +0000 (10:02 +0000)]
cleaned up rewrite

23 years agoAdded -G
Daniel Stenberg [Thu, 16 Aug 2001 13:40:22 +0000 (13:40 +0000)]
Added -G

23 years agoupdated to the latest fixes to the shell script
Daniel Stenberg [Thu, 16 Aug 2001 13:11:29 +0000 (13:11 +0000)]
updated to the latest fixes to the shell script

23 years agohm, --cflags should only show the flags a 3rd party program would need
Daniel Stenberg [Thu, 16 Aug 2001 13:09:20 +0000 (13:09 +0000)]
hm, --cflags should only show the flags a 3rd party program would need

23 years agoremoved --include again and stuffed the libcurl's include path in --cflags
Daniel Stenberg [Thu, 16 Aug 2001 13:05:00 +0000 (13:05 +0000)]
removed --include again and stuffed the libcurl's include path in --cflags

23 years agoAdded --include to set the compiler include flag for libcurl
Daniel Stenberg [Thu, 16 Aug 2001 13:02:46 +0000 (13:02 +0000)]
Added --include to set the compiler include flag for libcurl

23 years agoAdded -lcurl for --libs so that single option should now suffice to use
Daniel Stenberg [Thu, 16 Aug 2001 12:58:53 +0000 (12:58 +0000)]
Added -lcurl for --libs so that single option should now suffice to use
when building anything with libcurl

23 years agoIPv6-addresses can have dots too!
Daniel Stenberg [Wed, 15 Aug 2001 21:54:24 +0000 (21:54 +0000)]
IPv6-addresses can have dots too!

23 years agoextract IPv6-style specified IP-addresses properly
Daniel Stenberg [Wed, 15 Aug 2001 21:40:09 +0000 (21:40 +0000)]
extract IPv6-style specified IP-addresses properly

23 years agoconst fixes
Daniel Stenberg [Wed, 15 Aug 2001 18:42:17 +0000 (18:42 +0000)]
const fixes

23 years ago-
Daniel Stenberg [Wed, 15 Aug 2001 18:40:43 +0000 (18:40 +0000)]
-

23 years agoCorrected the years in the copyright line
Daniel Stenberg [Wed, 15 Aug 2001 18:38:56 +0000 (18:38 +0000)]
Corrected the years in the copyright line

23 years agoconst argument
Daniel Stenberg [Wed, 15 Aug 2001 18:34:25 +0000 (18:34 +0000)]
const argument

23 years agocurl_getenv() now takes a const char * as argument
Daniel Stenberg [Wed, 15 Aug 2001 18:33:52 +0000 (18:33 +0000)]
curl_getenv() now takes a const char * as argument

23 years agoadd include of stdio.h, so that base64.c compiles
Daniel Stenberg [Wed, 15 Aug 2001 18:17:14 +0000 (18:17 +0000)]
add include of stdio.h, so that base64.c compiles

23 years agoCURL_GLOBAL_WIN32, config-vms.h, Borland makefile, -w %{http_code},
Daniel Stenberg [Wed, 15 Aug 2001 13:41:48 +0000 (13:41 +0000)]
CURL_GLOBAL_WIN32, config-vms.h,  Borland makefile, -w %{http_code},
Bug #12733 over on php.net

23 years agoUsing CURLOPT_POST without using CURLOPT_POSTFIELDS caused us to strlen()
Daniel Stenberg [Wed, 15 Aug 2001 13:38:36 +0000 (13:38 +0000)]
Using CURLOPT_POST without using CURLOPT_POSTFIELDS caused us to strlen()
a NULL pointer. Now, we treat a missing CURLOPT_POSTFIELDS as if there is
no data to send.

23 years agoremoved one compiler error and two "unused variable" warnings
Daniel Stenberg [Wed, 15 Aug 2001 12:26:34 +0000 (12:26 +0000)]
removed one compiler error and two "unused variable" warnings

23 years agoSM's -G patch. There's some room for improvements still, as a command line
Daniel Stenberg [Wed, 15 Aug 2001 07:22:32 +0000 (07:22 +0000)]
SM's -G patch. There's some room for improvements still, as a command line
like: "curl -d moo=foo -G daniel.haxx.se" currently fails.

23 years agomore _ftp_cwd
Sterling Hughes [Wed, 15 Aug 2001 07:21:21 +0000 (07:21 +0000)]
more _ftp_cwd

23 years agoftp_cwd() abstraction
Sterling Hughes [Wed, 15 Aug 2001 07:14:51 +0000 (07:14 +0000)]
ftp_cwd() abstraction

"%" -> "%s"

23 years agoThis can be used in another place (Curl_ftp_done :)...
Sterling Hughes [Wed, 15 Aug 2001 06:58:56 +0000 (06:58 +0000)]
This can be used in another place (Curl_ftp_done :)...

declare at the top of the file, put the private functions at the bottom of
the file, however, this is clearer imho (since _ftp is already there).

23 years agonon-public functions should not use CURL * as arguments, so I changed them
Daniel Stenberg [Wed, 15 Aug 2001 06:55:42 +0000 (06:55 +0000)]
non-public functions should not use CURL * as arguments, so I changed them
to use 'struct UrlData *' instead

23 years agomodified the Curl_perform() proto
Daniel Stenberg [Wed, 15 Aug 2001 06:54:51 +0000 (06:54 +0000)]
modified the Curl_perform() proto

23 years agomust merge before commit
Sterling Hughes [Wed, 15 Aug 2001 06:54:16 +0000 (06:54 +0000)]
must merge before commit
must merge before commit
must merge before commit

23 years agoremoved protos that were moved to url.h and the new getinfo.h
Daniel Stenberg [Wed, 15 Aug 2001 06:54:09 +0000 (06:54 +0000)]
removed protos that were moved to url.h and the new getinfo.h

23 years agomoved the url.c prototypes to here
Daniel Stenberg [Wed, 15 Aug 2001 06:53:34 +0000 (06:53 +0000)]
moved the url.c prototypes to here

23 years agocalls Curl_initinfo() in perform().
Daniel Stenberg [Wed, 15 Aug 2001 06:53:10 +0000 (06:53 +0000)]
calls Curl_initinfo() in perform().

23 years agobegin abstraction process...
Sterling Hughes [Wed, 15 Aug 2001 06:52:42 +0000 (06:52 +0000)]
begin abstraction process...

23 years agoprototypes for getinfo.c
Daniel Stenberg [Wed, 15 Aug 2001 06:52:33 +0000 (06:52 +0000)]
prototypes for getinfo.c

23 years agoAdded Curl_initinfo() that's supposed to init session-specific getinfo-
Daniel Stenberg [Wed, 15 Aug 2001 06:52:15 +0000 (06:52 +0000)]
Added Curl_initinfo() that's supposed to init session-specific getinfo-
variables

23 years agointernal functions should not use 'CURL *' as arguments, I replaced them
Daniel Stenberg [Wed, 15 Aug 2001 06:51:37 +0000 (06:51 +0000)]
internal functions should not use 'CURL *' as arguments, I replaced them
with the more appropriate 'struct UrlData *' instead.

23 years agoadded getinfo.h
Daniel Stenberg [Wed, 15 Aug 2001 06:50:30 +0000 (06:50 +0000)]
added getinfo.h

23 years agoDavid James made it build 7.8.1 pre 5
Daniel Stenberg [Wed, 15 Aug 2001 06:13:58 +0000 (06:13 +0000)]
David James made it build 7.8.1 pre 5

23 years agoCURL_GLOBAL_WIN32 updates
Daniel Stenberg [Tue, 14 Aug 2001 11:04:58 +0000 (11:04 +0000)]
CURL_GLOBAL_WIN32 updates

23 years ago"added in 7.8.1"
Daniel Stenberg [Tue, 14 Aug 2001 11:04:40 +0000 (11:04 +0000)]
"added in 7.8.1"

23 years agogeez, I'd ruined Nico's socklen_t define, corrected it now
Daniel Stenberg [Tue, 14 Aug 2001 09:51:35 +0000 (09:51 +0000)]
geez, I'd ruined Nico's socklen_t define, corrected it now

23 years agoNico's updates
Daniel Stenberg [Tue, 14 Aug 2001 09:48:45 +0000 (09:48 +0000)]
Nico's updates

23 years agoredirected stderr problem fixed, VC build with SSL makefile fix, big form
Daniel Stenberg [Tue, 14 Aug 2001 09:41:51 +0000 (09:41 +0000)]
redirected stderr problem fixed, VC build with SSL makefile fix, big form
post fix, no more globals in ssl code fix, size_t and const fix, a few VMS
changes

23 years agoexchanged the second and third argument to fwrite(), as that makes it look
Daniel Stenberg [Tue, 14 Aug 2001 09:26:32 +0000 (09:26 +0000)]
exchanged the second and third argument to fwrite(), as that makes it look
good on VMS.
Removed a '#if 0' section, made Curl_getmyhost static and cut off the 'Curl_'
prefix

23 years ago#include <curl/mprintf.h>
Daniel Stenberg [Tue, 14 Aug 2001 09:25:15 +0000 (09:25 +0000)]
#include <curl/mprintf.h>

23 years agocurl_memdebug takes a const argument now
Daniel Stenberg [Tue, 14 Aug 2001 09:24:48 +0000 (09:24 +0000)]
curl_memdebug takes a const argument now

23 years ago(un)signed and const cleanup
Daniel Stenberg [Tue, 14 Aug 2001 09:16:46 +0000 (09:16 +0000)]
(un)signed and const cleanup

23 years ago--enable-debug now sets the following CFLAGS:
Daniel Stenberg [Tue, 14 Aug 2001 08:49:16 +0000 (08:49 +0000)]
--enable-debug now sets the following CFLAGS:
-W -Wall -Wwrite-strings -pedantic -g

23 years agominor fixes for compiler warnings
Daniel Stenberg [Tue, 14 Aug 2001 08:40:39 +0000 (08:40 +0000)]
minor fixes for compiler warnings

23 years agoCurl_open() only take one argument now,
Daniel Stenberg [Tue, 14 Aug 2001 08:40:06 +0000 (08:40 +0000)]
Curl_open() only take one argument now,
Curl_ldap_done() and Curl_dict_done() were removed,
compiler warnings corrected

23 years agoconst and (un)signed fixes
Daniel Stenberg [Tue, 14 Aug 2001 08:39:01 +0000 (08:39 +0000)]
const and (un)signed fixes

23 years agoconst and unsigned/signed fixes
Daniel Stenberg [Tue, 14 Aug 2001 08:38:08 +0000 (08:38 +0000)]
const and unsigned/signed fixes

23 years agoremoved the use of the global array for the password that was necessary
Daniel Stenberg [Tue, 14 Aug 2001 08:36:30 +0000 (08:36 +0000)]
removed the use of the global array for the password that was necessary
for OpenSSL versions prior to 0.9.4, this is conditional and should still
work with older versions.

23 years agosize_t and const
Daniel Stenberg [Tue, 14 Aug 2001 08:34:55 +0000 (08:34 +0000)]
size_t and const

23 years agocleaned up some of the size_t and const mess
Daniel Stenberg [Tue, 14 Aug 2001 08:34:09 +0000 (08:34 +0000)]
cleaned up some of the size_t and const mess

23 years agoremoved unused code, added const
Daniel Stenberg [Tue, 14 Aug 2001 08:33:24 +0000 (08:33 +0000)]
removed unused code, added const

23 years agocleaned up some picky compiler warnings and indented the code curl style
Daniel Stenberg [Tue, 14 Aug 2001 08:32:50 +0000 (08:32 +0000)]
cleaned up some picky compiler warnings and indented the code curl style

23 years agoadded const char * => char * typecast
Daniel Stenberg [Tue, 14 Aug 2001 08:32:03 +0000 (08:32 +0000)]
added const char * => char * typecast

23 years agoconst-ified lots of function arguments
Daniel Stenberg [Tue, 14 Aug 2001 08:31:27 +0000 (08:31 +0000)]
const-ified lots of function arguments

23 years agoconst-ified the code, removed Curl_ldap_done()
Daniel Stenberg [Tue, 14 Aug 2001 08:30:43 +0000 (08:30 +0000)]
const-ified the code, removed Curl_ldap_done()

23 years agofixed picky compiler warnings, unused arguments, const at proper places and
Daniel Stenberg [Tue, 14 Aug 2001 08:30:08 +0000 (08:30 +0000)]
fixed picky compiler warnings, unused arguments, const at proper places and
I also indented the source code to fit curl "standard"

23 years agoCurl_httpchunk_read now takes size_t size arguments instead of the previous
Daniel Stenberg [Tue, 14 Aug 2001 08:29:09 +0000 (08:29 +0000)]
Curl_httpchunk_read now takes size_t size arguments instead of the previous
ssize_t

23 years agomade some char * into const char * and I removed the check for size > 0
Daniel Stenberg [Tue, 14 Aug 2001 08:28:15 +0000 (08:28 +0000)]
made some char * into const char * and I removed the check for size > 0
in the add_buffer function.

23 years agoadded const to the prompt char * in the proto
Daniel Stenberg [Tue, 14 Aug 2001 08:27:07 +0000 (08:27 +0000)]
added const to the prompt char * in the proto

23 years agoadded typecast when converting const char * to char *
Daniel Stenberg [Tue, 14 Aug 2001 08:26:20 +0000 (08:26 +0000)]
added typecast when converting const char * to char *

23 years agoadded const to the function protos
Daniel Stenberg [Tue, 14 Aug 2001 08:25:47 +0000 (08:25 +0000)]
added const to the function protos

23 years agoCurl_ftpsendf's third argument is now a const char *
Daniel Stenberg [Tue, 14 Aug 2001 08:25:08 +0000 (08:25 +0000)]
Curl_ftpsendf's third argument is now a const char *

23 years agocorrected the size_t weirdness. Expect size_t to be unsigned. Moved most
Daniel Stenberg [Tue, 14 Aug 2001 08:24:37 +0000 (08:24 +0000)]
corrected the size_t weirdness. Expect size_t to be unsigned. Moved most
over to ssize_t that is signed. Removed all the special-purpose VMS #ifdefs
that were added for this.

23 years agoadded a few consts and a few typecasts to please picky compiler options
Daniel Stenberg [Tue, 14 Aug 2001 08:23:20 +0000 (08:23 +0000)]
added a few consts and a few typecasts to please picky compiler options

23 years agosize_t => ssize_t, removed the special VMS fix for that purpose
Daniel Stenberg [Tue, 14 Aug 2001 08:22:27 +0000 (08:22 +0000)]
size_t => ssize_t, removed the special VMS fix for that purpose

23 years agoadded typecasts when converting from unsigned int to int
Daniel Stenberg [Tue, 14 Aug 2001 08:20:17 +0000 (08:20 +0000)]
added typecasts when converting from unsigned int to int

23 years agoAdded an empty win32_cleanup for non-windows systems to prevent compiler
Daniel Stenberg [Tue, 14 Aug 2001 08:19:40 +0000 (08:19 +0000)]
Added an empty win32_cleanup for non-windows systems to prevent compiler
warnings, changed the Curl_open() call as the second argument was never
used anyway

23 years agoremoved the *done() function as it served no purpose, added type casts when
Daniel Stenberg [Tue, 14 Aug 2001 08:18:35 +0000 (08:18 +0000)]
removed the *done() function as it served no purpose, added type casts when
converting from 'const char *' to 'char *' to please my picky compiler
options

23 years agocommented out empty else blocks to shut up pedantic compilers
Daniel Stenberg [Tue, 14 Aug 2001 08:17:29 +0000 (08:17 +0000)]
commented out empty else blocks to shut up pedantic compilers

23 years agoAdded 'const' to the string arrays
Daniel Stenberg [Tue, 14 Aug 2001 08:16:53 +0000 (08:16 +0000)]
Added 'const' to the string arrays

23 years agocorrected dubious use of the same variable twice in a function call,
Daniel Stenberg [Tue, 14 Aug 2001 06:06:15 +0000 (06:06 +0000)]
corrected dubious use of the same variable twice in a function call,
gcc 3.0 warned about it

23 years agocurl_formparse() should no longer have any size-limit in the data section
Daniel Stenberg [Mon, 13 Aug 2001 06:33:26 +0000 (06:33 +0000)]
curl_formparse() should no longer have any size-limit in the data section
after this patch from Peter Todd

23 years agocorrected minor source indentation error
Daniel Stenberg [Fri, 10 Aug 2001 14:10:19 +0000 (14:10 +0000)]
corrected minor source indentation error

23 years agomoved the download/upload speed calculations, to be made on every invoke
Daniel Stenberg [Fri, 10 Aug 2001 06:24:49 +0000 (06:24 +0000)]
moved the download/upload speed calculations, to be made on every invoke
of the progressupdate, as on very quick transfers they wouldn't always get
calculated!

23 years agoFixed bugs for building debug and SSL lib in VC makefile
sm [Thu, 9 Aug 2001 22:43:43 +0000 (22:43 +0000)]
Fixed bugs for building debug and SSL lib in VC makefile

23 years agoAdded CURLOPT_HTTPGET and CURLOPT_SSL_VERIFYHOST, added notes to the two
Daniel Stenberg [Thu, 9 Aug 2001 12:08:23 +0000 (12:08 +0000)]
Added CURLOPT_HTTPGET and CURLOPT_SSL_VERIFYHOST, added notes to the two
timeout-options that they don't work in multi-threaded programs.

23 years agonon-blocking connect please
Daniel Stenberg [Thu, 9 Aug 2001 12:04:16 +0000 (12:04 +0000)]
non-blocking connect please

23 years agostrip off user-agent before checking protocol
Daniel Stenberg [Thu, 9 Aug 2001 11:58:56 +0000 (11:58 +0000)]
strip off user-agent before checking protocol

23 years agoThe redirected error stream was closed before curl_easy_cleanup() was made,
Daniel Stenberg [Thu, 9 Aug 2001 09:47:53 +0000 (09:47 +0000)]
The redirected error stream was closed before curl_easy_cleanup() was made,
and when VERBOSE was enabled, that used the stream. Also, the stream was
closed even if we looped to get more files.
Corrects Dustin Boswell's bug report #441610

23 years agoremovied $Id:$ again, this is treated as a binary file and then that field
Daniel Stenberg [Thu, 9 Aug 2001 09:13:36 +0000 (09:13 +0000)]
removied $Id:$ again, this is treated as a binary file and then that field
isn't updated! :-O

23 years agoAdded $Id:$ to the header
Daniel Stenberg [Thu, 9 Aug 2001 09:10:36 +0000 (09:10 +0000)]
Added $Id:$ to the header

23 years agoAdded $Id:$ string for file version in the header
Daniel Stenberg [Thu, 9 Aug 2001 09:10:13 +0000 (09:10 +0000)]
Added $Id:$ string for file version in the header

23 years agowhen a test expects an error code but gets a different one, we now output
Daniel Stenberg [Wed, 8 Aug 2001 07:51:00 +0000 (07:51 +0000)]
when a test expects an error code but gets a different one, we now output
both of them

23 years agoNico's notes about porting to VMS
Daniel Stenberg [Wed, 8 Aug 2001 07:50:14 +0000 (07:50 +0000)]
Nico's notes about porting to VMS

23 years agotest cases, verifyhost, curl -E
Daniel Stenberg [Wed, 8 Aug 2001 07:49:00 +0000 (07:49 +0000)]
test cases, verifyhost, curl -E

23 years agoadded unfortunate but necessary special-purpose files for VMS and RISC OS
Daniel Stenberg [Wed, 8 Aug 2001 07:46:44 +0000 (07:46 +0000)]
added unfortunate but necessary special-purpose files for VMS and RISC OS

23 years agoThe file name given to -E can now contain drive letters on windows, if they
Daniel Stenberg [Wed, 8 Aug 2001 07:35:57 +0000 (07:35 +0000)]
The file name given to -E can now contain drive letters on windows, if they
start the file name as in 'X:\' where X is any letter. The colon otherwise
normally separate the file name from the password.