]> granicus.if.org Git - curl/log
curl
16 years agotest #558 verifies loop operation using malloc() and free()
Yang Tse [Sun, 26 Oct 2008 03:03:29 +0000 (03:03 +0000)]
test #558 verifies loop operation using malloc() and free()

16 years agoadd missing header inclusions
Yang Tse [Sat, 25 Oct 2008 16:15:21 +0000 (16:15 +0000)]
add missing header inclusions

16 years agoAdded experimental support for zlib and OpenSSL on Symbian OS.
Dan Fandrich [Sat, 25 Oct 2008 05:41:01 +0000 (05:41 +0000)]
Added experimental support for zlib and OpenSSL on Symbian OS.

16 years agoicc adjustments:
Yang Tse [Sat, 25 Oct 2008 04:18:48 +0000 (04:18 +0000)]
icc adjustments:

  Select ANSI C89 dialect plus GNU extensions, again.

16 years agoadd missing header inclusions
Yang Tse [Sat, 25 Oct 2008 03:52:21 +0000 (03:52 +0000)]
add missing header inclusions

16 years agoStop using in6addr_any because it's not available everywhere (e.g. Symbian)
Dan Fandrich [Fri, 24 Oct 2008 18:59:51 +0000 (18:59 +0000)]
Stop using in6addr_any because it's not available everywhere (e.g. Symbian)
and isn't strictly needed here.

16 years agoAdded rawstr.c to Symbian curl build
Dan Fandrich [Fri, 24 Oct 2008 18:45:00 +0000 (18:45 +0000)]
Added rawstr.c to Symbian curl build

16 years agofix compiler warning
Yang Tse [Fri, 24 Oct 2008 16:59:35 +0000 (16:59 +0000)]
fix compiler warning

16 years agosome more temporary magic for the icc seg-fault issue
Yang Tse [Fri, 24 Oct 2008 12:23:24 +0000 (12:23 +0000)]
some more temporary magic for the icc seg-fault issue

16 years agoicc permanent adjustment:
Yang Tse [Fri, 24 Oct 2008 11:27:09 +0000 (11:27 +0000)]
icc permanent adjustment:

  Select precise floating-point model, otherwise doubles are less than 64-bit wide

icc test adjustment:

  Select c89 dialect

16 years agofix compiler warning
Yang Tse [Fri, 24 Oct 2008 01:27:00 +0000 (01:27 +0000)]
fix compiler warning

16 years agoAdded rawstr.c to the non-configure curl makefiles
Dan Fandrich [Thu, 23 Oct 2008 17:36:27 +0000 (17:36 +0000)]
Added rawstr.c to the non-configure curl makefiles

16 years agoAdded rawstr.c to the non-configure libcurl makefiles
Dan Fandrich [Thu, 23 Oct 2008 17:29:14 +0000 (17:29 +0000)]
Added rawstr.c to the non-configure libcurl makefiles

16 years agomoved some definitions from tftp.h to tftpd.c
Yang Tse [Thu, 23 Oct 2008 14:34:08 +0000 (14:34 +0000)]
moved some definitions from tftp.h to tftpd.c

16 years agofix compiler warning
Yang Tse [Thu, 23 Oct 2008 14:07:28 +0000 (14:07 +0000)]
fix compiler warning

16 years agomoved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_
Daniel Stenberg [Thu, 23 Oct 2008 11:49:19 +0000 (11:49 +0000)]
moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_
inclusion by the curl tool without colliding with the curl_strequal functions.

16 years agoicc adjustments:
Yang Tse [Thu, 23 Oct 2008 10:04:06 +0000 (10:04 +0000)]
icc adjustments:

  Enable more icc warnings.

  Optimization disabling options used only for icc 9.1

16 years agoRaise message severity up to warning, when strerror_r() exists but
Yang Tse [Thu, 23 Oct 2008 09:05:22 +0000 (09:05 +0000)]
Raise message severity up to warning, when strerror_r() exists but
configure is unable of finding out if it has glibc-style or POSIX-style,
trying to ensure that this condition does not go unnoticed.

