]> granicus.if.org Git - curl/commitdiff
Daniel wants upcoming release to be 1.7.0
authorYang Tse <yangsita@gmail.com>
Mon, 23 Nov 2009 12:03:32 +0000 (12:03 +0000)
committerYang Tse <yangsita@gmail.com>
Mon, 23 Nov 2009 12:03:32 +0000 (12:03 +0000)
ares/CHANGES
ares/README.cares
ares/ares.h
ares/ares_data.h
ares/ares_free_data.3
ares/ares_library_cleanup.3
ares/ares_library_init.3
ares/ares_parse_srv_reply.3
ares/ares_parse_txt_reply.3
ares/ares_version.h

index 8d4d838dcb90c7f8a4858ec92290ca0297d40f92..0782e04c27b05ac8e5aeb307995b102257e66bff 100644 (file)
@@ -13,7 +13,7 @@
   necessary changes to code base and man pages.This change does not break
   ABI, there is no need to recompile existing applications. But existing
   applications using these structs with the old name will need source code
-  adjustments when recompiled using c-ares 1.6.1.
+  adjustments when recompiled using c-ares 1.7.0.
 
 * November 21, 2009 (Yang Tse)
 - Added manifest stuff to Makefile.msvc.
 - Introduced ares_library_init() and ares_library_cleanup() functions.
 
   This is an API and ABI break for Win32/64 systems. Non-Win32/64 build targets
-  using c-ares 1.6.1 can still survive without calling these functions. Read all
+  using c-ares 1.7.0 can still survive without calling these functions. Read all
   the details on ares_library_init(3) and ares_library_cleanup(3) man pages that
   are included.
 
-  curl/libcurl 7.19.5 is fully compatible with c-ares 1.6.1 on all systems.
+  curl/libcurl 7.19.5 is fully compatible with c-ares 1.7.0 on all systems.
 
-  In order to use c-ares 1.6.1 with curl/libcurl on Win32/64 systems it is
+  In order to use c-ares 1.7.0 with curl/libcurl on Win32/64 systems it is
   required that curl/libcurl is 7.19.5 or newer. In other words, it is not
-  possible on Win32/64 to use c-ares 1.6.1 with a curl/libcurl version less
+  possible on Win32/64 to use c-ares 1.7.0 with a curl/libcurl version less
   than 7.19.5
 
 * May 11 2009 (Daniel Stenberg)
index 3f9b2fc0f5496d404bc8d43de679efa9b1a9d952..fd37461c8bcde9c51a4badb52f663f9c1ad98316 100644 (file)
@@ -27,7 +27,7 @@ You'll find all c-ares details and news here:
 
 NOTES FOR C-ARES HACKERS
 
-The following notes apply to c-ares version 1.6.1 and later.
+The following notes apply to c-ares version 1.7.0 and later.
 
 * The distributed ares_build.h file is only intended to be used on systems
   which can not run the also distributed configure script.
