gecko-dev/toolkit/components/downloads
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
..
chromium 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
test/unit Bug 1381704 - Remove unused Application Reputation telemetry probe. r=hchang,liuche 2017-08-22 17:16:24 -07:00
ApplicationReputation.cpp Bug 1408005 - Clear gApplicationReputationService in the dtor. r=francois 2017-10-23 10:18:42 -04:00
ApplicationReputation.h Bug 1366965 - Remove telemetry that compare SafeBrowsing V2 & V4. r=francois 2017-06-12 11:27:19 +08:00
generate_csd.sh Bug 1364050 - Part 3 - Remove obsolete code from the nsIDownloadManager implementation. r=mak 2017-05-15 11:55:50 +01:00
moz.build Bug 1366965 - Remove telemetry that compare SafeBrowsing V2 & V4. r=francois 2017-06-12 11:27:19 +08:00
nsDownloadManager.cpp Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron. 2017-08-04 14:40:52 +10:00
nsDownloadManager.h Bug 1364050 - Part 3 - Remove obsolete code from the nsIDownloadManager implementation. r=mak 2017-05-15 11:55:50 +01:00
nsIApplicationReputation.idl Bug 1402760 - Change nsIApplicationReputationQuery::suggestedFileName from an AString to an AUTF8String. r=gcp. 2017-09-25 14:50:20 +10:00
nsIDownload.idl
nsIDownloadManager.idl
nsIDownloadManagerUI.idl
nsIDownloadProgressListener.idl