Nathaniel Manista
73578f7f62
Merge pull request #2887 from tbetbetbe/grpc-ruby-default-timeout-of-infinity-will-clearly-not-suprise-most-users
...
Sets Ruby's default timeout to infinity.
2015-08-11 15:47:52 -07:00
Tim Emiola
17b1659014
Corrects the way the gemspec references files
2015-08-11 11:32:46 -07:00
Tim Emiola
d42c1b7b5a
Use null for default host
2015-08-11 10:50:21 -07:00
Tim Emiola
23e0f8843b
Aligns with the cognoscenti on timeouts
2015-08-11 10:13:18 -07:00
Stanley Cheung
844c449a0e
Merge pull request #2886 from tbetbetbe/grpc-ruby-add-primary-user-agent-key
...
Adds grpc.primary_user_agent key during stub creation
2015-08-11 10:00:56 -07:00
Tim Emiola
10ddfde8e6
Adds grpc.primary_user_agent key during stub creation
2015-08-11 09:54:59 -07:00
Tim Emiola
623a74d0a8
Exposes call#peer, channel#target
2015-08-11 09:24:20 -07:00
Nicolas "Pixel" Noble
9d72b149a9
Merge branch 'master' of github.com:grpc/grpc into the-ultimate-showdown
...
Conflicts:
include/grpc/grpc.h
src/core/surface/channel.c
src/core/surface/channel_create.c
src/core/surface/completion_queue.c
src/cpp/client/channel.cc
src/cpp/client/insecure_credentials.cc
src/csharp/ext/grpc_csharp_ext.c
src/node/ext/call.cc
src/node/ext/channel.cc
src/php/ext/grpc/call.c
src/php/ext/grpc/channel.c
src/python/grpcio/grpc/_adapter/_c/types/channel.c
src/ruby/ext/grpc/rb_channel.c
test/core/end2end/dualstack_socket_test.c
test/core/end2end/fixtures/chttp2_fullstack.c
test/core/end2end/fixtures/chttp2_fullstack_compression.c
test/core/end2end/fixtures/chttp2_fullstack_uds_posix.c
test/core/end2end/fixtures/chttp2_fullstack_with_poll.c
test/core/end2end/multiple_server_queues_test.c
test/core/end2end/no_server_test.c
test/core/end2end/tests/bad_hostname.c
test/core/end2end/tests/cancel_after_accept.c
test/core/end2end/tests/cancel_after_accept_and_writes_closed.c
test/core/end2end/tests/cancel_after_invoke.c
test/core/end2end/tests/cancel_before_invoke.c
test/core/end2end/tests/cancel_in_a_vacuum.c
test/core/end2end/tests/census_simple_request.c
test/core/end2end/tests/disappearing_server.c
test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c
test/core/end2end/tests/empty_batch.c
test/core/end2end/tests/graceful_server_shutdown.c
test/core/end2end/tests/invoke_large_request.c
test/core/end2end/tests/max_concurrent_streams.c
test/core/end2end/tests/max_message_length.c
test/core/end2end/tests/ping_pong_streaming.c
test/core/end2end/tests/registered_call.c
test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c
test/core/end2end/tests/request_response_with_metadata_and_payload.c
test/core/end2end/tests/request_response_with_payload.c
test/core/end2end/tests/request_response_with_payload_and_call_creds.c
test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c
test/core/end2end/tests/request_with_compressed_payload.c
test/core/end2end/tests/request_with_flags.c
test/core/end2end/tests/request_with_large_metadata.c
test/core/end2end/tests/request_with_payload.c
test/core/end2end/tests/server_finishes_request.c
test/core/end2end/tests/simple_delayed_request.c
test/core/end2end/tests/simple_request.c
test/core/end2end/tests/simple_request_with_high_initial_sequence_number.c
test/core/fling/client.c
test/core/fling/server.c
test/core/surface/lame_client_test.c
2015-08-08 01:45:38 +02:00
Nicolas "Pixel" Noble
f75df57a8f
Working on ruby.
2015-08-07 22:16:50 +02:00
Craig Tiller
a600d58551
Merge github.com:grpc/grpc into propagate
2015-08-05 10:44:45 -07:00
Craig Tiller
c5ae3eb8d6
Rename grpc_server_add_http2_port to grpc_server_add_insecure_http2_port
2015-08-03 10:42:22 -07:00
Craig Tiller
e1b0e6ee12
s/inherit/propagate/g
2015-07-31 17:07:31 -07:00
Craig Tiller
99e61645ce
Update wrappers, tests to new create_call()
2015-07-31 17:01:47 -07:00
Julien Boeuf
4aee724004
Merge branch 'master' of github.com:grpc/grpc into ssl_force_client_auth
2015-07-27 16:16:29 -07:00
Yang Gao
f2b2558cc3
Merge pull request #2593 from ctiller/elliptic-orange-chamelion
...
Rename grpc_channel_create to grpc_insecure_channel_create
2015-07-27 14:15:48 -07:00
Michael Lumish
d116a2d3a9
Merge pull request #2632 from marcinwyszynski/master
...
Avoid implicit conversions in Ruby extension code
2015-07-27 08:55:21 -07:00
Craig Tiller
d9aed1d010
Merge github.com:grpc/grpc into elliptic-orange-chamelion
...
Conflicts:
src/csharp/ext/grpc_csharp_ext.c
2015-07-26 12:55:47 -07:00
Marcin Wyszynski
a5fea60e8d
array_length and it's counter types should match
2015-07-24 10:24:32 +02:00
Marcin Wyszynski
1a2ac33f1f
Avoid stupid double conversion
2015-07-23 20:12:33 +02:00
Marcin Wyszynski
ea0c18b3f2
Make time_t to int conversion explicit on tv_nsec
2015-07-23 20:00:32 +02:00
Marcin Wyszynski
ac91eddb60
Avoid implicit conversion on array_length
2015-07-23 19:59:46 +02:00
Craig Tiller
94329d0965
Make the server report monotonic times for deadlines
...
For very high performance systems, we're going to want to be able to
simply push the value reported from the server down onto clients.
If we report realtime now, then all wrapped languages are going to
assume it, meaning that such a change will be impossible later.
2015-07-23 09:52:11 -07:00
Julien Boeuf
5029b30d1c
Adding option to force client auth on the server SSL creds.
2015-07-21 23:02:16 -07:00
Craig Tiller
4a4f1496c1
Rename grpc_channel_create to grpc_insecure_channel_create
2015-07-21 16:32:29 -07:00
Craig Tiller
b4fdd32100
Merge github.com:grpc/grpc into now-i-get-to-show-it-to-EVERYBODY
...
Conflicts:
src/cpp/client/channel_arguments.cc
2015-07-19 22:26:26 -07:00
Nicolas Noble
436822131e
Merge pull request #2476 from murgatroid99/ruby_fix_warnings
...
Clean up some warnings in the ruby wrapping code
2015-07-19 10:21:07 -07:00
Craig Tiller
83ac705fa7
Only check metadata that we want: its allowed to have extra elements
2015-07-18 20:39:34 -07:00
Craig Tiller
c9fef6f521
Merge github.com:grpc/grpc into no-worries-i-can-wait
2015-07-17 14:41:12 -07:00
murgatroid99
87afb5d863
Clean up some warnings in the ruby wrapping code
2015-07-16 16:01:02 -07:00
Tim Emiola
8092af8678
Updates the requirements comment before releasing on the release branch
2015-07-15 09:15:55 -07:00
Abhishek Kumar
1cbeeb508b
Merge pull request #2336 from murgatroid99/ruby_error_codes
...
Made ruby server return correct error code for unimplemented method
2015-07-14 10:53:12 -07:00
Craig Tiller
5a1e7fda84
Ruby fixes for new timespec
2015-07-14 07:14:47 -07:00
Craig Tiller
58bbc864ba
Updating wrapped languages to new time functions
2015-07-13 09:51:17 -07:00
Craig Tiller
354398f9f5
Updating wrapped languages to new time functions
2015-07-13 09:16:03 -07:00
Craig Tiller
143e7bf0cf
Introduce a clock type field onto gpr_timespec.
...
Use it to validate that arithmetic on time types makes even some vague
kind of sense.
2015-07-13 08:41:49 -07:00
Craig Tiller
080d6c50bb
Merge github.com:grpc/grpc into footprints-on-the-sands-of-time
2015-07-10 10:23:10 -07:00
murgatroid99
f88eecd80d
Changed found? to implemented?
2015-07-10 09:58:15 -07:00
murgatroid99
7f27db2cb5
Bumped Ruby package version to 0.10.0
2015-07-09 14:08:58 -07:00
murgatroid99
f4d7da9d74
Merge branch 'master' into ruby_error_codes
2015-07-09 10:08:51 -07:00
Craig Tiller
5cc175f08e
Merge github.com:grpc/grpc into footprints-on-the-sands-of-time
2015-07-09 08:48:35 -07:00
murgatroid99
0f1c42e381
Fixed Rubocop errors in extconf.rb
2015-07-08 12:54:31 -07:00
murgatroid99
3d6d0587bd
Made ruby server return correct error code for unimplemented method
2015-07-08 12:47:13 -07:00
murgatroid99
9e56ce034f
Fixed ruby build when rebuilding C core
2015-07-08 11:31:52 -07:00
murgatroid99
fa0fa18134
Check more warnings in Ruby library, add -Werror
2015-07-07 18:02:00 -07:00
murgatroid99
0b90c1e5e8
Fixed ruby local build fallback case
2015-07-07 17:44:46 -07:00
murgatroid99
51dbf90434
Use pkg-config if possible when building the ruby extension
2015-07-07 16:00:06 -07:00
Craig Tiller
a368bd26d1
Merge github.com:grpc/grpc into footprints-on-the-sands-of-time
2015-07-06 11:04:14 -07:00
Craig Tiller
d1dd3a68a2
Merge pull request #2117 from dgquintas/bb_from_bbreader
...
Introduced function to create byte buffers from the output of a byte buffer reader.
2015-07-05 13:30:39 -07:00
Craig Tiller
f3756c1e0d
Introduce multiple clocks to GPR
2015-07-01 17:21:01 -07:00
David Garcia Quintas
c544422453
Added zlib as a linker dep. for Ruby
2015-06-24 14:08:07 -07:00
Tim Emiola
27243c223b
Bump version of grpc ruby for release on the release branch
...
- grpc ruby 0.9.3 should have released from the release branch but was not
- it needs to be re-released from that branch
2015-06-23 16:37:10 -07:00
Nicolas Noble
f3fac562e8
Merge pull request #1577 from ctiller/we-dont-need-no-backup
...
Remove backup poller from GRPC core
2015-06-19 13:08:00 -07:00
Tim Emiola
aa57bab3ca
Corrects the cancel_after_first_response behaviour
...
- introduces a #wait method on the call operation view
- invokes #wait on a Notifier that is created for all operations
- ensures the Notifier is invoked if necessary whenever a client request
completes
- updates the interop_test to use op.wait before checking if the call
was cancelled.
2015-06-19 10:23:42 -07:00
Craig Tiller
b6b3015a84
Merge github.com:grpc/grpc into we-dont-need-no-backup
...
Conflicts:
include/grpc/compression.h
2015-06-17 17:27:50 -07:00
donnadionne
f1a495573f
Merge pull request #2100 from tbetbetbe/grpc-ruby-adjust-rspec-output
...
Prints test names as ruby tests run
2015-06-17 15:56:19 -07:00
Tim Emiola
821e4a757f
Prints test names as ruby tests run
2015-06-17 11:57:46 -07:00
Craig Tiller
bf8ac3f406
Merge branch 'you-complete-me' into we-dont-need-no-backup
2015-06-17 09:15:48 -07:00
Tim Emiola
b1fa5d4627
Ruby shutdown api migration
...
+ all tests pass,
- but there are a couple of workarounds
- tests are flaky
2015-06-17 06:22:11 -07:00
David Garcia Quintas
de52625ae5
Added changes to c++ and ruby wrappers
2015-06-15 13:15:26 -07:00
Craig Tiller
4671122995
Merge branch 'you-complete-me' into we-dont-need-no-backup
2015-06-09 22:59:31 -07:00
David Garcia Quintas
59f905d79a
Changes to byte_buffer based on comments.
2015-06-08 20:06:17 -07:00
Craig Tiller
2c42ef3eb3
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-06-05 07:09:56 -07:00
Tim Emiola
1a2988df2b
Update version; fix dependency advisory comment
2015-06-04 09:01:14 -07:00
Tim Emiola
191c8466e4
Re-organizes the GRPC_ROOT detection code in extconf.rb
2015-06-04 08:19:44 -07:00
Tim Emiola
9341045307
bump grpc ruby version
2015-06-03 12:27:57 -07:00
Jayant Kolhe
ab14dde1e0
Merge pull request #1889 from tbetbetbe/grpc-ruby-update-readme-install
...
Update INSTALL on Ruby README.md
2015-06-03 12:24:32 -07:00
Tim Emiola
50773e61cc
Update INSTALL on Ruby README.md
2015-06-03 12:18:48 -07:00
Craig Tiller
669c139a4a
Merge pull request #1866 from dgquintas/stack-allocate-bb-reader
...
Removed grpc_byte_buffer_reader_{create,destroy}.
2015-06-02 16:59:00 -07:00
Craig Tiller
8cc6f42287
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-06-02 16:28:36 -07:00
Tim Emiola
d62d345b83
Corrects the cancel_after_first_response test
...
- stops attempting to verify by catching the CancelledError
- instead the test examines the operation state after cancellation,
which is equally valid and more stable.
Also
- simplifies bidi on the server
2015-06-02 11:28:03 -07:00
David Garcia Quintas
30bd4eb5cc
Removed grpc_byte_buffer_reader_{create,destroy}.
...
Introduced grpc_byte_buffer_init instead. It's now the user's responsibility to
manage memory.
2015-06-01 21:20:47 -07:00
Craig Tiller
43de01a25c
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-05-29 12:39:08 -07:00
Tim Emiola
dd7a036f75
Add's logging tweaks thread interaction for bidi_server
2015-05-28 14:18:38 -07:00
Craig Tiller
a22bd9c17e
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-05-26 16:40:35 -07:00
Tim Emiola
af74e4e47d
Updates gRPC Ruby to 0.9.0
2015-05-26 11:56:31 -07:00
Michael Lumish
592dfaed87
Merge pull request #1735 from tbetbetbe/grpc-rb-rpc-server-improvements
...
Various tweaks to improve server stability
2015-05-26 09:39:53 -07:00
Craig Tiller
8b5276c02e
Merge github.com:grpc/grpc into we-dont-need-no-backup
...
Conflicts:
src/core/surface/call.c
test/core/end2end/dualstack_socket_test.c
test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c
test/core/end2end/tests/early_server_shutdown_finishes_tags.c
test/core/end2end/tests/graceful_server_shutdown.c
test/core/end2end/tests/invoke_large_request.c
test/core/end2end/tests/max_concurrent_streams.c
test/core/end2end/tests/max_message_length.c
test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c
test/core/end2end/tests/request_response_with_metadata_and_payload.c
test/core/end2end/tests/request_response_with_payload.c
test/core/end2end/tests/request_response_with_payload_and_call_creds.c
test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c
test/core/end2end/tests/request_with_large_metadata.c
test/core/end2end/tests/request_with_payload.c
test/core/httpcli/httpcli_test.c
tools/run_tests/run_tests.py
2015-05-24 15:58:14 -07:00
remi Taylor
47b7bd99e6
Update ruby add_http2_port comments to use port 50051
2015-05-24 15:10:01 -07:00
Tim Emiola
4aba356630
Various tweaks to improve server stability
2015-05-22 17:25:49 -07:00
vjpai
121e060f3c
Don't include a core file
2015-05-21 10:04:36 -07:00
Yang Gao
bbc8a40b22
Merge pull request #1690 from ctiller/gem-shard
...
Fix segfault exposed by Ruby
2015-05-21 07:56:33 -07:00
Craig Tiller
644cad6178
Fix segfault exposed by Ruby
2015-05-20 17:57:54 -07:00
Nick Gauthier
f233d968d2
Encapsulate logger within GRPC module
2015-05-20 14:02:50 -04:00
Craig Tiller
037d8700a7
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-05-19 22:20:57 -07:00
Tim Emiola
386643e23a
Merge pull request #1589 from nicolasnoble/ruby-cleanup
...
Ruby cleanup
2015-05-19 16:03:58 -07:00
Craig Tiller
09600be0a5
Ensure that there's always a poller for completion
...
The C core uses completion_queue_next as a directive that progress should be made on requests bound to that cq.
If nobody is polling for completion, then a deadlock can occur (client needs to do work, but we're blocked waiting for the server).
There is no scope for this to occur using the idiomatic layers (as far as I can tell), but these low level tests need to be massaged.
2015-05-17 14:33:33 -07:00
Nicolas "Pixel" Noble
2e4b735f61
Enabling the ruby extension to automatically build grpc.
2015-05-14 07:15:39 +02:00
Nicolas "Pixel" Noble
357cb81c7d
Straightening out the includes.
2015-05-14 05:33:43 +02:00
Yang Gao
5cb7902850
remove redudant optional keyword in proto3
2015-05-13 14:52:15 -07:00
Craig Tiller
6c66c0f5ce
Add accidentally deleted escape
2015-05-12 17:00:30 -07:00
Craig Tiller
54478f8562
Merge github.com:grpc/grpc into bye-bye-completion-queue-pie
2015-05-12 14:08:56 -07:00
Yang Gao
a468c36601
Merge pull request #1493 from ctiller/churn-churn-churn-the-api-gently-down-the-stream
...
Completion queue binding for new requests API change
2015-05-12 12:37:24 -07:00
Craig Tiller
4749c8bf6b
Getting rid of more seemingly dead code
2015-05-12 07:38:35 -07:00
Craig Tiller
06b8b312ac
Remove unusable functions
2015-05-11 22:58:54 -07:00
Craig Tiller
3211e943db
Remove unusable functions
2015-05-11 22:45:37 -07:00
Craig Tiller
de4e3eb113
Fix Ruby compile error
2015-05-11 18:51:32 -07:00
Craig Tiller
4a3c1386a1
Merge github.com:grpc/grpc into bye-bye-completion-queue-pie
2015-05-11 18:50:00 -07:00
Craig Tiller
c7df2b8a56
Ruby progress
2015-05-11 11:12:18 -07:00
Craig Tiller
3c78b4e0de
Ruby progress
2015-05-11 09:11:45 -07:00
Craig Tiller
3a4880856a
Ruby progress
2015-05-11 09:02:07 -07:00