Commit Graph

1239 Commits

Author SHA1 Message Date
Vijay Pai ce58cf8c44 Add Slice constructors to match all grpc_slice cases 2017-08-04 07:48:48 -07:00
Jan Tattermusch e68c0d1722 Revert "Reintroduce a lambda capture as part of C++11-izing code" 2017-08-03 12:42:24 +02:00
Muxi Yan 69b8fe02b6 Merge branch 'master' into stream_compression_config 2017-08-02 16:57:23 -07:00
yang-g e8a61d63b5 Add a default delete override for the interface 2017-08-02 09:31:24 -07:00
Muxi Yan c80526d122 Modify C++ and Objective C to initialize maybe_stream_compression_level 2017-07-27 11:16:49 -07:00
Vijay Pai bc81eee4d4 Remove a follow-on internal that was added post-internalization, keep the templated QPS worker rather than going back to internal API 2017-07-25 01:51:28 -07:00
Vijay Pai 6abd20020b Revert "Separate internal-only and public parts of C++ API" 2017-07-25 00:43:30 -07:00
hxcan.cai ba65002de4 Fix error in Doxygen comment. 2017-07-24 13:51:10 +08:00
Vijay Pai e5ba80b507 Merge pull request #11870 from vjpai/slice
Add idiomatic C++ API for grpc::Slice construction
2017-07-18 14:10:13 -07:00
Mark D. Roth 65d447f2c3 Merge pull request #11454 from markdroth/server_cq_ok_semantics
Do not return calls on server when request proto fails to deserialize.
2017-07-18 12:19:45 -07:00
Vijay Pai 0f95fa4909 Add idiomatic C++ API for grpc::Slice construction that doesn't
require using grpc_slice
2017-07-18 11:07:43 -07:00
Vijay Pai fd82a6cb4f Merge pull request #11145 from vjpai/inproc3
In-process transport
2017-07-15 20:05:26 -07:00
Vijay Pai 3d7d5f4ed2 Create inproc transport, add relevant tests, exclude irrelevant tests 2017-07-14 16:23:54 -07:00
Mark D. Roth 0696611fb5 Do not return calls on server when request proto fails to deserialize. 2017-07-14 07:18:39 -07:00
Julien Boeuf da8eca56e2 Better handling of token lifetime.
- In C++, we need a constant for the max lifetime.
- In C, make sure that we crop the lifetime in the credentials object
itself and not just later during the creation of the token. This will
allow the refresh to occur based on the actual token lifetime as opposed
to the one from the user (which may be cropped).
2017-07-13 21:58:01 -07:00
Nicolas Noble 9877189e45 Merge pull request #11310 from nicolasnoble/import
Import mutations.
2017-07-13 13:39:58 -07:00
ncteisen 616dafd52c Partial revert of https://github.com/grpc/grpc/pull/10743 2017-07-12 15:31:38 -07:00
Mehrdad Afshari 2ca8282846 Merge pull request #11738 from mehrdada/canonica-urls
Use https://grpc.io consistently as the canonical URL
2017-07-11 11:41:14 -07:00
Yang Gao 6eaaa923fa Merge pull request #11731 from yang-g/cpp_is_hard
Avoid use after free if the sneaky op is owned by the collection
2017-07-11 10:39:11 -07:00
Vijay Pai 5e3699493d Merge pull request #11572 from vjpai/internalize
Separate internal-only and public parts of C++ API
2017-07-10 23:22:19 -07:00
Ken Payson b84a489f02 Revert "Reduce server memory usage"
This reverts commit 53e6b56e32.
2017-07-10 17:21:12 -07:00
Mehrdad Afshari bb3d95b643 Use https://grpc.io consistently as the canonical URL 2017-07-10 22:24:28 +00:00
Vijay Pai c0baec60a1 Internalize structs and methods meant for being exposed through codegen
or that interface with core and are only for internal use
2017-07-10 14:33:53 -07:00
yang-g d03594fb73 second try 2017-07-10 14:23:00 -07:00
yang-g 0d9caecde2 Unref the call first in case the collection is still used in call 2017-07-10 11:24:53 -07:00
yang-g a3d929169f Use pointer to avoid assignment and race. 2017-07-08 00:57:20 -07:00
Vijay Pai 17bf3e1434 Merge pull request #11705 from vjpai/typos
Resolve typos
2017-07-07 08:44:33 -07:00
Vijay Pai 28ee1ecdf0 Resolve typos 2017-07-06 14:46:37 -07:00
Noah Eisen 67a40548ca Initialize pending_ops false 2017-07-06 09:34:06 -07:00
ncteisen 36bb8a0006 s/hanging/pending/g 2017-07-05 11:21:25 -07:00
ncteisen 43f2b55a07 Add repro and fix to bidi case 2017-07-05 10:33:21 -07:00
ncteisen 95f7a51746 Fix writelast bug 2017-07-05 10:33:21 -07:00
David G. Quintas b9223347bc Merge pull request #11539 from dgquintas/alarm_non_copyable
Make grpc::Alarm non-copyable
2017-06-29 14:19:58 -07:00
Nicolas "Pixel" Noble 5d80dc4985 Merge branch 'master' of https://github.com/grpc/grpc into import 2017-06-26 22:01:11 +02:00
Vijay Pai 10c040d455 Move collection reset before unref (since unref could destroy obj) 2017-06-22 13:41:41 -07:00
Vijay Pai d35730d185 Fix use of terminal underscores in field names. 2017-06-22 12:06:44 -07:00
Vijay Pai fc539eb193 Re-enable public constructor for ClientAsyncResponseReader to avoid busting client that bypassed code generator. This code is deprecated-on-arrival as it is a performance pessimization. This code path should not be used. 2017-06-22 09:40:09 -07:00
David Garcia Quintas e48949f0b4 Make grpc::Alarm non-copyable 2017-06-20 15:42:56 -07:00
Noah Eisen 5f5415eae3 Merge pull request #11429 from gkelly/fix-extra-semis
Remove extraneous semicolons.
2017-06-08 10:08:57 -07:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Garret Kelly 0cd689202d Remove extraneous semicolons.
Fixes compilation if building with -Wextra-semi.
2017-06-07 14:56:06 -04:00
yang-g 63610c4740 Update comments to discourage having an OK status with error_message 2017-06-02 16:30:54 -07:00
David G. Quintas 672f15fbdd Merge pull request #11143 from dgquintas/dns_server
Make ServerBuilder accept (dns:///) URIs instead of just dns names
2017-06-02 09:55:29 -07:00
Eric Gribkoff df8b5eacf0 Update comment formatting 2017-06-01 08:53:49 -07:00
Nicolas "Pixel" Noble 7bc55fdaa3 Merge remote-tracking branch 'ctiller/build-wtf' into import 2017-05-26 00:32:47 +02:00
Yang Gao 0a94f3c8ab Merge pull request #11158 from yang-g/async_default_service
Add api to server builder plugin to modify the builder
2017-05-23 13:53:44 -07:00
Mark D. Roth 34011f19ed Merge pull request #11246 from markdroth/doc_fixes
More Doxygen comment improvements.
2017-05-23 09:20:39 -07:00
Yang Gao 725d822743 merge with head 2017-05-22 10:41:17 -07:00
Mark D. Roth 98bb6323ae Yet another Doxygen comment syntax fix. 2017-05-22 08:25:59 -07:00
Mark D. Roth a4881ccd5e Fixed Doxygen comment syntax. 2017-05-22 07:24:55 -07:00
Craig Tiller 840931eec9 More import fixes 2017-05-19 15:37:45 -07:00
Mark D. Roth 127fdaeace More Doxygen comment improvements. 2017-05-19 13:16:13 -07:00
Mehrdad Afshari 37718a4fce Doxygenize comments in server_context_test_spouse.h 2017-05-17 23:30:11 -07:00
Mehrdad Afshari d488bbac02 minor: doxygenize comment 2017-05-17 23:30:11 -07:00
Mehrdad Afshari 6a6747a906 Link comment code entities 2017-05-17 23:30:11 -07:00
Mehrdad Afshari 65942421b4 minor edits in channel_arguments.h 2017-05-17 23:30:10 -07:00
Mehrdad Afshari 27da5defc7 Minor edits and doxygenize some comments 2017-05-17 23:30:10 -07:00
Mehrdad Afshari 4601bc254b tiny edit and linking entities 2017-05-17 23:30:10 -07:00
Mehrdad Afshari 59cd2d7f66 doxygenize include/grpc++/security/credentials.h comments 2017-05-17 23:30:10 -07:00
Mehrdad Afshari 31e9c14e83 doxygenize auth_metadata_processor.h comments 2017-05-17 23:30:10 -07:00
Mehrdad Afshari 3a509ecc5d minor: Link code entities in comments 2017-05-17 23:30:09 -07:00
Mehrdad Afshari a9d5637a37 minor: doxygenize health_care_service_interface.h comments 2017-05-17 23:30:09 -07:00
Mehrdad Afshari f0e87f7364 doxygenize comment 2017-05-17 23:30:09 -07:00
Mehrdad Afshari 6f07e3aa42 minor 2017-05-17 23:30:09 -07:00
Mehrdad Afshari b97bd4a8e7 minor: add trailing period 2017-05-17 23:30:09 -07:00
Mehrdad Afshari ab1277c433 Add documentation comment for Version() 2017-05-17 23:30:09 -07:00
Mehrdad Afshari dcc3610860 link referenced code elements 2017-05-17 23:30:08 -07:00
Mehrdad Afshari c78e59663d minor: i.e->i.e. 2017-05-17 23:30:08 -07:00
Mehrdad Afshari 4fea66062d minor: GRPC->gRPC 2017-05-17 23:30:08 -07:00
Mehrdad Afshari 493f444c73 minor: prefer more formal 'it is' to it's 2017-05-17 23:30:08 -07:00
Mehrdad Afshari e456ce0806 minor: Link to GRPC_STATUS_IMPLEMENTED 2017-05-17 23:30:08 -07:00
Mehrdad Afshari 3475cf72c8 Corrected the documentation for ServerBuilder::AddListenPort 2017-05-17 23:30:08 -07:00
Mehrdad Afshari 32abe8a6c2 Minor docfixes for AddInsecureChannelFromFd 2017-05-17 23:30:07 -07:00
Mehrdad Afshari 3cd6cf4983 Fix documentation for Server::AddListeningPort
Clarify that Port is actually an endpoint.
Fix typos
Clarify that it should be used before starting the server.
2017-05-17 23:30:07 -07:00
Mehrdad Afshari bcd6ca5033 Link to grpc_server symbol 2017-05-17 23:30:07 -07:00
Mehrdad Afshari 24b6d39212 Clarified GlobalCallbacks documentation comment
Make it clear that "global" and "per application" means
shared among all grpc::Server instances.
2017-05-17 23:30:07 -07:00
Mehrdad Afshari 7ee630a3d7 Clarified grpc::Server documentation comment
Make it clear that the creation of the Server instance
is not supposed to happen by using the Server class
directly and they are instructed to use ServerBuilder.
2017-05-17 23:30:07 -07:00
Mehrdad Afshari a64ea5496d Corrected spelling 2017-05-17 23:16:48 -07:00
apolcyn 5d0b1aeade Merge pull request #10992 from apolcyn/doxygen_cpp_nits
Doxygen cpp nits
2017-05-17 22:45:27 -07:00
Muxi Yan eb9b82b7e1 Merge pull request #11118 from muxi/backward-compat-dev
Add Backward compatibility API to C++
2017-05-17 16:08:24 -07:00
Muxi Yan f6b622c08a Take grpc_workaround_list as parameter 2017-05-17 10:34:10 -07:00
yang-g 21035da1c9 Add api to server builder plugin to modify the builder 2017-05-16 11:42:04 -07:00
Muxi Yan b1e5bac392 Add /doc/workarounds.md 2017-05-16 11:07:55 -07:00
David Garcia Quintas 94ab1b55bf Make ServerBuilder accept (dns:///) URIs instead of just dns names 2017-05-15 15:27:11 -07:00
Alexander Polcyn 16153d11f8 address comments, description changes 2017-05-15 09:48:49 -07:00
Muxi Yan 04f97ca022 Merge branch 'master' into backward-compat-dev 2017-05-12 12:25:43 -07:00
Alexander Polcyn bb2c338924 format changes, address comments 2017-05-11 15:15:29 -07:00
Craig Tiller 54773cfed8 Merge github.com:grpc/grpc into serve_fries 2017-05-11 12:27:45 -07:00
Craig Tiller 63cde40c6d Merge pull request #11010 from ctiller/uberpoll
Roll up of all new polling engines
2017-05-11 10:55:02 -07:00
Alexander Polcyn d6ba5ecc34 fix bad line breaks and lengths 2017-05-10 16:21:56 -07:00
Alexander Polcyn 41ff2e1ee6 address comments, format changes 2017-05-10 15:39:58 -07:00
ncteisen 22dbd73b43 Add static assert to enforce subtype invariant 2017-05-10 09:16:22 -07:00
Muxi Yan f5b3db9c22 Use AddChannelArgument method 2017-05-09 17:12:24 -07:00
Muxi Yan cdc0d03b2d Add EnableWorkaround API to enable server workarounds 2017-05-09 16:26:51 -07:00
Alexander Polcyn 0f02908e67 address comments 2017-05-09 14:28:58 -07:00
Alexander Polcyn a9f1e2566d address comments 2017-05-05 13:52:42 -07:00
Sree Kuchibhotla 76edc30af1 Merge branch 'master' into cq_limited_pollers 2017-05-05 12:46:14 -07:00
Alexander Polcyn d809a15ec4 cpp doc nits 2017-05-05 11:02:07 -07:00
ncteisen fde16afefa Merge branch 'master' of https://github.com/grpc/grpc into serialization-refactor 2017-05-05 10:27:17 -07:00
Vijay Pai 611e7e78de Reintroduce a lambda capture as part of C++11-izing code 2017-05-01 15:09:30 -07:00
Craig Tiller b79e809918 Merge github.com:grpc/grpc into serve_fries 2017-05-01 14:36:52 -07:00
David Garcia Quintas 97106a7ef2 Removed 3rd party dep on thrift 2017-04-28 13:11:11 -07:00
Craig Tiller b86da9503a Ensure at least one cq 2017-04-27 16:28:09 -07:00
Craig Tiller 6c1c8e5f04 Increase default CQ count from 1 to num_cpus 2017-04-27 15:30:22 -07:00
Sree Kuchibhotla 7f59e9d3ac Merge branch 'master' into cq_limited_pollers 2017-04-26 18:53:20 -07:00
Craig Tiller 017b452b7b Use larger block size in proto write 2017-04-26 07:55:38 -07:00
Sree Kuchibhotla d7c323f5cd Merge branch 'master' into cq_limited_pollers 2017-04-25 19:33:23 -07:00
MakMukhi c090c619c1 Merge pull request #10644 from MakMukhi/master
Added unit testing support.
2017-04-24 16:36:40 -07:00
Sree Kuchibhotla 92290167d6 Minor changes 2017-04-21 15:40:27 -07:00
Sree Kuchibhotla 1898a29f7e Fixed pollers 2017-04-21 09:53:42 -07:00
ncteisen cc7e17b2d6 Merge branch 'master' of https://github.com/grpc/grpc into serialization-refactor 2017-04-21 08:06:12 -07:00
Craig Tiller 50f7e1aa84 Merge github.com:grpc/grpc into hybrid 2017-04-21 06:38:04 -07:00
Craig Tiller f5a1b75065 Merge pull request #10761 from ctiller/ubsan
Fix ubsan reported failure
2017-04-20 15:03:36 -07:00
Craig Tiller 59db187c85 Merge branch 'tsan-c++' into hybrid 2017-04-20 19:24:57 +00:00
Craig Tiller 56bbe02ca1 Fix ubsan reported failure 2017-04-20 08:37:36 -07:00
Craig Tiller 06a30eef36 Merge github.com:grpc/grpc into cpparena 2017-04-19 14:40:20 -07:00
ncteisen e107b0d439 Add to codegen interface, refactor proto serialization
This change allows for some internal proto serialization
changes to be made
2017-04-19 14:01:13 -07:00
Yang Gao c63a119fd4 Merge pull request #10682 from yang-g/status_helper
Remove status_helper as it is not needed any more
2017-04-19 10:51:02 -07:00
Craig Tiller 3588248554 Merge github.com:grpc/grpc into hybrid 2017-04-19 09:06:45 -07:00
Craig Tiller 827b061535 clang-format 2017-04-19 06:49:29 -07:00
Mahak Mukhi ea07b60401 Post-review update 2017-04-18 17:05:49 -07:00
Craig Tiller cac4e178fd Merge github.com:grpc/grpc into cpparena 2017-04-18 13:39:18 -07:00
Craig Tiller a12c0657ef Merge github.com:grpc/grpc into hybrid 2017-04-18 13:23:44 -07:00
Craig Tiller 991c101de8 Initial thread manager fixes 2017-04-18 19:43:14 +00:00
yang-g 6bc701659c Remove status_helper as it is not needed any more 2017-04-18 10:36:36 -07:00
Yang Gao c5fc2b7112 Merge pull request #10663 from yang-g/globalcallback
Update ServerGlobalCallback::AddPort api
2017-04-17 09:13:49 -07:00
Mahak Mukhi c5eee16814 more sanity fixes 2017-04-14 17:02:26 -07:00
Craig Tiller c3666d7090 Merge github.com:grpc/grpc into hybrid 2017-04-14 13:15:56 -07:00
Craig Tiller 2c6f63731c Merge github.com:grpc/grpc into cpparena 2017-04-14 13:14:10 -07:00
yang-g eafeea48a9 Update ServerGlobalCallback::AddPort api 2017-04-14 12:34:10 -07:00
Craig Tiller 957562780a Merge pull request #10583 from ctiller/server_start
Threading robustness
2017-04-14 08:53:01 -07:00
Mahak Mukhi b32e89eb8b added todo 2017-04-13 14:55:06 -07:00
Mahak Mukhi 2814b5148e formatting 2017-04-13 14:45:26 -07:00
Mahak Mukhi bcf0eb6126 Merge branch 'master' of github.com:grpc/grpc 2017-04-13 13:28:58 -07:00
Craig Tiller a103f7bbdf update comments 2017-04-13 09:25:44 -07:00
Craig Tiller 57e6485e2d Merge github.com:grpc/grpc into hybrid 2017-04-13 06:46:27 -07:00
Sree Kuchibhotla aa5a92800f Merge branch 'master' into cq_create_api_changes 2017-04-13 03:13:17 -07:00
Mahak Mukhi e536eeb6d0 Added tests for uni-directional streaming RPCs. 2017-04-12 17:16:23 -07:00
Mahak Mukhi 31d92d42ff Initial commit: Auto-generate GMOCK code for client stub. 2017-04-12 17:16:23 -07:00
Craig Tiller c20fa90c60 Merge github.com:grpc/grpc into cpparena 2017-04-12 06:44:00 -07:00
Craig Tiller 75bfb97548 Finish hybrid server stuff, ensure it gets tested 2017-04-11 17:55:12 -07:00
Craig Tiller 334c4678a3 Start building out C++ interface 2017-04-11 16:26:07 -07:00
yang-g eceec8eaf6 Add helper function to supply and parse error_details from Status. 2017-04-11 16:07:24 -07:00
Craig Tiller 9d9313cfc6 Threading robustness
Move server startup to a separate thread.
Where there is no opportunity for failure, do not return bool.
2017-04-11 15:05:46 -07:00
Sree Kuchibhotla f2b949b94a Merge branch 'master' into cq_create_api_changes 2017-04-10 13:35:50 -07:00
yang-g f4c8addded support C++ error_details 2017-04-07 15:52:16 -07:00
Sree Kuchibhotla a6ff103446 Merge branch 'master' into cq_create_api_changes 2017-04-06 13:09:17 -07:00
Craig Tiller d4e9a4863a Convert all async client stream types to not allocate 2017-04-05 15:41:59 -07:00
Craig Tiller fa416cbe3b Dont break codegen barrier 2017-04-05 15:14:30 -07:00
Craig Tiller 41f46ab665 Merge github.com:grpc/grpc into cpparena 2017-04-05 14:05:38 -07:00