platform/upstream/curl.git
23 years agocleanups
Daniel Stenberg [Fri, 24 Aug 2001 07:24:34 +0000 (07:24 +0000)]
cleanups

23 years agoKevin Roth's comments about -G have been addressed:
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

23 years agoTim Costello's bug report #454856
Daniel Stenberg [Fri, 24 Aug 2001 06:31:34 +0000 (06:31 +0000)]
Tim Costello's bug report #454856

23 years agostrcasecmp() is banned from our code, should be strequal() everywhere!
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.

23 years agoWhen setting *_URL or *_PROXY in *_setopt(), it is important that we check
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...!

23 years agostarted working on a function for writing (all) cookies, made it possible
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.

23 years agoadded FTPS to the list of supported protocols
Daniel Stenberg [Thu, 23 Aug 2001 11:12:07 +0000 (11:12 +0000)]
added FTPS to the list of supported protocols

23 years agoitem 4.6 is now an indication of a crash, not a timeout
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

23 years agoAs Steve Lhomme pointed out, this generates 'libcurl.dll' now instead of
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'

23 years agoNico's update: "modified the build procedure to restore to the right current
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."

23 years agocurl_formadd() using example, the 7.9 style of building rfc1867 form posts
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

23 years agoI want Sterling to be my friend, so I wasted some time on splitting up the
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... :-)

23 years agoGeorg Huettenegger's fixes, man pages converted to HTML pages and included
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

23 years agoCURLOPT_FTPASCII is the old name, CURLOPT_TRANSFERTEXT is the new
Daniel Stenberg [Wed, 22 Aug 2001 11:24:57 +0000 (11:24 +0000)]
CURLOPT_FTPASCII is the old name, CURLOPT_TRANSFERTEXT is the new

23 years agolibcurl.3 has the info now
Daniel Stenberg [Wed, 22 Aug 2001 11:23:53 +0000 (11:23 +0000)]
libcurl.3 has the info now

23 years agoCURLOPT_POST isn't needed these days
Daniel Stenberg [Wed, 22 Aug 2001 11:23:07 +0000 (11:23 +0000)]
CURLOPT_POST isn't needed these days

23 years agoupdated
Daniel Stenberg [Wed, 22 Aug 2001 11:22:43 +0000 (11:22 +0000)]
updated

23 years agolibcurl.3 is the man page
Daniel Stenberg [Wed, 22 Aug 2001 11:22:28 +0000 (11:22 +0000)]
libcurl.3 is the man page

23 years agoGeorg Huettenegger's patch curl-7.8.1-pre5-patch-20010819
Daniel Stenberg [Tue, 21 Aug 2001 13:18:07 +0000 (13:18 +0000)]
Georg Huettenegger's patch curl-7.8.1-pre5-patch-20010819

23 years agoadded test44 formpost without Expect:, modified test9
Daniel Stenberg [Tue, 21 Aug 2001 12:46:23 +0000 (12:46 +0000)]
added test44 formpost without Expect:, modified test9

23 years agorun 'make clean' before 'make dist' to make sure the HTML files are up-to-date
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

23 years agoadded a 'html' target that builds HTML versions from the man page sources.
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.

23 years agomake html runs make html in the docs dir
Daniel Stenberg [Tue, 21 Aug 2001 09:14:31 +0000 (09:14 +0000)]
make html runs make html in the docs dir

23 years agothis is replaced with libcurl.3
Daniel Stenberg [Tue, 21 Aug 2001 06:56:13 +0000 (06:56 +0000)]
this is replaced with libcurl.3

23 years agofflush the progress output, fixed configure.in for SSL without --with-ssl
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

23 years agoTroy Engel's fix for running configure 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

23 years agoAs Andrés García reported we need to fflush() the data->err so that the
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)

23 years agoadded "4.5 FIGURE OUT WHAT A POST LOOKS LIKE"
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

23 years ago7.8.1
Daniel Stenberg [Mon, 20 Aug 2001 07:59:03 +0000 (07:59 +0000)]
7.8.1

23 years agolibtool 1.3.5 leftover
Daniel Stenberg [Mon, 20 Aug 2001 07:46:25 +0000 (07:46 +0000)]
libtool 1.3.5 leftover

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