Robert O'Callahan
c41fbcc4c6
Bug 1022612. Part 25: We don't need to explicitly worry about displayports anymore when computing occlusion. r=mattwoodrow
...
--HG--
extra : rebase_source : 22926330830072dd520ab41daa37c451bf35601d
2014-06-09 16:48:02 +12:00
Robert O'Callahan
78b02d322e
Bug 1022612. Part 24: Simplify nsDisplayList::ComputeVisibilityForSublist now that FrameLayerBuilder does most of the work. r=mattwoodrow
...
--HG--
extra : rebase_source : 566019828bc5c021e15bb148accc4262c69232e1
2014-06-09 16:48:02 +12:00
Robert O'Callahan
b96d028a45
Bug 1022612. Part 23: Remove nsDisplayItem::IsVaryingRelativeToMovingFrame. r=mattwoodrow
...
It's obsolete and no-one calls it.
--HG--
extra : rebase_source : c9f65e4a062a4cc641de201c40b7755706a1afca
2014-06-09 16:48:02 +12:00
Robert O'Callahan
3cac47df37
Bug 1022612. Part 22: Add MOZ_COUNT_CTOR to nsDisplayWrapList. r=mattwoodrow
...
--HG--
extra : rebase_source : 40d1dcc98c182d175cddff8fadf0084ad2f831a9
2014-06-09 16:48:01 +12:00
Robert O'Callahan
bec7151d0a
Bug 1022612. Part 21: Remove DidComputeVisibility checking. r=mattwoodrow
...
--HG--
extra : rebase_source : dc32021b0ba919d68a93f555cc8430e1d0a741a4
2014-06-09 16:48:01 +12:00
Robert O'Callahan
9ebecfa6b7
Bug 1022612. Part 20: Do the business. r=mattwoodrow
...
--HG--
extra : rebase_source : a87960893a3cdf6661f25091ae9fd28b247a464b
2014-06-09 16:48:01 +12:00
Robert O'Callahan
015b707fea
Bug 1022612. Part 19: Test that merged display item lists merge their contents in the correct z-order. r=mattwoodrow
...
Prior to this patch, the only tests that caught this were a couple of obscure
cases on B2G. This test tests it on all platforms.
--HG--
extra : rebase_source : 2534f87eec88d5eba40726032e74ce85ac13be64
2014-07-07 17:46:29 +12:00
Robert O'Callahan
f1a8be6ec0
Bug 1022612. Part 18: When ComputeVisibility returns false, RecomputeVisibility should avoid painting the item. r=mattwoodrow
...
--HG--
extra : rebase_source : b11f832b412b75e9868306908a5e08fe9724a603
2014-06-20 17:24:31 +12:00
Robert O'Callahan
a69e5326d9
Bug 1022612. Part 17: RecordFrameMetrics should not set layer visible regions. r=mattwoodrow
...
This is unnecessary. FrameLayerBuilder sets the correct region.
--HG--
extra : rebase_source : b2c3694cfa2af182c8b2006633efa35a50616642
2014-06-11 23:12:14 +12:00
Robert O'Callahan
ee3e084f25
Bug 1022612. Part 16: No need to exclude final transparent region from window opaque region. r=mattwoodrow
...
The removed code should be a no-op as long as the window opaque region is
accurate enough.
--HG--
extra : rebase_source : c48e2ecaa9e7653708681011cd335d377d5bfaba
2014-06-09 16:48:01 +12:00
Robert O'Callahan
9105305d60
Bug 1022612. Part 14: Don't compute a final transparent region anymore. r=mattwoodrow
...
Computing this via FrameLayerBuilder is some work and we don't really have to.
SuppressComponentAlpha will be true in more cases. This will be OK as long as
text in the chrome window is over opaque content in the same ThebesLayer. We
will miss some edge cases such as text in 'opacity' with no opaque background.
This should be OK.
--HG--
extra : rebase_source : dc8bbdd564cc99df1286921e59642648779b9c4a
2014-06-09 16:48:00 +12:00
Robert O'Callahan
dcb83a5fcb
Bug 1022612. Part 13: Set mDidComputeVisibility in ProcessDisplayItems. r=mattwoodrow
...
--HG--
extra : rebase_source : c1a929e549c437388aa308b3dfda68b923eb0236
2014-07-07 17:46:28 +12:00
Robert O'Callahan
0911de8ef3
Bug 1022612. Part 12: Propagate NeedsTransparentSurface in ProcessDisplayItems. r=mattwoodrow
...
--HG--
extra : rebase_source : ed15b100438912f12e3c556d2a6a43e8387b2981
2014-06-09 16:48:00 +12:00
Robert O'Callahan
2da9e180c8
Bug 1022612. Part 11: Set opaque flag on nsDisplayList if we find an opaque item that covers the whole list. r=mattwoodrow
...
This is less general than what nsDisplayItem::ComputeVisibility does. This means
if multiple opaque items together cover the list bounds, but not individually,
we won't mark the list as opaque. I think that should be OK.
--HG--
extra : rebase_source : 43dced732123617f85f360d13861b01d70fddef5
2014-06-09 16:48:00 +12:00
Robert O'Callahan
4169741fa7
Bug 1022612. Part 10: Implement merging and flattening in ProcessDisplayItems. r=mattwoodrow
...
BuildContainerLayerFor now has to be able to mutate the passed-in display item
list.
--HG--
extra : rebase_source : 6a9727998a5ffb01896a4a2bbdd8d30a24c89dcd
2014-06-09 16:48:00 +12:00
Robert O'Callahan
eca09175de
Bug 1022612. Part 9: nsDisplayScrollInfoLayer destructor does not need to destroy ScrollLayerCount. r=mattwoodrow
...
Getting the timing of this right without processing display items in reverse
order is hard. But it doesn't matter if this property sticks around anyway.
--HG--
extra : rebase_source : 9c94f2091818bb50b31a584a53c572007cd6d0e6
2014-06-09 16:47:59 +12:00
Robert O'Callahan
a7bbcb1530
Bug 1022612. Part 8: nsDisplayWrapList (but not subclasses) should return true for ShouldFlattenAway. r=mattwoodrow
...
Also the assertion in TryMerge is going away because we're going to do TryMerge
first in FrameLayerBuilder.
--HG--
extra : rebase_source : d6343f0a7cb26f9848c2d2b8d46bb1787d3ae632
2014-06-09 16:47:59 +12:00
Robert O'Callahan
9419ca1934
Bug 1022612. Part 7: Enable APZC for IPC reftests. r=billm
...
--HG--
extra : rebase_source : 2b6f6af95eaa2fdc1a5cc63ff2e907ddf8e8b83c
2014-06-25 18:38:05 +12:00
Robert O'Callahan
ddacac6e55
Bug 1022612. Part 6: Set the initial mVisibleRect for each display item to the dirty rect when we create the item. r=mattwoodrow
...
--HG--
extra : rebase_source : 23fb5aefd5de004ca89037724aff7b34e1a5864e
2014-06-09 16:47:59 +12:00
Robert O'Callahan
276239307d
Bug 1022612. Part 5: BuildDisplayListForExtraPage needs to pass the correct dirty rect in. r=mattwoodrow
...
When printing, every page has the same origin. So doing this change naively
would result in the first page having all the display items for every page
added to it, and all but the first page's display items being pruned
away by PruneDisplayListForExtraPage. This would making printing long documents
very slow. We avoid that problem with the new check for
NS_FRAME_FORCE_DISPLAY_LIST_DESCEND_INTO, so the only pages other than the
current page we descend into are the ones with placeholders for abs-pos content
on the current page.
--HG--
extra : rebase_source : 5e07ef9e894ef41d36d4daf4498a14d5163da337
2014-06-09 16:47:58 +12:00
Robert O'Callahan
59f4b64c9f
Bug 1022612. Part 4: Track current dirty rect in nsDisplayListBuilder. r=mattwoodrow
...
We need this to set the initial visible rect during display list construction.
Eventually we'll also be able to get rid of the dirty rect parameter to
nsIFrame::BuildDisplayList.
--HG--
extra : rebase_source : 1ba0444270986dd799a27e4373ca16525f3ced6c
2014-05-20 15:59:14 +12:00
Robert O'Callahan
5965c3d7f7
Bug 1022612. Part 3: Rename "cached frame" to "current frame" in nsDisplayListBuilder and take advantage of the fact it's always set. r=mattwoodrow
...
--HG--
extra : rebase_source : 78a1f6886828d88d1a9d4e96d36d86846ebb845f
2014-05-20 15:49:54 +12:00
Robert O'Callahan
f0c045432e
Bug 1022612. Part 2: Remove unused nsDisplayWrapList constructor. r=mattwoodrow
...
--HG--
extra : rebase_source : df4241bf3f2a646b45c8653c0e36f9eea1cf823e
2014-05-20 15:08:20 +12:00
Robert O'Callahan
5c39722fc1
Bug 1022612. Part 1: Always pass a frame to AutoBuildingDisplayList. r=mattwoodrow
...
--HG--
extra : rebase_source : c76f7af7e65a4e98dc3ee0a8309d0c05e02cf82e
2014-05-20 15:08:18 +12:00
jvoisin
41c95a343c
Bug 1035786 - Fix namespace bug in Linux sandbox LOG_ERROR macro. r=jld
2014-07-08 05:53:00 +01:00
Jed Davis
1107be75f1
Bug 1035786 - Avoid warning-as-error sandbox build failure with an explicit cast. r=gdestuynder
...
getpid() is never negative, so this is safe.
2014-07-10 17:37:45 -07:00
Bob Owen
b9815be53d
Bug 1035786 - Fix member variable initialisation order in LogMessage stub in Linux Sandbox.cpp. r=jld
2014-07-09 12:32:49 +01:00
Emanuel Hoogeveen
5d4d18487c
Bug 1036784 - Extend freeSpanAllocate to do all the things that FreeList::allocate does, and rename it to freeListAllocate. r=terrence
2014-07-14 23:40:00 +02:00
Jed Davis
8cf2ff52b1
Bug 1038406 - Privatize destructor for ResourceSocketListener. r=cpearce
...
Bonus fix: remove redundant `public:`.
2014-07-14 14:47:00 +02:00
Jan de Mooij
59942aecdf
Bug 1037871 - Enable Latin1 strings in SpiderMonkey. r=luke
2014-07-15 08:21:40 +02:00
Bill McCloskey
ad505aedf5
Bug 1017323 - Fix more non-unified build bustage
2014-07-14 23:12:18 -07:00
Matthew Gregan
cc129d221e
Bug 1031532 - Hold the SourceBufferResource monitor during eviction. r=cajbir
2014-07-14 22:41:00 +12:00
Matthew Gregan
9e0b0e6724
Bug 1031532 - Tighten up public interface of SourceBufferResource::ResourceQueue. r=cajbir
2014-07-14 22:41:00 +12:00
Bill McCloskey
4f4ba18792
Bug 1017323 - Fix some non-unified build bustage
2014-07-14 22:49:09 -07:00
Bill McCloskey
e36a0c4317
Bug 1031609 - Docshell getter shim (r=mconley)
2014-07-14 22:10:07 -07:00
Bill McCloskey
4ad15d5d5f
Bug 1031609 - XUL node import shim (r=mconley)
2014-07-14 22:10:06 -07:00
Bill McCloskey
242ca314db
Bug 1031609 - Sandbox shim (r=mconley,mrbkap)
2014-07-14 22:10:06 -07:00
Bill McCloskey
115e2ded44
Bug 1031609 - Docshell rootTreeItem shim (r=mconley)
2014-07-14 22:10:06 -07:00
Bill McCloskey
a5106efb20
Bug 1031609 - Event target shims (r=mconley,smaug)
2014-07-14 22:10:06 -07:00
Bill McCloskey
a1e7e81667
Bug 1031609 - Observer service shims (r=mconley)
2014-07-14 22:10:06 -07:00
Bill McCloskey
efc8b4b755
Bug 1031609 - Basic e10s add-on shim architecture and content-policy shims (r=mconley,mrbkap)
2014-07-14 22:10:06 -07:00
Bill McCloskey
3cca9db699
Bug 1031609 - Remove old e10s Adblock compat code (r=mconley)
2014-07-14 22:10:06 -07:00
Bill McCloskey
9341aa9a92
Bug 1029926 - Add a field to install.rdf for add-ons that are compatible with electrolysis (r=irving)
2014-07-14 22:10:06 -07:00
Bill McCloskey
7db6f29449
Bug 1017323 - Add-on interposition (r=bholley)
2014-07-14 22:10:05 -07:00
Timothy Nikkel
2359218d0d
Bug 995519. Enable overlay scrollbars on root scrollframes in root content documents. r=roc
2014-07-15 00:09:24 -05:00
Chris Peterson
25854464fa
Bug 1036782 - Replace MOZ_ASSUME_UNREACHABLE with MOZ_CRASH in js/src. r=jorendorff
2014-07-14 19:14:54 -07:00
Chris Peterson
09875e23cd
Bug 1036780 - Replace MOZ_ASSUME_UNREACHABLE with MOZ_CRASH in js/src/gc. r=terrence
2014-06-29 23:05:34 -07:00
Marco Castelluccio
5a36744135
Bug 1035282 - Make Webapps.jsm throw DUPLICATE_ORIGIN only if the app with the same origin is natively installed. r=fabrice,myk
...
--HG--
rename : toolkit/webapps/tests/test_custom_origin.xul => toolkit/webapps/tests/test_custom_origin_uninstall_install.xul
2014-07-15 03:53:48 +02:00
Ehsan Akhgari
56654a8755
Bug 1038221 - Fix some WMF destructors to be private; r=cpearce
2014-07-14 21:51:13 -04:00
Ehsan Akhgari
5d8521bb40
Bug 1038155 - Give GfxD2DVramReporter a private destructor; r=bjacob
2014-07-14 21:49:53 -04:00