1. 23 Jan, 2019 1 commit
  2. 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
  3. 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
  4. 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
  5. 25 Jul, 2017 2 commits
  6. 13 Jul, 2017 1 commit
  7. 30 Jun, 2017 1 commit
  8. 19 Apr, 2017 1 commit
  9. 08 Dec, 2016 1 commit
  10. 26 Oct, 2016 1 commit
  11. 15 Sep, 2016 1 commit
    • Paul Yang's avatar
      Check in php implementation. (#2052) · e0e54661
      Paul Yang authored
      This pull request includes two implementation: C extension and PHP
      package. Both implementations support encode/decode of singular,
      repeated and map fields.
      e0e54661