- 21 May, 2019 1 commit
-
-
Hao Nguyen authored
-
- 10 Apr, 2019 1 commit
-
-
Hao Nguyen authored
-
- 13 Mar, 2019 1 commit
-
-
Paul Yang authored
* Remove GPBWrapperUtil from generated code * Add newline
-
- 26 Feb, 2019 1 commit
-
-
Yilun Chong authored
-
- 21 Feb, 2019 1 commit
-
-
Xiang Dai authored
Signed-off-by:
Xiang Dai <764524258@qq.com>
-
- 16 Feb, 2019 2 commits
-
-
michaelbausor authored
* Exclude repeated and map fields from normalization * Remove erroneous comments * Remove unnecessary check for map type * Add support for repeated/map fields, add tests * Fix wrapper message in repeated/map fields in array constructor * Address PR comments * Removed unused code * Update docs
-
michaelbausor authored
* Exclude repeated and map fields from normalization * Remove erroneous comments * Remove unnecessary check for map type * Add support for repeated/map fields, add tests * Fix wrapper message in repeated/map fields in array constructor * Address PR comments * Removed unused code * Update docs
-
- 28 Jan, 2019 1 commit
-
-
Bo Yang authored
json_decode automatically convert numeric string to integer, so that we need to convert it back. However, this will suceed to parse invalid json data with string field set as integer even though it should have failed. Because, the failure case is less often than the succeeding case, we decided to make this change. Users should make sure their data don't use integer for string fields by themselves.
-
- 22 Jan, 2019 1 commit
-
-
Paul Yang authored
* Fix empty FieldMask json encoding/decoding * Add failed test to python's conformance failure list
-
- 12 Jan, 2019 1 commit
-
-
Nicolás Elliott authored
Added a few \ on the comments to match the exceptions scope when is referenced while in a namespace. So the IDEs can be happy.
-
- 08 Jan, 2019 1 commit
-
-
Paul Yang authored
* Fix Empty ListValue/Struct json encoding * Add test for empty ListValue
-
- 15 Dec, 2018 1 commit
-
-
Paul Yang authored
* Down-integrate internal changes * Update generated code for php, objc and csharp. * Add missing dependency in conformance_php
-
- 29 Nov, 2018 1 commit
-
-
michaelbausor authored
* adds string-to-int and int-to-string methods to enums * remove check for valueToName property in EnumTrait * Remove unused imports * Update to avoid using EnumTrait * Remove EnumTrait * Update enum types * Move name and value methods into generated classes * Remove functions from GPBUtil * Test well known enums * Implement enum value to/from name in c extension * Only generate use statement when namespace is present
-
- 09 Nov, 2018 1 commit
-
-
Adam Cozzette authored
-
- 07 Oct, 2018 1 commit
-
-
michaelbausor authored
* Add support for primitive types in setters * Update to address PR feedback * Add tests and fixes for repeated fields * Remove repeated field code, add getters * Cleanup, test getters and oneofs * Move boxing logic into separate class * Add tests for wrapper type constructor args * Update to add new setXXXValue methods * Fix tests for invalid values * Fix c extension for wrapper accessors * Fix the bug that well known types didn't call Message_construct * Address PR comments * Refactoring init message with array logic * Add include path to protoc * Add missing TSRM_LS defintion * Fix TSRM_LS * Fix dist check
-
- 23 Sep, 2018 1 commit
-
-
Paul Yang authored
* Adopt upb change for timestamp and duration json to php * Remove unused code * Re-sync upb * Fix php implementation timestamp json parsing * Fix strptime use local timezone on mac. * Remove succeeding tests * Resync * Add tests for values * Fix php tests * Fix encoder handlers change default value Previously, oneofsubmsg_handler and submsg_handler change zval's default value directly. The fix use REPLACE_ZVAL_VALUE which create a copy of parsed value and assign it to zval.
-
- 09 Aug, 2018 1 commit
-
-
Feng Xiao authored
-
- 20 Jul, 2018 1 commit
-
-
Leonard Hecker authored
* php: Added nanosecond support for Timestamp * php: Fixed compatibility test
-
- 16 Jul, 2018 1 commit
-
-
Bo Yang authored
-
- 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
-
- 17 May, 2018 1 commit
-
-
Adam Cozzette authored
-
- 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
-