platform/upstream/curl.git
19 years agoMy reimplementation and cleanup of the getpass source code. We officially no
Daniel Stenberg [Sat, 25 Dec 2004 22:08:02 +0000 (22:08 +0000)]
My reimplementation and cleanup of the getpass source code. We officially no
longer use Angus Mackay's getpass code due to the weirdo license his code was
donated to us under.

19 years agomention the new --protocols
Daniel Stenberg [Fri, 24 Dec 2004 09:02:23 +0000 (09:02 +0000)]
mention the new --protocols

19 years agoDavid Shaw added --protocols, and thus the --feature no longer mentions what
Daniel Stenberg [Fri, 24 Dec 2004 08:59:44 +0000 (08:59 +0000)]
David Shaw added --protocols, and thus the --feature no longer mentions what
protocols that are disabled.

19 years agoAdded LDAP library issue.
Dan Fandrich [Thu, 23 Dec 2004 22:34:00 +0000 (22:34 +0000)]
Added LDAP library issue.

19 years agorecent changes
Daniel Stenberg [Thu, 23 Dec 2004 22:31:39 +0000 (22:31 +0000)]
recent changes

and Merry Christmas!

19 years agoDavid Shaw fixed the disable variables so that curl-config --feature works
Daniel Stenberg [Thu, 23 Dec 2004 08:48:59 +0000 (08:48 +0000)]
David Shaw fixed the disable variables so that curl-config --feature works
correctly!

19 years agoissue 47 in next release?
Daniel Stenberg [Wed, 22 Dec 2004 22:46:05 +0000 (22:46 +0000)]
issue 47 in next release?

19 years agoRune Kleveland fixed a minor memory leak for received cookies with the (rare)
Daniel Stenberg [Wed, 22 Dec 2004 22:33:31 +0000 (22:33 +0000)]
Rune Kleveland fixed a minor memory leak for received cookies with the (rare)
version attribute set.

19 years agoMarcin Konicki provided two configure fixes and a source fix to make curl
Daniel Stenberg [Wed, 22 Dec 2004 22:28:10 +0000 (22:28 +0000)]
Marcin Konicki provided two configure fixes and a source fix to make curl
build out-of-the-box on BeOS.

19 years agoC ensures that static variables are initialized to 0
Dan Fandrich [Wed, 22 Dec 2004 20:12:15 +0000 (20:12 +0000)]
C ensures that static variables are initialized to 0

19 years agoadded CURLINFO_HTTP_CONNECTCODE
Daniel Stenberg [Wed, 22 Dec 2004 12:31:55 +0000 (12:31 +0000)]
added CURLINFO_HTTP_CONNECTCODE

19 years agouh, fixed!
Daniel Stenberg [Wed, 22 Dec 2004 09:21:04 +0000 (09:21 +0000)]
uh, fixed!

19 years agoAdded: 4 protocols we _could_ support and the CONNECT HTTP/1.0 detail we might
Daniel Stenberg [Wed, 22 Dec 2004 09:19:29 +0000 (09:19 +0000)]
Added: 4 protocols we _could_ support and the CONNECT HTTP/1.0 detail we might
fix one day.

19 years agomore about error codes
Daniel Stenberg [Tue, 21 Dec 2004 21:35:00 +0000 (21:35 +0000)]
more about error codes

19 years agotest enforced chunked encoding with PUT on a local file
Daniel Stenberg [Tue, 21 Dec 2004 20:19:05 +0000 (20:19 +0000)]
test enforced chunked encoding with PUT on a local file

19 years agoAdded test case 217 that verified CURLINFO_HTTP_CONNECTCODE, and I made the
Daniel Stenberg [Tue, 21 Dec 2004 19:59:35 +0000 (19:59 +0000)]
Added test case 217 that verified CURLINFO_HTTP_CONNECTCODE, and I made the
-w option support 'http_connect' to make it easier to verify!

