Commit Graph

106 Commits

Author SHA1 Message Date
jaggernaut@netscape.com
0467433db5 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
dbaron@fas.harvard.edu
d729f34c87 Pull computation of loop invariants for rule matching out of outer loop (over rule processors) as well, from SelectorMatchesData in nsCSSStyleSheet to RuleProcessorData in nsStyleSet. Use the RuleProcessorData structure in nsHTMLStyleSheet as well. Simplify matching of :-moz-bound-element pseudo-class. b=83836 r=waterson, pierre sr=hyatt 2001-11-10 23:51:45 +00:00
hyatt@netscape.com
f89422ce49 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
dougt@netscape.com
0c8a8e6270 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
d0430dd000 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
gerv@gerv.net
5ba3ff1a0d License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
bzbarsky@mit.edu
1a0ef9ade7 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
dbaron@fas.harvard.edu
4c647ea08a Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
hyatt@netscape.com
dfdfa14592 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
pierre@netscape.com
e26b975ec8 43457: change the mutable style context APIs, disable style context sharing, implement style data sharing. r=waterson. 2001-05-03 13:20:48 +00:00
hyatt@netscape.com
fad68d0d9c Fix for 67739. r=pierre,attinasi, sr=ben 2001-02-15 21:25:31 +00:00
pierre@netscape.com
5f165d8dc9 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster. 2001-02-07 09:57:26 +00:00
mcafee@netscape.com
99b5642905 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
pierre@netscape.com
37a4efae45 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
rods@netscape.com
c0ed0d0271 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
shaver@mozilla.org
c7f61aca9f Significantly reduce the amount of time we blow on style reresolution by
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those.  In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away.  Fixed 38378, r=brendan, booyah.

Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code.  Fixed 21879, r=brendan, boo_yah_.
2000-05-16 02:43:33 +00:00
scc@netscape.com
5e49be25a8 making string conversions explicit 2000-04-15 20:15:37 +00:00
attinasi@netscape.com
5818fabee1 Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
warren@netscape.com
90e6ffd47b Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
pp@ludusdesign.com
baf799923b Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
dmose@mozilla.org
796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
cls@seawood.org
824ba18df3 Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
peterl@netscape.com
c97d8906fd Added new style data accessors.
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:05:59 +00:00
kipp@netscape.com
ea36a75c90 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
peterl@netscape.com
17e9686e8f First step at fixing 12106, factored out style rule processing from
style sheets into a seperate style rule processor interface
r=troy
1999-10-08 03:09:31 +00:00
kipp@netscape.com
6e3b4ccf7d r=peterl; Added in ctor/dtor counting 1999-10-05 14:52:20 +00:00
peterl@netscape.com
117b41a42b removed warnings 1999-07-18 00:29:39 +00:00
peterl@netscape.com
547b773c56 removed autostring constructor usage per rickg
cleaned up url listing
1999-06-27 21:17:39 +00:00
warren@netscape.com
0dddd47c95 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
warren@netscape.com
753ac43fff Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
peterl@netscape.com
fc595ca7b8 removed unnecessary null tests (tested at call site for performance) 1999-06-22 19:24:50 +00:00
sspitzer@netscape.com
ae6cfe61f5 safety checks to prevent dereferencing null 1999-06-19 21:18:13 +00:00
peterl@netscape.com
b673acecc7 added better medium testing api 1999-06-15 06:21:47 +00:00
peterl@netscape.com
4272d28e5f sync to nsIStyledContent API change 1999-05-26 23:55:49 +00:00
warren@netscape.com
7b44baf2c0 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
kipp@netscape.com
10caf5b56d Activate the first-letter special rule; fixed a memory leak 1999-04-28 01:16:45 +00:00
kipp@netscape.com
fdff744066 Support first-line style 1999-04-20 00:28:40 +00:00
peterl@netscape.com
90d0ea952b added tests for state dependent style 1999-04-20 00:05:54 +00:00
rickg@netscape.com
b8a9d90b74 tiny tweaks to keep in sync with new nsString 1999-04-06 00:29:40 +00:00
scc@netscape.com
6bb3406b4d rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
hyatt@netscape.com
e56792aa0c Changed GetInlineStyleRule so that it is invoked on styledContent instead
of htmlContent.
1999-02-27 01:35:25 +00:00
kipp@netscape.com
48f5180b30 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp@netscape.com
ae90d422ab Cleaned up operator new and delete 1999-02-26 17:13:10 +00:00
vidur@netscape.com
eff87ba281 Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work 1999-02-03 19:38:16 +00:00
warren@netscape.com
4aaec0bad1 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
waterson@netscape.com
b8a2bb8bc6 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h. 1998-12-03 20:20:35 +00:00
peterl@netscape.com
9430888d51 changed media type to atom
moved body fixup rule to body element
1998-12-02 00:38:33 +00:00
peterl@netscape.com
b3f287d4fe style change notification support 1998-11-26 01:34:53 +00:00
peterl@netscape.com
e74acd9aca sync to style resolution api changes 1998-11-03 20:33:43 +00:00
troy@netscape.com
c371e30eac Changed some code to use XPCOM ref counting related macros 1998-10-05 05:11:18 +00:00