1. 30 Oct, 2016 2 commits
    • Paolo Borelli's avatar
      Add basic proto3 test · 2f22519f
      Paolo Borelli authored
      Same code of the proto2 test but with the corresponding proto3 file
      2f22519f
    • Paolo Borelli's avatar
      proto3 support · 8194f4d9
      Paolo Borelli authored
      This is a first cut at adding proto3 support.
      
      As far as I understand protobuf-c already has pretty much everything
      needed once it is built using a new version of protobuf itself.
      The only missing thing is that in proto3 all fields are optional and
      having to manually set has_foo is inconvenient.
      
      This patch special cases the proto3 syntax files so that structs for the
      bytes, enum and primitive fields do not emit the has_ field.
      
      It also adds PROTOBUF_C_LABEL_NONE to the label enum that is used for
      proto3 fields. When a fields has this label, the quantifier is not
      consulted and instead the field is packed/unpacked depending on
      whether it has a value different from NULL/0.
      8194f4d9
  2. 07 Sep, 2016 6 commits
  3. 25 Aug, 2016 2 commits
  4. 24 Aug, 2016 1 commit
  5. 10 Aug, 2016 1 commit
  6. 04 Jul, 2016 1 commit
  7. 17 Jun, 2016 2 commits
  8. 06 May, 2016 1 commit
  9. 02 May, 2016 1 commit
  10. 30 Apr, 2016 1 commit
  11. 27 Apr, 2016 3 commits
  12. 26 Apr, 2016 3 commits
  13. 22 Apr, 2016 2 commits
  14. 17 Feb, 2016 1 commit
  15. 02 Feb, 2016 5 commits
  16. 30 Jan, 2016 3 commits
  17. 29 Jan, 2016 1 commit
  18. 09 Jan, 2016 1 commit
  19. 13 Dec, 2015 3 commits