Commit Graph

46 Commits

Author SHA1 Message Date
Craig Tiller d1dd3a68a2 Merge pull request #2117 from dgquintas/bb_from_bbreader
Introduced function to create byte buffers from the output of a byte buffer reader.
2015-07-05 13:30:39 -07:00
David Garcia Quintas 3df5c44c84 Introduced function to create byte buffers from the output of a byte buffer reader. 2015-06-17 18:33:24 -07:00
Craig Tiller 9a57633233 clang-format affected files 2015-06-17 10:21:49 -07:00
Craig Tiller bf8ac3f406 Merge branch 'you-complete-me' into we-dont-need-no-backup 2015-06-17 09:15:48 -07:00
David Garcia Quintas 1d5aca5de0 Added flags support to grpc_op.
Which includes its propagation to grpc_ioreq and validation mechanisms for checking that only known bits are set ot in).
Also added an internal flag (GRPC_WRITE_INTERNAL_COMPRESS) mask for its use in signaling compressed messages.
2015-06-14 14:42:04 -07:00
Craig Tiller 4671122995 Merge branch 'you-complete-me' into we-dont-need-no-backup 2015-06-09 22:59:31 -07:00
David Garcia Quintas 59f905d79a Changes to byte_buffer based on comments. 2015-06-08 20:06:17 -07:00
David Garcia Quintas 25d02d5637 Made grpc_byte_buffer_reader able to decompress msgs. 2015-06-05 16:34:33 -07:00
Craig Tiller 2c42ef3eb3 Merge github.com:grpc/grpc into we-dont-need-no-backup 2015-06-05 07:09:56 -07:00
Craig Tiller 669c139a4a Merge pull request #1866 from dgquintas/stack-allocate-bb-reader
Removed grpc_byte_buffer_reader_{create,destroy}.
2015-06-02 16:59:00 -07:00
Craig Tiller 79e11c6d05 Merge github.com:grpc/grpc into we-dont-need-no-backup 2015-06-02 12:56:26 -07:00
David Garcia Quintas 30bd4eb5cc Removed grpc_byte_buffer_reader_{create,destroy}.
Introduced grpc_byte_buffer_init instead. It's now the user's responsibility to
manage memory.
2015-06-01 21:20:47 -07:00
Craig Tiller c0c484481f Extend the test case 2015-06-01 20:04:36 -07:00
Craig Tiller 59657dbef8 Add a completion queue test
- create completion queue
- call shutdown
- call next
2015-06-01 20:01:15 -07:00
Craig Tiller 44883302c3 Remove condition variable from pollset 2015-05-28 12:44:27 -07:00
Craig Tiller 356961916d Remove all uses of __FUNCTION__ 2015-05-24 15:00:37 -07:00
Craig Tiller f7670f3054 Clean out old code 2015-05-11 09:13:01 -07:00
Craig Tiller 64be9f7a30 C Core API cleanup.
Simplify grpc_event into something that can be non-heap allocated.
Deprecate grpc_event_finish.
Remove grpc_op_error - use an int as this is more idiomatic C style.
2015-05-04 14:53:51 -07:00
Craig Tiller 5fe7e5d81c Fix some memory leaks 2015-05-01 10:52:35 -07:00
Craig Tiller f968980665 Fix cq test 2015-04-29 14:23:03 -07:00
Craig Tiller 2365c7d467 Fix lame client test 2015-04-29 13:55:47 -07:00
Craig Tiller 6902ad2e9c Switching to batch oriented metadata passing 2015-04-16 14:22:28 -07:00
Craig Tiller 29f1314282 Merge github.com:grpc/grpc into credit 2015-02-26 11:23:01 -08:00
Craig Tiller 8ad8a41a84 Introduce slowdown factor for unit test deadlines
Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
2015-02-25 08:36:40 -08:00
Craig Tiller 42bc87c097 Update C++ server with new core API
And reflects the C++ API in ServerBuilder.
2015-02-23 09:58:23 -08:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Craig Tiller 2d9c51242a Add mixed shutdown/init test 2015-02-17 11:41:46 -08:00
Craig Tiller 35108f6527 Allow grpc_init to be called multiple times 2015-02-17 11:24:15 -08:00
Craig Tiller 40d2a4307b Merge branch 'async-api-prep' of github.com:ctiller/grpc into async-api 2015-02-02 15:29:14 -08:00
Craig Tiller a7cac78516 Prepare for the new batch call API.
Rename all core API functions that are on their way to deprecation with
an _old tag across all wrappings.
2015-02-02 10:16:30 -08:00
Craig Tiller 1e0d4c43d1 Rename & semantic fixup progress 2015-01-30 16:17:29 -08:00
Craig Tiller 44c02738ed Merge github.com:google/grpc into async-api
Conflicts:
	test/core/echo/echo_test.c
