diff --git a/.travis.yml b/.travis.yml index d2d1c8ba63994226dc3401323252ca7364fa8951..004d44f3a557b817390803f865b1c813145e120c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: objective-c -osx_image: xcode7.1 +osx_image: xcode7.2 env: global: - CONFIG=opt @@ -27,6 +27,6 @@ xcode_scheme: - InteropTestsLocalCleartext # TODO(jcanizales): Investigate why they time out: # - InteropTestsRemote -xcode_sdk: iphonesimulator9.1 +xcode_sdk: iphonesimulator9.2 notifications: email: false diff --git a/package.xml b/package.xml index 7e987d91c4965babef24dce7669dab3b11e6072b..ba9f9a09f681334876af38a2c560bb7bd29e360a 100644 --- a/package.xml +++ b/package.xml @@ -10,7 +10,7 @@ <email>grpc-packages@google.com</email> <active>yes</active> </lead> - <date>2016-02-24</date> + <date>2016-02-25</date> <time>16:06:07</time> <version> <release>0.8.0</release> @@ -989,7 +989,7 @@ Update to wrap gRPC C Core version 0.10.0 <release>beta</release> <api>beta</api> </stability> - <date>2016-02-24</date> + <date>2016-02-25</date> <license>BSD</license> <notes> - Simplify gRPC PHP installation #4517 diff --git a/src/core/support/env_linux.c b/src/core/support/env_linux.c index 5863ad5682f484dbbc6e3b3945afac5a90c1e148..fe51f846b710f65dfb8a5e5034f52b787cb729b4 100644 --- a/src/core/support/env_linux.c +++ b/src/core/support/env_linux.c @@ -63,7 +63,9 @@ char *gpr_getenv(const char *name) { for (size_t i = 0; getenv_func == NULL && i < GPR_ARRAY_SIZE(names); i++) { getenv_func = (getenv_type)dlsym(RTLD_DEFAULT, names[i]); if (getenv_func != NULL && strstr(names[i], "secure") == NULL) { - gpr_log(GPR_DEBUG, "Warning: insecure environment read function '%s' used", names[i]); + gpr_log(GPR_DEBUG, + "Warning: insecure environment read function '%s' used", + names[i]); } } char *result = getenv_func(name); @@ -72,7 +74,8 @@ char *gpr_getenv(const char *name) { char *result = secure_getenv(name); return result == NULL ? result : gpr_strdup(result); #else - gpr_log(GPR_DEBUG, "Warning: insecure environment read function '%s' used", "getenv"); + gpr_log(GPR_DEBUG, "Warning: insecure environment read function '%s' used", + "getenv"); char *result = getenv(name); return result == NULL ? result : gpr_strdup(result); #endif diff --git a/src/objective-c/tests/GRPCClientTests.m b/src/objective-c/tests/GRPCClientTests.m index 619f2cf56d5c54b0da3fceb92ce32b8ac0c09a2d..9a3e5b5009bcce48d7b60f4b75bf6d6c3800c3ac 100644 --- a/src/objective-c/tests/GRPCClientTests.m +++ b/src/objective-c/tests/GRPCClientTests.m @@ -1,6 +1,6 @@ /* * - * Copyright 2015, Google Inc. + * Copyright 2015-2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/objective-c/tests/InteropTestsLocalSSL.m b/src/objective-c/tests/InteropTestsLocalSSL.m index f0f4b1d71f03d9dee8386c47a6213dcf70343ee6..155e334ecb2bec5ab0552293e7eb78e4c33b295f 100644 --- a/src/objective-c/tests/InteropTestsLocalSSL.m +++ b/src/objective-c/tests/InteropTestsLocalSSL.m @@ -1,6 +1,6 @@ /* * - * Copyright 2015, Google Inc. + * Copyright 2015-2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/objective-c/tests/RxLibraryUnitTests.m b/src/objective-c/tests/RxLibraryUnitTests.m index c94dcf533a4fe210baa05772fe8bb77d6368c640..d34266281412d4dd24eff9a75db0b0cf0bc14a05 100644 --- a/src/objective-c/tests/RxLibraryUnitTests.m +++ b/src/objective-c/tests/RxLibraryUnitTests.m @@ -1,6 +1,6 @@ /* * - * Copyright 2015, Google Inc. + * Copyright 2015-2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/test/cpp/util/test_credentials_provider.cc b/test/cpp/util/test_credentials_provider.cc index cfd3ebbb111d5fca91527a1f74fd0e4ad9ffc019..7e1eb0d501c4883cce2de3d105d8c01a7edf3f7b 100644 --- a/test/cpp/util/test_credentials_provider.cc +++ b/test/cpp/util/test_credentials_provider.cc @@ -95,9 +95,7 @@ gpr_once g_once_init_provider_mu = GPR_ONCE_INIT; grpc::mutex* g_provider_mu = nullptr; CredentialsProvider* g_provider = nullptr; -void InitProviderMu() { - g_provider_mu = new grpc::mutex; -} +void InitProviderMu() { g_provider_mu = new grpc::mutex; } grpc::mutex& GetMu() { gpr_once_init(&g_once_init_provider_mu, &InitProviderMu); diff --git a/test/distrib/php/distribtest.php b/test/distrib/php/distribtest.php index 318c6f9cf08f2dc5f4af681aa1106f66bb00bb23..4c34cd674b47a14db935d243cd3b450ccbef2b50 100644 --- a/test/distrib/php/distribtest.php +++ b/test/distrib/php/distribtest.php @@ -1,4 +1,36 @@ <?php +/* + * + * Copyright 2016, Google Inc. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following disclaimer + * in the documentation and/or other materials provided with the + * distribution. + * * Neither the name of Google Inc. nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + */ $channel = new Grpc\Channel('localhost:1000', [ 'credentials' => Grpc\ChannelCredentials::createInsecure() diff --git a/tools/buildgen/mako_renderer.py b/tools/buildgen/mako_renderer.py index f629e68eb928c8d22c156e2d3a4306bb97f2c143..5f23f123c2df11b39c15fe4f16e37d8e58701c24 100755 --- a/tools/buildgen/mako_renderer.py +++ b/tools/buildgen/mako_renderer.py @@ -1,5 +1,5 @@ #!/usr/bin/env python2.7 -# Copyright 2015, Google Inc. +# Copyright 2015-2016, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without