my rage from v8 is spilling over
Go to file
Thomas Van Lenten 337ec3065f Add ObjC helpers for Any WKT.
- Capture the ObjC prefix used when generating the the file.
- Track the containing type on descriptors.
- Mark descriptors where the message class name got a suffix added to it.
- Expose a fullName property on Descriptors.
- Add helpers for packing/unpacking Any messages.
- Bump the ObjC runtime version number. Since we added methods and invoke them
  in the generated code, ensure the code is running against a matching version.
  Otherwise, someone could compile against headers, but run with a framework
  that is older and get unknown selector failures.  This should trip clearer
  messaging.

Fixes https://github.com/google/protobuf/issues/1674
2016-09-08 11:59:57 -04:00
benchmarks Add the missing maintiner-clean entry for benchmarks 2016-05-06 12:47:41 -04:00
cmake Merge pull request #1842 from udnaan/master 2016-08-08 13:43:45 -07:00
conformance Add note about JSON tests maybe being wrong. (#1992) 2016-08-23 08:19:45 -04:00
csharp Rm check on dependency in the C# reflection API (#2051) 2016-09-05 09:29:03 +01:00
docs Add an Erlang project, gpb, to third_party.md 2016-08-25 15:11:45 +02:00
editors [master] Add dependency cl. Fixes google/protobuf#295. 2016-08-05 15:13:12 +08:00
examples Integrate from internal code base. 2016-07-13 13:48:40 -07:00
java Use 64-bit protoc binaries in compatibility tests. 2016-08-01 13:49:15 -07:00
javanano update the OSGi SymbolicName and ExportedPackage for the javanano library 2016-08-30 13:16:55 -04:00
jenkins Add more tests to jenkins. 2016-07-21 18:11:12 -07:00
js Fix missing import of jspb.Map (#1885) 2016-08-03 17:47:49 -07:00
m4 Merge pull request #789 from motahan/solaris64_fix 2016-01-20 16:57:01 -08:00
more_tests Add makefile for extended tests to be run before release. 2010-01-12 22:45:15 +00:00
objectivec Add ObjC helpers for Any WKT. 2016-09-08 11:59:57 -04:00
php Fix spelling in strings and comments 2016-07-03 15:26:04 +03:00
protoc-artifacts Fix the build-zip.sh to add .exe for win packages. 2016-07-29 11:44:05 -07:00
python Fix to typo/oversight in python tests 2016-09-02 12:36:11 +10:00
ruby upb bugfix: JSON map entry keys were passing the wrong closure. 2016-08-29 15:28:59 -07:00
src Add ObjC helpers for Any WKT. 2016-09-08 11:59:57 -04:00
util/python Remove hack for building Python support with Bazel. 2016-02-25 12:52:21 -08:00
.gitignore Add note about JSON tests maybe being wrong. (#1992) 2016-08-23 08:19:45 -04:00
.travis.yml Run Java compatibility tests on Travis. 2016-07-29 14:11:21 -07:00
appveyor.bat Move to dotnet cli for building, and .NET Core (netstandard1.0) as target platform (#1727) 2016-07-14 22:16:35 +01:00
appveyor.yml Update links in appveyor.yml 2016-08-25 14:34:45 -07:00
autogen.sh Update gmock links. 2016-08-25 14:28:59 -07:00
BUILD Bazel: export LICENSE file. 2016-08-04 15:32:14 -07:00
CHANGES.txt Change log for 3.0 GA release. 2016-07-27 12:08:01 -07:00
configure.ac Bump version number for GA 2016-07-25 12:07:56 -07:00
CONTRIBUTORS.txt Add nano proto authors and update LICENSE file to include Android.mk. 2014-11-20 14:27:46 -08:00
generate_descriptor_proto.sh Fix #2071 replacing /bin/sh with bash 2016-09-07 14:46:50 +10:00
gmock.BUILD Fix headers for gmock.BUILD 2015-12-01 22:52:42 +01:00
LICENSE Add support for POWER Linux 2015-11-03 14:49:42 -08:00
Makefile.am Make Root's +extensionRegistry generation smarter. 2016-09-01 18:08:59 -04:00
post_process_dist.sh Add js to post_process_dist.sh. 2015-12-28 16:31:10 -08:00
protobuf-lite.pc.in Uncomment conflict fields from pkg-config files. 2015-05-12 17:50:05 +02:00
protobuf.bzl Bazel build: Keep generated sources and Python runtime in the same directory. 2016-05-25 18:02:09 -07:00
protobuf.pc.in Uncomment conflict fields from pkg-config files. 2015-05-12 17:50:05 +02:00
Protobuf.podspec Adds watch os deployment target for protobuf 2016-07-29 20:08:27 -07:00
README.md Add a jenkins test status badge. 2016-08-12 16:43:47 -07:00
six.BUILD Add srcs_version = "PY2AND3" in BUILD files 2015-12-03 13:16:06 -08:00
tests.sh Run Java compatibility tests on Travis. 2016-07-29 14:11:21 -07:00
update_file_lists.sh Fix bugs on windows 2015-08-25 17:58:48 -07:00
WORKSPACE add java/util support based on java/util/pom.xml 2016-03-11 18:08:09 -08:00

Protocol Buffers - Google's data interchange format

Build Status Build status Build Status

Copyright 2008 Google Inc.

https://developers.google.com/protocol-buffers/

Overview

Protocol Buffers (a.k.a., protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data. You can find protobuf's documentation on the Google Developers site.

This README file contains protobuf installation instructions. To install protobuf, you need to install the protocol compiler (used to compile .proto files) and the protobuf runtime for your chosen programming language.

Protocol Compiler Installation

The protocol compiler is written in C++. If you are using C++, please follow the C++ Installation Instructions to install protoc along with the C++ runtime.

For non-C++ users, the simplest way to install the protocol compiler is to download a pre-built binary from our release page:

https://github.com/google/protobuf/releases

In the downloads section of each release, you can find pre-built binaries in zip packages: protoc-$VERSION-$PLATFORM.zip. It contains the protoc binary as well as a set of standard .proto files distributed along with protobuf.

If you are looking for an old version that is not available in the release page, check out the maven repo here:

http://repo1.maven.org/maven2/com/google/protobuf/protoc/

These pre-built binaries are only provided for released versions. If you want to use the github master version at HEAD, or you need to modify protobuf code, or you are using C++, it's recommended to build your own protoc binary from source.

If you would like to build protoc binary from source, see the C++ Installation Instructions.

Protobuf Runtime Installation

Protobuf supports several different programming languages. For each programming language, you can find instructions in the corresponding source directory about how to install protobuf runtime for that specific language:

Language Source
C++ (include C++ runtime and protoc) src
Java java
Python python
Objective-C objectivec
C# csharp
JavaNano javanano
JavaScript js
Ruby ruby
Go golang/protobuf
PHP TBD

Usage

The complete documentation for Protocol Buffers is available via the web at:

https://developers.google.com/protocol-buffers/