Commit Graph

1661 Commits

Author SHA1 Message Date
Alex Polcyn 16db6e1c04 destroy byte buffer reader after use in ruby recv msg 2016-11-30 13:59:59 -08:00
Craig Tiller 36b3135929 Merge branch 'slice_interning' into metadata_filter 2016-11-30 13:41:53 -08:00
Craig Tiller 369ddc524a Merge branch 'slice_with_exec_ctx' into slice_interning 2016-11-30 13:32:18 -08:00
Alexander Polcyn 174aa915ba change client code to use specific exceptions and throw bad status if
unkown code
2016-11-30 10:01:39 -08:00
Alexander Polcyn acacd0d646 add factory method to bad status to create correct subclass 2016-11-29 23:42:27 -08:00
Alexander Polcyn 6002b8ff63 add ruby subclasses of bad status for each GPRC status code 2016-11-28 17:41:13 -08:00
Alexander Polcyn 7f8a628f6a fix race between app and GC on ruby server shutdown 2016-11-23 10:36:08 -08:00
Alexander Polcyn 3d48cf4ed3 dont break out of response stream iterator in benchmark client 2016-11-23 09:50:22 -08:00
Alexander Polcyn cdd4203042 use thread pool from v1.0.x but keep server call life cycle in master 2016-11-23 10:33:56 +01:00
Alexander Polcyn 03fc19876d wait for write loop to finish at end of ruby read loop, on client side calls 2016-11-22 14:24:49 -08:00
Jan Tattermusch 8613e474cb Merge remote-tracking branch 'upstream/v1.0.x' into HEAD 2016-11-22 11:15:53 +01:00
Craig Tiller 480e1d8d9f Merge github.com:grpc/grpc into eliminate_mdstr 2016-11-18 17:14:49 -08:00
David Garcia Quintas 1a84f99caa regenerated projects 2016-11-18 13:05:44 -08:00
Craig Tiller 7d4116fa44 All core tests compile without grpc_mdstr 2016-11-17 12:16:05 -08:00
Craig Tiller 66b14c125e Merge branch 'slice_interning' into eliminate_mdstr 2016-11-16 16:05:01 -08:00
Craig Tiller 1094c32f35 Merge branch 'slice_with_exec_ctx' into slice_interning 2016-11-16 15:54:03 -08:00
Craig Tiller c586666cbd Merge github.com:grpc/grpc into slice_with_exec_ctx 2016-11-16 15:25:00 -08:00
Yuchen Zeng b1f6bf2ec4 Merge pull request #8086 from y-zeng/fix_gprc
Fix misspelled gprc
2016-11-11 15:11:44 -08:00
Craig Tiller 5ef31ab9c9 Progress towards mdstr elimination 2016-11-10 16:27:48 -08:00
Craig Tiller 64b26567ad First pass of slice interning facilities 2016-11-10 08:31:42 -08:00
Yuchen Zeng bd363544fd Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-11-08 10:56:16 -08:00
Mark D. Roth 0ace62f832 Merge pull request #8618 from markdroth/channel_info_api
Add API for getting arbitrary state back from a channel
2016-11-08 10:45:21 -08:00
Mark D. Roth 8e2d8d9eda Ran generate_projects.sh. 2016-11-04 12:55:07 -07:00
Alexander Polcyn a713b76d57 change per job sleep of 5 seconds back to 3 in unit test 2016-11-04 11:41:18 -07:00
Alexander Polcyn 20457a1f09 clean up pool unit tests 2016-11-04 11:13:32 -07:00
Craig Tiller 32df467f11 Merge github.com:grpc/grpc into grpc_slice 2016-11-04 08:21:56 -07:00
Alexander Polcyn 269e6ccb4d remove wait queue from ruby thread pool to avoid deadlock 2016-11-03 16:06:54 -07:00
Vijay Pai c21e94cea1 Avoid compiler error 2016-11-02 01:08:38 -07:00
Craig Tiller 41fd9f2343 Merge github.com:grpc/grpc into grpc_slice 2016-10-31 14:42:53 -07:00
Yuchen Zeng c76e9d3062 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-28 15:41:58 -07:00
apolcyn 086e28d5f5 Merge pull request #8539 from apolcyn/fix_ruby_bm_crashes_master
increase max thread pool size in benchmarks and fix shutdown ordering
2016-10-28 14:51:51 -07:00
Michael Lumish 15b04e41f1 Merge pull request #8559 from murgatroid99/v1.0.1_upmerge
V1.0.1 upmerge
2016-10-28 14:22:09 -07:00
murgatroid99 5d6ae930ab Merge remote-tracking branch 'upstream/v1.0.x' into v1.0.1_upmerge 2016-10-28 11:48:22 -07:00
Alexander Polcyn 287b760e97 revert change to shutdown ordering, but keep timer 2016-10-27 19:15:14 -07:00
Alex Polcyn 419934af6f increase max thread pool size in benchmarks and fix shutdown ordering 2016-10-27 17:44:32 +00:00
Craig Tiller 618e67d655 s/GPR_SLICE/GRPC_SLICE/g 2016-10-26 21:08:10 -07:00
Craig Tiller 6e080a3651 Merge branch 'buffer_pools_for_realsies' into grpc_slice 2016-10-26 21:00:53 -07:00
Craig Tiller 3d357d901c Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-26 20:52:03 -07:00
Craig Tiller c3350541e3 Generate build files 2016-10-26 16:19:01 -07:00
Craig Tiller b37d53ebc0 Bulk update #includes 2016-10-26 16:16:35 -07:00
Craig Tiller d41a4a720f s/gpr_slice/grpc_slice, and move around tests, impls 2016-10-26 16:16:06 -07:00
apolcyn d2f784dcb4 Merge pull request #8102 from apolcyn/failed_credentials_error_message
surface more exception info for call creds errors
2016-10-26 15:32:15 -07:00
Nicolas "Pixel" Noble 50a730bd1c Going 1.0.1. 2016-10-26 21:42:29 +02:00
Alex Polcyn e5293c3f7b combine more core batch ops 2016-10-26 09:58:19 -07:00
Yuchen Zeng f1cd449030 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-25 11:26:17 -07:00
Craig Tiller fe8c5012d3 Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-24 14:49:18 -07:00
Michael Lumish 2a78d3d961 Merge pull request #7838 from teodor-pripoae/fix-example-in-ruby-readme
Fix example in ruby readme
2016-10-20 16:48:07 -07:00
Craig Tiller 20afa3d7c9 BufferPool --> ResourceQuota 2016-10-17 14:52:14 -07:00
Yuchen Zeng c007a6c879 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-17 14:33:29 -07:00
Yuchen Zeng 799832c32d Merge remote-tracking branch 'upstream/master' into fix_gprc 2016-10-17 11:41:02 -07:00
Craig Tiller a628c84e86 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-14 16:09:01 -07:00
Alexander Polcyn f6e14b7989 fix write buffer ruby test 2016-10-13 13:45:01 -07:00
Alexander Polcyn 0da9644354 use target cpu to get rid of cpu enumerations 2016-10-12 16:32:46 -07:00
Alexander Polcyn 9d45c051e7 enumerate more x86 cpus in ruby tools package 2016-10-12 15:56:39 -07:00
Alexander Polcyn fb4509bd73 add i386 to recognized x86 cpu in ruby tools package 2016-10-12 14:36:20 -07:00
Craig Tiller fb324c4d39 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-12 13:18:56 -07:00
Jan Tattermusch fad04cc4ad Merge pull request #8354 from grpc/v1.0.x
Upmerge doc changes from v1.0.x
2016-10-12 18:44:15 +02:00
Jan Tattermusch 5d77c964fc Update README.md 2016-10-12 18:04:37 +02:00
Craig Tiller c99945e44c Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-10 10:20:48 -07:00
Alexander Polcyn 8d970ea2b6 merge os_check and cpu_check into platform_check 2016-10-06 09:55:16 -07:00
Alexander Polcyn 437a3b366a make ruby tools use x86 directory names for sub-x86 cpu 2016-10-06 09:40:10 -07:00
Yuchen Zeng dc75e30e87 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-05 17:12:45 -07:00
Yuchen Zeng e96c05b607 Merge remote-tracking branch 'upstream/master' into fix_gprc 2016-10-05 13:44:12 -07:00
apolcyn f8cabbbf9d Merge pull request #8122 from bithavoc/fix-ruby-broken-link
Fix broken link to former Ruby installation docs
2016-10-04 17:23:59 -07:00
Yuchen Zeng 6988838a67 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-03 13:24:13 -07:00
Craig Tiller 1bb0ce5e23 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-03 12:58:02 -07:00
Nicolas Noble 2587f20d08 Merge pull request #8238 from nicolasnoble/master-upmerge-from-deep-under
Upmerge from 1.0.x
2016-09-29 15:20:55 -07:00
Craig Tiller e2180f069d Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-09-29 13:52:51 -07:00
Nicolas Noble ef49a5d217 Merge pull request #7833 from sreecha/fix_channel_from_fd_api
Remove completion queue parameter from `grpc_server_add_insecure_channel_from_fd` API
2016-09-29 11:16:55 -07:00
Nicolas "Pixel" Noble 87a1081211 Merge remote-tracking branch 'google/v1.0.x' into master-upmerge-from-deep-under 2016-09-29 01:31:54 +02:00
Craig Tiller ef6b97659e Add tracing, fix some transport bugs wrt buffer_pools 2016-09-28 08:37:51 -07:00
Craig Tiller 82509936ae Stub out end2end tests 2016-09-27 15:49:15 -07:00
Craig Tiller 7af69f34df Add buffer pools to build 2016-09-22 13:48:54 -07:00
Yuchen Zeng b8a886754e Merge remote-tracking branch 'upstream/master' into fix_gprc 2016-09-22 10:59:39 -07:00
Alexander Polcyn 689e89c2e6 dont create extra thread on bidi call in benchmark, and change suggested
code for ruby bidi calls
2016-09-20 11:00:36 -07:00
bithavoc c809be2af5 Fix ruby readme link to grpc quickstart 2016-09-16 10:36:58 -05:00
Mark D. Roth abf03aed93 Merge remote-tracking branch 'upstream/master' into max_send_size_filter 2016-09-16 07:35:37 -07:00
Yuchen Zeng 66f3a4bbdf Merge remote-tracking branch 'upstream/master' into fix_gprc 2016-09-15 11:21:52 -07:00
Alexander Polcyn ee96ce3a71 change status in failed credential handler to unauth as intended 2016-09-14 17:33:53 -07:00
Alexander Polcyn 9d36eb5ceb remove comment, for issues with pushing updates 2016-09-14 17:10:11 -07:00
Alexander Polcyn 088416df19 surface more exception info for call creds errors 2016-09-14 16:49:37 -07:00
Craig Tiller a51f54192a Merge pull request #7559 from dgquintas/codegen_cleanse
Removed references to public APIs from codegen/
2016-09-13 19:40:43 -07:00
Yuchen Zeng 362ac1be0c Fix gprc 2016-09-13 16:01:31 -07:00
Sree Kuchibhotla 765e6542b9 Merge branch 'master' into fix_channel_from_fd_api 2016-09-09 11:33:59 -07:00
Sree Kuchibhotla d0989101f5 Merge branch 'master' into fix_channel_from_fd_api 2016-09-09 11:31:25 -07:00
apolcyn c3b4404b4e Merge pull request #7885 from apolcyn/remove_slow_log_statements
remove log statements that showing contents of messages
2016-09-08 10:45:05 -07:00
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
Alistair Veitch 75d5c0f024 post merge 2016-02-02 09:43:02 -08:00
Craig Tiller 72c920f148 Copyright, clang-format 2016-02-02 08:58:57 -08:00
Craig Tiller 4bef7cebe6 Use old memcpy for wrappers 2016-02-02 08:38:43 -08:00
Nicolas "Pixel" Noble fb2d8f5069 Fixing copyrights. 2016-02-01 01:27:53 +01:00
Nicolas "Pixel" Noble 76559cfa40 Regenerate files. 2016-01-31 11:44:40 +01:00
Nicolas "Pixel" Noble d51d121c0c And the Windows extension finally loads. 2016-01-31 11:37:13 +01:00
Nicolas "Pixel" Noble b51ec5a4ba Removing zookeeper's API for now. 2016-01-31 09:36:09 +01:00
Nicolas "Pixel" Noble d2f20efcd8 Regenerating files. 2016-01-31 07:52:59 +01:00
Nicolas "Pixel" Noble b8e9e9c846 Fixing the Ruby build after all these merges. 2016-01-30 18:35:13 +01:00
Nicolas "Pixel" Noble 1e6026189f Merge branch 'autogen' into make-ruby-installable 2016-01-30 06:37:38 +01:00
Nicolas "Pixel" Noble d14b6acdcc Finalizing this a bit. 2016-01-30 06:01:27 +01:00
Craig Tiller 11b87bfb2a Usable API list 2016-01-29 16:52:56 -08:00
Nicolas "Pixel" Noble efa1f16727 Merge branch 'master' of github.com:grpc/grpc into make-ruby-installable 2016-01-29 23:07:31 +01:00
Nicolas "Pixel" Noble eade6e02d2 Renaming the Ruby grpc extension to grpc_c, and renaming its loader from loader.rb to grpc.rb 2016-01-29 22:53:31 +01:00
Nicolas "Pixel" Noble 2283ff6638 Fixing dll hell. 2016-01-29 06:49:46 +01:00
Nicolas "Pixel" Noble 1723044a12 Allowing for debug builds. 2016-01-29 01:46:19 +01:00
Nicolas "Pixel" Noble d899dce5e1 Few more fixes to the Ruby installation.
-) properly depending on libraries.
-) adding an independent 'loader' class to use instead of require 'grpc/grpc'.
2016-01-28 20:45:39 +01:00
Nicolas "Pixel" Noble c1a89b8d76 Tidy. 2016-01-28 09:55:49 +01:00
Nicolas "Pixel" Noble e7a91a2f57 Properly building the gem file under mingw using rake-compiler-dock. 2016-01-28 09:35:46 +01:00
Nicolas "Pixel" Noble cb287a11df Allowing for creation of pre-compiled gems, using rack-compiler-dock. 2016-01-28 09:35:41 +01:00
David Garcia Quintas b4e51b52bd Merge branch 'master' of github.com:grpc/grpc into sync-async-plus-interfaces 2016-01-27 19:57:58 -08:00
Nicolas "Pixel" Noble 7b92db65ac Cleaning up ruby extension code a bit. 2016-01-26 22:46:34 +01:00
Jan Tattermusch 7c60b276de Merge remote-tracking branch 'upstream/release-0_12' into integrate_0_12_changes 2016-01-20 18:23:13 -08:00
murgatroid99 d8521e75c8 Update Ruby README with simpler install instructions 2016-01-15 10:12:28 -08:00
murgatroid99 d212b33553 Re-add missing newline in ruby file 2016-01-14 09:28:13 -08:00
murgatroid99 40809210d4 Update copyrights 2016-01-13 17:45:30 -08:00
murgatroid99 8b791a4a7f Merged from master and resolved merge conflicts 2016-01-08 12:33:22 -08:00
Craig Tiller c357749b48 Merge pull request #4625 from murgatroid99/ruby_client_stub_fix_typo
Fix a bug recently reported in the mailing list
2016-01-08 12:15:13 -08:00
Craig Tiller 9a781b7e56 Merge pull request #4620 from murgatroid99/ruby_auth_plugin_event_loop
Use specific ruby thread to handle auth metadata plugin callbacks
2016-01-08 12:14:57 -08:00
murgatroid99 69108a335e Resolved merge conflicts with upstream/release-0_12 2016-01-07 17:46:47 -08:00
murgatroid99 cc2b8d423b Fixed mutex and cond var usage 2016-01-07 17:32:34 -08:00
murgatroid99 24e826ec56 Updated dependencies, fixed a couple of tests 2016-01-06 16:27:58 -08:00
murgatroid99 56fada5dfe Make the Ruby extension throw an error when passed invalid metadata 2016-01-06 14:40:38 -08:00
murgatroid99 c2ea3aec65 Parital implementation of ruby header checking 2016-01-06 11:48:15 -08:00
murgatroid99 7fac30dd1b Update copyright 2016-01-05 15:14:31 -08:00
murgatroid99 00450af711 Made ruby per-rpc creds interop use auth plugin API 2016-01-05 15:13:08 -08:00
murgatroid99 a4d3d2c76b Fix typo in method call 2016-01-05 14:10:55 -08:00
murgatroid99 f58404e1d5 Free what we alloc 2016-01-05 09:57:44 -08:00
murgatroid99 9b83bd7c95 Use specific ruby thread to handle auth metadata plugin callbacks 2016-01-05 09:50:04 -08:00
murgatroid99 73cefb8b90 Updated copyright in Ruby version file 2016-01-04 16:06:37 -08:00
murgatroid99 0e59927b87 Update Ruby library version for next release 2016-01-04 15:34:44 -08:00
Craig Tiller 7536af02cf Eliminate gpr_ int types - and insist on C99 variants instead 2015-12-22 13:49:30 -08:00
murgatroid99 b5703222a5 Include roots.pem with Ruby package 2015-12-18 13:05:34 -08:00
murgatroid99 d7e1a10628 Bundled C core with Ruby library 2015-12-18 11:18:34 -08:00
murgatroid99 d24424ff66 Fixed stub construction in interop client 2015-12-16 14:01:26 -08:00
murgatroid99 afe3974bce Made insecure channel/stub explicit, in all layers 2015-12-16 13:04:37 -08:00
Michael Lumish 7fe43260ac Merge pull request #4412 from murgatroid99/ruby_auth_metadata_plugin
Ruby auth metadata plugin
2015-12-11 15:47:22 -08:00
Craig Tiller 46ab778aa0 Merge pull request #4397 from jtattermusch/tv_sec_64bit
Make gpr_timespec platform agnostic.
2015-12-11 13:11:52 -08:00
Michael Lumish 5e61f2875c Merge pull request #4413 from jtattermusch/remove_ssl_cert_file_env
Get rid of SSL_CERT_FILE env entirely
2015-12-11 12:29:48 -08:00
murgatroid99 64342dd864 Fixed arguments passed to Ruby auth plugin callback 2015-12-11 10:09:57 -08:00
Jan Tattermusch f3cfb70a3a update channel_credentials_spec 2015-12-11 09:53:39 -08:00
Jan Tattermusch 0a0237183a Address comments 2015-12-11 07:35:28 -08:00
Jan Tattermusch a6b2c4ce46 Get rid of SSL_CERT_FILE env entirely 2015-12-10 17:09:06 -08:00
Jan Tattermusch 303e3cb0ee Merge pull request #4396 from murgatroid99/ruby_server_fix_hang
Fixed a busy-wait in Ruby server run_till_terminated
2015-12-10 16:09:41 -08:00
Jan Tattermusch 88086373db make gpr_timespec platform agnostic 2015-12-10 15:04:59 -08:00
murgatroid99 e389b04336 Fixed bug with composing credentials 2015-12-10 14:59:01 -08:00
murgatroid99 f88008c00b Fixed a busy-wait in Ruby server run_till_terminated 2015-12-10 10:38:48 -08:00
murgatroid99 a4c2d7dff7 Fixed encoding for bytes fields in the ruby interop server 2015-12-08 19:21:11 -08:00
murgatroid99 59e5472568 Fix encoding for bytes fields in ruby interop client 2015-12-08 15:48:21 -08:00
Jan Tattermusch de95cb0494 update ruby to new position of math.proto and health.proto 2015-12-07 17:18:51 -08:00
Jan Tattermusch 8956122d60 consolidate math.proto and health.proto 2015-12-07 17:18:51 -08:00
murgatroid99 c78b6834a2 Added explicit dependency on signet to gemspec 2015-12-07 11:33:31 -08:00
murgatroid99 ca72d6cd3d Fixed a hash key 2015-12-04 14:56:30 -08:00
murgatroid99 cfa26e1ce7 Plumb CallCredentials through Ruby code, replacing metadata_updater functionality 2015-12-04 14:36:52 -08:00
murgatroid99 9946f2b80a Add CallCredentials class to Ruby wrapping code 2015-12-04 14:36:27 -08:00
Nicolas "Pixel" Noble 96847efefd Making ruby's gcov configuration work. 2015-12-02 00:51:05 +01:00
Julien Boeuf 232d625a84 Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change 2015-11-17 20:55:13 -08:00
Julien Boeuf 802f6b6724 Merge branch 'master' of https://github.com/grpc/grpc into update_ssl_cert 2015-11-17 18:53:55 -08:00
Julien Boeuf 675b5ce861 Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change 2015-11-17 15:05:45 -08:00
Michael Lumish 06029a03c5 Merge pull request #4120 from tbetbetbe/grpc_ruby_fix_compile_on_2_0_typed_free_immediately
Corrects compile error on ruby 2.0
2015-11-12 23:08:28 -08:00
Tim Emiola 9161a82565 Corrects compile error on ruby 2.0 2015-11-12 16:24:13 -08:00
Michael Lumish 75065d4b1f Merge pull request #4106 from tbetbetbe/grpc_ruby_fix_flaky_ruby_interop_test
Grpc ruby fix flaky ruby interop test
2015-11-12 14:10:08 -08:00
Tim Emiola a082435e06 Updates interop client/server logging
- server logger.level = WARN
- client logger.level = INFO
2015-11-11 13:47:37 -08:00
Tim Emiola 69a672e6c2 Adds standard logging to the client/server
- truncates the server debug log entries to make that readable
2015-11-11 13:47:37 -08:00
Tim Emiola 7d21c04b2c Fixes a multithreading bug in the ruby rpc_server
This fixes the current ruby server interop test flakiness.