index 3e45a90f25a063b867c63115bb1126b511f78d2b..8a9b1c0b2a339550b319ce0d9e719134b663e6b4 100644 (file)
@@ -119,14 +119,14 @@ extern "C" {
 #define ARES_EBADHINTS          20
 
 /* Uninitialized library error code */
-#define ARES_ENOTINITIALIZED    21          /* introduced in 1.6.1 */
+#define ARES_ENOTINITIALIZED    21          /* introduced in 1.7.0 */
 
 /* ares_library_init error codes */
-#define ARES_ELOADIPHLPAPI           22     /* introduced in 1.6.1 */
-#define ARES_EADDRGETNETWORKPARAMS   23     /* introduced in 1.6.1 */
+#define ARES_ELOADIPHLPAPI           22     /* introduced in 1.7.0 */
+#define ARES_EADDRGETNETWORKPARAMS   23     /* introduced in 1.7.0 */
 
 /* More error codes */
-#define ARES_ECANCELLED         24          /* introduced in 1.6.1 */
+#define ARES_ECANCELLED         24          /* introduced in 1.7.0 */
 
 /* Flag values */
 #define ARES_FLAG_USEVC         (1 << 0)
@@ -404,10 +404,10 @@ CARES_EXTERN int ares_expand_string(const unsigned char *encoded,
                                     long *enclen);
 
 /*
- * NOTE: before c-ares 1.6.1 we would most often use the system in6_addr
+ * NOTE: before c-ares 1.7.0 we would most often use the system in6_addr
  * struct below when ares itself was built, but many apps would use this
  * private version since the header checked a HAVE_* define for it. Starting
- * with 1.6.1 we always declare and use our own to stop relying on the
+ * with 1.7.0 we always declare and use our own to stop relying on the
  * system's one.
  */
 struct ares_in6_addr {
index ffe2aebb0d7756a5de61862855860c96b12588f7..f211dd733a81fc6fc9be8fc97929dfabb0dea126 100644 (file)
  */
 
 typedef enum {
-  ARES_DATATYPE_UNKNOWN = 1,   /* unknown data type     */
+  ARES_DATATYPE_UNKNOWN = 1,  /* unknown data type     - introduced in 1.7.0 */
+  ARES_DATATYPE_SRV_REPLY,    /* struct ares_srv_reply - introduced in 1.7.0 */
+  ARES_DATATYPE_TXT_REPLY,    /* struct ares_txt_reply - introduced in 1.7.0 */
 #if 0
-  ARES_DATATYPE_ADDR6TTL,      /* struct ares_addrttl   */
-  ARES_DATATYPE_ADDRTTL,       /* struct ares_addr6ttl  */
-  ARES_DATATYPE_HOSTENT,       /* struct hostent        */
-  ARES_DATATYPE_OPTIONS,       /* struct ares_options   */
+  ARES_DATATYPE_ADDR6TTL,     /* struct ares_addrttl   */
+  ARES_DATATYPE_ADDRTTL,      /* struct ares_addr6ttl  */
+  ARES_DATATYPE_HOSTENT,      /* struct hostent        */
+  ARES_DATATYPE_OPTIONS,      /* struct ares_options   */
 #endif
-  ARES_DATATYPE_SRV_REPLY,     /* struct ares_srv_reply */
-  ARES_DATATYPE_TXT_REPLY,     /* struct ares_txt_reply */
-  ARES_DATATYPE_LAST           /* not used              */
+  ARES_DATATYPE_LAST          /* not used              - introduced in 1.7.0 */
 } ares_datatype;
 
 #define ARES_DATATYPE_MARK 0xbead
index 30dcef49a2da42e5988a87b2e76ed472d2583e7b..f6c5e33b9f1d6b3c84d930ad4d32ab2dd1a5cfb8 100644 (file)
@@ -48,7 +48,7 @@ associated with those structures.
 .SH RETURN VALUE
 The ares_free_data() function does not return a value.
 .SH AVAILABILITY
-This function was first introduced in c-ares version 1.6.1.
+This function was first introduced in c-ares version 1.7.0.
 .SH SEE ALSO
 .BR ares_parse_srv_reply(3),
 .BR ares_parse_txt_reply(3)
index 09a1dcc483e4678c7c26b13d8347b3eac24bf2e3..3919dc3a60f46ff08646cabf3eae72f43bf3a71d 100644 (file)
@@ -53,14 +53,14 @@ conflict with any other thread that is already using these other libraries.
 Win32/64 application DLLs shall not call \fIares_library_cleanup(3)\fP from
 the DllMain function. Doing so will produce deadlocks and other problems.
 .SH AVAILABILITY
-This function was first introduced in c-ares version 1.6.1 along with the
+This function was first introduced in c-ares version 1.7.0 along with the
 definition of preprocessor symbol \fICARES_HAVE_ARES_LIBRARY_CLEANUP\fP as an
 indication of the availability of this function.
 .PP
 Since the introduction of this function, it is absolutely mandatory to call it
 for any Win32/64 program using c-ares.
 .PP
-Non-Win32/64 systems can still use c-ares version 1.6.1 without calling
+Non-Win32/64 systems can still use c-ares version 1.7.0 without calling
 \fIares_library_cleanup(3)\fP due to the fact that it is nearly a do-nothing
 function on non-Win32/64 platforms.
 .SH SEE ALSO
index 64d6c0b79f623ddd7a09ea7778ba8d2360284969..b7d0ec3eb8a114c4e4b50037bde3e4bd257e17a4 100644 (file)
@@ -76,14 +76,14 @@ non-zero error number will be returned to indicate the error. Except for
 \fIares_strerror(3)\fP, you shall not call any other c-ares function upon
 \fIares_library_init(3)\fP failure.
 .SH AVAILABILITY
-This function was first introduced in c-ares version 1.6.1 along with the
+This function was first introduced in c-ares version 1.7.0 along with the
 definition of preprocessor symbol \fICARES_HAVE_ARES_LIBRARY_INIT\fP as an
 indication of the availability of this function.
 .PP
 Since the introduction of this function it is absolutely mandatory to
 call it for any Win32/64 program using c-ares.
 .PP
-Non-Win32/64 systems can still use c-ares version 1.6.1 without calling
+Non-Win32/64 systems can still use c-ares version 1.7.0 without calling
 \fIares_library_init(3)\fP due to the fact that it is nearly a do-nothing
 function on non-Win32/64 platforms at this point.
 .SH SEE ALSO
index 60662c1c59b2b5ec8f30eef4ef86dcae0c4ad3d5..9b561ffa365cc7fd79883ae2c29bb15b018b156f 100644 (file)
@@ -72,6 +72,8 @@ The response did not contain an answer to the query.
 .TP 15
 .B ARES_ENOMEM
 Memory was exhausted.
+.SH AVAILABILITY
+This function was first introduced in c-ares version 1.7.0.
 .SH SEE ALSO
 .BR ares_query (3)
 .BR ares_free_data (3)
index c4ce8a6415c05ebbd9859bd2c2c6e08b28399f63..c9926bc08804922b72738508da04a529331e0c7f 100644 (file)
@@ -70,6 +70,8 @@ The response did not contain an answer to the query.
 .TP 15
 .B ARES_ENOMEM
 Memory was exhausted.
+.SH AVAILABILITY
+This function was first introduced in c-ares version 1.7.0.
 .SH SEE ALSO
 .BR ares_query (3)
 .BR ares_free_data (3)
index 66d4bcc78dba544db0fb05548f210e70cdd98e1b..deb7fe126ea8d3487806d4d66b6873ec65c14098 100644 (file)
@@ -4,14 +4,14 @@
 #define ARES__VERSION_H
 
 #define ARES_VERSION_MAJOR 1
-#define ARES_VERSION_MINOR 6
-#define ARES_VERSION_PATCH 1
+#define ARES_VERSION_MINOR 7
+#define ARES_VERSION_PATCH 0
 #define ARES_VERSION ((ARES_VERSION_MAJOR<<16)|\
                        (ARES_VERSION_MINOR<<8)|\
                        (ARES_VERSION_PATCH))
-#define ARES_VERSION_STR "1.6.1-CVS"
+#define ARES_VERSION_STR "1.7.0-CVS"
 
-#if (ARES_VERSION >= 0x010601)
+#if (ARES_VERSION >= 0x010700)
 #  define CARES_HAVE_ARES_LIBRARY_INIT 1
 #  define CARES_HAVE_ARES_LIBRARY_CLEANUP 1
 #else