Commit Graph

1256 Commits

Author SHA1 Message Date
Yang Gao e84ea53a13
Merge pull request #15252 from carl-mastrangelo/healthy
Update health.proto to match grpc-proto reference copy
2018-05-04 11:58:12 -07:00
Carl Mastrangelo 95fbb06ca8 regenerate pbs 2018-05-03 12:33:25 -07:00
Mehrdad Afshari 2d43a45ad1 Regenerate projects 2018-05-02 22:49:52 -07:00
Carl Mastrangelo d8306ec142 update ruby 2018-05-02 12:05:49 -07:00
kpayson64 7a20c962df Break out qps services into seperate protos 2018-04-18 22:13:09 -07:00
Yihua Zhang fe2fa0c1c8 Add C++ experimental API extensions for ALTS C stack 2018-04-16 15:11:32 -07:00
Jan Tattermusch 749f923c5b
Merge pull request #14945 from ara-ayvazyan/improve_log_perf
Avoid low severity log message construction
2018-04-12 08:56:40 +02:00
apolcyn 2fe68c8ad3
Merge pull request #15021 from apolcyn/fix_gcov_ruby
Fix a broken gcov test
2018-04-11 13:34:24 -07:00
Alexander Polcyn e8bced7db8 Fix codegen test under gcov config 2018-04-11 10:46:51 -07:00
Alexander Polcyn d3594987df fix race whereby we can call watch_connectivity_state on a destroyed channel 2018-04-05 03:49:53 -07:00
Jan Tattermusch 3095e350ac regenerate projects using tools/buildgen/generate_projects.sh 2018-04-05 09:41:03 +02:00
apolcyn 33b225616c
Merge pull request #14922 from apolcyn/ruby_bidi_error
Don't raise call errors for failed reads or writes of ruby bidi streams
2018-04-04 17:41:28 -07:00
Mehrdad Afshari 90cfc8ed57 Regenerate projects 2018-04-04 14:04:11 -07:00
Alexander Polcyn ae937d34d6 Never throw CallErrors for failed bidi reads or writes 2018-04-03 20:47:24 -07:00
apolcyn a9d16ccb3d
Merge pull request #13634 from hassox/ruby-module-name
Updates the ruby generator RubyTypeOf to correctly account for underscores in packages
2018-03-29 16:13:07 -07:00
everysick bae00e08cc Add test for verifying to get memory usage in client request 2018-03-29 09:13:55 +09:00
Daniel Neighman 8b7007ad7b Updates the ruby generator RubyAsType to correctly account for underscores in packages
Prior to this change, when the ruby generator tried to reference an entity that was not part of the same package
(or a direct parent package) and the package contains underscores,
the result would simply uppercase the first character.
It should however uppercase each letter that proceeds an underscore and remove underscores.

i.e.

```
package my_package.service;

import "my_package/data.proto";

service MyService {
  rpc Test (data.Request) returns data.Response {}
}
```

Was

```ruby
   # ...
   rpc :Test, My_package::Data::REquest, My_package::Data::Response
   # ...
```

Should be:

```ruby
   # ...
   rpc :Test, MyPackage::Data::REquest, My_package::Data::Response
   # ...
```
2018-03-26 16:00:05 -07:00
everysick dfc95159a6 Use GRPC_RB_MEMSIZE_UNAVAILABLE in grpc_rb_md_ary_data_type 2018-03-25 21:21:15 +09:00
apolcyn 9cb8be661a
Merge pull request #14705 from xambroz/ruby_format_strings
Ruby format strings
2018-03-23 16:02:18 -07:00
Noah Eisen dc93b71e53
Merge pull request #14751 from ncteisen/channel-tracing
[Fix Forward]: Channel Tracing Implementation; Part 1
2018-03-21 16:49:12 -07:00
Ruslan Nigmatullin 99d0cee31b regenerate projects 2018-03-20 09:18:29 -07:00
ncteisen 3b42f83068 Revert "Revert "Channel Tracing Implementation; Part 1""
This reverts commit f2bea3725f.
2018-03-19 13:22:35 -07:00
Noah Eisen f2bea3725f
Revert "Channel Tracing Implementation; Part 1" 2018-03-19 12:05:18 -07:00
ncteisen b93a006d64 Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing 2018-03-15 13:46:28 -10:00
xambroz 831f4ea334
Enable checking for the string format issues
Enable checking for the string format issues because:
1) Fedora and Ubuntu have format checking generating errors as mandatory for the ruby gem builds.
 If "-Wno-format" is hardcoded here it will collide and fail with the in-build option of -Werror=format-security passed to the make.