- The interop tests recently changed so that clients access servers in
parallel, meaning that the interop servers handle multiple rpcs at once,
which is how this bug became visible

- since this change, tests run against the ruby interop server have
failed sporadically

- the problem was that the block in #loop_handle_server_calls that is
  passed to the thread pool referenced a var in an enclosing block,
  which resulted in requests being processed by the wrong handler

- this fix ensures that the block to be run on the thread pool thread
  does not have any references to vars in the enclosing block
2015-11-11 13:47:37 -08:00
Tim Emiola 24fdc179c1 Ensures that bidi calls obtain metadata.
Fixes an omission from earlier PRs that adds support metadata.
2015-11-10 15:41:41 -08:00
Tim Emiola b48236a2b4 Fixes an issue running the tests on Ruby2.2 2015-11-10 15:38:17 -08:00
Julien Boeuf 334314b888 Updating the server1 cert so that it can be used with Go.
The encoding of the issuer field in this cert is now a PRINTABLESTRING
as opposed to UTF8STRING in the previous server1.pem which was causing
the Go issue.

Fixes #4086.
2015-11-09 14:29:14 -08:00
Michael Lumish 785d8aec36 Merge pull request #4009 from jtattermusch/add_badges
Add npm, gem and cocoapods badges
2015-10-30 09:33:31 -07:00
Jan Tattermusch a9b933eee3 Add gem badge 2015-10-30 08:52:19 -07:00
Tim Emiola 43a7e4e6ed Ruby wrapping of core credentials API change. 2015-10-28 00:17:14 -07:00
Tim Emiola 9332ea6af5 Updates channel credentials
- switches credentials to channel credentials
- removes usages of other credentials classes that would are not
  currently used in the ruby surface
