1. 26 Dec, 2018 1 commit
  2. 21 Dec, 2018 1 commit
  3. 19 Dec, 2018 1 commit
  4. 15 Dec, 2018 4 commits
  5. 23 Sep, 2018 1 commit
    • Paul Yang's avatar
      Adopt upb change for timestamp and duration json to php (#5106) · 9bda1f19
      Paul Yang authored
      * Adopt upb change for timestamp and duration json to php
      
      * Remove unused code
      
      * Re-sync upb
      
      * Fix php implementation timestamp json parsing
      
      * Fix strptime use local timezone on mac.
      
      * Remove succeeding tests
      
      * Resync
      
      * Add tests for values
      
      * Fix php tests
      
      * Fix encoder handlers change default value
      
      Previously, oneofsubmsg_handler and submsg_handler change zval's default value directly.
      The fix use REPLACE_ZVAL_VALUE which create a copy of parsed value and assign it to zval.
      9bda1f19
  6. 06 Sep, 2018 1 commit
    • Paul Yang's avatar
      Add source dependency of test suite implementation to main function (#5069) · 5aeee3dc
      Paul Yang authored
      * Fix conformance running nothing issue
      
      This change adds a source dependency of the test suite implementaion
      class in the main function. For generality reason, the main function is
      moved to the file of the test suite implemetation.  New test suite
      implementation will need to implement the main function.
      In order to make it easy for test suite implementation to implement the
      main function, this change also refactor out the common code out of the
      main function.
      
      * Fix typo
      5aeee3dc
  7. 31 Aug, 2018 1 commit
  8. 22 Aug, 2018 1 commit
  9. 10 Aug, 2018 2 commits
    • Bo Yang's avatar
      Fix json parsing of wrapper values · e3ee7167
      Bo Yang authored
      e3ee7167
    • Feng Xiao's avatar
      Fix failing tests. · acd5b05e
      Feng Xiao authored
      1. Fix C++ tests.
        * Add missing files to Makefile.am and fix distcheck in tests.sh
        * Remove BUILT_SOURCES from conformance/Makefile.am.
        * Add some missing override keyword.
        * Add a type cast to int64 because our StrCat() in stubs can't handle size_t.
      2. Fix Java tests.
        * Add missing test dependency on guava in pom.xml.
        * Include newly referenced test data in test resources.
        * Manually fix map_lite_test.proto which is overwritten because it's mapped
          from map_test.proto in google3.
        * Add back "optimize_for = LITE_RUNTIME" which is still needed to keep the
          opensource test passing as it's still running lite tests.
        * Add a type cast in newBuilder() because without it the code doesn't compile
          with openjdk javac 1.8 (the compiler can't figure if it's the right type
          due to complex generic typing).
      3. Fix Python tests.
        * Remove/replace references to <hash_map>.
        * Suppress more warnings in setup.py.
        * Replace incorrect header inclusion for google/protobuf/proto_api.h.
        * Add strings::EndsWith to google/protobuf/stubs/strutil.h because it's
          referenced in the updated python C extension code.
        * Replace proto2 with google::protobuf. The proto2 name is leaked to
          opensource because we removed the subsitition rule for proto2 namespace
          but only fixed C++ source code and forgot to update python C extension code.
      acd5b05e
  10. 09 Aug, 2018 1 commit
  11. 27 Jul, 2018 1 commit
    • Paul Yang's avatar
      Give a specific category to each test. (#4965) · 8705adc2
      Paul Yang authored
      * Give a unique category to each test.
      
      This change introduce a TestCategory enum to ConformanceRequest. Existing tests
      are divided into three categories: binary format test, json format test and json
      format (ignore unknown when parsing) test. For the previous two categories, there
      is no change to existing testee programs. For tests with the last category, testee programs
      should either enable ignoring unknown field during json parsing or skip the test.
      
      * Fix python test
      
      * Fix java
      
      * Fix csharp
      
      * Update document
      
      * Update csharp generated code
      8705adc2
  12. 26 Jul, 2018 1 commit
    • Paul Yang's avatar
      Add conformance test for php c back (#4966) · bdcbcabe
      Paul Yang authored
      * Add conformance test for php c back
      
      php c extension has different result for conformance test for different
      php version and architecture. Try to add conformance back for php 7.1 c extension first.
      
      * Disable conformance test for c extension on 32-bit architecture
      32-bit and 64-bit have different failing tests
      
      * Fix typo
      bdcbcabe
  13. 23 Jul, 2018 1 commit
  14. 18 Jul, 2018 2 commits
  15. 09 Jul, 2018 2 commits
  16. 23 Mar, 2018 1 commit
  17. 20 Mar, 2018 1 commit
  18. 14 Mar, 2018 1 commit
    • Adam Cozzette's avatar
      Deleted scoped_ptr.h · 67952fab
      Adam Cozzette authored
      We no longer need this, now that we have finished the switch to C++11
      and are using std::unique_ptr.
      67952fab
  19. 13 Mar, 2018 1 commit
  20. 01 Mar, 2018 1 commit
  21. 27 Jan, 2018 1 commit
    • Adam Cozzette's avatar
      Removed using statements from common.h · 39a789e6
      Adam Cozzette authored
      These statements pulled a bunch of symbols from the std namespace into
      the global namespace. This commit removes all of them except for
      std::string, which is a bit trickier to remove.
      39a789e6
  22. 19 Dec, 2017 1 commit
  23. 13 Dec, 2017 1 commit
  24. 04 Dec, 2017 1 commit
  25. 01 Dec, 2017 1 commit
  26. 13 Nov, 2017 1 commit
  27. 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
  28. 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
  29. 26 Oct, 2017 1 commit
    • Paul Yang's avatar
      Reserve unknown in Ruby (#3763) · 23adfeb0
      Paul Yang authored
      * Reserve unknown in ruby
      
      * Revert ruby tests. Wait for cpp impl for conformance test
      
      * Add conformance test for preserving unknown
      
      * Add unknown field conformance test to csharp failure list.
      
      * Fix comments
      
      * Fix comment
      
      * Fix comments
      
      * Fix typo
      
      * Use stringsink_string directly
      
      * Mark hd unused
      
      * Remove unused encodeunknown_handlerfunc
      23adfeb0
  30. 18 Oct, 2017 2 commits
  31. 14 Sep, 2017 1 commit
  32. 13 Sep, 2017 1 commit
  33. 12 Sep, 2017 1 commit