Mike Hommey
ccd2a9b975
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Brian Birtles
1041da2b17
Bug 1109390 part 21 - Reuse GetAnimationsForCompositor in nsLayoutUtils; r=jwatt
2015-04-01 12:23:24 +09:00
L. David Baron
42236287fa
Bug 847287 patch 13 - Apply animations/transitions on the layer in the order that reflects how they override, rather than the opposite. r=birtles
...
This independently would have fixed some of the problems fixed in this
bug. It would not have fixed them fully, though, since it would not
have prevented us from sending animations being covered up by !important
rules to the compositor.
2015-03-31 15:05:55 -07:00
L. David Baron
58f800f801
Bug 847287 patch 12 - Check mWinsInCascade for all callers of GetAnimationOfProperty/HasAnimationOfProperty. r=birtles
...
This patch (after stepping through the call graph) affects the following
places:
* CommonAnimationManager::GetAnimationsForCompositor, which is used
only by nsDisplayListBuilder::AddAnimationsAndTransitionsToLayer,
which already checks the individual animations (so really no change)
* AnimationPlayerCollection::CanThrottleAnimation
* ActiveLayerTracker::IsStyleAnimated
* nsLayoutUtils::HasAnimationsForCompositor
* nsLayoutUtils::HasAnimations (which is used only to check whether we
can make the 0-opacity optimization)
I believe it makes sense to change all of these locations (although in
the long term we want to throttle (or similar) more animations).
Without this patch, I believe we're forcing the creation of an opacity
layer because we think we have animations to send to it.
2015-03-31 15:05:55 -07:00
L. David Baron
222514f971
Bug 847287 patch 3 - Add assertions about consistency of the flags for animating on the compositor. r=birtles
...
These flags were added in patch 2.
2015-03-31 15:05:54 -07:00
Jonathan Watt
2e0360609c
Bug 1145246, part 3 - Update layout code for the rename of Animatable.getAnimationPlayers() to Animatable.getAnimations(). r=birtles
2015-03-20 18:20:49 +00:00
Mike Hommey
4da5ed0b71
Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
...
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Bill McCloskey
061f09ba1e
Back out bug 1075670
2015-03-30 20:13:07 -07:00
Xidorn Quan
bb141ab140
Bug 1146112 - Mark ruby pseudo frames as line participant in frame constructor. r=roc
2015-03-31 09:20:01 +11:00
Mats Palmgren
8852b5e235
Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc
2015-03-30 11:36:14 -04:00
Mats Palmgren
3eea69f457
Bug 1149037 - Make nsLayoutUtils::ComputeSizeForDrawing* take a CSSIntSize param instead of a unit-less nsIntSize. r=roc
2015-03-30 11:35:47 -04:00
Carsten "Tomcat" Book
abd1345059
Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks
2015-03-30 15:04:09 +02:00
Carsten "Tomcat" Book
f23066ddcd
Backed out changeset e507145a198c (bug 1149037)
2015-03-30 15:03:25 +02:00
Mats Palmgren
dc580c6829
Bug 1149037 - Make nsLayoutUtils::ComputeSizeForDrawing* take a CSSIntSize param instead of a unit-less nsIntSize. r=roc
2015-03-30 10:37:34 +00:00
Mats Palmgren
2268b8c0ad
Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc
2015-03-30 10:37:33 +00:00
Mats Palmgren
5bd17a127b
Bug 1148833 part 3 - Remove nsIFrame::WillReflow and add a non-virtual MarkInReflow method instead that sets NS_FRAME_IN_REFLOW. Call it at the start of Reflow(). r=roc
2015-03-29 22:38:40 +00:00
Nicolas Silva
e140a853f2
Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas
2015-03-29 16:59:15 +02:00
Nicolas Silva
eae4d10b4d
Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc
2015-03-29 16:59:08 +02:00
Brian Birtles
6315d9d2bc
Bug 1109390 part 18 - Rename AnimationPlayer::IsRunning to IsPlaying and reuse IsInPlay definition; r=jwatt
...
This patch renames the confusing IsRunning method since IsRunning() is *not*
the same as (PlayState() == AnimationPlayState::Running). It also removes
the old definition to make better re-use of PlayState() and IsInPlay().
2015-03-27 18:01:00 +09:00
Markus Stange
93fe05e2e2
Remove workaround for bug 748219, which seems to have been fixed in the meantime.
2015-03-23 02:17:37 -04:00
Mats Palmgren
e57b30ccac
Bug 1144905 - Clean up SortByZOrder code and comments since it now assumes the list is already in content document order. r=roc
2015-03-28 20:50:35 +00:00
Seth Fowler
4b808baa62
Bug 1068881 - Inflate the dest rect to at least one device pixel when computing the optimal image size for drawing. r=roc
2015-03-27 20:07:31 -07:00
Wes Kocher
7549c12aa0
Merge m-c to inbound a=merge
2015-03-27 17:31:19 -07:00
Ryan VanderMeulen
ca58b815ec
Merge m-c to fx-team. a=merge
2015-03-27 12:21:41 -04:00
Brian Birtles
f49ade3807
Bug 1109390 part 7 - Rename PendingPlayerTracker's Start* methods to Trigger*; r=jwatt
...
These methods will soon be used to start animations that are waiting to start
and also to finish pausing animations that are waiting to pause. As a result
we rename them to TriggerXXX since that's a bit more generic.
There are still references to StartXXX within PendingPlayerTracker. These will
be updated in a subsequent patch once we have the appropriate methods available
on AnimationPlayer to call.
2015-03-27 15:56:45 +09:00
Wes Kocher
dd8a8fcae7
Merge m-c to inbound a=merge CLOSED TREE
2015-03-26 17:46:35 -07:00
Xidorn Quan
5ff9ef3b1e
Bug 1144607
part 1 - Remove CounterStyleManager::BuildCounterStyle for anonymous counter styles. r=dbaron
2015-03-27 09:48:10 +11:00
Cameron McCormack
5c3e7f784f
Bug 1120300 - Export WritingModes.h as mozilla/WritingModes.h. r=jfkthame
2015-03-26 18:29:31 +11:00
Seth Fowler
45dfda8bce
Backed out changeset c035d63ade9d (bug 1068881)
2015-03-26 15:45:00 -07:00
Jeremy Chen
a9bfb0107b
Bug 1140625 - Part 5: Move Flush_Layout to the right place in SelectionCarets::UpdateSelectionCarets. r=roc
2015-03-24 03:34:00 -04:00
Jeremy Chen
981eff6474
Bug 1140625 - Part 4: Fix scroll_selection_into_view test to make its function remain. r=roc
2015-03-24 01:21:00 -04:00
Tom Tromey
018eebcd63
Bug 1144820 - Use rvalue reference in AddProfileTimelineMarker. r=smaug
2015-03-27 08:41:00 -04:00
Seth Fowler
5b34898f2c
Bug 1147707 - Intersect correctly in DisplayItemClip::ApplyNonRoundedIntersection. r=roc
2015-03-26 15:39:52 -07:00
Seth Fowler
93db772833
Bug 1068881 - Inflate the dest rect to at least one device pixel when computing the optimal image size for drawing. r=roc
2015-03-26 15:39:37 -07:00
Seth Fowler
e1c6b2f450
Bug 1128467 - Take scale factors into account when computing image size even if we aren't snapping. r=roc
2015-03-25 18:12:58 -07:00
Timothy Nikkel
93dfb4b89f
Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats
2015-03-26 16:44:40 -05:00
Bill McCloskey
fcd90b7e73
Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz)
2015-03-26 14:17:29 -07:00
Mats Palmgren
2b9429936f
Bug 1107786 - part 2, [css-grid] Implement a DisplayList sorting function that sorts by CSS 'order'. r=dholbert
2015-03-26 18:57:39 +00:00
Kearwood Gilbert
8ba74ba11e
Bug 969250 - Part 2: Tests for scroll snapping for scrollbars (v2 Patch), r=roc relanding on a CLOSED TREE
2014-02-17 15:47:29 +13:00
Wes Kocher
bca2de3663
Backed out 2 changesets (bug 969250) on the other theory that it broke lots of tests, forcing a prolonged CLOSED TREE
...
Backed out changeset 3c1005c81e52 (bug 969250)
Backed out changeset 3ed9d5170d13 (bug 969250)
2015-03-25 14:46:47 -07:00
Kearwood Gilbert
caf6f41d61
Bug 969250 - Part 2: Tests for scroll snapping for scrollbars (v2 Patch), r=roc
2014-02-17 15:47:29 +13:00
Kartikaya Gupta
11f7426044
Bug 1143665 - Remove the ambiguous scroll position being passed around in scroll started/stop notifications. r=roc,ehsan
2015-03-25 07:52:37 -04:00
David Anderson
37a72c0133
Clamp APZ wheel event deltas to the size of a page scroll. (bug 1146676, r=kats)
2015-03-24 14:59:41 -07:00
Mason Chang
2429563580
Bug 1145327 Part 1: Skip refresh driver ticks if the timestamp is in the past. r=birtles,vlad
2015-03-24 14:28:34 -07:00
Kearwood (Kip) Gilbert
dbbdba9a93
Bug 1035611 - Part 1: Updated Matrix4x4::ProjectRectBounds to properly handle infinite values when untransformed rects cross the w=0 plane. r=mattwoodrow
...
- Added specialized rect clipping functionality to Matrix4x4::ProjectRectBounds
so we don't have to return infinite values when rects cross the w=0 plane
in homogenous coordinate space.
- Updated callsites of ProjectRectBounds to pass a clipping rect that is
appropriate for the units that are returned.
2015-03-13 16:42:00 -04:00
Kushan Joshi
a3c4b7a023
Bug 1101627 - Add touch action regions. r=kats
2015-03-24 09:13:24 -04:00
David Anderson
06281c80fb
Fix max texture size handling in displayport clamping. (bug 1135907 follow-up, r=kats)
2015-03-23 12:34:21 -07:00
David Anderson
e82a9bed2b
End APZ wheel transactions when the mouse moves out of frame. (bug 1142866 part 2, r=kats,botond)
2015-03-22 00:42:25 -07:00
Ehsan Akhgari
428832061e
Bug 1142360 - Move the mochitests for bugs 441782, 467672 and 570378 to the reftest framework; r=dbaron
...
This will help fix an intermittent test failure as explained in bug
1142360 comment 301. It also has the additional benefit of making
things faster overall, since the reflows of the huge mochitest test
runner page every time the bidi.numeral pref changes are very expensive,
and such overhead doesn't exist in the reftest framework.
2015-03-21 12:37:01 -04:00
Ehsan Akhgari
33bb32f549
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00