2015-10-27 23:48:29 -07:00
Jan Tattermusch fe3d9ea14f fix ruby per_rpc_creds 2015-10-19 18:40:28 -07:00
Michael Lumish 651ebddcd5 Merge pull request #3861 from jtattermusch/ruby_use_tls
Accept --use_tls=true and --use_test_ca=true in ruby interop tests
2015-10-19 10:01:47 -07:00
Jan Tattermusch 73b3eea149 accept --use_tls=true and --use_test_ca=true in ruby 2015-10-15 18:37:12 -07:00
murgatroid99 aad1a34b4f Add newline to .rubocop.yml 2015-10-14 17:56:02 -07:00
murgatroid99 3c09a64332 Fixed previous change, altered RuboCop settings to let me do so 2015-10-14 17:25:49 -07:00
murgatroid99 59e339b9d2 Made ruby server stop waiting for calls when it starts getting null calls 2015-10-14 15:24:45 -07:00
Tim Emiola bfe8a9febc Fixes the broken ruby interop tests 2015-10-08 09:05:28 -07:00
Tim Emiola 25061413cf Merge pull request #3602 from grpc/release-0_11
Upmerge from beta to master.
2015-10-02 13:43:14 -07:00
Tim Emiola 383d7da1b2 Bugfix: correct circular arg ref 2015-09-25 17:31:51 -07:00
Tim Emiola 557d26f643 Remove a bad flaky rpc server test 2015-09-25 16:55:19 -07:00
Stanley Cheung 495ad778e1 Merge pull request #3475 from tbetbetbe/release-0_11
Fixes for the scripts packaged in the ruby gem
2015-09-24 15:31:07 -07:00
Tim Emiola 0deeb04a0b Bump version to reflect changes to the gRPC ruby package 2015-09-24 13:12:41 -07:00
Tim Emiola c03138a483 Fixes bins in the grpc beta package 2015-09-24 13:11:03 -07:00
Tim Emiola 98ef7a277d Update status to Beta 2015-09-23 18:12:21 -07:00
Stanley Cheung 581846ba9b Update debian install instructions, jessie-backports 2015-09-04 12:04:17 -07:00
Stanley Cheung c88e834571 Merge pull request #3171 from tbetbetbe/grpc_ruby_improve_test_stability
Improves test stability
2015-08-31 16:04:28 -07:00
Michael Lumish cbdfaba7ae Merge pull request #3172 from tbetbetbe/grpc_ruby_bump_version
Bumps the ruby version to beta
2015-08-31 15:56:33 -07:00
Tim Emiola bab6706f41 Bumps the ruby version to beta 2015-08-31 15:51:53 -07:00
Tim Emiola 391664afa1 Improves test stability 2015-08-31 15:38:43 -07:00
Michael Lumish 519e27d845 Merge pull request #3158 from tbetbetbe/grpc-ruby-server-support-multiple-certs
Grpc ruby server add support for multiple certs
2015-08-31 10:27:07 -07:00
Tim Emiola 643ebb6fb8 Fixes a comment 2015-08-31 09:50:48 -07:00
Tim Emiola 934ae9ac0c Make insecure construction explicit, to address #2614 2015-08-31 09:42:59 -07:00
Tim Emiola 73a540ae57 Update sites using ServerCredentials.new 2015-08-31 09:40:32 -07:00
Tim Emiola 14d0a3c796 Updates implementation of rb_server_credentials
- allows use of multiple credentials, e.g, per servername
2015-08-31 09:40:19 -07:00
Stanley Cheung a0581622bb Merge pull request #3144 from tbetbetbe/grpc-ruby-fix-math-client-server
Grpc ruby fix math client and server
2015-08-31 08:54:30 -07:00
Tim Emiola 81d950a5a9 Updates server shutdown handling
- ensures that servers cancels calls after the shutdown timeout
- uses an infinite timeout when request server calls

