Daniel Stenberg [Fri, 24 Aug 2001 07:24:34 +0000 (07:24 +0000)]
cleanups
Daniel Stenberg [Fri, 24 Aug 2001 07:01:09 +0000 (07:01 +0000)]
Kevin Roth's comments about -G have been addressed:
o -G -I works on the same command line and makes HEAD instead of GET
o -G with an already present question mark in the URL makes an ampersand get
added as a separator instead
Daniel Stenberg [Fri, 24 Aug 2001 06:31:34 +0000 (06:31 +0000)]
Tim Costello's bug report #454856
Daniel Stenberg [Fri, 24 Aug 2001 06:20:47 +0000 (06:20 +0000)]
strcasecmp() is banned from our code, should be strequal() everywhere!
Tim Costello reported bug report #454858.
Daniel Stenberg [Thu, 23 Aug 2001 14:06:38 +0000 (14:06 +0000)]
When setting *_URL or *_PROXY in *_setopt(), it is important that we check
and possibly free the existing pointer first, and then clear the "allocated"
bit. We previously mistakenly could free the new pointer passed to us by
the friendly user...!
Daniel Stenberg [Thu, 23 Aug 2001 14:05:25 +0000 (14:05 +0000)]
started working on a function for writing (all) cookies, made it possible
to read multiple cookie files, no longer writes to the URL string passed
to the _add() function. The new stuff is now conditionally compiled on the
COOKIE define. Changed the _init() proto.
Daniel Stenberg [Thu, 23 Aug 2001 11:12:07 +0000 (11:12 +0000)]
added FTPS to the list of supported protocols
Daniel Stenberg [Thu, 23 Aug 2001 11:11:13 +0000 (11:11 +0000)]
item 4.6 is now an indication of a crash, not a timeout
Daniel Stenberg [Thu, 23 Aug 2001 11:06:10 +0000 (11:06 +0000)]
As Steve Lhomme pointed out, this generates 'libcurl.dll' now instead of
the previous 'curl.dll'
Daniel Stenberg [Thu, 23 Aug 2001 10:56:48 +0000 (10:56 +0000)]
Nico's update: "modified the build procedure to restore to the right current
directory where the build was started and it will autosense where is was run
from and set up the correct default directory at start of the script."
Daniel Stenberg [Thu, 23 Aug 2001 08:45:20 +0000 (08:45 +0000)]
curl_formadd() using example, the 7.9 style of building rfc1867 form posts
Daniel Stenberg [Thu, 23 Aug 2001 06:10:01 +0000 (06:10 +0000)]
I want Sterling to be my friend, so I wasted some time on splitting up the
huge monster function _ftp() into more little functions. There are still
more that can be done, but this is at least improving readability and
maintainability... :-)
Daniel Stenberg [Wed, 22 Aug 2001 11:25:39 +0000 (11:25 +0000)]
Georg Huettenegger's fixes, man pages converted to HTML pages and included
in release archive
Daniel Stenberg [Wed, 22 Aug 2001 11:24:57 +0000 (11:24 +0000)]
CURLOPT_FTPASCII is the old name, CURLOPT_TRANSFERTEXT is the new
Daniel Stenberg [Wed, 22 Aug 2001 11:23:53 +0000 (11:23 +0000)]
libcurl.3 has the info now
Daniel Stenberg [Wed, 22 Aug 2001 11:23:07 +0000 (11:23 +0000)]
CURLOPT_POST isn't needed these days
Daniel Stenberg [Wed, 22 Aug 2001 11:22:43 +0000 (11:22 +0000)]
updated
Daniel Stenberg [Wed, 22 Aug 2001 11:22:28 +0000 (11:22 +0000)]
libcurl.3 is the man page
Daniel Stenberg [Tue, 21 Aug 2001 13:18:07 +0000 (13:18 +0000)]
Georg Huettenegger's patch curl-7.8.1-pre5-patch-
20010819
Daniel Stenberg [Tue, 21 Aug 2001 12:46:23 +0000 (12:46 +0000)]
added test44 formpost without Expect:, modified test9
Daniel Stenberg [Tue, 21 Aug 2001 09:16:43 +0000 (09:16 +0000)]
run 'make clean' before 'make dist' to make sure the HTML files are up-to-date
Daniel Stenberg [Tue, 21 Aug 2001 09:16:09 +0000 (09:16 +0000)]
added a 'html' target that builds HTML versions from the man page sources.
It requires 'gnroff' and 'man2html' for now. 'make html' will be invoked by
the 'maketgz' script and the HTML files are included in release archives.
Daniel Stenberg [Tue, 21 Aug 2001 09:14:31 +0000 (09:14 +0000)]
make html runs make html in the docs dir
Daniel Stenberg [Tue, 21 Aug 2001 06:56:13 +0000 (06:56 +0000)]
this is replaced with libcurl.3
Daniel Stenberg [Tue, 21 Aug 2001 06:50:45 +0000 (06:50 +0000)]
fflush the progress output, fixed configure.in for SSL without --with-ssl
Daniel Stenberg [Tue, 21 Aug 2001 06:36:30 +0000 (06:36 +0000)]
Troy Engel's fix for running configure without --with-ssl
Daniel Stenberg [Tue, 21 Aug 2001 06:29:56 +0000 (06:29 +0000)]
As Andrés García reported we need to fflush() the data->err so that the
progress meter looks better on windows (and if the data->err is redirected
from stderr it also makes a point)
Daniel Stenberg [Mon, 20 Aug 2001 13:22:37 +0000 (13:22 +0000)]
added "4.5 FIGURE OUT WHAT A POST LOOKS LIKE"
added an online URL to this document
corrected a bad use of -t
Daniel Stenberg [Mon, 20 Aug 2001 07:59:03 +0000 (07:59 +0000)]
7.8.1
Daniel Stenberg [Mon, 20 Aug 2001 07:46:25 +0000 (07:46 +0000)]
libtool 1.3.5 leftover
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
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
Daniel Stenberg [Mon, 20 Aug 2001 07:10:28 +0000 (07:10 +0000)]
Albert Chin's neat configure/package fixes
Daniel Stenberg [Sun, 19 Aug 2001 17:09:06 +0000 (17:09 +0000)]
SM's fix for -G on URLs with host name only
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>
Daniel Stenberg [Fri, 17 Aug 2001 10:24:59 +0000 (10:24 +0000)]
Curl_ prefix added to a few function calls
Daniel Stenberg [Fri, 17 Aug 2001 10:19:26 +0000 (10:19 +0000)]
include getinfo.h for Curl_getinfo() proto
Daniel Stenberg [Fri, 17 Aug 2001 10:14:06 +0000 (10:14 +0000)]
modified to use the renamed kerberos functions with Curl_ prefix
Daniel Stenberg [Fri, 17 Aug 2001 10:13:32 +0000 (10:13 +0000)]
Added two fields in the connectdata struct for kerberos fiddles
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)
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)
Daniel Stenberg [Fri, 17 Aug 2001 10:10:15 +0000 (10:10 +0000)]
Curl_ prefix
Daniel Stenberg [Fri, 17 Aug 2001 10:02:34 +0000 (10:02 +0000)]
cleaned up rewrite
Daniel Stenberg [Thu, 16 Aug 2001 13:40:22 +0000 (13:40 +0000)]
Added -G
Daniel Stenberg [Thu, 16 Aug 2001 13:11:29 +0000 (13:11 +0000)]
updated to the latest fixes to the shell script
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
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
Daniel Stenberg [Thu, 16 Aug 2001 13:02:46 +0000 (13:02 +0000)]
Added --include to set the compiler include flag for libcurl
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
Daniel Stenberg [Wed, 15 Aug 2001 21:54:24 +0000 (21:54 +0000)]
IPv6-addresses can have dots too!
Daniel Stenberg [Wed, 15 Aug 2001 21:40:09 +0000 (21:40 +0000)]
extract IPv6-style specified IP-addresses properly
Daniel Stenberg [Wed, 15 Aug 2001 18:42:17 +0000 (18:42 +0000)]
const fixes
Daniel Stenberg [Wed, 15 Aug 2001 18:40:43 +0000 (18:40 +0000)]
-
Daniel Stenberg [Wed, 15 Aug 2001 18:38:56 +0000 (18:38 +0000)]
Corrected the years in the copyright line
Daniel Stenberg [Wed, 15 Aug 2001 18:34:25 +0000 (18:34 +0000)]
const argument
Daniel Stenberg [Wed, 15 Aug 2001 18:33:52 +0000 (18:33 +0000)]
curl_getenv() now takes a const char * as argument
Daniel Stenberg [Wed, 15 Aug 2001 18:17:14 +0000 (18:17 +0000)]
add include of stdio.h, so that base64.c compiles
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
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.
Daniel Stenberg [Wed, 15 Aug 2001 12:26:34 +0000 (12:26 +0000)]
removed one compiler error and two "unused variable" warnings
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.
Sterling Hughes [Wed, 15 Aug 2001 07:21:21 +0000 (07:21 +0000)]
more _ftp_cwd
Sterling Hughes [Wed, 15 Aug 2001 07:14:51 +0000 (07:14 +0000)]
ftp_cwd() abstraction
"%" -> "%s"
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).
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
Daniel Stenberg [Wed, 15 Aug 2001 06:54:51 +0000 (06:54 +0000)]
modified the Curl_perform() proto
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
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
Daniel Stenberg [Wed, 15 Aug 2001 06:53:34 +0000 (06:53 +0000)]
moved the url.c prototypes to here
Daniel Stenberg [Wed, 15 Aug 2001 06:53:10 +0000 (06:53 +0000)]
calls Curl_initinfo() in perform().
Sterling Hughes [Wed, 15 Aug 2001 06:52:42 +0000 (06:52 +0000)]
begin abstraction process...
Daniel Stenberg [Wed, 15 Aug 2001 06:52:33 +0000 (06:52 +0000)]
prototypes for getinfo.c
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
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