Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch (#4466) | Paul Yang | 2018-04-02 | 2 | -4/+20 |
| | | | | | | | | * Fix setup.py for windows build. * Bump version number to 3.5.2 * Cat the test-suite.log on errors for presubits | ||||
* | Sync upb change (#4373) | Paul Yang | 2018-03-08 | 2 | -195/+2783 |
| | |||||
* | Convert descriptortype to type for upb_msgval_sizeof (#4357) | Paul Yang | 2018-03-06 | 1 | -1/+1 |
| | |||||
* | For encoding upb needs descriptor type instead of type. (#4354) | Paul Yang | 2018-03-06 | 2 | -13/+13 |
| | |||||
* | PHP: fixed typo in message.c | Adam Cozzette | 2018-03-05 | 1 | -1/+1 |
| | |||||
* | Fix more memory leak for php c extension (#4211) | Paul Yang | 2018-01-25 | 3 | -10/+48 |
| | | | | | | * Fix more memory leak for php c extension * Fix memory leak for php5.5 | ||||
* | Well known types are not initialized properly. (#4139) | Paul Yang | 2018-01-05 | 3 | -30/+68 |
| | | | | | | | | | Previously, within the same load period of protobuf module, well known types are not initialized correctly for the second request. The reason is that well known type are only initialized if a method local static variable is not set. However, that variable is not reset after request ends. Therefore, when the second request comes, the method local static variable is still set (by previous request) and well types are not initialized in this case. | ||||
* | Fix for php5.5 | Bo Yang | 2017-12-14 | 1 | -1/+1 |
| | |||||
* | Accept DatetimeInterface in fromDatetime | Bo Yang | 2017-12-14 | 2 | -12/+14 |
| | |||||
* | Avoid using php_date_get_date_ce() in case date extension is not | Bo Yang | 2017-12-13 | 1 | -2/+15 |
| | | | | available. | ||||
* | Call php method via function name instead of calling directly. | Bo Yang | 2017-12-12 | 2 | -29/+45 |
| | | | | | | | 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_get | Bo Yang | 2017-12-12 | 1 | -5/+19 |
| | |||||
* | Add PROTOBUF_ENABLE_TIMESTAMP to let user decide whether timestamp util | Bo Yang | 2017-12-12 | 1 | -1/+12 |
| | | | | can be used at install time. | ||||
* | Merge branch '3.5.0.1' into 3.5.x | Bo Yang | 2017-12-11 | 5 | -4/+43 |
|\ | |||||
| * | Add release logv3.5.0.1 | Bo Yang | 2017-12-06 | 1 | -0/+16 |
| | | |||||
| * | Update php c extension version number to 3.5.0.1 | Bo Yang | 2017-12-06 | 2 | -4/+4 |
| | | |||||
| * | Fix memory leak in php7 | Bo Yang | 2017-12-06 | 2 | -4/+9 |
| | | |||||
| * | Fix several more memory leak | Bo Yang | 2017-12-06 | 3 | -4/+6 |
| | | |||||
| * | Fix memory leak when creating map field via array. | Bo Yang | 2017-12-06 | 1 | -2/+1 |
| | | |||||
| * | Fix memory leak when creating repeated field via array. | Bo Yang | 2017-12-06 | 1 | -2/+1 |
| | | |||||
| * | Remove duplicate typedef. (#3975) | Paul Yang | 2017-12-06 | 1 | -19/+7 |
| | | |||||
* | | Recursively clear unknown fields in submessages. (#3982) | Paul Yang | 2017-12-07 | 1 | -3/+92 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 Yang | 2017-12-04 | 1 | -2/+1 |
| | | |||||
* | | Fix memory leak when creating repeated field via array. | Bo Yang | 2017-12-01 | 1 | -2/+1 |
| | | |||||
* | | Remove duplicate typedef. (#3975) | Paul Yang | 2017-11-30 | 1 | -19/+7 |
| | | |||||
* | | Provide discardUnknonwnFields API in php (#3976) | Paul Yang | 2017-11-30 | 3 | -0/+11 |
| | | | | | | | | | | | | * Provide discardUnknownFields API in php implementation * Provide discardUnknownFields API in php c extension. | ||||
* | | Update version number for php c extension (#3896) | Paul Yang | 2017-11-15 | 2 | -4/+20 |
|/ | |||||
* | Fix php well known type conformance tests (#3828) (#3840) | Paul Yang | 2017-11-04 | 3 | -2/+75 |
| | | | | | | | | | | | | | | | * 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 | ||||
* | Merge remote-tracking branch 'origin/3.4.x' into master | Jisi Liu | 2017-10-11 | 4 | -13/+99 |
|\ | |||||
| * | Merge pull request #3612 from TeBoring/php-bug | Paul Yang | 2017-09-15 | 3 | -8/+78 |
| |\ | | | | | | | Add prefix to php reserved keywords. | ||||
| | * | Exclude valid constant name from reserved name. | Bo Yang | 2017-09-12 | 1 | -0/+1 |
| | | | |||||
| | * | Change array to map for reserved names in c extension | Bo Yang | 2017-09-11 | 3 | -24/+69 |
| | | | |||||
| | * | Add prefix to php reserved keywords. | Bo Yang | 2017-09-08 | 1 | -3/+27 |
| | | | |||||
| * | | Bump version for minor release | Jisi Liu | 2017-09-14 | 2 | -5/+21 |
| |/ | |||||
* | | Reserve unknown fields in php (#3659) | Paul Yang | 2017-10-09 | 5 | -832/+2044 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 Yang | 2017-10-05 | 5 | -96/+1745 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | | Add native php support for Duration. (#3583) | Paul Yang | 2017-09-05 | 3 | -0/+64 |
| | | |||||
* | | Add php support for Timestamp. (#3575) | Paul Yang | 2017-08-31 | 4 | -102/+205 |
| | | | | | | | | | | | | * Add php support for Timestamp. * Fix comments | ||||
* | | Add any support in php runtime. (#3486) | Paul Yang | 2017-08-25 | 5 | -56/+524 |
|/ | | | | | | | | | | | | * 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 | ||||
* | Update php version number to 3.4.0 | Bo Yang | 2017-08-16 | 1 | -1/+1 |
| | |||||
* | Update php c extension version number. | Bo Yang | 2017-08-16 | 2 | -3/+19 |
| | |||||
* | Fix the bug in php c extension that setting one field can change ↵ | Paul Yang | 2017-08-04 | 4 | -33/+76 |
| | | | | | | | | | | | | | | | | | | | | | | another field's value. (#3455) * Fix the bug in php c extension that setting one field can change another field's value. The reason is that previously, in c extension, it was assumed that the order that fields were declared in php is the same as the order of fields in upb. This is not true. Now, for every field in upb, we will look up the actual property that is corresponding to the upb field. * Cleanup pull request * Fix indentation * Port to php5 * Port with php7.1 * Port to zts | ||||
* | Add getClass for php Descriptor in c extension (#3443) | Paul Yang | 2017-08-02 | 2 | -0/+12 |
| | |||||
* | Expose descriptor API in php c extension (#3422) | Paul Yang | 2017-08-02 | 3 | -25/+550 |
| | |||||
* | Fix cycle dependency for repeated field not collected by gc (#3399) | Paul Yang | 2017-07-25 | 6 | -45/+190 |
| | |||||
* | Merge 3.3.x into master | Bo Yang | 2017-07-18 | 3 | -2/+43 |
|\ | |||||
| * | Update version number to 3.3.2 | Bo Yang | 2017-06-21 | 2 | -2/+18 |
| | | |||||
| * | Remove inclusion of ext/json/php_json.h. (#3241) | Jeff Ching | 2017-06-20 | 1 | -1/+0 |
| | | | | | | | | That implementation of json is not being used - this extension is using a json encoder/decoder provided by 'upb'. | ||||
| * | Oneof field should be serialized even it's equal to default. (#3153) | Paul Yang | 2017-06-20 | 1 | -1/+3 |
| | | |||||
| * | Add ARRAY for reserved name (#3150) | Paul Yang | 2017-06-20 | 1 | -2/+2 |
| | |