Commit Graph

566562 Commits

Author SHA1 Message Date
Matt Woodrow
c53662b395 Bug 1411132 - Always recurse into merging for sub-lists, even when there isn't a matching new item, so that we find all items that need invalidating. r=ethanlin
--HG--
extra : rebase_source : 2f6066ca53b4ee456e2f33b13dd54ba79e63f8b6
2017-10-30 15:29:08 +13:00
David Anderson
738cb80798 Add a Talos test for displaylist mutation. (bug 1411804, r=jmaher, r=mattwoodrow) 2017-10-29 23:21:39 -07:00
JW Wang
cd62426903 Bug 1412187 - ChannelMediaResource::Resume() should call Seek() instead of CacheClientSeek(). r=gerald
CacheClientSeek() will call Seek() asynchronously and should be used by MediaCache only.
ChannelMediaResource::Resume() runs on the main thread and can call Seek() directly.
Note this is a missing change from bug 1411504 P3.

MozReview-Commit-ID: I2X1Rk5HoDV

--HG--
extra : rebase_source : 66dce75aefc4bfebecf69ebe107e9b4c9286f3a5
extra : source : 20e5463e15049095a941f501acd3fa7dd4e9b1db
2017-10-27 11:50:37 +08:00
JW Wang
c94f001983 Bug 1412181 - add a proxy to be registered with ClearOnShutdown() to clear MediaCache::sThread. r=gerald
MozReview-Commit-ID: 9SXSKTP9Twb

--HG--
extra : rebase_source : 1cec3d8e307c980e2634fdc43ff9333833cb5547
extra : source : 2fa3d4a310a6e5765ee51cd3115013434d4662e5
2017-10-27 11:38:53 +08:00
Nicholas Nethercote
9252435548 Bug 1410794 (attempt 2) - Change some |string| occurrences in nsIPrefBranch.idl to |ACString|. r=erahm.
This makes the code nicer. In particular, it removes many getter_Copies()
calls. The patch also converts a lot of nsCStrings to nsAutoCString, which will
avoid heap allocation in the common case.

The patch also renames PREF_CopyCharPref() as PREF_GetCStringPref(), because
it's actually getting a string, not a char, and that matches the existing
GetCString() and GetDefaultCString() methods. Correspondingly, it also renames
PREF_SetCharPref() as PREF_SetCStringPref().

The |aPrefName| arguments in nsIPrefBranch.idl remain as |string| because they
almost always involve passing in C string literals, and passing "foo" is much
nicer than passing NS_LITERAL_CSTRING("foo").

It's worth noting that early versions of this patch used |AUTF8String| instead
of |ACString|. But it turns out that libpref stores prefs internally as Latin1.
And |ACString| is compatible with Latin1 but |AUTF8String| isn't, because
non-ASCII Latin1 strings are not valid UTF-8!

MozReview-Commit-ID: D3f7a1Vl1oE

--HG--
extra : rebase_source : e6e4b15d6d210cfd93686f96400281f02bd1d06b
2017-10-27 10:30:33 +11:00
Phil Ringnalda
a9875ab37a Backed out changeset f26525123e6a (bug 1411132) for build bustage
CLOSED TREE