2015-01-29 21:01:47 -08:00
Nicolas "Pixel" Noble 213ed91850 Re-enabling errors on warning, disabling unused parameter warning, and fixing all subsequent errors. 2015-01-30 02:11:35 +01:00
Craig Tiller cce17ac033 First compiling version of the new C api. 2015-01-27 13:54:14 -08:00
Yang Gao 5fd0d29dfe run clang-format 2015-01-26 00:19:48 -08:00
Craig Tiller 8379a06f8d Merge branch 'new_invoke_api' of github.com:google/grpc into update-api
Conflicts:
	src/cpp/client/channel.cc
	src/cpp/stream/stream_context.cc
	src/cpp/stream/stream_context.h
	src/php/ext/grpc/call.c
	test/core/end2end/tests/max_concurrent_streams.c
2015-01-20 22:43:32 -08:00
Craig Tiller ecd49345b5 Use clang-format-3.5 2015-01-18 14:36:47 -08:00
Craig Tiller c8c8bfa403 Merge branch 'new_invoke_api' of github.com:google/grpc into update
Conflicts:
	src/core/surface/call.c
	test/core/end2end/tests/thread_stress.c
	tools/run_tests/run_tests.py
2015-01-15 22:57:02 -08:00
Craig Tiller 32946d37e0 () --> (void) 2015-01-15 11:37:30 -08:00
Craig Tiller 40fc7a6632 clang-format codebase 2015-01-13 16:11:58 -08:00
Craig Tiller 375605b65f Merge github.com:google/grpc into api 2015-01-13 16:11:30 -08:00
Craig Tiller 80fa15c151 Moving prototype from Google to GitHub
I'd started some prototyping work on this change before the move to
GitHub; this change restores things.
2015-01-13 16:10:49 -08:00
Craig Tiller b5dcec5a2e clang-format codebase 2015-01-13 11:13:42 -08:00
ctiller 18b49ab914 Introducing iomgr.
Move eventmanager and platform dependent endpoint functionality into a single
library called 'iomgr'.

This is primarily to prepare for a Windows port - where posix socket semantics
lead to poor quality code.

Mostly this is a code movement CL, with some small changes to help prepare the
way for porting:

- em style fd objects can only be held internally in iomgr, and own their memory
- added grpc_iomgr_create_endpoint_pair() to accomodate the common pattern of
creating a tcp endpoint from the output of socketpair - this will help keep
our tests portable
- separated em alarm interface into a separate file, as this part of event
manager is needed higher up the stack
- made the eventmanager bits a true singleton, simplifying API's across the
stack as there's no longer a reason to carry a pointer there.

Initial design document is here:
https://docs.google.com/document/d/1VmafcHvvrP5kwtQkz84R5yXF7u7fW-9Pn0bkSUQHDt8/edit?disco=AAAAARNByxg
	Change on 2014/12/09 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81716456
2014-12-09 16:20:55 -08:00
Nicolas Noble b7ebd3b8c6 Initial import. 2014-11-26 16:33:03 -08:00