Craig Tiller
93b944785c
stream_op cleanup: test fixes and updates
9 years ago
Craig Tiller
4dbdd6a5c2
Remove metadata canonicalization, and fix some bugs
9 years ago
Craig Tiller
a82950e683
clang-format all core files
9 years ago
Craig Tiller
45724b35e4
indent pass to get logical source lines on one physical line
9 years ago
Craig Tiller
6a6b36c503
Enable -Wconversion
9 years ago
Craig Tiller
f96dfc3cf8
First round of fixing up implicit 64->32 bit conversions
9 years ago
Craig Tiller
32ca48ce0b
Core compiles with -Wsign-conversion
9 years ago
Craig Tiller
d6c98df792
clang-format all source
9 years ago
Craig Tiller
ddf05a134e
Fix alpn_test
9 years ago
Craig Tiller
6999c096d8
Canonicalize metadata keys in core
9 years ago
Craig Tiller
58bbc864ba
Updating wrapped languages to new time functions
10 years ago
Craig Tiller
143e7bf0cf
Introduce a clock type field onto gpr_timespec.
...
Use it to validate that arithmetic on time types makes even some vague
kind of sense.
10 years ago
Craig Tiller
1a65a234d9
Add metadata refcount debugging
10 years ago
Julien Boeuf
da13cd201b
Adding gpr_dump and gpr_hexdump as discussed. Removed gpr_slice_to_cstring as well.
10 years ago
Masood Malekghassemi
701af6031f
Expose gpr_asprintf and gpr_strdup
10 years ago
Craig Tiller
356961916d
Remove all uses of __FUNCTION__
10 years ago
Craig Tiller
f87b609169
Fix array size
10 years ago
Craig Tiller
6e84aba85f
Make the things compile again
10 years ago
Craig Tiller
5c019ae2d1
clang-format
10 years ago
Craig Tiller
bd22271d00
Random small fixes
10 years ago
Craig Tiller
9c1043e757
Progress towards transport using metadata batches
10 years ago
Craig Tiller
4e99edb642
Kill transport end2end tests: not useful
10 years ago
Craig Tiller
b8fce7f628
Remove unix headers
10 years ago
David Klempner
a4ac78c8ce
Make metadata_test test_things_stick_around use fewer strings
...
This test is quadratic in nstr and times out under tsan.
10 years ago
Nicolas "Pixel" Noble
1ff52d5278
Guard headers tool.
10 years ago
Craig Tiller
f5065c5b65
Enable asan for C core
...
Also speed up a test, and disable some rarely touched but long running tests
10 years ago
Craig Tiller
8ad8a41a84
Introduce slowdown factor for unit test deadlines
...
Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
10 years ago
Craig Tiller
9be83eec1d
Fix use-after-free.
...
Transport and channel have different lifetimes, but share a metadata
context.
Make the metadata context ref counted, and have transport take a ref.
10 years ago
Craig Tiller
efad8fadd3
Spam cleanup, test speedup
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
32223cf5e1
Fix fling test leaks
10 years ago
Nicolas "Pixel" Noble
213ed91850
Re-enabling errors on warning, disabling unused parameter warning, and fixing all subsequent errors.
10 years ago
Yang Gao
5fd0d29dfe
run clang-format
10 years ago
Craig Tiller
8ddf31272d
Remove uses of sprintf
10 years ago
Craig Tiller
03f75259c5
Remove uses of sprintf
10 years ago
Craig Tiller
28214ea1b2
Remove uses of sprintf
10 years ago
Craig Tiller
9bb2632309
Remove uses of sprintf
10 years ago
Craig Tiller
68cc1afda5
Remove uses of sprintf
10 years ago
Craig Tiller
b7b9c758ed
Add constant for min bufsize for timeout encoding
10 years ago
Craig Tiller
485d77628d
Move string.h to internal code
10 years ago
Craig Tiller
0c0b60c322
Add platform ifdefs, fix up some MSVC warnings
10 years ago
Craig Tiller
ecd49345b5
Use clang-format-3.5
10 years ago
Craig Tiller
3eef2c4bcb
clang-format
10 years ago
Craig Tiller
32946d37e0
() --> (void)
10 years ago
Craig Tiller
e1e2475b69
Unify signal handling in C
10 years ago
Craig Tiller
5c35008ea1
Unify signal handling in C
10 years ago
Craig Tiller
b5dcec5a2e
clang-format codebase
10 years ago
ctiller
00297df63b
Ensure flow control callbacks happen outside the transport lock.
...
Split encoding into two phases: a collection phase to decide on what is allowed
(by flow control) to be sent, and a framing phase when the data is actually
sent. Perform the second phase outside of the transport mutex (but serially,
guarded by t->writing) and make flow control callbacks during that phase.
This will allow us to make further transport level calls in response to flow
control callbacks, and will be needed by the forthcoming async api for C++.
Change on 2015/01/12 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83774409
10 years ago
ctiller
33023c4bac
Binary header encoding.
...
Also fixes a rather embarrassing bug in bin_encoder.c.
Change on 2014/12/12 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82024795
10 years ago