Commit Graph

262650 Commits

Author SHA1 Message Date
Nicholas Nethercote
6f753fbb80 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru. 2015-09-14 14:23:12 -07:00
Nicholas Nethercote
e600d6de49 Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru. 2015-05-21 00:34:25 -07:00
Brian Birtles
62409a5e07 Bug 1203009 part 6 - Add tests for new composite order; r=heycam 2015-09-15 13:58:17 +09:00
Brian Birtles
2f22937016 Bug 1203009 part 5 - Remove IsUsingCustomCompositeOrder; r=heycam 2015-09-15 13:32:12 +09:00
Brian Birtles
f7d6a90440 Bug 1203009 part 4 - Implement new composite ordering; r=heycam 2015-09-15 11:20:56 +09:00
Brian Birtles
e4d7fb9458 Bug 1203009 part 3 - Add mNeedsNewAnimationIndexWhenRun flag to CSSAnimation and CSSTransition; r=heycam
In the new composite order arrangement CSSAnimations and CSSTransition have the
following life-cycle:

1. Animation created by markup
   => composite order determined by markup
      (e.g. CSS animations use tree order and animation-name order;
            CSS transitions use transition trigger order)

2. Animation cancelled by changing markup
   => composite order is undefined

3. Animation is played again using the API
   => composite order is defined by when the animation is first played.
      Another way of saying this is that, at the point when the animation is
      played, it is appended to the "global animation list".

4. Animation is subsequently cancelled / played => no change

We need a way to know when we are going from 2 to 3. It would seem like we
could do that by setting mAnimationIndex to some sentinel value while it is
in 2. However, even when in 2, although the spec doesn't define the composite
order animations at this point (from an API point of view you can't access these
objects and they don't contribute to style so it doesn't need to be defined), we
sometimes will need to establish an order.

This can happen, for example, when an animation queues events and then is later
cancelled before the events are dispatched. Because we sort events based on
their associated animation at the time of dispatch (for performance reasons) we
need a deterministic order for these idle animations.

We do that (in a subsequent patch in this series) by setting mAnimationIndex
when we transition from 1 to 2. That is, these idle animations are effectively
ordered by when they became idle (which always happens in a deterministic
fashion).
2015-09-15 11:20:33 +09:00
Brian Birtles
66f9475ac3 Bug 1203009 part 2 - Remove {CSSAnimation,CSSTransition}::OwningElement() getter; r=heycam
This doesn't really save us much, but we don't need this method so we may
as well drop it.
2015-09-15 11:20:33 +09:00
Brian Birtles
8397a722f4 Bug 1203009 part 1 - Rename sequence number to animation index; r=heycam
The Web Animations specification has replaced the term "sequence number" with
references to a global animation list. This patch applies similar naming
to our animation structures.
2015-09-15 11:20:26 +09:00
Ben Kelly
b6f42cf002 Bug 1174872 Re-enable test_fetch_basic_sw_reroute.html on mulet. a=testonly 2015-09-15 16:37:22 -07:00
Gregory Szorc
0cbaaff5e7 Bug 1200461 - Prompt for Bugzilla API Key instead of password; r=smacleod
All extensions in version-control-tools should support Bugzilla API Keys
now. MozReview requires them. We'll likely remove support for passwords
and cookie auth in the future. This commit transitions the Mercurial
setup wizard to API Keys exclusively.

