Craig Topper
9855496f0b
Bug 571946 - Let nsICSSRule::GetType return the type as a PRInt32 type instead of taking an outparam for that. r=bz
2010-07-18 16:39:20 +02:00
Jonathan Kew
d34dd05fe1
bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron
2010-07-13 21:30:42 +01:00
Daniel Holbert
013e10d651
Bug 574750: Use size_t for counter, in loops over contents of an nsCSSValue::Array. r=bz
2010-06-25 12:38:57 -07:00
Craig Topper
213b0d1c3f
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
Craig Topper
8ca1833066
Bug 569189. Remove unneeded QIs for style sheets, part 2. r=dbaron
2010-06-01 11:51:40 +12:00
Craig Topper
1e599ffec0
Bug 569189. Remove unneeded QIs for style sheets. r=dbaron
2010-06-01 11:51:06 +12:00
Craig Topper
b08d6c5ef5
Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Craig Topper
55e9fbfa98
DeCOMtaminate CSSStyleSheet method signatures. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Peter Van der Beken
85c9e641b0
Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
...
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Peter Van der Beken
e1c6294f66
Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
...
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Jonas Sicking
0e6d5d8188
Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz
2010-03-08 07:45:00 -08:00
Zack Weinberg
36c0b9d09f
Bug 443976: Parsing support for the unicode-range: descriptor in @font-face. r=dbaron
2009-08-20 14:52:47 -07:00
L. David Baron
75cee288ca
Avoid crashing on fontFaceRule.style.getPropertyValue('font-family') when there's no font-family descriptor. (Bug 482148) r=zweinberg
2009-03-09 16:14:34 -07:00
L. David Baron
aafe2d425d
Split eCSSUnit_String into eCSSUnit_String (with quotes), eCSSUnit_Ident (without quotes), and eCSSUnit_Families (font family list, but not for @font-face descriptor where the single family is stored as eCSSUnit_String). (Bug 481591) r+sr=bzbarsky
2009-03-06 13:05:01 +09:00
L. David Baron
8bdcbd0b8d
Quote and escape contents of url() when serializing. (Bug 478160) r+sr=bzbarsky
2009-03-06 13:05:01 +09:00
L. David Baron
79a32cbc5a
Change nsStyleUtil::EscapeCSSString to nsStyleUtil::AppendEscapedCSSString, since almost all callers prefer append behavior anyway. (Bug 478160) r+sr=bzbarsky
2009-03-06 13:05:00 +09:00
L. David Baron
dbcb511748
Backed out changeset eec3076f3bab (Bug 474655, Warn when nsIDOMCSSStyleDeclaration::GetPropertyCSSValue is called) because we trigger the warning too much ourselves (Bug 475311)
2009-02-04 13:22:45 -08:00
L. David Baron
f0ecf93e24
Warn when nsIDOMCSSStyleDeclaration::GetPropertyCSSValue is called. (Bug 474655) r+sr=bzbarsky
2009-01-22 17:28:14 -08:00
Jeff Walden
9dd8a0c775
Bug 473911 - Crash due to too much recursion in nsCSSDocumentRule::URL::~URL. r+sr=dbaron
2009-01-16 15:33:57 -08:00
Peter Van der Beken
579fe3ede9
Fix for bug 460512 (Avoid AddRef/Release in scriptable helper methods for NodeList). r/sr=bz.
2008-10-22 16:31:14 +02:00
Zack Weinberg
af751d9b0a
Bug 441469. Implement parsing of @font-face rules. r+sr=dbaron
2008-08-07 19:15:40 -04:00
L. David Baron
b8715023f7
Implement Media Queries, part 2: infrastructure for dynamic change handling at the rule cascade and style sheet level. (Bug 156716) r+sr=bzbarsky
2008-07-26 09:14:48 -07:00
dbaron@dbaron.org
eef8277d2a
Use the existing linked list structure while sorting rules instead of using temporary arrays. b=408295 r+sr=sicking a=dsicore
2007-12-14 14:59:20 -08:00
jwalden@mit.edu
6d7584839a
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
sharparrow1%yahoo.com
76a64e5c22
Bug 177805: Fix the use of units in Gecko. r+sr=roc
2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
a39ff30284
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
2007-01-30 00:06:41 +00:00
cvshook%sicking.cc
636e4e6e5f
Don't return nsDerivedSafe when .get() is explicitly used on nsCOMPtr and nsRefPtr. r/sr=dbaron
2006-11-21 21:28:14 +00:00
Olli.Pettay%helsinki.fi
cb1f0a0bb9
Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc
2006-05-19 10:26:44 +00:00
dbaron%dbaron.org
30f8db359a
File comments that show up in LXR and provide a quick summary of what's in each file.
2006-03-25 05:47:31 +00:00
bryner%brianryner.com
7a96206e10
Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
2006-03-22 18:36:36 +00:00
cbiesinger%web.de
c2d981f764
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
neil%parkwaycc.co.uk
0d29adadea
Bug 317937 Get rid of some unnecessary CIDs and change some possibly unsafe nsCOMPtr usage into the equivalently unsafe static casts r=darin sr=jst
2005-12-02 12:02:44 +00:00
bryner%brianryner.com
1226dbed26
Convert CSSGroupRule and CSSStyleSheet to use nsCOMArray. Bug 312491, r+sr=bzbarsky.
2005-10-15 20:21:20 +00:00
dbaron%dbaron.org
4b1913ff77
Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky
2005-03-30 00:36:57 +00:00
darin%meer.net
7fad093c68
fixing win32 debug bustage
2004-08-06 19:48:04 +00:00
dbaron%dbaron.org
d35f39cc02
Implement @-moz-document at-rule for site-specific rules, particularly in user stylesheets. b=238099 r+sr=bzbarsky
2004-08-05 18:26:14 +00:00
roc+%cs.cmu.edu
0f4150a4e5
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
gerv%gerv.net
9d2ee4928c
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu
1730b82b19
Don't use HTML rules to parse (redundantly) media strings in CSS @import
...
rules. Bug 153755, r+sr=dbaron
2004-01-10 02:27:41 +00:00
bryner%brianryner.com
e65d2d2fe5
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
2004-01-07 22:30:53 +00:00
bryner%brianryner.com
2fcdb4e2d5
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-07 21:50:21 +00:00
dbaron%dbaron.org
06bb24f863
Implement the DOM interfaces for CSS style rules on a wrapper object which allows the immutable rule object to be swapped out underneath. b=188803 r+sr=bzbarsky
2003-06-24 05:40:37 +00:00
dbaron%dbaron.org
fe7914e2c9
Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky
2003-06-18 01:59:57 +00:00
peterv%netscape.com
bc210f1afe
Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
2003-03-05 15:08:41 +00:00
dbaron%dbaron.org
09cb4b87a2
Fix bustage. b=167415
2003-02-23 05:36:40 +00:00
dbaron%dbaron.org
6dd68f3c64
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
dbaron%dbaron.org
48544669f3
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
2003-01-08 19:24:38 +00:00
peterv%netscape.com
d96051a4a2
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
2002-12-11 14:24:49 +00:00
dbaron%fas.harvard.edu
58e711b7d5
Use correct interface pointer to fix crash inserting rule into media rule. b=170699 r=glazman sr=roc+moz
2002-10-03 01:02:13 +00:00
dougt%netscape.com
68faeb5241
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
dbaron%fas.harvard.edu
48e2161f68
Remove unused method nsIStyleRule::GetStrength. b=162492 r=kin sr=bzbarsky
2002-08-14 13:16:35 +00:00
bzbarsky%mit.edu
affd9fbf49
Expose @charset rules in the CSSOM. Bug 160834. r=glazman, sr=dbaron.
2002-08-06 05:26:41 +00:00
bzbarsky%mit.edu
485200387c
dynamically adding @import rules does not trigger all the updates it
...
should. Bug 160065, r=peterv, sr=dbaron
2002-08-06 05:08:47 +00:00
dbaron%fas.harvard.edu
a68d8f9629
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2002-03-23 22:56:05 +00:00
brade%netscape.com
7a12e1b006
remove unused static kISupportsIID for gain of 16 bytes (bug 117927; r/sr=jst,darin)
2002-01-10 14:07:59 +00:00
dougt%netscape.com
942988df26
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527
2001-10-19 20:59:33 +00:00
dbaron%fas.harvard.edu
5a357eea01
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
ed869c764e
Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
2001-10-16 03:53:44 +00:00
gerv%gerv.net
1968b7dad2
License changes, take 2. Bug 98089. mozilla/content/.
2001-09-25 01:32:19 +00:00
mkaply%us.ibm.com
ef9e88c813
OS/2 bustage
...
PR_STATIC_CALLBACK is not needed here
2001-09-20 02:38:56 +00:00
bzbarsky%mit.edu
47b3292676
Implement the parentRule property of CSS rules. Bug 37470, r=pierre,
...
sr=jst
2001-09-19 14:16:34 +00:00
bzbarsky%mit.edu
39e131f2a5
Make insertRule() calls on a media rule which initially had no children
...
not fail. Bug 98931, r=sicking, sr=jst
2001-09-15 01:27:49 +00:00
bzbarsky%mit.edu
268f16e017
Re-fix bug 93977 and fix bug 98358 (lack of underlining on links). The
...
CSS parser parses "foo, bar { decls }" into two separate rules -- one
for foo and one for bar. So ParseRule() has to return an array of
rules, not just a rule. r=dbaron, sr=jst
2001-09-06 13:14:35 +00:00
bzbarsky%mit.edu
a0c586aa4f
Fix the nsIDOMMediaList interface to have the right properties. Make
...
media rules implement nsIDOMCSSMediaRule. Fix insertRule() to be able
to insert into the middle of a rule list. Fix issues with stylesheets
not getting dirtied when media lists are modified. bug 93977,
r=pierre, sr=jst
2001-09-05 00:00:18 +00:00
bzbarsky%mit.edu
a353a4e9a0
Making import rules implement the nsIDOMCSSImportRule interface. Bug 90290, r=pierre, sr=jst
2001-08-04 21:19:53 +00:00
jst%netscape.com
88d48dc0c5
Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com
2001-07-18 07:48:12 +00:00
hyatt%netscape.com
b135c5b55a
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
jst%netscape.com
892417cdfb
Checking in Boris Zbarsky's (bzbarsky@mit.edu) fix for bug 79818, making more CSSRules implement DOM interfaces. r=bryner, sr=jst
2001-05-15 08:26:13 +00:00
rods%netscape.com
edb0c6270c
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
attinasi%netscape.com
1621b39d9e
Implemented Style Size Dump. r=rickg b=26565
2000-03-31 07:08:36 +00:00
dmose%mozilla.org
5312eacf8c
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
braddr%puremagic.com
ea13be0a26
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
...
r=scc
1999-10-28 03:16:48 +00:00
braddr%puremagic.com
341c8b0054
Ooops.. tree closed, better back these out for now. Sorry.
1999-10-27 21:01:37 +00:00
braddr%puremagic.com
55276cc3c4
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
...
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
peterl%netscape.com
ed18a01643
Added new style data accessors.
...
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:05:59 +00:00
peterl%netscape.com
d4d5bc6e95
changed medium testing API
1999-06-15 06:19:57 +00:00
peterl%netscape.com
f7975c0847
added new rule interfaces & base class
1999-06-10 05:32:38 +00:00