1. 12 Nov, 2018 1 commit
  2. 14 Aug, 2018 14 commits
  3. 13 Aug, 2018 2 commits
  4. 11 Mar, 2018 1 commit
  5. 25 Sep, 2017 1 commit
  6. 14 Aug, 2017 1 commit
  7. 07 Aug, 2017 1 commit
    • Robert Edmonds's avatar
      Restore protobuf-2.x compatibility · 4302266b
      Robert Edmonds authored
      The change in commit 712154b9 ("Bump
      minimum required header version for proto3 syntax") uses functionality
      only exposed by protobuf-3.x, breaking the build when compiling against
      protobuf-2.x.
      
      Since we still want to support building against protobuf-2.x, this
      commit makes the proto3 syntax check in the file generator dependent on
      building against protobuf-3.x.
      4302266b
  8. 05 Aug, 2017 2 commits
  9. 31 Jul, 2017 1 commit
  10. 30 Jul, 2017 1 commit
    • Robert Edmonds's avatar
      Bump minimum required header version for proto3 syntax · 712154b9
      Robert Edmonds authored
      The changes in #274 (proto3: make strings default to "" instead of NULL)
      add a new symbol to the library and add an 'extern' declaration to the
      protobuf-c header file.
      
      Since the compiler may generate files that depend on that new
      'protobuf_c_empty_string' declaration in protobuf-c.h, we need to bump
      the min_header_version value that is written into generated header
      files. But since the 'protobuf_c_empty_string' symbol can only be
      referenced when generating proto3 syntax files, we only need to use the
      stricter min_header_version value when processing a proto3 file.
      712154b9
  11. 29 Jul, 2017 6 commits
  12. 12 Jun, 2017 1 commit
    • Paolo Borelli's avatar
      proto3: make strings default to "" instead of NULL · 2a46af42
      Paolo Borelli authored
      The spec talks about "empty string" and other languages like C#
      return a zero length string and not null.
      This is useful because when moving from proto2's "required string"
      to a proto3's plain string we will be guaranteed that we
      never get a null pointer.
      The tradeoff is adding a special case to the library but avoiding
      a lot of null checks in the calling code.
      The current code is already special casing "" in pack_string.
      2a46af42
  13. 10 Apr, 2017 4 commits
  14. 09 Apr, 2017 4 commits