Граф коммитов

57356 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez c9a6e119b0 Bug 1365629: minor cleanup in ServoCSSParsingEnvironment code. r=canaltinova
At first I thought that the problem was related to this bug, so I wrote this.

I think it's worth landing.

MozReview-Commit-ID: G6UKp5l5STm

--HG--
extra : rebase_source : 576c2add36e822d3adf281d91cde44303aa5c051
2017-05-21 15:06:27 +02:00
Xidorn Quan 4df8cc5fe8 Bug 1366247 - Add sugar for already_AddRefed and use it for conversion between Atom and nsIAtom pointer. r=manishearth
MozReview-Commit-ID: HeV5UsqGcWs

--HG--
extra : rebase_source : af448460bd6b1dc423db6b296193c189eff461cd
2017-05-19 23:24:31 +10:00
Hiroyuki Ikezoe a1dea29db6 Bug 1364799 - Update mochitest expectations. r=birtles
MozReview-Commit-ID: L15LcySUijd

--HG--
extra : rebase_source : 7d87717fd4caa4d2c7b2711b02cf0d6fd608d753
2017-05-21 09:23:31 +09:00
Hiroyuki Ikezoe 49bc653390 Bug 1364799 - Add a new TraversalRestyleBehavior that represents the traversal is triggered by CSS rule changes. r=birtles
And propagate the new flag to servo if mRestyleForCSSRuleChanges is set.

MozReview-Commit-ID: HRZ5duYgciF

--HG--
extra : rebase_source : 65528ea0dfa21e84bb9184a849c72a5c322e306b
2017-05-21 08:16:26 +09:00
Hiroyuki Ikezoe 665da78452 Bug 1364799 - Add PostRestyleEventForCSSRuleChanges to distinguish PostRestyleEvent. r=birtles,heycam
The difference is that PostRestyleEventForCSSRuleChanges sets
mRestyleForCSSRuleChanges true. In a subsequent patch,
we propagate a new TraversalRestyleBehavior flag to servo side
if mRestyleForCSSRuleChanges is true.

MozReview-Commit-ID: IKsBbm09uT9

--HG--
extra : rebase_source : 5014c0a978f98e81543ec7766d2daa415317069c
2017-05-21 08:16:26 +09:00
Emilio Cobos Álvarez 51e1c0b54e Bug 1366142: Ignore reentrant change hints without primary frame. r=heycam
MozReview-Commit-ID: 4bF7M0KMhNL

--HG--
extra : rebase_source : 5ad2d1a21e8b1110345b3b2c350de0f1011e61dc
2017-05-20 14:35:37 +02:00
Cameron McCormack 9a8d559e54 Bug 1364845 - stylo: Adjust test expectations. r=emilio
MozReview-Commit-ID: KS4qGSOsFD0

--HG--
extra : rebase_source : d3603746c8b8c0180499f8f01ffac9855362578c
2017-05-19 17:39:16 +08:00
Cameron McCormack 99c15e1ebe Bug 1289868 - Part 2: stylo: Compare all structs in CalcStyleDifference so that Servo can accurately determine whether to stop traversal. r=emilio
MozReview-Commit-ID: I0WK2gDsMMu

--HG--
extra : rebase_source : 204b8206ef8e924cc8a3992874538a68417768f0
2017-05-19 17:39:14 +08:00
Cameron McCormack 8b8f339e85 Bug 1289868 - Part 1: stylo: Add an outparam to Gecko_CalcStyleDifference that returns whether any style data changed. r=emilio
MozReview-Commit-ID: 2Pk2x9JME0

--HG--
extra : rebase_source : 4ea272000541d5b79d83e69d6129a7b7b6871b8f
2017-05-20 11:17:40 +08:00
Emilio Cobos Álvarez fa786ffb93 Bug 1366144: Test. r=heycam
MozReview-Commit-ID: Dx1rFw0BZHm

