platform/upstream/curl.git
15 years agoinitialize fread callback pointer to avoid compiler warning
Yang Tse [Tue, 9 Jun 2009 00:49:34 +0000 (00:49 +0000)]
initialize fread callback pointer to avoid compiler warning

15 years agofix compiler warning
Yang Tse [Tue, 9 Jun 2009 00:00:28 +0000 (00:00 +0000)]
fix compiler warning

15 years ago- Claes Jakobsson provided a patch for libcurl-NSS that fixed a bad refcount
Daniel Stenberg [Mon, 8 Jun 2009 21:25:16 +0000 (21:25 +0000)]
- Claes Jakobsson provided a patch for libcurl-NSS that fixed a bad refcount
  issue with client certs that caused issues like segfaults.
  http://curl.haxx.se/mail/lib-2009-05/0316.html

15 years ago- Triggered by bug report #2798852 and the patch in there, I fixed configure
Daniel Stenberg [Mon, 8 Jun 2009 21:12:59 +0000 (21:12 +0000)]
- Triggered by bug report #2798852 and the patch in there, I fixed configure
  to detect gnutls build options with pkg-config only and not libgnutls-config
  anymore since GnuTLS has stopped distributing that tool. If an explicit path
  is given to configure, we will instead guess on how to link and use that
  lib. I did not use the patch from the bug report.

15 years agofix compiler warning: signed and unsigned type in conditional expression
Yang Tse [Mon, 8 Jun 2009 18:55:35 +0000 (18:55 +0000)]
fix compiler warning: signed and unsigned type in conditional expression

15 years agomention last changes
Yang Tse [Mon, 8 Jun 2009 16:18:04 +0000 (16:18 +0000)]
mention last changes

15 years agomention last changes
Yang Tse [Mon, 8 Jun 2009 15:50:15 +0000 (15:50 +0000)]
mention last changes

15 years agoIgor Novoseltsev provided docs\INSTALL VxWorks section
Yang Tse [Mon, 8 Jun 2009 15:49:40 +0000 (15:49 +0000)]
Igor Novoseltsev provided docs\INSTALL VxWorks section

15 years agoIgor Novoseltsev adjusted Makefile.vxworks to get sources and headers
Yang Tse [Mon, 8 Jun 2009 15:49:02 +0000 (15:49 +0000)]
Igor Novoseltsev adjusted Makefile.vxworks to get sources and headers
included from Makefile.inc

15 years agoUse curl_off_t and CURL_FORMAT_CURL_OFF_T for file size.
Yang Tse [Mon, 8 Jun 2009 15:09:47 +0000 (15:09 +0000)]
Use curl_off_t and CURL_FORMAT_CURL_OFF_T for file size.

15 years agoRemove buildconf.bat from release and daily snapshot archives.
Yang Tse [Mon, 8 Jun 2009 14:31:35 +0000 (14:31 +0000)]
Remove buildconf.bat from release and daily snapshot archives.

buildconf.bat is only for CVS tree builds.

15 years agoEnsure that buildconf.bat does nothing unless it is used with a CVS checkout.
Yang Tse [Mon, 8 Jun 2009 14:27:36 +0000 (14:27 +0000)]
Ensure that buildconf.bat does nothing unless it is used with a CVS checkout.

15 years agoCVS-INFO file only present in CVS tree, never in release nor daily snapshot
Yang Tse [Mon, 8 Jun 2009 14:26:58 +0000 (14:26 +0000)]
CVS-INFO file only present in CVS tree, never in release nor daily snapshot
archives. Used as a sentinel file in buildconf.bat to differentiate CVS builds.

15 years agodjgpp build fix
Daniel Stenberg [Mon, 8 Jun 2009 13:55:18 +0000 (13:55 +0000)]
djgpp build fix

15 years ago../include/curl/curlbuild.h.dist is not present in release archives so
Daniel Stenberg [Mon, 8 Jun 2009 13:53:23 +0000 (13:53 +0000)]
../include/curl/curlbuild.h.dist is not present in release archives so
the makefile cannot depend on it

