Commit Graph

27 Commits

Author SHA1 Message Date
Masood Malekghassemi 701af6031f Expose gpr_asprintf and gpr_strdup 2015-06-03 15:24:24 -07:00
Craig Tiller 795b242251 Merge pull request #1857 from yang-g/test
Various minor fixes
2015-06-01 20:06:11 -07:00
Yang Gao 69fe0759be Various minor fixes 2015-06-01 14:32:38 -07:00
Craig Tiller e7023612ef Add a test of cmdline usage strings - and make them saner 2015-05-28 08:00:14 -07:00
Craig Tiller 356961916d Remove all uses of __FUNCTION__ 2015-05-24 15:00:37 -07:00
Julien Boeuf 28d75d9349 Adding option to add a null terminator when loading a file.
- This will take care of a potential issue with default credentials
  where the slice pointer is casted as const char * for APIs that need a
  null terminated string.
2015-04-15 15:56:38 -07:00
Craig Tiller 8cca9abeda Thread local storage for grpc 2015-04-10 10:39:38 -07:00
Nicolas Noble 91647cc815 Adding joinable threads, and gpr_thd_join. 2015-04-03 23:02:47 +02:00
Yang Gao 42734b58ee Merge pull request #978 from Chilledheart/master
Avoid unnecessary copies during protobuf serialization and deserialization
2015-03-10 22:56:02 -07:00
Chilledheart ca767c0d9e Add method grp_slice_buffer_pop to remove the last element for grp_slice_buffer 2015-03-10 01:20:55 +08:00
Ronnie Sahlberg 2ad8d21158 strcmp: change all !str[n]cmp to str[n]cmp == 0
Change all !str[n]cmp to be str[n]cmp == 0 consistently across the codebase.

Issue #231

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2015-03-07 08:39:22 -08:00
Craig Tiller 8ad8a41a84 Introduce slowdown factor for unit test deadlines
Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
2015-02-25 08:36:40 -08:00
Nicolas Noble 65b0759653 Addressing a first batch of feedback. 2015-02-23 15:38:52 -08:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Julien Boeuf 0561896751 Addressing comments.
The new gpr_tmpfile API is actually much nicer to use. Thanks Nico!
2015-02-03 23:17:12 -08:00
Julien Boeuf 026a417def Adding support for loading the SSL roots from an environment variable.
- Had to add support for files and environment variables as well.
- I can't compile on windows so I'm sure there will be some issues.
- Tested end-to-end with the simple ssl fullstack test.
2015-02-02 18:36:37 -08:00
Nicolas "Pixel" Noble 213ed91850 Re-enabling errors on warning, disabling unused parameter warning, and fixing all subsequent errors. 2015-01-30 02:11:35 +01:00
Yang Gao 5fd0d29dfe run clang-format 2015-01-26 00:19:48 -08:00
Craig Tiller 485d77628d Move string.h to internal code 2015-01-23 12:54:05 -08:00
Craig Tiller 32946d37e0 () --> (void) 2015-01-15 11:37:30 -08:00
ctiller 0cd69562fd Allow logging mechanism to be overridden by applications.
This necessitated the removal of gpr_vlog to keep a clean interface.
	Change on 2015/01/09 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83634996
2015-01-12 11:22:02 -08:00
nnoble 9f312b49e8 Fixing include paths for cmdline. 2015-01-07 01:29:22 -08:00
nnoble c87b1c533f Adding plugins to the mako rendering system.
Change on 2015/01/05 by nnoble <nnoble@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83302581
2015-01-06 17:40:30 -08:00
ctiller 5e04b1376d Add a test for useful.h.
Additionally add rotl, rotr which will be needed to implement some hashing
functions shortly.
	Change on 2014/12/15 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82149559
2014-12-15 14:32:14 -08:00
jtattermusch 57c6f0cade Add batch file that builds and executes all GPR tests.
Removed bad format test to fix gpr_string_test.
Also took care of some of the MS compiler warnings when compiling gpr_test_util.
	Change on 2014/12/11 by jtattermusch <jtattermusch@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81900639
2014-12-11 15:11:44 -08:00
Nicolas Noble b7ebd3b8c6 Initial import. 2014-11-26 16:33:03 -08:00