platform/upstream/curl.git
20 years agouse %ld to printf now.tv_sec
Daniel Stenberg [Thu, 6 May 2004 07:21:19 +0000 (07:21 +0000)]
use %ld to printf now.tv_sec

20 years agocurlx.h is a header to add to the release archive(s)
Daniel Stenberg [Thu, 6 May 2004 07:19:58 +0000 (07:19 +0000)]
curlx.h is a header to add to the release archive(s)

20 years agofixed typo
Daniel Stenberg [Wed, 5 May 2004 20:12:59 +0000 (20:12 +0000)]
fixed typo

20 years agoTemporary disable the logic that runs gdb on a core dump, as it can't blindly
Daniel Stenberg [Wed, 5 May 2004 14:34:35 +0000 (14:34 +0000)]
Temporary disable the logic that runs gdb on a core dump, as it can't blindly
assume that the curl file is a proper binary, it is often a script file
produced by libtool.

20 years agohm, avoid division by zero more carefully with that new percentage math
Daniel Stenberg [Wed, 5 May 2004 14:22:46 +0000 (14:22 +0000)]
hm, avoid division by zero more carefully with that new percentage math

20 years agoJoe Halpin fixed the warning on the typecast from data pointer to function
Daniel Stenberg [Wed, 5 May 2004 14:08:52 +0000 (14:08 +0000)]
Joe Halpin fixed the warning on the typecast from data pointer to function
pointer!

20 years agoGisle fixed the percentage to work, I adjusted it slightly to not as easily
Daniel Stenberg [Wed, 5 May 2004 13:44:44 +0000 (13:44 +0000)]
Gisle fixed the percentage to work, I adjusted it slightly to not as easily
overflow on 32bit filesize-systems

20 years agoGisle-fix: constified the 'interface' argument.
Daniel Stenberg [Wed, 5 May 2004 13:42:23 +0000 (13:42 +0000)]
Gisle-fix: constified the 'interface' argument.

20 years agoGisle fix: curl_formparse is gone.
Daniel Stenberg [Wed, 5 May 2004 13:42:05 +0000 (13:42 +0000)]
Gisle fix: curl_formparse is gone.

20 years agoGisle fixed: don't reference 'mem' if it's NULL.
Daniel Stenberg [Wed, 5 May 2004 13:41:54 +0000 (13:41 +0000)]
Gisle fixed: don't reference 'mem' if it's NULL.

20 years agoinitiate variables properly to default to no auth for server and proxy
Daniel Stenberg [Wed, 5 May 2004 13:00:03 +0000 (13:00 +0000)]
initiate variables properly to default to no auth for server and proxy

20 years agoAC_CHECK_TOOL is prolly better to use when checking for ar
Daniel Stenberg [Wed, 5 May 2004 10:26:51 +0000 (10:26 +0000)]
AC_CHECK_TOOL is prolly better to use when checking for ar

20 years agoslightly odd fix to prevent -Wunreachable-code to warn
Daniel Stenberg [Wed, 5 May 2004 09:20:08 +0000 (09:20 +0000)]
slightly odd fix to prevent -Wunreachable-code to warn

20 years agoalert the user if 'sed' or 'ar' couldn't be found, as it might very well
Daniel Stenberg [Wed, 5 May 2004 09:17:53 +0000 (09:17 +0000)]
alert the user if 'sed' or 'ar' couldn't be found, as it might very well
render a build impossible

20 years agomade the progress meter display not overflow even if _very_ large files
Daniel Stenberg [Wed, 5 May 2004 08:43:23 +0000 (08:43 +0000)]
made the progress meter display not overflow even if _very_ large files
are transfered. The maximum size we support now is 8 exabytes, which equals
to 8192 petabytes...

20 years agoif the values allow it, avoid floting point math for the current speed
Daniel Stenberg [Wed, 5 May 2004 07:45:21 +0000 (07:45 +0000)]
if the values allow it, avoid floting point math for the current speed