15 years agoUpdate comment about "ML". Removed "-D_USE_32BIT_TIME_T" (not a requirement).
Gisle Vanem [Mon, 8 Jun 2009 12:09:15 +0000 (12:09 +0000)]
Update comment about "ML". Removed "-D_USE_32BIT_TIME_T" (not a requirement).

15 years agojust comment it out
Yang Tse [Mon, 8 Jun 2009 02:41:15 +0000 (02:41 +0000)]
just comment it out

15 years agoFor debugging purposes...
Yang Tse [Mon, 8 Jun 2009 02:03:13 +0000 (02:03 +0000)]
For debugging purposes...

Disable the '-export-symbols-regex' to discard this as the origin
of link failures related with shared libraries and non-GNU linkers.

15 years agoAdjusted libtool version parsing due to libtool --version now also
Yang Tse [Mon, 8 Jun 2009 00:07:18 +0000 (00:07 +0000)]
Adjusted libtool version parsing due to libtool --version now also
reporting package version in parentheses which confused this script.

Remove debug tracing used to debug this.

15 years agoBill Hoffman (6 June 2009)
Daniel Stenberg [Sun, 7 Jun 2009 22:26:44 +0000 (22:26 +0000)]
Bill Hoffman (6 June 2009)
- Added some cmake docs and fixed socklen_t in the build.

15 years ago- Eric Wong fixed --no-buffer to actually switch off output buffering. Been
Daniel Stenberg [Sun, 7 Jun 2009 22:21:22 +0000 (22:21 +0000)]
- Eric Wong fixed --no-buffer to actually switch off output buffering. Been
  broken since 7.19.0

15 years agodebug test a non-greedy pattern
Yang Tse [Sun, 7 Jun 2009 00:48:57 +0000 (00:48 +0000)]
debug test a non-greedy pattern

15 years agoAdd some debug tracing
Yang Tse [Sat, 6 Jun 2009 20:24:58 +0000 (20:24 +0000)]
Add some debug tracing

15 years agoremove the ofending regexp
Yang Tse [Sat, 6 Jun 2009 17:22:00 +0000 (17:22 +0000)]
remove the ofending regexp

15 years agoremove line not intended to be committed
Yang Tse [Sat, 6 Jun 2009 14:30:47 +0000 (14:30 +0000)]
remove line not intended to be committed

15 years agoattempt to fix regex
Yang Tse [Sat, 6 Jun 2009 14:27:28 +0000 (14:27 +0000)]
attempt to fix regex

15 years agoAdjusted libtool version parsing due to libtool --version now also
Yang Tse [Sat, 6 Jun 2009 13:22:15 +0000 (13:22 +0000)]
Adjusted libtool version parsing due to libtool --version now also
reporting package name in parentheses which confused this script.

15 years agoRevert delegating c-ares linking magic on libtool and auto-makefiles when using
Yang Tse [Sat, 6 Jun 2009 13:20:39 +0000 (13:20 +0000)]
Revert delegating c-ares linking magic on libtool and auto-makefiles when using
the uninstalled c-ares libtool archive built from the CVS embedded tree.

This embedded c-ares linking is again handled from the configure script.

15 years agoc-ares Makefile.am back to using $(top_builddir) for *_LDADD
Yang Tse [Sat, 6 Jun 2009 13:20:10 +0000 (13:20 +0000)]
c-ares Makefile.am back to using $(top_builddir) for *_LDADD

15 years agoENH: add some cmake docs and fix build with socklen_t
Bill Hoffman [Sat, 6 Jun 2009 13:18:01 +0000 (13:18 +0000)]
ENH: add some cmake docs and fix build with socklen_t

15 years agomention last changes
Yang Tse [Fri, 5 Jun 2009 18:42:50 +0000 (18:42 +0000)]
mention last changes

15 years agodocs/example patches for VMS
Yang Tse [Fri, 5 Jun 2009 18:40:40 +0000 (18:40 +0000)]
docs/example patches for VMS

15 years agoDepending on the libtool and automake versions being used config.guess gets
Yang Tse [Fri, 5 Jun 2009 18:07:47 +0000 (18:07 +0000)]
Depending on the libtool and automake versions being used config.guess gets
installed in the subdirectory at different stages. With some versions it is
installed when libtoolize finishes, but with others it is not installed
until automake has finished.

