pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/protobuf Updated protobuf to 3.1.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/25f8630b2754
branches: trunk
changeset: 354032:25f8630b2754
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Oct 19 12:13:00 2016 +0000
description:
Updated protobuf to 3.1.0.
2016-09-23 version 3.1.0 (C++/Java/Python/PHP/Ruby/Objective-C/C#/JavaScript/Lite)
General
* Proto3 support in PHP (alpha).
* Various bug fixes.
C++
* Added MessageLite::ByteSizeLong() that?s equivalent to
MessageLite::ByteSize() but returns the value in size_t. Useful to check
whether a message is over the 2G size limit that protobuf can support.
* Moved default_instances to global variables. This allows default_instance
addresses to be known at compile time.
* Adding missing generic gcc 64-bit atomicops.
* Restore New*Callback into google::protobuf namespace since these are used
by the service stubs code
* JSON support.
* Fixed some conformance issues.
* Fixed a JSON serialization bug for bytes fields.
Java
* Fixed a bug in TextFormat that doesn?t accept empty repeated fields (i.e.,
?field: [ ]?).
* JSON support
* Fixed JsonFormat to do correct snake_case-to-camelCase conversion for
non-style-conforming field names.
* Fixed JsonFormat to parse empty Any message correctly.
* Added an option to JsonFormat.Parser to ignore unknown fields.
* Experimental API
* Added UnsafeByteOperations.unsafeWrap(byte[]) to wrap a byte array into
ByteString without copy.
Python
* JSON support
* Fixed some conformance issues.
PHP (Alpha)
* We have added the proto3 support for PHP via both a pure PHP package and a
native c extension. The pure PHP package is intended to provide usability
to wider range of PHP platforms, while the c extension is intended to
provide higher performance. Both implementations provide the same runtime
APIs and share the same generated code. Users don?t need to re-generate
code for the same proto definition when they want to switch the
implementation later. The pure PHP package is included in the php/src
directory, and the c extension is included in the php/ext directory.
Both implementations provide idiomatic PHP APIs:
* All messages and enums are defined as PHP classes.
* All message fields can only be accessed via getter/setter.
* Both repeated field elements and map elements are stored in containers
that act like a normal PHP array.
Unlike several existing third-party PHP implementations for protobuf, our
implementations are built on a "strongly-typed" philosophy: message fields
and array/map containers will throw exceptions eagerly when values of the
incorrect type (not including those that can be type converted, e.g.,
double <-> integer <-> numeric string) are inserted.
Currently, pure PHP runtime supports php5.5, 5.6 and 7 on linux. C
extension runtime supports php5.5 and 5.6 on linux.
See php/README.md for more details about installment. See
https://developers.google.com/protocol-buffers/docs/phptutorial for more
details about APIs.
Objective-C
* Helpers are now provided for working the the Any well known type (see
GPBWellKnownTypes.h for the api additions).
* Some improvements in startup code (especially when extensions aren?t used).
Javascript
* Fixed missing import of jspb.Map
* Fixed valueWriterFn variable name
Ruby
* Fixed hash computation for JRuby's RubyMessage
* Make sure map parsing frames are GC-rooted.
* Added API support for well-known types.
C#
* Removed check on dependency in the C# reflection API.
2016-09-06 version 3.0.2 (C++/Java/Python/Ruby/Objective-C/C#/JavaScript/Lite)
General
* Various bug fixes.
Objective C
* Fix for oneofs in proto3 syntax files where fields were set to the zero
value.
* Fix for embedded null character in strings.
* CocoaDocs support
Ruby
* Fixed memory corruption bug in parsing that could occur under GC pressure.
Javascript
* jspb.Map is now properly exported to CommonJS modules.
C#
* Removed legacy_enum_values flag.
diffstat:
devel/protobuf/Makefile | 3 +--
devel/protobuf/Makefile.common | 4 ++--
devel/protobuf/PLIST | 4 +++-
devel/protobuf/distinfo | 10 +++++-----
4 files changed, 11 insertions(+), 10 deletions(-)
diffs (68 lines):
diff -r a4e82a33485b -r 25f8630b2754 devel/protobuf/Makefile
--- a/devel/protobuf/Makefile Wed Oct 19 12:08:26 2016 +0000
+++ b/devel/protobuf/Makefile Wed Oct 19 12:13:00 2016 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2016/08/06 11:40:14 kamil Exp $
-#
+# $NetBSD: Makefile,v 1.11 2016/10/19 12:13:00 wiz Exp $
.include "Makefile.common"
diff -r a4e82a33485b -r 25f8630b2754 devel/protobuf/Makefile.common
--- a/devel/protobuf/Makefile.common Wed Oct 19 12:08:26 2016 +0000
+++ b/devel/protobuf/Makefile.common Wed Oct 19 12:13:00 2016 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.3 2016/08/06 11:40:14 kamil Exp $
+# $NetBSD: Makefile.common,v 1.4 2016/10/19 12:13:00 wiz Exp $
#
# used by devel/protobuf/Makefile
# used by devel/py-protobuf/Makefile
-PROTOBUFVER= 3.0.0
+PROTOBUFVER= 3.1.0
MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
GITHUB_PROJECT= protobuf
diff -r a4e82a33485b -r 25f8630b2754 devel/protobuf/PLIST
--- a/devel/protobuf/PLIST Wed Oct 19 12:08:26 2016 +0000
+++ b/devel/protobuf/PLIST Wed Oct 19 12:13:00 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2016/08/06 11:40:14 kamil Exp $
+@comment $NetBSD: PLIST,v 1.5 2016/10/19 12:13:00 wiz Exp $
bin/protoc
include/google/protobuf/any.h
include/google/protobuf/any.pb.h
@@ -20,6 +20,7 @@
include/google/protobuf/compiler/objectivec/objectivec_generator.h
include/google/protobuf/compiler/objectivec/objectivec_helpers.h
include/google/protobuf/compiler/parser.h
+include/google/protobuf/compiler/php/php_generator.h
include/google/protobuf/compiler/plugin.h
include/google/protobuf/compiler/plugin.pb.h
include/google/protobuf/compiler/plugin.proto
@@ -41,6 +42,7 @@
include/google/protobuf/generated_enum_util.h
include/google/protobuf/generated_message_reflection.h
include/google/protobuf/generated_message_util.h
+include/google/protobuf/has_bits.h
include/google/protobuf/io/coded_stream.h
include/google/protobuf/io/gzip_stream.h
include/google/protobuf/io/printer.h
diff -r a4e82a33485b -r 25f8630b2754 devel/protobuf/distinfo
--- a/devel/protobuf/distinfo Wed Oct 19 12:08:26 2016 +0000
+++ b/devel/protobuf/distinfo Wed Oct 19 12:13:00 2016 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.10 2016/10/04 23:16:44 maya Exp $
+$NetBSD: distinfo,v 1.11 2016/10/19 12:13:00 wiz Exp $
-SHA1 (protobuf-cpp-3.0.0.tar.gz) = 00140d255922bf33ef3842168954e3269fbba3af
-RMD160 (protobuf-cpp-3.0.0.tar.gz) = 01a00093e0f7297b3fb7933ef5700d2753109c95
-SHA512 (protobuf-cpp-3.0.0.tar.gz) = 72491ab54244b82f69f39bc485336d986d7238cdf62b48c6e02e53412f348f5cc0756a7249f45c32e7ddb37aaa1e1864244543d1414d6ce7dc03be00ef5f27ab
-Size (protobuf-cpp-3.0.0.tar.gz) = 4075839 bytes
+SHA1 (protobuf-cpp-3.1.0.tar.gz) = b7b7275405ac18784965b02bea7d62f836873564
+RMD160 (protobuf-cpp-3.1.0.tar.gz) = a7be4888dd97e899364c3264875a988bac349acf
+SHA512 (protobuf-cpp-3.1.0.tar.gz) = 9f85a98e55cbc9f245a3079d5a597f778454bc945f0942cb10fbdfbde5fe12b17d6dda93d6a8d5281459ad30a3840be7e0712feb33a824226884e7e4da54a061
+Size (protobuf-cpp-3.1.0.tar.gz) = 4109863 bytes
SHA1 (patch-gmock_configure) = 49a4c9301ad4c1973ee7058213df50a7833161f0
SHA1 (patch-gmock_configure.ac) = cfd7b7c87eff4b06ce6ecb34dec046561bbdc113
SHA1 (patch-src_google_protobuf_stubs_atomicops.h) = 9ec851134da674980a49302e9582a432a47f7974
Home |
Main Index |
Thread Index |
Old Index