--HG--
extra : rebase_source : 2a07111ebe30c8c9f456b97de2bbed0d9ada7e63
2017-05-20 03:42:15 +02:00
Bobby Holley 74189ef7bc Bug 1329876 - Don't maintain a TreeMatchContext for Servo. r=bz 2017-05-20 22:00:01 +02:00
Bobby Holley cdff82b294 Bug 1329876 - Stop accepting aTreeMatchContext in the ServoStyleSet methods. r=bz
This makes it clear it's unused.
2017-05-20 21:59:59 +02:00
Manish Goregaokar 9ac08154b7 Bug 1362599 - Remember which languages were used and force-cache when reset; r=heycam 2017-05-20 21:48:04 +02:00
Manish Goregaokar bf23cb1d19 Bug 1362599 - Guard against threadsafety issues in lang group stuff. r=heycam 2017-05-20 21:44:37 +02:00
Emilio Cobos Álvarez da6afce726 Bug 1364871: Update expectations. r=me
MozReview-Commit-ID: 7vq5rb0Li2P
2017-05-20 19:38:56 +02:00
Sebastian Hengst af0f9643cf merge mozilla-central to autoland. r=merge a=merge 2017-05-20 18:53:36 +02:00
Sebastian Hengst 79f625ac56 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EqC7wKnn6Jt
2017-05-20 18:48:53 +02:00
Hiroyuki Ikezoe 93e3eef4cb Bug 1341102 - Update test expecrations. r=me
https://github.com/servo/app_units/pull/26#issuecomment-301931183
2017-05-20 15:26:55 +09:00
Wes Kocher 8b07ba2a07 Merge m-c to inbound a=merge
a=release IGNORE BAD COMMIT MESSAGES
2017-05-19 15:18:51 -07:00
Wes Kocher b3e139291b Merge graphics to m-c a=merge a=release
IGNORE BAD COMMIT MESSAGES because something landed and was backed out for no bug number

--HG--
extra : amend_source : 1134c379d1134fe160fd2d889488d07acd9f4177
2017-05-19 14:27:32 -07:00
Olli Pettay 2d735273d9 Bug 1366250, don't flush layout when calling element.focus() on already focused element. Ensure layout is flushed after changing input.type, r=ehsan
--HG--
extra : rebase_source : 294d0220cc3c2b6be38566ff28722c5e9acc87a9
2017-05-19 23:20:48 +03:00
Kartikaya Gupta 5320a75266 Merge m-c to graphics
MozReview-Commit-ID: Fq2lBUWyr0m
2017-05-19 13:19:35 -04:00
Mike Cooper 94879bdf84 Bug 1361578 - Remove SelfSupport, since it is obsoleted by shield-recipe-client. r=Gijs
MozReview-Commit-ID: 1FCqNa5wxZk

--HG--
extra : rebase_source : a7a20b4376ecaf2d4e91da27a7b7b32091f03dbd
2017-05-19 10:02:11 -07:00
Ryan VanderMeulen acb2f518fc Merge inbound to m-c. a=merge 2017-05-19 11:46:56 -04:00
Kartikaya Gupta 5d656fab0f Merge m-c to graphics
MozReview-Commit-ID: HvsAeMjJAIA
2017-05-19 09:30:48 -04:00
Kartikaya Gupta 0835cf0937 Bug 1363998 - Skip the reftests for advanced background-color layers if WebRender is not enabled. r=bustage
On Windows with webrender disabled and advanced background-color layers enabled,
these tests fail because they have a higer fuzz than allowed. Specifically:

1316719-1a.html -> max difference: 53, number of differing pixels: 785
1316719-1b.html -> max difference: 53, number of differing pixels: 785
1316719-1c.html -> max difference: 53, number of differing pixels: 787

I'm assuming that for now we only care about the advanced background-color layers
when WebRender is enabled, so we can just skip the tests otherwise.

MozReview-Commit-ID: 3HI828mcBdH
2017-05-18 09:13:12 -04:00
Kartikaya Gupta aca076b94b Merge m-c to graphics
MozReview-Commit-ID: DFNbcj14mg9

--HG--
rename : memory/mozjemalloc/jemalloc.c => memory/mozjemalloc/mozjemalloc.cpp
rename : memory/mozjemalloc/jemalloc_types.h => memory/mozjemalloc/mozjemalloc_types.h
2017-05-18 08:34:15 -04:00
Carsten "Tomcat" Book 24c443a440 merge mozilla-inbound to mozilla-central a=merge 2017-05-18 14:19:18 +02:00
Ethan Lin 501bd51b08 Bug 1363998 - Part2. Add pref "layers.advanced.background-color" to all.js and turn it on for certain reftests. r=kats 2017-05-18 17:40:18 +08:00
Morris Tseng 4c2b28386a Bug 1336986 - Mark fails-if for some tests. r=mchang
MozReview-Commit-ID: GSuyY8q6iJO
2017-05-18 10:55:28 +08:00
Kartikaya Gupta dc10ea1700 Merge m-c to graphics
MozReview-Commit-ID: 5Rpd42jqi40
2017-05-17 08:39:54 -04:00
Carsten "Tomcat" Book 6bd33f52d5 merge mozilla-inbound to mozilla-central a=merge 2017-05-17 11:16:52 +02:00
cku d528aa4d56 Bug 1205475 - Part 2. Prevent multiple EffectSet property look up. r=mattwoodrow
Functions like BuildDisplayListForStackingContext or BuildDisplayListForChild look
up EffectSet property several times in callees, such as IsTransformed() or
HasOpacity(), which is time wasting.

We should look up EffectSet just once, and pass the found one to all callees
that need it.

MozReview-Commit-ID: GZywm2UcpU7

