Commit Graph

194775 Commits

Author SHA1 Message Date
Robert O'Callahan
bd0de1aa6f Bug 1022612. Part 15.5: Use GetVisibleRectForChildren instead of GetVisibleRect. r=mattwoodrow
--HG--
extra : rebase_source : 4d90594855dbd4d8ff39d05c19703187004d9544
2014-07-15 23:49:38 +12:00
Robert O'Callahan
0475b87298 Bug 1022612. Part 15: Add nsDisplayItem::GetVisibleRectForChildren(). r=mattwoodrow
--HG--
extra : rebase_source : cf958f41493ab25762f0c3bcc0361b0810e88549
2014-07-15 23:47:46 +12:00
Robert O'Callahan
a57376f075 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 : fa23d4980710a3961f23cedf3ebdf01b49d63518
2014-06-09 16:48:00 +12:00
Robert O'Callahan
e48b362dfb Bug 1022612. Part 13: Set mDidComputeVisibility in ProcessDisplayItems. r=mattwoodrow
--HG--
extra : rebase_source : c17d6f4c83b9a47c8d3158203ebe0cbff8d2d313
2014-07-07 17:46:28 +12:00
Robert O'Callahan
451711afa8 Bug 1022612. Part 12: Propagate NeedsTransparentSurface in ProcessDisplayItems. r=mattwoodrow
--HG--
extra : rebase_source : e740f6a911e665473feca002711853351ca3e078
2014-06-09 16:48:00 +12:00
Robert O'Callahan
079152a41e 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 : 947fe7bfe8729703ebd46288dfa29f0935fadf87
2014-06-09 16:48:00 +12:00
Robert O'Callahan
256be2e5b1 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 : a3cf9106703d4946a49a73ef60a605f72b2afee3
2014-06-09 16:48:00 +12:00
Robert O'Callahan
56a4bfbf7f 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 : a5a68cc0184209506b5c842bf3c5b90648aae159
2014-06-09 16:47:59 +12:00
Robert O'Callahan
d8e5658d39 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 : de8a1a620279182bf5e33165aa9bbe9a74c08a73
2014-06-09 16:47:59 +12:00
Robert O'Callahan
845210128b Bug 1022612. Part 7: Enable APZC for IPC reftests. r=billm
--HG--
extra : rebase_source : 3032baafc1ec69212c8d920b0795cff04f50fb87
2014-06-25 18:38:05 +12:00
Robert O'Callahan
857cab34cd 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 : b3207861e7476e954a8869a8b2d74e642ea6e56b
2014-06-09 16:47:59 +12:00
Robert O'Callahan
dce04b2374 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 : b9b8c53d5ad5e4eb2d3c5e1f407d605558b3b9d0
2014-06-09 16:47:58 +12:00
Robert O'Callahan
15e5b5a1b6 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 : b793c7d51917b85ea2a5f39993bc1fec24b49d04
2014-05-20 15:59:14 +12:00
Robert O'Callahan
87421c8fa6 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 : cde43a3f358fbb0991ed84d10fc4e1a0de255e9c
2014-05-20 15:49:54 +12:00
Robert O'Callahan
fb4994904a Bug 1022612. Part 2: Remove unused nsDisplayWrapList constructor. r=mattwoodrow
--HG--
extra : rebase_source : 724f95df1dec4a8c7e1a136e029b06e56eb7202f
2014-05-20 15:08:20 +12:00
Robert O'Callahan
34392b6b13 Bug 1022612. Part 1: Always pass a frame to AutoBuildingDisplayList. r=mattwoodrow
--HG--
extra : rebase_source : 7ae8b6e75e0ceeda8afd214e9792a915a21928e3
2014-05-20 15:08:18 +12:00
Neil Rashbrook
b187452d89 Bug 1041140 Fix design flaws in FakeString r=bz 2014-07-19 14:23:19 +01:00
Sotaro Ikeda
24ef28834a Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-19 05:33:12 -07:00
Marco Castelluccio
4da9c38f85 Bug 1040179 - Test marketplace-dev certificates. r=fabrice 2014-07-19 13:51:24 +02:00
Trevor Saunders
b74e67ea7b no bug - don't return nullptr in functions returning bool r=themaid 2014-07-17 20:11:27 -04:00
L. David Baron
fe52357edf Bug 1040386: Fix hopefully-harmless CSS syntax error in isOMTAWorking(). r=birtles
I noticed this in the logs of a B2G emulator mochitest run.
2014-07-18 21:22:20 -07:00
L. David Baron
e2cf09f168 Bug 1041060: Use AllocateByObjectID/FreeByObjectID for nsInheritedStyleData and nsResetStyleData. r=heycam
This is similar to bug 1038488, which did the same for style structs.
This means the entire path from frame to style struct should be
allocated using frame IDs or object IDs.
2014-07-18 21:22:20 -07:00
Wes Kocher
1ad8f33b85 Backed out 3 changesets (bug 1037408) for dt orange on a CLOSED TREE
Backed out changeset 8833bb7e90de (bug 1037408)
Backed out changeset c9cfdc0bbfbc (bug 1037408)
Backed out changeset f875dc5e0df7 (bug 1037408)
2014-07-18 21:04:00 -07:00
Wes Kocher
0714191b1d Backed out changeset 1db5409ea062 (bug 1037430) for dt orange on a CLOSED TREE 2014-07-18 21:03:15 -07:00
Wes Kocher
64b3a1ed15 Merge m-c to inbound 2014-07-18 18:44:43 -07:00
Wes Kocher
6b76513785 Merge m-c to inbound 2014-07-18 18:42:49 -07:00
Wes Kocher
dfeed1d453 Merge fx-team to m-c a=merge 2014-07-18 18:31:46 -07:00
Wes Kocher
b5aa22891f Merge b2g-inbound to m-c a=merge 2014-07-18 18:19:48 -07:00
Wes Kocher
05218f8d51 Merge inbound to m-c a=merge 2014-07-18 17:51:39 -07:00
Florian Quèze
0fff7f0166 Bug 1037430 - implement webrtc global indicator in the Mac menubar, r=dolske. 2014-07-19 02:49:19 +02:00
Florian Quèze
a0ad6075ba Bug 1037408 - implement the global indicator window, initial patch by Gijs, r=dolske. 2014-07-19 02:49:19 +02:00
Florian Quèze
db66c87c16 Bug 1037408 - webrtcUI's activeStreams getter should be able to return lists for a specific device type, r=dolske. 2014-07-19 02:49:19 +02:00
Florian Quèze
66a9db8c30 Bug 1037408 - add booleans to webrtcUI indicating which sharing indicators should be shown, r=dolske. 2014-07-19 02:49:18 +02:00
Bill McCloskey
89f4a776d8 Bug 1039034 - Don't leak add-on interpositions at shutdown (r=bholley) 2014-07-18 16:50:55 -07:00
Mike Hommey
7fed84e25c Bug 1040649 - Detect changes to frozen variables between rules.mk include and the end of Makefile.in. r=mshal 2014-07-19 08:46:33 +09:00
Mike Hommey
15534a15c4 Bug 1040639 - Remove LIBS_DIR. r=mshal 2014-07-19 08:42:16 +09:00
B2G Bumper Bot
dfe0bf9f1e Bumping manifests a=b2g-bump 2014-07-18 15:46:18 -07:00
B2G Bumper Bot
c7e3ddf41e Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/4af9ed6ff7ff
Author: Yura Zenevich <yura.zenevich@gmail.com>
Desc: Merge pull request #21945 from yzen/bug-1040290