19 years agooops, variables first then code
Daniel Stenberg [Tue, 21 Dec 2004 14:33:37 +0000 (14:33 +0000)]
oops, variables first then code

19 years agoPrevent failf() from using the va_list variable more than once.
Daniel Stenberg [Tue, 21 Dec 2004 14:22:10 +0000 (14:22 +0000)]
Prevent failf() from using the va_list variable more than once.
See bug report #1088962 and  Single Unix Specification:
http://www.opengroup.org/onlinepubs/007908799/xsh/vfprintf.html

19 years agomention how the FTP code should be fixed one day
Daniel Stenberg [Tue, 21 Dec 2004 10:54:21 +0000 (10:54 +0000)]
mention how the FTP code should be fixed one day

19 years agoinclude sys/types.h before sys/select.h
Daniel Stenberg [Tue, 21 Dec 2004 10:11:07 +0000 (10:11 +0000)]
include sys/types.h before sys/select.h

19 years agoset debug curl too when -c is used
Daniel Stenberg [Tue, 21 Dec 2004 10:10:40 +0000 (10:10 +0000)]
set debug curl too when -c is used

19 years agoHow do I list the root dir of an FTP server?
Daniel Stenberg [Tue, 21 Dec 2004 09:37:55 +0000 (09:37 +0000)]
How do I list the root dir of an FTP server?

19 years agoFixed a compile warning introduced by making the protocol table const. This
Dan Fandrich [Mon, 20 Dec 2004 21:14:45 +0000 (21:14 +0000)]
Fixed a compile warning introduced by making the protocol table const. This
involves a binary-compatible change to the API struct curl_version_info_data

19 years agoMake some more arrays of pointers const.
Dan Fandrich [Mon, 20 Dec 2004 18:23:43 +0000 (18:23 +0000)]
Make some more arrays of pointers const.

19 years agogcc 2.7 can't handle a few warning options that gcc 2.95 can.
Dan Fandrich [Mon, 20 Dec 2004 18:20:17 +0000 (18:20 +0000)]
gcc 2.7 can't handle a few warning options that gcc 2.95 can.

19 years agostart working on 7.12.4
Daniel Stenberg [Mon, 20 Dec 2004 13:09:38 +0000 (13:09 +0000)]
start working on 7.12.4

19 years agoand we start all over again
Daniel Stenberg [Mon, 20 Dec 2004 12:51:14 +0000 (12:51 +0000)]
and we start all over again

19 years ago7.12.3
Daniel Stenberg [Mon, 20 Dec 2004 12:35:02 +0000 (12:35 +0000)]
7.12.3

19 years agoOpenSSL updates; get CA_BUNDLE from env. Assume no
Gisle Vanem [Sun, 19 Dec 2004 11:52:31 +0000 (11:52 +0000)]
OpenSSL updates; get CA_BUNDLE from env. Assume no
Kerberos, have <pkcs12.h>, <engine.h> and built-in engines.

19 years agoRemove 'data' initialiser.
Gisle Vanem [Sun, 19 Dec 2004 11:39:34 +0000 (11:39 +0000)]
Remove 'data' initialiser.

19 years agoclarified a few changes
Daniel Stenberg [Sun, 19 Dec 2004 10:11:03 +0000 (10:11 +0000)]
clarified a few changes

19 years agofixed the solaris pkcs12 build problem
Daniel Stenberg [Sun, 19 Dec 2004 09:37:58 +0000 (09:37 +0000)]
fixed the solaris pkcs12 build problem

19 years agoif the pkcs12.h header exists, include it already in urldata.h to work around
Daniel Stenberg [Sun, 19 Dec 2004 09:37:32 +0000 (09:37 +0000)]
if the pkcs12.h header exists, include it already in urldata.h to work around
a precedence problem with the zlib header. See CHANGES for details.

19 years agocheck for openssl/pkcs12.h
Daniel Stenberg [Sun, 19 Dec 2004 09:36:54 +0000 (09:36 +0000)]
check for openssl/pkcs12.h

