Commit Graph

520017 Commits

Author SHA1 Message Date
Xidorn Quan
35f2f9ad03 Bug 1337637 - Release rule when deleting from ServoCSSRuleList. r=heycam
MozReview-Commit-ID: CrVNCTEJ7l6

--HG--
extra : rebase_source : 69473337c5b7833486c3b7d0f3bfe452d950a2ba
2017-02-08 14:19:08 +11:00
Ryan Hunt
b8d96d48e8 Bug 1337387 - Fix unified build bustage r=kats?
--HG--
extra : amend_source : 4f3df3c6385129b977476fd8f86ffdbd21d18b52
2017-02-07 09:37:57 +00:00
Ryan Hunt
5e2990dc18 Merge m-c to graphics 2017-02-07 09:05:18 +00:00
Carsten "Tomcat" Book
092e5dc5f1 merge mozilla-inbound to mozilla-central a=merge 2017-02-07 14:08:46 +01:00
sotaro
21e27083d4 Bug 1336024 - Split Image selection logic from ImageHost r=nical
--HG--
rename : gfx/layers/composite/ImageHost.cpp => gfx/layers/composite/ImageComposite.cpp
rename : gfx/layers/composite/ImageHost.h => gfx/layers/composite/ImageComposite.h
2017-02-07 17:07:00 +09:00
Nicholas Nethercote
609674c984 Bug 1337189 (part 12) - Move s{,Last}FrameNumber from Sampler.cpp to platform.cpp. r=mstange.
--HG--
extra : rebase_source : 95bc147a4a8e750ee3c0dbd92b55cca194a93639
2017-02-07 15:56:48 +11:00
Nicholas Nethercote
1ad49d6d4d Bug 1337189 (part 11) - Move the Linux-specific fields out of Sampler. r=mstange.
--HG--
extra : rebase_source : 09797087c38c99be18e59abdfff170115e7fbba6
2017-02-07 15:47:01 +11:00
Phil Ringnalda
9e65b95fe1 Backed out changeset 4b8c006aff8d (bug 1334837) for Mac debug crashes [@ js::CurrentThreadIsIonCompiling()]
CLOSED TREE
2017-02-06 20:29:57 -08:00
Nicholas Nethercote
aaa8c223f7 Bug 1337189 (part 10) - Move entrySize_ out of Sampler. r=mstange.
--HG--
extra : rebase_source : 599be59343311c421b00c6bd7e0674175dc57445
2017-02-07 15:22:52 +11:00
Nicholas Nethercote
5be61e6eca Bug 1337189 (part 9) - Move mThreadNameFilters and mFeatures out of Sampler. r=mstange.
Doing so made it clearer that gThreadNameFilters was being accessed from
multiple threads without synchronization, so I added a Mutex for it.

--HG--
extra : rebase_source : 60d9f4df76ed04cb5ce1b8232bbeb9c795b66535
2017-02-07 15:22:27 +11:00
Cameron McCormack
ba8e011576 Backed out changeset c5d678ebcbcd (bug 1334876) for test failures.
MozReview-Commit-ID: 7lAhjbEiSsd
2017-02-07 11:58:28 +08:00
Tim Huang
756cf900c9 Bug 1336802 - Part 2: Updating the whole code base to make sure nsILoadInfo get null check. r=smaug
--HG--
extra : rebase_source : 22149fd540fd02119afe9fe5c9a815d01cf959c1
2017-02-07 11:49:34 +08:00
Tim Huang
c44e5b4109 Bug 1336802 - Part 1: Fixing the crash of nsILoadInfo::GetOriginAttributes. r=smaug
--HG--
extra : rebase_source : baba3ca38c2f080f8fdfb1ada1a6945f5477d82c
2017-02-07 11:49:33 +08:00
Nicholas Nethercote
0b9183e6ac Bug 1337189 (part 8) - Move mGatherer out of Sampler. r=mstange.
--HG--
extra : rebase_source : a366d877712b3b5761c4fd699bc39bd8ecbd4757
2017-02-07 14:24:39 +11:00
Nicholas Nethercote
a198b373b1 Bug 1337189 (part 7) - Move Startup(), Shutdown(), RegisterCurrentThread(), UnregisterCurrentThread() out of Sampler. r=mstange.
This is a good example of code that's in Sampler for no particular reason.