16 years agoadded include to make the krb4 code compile again
Daniel Stenberg [Thu, 23 Oct 2008 08:06:47 +0000 (08:06 +0000)]
added include to make the krb4 code compile again

16 years agoReally old gcc doesn't like parenthesis around the names of functions that
Dan Fandrich [Thu, 23 Oct 2008 08:05:40 +0000 (08:05 +0000)]
Really old gcc doesn't like parenthesis around the names of functions that
don't have prototypes. They didn't serve any useful purpose here, anyway.

16 years agoTweaked a few tests to test proper Turkish locale handling
Dan Fandrich [Thu, 23 Oct 2008 01:53:27 +0000 (01:53 +0000)]
Tweaked a few tests to test proper Turkish locale handling

16 years agoCreated Curl_raw_nequal() which does a C-locale string case comparison.
Dan Fandrich [Thu, 23 Oct 2008 01:20:57 +0000 (01:20 +0000)]
Created Curl_raw_nequal() which does a C-locale string case comparison.
Changed checkprefix() to use it and those instances of strnequal() that
compare host names or other protocol strings that are defined to be
independent of case in the C locale.  This should fix a few more
Turkish locale problems.

16 years ago#include <stdlib.h> for exit() prototype
Yang Tse [Thu, 23 Oct 2008 00:38:23 +0000 (00:38 +0000)]
#include <stdlib.h> for exit() prototype

16 years agoUpdated example sizes and disable key words
Dan Fandrich [Wed, 22 Oct 2008 21:36:37 +0000 (21:36 +0000)]
Updated example sizes and disable key words

16 years agoFixed a compiler warning with --disable-proxy
Dan Fandrich [Wed, 22 Oct 2008 17:36:48 +0000 (17:36 +0000)]
Fixed a compiler warning with --disable-proxy

16 years agofixed language, added the Solaris _REENTRANT thing
Daniel Stenberg [Wed, 22 Oct 2008 15:10:56 +0000 (15:10 +0000)]
fixed language, added the Solaris _REENTRANT thing

16 years agoFor i686 icc autobuilds:
Yang Tse [Wed, 22 Oct 2008 15:03:15 +0000 (15:03 +0000)]
For i686 icc autobuilds:

  Re-enable all tests for debug-enabled builds.

  For debug-disabled builds only 8 tests are enabled.

16 years agoremoved four issues that had no action at all for the last four weeks or more
Daniel Stenberg [Wed, 22 Oct 2008 13:34:53 +0000 (13:34 +0000)]
removed four issues that had no action at all for the last four weeks or more

16 years agosome more temporary magic for the icc seg-fault issue
Yang Tse [Wed, 22 Oct 2008 13:30:09 +0000 (13:30 +0000)]
some more temporary magic for the icc seg-fault issue

16 years agoremove from configure.ac temporary magic for the icc seg-fault issue
Yang Tse [Wed, 22 Oct 2008 11:10:56 +0000 (11:10 +0000)]
remove from configure.ac temporary magic for the icc seg-fault issue

16 years agoChanged some arrays of char* to arrays of char[] to reduce data size and
Dan Fandrich [Wed, 22 Oct 2008 05:46:29 +0000 (05:46 +0000)]
Changed some arrays of char* to arrays of char[] to reduce data size and
run-time relocations.

16 years agoCompile away some more code in the CURL_DISABLE_PROXY case.
Dan Fandrich [Tue, 21 Oct 2008 23:15:19 +0000 (23:15 +0000)]
Compile away some more code in the CURL_DISABLE_PROXY case.

16 years agosome more temporary magic for the icc seg-fault issue
Yang Tse [Tue, 21 Oct 2008 17:54:18 +0000 (17:54 +0000)]
some more temporary magic for the icc seg-fault issue

16 years agoFixed some problems with SFTP range support to fix test cases 634 through 637.
Dan Fandrich [Tue, 21 Oct 2008 07:10:25 +0000 (07:10 +0000)]
Fixed some problems with SFTP range support to fix test cases 634 through 637.

16 years agoCharles Hardin patch:
Yang Tse [Tue, 21 Oct 2008 01:58:23 +0000 (01:58 +0000)]
Charles Hardin patch:

