Commits

Show all
Author Commit Message Labels Comments Date
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Update CHANGES.txt with stuff from 2.0.3.
Tags
release-2.0.3rc1
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
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 …
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Support HP C++ on Tru64. Patch (mostly) by Vincent Choinière <Choiniere.Vincent@hydro.qc.ca>.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Fix bugs in zero_copy_stream_impl. Patch from Frank Chu.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Only build tests when running "make check", not "make".
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
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.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Simplify some template usage so that older compilers can handle it. (Users report that MSVC 2003 in particular needs this change.)
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
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…
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Update MSVC installation instructions for static linking change.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Avoid an "unused parameter" warning when using high warning levels.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Update version number to 2.0.3-SNAPSHOT.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Make Python example output identical to C++ and Java by removing redundant spaces.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Set version to 2.0.2 in release branch.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Tag release 2.0.2 (take 2).
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Oops, wrong name.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Tag release 2.0.2.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
* 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 reflection_test.py.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Improvements to configure.ac from Jeff Bailey.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Pass -Wall,no-obsolete to autoreconf.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Improve autogen.sh.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Added clarification to license that generated code is owned by the owner of the input file.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Update version number in 2.0.2rc1 release branch.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Tagged release candidate 2.0.2rc1.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
* Fix build on MSVC. * Switch to statically-linked libraries instead of DLLs on MSVC.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Add file missing from rev 50.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
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; …
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Add file that was mysteriously missing from SVN tree.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Explicitly identify superclass in initializer lists for generated message classes. This avoids a warning when using GCC's -pedantic option.
ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d
Work around absence of hash_map. Also, update version numbers to 2.0.2-SNAPSHOT.
temp...@630680e5-0e50-0410-840e-4b1c322b438d
Add @Override annotation to generated Java code where appropriate. Patch from Brian Atkinson <nairb774@gmail.com>.
  1. Prev
  2. Next