Commit Graph

140668 Commits

Author SHA1 Message Date
L. David Baron
372c024c0e Bug 898329 patch 5: Create and use ElementRestyler::mResolvedChild. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron
0d0cdd5410 Bug 898329 patch 4: Avoid using newContext outside of what will be in RestyleManager::RestyleSelf. r=heycam
This replaces newContext with mFrame->StyleContext(), which is a valid
replacement since all of the replacements are inside a test that we
don't have a framechange hint.  If we have a framechange hint, then
mFrame still has its old style context.
2013-07-30 17:36:11 -07:00
L. David Baron
8c39cda548 Bug 898329 patch 3.5: Don't check undisplayed content if we're going to reframe. r=heycam
This avoids doing work that is unnecessary; if we're going to reframe
anyway, the frame destruction will clear the undisplayed content list,
and we'll then rebuild it when we recreate the frame (if needed).

It is also a prerequisite for patch 4, which replaces some uses of
newContext with mFrame->StyleContext().  These are the same as long as
we don't have a framechange hint, since when we do have a framechange
hint we leave the old style context on the frame to avoid violating
invariants.  This patch ensures that all such uses replaced in patch 4
are actually inside a check that we don't have a framechange hint.
(Most of them already were.)
2013-07-30 17:36:11 -07:00
L. David Baron
069d654106 Bug 898329 patch 3: Create and use ElementRestyler::mWasFrameVisible. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron
6edf3e771d Bug 898329 patch 2: Fix indentation in ReParentStyleContext from patch 1. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron
7b10df02a0 Bug 898329 patch 1: Remove null-checks on oldContext and newContext and avoid manual reference counting. r=heycam 2013-07-30 17:36:11 -07:00
L. David Baron
aee2be3fd9 Bug 898209 patch 15: Use constructor flags on ElementRestyler's regular constructor to avoid manipulating mHintsHandled from the outside. r=heycam
This is the second of two patches added on top to address review
comments on patch 2.
2013-07-30 17:36:10 -07:00
L. David Baron
07bdb25977 Bug 898209 patch 14: Add constructor flags to ElementRestyler's regular constructor so we can avoid manipulating mHintsHandled from the outside. r=heycam
This is the first of two patches added on top to address review comments
on patch 2.
2013-07-30 17:36:10 -07:00
L. David Baron
8c05c48f7d Bug 898209 patch 13: Create and use ElementRestyler::mTreeMatchContext. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
812f86eb07 Bug 898209 patch 12: Create and use ElementRestyler::mVisibleKidsOfHiddenElement. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
52ab982fe7 Bug 898209 patch 11: Create and use member variables for accessibility notifications. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
a663478e1a Bug 898209 patch 10: Create and use ElementRestyler::mRestyleTracker. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
59a41597b1 Bug 898209 patch 9: Create and use ElementRestyler::mParentFrameHintsNotHandledForDescendants and mHintsNotHandledForDescendants. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
6d0532d145 Bug 898209 patch 8: Create and use ElementRestyler::mChangeList. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
739a42f65e Bug 898209 patch 7: Fix remaining variable shadowing warning. r=heycam 2013-07-30 17:36:10 -07:00
L. David Baron
9c7983dbd5 Bug 898209 patch 6: Create and use ElementRestyler::mParentContent and mContent. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
4a58134c69 Bug 898209 patch 5: Remove the localContent variable in favor of writing mFrame->GetContent(). r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
62d516ab40 Bug 898209 patch 4: Remove aPresContext parameter to ElementRestyler::Restyle. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
59c10658b8 Bug 898209 patch 3: Create and use ElementRestyler::mFrame. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
2fa0e6ec12 Bug 898209 patch 2: Create and use ElementRestyler::mHintsHandled. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
ef1ccb845b Bug 898209 patch 1: Add ElementRestyler class to begin refactoring ReResolveStyleContext. r=heycam 2013-07-30 17:36:09 -07:00
L. David Baron
02fccb4492 Bug 898893: Rename nsTextFrameThebes.cpp back to nsTextFrame.cpp, from which it originally forked. r=roc
This was discussed in both:
https://groups.google.com/d/topic/mozilla.dev.tech.layout/5e4O84CO-sw/discussion
https://groups.google.com/d/topic/mozilla.dev.tech.layout/Cmvapo3fWeg/discussion

--HG--
rename : layout/generic/nsTextFrameThebes.cpp => layout/generic/nsTextFrame.cpp
2013-07-30 17:36:09 -07:00
L. David Baron
066f28abe6 Bug 898892: Move nsStyleConsts.h from layout/base to layout/style. r=heycam
This fixes a mistake from bug 272151, as discussed in the thread
https://groups.google.com/d/topic/mozilla.dev.tech.layout/5e4O84CO-sw/discussion