MozReview-Commit-ID: AcF8eNmKntl
2017-10-29 21:23:43 -07:00
Matt Woodrow
65d2972514 Bug 1411132 - Always recurse into merging for sub-lists, even when there isn't a matching new item, so that we find all items that need invalidating. r=ethanlin 2017-10-30 15:29:08 +13:00
Matt Woodrow
b47b79466f Bug 1411881 - Use separate lists for MarkFrameForDisplay and MarkFrameForDisplayIfVisible to avoid them clobbering each other when we leave a PresShell. r=ethanlin 2017-10-30 15:28:45 +13:00
JerryShih
95b77b8a45 Bug 1399389 - update Cargo.lock and webrender_ffi_generated.h for webrender_bindings updating. r=nical
MozReview-Commit-ID: 8FIu1K1jjxM
2017-10-30 11:31:38 +08:00
JerryShih
5b15c33523 Bug 1399389 - redirect the warn/error message to gfx_critical_error/note in WR. r=kvark
MozReview-Commit-ID: Fxkz3Fq96Tb
2017-10-30 11:31:38 +08:00
Matthew Gregan
880b9d2455 Bug 1411849 - Update media/audioipc to d17a7c09. r=kamidphish 2017-10-30 14:40:09 +13:00
Kartikaya Gupta
b475e3a4da Bug 1410463 - Mark a frequent intermittent as random-if(webrender). r=me
MozReview-Commit-ID: 3jwx2OKL29n
2017-10-29 21:25:47 -04:00
Lee Salzman
3b3fcb68c1 Bug 1408481 - send gfxMacFont font smoothing setting to WebRender. r=mstange
MozReview-Commit-ID: 9BwLVrfjnsP
2017-10-29 20:21:10 -04:00
Sebastian Hengst
2582bd4c33 Backed out changeset 8c9886e3e68e (bug 1408708) for eslint failure at devtools/server/actors/stylesheets.js:157: use .ownerGlobal instead of .ownerDocument.defaultView. r=backout
--HG--
extra : amend_source : 5262c467c3bf7662d29de1c4c0e9999b5b307d55
2017-10-29 23:05:01 +01:00
Sebastian Hengst
3adb0917e1 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-29 23:02:20 +01:00
Sebastian Hengst
a6ee12714b Bug 1365425 - [bn-BD] Add search engine setup for Firefox Mobile for Bengali (Bengladesh): Replace 'ddg' with 'duckduckgo' to fix bn-BD Fennec L10n nightly. r=nightly-fix a=nightly-fix
MozReview-Commit-ID: 8eJYHVajz3o
2017-10-29 22:56:44 +01:00
Sebastian Hengst
f55fb22829 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9Vo6y3ECMme
2017-10-29 22:53:09 +01:00
Sebastian Hengst
251c6478de merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: AgOQA5cp8C2
2017-10-29 22:50:47 +01:00
ffxbld
8af3c26b61 No bug, Automated HPKP preload list update from host bld-linux64-spot-033 - a=hpkp-update 2017-10-29 11:34:19 -07:00
ffxbld
c61725847a No bug, Automated HSTS preload list update from host bld-linux64-spot-033 - a=hsts-update 2017-10-29 11:34:15 -07:00
Sebastian Hengst
1ebd2eff44 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-10-29 12:04:25 +02:00
Makoto Kato
41d5df0bac Bug 1411802 - Fix bustage after updating NDK r15c. r=me
MozReview-Commit-ID: 2kMieFmFWsJ

--HG--
extra : rebase_source : 2bea8a6590cadaeec3bfd807474f41535167b11f
2017-10-29 14:02:09 +09:00
Makoto Kato
b55c2d4000 Bug 1411802 - Build stylo on Android as default. r=nalexander,snorp,jryans
- Building is nightly channel only.  Beta and release for Fennec 58 don't build
  stylo.  It means that the package size for 58 beta/release isn't incremented
  by this change.
- The preference for stylo is still turned off Nightly 58. It will be turned on
  59 after fixing some bugs for crashtests and etc.  Our target to enable stylo
  for Android is 59.
- ./mach bootstrap already installs clang etc to build stylo and bindgen.
  Developers for mobile won't require additional build options for this change.

MozReview-Commit-ID: CIpYl8I5d7x

--HG--
extra : rebase_source : 6387704e4a94db080d4add10298cf1cc254ddec0
2017-10-29 22:56:41 +09:00
Tom Schuster
b2bd1f0d80 Bug 1410620 - Change CacheInfo interfaces in network to use ACString. r=michal,froydnj 2017-10-29 12:19:48 +01:00
Sebastian Hengst
ead7053042 merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-10-29 12:12:13 +02:00
Jorg K
e4e37ae9d0 Bug 1412497 - fix test for buffered input stream. r=baku 2017-10-29 08:59:26 +01:00
Nathan Froyd
a29f4ac5f8 Bug 1163171 - part 9.1 - attempt to pacify flake8 complaints for real; r=me 2017-10-28 18:58:59 -04:00
Jeff Muizelaar
91f3b3ac1d Bug 1380014. Fix up the webrender bindings. r=kats
The earlier patches in this bug were written before we had
sophisticated binding generation so the types didn't match very well.
This fixes all of that.