19 years agoSamuel Listopad added support for PKCS12 formatted certificates.
Daniel Stenberg [Sat, 18 Dec 2004 10:42:48 +0000 (10:42 +0000)]
Samuel Listopad added support for PKCS12 formatted certificates.

19 years agoSamuel Listopad fixed -E to support "C:/path" (with forward slash) as well.
Daniel Stenberg [Sat, 18 Dec 2004 10:28:31 +0000 (10:28 +0000)]
Samuel Listopad fixed -E to support "C:/path" (with forward slash) as well.

19 years agomention the new cookie api plans
Daniel Stenberg [Sat, 18 Dec 2004 10:28:04 +0000 (10:28 +0000)]
mention the new cookie api plans

19 years agoJean-Marc Ranger pointed out that the returned data doesn't survive a call
Daniel Stenberg [Sat, 18 Dec 2004 10:24:49 +0000 (10:24 +0000)]
Jean-Marc Ranger pointed out that the returned data doesn't survive a call
to curl_multi_remove_handle() either.

19 years agoRenamed a variable to avoid conflict with a C++ reserved word.
Dan Fandrich [Fri, 17 Dec 2004 20:18:53 +0000 (20:18 +0000)]
Renamed a variable to avoid conflict with a C++ reserved word.

19 years agoWatcom has strtoll().
Gisle Vanem [Fri, 17 Dec 2004 19:57:50 +0000 (19:57 +0000)]
Watcom has strtoll().

19 years agoWatcom uses 'i64' suffix.
Gisle Vanem [Fri, 17 Dec 2004 18:33:09 +0000 (18:33 +0000)]
Watcom uses 'i64' suffix.

19 years ago<windows.h> required for Watcom.
Gisle Vanem [Fri, 17 Dec 2004 18:32:41 +0000 (18:32 +0000)]
<windows.h> required for Watcom.

19 years agos/_write/write/g
Gisle Vanem [Fri, 17 Dec 2004 18:31:40 +0000 (18:31 +0000)]
s/_write/write/g

19 years agoFix calling convention of wlap32.dll function. Watcom
Gisle Vanem [Fri, 17 Dec 2004 17:54:21 +0000 (17:54 +0000)]
Fix calling convention of wlap32.dll function. Watcom
uses fastcall by default, so force cdecl.

19 years agoWatcom has 'struct timeval'.
Gisle Vanem [Fri, 17 Dec 2004 17:49:10 +0000 (17:49 +0000)]
Watcom has 'struct timeval'.

19 years agoAdd libidn.a and iconv libraries if USE_IDNA=1.
Gisle Vanem [Fri, 17 Dec 2004 12:43:02 +0000 (12:43 +0000)]
Add libidn.a and iconv libraries if USE_IDNA=1.

19 years agoAdded option for using C-ares and libidn.
Gisle Vanem [Fri, 17 Dec 2004 12:38:06 +0000 (12:38 +0000)]
Added option for using C-ares and libidn.
Dependencies generated from $(CSOURCES).

19 years agogetdate.c is gone.
Gisle Vanem [Fri, 17 Dec 2004 12:28:04 +0000 (12:28 +0000)]
getdate.c is gone.

19 years agoPrint true netrc name (.netrc/_netrc).
Gisle Vanem [Fri, 17 Dec 2004 12:26:18 +0000 (12:26 +0000)]
Print true netrc name (.netrc/_netrc).

19 years agoavoid an extra malloc
Daniel Stenberg [Fri, 17 Dec 2004 10:09:32 +0000 (10:09 +0000)]
avoid an extra malloc

19 years agoduplicate ! typo
Daniel Stenberg [Fri, 17 Dec 2004 10:09:06 +0000 (10:09 +0000)]
duplicate ! typo

19 years agofixed minor memory leak when running out of memory
Daniel Stenberg [Fri, 17 Dec 2004 09:00:19 +0000 (09:00 +0000)]
fixed minor memory leak when running out of memory

