Loading CHANGES +33 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,39 @@ Version XX Daniel (21 May 2000) - Updated lots of #defines, enums and variable type names in the library. No more weird URG or URLTAG prefixes. All types and names should be curl- prefixed to avoid name space clashes. The FLAGS-parameter to the former curl_urlget() has been converted into a bunch of flags to use in separate setopt calls. I'm still focusing on the easy-interface, as the curl tool is now using that. - Bjorn Reese has provided me with an asynchronous name resolver that I plan to use in upcoming versions of curl to be able to gracefully timeout name lookups. Version 7.0beta released Daniel (18 May 2000) - Introduced LIBCURL_VERSION_NUM to the curl.h include file to better allow source codes to be dependent on the lib version. This define is now set to a dexadecimal number, with 8 bits each for major number, minor number and patch number. In other words, version 1.2.3 would make it 0x010203. It also makes a larger number a newer version. Daniel (17 May 2000) - Martin Kammerhofer correctly pointed out several flaws in the FTP range option. I corrected them. - Removed the win32 winsock init crap from the lib to the src/main.c file in the application instead. They can't be in the lib, especially not for multithreaded purposes. Daniel (16 May 2000) - Rewrote the src/main.c source to use the new easy-interface to libcurl 7. There is still more work to do, but the first step is now taken. <curl/easy.h> is the include file to use. Daniel (14 May 2000) - FTP URLs are now treated slightly different, more according to RFC 1738. - FTP sessions are now performed differently, with CWD commands to change Loading FAQ +0 −11 Original line number Diff line number Diff line Loading @@ -83,14 +83,3 @@ configre doesn't find OpenSSL even when it is installed things work Submitted by: Bob Allison <allisonb@users.sourceforge.net> Will you write a script for me getting ZZZ from YYY? ==================================================== No. I try to help out to solve issues with curl and related stuff, but I really do have a lot of stuff on my daily schedule and I'd prefer if you did not ask me to do your jobs. Writing scripts is very easy. Using curl might be tricky, but once you're past the initial mistakes the road to success is very short and straight-forward. config-win32.h +3 −0 Original line number Diff line number Diff line Loading @@ -71,6 +71,9 @@ /* Define if you have the strcasecmp function. */ /*#define HAVE_STRCASECMP 1*/ /* Define if you have the stricmp function. */ #define HAVE_STRICMP 1 /* Define if you have the strdup function. */ #define HAVE_STRDUP 1 Loading config.h.in +6 −0 Original line number Diff line number Diff line Loading @@ -82,12 +82,18 @@ /* Define if you have the strcasecmp function. */ #undef HAVE_STRCASECMP /* Define if you have the strcmpi function. */ #undef HAVE_STRCMPI /* Define if you have the strdup function. */ #undef HAVE_STRDUP /* Define if you have the strftime function. */ #undef HAVE_STRFTIME /* Define if you have the stricmp function. */ #undef HAVE_STRICMP /* Define if you have the strstr function. */ #undef HAVE_STRSTR Loading configure.in +2 −32 Original line number Diff line number Diff line Loading @@ -2,13 +2,7 @@ dnl $Id$ dnl Process this file with autoconf to produce a configure script. AC_INIT(lib/urldata.h) AM_CONFIG_HEADER(config.h src/config.h) AM_INIT_AUTOMAKE(curl,"3-test") dnl dnl Detect the canonical host and target build environment dnl AC_CANONICAL_HOST AC_CANONICAL_TARGET AM_INIT_AUTOMAKE(curl,"7.0beta") dnl Checks for programs. AC_PROG_CC Loading @@ -26,27 +20,6 @@ dnl ********************************************************************** dnl nsl lib? AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(nsl, gethostbyname)) dnl At least one system has been identified to require BOTH nsl and dnl socket libs to link properly. if test "$ac_cv_lib_nsl_gethostbyname" = "$ac_cv_func_gethostbyname"; then AC_MSG_CHECKING([trying both nsl and socket libs]) my_ac_save_LIBS=$LIBS LIBS="-lnsl -lsocket $LIBS" AC_TRY_LINK( , [gethostbyname();], my_ac_link_result=success, my_ac_link_result=failure ) if test "$my_ac_link_result" = "failure"; then AC_MSG_RESULT([no]) AC_MSG_ERROR([couldn't find libraries for gethostbyname()]) dnl restore LIBS LIBS=$my_ac_save_LIBS else AC_MSG_RESULT([yes]) fi fi dnl resolve lib? AC_CHECK_FUNC(strcasecmp, , AC_CHECK_LIB(resolve, strcasecmp)) Loading Loading @@ -219,14 +192,13 @@ AC_CHECK_FUNCS( socket \ RAND_screen ) AC_PATH_PROG( PERL, perl, , $PATH:/usr/local/bin/perl:/usr/bin/:/usr/local/bin ) AC_SUBST(PERL) AC_PATH_PROGS( NROFF, gnroff nroff, , $PATH:/usr/bin/:/usr/local/bin ) AC_SUBST(NROFF) AC_PROG_RANLIB AC_PROG_YACC Loading @@ -236,8 +208,6 @@ dnl $PATH:/usr/bin/:/usr/local/bin ) dnl AC_SUBST(RANLIB) AC_OUTPUT( Makefile \ curl.spec \ curl-ssl.spec \ src/Makefile \ lib/Makefile ) dnl perl/checklinks.pl \ Loading Loading
CHANGES +33 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,39 @@ Version XX Daniel (21 May 2000) - Updated lots of #defines, enums and variable type names in the library. No more weird URG or URLTAG prefixes. All types and names should be curl- prefixed to avoid name space clashes. The FLAGS-parameter to the former curl_urlget() has been converted into a bunch of flags to use in separate setopt calls. I'm still focusing on the easy-interface, as the curl tool is now using that. - Bjorn Reese has provided me with an asynchronous name resolver that I plan to use in upcoming versions of curl to be able to gracefully timeout name lookups. Version 7.0beta released Daniel (18 May 2000) - Introduced LIBCURL_VERSION_NUM to the curl.h include file to better allow source codes to be dependent on the lib version. This define is now set to a dexadecimal number, with 8 bits each for major number, minor number and patch number. In other words, version 1.2.3 would make it 0x010203. It also makes a larger number a newer version. Daniel (17 May 2000) - Martin Kammerhofer correctly pointed out several flaws in the FTP range option. I corrected them. - Removed the win32 winsock init crap from the lib to the src/main.c file in the application instead. They can't be in the lib, especially not for multithreaded purposes. Daniel (16 May 2000) - Rewrote the src/main.c source to use the new easy-interface to libcurl 7. There is still more work to do, but the first step is now taken. <curl/easy.h> is the include file to use. Daniel (14 May 2000) - FTP URLs are now treated slightly different, more according to RFC 1738. - FTP sessions are now performed differently, with CWD commands to change Loading
FAQ +0 −11 Original line number Diff line number Diff line Loading @@ -83,14 +83,3 @@ configre doesn't find OpenSSL even when it is installed things work Submitted by: Bob Allison <allisonb@users.sourceforge.net> Will you write a script for me getting ZZZ from YYY? ==================================================== No. I try to help out to solve issues with curl and related stuff, but I really do have a lot of stuff on my daily schedule and I'd prefer if you did not ask me to do your jobs. Writing scripts is very easy. Using curl might be tricky, but once you're past the initial mistakes the road to success is very short and straight-forward.
config-win32.h +3 −0 Original line number Diff line number Diff line Loading @@ -71,6 +71,9 @@ /* Define if you have the strcasecmp function. */ /*#define HAVE_STRCASECMP 1*/ /* Define if you have the stricmp function. */ #define HAVE_STRICMP 1 /* Define if you have the strdup function. */ #define HAVE_STRDUP 1 Loading
config.h.in +6 −0 Original line number Diff line number Diff line Loading @@ -82,12 +82,18 @@ /* Define if you have the strcasecmp function. */ #undef HAVE_STRCASECMP /* Define if you have the strcmpi function. */ #undef HAVE_STRCMPI /* Define if you have the strdup function. */ #undef HAVE_STRDUP /* Define if you have the strftime function. */ #undef HAVE_STRFTIME /* Define if you have the stricmp function. */ #undef HAVE_STRICMP /* Define if you have the strstr function. */ #undef HAVE_STRSTR Loading
configure.in +2 −32 Original line number Diff line number Diff line Loading @@ -2,13 +2,7 @@ dnl $Id$ dnl Process this file with autoconf to produce a configure script. AC_INIT(lib/urldata.h) AM_CONFIG_HEADER(config.h src/config.h) AM_INIT_AUTOMAKE(curl,"3-test") dnl dnl Detect the canonical host and target build environment dnl AC_CANONICAL_HOST AC_CANONICAL_TARGET AM_INIT_AUTOMAKE(curl,"7.0beta") dnl Checks for programs. AC_PROG_CC Loading @@ -26,27 +20,6 @@ dnl ********************************************************************** dnl nsl lib? AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(nsl, gethostbyname)) dnl At least one system has been identified to require BOTH nsl and dnl socket libs to link properly. if test "$ac_cv_lib_nsl_gethostbyname" = "$ac_cv_func_gethostbyname"; then AC_MSG_CHECKING([trying both nsl and socket libs]) my_ac_save_LIBS=$LIBS LIBS="-lnsl -lsocket $LIBS" AC_TRY_LINK( , [gethostbyname();], my_ac_link_result=success, my_ac_link_result=failure ) if test "$my_ac_link_result" = "failure"; then AC_MSG_RESULT([no]) AC_MSG_ERROR([couldn't find libraries for gethostbyname()]) dnl restore LIBS LIBS=$my_ac_save_LIBS else AC_MSG_RESULT([yes]) fi fi dnl resolve lib? AC_CHECK_FUNC(strcasecmp, , AC_CHECK_LIB(resolve, strcasecmp)) Loading Loading @@ -219,14 +192,13 @@ AC_CHECK_FUNCS( socket \ RAND_screen ) AC_PATH_PROG( PERL, perl, , $PATH:/usr/local/bin/perl:/usr/bin/:/usr/local/bin ) AC_SUBST(PERL) AC_PATH_PROGS( NROFF, gnroff nroff, , $PATH:/usr/bin/:/usr/local/bin ) AC_SUBST(NROFF) AC_PROG_RANLIB AC_PROG_YACC Loading @@ -236,8 +208,6 @@ dnl $PATH:/usr/bin/:/usr/local/bin ) dnl AC_SUBST(RANLIB) AC_OUTPUT( Makefile \ curl.spec \ curl-ssl.spec \ src/Makefile \ lib/Makefile ) dnl perl/checklinks.pl \ Loading