So we can not attempt to use config.guess until the very last buildconf stage.

15 years agomention last changes
Yang Tse [Fri, 5 Jun 2009 16:32:37 +0000 (16:32 +0000)]
mention last changes

15 years agointroduction of os-specific.c and os-specific.h
Yang Tse [Fri, 5 Jun 2009 16:14:50 +0000 (16:14 +0000)]
introduction of os-specific.c and os-specific.h

15 years agoc-ares' -no-undefined and --enable-curldebug adjustments
Yang Tse [Fri, 5 Jun 2009 13:17:55 +0000 (13:17 +0000)]
c-ares' -no-undefined and --enable-curldebug adjustments

15 years agoremove conflict markers
Daniel Stenberg [Fri, 5 Jun 2009 06:19:29 +0000 (06:19 +0000)]
remove conflict markers

15 years ago- Setting the Content-Length: header from your app when you do a POST or PUT
Daniel Stenberg [Fri, 5 Jun 2009 06:18:42 +0000 (06:18 +0000)]
- Setting the Content-Length: header from your app when you do a POST or PUT
  is almost always a VERY BAD IDEA. Yet there are still apps out there doing
  this, and now recently it triggered a bug/side-effect in libcurl as when
  libcurl sends a POST or PUT with NTLM, it sends an empty post first when it
  knows it will just get a 401/407 back. If the app then replaced the
  Content-Length header, it caused the server to wait for input that libcurl
  wouldn't send. Aaron Oneal reported this problem in bug report #2799008
  http://curl.haxx.se/bug/view.cgi?id=2799008) and helped us verify the fix.

15 years agofix shadowing of a global declaration
Yang Tse [Thu, 4 Jun 2009 23:55:56 +0000 (23:55 +0000)]
fix shadowing of a global declaration

15 years agoallow building libcurl for VxWorks
Yang Tse [Thu, 4 Jun 2009 19:11:11 +0000 (19:11 +0000)]
allow building libcurl for VxWorks

15 years agoc-ares embbeded builds header include paths fully defined in makefiles
Yang Tse [Thu, 4 Jun 2009 04:13:39 +0000 (04:13 +0000)]
c-ares embbeded builds header include paths fully defined in makefiles

15 years agoRemove more generated files.
Yang Tse [Wed, 3 Jun 2009 10:34:37 +0000 (10:34 +0000)]
Remove more generated files.

Yet unknown error might leave libtool-like files in source directory.

15 years agoRemove more generated files
Yang Tse [Wed, 3 Jun 2009 03:15:19 +0000 (03:15 +0000)]
Remove more generated files

15 years agoRemove all generated 'Makefile' files.
Yang Tse [Wed, 3 Jun 2009 00:57:18 +0000 (00:57 +0000)]
Remove all generated 'Makefile' files.

This can be done now that no file with such name exists in CVS tree.

15 years agoRemove more generated files
Yang Tse [Wed, 3 Jun 2009 00:08:09 +0000 (00:08 +0000)]
Remove more generated files

15 years agoDie when instructed to build c-ares and this fails
Yang Tse [Wed, 3 Jun 2009 00:07:46 +0000 (00:07 +0000)]
Die when instructed to build c-ares and this fails

15 years agoCreated a basic Android make file for curl and libcurl. A config.h
Dan Fandrich [Tue, 2 Jun 2009 19:02:02 +0000 (19:02 +0000)]
Created a basic Android make file for curl and libcurl. A config.h
is also needed before curl can be built in Android, but it's not clear
what the best way is to provide one.

15 years agoUse relative path to built c-ares tree libtool library
Yang Tse [Tue, 2 Jun 2009 18:29:09 +0000 (18:29 +0000)]
Use relative path to built c-ares tree libtool library

15 years agoTemporarily disable config.guess related checks
Yang Tse [Mon, 1 Jun 2009 18:22:03 +0000 (18:22 +0000)]
Temporarily disable config.guess related checks