20 years agoadditional typecasts in an attempt to avoid compiler warnings when switching
Daniel Stenberg [Wed, 5 May 2004 07:30:52 +0000 (07:30 +0000)]
additional typecasts in an attempt to avoid compiler warnings when switching
from 64 bit types to 32 bit ones

20 years agoremoved bad free()
Daniel Stenberg [Wed, 5 May 2004 07:20:08 +0000 (07:20 +0000)]
removed bad free()

20 years agodo the alarm time-left math using unsigned longs since that is what alarm()
Daniel Stenberg [Wed, 5 May 2004 07:17:37 +0000 (07:17 +0000)]
do the alarm time-left math using unsigned longs since that is what alarm()
returns and uses as input and converting to signed generates warnings and
actually risks loss of accuracy

20 years agofix_hostname() now (void)s the conn argument to prevent warnings on non-idn
Daniel Stenberg [Wed, 5 May 2004 07:08:31 +0000 (07:08 +0000)]
fix_hostname() now (void)s the conn argument to prevent warnings on non-idn
enabled builds

20 years agoERR_error_string() returns an unsigned long so we should use one of those
Daniel Stenberg [Wed, 5 May 2004 07:01:33 +0000 (07:01 +0000)]
ERR_error_string() returns an unsigned long so we should use one of those
for the return code

20 years agogcc 3.4 now uses the -Wunreachable-code option, I believe we can make older
Daniel Stenberg [Wed, 5 May 2004 06:59:27 +0000 (06:59 +0000)]
gcc 3.4 now uses the -Wunreachable-code option, I believe we can make older
ones use this too...

20 years agocheck the size of size_t for lib/mprintf.c
Daniel Stenberg [Wed, 5 May 2004 06:57:49 +0000 (06:57 +0000)]
check the size of size_t for lib/mprintf.c

20 years agoprevent warnings when using the gcc option -Wunreachable-code
Daniel Stenberg [Wed, 5 May 2004 06:57:26 +0000 (06:57 +0000)]
prevent warnings when using the gcc option -Wunreachable-code

20 years agomake the memlimit final NULL return get written to stderr as wella
Daniel Stenberg [Wed, 5 May 2004 06:57:04 +0000 (06:57 +0000)]
make the memlimit final NULL return get written to stderr as wella

20 years agomention the LICENSE-MIXING document
Daniel Stenberg [Wed, 5 May 2004 06:12:24 +0000 (06:12 +0000)]
mention the LICENSE-MIXING document

20 years agominor update edits
Daniel Stenberg [Wed, 5 May 2004 06:11:57 +0000 (06:11 +0000)]
minor update edits

20 years agoadded a third URL to the torture testing, this one also hangs at some point
Daniel Stenberg [Wed, 5 May 2004 06:11:13 +0000 (06:11 +0000)]
added a third URL to the torture testing, this one also hangs at some point
for a reason I don't know

20 years agomultipart formposts should be more streamy
Daniel Stenberg [Tue, 4 May 2004 14:36:29 +0000 (14:36 +0000)]
multipart formposts should be more streamy

20 years agobail out when an add_buffer() function returns failure
Daniel Stenberg [Tue, 4 May 2004 14:27:07 +0000 (14:27 +0000)]
bail out when an add_buffer() function returns failure

20 years agoimproved the cleaning up of memory when we fail to resolve names due to
Daniel Stenberg [Tue, 4 May 2004 13:40:30 +0000 (13:40 +0000)]
improved the cleaning up of memory when we fail to resolve names due to
out of memory (thanks to 'runtests.pl -t')

20 years agocheck malloc() return code
Daniel Stenberg [Tue, 4 May 2004 13:39:24 +0000 (13:39 +0000)]
check malloc() return code

20 years agoremoved more leftovers from the formparse function
Daniel Stenberg [Tue, 4 May 2004 09:31:04 +0000 (09:31 +0000)]
removed more leftovers from the formparse function

20 years agoremoved curl_formparse() from the library
Daniel Stenberg [Tue, 4 May 2004 08:24:13 +0000 (08:24 +0000)]
removed curl_formparse() from the library

