Craig Tiller
dbb5164ac7
[clang-format] Remove custom clang-format rules for include ordering ( #37820 )
...
Closes #37820
PiperOrigin-RevId: 682352913
2 months ago
Nathan Baulch
ccd250aa70
Fix minor typos ( #37450 )
...
Just thought I'd contribute some typo fixes I stumbled upon. Nothing controversial (hopefully), just 74 simple fixes.
Use the following command to get a quick and dirty summary of the specific corrections made:
```shell
git diff HEAD^! --word-diff-regex='\w+' -U0 \
| grep -E '\[\-.*\-\]\{\+.*\+\}' \
| sed -r 's/.*\[\-(.*)\-\]\{\+(.*)\+\}.*/\1 \2/' \
| sort | uniq -c | sort -n
```
FWIW, the top typos are:
* satisifed (8)
* uncommited (7)
* tranparent (7)
* expecially (3)
* recieves (3)
* correponding (2)
* slighly (2)
* wierdly (2)
Closes #37450
PiperOrigin-RevId: 665459663
3 months ago
Tanvi Jagtap
0b30791867
[Gpr_To_Absl_Logging] Remove gpr logging header include from other headers ( #37513 )
...
[Gpr_To_Absl_Logging] Remove gpr logging header include from other headers
Some of the cc files are using gpr_log_verbosity_init() functions.
So I removed the #include <grpc/support/log.h> from all headers and put it selectively only in the cc files that used gpr_log_verbosity_init()
Closes #37513
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/37513 from tanvi-jagtap:remove_gpr_headers_from_headers_01 612ca6d0f7
PiperOrigin-RevId: 663811895
3 months ago
Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2 years ago
Cheng-Yu Chung
e28419f1f9
[cleanups] Remove `class CoreCodegen` and `g_core_codegen_interface` ( #31875 )
...
* Delete `g_core_codegen_interface`
* Automated change: Fix sanity tests
* Fix
* Update
2 years ago
Cheng-Yu Chung
f03304b963
[cleanups] Remove functions in `class CoreCodegen` ( #31837 )
...
* Clean up `assert_fail()`
* Clean up `ok()` and `cancel()`
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
1d968a36aa
Remove functions in `class CoreCodegen` ( #31767 )
...
* Clean up `grpc_byte_buffer_copy()`
* Clean up `grpc_byte_buffer_destroy()`
* Clean up `grpc_byte_buffer_length()`
* Clean up `grpc_byte_buffer_reader_init()`
* Clean up `grpc_byte_buffer_reader_destroy()`
* Clean up `grpc_byte_buffer_reader_next()`
* Clean up `grpc_byte_buffer_reader_peek()`
* Clean up `grpc_raw_byte_buffer_create()`
* Clean up `grpc_slice_new_with_user_data()`
* Clean up `grpc_slice_new_with_len()`
* Clean up `grpc_call_start_batch()`
* Clean up `grpc_call_cancel_with_status()`
* Clean up `grpc_call_failed_before_recv_message()`
* Clean up `grpc_call_ref()`
* Clean up `grpc_call_unref()`
* Clean up `grpc_call_error_to_string()`
* Fix typos
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
3236174176
Remove `include/grpcpp/impl/codegen/byte_buffer.h` ( #30948 )
...
* Remove `include/grpcpp/impl/codegen/byte_buffer.h`
* Update
2 years ago
Craig Tiller
28316341bf
Annotate impl/codegen with IWYU pragmas ( #27252 )
...
* Add a tool to annotate impl/codegen with IWYU pragmas
* xx
* oops
* fmt
* x
* fix wrong direction bug
* use defaultdict
* better annotations
* better annotations
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
7 years ago
Vijay Pai
efce6e1e50
Revert "Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer""
7 years ago
Jan Tattermusch
5432dd8874
Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer"
7 years ago
Vijay Pai
677395558d
Allow SerializationTraits to use grpc::ByteBuffer, not just grpc_byte_buffer
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Craig Tiller
62f28bfcf0
Remove double-checking of max-message-size in C++ layers
8 years ago
Vijay Pai
c0b2acb1a0
Use C++11 final and override
8 years ago
Mark D. Roth
6980362c4e
Allow setting max send message size via C++ ServerBuilder API.
8 years ago
Mark D. Roth
2665bdd6d2
Reduce allocations associated with src/cpp/util/byte_buffer.cc.
8 years ago
David Garcia Quintas
6721d4f0f1
Return success status of grpc_byte_buffer_reader
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
f40df23eeb
Auto-changes
9 years ago
yang-g
f64befd27f
Make a copy of ByteBuffer when writing
9 years ago
David Garcia Quintas
2bf574f814
Added back trailing newlines
9 years ago
Craig Tiller
754bd26e28
clang-format code
9 years ago
murgatroid99
eeb02ba77a
Update copyrights again
9 years ago
Vijay Pai
b30bc2aad6
Remove dead code and a thus unneeded change to C++ bbuf
9 years ago
vjpai
de332dfcac
Refactor server side to support generic tests.
9 years ago
Vijay Pai
18c0477528
Got rid of all compilation problems, now need to test
9 years ago
vjpai
b6df94ad22
WIP
9 years ago
yang-g
bd89dd8381
remove log spam
9 years ago
Craig Tiller
d6599a39e4
Replicate C++ docs from master to beta branch
...
Original PR #3074 by @dgquintas
9 years ago
Craig Tiller
00ad71c135
Revert "C++ docs"
9 years ago
David Garcia Quintas
c5318a2aa7
MOAR COMMENTS
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
Craig Tiller
d6c98df792
clang-format all source
9 years ago
Yang Gao
89c5a56233
Add const to ByteBuffer methods and add tests
10 years ago
David Garcia Quintas
59f905d79a
Changes to byte_buffer based on comments.
10 years ago
Craig Tiller
bd277cb3cb
Clarify serialization traits interface
10 years ago
Craig Tiller
4beef42264
Clarify ownership
10 years ago
Craig Tiller
ce40de58da
clang-format
10 years ago
Craig Tiller
789471cfc6
Client side compiles/links
10 years ago
Craig Tiller
50a7a68ca2
Progress commit on fixing up C++
10 years ago
Yang Gao
6baa9b67ad
clang-format c++ code
10 years ago
Yang Gao
61c413182d
initial imple of byte buffer and slice
10 years ago
Yang Gao
5f4539f4e8
Service side should be done, it builds and existing tests pass
10 years ago
Craig Tiller
db57c4f574
First pass user-facing anonymous stub&service API
10 years ago
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
Craig Tiller
573523f127
clang-format
10 years ago
Craig Tiller
df2c957eee
Fix compile error
10 years ago