Bug 1040290 - remedying the visibility conflict between the value select...

========

https://hg.mozilla.org/integration/gaia-central/rev/d0cf1ea8dce8
Author: Yura Zenevich <yzenevich@mozilla.com>
Desc: Bug 1040290 - remedying the visibility conflict between the value selector and the system dialog that triggers it.
2014-07-18 15:40:31 -07:00
Wes Kocher
7110175bc2 Backed out changeset a1778d8e2e38 (bug 1030889) for mochitest-oth orange 2014-07-18 15:01:39 -07:00
Mark Finkle
ad352c946a Bug 1006186 - Update discovery tests since we support webm now r=me 2014-07-18 17:41:31 -04:00
B2G Bumper Bot
8d9feeec91 Bumping manifests a=b2g-bump 2014-07-18 14:06:16 -07:00
B2G Bumper Bot
e1f34bcb37 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/5fa77f5e0bff
Author: Etienne Segonzac <etienne@segonzac.info>
Desc: Merge pull request #21926 from etiennesegonzac/bug-1039445

Bug 1039445 - Preventing a race where the LayoutManager compute a 0 height. r=alive

========

https://hg.mozilla.org/integration/gaia-central/rev/03b32994fe2b
Author: Etienne Segonzac <etienne@segonzac.info>
Desc: Bug 1039445 - Preventing a race where the LayoutManager compute an available height of 0.
2014-07-18 14:00:31 -07:00
B2G Bumper Bot
1d19d01632 Bumping manifests a=b2g-bump 2014-07-18 13:56:41 -07:00
B2G Bumper Bot
89c125d726 Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/7f597f1bc740
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1040070 - Follow-up, revert change to default number of columns r=me
2014-07-18 13:50:31 -07:00
Patrick McManus
5373bfe55a bug 1035075 - orderly shutdown of pac thread r=sworkman 2014-07-18 16:44:24 -04:00
Wes Kocher
94cf0b6805 Backed out changeset 72d92f058cf0 (bug 989348) under suspicion of causing various devtools crashes 2014-07-18 16:29:58 -07:00
Andrei Oprea
c9f85c4a2f Bug 1040901 - Make Loop incoming call view match MVP spec, r=dmose
--HG--
rename : browser/components/loop/content/js/conversation.js => browser/components/loop/content/js/conversation.jsx
2014-07-18 15:50:10 -07:00
Wes Kocher
2639b7c423 Backed out changeset ece3f69eb1b1 (bug 1035075) for various gc crashes 2014-07-18 15:32:00 -07:00
Shu-yu Guo
bf16278e5c Bug 1037665 - Don't optimize arguments.callee in strict mode. (r=h4writer) 2014-07-18 14:39:30 -07:00
B2G Bumper Bot
6cc7dc55fd Bumping manifests a=b2g-bump 2014-07-18 13:37:02 -07:00