20 years agoGisle made item 38, now there's only one low-prio task left...
Daniel Stenberg [Tue, 4 May 2004 07:54:08 +0000 (07:54 +0000)]
Gisle made item 38, now there's only one low-prio task left...

20 years agoGeneral HTTP authentication cleanup and fixes
Daniel Stenberg [Tue, 4 May 2004 07:52:53 +0000 (07:52 +0000)]
General HTTP authentication cleanup and fixes

20 years agoGisle fixed the problem with ldap_search_s() fails with "filter error": a case
Daniel Stenberg [Mon, 3 May 2004 15:01:34 +0000 (15:01 +0000)]
Gisle fixed the problem with ldap_search_s() fails with "filter error": a case
of using 'lud_filter' after freeing 'lud_dn'.

20 years agoimproved the name of the test
Daniel Stenberg [Mon, 3 May 2004 14:57:58 +0000 (14:57 +0000)]
improved the name of the test

20 years agoAdded --proxy-digest, added the standard curl source header to this file.
Daniel Stenberg [Mon, 3 May 2004 14:55:31 +0000 (14:55 +0000)]
Added --proxy-digest, added the standard curl source header to this file.

20 years agofixed the pdf and html for the strerror functions
Daniel Stenberg [Mon, 3 May 2004 14:40:22 +0000 (14:40 +0000)]
fixed the pdf and html for the strerror functions

20 years agoAdded support for --proxy-digest
Daniel Stenberg [Mon, 3 May 2004 11:56:18 +0000 (11:56 +0000)]
Added support for --proxy-digest

20 years agodon't free(NULL)
Daniel Stenberg [Mon, 3 May 2004 09:17:49 +0000 (09:17 +0000)]
don't free(NULL)

20 years agoGisle Vanem:
Daniel Stenberg [Mon, 3 May 2004 09:14:12 +0000 (09:14 +0000)]
Gisle Vanem:

Patch for ldap.c under Windows. It works with wldap32.dll as supplied with
Win-98/ME/2000/XP, so no extra .dlls are required.  I've mostly tested it
against Verisign's ldap server. Added code in the case there are to many
responses (rc = LDAP_SIZELIMIT_EXCEEDED) and print only those we got. E.g.

curl
ldap://directory.verisign.net/?cn,display-name,mail,info?subtree?(cn=*Nelson*)

will print the first 10 results.

My only problem with it is that ldap_search_s() fails with "filter error" when
CURLDEBUG is defined ?! Maybe someone can spot the error.

20 years agomucho
Daniel Stenberg [Fri, 30 Apr 2004 10:55:57 +0000 (10:55 +0000)]
mucho

20 years agoDisplay "exit OK" when the exit code has been verified to be OK, and added
Daniel Stenberg [Fri, 30 Apr 2004 10:37:40 +0000 (10:37 +0000)]
Display "exit OK" when the exit code has been verified to be OK, and added
initial basic valgrind-log scan for memory leaks it could detect.

20 years agodeprecated functions
Daniel Stenberg [Fri, 30 Apr 2004 10:34:54 +0000 (10:34 +0000)]
deprecated functions

20 years ago25 and 37 are now done, only two low-prio tasks left for the 7.12 release
Daniel Stenberg [Fri, 30 Apr 2004 09:17:04 +0000 (09:17 +0000)]
25 and 37 are now done, only two low-prio tasks left for the 7.12 release

20 years agorecent changes
Daniel Stenberg [Fri, 30 Apr 2004 08:52:11 +0000 (08:52 +0000)]
recent changes

20 years agoupdated with more and new info
Daniel Stenberg [Fri, 30 Apr 2004 08:51:19 +0000 (08:51 +0000)]
updated with more and new info

20 years agothese functions are marked to get removed from the public API "soon"
Daniel Stenberg [Fri, 30 Apr 2004 08:38:08 +0000 (08:38 +0000)]
these functions are marked to get removed from the public API "soon"

