Commit Graph

49 Commits

Author SHA1 Message Date
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Cameron McCormack
835faf601a 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
d5d3a9ae84 Bug 916610 - Minimize the #includes in layout/style; r=roc 2013-09-15 21:06:52 -04:00
Dirk Schulze
bc78994cda Bug 896050 - Implement animation of CSS filter property. r=dholbert 2013-09-11 15:24:03 -07:00
Nicholas Cameron
060d253855 No bug - fix incorrect comment on nsStyleAnimation::UncomputeValue r=me 2013-05-24 22:19:28 +08:00
David Zbarsky
c596ef885a [Bug 847110] Fix up includes in layout/style r=dbaron 2013-03-02 19:31:48 -05:00
L. David Baron
142c957b38 Bug 813373, patch 1: Remove pres context parameters from nsStyleAnimation::UncomputeValue. r=dholbert 2012-11-20 11:55:14 -08:00
Nathan Froyd
5375444878 Bug 796129 - remove prtypes #includes in layout/ 2012-10-01 17:12:57 -04:00
Ehsan Akhgari
8c296bbcd4 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
bde306fdca 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
a4d33f44cf 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
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky
c76cb082e0 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
0981437de6 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
bb16aa6296 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
091f852d76 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
730141f891 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
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Lazar Sumar
5958307819 Bug 522607 - New css3-background background-position syntax. r=dbaron 2012-02-20 13:14:42 +13:00
Ehsan Akhgari
2a602a5685 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
d8e503c38b 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
5e8876e4df Bug 505115 - Part 16 - Implement transitions/animations for 3d transforms. r=dbaron, derf 2011-09-27 10:53:33 +13:00
Brian Birtles
b1f72bbd99 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
ab8f7fa56f 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
f00688318f Bug 505115 - Part 3 - Convert nsStyleTransformMatrix to be backed by a 4x4 matrix. r=dbaron 2011-07-23 10:28:07 +12:00
Ms2ger
4add4dff80 Bug 562701, part c: Use Element in nsStyleAnimation::ComputeValue; r=dbaron 2011-03-28 12:51:59 -04:00
L. David Baron
c9bc69a037 Add calc() unit to nsStyleAnimation::Value. (Bug 520234) r=bzbarsky a=blocking2.0:beta7 2010-09-15 08:11:26 -07:00
Zack Weinberg
bc4afbe28a Bug 576044 (6/12): remove vestiges of nsCSSType. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
L. David Baron
248a3cdc5f 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
9c006a4ff7 Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
L. David Baron
f5249f9108 Implement animation of -moz-transform property. (Bug 531344) r=dholbert 2010-07-02 21:18:56 -07:00
Daniel Holbert
84c8cc58ba 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
218e356973 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
67f4531d35 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
24c692cc7f Add support for animation of nsRect values. (Bug 520488) r=bzbarsky 2009-12-21 16:46:25 -05:00
Daniel Holbert
a66fb56354 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
eea2f3996a Pass property to nsStyleAnimation interpolation functions. (Bug 528234) r=dholbert 2009-11-14 19:16:58 -08:00
L. David Baron
db2e10e435 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
f08400b737 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
e694a7d0fe Add support for animation of -moz-{border,outline}-radius-*. (Bug 523450) r=dholbert 2009-10-28 20:22:27 -07:00
Daniel Holbert
ba53e336e3 Bug 520486 (patch 1): Extend nsStyleAnimation to support enumerated values. r=dbaron 2009-10-21 14:57:57 -07:00
L. David Baron
0832157c6a 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
27faacf80b 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
33cf1c9250 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
e57591b530 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
bc34d93c16 Eliminate nsStyleAnimation::StoreComputedValue. (Bug 520396) r=dholbert,bzbarsky 2009-10-07 20:22:42 -07:00
Daniel Holbert
ebe1fbb37c 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
7c1b01bafd 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
89e758e43b Bug 504652, patch 1: create nsStyleAnimation utility class for shared animation & interpolation code. r=dbaron 2009-09-10 12:03:36 -07:00