Commit Graph

56 Commits

Author SHA1 Message Date
Craig Tiller 035a904266 Make PHP compile 2015-02-25 09:47:00 -08:00
Julien Boeuf 597a4f2273 Verifying the peer name on the X509 Certs correctly.
- The SANs take precedence over the CN.
- The CN is only checked if there are no SANs.
- Fixing the tests as the test cert did not list *.test.google.com in
  the SANs. Will fix the test cert another time...
2015-02-23 16:41:26 -08:00
Mugur Marculescu 04e3a6e332 Merge pull request #619 from jayantkolhe/jayantkolhe-patch-2
Jayantkolhe patch 2 - Many documentation updates.
2015-02-19 11:53:20 -08:00
Jayant Kolhe 691dbcc7f9 Update README.md 2015-02-19 11:31:20 -08:00
Jayant Kolhe 300748ea7d Update README.md 2015-02-19 11:30:40 -08:00
Craig Tiller ce5021b0b9 Add missing new-lines at end of file 2015-02-18 09:25:21 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Craig Tiller 834288138d Add shell script copyrights 2015-02-16 12:13:57 -08:00
Craig Tiller 2e498aa24d Add PHP Copyright 2015-02-16 12:09:31 -08:00
Craig Tiller 1a61b17afd Copyright checker
Update LICENSE text to 2015, implement a checker that validates
whether a 2014 or 2015 version of the license is on each {.c,.cc,.h} file.
Fix the ones that are missing it.
2015-02-16 11:53:47 -08:00
Tim Emiola 90277ee138 Merge pull request #379 from murgatroid99/php_cancellation_interop_tests
Added cancel_after_first_response interop test
2015-02-04 10:05:15 -08:00
Tim Emiola 8886a55b6e Merge pull request #373 from murgatroid99/php_metadata_representation
Updated PHP metadata representation to be consistent with Node
2015-02-04 10:03:50 -08:00
murgatroid99 554fe351d3 Fixed error in new test 2015-02-03 18:18:28 -08:00
murgatroid99 75c9d2f529 Added cancel_after_first_response interop test 2015-02-03 18:16:23 -08:00
murgatroid99 d96db79b92 Switched to binding servers to port 0 in tests 2015-02-03 17:44:50 -08:00
murgatroid99 5db18baab8 Corrected error in metadata parser 2015-02-03 17:31:19 -08:00
murgatroid99 5ca9f921ae Changed PHP metadata representation to associative array of arrays of strings 2015-02-03 11:21:11 -08:00
Tim Emiola 842037aa78 Merge pull request #349 from murgatroid99/protobuf-php-references
Switched Protobuf-PHP references to my fork, removed references to git-on-borg
2015-02-03 10:28:27 -08:00
Tim Emiola 9068b55359 Merge pull request #346 from murgatroid99/php_weak_comparison
Php weak comparison removal
2015-02-03 10:27:05 -08:00
Craig Tiller c4f0ebe63b Prepare for the new batch call API.
Rename all core API functions that are on their way to deprecation with
an _old tag across all wrappings.
2015-02-02 15:39:31 -08:00
murgatroid99 975a07b949 Switched Protobuf-PHP references to my fork, removed references to git-on-borg 2015-02-02 14:10:42 -08:00
murgatroid99 d9ba1db7fa Removed assertEquals from TimevalTest 2015-02-02 13:38:08 -08:00
murgatroid99 5accd24a76 Removed uses of assertEquals, which internally uses weak comparison 2015-02-02 11:36:56 -08:00
murgatroid99 25e5f67bb9 Removed all instances of == and != in PHP code 2015-02-02 11:05:01 -08:00
murgatroid99 14d2ce27e7 Updated PHP library to handle generated code without explicit references to grpc 2015-01-30 15:36:23 -08:00
murgatroid99 f21eb2573b Fixed PHP interop tests 2015-01-30 13:47:41 -08:00
murgatroid99 c4c3bff814 Fixed memory leak in PHP byte buffer creation 2015-01-29 13:50:56 -08:00
murgatroid99 d10c0abaf6 Merge branch 'master' of github.com:google/grpc into merge_new_invoke_api 2015-01-23 09:11:39 -08:00
murgatroid99 cbaacad719 Fixed junk data bug in PHP SSL Credentials 2015-01-22 13:24:54 -08:00
murgatroid99 48c9c4a59e Resolved merge conflicts with master 2015-01-21 17:12:04 -08:00
Julien Boeuf 8fbcc4391e Changing the SSL (Server) Credentials API.
- Changed the unsigned char * + size to NULL terminated strings which
  makes sense for the PEM format. I may change TSI later (but the impact
  will hopefully be much more limited).
