aboutsummaryrefslogtreecommitdiff
path: root/php
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/3.5.x' into masterJisi Liu2018-01-0310-30/+320
|\
| * Merge pull request #4034 from TeBoring/php-timestamp-bugPaul Yang2017-12-154-16/+84
| |\ | | | | | | Avoid calling method from php extension directly
| | * Fix for php5.5Bo Yang2017-12-141-1/+1
| | |
| | * Accept DatetimeInterface in fromDatetimeBo Yang2017-12-142-12/+14
| | |
| | * Avoid using php_date_get_date_ce() in case date extension is notBo Yang2017-12-131-2/+15
| | | | | | | | | | | | available.
| | * Call php method via function name instead of calling directly.Bo Yang2017-12-124-34/+50
| | | | | | | | | | | | | | | | | | | | | This changes the linking error if php extension is not statically linked to a runtime error. In this way, users who don't need Timestamp can still use protobuf even if date extension is not statically linked in php.
| | * Replace private timelib_update_ts with public date_timestamp_getBo Yang2017-12-122-5/+31
| | |
| | * Add PROTOBUF_ENABLE_TIMESTAMP to let user decide whether timestamp utilBo Yang2017-12-122-2/+13
| | | | | | | | | | | | can be used at install time.
| * | Merge pull request #4028 from TeBoring/3.5.xPaul Yang2017-12-121-1/+1
| |\ \ | | |/ | |/| Add backslach to make class explict in global namespace
| | * Add backslach to make class explict in global namespaceBo Yang2017-12-111-1/+1
| | |
| * | Merge branch '3.5.0.1' into 3.5.xBo Yang2017-12-116-7/+66
| |\ \ | | |/ | |/|
| | * Add release logv3.5.0.1Bo Yang2017-12-061-0/+16
| | |
| | * Update php c extension version number to 3.5.0.1Bo Yang2017-12-062-4/+4
| | |
| | * Fix memory leak in php7Bo Yang2017-12-063-5/+11
| | |
| | * Fix several more memory leakBo Yang2017-12-064-6/+27
| | |
| | * Fix memory leak when creating map field via array.Bo Yang2017-12-062-2/+6
| | |
| | * Fix memory leak when creating repeated field via array.Bo Yang2017-12-062-2/+6
| | |
| | * Remove duplicate typedef. (#3975)Paul Yang2017-12-061-19/+7
| | |
| * | Recursively clear unknown fields in submessages. (#3982)Paul Yang2017-12-073-4/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * | Fix memory leak when creating map field via array.Bo Yang2017-12-042-2/+6
| | |
| * | Fix memory leak when creating repeated field via array.Bo Yang2017-12-012-2/+6
| | |
* | | Merge branch '3.5.x' into 3.5.x-mergeAdam Cozzette2017-11-307-32/+63
|\| |
| * | Remove duplicate typedef. (#3975)Paul Yang2017-11-301-19/+7
| | |
| * | Provide discardUnknonwnFields API in php (#3976)Paul Yang2017-11-305-0/+27
| | | | | | | | | | | | | | | | | | * Provide discardUnknownFields API in php implementation * Provide discardUnknownFields API in php c extension.
| * | Update version number for php c extension (#3896)Paul Yang2017-11-152-4/+20
| | |
| * | Use fully qualifed name for DescriptorPool in Any.php to avoid name (#3886)Paul Yang2017-11-151-4/+3
| |/ | | | | conflict
| * All integer types should accept null in json. (#3869)Paul Yang2017-11-131-5/+6
| |
| * Fix php well known type conformance tests (#3828) (#3840)Paul Yang2017-11-047-49/+508
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Update README.md: C extension works on PHP 7 (#3888)Issac Trotts2017-11-151-1/+1
| | | | | | Here's the pull request that made it happen: https://github.com/google/protobuf/pull/2951
* | Fix php well known type conformance tests (#3828)Paul Yang2017-11-037-49/+508
|/ | | | | | | | | | | | | | | | * 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
* update joda-time javadoc urlxuwei-k2017-10-301-1/+1
|
* Update descriptor protosJisi Liu2017-10-181-3/+6
|
* Merge remote-tracking branch 'origin/3.4.x' into masterJisi Liu2017-10-1114-21/+1205
|\
| * Merge pull request #3612 from TeBoring/php-bugPaul Yang2017-09-1511-16/+1011
| |\ | | | | | | Add prefix to php reserved keywords.
| | * Exclude valid constant name from reserved name.Bo Yang2017-09-126-223/+600
| | |
| | * Change array to map for reserved names in c extensionBo Yang2017-09-113-24/+69
| | |
| | * Change array to associate array.Bo Yang2017-09-111-20/+21
| | |
| | * Add prefix to php reserved keywords.Bo Yang2017-09-087-5/+577
| | |
| * | Bump version for minor releaseJisi Liu2017-09-142-5/+21
| |/
| * change the field number of php_generic_service to fix the conflict with (#3576)Paul Yang2017-08-303-4/+68
| | | | | | internal descriptor.proto
* | Reserve unknown fields in php (#3659)Paul Yang2017-10-0912-841/+2101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 well known types to php runtime. (#3697)Paul Yang2017-10-0541-101/+5374
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Enforce all error report for php tests. (#3670)Paul Yang2017-09-224-5/+24
| | | | | | | | | | | | * Enforce all error report for php tests. * Import vendor/autoload.php in tests/bootstrap_phpunit.php
* | Add $ before url_prefix_len to make it a variable. (#3668)Paul Yang2017-09-201-4/+2
| | | | | | | | | | | | | | | | * Add $ before url_prefix_len to make it a variable. * Remove unnecessary string length check * Remove useless $type_url_len
* | Integrated internal changes from GoogleAdam Cozzette2017-09-143-4/+98
| |
* | Add well-known timestamps to JSON for PHP (#3564)Jack Wakefield2017-09-103-31/+142
| |
* | Add native php support for Duration. (#3583)Paul Yang2017-09-056-0/+259
| |
* | Add php support for Timestamp. (#3575)Paul Yang2017-08-317-102/+441
| | | | | | | | | | | | * Add php support for Timestamp. * Fix comments
* | Add any support in php runtime. (#3486)Paul Yang2017-08-259-58/+902
|/ | | | | | | | | | | | * 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
* Use message name as defined in php runtime.Bo Yang2017-08-215-1/+25
|