Commit Graph

1025 Commits

Author SHA1 Message Date
apolcyn 4950760440 Merge pull request #7765 from apolcyn/benchmark_adjustments_ga
fail benchmarks with errors in a child rpc thread
2016-09-08 10:44:42 -07:00
Mark D. Roth ebfcd97940 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-08 07:16:34 -07:00
Nicolas "Pixel" Noble 5928bff0c7 Merge branch 'v1.0.x' of https://github.com/grpc/grpc into manual-upmerge 2016-09-08 01:58:49 +02:00
Nicolas Noble 74c92f62d9 Merge pull request #7848 from nicolasnoble/upmerge-from-v1.0.x
Manual upmerge from v1.0.x
2016-09-06 11:41:26 -07:00
Mark D. Roth 7bfa1a8343 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-06 10:44:32 -07:00
David Garcia Quintas d10f1775eb Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-09-03 12:42:02 +02:00
kpayson64 d57bbe7f8f Merge pull request #7758 from apolcyn/use_third_party_thread_pool_master
Use thread pool from concurrent-ruby on ruby server
2016-09-02 14:44:22 -07:00
Yuchen Zeng 5b159f29e0 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-09-01 22:40:28 -07:00
Mark D. Roth 7331a7aa62 Change wrapped languages to use the new channel arg macro name. 2016-08-31 13:09:27 -07:00
David Garcia Quintas e3817f4fd1 Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-31 00:25:29 +02:00
David Garcia Quintas f3581bf90a Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-30 04:45:50 -07:00
Alexander Polcyn 38ba85ce48 allow choosing config of ruby package builds from environment variable 2016-08-29 16:59:23 -07:00
Craig Tiller d9f907671d Update documentation 2016-08-29 16:47:22 -07:00
Alexander Polcyn 5c8efc1ce4 remove log statements that showing contents of messages 2016-08-26 10:13:39 -07:00
Yuchen Zeng 78cc066db2 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-08-24 18:22:24 -07:00
Nicolas "Pixel" Noble cdbe6b3963 Merge branch 'v1.0.x' into upmerge-from-v1.0.x 2016-08-24 00:08:49 +02:00
Teodor e898ee608c
Fix example in ruby readme 2016-08-23 13:18:16 +03:00
Sree Kuchibhotla cc357bf74e Remove completion queue parameter from grpc_server_add_insecure_channel_from_fd API 2016-08-22 16:08:50 -07:00
Nicolas Noble 701951f635 Merge pull request #7800 from apolcyn/dont_catch_load_error
Dont catch load error when loading grpc lib in ruby gem
2016-08-22 10:20:04 -07:00
Alexander Polcyn e61aab2651 convert match data to string 2016-08-20 09:40:34 -07:00
Alexander Polcyn 8dd21260be fix directory check 2016-08-19 18:35:35 -07:00
Alexander Polcyn 8067d72947 dont catch load error when loading grpc lib in grpc gem 2016-08-19 16:07:02 -07:00
Nicolas "Pixel" Noble 398dde49fc Restoring require_relative. 2016-08-19 22:53:15 +02:00
Nicolas "Pixel" Noble 47127507be Fixing loading precompiled Ruby extension on 2.x.10+ 2016-08-19 22:32:24 +02:00
Nicolas "Pixel" Noble 35b8c51485 Bumping version to 1.0.1-pre1. 2016-08-18 21:57:20 +02:00
Yuchen Zeng 15141a630d Merge c-ares into libgrpc.a 2016-08-17 18:56:04 -07:00
Alexander Polcyn 847f9ecc22 fail benchmarks with errors in a child rpc thread 2016-08-17 14:47:28 -07:00
Alexander Polcyn 9c74487072 Use thread pool from concurrent-ruby on ruby server 2016-08-16 18:01:14 -07:00
Yuchen Zeng e61bf3b406 Merge remote-tracking branch 'upstream/master' into cares 2016-08-16 11:16:34 -07:00
Nicolas "Pixel" Noble 0f9337b6a0 Removing pre2 flag. 2016-08-16 03:07:09 +02:00
Nicolas "Pixel" Noble e1ee20bde6 Merge branch 'v1.0.x' of https://github.com/grpc/grpc into manual-upmerge 2016-08-16 01:54:33 +02:00
kpayson64 69a2fc87b9 Merge pull request #7293 from apolcyn/send_metadata_from_server_handler
Moved sending of initial metadata from server into server handler
2016-08-15 11:06:22 -07:00
Yuchen Zeng b1b2115a26 Fix ruby build 2016-08-12 11:27:30 -07:00
Alexander Polcyn 17d5c07115 use sent flag only under mutex and dont fail in send_initial_metadata 2016-08-11 15:21:43 -07:00
Alexander Polcyn a9bc030a3a add mutex wrapper around sending and modifying of initial metadata 2016-08-11 12:12:25 -07:00
Alexander Polcyn dc3d561f4a remove dedicated thread for read loop in ruby bidi calls 2016-08-08 16:30:10 -07:00
kpayson64 329d6473db Merge pull request #6774 from a-veitch/add_resource
Add Census resource API and implementation.
2016-08-02 12:46:43 -07:00
David Garcia Quintas 1f32ae4e84 Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse 2016-08-02 10:24:44 -07:00
David Garcia Quintas b3a0fd693e codegen/alloc.h -> support/alloc.h for ruby 2016-08-01 19:15:50 -07:00
David Garcia Quintas 2ee99f42cf regenerated projects 2016-08-01 19:15:31 -07:00
Nicolas "Pixel" Noble 3260a1731a Bumping to 1.0.0-pre2. 2016-07-29 22:56:12 +02:00
Nicolas "Pixel" Noble 8302b123de Merge branch 'v1.0.x' into manual-upmerge
Conflicts:
	src/ruby/pb/test/client.rb
	src/ruby/pb/test/server.rb
	tools/dockerfile/test/php7_jessie_x64/Dockerfile
