Esun Kim
544deed283
Add absl::Status support to lockfree_event & call_combiner ( #27362 )
...
* Add absl::Status support to lockfree_event & call_combiner
* Revert "Add absl::Status support to lockfree_event & call_combiner"
This reverts commit 7e6823815e
.
* Use StatusAllocHeapPtr for call_combiner and lockfree_event
* Update by review
3 years ago
Craig Tiller
1df153f46e
Revert "Revert "Move metadata setting into HPackParser ( #27545 )" ( #27686 )" ( #27688 )
...
This reverts commit 0e6ced8800
.
3 years ago
Craig Tiller
0e6ced8800
Revert "Move metadata setting into HPackParser ( #27545 )" ( #27686 )
...
This reverts commit f57a1f7d8c
.
3 years ago
Craig Tiller
f57a1f7d8c
Move metadata setting into HPackParser ( #27545 )
...
* forward work to get append, limit check into parser
* further cleanup
* Remove chttp2_incoming_metadata_buffer
* Automated change: Fix sanity tests
* test fixes
* fix cronet
* wip
* first pass mementofication of parsing - libgrpc compiles
* further progress
* fixes
* fixes
* fix leak
* Automated change: Fix sanity tests
* fix leak
* fixes
* x
* improve fuzzer
* init ordering fix
* Update hpack_parser_table.h
* Update hpack_parser.cc
* Update hpack_parser_test.cc
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* i mustache myself why
* fix use after free
* Automated change: Fix sanity tests
* fixes
* eliminate second pass metadata - this is an illegal frame and fails the new parser
* handle mementos with size > sizeof(intptr_t)
* fix
* add parsed metadata header, test
* Automated change: Fix sanity tests
* fix includes
* phase1
* phase2
* Update parsed_metadata.h
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
d1e01ac139
Add a test for a (now-illegal) build file construct ( #27602 )
...
* Add a test for a (now-illegal) build file construct
* add to test suite!
* fix
* fix
* fix syntax
3 years ago
Craig Tiller
851517078f
Fix fuzzer found bug in chunked vector ( #27566 )
...
* Fix fuzzer found bug in chunked vector
* Update chunked_vector.h
3 years ago
Craig Tiller
253d7076fc
Chunked vector type ( #27517 )
...
* chunked vector type
* Automated change: Fix sanity tests
* compile fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
91a2db9bc2
Make deadline the first metadata trait ( #27468 )
3 years ago
Craig Tiller
d2de5fe24b
Expand Table, BitSet API's ( #27465 )
...
* Expand Table, BitSet API's
Add a population count to BitSet, use it to add a count() method to
Table to get the number of fields set.
Add a ForEach to Table so that it can be iterated
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@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.
3 years ago
Craig Tiller
bb4311baed
Add a utility to capture arguments by move even in C++11 ( #26923 )
...
* Add a utility to capture arguments by move even in C++11
* add test
* Automated change: Fix sanity tests
* missing file
* Automated change: Fix sanity tests
* better test
* Automated change: Fix sanity tests
* fmt
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
a989e0bfb5
Table type ( #26698 )
...
* first pass table type
* indexed table with comments
* clang-tidy
* build stuff
* sanity fixes
* fixes for clang4
* add tests for size
* build fixes
* Add port_platform-only library
* remove port_platform exceptions
* merge new port_platform lib
* Add a bitset abstraction
* set(bool)
* bitset integration
* fixup test
* all or nothing
* comments, clangfmt
* add bitset tests
* add bitset tests
* merge stuff
* clang-tidy
* add c++ attribute detection
* use macro
* fmt
* typo
* exclude test from windows
3 years ago
Craig Tiller
0e6fe3f42c
Bitset ( #26716 )
...
A simple bitset type -- to replace `std::bitset` usage in #26698 and #26254
`std::bitset` uses at least 64 bits even to store two bits, and the usages I'm looking at would benefit from having something smaller in those circumstances
3 years ago
Craig Tiller
0bd70a7e3e
Add Match/Overload abstractions ( #26640 )
...
* match/overload abstraction
* update projects
* match should really not accept mutable args
* typo
* tests
* usage comment
* mutable version
* build stuff
* clang-format
* add an escape hatch to avoid needing port_platform.h in files that do not need port_platform.h
* unused args
* Make it possible for a test to not depend on gpr
* add tests
* compile fix
* sepelling
3 years ago
Esun Kim
7977494d02
Add time property to status_helper ( #26099 )
4 years ago
Esun Kim
f27a41db43
Added GRPC_ERROR_IS_ABSEIL_STATUS ( #26078 )
...
Added GRPC_ERROR_IS_ABSEIL_STATUS
4 years ago
Esun Kim
2d8936b097
Added status_helper ( #25901 )
...
Added status_util
4 years ago
Mark D. Roth
e4071fc20c
allow RefCounted<> to be used for objects allocated on the arena ( #25848 )
4 years ago
Esun Kim
0cf94e3fdd
Add time-util
4 years ago
Esun Kim
be761cd430
Fixed sign-compare warnings
4 years ago
Esun Kim
e0d8c498a6
C++ cast for others
4 years ago
Esun Kim
2ff84ed8c2
C++ cast for void*
4 years ago
Esun Kim
ec0b88a5d7
Fix google-readability-casting
4 years ago
Esun Kim
4c37a5003d
Disable debugging-test when running with MUSL
4 years ago
Esun Kim
b85e2ebc8f
Disable debugging-test in Release
4 years ago
Esun Kim
f3e75c1fa9
Add stack-tracer to gRPC
4 years ago
ZhenLian
d5d35650b0
add API to get last modification time of a file
4 years ago
Esun Kim
e7434d385e
Fix by tidy-modernize-use-override
4 years ago
Esun Kim
c08f33c437
Fix clang-tidy errors
4 years ago
Mark D. Roth
844d599356
Improve ref-count tracing.
4 years ago
Mark D. Roth
98841a990d
Implement DualRefCounted interface for objects needing strong and weak refs.
4 years ago
Mark D. Roth
0db7ea4196
Change RefIfNonZero() to return a RefCountedPtr<>.
4 years ago
Mark D. Roth
5369864a86
Allow RefCounted<> objects to defer deletion from Unref().
4 years ago
Mark D. Roth
c769951764
Remove deprecated variant of JoinHostPort().
5 years ago
Mark D. Roth
d74548e611
Remove StringViewToCString() and src/core/lib/gprpp/string_view.h
5 years ago
Mark D. Roth
fc6f26c89b
Remove grpc_core::StringView.
5 years ago
Mark D. Roth
09b42371e7
Remove grpc_core::InlinedVector<> and grpc_core::Optional<>.
5 years ago
Esun Kim
b308241343
Fix clang-tidy issues
5 years ago
Esun Kim
7a14955759
Replaced grpc_core::MakeUnique with absl::make_unique
5 years ago
Esun Kim
ed44a1f430
Clean up grpc_core::MakeUnique
5 years ago
Yash Tibrewal
ade0c98e87
Fix grpc_core::Optional
5 years ago
Juanli Shen
2693d34c30
Make StringView cmp compatible with absl
5 years ago
Esun Kim
e8863d0064
Fix new & delete match
5 years ago
Esun Kim
e45b60d1fe
Fix unique_ptr<char> memory allocation mismatch
5 years ago
Esun Kim
b2b7fc9af8
Replaced grpc_core::UniquePtr with std::unique_ptr
5 years ago
Esun Kim
3a519a0b64
Replaced grpc_core New & Delete with C++ new & delete
5 years ago
Richard Belleville
44e1da8869
Re-add load
5 years ago
Esun Kim
de81f120b2
Abseilify StringView
5 years ago
Lidi Zheng
c34bef4ca4
Format all Bazel files with buildifier
5 years ago
Richard Belleville
444d5b7760
Revert "Reuse the definition already in the bazel/ directory"
...
Turns out that putting this in the main build definition starklark file
means that our users will also incur a dependency on the repo rule.
That's no bueno.
This reverts commit 78e443b4f6
.
5 years ago