This two changes fix the issue where the server segfaults on shutdown.
2015-08-28 17:11:11 -07:00
Stanley Cheung aec4ac8221 update debian unstable to testing 2015-08-28 15:51:18 -07:00
Julien Boeuf 510a920c75 Credentials cleanup:
- Removing service_accounts credentials. These credentials just have
  drawbacks compared to service_account_jwt_access credentials, notably
  in terms for security.
- Renaming Google specific credentials with a Google prefix for C and
  C++. This should be done as well for wrapped languages.
2015-08-25 21:51:07 -07:00
Julien Boeuf c5b570f97e Adding void* at then end of security related method in order to have a stable ABI. 2015-08-25 17:47:55 -07:00
Michael Lumish 10cab1396f Merge pull request #3013 from tbetbetbe/grpc-ruby-support-per-message-compression
Adds support for per message compression
2015-08-20 18:57:55 -04:00
Tim Emiola 7840a55736 Adds support for per message compression 2015-08-20 13:12:33 -07:00
Stanley Cheung 1894f188bf update installation instructions, review feedback 2015-08-19 16:32:39 -07:00
Stanley Cheung 5329e4bd3f update installation instructions, review feedback 2015-08-19 15:59:59 -07:00
Stanley Cheung a79a896d4c update installation instructions, review feedback 2015-08-19 14:39:05 -07:00
Stanley Cheung dbeb1cd90c update debian install instructions 2015-08-19 14:39:05 -07:00
Michael Lumish 89bede02f1 Merge pull request #2983 from tbetbetbe/grpc-ruby-correct-logconfig-fix-interop-tests
Corrects logconfig from #2956
2015-08-19 14:57:51 -04:00
Tim Emiola 27ccd197c4 Corrects logconfig from #2956 2015-08-18 16:15:14 -07:00
Craig Tiller 4275899297 Sprinkle reserved = NULL around 2015-08-18 10:34:32 -07:00
Tim Emiola 25f501132b Remove the runtime dependency on the logging gem.
- provides a noop logger unless the user explicit adds a logging method
  to the GRPC namespace
2015-08-17 12:27:08 -07:00
Tim Emiola ac1a8d340a Adds a test for ruby code generation. 2015-08-17 11:10:03 -07:00
Tim Emiola 19e436dac4 Removes the dependency on Minitest
- replaces it with a simple assertion function
2015-08-17 09:34:40 -07:00
Tim Emiola f4ee961bed Reorganize interop test files.
- moves the client/server behaviour to pb/test
  - deprecate current bin/interop/interop_{client,server}.rb
- adds executable endpoints to bin
  - grpc_ruby_interop_{client, server}
  - these will be added to the ruby bin path when the grpc gem
    gem is installed, making them easier to execute
2015-08-14 18:47:16 -07:00
Tim Emiola 53c85d68f9 Update the generated code for the interop service.
- Updates the code generated for the interop service
- Moves the generated interop service/client from bin to pb

Also
- removes an empty file from the health pb directories
2015-08-14 17:39:43 -07:00
Jan Tattermusch 723569b260 Merge pull request #2943 from tbetbetbe/grpc-ruby-add-health-check-service
Add a health checker service implementation.
2015-08-14 15:18:08 -07:00
Tim Emiola a5d39f7e78 Merges timeout interop test change 2015-08-14 12:22:51 -07:00
Tim Emiola 975d0cb02e Add a health checker service implementation.
- adds the code-generated health service classes to the pb along with
  a README explaining how to regenerate the generated code

- adds an implementation of the Health Checker Service along with unit
  tests and an integration test

Also:
- adds a pb folder
  : in a follow-up PR, all ruby pbs + generated code will be moved to it
2015-08-14 10:47:30 -07:00
Tim Emiola cdb7cccceb Adds the ruby timeout interop test.
Corrects some other issues

- fixes status return when calls fail by always returning the status

- resolves bidi_call client's failure to return an exception on bad
  status by swapping the wait for status to the read thread

  * this also improves the cancel_after_first_response test

Also

- adds a unit test that verifies that a bidi call will time out.
2015-08-14 06:36:38 -07:00
Tim Emiola 49b7650eaf Breaks API - switches timeout to a keyword arg.
- timeout has been a default arg till now

- this switches it to a keyword arg with the same behavior

- in addition, it adds deadline as distinct keyword arg, allowing users
  the choice of the idiomatic(timeout) or the aligned(deadline)
2015-08-13 19:02:24 -07:00
Nicolas "Pixel" Noble d53b389607 Merge branch 'master' of github.com:grpc/grpc into the-ultimate-showdown
Conflicts:
	src/cpp/client/channel.cc
	src/cpp/client/client_context.cc
2015-08-13 19:20:39 +02:00
Nicolas "Pixel" Noble d9745cab08 Merge branch 'master' of github.com:grpc/grpc into the-ultimate-showdown
Conflicts:
	src/ruby/ext/grpc/rb_channel.c
2015-08-13 02:07:12 +02:00
Tim Emiola 046094ded4 Merged with HEAD 2015-08-12 16:55:57 -07:00
Tim Emiola 9fbfb5b016 Fixes a lint issue. 2015-08-12 12:00:37 -07:00
Tim Emiola be88526b6e adds ruby aliases of the propagation masks 2015-08-12 11:59:32 -07:00
Nicolas "Pixel" Noble 9b6248fc6d Merge branch 'master' of github.com:grpc/grpc into the-ultimate-showdown
Conflicts:
	src/node/ext/call.cc
	src/node/ext/channel.cc
2015-08-12 19:53:03 +02:00
Tim Emiola fde3dbfb87 Allow reserved metadata to be propagated between calls 2015-08-11 17:22:58 -07:00
Jan Tattermusch bc447deaad Merge pull request #2888 from tbetbetbe/grpc-ruby-user-null-for-default-host
Use null for default host
2015-08-11 17:01:17 -07:00
Nicolas "Pixel" Noble b457cd831a Merge remote-tracking branch 'google/master' into the-ultimate-showdown
Conflicts:
	src/csharp/ext/grpc_csharp_ext.c
2015-08-12 01:14:17 +02:00
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
Aggelos Avgerinos 57e7dc8e8d Ruby style changes: replace `== 0` with `zero?` 2015-05-09 13:08:03 +03:00
Craig Tiller f662aa4d6f Merge github.com:grpc/grpc into bye-bye-completion-queue-pie 2015-05-08 17:04:13 -07:00
Craig Tiller c4440d913e Fix ruby server 2015-05-08 16:52:51 -07:00
Craig Tiller 0b488f7649 Merge github.com:grpc/grpc into churn-churn-churn-the-api-gently-down-the-stream
Conflicts:
	test/cpp/end2end/async_end2end_test.cc
