Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
208 commits
Select commit Hold shift + click to select a range
d13663c
[RUNTIME] working client
tengyifei Jun 11, 2016
5163013
refactor to add more tests
tengyifei Jun 13, 2016
da4660c
implement client streaming call
tengyifei Jun 14, 2016
b9afed1
[RUNTIME] unary call API
tengyifei Jun 15, 2016
b6c12ee
[RUNTIME] unary call API
tengyifei Jul 12, 2016
626292a
[wip] refactor into public/private APIs. getting segfault
tengyifei Jun 16, 2016
983c584
fix error
tengyifei Jun 16, 2016
f3e208c
more API refactoring. basic serialization
tengyifei Jun 16, 2016
09ccade
freeing stuff in the right place
tengyifei Jun 16, 2016
328dd64
[RUNTIME] prefix public API with GRPC_
tengyifei Jun 16, 2016
41747ed
[RUNTIME] [wip] async API scaffolding
tengyifei Jun 20, 2016
fa96e2d
[wip] tagging events with grpc_call_set in async
tengyifei Jun 21, 2016
8228cd2
[wip] grpc_call_set -> grpc_call_op_set
tengyifei Jun 21, 2016
b4f4c98
wrapping completion queue
tengyifei Jun 22, 2016
c8b99a4
use GRPC or grpc consistently in a single file
tengyifei Jun 22, 2016
9800227
[RUNTIME] [wip] client async response reader
tengyifei Jun 22, 2016
71a512e
[RUNTIME] working async client unary call API
tengyifei Jun 22, 2016
2435fcd
[RUNTIME] changing header names
tengyifei Jun 23, 2016
7c6dfc0
no internal reference in public headers
tengyifei Jun 23, 2016
a8a1a9c
better naming of functions
tengyifei Jun 25, 2016
3039429
[RUNTIME] implement client streaming blocking call
tengyifei Jun 27, 2016
0811778
Move response from context to call_op_set. Fix #1
tengyifei Jun 27, 2016
8b8189c
[RUNTIME] implement server streaming blocking call
tengyifei Jun 28, 2016
3b4927c
[RUNTIME] implement bidi streaming blocking call
tengyifei Jun 28, 2016
12004a0
reduce code duplication
tengyifei Jun 28, 2016
474b12f
propagate success value
tengyifei Jul 7, 2016
9324622
directory structure
tengyifei Jul 7, 2016
16a54d8
[RUNTIME] project structure for C API
tengyifei Jul 7, 2016
2473670
fix include paths for C src
tengyifei Jul 8, 2016
654da5f
[RUNTIME] generate correct header includes
tengyifei Jul 8, 2016
1d44b3a
[RUNTIME] Generate all client-side API declarations
tengyifei Jul 11, 2016
f0e69a9
delete extra file
tengyifei Jul 11, 2016
7fd1196
extra line in CMakeLists
tengyifei Jul 13, 2016
b4133eb
[wip] Implement unary generic service test. Linker error to be fixed
tengyifei Jul 13, 2016
642e753
[wip] generate projects
tengyifei Jul 13, 2016
47869a3
Add grpc_c target
tengyifei Jul 12, 2016
f468b12
ignore CMake temp files
tengyifei Jul 12, 2016
53ba0be
generate project files
tengyifei Jul 12, 2016
35182d1
Make public headers C89 compliant
tengyifei Jul 13, 2016
5dd8f76
Correctly report failures in status
tengyifei Jul 13, 2016
6b1cd9d
Fix unary test
tengyifei Jul 13, 2016
cf9e3e4
Fix library order in build.yaml
tengyifei Jul 13, 2016
ace9920
Regenerate projects
tengyifei Jul 13, 2016
628ad2c
fix error handling in bidi
tengyifei Jul 13, 2016
be16c60
write tests for all blocking APIs
tengyifei Jul 13, 2016
b7cb793
kill the shutdown_and_destroy function
tengyifei Jul 14, 2016
c8d9a87
unary_end2end_test -> end2end_test
tengyifei Jul 14, 2016
f132283
async unary test
tengyifei Jul 14, 2016
5c58268
GRPC_commit_ops_and_wait -> GRPC_completion_queue_next
tengyifei Jul 14, 2016
02e2c0a
[CODEGEN] Modelling C codegen from C++ codegen
tengyifei Jul 7, 2016
fc1e847
[CODEGEN] generate correct header includes
tengyifei Jul 12, 2016
839887a
[CODEGEN] Generating unary headers. Strip out C++ stuff
tengyifei Jul 9, 2016
557c8c9
[CODEGEN] async unary
tengyifei Jul 9, 2016
dc9a44c
[CODEGEN] async unary
tengyifei Jul 9, 2016
62884db
[CODEGEN] Generate all client-side API declarations
tengyifei Jul 12, 2016
77b0eb6
[CODEGEN] Add back lost comment
tengyifei Jul 11, 2016
da5ca90
Add build.yaml definitions for codegen
tengyifei Jul 14, 2016
68a6eb5
Making APIs more streamlined.
tengyifei Jul 14, 2016
7356dd4
Update build files
tengyifei Jul 14, 2016
3beaeda
Generate C unary client API implementation
tengyifei Jul 14, 2016
5dce3ce
prepare to include nanopb
tengyifei Jul 14, 2016
abc4feb
Add minimal C sample client
tengyifei Jul 7, 2016
2d340f8
ignore generated files in examples
tengyifei Jul 11, 2016
69e95b3
[wip] Incorporate Nanopb and fix generated code
tengyifei Jul 14, 2016
5b62336
small refactoring
tengyifei Jul 14, 2016
93cebee
Fix compilation of example
tengyifei Jul 14, 2016
f2ca920
Generate last bits of glue code for nanopb
tengyifei Jul 14, 2016
7af7764
consistent API
tengyifei Jul 14, 2016
0014854
Refresh builds and tests
tengyifei Jul 14, 2016
8f22f9c
Add pb_compat.c and fix errors there
tengyifei Jul 14, 2016
b09f164
Figure out how to decode strings in nanopb...
tengyifei Jul 15, 2016
0863c35
Working unary call. Fix all memory errors
tengyifei Jul 15, 2016
4a2210e
Check ok status
tengyifei Jul 15, 2016
c9a9fb3
streamline API
tengyifei Jul 15, 2016
242b9c3
Add clean up actions in async
tengyifei Jul 15, 2016
a1994ee
Hook up the other 4 kinds of APIs
tengyifei Jul 15, 2016
bc9a6cb
Add async example
tengyifei Jul 15, 2016
faf051d
Fix bug in async example
tengyifei Jul 15, 2016
6f81210
fix double destroying call bug
tengyifei Jul 15, 2016
eafe793
Add comments to examples
tengyifei Jul 16, 2016
ed98614
Add advanced async client
tengyifei Jul 16, 2016
4a8abdd
comments and cosmetics
tengyifei Jul 18, 2016
38e319e
fix syntax err in generated code
tengyifei Jul 18, 2016
9d11dc9
[wip] C route guide example client
tengyifei Jul 18, 2016
5792c0d
update example .gitignore
tengyifei Jul 18, 2016
5254cf6
Add missing return statements in generated code
tengyifei Jul 19, 2016
fe8645d
port GetOneFeature from C++ examples
tengyifei Jul 19, 2016
295e112
Add some spacing and a missing method
tengyifei Jul 19, 2016
af1895c
Don't be lazy properly generate all function wrappers
tengyifei Jul 19, 2016
077d292
port ListFeatures from C++
tengyifei Jul 19, 2016
b2dee97
Finish route guide example
tengyifei Jul 19, 2016
84b6e1e
more comments
tengyifei Jul 21, 2016
9e0e3bc
Generate proto .c files using nanopb for C targets
tengyifei Jul 21, 2016
65201d3
Rename end2end to generic end2end
tengyifei Jul 21, 2016
cf64991
Structuring new end2end test
tengyifei Jul 21, 2016
b7fe15a
use pbc extension for nanopb
tengyifei Jul 21, 2016
07d37f9
Structuring new end2end test
tengyifei Jul 21, 2016
3933a55
Include headers of dependencies when compiling service definition
tengyifei Jul 23, 2016
bce4ac1
Got first C test involving codegen compiling
tengyifei Jul 23, 2016
e1e0bdc
Regenerate build files
tengyifei Jul 23, 2016
f869141
Recursively add dependencies
tengyifei Jul 23, 2016
8ba447d
[wip] adding empty C test impl
tengyifei Jul 23, 2016
9aa7e74
Add unary end2end test
tengyifei Jul 23, 2016
89201f0
implement client streaming end2end test
tengyifei Jul 23, 2016
f0d3e44
implement server streaming end2end test
tengyifei Jul 23, 2016
7fe9426
implement bidi streaming end2end test
tengyifei Jul 23, 2016
791b8ec
commenting
tengyifei Jul 23, 2016
b5167a7
implement async unary end2end test
tengyifei Jul 23, 2016
ce4d81b
Make grpc_ensure_grpc_init thread-safe
tengyifei Jul 25, 2016
1d3e45f
use designated initializers
tengyifei Jul 25, 2016
06e7d44
Compile proto files first before building C code which depends on them
tengyifei Jul 25, 2016
fa4dc2d
Regenerate build files
tengyifei Jul 25, 2016
55357db
use full paths for includes
tengyifei Jul 25, 2016
18824ee
remove useless files
tengyifei Jul 25, 2016
167ff7f
Remove duplicate status code header
tengyifei Jul 25, 2016
80e7751
Regenerate project
tengyifei Jul 25, 2016
eb8219d
various fixes
tengyifei Jul 25, 2016
0c270e0
Move id_serialization away
tengyifei Jul 25, 2016
2590929
Regenerate projects
tengyifei Jul 25, 2016
6cde99e
Use C99 for public gRPC-C headers
tengyifei Jul 26, 2016
e2bc247
Regenerate projects after rebase
tengyifei Jul 26, 2016
117d33b
Move codegen headers
tengyifei Jul 26, 2016
05d22fb
Modify the C codegen to make it GCC 4.4 compatible
tengyifei Jul 27, 2016
fe2e9fa
build nanopb before using it
tengyifei Jul 27, 2016
47112a5
use iterator instead of range-based for loops to work with gcc 4.4
tengyifei Jul 27, 2016
3bf8e3a
search for protoc and feed it to nanopb
tengyifei Jul 27, 2016
6330f6a
Alternative way to build nanopb files.
nicolasnoble Jul 27, 2016
3d93e47
Merge pull request #1 from nicolasnoble/nanopb-building
tengyifei Jul 27, 2016
7fc4505
use our nanopb make rules instead of the one in nanopb module
tengyifei Jul 27, 2016
f6d4f6d
ensure protoc is ready
tengyifei Jul 27, 2016
d073254
[wip] resolve more portability issues and make serialization pluggable
tengyifei Jul 29, 2016
b3a433f
fix syntax errors
tengyifei Jul 29, 2016
ea25445
commenting
tengyifei Jul 29, 2016
e5b50f8
fix bug when service declaration is split across different files
tengyifei Jul 29, 2016
6dec840
stop including nanopb in generated files
tengyifei Jul 29, 2016
6002df0
fix more portability issues stemming from typedef redefinitions
tengyifei Jul 29, 2016
d04eeab
clean up and retrigger crashed jenkins
tengyifei Jul 29, 2016
4e2958e
Don't use compound literals (C99 only) in C++ code
tengyifei Jul 29, 2016
a5bd817
No need to std::move thread. vector is move-aware
tengyifei Jul 29, 2016
414bde8
Remove lambda for GCC 4.4
tengyifei Jul 29, 2016
3eefebf
use std::ref to indicate references
tengyifei Jul 29, 2016
8fedab1
gcc 4.4 compat
tengyifei Jul 29, 2016
bb5d61c
give up using c++ random numbers. use C instead
tengyifei Jul 29, 2016
7aa02c4
Ensure nanopb prerequisites for the 'all' and 'test' targets
tengyifei Aug 1, 2016
97fd5f3
Fix shell syntax error.
tengyifei Aug 1, 2016
a45b7e6
correct mktemp usage for OS X
tengyifei Aug 1, 2016
5c04f65
Don't use expressions with side-effects in macros
tengyifei Aug 1, 2016
6b96a23
fix include guards as indicated by sanity check
tengyifei Aug 1, 2016
e3cad4a
clang-format
tengyifei Aug 1, 2016
e90101d
Merge remote-tracking branch 'grpc/master' into c-api-client
tengyifei Aug 1, 2016
45b8fa8
use INTERNAL in impl headers to prevent collision
tengyifei Aug 1, 2016
8b0ec25
trying to fix OS X portability failure
tengyifei Aug 2, 2016
ff1c3cb
Fix for sanity check
tengyifei Aug 2, 2016
a6354d4
more fixes for sanity
tengyifei Aug 2, 2016
5af0185
even more fixes for sanity
tengyifei Aug 2, 2016
b426871
install python-protobuf on macOS jenkins instance before testing
tengyifei Aug 2, 2016
46a8314
correct handling of gRPC C API files in sanity header checks
tengyifei Aug 2, 2016
ae7fc54
fix macOS jenkins build
tengyifei Aug 2, 2016
05f4a26
Compiling protobuf twice to enable msan in C++, and let cross compila…
nicolasnoble Aug 3, 2016
5df0923
[makefile] POSIX-compliant scripting and handling some race conditions
tengyifei Aug 3, 2016
0673c41
Merge remote-tracking branch 'nicolas/msan-for-c++' into c-api-client
tengyifei Aug 3, 2016
63dba23
fix run_test targets on systems without protobuf-python
tengyifei Aug 3, 2016
d7d476b
fix a memory leak. free byte_buffer allocated by us
tengyifei Aug 3, 2016
2c82278
fix a heap-use-after-free in completion queue
tengyifei Aug 3, 2016
9de4ea8
fix a heap-buffer-overflow and use C++ syntax in generic C test
tengyifei Aug 3, 2016
f982393
try to fix
tengyifei Aug 4, 2016
6b7b5bb
try to fix macOS python build error
tengyifei Aug 4, 2016
da59e42
More portable shell script in Makefile
tengyifei Aug 4, 2016
e8f8ea2
More portable shell script in Makefile
tengyifei Aug 4, 2016
cc6a8b8
[wip] adding server files and refactoring out useless parameters
tengyifei Aug 8, 2016
47822e8
[wip] adding server context
tengyifei Aug 8, 2016
36a39cf
Fix compilation warnings
tengyifei Aug 8, 2016
f5aa1c1
ditch non-standard usage of C
tengyifei Aug 9, 2016
ab2571b
[wip] unary async server
tengyifei Aug 9, 2016
97471c1
ignore nanopb generated files in clang-format
tengyifei Aug 9, 2016
9fc0dc9
add server C API mock example
tengyifei Aug 10, 2016
97f12ed
[wip] server data structures
tengyifei Aug 10, 2016
c30fc0b
build files
tengyifei Aug 10, 2016
efdea96
[wip] server unary async call
tengyifei Aug 11, 2016
7ce1897
clang formatting
tengyifei Aug 11, 2016
29e22ee
[wip] almost hooking up unary async
tengyifei Aug 12, 2016
03851b6
build files
tengyifei Aug 12, 2016
2ac1479
[wip] fixed all compilation errors
tengyifei Aug 12, 2016
797bd6d
server almost working
tengyifei Aug 13, 2016
7e0e1ab
basic server case working. need to investigate race condition
tengyifei Aug 13, 2016
66c88ee
fix GCC 4.4 compatibilty
tengyifei Aug 15, 2016
7edcd24
clang-format
tengyifei Aug 15, 2016
a6f7e88
fix sanity
tengyifei Aug 15, 2016
11c6035
Use fixed nanopb venv path to prevent racy make
tengyifei Aug 15, 2016
d65b20b
[wip] c target => core
tengyifei Aug 15, 2016
f0c1498
[wip] run_tests script aware of core
tengyifei Aug 15, 2016
edfe6b7
migrated all tests from c to core
tengyifei Aug 15, 2016
5c72cdc
[wip] first C server test but crashing
tengyifei Aug 16, 2016
13d7a83
comment
tengyifei Aug 16, 2016
6afc935
fix array bug, naming, and resource leaks
tengyifei Aug 17, 2016
8f8ee59
fix one more memleak
tengyifei Aug 17, 2016
6062cd0
commenting
tengyifei Aug 17, 2016
b39540d
formatting
tengyifei Aug 17, 2016
6421ff4
try reduce merge conflict
tengyifei Aug 17, 2016
ee9174d
Merge remote-tracking branch 'grpc/master' into c-api-server
tengyifei Aug 17, 2016
e81a651
Merge remote-tracking branch 'makdharma/cronet_e2e_take2' into c-api-…
tengyifei Aug 17, 2016
a545fef
fix test
tengyifei Aug 17, 2016
381fc66
Merge remote-tracking branch 'grpc/master' into c-api-server
tengyifei Aug 18, 2016
3b33bfc
managed port for c test
tengyifei Aug 18, 2016
4c3d5c1
make a clean merge of build.yaml
tengyifei Aug 18, 2016
c83fa8a
fix visual studio compilation
tengyifei Aug 18, 2016
ec94dce
fix warning on osx
tengyifei Aug 19, 2016
bc1bb4f
some final touchups before I leave...
tengyifei Aug 19, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,12 @@ artifacts/
# Git generated files for conflicting
*.orig

CMakeCache.txt
CMakeFiles
CMakeScripts
cmake_install.cmake
install_manifest.txt
CTestTestfile.cmake

# IDE specific folder for JetBrains IDEs
.idea/
Loading