Nicholas Nethercote
fb2f58d5b0
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Nicholas Nethercote
7cdc7e0fb8
Bug 705987 - Use mallocSizeOf in the layout memory reporters. r=khuey,bzbarsky
2011-12-08 21:01:52 -08:00
Ehsan Akhgari
1deb9f1504
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
ac54b41b01
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
L. David Baron
71e753bdeb
Assert that we destroy ElementAnimations/ElementTransitions through its Destroy() method. (Bug 653644) r=bzbarsky
2011-04-30 15:16:19 -07:00
L. David Baron
c7ee404625
Make AnimValuesStyleRule::AddEmptyValue infallible. (Bug 435442, patch 8) r=bzbarsky
2011-04-11 23:18:43 -07:00
L. David Baron
cb79bf536c
Refactor some parts of nsTransitionManager into common base class to be shared with AnimationManager. (Bug 435442, patch 7) r=bzbarsky
2011-04-11 23:18:43 -07:00
L. David Baron
22f88e80eb
Implement step-start, step-end, and steps() timing functions. (Bug 435442, patch 0) r=bzbarsky
2011-04-11 23:18:42 -07:00
L. David Baron
06865cb7b6
Don't cancel transitions that are almost completed (and round to their final value) when we get an unrelated style change. (Bug 613888) r=bzbarsky a2.0=blocking
2011-01-14 19:57:53 -08:00
L. David Baron
12fc3dcc44
Fix backwards handling of zero-duration transitions. (Bug 622461) r=bzbarsky a2.0=blocking2.0:betaN
2011-01-04 10:10:54 -05:00
L. David Baron
8adadc6742
For transition reversing computations, ensure valuePortion is within 0.0-1.0. (Bug 611238) r=bzbarsky a=blocking2.0:final
...
Without the change to ensure that valuePortion is nonnegative, duration
might become negative, which it's not allowed to be. Without this
change, this can happen when a transition starts off moving into
negative value space, which happens when y1 in the timing function is
negative. The result that we want should come from using the absolute
value (rather than clamping to zero): if we reverse the transition when
it's in this negative space, we want the same movement we'd get if it
were the same distance into positive value space, just in the opposite
direction.
Additionally, I'm clamping valuePortion to be at most 1. This affects
"bouncy" transitions where the timing function's y2 is greater than
one. This is less critical, but ensures the invariant that a transition
will never take longer than its specified time, which seems like a good
thing to ensure.
I believe doing this computation at this stage is preferable to doing it
before the multiplication by oldPT.mReversePortion, since we should be
clamping the value within the range of the complete transition, not just
relative to the most recent reverse.
2010-12-16 08:53:17 -08:00
L. David Baron
17e4fea205
Don't use ComputeDistance in nsTransitionManager when shortening reversals of partially running transitions, and shorten only transitions that are actually back to the current start point. (Bug 582379, bug 526784) r=bzbarsky a2.0=blocking
2010-11-10 07:49:53 -08:00
L. David Baron
b443a2b5d3
Fix division-by-zero crash that dholbert saw, although I haven't been able to, and make the code a bit more robust. (Bug 582379) r=bzbarsky a2.0=blocking
2010-11-10 07:49:53 -08:00
L. David Baron
a7577a3658
Make AnimValuesStyleRule::MapRuleInfoInto check that property hasn't been filled in yet, so that it cascades correctly and interacts correctly with nsStyleSet::ResolveStyleByAddingRules. (Bug 598099) r=bzbarsky a2.0=blocking-betaN
2010-10-23 16:31:55 -07:00
Boris Zbarsky
4a00c194ea
Bug 592698. We might not have a presshell by this point, so null-check it. r=dbaron
2010-09-15 12:40:11 -07:00
Zack Weinberg
670ff6c170
Bug 576044 (6/12): remove vestiges of nsCSSType. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
40ea766a11
Bug 569719 part 4: Move nsCSSExpandedDataBlock::RuleDataPropertyAt into struct nsRuleData. r=dbaron
2010-07-23 11:00:21 -07:00
L. David Baron
0455219b8c
Clean up messy line thanks to new operator from bug 570912. (Bug 582111) r=bzbarsky
2010-07-28 16:43:53 -07:00
L. David Baron
b46aad0372
Make the transitions style rule hold on to its values and thus preserve rule immutability. Do this by reusing the code for the covering style rule for both transitions style rule types. (Bug 582111) r=bzbarsky
2010-07-28 16:43:53 -07:00
Craig Topper
887039a31a
Bug 575901 - DeCOMtaminate nsIStyleRuleProcessor method signatures. r=bz
2010-07-18 23:20:40 +02:00
L. David Baron
0f41b5999d
Fire transitionend events only for transitions on elements (not pseudo-elements). (Bug 537140) r=bzbarsky
2010-07-02 21:18:55 -07:00
Boris Zbarsky
a48dad7a26
Bug 555627. Make transitions actually work correctly on :before and :after. r=dbaron
2010-06-30 18:54:29 -07:00
Craig Topper
2fcf298bd1
Bug 566808 - "DeCOMtaminate nsIStyleRule method signatures" [r=dbaron]
...
(transplanted from 9a7be1835b530c72a46069a5c3951b80b16804a3)
--HG--
extra : transplant_source : %9A%7B%E1%83%5BS%0Cr%A4%60i%A5%C3%95%1B%80%B1h%04%A3
2010-05-19 22:28:00 -04:00
Boris Zbarsky
241dd62165
Bug 565815. Use Element in the transition manager instead of nsIContent. r=dbaron
2010-05-14 13:04:51 -04:00
Boris Zbarsky
4c5c5e40c6
Bug 562688 part 14. Eliminate eELEMENT usage in the rule processor; switch to Element as we can. r=dbaron
2010-04-30 09:12:06 -04:00
Zack Weinberg
f090f9fe6b
Eliminate NS_HIDDEN and NS_HIDDEN_ from layout/style/. Search-and-replace plus formatting fixes. rs=bzbarsky, no bug.
2010-04-06 14:52:17 -07:00
Zack Weinberg
7b6b6d2167
Bug 494117: Mechanically change 'ReParent' to 'Reparent' throughout the tree. r=bzbarsky
2010-04-01 23:07:43 -07:00
Zack Weinberg
54158911c9
Bug 494117 preliminary refactor: Search-and-replace 'ReStyle' with 'Restyle' throughout layout. r=roc
2010-03-31 17:43:32 -07:00
Markus Stange
c93c0764d2
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
Markus Stange
c85fb1f23b
Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures.
2010-03-17 20:03:53 +01:00
Markus Stange
51f979aa23
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
L. David Baron
cecf68cfe7
Store transitions for one refresh cycle after they complete so that merging with a non-animation style change doesn't make us start a second transition to transition the last step. (Bug 537151) r=bzbarsky
2010-01-12 08:51:37 -08:00
L. David Baron
676e92cdbc
Dispatch transitionend events. (Bug 531585) r=bzbarsky
2009-12-23 14:10:31 -05:00
L. David Baron
4809ab163d
Make the transition manager reference-counted. (Bug 531585) r=bzbarsky
2009-12-23 14:10:31 -05:00
Benjamin Smedberg
a7f5ea18ae
Back out all the pieces of bug 531585 (transitioned event for end of CSS transitions) because of timeouts in test_transitions_events.html
2009-12-23 10:15:26 -05:00
L. David Baron
e988780c05
Dispatch transitionend events. (Bug 531585) r=bzbarsky
2009-12-23 06:35:46 -05:00
L. David Baron
89daf9f3d3
Make the transition manager reference-counted. (Bug 531585) r=bzbarsky
2009-12-23 06:35:45 -05:00
L. David Baron
ebef1d40f1
Merge backout of revisions fa5326c011b8, 8b22441911b0, and cfa10b01b1f6 (bug 531585) on suspicion of causing random orange bug 536382.
2009-12-22 15:47:42 -05:00
L. David Baron
0af75dd016
Backout revisions fa5326c011b8, 8b22441911b0, and cfa10b01b1f6 (bug 531585) on suspicion of causing random orange bug 536382.
2009-12-22 15:46:23 -05:00
L. David Baron
7c795c0147
Make the transition manager reference-counted. (Bug 531585) r=bzbarsky
2009-12-21 16:46:25 -05:00
L. David Baron
ab1e004ee1
Make setting property after setting transition-duration and transition-delay to 0 stop running transitions on that property: part 3: main patch. (Bug 522643) r=bzbarsky
2009-12-21 16:46:25 -05:00
L. David Baron
e8a9e43508
Make setting property after setting transition-duration and transition-delay to 0 stop running transitions on that property: part 2: make GetElementTransitions faster so we can call it more often. (Bug 522643) r=bzbarsky
2009-12-21 16:46:25 -05:00
L. David Baron
b9425555d5
Make setting property after setting transition-duration and transition-delay to 0 stop running transitions on that property: step 1: move static function up. (Bug 522643) r=bzbarsky
2009-12-21 16:46:25 -05:00
L. David Baron
2b0fbb9eba
Add support for animation of 'visibility' to transitions (but make it a special case for transitions). (Bug 531942) r=bzbarsky
2009-12-21 16:46:25 -05:00
Boris Zbarsky
62f12d76fb
Bug 531933. Give HasStateDependentStyle a better signature. r=dbaron
2009-12-11 22:36:34 -08:00
L. David Baron
e83b7770c0
Make CSS style rule implementations hold on to their data block once RuleMatched has been called so that they follow the immutability contract of nsIStyleRule. Remove workarounds in tests for transitions bugs caused by these violations of style rule immutability. (Bug 522595) r=bzbarsky
2009-12-11 08:13:20 -08:00
L. David Baron
b4797974ce
Stop transitions when -moz-transition-property changes to a value that no longer includes the transitioning property. (Bug 525530) r=bzbarsky
2009-12-11 08:13:19 -08:00
Boris Zbarsky
2f9d6df5b4
Bug 525608 part 7. Make tree pseudos use a separate hashtable instead of riding along on the rulehash. r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
e2e2cf736a
Bug 525608 part 5. Change anonymous box rule matching to just use a separate hashtable and not ever run SelectorMatches. r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
cfac13a4b6
Bug 525608 part 4. Change pseudo-element probing and resolution to not use EnumerateTagRules. r=dbaron
2009-12-11 02:37:40 -05:00