1. 29 May, 2018 1 commit
  2. 24 May, 2018 3 commits
    • Paul Yang's avatar
      Fix array constructor in c extension for compatibility (#4667) · 00d32539
      Paul Yang authored
      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.
      00d32539
    • Brent Shaffer's avatar
      PHP namespaces for nested messages and enums (#4536) · 67379546
      Brent Shaffer authored
      * 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
      67379546
    • Bo Yang's avatar
      Implement array constructor in php c extension. · 839f71e3
      Bo Yang authored
      839f71e3
  3. 10 May, 2018 1 commit
  4. 02 Apr, 2018 1 commit
    • Paul Yang's avatar
      Merge branch (#4466) · c9317434
      Paul Yang authored
      * Fix setup.py for windows build.
      
      * Bump version number to 3.5.2
      
      * Cat the test-suite.log on errors for presubits
      c9317434
  5. 09 Mar, 2018 1 commit
  6. 06 Mar, 2018 3 commits
  7. 05 Mar, 2018 1 commit
  8. 25 Jan, 2018 1 commit
  9. 05 Jan, 2018 1 commit
    • Paul Yang's avatar
      Well known types are not initialized properly. (#4139) · 38238974
      Paul Yang authored
      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.
      38238974
  10. 14 Dec, 2017 3 commits
  11. 13 Dec, 2017 1 commit
  12. 12 Dec, 2017 2 commits
  13. 07 Dec, 2017 1 commit
    • Paul Yang's avatar
      Recursively clear unknown fields in submessages. (#3982) · c370f88f
      Paul Yang authored
      * 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.
      c370f88f
  14. 06 Dec, 2017 7 commits
  15. 04 Dec, 2017 1 commit
  16. 02 Dec, 2017 1 commit
  17. 30 Nov, 2017 2 commits
  18. 16 Nov, 2017 1 commit
  19. 04 Nov, 2017 1 commit
    • Paul Yang's avatar
      Fix php well known type conformance tests (#3828) (#3840) · 2df47269
      Paul Yang authored
      * 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
      2df47269
  20. 03 Nov, 2017 1 commit
    • Paul Yang's avatar
      Fix php well known type conformance tests (#3828) · bcda919c
      Paul Yang authored
      * 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
      bcda919c
  21. 09 Oct, 2017 1 commit
    • Paul Yang's avatar
      Reserve unknown fields in php (#3659) · 60327468
      Paul Yang authored
      * 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
      60327468
  22. 06 Oct, 2017 1 commit
    • Paul Yang's avatar
      Add well known types to php runtime. (#3697) · 77f64bb7
      Paul Yang authored
      * 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
      77f64bb7
  23. 14 Sep, 2017 1 commit
  24. 12 Sep, 2017 1 commit
  25. 11 Sep, 2017 1 commit
  26. 08 Sep, 2017 1 commit