20 years agouse the new lib/curlx.h header and modified the code to use all to-become-
Daniel Stenberg [Fri, 30 Apr 2004 08:23:50 +0000 (08:23 +0000)]
use the new lib/curlx.h header and modified the code to use all to-become-
curlx_-functions with the new prefix to prepare this code for the future
removal of several curl_-functions from the public libcurl API.

20 years agoNew header file that offers easy access to the curlx_ functions for an app.
Daniel Stenberg [Fri, 30 Apr 2004 08:22:38 +0000 (08:22 +0000)]
New header file that offers easy access to the curlx_ functions for an app.
curlx_ functions are NOT part of the offical API, but only available as source
code functions from the lib directory in case of need.

20 years agosupport the new libcurl IDN feature, also a first attempt to display a stack
Daniel Stenberg [Fri, 30 Apr 2004 08:03:07 +0000 (08:03 +0000)]
support the new libcurl IDN feature, also a first attempt to display a stack
trace if a test results in a 'core' file and gdb is present

20 years agoidn is a new feature that can be made required for a test
Daniel Stenberg [Fri, 30 Apr 2004 08:00:42 +0000 (08:00 +0000)]
idn is a new feature that can be made required for a test

20 years agoadded test 166, formpost with white space in file name
Daniel Stenberg [Fri, 30 Apr 2004 06:46:34 +0000 (06:46 +0000)]
added test 166, formpost with white space in file name

20 years agomake the contents able to be any data, the previous stopped at white space
Daniel Stenberg [Fri, 30 Apr 2004 06:45:53 +0000 (06:45 +0000)]
make the contents able to be any data, the previous stopped at white space

20 years agooops, a bad strtok() was fixed by Luca
Daniel Stenberg [Fri, 30 Apr 2004 05:53:42 +0000 (05:53 +0000)]
oops, a bad strtok() was fixed by Luca

20 years agoinclude the full size of the sent response in the log
Daniel Stenberg [Fri, 30 Apr 2004 05:51:37 +0000 (05:51 +0000)]
include the full size of the sent response in the log

20 years agoGisle fixed the counting of calloc()s
Daniel Stenberg [Thu, 29 Apr 2004 14:33:19 +0000 (14:33 +0000)]
Gisle fixed the counting of calloc()s

20 years agoIntroducing IDN host name testing. Test case 165 requires an IDN-capable
Daniel Stenberg [Thu, 29 Apr 2004 13:43:04 +0000 (13:43 +0000)]
Introducing IDN host name testing. Test case 165 requires an IDN-capable
libcurl.

20 years agofixed the host/proxy name issue when re-using a connection and made IDN names
Daniel Stenberg [Thu, 29 Apr 2004 13:41:48 +0000 (13:41 +0000)]
fixed the host/proxy name issue when re-using a connection and made IDN names
work when using proxy by converting the IDN-name to the ACE-encoded version
before the request-URL is passed to the proxy.

20 years agoremove newline from matching pattern
Daniel Stenberg [Thu, 29 Apr 2004 13:31:57 +0000 (13:31 +0000)]
remove newline from matching pattern

20 years agoignore cnonce lines too as they are based on the current time and will differ
Daniel Stenberg [Thu, 29 Apr 2004 13:24:50 +0000 (13:24 +0000)]
ignore cnonce lines too as they are based on the current time and will differ
from time to time!

20 years agoencode the correct name
Daniel Stenberg [Thu, 29 Apr 2004 11:57:52 +0000 (11:57 +0000)]
encode the correct name

20 years agocurl_easy_duphandle() works again with ares enabled
Daniel Stenberg [Thu, 29 Apr 2004 10:58:22 +0000 (10:58 +0000)]
curl_easy_duphandle() works again with ares enabled

20 years agotest 512 does some basic curl_easy_duphandle() testing
Daniel Stenberg [Thu, 29 Apr 2004 10:57:10 +0000 (10:57 +0000)]
test 512 does some basic curl_easy_duphandle() testing

