]> granicus.if.org Git - curl/log
curl
20 years agoDisable memdebug for the allocs done by the app, unless CURLTOOLDEBUG is
Daniel Stenberg [Wed, 12 May 2004 08:22:04 +0000 (08:22 +0000)]
Disable memdebug for the allocs done by the app, unless CURLTOOLDEBUG is
defined (which it never is atm).

Now, we can focus on making 'runtests -t [num]' work on all test cases and
we should never leak nor crash.

20 years agonew man page
Daniel Stenberg [Wed, 12 May 2004 08:10:25 +0000 (08:10 +0000)]
new man page

20 years agouse size_t better for buffer and alloc lengths
Daniel Stenberg [Wed, 12 May 2004 08:00:21 +0000 (08:00 +0000)]
use size_t better for buffer and alloc lengths

20 years agoremoved another jhrg-reference in a comment
Daniel Stenberg [Wed, 12 May 2004 07:56:01 +0000 (07:56 +0000)]
removed another jhrg-reference in a comment

20 years agoEdited comments only.
Daniel Stenberg [Wed, 12 May 2004 07:55:05 +0000 (07:55 +0000)]
Edited comments only.

20 years agoThe Curl_unencode_XXX_write() function take a ssize_t as third argument, so
Daniel Stenberg [Wed, 12 May 2004 07:54:44 +0000 (07:54 +0000)]
The Curl_unencode_XXX_write() function take a ssize_t as third argument, so
we typecast on invoke.

20 years agoLeft-over from before the return-code fix. This is probably the code that
Daniel Stenberg [Wed, 12 May 2004 06:27:40 +0000 (06:27 +0000)]
Left-over from before the return-code fix. This is probably the code that
causes xlc and gcc act differently on AIX.

20 years agofixed Curl_open() to not leak anything if one malloc() fails, fix by
Daniel Stenberg [Tue, 11 May 2004 21:17:03 +0000 (21:17 +0000)]
fixed Curl_open() to not leak anything if one malloc() fails, fix by
James Bursa only modified by me.

20 years ago- Nico Stappenbelt reported that when processing domain and search lines in
Daniel Stenberg [Tue, 11 May 2004 21:12:10 +0000 (21:12 +0000)]
- Nico Stappenbelt reported that when processing domain and search lines in
  the resolv.conf file, the first entry encountered is processed and used as
  the search list. According to the manual pages for both Linux, Solaris and
  Tru64, the last entry of either a domain or a search field is used.

20 years agorevert the accidentally added use of strace
Daniel Stenberg [Tue, 11 May 2004 18:57:03 +0000 (18:57 +0000)]
revert the accidentally added use of strace

20 years agominor leak in case of error, thanks to "./runtests.pl -n -t 25"
Daniel Stenberg [Tue, 11 May 2004 14:53:24 +0000 (14:53 +0000)]
minor leak in case of error, thanks to "./runtests.pl -n -t 25"

20 years agoclear up memory on failure a little better
Daniel Stenberg [Tue, 11 May 2004 14:48:53 +0000 (14:48 +0000)]
clear up memory on failure a little better

20 years agomake the libidn pointer in the version struct a const
Daniel Stenberg [Tue, 11 May 2004 14:22:51 +0000 (14:22 +0000)]
make the libidn pointer in the version struct a const

20 years agothey're at least 36 functions now
Daniel Stenberg [Tue, 11 May 2004 14:21:34 +0000 (14:21 +0000)]
they're at least 36 functions now

20 years agoupdated to reflect reality!
Daniel Stenberg [Tue, 11 May 2004 14:15:49 +0000 (14:15 +0000)]
updated to reflect reality!

20 years agocut out the changelog, it is far from accurate anyway
Daniel Stenberg [Tue, 11 May 2004 12:22:50 +0000 (12:22 +0000)]
cut out the changelog, it is far from accurate anyway

20 years agoadded curl_global_init_mem
Daniel Stenberg [Tue, 11 May 2004 11:48:09 +0000 (11:48 +0000)]
added curl_global_init_mem

20 years agocurl_global_init_mem() allows the memory functions to be replaced.
Daniel Stenberg [Tue, 11 May 2004 11:30:23 +0000 (11:30 +0000)]
curl_global_init_mem() allows the memory functions to be replaced.
memory.h is included everywhere for this.

20 years ago*** empty log message ***
Daniel Stenberg [Tue, 11 May 2004 11:29:31 +0000 (11:29 +0000)]
*** empty log message ***

20 years agoMake this source code use our internal *printf().
Daniel Stenberg [Tue, 11 May 2004 11:29:02 +0000 (11:29 +0000)]
Make this source code use our internal *printf().
Also some minor edits.

20 years agoAdded recent events to the log
Daniel Stenberg [Tue, 11 May 2004 08:10:32 +0000 (08:10 +0000)]
Added recent events to the log

20 years agomore changes, more news, more people
Daniel Stenberg [Tue, 11 May 2004 08:10:15 +0000 (08:10 +0000)]
more changes, more news, more people

