./devel/protobuf, Google protocol buffers

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.14.0, Package name: protobuf-3.14.0, Maintainer: pkgsrc-users

Protocol Buffers are a way of encoding structured data in an efficient yet
extensible format. Google uses Protocol Buffers for almost all of its internal
RPC protocols and file formats.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 4cc1a23af0590bf799b61782a937d8b24d7e7986
RMD160: fe51ace0b3af284d0539be82199acd9d14ff5244
Filesize: 4546.028 KB

Version history: (Expand)


CVS history: (Expand)


   2020-11-14 15:07:40 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
protobuf: updated to 3.14.0

Protocol Buffers v3.14.0

Protocol Compiler

The proto compiler no longer requires a .proto filename when it is not
generating code.
Added flag --deterministic_output to protoc --encode=....
Fixed deadlock when using google.protobuf.Any embedded in aggregate options.

C++

Arenas are now unconditionally enabled. cc_enable_arenas no longer has
any effect.
Removed inlined string support, which is incompatible with arenas.
Fix a memory corruption bug in reflection when mixing optional and
non-optional fields.
Make SpaceUsed() calculation more thorough for map fields.
Add stack overflow protection for text format with unknown field values.
FieldPath::FollowAll() now returns a bool to signal if an out-of-bounds
error was encountered.
Performance improvements for Map.
Minor formatting fix when dumping a descriptor to .proto format with
DebugString.
UBSAN fix in RepeatedField.
When running under ASAN, skip a test that makes huge allocations.
Fixed a crash that could happen when creating more than 256 extensions in
a single message.
Fix a crash in BuildFile when passing in invalid descriptor proto.
Parser security fix when operating with CodedInputStream.
Warn against the use of AllowUnknownExtension.
Migrated to C++11 for-range loops instead of index-based loops where
possible. This fixes a lot of warnings when compiling with -Wsign-compare.
Fix segment fault for proto3 optional
Adds a CMake option to build libprotoc separately
   2020-10-25 13:51:24 by Nia Alarie | Files touched by this commit (2)
Log message:
protobuf: Needs a c++11 capable compiler
   2020-09-08 10:35:23 by Havard Eidnes | Files touched by this commit (1)
Log message:
On powerpc, which lacks native 8-byte atomics, use devel/libatomic.
Build fix on this platform only, so no revision bump.
   2020-08-21 13:29:19 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
protobuf py-protobuf: updated to 3.13.0

Protocol Buffers v3.13.0

C++

Removed deprecated unsafe arena string accessors
Enabled heterogeneous lookup for std::string keys in maps.
Removed implicit conversion from StringPiece to std::string
Fix use-after-destroy bug when the Map is allocated in the arena.
Improved the randomness of map ordering
Added stack overflow protection for text format with unknown fields
Use std::hash for proto maps to help with portability.
Added more Windows macros to proto whitelist.
Arena constructors for map entry messages are now marked "explicit"
(for regular messages they were already explicit).
Fix subtle aliasing bug in RepeatedField::Add
Fix mismatch between MapEntry ByteSize and Serialize with respect to unset
fields.

Python

JSON format conformance fixes:
Reject lowercase t for Timestamp json format.
Print full_name directly for extensions (no camelCase).
Reject boolean values for integer fields.
Reject NaN, Infinity, -Infinity that is not quoted.
Base64 fixes for bytes fields: accept URL-safe base64 and missing padding.
Bugfix for fields/files named "async" or "await".
Improved the error message when AttributeError is returned from getattr
in EnumTypeWrapper.
   2020-07-30 09:02:40 by Adam Ciarcinski | Files touched by this commit (5) | Package updated
Log message:
protobuf py-protobuf: updated to 3.12.4

3.12.4:
Unknown changes

3.12.3:
Objective-C
* Tweak the union used for Extensions to support old generated code.
   2020-05-28 13:52:13 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
protobuf py-protobuf: updated to 3.12.2

Protocol Buffers v3.12.2

C++
Simplified the template export macros to fix the build for mingw32.
   2020-05-21 18:30:33 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
protobuf: updated to 3.12.1

Protocol Buffers v3.12.1

Ruby
Re-add binary gems for Ruby 2.3 and 2.4. These are EOL upstream, however
many people still use them and dropping support will require more
coordination.

Protocol Buffers v3.12.0

Protocol Compiler
[experimental] Singular, non-message typed fields in proto3 now support
presence tracking. This is enabled by adding the "optional" field label and
passing the --experimental_allow_proto3_optional flag to protoc.
For usage info, see docs/field_presence.md.
During this experimental phase, code generators should update to support
proto3 presence, see docs/implementing_proto3_presence.md for instructions.
Allow duplicate symbol names when multiple descriptor sets are passed on
the command-line, to match the behavior when multiple .proto files are passed.
Deterministic protoc --descriptor_set_out

C++
[experimental] Added proto3 presence support.
New descriptor APIs to support proto3 presence.
Fix for 7463 in -rc1 (core dump mixing optional and singular fields in proto3)
Enable Arenas by default on all .proto files.
Documented that users are not allowed to subclass Message or MessageLite.
Mark generated classes as final; inheriting from protos is strongly discouraged.
Add stack overflow protection for text format with unknown fields.
Add accessors for map key and value FieldDescriptors.
Add FieldMaskUtil::FromFieldNumbers().
MessageDifferencer: use ParsePartial() on Any fields so the diff does not
fail when there are missing required fields.
ReflectionOps::Merge(): lookup messages in the right factory, if it can.
Added Descriptor::WellKnownTypes enum and Descriptor::well_known_type()
accessor as an easier way of determining if a message is a Well-Known Type.
Optimized RepeatedField::Add() when it is used in a loop.
Made proto move/swap more efficient.
De-virtualize the GetArena() method in MessageLite.
Improves performance of json_stream_parser.cc by factor 1000
bug: 7076 undefine Windows OUT and OPTIONAL macros
Fixed a bug in FieldDescriptor::DebugString() that would erroneously print
an "optional" label for a field in a oneof.
Fix bug in parsing bool extensions that assumed they are always 1 byte.
Fix off-by-one error in FieldOptions::ByteSize() when extensions are present.
Clarified the comments to show an example of the difference between
Descriptor::extension and DescriptorPool::FindAllExtensions.
Add a compiler option 'code_size' to force optimize_for=code_size on all
protos where this is possible.
   2020-05-03 21:32:30 by Roland Illig | Files touched by this commit (1)
Log message:
devel/protobuf: skip shell portability check