Maksim Lebedev
ce6cdec278
Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug
2015-02-20 02:12:00 -05:00
Kartikaya Gupta
26025c81b0
Bug 1130455 - Remove the ScrollingBehavior code to propagate APZ and use gfxPrefs instead. r=roc,fabrice
...
The ScrollingBehavior passed around extensively in TabParent/TabChild is
entirely redundant now that the layers.async-pan-zoom.enabled pref definitively
controls whether or not APZ is enabled. All the code related to ScrollingBehavior
can be removed.
2015-02-26 08:47:01 -05:00
L. David Baron
54a0f52b48
Bug 960465 patch 17 - Remove separate animation and non-animation phases of restyling. r=birtles
...
Note that this means that when we start transitions, we post restyles
that are processed during the current restyling operation, rather than
in a later phase. This depends on patch 11, which makes the transition
manager skip style changes that it posts while starting transitions, to
ensure that this doesn't lead to an infinite loop. This also depends on
patch 16, which only consumes restyle data for the primary frame, to
ensure that the animation restyles posted are processed properly. It
also depends on patch 14, which makes us retain data on finished
transitions, to avoid triggering extra transitions on descendants when
both an ancestor and a descendant transition an inherited property, and
the descendant does so faster.
This fixes a known failure in layout/style/test/test_animations.html and
test_animations_omta.html (as visible in the patch). I believe this is
because this patch changes us to compute keyframe values for animations
on top of a style context *with* animation data rather than one without,
which means what we're computing them on top of changes each time. (The
purpose of patch 3 was to avoid this in the case where avoiding it
matters, i.e., implicit 0% and 100% keyframes.)
2015-02-17 11:15:05 +13:00
Nicholas Nethercote
0247de46d8
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Seth Fowler
20f8c6542b
Bug 1125490 (Part 2) - Use an enumeration instead of a boolean to request discarding in nsIImageLoadingContent. r=tn
2015-02-06 02:51:12 -08:00
Seth Fowler
5061980303
Bug 1125490 (Part 1) - Make sure we request discarding for images in PresShell::Destroy. r=tn
2015-02-06 02:51:12 -08:00
Nicholas Nethercote
40ab0270d5
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Maksim Lebedev
046b1ede09
Bug 1129397 - Allocate function PresShell::DispatchEventToDOM. r=smaug
2015-02-04 05:19:00 +01:00
Xidorn Quan
58ffd8ce64
Bug 748198 - Exclude ESC and modifier keys as valid user input for popup/fullscreen/pointer lock. r=smaug
2015-02-05 13:25:04 +11:00
David Zbarsky
520ac2cad8
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-04 15:21:03 -05:00
Phil Ringnalda
8ff441aa5a
Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
...
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
baa5df4d99
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-01 17:27:41 -05:00
David Zbarsky
1e37e03e20
Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond
2015-02-01 17:27:31 -05:00
Xidorn Quan
bee44e5d91
Bug 910532 part 2 - Prevent exiting fullscreen if escape is consumed by chrome. r=smaug
2015-01-21 12:16:04 +11:00
L. David Baron
22a56dd83b
Bug 1122240 - Check mIsActive before calling the somewhat-expensive GetRootPresContext. r=roc
...
I noticed the GetRootPresContext call being expensive in a profile that
involved painting in a (non-e10s) window with around 400-500 tabs.
Moving the mIsActive test (most likely to be false) first should fix
that.
2015-01-15 18:14:44 -08:00
L. David Baron
830e395c06
Bug 908987 - Honor mIsActive more aggressively to avoid calling IsVisibleConsideringAncestors. r=roc
...
This means that we avoid an O(N^2) calling pattern of IsVisible when we
call IsVisible for all tabs of a tabbrowser, since in a tabbrowser
(which uses an nsDeckFrame), IsVisibleConsideringAncestors is O(N) in
number of earlier tabs.
2015-01-13 21:03:11 -08:00
Mats Palmgren
10c0a151b0
Bug 1120198 part 2 - Optimize RebuildImageVisibility[DisplayList]() using nsTHashtable::SwapElements. r=tn
2015-01-13 14:44:33 +00:00
Botond Ballo
70e324a117
Bug 1076241 - Add an API for setting a resolution on a document and scaling it by that amount. r=kats,tn
2015-01-02 20:06:14 -05:00
Jonathan Kew
840c68ec31
Bug 619521 - Part 1: Send a notification of any scripts for which font coverage is lacking. r=jdaggett
2014-12-22 16:35:54 +00:00
Jonathan Kew
cafd427872
Bug 1108616 - part 2 - Add an explicitLanguage field to gfxFontStyle, and pass it down from callers. r=dbaron
2014-12-23 12:50:10 +00:00
Jonathan Kew
fd9f4bada9
Bug 1111525 - Remove unused lineFlags returned by nsILineIterator. r=roc
2014-12-19 14:55:30 +00:00
Wes Kocher
3c0de68457
Backed out changeset bf25101e66cf (bug 1095098) for build bustage
2014-12-08 16:27:12 -08:00
Denis Volk
cbf9ae78f0
Bug 1095098: move do_QueryObject templates into their own header r=froydnj
2014-11-20 12:20:10 +01:00
L. David Baron
6dc7a556f0
Bug 1089417 patch 2 - Add assertion that RecordStyleSheetChange is called inside an update. r=heycam
...
This was just something that seemed worth asserting in the process of
debugging, since I wanted to see if it was the problem.
2014-12-05 15:50:00 -08:00
Wes Kocher
6d72488ca1
Backed out 8 changesets (bug 1089417) for b2g bustage possibly on a CLOSED TREE
...
Backed out changeset bf9f31312c1a (bug 1089417)
Backed out changeset babf33f8e077 (bug 1089417)
Backed out changeset 47b4f47d2e36 (bug 1089417)
Backed out changeset 11da22489a4f (bug 1089417)
Backed out changeset a39f32b2b2de (bug 1089417)
Backed out changeset fba9c331e036 (bug 1089417)
Backed out changeset b541a037f627 (bug 1089417)
Backed out changeset fc47a51b4f96 (bug 1089417)
2014-12-05 12:45:41 -08:00
L. David Baron
14c119e8b9
Bug 1089417 patch 2 - Add assertion that RecordStyleSheetChange is called inside an update. r=heycam
...
This was just something that seemed worth asserting in the process of
debugging, since I wanted to see if it was the problem.
2014-12-05 11:37:38 -08:00
Jonathan Kew
cdf9a3916d
Bug 1077528 - part 1 - Provide physical and logical accessors for the m{HV}Resize flags in nsHTMLReflowState, and convert all flag users to the accessor methods. r=smontagu
2014-11-28 09:44:02 +00:00
Gina Yeh
e9e72a4774
Bug 1103836, Patch 1: No 'mozbrowserafterkeydown' event is dispatched after preventing the default actions of 'keydown' event, r=smaug.
2014-11-26 17:28:52 +08:00
Gina Yeh
fd922d7626
Bug 1091479, Patch2: Rename enum members, r=sinker.
2014-11-24 09:47:39 +08:00
Jonathan Kew
ab834a7678
Bug 1077515 - part 6 - Create a new nsISelectionController::PhysicalMove command. r=roc
2014-11-22 14:39:03 +00:00
Gina Yeh
af628b8582
Bug 1096146, Patch 1: No default actions of keydown event should be made if mozbrowserbeforekeydown event is defaultPrevented, r=smaug.
2014-11-21 17:47:55 +08:00
Lebedev Maksim
0aebec71f7
Bug 1098139 - Add attribute isPrimary detection for got/lostpointercapture events. r=smaug
2014-11-18 01:13:00 +01:00
Sid Stamm
7c4de115b8
Bug 704320 - Add referrer policy support to stylesheet and CSS loads and fonts. (r=bz)
2014-11-18 08:46:47 -05:00
Maksim Lebedev
829bd16ca7
Bug 1094913 - Set pointerType to got/lostpointercapture events. r=smaug
2014-11-11 08:29:00 +01:00
Ryan VanderMeulen
ab0a39df15
Backed out changesets 857063c82323 and a19479860eb4 (bug 619521) for Valgrind failures.
...
CLOSED TREE
2014-11-11 13:10:56 -05:00
Jonathan Kew
b5be75eb7e
Bug 619521 - Part 1: Send a notification of any scripts for which font coverage is lacking. r=jdaggett
2014-11-07 06:32:00 -05:00
Olli Pettay
752076532e
Bug 1096076 - [E10s] When resizing a window, all the tabs are resized, r=roc
2014-11-11 00:38:28 +02:00
Robert O'Callahan
cc7de5937d
Bug 1083635. Part 7: Fix UpdateLayerTree to sync-decode images and flush pending notifications. r=mattwoodrow
2014-11-07 13:20:27 +13:00
Ting-Yu Lin
38f76ce3a3
Bug 1094072 - Update selection carets after reflow. r=roc
...
Let SelectionCarets inherits from nsIReflowObserver so it could refresh
its position after reflow. This fixes the incorrect position of
selection carets after we rotate the device to change the screen from
portrait mode to landscape mode and vice versa.
2014-11-05 21:18:00 +01:00
Robert O'Callahan
14f214f5ef
Bug 1083635. Part 4.5: Avoid requesting PAINT_WIDGET_LAYERS if we're in a content process. r=mattwoodrow
2014-10-24 12:20:01 +13:00
Robert O'Callahan
868df2abeb
Bug 1083635. Part 4: Return LayerManager from nsDisplayList::PaintRoot, and dump its contents in nsLayoutUtils::PaintFrame. r=mattwoodrow
2014-10-21 10:32:10 +13:00
Robert O'Callahan
8527db0b3f
Bug 1084672. Call NotifyDidPaint from the refresh driver to ensure it gets called regardless of whether OMTC is used or not. r=mattwoodrow
2014-10-22 14:26:17 +13:00
Gina Yeh
8267b4e6aa
Bug 989198, Patch 9: Fix warning, r=smaug.
2014-11-03 15:06:10 +08:00
Gina Yeh
7df7cfdf4a
Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug
2014-11-03 15:05:38 +08:00
Jonathan Watt
b431664247
Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel
2014-10-31 20:08:49 +00:00
Ting-Yu Lin
77456105c0
Bug 1059165 - Part 1 - Always sync visibility for touch caret. r=ehsan
...
We should sync touch caret's visibility with caret every time since
touch caret might be hidden due to timeout while caret is enabled. Also
remove dead code.
2014-10-28 06:01:00 +01:00
Jonathan Watt
d77207ea33
Bug 1087982, part 3 - Get rid of the ASCII variants of nsRenderingContext::DrawString/GetWidth. r=jfkthame
2014-10-24 11:00:23 +01:00
Mats Palmgren
680bb65642
Bug 1083855 - part 3, Implement nsIPresShell::DestroyFramesFor/CreateFramesFor. r=bz
2014-10-23 13:19:25 +00:00
Jonathan Watt
3b52cf43ad
Bug 1086708 - Rename the snapping variant of NSRectToRect to NSRectToSnappedRect. r=mattwoodrow
2014-10-22 12:29:06 +01:00