gecko-dev/devtools
Francois Marier 7f48d0bdd3 Bug 1385461 - Upgrade to the latest version of the protobuf library. r=dimi,fitzgen,glandium,mattwoodrow,mossop
The tarball that was imported is the 3.4.1 release:

  https://github.com/google/protobuf/releases/tag/v3.4.1
  https://github.com/google/protobuf/releases/download/v3.4.1/protobuf-cpp-3.4.1.tar.gz

This drops all of the customizations that are no longer needed,
which includes a few issues that were fixed upstream:

- r512.patch from bug 892856:

    https://searchfox.org/mozilla-central/rev/bab9dbe9c4ef71f71fb07e53b701fb2dfde277d9/toolkit/components/protobuf/r512.patch
    b04e5cba35/src/google/protobuf/io/zero_copy_stream_impl.cc (L43)

- vs2013.patch, also from bug 892856:

    https://searchfox.org/mozilla-central/rev/bab9dbe9c4ef71f71fb07e53b701fb2dfde277d9/toolkit/components/protobuf/vs2013.patch
    b04e5cba35/src/google/protobuf/wire_format_lite_inl.h (L39)

- sparc64 fixes in m-c-changes.patch from bug 1275204:

    https://hg.mozilla.org/integration/mozilla-inbound/rev/21d692e82582
    b04e5cba35/src/google/protobuf/stubs/platform_macros.h (L68)

The LOGLEVEL_ERROR hack in m-c-changes.patch from bug 1024774 and
bug 1320179 was replaced by a NOGDI define in moz.build as suggested
by upstream:

    https://github.com/google/protobuf/pull/3745/files#r144915445

The other customizations that were dropped came from bug 1024774.

The patch for OpenBSD/32-bit will likely be fixed upstream in a
future release:

    https://github.com/google/protobuf/pull/3747#issuecomment-336581244

Upgrading the protobuf library also required re-generating all
of the existing .pb.h and pb.cc files (they are neither forward
nor backward-compatible) and making adjustments to the build
config to make it compile (and silence warnings).

text_format.cc can now be compiled as part of UNIFIED_SOURCES.

MozReview-Commit-ID: 7F2IqFmwQnN

--HG--
extra : rebase_source : b907a28a8063ecd82bb38530d309faafc7b83175
2017-10-18 15:02:05 -07:00
..
client Bug 1171482 - wait for 2 distinct mutations in markup test;r=pbro 2017-10-18 13:07:45 +02:00
docs merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-09-05 11:40:49 +02:00
platform Backed out changeset 192d517219c1 (bug 1369801) 2017-07-27 18:14:38 +02:00
server Bug 1409968 - Follow up: Add a semicolon to fix eslint error. r=me 2017-10-19 15:43:59 -04:00
shared Bug 1385461 - Upgrade to the latest version of the protobuf library. r=dimi,fitzgen,glandium,mattwoodrow,mossop 2017-10-18 15:02:05 -07:00
shim Bug 1408330 - remove mentions about styleeditor, webaudio and scratchpad;r=nchevobbe 2017-10-18 12:33:32 +02:00
.eslintrc.js Bug 1395890 - Change all ESLint rules that are warnings to errors. r=standard8 2017-09-18 19:07:17 +01:00
.eslintrc.mochitests.js
.eslintrc.xpcshell.js
bootstrap.js Bug 1399449 - Convert devtools/client/responsivedesign/responsivedesign.jsm to a commonjs module. r=jryans 2017-09-13 14:33:58 +02:00
chrome.manifest Bug 1386616 - dt-addon: create new devtools/shim locale;r=Pike 2017-08-03 16:57:19 +02:00
CODE_OF_CONDUCT.md
install.rdf Bug 1388412 - update devtools addon install rdf to use toolkit em:id;r=ochameau 2017-09-04 14:03:47 +02:00
moz.build Backed out changeset 8a8f5e718ddd (bug 1369801) for frequently breaking devtools menus (bug 1384967). r=backout a=backout on a CLOSED TREE 2017-07-27 18:16:52 +02:00
templates.mozbuild Backed out changeset 8a8f5e718ddd (bug 1369801) for frequently breaking devtools menus (bug 1384967). r=backout a=backout on a CLOSED TREE 2017-07-27 18:16:52 +02:00