- handles the EINPROGRESS for UDP connects
- uses closesocket instead of close on some paths that were noticed

16 years agoremove debug-code which zero-filled some structures before free()ing them
Yang Tse [Mon, 20 Oct 2008 23:24:35 +0000 (23:24 +0000)]
remove debug-code which zero-filled some structures before free()ing them

16 years agoA few prototypes shouldn't be defined if SSL is disabled.
Dan Fandrich [Mon, 20 Oct 2008 23:07:48 +0000 (23:07 +0000)]
A few prototypes shouldn't be defined if SSL is disabled.

16 years ago*** empty log message ***
Yang Tse [Mon, 20 Oct 2008 23:05:52 +0000 (23:05 +0000)]
*** empty log message ***

16 years agoAll the coverity.com issues have no been taken care of.
Daniel Stenberg [Mon, 20 Oct 2008 21:59:36 +0000 (21:59 +0000)]
All the coverity.com issues have no been taken care of.

16 years agoadded a NULL pointer check for the name field as it can in fact be NULL when
Daniel Stenberg [Mon, 20 Oct 2008 21:56:35 +0000 (21:56 +0000)]
added a NULL pointer check for the name field as it can in fact be NULL when
dereferenced here, if the app passes in a funny combo. Detected by coverity.com

16 years agosome more temporary magic for the icc seg-fault issue
Yang Tse [Mon, 20 Oct 2008 15:56:08 +0000 (15:56 +0000)]
some more temporary magic for the icc seg-fault issue

16 years agomessages initially intended only for debug purposes, now become permanent
Yang Tse [Sun, 19 Oct 2008 23:50:18 +0000 (23:50 +0000)]
messages initially intended only for debug purposes, now become permanent
since these are extremely useful when compiler rejects a set of options.

16 years agofix compiler warning
Yang Tse [Sun, 19 Oct 2008 22:46:54 +0000 (22:46 +0000)]
fix compiler warning

16 years agoFixed potential memory leak in OOM situations. Detected by coverity.com
Daniel Stenberg [Sun, 19 Oct 2008 21:00:40 +0000 (21:00 +0000)]
Fixed potential memory leak in OOM situations. Detected by coverity.com

16 years agooops
Yang Tse [Sun, 19 Oct 2008 20:41:03 +0000 (20:41 +0000)]
oops

16 years agodumpeasycode() uses warnf() which uses config->errors so we must not close
Daniel Stenberg [Sun, 19 Oct 2008 20:37:24 +0000 (20:37 +0000)]
dumpeasycode() uses warnf() which uses config->errors so we must not close
that before dumpeasycode() is called. Found by coverity.com

16 years agoRemoved dead code, identified by coverity.com.
Daniel Stenberg [Sun, 19 Oct 2008 20:28:41 +0000 (20:28 +0000)]
Removed dead code, identified by coverity.com.

16 years agoattempt to fix or allow further detection of an elusive icc SIGSEGV
Yang Tse [Sun, 19 Oct 2008 20:17:16 +0000 (20:17 +0000)]
attempt to fix or allow further detection of an elusive icc SIGSEGV

16 years agoclarified an argument's situation due to a false positive alert pointed out
Daniel Stenberg [Sun, 19 Oct 2008 18:20:47 +0000 (18:20 +0000)]
clarified an argument's situation due to a false positive alert pointed out
by coverity.com

16 years agoFixed a compiler warning in the CURL_DISABLE_HTTP case
Dan Fandrich [Sun, 19 Oct 2008 04:48:15 +0000 (04:48 +0000)]
Fixed a compiler warning in the CURL_DISABLE_HTTP case

16 years agoattempt to fix compiler warning relative to potential misaligned data access
Yang Tse [Sun, 19 Oct 2008 01:02:18 +0000 (01:02 +0000)]
attempt to fix compiler warning relative to potential misaligned data access

16 years agoRemoved some more code in the CURL_DISABLE_HTTP case
Dan Fandrich [Sat, 18 Oct 2008 01:23:14 +0000 (01:23 +0000)]
Removed some more code in the CURL_DISABLE_HTTP case

