aboutsummaryrefslogtreecommitdiff
path: root/php/ext/google/protobuf/upb.h
Commit message (Collapse)AuthorAgeFilesLines
* Adopt upb change for timestamp and duration json to php (#5106)Paul Yang2018-09-221-805/+929
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Enable ignoring unknown in json parsing in php (#4839)Paul Yang2018-07-091-4/+5
| | | | | | | | | | * Enable ignoring unknown in json parsing in php * Update generated descriptor files * Update failure list for other languages. * Remove unnecessary php files
* Sync upb change (#4373)Paul Yang2018-03-081-169/+818
|
* For encoding upb needs descriptor type instead of type. (#4354)Paul Yang2018-03-061-1/+1
|
* Reserve unknown fields in php (#3659)Paul Yang2017-10-091-359/+456
| | | | | | | | | | | | | | | | | | | | | | * 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
* Add new file option php_namespace. (#3162)Paul Yang2017-06-051-15/+18
| | | | | | | | | | | | | | | | * Add new file option php_namespace. Use this option to change the namespace of php generated classes. Default is empty. When this option is empty, the package name will be used for determining the namespace. * Uncomment commented tests * Revert gdb test change * Update csharp descriptor. * Add test for empty php_namespace.
* Add file option php_class_prefix (#2849)Paul Yang2017-03-171-0/+16
| | | | This option will be prepended to generated classes of all messages in the containing file.
* Update upb for php. (#2662)Paul Yang2017-02-061-309/+587
|
* Check in php implementation. (#2052)Paul Yang2016-09-151-1336/+1700
| | | | | This pull request includes two implementation: C extension and PHP package. Both implementations support encode/decode of singular, repeated and map fields.
* Fix spelling in strings and commentsOtto Kekäläinen2016-07-031-1/+1
|
* Integrate google internal changes.Jisi Liu2016-03-301-0/+8217