nmittler
d4d66a5fef
Better error description onGoAwayRead
2015-03-12 08:16:52 -07:00
Eric Anderson
238a4cb620
Add two extra cases to make edge case testing more obvious.
2015-03-11 15:14:28 -07:00
Eric Anderson
8986fc3412
Reorganize tests. Tweak Javadoc formatting
2015-03-11 15:10:35 -07:00
Eric Anderson
0e904f08e0
Tweak Http2Error and add tests
2015-03-11 14:45:03 -07:00
Jakob Buchgraber
f822416f35
Use DEFAULT_WORKER_EVENT_LOOP_GROUP for both client and server. Fixes #82
...
+ Use only one thread for the boss eventloop group by default.
2015-03-11 14:31:51 -07:00
Jakob Buchgraber
c56cec7d92
Update README.md to Netty 4.1
2015-03-11 14:30:08 -07:00
nmittler
2a425090d1
Migrating to Netty 4.1
...
Fixes #164
2015-03-11 13:18:27 -07:00
nmittler
54be11ef3c
Updating to the latest Netty version.
2015-03-10 15:43:19 -07:00
Nathan Mittler
a979197da2
Merge pull request #178 from nmittler/okhttp
...
Test receiving invalid stream IDs in okhttp
2015-03-10 13:42:17 -07:00
Jorge Canizales
ad5ae259bb
Fixes javadoc errors
2015-03-10 09:24:06 -07:00
nmittler
fad21aafe7
Test receiving invalid stream IDs in okhttp
...
Fixes #173
2015-03-09 14:10:10 -07:00
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
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
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
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
02a02c3084
Update README.md
...
Adding link to Java Tutorial from Readme
2015-02-26 05:21:03 -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
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
zsurocking
c449d90256
Merge pull request #132 from zsurocking/removenanotest
...
Remove nano codegen test temporarily. Currently I haven't figuired
2015-02-25 20:50:12 -08:00
Xiao Hang
b8f5c90e48
Remove nano codegen test temporarily. Currently I haven't figuired
...
out how to make it work with "gradle clean build"
Somehow temporaryDir is not created when doing gradle clean build,
so the test complains about path not found
2015-02-25 20:43:33 -08:00
Jayant Kolhe
5cb7b6d2e9
Merge pull request #113 from grpc/mugurm-patch-1
...
Create CONTRIBUTING.md
2015-02-25 18:10:14 -08:00
Mugur Marculescu
69e778fbdd
Update CONTRIBUTING.md
2015-02-25 18:08:52 -08:00
rocking
c60f0171cb
Open source nano proto related code
...
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=87180572
2015-02-25 15:36:20 -08:00