16 years agoRemoved a line of dead code (discovered by Coverity)
Dan Fandrich [Sat, 18 Oct 2008 01:17:27 +0000 (01:17 +0000)]
Removed a line of dead code (discovered by Coverity)

16 years agoForgot it's a struct
Dan Fandrich [Fri, 17 Oct 2008 22:33:08 +0000 (22:33 +0000)]
Forgot it's a struct

16 years agoFixed a compile error reported by Albert Chin on AIX and IRIX when using
Dan Fandrich [Fri, 17 Oct 2008 22:23:48 +0000 (22:23 +0000)]
Fixed a compile error reported by Albert Chin on AIX and IRIX when using
GTLS.

16 years agofix compiler warning
Yang Tse [Fri, 17 Oct 2008 19:04:53 +0000 (19:04 +0000)]
fix compiler warning

16 years agofix missing double-quotes
Yang Tse [Fri, 17 Oct 2008 17:11:11 +0000 (17:11 +0000)]
fix missing double-quotes

16 years agoprotect against 'use after free' or race condition
Yang Tse [Fri, 17 Oct 2008 15:29:35 +0000 (15:29 +0000)]
protect against 'use after free' or race condition

16 years agooops ;-)
Yang Tse [Fri, 17 Oct 2008 13:55:13 +0000 (13:55 +0000)]
oops ;-)

16 years agooops
Yang Tse [Fri, 17 Oct 2008 13:33:13 +0000 (13:33 +0000)]
oops

16 years agofix syntax error
Daniel Stenberg [Fri, 17 Oct 2008 13:23:21 +0000 (13:23 +0000)]
fix syntax error

16 years agoIntroduce new options CURLOPT_PROXY{USERNAME, PASSWORD} in OS400 code and RPG binding.
Patrick Monnerat [Fri, 17 Oct 2008 13:17:41 +0000 (13:17 +0000)]
Introduce new options CURLOPT_PROXY{USERNAME, PASSWORD} in OS400 code and RPG binding.

16 years agofix compiler warning
Yang Tse [Fri, 17 Oct 2008 12:53:53 +0000 (12:53 +0000)]
fix compiler warning

16 years agoOOM condition fix
Yang Tse [Fri, 17 Oct 2008 12:49:02 +0000 (12:49 +0000)]
OOM condition fix

16 years agoCharles Hardin made adig support a regular numerical dotted IP address for the
Daniel Stenberg [Fri, 17 Oct 2008 11:26:36 +0000 (11:26 +0000)]
Charles Hardin made adig support a regular numerical dotted IP address for the
-s option as well.

16 years ago185 - CURLOPT_PROXYUSER etc
Daniel Stenberg [Fri, 17 Oct 2008 08:14:47 +0000 (08:14 +0000)]
185 - CURLOPT_PROXYUSER etc
done!

16 years agoAfter having studied one of the coverity.com reports at length last night, I
Daniel Stenberg [Fri, 17 Oct 2008 06:03:37 +0000 (06:03 +0000)]
After having studied one of the coverity.com reports at length last night, I
decided it was a good idea to properly document my thoughts in a comment near
the code that was identified as a possible flaw. A false positive as far as I
can see.

16 years agoremove some spurious line-endings
Yang Tse [Fri, 17 Oct 2008 03:59:02 +0000 (03:59 +0000)]
remove some spurious line-endings

16 years agoportability fix to avoid memory alignment problems
Yang Tse [Fri, 17 Oct 2008 03:38:36 +0000 (03:38 +0000)]
portability fix to avoid memory alignment problems

16 years agoReturn an error when a proxy option is set when configured with
Dan Fandrich [Thu, 16 Oct 2008 22:56:40 +0000 (22:56 +0000)]
Return an error when a proxy option is set when configured with
--disable-proxy mode.
Removed some unnecessary prototypes.

16 years agoAdded missing HTTP proxy and other keywords
Dan Fandrich [Thu, 16 Oct 2008 21:34:34 +0000 (21:34 +0000)]
Added missing HTTP proxy and other keywords

