Commit Graph

553 Commits

Author SHA1 Message Date
Nicolas Noble 91647cc815 Adding joinable threads, and gpr_thd_join. 2015-04-03 23:02:47 +02:00
Yang Gao a4b0909db9 Merge pull request #1180 from vjpai/perf-0402
Trace and trim locks, properly handle SIGINT
2015-04-03 09:34:31 -07:00
Jan Tattermusch 1fa0c0881f Merge pull request #1173 from nicolasnoble/vs2010
Created Visual Studio 2010 project files.
2015-04-02 14:37:33 -07:00
Vijay Pai f2554d051b Revive proper SIGINT handling 2015-04-02 13:58:27 -07:00
Nicolas "Pixel" Noble a727fe22b6 Created Visual Studio 2010 project files.
Also removed the unused shared projects.
2015-04-02 20:46:18 +02:00
Yang Gao 5a5032dd4c Add a macro to enable replacing the default with a custom port picker 2015-04-01 13:54:44 -07:00
Vijay Pai 54e16ee548 Put in calls to profiling 2015-03-31 12:50:56 -07:00
Vijay Pai 49673133b3 Remove unused header file for profiler 2015-03-31 12:39:51 -07:00
Vijay Pai ce3bd9680b Remove outdated file 2015-03-31 12:06:20 -07:00
Masood Malekghassemi 99c2997456 Merge pull request #1148 from nathanielmanistaatgoogle/construction-functions
Unify early_adopter construction functions
2015-03-30 15:12:02 -07:00
Yang Gao 0c4b0ddcc5 Add tests with delayed cancellation from client and server 2015-03-30 13:08:34 -07:00
Nathaniel Manista f492b16d48 Unify early_adopter construction functions
It was awkward for the generated code to call an API that offered
both insecure_server and secure_server as well as insecure_stub and
secure_stub. With this change there is just a single server function
and a single stub function and security is decided based on arguments
passed.
2015-03-30 18:14:52 +00:00
Vijay Pai bc6f3f04d8 Merge pull request #1144 from yang-g/genericstub
generic stub implementation
2015-03-27 15:33:07 -07:00
Yang Gao b946b5ea74 Refactor and add a unit test 2015-03-27 13:20:59 -07:00
Yang Gao fa50753059 Merge pull request #1113 from vjpai/qps-stream
Add C++ streaming QPS test, fix bug in async C++ tests
2015-03-27 10:10:29 -07:00
Yang Gao 48bbd000eb merge upstream and resolve conflict 2015-03-26 23:12:14 -07:00
Yang Gao 166f9d00ce add back mis-deleted method string 2015-03-26 23:06:45 -07:00
Yang Gao ced2b89f55 Finish grpc_cli 2015-03-26 22:59:54 -07:00
vjpai 6130809a8b Work around a compiler limitation caused by inability to properly handle
vectors created from initializer list
2015-03-26 17:12:17 -04:00
Vijay Pai 92a928fa68 Make string construction explicit as implicit conversion doesn't work in 4.4 2015-03-26 16:30:22 -04:00
vjpai 4bcab68012 Include the config.h file to make sure that nullptr is covered 2015-03-26 13:21:24 -07:00
Vijay Pai bef9cbc7dc Eliminate range-based fors 2015-03-26 11:02:06 -07:00
Vijay Pai 9032adcbef Fix conflicts 2015-03-26 10:32:52 -07:00
Nicolas Noble 96e32aa0a5 Merge pull request #1133 from yang-g/cleanup
clean up
2015-03-25 12:38:40 -07:00
Yang Gao 16c78c922c Clean up unneeded includes and remove shutdown protobuf library 2015-03-25 10:36:16 -07:00
Yang Gao a5e20d35c9 a stub of the cli tool 2015-03-25 09:55:20 -07:00
Vijay Pai 82dd80abc6 Elminate range-based fors and work around some other limitations in older compilers 2015-03-24 10:36:08 -07:00
Vijay Pai 6266b9341c Sweep different parameter sets in a single shell script. 2015-03-23 14:38:18 -07:00
Vijay Pai 1da729ad7d Merge branch 'qps-stream' of https://github.com/vjpai/grpc into vjpai-qps-stream 2015-03-23 12:52:56 -07:00
Vijay Pai 8ad32091e6 Make sure that nothing gets added to cq after shutdown 2015-03-23 12:44:28 -07:00
Vijay Pai 55bb5bdf80 No need to do an extra read 2015-03-23 12:44:09 -07:00
Vijay Pai c5b397927c test return value of rpc parse 2015-03-23 10:46:37 -07:00
vjpai 653803e310 Make RPC type configurable 2015-03-23 10:19:12 -07:00
vjpai 46f65239cf Added streaming C++ tests for sync and sync cases 2015-03-23 10:10:27 -07:00
Julien Boeuf 8931cc1dd5 Adding a test to check the openssl version we are using. 2015-03-23 10:00:57 -07:00
Yang Gao cdb2a6e071 Protect on some overflow scenarios, add a test and build/run the test 2015-03-20 23:55:04 -07:00
Yang Gao 993d540e37 covert test to use generic stub 2015-03-19 13:35:49 -07:00
Jan Tattermusch 5e36d0d474 Merge pull request #1093 from nicolasnoble/windows
Various Windows fixes.
2015-03-19 10:29:47 -07:00
Vijay Pai c55a1d4d55 Merge pull request #1091 from dklempner/trim_metadata_test
Make metadata_test test_things_stick_around use fewer strings
2015-03-19 09:05:34 -07:00
Yang Gao 1fc046902c sync to head and run clang-format again 2015-03-19 07:23:08 -07:00
Nicolas Noble cfd6073a66 Various Windows fixes.
-) using dupenv_s instead of getenv_s and calling strdup ourselves.
-) few impossible-to-obtain if checks.
-) various signed/unsigned casting.
-) using time_t instead of time32_t
-) checking output of FormatMessage for failures.
-) don't redefine _WIN32_WINNT without undefining it first.
-) fixed msvc's interlocked casting.
-) renamed AddPort to AddListeningPort.
-) added protobuf's third_party includes to search path.
-) added a missing definition for inet_ntop in mingw32.
-) removed useless declarations.
2015-03-19 04:21:22 +01:00
donnadionne f2093977ae Merge pull request #1067 from yang-g/print
Print out status when it is not ok in interop tests
2015-03-18 17:44:42 -07:00
David Klempner a4ac78c8ce Make metadata_test test_things_stick_around use fewer strings
This test is quadratic in nstr and times out under tsan.
2015-03-18 14:20:53 -07:00
Masood Malekghassemi 89905ac55d Factor out interface-specific early_adopter code
Refactors early_adopter such that interface-specific code is located in
the framework module as a submodule `alpha`.
2015-03-17 18:54:24 -07:00
Yang Gao 757afaeb30 clang-format new changes 2015-03-17 15:49:26 -07:00
Yang Gao d672d8fbe2 resolve merge confict 2015-03-17 15:47:47 -07:00
Yang Gao 700bdeb6f5 Merge pull request #1023 from vjpai/async
Non-blocking Next method for C++ async completion queue
2015-03-17 15:45:33 -07:00
Yang Gao 3c220dfc32 Print out status when it is not ok in interop tests 2015-03-17 11:47:54 -07:00
Yang Gao 6baa9b67ad clang-format c++ code 2015-03-17 10:49:39 -07:00
vjpai 7aadf46fdb Change to std::chrono and add a test. 2015-03-17 00:39:18 -07:00