Age | Commit message (Collapse) | Author |
|
|
|
|
|
- Split anonymous classes in named and final classes
- Fix some Javadocs and annotate when things were added.
|
|
This PR adds an automatic gradle format checker and reformats all the *.gradle files. After this, new changes to *.gradle files will fail to build if not in good format, just like checkStyle failure.
|
|
|
|
|
|
This update automatically adds generated sources and proto IDLs to the
`idea` plugin.
|
|
A band aid for #3284, to make its symptoms less noticeable.
|
|
This reverts commit 671783f
The dependency on core caused some problems with
Proguard. There are android builds that should include
protobuf-* but expect the rest of gRPC to be bundled with the
runtime environment. In that case, when Proguard inspects the
output, it will find a reference to IoUtil but fail to find the
class itself. It makes the builds easier to just avoid this
dependency.
|
|
protobuf-nano: use existing class IoUtils and force protobuf-nano
to use exact version of internal
|
|
|
|
This commit aligns the naming of the Bazel Maven jars with the names
used by Bazel's migration-tooling project:
https://github.com/bazelbuild/migration-tooling
Unfortunately, we can't fix @com_google_protobuf_java because it's
required by Bazel itself.
Fixes #3328
|
|
This is important for stable builds, as if the signature changes the old source
may no longer validate.
|
|
Bazel third party dependencies are specified in repositories.bzl which
gives the consumer the ability to opt-out of any dependencies they use
directly in their own project.
Fixes #2756
|
|
|
|
Also, update the authors.
|
|
Initated package javadoc for
* `io.grpc.stub`,
* `io.grpc.auth`,
* `io.grpc.util`,
* `io.grpc.protobuf`,
* `io.grpc.protobuf.lite`,
* `io.grpc.protobuf.nano`
|
|
The new plugin uses a newer version of animalsniffer, allows overriding
the animalsniffer version used, and has up-to-date handling. The
up-to-date handling cuts fully incremental parallel build times in half,
from 5.5s to 2.7s.
The previous plugin was supposed to be verifying tests. However, either
it wasn't verifying them or its verification was broken.
|
|
|
|
|
|
|
|
|
|
NanoUtilsTest was updated to use an invalid proto instead of an
IOException to match ProtoUtils and to be more realistic.
|
|
Since some of the tests would need only minor modification to work for
normal proto, normal proto got a few more tests as well.
|
|
This reduces the amount of logic built into the generated code. If we
swap to an alternative form of decoding we should have greater ability
to adapt the existing API to make use of the new one. Previously most
changes would require duplicating all the nano marshalling code.
|
|
|
|
This ensures that we remain JDK6/Android-compatible.
|
|
|
|
|
|
- Rename flushTo() to drainTo().
- Remove flushTo() from DeferredNanoProtoInputStream (which is renamed
to NanoProtoInputStream), because the optimization is not implemented.
- Rename DeferredProtoInputStream to ProtoInputStream.
#529
|
|
easier for non-proto payload types.
Sync to head
|
|
io.grpc.nano sort of seems like a "small" version of grpc-java. And
io.grpc.proto could also mean multiple things. Using "protobuf"
and "protobuf nano" gets us consistent names that are still
understandable, predictable, and more similar to protobuf project
itself.
|