Skip to content
Snippets Groups Projects
  1. Aug 10, 2017
  2. Jul 25, 2017
  3. Jul 24, 2017
  4. Jul 12, 2017
  5. Jul 10, 2017
  6. Jun 22, 2017
  7. Jun 17, 2017
  8. Jun 08, 2017
  9. Jun 06, 2017
  10. Jun 05, 2017
  11. Jun 03, 2017
  12. May 31, 2017
  13. May 22, 2017
  14. May 14, 2017
  15. May 11, 2017
    • Per Grön's avatar
      Emit additional headers in generated .h file instead of .cc · b50cf568
      Per Grön authored
      For Flatbuffers compatibility.
      
      From what I can tell, File::additional_headers is not used by gRPC
      itself or its default protobuf implementation; it was added for
      Flatbuffers support (it just returns "" for protobuf).
      
      In the Flatbuffer case, the generated header contains references to
      Flatbuffer gRPC glue code which is in a header in additional_headers.
      Prior to this patch, this meant that the generated .h file could not
      be included unless this glue file was included first.
      
      Because the protobuf implementation of additional_headers returns
      an empty string, I think this change should be safe to do and not
      have unintentional consequences.
      b50cf568
    • Per Grön's avatar
      Don't hard code protobuf specific file extensions in cpp_generator.cc · c72b1a31
      Per Grön authored
      This file is shared with the Flatbuffers project as well, which does not
      use "pb" file extensions.
      c72b1a31
  16. May 04, 2017
  17. May 02, 2017
  18. Apr 28, 2017
    • Manuel Kroiss's avatar
      Fix python imports in gRPC generated python code · 65808942
      Manuel Kroiss authored
      This changes the import style for proto dependencies from a) to b).
      a) "import a.b.c as x"
      b) "from a.b import c as x"
      
      Using statement a) causes problems when using __init__ files. If module
      "a.b" has an __init__.py file which is importing the python generated
      grpc code "a.b.d", then we cannot import a module named "a.b.c" because
      the module "a.b" does not exist yet. In this case python will throw:
      AttributeError: 'module' object has no attribute 'b'
      
      This PR adapts the code to use the same logic as in:
      /google/protobuf/compiler/python/python_generator.cc
      65808942
  19. Apr 26, 2017
  20. Apr 19, 2017
  21. Apr 18, 2017
  22. Apr 13, 2017
  23. Apr 10, 2017
  24. Apr 09, 2017
  25. Apr 06, 2017
  26. Mar 28, 2017
Loading