| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
- Convert most of the core library headers over to HeaderDoc format.
- Switch the generated comments over to HeaderDoc.
- Create GPBCodedOutputStream_PackagePrivate and move some things into there
that should be more internal.
|
|\
| |
| | |
Replace StringBuilder with TextWriter in JsonFormatter
|
|/ |
|
|\
| |
| | |
Add back the namespace_packages arg in setup.py.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Improves #1296.
The problem: in the previous patch, we tweaked the __init__.py files to use
namespaces, but no longer declared ourselves as a namespace package. The
second half was unwise.
Note that this only comes up when installing protobuf alongside another
package that also installs into the google namespace; as of right now, the
only PyPI package that does is googleapis-common-protos, though the GAE SDK
also uses google.appengine. Installing either or both of those alongside this
package now works.
The case that still remains is the upgrade path, which is also what worried me
in #713. It seems that if protobuf 2.6.1 is installed, there's no way to
safely upgrade that to work with a newer protobuf. However, `pip uninstall` &&
`pip install` does the trick.
|
|\
| |
| | |
Changed Ruby to properly camelCase its JSON by default.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Generate well-known types in Ruby extension and prune unneeded proto2 dependencies.
|
| | | |
|
|/ /
| |
| |
| | |
dependencies.
|
|\ \
| | |
| | | |
Make cpp generated enum constants constexpr when Options::proto_h is specified
|
| | |
| | |
| | |
| | | |
specified.
|
|\ \ \
| | | |
| | | | |
Fix copy/paste typo in CodedInputStreamTest
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Fix CommonJS relative require generation, and test it
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Implement IDisposable for CodedInputStream and CodedOutputStream
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
This fixes issue #679 and issue #1282.
(The .gitignore change is just around ncrunch; I can put it in a separate PR if you really want.)
|
|\ \ \ \
| | | | |
| | | | | |
Remove hack for building Python support with Bazel.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This change makes use of new imports attribute for Bazel's Python rules, which
enable adding directories to the PYTHONPATH. This allows us to remove
the hack for building protobuf's Python support with Bazel and now
allows projects to include protobuf using a Bazel external repository
rather than requiring it to be imported directly into the source tree as
//google/protobuf.
This change also updates the protobuf BUILD file to use a named
repository, @python//, for including Python headers rather than
//util/python. This allows projects to specify their own package for
Python headers when including protobuf with an external repository.
Fixes #1230
|
|\ \ \ \
| | | | |
| | | | | |
Fixed grpc C++ plugin support.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
grpc C++ plugin generates additional files, namely .grpc.pb.cc and
.grpc.pb.h. Adding these files to the outs of the _proto_gen rule, so
dependents don't complain about undeclared inclusions. Also, compiling
the .grpc.pb.cc requires additional header files from the grpc library,
so added //external:grpc_lib to the deps of the
cc_library. Clients are expected to declare that in their bazel
WORKSPACE, pointing it to @grpc//:grpc++{_unsecure}.
|
|\ \ \ \
| | | | |
| | | | | |
Add a modified patch from craigcitro@ to handle namespace sharing.
|
| | | | | |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Added grpc plugin support to cc_proto_library.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
cc_proto_library now supports use_grpc_plugin flag that passes
--plugin=protoc-gen-grpc=grpc_cpp_plugin to protoc compiler
invocation. grpc_cpp_plugin is assumed to be present as
//external:grpc_cpp_plugin, so clients can setup their WORKSPACE files
appropriately to point to grpc location using bind.
|
|\ \ \ \
| | | | |
| | | | | |
Require VS2015 in the solution file
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Add atomics support for 32-bit PPC.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This was originally submitted as a patch on the Google Code issue
tracker, but the original author didn't submit a pull request. They did,
however, give permission for somebody else to do so. I cleaned up a few
things myself and am now submitting it.
I can't find any record of what the original patch was, but there is a
copy of the discussion at
<https://groups.google.com/forum/#!topic/protobuf/SMwF5fYHIi0>.
Fixes google/protobuf#581
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Added support for CommonJS require()
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
"nodejs" does not exist on Travis, it appears.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | |_|_|/
| |/| | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Support ObjC Generic Collections
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Extend GPB*ObjectDictionary to support generic syntax.
- Update the generator to output generics so the enclosed type is exposed for compiler checks.
- Use generics in a the public interfaces.
- Update the generated sources that are checked in.
|
|\ \ \ \
| | | | |
| | | | | |
Validate that end-group tags match their corresponding start-group tags
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This detects:
- An end-group tag with the wrong field number (doesn't match the start-group field)
- An end-group tag with no preceding start-group tag
Fixes issue #688.
|