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.
Daniel Stenberg [Wed, 15 Aug 2001 06:50:30 +0000 (06:50 +0000)]
added getinfo.h
Daniel Stenberg [Wed, 15 Aug 2001 06:13:58 +0000 (06:13 +0000)]
David James made it build 7.8.1 pre 5
Daniel Stenberg [Tue, 14 Aug 2001 11:04:58 +0000 (11:04 +0000)]
CURL_GLOBAL_WIN32 updates
Daniel Stenberg [Tue, 14 Aug 2001 11:04:40 +0000 (11:04 +0000)]
"added in 7.8.1"
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
Daniel Stenberg [Tue, 14 Aug 2001 09:48:45 +0000 (09:48 +0000)]
Nico's updates
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
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
Daniel Stenberg [Tue, 14 Aug 2001 09:25:15 +0000 (09:25 +0000)]
#include <curl/mprintf.h>
Daniel Stenberg [Tue, 14 Aug 2001 09:24:48 +0000 (09:24 +0000)]
curl_memdebug takes a const argument now
Daniel Stenberg [Tue, 14 Aug 2001 09:16:46 +0000 (09:16 +0000)]
(un)signed and const cleanup
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
Daniel Stenberg [Tue, 14 Aug 2001 08:40:39 +0000 (08:40 +0000)]
minor fixes for compiler warnings
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
Daniel Stenberg [Tue, 14 Aug 2001 08:39:01 +0000 (08:39 +0000)]
const and (un)signed fixes
Daniel Stenberg [Tue, 14 Aug 2001 08:38:08 +0000 (08:38 +0000)]
const and unsigned/signed fixes
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.
Daniel Stenberg [Tue, 14 Aug 2001 08:34:55 +0000 (08:34 +0000)]
size_t and const
Daniel Stenberg [Tue, 14 Aug 2001 08:34:09 +0000 (08:34 +0000)]
cleaned up some of the size_t and const mess
Daniel Stenberg [Tue, 14 Aug 2001 08:33:24 +0000 (08:33 +0000)]
removed unused code, added const
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
Daniel Stenberg [Tue, 14 Aug 2001 08:32:03 +0000 (08:32 +0000)]
added const char * => char * typecast
Daniel Stenberg [Tue, 14 Aug 2001 08:31:27 +0000 (08:31 +0000)]
const-ified lots of function arguments
Daniel Stenberg [Tue, 14 Aug 2001 08:30:43 +0000 (08:30 +0000)]
const-ified the code, removed Curl_ldap_done()
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"
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
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.
Daniel Stenberg [Tue, 14 Aug 2001 08:27:07 +0000 (08:27 +0000)]
added const to the prompt char * in the proto
Daniel Stenberg [Tue, 14 Aug 2001 08:26:20 +0000 (08:26 +0000)]
added typecast when converting const char * to char *
Daniel Stenberg [Tue, 14 Aug 2001 08:25:47 +0000 (08:25 +0000)]
added const to the function protos
Daniel Stenberg [Tue, 14 Aug 2001 08:25:08 +0000 (08:25 +0000)]
Curl_ftpsendf's third argument is now a const char *
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.
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
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
Daniel Stenberg [Tue, 14 Aug 2001 08:20:17 +0000 (08:20 +0000)]
added typecasts when converting from unsigned int to int
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
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
Daniel Stenberg [Tue, 14 Aug 2001 08:17:29 +0000 (08:17 +0000)]
commented out empty else blocks to shut up pedantic compilers
Daniel Stenberg [Tue, 14 Aug 2001 08:16:53 +0000 (08:16 +0000)]
Added 'const' to the string arrays
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
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
Daniel Stenberg [Fri, 10 Aug 2001 14:10:19 +0000 (14:10 +0000)]
corrected minor source indentation error
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!
sm [Thu, 9 Aug 2001 22:43:43 +0000 (22:43 +0000)]
Fixed bugs for building debug and SSL lib in VC makefile
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.
Daniel Stenberg [Thu, 9 Aug 2001 12:04:16 +0000 (12:04 +0000)]
non-blocking connect please
Daniel Stenberg [Thu, 9 Aug 2001 11:58:56 +0000 (11:58 +0000)]
strip off user-agent before checking protocol
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
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
Daniel Stenberg [Thu, 9 Aug 2001 09:10:36 +0000 (09:10 +0000)]
Added $Id:$ to the header
Daniel Stenberg [Thu, 9 Aug 2001 09:10:13 +0000 (09:10 +0000)]
Added $Id:$ string for file version in the header
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
Daniel Stenberg [Wed, 8 Aug 2001 07:50:14 +0000 (07:50 +0000)]
Nico's notes about porting to VMS
Daniel Stenberg [Wed, 8 Aug 2001 07:49:00 +0000 (07:49 +0000)]
test cases, verifyhost, curl -E
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
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.
Daniel Stenberg [Wed, 8 Aug 2001 07:23:23 +0000 (07:23 +0000)]
credit where credit is due, added a bunch of recent contributors
Daniel Stenberg [Wed, 8 Aug 2001 07:16:47 +0000 (07:16 +0000)]
Patrick Bihan-Faou introduced CURLOPT_SSL_VERIFYHOST and code to deal with
it.
Daniel Stenberg [Wed, 8 Aug 2001 07:15:00 +0000 (07:15 +0000)]
Patrick Bihan-Faou's verifyhost addition
Daniel Stenberg [Wed, 8 Aug 2001 06:05:06 +0000 (06:05 +0000)]
config.h file for RISC OS compiles
Daniel Stenberg [Wed, 8 Aug 2001 06:04:34 +0000 (06:04 +0000)]
script to build curl on VMS
Daniel Stenberg [Tue, 7 Aug 2001 21:36:07 +0000 (21:36 +0000)]
replacing FILE * with common file descriptors?
Daniel Stenberg [Tue, 7 Aug 2001 21:21:24 +0000 (21:21 +0000)]
language correction
Daniel Stenberg [Tue, 7 Aug 2001 18:02:37 +0000 (18:02 +0000)]
added Rick Jones's more polite wording of 1.7, makes it better and friendlier
Daniel Stenberg [Tue, 7 Aug 2001 12:42:23 +0000 (12:42 +0000)]
nine new test cases
Daniel Stenberg [Tue, 7 Aug 2001 11:17:37 +0000 (11:17 +0000)]
added "1.7 What about CURL from curl.com?"
Daniel Stenberg [Tue, 7 Aug 2001 09:21:30 +0000 (09:21 +0000)]
test 202 - two file:// URLs in one command line
Daniel Stenberg [Tue, 7 Aug 2001 09:16:49 +0000 (09:16 +0000)]
added test 201, file:// with missing file
Daniel Stenberg [Mon, 6 Aug 2001 13:44:36 +0000 (13:44 +0000)]
VMS fixes, file:// changes, curl-config --libs patch
Daniel Stenberg [Mon, 6 Aug 2001 13:35:58 +0000 (13:35 +0000)]
Heikki Korpela posted a patch that makes --libs include the directory in
which libcurl itself is installed in.
Daniel Stenberg [Mon, 6 Aug 2001 13:19:43 +0000 (13:19 +0000)]
Nico's VMS fixes added
Daniel Stenberg [Mon, 6 Aug 2001 13:18:34 +0000 (13:18 +0000)]
Added curlmsg.msg to the distribution
Daniel Stenberg [Mon, 6 Aug 2001 13:18:06 +0000 (13:18 +0000)]
used under VMS
Daniel Stenberg [Mon, 6 Aug 2001 12:47:39 +0000 (12:47 +0000)]
Nico's fixes for VMS, most of these are fixes for bad uses of size_t that
forgets that it is very often unsigned. These should be fixed globally and
then many #ifdef VMS lines can be removed.
Daniel Stenberg [Mon, 6 Aug 2001 12:36:18 +0000 (12:36 +0000)]
Curl_FormFree renamed to Curl_formclean, as it turns out VMS for example
requires all global symbols to be *case insentively* unique! curl_formfree
is a global function we shouldn't touch.
Daniel Stenberg [Mon, 6 Aug 2001 12:27:28 +0000 (12:27 +0000)]
adjusted for VMS
Daniel Stenberg [Mon, 6 Aug 2001 12:26:27 +0000 (12:26 +0000)]
Nico's config.h for VMS
Daniel Stenberg [Mon, 6 Aug 2001 12:24:22 +0000 (12:24 +0000)]
Nico's VMS fixes
Daniel Stenberg [Mon, 6 Aug 2001 12:23:31 +0000 (12:23 +0000)]
Nico's VMS adjustment
Daniel Stenberg [Mon, 6 Aug 2001 12:22:48 +0000 (12:22 +0000)]
VMS adjustments. The IOCTL_3_ARGS #define used now should be moved to become
a configure checked one.
Daniel Stenberg [Mon, 6 Aug 2001 12:20:28 +0000 (12:20 +0000)]
Nico Baggus made it work and compile under VMS!
Daniel Stenberg [Mon, 6 Aug 2001 12:19:26 +0000 (12:19 +0000)]
Nico Baggus' VMS adjustments
Daniel Stenberg [Mon, 6 Aug 2001 12:17:43 +0000 (12:17 +0000)]
VMS #ifdefs added. several related to size_t problems that we must address
globally anyway... check these as soon as the size_t fixes are in place
Daniel Stenberg [Mon, 6 Aug 2001 12:16:19 +0000 (12:16 +0000)]
made this whole file #ifdef WIN32
Daniel Stenberg [Mon, 6 Aug 2001 12:14:53 +0000 (12:14 +0000)]
VMS #include fixes,
file:// URL treatment improvements
Daniel Stenberg [Mon, 6 Aug 2001 12:10:00 +0000 (12:10 +0000)]
adjusted to the correct treatmeant of file:// URLs
Daniel Stenberg [Mon, 6 Aug 2001 10:09:43 +0000 (10:09 +0000)]
Added RISC OS and OpenVMS to ported operating systems
Daniel Stenberg [Mon, 6 Aug 2001 08:43:37 +0000 (08:43 +0000)]
7.8.1-pre3 commit
Daniel Stenberg [Mon, 6 Aug 2001 08:22:26 +0000 (08:22 +0000)]
Jonathan Hseu noticed that you couldn't get a header callback unless you
set CURLOPT_WRITEHEADER to non-NULL, even if you didn't care about that
data. This is now fixed.
Daniel Stenberg [Mon, 6 Aug 2001 08:18:15 +0000 (08:18 +0000)]
corrected the comment for CURLOPT_WRITEHEADER in setopt(), and made it
read a void * and not a FILE *, as that was how it used to work and not
anymore...
Daniel Stenberg [Sun, 5 Aug 2001 13:00:40 +0000 (13:00 +0000)]
many fixes mailed in during July
Daniel Stenberg [Sun, 5 Aug 2001 12:34:07 +0000 (12:34 +0000)]
curl_escape() no longer attempts to detect already encoded stuff (in order
not to re-encode it).
Daniel Stenberg [Sun, 5 Aug 2001 12:30:57 +0000 (12:30 +0000)]
- Sergio Ballestrero provided a patch for reading responses from NCSA httpd
1.5.x servers, as they return really screwed up response headers when asked
for with HTTP 1.1.
Daniel Stenberg [Sat, 4 Aug 2001 14:42:41 +0000 (14:42 +0000)]
-G or similar to make -d data get into a GET
Daniel Stenberg [Fri, 3 Aug 2001 15:11:28 +0000 (15:11 +0000)]
complete rewrite to avoid the BSD license in the previous version
Daniel Stenberg [Fri, 3 Aug 2001 14:06:25 +0000 (14:06 +0000)]
clarified '-d @filename' with a tiny example
Daniel Stenberg [Fri, 3 Aug 2001 13:52:06 +0000 (13:52 +0000)]
fixed the header that wrongly was the krb4-style one
Daniel Stenberg [Fri, 3 Aug 2001 13:51:44 +0000 (13:51 +0000)]
Andrew Francis base64 decode, my previous base64 encoder, new source header.
No BSD-style license.
Daniel Stenberg [Fri, 3 Aug 2001 11:53:16 +0000 (11:53 +0000)]
added CURLOPT_HTTPGET