- 13 Jul, 2018 2 commits
- 10 Jul, 2018 1 commit
-
-
吕海涛 authored
-
- 08 Jun, 2018 1 commit
-
-
Paul Yang authored
* Use legacy name in php runtime Old generated code cannot work with new runtime, because the new runtime assumes new class name for nested message. For details see #4738. * Remove unused method
-
- 25 May, 2018 2 commits
-
-
Brent Shaffer authored
* uses namespaces for nested messages and enums * fixes namespaces for PHP dist * fixes namespace for Descriptors, adds Cardinality and Kind * fixes nested namespaces for reserved words and adds tests * adds tests and generator fix for php class prefixes * fixes escaping of protobuf packages, enum comments, misc others * nice refactor of generated code * adds class files for backwards compatibility * simplifies code with templates * adds compatibility files to makefile * cleanup of generator and fixes nested namespace bug * regenerates proto types * remove internal BC classes * adds deprecated warning, adds methods back * simplifies if statement * fixes dist files * addresses review comments * adds back TYPE_URL_PREFIX constant * adds @deprecated to old nested class files * skips tests which require a separate process when protobuf.so is enabled * Adds tests for legacy nested classes that do not require separate processes to test * uses legacy names for GPBUtil message check * adds block for IDE @deprecated message * Namespace for nested message/enum in c extension * Remove unused code
-
Brent Shaffer authored
* PHP array constructors for protobuf messages * removes Descriptor from error message * allows mergeFrom to accept an array * only use initWithDescriptor if instanceof MapEntry * adds doc comments * removes ability for constructors to take arrays for submessages * Revert "allows mergeFrom to accept an array" This reverts commit b7b72182d561634af12c5c5c56a7cda3b33241f9. * makes mergeFromArray protected and fixes mergeFrom whitespace * Separates merging from JSON and merging from PHP array * removes well-known types and json keys from array construction * Addresses PR review comments * cleans up tests * fixes exception messages
-
- 24 May, 2018 2 commits
-
-
Brent Shaffer authored
* uses namespaces for nested messages and enums * fixes namespaces for PHP dist * fixes namespace for Descriptors, adds Cardinality and Kind * fixes nested namespaces for reserved words and adds tests * adds tests and generator fix for php class prefixes * fixes escaping of protobuf packages, enum comments, misc others * nice refactor of generated code * adds class files for backwards compatibility * simplifies code with templates * adds compatibility files to makefile * cleanup of generator and fixes nested namespace bug * regenerates proto types * remove internal BC classes * adds deprecated warning, adds methods back * simplifies if statement * fixes dist files * addresses review comments * adds back TYPE_URL_PREFIX constant * adds @deprecated to old nested class files * skips tests which require a separate process when protobuf.so is enabled * Adds tests for legacy nested classes that do not require separate processes to test * uses legacy names for GPBUtil message check * adds block for IDE @deprecated message * Namespace for nested message/enum in c extension * Remove unused code
-
Brent Shaffer authored
* PHP array constructors for protobuf messages * removes Descriptor from error message * allows mergeFrom to accept an array * only use initWithDescriptor if instanceof MapEntry * adds doc comments * removes ability for constructors to take arrays for submessages * Revert "allows mergeFrom to accept an array" This reverts commit b7b72182d561634af12c5c5c56a7cda3b33241f9. * makes mergeFromArray protected and fixes mergeFrom whitespace * Separates merging from JSON and merging from PHP array * removes well-known types and json keys from array construction * Addresses PR review comments * cleans up tests * fixes exception messages
-
- 11 May, 2018 1 commit
-
-
Paul Yang authored
-
- 30 Apr, 2018 1 commit
-
-
Petar Dambovaliev authored
The class name was linked to the next word in the sentence. "User\UserRequestis not found in descriptor pool."
-
- 09 Apr, 2018 2 commits
-
-
urfinjuezz authored
-
Brent Shaffer authored
-
- 11 Dec, 2017 1 commit
-
-
Bo Yang authored
-
- 07 Dec, 2017 1 commit
-
-
Paul Yang authored
* Recursively clear unknown fields in submessages. * Recursively discard unknown fields in submsg for c extension * Fix zts build * Add comment for tests * Add a TODO to add a util for encoding varint for better readability. * Add test for oneof message field.
-
- 30 Nov, 2017 1 commit
-
-
Paul Yang authored
* Provide discardUnknownFields API in php implementation * Provide discardUnknownFields API in php c extension.
-
- 13 Nov, 2017 1 commit
-
-
Paul Yang authored
-
- 04 Nov, 2017 1 commit
-
-
Paul Yang authored
* Fix php well known type conformance tests * Properly generate code for test.proto * Provide GPBMetadata files in c extensions for generated files to import. * Remove unnecessary test * Clean up code * Add declaration for initOnce. * Refactoring
-
- 03 Nov, 2017 1 commit
-
-
Paul Yang authored
* Fix php well known type conformance tests * Properly generate code for test.proto * Provide GPBMetadata files in c extensions for generated files to import. * Remove unnecessary test * Clean up code * Add declaration for initOnce. * Refactoring
-
- 18 Oct, 2017 1 commit
-
-
Jisi Liu authored
-
- 09 Oct, 2017 1 commit
-
-
Paul Yang authored
* Reserve unknown fields in upb 1) For decoding, an unknownfields will be lazily created on message, which contains bytes of unknown fields. 2) For encoding, if the unknownfields is present on message, all bytes contained in it will be serialized. * Register the function to encode unknown field at decode time. * Remove upb_handlers_setaddunknown * Use upb_sink_putunknown in decoder * Remove upb_pb_encoder_encode_unknown * Do not expose encode_unknown * Implement reserve unknown field in php Implement. * Make buffer private to CodedInputStream
-
- 22 Sep, 2017 1 commit
-
-
Paul Yang authored
* Enforce all error report for php tests. * Import vendor/autoload.php in tests/bootstrap_phpunit.php
-
- 14 Sep, 2017 1 commit
-
-
Adam Cozzette authored
-
- 11 Sep, 2017 1 commit
-
-
Bo Yang authored
-
- 10 Sep, 2017 1 commit
-
-
Jack Wakefield authored
-
- 08 Sep, 2017 1 commit
-
-
Bo Yang authored
-
- 30 Aug, 2017 1 commit
-
-
Paul Yang authored
internal descriptor.proto
-
- 21 Aug, 2017 1 commit
-
-
Bo Yang authored
-
- 04 Aug, 2017 1 commit
-
-
michaelbausor authored
* Add descriptors test * Update descriptors tests * Add public descriptors * Add test_desriptors.proto to test script * Update composer files * Remove references to GPBType, update tests to be compatible with c * Update for c extension compatibility * Remove nested enums for descriptor, update tests * Strip leading '.' from descriptor name * Update tests with test for getClass, fix OneofDescriptor * Add new files to Makefile.am
-
- 02 Aug, 2017 1 commit
-
-
Ryan Gordon authored
-
- 01 Aug, 2017 2 commits
-
-
Tony Wong authored
divideInt64ToInt32 is called statically from protobuf/php/src/Google/Protobuf/Internal/CodedOutputStream.php (the only reference) This causes fatal error in PHP 7.1 (32-bit only because 64-bit doesn't use this function)
-
Brent Shaffer authored
-
- 19 Jul, 2017 1 commit
-
-
Brent Shaffer authored
-
- 18 Jul, 2017 2 commits
-
-
Jisi Liu authored
-
Matt A authored
* Add php_generic_services option * Generate PHP generic services * Respect namespaces for generated PHP services * Test PHP generated services * Rename PHP generator service method doc comment function * Correct phpdoc service method case * Test namespaced PHP generic services * Always use the FQCN for PHP generic service input/output * Add generated_service_test to php test.sh * Add php service test protos to CI * Add php service files to php_EXTRA_DIST * Use Interface suffix for php generic services
-
- 17 Jul, 2017 1 commit
-
-
Brent Shaffer authored
* remove pass by reference for php setters * comments out memory leak test
-
- 13 Jul, 2017 1 commit
-
-
Paul Yang authored
-
- 30 Jun, 2017 1 commit
-
-
Paul Yang authored
* Add json encode/decode for php. * Fix php conformance test on 32-bit machines. * Fix conformance test for c extension. * Fix comments
-
- 27 Jun, 2017 1 commit
-
-
Brent Shaffer authored
* adds PHPDoc @return and @param for getters and setters respectively * addresses changes in PR review * adds documentation tests * Update php_generator: - Prepend \ to names where required - Remove <pre> tags - Update protobuf field comments * Updates class files with the protobuf changes * Addresses review comments * removes Protobuf Type line from PHP generated classes * fixes phpdoc test * adds array types to phpdoc
-
- 20 Jun, 2017 2 commits
-
-
Paul Yang authored
-
Ryan Gordon authored
* Switch to addEnumType to fix fatal error * Fixing more cases of HHVM incompatibility * Updating tests to be hhvm compatible * Fixing tests * Fixing merge * Don't use call_user_func, should hopefully fix tests * Fixing spelling * Fixing another misspelling in a test * Fixing placement of append and kvUpdate functions * Actually fix function helpers * Remove double addEnumType. How did this ever work? * Fixing a couple more tests * Only use the setter if the return value isn't an object
-