15 years ago- Claes Jakobsson fixed the configure script to better find and use NSS
Daniel Stenberg [Mon, 1 Jun 2009 09:40:09 +0000 (09:40 +0000)]
- Claes Jakobsson fixed the configure script to better find and use NSS
  without pkg-config.

15 years agocredit John E. Malmberg
Yang Tse [Mon, 1 Jun 2009 09:20:49 +0000 (09:20 +0000)]
credit John E. Malmberg

15 years agoJohn E. Malmberg noticed that the configure script was failing to detect the
Yang Tse [Mon, 1 Jun 2009 09:19:16 +0000 (09:19 +0000)]
John E. Malmberg noticed that the configure script was failing to detect the
timeval struct on VMS when building with _XOPEN_SOURCE_EXTENDED undefined due
to definition taking place in socket.h instead of time.h

15 years agoJohn E. Malmberg's VMS specific clean-up for curl.h
Yang Tse [Mon, 1 Jun 2009 09:18:15 +0000 (09:18 +0000)]
John E. Malmberg's VMS specific clean-up for curl.h

15 years agoHP-UX requires libtool version 1.5.24 or newer
Yang Tse [Mon, 1 Jun 2009 02:47:57 +0000 (02:47 +0000)]
HP-UX requires libtool version 1.5.24 or newer

15 years agoDelegate c-ares linking magic on libtool and auto-makefiles when using
Yang Tse [Sat, 30 May 2009 15:56:42 +0000 (15:56 +0000)]
Delegate c-ares linking magic on libtool and auto-makefiles when using
the uninstalled c-ares libtool archive built from the CVS embedded tree.

15 years agoAdded missing NTLM feature for test 1097
Dan Fandrich [Sat, 30 May 2009 04:34:11 +0000 (04:34 +0000)]
Added missing NTLM feature for test 1097

15 years agoAllow compiling under Android
Dan Fandrich [Sat, 30 May 2009 00:07:50 +0000 (00:07 +0000)]
Allow compiling under Android

15 years agoFix compiler warning: out of bound access
Yang Tse [Fri, 29 May 2009 13:19:51 +0000 (13:19 +0000)]
Fix compiler warning: out of bound access

15 years agocorrected comments
Daniel Stenberg [Fri, 29 May 2009 07:43:43 +0000 (07:43 +0000)]
corrected comments

15 years agoFixed a few comment typos (from the FreeBSD ports)
Dan Fandrich [Thu, 28 May 2009 21:32:31 +0000 (21:32 +0000)]
Fixed a few comment typos (from the FreeBSD ports)

15 years agofix compilation on AIX
Yang Tse [Thu, 28 May 2009 16:43:17 +0000 (16:43 +0000)]
fix compilation on AIX

15 years agofix compiler warning: variable was set but never used
Yang Tse [Thu, 28 May 2009 16:19:03 +0000 (16:19 +0000)]
fix compiler warning: variable was set but never used

15 years agofix compiler warning: unused parameter
Yang Tse [Thu, 28 May 2009 16:18:25 +0000 (16:18 +0000)]
fix compiler warning: unused parameter

15 years agoc-ares' --enable-curldebug adjustments
Yang Tse [Thu, 28 May 2009 14:38:04 +0000 (14:38 +0000)]
c-ares' --enable-curldebug adjustments

15 years agoRemove temporarily introduced memory leak.
Yang Tse [Thu, 28 May 2009 09:58:24 +0000 (09:58 +0000)]
Remove temporarily introduced memory leak.

15 years ago- Claes Jakobsson fixed libcurl-NSS to build fine even without the
Daniel Stenberg [Wed, 27 May 2009 22:01:03 +0000 (22:01 +0000)]
- Claes Jakobsson fixed libcurl-NSS to build fine even without the
  PK11_CreateGenericObject() function.

15 years ago- Mike Crowe pointed out that setting CURLOPT_USERPWD to NULL used to clear
Daniel Stenberg [Wed, 27 May 2009 21:45:12 +0000 (21:45 +0000)]
- Mike Crowe pointed out that setting CURLOPT_USERPWD to NULL used to clear
  the auth credentials back in 7.19.0 and earlier while now you have to set ""
  to get the same effect. His patch brings back the ability to use NULL.