19 years agooops, add missing return keyword
Daniel Stenberg [Fri, 17 Dec 2004 08:58:48 +0000 (08:58 +0000)]
oops, add missing return keyword

19 years agofix skip-reason
Daniel Stenberg [Thu, 16 Dec 2004 22:45:06 +0000 (22:45 +0000)]
fix skip-reason

19 years agoseveral windows large-file fixes
Daniel Stenberg [Thu, 16 Dec 2004 22:22:26 +0000 (22:22 +0000)]
several windows large-file fixes

19 years agotwo more ftp directory re-use tests added
Daniel Stenberg [Thu, 16 Dec 2004 22:22:11 +0000 (22:22 +0000)]
two more ftp directory re-use tests added

19 years agoBased on Gisle Vanem's patch: make sure the directory re-use works even when
Daniel Stenberg [Thu, 16 Dec 2004 22:20:33 +0000 (22:20 +0000)]
Based on Gisle Vanem's patch: make sure the directory re-use works even when
a URL-encoded path is used.

19 years agoMust include <io.h> and <sys/stat.h> before redefining
Gisle Vanem [Thu, 16 Dec 2004 21:27:29 +0000 (21:27 +0000)]
Must include <io.h> and <sys/stat.h> before redefining
stat(), fstat() and lseek().

19 years agoRenamed a struct member to avoid conflict with a C++ reserved word.
Dan Fandrich [Thu, 16 Dec 2004 21:27:23 +0000 (21:27 +0000)]
Renamed a struct member to avoid conflict with a C++ reserved word.

19 years agoreduced the number of sub-blocks
Daniel Stenberg [Thu, 16 Dec 2004 18:18:23 +0000 (18:18 +0000)]
reduced the number of sub-blocks

19 years agomoved the lseek() and stat() magic defines to setup.h and now take advantage
Daniel Stenberg [Thu, 16 Dec 2004 18:09:27 +0000 (18:09 +0000)]
moved the lseek() and stat() magic defines to setup.h and now take advantage
of struct_stat in formdata.c as well, to support formpost uploads of large
files on Windows too

19 years agoSupport uploading and resuming of >2GB files.
Gisle Vanem [Thu, 16 Dec 2004 16:49:14 +0000 (16:49 +0000)]
Support uploading and resuming of >2GB files.
Ref. lib/file.c.

19 years agoProvide better reasons for why test cases are skipped. Also, don't show the
Daniel Stenberg [Thu, 16 Dec 2004 14:18:11 +0000 (14:18 +0000)]
Provide better reasons for why test cases are skipped. Also, don't show the
SKIPPED stuff in the short output. Some platforms get quite a lot of SKIPPED
and they don't add much value and only clutter screen space.

19 years agoNULL the fp pointer after it has been fclosed()
Daniel Stenberg [Thu, 16 Dec 2004 13:55:19 +0000 (13:55 +0000)]
NULL the fp pointer after it has been fclosed()

19 years agoDinar in bug report #1086121, found a file handle leak when a multipart
Daniel Stenberg [Thu, 16 Dec 2004 09:52:36 +0000 (09:52 +0000)]
Dinar in bug report #1086121, found a file handle leak when a multipart
formpost (including a file upload part) was aborted before the whole file was
sent.

19 years agoFix the --enable-debug compiler warning options for older versions of gcc.
Dan Fandrich [Wed, 15 Dec 2004 21:09:53 +0000 (21:09 +0000)]
Fix the --enable-debug compiler warning options for older versions of gcc.

19 years agoyet another mirror!
Daniel Stenberg [Wed, 15 Dec 2004 14:09:52 +0000 (14:09 +0000)]
yet another mirror!

19 years agoprecaution to prevent double typedefs of the bool
Daniel Stenberg [Wed, 15 Dec 2004 14:05:07 +0000 (14:05 +0000)]
precaution to prevent double typedefs of the bool

