1. 30 Jun, 2017 1 commit
  2. 14 Jun, 2017 1 commit
    • Brent Shaffer's avatar
      Follows proper autoloading standards (#3123) · b9b34e9b
      Brent Shaffer authored
      * Follows proper autoloading standards
       - Splits PHP classes in descriptor.php into separate files
       - Splits MapFieldIter and RepeatedFieldIter into separate files
       - Moves descriptor.php to Internal/functions.php
       - Moves all namespaced functions into Iternal/functions.php
      
      * fixes Makefile.am for added php files
      
      * [PHP] moves all functions to GPBUtil
      
      * removes description.php from the makefile
      b9b34e9b
  3. 20 Apr, 2017 1 commit
    • Paul Yang's avatar
      Allow proto files to import descriptor.proto (#2995) · 4523c9c2
      Paul Yang authored
      descriptor.proto uses proto2 syntax, which is not ready for external
      usage. However, some proto3 files import descriptor.proto and cannot be
      used. In this PR, all references (We cheated by only removing
      extensions, which is enough for now. User should avoid using messages
      defined in descriptor.proto as field type.) to content in
      descriptor.proto are removed from generated files. Those that import
      descriptor.proto can be used like other proto files.
      4523c9c2
  4. 19 Apr, 2017 1 commit
  5. 10 Mar, 2017 1 commit
    • Paul Yang's avatar
      Repeated/Map field setter should accept a regular PHP array (#2817) · 616e68ec
      Paul Yang authored
      Accept regular PHP array for repeated/map setter. Existing map/repeated
      field will be swapped by a clean map/repeated field. Then, elements in
      the array will be added to the map/repeated field. All elements will be
      type checked before adding.
      
      See #2686 for detail.
      616e68ec
  6. 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