Browse Source

2.0.1 release.

temporal 17 years ago
parent
commit
742e40975a

+ 14 - 8
README.txt

@@ -2,14 +2,6 @@ Protocol Buffers - Google's data interchange format
 Copyright 2008 Google Inc.
 Copyright 2008 Google Inc.
 http://code.google.com/apis/protocolbuffers/
 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
 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
 If you are using Cygwin or MinGW, follow the Unix installation
 instructions, above.
 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
 Java and Python Installation
 ============================
 ============================
 
 

+ 1 - 1
configure.ac

@@ -7,7 +7,7 @@ AC_PREREQ(2.59)
 # * java/pom.xml
 # * java/pom.xml
 # * python/setup.py
 # * python/setup.py
 # * src/google/protobuf/stubs/common.h
 # * 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)
 AC_CONFIG_SRCDIR(src/google/protobuf/message.cc)
 AM_CONFIG_HEADER(config.h)
 AM_CONFIG_HEADER(config.h)

+ 5 - 8
java/pom.xml

@@ -3,17 +3,14 @@
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   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">
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <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>
     <artifactId>google</artifactId>
-    <version>1.0-SNAPSHOT</version>
-    </parent>
-  -->
+    <version>1</version>
+  </parent>
   <groupId>com.google.protobuf</groupId>
   <groupId>com.google.protobuf</groupId>
   <artifactId>protobuf-java</artifactId>
   <artifactId>protobuf-java</artifactId>
-  <version>2.0.1-SNAPSHOT</version>
+  <version>2.0.1</version>
   <packaging>jar</packaging>
   <packaging>jar</packaging>
   <name>Protocol Buffer Java API</name>
   <name>Protocol Buffer Java API</name>
   <description>
   <description>

+ 8 - 0
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
 Protocol Compiler from some other source before you can use this
 package.
 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
 Installation
 ============
 ============
 
 

+ 1 - 1
python/setup.py

@@ -97,7 +97,7 @@ if __name__ == '__main__':
     generate_proto("../src/google/protobuf/descriptor.proto")
     generate_proto("../src/google/protobuf/descriptor.proto")
 
 
   setup(name = 'protobuf',
   setup(name = 'protobuf',
-        version = '2.0.1-SNAPSHOT',
+        version = '2.0.1',
         packages = [ 'google' ],
         packages = [ 'google' ],
         namespace_packages = [ 'google' ],
         namespace_packages = [ 'google' ],
         test_suite = 'setup.MakeTestSuite',
         test_suite = 'setup.MakeTestSuite',

+ 1 - 1
src/google/protobuf/compiler/command_line_interface.h

@@ -67,7 +67,7 @@ class DiskSourceTree;       // importer.h
 //   }
 //   }
 //
 //
 // The compiler is invoked with syntax like:
 // 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.
 // For a full description of the command-line syntax, invoke it with --help.
 class LIBPROTOC_EXPORT CommandLineInterface {
 class LIBPROTOC_EXPORT CommandLineInterface {

+ 0 - 6
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
 // objects on-demand, on the other hand, would be expensive and prone to
 // memory leaks.  So, instead we ended up with this flat interface.
 // 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
 // TODO(kenton):  Create a utility class which callers can use to read and
 //   write fields from a Reflection without paying attention to the type.
 //   write fields from a Reflection without paying attention to the type.
 class LIBPROTOBUF_EXPORT Reflection {
 class LIBPROTOBUF_EXPORT Reflection {