19 years agomoved the bool typedef to setup.h
Daniel Stenberg [Wed, 15 Dec 2004 10:33:51 +0000 (10:33 +0000)]
moved the bool typedef to setup.h

19 years agofixed how backslashes are treated in glob strings
Daniel Stenberg [Wed, 15 Dec 2004 09:23:24 +0000 (09:23 +0000)]
fixed how backslashes are treated in glob strings

19 years agoMake some arrays of pointers const, too.
Dan Fandrich [Wed, 15 Dec 2004 03:03:45 +0000 (03:03 +0000)]
Make some arrays of pointers const, too.

19 years agoMake some arrays of pointers const, too.
Dan Fandrich [Wed, 15 Dec 2004 02:32:04 +0000 (02:32 +0000)]
Make some arrays of pointers const, too.

19 years agoAdd 'const' to immutable arrays.
Dan Fandrich [Wed, 15 Dec 2004 01:38:25 +0000 (01:38 +0000)]
Add 'const' to immutable arrays.

19 years agoclarify that the app must free the engine list
Daniel Stenberg [Tue, 14 Dec 2004 22:47:13 +0000 (22:47 +0000)]
clarify that the app must free the engine list

19 years agoprevent compiler warning when built without engine support
Daniel Stenberg [Tue, 14 Dec 2004 22:06:25 +0000 (22:06 +0000)]
prevent compiler warning when built without engine support

19 years agomake sure the ipv6 http server gets its pid stored in a separate file
Daniel Stenberg [Tue, 14 Dec 2004 21:52:16 +0000 (21:52 +0000)]
make sure the ipv6 http server gets its pid stored in a separate file

19 years agouse the correct variables, not fixed values
Daniel Stenberg [Tue, 14 Dec 2004 21:25:23 +0000 (21:25 +0000)]
use the correct variables, not fixed values

19 years agoHarshal Pradhan fixed changing username/password on a persitent HTTP
Daniel Stenberg [Tue, 14 Dec 2004 21:22:51 +0000 (21:22 +0000)]
Harshal Pradhan fixed changing username/password on a persitent HTTP
connection.

19 years agomistake
Daniel Stenberg [Tue, 14 Dec 2004 21:22:12 +0000 (21:22 +0000)]
mistake

19 years agoOnly declare static variables if they're needed. Fixed some compile warnings.
Dan Fandrich [Tue, 14 Dec 2004 20:44:36 +0000 (20:44 +0000)]
Only declare static variables if they're needed.  Fixed some compile warnings.

19 years agoHeader files are in openssl/ only if USE_OPENSSL is set.
Dan Fandrich [Tue, 14 Dec 2004 20:25:23 +0000 (20:25 +0000)]
Header files are in openssl/ only if USE_OPENSSL is set.

19 years agoRemoved fputc() prototype since it's already in stdio.h
Dan Fandrich [Tue, 14 Dec 2004 20:17:58 +0000 (20:17 +0000)]
Removed fputc() prototype since it's already in stdio.h

19 years agoCaller must free 'engines' list.
Gisle Vanem [Tue, 14 Dec 2004 14:24:04 +0000 (14:24 +0000)]
Caller must free 'engines' list.

19 years agourldata.h: Removed engine_list.
Gisle Vanem [Tue, 14 Dec 2004 14:20:21 +0000 (14:20 +0000)]
urldata.h: Removed engine_list.
ssluse.*: Added SSL_strerror(). Curl_SSL_engines_list() now returns a slist
which must be freed by caller.

19 years agoMoved the CURLE_SSL_ENGINE_INITFAILED error code last in the list so that
Daniel Stenberg [Tue, 14 Dec 2004 09:58:45 +0000 (09:58 +0000)]
Moved the CURLE_SSL_ENGINE_INITFAILED error code last in the list so that
the others remain at previous values.

19 years agoMoved the engine stuff from the root-level of the SessionHandle struct to the
Daniel Stenberg [Tue, 14 Dec 2004 09:36:22 +0000 (09:36 +0000)]
Moved the engine stuff from the root-level of the SessionHandle struct to the
UrlState sub-struct. Also made the engine_list exist for non-ssl builds to
make curl build.