2015-05-08 16:38:32 -07:00
Michael Lumish b1f3104815 Merge pull request #1517 from tbetbetbe/grpc-ruby-dont-extend-string
make underscore a class method of GenericService
2015-05-08 10:11:58 -07:00
Craig Tiller 997fab6874 Port Ruby to new API 2015-05-08 07:39:04 -07:00
Tim Emiola bae3a61087 Really removes the string monkey-patch 2015-05-07 14:24:23 -07:00
Tim Emiola 13363e31a7 make underscore a class method of GenericService 2015-05-07 13:44:47 -07:00
Tim Emiola f2fb07dafc Pin the version of rubocop used in grpc.gemspec 2015-05-06 10:22:35 -07:00
Craig Tiller 71cb81c737 Merge github.com:grpc/grpc into one-pass 2015-04-24 13:24:40 -07:00
Craig Tiller 1a727fde47 clang-format 2015-04-24 13:21:22 -07:00
Tim Emiola 932b13be4c Corrects bad return values in C error-handling block 2015-04-24 08:52:46 -07:00
Tim Emiola 9cb56f8707 Move Notifier into its own file 2015-04-24 08:37:32 -07:00
Tim Emiola 0a6557809a Simplify debugging, avoid inspecting C-backed objects. 2015-04-24 08:37:06 -07:00
Tim Emiola 119decc0f4 Fix logging version mismatchj 2015-04-24 07:25:16 -07:00
Tim Emiola 117cc1207d Fix failing interop servers 2015-04-24 07:24:50 -07:00
Tim Emiola bc206b1e32 Corrects command/flags used in ruby interop tests 2015-04-23 14:32:33 -07:00
Jan Tattermusch 291800b78f Merge pull request #1309 from tbetbetbe/grpc_ruby_rpc_server_md
Grpc ruby add support for returning metadata to the rpc server
2015-04-20 13:16:00 -07:00
Jan Tattermusch 3bb40596c5 Merge pull request #1313 from tbetbetbe/grpc_ruby_add_ruby_coverage
Add SimpleCov coverage set up for gRPC ruby
2015-04-20 10:12:23 -07:00
Craig Tiller b572fcba35 Merge pull request #1315 from jboeuf/security_connector
Refactoring of core security to remove the factories.
2015-04-19 15:01:52 -07:00
Julien Boeuf aab1edc5f6 Fixing inaccurate ruby test. 2015-04-18 22:12:48 -07:00
Tim Emiola 154db73ff9 Remove usage of xray
- xray was useful during dev testing but is neither a dev or runtime dep
- its presence causes issues for libraries that handle signals themselves

Also
- updates grpc.gemspec with requirements
2015-04-17 19:40:01 -07:00
Tim Emiola c85c1ae463 Add SimpleCov coverage set up for gRPC ruby 2015-04-17 18:12:32 -07:00
Tim Emiola a80aa7d86a clarify test descriptions 2015-04-17 16:49:30 -07:00
Tim Emiola 9a0ae0380c Adds support for updating the output metadata to calls 2015-04-17 14:46:36 -07:00
Tim Emiola 8661a43f78 Propagate metadata in BadStatus
- allow BadStatus to contain metadata that's populated by keyword args
- on servers, convert raised BadStatus metadata to trailers
- on clients, convert trailers to BadStatus metadata when raising BadStatus
2015-04-17 13:29:59 -07:00
Tim Emiola 4f558f536c Merge pull request #1297 from yugui/fix/header
Avoid implicit function declarations
2015-04-17 12:56:56 -07:00
Tim Emiola 3d3a65da84 Merge pull request #1295 from yugui/fix/typed-struct
Use TypedData_XXX instead of Data_XXX
2015-04-17 12:56:16 -07:00
Tim Emiola 1c5faea673 Allow BadStatus to contain metadata 2015-04-17 12:40:59 -07:00
Tim Emiola 3fd2be2e32 Adds a hook for returning the client connect metadata 2015-04-17 12:40:59 -07:00
Yuki Yugui Sonoda e8696fb286 Merge branch 'master' into fix/header
Conflicts:
	src/ruby/ext/grpc/rb_grpc.c
2015-04-17 08:06:01 +09:00
Yuki Yugui Sonoda dca359cc5a Merge branch 'master' into fix/typed-struct
Conflicts:
	src/ruby/ext/grpc/rb_grpc.c
2015-04-17 08:03:20 +09:00
Tim Emiola f9e77b3972 Refactor: Shorter methods in RpcServer 2015-04-16 15:20:59 -07:00
Tim Emiola e6be7f31e4 Refactor: Move the Pool out from RpcServer 2015-04-16 14:27:34 -07:00
Tim Emiola bf6d78c8e4 Fixes error with the keep-alive 2015-04-16 14:07:34 -07:00
Tim Emiola 321871ee6e Updates the example servers to use #run_till_terminated 2015-04-16 13:55:05 -07:00
Tim Emiola 9558460b77 Adds a #run_till_terminated func to RpcServer
- adds signal handling to RpcServer
- ensures that very little behaviour occurs in the signal handling context
- adds #run_till_terminated that launches a server in a thread and then handles
  signals that can be used to stop it.
2015-04-16 13:55:05 -07:00
Stanley Cheung cd1c1dd7af Merge pull request #1294 from tbetbetbe/grpc_ruby_update_gem_deps
Updates gem dependencies, style rules
2015-04-16 09:50:00 -07:00
Tim Emiola 2ab3998251 Merge pull request #1296 from yugui/fix/static
Correct storage classes of variables an functions
2015-04-16 09:12:10 -07:00
Yuki Yugui Sonoda 22887917f5 Avoid implicit function declarations 2015-04-16 21:05:59 +09:00
Yuki Yugui Sonoda f0eee5f250 Make some functions static
They don't need to be extern
2015-04-16 20:25:28 +09:00
Yuki Yugui Sonoda 99eb9f94bf Fix a linkage error with mac clang
Prevent symbol cache variables from being instantiated multipe times.
2015-04-16 20:09:55 +09:00
Yuki Yugui Sonoda 3c88e5d6e1 Make some global variables static
They do not need to be extern.
2015-04-16 20:09:00 +09:00
Yuki Yugui Sonoda 29ee1dbc93 Use TypedData for GRPC::Core::ServerCredentials 2015-04-16 18:45:14 +09:00
Yuki Yugui Sonoda 9232f124e0 Use TypedData for GRPC::Core::Server 2015-04-16 18:45:14 +09:00
Yuki Yugui Sonoda d441c2e5b3 Use TypedData for GRPC::Core::TimeSpec 2015-04-16 18:45:14 +09:00
Yuki Yugui Sonoda a87924e646 Use TypedData for GRPC::Core::Credentials 2015-04-16 18:45:14 +09:00
Yuki Yugui Sonoda bf256ae07a Use TypedData for GRPC::Core::CompletionQueue 2015-04-16 18:45:14 +09:00
Yuki Yugui Sonoda d98db4a647 Use TypedData for TmpChannelArgs 2015-04-16 18:45:14 +09:00
Yuki Yugui Sonoda c9b7d1cb04 Use TypedData for GRPC::Core::Channel 2015-04-16 18:45:14 +09:00
Yuki Yugui Sonoda 961f0bcc15 Use TypedData for GRPC::Core::MetadataArray 2015-04-16 18:45:13 +09:00
Yuki Yugui Sonoda 76801d2190 Use TypedData_XXX instead of Data_XXX for GRPC::Core::Call
Data_XXX family is being deprecated in Ruby 2.x.
2015-04-16 18:45:13 +09:00
Tim Emiola 041e039ed2 Updates gem dependencies, style rules 2015-04-15 18:45:57 -07:00
Tim Emiola b5bcca44df Adds interop cancellation tests 2015-04-15 17:55:14 -07:00
Tim Emiola a10a8432f3 Corrects handling of status during bidi call orchestration.
- Ensures that invalid status are raised as exceptions
- Ensures that exceptions during the write thread are bubbled up to the starting
  thread

