Cameron McCormack
ae655160b2
Bug 773296 - Part 16: Add a ref-counted list nsCSSValue unit and use it for tranform lists; hold a strong reference to one on nsStyleDisplay. r=dbaron
...
This adds a new eCSSUnit_SharedList type for nsCSSValue, which is a
reference counted object that contains an nsCSSValueList. We need this
so that nsStyleDisplay::mSpecifiedTransform can hold a strong reference
to a specified transform list value. When 'transform' is specified
using a variable reference, the resulting nsCSSValue does not stick
around in the Declaration object, so we wouldn't be guaranteed that
it lives long enough for nsStyleDisplay to keep referencing it.
2013-12-12 13:09:44 +11:00
Ehsan Akhgari
6ada2899b2
Bug 916610 - Minimize the #includes in layout/style; r=roc
2013-09-15 21:06:52 -04:00
Dirk Schulze
10ac32e77a
Bug 896050 - Implement animation of CSS filter property. r=dholbert
2013-09-11 15:24:03 -07:00
Nicholas Cameron
483e4a5711
No bug - fix incorrect comment on nsStyleAnimation::UncomputeValue r=me
2013-05-24 22:19:28 +08:00
David Zbarsky
3250bd906e
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
L. David Baron
f04e40072d
Bug 813373, patch 1: Remove pres context parameters from nsStyleAnimation::UncomputeValue. r=dholbert
2012-11-20 11:55:14 -08:00
Nathan Froyd
4519571cb1
Bug 796129 - remove prtypes #includes in layout/
2012-10-01 17:12:57 -04:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Zbarsky
bf4f8d3c97
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-31 10:28:21 -07:00
Mark Finkle
ecceaf8977
Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580)
2012-07-30 14:36:12 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
93b20c52d3
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-27 13:23:44 -07:00
Ed Morley
3ed23376d4
Backout 1244b8a8e57a (bug 755084), 32d16d0f87c9 (bug 706179), 8548e016d4a9 (bug 768440), 697f5b87eae9 (bug 768440), 808fc2bd4e8c (bug 755084), 54b1484cd125 (bug 755084), 876726b632c0 (bug 706179) for xul android R3 failures
2012-07-25 16:37:04 +01:00
David Zbarsky
630069520d
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-25 01:48:09 -07:00
Matt Brubeck
90029e0bf6
Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures
2012-07-23 20:25:51 -07:00
David Zbarsky
ffaa635014
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-23 17:34:46 -07:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Lazar Sumar
c075b7dd27
Bug 522607 - New css3-background background-position syntax. r=dbaron
2012-02-20 13:14:42 +13:00
Ehsan Akhgari
92064e6d3f
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
d2b70213ac
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
Matt Woodrow
28ca5bb7d9
Bug 505115 - Part 16 - Implement transitions/animations for 3d transforms. r=dbaron, derf
2011-09-27 10:53:33 +13:00
Brian Birtles
3e8804de84
Bug 562815 part 6 - Check if property is cached in rule tree; r=dbaron
...
--HG--
extra : rebase_source : 9a7d2388bd00e2c8177cebc9d2a1339626cdd3ab
2011-08-23 08:34:12 +09:00
Matt Woodrow
236f72943c
Bug 505115 - Part 11a - Add nsCSSValueTriplet and optionally read a z component to -moz-transform-origin. r=dbaron
2011-08-03 15:04:23 +12:00
Matt Woodrow
5afc317166
Bug 505115 - Part 3 - Convert nsStyleTransformMatrix to be backed by a 4x4 matrix. r=dbaron
2011-07-23 10:28:07 +12:00
Ms2ger
3c41948d77
Bug 562701, part c: Use Element in nsStyleAnimation::ComputeValue; r=dbaron
2011-03-28 12:51:59 -04:00
L. David Baron
26d6758faf
Add calc() unit to nsStyleAnimation::Value. (Bug 520234) r=bzbarsky a=blocking2.0:beta7
2010-09-15 08:11:26 -07:00
Zack Weinberg
f892a0765b
Bug 576044 (6/12): remove vestiges of nsCSSType. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
L. David Baron
a286bcfd04
CSS transition timing functions should not allow X arguments to cubic-bezier() outside of 0-1. (Bug 575672) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
Zack Weinberg
d60d9e623f
Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron
2010-06-28 15:49:35 -07:00
L. David Baron
a5966c5522
Implement animation of -moz-transform property. (Bug 531344) r=dholbert
2010-07-02 21:18:56 -07:00
Daniel Holbert
3de1190d72
Bug 556404: Put CSS parser in SVG mode when parsing SMIL animation endpoints for XML attributes. r=roc r=dbaron
2010-04-02 09:34:31 -07:00
L. David Baron
d2274a58eb
Add support for animation of 'background-position' and 'background-size'. (Bug 532307) r=bzbarsky
2009-12-21 16:46:25 -05:00
L. David Baron
5c1293a60a
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
L. David Baron
4cb8a38d3f
Add support for animation of nsRect values. (Bug 520488) r=bzbarsky
2009-12-21 16:46:25 -05:00
Daniel Holbert
e6e85fc399
Bug 529934: Add "UnparsedString" unit to nsStyleAnimation, as catch-all for otherwise-unanimatable properties. r=dbaron
2009-12-10 09:26:27 -08:00
L. David Baron
ff1edb3161
Pass property to nsStyleAnimation interpolation functions. (Bug 528234) r=dholbert
2009-11-14 19:16:58 -08:00
L. David Baron
0d05534e08
Add support for interpolation of integer-valued properties (i.e., z-index) to nsStyleAnimation. (Bug 524808) r=dholbert
2009-11-12 17:40:05 -08:00
L. David Baron
7b93863703
Remove option for aTakeOwnership==PR_FALSE for nsStyleAnimation::Value setters for complex types. (Bug 523450) r=dholbert
2009-10-28 20:22:27 -07:00
L. David Baron
bcd165bbd6
Add support for animation of -moz-{border,outline}-radius-*. (Bug 523450) r=dholbert
2009-10-28 20:22:27 -07:00
Daniel Holbert
03220db402
Bug 520486 (patch 1): Extend nsStyleAnimation to support enumerated values. r=dbaron
2009-10-21 14:57:57 -07:00
L. David Baron
4d6a859d90
Add support for animation of stroke-dasharray to nsStyleAnimation. (Bug 523355) r=dholbert sr=bzbarsky
2009-10-21 10:17:40 -04:00
L. David Baron
4c0fa8e623
Add support for animation of text-shadow and -moz-box-shadow (the first complex value types that we animate). (Bug 523196) r=dholbert sr=bzbarsky
2009-10-21 06:53:46 -04:00
L. David Baron
d035804a7a
Implement nsStyleAnimation::Add and Interpolate using the same code underneath. (Bug 523193) r=dholbert sr=bzbarsky
2009-10-20 07:46:16 -04:00
L. David Baron
8461beec27
Switch nsStyleAnimation from using nsStyleCoord to using its own nsStyleAnimation::Value, so we don't have to add nontrivial destructors to nsStyleCoord. (Bug 522852) r=dholbert,bzbarsky
2009-10-20 07:46:16 -04:00
L. David Baron
0d432cd83f
Eliminate nsStyleAnimation::StoreComputedValue. (Bug 520396) r=dholbert,bzbarsky
2009-10-07 20:22:42 -07:00
Daniel Holbert
c695f6ea25
Add UncomputeValue method to nsStyleAnimation, for converting computed values into specified values. (Bug 504652) r=dbaron
2009-09-11 09:29:23 -07:00
L. David Baron
fe5b083fc3
Add support for animation of nsStyleCoord and nsStyleSides values to nsStyleAnimation. (Bug 504652) r=dbaron sr=bzbarsky
2009-09-11 06:46:36 -04:00
Daniel Holbert
e44e74289c
Bug 504652, patch 1: create nsStyleAnimation utility class for shared animation & interpolation code. r=dbaron
2009-09-10 12:03:36 -07:00