Craig Tiller
dbb5164ac7
[clang-format] Remove custom clang-format rules for include ordering ( #37820 )
...
Closes #37820
PiperOrigin-RevId: 682352913
5 months ago
Mark D. Roth
f6c57b6384
[reorg] move a bunch of stuff to src/core/util ( #36792 )
...
The following files have been moved:
- src/core/lib/avl/*
- src/core/lib/backoff/*
- src/core/lib/debug/event_log*
- src/core/lib/iomgr/gethostname*
- src/core/lib/iomgr/grpc_if_nametoindex*
- src/core/lib/matchers/*
- src/core/lib/uri/* (renamed from uri_parser.* to uri.*)
- src/core/lib/gprpp/* (existing src/core/util/time.cc was renamed to gpr_time.cc to avoid conflict)
Closes #36792
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36792 from markdroth:reorg_util d4e8996f48
PiperOrigin-RevId: 676947640
5 months ago
Nathan Baulch
bdf52dd4ad
Fix more minor typos ( #37541 )
...
Just thought I'd contribute some more typo fixes I've stumbled upon. This is a followup on #37450 .
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:
* compressable (134)
* existant (82)
* unparseable (49)
* occured (24)
* replys (18)
* validing (17)
* writter (16)
* vaidate (9)
* directoty (8)
* convertabl (8)
* atrributes (8)
* indxes (8)
* transfered (7)
* exchage (7)
* descedent (6)
* enpoint (6)
* nonexistant (6)
* matadata (6)
* addtional (5)
* callack (5)
* experenced (5)
* wil (5)
Closes #37541
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/37541 from NathanBaulch:typos 7cbfc121ed
PiperOrigin-RevId: 675772876
5 months ago
Tanvi Jagtap
3c928436b4
[Gpr_To_Absl_Logging] Remove logging header from example and test/cpp folder ( #37488 )
...
[Gpr_To_Absl_Logging] Remove logging header from example and test/cpp folder
Closes #37488
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/37488 from tanvi-jagtap:remove_header_examples 1423ee77ff
PiperOrigin-RevId: 663597077
6 months ago
Mark D. Roth
fe817c8ab1
[reorg] move lib/json -> util/json ( #36645 )
...
Closes #36645
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36645 from markdroth:reorg_json 5b6434dd44
PiperOrigin-RevId: 636757495
9 months ago
Mark D. Roth
178c63aae7
[channelz] modernize channel trace test ( #36582 )
...
This cleans up the channel trace test to provide better output when tests fail, which will help diagnose the problem with b/339066599.
Closes #36582
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36582 from markdroth:channelz_test_fix fd287182ad
PiperOrigin-RevId: 633358151
9 months ago
Craig Tiller
b0cf42d86e
[clang-format] Remove requirement that port_platform.h is at the top ( #36281 )
...
Closes #36281
PiperOrigin-RevId: 623176865
11 months ago
Mark D. Roth
1432fe4e4c
[JSON] make API public but experimental ( #32987 )
...
This makes the JSON API visible as part of the C-core API, but in the
`experimental` namespace. It will be used as part of various
experimental APIs that we will be introducing in the near future, such
as the audit logging API.
2 years ago
Mark D. Roth
36d2716d52
[JSON] move Parse() and Dump() methods out of JSON object ( #32742 )
...
More prep for making this a public API.
2 years ago
Mark D. Roth
656e5f283b
[JSON] use updated style for enum values ( #32741 )
...
More preparation for making this a public API.
2 years ago
Mike Kruskal
b7e430174b
Fix unused variable warning ( #32616 )
2 years ago
Craig Tiller
67f364e23e
[cleanup] Eliminate usage of GRPC_ASSERT(false...); ( #31757 )
...
* crash function
* progress
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fixes
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* fix
* fix
* use cpp attr
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix
* fix
* add exclusion
* fix
* typo
* fix
* fmt
* Update tcp_socket_utils.cc
* Automated change: Fix sanity tests
* fix
* revert php changes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years 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
a192f155b9
Remove `include/grpcpp/impl/codegen/config.h` ( #31061 )
...
* Remove `include/grpcpp/impl/codegen/config.h`
* Update
2 years ago
Mark D. Roth
536b9351ec
JSON: use absl::Status instead of grpc_error ( #30397 )
...
* JSON: use absl::Status instead of grpc_error
* Automated change: Fix sanity tests
* fix credentials_test
* fix tests
* add missing build dep
* fix build
* fix test
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
4 years ago
Esun Kim
460898f11c
Migrated from grpc_error_string to grpc_error_std_string ( #26068 )
...
* Added grpc_error_std_string
* Migrated to grpc_error_std_string
4 years ago
Esun Kim
ca945a58e9
Introduced grpc_error_handle ( #25902 )
...
- Define grpc_error_handle
- Replace grpc_error* with grpc_error_handle
4 years ago
Esun Kim
165ee5007a
Replaced grpc::string with std::string
5 years ago
Mark D. Roth
bc5e3fb661
Convert channelz code to use new JSON API
5 years ago
ncteisen
82171553cf
clang fmt
6 years ago
ncteisen
fa74259769
Reintroduce commented debugging tips
6 years ago
ncteisen
632aa8125f
reintroduce anon namespace
6 years ago
ncteisen
c215e8e359
Fix internal build
6 years ago
xichengliudui
8548a932fb
Update .cc and .md files
6 years ago
ncteisen
693f46841a
Add GetServer to core
6 years ago
ncteisen
3aa987a29a
Add channelz server support
7 years ago
ncteisen
bbee13661c
Add channelz subchannel support
7 years ago
ncteisen
b86a744751
Expose GetChannel and GetTopChannels Core API
7 years ago
ncteisen
97066fd0e4
Support for GetTopChannels
7 years ago
ncteisen
9a1bb05181
Build out the channelz unit test
7 years ago
ncteisen
c3c6e064b3
Add basic support for GetChannel
7 years ago
ncteisen
b69f1f6aac
Update channelz proto
7 years ago
ncteisen
3b42f83068
Revert "Revert "Channel Tracing Implementation; Part 1""
...
This reverts commit f2bea3725f
.
7 years ago
Noah Eisen
f2bea3725f
Revert "Channel Tracing Implementation; Part 1"
7 years ago
ncteisen
09703ea300
Add severity
7 years ago
ncteisen
97a3dbeb36
Move C++ to util, call it from core test
7 years ago
ncteisen
568a95e0b4
Make test work
7 years ago
ncteisen
503099b1cc
Redoing render, about to take things away
7 years ago
ncteisen
07ed0396a9
Add JsonProtoTest
7 years ago