Also - improves the debug messages during the BiDi calls
2015-04-15 17:30:13 -07:00
Tim Emiola 1b39916bba Adds an explicit Cancellation exception
- uses Forwardable to provide access the @call within an ActiveCall
- removes redundant methods from ActiveCall
2015-04-15 17:29:56 -07:00
Tim Emiola 72d70fc0af Adds a tests that demonstrates successful cancellation 2015-04-15 08:06:16 -07:00
Tim Emiola 89a5bd726a Updates the pubsub sample so that it no longer uses a scope 2015-04-14 16:44:46 -07:00
Tim Emiola 189d9b0b1d Adds a jwt_token_creds interop test 2015-04-14 16:41:28 -07:00
Tim Emiola 7db18b4cbf Automatically adds a key for the jwt_aud_uri to the metadata handled by the metadata_update_proc 2015-04-14 16:40:44 -07:00
Tim Emiola 51a4c0846b Corrects the Changelog date 2015-04-14 11:03:37 -07:00
Tim Emiola 095af67318 Revert "Update installation instructions to mention debian binary install"
This reverts commit db9eb05eea.
2015-04-14 09:45:30 -07:00
Tim Emiola 1e0981262c Correct style errors identified by the latest version of RuboCop 2015-04-14 09:42:09 -07:00
Tim Emiola 4bda5e39b9 Add a changelog 2015-04-14 09:32:32 -07:00
Tim Emiola e1fd1bbe14 Update the version to 0.6.1 2015-04-14 09:32:18 -07:00
Tim Emiola 4907df078e Update the version of googleauth to 0.4 2015-04-14 09:31:59 -07:00
Tim Emiola db9eb05eea Update installation instructions to mention debian binary install 2015-04-14 08:58:02 -07:00
Yuki Yugui Sonoda 2e50a7ab75 Also fix rb_CallOps too. 2015-04-11 12:01:58 +09:00
Yuki Yugui Sonoda a7d369ea67 Use the prefix "grpc_rb_" rather than just "grpc_". 2015-04-11 11:48:36 +09:00
Yuki Yugui Sonoda 0f75ff5d19 Merge branch 'master' into fix/prefix
Conflicts:
	src/ruby/ext/grpc/rb_byte_buffer.c
	src/ruby/ext/grpc/rb_byte_buffer.h
	src/ruby/ext/grpc/rb_call.c
	src/ruby/ext/grpc/rb_call.h
	src/ruby/ext/grpc/rb_channel.c
	src/ruby/ext/grpc/rb_completion_queue.h
	src/ruby/ext/grpc/rb_event.c
	src/ruby/ext/grpc/rb_grpc.c
	src/ruby/ext/grpc/rb_metadata.c
	src/ruby/ext/grpc/rb_server.c
	test/cpp/interop/client_helper.h
	test/cpp/interop/server_helper.h
2015-04-11 11:02:22 +09:00
Tim Emiola b48e010b47 Fixed bad op reference 2015-04-10 15:33:55 -07:00
Tim Emiola 2efdebaaaa Adds comments to clarify memory handling 2015-04-10 15:04:34 -07:00
Tim Emiola 89cc87359f Move timeout handling into the extension 2015-04-10 11:23:44 -07:00
Tim Emiola c8b55a3a31 Cleanup: remove redundant extension code 2015-04-10 11:23:44 -07:00
Tim Emiola 495e9a8c75 Cleanup: remove redundant ruby code 2015-04-10 11:23:43 -07:00
Tim Emiola f90ce677b3 Updates BidiCall/ClientStub to the new Call API 2015-04-10 11:23:43 -07:00
Tim Emiola b22a21ebe7 Update RPC server to use the new call API 2015-04-10 11:23:43 -07:00
Tim Emiola 5684b4073c Updates ActiveCall to use the new call API 2015-04-10 11:23:43 -07:00
Tim Emiola 05e934fe16 Rewrite client_server_spec to use the new call API 2015-04-10 11:23:43 -07:00
Tim Emiola 48b36b5bbf Updates Server#request_call in line with the new API 2015-04-10 11:23:43 -07:00
Tim Emiola 1dae4acbec Adds Call#run_batch
- named run_batch rather than start_batch
- this is because the func starts the batch, but additionally waits for it to
  complete
2015-04-10 11:23:42 -07:00
Tim Emiola 98a32d399a Adds symbols to access the fields in Status struct 2015-04-10 11:23:42 -07:00
Tim Emiola 6de558f9cd Exposes the implementation of CompletionQueue#pluck
- allows it to be used from other files, e.g, in Call#run_batch
- this keeps code related to releasing the GIL during #pluck in one place
2015-04-10 11:23:42 -07:00
Tim Emiola 6b493a3353 Adds byte_buffer -> ruby string and char * -> byte_buffer convenience methods 2015-04-10 11:23:42 -07:00
Tim Emiola 37b09f4d83 Adds the call operation codes 2015-04-10 11:23:42 -07:00
Tim Emiola 564719d28e Updates Channel#create_call to the new API 2015-04-10 11:23:42 -07:00
Yuki Yugui Sonoda d241bcc030 Avoid identifiers reserved by Ruby
"prefix `rb` shows that it belongs to `ruby`". [RHG]

`rb` is a prefix to prevent exported symbols in libruby from
conflicting with symbols in other libraries, in particular,
dynamically loaded Ruby extension libraries.
So the prefix is reserved by Ruby by convention.

For gRPC, simply "grpc_" would be a better prefix.

[RHG]: Minero Aoki. "The Ruby Hacking Guide" (2002), chapter 4
2015-04-10 22:36:49 +09:00
Tim Emiola 14e941d0d2 Bump ruby version to match the new release 2015-04-07 11:06:52 -07:00
Michael Lumish e6c108e9cb Merge pull request #1119 from tbetbetbe/grpc_ruby_update_rakefile
Updates the Rakefile
2015-03-24 09:24:40 -07:00
Tim Emiola f20d760972 Updates the Rakefile
- simplify the test suite namespace
- fix bug in test suite setup where wrappper tests were run twice
- removes unnecessary descs
- add bunder's gem tasks for release and installation
2015-03-24 08:11:47 -07:00
Tim Emiola f3770c38b7 Renables the test checking the server can send the initial bidi message 2015-03-23 21:20:05 -07:00
Tim Emiola 601869bb1a Enables some incorrectly disabled tests 2015-03-23 12:37:28 -07:00
Tim Emiola 77e2fb0f95 Corrects the handling of metadata when the optional deadline is specified 2015-03-23 12:29:21 -07:00
Michael Lumish 0e93c92d06 Merge pull request #1080 from tbetbetbe/grpc_ruby_add_back_server_finish_calls
Adds back calls to #finish at the end of server calls
2015-03-18 11:18:36 -07:00
Michael Lumish 6c398b318d Merge pull request #1079 from tbetbetbe/grpc_ruby_adds_metadata_server_active_call_view
Exposes the metadata method in server-side ActiveCall view classes
2015-03-18 10:52:07 -07:00
Tim Emiola e52995ef2b Adds back calls to #finish at the end of server calls 2015-03-17 21:41:57 -07:00
Tim Emiola 62e3cc8429 Exposes the metadata method in server-side ActiveCall view classes 2015-03-17 21:23:17 -07:00
Tim Emiola d5c733e824 Fixes reference to variable in the auth package 2015-03-17 19:15:33 -07:00
Craig Tiller c20324e8aa Merge github.com:grpc/grpc into credit 2015-03-06 13:47:58 -08:00
Michael Lumish 3e0f48b2ec Merge pull request #973 from tbetbetbe/grpc_ruby_trim_dependencies
Removes unused dependencies
2015-03-06 12:52:22 -08:00
Tim Emiola dfa5efb72e Removes unused dependencies 2015-03-06 11:51:23 -08:00
Tim Emiola 485f0ed140 Corrects the host used in the client_server spec tests 2015-03-06 11:38:36 -08:00
Tim Emiola 4c7caf6180 Fix for #804 2015-03-06 11:36:24 -08:00
Tim Emiola c32375c67c Decompose the ClientStub initialize method 2015-03-06 11:36:24 -08:00
Craig Tiller 68de8e91cc Merge github.com:grpc/grpc into credit 2015-03-05 15:45:46 -08:00
Tim Emiola 0ce8edc49e Updates ruby code affected by the secure server API change 2015-03-05 15:29:18 -08:00
Tim Emiola 3a0d9768d3 Updates the ruby C extension to match the new secure C server API 2015-03-05 13:27:44 -08:00
Tim Emiola 8104988ce4 Merge pull request #894 from mattn/ruby-2.2.0
Support ruby 2.2.0
2015-03-05 08:05:39 -08:00
Misha Brukman 5cdf37eb7b Removed execute permissions from README files. 2015-03-02 16:12:49 +00:00
mattn b9e1563853 Support ruby 2.2.0 2015-02-28 23:45:58 +09:00
murgatroid99 6a4c4fabf3 Added ruby tests to run_tests.py 2015-02-27 12:08:57 -08:00
Aggelos Avgerinos 46566b8c95 Fix typos 'proivde' -> 'provide' and 'e,g.' -> 'e.g.' 2015-02-27 09:31:23 +02:00
Abhishek Kumar 866816fc30 Merge pull request #826 from tbetbetbe/grpc-ruby-update-gemspec-licencse
Update grpc.gemspec
2015-02-25 16:46:52 -08:00
Tim Emiola c4a4288f83 Update grpc.gemspec 2015-02-25 16:45:19 -08:00
Tim Emiola ed3671e180 Synchronize initial package versions 2015-02-25 13:38:53 -08:00
Tim Emiola 7708998b5a Tmp fix: splits the hostname from the host before creating a call 2015-02-25 11:49:34 -08:00
Tim Emiola 1d5f2d26df Removes a redundant canary test 2015-02-25 10:55:37 -08:00
Michael Lumish 886144544c Merge pull request #783 from tbetbetbe/grpc_ruby_switch_auth_to_google_auth_library_ruby
Grpc ruby switch auth to google auth library ruby
2015-02-25 08:57:01 -08:00
Tim Emiola 494f2f9706 Remove the ruby gRPC auth implementation 2015-02-25 04:58:41 -08:00
Tim Emiola 2731d3f40d Updates the pubsub demo to use the new auth library 2015-02-25 04:58:41 -08:00
Tim Emiola b44da465d6 Updates the interop client to use the new auth library 2015-02-25 04:58:41 -08:00
Tim Emiola cc1150f49f Adds a reference to GoogleAuth 2015-02-25 04:58:26 -08:00
Craig Tiller 36ccead403 Merge pull request #735 from jboeuf/fix_ssl_san
Verifying the peer name on the X509 Certs correctly.
2015-02-24 21:11:26 -08:00
Tim Emiola 18180f0e84 Temporarily suspend some tests that started failing because during the final shutdown 2015-02-24 16:43:28 -08:00
Tim Emiola 957537e016 Reflect a C-api name change 2015-02-24 15:37:10 -08:00
Julien Boeuf 597a4f2273 Verifying the peer name on the X509 Certs correctly.
- The SANs take precedence over the CN.
- The CN is only checked if there are no SANs.
- Fixing the tests as the test cert did not list *.test.google.com in
  the SANs. Will fix the test cert another time...
