| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| | |
Fix bug with silent message corruption in LITE_RUNTIME.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A protobuf message will be corrupted in the following scenario:
1. Use LITE_RUNTIME.
2. Have an optional enum field following some other field.
3. Update protocol by adding new values to the enum.
4. Have an old client parse and serialize a message having enum field
set to a value the client does not understand.
5. Field preceeding the enum is now corrupted.
The bug is due to the fact that optimized fallthrough in parser code
does not update variablle 'tag' when jumping to the parser code for the
next field.
|
|\ \
| | |
| | | |
Properly generating well known proto files for the macos build.
|
|/ / |
|
|\ \
| | |
| | | |
Added framework for generating/consuming benchmarking data sets.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This takes the code that was sitting in benchmarks/
already and makes it easier for language-specific
benchmarks to consume. Future PRs will enhance this
so that the language-specific benchmarks can report
metrics back that will be tracked over time in PerfKit.
|
|\ \ \
| | | |
| | | | |
Few tweaks to the rakefile to permit native gems compilation with the proto files generation.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
files generation.
|
|\ \ \ \
| | | | |
| | | | | |
Merge Google internal changes
|
| | | | | |
|
| |\ \ \ \ |
|
| | | | | | |
|
| |\ \ \ \ \ |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | / / / /
| | |/ / / /
| |/| | | | |
Fix cp -r usage to be portable.
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
cp -r foo/ bar/ in linux will create a bar/foo directoy. In the
objectivec generate descritpor case, well known types will be created in
objectivec/google/google/protobuf/.. if the command is run under linux.
Adding the trailing period fixes the behavior inconsistency.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Added dig and bsearch_index to RepeatedField methods forwarded to array
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This fixes the test_acts_likes_an_array test in RepeatedFieldTest, which
checks that repeated fields respond to the same methods as regular Ruby
arrays. The bsearch_index and dig array methods seem to be new in Ruby
2.3 and so we should support those.
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Fix up -hash/-isEqual: for bool storage.
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Both methods weren't checking the has_bits (where the bools are stored), so
it resulted in invalid results.
Add a test that should shake out something like this in the future also.
|
|\ \ \ \
| |/ / /
|/| | | |
Updated upb and simplified ruby code a bit with new upb method.
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Proper checking of enum with non zero default
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
proto2 syntax allows the first enum to have a non zero value. This means any
field using that default has a non zero default without having an explicit
default being set. So when deciding what runtime info is needed, don't rely
on an explicit default, always check that the values aren't zero.
Fixes https://github.com/google/protobuf/issues/1453
|
|\ \ \
| | | |
| | | | |
Added serialVersionUID to ExtendableMessage.
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
* Add initial design doc for Swift protocol buffers.
|
|\ \ \
| | | |
| | | | |
Add a docs directory and move the third-party add-ons page here.
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Change protobuf CPP proto generator to support the 'lite' option in
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
proto3.
Added a couple unit test proto3 files, for arena_lite and lite. Cloned
the proto3_arena_unittest to test some of the basics of generated code
(and to ensure that the generated proto3 test files are used by some
test).
|
|\ \ \
| | | |
| | | | |
Remove googletest.h header from stringprintf.cc
|
| | | |
| | | |
| | | |
| | | |
| | | | |
It doesn't seem to be necessary here, and it pulls other testing headers
during compilation of release protobuf.
|
|\ \ \ \
| | | | |
| | | | | |
Regenerate descriptor/well-known types for C#
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
(There are documentation changes and new fields in descriptor.proto that have resulted
in changes to the serialized descriptor, but no breaking changes for C#.)
|
|\ \ \ \
| | | | |
| | | | | |
ObjC support for failing the build in the generated WKTs are out of date
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Always generated into a temp directory so we can see if things changed.
- Add a flag to control exiting with error when stale vs updating.
This should let the continuous builds error out when ObjC needs to have the
checked in sources updated.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Enum casing in C#
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
(JSON parsing already does the right thing.)
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
JSON tests fail, as we're not using OriginalNameAttribute yet.
|