Commit Graph
39 Commits
Author SHA1 Message Date
Trevor Saunders e312db0631 bug 877886 - get rid of a number of static constructors in content/ and dom/ r=smaug 2013-05-30 18:34:53 -04:00
Ian Melven ca5b9f7eb8 Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Ryan VanderMeulen c5e83dc51e Backed out 2 changesets (bug 763879, bug 842657) for landing with an r-. DONTBUILD
Backed out changeset 254c1ac4ab8b (bug 842657)
Backed out changeset 58a2011beeac (bug 763879)
2013-05-16 11:15:07 -04:00
Ian Melven 8daac8aa7a Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
L. David Baron adb18b2369 Bug 813373, patch 2: Remove pres context member from ValueWrapper. r=dholbert 2012-11-20 11:55:14 -08:00
L. David Baron be48259708 Bug 813373, patch 1: Remove pres context parameters from nsStyleAnimation::UncomputeValue. r=dholbert 2012-11-20 11:55:14 -08:00
Ehsan Akhgari 243c878d26 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
Aryeh Gregor 8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Daniel Holbert b8bba6f178 Bug 709907: Skip SMIL negative-value relaxation logic for the list-valued 'stroke-dasharray' property. r=dbaron 2011-12-15 16:27:05 -08:00
Ehsan Akhgari 478ad1a412 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 0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Brian Birtles dc0a4bf3c3 Bug 562815 part 6 - Check if property is cached in rule tree; r=dbaron 2011-08-23 08:34:12 +09:00
Brian Birtles 2a4c29b2d4 Bug 562815 part 3 - Add context-sensitive flag to style animation resolution; r=dholbert 2011-08-23 08:34:03 +09:00
Ms2ger 7c5aaac15a Bug 562701, part a: Use Element in nsSMILCSSValueType::ValueFromString; r=smaug 2011-03-28 12:49:11 -04:00
Daniel Holbert f560592fae Bug 594198: In SMIL animation of length-valued attributes/properties, allow interpolation between 0 values and unitless values. r=birtles a=blocking-final+ 2010-11-06 12:13:01 -07:00
Zack Weinberg 867b6d344a Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
16fafd331c Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Robert Longson 8eda46bd89 Bug 570555 - CSS animation on font-size should not require units. r=dholbert,sr=roc 2010-06-09 20:51:31 +01:00
Boris Zbarsky c522f80e5c Bug 562688 part 13. Eliminate eELEMENT usage in layout/style, except the rule processor. r=dbaron 2010-04-30 09:12:06 -04:00
Daniel Holbert a98897387d 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
Daniel Holbert 91a88b7380 Bug 550593: Make nsISMILType::Init infallible, and return |void| instead of |nsresult|. r=roc 2010-03-22 11:57:36 -07:00
Daniel Holbert 89196a2481 Bug 542670 Patch B: Add specialized implementations for nsISMILType::IsEqual. r=roc 2010-02-20 13:13:11 -08:00
Daniel Holbert bf559f5b03 Bug 542731, Patch B: Clean up nsSMILCSS* classes. r=roc 2010-02-01 18:46:13 -08:00
Daniel Holbert 2e054abb98 Bug 542731: SMIL misc code cleanup - remove end-of-line whitespace. 2010-01-28 01:51:03 -08:00
Daniel Holbert be310b18be Bug 542731: SMIL misc code cleanup: remove trailing '.' from warning messages, to prevent the '.:' in output like 'ASSERTION: blah blah.: /path/to/file:NN'. (no changes outside of assertion/warning message text) 2010-01-28 01:50:30 -08:00
Daniel Holbert 478b9002a9 Bug 534975: Allow for null document pointer on SMIL animation targets, in case they get removed from tree due to a restyle during sample. r=roc 2009-12-23 16:19:29 -08:00
Daniel Holbert 6790ece9c9 Bug 520239, patch 5: Enable SVG/SMIL animation of shorthand properties, and remove unneeded nsISMILCSSValueType interface. r=roc 2009-12-10 09:26:28 -08:00
Daniel Holbert 4bd2f85ed5 Bug 530199: Cleanup in nsSMILCSSValueType - postpone allocation of ValueWrappers until they're needed. r=roc 2009-12-10 09:26:28 -08:00
Daniel Holbert f9f73d822f Bug 524539, patch 2: Support "stroke-dasharray" property in SVG/SMIL. r=roc 2009-12-10 09:26:27 -08:00
L. David Baron 20dcb8db42 Pass property to nsStyleAnimation interpolation functions. (Bug 528234) r=dholbert 2009-11-14 19:16:58 -08:00
Daniel Holbert 611879b15b Bug 526875: Make nsSMILCSSValueType::Add accept just-initialized added values (which represent zero). r=roc 2009-11-11 13:41:43 -08:00
Daniel Holbert 63e57fe88d Bug 525099: Bail out if GetZeroValueForUnit fails, in nsSMILCSSValueType. r=roc 2009-10-29 14:08:02 -07:00
L. David Baron c83c43a0be 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 708c855cdc Better disambiguate nsStyleCoord constructors taking nscoord and nscolor. (Bug 521352) r=bzbarsky 2009-10-13 19:38:20 -07:00
Daniel Holbert b6132b847d Bug 520485, patch 5 of 5: remove unnecessary checks in nsSMILCSSValueType::Add. r=roc 2009-10-08 18:30:55 -07:00
Daniel Holbert 4204c6b4d0 Bug 520485, patch 4 of 5: add support for 'font-size-adjust' property in SVG/SMIL. r=roc 2009-10-08 18:30:53 -07:00
Daniel Holbert aad20cdf9d Bug 520485, patch 2 of 5: add support for float values in SVG/SMIL. r=roc 2009-10-08 18:30:50 -07:00
Daniel Holbert 329bb3002d Bug 474049: Add support for SMIL animation of CSS properties in SVG. r=birtles sr=roc 2009-10-02 14:37:25 -07:00