2015-02-23 16:41:26 -08:00
Tim Emiola 8b13192243 Merge pull request #715 from tbetbetbe/grpc-ruby-fix-interop-client
Fixes a missed old module name reference in the interop client
2015-02-23 07:55:09 -08:00
Tim Emiola a16d2ae325 Fixes a missed old module name reference in the interop client 2015-02-23 07:50:49 -08:00
Tim Emiola 79a0a521f8 Update README.md 2015-02-20 17:10:44 -08:00
Tim Emiola bd87162f0b Update README.md
More comment improvements
2015-02-20 15:37:17 -08:00
Tim Emiola 5b07190843 Update README.md
fix comment about the installation location
2015-02-20 15:35:22 -08:00
Tim Emiola 400ba76208 Update README.md 2015-02-20 15:31:42 -08:00
Mugur Marculescu 04e3a6e332 Merge pull request #619 from jayantkolhe/jayantkolhe-patch-2
Jayantkolhe patch 2 - Many documentation updates.
2015-02-19 11:53:20 -08:00
Jayant Kolhe ad82155cd5 Update README.md 2015-02-19 11:44:49 -08:00
Tim Emiola 0e24d5b70f Fixes case, other minor corrections 2015-02-19 10:04:04 -08:00
Tim Emiola c33efe4ad5 Fixes the grpc.gemspec, clarifies the installation instructions 2015-02-19 09:39:49 -08:00
Tim Emiola 50b91d0018 Removes unnecesary check from the interop teste 2015-02-19 09:27:16 -08:00
Tim Emiola 26e2e8f0b5 Merge pull request #540 from ctiller/copyright
Copyright checker
2015-02-18 10:44:22 -08:00
Craig Tiller ce5021b0b9 Add missing new-lines at end of file 2015-02-18 09:25:21 -08:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Craig Tiller 347b83c222 Merge github.com:grpc/grpc into copyright
Conflicts:
	src/python/src/__init__.py
	src/python/src/_adapter/__init__.py
	src/python/src/_framework/__init__.py
	src/python/src/_framework/base/__init__.py
	src/python/src/_framework/base/packets/__init__.py
	src/python/src/_framework/common/__init__.py
	src/python/src/_framework/face/__init__.py
	src/python/src/_framework/face/testing/__init__.py
	src/python/src/_framework/foundation/__init__.py
	src/python/src/_junkdrawer/__init__.py