20 years agoanother official download mirror
Daniel Stenberg [Tue, 11 May 2004 08:09:56 +0000 (08:09 +0000)]
another official download mirror

20 years agonew attempt at an improved DSP-file generation
Daniel Stenberg [Tue, 11 May 2004 07:54:55 +0000 (07:54 +0000)]
new attempt at an improved DSP-file generation

20 years agoslightly better dealing of bad mem situations
Daniel Stenberg [Mon, 10 May 2004 14:45:11 +0000 (14:45 +0000)]
slightly better dealing of bad mem situations

20 years agoMoved the fetching of the list of matching cookies to make it easier to free
Daniel Stenberg [Mon, 10 May 2004 14:22:20 +0000 (14:22 +0000)]
Moved the fetching of the list of matching cookies to make it easier to free
that list in case something goes wrong in the function and we must bail out.
Courtesy of the torture testing.

20 years agocurl_slist_append() fixed to clear up properly if a memory function fails
Daniel Stenberg [Mon, 10 May 2004 14:21:19 +0000 (14:21 +0000)]
curl_slist_append() fixed to clear up properly if a memory function fails

20 years agobetter detect if/when curl_slist_append() returns failure, and bail out
Daniel Stenberg [Mon, 10 May 2004 14:04:35 +0000 (14:04 +0000)]
better detect if/when curl_slist_append() returns failure, and bail out
accordingly

20 years agoif a malloc fails, clear up the memory and return failure
Daniel Stenberg [Mon, 10 May 2004 14:04:06 +0000 (14:04 +0000)]
if a malloc fails, clear up the memory and return failure

20 years agotypo
Daniel Stenberg [Mon, 10 May 2004 10:52:29 +0000 (10:52 +0000)]
typo

20 years agothe aprintf() versions now return NULL if _any_ alloc along the way failed,
Daniel Stenberg [Mon, 10 May 2004 10:50:43 +0000 (10:50 +0000)]
the aprintf() versions now return NULL if _any_ alloc along the way failed,
previously they could return a piece of the string, making it impossible
for the caller to detect errors.

20 years agobetter detection for when add_buffer() returns failure, and return when that
Daniel Stenberg [Mon, 10 May 2004 10:49:35 +0000 (10:49 +0000)]
better detection for when add_buffer() returns failure, and return when that
happens

20 years agoCurl_hash_add() was modified to clear up better in case of internal failure.
Daniel Stenberg [Mon, 10 May 2004 09:17:50 +0000 (09:17 +0000)]
Curl_hash_add() was modified to clear up better in case of internal failure.
When failing, it should not tamper at all with the data it was supposed to
add to the cache.

20 years agocheckpasswd() prevents segfault by checking that input argument is non-NULL
Daniel Stenberg [Mon, 10 May 2004 09:16:21 +0000 (09:16 +0000)]
checkpasswd() prevents segfault by checking that input argument is non-NULL

20 years agoJames Bursa's adjustments to make the -t option work for any test case.
Daniel Stenberg [Mon, 10 May 2004 09:01:45 +0000 (09:01 +0000)]
James Bursa's adjustments to make the -t option work for any test case.

The -t is the "torture" test that first runs the test and counts the number
of allocations performed during it, then it runs the test repeatedly over and
over again and makes alloc number N fail to verify that we detect and return
properly from error cases everywhere.

20 years agomake Curl_llist_insert_next() fail properly if malloc() fails
Daniel Stenberg [Mon, 10 May 2004 08:57:37 +0000 (08:57 +0000)]
make Curl_llist_insert_next() fail properly if malloc() fails

20 years agobetter checking that strdup() works
Daniel Stenberg [Mon, 10 May 2004 08:57:18 +0000 (08:57 +0000)]
better checking that strdup() works

20 years agoLuca fixed the nc= in the digest line since it apparantly should not have
Daniel Stenberg [Mon, 10 May 2004 08:09:15 +0000 (08:09 +0000)]
Luca fixed the nc= in the digest line since it apparantly should not have
quotes...

20 years agoJames Bursa added better error checking for failer memory calls when
Daniel Stenberg [Mon, 10 May 2004 07:11:52 +0000 (07:11 +0000)]
James Bursa added better error checking for failer memory calls when
building formposts

20 years agobuild curllib.dsp from these
Daniel Stenberg [Mon, 10 May 2004 07:03:46 +0000 (07:03 +0000)]
build curllib.dsp from these

20 years agodon't use -i when checking for our own server
Daniel Stenberg [Mon, 10 May 2004 06:29:52 +0000 (06:29 +0000)]
don't use -i when checking for our own server

20 years agoJames' and Gisle' reports/fixes
Daniel Stenberg [Fri, 7 May 2004 20:08:38 +0000 (20:08 +0000)]
James' and Gisle' reports/fixes

20 years agoJames Bursa changed two error message to use the display-name instead of the
Daniel Stenberg [Fri, 7 May 2004 18:56:33 +0000 (18:56 +0000)]
James Bursa changed two error message to use the display-name instead of the
internally-used name.

