Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
742e4097
Commit
742e4097
authored
Aug 27, 2008
by
temporal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.0.1 release.
parent
dd681ad7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
30 additions
and
25 deletions
+30
-25
README.txt
README.txt
+14
-8
configure.ac
configure.ac
+1
-1
pom.xml
java/pom.xml
+5
-8
README.txt
python/README.txt
+8
-0
setup.py
python/setup.py
+1
-1
command_line_interface.h
src/google/protobuf/compiler/command_line_interface.h
+1
-1
message.h
src/google/protobuf/message.h
+0
-6
No files found.
README.txt
View file @
742e4097
...
...
@@ -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
============================
...
...
configure.ac
View file @
742e4097
...
...
@@ -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)
...
...
java/pom.xml
View file @
742e4097
...
...
@@ -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>
...
...
python/README.txt
View file @
742e4097
...
...
@@ -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
============
...
...
python/setup.py
View file @
742e4097
...
...
@@ -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'
,
...
...
src/google/protobuf/compiler/command_line_interface.h
View file @
742e4097
...
...
@@ -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
{
...
...
src/google/protobuf/message.h
View file @
742e4097
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment