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
zhangkun83
c01af90d18
Polish javadoc for stub/*
2015-02-25 15:20:36 -08:00
Mugur Marculescu
961ecc5a2c
Update CONTRIBUTING.md
...
Fix typos.
2015-02-25 14:47:42 -08:00
Xiao Hang
dcff315dc3
Add nano support to Java codegen. Now the user can specify a flag nano=true
...
to generate naon related code in grpc service interface
Commandline example:
protoc --plugin=protoc-gen-java_rpc=build/binaries/java_pluginExecutable/java_plugin \
--java_rpc_out=nano=true:"$OUTPUT_FILE" --javanano_out=ignore_services=true:"$OUTPUT_FILE" \
--proto_path="$DIR_OF_PROTO_FILE" "$PROTO_FILE
2015-02-25 14:38:03 -08:00
Louis Ryan
46dd47f86b
Cleanup Javadoc for Channel, ServerCall and their related classes.
2015-02-25 14:22:12 -08:00
Jakob Buchgraber
1961402104
Revert "Have SendGrpcFrameCommand constructor take an AbstractStream object instead of a stream id."
...
This reverts commit 0d78268b83 .
Some unit tests aren't compiling due to this change.
2015-02-25 14:05:57 -08:00
Jakob Buchgraber
7ef1781016
Cleanup and Nitpicking
...
- Renamed 'eventGroup' property to 'group' as this what's used elsewhere.
- Moved assignment of the channel before the listener is added as currently
there is a (theoretical) chance that the listener is executed before the assignment
to channel happens, namely in case the Future is already done when the listener
is added.
- Removed comment that seemed out of place / relict.
2015-02-25 12:28:25 -08:00
Jakob Buchgraber
0d78268b83
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-02-25 12:20:35 -08:00
Nathan Mittler
1a39f7b248
Merge pull request #128 from jpinner/bump_hpack
...
Upgrade com.twitter.hpack to v0.10.1
2015-02-25 11:08:21 -08:00
Nathan Mittler
194cad3f60
Merge pull request #127 from nmittler/helloworld
...
Adding HelloWorld example to grpc-java repo.
2015-02-25 10:58:56 -08:00
nmittler
87daf0e0dc
Adding HelloWorld example to grpc-java repo.
2015-02-25 10:56:51 -08:00
Jeff Pinner
b1cc7cc09d
Upgrade com.twitter.hpack to v0.10.1
2015-02-25 10:17:23 -08:00
Nathan Mittler
488f8a9989
Merge pull request #117 from nmittler/stream_removal_fix
...
Fixing memory leak in stream removal policy
2015-02-25 09:55:40 -08:00
Eric Anderson
61179abcaa
Set encoding for Java source to UTF-8
...
Our new example uses UTF-8 characters. On systems that don't have UTF-8 as
their default locale, the build fails without the override.
2015-02-24 23:02:50 +00:00
Nathan Mittler
360a84f42a
Merge pull request #108 from nmittler/route_guide
...
Adding RouteGuide example and deleting others.
2015-02-24 13:59:07 -08:00
nmittler
b897a89e78
Adding RouteGuide example and deleting others.
2015-02-24 13:58:16 -08:00
Nathan Mittler
494d273b05
Merge pull request #112 from nmittler/comments
...
Some comment cleanup in the Netty builders.
2015-02-24 13:17:47 -08:00
nmittler
23f513c0d2
Some comment cleanup in the Netty builders.
2015-02-24 13:16:21 -08:00
nmittler
cc170418ea
Fixing memory leak in stream removal policy
...
The stream removal policy was never being added as a handler, so it was
never starting its periodic timer to remove streams.
2015-02-24 12:55:26 -08:00
Louis Ryan
425e3c0b7f
Remove dead GrpcFramingUtil class
2015-02-23 17:44:23 -08:00
Mugur Marculescu
5b1bc15182
Create CONTRIBUTING.md
...
Adding a half filled contributing readme file.
2015-02-23 17:26:08 -08:00
Louis Ryan
95c6f5082c
Udate TODOs to use Github user names
2015-02-23 12:46:28 -08:00
Eric Anderson
7b25aaf7e7
Remove target from .gitignore
...
We are no longer using Maven, so target/ directories should not longer
be ignored.
2015-02-23 11:59:13 -08:00
Eric Anderson
3af5add7b2
Add java_package proto option for portability
...
Some protoc Java environments have a package to put all proto namespaces
under, since proto namespaces aren't aligned with Java packages.
2015-02-23 10:38:08 -08:00
Jakob Buchgraber
c6c0a3bf69
Remove user prefix from NettyServerBuilder.userBossEventLoopGroup(). Fixes #73
2015-02-20 13:43:20 -08:00
Jakob Buchgraber
bd81a58c42
Add duration paramter to QPS Client and remove "server_threads" parameter.
...
The QpsClient no longer executes a fixed number of RPCs but runs for a period of time now (see #83 ).
After some discussion with @ejona86, we also agreed to remove the "server_threads" parameter
and to no longer use a `DirectExecutor` and thus run the QPS Server without any tweaks and
modifications. We believe/hope that this change will make the comparison between the C++ and
Java versions less "Apples and Oranges".
The "client_threads" parameter was renamed to "concurrent_calls" to better reflect what it
acutally does.
Furthermore, I updated the gradle build script to create separate executables for the
client and the server.
I also added a README.
2015-02-20 13:32:55 -08:00