aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* 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
* Adding build files for OpenSSL.Gravatar nnoble2014-12-15
| | | | | | | | | -) Adding a hand-massaged NMake script generated from OpenSSL's perl scripts. -) Adding a batch file to invoke it, and only compile the libraries we're interested in. Change on 2014/12/15 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82172630
* Fixing typo that was preventing some targets to build.Gravatar nnoble2014-12-15
| | | | | | | Change on 2014/12/15 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82170695
* 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 Makefile help text.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=82155747
* 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
* Add a test for useful.h.Gravatar ctiller2014-12-15
| | | | | | | | | Additionally add rotl, rotr which will be needed to implement some hashing functions shortly. Change on 2014/12/15 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82149559
* Change the low level ping pong benchmark to run all tests by default.Gravatar klempner2014-12-15
| | | | | | | Change on 2014/12/12 by klempner <klempner@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82026092
* 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
* Use '\0' instead of '0' in payload as java client actually checks that.Gravatar yangg2014-12-15
| | | | | | | Change on 2014/12/12 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82023559
* Makefile will now build zlib and/or OpenSSL if needed.Gravatar nnoble2014-12-12
| | | | | | | | | | | | -) Detecting system and embedded presence of zlib and OpenSSL with ALPN. -) Automatically disabling secure targets if no OpenSSL present --> make all won't work if no OpenSSL is present, forcing the users to select the nonsecure Makefile targets explicitely. -) Removing build instructions for OpenSSL - this isn't really necessary anymore. -) Adding more blurb about OpenSSL and the new Makefile features. Change on 2014/12/12 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82020890
* 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
* Add Visual Studio project for building zlib.Gravatar jtattermusch2014-12-12
| | | | | | | Change on 2014/12/12 by jtattermusch <jtattermusch@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82017498
* 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
* Tweaking log calls a bit.Gravatar nnoble2014-12-12
| | | | | | | | | -) Introducing gpr_vlog so to spare a few vsprintf later (at least one for now) -) Renaming statistics/log.* to statistics/census_log.* to avoid collisions. Change on 2014/12/12 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81995756
* Split client_channel into client_channel & child_channel.Gravatar ctiller2014-12-12
| | | | | | | | | | Safely managing disconnection and goaways needs reference counting at the child channel level, which was near impossible to provide with the previous embedding of the child channel in the client channel. This is a (hopefully) no-op refactoring to provide that split. The next CL in this series will actually get disconnection and goaway somewhat right. Change on 2014/12/12 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81985590
* Minor changes to make life easier for git newbies...Gravatar vpai2014-12-12
| | | | | | | Change on 2014/12/11 by vpai <vpai@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81937816
* Added _m suffix to all methods functions. On Windows, the shutdown method ↵Gravatar jtattermusch2014-12-12
| | | | | | | | | name collides with shutdown syscall. Change on 2014/12/11 by jtattermusch <jtattermusch@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81931923
* Shutting off warning by properly truncating values.Gravatar nnoble2014-12-12
| | | | | | | Change on 2014/12/11 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81924726
* Explain server termination semantics a little better.Gravatar ctiller2014-12-12
| | | | | | | Change on 2014/12/11 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81923801
* Fixing C++ and ruby code generators for the opensource build.Gravatar nnoble2014-12-12
| | | | | | | Change on 2014/12/11 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81921764
* Make the default deadline gpr_inf_future to avoid mismatch betweenGravatar yangg2014-12-12
| | | | | | | | | | | | gpr_inf_future and time_point::max(). The redundant AbsoluteDeadline prefix is removed from the utility function names. Now the ClientContext holds a gpr_timespec instead of a time_point. A test will be added in the server side deadline support cl. Change on 2014/12/11 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81920769
* Fixes package prefixesGravatar temiola2014-12-12
| | | | | | | | | | | | | | | | | Fixes how module names for messages with package prefixes are rendered. - detected while prototyping with beefcake - fixed on the internal beefcake fork here [] This change replicates that fix for the official code generator. TODO: add a test; what's normal done to test features like this the proto codebase? Add another test.proto/golden file? Change on 2014/12/11 by temiola <temiola@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81916292
* Fix ipv6.c build breakage on Windows.Gravatar jtattermusch2014-12-11
| | | | | | | Change on 2014/12/11 by jtattermusch <jtattermusch@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81910401
* Change cpp and go codegen to use new method properties instead of method optionsGravatar rocking2014-12-11
| | | | | | | Change on 2014/12/11 by rocking <rocking@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81906922
* Add batch file that builds and executes all GPR tests.Gravatar jtattermusch2014-12-11
| | | | | | | | | Removed bad format test to fix gpr_string_test. Also took care of some of the MS compiler warnings when compiling gpr_test_util. Change on 2014/12/11 by jtattermusch <jtattermusch@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81900639
* Fixes the ping_pong test.Gravatar temiola2014-12-11
| | | | | | | | | | | - updates the test to be properly ping-pong. - based on []which needed to be addressed any more testing on bidi streams was done Change on 2014/12/11 by temiola <temiola@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81898416
* Corrects the incorrect duplex behaviour of bidi_call.rbGravatar temiola2014-12-11
| | | | | | | | | | | - updates the write thread so that it handles writes and sending writes done for clients - converts the complex read-write loop to simple read loop TESTED: math_client bidi continues to work client_stub_spec pass without additional changes Change on 2014/12/11 by temiola <temiola@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81897990
* Removed use of call.accept in gRPC RubyGravatar temiola2014-12-11
| | | | | | | Change on 2014/12/11 by temiola <temiola@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81895023
* Update modules and packages to allow for a single grpc importGravatar temiola2014-12-11
| | | | | | | | | | - ensured tests only need to do 'require grpc' - ensured that the example math_server and math_client only need to do 'require grpc' - ensured that the other other client and servers only need to do one thing Change on 2014/12/11 by temiola <temiola@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81894613
* Fixing sync_win32.cGravatar nnoble2014-12-11
| | | | | | | | Calling SleepConditionVariableCS will ultimately unlock then relock the critical section, so we have to reflect that in the anti-recursion boolean. Change on 2014/12/11 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81893180
* Cache encoded binary data on the metadata string object.Gravatar ctiller2014-12-11
| | | | | | | Change on 2014/12/11 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81882793
* Wait for name resolutions to complete before shutting down iomgr.Gravatar ctiller2014-12-11
| | | | | | | | | | | | This at least avoids crashing when shutting down during name resolution. There is still a memory leak to track down before I add a test that exposes this. This CL also makes some tiny cleanups and debuggability improvements. Change on 2014/12/11 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81882486
* Add a grpc_ipv6_loopback_available() test utility, and only run IPv6-specificGravatar pmarks2014-12-11
| | | | | | | | | | tests on machines that support AF_INET6 sockets bound to ::1. Listening on :: or connecting to a mapped address should always work. Change on 2014/12/10 by pmarks <pmarks@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81837056
* Patch shutdown during write test to not fail or do a racy destroy if the writeGravatar klempner2014-12-11
| | | | | | | | completes successfully. Change on 2014/12/10 by klempner <klempner@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81831655
* First pass at making the compilers open-sourcable.Gravatar nnoble2014-12-11
| | | | | | | Change on 2014/12/10 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81829127
* Adding an INSTALL file for the opensource release.Gravatar nnoble2014-12-11
| | | | | | | Change on 2014/12/10 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81828626
* Tell call/channel op handlers who is invoking them.Gravatar ctiller2014-12-11
| | | | | | | | | | This change adds a parameter to all op handlers specifying the invoking filter. It will be used to allow client_channel to distinguish which child channel is disconnecting or going away. Change on 2014/12/10 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81823231
* Build CPP interop client in Git-on-[] as well as in [].Gravatar chenw2014-12-11
| | | | | | | | | | | | | | | | | | | | | | | | To build client in Git-on-[]: # regenerate Makefile net/grpc/tools/buildgen/generate_projects.sh # generate .pb.h and .pb.cc protoc --cpp_out=. --grpc_out=. --plugin=protoc-gen-grpc=[]-bin/net/grpc/compiler/cpp_plugin net/grpc/cpp/test/interop/test.proto net/grpc/cpp/test/interop/empty.proto net/grpc/cpp/test/interop/messages.proto # Complile and link net/grpc/tools/build_grpc_dev.sh bins/interop_client To test against GFE/ESF: # bring up server [] build net/grpc/testing/interop:server_components_env []-bin/net/grpc/testing/interop/server_components_env --manual --rpc_port=25000 # start client /tmp/grpc-codebase/bins/interop_client --enable_ssl=true --server_port="server ssl port listening port" To test [] build against GFE/ESF: [] run net/grpc/cpp:interop_client -- --enable_ssl=true --server_port="server ssl port listening port" Change on 2014/12/10 by chenw <chenw@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81821921
* Renaming libevent was an oversight, please bear with me.Gravatar Nicolas Noble2014-12-10
|
* Added test data files to open source buildGravatar mlumish2014-12-10
| | | | | | | Change on 2014/12/10 by mlumish <mlumish@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81817780
* Move status 200 setting into http_server_filter and keep a fixed mdelem for itGravatar klempner2014-12-10
| | | | | | | | rather than allocating a separate one for each rpc. Change on 2014/12/10 by klempner <klempner@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81814150
* Adds support for metadata to the surface APIsGravatar temiola2014-12-10
| | | | | | | | | | | | | - received metadata is visible on the ActiveCall object - metadata to send is keyword args on ActiveCall objects Also - fixes a typo that meant that the wrong error error code might be returned - fixes bad references in some tests that are only visible when run via rspec Change on 2014/12/10 by temiola <temiola@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81811008