--HG--
extra : rebase_source : 29436e650a154c519029c05cad379e5226043af9
2017-02-07 14:24:33 +11:00
Nicholas Nethercote
52ef6d2984 Bug 1337189 (part 6b) - Move declarations of gSampler. r=mstange.
--HG--
extra : rebase_source : 03ec3604f8e54aa501142cf218c4673504caf34a
2017-02-07 17:27:54 +11:00
Kartikaya Gupta
17c87e25f6 Bug 1337085 - Update RenderThread startup/shutdown to use a runtime flag rather than a compile-time one. r=sotaro
MozReview-Commit-ID: AVIEzb8MiGV
2017-02-06 22:22:44 -05:00
Kartikaya Gupta
3c3b72b692 Bug 1337085 - Add a gfxVar to control whether or not webrender is enabled. r=sotaro
MozReview-Commit-ID: 8Ebc0DbhYbZ
2017-02-06 22:22:36 -05:00
Nicholas Nethercote
a76c2d28fe Bug 1337189 (part 6) - Move sRegisteredThreads{,Mutex} out of Sampler. r=mstange.
They don't particularly belong there, and Sampler will be going away eventually
anyway.

--HG--
extra : rebase_source : 4faab111925848215f7e8db8244b33ee46c5396c
2017-02-07 14:16:26 +11:00
Ethan Lin
896d26ef75 Bug 1337291 - Part1. Pass the border style to BorderLayer. r=mattwoodrow
MozReview-Commit-ID: 59rB9sDilYW
2017-02-08 23:20:29 -05:00
Hiroyuki Ikezoe
a0e80666fe Bug 1333846 - Part 2: Evaluate scale values for additive or accumulative animations. r=birtles a=abillings
MozReview-Commit-ID: LSKJNH5OJbs
2017-02-09 11:28:47 +09:00
Hiroyuki Ikezoe
4047570520 Bug 1333846 - Part 1: Move ContainsAnimatedScale() codes into dom/animation/. r=birtles a=abillings
MozReview-Commit-ID: 6bWeTfCmjtd
2017-02-09 11:28:47 +09:00
Nathan Froyd
bf582d23fa Bug 1312086 - part 3 - move js::{Mutex,ConditionVariable}Impl to mozglue; r=fitzgen,glandium 2017-02-08 20:52:55 -05:00
Nathan Froyd
ae605642a6 Bug 1312086 - part 2 - separate out a ConditionVariableImpl class; r=fitzgen
For moving the platform-specific bits of Mutex and ConditionVariable to
mozglue, we'd rather not have to bring along things like js::LockGuard.
To do that, we need to separate out the platform-specific bits of
ConditionVariable into a ConditionVariableImpl class, similar to what's
already done for Mutex.  Although we won't have type-checking to ensure
that we pass in locked mutexes for the wait* methods, we expect
higher-level implementations to take care of those details.
2017-02-08 20:52:55 -05:00
Nathan Froyd
524aedff8e Bug 1312086 - part 1 - pull the TimeStamp'd ConditionVariable::wait_for into platform-independent code; r=fitzgen
The implementation is exactly the same for both the Windows and Posix
implementations.  There's no need for the code duplication.
2017-02-08 20:52:55 -05:00
Bobby Holley
6fac28059f Bug 1333183 - Prime the root element cache before the servo traversal. r=emilio 2017-02-08 17:04:47 -08:00
Bobby Holley
0f1312abd1 Bug 1335303 - Explicitly set up the bool var cache for BrowserFramesEnabled. r=smaug 2017-02-08 17:04:47 -08:00
Bobby Holley
347e3d646b Bug 1335303 - Add a virtual method to avoid QI to nsIMozBrowserFrame. r=smaug 2017-02-08 17:04:47 -08:00
Bobby Holley
37398f991c Bug 1335317 - Avoid calling StyleEffects() during the parallel traversal. r=heycam 2017-02-08 17:04:46 -08:00
Bobby Holley
8a7297e161 Bug 1335308 - Proxy mSpecifiedTransform releases that occur during the servo traversal to the main thread. r=heycam 2017-02-08 17:04:46 -08:00
Bobby Holley
02e0614b63 Bug 1335308 - Assert against destroying images and counters in generated content off-main-thread. r=emilio
We'll need to deal with this at some point, but let's just forbid it for now
to appease the static analysis.
2017-02-08 17:04:46 -08:00
Bobby Holley
662e462136 Bug 1335308 - Assert against releasing refcounted nsCSSValue members off-main-thread. r=heycam 2017-02-08 17:04:45 -08:00
Bobby Holley
0e51a14782 Bug 1335308 - Assert against non-length units in Gecko_CSSValue_SetAbsoluteLength. r=emilio 2017-02-08 17:04:45 -08:00
Bobby Holley
b5140be91a Bug 1335308 - Assert main thread in Gecko_LoadStyleSheet. r=emilio 2017-02-08 17:04:45 -08:00
Bobby Holley
9a17411fe6 Bug 1335305 - Don't cache stringifications for CSS declaration blocks during parallel traversal. r=bz 2017-02-08 17:04:44 -08:00
Bobby Holley
f5bde33979 Bug 1335319 - Add a global flag indicating that we're in the servo traversal. r=bz 2017-02-08 17:04:44 -08:00
Brian Hackett
5a4e484266 Bug 1334885 - Allow wasm signal handlers to work with multiple threads in a runtime, r=luke.
--HG--
extra : rebase_source : a6172e3c6f4eefa1fc430b5559b4caee448393db
2017-02-08 14:08:02 -07:00
Valentin Gosu
f2fd6230e6 Bug 1337629 - Restrict allowed hostname characters r=mcmanus
MozReview-Commit-ID: H8u2C5oSiT9
2017-02-09 01:55:49 +01:00
Jim Chen
83ba7c63ab Bug 1336007 - Ignore invalid key/tokens when updating account; r=sebastian
The refactor patch removed a try/catch block that would have caught this
error before. Instead of using try/catch, this patch checks for the
affected items and send an error when the items are missing.
2017-02-08 19:50:33 -05:00
Jim Chen
1cd2ff426d Bug 1337053 - Fix optString conversions; r=sebastian
JSONObject.optString defaults to empty string ("") if the key doesn't
exist, whereas GeckoBundle.getString defaults to null if the key doesn't
exist. So the correct conversion for `json.optString("foo")` should be
`bundle.getString("foo", "")`. This patch fixes the wrong conversions
from before. In case we did default to null, this patch gets rid of the
redundant null second argument to GeckoBundle.getString.
2017-02-08 19:50:33 -05:00
Jim Chen
42a4c3f718 Bug 1332731 - Follow-up to fix accessibility breakage; r=sebastian
Follow-up to fix breakage in accessibility caused by the bundle
conversion. In particular, optString(foo) should have been converted to
getString(foo, "") because optString returns "" by default.

