aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Add package name to the method string.Gravatar yangg2015-01-06
| | | | | | | | | | | | | | | | | | Changes: C++ code generator Go code generator and generated file java code generator and test golden file java server side Handler registry code java shm channel (strips the package name from the method name) ESF registering code Tested: [] test net/grpc/testing/interop:all global presubmit: [] Change on 2015/01/06 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83353207
* Add deadline API on server side.Gravatar yangg2015-01-06
| | | | | | | Change on 2015/01/06 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83351442
* Adding plugins to the mako rendering system.Gravatar nnoble2015-01-06
| | | | | | | Change on 2015/01/05 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83302581
* Added PSR-4 compatible autoloader as defined at ↵Gravatar mlumish2015-01-05
| | | | | | | | | | | | | | http://www.php-fig.org/psr/psr-4/. SurfaceActiveCall.php was split into four files. Each file must contain exactly one PHP class because of the following line in the spec: > The terminating class name corresponds to a file name ending in .php. The file name MUST match the case of the terminating class name. Other changes were made to correctly import the library using the autoloader. Change on 2015/01/02 by mlumish <mlumish@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83150065
* Switched call errors to exceptions instead of return valuesGravatar mlumish2015-01-05
| | | | | | | Change on 2015/01/02 by mlumish <mlumish@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83146107
* Switched events to use native objects instead of wrappersGravatar mlumish2015-01-05
| | | | | | | Change on 2015/01/02 by mlumish <mlumish@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83146045
* Replaced calls to grpc_call_accept with newer functionsGravatar mlumish2015-01-05
| | | | | | | Change on 2015/01/02 by mlumish <mlumish@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83145830
* Have grpc_iomgr_work() adjust its poll deadline to account for the next alarm.Gravatar klempner2014-12-29
| | | | | | | | | This fixes _low_test.py, once we reverse CL 82686562 accidentally reducing poll timeouts to 1 us. Change on 2014/12/23 by klempner <klempner@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82741776
* Provide a port of cpu related code to posix, and linux.Gravatar ctiller2014-12-29
| | | | | | | | Properly set this up in our build environment. Change on 2014/12/23 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82725899
* Fix poll kicking, unflaking _low_test.pyGravatar klempner2014-12-29
| | | | | | | Change on 2014/12/22 by klempner <klempner@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82686562
* fix MOE compliling error.Gravatar chenw2014-12-29
| | | | | | | Change on 2014/12/22 by chenw <chenw@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82682265
* Use overriden host name when creating a call.Gravatar yangg2014-12-29
| | | | | | | Change on 2014/12/22 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82672321
* Port [] alarm management to GRPC.Gravatar ctiller2014-12-29
| | | | | | | | | | | | | This change implements a platform independent alarm manager in alarm.c. It's integrated with iomgr, and some tests are cleaned up. The alarm implementation itself is a fairly direct port of LazyAlarmList from eventmanager. SpinLock has been replaced for now with gpr_mu, and other atomic operations have been dropped (again, for now). A majority of tests have been ported. Change on 2014/12/19 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82551363
* Adding support for service account credentials.Gravatar jboeuf2014-12-29
| | | | | | | | | | - Tested end to end with a JSON key I generated for my account using the fetch_oauth2 binary. - The same fetch_oauth2 binary can get a token from the GCE metadata service on a VM in cloud. Change on 2014/12/19 by jboeuf <jboeuf@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82548689
* Client side implementation of creating channel with credentials.Gravatar yangg2014-12-29
| | | | | | | | | The old test_ssl_channel related code is deleted and the new create channel call is used for interop tests. Change on 2014/12/19 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82540921
* Pre allocate client side strings per channel for method, scheme, path, andGravatar klempner2014-12-19
| | | | | | | | | | authority. For method and scheme, move these from channel to http_client_filter. Change on 2014/12/19 by klempner <klempner@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82536909
* Don't allow trailing metadata from the client.Gravatar ctiller2014-12-19
| | | | | | | Change on 2014/12/19 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82527952
* Removed reference to custom install locationGravatar mlumish2014-12-19
| | | | | | | Change on 2014/12/19 by mlumish <mlumish@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82518240
* Exposes event#finish as #close.Gravatar temiola2014-12-19
| | | | | | | | | | | - ensures that it's a runtime error if an event if used after it's finished - updates all calls where the completion_queue is used to ensure the event's retrieved are explicitly finished Change on 2014/12/18 by temiola <temiola@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82445748
* Properly handle cancellation during downwards propagation.Gravatar ctiller2014-12-19
| | | | | | | Change on 2014/12/17 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82395253
* gRPC: Avoid AF_INET6 sockets when the ::1 loopback address doesn't exist.Gravatar pmarks2014-12-19
| | | | | | | | | | | On Linux with disable_ipv6=1, we can create sockets bound to [::]:port, yet connecting to that address triggers an Unreachable error. Since IPv6 is useless on such machines, it's cleaner to turn it off than expose users to a half-broken state. Change on 2014/12/17 by pmarks <pmarks@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82387437
* Allow overriding httpcli behavior by tests.Gravatar ctiller2014-12-19
| | | | | | | Change on 2014/12/17 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82379331
* Set host to channel's target when creating a call.Gravatar yangg2014-12-19
| | | | | | | Change on 2014/12/17 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82377896
* Introduce the (outside-of-iomgr) pollset API.Gravatar ctiller2014-12-19
| | | | | | | | | | | | | This CL introduces the public side of this interface. There will need to be an iomgr-private API also, but this will be a per-implementation API and so is not covered here. I've taken care of wiring the interface through the codebase in the manner that I expect it will be used. Change on 2014/12/17 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82376987
* Add ServerContext. It is currently empty and deadline and metadata will come toGravatar yangg2014-12-19
| | | | | | | | it in subsequent cl's. Change on 2014/12/17 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82372934
* Replace the deprecated grpc_call_accept calls with the equivalent two newGravatar yangg2014-12-17
| | | | | | | | calls. Change on 2014/12/17 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82368034
* Fix include guards.Gravatar ctiller2014-12-17
| | | | | | | Change on 2014/12/17 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82354016
* Remove endpoint/ directories.Gravatar ctiller2014-12-17
| | | | | | | | | | Fold endpoint interface into iomgr, move secure_endpoint into security/. This will make it easier for endpoint to rely on some iomgr defined types (like pollset). Change on 2014/12/17 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82338036
* Adding JWT generation and signing code for service accounts credentials.Gravatar jboeuf2014-12-16
| | | | | | | Change on 2014/12/16 by jboeuf <jboeuf@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82279249
* Add missing casts to enable compilation with gcc 4.7Gravatar rsilvera2014-12-16
| | | | | | | Change on 2014/12/16 by rsilvera <rsilvera@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82275653
* Make alarm initialization take a timespec now.Gravatar ctiller2014-12-16
| | | | | | | | | This will allow combining of gpr_now() calls, and make it easier to test the alarm code in the future. Change on 2014/12/16 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82246768
* Replacing pthread_once by gpr_once, in the opensource conversion.Gravatar nnoble2014-12-16
| | | | | | | Change on 2014/12/16 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82243767
* Added support for trailing metadata, fixed status supportGravatar mlumish2014-12-16
| | | | | | | Change on 2014/12/16 by mlumish <mlumish@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82239977
* Adds support for trailing metadataGravatar temiola2014-12-16
| | | | | | | | | | | - removes the status class, replacing it with a Struct - adds support for trailing metadata, merging into the call's initial metadata - tracks [] Change on 2014/12/15 by temiola <temiola@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82193372
* Trailing metadata support.Gravatar ctiller2014-12-16
| | | | | | | | | Actually exposing it from the C API. Also removing grpc_status, since it's mostly useless. Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82180546
* GOAWAY & Reconnection support.Gravatar ctiller2014-12-15
| | | | | | | | | | | | Clients stay connected to a server after it shutdowns until all active calls have completed, and then they drop. After a GOAWAY or a disconnect, clients will attempt to re-resolve and reconnect to the server. Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82178515
* Add an assertion to prevent return-without-value warning.Gravatar vpai2014-12-15
| | | | | | | Change on 2014/12/15 by vpai <vpai@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82177414
* Fix bug with generating grpc c++ code for proto filesGravatar samuelw2014-12-15
| | | | | | | | | | containing multiple services. Hit this experimenting with using grpc to talk to pubsub. Change on 2014/12/15 by samuelw <samuelw@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82175646
* Moved interop client script to the same directory as other scripts. This ↵Gravatar mlumish2014-12-15
| | | | | | | | | also moves it into the filegroup for the opensource build. Change on 2014/12/15 by mlumish <mlumish@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82175252
* Add time averaged stats for future alarm list work.Gravatar ctiller2014-12-15
| | | | | | | | | This is a trivial C89-ification of the []2 implementation of the same idea. Indeed the implementation files and tests have been branched from the [] versions. Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82168822
* Simplify alarm API.Gravatar ctiller2014-12-15
| | | | | | | | | This change removes a corner case that needs to be handled (what happens if you add an alarm twice?). This corner case was never used, nor tested. Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82168179
* Fix mixing function, and make it universally used.Gravatar ctiller2014-12-15
| | | | | | | Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82155669
* Fix a bug in base-log, and add test.Gravatar aveitch2014-12-15
| | | | | | | | | | | The tests compute usable space in the log, but do so using subtraction on unsigned values and did not correctly account for number of blocks used per-core. This could lead underflow, and an incorrect space calculation. In addition, testing showed that with current defaults, tests would fail on a system with > ~64 cores. This can be alleviated through use of a larger log. An explicit check in the log initialization has been added for this case, and the log size increased if necessary. Change on 2014/12/15 by aveitch <aveitch@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82154432
* Binary header encoding.Gravatar ctiller2014-12-15
| | | | | | | | Also fixes a rather embarrassing bug in bin_encoder.c. Change on 2014/12/12 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82024795
* Adding base utils for JWT service account workflow. OpenSSL base64 decoding isGravatar jboeuf2014-12-12
| | | | | | | | a disaster and does not support url_safe which we need for the JWT. Change on 2014/12/12 by jboeuf <jboeuf@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82020601
* Added endpoint_ prefix to all method functions. On Windows, the shutdown ↵Gravatar jtattermusch2014-12-12
| | | | | | | | | method name collides with shutdown syscall. Change on 2014/12/12 by jtattermusch <jtattermusch@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82018945
* Switches the ruby docker build to run from the new all-in-one repo.Gravatar temiola2014-12-12
| | | | | | | Change on 2014/12/12 by temiola <temiola@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82000906
* Remove log spamGravatar ctiller2014-12-12
| | | | | | | Change on 2014/12/12 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82000900
* Getting the generated Makefile to support .proto files.Gravatar nnoble2014-12-12
| | | | | | | | | | -) Compiling the proto plugin using the HOSTCC compiler. -) Set up proper rules to invoke the plugin from protoc. -) Few various renaming hacks to fully get out of []. Change on 2014/12/12 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82000361
* Automated g4 rollback of changelist 81931923.Gravatar jtattermusch2014-12-12
| | | | | | | | | | | | | | | | *** Reason for rollback *** _m convention is not generally accepted. *** Original change description *** Added _m suffix to all methods functions. On Windows, the shutdown method name collides with shutdown syscall. *** Change on 2014/12/12 by jtattermusch <jtattermusch@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81997449