Commit Graph

227 Commits

Author SHA1 Message Date
Nathan Froyd
5e807a653e Bug 712299 - don't require manual syncing of font data; r=bz 2011-12-20 11:49:16 -05:00
Jeff Walden
e50145754d Bug 704687 - Mark final classes as MOZ_FINAL, now that nsDerivedSafe no longer exists again. r=dbaron 2011-12-19 13:48:15 -05:00
Jeff Walden
a076867204 Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones 2011-11-20 22:21:16 -08:00
Zack Weinberg
0bdf036262 Bug 659963: consistently use infallible malloc in the CSS parser. r=dbaron 2011-05-28 15:38:48 -07: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
Matheus Kerschbaum
9dd50930c3 Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron 2011-06-20 16:47:09 -07:00
L. David Baron
588e1d64cd Add missing break (Bug 398962) r=bzbarsky 2011-06-12 18:52:32 -07:00
Craig Topper
08abd5bf90 Bug 648925 - Part 5: Make nsCSSKeyframeRule use inherited AddRef/Release from Rule. r=bzbarsky 2011-05-06 00:33:57 -07:00
Craig Topper
8b8b6986cb Bug 648925 - Part 4: DeCOMtaminate GetDOMRule and GetDOMRuleWeak. r=bzbarsky 2011-04-07 23:36:09 -07:00
Craig Topper
4382f36c4b Bug 648925 - Part 3: Factor some common method bodies into css::Rule. r=bzbarsky 2011-04-11 19:46:35 -07:00
Craig Topper
7492b61c9d Bug 648925 - Part 2: Make several css::Rule methods non-virtual and inline. r=bzbarsky 2011-04-07 20:51:25 -07:00
Craig Topper
ebb550cdf5 Bug 648925 - Part 1: Change uses of nsICSSRule to css::Rule. r=bzbarsky 2011-04-07 18:23:46 -07:00
L. David Baron
f0144db772 Audit for places in style rule code that need to check for a null sheet. (Bug 634373) r=bzbarsky 2011-05-02 18:43:44 -07:00
L. David Baron
e615e7e2d4 Add support for regexp() function in @-moz-document rule. (Bug 398962) r=bzbarsky 2011-04-28 10:21:37 -07:00
Boris Zbarsky
6a971e7ee6 Bug 649163. Stop refcounting the return values from GetCSSParsingEnvironment, where possible. r=dbaron 2011-04-27 16:53:49 -04:00
L. David Baron
d900fcd932 Allow null media query cache key in some places. (Bug 542058, patch 2) r=bzbarsky 2011-04-21 20:17:31 -07:00
L. David Baron
3b29a39226 Remove null-checks of nsCSSParser, since construction is infallible. (Bug 542058, patch 1) r=bzbarsky
Note that many callers already skipped the null-checks.
2011-04-21 20:17:31 -07:00
L. David Baron
1185309a8d ifdef CSS animations so that the feature can be backed out by flipping the switches in configure.in and then reverting the changes to the following four files appropriately: nsIDOMCSS2Properties.idl, nsIDOMCSSRule.idl, property_database.js, test_transitions_computed_values.html. (Bug 435442, patch 15) r=bzbarsky 2011-04-11 23:18:44 -07:00
L. David Baron
2351b7fd01 Implement parsing and storage of @keyframes rule. (Bug 435442, patch 5) r=bzbarsky 2011-04-11 23:18:43 -07:00
L. David Baron
8390f053f6 Fix style rule inheritance macros. (Bug 435442, patch 4) r=bzbarsky 2011-04-11 23:18:43 -07:00
L. David Baron
e728f99fb2 Clean up handling of CSSOM modifications to rules that are non-child descendants of a sheet. (Bug 435442, patch 3) r=bzbarsky
This fixes handling of a number of cases:
 1. Modifications to a style rule inside a group rule now trigger
    GetRuleCascades.
 2. A sheet that has been (potentially) modified is reliably marked as
    such, and thus never cloned.
