1. 14 Dec, 2017 3 commits
  2. 13 Dec, 2017 1 commit
  3. 12 Dec, 2017 2 commits
  4. 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
  5. 06 Dec, 2017 7 commits
  6. 04 Dec, 2017 1 commit
  7. 02 Dec, 2017 1 commit
  8. 30 Nov, 2017 2 commits
  9. 16 Nov, 2017 1 commit
  10. 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
  11. 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
  12. 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
  13. 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
  14. 14 Sep, 2017 1 commit
  15. 12 Sep, 2017 1 commit
  16. 11 Sep, 2017 1 commit
  17. 08 Sep, 2017 1 commit
  18. 05 Sep, 2017 1 commit
  19. 31 Aug, 2017 1 commit
  20. 25 Aug, 2017 1 commit
    • Paul Yang's avatar
      Add any support in php runtime. (#3486) · c7457ef6
      Paul Yang authored
      * 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
      c7457ef6
  21. 16 Aug, 2017 2 commits
  22. 04 Aug, 2017 1 commit
    • Paul Yang's avatar
      Fix the bug in php c extension that setting one field can change another field's value. (#3455) · 49b44bff
      Paul Yang authored
      * 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
      49b44bff
  23. 03 Aug, 2017 1 commit
  24. 02 Aug, 2017 1 commit
  25. 25 Jul, 2017 2 commits
  26. 17 Jul, 2017 1 commit
    • Richard Fussenegger's avatar
      Fix Implicit Return Types (#3363) · 29ff49f5
      Richard Fussenegger authored
      Both native_slot_merge and native_slot_merge_by_array have no return
      type declared. GCC implicitly uses int as return type in such cases,
      however, these functions are actually void.
      29ff49f5
  27. 14 Jul, 2017 1 commit
    • Paul Yang's avatar
      Initial value in generated code cannot be used by c extension. (#3367) · c78dbd7c
      Paul Yang authored
      In the generated code of previous versions, each php field is given an
      initial value. In c extension, it was assumed that the field order in
      the generated code is consistent with upb fields order, so that the
      correct initial value can be bound to the correct upb field. However,
      this may not be true. The order of fields in generated code is decided
      by proto compiler, while the order of upb fields is decided by the hash
      function used in c extension.
      This PR fixes the issue by reset the initial value at runtime.
      c78dbd7c
  28. 13 Jul, 2017 1 commit