DONTBUILD (NPOTB)
2015-09-15 15:57:40 -07:00
Andrew McCreight
91739bc0f4 Bug 1201271 - Warn about unused results for more methods of nsTArray. r=froydnj
This leaves alone the AppendElement methods.
2015-09-15 15:30:44 -07:00
Trevor Saunders
4c76881ecb bug 1204070 - add a little more checking to proxy subtree removal r=davidb 2015-09-15 18:15:16 -04:00
Mats Palmgren
fef8236885 Bug 1204585 part 2 - [css-grid] abs.pos. child position reftests. 2015-09-15 23:34:09 +02:00
Mats Palmgren
35724f667e Bug 1204585 part 1 - [css-grid] Use the grid area's size when converting to physical coordinates for abs.pos. items. r=dholbert
It's the item's grid area that forms the containing block rect,
not the grid container.
2015-09-15 23:34:08 +02:00
Robert Longson
83f878a258 Bug 1175492 - unpref transform-origin percentage handling for SVG elements r=jwatt 2015-09-15 22:10:48 +01:00
Jonathan Kew
fe4be66252 Bug 1202993 - Remove the logical-direction-based keywords for caption-side, and instead interpret the old physical keywords as logical sides. r=dholbert 2015-09-15 22:02:30 +01:00
Josh Aas
c2e7032fcf Bug 1204284: Show paper size options in OS X print dialog. r=smichaud 2015-09-15 15:40:44 -05:00
Botond Ballo
c599f2666a Bug 1166301 - Test that a mask layer on a fixed background of a child element is moved correctly during async scrolling. r=mstange 2015-08-31 21:09:05 -04:00
Botond Ballo
d600269423 Bug 1166301 - When applying an async adjustment to a fixed layer, only adjust its mask layer under the same circumstances as its clip rect. r=mattwoodrow 2015-08-28 13:57:00 -04:00
Botond Ballo
4e503e7b58 Bug 1166301 - Test that the clip on a fixed background of a child element is moved correctly during async scrolling. r=mstange
This also tests that regions of a fixed background layer that may be revealed by async scrolling are painted.
2015-08-28 13:34:17 -04:00
Botond Ballo
b5996dc71c Bug 1166301 - Allow async scrolling to move the clip rects of fixed background layers. r=mattwoodrow 2015-09-04 19:23:19 -04:00
Botond Ballo
e5b3a47750 Bug 1166301 - Update an old comment in AsyncCompositionManager::AlignFixedAndStickyLayers. r=kats 2015-08-28 15:21:01 -04:00
Botond Ballo
f821a971f4 Bug 1166301 - Store a flag on Layer to tell fixed background layers apart from fixed position layers. r=mattwoodrow 2015-09-04 17:26:33 -04:00
Botond Ballo
fa4f9d88f5 Bug 1166301 - Use the correct format flags for printing fixed position data in the layers dump. r=kats 2015-09-04 15:57:50 -04:00
Botond Ballo
956ac36fd0 Bug 1166301 - If APZ is enabled, clip fixed background images at the layer level rather than the display item level. r=mattwoodrow
This ensures that regions beyond the clip are painted, and async scrolling can reveal them by moving the layer-level clip.

