| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Adopt php_metadata_namespace in php code generator
The php_metadata_namespace is corresponded to the relative directory of
the metadata file. e.g., previously, the metadata file of foo.proto was
GPBMetadata/Foo.php. If the php_metadata_namespace is "Metadata\\Bar",
the metadata file will be Metadata/Bar/Foo.php.
* Handle empty php_metadata_namespace
|
| |
|
|
|
|
|
|
| |
* Throw error if user want to access message properties
* Fix typo
|
|
|
|
|
|
|
|
| |
* Avoid direct check of class name
So that subclasses are also ok
* Use type hint in function signature.
|
|
|
|
| |
The class name was linked to the next word in the sentence.
"User\UserRequestis not found in descriptor pool."
|
| |
|
|
|
|
| |
to track down (#3371)
|
|
|
|
|
|
|
|
| |
* Fix setup.py for windows build.
* Bump version number to 3.5.2
* Cat the test-suite.log on errors for presubits
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Merge 3.5.x to master
|
| |
| |
| |
| |
| |
| | |
* Fix more memory leak for php c extension
* Fix memory leak for php5.5
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\| |
|
| |\
| | |
| | | |
Avoid calling method from php extension directly
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
available.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |\ \
| | | |
| | | | |
Add backslach to make class explict in global namespace
|
| | | | |
|
| | |/
| |/|
| | |
| | | |
can be used at install time.
|
| | | |
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\| | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Provide discardUnknownFields API in php implementation
* Provide discardUnknownFields API in php c extension.
|
| | | |
|
| |/
| |
| | |
conflict
|
| |
| |
| | |
Here's the pull request that made it happen: https://github.com/google/protobuf/pull/2951
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|