1. 22 Aug, 2018 1 commit
  2. 10 Aug, 2018 1 commit
  3. 09 Aug, 2018 1 commit
  4. 03 Aug, 2018 1 commit
  5. 27 Jul, 2018 1 commit
  6. 23 Jul, 2018 1 commit
    • Timothy Younger's avatar
      Update Composer config in PHP module (#3829) · 5134f1a3
      Timothy Younger authored
      * Prevents installation of `phpunit/phpunit:^6` because the test cases in this project require `\PHPUnit_Framework_TestCase` which was removed in v6. Moves generated PHP classes for tests into autoload-dev so that they are not referenced in the dist autoload. Adds Composer scripts to run protoc with and without grpc.
      
      * update composer test target to use the same commands as generate_php_test_proto in tests.sh
      5134f1a3
  7. 20 Jul, 2018 2 commits
  8. 16 Jul, 2018 2 commits
  9. 13 Jul, 2018 2 commits
  10. 12 Jul, 2018 1 commit
  11. 10 Jul, 2018 1 commit
  12. 09 Jul, 2018 1 commit
  13. 25 Jun, 2018 2 commits
  14. 08 Jun, 2018 1 commit
    • Paul Yang's avatar
      Use legacy name in php runtime (#4741) · ce044817
      Paul Yang authored
      * Use legacy name in php runtime
      
      Old generated code cannot work with new runtime, because the new runtime
      assumes new class name for nested message. For details see #4738.
      
      * Remove unused method
      ce044817
  15. 07 Jun, 2018 1 commit
  16. 29 May, 2018 2 commits
  17. 25 May, 2018 5 commits
    • Paul Yang's avatar
      Fix array constructor in c extension for compatibility (#4667) · dadc9543
      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.
      dadc9543
    • 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
    • Bo Yang's avatar
      Implement array constructor in php c extension. · 8b336f8c
      Bo Yang authored
      8b336f8c
    • Brent Shaffer's avatar
      PHP array constructors for protobuf messages (#4530) · c9b404d2
      Brent Shaffer authored
      * PHP array constructors for protobuf messages
      
      * removes Descriptor from error message
      
      * allows mergeFrom to accept an array
      
      * only use initWithDescriptor if instanceof MapEntry
      
      * adds doc comments
      
      * removes ability for constructors to take arrays for submessages
      
      * Revert "allows mergeFrom to accept an array"
      
      This reverts commit b7b72182d561634af12c5c5c56a7cda3b33241f9.
      
      * makes mergeFromArray protected and fixes mergeFrom whitespace
      
      * Separates merging from JSON and merging from PHP array
      
      * removes well-known types and json keys from array construction
      
      * Addresses PR review comments
      
      * cleans up tests
      
      * fixes exception messages
      c9b404d2
    • Paul Yang's avatar
      Adopt php_metadata_namespace in php code generator (#4622) · d8483a92
      Paul Yang authored
      * Adopt php_metadata_namespace in php code generator
      
      The php_metadata_namespace is corresponded to the relative directory of
      the metadata file. e.g., previously, the metadata file of foo.proto was
      GPBMetadata/Foo.php. If the php_metadata_namespace is "Metadata\\Bar",
      the metadata file will be Metadata/Bar/Foo.php.
      
      * Handle empty php_metadata_namespace
      d8483a92
  18. 24 May, 2018 4 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
    • Brent Shaffer's avatar
      PHP array constructors for protobuf messages (#4530) · f1911f37
      Brent Shaffer authored
      * PHP array constructors for protobuf messages
      
      * removes Descriptor from error message
      
      * allows mergeFrom to accept an array
      
      * only use initWithDescriptor if instanceof MapEntry
      
      * adds doc comments
      
      * removes ability for constructors to take arrays for submessages
      
      * Revert "allows mergeFrom to accept an array"
      
      This reverts commit b7b72182d561634af12c5c5c56a7cda3b33241f9.
      
      * makes mergeFromArray protected and fixes mergeFrom whitespace
      
      * Separates merging from JSON and merging from PHP array
      
      * removes well-known types and json keys from array construction
      
      * Addresses PR review comments
      
      * cleans up tests
      
      * fixes exception messages
      f1911f37
  19. 17 May, 2018 1 commit
  20. 14 May, 2018 1 commit
    • Paul Yang's avatar
      Adopt php_metadata_namespace in php code generator (#4622) · 3d9e99b7
      Paul Yang authored
      * Adopt php_metadata_namespace in php code generator
      
      The php_metadata_namespace is corresponded to the relative directory of
      the metadata file. e.g., previously, the metadata file of foo.proto was
      GPBMetadata/Foo.php. If the php_metadata_namespace is "Metadata\\Bar",
      the metadata file will be Metadata/Bar/Foo.php.
      
      * Handle empty php_metadata_namespace
      3d9e99b7
  21. 11 May, 2018 1 commit
  22. 10 May, 2018 2 commits
  23. 30 Apr, 2018 1 commit
  24. 09 Apr, 2018 2 commits
  25. 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
  26. 09 Mar, 2018 1 commit