This patch also ensures that we continue creating mask layers for fixed background layers correctly, where appropriate.
2015-09-11 20:00:22 -04:00
Botond Ballo
c8e239faa5 Bug 1166301 - If APZ is enabled, only clip fixed background images to the viewport area. r=mattwoodrow 2015-09-02 15:27:41 -04:00
Botond Ballo
0ece723153 Bug 1166301 - Annotate fixed background layers with scroll metadata for the animated geometry root of the frame they're the background of. r=mattwoodrow 2015-08-26 18:16:51 -04:00
Kartikaya Gupta
9a367969a5 Bug 1195436 - Fuzz scrollbar reftest failures with APZ enabled. r=mstange
In this case the test image is painted using -moz-element which layerizes
differently than not using -moz-element when APZ is enabled. This slight
layerization difference causes a few pixels to be different and the reftest
to fail. Fuzzing it seems reasonable as the fundamental nature of the test
is unchanged.
2015-09-15 16:09:36 -04:00
Kartikaya Gupta
c4f832217c Bug 1200778 - Make sure to update the APZCTreeManager associated with a RenderFrameParent when it is dragged to a new window. r=mstange 2015-09-15 16:09:35 -04:00
Kartikaya Gupta
34262e143c Bug 1204535 - Hoist out the code to initially compute usingDisplayPort. r=tn 2015-09-15 16:09:35 -04:00
Kartikaya Gupta
4908bcbcc7 Bug 1204535 - Relocate comment to go with the line of code it's commenting. r=tn 2015-09-15 16:09:35 -04:00
Kartikaya Gupta
23a8c93fc3 Bug 1204535 - Rename usingDisplayport to usingDisplayPort for consistency. r=tn 2015-09-15 16:09:35 -04:00
Kartikaya Gupta
4d8a5a57ad Bug 1204535 - Collapse redundant conditional block. r=tn 2015-09-15 16:09:35 -04:00
Kartikaya Gupta
87fd2c59f6 Bug 1204535 - Flatten conditional structure one level. r=tn 2015-09-15 16:09:35 -04:00
Kartikaya Gupta
a9f65b9841 Bug 1204535 - Remove no-op code. r=tn 2015-09-15 16:09:35 -04:00
David Anderson
79cb07651c Support all blend modes in the basic compositor. (bug 1203829 part 1, r=mattwoodrow) 2015-09-15 13:07:05 -07:00
Terrence Cole
ede7735642 Bug 1204594 - Use MOZ_RAII to replace GUARD_OBJECT where possible in the GC; r=sfink 2015-09-15 12:12:26 -07:00
Benjamin Bouvier
214831f0c6 Bug 1203297: Fix makeFrameDescriptor warnings on x86 and x64, in non-unified builds; r=terrence 2015-09-15 21:13:12 +02:00
Terrence Cole
0ca674660c Bug 1203297 - Fix one last bit of unified bustage; r=bbouvier 2015-09-15 12:10:47 -07:00
Andrew McCreight
81025a987a Bug 1195977, part 8 - Check that ThrowInvalidThis is passing in enough arguments. r=peterv
We have to permit passing in too many arguments because sometimes the
error is MSG_METHOD_THIS_UNWRAPPING_DENIED which only takes one
argument.
2015-09-15 11:47:04 -07:00
Andrew McCreight
c1e302696f Bug 1195977, part 7 - Use variadic templates instead of var args for ThrowTypeError() and ThrowRangeError(). r=peterv
This enables type checking of these arguments.
2015-09-15 11:47:04 -07:00
Andrew McCreight
991b53ca50 Bug 1195977, part 6 - Inline ErrorResult throw error methods into the header. r=peterv
This is needed to turn these into templates later.
2015-09-15 11:47:04 -07:00
Andrew McCreight
291c3829cf Bug 1195977, part 5 - Hoist out inner part of ErrorResult::ThrowErrorWithMessage() into a helper. r=peterv
This will enable us to move it to the header later, which is needed to
turn it into a template.
2015-09-15 11:47:04 -07:00
Andrew McCreight
1309194b17 Bug 1195977, part 4 - Enforce number of arguments more consistently. r=peterv
The new check in ErrorResult::ReportErrorWithMessage() shouldn't be
needed and is just to protect against the possibility of another way
to construct messages being added.
2015-09-15 11:47:04 -07:00
Andrew McCreight
07ba905f14 Bug 1195977, part 3 - Add helper for getting the number of error arguments. r=peterv 2015-09-15 11:47:04 -07:00
Andrew McCreight
f6fc1be289 Bug 1195977, part 2 - Statically assert that DOM error messages don't have more arguments than the JS engine supports. r=peterv.
This makes it so that we do not need to dynamically enforce this
constraint in ErrorResult::ThrowErrorWithMessage().
2015-09-15 11:47:04 -07:00
Andrew McCreight
625e5c5cab Bug 1195977, part 1 - Add JS_EXN_TYPE to comment in Errors.msg. r=peterv 2015-09-15 11:47:03 -07:00
Terrence Cole
08a62cc059 Bug 1203297 - Fix even more unified bustage; r=efaust 2015-09-09 14:26:07 -07:00
Geoff Brown
d8c2316109 Bug 1199377 - Add tooltool manifests for host-utils, supporting Android tests; r=jmaher 2015-09-15 12:33:15 -06:00
Terrence Cole
336d436b04 Bug 1202048 - Root JSONParser explicitly; r=sfink 2015-08-20 12:26:45 -07:00