2016-07-29 22:48:16 +02:00
murgatroid99 d8bc223252 Merge remote-tracking branch 'upstream/v1.0.x' into ruby_tools_plugin_arg 2016-07-28 13:35:44 -07:00
David Garcia Quintas e8fd66b71d removed codegen/slice_buffer.h and scrubbed codegen/slice.h 2016-07-27 22:05:37 -07:00
David Garcia Quintas c79b0650d2 removed codegen/log.h 2016-07-27 21:11:58 -07:00
David Garcia Quintas 1399e466b0 removed codegen/time.h 2016-07-27 20:31:55 -07:00
David Garcia Quintas 3b31fdf77b removed codegen/byte_buffer.h 2016-07-27 18:17:12 -07:00
kpayson64 a4d9e4bbfa Merge pull request #7534 from murgatroid99/ruby_tools_script_naming
Remove .rb suffix from grpc-tools scripts, to be consistent with other gems
2016-07-27 13:06:20 -07:00
murgatroid99 0b316b041f Ruby Tools: automatically include plugin argument in protoc command 2016-07-27 11:11:32 -07:00
Ken Payson 5a2c91806f Updated ruby protos to use new _pb filename 2016-07-26 18:36:42 -07:00
murgatroid99 b5282c7628 Remove .rb suffix from grpc-tools scripts, to be consistent with other gems 2016-07-26 13:14:27 -07:00
murgatroid99 1533e6aab9 Rerun generate_projects.sh 2016-07-25 11:09:23 -07:00
murgatroid99 316f73f6c1 Merge v1.0.x into master 2016-07-22 11:00:34 -07:00
Alistair Veitch 3abd27e531 merge to upstream/master 2016-07-21 17:29:04 -07:00
Alex Polcyn d9892bdd80 Moved sending of initial metadata from server into server handler
methods
2016-07-20 16:50:44 -07:00
murgatroid99 90e5b2e58e Remove undefined reference warning in Ruby build 2016-07-19 16:51:22 -07:00
murgatroid99 8a16ce265b Make new linker warning linux-only 2016-07-19 14:49:28 -07:00
murgatroid99 91633cb2f2 Fix undefined reference in Ruby code, add linker warning 2016-07-19 10:36:01 -07:00
kpayson64 f3f5c18e5a Merge pull request #7284 from ewr/FixRubyTimeConversion
Fix arguments for calls to Ruby's `Time.at`
2016-07-18 10:35:54 -07:00
kpayson64 69d897d032 Merge pull request #7347 from apolcyn/add_ruby_client_compression_interop_tests
Add ruby client compression interop tests
2016-07-15 11:27:38 -07:00
Alexander Polcyn 535b71dce4 changed compression request streaming enumerable to set write flag on every message 2016-07-12 15:52:08 -07:00
Alexander Polcyn 3403565ca4 updated inner class comment 2016-07-12 15:21:27 -07:00
Alexander Polcyn 81aab14ba6 simplified client streaming compression request enumerable 2016-07-12 15:14:43 -07:00
murgatroid99 580a64af24 Improved some Ruby inline documentation 2016-07-12 13:54:09 -07:00
Alexander Polcyn cdff92f02e added ruby client compression interop tests 2016-07-12 13:47:27 -07:00
Alex Polcyn 7c55ab090a removed unnecessary public methods removed tests of non api methods 2016-07-12 09:29:17 -07:00
Eric Richardson 8e769fdc95 Fix arguments for calls to Ruby's `Time.at`
`Time.at` takes microseconds as a second arg, not nanoseconds. Fixes
conversion of deadline time on the server-side.
2016-07-12 09:32:21 -04:00
Nicolas "Pixel" Noble 49bfb92dc1 Master is now 1.1.0-dev. 2016-07-12 09:31:41 +02:00
Nicolas "Pixel" Noble 8c72ae43f9 Flagging master as 1.0.0-pre1. 2016-07-12 09:18:18 +02:00
Alexander Polcyn a0a0e1f7db Removed expectations of entire provided algorithms list in tests 2016-07-11 13:51:48 -07:00
Alexander Polcyn 6c4709e275 replaced constant compress level names with ids 2016-07-11 13:17:48 -07:00
Alex Polcyn b72cc3dd87 fixed unreferenced self C parameters 2016-07-10 20:19:35 -07:00
Alexander Polcyn d788b458cf Replaced private ruby methods with internal c functions 2016-07-10 19:32:33 -07:00
Alexander Polcyn 0dccf10db7 Added ruby wrapper for grpc_compression_options 2016-07-10 19:32:32 -07:00
murgatroid99 19787c7528 Merge branch 'master' into ruby_api_review_changes 2016-07-08 09:29:42 -07:00
murgatroid99 ae466c8a8d Revert changes to SingleReqView and MultiReqView 2016-07-08 09:28:25 -07:00
kpayson64 34967b7306 Merge pull request #7270 from kpayson64/ruby_ga_change
Change cancelled to cancelled?
2016-07-07 18:55:02 -07:00
murgatroid99 e69f088cd9 Split incoming initial and trailing metadata in Ruby calls 2016-07-07 15:52:27 -07:00
Ken Payson b156671023 Change cancelled to cancelled? 2016-07-07 15:16:03 -07:00
David Garcia Quintas b44b385ad2 Merge branch 'fix_cpp_deps' of https://github.com/dgquintas/grpc into bb_reader_error 2016-07-06 17:55:48 -07:00
David Garcia Quintas 9a2320e40e regenerated projects 2016-06-30 18:15:12 -07:00
David Garcia Quintas 6721d4f0f1 Return success status of grpc_byte_buffer_reader 2016-06-30 17:30:08 -07:00
murgatroid99 5756c6862b Added a comment about Ruby queue destruction 2016-06-30 13:58:18 -07:00
murgatroid99 9acc40f9b6 Simplified Ruby completion queue destruction code 2016-06-30 13:54:09 -07:00
murgatroid99 d9d9ba9302 Updated compression tests with batch API changes 2016-06-29 14:28:39 -07:00
murgatroid99 13c22ae595 Resolved merge conflicts with master 2016-06-28 14:17:39 -07:00
murgatroid99 00338657d9 Fix bug that occasionally caused a call to be deleted twice 2016-06-28 14:14:49 -07:00
yang-g 2cecece0d3 Add a unit test for compression. 2016-06-26 12:50:45 -07:00
Craig Tiller ffc780d70e Merge pull request #6803 from sreecha/epoll_changes
New epoll based polling implementation
2016-06-25 08:43:50 -07:00
murgatroid99 d29a3bf004 Update master branch to 0.16.0-dev 2016-06-24 10:26:14 -07:00
murgatroid99 67e2525892 Fix handling of one error in bidi calls, and one interop server method 2016-06-23 14:30:40 -07:00
murgatroid99 674f55a9ac Fixed missing variable propagation 2016-06-23 11:40:53 -07:00
murgatroid99 89f7cc517c Merge branch 'grpc_trace_granularity' into ruby_garbage_collection_fixes 2016-06-23 10:55:33 -07:00
Sree Kuchibhotla c3a9fae601 Merge branch 'master' into epoll_changes_merged 2016-06-21 16:31:35 -07:00
Sree Kuchibhotla 812c66ba1b Merge branch 'master' into epoll_changes 2016-06-16 10:05:13 -07:00
murgatroid99 635c1caf3b Fixed ruby timeout_on_sleeping_server implementation 2016-06-15 14:30:03 -07:00
Craig Tiller 13c0940f66 Merge branch 'idempotent_endpoint_shutdown' into handshake_timeout 2016-06-15 09:41:33 -07:00
murgatroid99 1fa96c5c49 Removed an extra mark object, fixed some documentation 2016-06-13 10:48:22 -07:00
murgatroid99 5ea4a99d8c Finished removing CompletionQueue from Ruby API, made some changes for clarity 2016-06-13 10:36:41 -07:00
Yuchen Zeng 654db3d33e Regenerate build files 2016-06-10 15:48:11 -07:00
Sree Kuchibhotla 492fd96182 generate_projects.sh after adding grpc_use_signal() API 2016-06-10 09:03:34 -07:00
Craig Tiller 0ca68b7cb1 Merge github.com:grpc/grpc into error 2016-06-09 07:50:50 -07:00
Adam Michalik b97e2d145e Add C++ support for using external FD 2016-06-07 15:09:19 -07:00
Adam Michalik bf10c82bf8 implement support for adding external fd to server 2016-06-07 15:09:19 -07:00
Adam Michalik 321b1fb1c2 separate posix functionality to grpc_posix.h 2016-06-07 15:09:19 -07:00
Adam Michalik 46cc2acc3e add tests 2016-06-07 15:04:36 -07:00
Craig Tiller 2888bd58b0 Merge github.com:grpc/grpc into error 2016-06-07 11:00:42 -07:00
Alistair Veitch ef1c860197 merge to master 2016-06-07 09:04:44 -07:00
murgatroid99 ec1588ba87 Ruby: Moved completion queue entirely into extension code 2016-06-06 15:37:45 -07:00
Jan Tattermusch 87ec3b77b5 Merge pull request #6750 from makdharma/cronet
cronet build related changes to build.yaml, and added ifdef guard around objective_c cronet code.
2016-06-06 12:44:12 -07:00
Craig Tiller d925c93047 Merge github.com:grpc/grpc into error 2016-06-06 08:38:50 -07:00
Jan Tattermusch 6c81c25653 Merge pull request #6306 from y-zeng/win32_suffix
Change win32 file suffix
2016-06-03 16:13:51 -04:00
Jan Tattermusch 11ca9d8dc0 Merge pull request #6674 from murgatroid99/node_ruby_codegen_comments
Add comments to generated code for Node and Ruby
2016-06-03 16:11:51 -04:00
Alistair Veitch 4aaba75a82 initial implementation of resource handling 2016-06-02 17:11:46 -07:00
murgatroid99 cc0f4e1c80 Remove Ruby copy initializers. They don't make sense with wrapped structs, and we don't use them anyway 2016-06-02 16:00:54 -07:00
Craig Tiller 48ed92ea38 GRPC_CHANNEL_FATAL_FAILURE --> GRPC_CHANNEL_SHUTDOWN 2016-06-02 11:07:12 -07:00
Craig Tiller 75584a4414 Merge github.com:grpc/grpc into error 2016-06-02 08:03:26 -07:00
Makarand Dharmapurikar 2a2599b5ca incremental fix - removed cronet dependency from grpc_secure 2016-06-01 15:19:06 -07:00
Ken Payson dce1ee6c84 Fixed ruby fd bug 2016-06-01 14:27:13 -07:00
Yuchen Zeng 4594bd9d1b Merge remote-tracking branch 'upstream/master' into base 2016-05-31 14:19:57 -07:00
Craig Tiller 48abdde197 Merge github.com:grpc/grpc into error 2016-05-24 06:55:28 -07:00
Jan Tattermusch 6db0232c3a Merge pull request #6662 from murgatroid99/ruby_explicit_kw_args
Avoid using unspecified keyword args where possible
2016-05-24 09:30:50 -04:00
murgatroid99 2939e2f9f7 Update ruby perf code with keyword args changes 2016-05-23 13:41:32 -07:00
murgatroid99 74cb8f5e6d Removed remaining reference to timeout argument from ruby interop client 2016-05-23 10:07:54 -07:00
murgatroid99 fb2877d4c8 Updated ruby interop client with keyword argument changes 2016-05-23 09:58:27 -07:00
murgatroid99 b39ad701ea Added comments to ruby code generation 2016-05-20 13:27:33 -07:00
Craig Tiller 139040b8be Merge github.com:grpc/grpc into test_affine 2016-05-20 10:56:52 -07:00
murgatroid99 ae34a370e3 Finished updating code and tests with keyword argument changes 2016-05-19 17:58:33 -07:00
Craig Tiller 2477c3cb89 Merge github.com:grpc/grpc into error 2016-05-19 12:04:42 -07:00
murgatroid99 83939ce3ac Merge branch 'ruby_signal_handling_improvement' into ruby_explicit_kw_args 2016-05-18 09:49:42 -07:00
murgatroid99 746ea97afd Finished removing ruby-level signal handlers again 2016-05-18 09:49:10 -07:00
murgatroid99 e68a71582f Fixed a couple of issues, removed ruby-level signal handling again 2016-05-18 09:46:26 -07:00
murgatroid99 19bf00b69b Re-added signal handlers to cancel calls and shut down servers 2016-05-17 18:22:01 -07:00
murgatroid99 b0b5380daa Merge branch 'ruby_signal_handling_improvement' into ruby_explicit_kw_args 2016-05-17 17:24:40 -07:00
murgatroid99 c0ecedba83 Made signal handling properly handle non-killing signals 2016-05-16 16:14:52 -07:00
murgatroid99 76733cf196 Removed remaining references to old server handling code 2016-05-16 15:00:29 -07:00
murgatroid99 d595fb6557 Handle signals properly when dropping GVL 2016-05-16 14:53:13 -07:00
murgatroid99 b19f181f3e Avoid using unspecified keyword args where possible 2016-05-16 12:21:39 -07:00
Craig Tiller f7a670fe6d Merge branch 'server_channel_affinity' of github.com:sreecha/grpc into affine 2016-05-14 13:05:41 -07:00
Craig Tiller d6a5b803f4 Merge github.com:grpc/grpc into error 2016-05-13 20:17:38 -07:00
makdharma c2ec95bad4 Revert "Revert "cronet wrapper code"" 2016-05-11 16:26:15 -07:00
Nicolas Noble f624a796e7 Merge pull request #6537 from grpc/release-0_14
Upmerge from 0.14.0, again :D
2016-05-11 11:04:06 -07:00
Jan Tattermusch 0840b85772 Merge pull request #6500 from murgatroid99/ruby_user_agent
Allow Ruby client code to set a user agent
2016-05-11 10:48:54 -07:00
Nicolas Noble 38c6cfb82f Merge pull request #6536 from grpc/release-0_14
Release 0.14 upmerge
2016-05-11 10:45:37 -07:00
Sree Kuchibhotla 8dbe2cb071 Merge branch 'master' into server_channel_affinity 2016-05-10 10:33:25 -07:00
murgatroid99 7573dfc16b Fixed references in grpc-tools gemspec 2016-05-10 09:33:23 -07:00
Nicolas "Pixel" Noble 2c75731b68 The release branch is now 0.14.1-pre1. 2016-05-10 09:26:34 +02:00
Nicolas "Pixel" Noble 5ecdda759a Processing the 0.14 release. 2016-05-10 08:29:53 +02:00
Nicolas Noble fac1b4d220 Merge pull request #6475 from grpc/release-0_14
Upmerge from 0.14.0
2016-05-09 23:18:34 -07:00
Nicolas Noble de88da9c6b Merge pull request #6433 from murgatroid99/tools_package_bin_namespacing
Make namespacing of executables exposed by grpc-tools packages consistent between Node and Ruby
2016-05-09 15:52:41 -07:00
murgatroid99 585ceca214 Make namespacing of executables exposed by grpc-tools packages consistent between Node and Ruby 2016-05-09 15:08:47 -07:00
murgatroid99 3080ede82c Allow Ruby client code to set a user agent 2016-05-09 14:55:34 -07:00
Nicolas "Pixel" Noble 0545d7fa69 Revert "Merge pull request #6214 from makdharma/master"
This reverts commit 48d833a9d8, reversing
changes made to 66e9d8e8a7.
2016-05-09 19:28:17 +02:00
Jan Tattermusch 03f7e995d2 Merge pull request #6472 from murgatroid99/ruby_signal_handling2
Make Ruby library terminate on Ctrl+C on client and server
2016-05-09 10:21:49 -07:00
Craig Tiller 42342cbebb Revert "cronet wrapper code" 2016-05-09 08:12:35 -07:00
murgatroid99 cf239e7309 Add a default handler to Ruby services that returns UNIMPLEMENTED 2016-05-06 14:48:21 -07:00
murgatroid99 41fd37bbe3 Poll for signals more frequently, for greater responsiveness 2016-05-06 13:43:26 -07:00
murgatroid99 873e419cf7 Added explanation about handling signals in C 2016-05-06 12:44:46 -07:00
murgatroid99 6bbe369434 Make Ruby library terminate on Ctrl+C on client and server 2016-05-06 11:43:22 -07:00
Nicolas "Pixel" Noble 19c46c3769 Merge remote-tracking branch 'google/release-0_14'
Conflicts:
	Makefile
	build.yaml
	package.json
	src/core/lib/surface/version.c
	src/csharp/Grpc.Core/VersionInfo.cs
	src/csharp/build_packages.bat
	src/node/tools/package.json
	src/python/grpcio/grpc_version.py
	src/ruby/lib/grpc/version.rb
	src/ruby/tools/version.rb
	tools/distrib/python/grpcio_tools/grpc_version.py
	tools/doxygen/Doxyfile.c++
	tools/doxygen/Doxyfile.c++.internal
	tools/doxygen/Doxyfile.core
	tools/doxygen/Doxyfile.core.internal