--HG--
rename : layout/base/nsStyleConsts.h => layout/style/nsStyleConsts.h
2013-07-30 17:36:09 -07:00
L. David Baron
40c4d9c17c Bug 898888: Transition manager should use SetStyleContext rather than SetStyleContextWithoutNotification. r=nrc
While debugging bug 858937 I noticed that the transition manager was
calling nsIFrame::SetStyleContextWithoutNotification rather than
nsIFrame::SetStyleContext.  SetStyleContextWithoutNotification should
only be used for things that aren't really style changes, but are
instead changes we make during frame construction before things are
really initialized.  Anything that's really a dynamic style change, as
these are, should use SetStyleContext.

I realize I said the opposite in bug 780692 comment 186, and bz said the
same in bug 780692 comment 204, which is why this is the state that it
is.
2013-07-30 17:36:08 -07:00
L. David Baron
48ff61e4ab Bug 896138 patch 10: Move beginning and ending of ProcessPendingRestyles into helper functions on the RestyleManager. r=heycam 2013-07-30 17:36:08 -07:00
Gregory Szorc
5fd8b7d40f Bug 899792 - Establish precompile tier and move IPDL and WebIDL build rules; r=glandium
A new build tier is introduced: precompile. The intention is to replace
the export subtier with something better and nonrecursive. IPDL and
WebIDL code generation have been moved into this new tier and are
performed concurrently. This appears to reduce build times due to fewer
"single threaded" build actions.

The subtier tracking UI has been updated to reflect operations that can
occur in parallel. As subtiers are started, they turn yellow. They can
then complete in any order.

Nonrecursive targets have been added to preserve the IPDL and WebIDL
build targets such that developers can type |make| from leaf directories
like they have always done.
2013-07-30 17:00:24 -07:00
Gregory Szorc
9fc50a01c4 Bug 899241 - Add process_install_manifest build action; r=glandium 2013-07-30 16:58:33 -07:00
Wes Kocher
9bbd0a74e3 Backed out changeset 675ea8aeb804 (bug 884897) for breaking builds on a CLOSED TREE 2013-07-30 15:31:10 -07:00
Ryan VanderMeulen
02d1dbe0d8 Merge m-c to inbound. 2013-07-30 18:08:18 -04:00
Olli Pettay
fb405f012c Bug 899089 - Improve event listener reporting in CC graphs, r=khuey 2013-07-31 01:04:38 +03:00
David Zbarsky
09b669e023 Bug 893117: Remove nsIDOMHTMLDListElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
0d3882f4c1 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
cc5cdadf7d Bug 893117: Remove nsIDOMHTMLParamElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
aa7c54d744 Bug 893117: Remove nsIDOMHTMLLabelElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
5058a43793 Bug 893117: Remove nsIDOMHTMLFontElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
0ee6634734 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
5be64ca260 Bug 893117: Remove nsIDOMHTMLHeadingElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
287910005d Bug 893117: Remove nsIDOMHTMLModElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
9066c58bfc Bug 893117: Remove xpidl for nsIDOMHTMLDirectoryElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
51c60afc61 Bug 893117: Remove nsIDOMHTMLOutputElement r=bz 2013-07-30 14:55:11 -07:00
David Zbarsky
6310037dcf Bug 893117: Remove nsIDOMHTMLDataListElement r=bz 2013-07-30 14:55:11 -07:00
David Zbarsky
0a8ff9d696 Bug 893117: Remove nsIDOMHTMLUnknownElement r=peterv 2013-07-30 14:55:11 -07:00
David Zbarsky
46494d4c25 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-30 14:55:11 -07:00
David Zbarsky
24178c0c21 Bug 893117: Remove nsIDOMHTMLTableColElement r=peterv 2013-07-30 14:55:11 -07:00
David Zbarsky
693663f6f5 Bug 893117: Remove nsIDOMHTMLTableRowElement r=peterv 2013-07-30 14:55:10 -07:00
David Zbarsky
6791e960b1 Bug 893117: Remove nsIDOMHTMLTableSectionElement r=peterv 2013-07-30 14:55:10 -07:00
David Zbarsky
d86b43aa04 Bug 893117: Remove xpidl for nsIDOMHTMLTableElement r=peterv 2013-07-30 14:55:10 -07:00
David Zbarsky
db8538deb2 Bug 893117: Remove nsIDOMHTMLTableCellElement r=peterv 2013-07-30 14:55:10 -07:00
Nicholas Cameron
5b1bec37f3 Bug 897839. Add some null checks for the compositor map. r=mattwoodrow 2013-07-31 09:45:42 +12:00
Nicholas Cameron
604246128e Bug 897409. Use a temporary surface instead of forcing image surfaces. r=mattwoodrow 2013-07-31 09:45:31 +12:00