1. 07 Jul, 2018 1 commit
  2. 25 Jun, 2018 1 commit
  3. 22 Jun, 2018 2 commits
  4. 18 Jun, 2018 2 commits
    • Adam Cozzette's avatar
      Added Kokoro protoc release build for OS X (#4770) · ad85c3b4
      Adam Cozzette authored
      This configuration builds both 32-bit and 64-bit binaries for Mac OS X.
      One thing I had to change was to increase our minimum supported version
      for 10.7 to 10.9, because 10.9 (Mavericks) appears to be the earliest
      version supporting C++11.
      ad85c3b4
    • Adam Cozzette's avatar
      Work around MSVC issue with std::atomic initialization (#4777) · 885be9c9
      Adam Cozzette authored
      * Work around MSVC issue with std::atomic initialization
      
      MSVC seems to have a bug where it does not use constant initialization
      for std::atomic, which ends up causing crashes during initialization.
      This change introduces a workaround by putting the std::atomic inside a
      union, which causes the compiler to use constant initialization for it.
      
      * Added an AppVeyor test for static linking with MSVC
      885be9c9
  5. 14 Jun, 2018 1 commit
  6. 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
  7. 07 Jun, 2018 1 commit
  8. 06 Jun, 2018 2 commits
  9. 05 Jun, 2018 2 commits
  10. 01 Jun, 2018 1 commit
  11. 31 May, 2018 2 commits
  12. 30 May, 2018 4 commits
  13. 29 May, 2018 3 commits
  14. 25 May, 2018 12 commits
    • Adam Cozzette's avatar
      Merge pull request #4687 from acozzette/js-map-parsing-fix · edaaea01
      Adam Cozzette authored
      Fixed JS parsing of unspecified map keys
      edaaea01
    • Adam Cozzette's avatar
      Fixed JS parsing of unspecified map keys · d1af0291
      Adam Cozzette authored
      We need to use a default of 0 when parsing unspecified map keys, instead
      of failing an assertion.
      
      This change was written by Michael Aaron (michaelaaron@google.com) but I
      am cherry-picking it directly instead of waiting for the next sync of
      Google-internal changes.
      d1af0291
    • Paul Yang's avatar
      Always add -std=c++11 for mac (#4684) · 6f723a66
      Paul Yang authored
      6f723a66
    • Paul Yang's avatar
      Merge pull request #4675 from TeBoring/3.6.x · 4885b805
      Paul Yang authored
      Cherry-pick php generated code changes into 3.6.x
      4885b805
    • 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
    • Bo Yang's avatar
      Add missing ruby/tests/test_ruby_package.proto · 7eba6246
      Bo Yang authored
      7eba6246
    • Erik Benoist's avatar
    • Paul Yang's avatar
      Adopt ruby_package in ruby generated code. (#4627) · 5289ee0c
      Paul Yang authored
      * Adopt ruby_package in ruby generated code.
      
      * Add test for ruby_package
      5289ee0c
    • 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
  15. 24 May, 2018 2 commits
  16. 15 May, 2018 1 commit
  17. 14 May, 2018 1 commit
  18. 11 May, 2018 1 commit