15 years ago- Andre Guibert de Bruet found a call to a OpenSSL function that didn't check
Daniel Stenberg [Wed, 27 May 2009 21:15:38 +0000 (21:15 +0000)]
- Andre Guibert de Bruet found a call to a OpenSSL function that didn't check
  for a failure properly.

15 years ago- Frank McGeough provided a small OpenSSL #include fix to make libcurl compile
Daniel Stenberg [Wed, 27 May 2009 21:11:11 +0000 (21:11 +0000)]
- Frank McGeough provided a small OpenSSL #include fix to make libcurl compile
  fine with Nokia 5th edition 1.0 SDK for Symbian.

15 years agoTemporarily introduce a memory leak to verify curl debug memory tracking works.
Yang Tse [Wed, 27 May 2009 19:25:51 +0000 (19:25 +0000)]
Temporarily introduce a memory leak to verify curl debug memory tracking works.

15 years agoAllow curl debug memory tracking when building a shared library on
Yang Tse [Wed, 27 May 2009 19:21:09 +0000 (19:21 +0000)]
Allow curl debug memory tracking when building a shared library on
systems which support external, undefined, symbols in shared libraries.

15 years agolanguage fix
Daniel Stenberg [Tue, 26 May 2009 18:03:05 +0000 (18:03 +0000)]
language fix

15 years agoMake ares_init(), ares_dup() and ares_init_options() return ARES_ENOTINITIALIZED
Yang Tse [Tue, 26 May 2009 18:00:14 +0000 (18:00 +0000)]
Make ares_init(), ares_dup() and ares_init_options() return ARES_ENOTINITIALIZED
if library initialization has not been performed calling ares_library_init().

15 years agoc-ares's --enable-curldebug configure option decoupled from c-ares's --enable-debug
Yang Tse [Tue, 26 May 2009 14:50:45 +0000 (14:50 +0000)]
c-ares's --enable-curldebug configure option decoupled from c-ares's --enable-debug

15 years agoPrevent copying 'sourced' manpages for build targets that don't use them.
Yang Tse [Tue, 26 May 2009 13:43:25 +0000 (13:43 +0000)]
Prevent copying 'sourced' manpages for build targets that don't use them.

15 years ago- bug report #2796358 (http://curl.haxx.se/bug/view.cgi?id=2796358) pointed
Daniel Stenberg [Mon, 25 May 2009 12:23:22 +0000 (12:23 +0000)]
- bug report #2796358 (curl.haxx.se/bug/view.cgi?id=2796358) pointed
  out that the cookie parser would leak memory when it parses cookies that are
  received with domain, path etc set multiple times in the same header. While
  such a cookie is questionable, they occur in the wild and libcurl no longer
  leaks memory for them. I added such a header to test case 8.

15 years agominor edits
Daniel Stenberg [Sat, 23 May 2009 20:23:44 +0000 (20:23 +0000)]
minor edits

15 years agoAdded some missing test keywords
Dan Fandrich [Fri, 22 May 2009 21:34:32 +0000 (21:34 +0000)]
Added some missing test keywords

15 years agoRemoved some obsolete digest code that caused a valgrind error in test 551.
Dan Fandrich [Fri, 22 May 2009 17:26:49 +0000 (17:26 +0000)]
Removed some obsolete digest code that caused a valgrind error in test 551.

15 years agoInclude .pdf versions of c-ares man pages in distribution tarball.
Yang Tse [Thu, 21 May 2009 17:40:55 +0000 (17:40 +0000)]
Include .pdf versions of c-ares man pages in distribution tarball.

15 years agoAllow generation of .html and .pdf versions of c-ares man pages.
Yang Tse [Thu, 21 May 2009 17:40:19 +0000 (17:40 +0000)]
Allow generation of .html and .pdf versions of c-ares man pages.

15 years agoforced to use nmake for VC builds early so that its also used for ares even if we...
Gunter Knauf [Thu, 21 May 2009 15:18:26 +0000 (15:18 +0000)]
forced to use nmake for VC builds early so that its also used for ares even if we find a GNU make first in path; simplified curl make call.