2) There was one potential format vulnerability found in rb_compression_options.c
2018-03-14 02:30:52 +00:00
xambroz 06a412c2e1
Fix potential format string vulnerability 2018-03-14 02:23:53 +00:00
nownabe fcc4b9b68c Fix ruby document
1. Organize collapsed ruby yard doc.

2. Update contents about ClientStub#bidi_streamer because
bidi#writes_done hasn't existed.

https://github.com/grpc/grpc/pull/14535#discussion_r171452923

3. Fix yardoc warnings.

Warings:

[warn]: Invalid tag format for @return in file `lib/grpc/core/time_consts.rb` near line 36
[warn]: @param tag has duplicate parameter name: set_input_stream_done
    in file `lib/grpc/generic/bidi_call.rb' near line 70
[warn]: Unknown tag @result in file `lib/grpc/generic/rpc_server.rb` near line 287
[warn]: @param tag has unknown parameter name:
    in file `lib/grpc/generic/interceptors.rb' near line 158
[warn]: In file `lib/grpc/generic/rpc_server.rb':217: Cannot resolve link to key: from text:
        ...{key: val, ..}
[warn]: In file `lib/grpc/generic/rpc_server.rb':217:
Cannot resolve link to key: from text:
        ...{key: val, ..}
2018-03-13 14:13:46 +09:00
ncteisen c1284576f8 Fix build and sanity 2018-03-02 16:20:50 -08:00
ncteisen ee013d25b3 Fix build and sanity 2018-03-02 11:38:32 -08:00
Mehrdad Afshari 9073ea03ef Regenerate projects 2018-02-22 22:21:33 -08:00
Vijay Pai c745690caf Internalize gpr_thd except for id and currentid 2018-02-12 11:44:52 -08:00
apolcyn 90dde8f136
Merge pull request #14134 from apolcyn/fix_ruby_shutdown_race
Refactor ruby server shutdown to fix a race in tests
2018-02-09 18:03:30 -08:00
apolcyn f3431e5b21
Merge pull request #14132 from apolcyn/fix_benign_compression_options_mem_leak
Fix two ruby memory leaks when exceptions are raised
2018-02-08 18:56:37 -08:00
Vijay Pai 18b9133f31 Merge branch 'master' into gpr_review 2018-02-08 12:18:09 -08:00
Vijay Pai 239b7d4b0b Merge branch 'master' into gpr_review 2018-02-08 11:08:41 -08:00
Vijay Pai 573717bc8d Merge branch 'master' into gpr_review3 2018-02-08 10:21:11 -08:00
Vijay Pai 32748c1b2a Merge branch 'master' into gpr_review3 2018-02-08 10:06:23 -08:00
Vijay Pai b1ef84a7fd Merge branch 'master' into gpr_review_host_port 2018-02-07 11:12:35 -08:00
Muxi Yan cda058de8e build projects 2018-02-06 18:17:42 -08:00
Muxi Yan 99f1a8f467 Remove compression_ruby 2018-02-06 18:17:42 -08:00
Alexander Polcyn d60ed8f1f8 Guarantee no race between ruby server's shutdown_and_notify and destroy 2018-02-06 11:13:06 -08:00
Shohei Kamimori 35367cc3ed fix typo 2018-02-05 18:46:41 +09:00
Vijay Pai 1acfaca3e6 Merge branch 'master' into gpr_review_host_port 2018-02-02 11:21:07 -08:00
Vijay Pai d4d0a30c6f Privatize useful.h and avl.h 2018-02-02 09:16:44 -08:00
Vijay Pai 4c0640ebd6
Merge branch 'master' into gpr_review3 2018-02-02 09:12:11 -08:00
Vijay Pai e5b0a50416
Merge pull request #14015 from vjpai/alarm
Remove alarm from core, implement in C++ layer only
2018-02-02 08:44:20 -08:00
Vijay Pai ae376bf9d9 Privatize host_port.h; was not used in any wrapped language implementation 2018-01-25 23:06:24 -08:00
Vijay Pai 8a99fdb57e Move cmdline and subprocess from public gpr to test/core/util 2018-01-25 20:11:38 -08:00
Muxi Yan fd900e09fb Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2018-01-24 16:16:23 -08:00
Alexander Polcyn 7b87bab832 Refactor ruby server shutdown to fix a race 2018-01-22 23:43:39 -08:00