985b3ee939338022ef44028b5251f77af19c3638: Merge autoland to m-c. a=merge
Ryan VanderMeulen <ryanvm@gmail.com> - Tue, 16 May 2017 20:09:53 -0400 - rev 579117
Push 59153 by bmo:janus926@gmail.com at Wed, 17 May 2017 01:52:49 +0000
Merge autoland to m-c. a=merge CLOSED TREE
53007a31b576fcd4f16ad6523cccd0a9b90c66f0: Bug 1345058 - Asynchronously decide if a flash document should be blocked. draft
Henry Chang <hchang@mozilla.com> - Wed, 10 May 2017 15:32:34 +0800 - rev 579116
Push 59152 by hchang@mozilla.com at Wed, 17 May 2017 01:50:11 +0000
Bug 1345058 - Asynchronously decide if a flash document should be blocked. Technically speaking, we use the new async API 'nsIURIClassifier.asyncClassifyLocalWithTables' to replace the old sync API. However, since we cannot guarantee the async call will be done when we neet its result, we need a sync call as a fallback in this case. This is a sub-optimal solution and we will be investigating if there's a better solution if the sync call is used too frequently. MozReview-Commit-ID: L1uQ2eaYr1e
c4e50ffcf28a0bfbb7a1d7263e75835bad169527: Bug 1365068 - import with destructuring, switch to shorthand function declarations and use array.includes. r=mattn draft
Jonathan Guillotte-Blouin <jguillotteblouin@mozilla.com> - Tue, 16 May 2017 18:23:56 -0700 - rev 579115
Push 59151 by bmo:jguillotteblouin@mozilla.com at Wed, 17 May 2017 01:24:03 +0000
Bug 1365068 - import with destructuring, switch to shorthand function declarations and use array.includes. r=mattn MozReview-Commit-ID: IfmePvN8WnA
5eb2f5f74b3c595dba4d21223353c90aab1069d9: Bug 1365068 - normalize indentation to 2 spaces. r=mattn draft
Jonathan Guillotte-Blouin <jguillotteblouin@mozilla.com> - Tue, 16 May 2017 17:15:02 -0700 - rev 579114
Push 59151 by bmo:jguillotteblouin@mozilla.com at Wed, 17 May 2017 01:24:03 +0000
Bug 1365068 - normalize indentation to 2 spaces. r=mattn MozReview-Commit-ID: LeooMk6DVMl
c41792952693e87c0cc95c1c585e942523c16b76: Bug 1364262 - Convert SRI metadata to ASCII before parsing it. r?ckerschb draft
Francois Marier <francois@mozilla.com> - Tue, 16 May 2017 17:33:22 -0700 - rev 579113
Push 59150 by fmarier@mozilla.com at Wed, 17 May 2017 01:02:02 +0000
Bug 1364262 - Convert SRI metadata to ASCII before parsing it. r?ckerschb MozReview-Commit-ID: Ekw8lNzDvou
cd516821cb0050df1df9702ccb8e70ce64d84aa7: Bug 1365194 - Compile mozjemalloc as C++. r?njn draft
Mike Hommey <mh+mozilla@glandium.org> - Fri, 12 May 2017 21:52:25 +0900 - rev 579112
Push 59149 by bmo:mh+mozilla@glandium.org at Wed, 17 May 2017 00:53:30 +0000
Bug 1365194 - Compile mozjemalloc as C++. r?njn The source file is renamed too, because the build system doesn't handle sources changing suffix very well (at least not without a clobber). We also change the header file name alongside. The _GNU_SOURCE define is removed because GCC/Clang set it by default in C++ mode.
b2f68507cd0476243a527ad50de021222d451811: Bug 1365194 - Compile mozjemalloc as C++. r?njn draft
Mike Hommey <mh+mozilla@glandium.org> - Fri, 12 May 2017 21:52:25 +0900 - rev 579111
Push 59148 by bmo:mh+mozilla@glandium.org at Wed, 17 May 2017 00:43:10 +0000
Bug 1365194 - Compile mozjemalloc as C++. r?njn The source file is renamed too, because the build system doesn't handle sources changing suffix very well (at least not without a clobber). The _GNU_SOURCE define is removed because GCC/Clang set it by default in C++ mode.
7a63d0462bac448c8989695765fb1aa615d7f056: Bug 1365194 - Remove parts of the hacks for memalign in mozjemalloc. r?njn draft
Mike Hommey <mh+mozilla@glandium.org> - Tue, 16 May 2017 20:01:55 +0900 - rev 579110
Push 59148 by bmo:mh+mozilla@glandium.org at Wed, 17 May 2017 00:43:10 +0000
Bug 1365194 - Remove parts of the hacks for memalign in mozjemalloc. r?njn The hack dates back from the originally imported jemalloc code, which couldn't assume it's built for Firefox. Now, we can assume that, which means the code is always built with hidden visibility by default, removing the need for the explicit hidden visibility. Correspondingly, when building on Solaris with GCC, the default visibility should also prevent the inlining, making the noinline attribute redundant. And the Sun Studio path is useless since the compiler is not supported anymore.
0f622e48d693df535e7848e0ab2e749853895952: Bug 1365194 - Make `extern "C"` part of MOZ_MEMORY_API and MOZ_JEMALLOC_API. r?njn draft
Mike Hommey <mh+mozilla@glandium.org> - Tue, 16 May 2017 18:46:02 +0900 - rev 579109
Push 59148 by bmo:mh+mozilla@glandium.org at Wed, 17 May 2017 00:43:10 +0000
Bug 1365194 - Make `extern "C"` part of MOZ_MEMORY_API and MOZ_JEMALLOC_API. r?njn This avoids many additions of `extern "C"` in C++ code and will avoid having to do the same to mozjemalloc once built as C++.
b8feda96500aced1862648e3b6ff42bf4cae1ad3: Bug 1365194 - Remove MOZ_JEMALLOC_API from _malloc_options and _malloc_message. r?njn draft
Mike Hommey <mh+mozilla@glandium.org> - Tue, 16 May 2017 18:55:24 +0900 - rev 579108
Push 59148 by bmo:mh+mozilla@glandium.org at Wed, 17 May 2017 00:43:10 +0000
Bug 1365194 - Remove MOZ_JEMALLOC_API from _malloc_options and _malloc_message. r?njn MOZ_JEMALLOC_API makes those symbols exported, but we're going to make MOZ_JEMALLOC_API include `extern "C"`, which GCC warns about in this case (can't use extern on a variable that is initialized). While we could get around this in some way, there is not much use for those variables being exported altogether: the only reason they are is to allow an override when linking mozjemalloc into executables, but doing that in Firefox requires patching the build system or passing some specific LDFLAGS. People who really need to do that might as well apply a patch. They also allow run-time override through LD_PRELOAD, but one might as well use the MALLOC_OPTIONS environment variable for _malloc_options. As for _malloc_message, it doesn't seem very useful to override, and probably noone ever overrode it at runtime. Note, we may want to remove them in a followup.
52f424b3bad91fd7c50d314e367a6299bcd92a48: Bug 1365194 - Call moz_abort directly instead of using a macro to override abort. r?njn draft
Mike Hommey <mh+mozilla@glandium.org> - Fri, 12 May 2017 21:51:16 +0900 - rev 579107
Push 59148 by bmo:mh+mozilla@glandium.org at Wed, 17 May 2017 00:43:10 +0000
Bug 1365194 - Call moz_abort directly instead of using a macro to override abort. r?njn Using -Dabort=moz_abort actually makes the build fail in some libstdc++ headers when building as C++.
e8ce6ef9cc78e3773c7a0253a50d5c955500fc5f: Bug 1365191 - Remove dead code hidden behind the never set NEEDS_PTHREAD_MMAP_UNALIGNED_TSD. r?njn draft
Mike Hommey <mh+mozilla@glandium.org> - Thu, 11 May 2017 18:05:14 +0900 - rev 579106
Push 59148 by bmo:mh+mozilla@glandium.org at Wed, 17 May 2017 00:43:10 +0000
Bug 1365191 - Remove dead code hidden behind the never set NEEDS_PTHREAD_MMAP_UNALIGNED_TSD. r?njn
6495eff88a9a87eb99c8ae25f6edf19c546577a9: Bug 1365191 - Remove MALLOC_FILL from mozjemalloc. r?njn draft
Mike Hommey <mh+mozilla@glandium.org> - Thu, 11 May 2017 17:57:30 +0900 - rev 579105
Push 59148 by bmo:mh+mozilla@glandium.org at Wed, 17 May 2017 00:43:10 +0000
Bug 1365191 - Remove MALLOC_FILL from mozjemalloc. r?njn It's always set.
1b283adebe48e70b4f3784ef27ea1fdb537b3089: Bug 1365191 - Remove MALLOC_STATS from mozjemalloc. r?njn draft
Mike Hommey <mh+mozilla@glandium.org> - Thu, 11 May 2017 17:55:21 +0900 - rev 579104
Push 59148 by bmo:mh+mozilla@glandium.org at Wed, 17 May 2017 00:43:10 +0000
Bug 1365191 - Remove MALLOC_STATS from mozjemalloc. r?njn It's always set.
0971ce1787eae851701776630aa354d31d226f1e: Bug 1365191 - Remove MALLOC_UTRACE from mozjemalloc. r?njn draft
Mike Hommey <mh+mozilla@glandium.org> - Thu, 11 May 2017 17:47:02 +0900 - rev 579103
Push 59148 by bmo:mh+mozilla@glandium.org at Wed, 17 May 2017 00:43:10 +0000
Bug 1365191 - Remove MALLOC_UTRACE from mozjemalloc. r?njn It's always unset, and Firefox has the logalloc replace-malloc library for something similar.
f7f273d9522335ae8be896b47960eee2fdf71630: Bug 1365191 - Remove MALLOC_VALIDATE in mozjemalloc. r?njn draft
Mike Hommey <mh+mozilla@glandium.org> - Thu, 11 May 2017 17:39:56 +0900 - rev 579102
Push 59148 by bmo:mh+mozilla@glandium.org at Wed, 17 May 2017 00:43:10 +0000
Bug 1365191 - Remove MALLOC_VALIDATE in mozjemalloc. r?njn It's always set.
1013f47e0fd3c807f16b3c676fe0f57569cf103d: Bug 1365191 - Remove !MOZ_MEMORY sections in mozjemalloc. r?njn draft
Mike Hommey <mh+mozilla@glandium.org> - Thu, 11 May 2017 17:34:54 +0900 - rev 579101
Push 59148 by bmo:mh+mozilla@glandium.org at Wed, 17 May 2017 00:43:10 +0000
Bug 1365191 - Remove !MOZ_MEMORY sections in mozjemalloc. r?njn MOZ_MEMORY is always defined when building mozjemalloc. Due to the origin of the code, this was all FreeBSD-specific code, and if we want to add FreeBSD support, we will probably need to add some of it, but I'd rather avoid keeping the difference between FreeBSD and other posix systems if we can.
b8f7f776e1198671171b598b554d8777740f9b43: Bug 1365191 - Remove #if 0 sections in mozjemalloc. r?njn draft
Mike Hommey <mh+mozilla@glandium.org> - Thu, 11 May 2017 17:23:02 +0900 - rev 579100
Push 59148 by bmo:mh+mozilla@glandium.org at Wed, 17 May 2017 00:43:10 +0000
Bug 1365191 - Remove #if 0 sections in mozjemalloc. r?njn
fb800ec19864cc4f039b8e3159ce2b6dbdbae084: Bug 1363182 - Add a "send to device" subview to the page action menu. draft
Drew Willcoxon <adw@mozilla.com> - Tue, 16 May 2017 16:22:53 -0700 - rev 579099
Push 59147 by dwillcoxon@mozilla.com at Tue, 16 May 2017 23:23:08 +0000
Bug 1363182 - Add a "send to device" subview to the page action menu. MozReview-Commit-ID: EZQKAEAr08q
9c0a94aabf6220eab11ffe8f1fd6b7a0a3d6848c: Bug 1355323 - Create action menu panel with initial "copy URL" and "email link" items. r?Gijs draft
Drew Willcoxon <adw@mozilla.com> - Tue, 16 May 2017 14:14:38 -0700 - rev 579098
Push 59147 by dwillcoxon@mozilla.com at Tue, 16 May 2017 23:23:08 +0000
Bug 1355323 - Create action menu panel with initial "copy URL" and "email link" items. r?Gijs MozReview-Commit-ID: LpR63K7riho
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip