1. 05 Aug, 2017 1 commit
  2. 31 Jul, 2017 1 commit
  3. 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
  4. 29 Jul, 2017 6 commits
  5. 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
  6. 10 Apr, 2017 4 commits
  7. 09 Apr, 2017 5 commits
  8. 27 Feb, 2017 1 commit
  9. 26 Feb, 2017 1 commit
  10. 25 Feb, 2017 17 commits
  11. 05 Dec, 2016 1 commit
    • Josh's avatar
      CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR · cfbe34f6
      Josh authored
      This tells CMake to refer to the currently executed `CMakeLists.txt`'s directory instead of the root project directory. This allows protobuf-c to be included as a subdirectory (via `include_subdirectory`) while being innocuous for those that build protobuf-c by itself.
      cfbe34f6
  12. 27 Nov, 2016 1 commit