1. 23 Jan, 2019 1 commit
  2. 08 Jan, 2019 1 commit
    • Thomas Van Lenten's avatar
      ObjC: Add a Xcode project for tvOS. · bd00671b
      Thomas Van Lenten authored
      The CocoaPod (and source) have always support tvOS, but adding the project
      makes it easier to run the tests and debug if there ever were an issue.
      
      (not adding a watchOS project at the moment because Apple doesn't provide
       XCTest, so all it could do is build the library. We still support that,
       just can't "test" it.)
      bd00671b
  3. 03 Jan, 2019 1 commit
    • Paul Yang's avatar
      Add ruby 2.6 test (#5528) · de9e1a04
      Paul Yang authored
      * Add ruby 2.6 test
      
      * Fix broken tests
      
      * Fix compatibility test
      
      * Fix bundler version
      
      * Use new docker image
      
      * Fix broken test
      
      * Use new docker image in ruby26 test
      
      * Install ruby for mac
      de9e1a04
  4. 21 Dec, 2018 1 commit
  5. 19 Dec, 2018 2 commits
  6. 18 Dec, 2018 1 commit
    • Paul Yang's avatar
      Php 7.3 fix (#5434) · d7c44095
      Paul Yang authored
      * Inherit from message instead of implement
      
      When regestering class (implmenets other class) during MINIT, zend_class_implements
      would call zend_class_entry->interface_gets_implemented(). In PHP-7.3 interface_gets_implemented shares the same location with create_object.
      However, during MINIT, the global object storeage hasn't been initialized. And thus, caused segment fault in php 7.3.
      
      * Use zend_string_init where interned string may be the value.
      zend_string_dup will keep using the existing interned string.
      In php 7.3, interned string cannot be destroyed from user's code.
      
      * Uncommment debug code
      
      * Use latest phpunit for each php versions
      
      * Revert change in Dockerfile
      
      * Update php test to use the new docker image
      
      * Update composer
      
      * Change docker organization
      
      * Update phpunit
      
      * Debug phpunit
      
      * Store phpunit into bin dir in docker image
      
      * Install valgrind to docker
      
      * Fix compatibility test
      
      * Remove generated_service_test from compatibility c extension test
      
      * Update 32bit php test to the new docker image
      
      * Install bison
      
      * Fix build.sh
      
      * Fix DOCKERIMAGE_PREFIX
      
      * Fix basename
      
      * Add comment to build_and_run_docker2.sh
      
      * Remove commented code
      
      * Fix comments
      d7c44095
  7. 22 Oct, 2018 1 commit
  8. 18 Oct, 2018 1 commit
    • Paul Yang's avatar
      Add ruby 2.3, 2.4 and 2.5 test for linux. (#5256) · 333b3cea
      Paul Yang authored
      * Add ruby 2.3, 2.4 and 2.5 test for linux.
      
      * Update kokoro files
      
      * Add back commented gc test
      
      * Fix gc_test failure
      
      * Remove unused code
      
      * Update ruby 2.5.0 to 2.5.1
      
      * Update ruby 2.3 to 2.3.8
      
      * Remove useless comment
      333b3cea
  9. 12 Oct, 2018 1 commit
  10. 08 Oct, 2018 1 commit
  11. 07 Oct, 2018 1 commit
    • michaelbausor's avatar
      PHP: Add support for primitive types in setters (#5126) · 6a51c038
      michaelbausor authored
      * Add support for primitive types in setters
      
      * Update to address PR feedback
      
      * Add tests and fixes for repeated fields
      
      * Remove repeated field code, add getters
      
      * Cleanup, test getters and oneofs
      
      * Move boxing logic into separate class
      
      * Add tests for wrapper type constructor args
      
      * Update to add new setXXXValue methods
      
      * Fix tests for invalid values
      
      * Fix c extension for wrapper accessors
      
      * Fix the bug that well known types didn't call Message_construct
      
      * Address PR comments
      
      * Refactoring init message with array logic
      
      * Add include path to protoc
      
      * Add missing TSRM_LS defintion
      
      * Fix TSRM_LS
      
      * Fix dist check
      6a51c038
  12. 24 Sep, 2018 1 commit
  13. 23 Aug, 2018 1 commit
  14. 22 Aug, 2018 1 commit
  15. 10 Aug, 2018 1 commit
    • 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
  16. 09 Aug, 2018 1 commit
    • Feng Xiao's avatar
      Cleanup kokoro scripts. · f0b8a57f
      Feng Xiao authored
      Changes:
      1. Remove stuff no longer needed. Lots of the heavy lifting were there
      because we were running our own jenkins cluster and had to manage all
      the test logs ourselves. Now they are useless.
      2. Change "-j2" to "-j4" to speed up the test a little bit. Kokoro
      machines have 4 logic CPUs according to their spec.
      f0b8a57f
  17. 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
  18. 16 Jul, 2018 1 commit
  19. 15 Jul, 2018 1 commit
  20. 02 Jul, 2018 1 commit
    • Paul Yang's avatar
      Add continuous test for ruby 2.3, 2.4 and 2.5 (#4829) · 78ba021b
      Paul Yang authored
      * Add continuous test for ruby 2.3, 2.4 and 2.5
      
      * Change ruby 2.5 to 2.5.0
      
      * No need to provide argument to rb_funcall when argc is 0
      
      * Fix tests for ruby 2.5
      
      * Use rescue instead of assert_raise to accept subclass of error
      78ba021b
  21. 25 May, 2018 1 commit
    • Brent Shaffer's avatar
      PHP namespaces for nested messages and enums (#4536) · 2774e544
      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
      2774e544
  22. 24 May, 2018 1 commit
    • 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
  23. 09 May, 2018 1 commit
  24. 10 Apr, 2018 1 commit
  25. 26 Mar, 2018 1 commit
  26. 19 Mar, 2018 2 commits
  27. 25 Jan, 2018 1 commit
  28. 15 Dec, 2017 1 commit
  29. 13 Dec, 2017 1 commit
  30. 12 Dec, 2017 1 commit
  31. 04 Dec, 2017 1 commit
  32. 12 Nov, 2017 1 commit
  33. 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
  34. 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
  35. 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
  36. 14 Sep, 2017 1 commit
    • Feng Xiao's avatar
      Fix go example test. · 8136ccb2
      Feng Xiao authored
      It needs "-I" flag to find imported file google/protobuf/timestamp.proto
      8136ccb2
  37. 12 Sep, 2017 1 commit
  38. 08 Sep, 2017 1 commit