20 years agonew test case for a simple curl_easy_duphandle() test
Daniel Stenberg [Thu, 29 Apr 2004 10:56:22 +0000 (10:56 +0000)]
new test case for a simple curl_easy_duphandle() test

20 years agoupdated to work with the new Digest code
Daniel Stenberg [Thu, 29 Apr 2004 10:47:13 +0000 (10:47 +0000)]
updated to work with the new Digest code

20 years agoLuca Altea's major HTTP Digest update
Daniel Stenberg [Thu, 29 Apr 2004 08:18:32 +0000 (08:18 +0000)]
Luca Altea's major HTTP Digest update

20 years agoGisle made the code use ERR_error_string_n()
Daniel Stenberg [Thu, 29 Apr 2004 07:36:40 +0000 (07:36 +0000)]
Gisle made the code use ERR_error_string_n()

20 years agothe new way of accessing the host name
Daniel Stenberg [Wed, 28 Apr 2004 20:34:04 +0000 (20:34 +0000)]
the new way of accessing the host name

20 years agoAdded LICENSE-MIXING to the release archive
Daniel Stenberg [Tue, 27 Apr 2004 18:31:35 +0000 (18:31 +0000)]
Added LICENSE-MIXING to the release archive

20 years agoIDN: Gisle Vanem made the win32 version handle a missing CHARSET environment
Daniel Stenberg [Tue, 27 Apr 2004 15:19:28 +0000 (15:19 +0000)]
IDN: Gisle Vanem made the win32 version handle a missing CHARSET environment
and then figure it out with a suitable windows call.

20 years agooutputed elsewhere already
Daniel Stenberg [Tue, 27 Apr 2004 15:13:46 +0000 (15:13 +0000)]
outputed elsewhere already

20 years agoidn stuff in code and configure script
Daniel Stenberg [Tue, 27 Apr 2004 14:22:58 +0000 (14:22 +0000)]
idn stuff in code and configure script

20 years agowe released yesterday, we have heaps of new stuff today! :-)
Daniel Stenberg [Tue, 27 Apr 2004 14:22:40 +0000 (14:22 +0000)]
we released yesterday, we have heaps of new stuff today! :-)

20 years agoprovide our own inet_ntoa_r() proto if the system has none on its own
Daniel Stenberg [Tue, 27 Apr 2004 14:17:36 +0000 (14:17 +0000)]
provide our own inet_ntoa_r() proto if the system has none on its own

20 years agoMade host name and proxy name get stored in a 'struct hostname' and set
Daniel Stenberg [Tue, 27 Apr 2004 13:56:23 +0000 (13:56 +0000)]
Made host name and proxy name get stored in a 'struct hostname' and set
all things up to work with encoded host names internally, as well as keeping
'display names' to show in debug messages. IDN resolves work for me now using
ipv6, ipv4 and ares resolving. Even cookies on IDN sites seem to do right.

20 years agowithout-libidn works too now
Daniel Stenberg [Tue, 27 Apr 2004 12:08:53 +0000 (12:08 +0000)]
without-libidn works too now

20 years agohugehelp.c fix, without-ssl fix
Daniel Stenberg [Tue, 27 Apr 2004 11:16:46 +0000 (11:16 +0000)]
hugehelp.c fix, without-ssl fix

20 years agomake the loop use a fixed number of attempts to prevent eternal loops
Daniel Stenberg [Tue, 27 Apr 2004 10:59:43 +0000 (10:59 +0000)]
make the loop use a fixed number of attempts to prevent eternal loops

20 years agoadded curl_*_strerror
Daniel Stenberg [Tue, 27 Apr 2004 07:05:40 +0000 (07:05 +0000)]
added curl_*_strerror

20 years agoadded doctype tag to get HTML compliant
Daniel Stenberg [Tue, 27 Apr 2004 07:05:22 +0000 (07:05 +0000)]
added doctype tag to get HTML compliant

