1. 25 May, 2018 1 commit
  2. 24 May, 2018 11 commits
    • Feng Xiao's avatar
      Merge pull request #4659 from calder/bazel-python-namespace-fix · 8175c6e4
      Feng Xiao authored
      Declare 'google' namespace when importing Python protobuf via Bazel
      8175c6e4
    • Feng Xiao's avatar
      Remove jruby badge from our README.md. · 35bd9fd0
      Feng Xiao authored
      35bd9fd0
    • Feng Xiao's avatar
      Delete jruby kokoro tests. · 38a794c0
      Feng Xiao authored
      38a794c0
    • Feng Xiao's avatar
      Merge pull request #4674 from xfxyjwf/bazel · f65f16a7
      Feng Xiao authored
      Add kokoro configs for bazel build.
      f65f16a7
    • Feng Xiao's avatar
      Add kokoro configs for bazel build. · ffc8b35c
      Feng Xiao authored
      ffc8b35c
    • Paul Yang's avatar
      Fix array constructor in c extension for compatibility (#4667) · 00d32539
      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.
      00d32539
    • 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
    • Bo Yang's avatar
      Implement array constructor in php c extension. · 839f71e3
      Bo Yang authored
      839f71e3
    • Brent Shaffer's avatar
      PHP array constructors for protobuf messages (#4530) · f1911f37
      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
      f1911f37
    • Feng Xiao's avatar
      Merge pull request #4669 from jtattermusch/fix_bazel_build_syntax · b625aabb
      Feng Xiao authored
      Fix syntax error in BUILD file
      b625aabb
    • Jan Tattermusch's avatar
      fix syntax error in BUILD file · ccc56a3c
      Jan Tattermusch authored
      ccc56a3c
  3. 23 May, 2018 1 commit
    • Calder Coalson's avatar
      Declare 'google' namespace when importing Python protobuf via Bazel. · 142cbe0d
      Calder Coalson authored
      `python/google/__init__.py` declares the top-level 'google' namespace so that
      `google.protobuf` can be imported alongside other Google Python modules like
      `google.auth`.
      
      This works well when installing protobuf via Pip, but the Bazel `//:python_srcs`
      rule doesn't include this file in its `srcs`. Bazel implicitly creates an empty
      `google/__init__.py`, which does *not* set up a namespace. The result is that
      consuming Python protobuf via Bazel breaks all other Google Python libraries.
      
      This fixes #4658.
      142cbe0d
  4. 22 May, 2018 8 commits
  5. 21 May, 2018 3 commits
  6. 18 May, 2018 2 commits
  7. 17 May, 2018 3 commits
  8. 16 May, 2018 2 commits
  9. 15 May, 2018 6 commits
  10. 14 May, 2018 3 commits
    • Yilun Chong's avatar
      Merge pull request #4623 from BSBandme/fix_kokoro_benchmark_build · b83b8e3d
      Yilun Chong authored
      Fix python install, cat java error log for kokoro build
      b83b8e3d
    • Paul Yang's avatar
      Adopt php_metadata_namespace in php code generator (#4622) · 3d9e99b7
      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
      3d9e99b7
    • Eugene Hermann's avatar
      Remove undefined behavior from the hash function. · 72d18e3f
      Eugene Hermann authored
      Signed integer overflow creates undefined behavior that may lead to unpredictable fails on different platforms.
      One known example of the hardware where this code did fail is Apple A6 (32-bit Apple Swift CPU)
      
      16777619, 16777499 - two prime numbers that typically used to get better dispersion.
      72d18e3f