1. 17 Jul, 2017 2 commits
  2. 14 Jul, 2017 1 commit
    • Paul Yang's avatar
      Initial value in generated code cannot be used by c extension. (#3367) · c78dbd7c
      Paul Yang authored
      In the generated code of previous versions, each php field is given an
      initial value. In c extension, it was assumed that the field order in
      the generated code is consistent with upb fields order, so that the
      correct initial value can be bound to the correct upb field. However,
      this may not be true. The order of fields in generated code is decided
      by proto compiler, while the order of upb fields is decided by the hash
      function used in c extension.
      This PR fixes the issue by reset the initial value at runtime.
      c78dbd7c
  3. 13 Jul, 2017 5 commits
  4. 12 Jul, 2017 1 commit
  5. 10 Jul, 2017 2 commits
  6. 09 Jul, 2017 1 commit
  7. 07 Jul, 2017 1 commit
  8. 06 Jul, 2017 1 commit
  9. 05 Jul, 2017 3 commits
  10. 04 Jul, 2017 1 commit
  11. 03 Jul, 2017 1 commit
    • Jon Skeet's avatar
      Make Any easier to work with in C# · 62d7fe56
      Jon Skeet authored
      - Add a TryUnpack method which doesn't throw if the type is wrong
      - Make GetTypeName public for easier determination of the message type
      
      Fixes #3294.
      62d7fe56
  12. 30 Jun, 2017 1 commit
  13. 29 Jun, 2017 2 commits
  14. 28 Jun, 2017 1 commit
  15. 27 Jun, 2017 1 commit
    • Brent Shaffer's avatar
      adds PHPDoc @return and @param for getters and setters respectively (#3131) · 12acbc26
      Brent Shaffer authored
      * adds PHPDoc @return and @param for getters and setters respectively
      
      * addresses changes in PR review
      
      * adds documentation tests
      
      * Update php_generator:
      
      - Prepend \ to names where required
      - Remove <pre> tags
      - Update protobuf field comments
      
      * Updates class files with the protobuf changes
      
      * Addresses review comments
      
      * removes Protobuf Type line from PHP generated classes
      
      * fixes phpdoc test
      
      * adds array types to phpdoc
      12acbc26
  16. 26 Jun, 2017 1 commit
  17. 24 Jun, 2017 2 commits
  18. 23 Jun, 2017 4 commits
  19. 22 Jun, 2017 2 commits
  20. 20 Jun, 2017 1 commit
    • Ryan Gordon's avatar
      Switch to addEnumType to fix fatal error (#3225) · 703cd8e1
      Ryan Gordon authored
      * Switch to addEnumType to fix fatal error
      
      * Fixing more cases of HHVM incompatibility
      
      * Updating tests to be hhvm compatible
      
      * Fixing tests
      
      * Fixing merge
      
      * Don't use call_user_func, should hopefully fix tests
      
      * Fixing spelling
      
      * Fixing another misspelling in a test
      
      * Fixing placement of append and kvUpdate functions
      
      * Actually fix function helpers
      
      * Remove double addEnumType. How did this ever work?
      
      * Fixing a couple more tests
      
      * Only use the setter if the return value isn't an object
      703cd8e1
  21. 19 Jun, 2017 6 commits