| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
A bug was causing generated JSPB code with CommonJS-style imports to
refer incorrectly to nested messages from other .proto files. The
generated code would have things like "test_pb.InnerMessage" instead of
"test_pb.OuterMessage.InnerMessage". This commit fixes the problem by
correctly taking into account any message nesting.
|
| |
|
| |
|
| |
|
|
|
|
| |
Change-Id: I6a5078b6bcdf4637e11c1cb9da1f74298e6fc26e
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
(#2146)
Currently deserialization of a non-packed binary repeated field is quadratic in
the number of elements, because each time we parse a new element we copy over
all elements we have parsed so far. This CL fixes the performance problem by
having the generated deserialization code just call addX() instead of using
getX() and setX().
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Merge 3.0.x into master.
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Merge 3.0.x into master
|
| |\| |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Parameter deterministic is unused in
InternalSerializeWithCachedSizesToArray(), which generates unused
parameter warning in every message.
|
| | |\
| | | |
| | | | |
Cherry pick c# changes from master
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Fixes extra whitespace on generated comments.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Convert mapping of proto comments to appledoc format so they show up in Xcode and cocoadocs.
Fixes https://github.com/google/protobuf/issues/1866
|
| | |\ \
| | | | |
| | | | | |
Add and fix C++ runtime docs
|
| | | |/ |
|
|\ \ \ \
| | | | |
| | | | | |
Update the ObjC version checks to support a min and current version.
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Capture the version used to generated.
- Check at compile time and runtime that generated code isn't from a newer
version, also check that the min version required is also supported.
- Keep the old constants/macros/functions to special case the last version
that was working so those generated sources still work until we decide
otherwise.
|
|/ / /
| | |
| | |
| | |
| | | |
This pull request includes two implementation: C extension and PHP
package. Both implementations support encode/decode of singular,
repeated and map fields.
|
|\ \ \
| | | |
| | | | |
Fix Win32 error messages on Unicode build
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
include std::find()
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Objc any helpers
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- 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
|
|/ / / /
| | | |
| | | |
| | | | |
Support the -Wassign-enum compiler flag.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
clang-tidy gives warning "macro argument should be enclosed in
parentheses" to macro ZR_, the "first" parameter.
|
|\ \ \ \
| | | | |
| | | | | |
fix #1342 cause by ownership issues
|
| | | | | |
|
| | | | | |
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | | |
Make Root's +extensionRegistry generation smarter.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
At generation time, walk the file's dependencies to see what really contains
extensions so we can generate more minimal code that only links together the
roots that provided extensions. Gets a bunch of otherwise noop code out of
the call flow when the roots are +initialized.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Remove unused vector
|
| | | | | |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Restore New*Callback into google::protobuf namespace …
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
the service stubs code
Fixes #1966
|