Commit Graph

6498 Commits

Author SHA1 Message Date
Nathan Mittler f1b6f623c5 Merge pull request #166 from nmittler/doclint
Tightening up error message for GO_AWAY.
2015-03-09 13:49:03 -07:00
nmittler dfcfb7bca1 Tightening up error message for GO_AWAY.
The attempt here is to identify all causes of GO_AWAY and to ensure
there is a reasonable description to help understand the cause.

Fixes #163
2015-03-09 13:48:15 -07:00
Nathan Mittler 2c07e23911 Merge pull request #177 from nmittler/irce
Proper buffer closure when receiving DATA with EOS
2015-03-09 13:29:31 -07:00
nmittler 4deff027ba Proper buffer closure when receiving DATA with EOS
The Http2ClientStream should not close the buffer in this case since
it's already been given to the deframer and potentially to the user.

Added cleanup code to MessageDeframer and AbstractClientStream to make
sure that we free the Buffer when appropriate.
2015-03-09 13:28:32 -07:00
Eric Anderson 456216b364 Add some details for building on Windows.
More will be necessary, as we don't describe how to build protobuf
itself, but this should be a clear improvement.
2015-03-03 22:49:19 -08:00
Nathan Mittler 967c27d288 Merge pull request #165 from nmittler/doclint
Disable Javadoc doclint on Java 8
2015-03-03 09:52:34 -08:00
nmittler 732cfc0d55 Disable Javadoc doclint on Java 8
It breaks the build.
2015-03-03 07:59:13 -08:00
Nathan Mittler bdb3f4e97d Merge pull request #161 from adewale/patch-1
Correct small grammar error in comment.
2015-03-02 16:12:56 -08:00
Ade Oshineye 9b5575daa1 Correct small grammar error in comment. 2015-03-03 00:11:50 +00:00
Eric Anderson 192144eaf9 Add Sonatype OSSRH upload support, with nice POMs
Mockito was upgraded to latest to solve JavaDoc issue with
ArgumentsAreDifferent.

We don't yet publish any artifacts for grpc-compiler.
2015-03-02 15:20:06 -08:00
Eric Anderson b938ba5106 Support building on Windows
Protoc should be in PATH and the project properties protobuf.include and
protobuf.libs should be set. For example:

gradlew build -Pprotobuf.include=C:\path\to\protobuf-3.0.0-alpha-2\src ^
  -Pprotobuf.libs=C:\path\to\protobuf-3.0.0-alpha-2\vsprojects\Release

When running more than once, it is probably more convenient to create
%HOMEDRIVE%%HOMEPATH%\.gradle\gradle.properties with contents like:

protobuf.include=C:\\path\\to\\protobuf-3.0.0-alpha-2\\src
protobuf.libs=C:\\path\\to\\protobuf-3.0.0-alpha-2\\vsprojects\\Release
2015-03-02 13:34:09 -08:00
Jakob Buchgraber 4a2c0a5637 Have SendGrpcFrameCommand constructor take an AbstractStream object instead of a stream id.
As part of the effort to remove all blocking bits from the NettyClientStream with
this commit the SendGrpcFrameCommand now takes a stream object instead of the
stream id. This will be necessary as in a non blocking world the stream id might
not have yet been allocated when the SendGrpcFrameCommand gets instantiated.
2015-03-02 11:37:57 -08:00
zhangkun83 ef87818758 Polish javadoc for transport/ 2015-03-02 11:10:29 -08:00
zhangkun83 abd4eec055 Implement cancellation for the Future interface. 2015-03-02 10:33:59 -08:00
Nathan Mittler b780bf03b2 Merge pull request #151 from nmittler/examples_style
More example changes to match style guide.
2015-02-27 11:17:13 -08:00
nmittler 2c7c32d227 More example changes to match style guide. 2015-02-27 11:04:42 -08:00
Nathan Mittler bb71e21613 Merge pull request #149 from nmittler/examples_style
Updating examples to be consistent with proto3 styleguide.
2015-02-27 09:43:46 -08:00
nmittler 81cc0daea7 Updating examples to be consistent with proto3 styleguide. 2015-02-27 09:18:19 -08:00
Takeshi Hagikura 4e7873f875 Fixes the path for cd command 2015-02-28 00:08:57 +09:00
Takeshi Hagikura b24be6643f Build the Android tutorial app by gradle 2015-02-27 23:59:54 +09:00
louiscryan 4afd98486c Merge pull request #147 from grpc/jayantkolhe-patch-1
Create PATENTS
2015-02-26 15:16:56 -08:00
Jayant Kolhe b700ade6c5 Create PATENTS
Adding Patent Grant File
2015-02-26 15:10:59 -08:00
zsurocking 0d22cd2d32 Update README.md 2015-02-26 12:03:10 -08:00
Xiao Hang 6f0b21ee92 Update compiler/README.md with nano codegen commandline 2015-02-26 11:19:59 -08:00
Xiao Hang 62fb1d2c8a Bug fix. frameWriter and frameReader are not initialized when an Exception is thrown in socket creation.
So do not touch them in shutdown path if they are null.
2015-02-26 10:48:14 -08:00
nmittler 6c6789c0a8 Adding SimpleContext back into messages.proto. 2015-02-26 10:33:18 -08:00
LisaFC 8de9938977 Merge pull request #113 from LisaFC/master
Added client implementation details to Java tutorial
2015-02-26 17:25:34 +00:00
Lisa Carey 3727e50066 Added client implementation details 2015-02-26 17:06:14 +00:00
LisaFC a096d4a995 Merge pull request #103 from tbetbetbe/grpc_samples_ruby_route_guide_doc
Grpc samples ruby route guide doc
2015-02-26 16:31:16 +00:00
zsurocking be13be7ce1 Update README.md 2015-02-26 08:23:21 -08:00
Tim Emiola a61948b233 Merge branch 'master' into grpc_samples_ruby_route_guide_doc 2015-02-26 08:10:38 -08:00
Lisa Carey 8d6b8e5bc6 updated with new example code location and build 2015-02-26 08:05:13 -08:00
nmittler 25d5928657 Removing java examples from grpc-common 2015-02-26 08:05:13 -08:00
Nathan Mittler b784eb6b72 Merge pull request #138 from ejona86/proto-release
Depend on proto 3.0.0-alpha-2 instead of snapshot
2015-02-26 08:01:55 -08:00
Eric Anderson a6f5fff6e4 Depend on proto 3.0.0-alpha-2 instead of snapshot
There has now been a release of the proto code we need, so use it
instead of master.
2015-02-26 07:56:13 -08:00
Nathan Mittler 98e5a38dd2 Merge pull request #137 from nmittler/test_protos
Updating integ test protos to be consistent with C
2015-02-26 07:47:40 -08:00
nmittler 0e7685b2dd Updating integ test protos to be consistent with C
See https://github.com/grpc/grpc/tree/master/test/cpp/interop

Their protos are missing the java package options. I'll file a separate
PR to resolve this.
2015-02-26 07:43:23 -08:00
Nathan Mittler fc55f8b3db Merge pull request #136 from grpc/jayantkolhe-patch-1
Update README.md
2015-02-26 07:25:30 -08:00
Nathan Mittler 1ddd47b3c7 Merge pull request #134 from ejona86/proto3
Swap to proto3
2015-02-26 07:06:43 -08:00
Jayant Kolhe a75b3901aa Merge pull request #108 from LisaFC/master
updated with new example code location and build
2015-02-26 06:57:03 -08:00
Lisa Carey 2587dc302e updated with new example code location and build 2015-02-26 14:53:08 +00:00
Jayant Kolhe 30b8a30964 Merge pull request #74 from nmittler/remove_java_examples
Removing java examples from grpc-common
2015-02-26 06:50:56 -08:00
Jayant Kolhe 02a02c3084 Update README.md
Adding link to Java Tutorial from Readme
2015-02-26 05:21:03 -08:00
Xiao Hang b9048f758d Fix Android example 2015-02-25 21:57:29 -08:00
Eric Anderson ff2a28535a Swap to proto3
Benchmark remains proto2 as the .proto has defaults that will need to be
adjusted.
2015-02-25 21:50:37 -08:00
Jakob Buchgraber df321fed73 Create temporary directory for javanano test if it does not exist.
The gradle task testNanoGolden fails because the temporary folder it tries to use does not exist.
The task tries to write files to temporaryDir which points to ./compiler/build/tmp/testNanoGolden/ on my machine.
The directory does not exist by default and so the run_nano_test.sh fails.
2015-02-25 21:47:28 -08:00
Xiao Hang f41834ba62 Merge branch 'master' of https://github.com/grpc/grpc-common 2015-02-25 21:14:10 -08:00
Xiao Hang 33d0f0f6a5 Update README.md 2015-02-25 21:02:07 -08:00
zsurocking 33717e7236 Merge pull request #133 from grpc/revert-132-removenanotest
Revert "Remove nano codegen test temporarily. Currently I haven't figuir...
2015-02-25 20:58:13 -08:00
zsurocking 5902c6a3bb Revert "Remove nano codegen test temporarily. Currently I haven't figuired" 2015-02-25 20:54:53 -08:00