- Added a way to pass multiple key/cert pairs to servers which is needed
  when hosting more than one domain.
- Removed the C++ SSL credentials tests as we are going to have an
  option to not specify the roots which will then be derived from the
  environment (well-known platform dependent locations and/or
  environment variable).
- Fixed the php build which is the only one added in the run_test.py.
  This change will certainly break node, python and ruby.
2015-01-20 22:18:15 -08:00
Craig Tiller ecd49345b5 Use clang-format-3.5 2015-01-18 14:36:47 -08:00
Craig Tiller 5188535a26 Merge branch 'new_invoke_api' of github.com:google/grpc into update-api 2015-01-16 15:24:17 -08:00
Craig Tiller bc29d80159 Better GRPC_LIBDIR config 2015-01-16 14:55:49 -08:00
Craig Tiller c2e80bfbd0 Pickup wherever phpunit is installed 2015-01-16 14:04:29 -08:00
Craig Tiller eb65ac9974 Remove libevent references 2015-01-16 13:23:07 -08:00
Craig Tiller 62b03e2d9f Sym-link in system extensions 2015-01-16 13:19:16 -08:00
Craig Tiller ff7cdd3bad Use local .gitignore 2015-01-16 13:04:08 -08:00
Craig Tiller 1b3a881f8f Dont hardcode phpunit director 2015-01-16 13:02:33 -08:00
Craig Tiller e94373360f Add shebang 2015-01-16 12:59:26 -08:00
Craig Tiller aac57fde95 Build php modules from run_tests.py 2015-01-16 12:55:42 -08:00
murgatroid99 5430312c71 Ran different clang-format 2015-01-16 09:57:19 -08:00
murgatroid99 1d89452e11 Switched to new grpc_call_invoke API 2015-01-16 09:57:05 -08:00
Tim Emiola abcc27a5a5 Merge pull request #5 from murgatroid99/php_configure_fix
Added libdl include to make the PHP library compile
2015-01-14 03:54:22 +07:00
Craig Tiller b5dcec5a2e clang-format codebase 2015-01-13 11:13:42 -08:00
murgatroid99 470a3ea1a1 Added libdl include 2015-01-12 15:48:58 -08:00
mlumish 156e67d417 Added PSR-4 compatible autoloader as defined at http://www.php-fig.org/psr/psr-4/.
SurfaceActiveCall.php was split into four files. Each file must contain exactly one PHP class because of the following line in the spec:

> The terminating class name corresponds to a file name ending in .php. The file name MUST match the case of the terminating class name.

Other changes were made to correctly import the library using the autoloader.
	Change on 2015/01/02 by mlumish <mlumish@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83150065
2015-01-05 17:43:10 -08:00
mlumish 8f91163795 Switched call errors to exceptions instead of return values
Change on 2015/01/02 by mlumish <mlumish@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83146107
2015-01-05 17:43:09 -08:00
mlumish 34cd1f0eec Switched events to use native objects instead of wrappers
Change on 2015/01/02 by mlumish <mlumish@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83146045
2015-01-05 17:43:09 -08:00
mlumish dba878978d Replaced calls to grpc_call_accept with newer functions
Change on 2015/01/02 by mlumish <mlumish@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83145830
2015-01-05 17:43:09 -08:00