Nicholas Nethercote
3ba02d7a9b
Bug 1232852 (part 3) - Remove unused parameters from some accessibility code. r=tbsaunde.
...
--HG--
extra : rebase_source : 7cdef8244e2b44b89e8061f66d45d40cbf245041
2015-12-15 21:24:06 -08:00
Brian Birtles
bf0b758990
Bug 1229280 - Move animation generation from AnimationCollection to EffectSet; r=dbaron
...
--HG--
extra : rebase_source : 26a942c8c6058e629e7d7ed549eb1fcdf7f6d399
2016-01-06 11:04:05 +09:00
Boris Zbarsky
8eff629f46
Bug 1230639 - Propagate the namespace ID to AttributeRuleProcessorData on attribute changes. r=dbaron
2015-12-05 01:09:13 -05:00
Markus Stange
b22db3eab2
Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc
...
--HG--
extra : commitid : 1j8QG2b0rIG
extra : rebase_source : 027065697e7e0ef445d8bcf7a81cf0270dcf7b8b
2015-12-22 16:54:19 +01:00
Carsten "Tomcat" Book
27bbe6ec93
Backed out changeset 68b33692bed3 (bug 1147673)
2015-12-16 11:52:37 +01:00
Markus Stange
bf668586d7
Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc
...
--HG--
extra : commitid : 7KbOQKKSVq5
extra : rebase_source : d23daf86ed8d375bd5ab3ed7dfe3cff80bc0ff4c
extra : histedit_source : cce4ded91f0672142796a852d20d052e7b6247ce
2015-12-12 10:58:37 -05:00
Nicholas Nethercote
16cd9db041
Bug 1230863 - Remove unused nsPresContext args from many functions. r=roc.
2015-12-06 17:15:53 -08:00
Brian Birtles
e0492c55ba
Bug 1226118 part 12a - Make RestyleManager::GetMaxAnimationGenerationForFrame used frame-based GetAnimationCollection; r=dholbert
2015-12-04 08:34:17 +09:00
L. David Baron
911415d73e
Bug 1224251 patch 4 - Convert UpdateOpacityLayer to RepaintFrame when changing opacity between 1 and non-1 on table parts. r=mattwoodrow
...
--HG--
extra : commitid : EbDZ3fKuldK
2015-11-30 21:25:55 -08:00
L. David Baron
ea2560fb45
Bug 1224251 patch 2 - Add nsChangeHint_UpdateUsesOpacity to say when opacity changes between 1 and non-1. r=xidorn
...
--HG--
extra : commitid : 54U9yWksA8Q
2015-11-30 21:25:54 -08:00
Carsten "Tomcat" Book
b26ab66204
Backed out changeset 5c4a581885e4 (bug 1224251)
2015-11-30 12:10:44 +01:00
Carsten "Tomcat" Book
a1a34b4afa
Backed out changeset 0a2d8e926a66 (bug 1224251)
2015-11-30 12:10:42 +01:00
L. David Baron
17e9e51fbf
Bug 1224251 patch 4 - Convert UpdateOpacityLayer to RepaintFrame when changing opacity between 1 and non-1 on table parts. r=mattwoodrow
...
--HG--
extra : commitid : A4ASfp124vt
2015-11-29 23:15:01 -08:00
L. David Baron
7dcb2bf7c7
Bug 1224251 patch 2 - Add nsChangeHint_UpdateUsesOpacity to say when opacity changes between 1 and non-1. r=xidorn
...
--HG--
extra : commitid : 4W2ejOSubfo
2015-11-29 23:15:00 -08:00
Cameron McCormack
904f671b03
Bug 1222745 - Restore eRestyleResult_StopWithStyleChange optimization for shared style contexts by comparing rule nodes for inherited style data changes. r=dbaron
2015-11-17 15:09:55 +11:00
Cameron McCormack
866defc215
Bug 1222226 - Don't return eRestyleResult_StopWithStyleChange if the old style context is shared. r=dbaron
2015-11-08 11:06:14 +11:00
Cameron McCormack
2328daec26
Comment typo fix; no bug. (DONTBUILD)
...
--HG--
extra : rebase_source : c17a904cc2d7fcaecaaf658eed87da4511d4de94
2015-10-30 10:38:20 +11:00
L. David Baron
51b146732f
Bug 1209603 patch 6b - Rename nsStyleContext::HasCachedInheritedStyleData to HasCachedDependentStyleData. r=heycam
...
--HG--
extra : commitid : 1RWP1xtrXOe
2015-10-19 20:42:28 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Vivien Nicolas
a0d6fcda4b
Bug 1211858 - Add a hint for the Restyle label when the id is unavailable. r=roc,benwa
2015-10-07 02:14:00 +02:00
Daniel Holbert
8f81a9c35d
Bug 1032613 part 2: Make RestyleManager::AddSubtreeToOverflowTracker skip frames that don't maintain overflow areas. r=dbaron
2015-10-01 20:05:26 -07:00
Daniel Holbert
09893a542f
Bug 1032613 part 1: Promote FrameMaintainsOverflow to be a public nsIFrame method, & implement it using HasAllStateBits. r=dbaron
2015-10-01 20:05:25 -07:00
Daniel Holbert
796640812b
Bug 1206996: Use range-based 'for' syntax to iterate across nsFrameLists in RestyleManager. r=tn
2015-09-22 11:21:44 -07:00
Cameron McCormack
54e04d5eff
Bug 1203766 - Part 4: Add a "restyle generation" counter, which increments whenever we process pending restyles. r=bzbarsky
2015-09-17 12:08:20 +10:00
Hiroyuki Ikezoe
3525eca033
Bug 1197620 - Part 1 - Stop all animations in destroyed frames. r=bbirtles
2015-09-14 23:42:00 +02:00
Cameron McCormack
646a0c727a
Bug 1202512 - Part 1: Add Element flags to record whether an eRestyle_SomeDescendants restyle is pending for it. r=bzbarsky
2015-09-12 19:08:10 +10:00
Hiroyuki Ikezoe
e66cf160a7
Bug 1151694 - Part 1 - Move CommonAnimationManager::sLayerAnimationInfo into LayerAnimationInfo.(cpp|h). r=bbirtles
...
--HG--
extra : rebase_source : 1226660e3e42a534d4c8b4f72c00888356a708fb
2015-09-03 22:59:00 +02:00
Cameron McCormack
9c2b79104e
Bug 1192302 - Part 2: Traverse the frame tree when processing eRestyle_SomeDescendants. r=bzbarsky
2015-09-04 10:00:14 +10:00
Cameron McCormack
5a7fd0fade
Bug 1192302 - Part 1: Make MustCheckUndisplayedContent take its frame as an argument. r=bzbarsky
2015-09-04 10:00:14 +10:00
Cameron McCormack
d32a93dce9
Bug 1180120 - Part 7: Add eRestyleResult_StopWithStyleChange. r=dbaron
2015-08-29 06:13:48 +10:00
Cameron McCormack
f7742cef5d
Bug 1180120 - Part 6.2: Refactor MaybeReframeFor{Before,After}Pseudo. r=dbaron
2015-08-29 06:13:48 +10:00
Cameron McCormack
a830175340
Bug 1180120 - Part 6.1: Factor out some of RestyleUndisplayedDescendants. r=dbaron
2015-08-29 06:13:47 +10:00
Cameron McCormack
b332673f40
Bug 1180120 - Part 6: Replace HasSameCachedStyleData call with samePointerStructs bit tests. r=dbaron
2015-08-29 06:13:47 +10:00
Cameron McCormack
ec9fcbb753
Bug 1180120 - Part 5: Factor out section of ElementRestyler::Restyle that calls AddPendingRestylesForDescendantsMatchingSelectors. r=dbaron
2015-08-29 06:13:47 +10:00
Cameron McCormack
1a2b30b0fc
Bug 1180120 - Part 4: Add an outparam to CalcStyleDifference to indicate which struct pointers were identical. r=dbaron
2015-08-29 06:13:47 +10:00
Cameron McCormack
bbf3e2feac
Bug 1180120 - Part 3: Record on ElementRestyler whether we are at the root of a restyle. r=dbaron
2015-08-29 06:13:47 +10:00
Brian Birtles
774abfc8fe
Bug 1180125 part 2 - Move AnimationCommon classes out of CSS namespace; r=dbaron
...
The long-term plan is to drop the mozilla::css namespace altogether. Before we
go to much further with refactoring code in AnimationCommon, we should drop
usage of the mozilla::css namespace. Specifically, this patch moves the
CommonAnimationManager and AnimValuesStyleRule classes to the mozilla namespace.
2015-07-29 10:57:39 +09:00
Cameron McCormack
2fdf1a9679
Bug 1190254 - Use same conditions to call ReparentStyleContext in RestyleUndisplayedNodes as in RestyleSelf. r=mats
2015-08-06 09:16:00 +10:00
Cameron McCormack
ab9b04e02e
Bug 1180118 - Part 11: Use ReparentStyleContext even if eRestyle_SomeDescendants is used. r=bzbarsky
2015-08-05 22:42:21 +10:00
Cameron McCormack
5b9bb2f89a
Bug 1180118 - Part 10: Logging. r=bzbarsky
2015-08-05 22:42:21 +10:00
Cameron McCormack
e55a3ea42c
Bug 1180118 - Part 8: Keep track of the closest restyle root in AddPendingRestylesForDescendantsMatchingSelectors. r=bzbarsky
2015-08-05 22:42:21 +10:00
Cameron McCormack
9ae3b05332
Bug 1180118 - Part 5: Add a RestyleHintData outparam to HasAttributeDependentStyle for use with eRestyle_SomeDescendants. r=bzbarsky
2015-08-05 22:42:21 +10:00
Cameron McCormack
3ee4a03170
Bug 1180118 - Part 3: Convert eRestyle_SomeDescendants into eRestyle_Self for elements that match selectors. r=bzbarsky
2015-08-05 22:42:20 +10:00
Cameron McCormack
a51940e7a6
Bug 1180118 - Part 2: Add eRestyle_SomeDescendants restyle hint and pass associated restyle hint data into restyle methods. r=bzbarsky
2015-08-05 22:42:20 +10:00
Carsten "Tomcat" Book
94b10d301f
Backed out 13 changesets (bug 1180118) for crashes on a CLOSED TREE
...
Backed out changeset c65d298d7cfa (bug 1180118)
Backed out changeset 7c5ebadc3fc9 (bug 1180118)
Backed out changeset 91a3e2205388 (bug 1180118)
Backed out changeset 15ad6049b940 (bug 1180118)
Backed out changeset 9b41cd9f2bc5 (bug 1180118)
Backed out changeset 37493f6eef20 (bug 1180118)
Backed out changeset b7ec8d4d2d7e (bug 1180118)
Backed out changeset cfeeae42d514 (bug 1180118)
Backed out changeset 9bcc3233f3c8 (bug 1180118)
Backed out changeset b99c358a6fea (bug 1180118)
Backed out changeset 4a7b79980353 (bug 1180118)
Backed out changeset 20984dfa4302 (bug 1180118)
Backed out changeset ef165b896cf4 (bug 1180118)
2015-08-04 12:20:20 +02:00
Cameron McCormack
e228e20bfe
Bug 1180118 - Second followup warning-as-error build fix.
2015-08-04 17:50:32 +10:00
Cameron McCormack
6779b6d8a7
Bug 1180118 - Part 11: Use ReparentStyleContext even if eRestyle_SomeDescendants is used. r=bzbarsky
2015-08-04 17:27:53 +10:00
Cameron McCormack
e4b325902b
Bug 1180118 - Part 10: Logging. r=bzbarsky
2015-08-04 17:27:53 +10:00
Cameron McCormack
e090c4f7c9
Bug 1180118 - Part 8: Keep track of the closest restyle root in AddPendingRestylesForDescendantsMatchingSelectors. r=bzbarsky
2015-08-04 17:27:53 +10:00
Cameron McCormack
18f6b81597
Bug 1180118 - Part 5: Add a RestyleHintData outparam to HasAttributeDependentStyle for use with eRestyle_SomeDescendants. r=bzbarsky
2015-08-04 17:27:53 +10:00