| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* Fix well known type class not inheriting Message
Previously, well known types only implement Message interface but not inhert it.
Fix the problem by calling zend_do_inheritance
* Add back commented tests
|
|\
| |
| | |
Fix json parsing of wrapper values
|
| | |
|
|\ \
| |/
|/| |
|
| | |
|
| |
| |
| |
| | |
This change only makes assertEquals pass for message in c extension. However, it actually does nothing.
This is the same behavior before 3.6.0 release.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
* php: Added nanosecond support for Timestamp
* php: Fixed compatibility test
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
* Enable ignoring unknown in json parsing in php
* Update generated descriptor files
* Update failure list for other languages.
* Remove unnecessary php files
|
| |
|
| |
|
|
|
|
|
| |
In old generated code, the constructor of message doesn't provide a
default null to parent's constructor. Previously, in c extesnion, this
case was not handled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
| |
* Throw error if user want to access message properties
* Fix typo
|
|
|
|
|
|
|
|
| |
* Fix setup.py for windows build.
* Bump version number to 3.5.2
* Cat the test-suite.log on errors for presubits
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|\ |
|
| |\
| | |
| | | |
Add prefix to php reserved keywords.
|
| | | |
|
| | | |
|
| | | |
|