16 years agoCURLOPT_POST301 => CURLOPT_POSTREDIR
Dan Fandrich [Thu, 16 Oct 2008 21:02:38 +0000 (21:02 +0000)]
CURLOPT_POST301 => CURLOPT_POSTREDIR

16 years agodon't segfault when NULL is passed in to CURLOPT_USERPWD or
Daniel Stenberg [Thu, 16 Oct 2008 20:43:02 +0000 (20:43 +0000)]
don't segfault when NULL is passed in to CURLOPT_USERPWD or
CURLOPT_PROXYUSERPWD

16 years ago- Igor Novoseltsev added CURLOPT_PROXYUSER and CURLOPT_PROXYPASSWORD that then
Daniel Stenberg [Thu, 16 Oct 2008 20:21:22 +0000 (20:21 +0000)]
- Igor Novoseltsev added CURLOPT_PROXYUSER and CURLOPT_PROXYPASSWORD that then
  make CURLOPT_PROXYUSERPWD sort of deprecated. The primary motive for adding
  these new options is that they have no problems with the colon separator
  that the CURLOPT_PROXYUSERPWD option does.

16 years agocompile the library file strequal.c to get the Curl_raw_equal function as
Daniel Stenberg [Thu, 16 Oct 2008 18:02:46 +0000 (18:02 +0000)]
compile the library file strequal.c to get the Curl_raw_equal function as
that's not exported by the lib

16 years agomention the openssl requirement for the certinfo data
Daniel Stenberg [Thu, 16 Oct 2008 12:35:47 +0000 (12:35 +0000)]
mention the openssl requirement for the certinfo data

16 years agocorrect version number for the certinfo addition
Daniel Stenberg [Thu, 16 Oct 2008 12:29:32 +0000 (12:29 +0000)]
correct version number for the certinfo addition

16 years agoAdded CURLINFO_CERTINFO
Daniel Stenberg [Thu, 16 Oct 2008 11:35:19 +0000 (11:35 +0000)]
Added CURLINFO_CERTINFO

16 years agoI renamed the function
Daniel Stenberg [Thu, 16 Oct 2008 11:04:53 +0000 (11:04 +0000)]
I renamed the function

16 years agoRenamed Curl_ascii_equal to Curl_raw_equal and bugfixed the my_toupper function
Daniel Stenberg [Thu, 16 Oct 2008 08:23:48 +0000 (08:23 +0000)]
Renamed Curl_ascii_equal to Curl_raw_equal and bugfixed the my_toupper function
used in strequal.c so now all test cases run fine for me again.

