From 5b741ca1921682f647ca3700b2bdc332a3de8d8c Mon Sep 17 00:00:00 2001
From: David Raila <raila@illinois.edu>
Date: Wed, 27 Aug 2008 19:25:48 +0000
Subject: [PATCH] 2.0.1 release.

---
 README.txt                                    | 22 ++++++++++++-------
 configure.ac                                  |  2 +-
 java/pom.xml                                  | 13 +++++------
 python/README.txt                             |  8 +++++++
 python/setup.py                               |  2 +-
 .../compiler/command_line_interface.h         |  2 +-
 src/google/protobuf/message.h                 |  6 -----
 7 files changed, 30 insertions(+), 25 deletions(-)

diff --git a/README.txt b/README.txt
index 06ad535..8e9dd06 100644
--- a/README.txt
+++ b/README.txt
@@ -2,14 +2,6 @@ Protocol Buffers - Google's data interchange format
 Copyright 2008 Google Inc.
 http://code.google.com/apis/protocolbuffers/
 
-BETA WARNING
-============
-
-This package is a beta.  This means that API may change in an
-incompatible way in the future (however, the wire format will *not*
-change).  It's unlikely that any big changes will be made, but we can
-make no promises.  Expect a non-beta release in late August 2008.
-
 C++ Installation - Unix
 =======================
 
@@ -59,6 +51,20 @@ If you are using Micosoft Visual C++, see vsprojects/readme.txt.
 If you are using Cygwin or MinGW, follow the Unix installation
 instructions, above.
 
+Binary Compatibility Warning
+============================
+
+Due to the nature of C++, it is unlikely that any two versions of the
+Protocol Buffers C++ runtime libraries will have compatible ABIs.
+That is, if you linked an executable against an older version of
+libprotobuf, it is unlikely to work with a newer version without
+re-compiling.  This problem, when it occurs, will normally be detected
+immediately on startup of your app.  Still, you may want to consider
+using static linkage.  You can configure this package to install
+static libraries only using:
+
+  ./configure --disable-shared
+
 Java and Python Installation
 ============================
 
diff --git a/configure.ac b/configure.ac
index 6dca163..f23b253 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,7 +7,7 @@ AC_PREREQ(2.59)
 # * java/pom.xml
 # * python/setup.py
 # * src/google/protobuf/stubs/common.h
-AC_INIT(protobuf, 2.0.1-SNAPSHOT, protobuf@googlegroups.com)
+AC_INIT(protobuf, 2.0.1, protobuf@googlegroups.com)
 
 AC_CONFIG_SRCDIR(src/google/protobuf/message.cc)
 AM_CONFIG_HEADER(config.h)
diff --git a/java/pom.xml b/java/pom.xml
index 1bb26b2..82f45bd 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -3,17 +3,14 @@
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
-  <!-- This is commented until the parent can be deployed to a repository. -->
-  <!--
-    <parent>
-    <groupId>com</groupId>
+  <parent>
+    <groupId>com.google</groupId>
     <artifactId>google</artifactId>
-    <version>1.0-SNAPSHOT</version>
-    </parent>
-  -->
+    <version>1</version>
+  </parent>
   <groupId>com.google.protobuf</groupId>
   <artifactId>protobuf-java</artifactId>
-  <version>2.0.1-SNAPSHOT</version>
+  <version>2.0.1</version>
   <packaging>jar</packaging>
   <name>Protocol Buffer Java API</name>
   <description>
diff --git a/python/README.txt b/python/README.txt
index 4f68d50..96f1a73 100644
--- a/python/README.txt
+++ b/python/README.txt
@@ -15,6 +15,14 @@ Python part of the code.  In this case, you will need to obtain the
 Protocol Compiler from some other source before you can use this
 package.
 
+Development Warning
+===================
+
+The Python implementation of Protocol Buffers is not as mature as the C++
+and Java implementations.  It may be more buggy, and it is known to be
+pretty slow at this time.  If you would like to help fix these issues,
+join the Protocol Buffers discussion list and let us know!
+
 Installation
 ============
 
diff --git a/python/setup.py b/python/setup.py
index e109ee7..638ee27 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -97,7 +97,7 @@ if __name__ == '__main__':
     generate_proto("../src/google/protobuf/descriptor.proto")
 
   setup(name = 'protobuf',
-        version = '2.0.1-SNAPSHOT',
+        version = '2.0.1',
         packages = [ 'google' ],
         namespace_packages = [ 'google' ],
         test_suite = 'setup.MakeTestSuite',
diff --git a/src/google/protobuf/compiler/command_line_interface.h b/src/google/protobuf/compiler/command_line_interface.h
index 9185e47..d7be531 100644
--- a/src/google/protobuf/compiler/command_line_interface.h
+++ b/src/google/protobuf/compiler/command_line_interface.h
@@ -67,7 +67,7 @@ class DiskSourceTree;       // importer.h
 //   }
 //
 // The compiler is invoked with syntax like:
-//   protoc --cpp_out=outdir --foo_out=outdir --proto_path=src foo.proto
+//   protoc --cpp_out=outdir --foo_out=outdir --proto_path=src src/foo.proto
 //
 // For a full description of the command-line syntax, invoke it with --help.
 class LIBPROTOC_EXPORT CommandLineInterface {
diff --git a/src/google/protobuf/message.h b/src/google/protobuf/message.h
index 1a297b1..09b5def 100644
--- a/src/google/protobuf/message.h
+++ b/src/google/protobuf/message.h
@@ -393,12 +393,6 @@ class LIBPROTOBUF_EXPORT Message {
 // objects on-demand, on the other hand, would be expensive and prone to
 // memory leaks.  So, instead we ended up with this flat interface.
 //
-// WARNING:  This class is currently in the process of being converted from
-//   a per-instance object to a per-class object.  You'll notice that there
-//   are two sets of methods below:  ones that take a Message pointer or
-//   reference as a parameter, and ones that don't.  The former ones are the
-//   new interface; the latter ones will go away soon.
-//
 // TODO(kenton):  Create a utility class which callers can use to read and
 //   write fields from a Reflection without paying attention to the type.
 class LIBPROTOBUF_EXPORT Reflection {
-- 
GitLab