20 years agoWe now make sure to only scan for SSL options with pkg-config if we haven't
Daniel Stenberg [Mon, 26 Apr 2004 22:13:36 +0000 (22:13 +0000)]
We now make sure to only scan for SSL options with pkg-config if we haven't
disabled SSL with --without-ssl. This previously made the Makefiles use
the SSL libs even though told not to.

20 years agoInclude "setup.h" and not "config.h" since setup.h is made to include
Daniel Stenberg [Mon, 26 Apr 2004 21:15:48 +0000 (21:15 +0000)]
Include "setup.h" and not "config.h" since setup.h is made to include
the correct config.h for the platform, and when this is done the USE_MANUAL
define is properly known.

20 years agomy nroff 1.18.1 complained the URL as it contains a nroff combo somehow
Daniel Stenberg [Mon, 26 Apr 2004 21:12:10 +0000 (21:12 +0000)]
my nroff 1.18.1 complained the URL as it contains a nroff combo somehow
and when I modified it slightly the warning dissappeared...

20 years agooops, .obj not .c!
Daniel Stenberg [Mon, 26 Apr 2004 20:41:33 +0000 (20:41 +0000)]
oops, .obj not .c!

20 years agoimproved libidn detection to correct the false positives we got
Daniel Stenberg [Mon, 26 Apr 2004 15:31:43 +0000 (15:31 +0000)]
improved libidn detection to correct the false positives we got

20 years agomade the verbose connect use the proper host name string even when using
Daniel Stenberg [Mon, 26 Apr 2004 15:19:55 +0000 (15:19 +0000)]
made the verbose connect use the proper host name string even when using
a proxy

20 years agoNI_MAXHOST is not generally available, we use plain 256 bytes for the hostname
Daniel Stenberg [Mon, 26 Apr 2004 15:14:19 +0000 (15:14 +0000)]
NI_MAXHOST is not generally available, we use plain 256 bytes for the hostname
instead, its only for debug verbose output anyway

20 years agocorrected mistake
Daniel Stenberg [Mon, 26 Apr 2004 15:11:56 +0000 (15:11 +0000)]
corrected mistake

20 years agoGisle fixed a mistaken check
Daniel Stenberg [Mon, 26 Apr 2004 14:18:42 +0000 (14:18 +0000)]
Gisle fixed a mistaken check

20 years agoMade defines instead of plain numbers for the Curl_resolv() return code to
Daniel Stenberg [Mon, 26 Apr 2004 14:18:00 +0000 (14:18 +0000)]
Made defines instead of plain numbers for the Curl_resolv() return code to
make the code easier to read

20 years agotypedef CURL in the curl.h file instead of only having a single useful typedef
Daniel Stenberg [Mon, 26 Apr 2004 14:06:51 +0000 (14:06 +0000)]
typedef CURL in the curl.h file instead of only having a single useful typedef
in the separate types.h

20 years agoIDN adjustments and host cleanups by Gisle
Daniel Stenberg [Mon, 26 Apr 2004 14:03:25 +0000 (14:03 +0000)]
IDN adjustments and host cleanups by Gisle

20 years agono longer include curl/types.h, it serves no purpose
Daniel Stenberg [Mon, 26 Apr 2004 14:02:51 +0000 (14:02 +0000)]
no longer include curl/types.h, it serves no purpose

20 years agoignore the curl/types.h header file
Daniel Stenberg [Mon, 26 Apr 2004 14:02:01 +0000 (14:02 +0000)]
ignore the curl/types.h header file

20 years agoMoved down the ares check again to the bottom of the script since it
Daniel Stenberg [Mon, 26 Apr 2004 13:42:39 +0000 (13:42 +0000)]
Moved down the ares check again to the bottom of the script since it
modified the compiler and link options so nothing can be tested for after
this check, as the c-ares lib might not have been built yet!

20 years agoadded the new files to the build
Daniel Stenberg [Mon, 26 Apr 2004 12:33:14 +0000 (12:33 +0000)]
added the new files to the build

20 years ago"configure summary"
Daniel Stenberg [Mon, 26 Apr 2004 12:29:30 +0000 (12:29 +0000)]
"configure summary"