2015-02-17 20:28:40 -08:00
Tim Emiola 638a68b21a Removes the line that sed could not fix 2015-02-17 20:12:44 -08:00
Tim Emiola 7e7911f70d Updates the module name in the idiomatic and stub layers 2015-02-17 18:28:23 -08:00
Tim Emiola 409e6c804b Updates the module name in C extension, ensuring it compiles 2015-02-17 17:46:35 -08:00
Tim Emiola 67dc149403 Temporarily pauses some tests 2015-02-17 10:22:57 -08:00
Craig Tiller ad1fd3a49e Add proto copyrights 2015-02-16 12:23:04 -08:00
Tim Emiola 1a22275e15 Stop calling finish on server calls 2015-02-09 13:02:32 -08:00
Tim Emiola 9fd6770b1b fixes a typo 2015-02-09 13:00:54 -08:00
Tim Emiola 5d66df87c5 updates the client server spec to reflect that status is no longer shown 2015-02-09 12:35:10 -08:00
Tim Emiola b24054aee2 Disable failing wrapping level tests 2015-02-09 12:34:16 -08:00
Tim Emiola c3ac185491 Fixes a event compiler error 2015-02-09 11:26:05 -08:00
Craig Tiller c4f0ebe63b Prepare for the new batch call API.
Rename all core API functions that are on their way to deprecation with
an _old tag across all wrappings.
2015-02-02 15:39:31 -08:00
Tim Emiola 43374163ec Corrects a typo 2015-02-02 15:05:15 -08:00
Tim Emiola d5d00d5c8f Adds a demo app that accesses the live pubsub service. 2015-02-02 11:04:39 -08:00
Tim Emiola 7256b055f2 Add generated code for accessing the v1 pubsub API from Ruby 2015-02-02 11:04:39 -08:00
Tim Emiola c799e81863 Adds a missing return 2015-02-02 10:50:55 -08:00
Tim Emiola ce062f2174 Updates interop client to use update_proc 2015-01-31 18:23:34 -08:00
Tim Emiola 03d70c649f Adds updater_proc, to simplify the setup of credentials during stub creation 2015-01-31 18:23:33 -08:00
Tim Emiola 8c750f44f4 Adds a compute engine auth GCE interop test
- also fixes the service_account test assertions
2015-01-31 18:22:48 -08:00
Tim Emiola 2e2085693b Adds an interop tests if OAuth behaviour is functioning 2015-01-31 18:12:17 -08:00
Tim Emiola 179eabb253 Updates the generated code to reflect test updates 2015-01-31 18:12:17 -08:00
Tim Emiola 11f75faf4d Ensures the auth modules are available with just require 'grpc'
- Also fixes some lint issues
2015-01-31 18:12:17 -08:00
Tim Emiola 4694df3c4e Adds compute engine auth implementation that extends the signet auth class
- also, corrects the content of the authorization header
2015-01-31 18:11:56 -08:00
Tim Emiola 720bc81c89 Adds a signet based service_account creds implementation 2015-01-31 17:55:24 -08:00
Tim Emiola 5d6dfd59b3 Extends signet with an apply/apply! methods
apply/apply! update a hash with an OAuth2 authorization token
2015-01-31 17:55:24 -08:00
Tim Emiola 36066537cf Fix lint errors, other cleanups
- ensure that lint check gets run when prior to running unittests
- fixes a description of the default rake command
- adds a dependency on Faraday, a HTTP/REST client
2015-01-31 17:55:24 -08:00
Tim Emiola 3306139df0 Adds an emacs modeline 2015-01-31 17:55:23 -08:00
Tim Emiola 6f06a7e81d Attempts to remove a little of this tests flakiness 2015-01-31 17:55:23 -08:00
Tim Emiola 554a11c018 completes merges 2015-01-31 17:55:23 -08:00
Michael Lumish d87c9ea3c9 Merge pull request #287 from tbetbetbe/grpc_ruby_unittest_cleanup
Grpc ruby unittest cleanup
2015-01-29 13:38:33 -08:00
Tim Emiola 397fda0b0c Update the suites used in the tests, run the bidi and server tests as their own suites in the default target 2015-01-29 13:26:21 -08:00
Tim Emiola 91044c10d1 Add tagging to rpc_server multi-threading tests to isolate in their own test suite 2015-01-29 13:25:08 -08:00
Tim Emiola dd73f10122 Fix a test that aborts on Docker images 2015-01-29 13:24:20 -08:00
Yang Gao 3ed874c861 sync up with master 2015-01-27 11:39:14 -08:00
Michael Lumish c060e07993 Merge pull request #236 from tbetbetbe/grpc_ruby_update_interop_test_flags
Grpc ruby update interop test flags
2015-01-27 09:22:09 -08:00
Tim Emiola 426167c88e Allows production certificates to be specified 2015-01-26 22:22:37 -08:00
Tim Emiola 2854ad7aa4 Adds support for overriding the server host name during SSL 2015-01-26 19:55:12 -08:00
Tim Emiola 6e1f10d757 Adds a dependency on signet. It's to be used for auth, but for now it sslconfig module is required 2015-01-26 19:54:13 -08:00
Tim Emiola 4eecb5da1a Adds a flag for running all the tests 2015-01-26 19:22:43 -08:00
Tim Emiola 965dda629e Removes the test state tracking, that's available on Jenkins 2015-01-26 19:06:51 -08:00
Tim Emiola 9cae580877 Added the use_tls flag toggle connecting securely 2015-01-26 19:05:16 -08:00
Tim Emiola a398a342ae Remove port_picker.rb 2015-01-26 18:44:59 -08:00
Tim Emiola a816818716 Removes remaining references to port_picker 2015-01-26 18:44:59 -08:00
Tim Emiola 72f14c3e35 Removes port_picker from channel_spec 2015-01-26 18:44:59 -08:00
Tim Emiola d02d1d50b7 Removes port_picker from call_spec.rb, removes a redundant test 2015-01-26 18:44:59 -08:00
Tim Emiola 61ddba35fe Removed port_picker from server_spec.rb 2015-01-26 18:44:59 -08:00
Tim Emiola f875aa3698 Removed port_picker from active_call_spec, fixed some style issues 2015-01-26 18:44:59 -08:00
Tim Emiola a8ecbe9a10 Removes port_picker from rpc_server_spec 2015-01-26 18:44:59 -08:00
Tim Emiola a679f9fbd0 Removed port_picker form client_stub_spec 2015-01-26 18:44:58 -08:00
Tim Emiola 2b90e305ec Completes merge 2015-01-26 17:37:15 -08:00
Tim Emiola 0343b10817 Updates client_server_spec to use the server_port 2015-01-26 17:06:51 -08:00
Tim Emiola 75d7f9a3a6 Resolves issues that stopped that stopped tests from running ok 2015-01-26 16:57:33 -08:00
Tim Emiola 6aa182fb2c Cleans up some compiler warnings 2015-01-26 12:55:47 -08:00
Tim Emiola 0a7d85893c Updates rb_server.c to return the created port when it's non-zero 2015-01-26 12:30:51 -08:00
Tim Emiola 0343f7f3a6 Fixes markdown sytax errors 2015-01-26 12:04:48 -08:00
Yang Gao 5fd0d29dfe run clang-format 2015-01-26 00:19:48 -08:00
murgatroid99 d10c0abaf6 Merge branch 'master' of github.com:google/grpc into merge_new_invoke_api 2015-01-23 09:11:39 -08:00
Tim Emiola 5d11f8e7a1 fix a typo 2015-01-23 04:11:23 -08:00
Tim Emiola d428c54681 removed a reference to a google3 dir 2015-01-22 19:04:08 -08:00
Tim Emiola 5d11c1ad0d Remove Go links 2015-01-22 18:39:34 -08:00
Tim Emiola 9fe51788e3 Removes google3 specifics from the README.md, aligns the description with an open source release 2015-01-22 18:23:32 -08:00
Tim Emiola eaed637dba Removes Google username from TODOs, removes defunct TODOs 2015-01-22 18:00:50 -08:00
Tim Emiola 1bbe9ea232 Removed beefcake extension hook, it was no longer needed 2015-01-22 17:40:07 -08:00
murgatroid99 48c9c4a59e Resolved merge conflicts with master 2015-01-21 17:12:04 -08:00
Craig Tiller 85eea08ba8 Merge pull request #141 from jboeuf/ssl_server_creds_integration
Changing the SSL (Server) Credentials API.
2015-01-21 13:48:14 -08:00
Tim Emiola c6a33a21a0 Removed unexpected reference to auth.rb 2015-01-21 13:17:09 -08:00
Tim Emiola 2b5637615a Updates ruby to stop using grpc_start_invoke 2015-01-21 12:59:41 -08:00
Julien Boeuf 073d7b6cd9 Fixing node and ruby builds. 2015-01-21 11:13:43 -08:00
Tim Emiola 5de3a1de25 Corrects the ruby interop tests
- they were not returning the correct payload type
2015-01-20 18:16:04 -08:00
Tim Emiola 6c57f6b1cf Fixes a regression in the style pull request 2015-01-16 13:49:40 -08:00
Tim Emiola 1fdb1e61d2 Fix a typo 2015-01-16 03:06:39 -08:00
Tim Emiola e2860c5bdb Adds rubocop and fixes most style violations it detected
- add rubocop as a dev dependency
- fixed many style violations it reported, often using --auto-correct
- add a rubocop config
 - .rubocop.yml shows the exceptions
 - .rubocopy_todo.yml tracks outstanding style issues
- adds a rake task to allow rubocop styling checks to be automated
2015-01-16 02:58:41 -08:00
Tim Emiola cd85bb9a6e Updates to use the latest version of protobuf-ruby
This resolves issues decoding empty messages.
2015-01-14 18:53:41 -08:00
Craig Tiller 1ee7cb0c0b Merge github.com:google/grpc into format 2015-01-13 12:39:00 -08:00
Craig Tiller b5dcec5a2e clang-format codebase 2015-01-13 11:13:42 -08:00
Tim Emiola 3acf05afd8 Fixes the shebang line
- fixes the shebang line by moving it above the copyright notice in
  executables.

- also fixes the execution bit on all the binaries
2015-01-13 08:00:15 -08:00
temiola 4dee1577fb Updates the math and interop samples to use the fully-qualified method name.
This bring the ruby GRPC up-to-date with the changes in []
TESTED: math client access math server OK, similarly the passing interop tests continue to pass
	Change on 2015/01/08 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83527704
2015-01-09 17:44:43 -08:00
temiola 583fe99706 Updates service.rb to ensure that the DSL specified service name is not overridden
Change on 2015/01/08 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83525675
2015-01-09 17:40:38 -08:00
temiola 0f0a6bc4f0 Switches to using protobuf-ruby.
- Adds a dependency to protobuf-ruby in the gemfile
- Updates math.proto to proto3
- Updates math server and client to use protoc protos
- Updates interop server and client to use protoc protos

Also
- Fixes/Updates the noproto samples

TESTED: math_server and math_client can communicate locally.
	Change on 2015/01/07 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83483448
2015-01-09 17:35:24 -08:00
ctiller e4b409364e Add a --forever flag, to continuously run tests as things change.
Change on 2015/01/07 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83451760
2015-01-09 17:23:18 -08:00
temiola 8232204a36 Updates the math and interop samples to use the fully-qualified method name.
This bring the ruby GRPC up-to-date with the changes in []
TESTED: math client access math server OK, similarly the passing interop tests continue to pass
	Change on 2015/01/08 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83527704
2015-01-08 13:57:55 -08:00
temiola 16be8a4a90 Updates service.rb to ensure that the DSL specified service name is not overridden
Change on 2015/01/08 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83525675
2015-01-08 13:44:59 -08:00
temiola 6e48a4258a Switches to using protobuf-ruby.
- Adds a dependency to protobuf-ruby in the gemfile
- Updates math.proto to proto3
- Updates math server and client to use protoc protos
- Updates interop server and client to use protoc protos

Also
- Fixes/Updates the noproto samples

TESTED: math_server and math_client can communicate locally.
	Change on 2015/01/07 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83483448
2015-01-08 13:27:44 -08:00
temiola f8b66eab6a Updates extconf.rb to use grpc from the make install locations
Change on 2015/01/06 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83391947
2015-01-06 18:17:57 -08:00