- 16 Jul, 2018 1 commit
-
-
Bo Yang 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
-
- 11 May, 2018 1 commit
-
-
Paul Yang authored
-
- 10 May, 2018 1 commit
-
-
Paul Yang authored
* Avoid direct check of class name So that subclasses are also ok * Use type hint in function signature.
-
- 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.
-
- 15 Nov, 2017 1 commit
-
-
Paul Yang authored
conflict
-
- 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
-
- 30 Oct, 2017 1 commit
-
-
xuwei-k authored
-
- 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
-
- 06 Oct, 2017 1 commit
-
-
Paul Yang authored
* Add well known types to php runtime. * Fix php7.0 tests * No longer generate empty.proto in test as it has been included in runtime. * Fix zts build * Clean code * Rename g_p_b_empty to empty. * Don't generate code for empty.proto in compatibility test * Fix 32-bit * Fix mac build * Fix Makefile.am to add new files
-
- 22 Sep, 2017 1 commit
-
-
Paul Yang authored
* Enforce all error report for php tests. * Import vendor/autoload.php in tests/bootstrap_phpunit.php
-
- 21 Sep, 2017 1 commit
-
-
Paul Yang authored
* Add $ before url_prefix_len to make it a variable. * Remove unnecessary string length check * Remove useless $type_url_len
-
- 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
-
- 05 Sep, 2017 1 commit
-
-
Paul Yang authored
-
- 31 Aug, 2017 1 commit
-
-
Paul Yang authored
* Add php support for Timestamp. * Fix comments
-
- 30 Aug, 2017 1 commit
-
-
Paul Yang authored
internal descriptor.proto
-
- 25 Aug, 2017 1 commit
-
-
Paul Yang authored
* Add any support in php runtime. * Remove unused file in config.m4 * Fix comments * Fix error for tsrmls build * Add newly added file to Makefile.am
-
- 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
-