--HG--
extra : rebase_source : 21f5dd0076a90d876a6df35eee2b886844b44f0a
2017-05-17 15:13:12 +08:00
Kartikaya Gupta 77fae9e5d6 Merge m-c to graphics
MozReview-Commit-ID: 6TxOtFjEGyY
2017-05-16 09:16:28 -04:00
Carsten "Tomcat" Book e83697008e merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
cku 19af87ab38 Bug 1205475 - Part 1. Hold MAY_HAVE_OPACITY_ANIM/ MAY_HAVE_TRANSFOMR_ANIM information in EffectSet. r=mattwoodrow
FRAME_STATE_BIT of nsFrame and nsINode::mBoolFlags are both full, we need to
find another place to hold MAY_HAVE_OPACITY information.

nsINode::mSlots might be a choice, but since we always use this information in
painting, memory footprint of nsINode will become larger after this change.

So I decide to put this information right in EffectSet. The drawback of storing
this information in EffectSet is, although unnecessary Effect look-up is
prevented, we still need EffectSet property look-up in each time
HasOpacityInternal call, so we need Part 2.

Conceptually, Part 1 and Part 2 are independent.

MozReview-Commit-ID: 6sfBFSHjxQb

--HG--
extra : rebase_source : 394141cec3b44bb352297a0add8f9763d815bddb
2017-05-16 19:11:04 +08:00
Hiroyuki Ikezoe 58df9c7c0c Bug 1364412 - Update reftest expectations for pseudo-elements selectors. r=me
MozReview-Commit-ID: 3MAHKCMp8k1
2017-05-16 14:58:15 +09:00
Hiroyuki Ikezoe 8fdb42c08d Bug 1364412 - Update reftest and mochitest expectations for pseudo-elements selectors. r=me
MozReview-Commit-ID: CGcljQLeS8c
2017-05-16 14:08:04 +09:00
Ethan Lin e853c9b0a6 Bug 1364830 - Fix background image layer's draw result and image flags. r=mattwoodrow 2017-05-16 10:44:49 +08:00
Kartikaya Gupta 7ae24a697f Bug 1363683 - Some box shadow tests changed in behaviour, need fuzzing. r=jrmuizel
Unknown WR cset (WR was broken on LLVMpipe for a big range of changesets, and this
happened somewhere in that range, so it wasn't easy to bisect).

MozReview-Commit-ID: Id5kOdgpK9f
2017-05-15 15:14:30 -04:00
Kartikaya Gupta e3daa416be Bug 1363683 - A fuzzy test changed in behaviour slightly, so adjust the fuzziness parameters. r=jrmuizel
This changed in WR cset 24bf170.

MozReview-Commit-ID: FGiFYk8z1hU
2017-05-15 15:13:43 -04:00
Kartikaya Gupta 35374ded53 Merge m-c to graphics
MozReview-Commit-ID: BYH3uvvu4jz
2017-05-15 09:36:37 -04:00
Carsten "Tomcat" Book f3f0edd245 merge mozilla-inbound to mozilla-central a=merge 2017-05-15 14:01:17 +02:00
Kartikaya Gupta 85ce3b9a88 Merge m-c to graphics
MozReview-Commit-ID: LHvR5izGDcT
2017-05-12 10:20:09 -04:00
Cameron McCormack 3843333d35 Bug 1341102: Update test expectations for servo/servo#16890. r=me
--HG--
extra : rebase_source : afc2761104c692740d066d84f4cc207d4adbf0f0
2017-05-17 12:01:39 +08:00
Carsten "Tomcat" Book 7a4eb50360 merge mozilla-inbound to mozilla-central a=merge 2017-05-12 14:36:44 +02:00
Julian Seward 83969e88eb Bug 1361258 - Add a jemalloc_thread_local_arena API with a binding for rust. r=glandium
The intent of the API is to allow threads to opt-in to use a separate
mozjemalloc arena.

This indroduces a dummy shell with no actual implementation.
2017-05-12 18:08:08 +09:00
Sebastian Hengst 3105dd09f8 Backed out changeset 66513d27bc96 (bug 1359288) for throwing exceptions during Android robocop tests. r=backout 2017-05-12 09:16:24 +02:00
Morris Tseng cef7414265 Bug 1344082 - Create webrender commands for nsDisplayTableBorderCollapse. r=mstange
Gecko only draw one line for each collapsed border. In order to draw
only one line border in webrender, I create normal border webrender
command but only show top side of border for inline direction and left
side for block direction.

MozReview-Commit-ID: 7QChXuzVbg7
2017-05-12 09:39:01 +08:00
Kartikaya Gupta f262a4e6db Merge m-c to graphics
MozReview-Commit-ID: 2okRQxtQnFa
2017-05-11 07:47:25 -04:00