15 years agostrip \r only on non-win32 platforms (wine on Linux).
Gunter Knauf [Thu, 21 May 2009 14:14:57 +0000 (14:14 +0000)]
strip \r only on non-win32 platforms (wine on Linux).

15 years agoremoved an attempt to write to non-opened LOG introduced with r1.30.
Gunter Knauf [Thu, 21 May 2009 14:08:53 +0000 (14:08 +0000)]
removed an attempt to write to non-opened LOG introduced with r1.30.

15 years agoreduced duplicate code.
Gunter Knauf [Thu, 21 May 2009 13:23:49 +0000 (13:23 +0000)]
reduced duplicate code.

15 years agostripped \r from win32 curl --version output.
Gunter Knauf [Thu, 21 May 2009 13:02:34 +0000 (13:02 +0000)]
stripped \r from win32 curl --version output.

15 years agoenable mingw64 target.
Gunter Knauf [Thu, 21 May 2009 12:59:49 +0000 (12:59 +0000)]
enable mingw64 target.

15 years ago$(OBJ_DIR)/ares_getopt.o must be cleaned explicitly.
Gisle Vanem [Thu, 21 May 2009 11:43:15 +0000 (11:43 +0000)]
$(OBJ_DIR)/ares_getopt.o must be cleaned explicitly.

15 years agoAdded CVS id.
Gisle Vanem [Thu, 21 May 2009 11:39:36 +0000 (11:39 +0000)]
Added CVS id.

15 years agoUpdate coments. Long-file name setup is required.
Gisle Vanem [Thu, 21 May 2009 11:38:48 +0000 (11:38 +0000)]
Update coments. Long-file name setup is required.
C-Ares and IPv6 is no longer a bad combo.

15 years agoAdded "non-existing host" test keywords to make it easy to skip those
Dan Fandrich [Wed, 20 May 2009 19:30:06 +0000 (19:30 +0000)]
Added "non-existing host" test keywords to make it easy to skip those
tests on machines that have broken DNS configurations (such as
those configured to use OpenDNS).

15 years agoMention last changes
Yang Tse [Wed, 20 May 2009 13:49:43 +0000 (13:49 +0000)]
Mention last changes

15 years agoInitial ares_library_cleanup(3) man page
Yang Tse [Wed, 20 May 2009 11:26:26 +0000 (11:26 +0000)]
Initial ares_library_cleanup(3) man page

15 years agoUpdate man page
Yang Tse [Wed, 20 May 2009 11:25:21 +0000 (11:25 +0000)]
Update man page

15 years agoUpdate man page
Yang Tse [Wed, 20 May 2009 02:12:23 +0000 (02:12 +0000)]
Update man page

15 years agochanged ssh.c to use HAVE_LIBSSH2_SESSION_BLOCK_DIRECTION define provided by libssh2...
Gunter Knauf [Tue, 19 May 2009 23:21:25 +0000 (23:21 +0000)]
changed ssh.c to use HAVE_LIBSSH2_SESSION_BLOCK_DIRECTION define provided by libssh2.h; removed related define block from ssh.h.

15 years ago- Kamil Dudka brought the patch from the Redhat bug entry
Daniel Stenberg [Tue, 19 May 2009 20:54:31 +0000 (20:54 +0000)]
- Kamil Dudka brought the patch from the Redhat bug entry
  https://bugzilla.redhat.com/show_bug.cgi?id=427966 which was libcurl closing
  a bad file descriptor when closing down the FTP data connection.  Caolan
  McNamara seems to be the original author of it.

15 years agoInitial ares_library_init(3) man page attempt
Yang Tse [Tue, 19 May 2009 19:00:28 +0000 (19:00 +0000)]
Initial ares_library_init(3) man page attempt

15 years agoForce revision update, to force CVS to update the $Id date string format
Yang Tse [Tue, 19 May 2009 16:05:45 +0000 (16:05 +0000)]
Force revision update, to force CVS to update the $Id date string format

15 years agoAdd same copyright notice as other c-ares files
Yang Tse [Tue, 19 May 2009 15:23:25 +0000 (15:23 +0000)]
Add same copyright notice as other c-ares files