MozReview-Commit-ID: DpcblpB8vxW
2017-10-28 18:32:24 -04:00
Sebastian Hengst
7abe8d7079 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-29 00:23:03 +02:00
Sebastian Hengst
7486bf7e8a merge mozilla-central to autoland. r=merge a=merge 2017-10-29 00:22:01 +02:00
Sebastian Hengst
286061948f Bug 1163171 - part 9 - fix flake8 complains in android-ndk.configure. r=me 2017-10-29 00:08:13 +02:00
Sebastian Hengst
aa280593d3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2ZpDkstVKjg
2017-10-28 23:58:53 +02:00
Sebastian Hengst
d6f574cf1b merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DMG276CdAzv
2017-10-28 23:57:08 +02:00
Nathan Froyd
f29e0181c8 Bug 1163171 - part 8 - touch CLOBBER because we're changing compilers; r=me 2017-10-28 17:38:58 -04:00
Nathan Froyd
2aeb0307ea Bug 1163171 - part 7 - mark counter tests as passing now that we use clang; r=dholbert
These tests were failing because of some misoptimizations that GCC did.
clang is generating correct code here, and the tests correctly pass, so
we can mark them as such.
2017-10-28 17:38:58 -04:00
Nathan Froyd
f0a815d0e2 Bug 1163171 - part 6 - update to NDK r15c; r=snorp 2017-10-28 17:38:58 -04:00
Nathan Froyd
fc41938428 Bug 1163171 - part 4 - fix jsapi-tests link errors with __atomic_* intrinsics on x86/Android with clang; r=glandium
NDK r15+ clang changed the code generation strategy for the __atomic_*
intrinics such that using them with 64-bit types now requires linking
with libatomic.  Our current configure tests for libatomic doesn't catch
this, because the std::atomic implementation is such that it doesn't
require an external library, even for 64-bit types, whereas the
__atomic_* intrinsics do.  The safest thing to do is to force this
configure check to always return true when we are compiling for
x86/Android with clang.
2017-10-28 17:38:58 -04:00
Nathan Froyd
69423fba9b Bug 1163171 - part 3b - inform clang about the NDK's gcc toolchain; r=glandium
The NDK clang needs to be informed about the existence of a GCC
toolchain, so important programs like the linker can be located.  With
this change, we're starting to use command-line options that are
incompatible with GCC, so we also add a check to inform the user about
the non-support for this configuration.
2017-10-28 17:38:59 -04:00
Nathan Froyd
2c5288d26c Bug 1163171 - part 3a - expose the NDK clang binaries to toolchain configury; r=glandium
Our normal method of locating the compilers in the NDK is to set
--with-toolchain-prefix when compiling for Android.  However, the clang
binaries are in a different location than would otherwise be implied by
--with-toolchain-prefix.  Additionally, we still need to know about
--with-toolchain-prefix because the NDK clang needs to be pointed there
so clang can find important binaries like the linker and because various
other bits of the build system depend on the --with-toolchain-prefix
value as well.

So we need a separate mechanism for communicating the whereabouts of the
NDK clang.  We can't set CC and CXX because doing so would conflict with
the CC and CXX values exported to the js/src/ subconfigure.  But Android
already has an extra_toolchain_flags function that we use for informing
moz.configure about additional flags needed solely for Android, and we
can use a similar trick to communicate the existence of the NDK's clang
to the main C/C++ compiler selection process.
2017-10-28 17:38:59 -04:00
Nathan Froyd
bce27af988 Bug 1163171 - part 2 - switch to using -isystem rather than -idirafter for Android; r=glandium
This command-line flag is a little more evocative and works correctly
with both GCC and clang.
2017-10-28 17:38:59 -04:00
Nathan Froyd
d35748de01 Bug 1163171 - part 1 - switch to r11c NDKs that include clang; r=snorp
The first thing to do to make Fennec compile with clang is to use NDK
tarballs that actually include LLVM.
2017-10-28 17:38:59 -04:00
Nathan Froyd
24a08c31db Bug 1412547 - avoid unused lambda captures in MediaDecoder.cpp; r=jya 2017-10-28 15:40:15 -04:00
Nathan Froyd
b8d06c7563 Bug 1412546 - avoid -Wunused-private-field warnings in WasmTypes.h; r=arai 2017-10-28 15:40:15 -04:00
Boris Chiou
ca916ce990 Bug 1412542 - Fix crashes on products other than Firefox. r=heycam
MozReview-Commit-ID: G9DeMR5o8F3

--HG--
extra : rebase_source : ddf209961e618c90da7c80f8a2d6952923b56ecb
2017-10-28 20:49:08 +02:00
ffxbld
8d7205d5c7 No bug, Automated HPKP preload list update from host bld-linux64-spot-023 - a=hpkp-update 2017-10-28 11:38:28 -07:00
ffxbld
b03d306da6 No bug, Automated HSTS preload list update from host bld-linux64-spot-023 - a=hsts-update 2017-10-28 11:38:24 -07:00
ffxbld
e009038b12 No bug, Automated HPKP preload list update from host bld-linux64-spot-037 - a=hpkp-update 2017-10-28 11:23:31 -07:00
ffxbld
261757d83a No bug, Automated HSTS preload list update from host bld-linux64-spot-037 - a=hsts-update 2017-10-28 11:23:28 -07:00
Sebastian Hengst
8968724f1a Backed out changeset 4905048de8d1 (bug 1412355) for frequently failing reftest layout/reftests/writing-mode/1248248-1-orientation-break-glyphrun.html on Linux x64 debug and asan. r=backout
--HG--
extra : amend_source : 61e56c97354c788bfd03aa551e911a1aff14006e
2017-10-28 16:39:59 +02:00
Nathan Froyd
c04d322a0a Bug 1412405 - fix isnanf symbol lookup by using a LoadedElf for libm; r=glandium
We already dealt with issues around dlsym not resolving weak symbols
with libc in bug 1081034.  This fix applies the same workaround to libm,
which solves the isnanf issue.

The previous fix for looking up __isnanf is no longer needed.
2017-10-28 08:51:23 -04:00