1. 26 Mar, 2019 1 commit
  2. 25 Mar, 2019 1 commit
  3. 20 Mar, 2019 1 commit
  4. 13 Mar, 2019 2 commits
  5. 12 Mar, 2019 1 commit
  6. 28 Feb, 2019 1 commit
  7. 26 Feb, 2019 1 commit
  8. 25 Feb, 2019 1 commit
  9. 22 Feb, 2019 1 commit
  10. 19 Feb, 2019 1 commit
  11. 16 Feb, 2019 1 commit
  12. 14 Feb, 2019 1 commit
  13. 07 Feb, 2019 1 commit
  14. 01 Feb, 2019 1 commit
  15. 31 Jan, 2019 1 commit
  16. 28 Jan, 2019 2 commits
  17. 25 Jan, 2019 1 commit
    • Paul Yang's avatar
      Allow internalAddGeneratedFile to depend on new nested message name (#5629) · 53a1d496
      Paul Yang authored
      Previously, internalAddGeneratedFile has to depend on old non-nested name for sub-messages.
      This creates a hard dependency on old generated code for compatibility usage.
      If user's code has custome error handler, the deprecation warning in the old generated code
      will also be thrown (even though users haven't explicitly depended on the old message name).
      
      To fix this problem, this change added an additional flag in the generated code to tell run
      time that it's safe to use new message name. In this way, internalAddGeneratedFile can safely
      depend on new name and don't trigger unnecessary deprecation warning.
      53a1d496
  18. 24 Jan, 2019 1 commit
  19. 23 Jan, 2019 1 commit
  20. 22 Jan, 2019 2 commits
  21. 18 Jan, 2019 1 commit
  22. 17 Jan, 2019 1 commit
  23. 12 Jan, 2019 1 commit
    • Nicolás Elliott's avatar
      Fix Issue #5345 (#5381) · 54683e60
      Nicolás Elliott authored
      Added a few \ on the comments to match the exceptions scope when is referenced while in a namespace. So the IDEs can be happy.
      54683e60
  24. 08 Jan, 2019 1 commit
  25. 26 Dec, 2018 1 commit
  26. 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
  27. 15 Dec, 2018 1 commit
  28. 14 Dec, 2018 1 commit
  29. 29 Nov, 2018 1 commit
    • michaelbausor's avatar
      PHP: Add Enum methods for converting to/from strings (#5342) · 0b9af83d
      michaelbausor authored
      * adds string-to-int and int-to-string methods to enums
      
      * remove check for valueToName property in EnumTrait
      
      * Remove unused imports
      
      * Update to avoid using EnumTrait
      
      * Remove EnumTrait
      
      * Update enum types
      
      * Move name and value methods into generated classes
      
      * Remove functions from GPBUtil
      
      * Test well known enums
      
      * Implement enum value to/from name in c extension
      
      * Only generate use statement when namespace is present
      0b9af83d
  30. 09 Nov, 2018 1 commit
  31. 12 Oct, 2018 1 commit
  32. 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
  33. 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
  34. 31 Aug, 2018 1 commit
  35. 22 Aug, 2018 1 commit
  36. 10 Aug, 2018 1 commit
  37. 09 Aug, 2018 1 commit