20 years agoJames Bursa's fix to make this deal with malloc(0) as OK to free()
Daniel Stenberg [Fri, 7 May 2004 18:54:09 +0000 (18:54 +0000)]
James Bursa's fix to make this deal with malloc(0) as OK to free()

20 years agoWe don't support any long protocol names so we can use a smaller buffer.
Daniel Stenberg [Fri, 7 May 2004 18:46:28 +0000 (18:46 +0000)]
We don't support any long protocol names so we can use a smaller buffer.
Also, make sure we have room for the trailing zero, only scan to size-1.

Gisle Vanem reported.

20 years agocount the formdata size using a 64bit size if avaialble
Daniel Stenberg [Fri, 7 May 2004 09:50:49 +0000 (09:50 +0000)]
count the formdata size using a 64bit size if avaialble

20 years agoMade the lib/curllib.dsp file get generated automaticly
Daniel Stenberg [Fri, 7 May 2004 09:45:33 +0000 (09:45 +0000)]
Made the lib/curllib.dsp file get generated automaticly

20 years agodon't use a magic define name
Daniel Stenberg [Fri, 7 May 2004 09:42:23 +0000 (09:42 +0000)]
don't use a magic define name

20 years agoThis file is now generated at dist-time.
Daniel Stenberg [Fri, 7 May 2004 09:41:28 +0000 (09:41 +0000)]
This file is now generated at dist-time.

20 years agoGenerate curllib.dsp on dist.time from msvcproj.head msvcproj.foot and the
Daniel Stenberg [Fri, 7 May 2004 09:41:05 +0000 (09:41 +0000)]
Generate curllib.dsp on dist.time from msvcproj.head msvcproj.foot and the
known source files. Not actually verified to work yet.

20 years agoget the display host name properly
Daniel Stenberg [Fri, 7 May 2004 06:18:47 +0000 (06:18 +0000)]
get the display host name properly

20 years agoremoved two odd comments
Daniel Stenberg [Thu, 6 May 2004 15:17:10 +0000 (15:17 +0000)]
removed two odd comments

20 years agolittle fixes
Daniel Stenberg [Thu, 6 May 2004 15:11:16 +0000 (15:11 +0000)]
little fixes

20 years agoremoved the warning if libidn isn't found
Daniel Stenberg [Thu, 6 May 2004 15:05:23 +0000 (15:05 +0000)]
removed the warning if libidn isn't found

20 years agovery minor output change
Daniel Stenberg [Thu, 6 May 2004 15:04:04 +0000 (15:04 +0000)]
very minor output change

20 years agosimplied the creation of new urls
Daniel Stenberg [Thu, 6 May 2004 13:29:04 +0000 (13:29 +0000)]
simplied the creation of new urls

20 years ago%ld for long
Daniel Stenberg [Thu, 6 May 2004 13:21:32 +0000 (13:21 +0000)]
%ld for long

20 years agoint/long fix
Daniel Stenberg [Thu, 6 May 2004 12:44:08 +0000 (12:44 +0000)]
int/long fix

20 years agoMichael Benedict brought a fix that fills in the errorbuffer properly
Daniel Stenberg [Thu, 6 May 2004 11:10:51 +0000 (11:10 +0000)]
Michael Benedict brought a fix that fills in the errorbuffer properly
when ares fails to resolve a name. This was fixed before but somehow has
fallen out again!

20 years agotypo AGAIN
Daniel Stenberg [Thu, 6 May 2004 11:02:50 +0000 (11:02 +0000)]
typo AGAIN

20 years agoWhen using the icc compiler, we also ignore remark #1418 "external definition
Daniel Stenberg [Thu, 6 May 2004 10:58:57 +0000 (10:58 +0000)]
When using the icc compiler, we also ignore remark #1418 "external definition
with no prior declaration" since this is a habit we have in the code.

20 years agoprintf %s with plain 'char *', not unsigned ones to silence icc's picky
Daniel Stenberg [Thu, 6 May 2004 10:57:07 +0000 (10:57 +0000)]
printf %s with plain 'char *', not unsigned ones to silence icc's picky
warnings

20 years agoif no strerror_r prototype is found, we provide our own to prevent picky
Daniel Stenberg [Thu, 6 May 2004 10:49:40 +0000 (10:49 +0000)]
if no strerror_r prototype is found, we provide our own to prevent picky
compilers to warn

20 years agoremoved the unused 'len' variable, made use of the ptr pointer even if no
Daniel Stenberg [Thu, 6 May 2004 07:32:30 +0000 (07:32 +0000)]
removed the unused 'len' variable, made use of the ptr pointer even if no
extra lib is used to prevent compiler warnings ("variable set but not used")
on that case

20 years agotypecast the unsigned long to plain long to prevent compiler warnings
Daniel Stenberg [Thu, 6 May 2004 07:24:47 +0000 (07:24 +0000)]
typecast the unsigned long to plain long to prevent compiler warnings

20 years agounused variable removed
Daniel Stenberg [Thu, 6 May 2004 07:22:32 +0000 (07:22 +0000)]
unused variable removed

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