16 years agoCurl_ascii_equal() must not assume that the string is actually ASCII (so that a-z
Daniel Stenberg [Thu, 16 Oct 2008 07:59:00 +0000 (07:59 +0000)]
Curl_ascii_equal() must not assume that the string is actually ASCII (so that a-z
are consecutive and with a 0x20 "distance" to the uppercase letter), since we do
support EBCDIC as well. Thus I replaced the macro with a (larger) switch case.

I better change the function name...

16 years agosome more temporary magic for the icc seg-fault issue
Yang Tse [Thu, 16 Oct 2008 01:45:07 +0000 (01:45 +0000)]
some more temporary magic for the icc seg-fault issue

16 years agofix warning
Daniel Stenberg [Wed, 15 Oct 2008 21:44:49 +0000 (21:44 +0000)]
fix warning

16 years ago- Pascal Terjan filed bug #2154627
Daniel Stenberg [Wed, 15 Oct 2008 21:43:48 +0000 (21:43 +0000)]
- Pascal Terjan filed bug #2154627
  (http://curl.haxx.se/bug/view.cgi?id=2154627) which pointed out that libcurl
  uses strcasecmp() in multiple places where it causes failures when the
  Turkish locale is used. This is because 'i' and 'I' isn't the same letter so
  strcasecmp() on those letters are different in Turkish than in English (or
  just about all other languages). I thus introduced a totally new internal
  function in libcurl (called Curl_ascii_equal) for doing case insentive
  comparisons for english-(ascii?) style strings that thus will make "file"
  and "FILE" match even if the Turkish locale is selected.

16 years agoEnsure that shell variable contents which have active meaning
Yang Tse [Wed, 15 Oct 2008 18:10:02 +0000 (18:10 +0000)]
Ensure that shell variable contents which have active meaning
to the shell echo command are not interpreted when trying to
remove extra whitespace from shell variable content.

16 years agoA <precheck> command is considered to have failed if it returns a non-zero
Dan Fandrich [Wed, 15 Oct 2008 17:41:02 +0000 (17:41 +0000)]
A <precheck> command is considered to have failed if it returns a non-zero
return code.  This way, if the precheck command can't be run at all for
whatever reason, it's treated as a precheck failure which causes the
test to be skipped.

16 years agoremoved the proto as well since the function is now gone
Daniel Stenberg [Wed, 15 Oct 2008 11:31:39 +0000 (11:31 +0000)]
removed the proto as well since the function is now gone

16 years agoremove Curl_strcasestr() since there is no code at all using this function!
Daniel Stenberg [Wed, 15 Oct 2008 09:56:34 +0000 (09:56 +0000)]
remove Curl_strcasestr() since there is no code at all using this function!

16 years agomention his full name
Daniel Stenberg [Wed, 15 Oct 2008 07:45:51 +0000 (07:45 +0000)]
mention his full name

16 years ago- John Wilkinson filed bug #2155496
Daniel Stenberg [Wed, 15 Oct 2008 07:43:48 +0000 (07:43 +0000)]
- John Wilkinson filed bug #2155496
  (http://curl.haxx.se/bug/view.cgi?id=2155496) pointing out an error case
  without a proper human-readable error message. When a read callback returns
  a too large value (like when trying to return a negative number) it would
  trigger and the generic error message then makes the proplem slightly
  different to track down. I've added an error message for this now.

16 years agocredit to John Wilkinson
Daniel Stenberg [Wed, 15 Oct 2008 07:31:31 +0000 (07:31 +0000)]
credit to John Wilkinson

16 years agoAdded signal-based resolver timeout issue
Dan Fandrich [Tue, 14 Oct 2008 23:52:36 +0000 (23:52 +0000)]
Added signal-based resolver timeout issue

16 years agoAdjust Watcom C warnings:
Yang Tse [Tue, 14 Oct 2008 23:06:39 +0000 (23:06 +0000)]
Adjust Watcom C warnings:

  Disable warnings on structure members padding.

16 years agoFailing SFTP range tests cases 634 through 637
Dan Fandrich [Tue, 14 Oct 2008 22:04:01 +0000 (22:04 +0000)]
Failing SFTP range tests cases 634 through 637

16 years agofour additional pending issues
Daniel Stenberg [Tue, 14 Oct 2008 21:20:04 +0000 (21:20 +0000)]
four additional pending issues

16 years agoWith this change Solaris target builds will now be done with _REENTRANT defined.
Yang Tse [Tue, 14 Oct 2008 18:44:27 +0000 (18:44 +0000)]
With this change Solaris target builds will now be done with _REENTRANT defined.

16 years agoattempt to fix compiler warning:
Yang Tse [Tue, 14 Oct 2008 17:35:25 +0000 (17:35 +0000)]
attempt to fix compiler warning:

  `variable' might be clobbered by `longjmp' or `vfork'

16 years agoAdjust Tiny C basic options:
Yang Tse [Tue, 14 Oct 2008 15:24:02 +0000 (15:24 +0000)]
Adjust Tiny C basic options:

  Remove -b from debug-enabled configuration, as Tiny C might have
  been built without the memory and bounds checker support.

16 years agoAdjust GCC warnings:
Yang Tse [Tue, 14 Oct 2008 14:19:34 +0000 (14:19 +0000)]
Adjust GCC warnings:

  Better disable following warnings when cross-compiling with a gcc older
  than 3.0, to avoid warnings from third party system headers:

    -Wmissing-declarations
    -Wmissing-prototypes
    -Wunused
    -Wshadow

16 years agoeeek, append 1 on the right place as otherwise we didn't fix the problem
Daniel Stenberg [Tue, 14 Oct 2008 09:12:44 +0000 (09:12 +0000)]
eeek, append 1 on the right place as otherwise we didn't fix the problem