2016-05-06 03:15:57 +02:00
Nicolas Noble 24ccbed700 Merge pull request #6458 from nicolasnoble/ruby-fixes
Ruby fixes - for the release branch this time...
2016-05-05 18:10:51 -07:00
Nicolas "Pixel" Noble 16caa50aae Master is now 0.15.0-dev. 2016-05-06 03:02:51 +02:00
Nicolas "Pixel" Noble 253a7109ed The release branch is now 0.14.0-pre1. 2016-05-06 03:00:51 +02:00
Nicolas Noble 48d833a9d8 Merge pull request #6214 from makdharma/master
cronet wrapper code
2016-05-05 14:09:17 -07:00
Nicolas "Pixel" Noble 9fcdc8765f Cleaning up includes. 2016-05-05 06:15:34 +02:00
Nicolas "Pixel" Noble 88f56e5ce3 'exception_info' is a bad word for Windows... 2016-05-05 04:04:50 +02:00
Nicolas "Pixel" Noble d8b07cb3a1 Let's not compile grpc under Windows - it's taken care of already. 2016-05-05 03:55:55 +02:00
murgatroid99 2b6a2ab59a Make namespacing of executables exposed by grpc-tools packages consistent between Node and Ruby 2016-05-04 12:54:14 -07:00
Makarand Dharmapurikar 274bcc8f0b Added dummy cronet api implementation so we can build on Jenkins. 2016-05-03 17:34:54 -07:00
murgatroid99 59dfee8800 Fixed rubocop issues with newest changes 2016-05-03 11:33:25 -07:00
murgatroid99 38281cfa59 Ruby: improve server error handling, fix a reference error 2016-05-03 10:51:49 -07:00
Sree Kuchibhotla b69251c2f6 Merge branch 'master' into server_channel_affinity 2016-05-03 09:33:13 -07:00
Makarand Dharmapurikar 70f697ba1e reran generate_projects.sh after @nnoble's fix in PR6399. 2016-05-02 22:29:21 -07:00
Nicolas Noble 1c4dfc6ed9 Merge pull request #6396 from nicolasnoble/build-it-all-the-way-2
Always build the grpc library when building the ruby extension.
2016-05-02 14:34:22 -07:00
Nicolas Noble 3f2fad6c20 Merge pull request #6371 from murgatroid99/ruby_tools_gem
Created grpc-tools ruby gem for distributing protoc and the plugin
2016-05-02 13:45:41 -07:00
Nicolas "Pixel" Noble 791e93ee2f Always build the grpc library when building the ruby extension. 2016-05-02 21:27:23 +02:00
murgatroid99 8e4512ba48 Reversed premature removal of a file 2016-05-02 11:26:46 -07:00
murgatroid99 edb8b76ac2 Simplified Ruby tools extension checking 2016-05-02 10:43:04 -07:00
Makarand Dharmapurikar 63ee8ce43c Reran tools/buildgen/generate_projects.sh again. 2016-05-01 15:12:18 -07:00
murgatroid99 faf3bfca82 Fixed grpc-tools.gemspec 2016-04-29 12:39:05 -07:00
murgatroid99 3b293253d4 Created grpc-tools ruby gem for distributing protoc and the plugin 2016-04-29 11:36:57 -07:00
Sree Kuchibhotla a2b549578f Merge branch 'master' into server_channel_affinity 2016-04-29 11:01:37 -07:00
murgatroid99 9003768b0a Fixed unused parameter error 2016-04-28 15:40:45 -07:00
murgatroid99 9e3538c57d Load default roots.pem in Ruby via grpc_set_ssl_roots_override_callback 2016-04-28 13:27:19 -07:00
Craig Tiller f128cd2c6e Merge pull request #6196 from y-zeng/call-error-to-string
Provide a function that converts grpc_call_error values into a string
2016-04-28 08:34:29 -07:00
Sree Kuchibhotla cfa6401328 Merge branch 'master' into server_channel_affinity 2016-04-27 15:03:02 -07:00
Yuchen Zeng 12dfdc3c27 Change win32 file suffix 2016-04-26 22:05:41 -07:00
Jan Tattermusch e6077b86ad Merge pull request #6233 from ewr/fetch-peer-cert-in-ruby
Add peer_cert method to Ruby call object
2016-04-26 15:24:35 -07:00
Jan Tattermusch 8cc7332b74 Merge pull request #6266 from murgatroid99/ruby_stress_client
Ruby stress client
2016-04-26 13:04:23 -07:00
Sree Kuchibhotla 30499760db Merge branch 'master' into server_channel_affinity 2016-04-26 11:27:14 -07:00
Eric Richardson deadbcdab1 Wrap delegate line to fix a Rubocop error about line length 2016-04-26 13:02:05 -04:00
murgatroid99 79108d0fdb Changed some 'require' to 'require_relative' and modified rpc_server slightly 2016-04-22 13:41:00 -07:00
murgatroid99 ddaa69f15d Got Ruby stress client working, with some modifications to interop tests 2016-04-22 13:37:26 -07:00
Sree Kuchibhotla 01907123f6 generate_projects.sh and fix copyright year 2016-04-21 15:09:13 -07:00
murgatroid99 e621f13ecd Simplified ruby interop test files 2016-04-21 14:28:00 -07:00
Eric Richardson 336b744eff Fix a mixed declaration warning in the grpc_rb_call_get_peer_cert method 2016-04-21 14:46:59 -04:00
vjpai 8ecd4d7aa6 Add support for an "OTHER" value in client_type, server_type, and add a string to
represent the name of the desired system api. This allows expansion without putting
an upper-limit based on some foressen variants.
2016-04-21 00:33:46 -07:00
Jan Tattermusch dde6dfbb0b Merge pull request #5958 from deepaklukose/skip_client_cert_verification
Add various options to verify ssl/tls client cert including letting the application handle the authentication.
2016-04-20 21:01:30 -07:00
Eric Richardson bdfaf482a3 Short-circuit `peer_cert` if we're insecure or unauthenticated 2016-04-20 13:56:55 -04:00
Eric Richardson b2f3a02134 Allow `peer` and `peer_cert` to be used from ActiveCall::SingleReqView 2016-04-20 13:40:03 -04:00
Eric Richardson 69d735a293 Add peer_cert method to Ruby call object 2016-04-20 13:23:32 -04:00
vjpai 87bac959ee Eradicate Uniform, Deterministic, and Pareto interarrival
distributions since we don't use them and it's not sensible
to add them
2016-04-20 09:35:35 -07:00
Deepak Lukose dba4c5fd01 Add various options to verify ssl/tls client cert including letting the
application handle the authentication.
2016-04-19 15:02:06 -07:00
Yuchen Zeng 5aff099941 Merge pull request #6189 from y-zeng/default-verbosity
Add knob for default core output verbosity
2016-04-19 13:50:29 -07:00
Jan Tattermusch b54f2ae5bb actually stop benchmark server 2016-04-18 18:08:23 -07:00
Jan Tattermusch 384933582b remove trailing whitespaces 2016-04-18 18:07:49 -07:00
Yuchen Zeng 2e7d957a63 Provide a function that converts grpc_call_error values into a string 2016-04-15 17:49:38 -07:00
Yuchen Zeng 18746637f5 After running generate_projects.sh 2016-04-15 17:40:05 -07:00
vjpai 8079afa46e New CQ for each client call 2016-04-12 10:22:05 -07:00
Jun Mukai c0862859be ruby: Add test case for referring external package
The new spec uses existing EchoDuplicate service in
grpc.testing.duplicate, which refers grpc.testing.Empty,
and verifies if the plugin generates this correctly as
Grpc::Testing::Empty.
2016-04-07 13:13:30 -07:00
Jan Tattermusch aa4a7f526a Merge pull request #5528 from rafaelsales/raise-on-unexpected-metadata
Raise on unexpected metadata values
2016-04-05 16:04:57 -07:00
Jan Tattermusch abb4f5f3ab Merge pull request #6070 from ctiller/head-of-line-blocking
Fix a head of line blocking issue in the C++ server
2016-04-05 14:31:33 -07:00
murgatroid99 895c1113ab Make ruby library conform to status code spec 2016-04-04 11:35:49 -07:00
Craig Tiller 725aaf2336 Fix codegen 2016-04-04 10:11:23 -07:00
Jan Tattermusch eddcd85a72 Merge pull request #6010 from vjpai/i_know_rubies
Ruby performance testing worker
2016-04-01 11:19:47 -07:00
Rafael Sales bc846f72d6 Add spec to make sure invalid metadata values raise ArgumentError 2016-03-31 19:35:20 -03:00
Rafael Sales ac491d8c1f Raise on unexpected metadata values
The existing implementation was causing segmentation fault because
src/ruby/ext/grpc/rb_call.c:358 was trying to convert any value type other than
Array to String. The Array type is handled in first `if`. This change will cause
the Ruby code that sends non-string values to fail with a better message:
`ArgumentError: Header values must be of type string or array`
2016-03-31 19:35:20 -03:00
Vijay Pai 5562807aad Support many oustanding RPCs per channel - forgot to do this last time 2016-03-31 14:42:35 -07:00
Craig Tiller 64a12c55df Merge github.com:grpc/grpc into copyright-fix 2016-03-31 07:49:58 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Nicolas Noble a5dc80d22a Merge pull request #5691 from ctiller/idempotent
Idempotent request support for core
2016-03-30 17:05:43 -07:00
Vijay Pai 828558ac4a Merge branch 'master' into i_know_rubies 2016-03-30 14:55:38 -07:00
vjpai d9389a849d Support secure client 2016-03-30 13:10:20 -07:00
vjpai cf36f858d6 Support server-side secure test. 2016-03-30 12:35:34 -07:00
vjpai ed25a33eb2 Improved formatting 2016-03-30 12:16:25 -07:00
vjpai 5286eee5a9 Add streaming client 2016-03-30 12:07:19 -07:00
vjpai ad1c1cc6cf Add support for unary client, closed-loop or poisson 2016-03-30 09:58:46 -07:00
Nicolas "Pixel" Noble e33f93620a Merge branch 'release-0_13' into manual-upmerge 2016-03-30 05:10:03 +02:00
vjpai d7f43b3aab Fix scoping for client, in preparation for implementation 2016-03-29 18:38:10 -07:00
vjpai e8ff3889f5 Fix scope on an each - no need for class scope 2016-03-29 18:31:34 -07:00
vjpai 45be26ef0d Working ruby server implementation 2016-03-29 17:21:28 -07:00
vjpai 691387afc0 Make histogram more canonically Ruby-style 2016-03-29 17:19:20 -07:00
Nicolas "Pixel" Noble 375d1f47ca Better memory management for grpc_rb_byte_buffer_to_s. 2016-03-30 02:08:49 +02:00
Zhuochun 97daf35add Fix Ruby memory leaks
- `recv_message` is not cleaned up after call
- `send_message` is not cleaned up in failure cases
- `xmalloc` ruby string is not freed after used
2016-03-30 01:08:29 +02:00
vjpai 343718e941 Merge branch 'master' into i_know_rubies 2016-03-29 13:53:20 -07:00
Craig Tiller 3bd9695939 Merge github.com:grpc/grpc into idempotent 2016-03-28 12:43:02 -07:00
murgatroid99 8c9edc2a57 Make channels and calls properly mark references to their credentials 2016-03-23 11:20:56 -07:00
murgatroid99 05afaa838a Add GC marking for composite credentials 2016-03-23 11:20:42 -07:00
murgatroid99 3eaaf39eff Properly mark proc used in call credentials for garbage collection 2016-03-23 11:20:34 -07:00
Jan Tattermusch 6586599dc8 Merge pull request #5744 from murgatroid99/ruby_gc_mark_credentials_callback
Properly mark proc used in call credentials for garbage collection
2016-03-21 17:05:00 -07:00
Jan Tattermusch c6b1a71fc2 Merge pull request #5490 from murgatroid99/ruby_call_credentials_log_error
Add error output for failed ruby credentials plugin
2016-03-21 16:57:25 -07:00
vjpai 75291c9403 Initial skeleton of benchmark client and server 2016-03-21 12:11:18 -07:00
Craig Tiller 44654553de Merge github.com:grpc/grpc into idempotent 2016-03-21 09:04:06 -07:00
vjpai fdeacd9f32 Initial work for Ruby performance testing 2016-03-18 19:10:35 -07:00
David Garcia Quintas a36ec16de2 regenerated projects 2016-03-18 10:00:23 -07:00
murgatroid99 2c247433b8 Merge branch 'master' into ruby_call_credentials_log_error 2016-03-17 14:34:53 -07:00
Craig Tiller 4f7ffa05a4 Merge github.com:grpc/grpc into idempotent 2016-03-16 07:58:20 -07:00
murgatroid99 a00d7c0b35 Make channels and calls properly mark references to their credentials 2016-03-14 15:51:56 -07:00
murgatroid99 096386f3c8 Add GC marking for composite credentials 2016-03-14 13:01:00 -07:00
murgatroid99 93019f733f Properly mark proc used in call credentials for garbage collection 2016-03-14 11:53:42 -07:00
Nicolas "Pixel" Noble 9f0f1e3f61 Merge branch 'master' into pre-0.13.1-downmerge 2016-03-10 23:39:47 +01:00
Craig Tiller 7885ea5e31 Add a place for tests 2016-03-10 06:53:29 -08:00
Nicolas "Pixel" Noble 280eedd2e5 Merge branch 'master' into pre-0.13.1-downmerge
Conflicts:
	INSTALL.md
	examples/cpp/README.md
