- 30 Oct, 2016 2 commits
-
-
Paolo Borelli authored
Same code of the proto2 test but with the corresponding proto3 file
-
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.
-
- 07 Sep, 2016 6 commits
-
-
Robert Edmonds authored
Make init_value const
-
Robert Edmonds authored
rm argument fix for solaris
-
Robert Edmonds authored
Relax autoconf constraint from v2.64 -> v2.63 (so that it works on SL6)
-
Thomas Köckerbauer authored
-
Thomas Köckerbauer authored
-
Ben Farnham authored
-
- 25 Aug, 2016 2 commits
-
-
Robert Edmonds authored
protobuf-c: fix: make dist
-
Robert Edmonds authored
fixed cmake build if built as part of an external project
-
- 24 Aug, 2016 1 commit
-
-
Gregory Detal authored
remove .pb.{cc,h} in distdir instead of top_distdir in order to prevent removing files from other projects when protobuf-c is included as an autotools subproject. Signed-off-by: Gregory Detal <gregory.detal@tessares.net>
-
- 10 Aug, 2016 1 commit
-
-
Adnan authored
-
- 04 Jul, 2016 1 commit
-
-
Robert Edmonds authored
protoc-c/c_message.cc: Force int size on oneof enums
-
- 17 Jun, 2016 2 commits
-
-
Ilya Lipnitskiy authored
http://lists.llvm.org/pipermail/llvm-foundation/2016-May/000020.html travis-ci/travis-ci#6120
-
Ilya Lipnitskiy authored
Fixes #220. Patch by Dave Benson from the mailing list thread.
-
- 06 May, 2016 1 commit
-
-
Robert Edmonds authored
Fix bigendian -Wunused-label warning
-
- 02 May, 2016 1 commit
-
-
Tomasz Wasilczyk authored
-
- 30 Apr, 2016 1 commit
-
-
Robert Edmonds authored
Fix ISO C90 -Wdeclaration-after-statement warnings
-
- 27 Apr, 2016 3 commits
-
-
Tomasz Wasilczyk authored
-
Robert Edmonds authored
Fix -Wsign-compare warnings in int32_size()
-
Tomasz Wasilczyk authored
-
- 26 Apr, 2016 3 commits
-
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Robert Edmonds authored
-
- 22 Apr, 2016 2 commits
-
-
Ilya Lipnitskiy authored
-
Ilya Lipnitskiy authored
From https://developers.google.com/protocol-buffers/docs/proto#optional: If the default value is not specified for an optional element, a type-specific default value is used instead: for strings, the default value is the empty string. For bools, the default value is false. For numeric types, the default value is zero. For enums, the default value is the first value listed in the enum's type definition. This means care must be taken when adding a value to the beginning of an enum value list. Prior to this change, protoc-c set the default enum value to 0, whether or not 0 was the first value listed in the enum's type definition (or if it even was listed at all).
-
- 17 Feb, 2016 1 commit
-
-
Paolo Borelli authored
Using the old "protoc-c" command directly is still supported through a symlink.
-
- 02 Feb, 2016 5 commits
-
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Paolo Borelli authored
Using {} as an initializer fails on MSVC Signed-off-by: Paolo Borelli <pborelli@gnome.org>
-
- 30 Jan, 2016 3 commits
-
-
Robert Edmonds authored
-
Robert Edmonds authored
-
Robert Edmonds authored
-
- 29 Jan, 2016 1 commit
-
-
Zex authored
-
- 09 Jan, 2016 1 commit
-
-
Diego Elio Pettenò authored
I've moved the guide to its own domain some time ago, fix the reference to avoid the redirects.
-
- 13 Dec, 2015 3 commits
-
-
Ilya Lipnitskiy authored
Remove a redundant test and add two large number test cases.
-
Ilya Lipnitskiy authored
This change helps keep protobuf-c compatible with systems where int is less than 4 bytes long. This change also makes left shifts more consistent.
-
Peter Leschev authored
-