Show all
Author Commit Message Labels Comments Date
Update CHANGES.txt with stuff from 2.0.3.
Integrate changes from internal code. protoc * Enum values may now have custom options, using syntax similar to field options. * Fixed bug where .proto files which use custom options but don't actually define them (i.e. they import another .proto file defining the options) had to explicitly import descriptor.proto. * Adjacent string literals in .proto files will now be concatenated, like in C. C++ * Generated message classes …
Support HP C++ on Tru64. Patch (mostly) by Vincent Choinière <>.
Fix bugs in zero_copy_stream_impl. Patch from Frank Chu.
Only build tests when running "make check", not "make".
Fixed alignment issue that caused bus errors on platforms like sparc which require all memory reads to be aligned. Specifically, it turns out that sizeof(RepeatedField<bool>) is 20 on 64-bit sparc with GCC 3.4.6. This is strange, since one of RepeatedField's members is a pointer, which I thought meant that it had to be 64-bit aligned, which means its size should be a multiple of 64 bits. But, 20 is not a multiple of 8. I don't understand why this is the case, but if this is possible, then DynamicMessage's strategy of sorting fields in descending order by size and then tightly packing doesn't work. To fix this, I got rid of the sort step and instead added code that aligns each field's offset appropriately based on the field's size. Also in this revision: Fix an error message that named a flag incorrectly.
Simplify some template usage so that older compilers can handle it. (Users report that MSVC 2003 in particular needs this change.)
Work around GCC 4.3.0 x86_64 compiler bug (seen on Fedora 9). Details: For each message type, protoc generates an array of byte offsets of each of the fields within the message class. These offsets are later used by the reflection implementation. Prior to this revision, the offset arrays were allocated as global variables. Since they were just arrays of ints, they should have been initialized at compile time. Unfortunately, GCC 4.3.0 incorrectly decides…
Update MSVC installation instructions for static linking change.
Avoid an "unused parameter" warning when using high warning levels.
Update version number to 2.0.3-SNAPSHOT.
Make Python example output identical to C++ and Java by removing redundant spaces.
Set version to 2.0.2 in release branch.
Tag release 2.0.2 (take 2).
Oops, wrong name.
Tag release 2.0.2.
* Fixed template specialization syntax that MSVC 2005 didn't like. Not sure if it was valid or not. * Moved UTF-8 coding directive to the right place in
Improvements to from Jeff Bailey.
Pass -Wall,no-obsolete to autoreconf.
Added clarification to license that generated code is owned by the owner of the input file.
Update version number in 2.0.2rc1 release branch.
Tagged release candidate 2.0.2rc1.
* Fix build on MSVC. * Switch to statically-linked libraries instead of DLLs on MSVC.
Add file missing from rev 50.
Integrate changes from internal Google-internal branch. General * License changed from Apache 2.0 to New BSD. * It is now possible to define custom "options", which are basically annotations which may be placed on definitions in a .proto file. For example, you might define a field option called "foo" like so: import "google/protobuf/descriptor.proto" extend google.protobuf.FieldOptions { optional string foo = 12345; …
Add file that was mysteriously missing from SVN tree.
Explicitly identify superclass in initializer lists for generated message classes. This avoids a warning when using GCC's -pedantic option.
Work around absence of hash_map. Also, update version numbers to 2.0.2-SNAPSHOT.
Add @Override annotation to generated Java code where appropriate. Patch from Brian Atkinson <>.
  1. Prev
  2. Next