2016-03-10 09:52:58 +01:00
murgatroid99 1d68520c22 Remove extraneous mutex, restrict state transitions 2016-03-09 17:30:37 -08:00
murgatroid99 3c77ff452f Fix copyright 2016-03-09 11:44:56 -08:00
murgatroid99 d48d84da19 Ruby: fix some synchronization code in server implementation 2016-03-09 11:10:20 -08:00
Craig Tiller 0cb803d9ca Always ref writable streams
We suffered a bug whereby doing a follow-up write to another write could
resurrect a deleted stream, causing all sorts of crash.

Fix: when a stream becomes writable (vs when we start writing) take a
ref on the stream, and only relinquish it once we're done writing.
2016-03-02 22:34:23 -08:00
murgatroid99 011641bb13 Minor fix to backtrace retreival code 2016-02-29 17:36:10 -08:00
Bogdan Drutu f0ca4d5c5c Merge pull request #5441 from a-veitch/no_binary_tags
Remove binary tags, restrict tag characters to ASCII
2016-02-29 16:42:00 -08:00
murgatroid99 8b280763f9 Add error output for failed ruby credentials plugin 2016-02-29 16:34:41 -08:00
Alistair Veitch 0cc824275d regenerate imports 2016-02-26 10:54:20 -08:00
Yang Gao 84a74f8966 Merge pull request #5327 from yang-g/v1alpha_to_v1
global replace health check proto v1alpha to v1
2016-02-25 13:48:42 -08:00
Nicolas Noble 88966ab145 Merge pull request #5348 from nicolasnoble/backport-merge
Backport merge.
2016-02-23 02:19:44 +01:00
Nicolas "Pixel" Noble 1280fdb574 Merge branch 'master' into backport-merge 2016-02-22 21:30:14 +01:00
Nicolas "Pixel" Noble 88dc3c5d32 Adding an explanatory comment. 2016-02-22 03:21:08 +01:00
Nicolas "Pixel" Noble cb90397216 Adding the init / destruct of grpc for ruby in a gpr_once. 2016-02-21 22:58:26 +01:00
Nicolas "Pixel" Noble 6f4f02cf9f Slightly better workaround given the circumstances. 2016-02-21 01:30:56 +01:00
Nicolas "Pixel" Noble b5b62720c5 Fixing a reported ruby crash when using ruby_vm_at_exit. 2016-02-20 22:48:56 +01:00
yang-g f4fc61cf68 fix ruby impl and test 2016-02-19 13:48:03 -08:00
yang-g 3165c09ce5 regenerate csharp and ruby service from proto 2016-02-19 12:36:40 -08:00
yang-g aea13f1c85 global replace health check proto v1alpha to v1 2016-02-19 11:08:16 -08:00
Nicolas "Pixel" Noble 639766023e Flagging the missing API entries. 2016-02-17 23:43:55 +01:00
murgatroid99 73f5d7c0ce Fix copyrights 2016-02-17 13:03:45 -08:00
murgatroid99 4999ba91c9 Ruby: explicitly require 'grpc/grpc' when loading C core, to avoid circular import warning 2016-02-16 17:58:08 -08:00
Nicolas "Pixel" Noble 6910ce8e01 Flagging 0.13.1-pre1. 2016-02-13 01:03:26 +01:00
Nicolas "Pixel" Noble 7a925f7f5e Flagging the release. 2016-02-13 00:39:12 +01:00
Craig Tiller 017f84ead8 Merge pull request #5078 from ctiller/compatibility_mode
Make binary compatibility not the default
2016-02-12 12:23:51 -08:00
Masood Malekghassemi b14ea1de58 Revert Ruby version specialization 2016-02-11 20:33:07 -08:00
Craig Tiller c0473cc823 Merge github.com:grpc/grpc into compress 2016-02-11 08:51:16 -08:00
Craig Tiller b718c8af70 Merge github.com:grpc/grpc into compatibility_mode 2016-02-11 08:48:13 -08:00
Nicolas "Pixel" Noble 32b3f67438 Merge remote-tracking branch 'google/release-0_13' into merge-and-regen
Conflicts:
	build.yaml
	src/ruby/lib/grpc/version.rb