2011-04-11 23:18:43 -07:00
Craig Topper
342ae297f4 Bug 645956 - Part 5: Remove NS_NewCSSCharsetRule, r=bzbarsky 2011-03-22 23:20:09 -07:00
Craig Topper
3a654a1dd0 Bug 645956 - Part 4: Move CSSCharsetRule to header file and put in css namespace, r=bzbarsky 2010-08-07 22:34:19 -07:00
Craig Topper
526b6c0139 Bug 645956 - Part 3: Remove NS_NewCSSNamespaceRule, r=bzbarsky 2011-03-22 22:23:04 -07:00
Craig Topper
f5f09258d6 Bug 645956 - Part 2: Remove NS_NewCSSImportRule, r=bzbarsky 2011-03-22 22:22:59 -07:00
Craig Topper
662a2163bc Bug 577976 - Part 5: Remove AddRef from GetStyleSheet, r=bzbarsky 2010-08-07 22:33:15 -07:00
Craig Topper
3b1be64aff Bug 577976 - Part 4: Move AddRef/Release back to nsCSSRule, r=bzbarsky 2011-03-17 22:18:08 -07:00
Craig Topper
4dd63018ca Bug 577976 - Part 3: Rename nsCSSRule and put in css namespace, r=bzbarsky 2011-03-06 19:59:03 -08:00
Craig Topper
1495e807e6 Bug 577976 - Part 2: Remove forwarding methods to nsCSSRule from Rule classes, r=bzbarsky 2010-08-07 22:30:57 -07:00
Craig Topper
11f607273b Bug 577976 - Part 1: Make nsCSSRule inherit from nsICSSRule and remove inheritance of nsICSSRule from other classes, r=bzbarsky 2011-03-28 20:21:20 -07:00
Craig Topper
a44ec82e19 Bug 577974 - Part 4: DeCOM and de-virtualize methods in GroupRule, r=bzbarsky 2010-08-07 22:29:28 -07:00
Craig Topper
c4c8840d32 Bug 577974 - Part 3: Rename nsCSSDocumentRule and nsCSSMediaRule, r=bzbarsky 2011-03-17 22:18:08 -07:00
Craig Topper
2c68d86266 Bug 577974 - Part 2: Remove nsICSSGroupRule, r=bzbarsky 2010-08-07 22:28:33 -07:00
Craig Topper
22d3106b16 Bug 577974 - Part 1: Rename CSSGroupRuleListImpl. r=bzbarsky 2010-08-07 22:23:17 -07:00
L. David Baron
c1e259f95b Don't call SetSheet with a null sheet. (Bug 645951) r=bzbarsky 2011-03-29 20:46:12 -07:00
Craig Topper
8f195aec45 Bug 577002 Part 3: Make various ImportRule functions non-virtual and cleanup some return types. r=bzbarsky 2011-03-17 13:41:52 -04:00
Craig Topper
2c49365804 Bug 577002 Part 2: Remove nsICSSImportRule. r=bzbarsky 2011-03-17 13:41:52 -04:00
Craig Topper
97d98c95c9 Bug 577002 Part 1: Rename CSSImportRuleImpl to mozilla::css::ImportRule. r=bzbarsky 2011-03-17 13:41:52 -04:00
Craig Topper
aebe7f886b Bug 576877 Part 3: De-virtualize methods in NameSpaceRule. r=bzbarsky 2011-03-17 13:41:52 -04:00
Craig Topper
404fe175b4 Bug 576877 Part 2: Remove nsICSSNameSpaceRule. r=bzbarsky 2011-03-17 13:41:52 -04:00
Craig Topper
c4b510f192 Bug 576877 Part 1: Rename CSSNameSpaceRuleImpl to mozilla::css::NameSpaceRule. r=bzbarsky 2011-03-17 13:41:52 -04:00
L. David Baron
1fec453cc4 Add NS_FINAL_CLASS annotations to rule classes. r=bzbarsky Add virtual that I missed on nsCSSGroupRule. (Bug 596140) a=me 2010-09-18 12:15:31 -07:00
L. David Baron
7bcf1e0c10 Eliminate all virtual functions from nsCSSRule to eliminate its vtable pointer. (Bug 596140) r=bzbarsky a2.0=roc 2010-09-18 11:43:17 -07:00
Jonathan Kew
b0cc524110 bug 585718 - support -moz-font-feature-settings and -moz-font-language-override in nsCSSFontFaceStyleDecl::GetPropertyValue. r+a=dbaron 2010-08-23 11:32:03 +01:00
Ms2ger
621c7d4822 Make nsICSSRule::Clone return the cloned value directly. (Bug 585137) r=bzbarsky a2.0=dbaron 2010-08-15 11:19:34 -04:00
Zack Weinberg
fb8bbf2eb6 Bug 569719 part 6: Move Declaration::AppendCSSValueToString into nsCSSValue. r=dbaron 2010-07-23 11:00:27 -07:00
Zack Weinberg
367002c2df Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron 2010-06-28 15:49:35 -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
Craig Topper
45054c246a Bug 575900 - Remove unneeded QIs from CSS Rule classes. r=bz 2010-07-18 22:23:12 +02:00