19 years agoDocument CURLINFO_SSL_ENGINES and "--engine".
Gisle Vanem [Mon, 13 Dec 2004 20:14:04 +0000 (20:14 +0000)]
Document CURLINFO_SSL_ENGINES and "--engine".

19 years agoSet 'data->state.os_errno = error' in some places.
Gisle Vanem [Mon, 13 Dec 2004 17:52:55 +0000 (17:52 +0000)]
Set 'data->state.os_errno = error' in some places.
Needed elsewhere too?

19 years agoSupport for "--engine list" option.
Gisle Vanem [Mon, 13 Dec 2004 16:47:36 +0000 (16:47 +0000)]
Support for "--engine list" option.
Moved CURLOPT_SSLENGINE* options to after verbose mode is set.
Added a goto. Eek!

19 years agoAdded handling of CURLINFO_SSL_ENGINES;
Gisle Vanem [Mon, 13 Dec 2004 16:43:00 +0000 (16:43 +0000)]
Added handling of CURLINFO_SSL_ENGINES;
Added Curl_SSL_engines_list(), cleanup SSL in url.c
(no HAVE_OPENSSL_x etc.).

19 years agoHandle new type CURLINFO_SLIST.
Gisle Vanem [Mon, 13 Dec 2004 16:37:27 +0000 (16:37 +0000)]
Handle new type CURLINFO_SLIST.
Handle new info list CURLINFO_SSL_ENGINES.

19 years agoAdded CURLcode CURLE_SSL_ENGINE_INITFAILED,
Gisle Vanem [Mon, 13 Dec 2004 16:35:56 +0000 (16:35 +0000)]
Added CURLcode CURLE_SSL_ENGINE_INITFAILED,
Added CURLINFO_SLIST type for returing a 'struct slist' in
curl_easy_getinfo().
Added CURLINFO_SSL_ENGINES.

19 years agoFixed missing braces warning.
Gisle Vanem [Mon, 13 Dec 2004 11:31:01 +0000 (11:31 +0000)]
Fixed missing braces warning.

19 years agolarge file file:// resumes on windows
Daniel Stenberg [Mon, 13 Dec 2004 10:58:37 +0000 (10:58 +0000)]
large file file:// resumes on windows

19 years agoGisle's fix for resuming large file:// files on windows - slightly edited
Daniel Stenberg [Mon, 13 Dec 2004 10:25:26 +0000 (10:25 +0000)]
Gisle's fix for resuming large file:// files on windows - slightly edited
by me.

19 years agoDan Fandrich did minor corrections to his SSL cleanup patch
Daniel Stenberg [Mon, 13 Dec 2004 08:34:46 +0000 (08:34 +0000)]
Dan Fandrich did minor corrections to his SSL cleanup patch

19 years agoDan Fandrich added libcurl.pc.in to the dist
Daniel Stenberg [Mon, 13 Dec 2004 08:34:17 +0000 (08:34 +0000)]
Dan Fandrich added libcurl.pc.in to the dist

19 years agowhen failing to verify a HTTP server, display what curl said on stderr to
Daniel Stenberg [Sun, 12 Dec 2004 23:31:45 +0000 (23:31 +0000)]
when failing to verify a HTTP server, display what curl said on stderr to
help debugging. (when using ipv6 I fell over this server that didn't have
the ipv6 module loaded)

19 years agoMissing 'in6addr_any' in MingW's lib. ld bug?
Gisle Vanem [Sun, 12 Dec 2004 20:14:25 +0000 (20:14 +0000)]
Missing 'in6addr_any' in MingW's lib. ld bug?

19 years agomodified to use the current error code name, not the obsolete one
Daniel Stenberg [Sat, 11 Dec 2004 22:18:11 +0000 (22:18 +0000)]
modified to use the current error code name, not the obsolete one