2016-02-10 21:28:52 +01:00
Nicolas "Pixel" Noble ca144fd1e8 Fixing Ruby binary build (again). 2016-02-10 09:28:18 +01:00
Nicolas "Pixel" Noble f9e3c23fe8 Fixing ruby versionning. 2016-02-09 03:33:40 +01:00
Nicolas "Pixel" Noble 1935c3655c Flagging master as 0.14.0-dev. 2016-02-09 01:54:56 +01:00
Nicolas "Pixel" Noble cda4bad582 Flagging 0.13 as pre1. 2016-02-09 00:44:23 +01:00
Craig Tiller f008f067f8 build.yaml centric versioning 2016-02-08 12:48:03 -08:00
Craig Tiller 55e813f946 Merge pull request #5088 from murgatroid99/core_long_int64_t
Replace 'long' with 'int64_t' in public core headers
2016-02-08 10:22:42 -08:00
Nicolas "Pixel" Noble 1be92658ef Versionning Ruby from build.yaml, and regenerating broken files after census merge. 2016-02-06 09:30:19 +01:00
Nicolas Noble 86cbe3087c Fixing Mac build for Ruby. 2016-02-05 15:08:12 -08:00
Nicolas "Pixel" Noble 5219c6d8e8 Properly compiling distributable native gems. 2016-02-05 22:40:59 +01:00
murgatroid99 309830f6b8 Replace 'long' with 'int64_t' in public core headers 2016-02-05 11:30:00 -08:00
Craig Tiller cce7fe0626 Fix copyright 2016-02-05 10:48:19 -08:00
Craig Tiller b15af6fc51 Merge branch 'compress' of github.com:ctiller/grpc into compress 2016-02-05 10:47:24 -08:00
Craig Tiller 71ea4a1955 Make binary compatibility not the default 2016-02-04 15:06:41 -08:00
Bogdan Drutu e4fdcd9242 Merge pull request #5013 from a-veitch/tag_set_to_context
Change all instances of census_tag_set to census_context
2016-02-04 12:42:35 -08:00
murgatroid99 5738c5002c Fix Ruby test that failed to read initial metadata 2016-02-04 10:15:42 -08:00
Alistair Veitch 6f2b8993fd merge 2016-02-03 09:02:46 -08:00
Nicolas Noble 2bc107f74c Making the ruby gem for MacOS work again. 2016-02-02 23:15:22 -08:00
Nicolas "Pixel" Noble d355497792 Removing memcpy's wrapper for windows-ruby. 2016-02-03 02:11:43 +01:00
Nicolas "Pixel" Noble 89d8ed1b91 Merge branch 'master' of github.com:grpc/grpc into make-ruby-installable
Conflicts:
	BUILD
	Makefile
	binding.gyp
	build.yaml
	gRPC.podspec
	grpc.gemspec
	package.json
	src/python/grpcio/grpc_core_dependencies.py
	templates/Makefile.template
	tools/doxygen/Doxyfile.core.internal
	tools/run_tests/sources_and_headers.json
	vsprojects/vcxproj/gpr/gpr.vcxproj
	vsprojects/vcxproj/gpr/gpr.vcxproj.filters
2016-02-03 01:27:46 +01:00