Also fix a small bug in Presentation.jsm where an array or null should
be used instead of a string.
2017-02-08 19:50:32 -05:00
Jim Chen
65ff086671 Bug 1329438 - Wait until Gecko is ready to open URI; r=snorp
Right now we wait until PROFILE_READY state, but we may not have a
browser DOM window until RUNNING state, so wait until then.
2017-02-08 19:50:32 -05:00
Wes Kocher
33636673cb Merge m-c to inbound, a=merge
MozReview-Commit-ID: 42kYU6Mip4
2017-02-08 16:21:19 -08:00
Wes Kocher
afcf40f3ea Backed out changeset 15d237d39fb8 (bug 1332690) for asserts in DocAccessibleParent.cpp a=backout
MozReview-Commit-ID: BwRMVLvOSde
2017-02-08 16:19:20 -08:00
Michael Layzell
81d9f8ac2c Bug 1316696 - Eliminate ns{Fixed,}{C,}StringRepr from the rust bindings, r=froydnj for being the wrong commit backed out a=backout
MozReview-Commit-ID: AMwAUq82vMo
2017-02-08 16:18:58 -08:00
Wes Kocher
250e123173 Backed out changeset 4e259fa04f68 (bug 1316696) for asserts in DocAccessibleParent.cpp a=backout
MozReview-Commit-ID: Eo2Kbxoy1EN
2017-02-08 16:18:02 -08:00
Wes Kocher
6ff8201ffe Merge inbound to central, a=merge
MozReview-Commit-ID: 4mN7daXzULJ
2017-02-08 16:08:42 -08:00
Wes Kocher
008683d974 Merge autoland to central, a=merge
MozReview-Commit-ID: 47exp5fFJe1
2017-02-08 15:48:05 -08:00
Wes Kocher
2880f6ee5a Backed out 2 changesets (bug 1336358) for android failures in video-replay-after-audio-end.html a=backout
Backed out changeset c474e07f9ad8 (bug 1336358)
Backed out changeset 1ffc124c5fc1 (bug 1336358)

MozReview-Commit-ID: 3IS2QDRTQkN

--HG--
extra : rebase_source : ba363cc027cb51d8f9711f671fa08a3cc2eae277
2017-02-08 12:34:48 -08:00
Michael Layzell
c3093f17b8 Bug 1316696 - Eliminate ns{Fixed,}{C,}StringRepr from the rust bindings, r=froydnj
MozReview-Commit-ID: AMwAUq82vMo
2017-02-08 14:17:42 -05:00