dbaron%dbaron.org
a5105c6ec7
Fix dynamic change bugs by making HTMLColorRule immutable. b=99850 r+sr=bzbarsky
2003-02-22 19:15:46 +00:00
dbaron%dbaron.org
4b4f8625f1
Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky
2003-02-22 16:10:53 +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
bryner%netscape.com
e43f5a49fd
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +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
bzbarsky%mit.edu
fe53f95e60
Make the CSSLoader correctly order stylesheets as they are dynamically added
...
and removed via the DOM. Clean up the nsIDocument stylesheet accessors. Clean
up nsIDocumentObserver stylesheet stuff a bit. Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off. Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking, sr=peterv.
2002-12-03 05:48:14 +00:00
dbaron%fas.harvard.edu
f6b1702067
Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
2002-11-17 15:37:56 +00:00
dbaron%fas.harvard.edu
ee1ac12967
Back out patch for bug 161109 that implemented a pref for disabling marquee. b=161109 r=hixie a=asa
2002-10-30 14:31:32 +00:00
dbaron%fas.harvard.edu
fc4297892b
Add preference for whether to enable marquee, and set the default to disabled. b=161109 r=caillon sr=bzbarsky a=rjesup
2002-10-15 00:06:57 +00:00
dbaron%fas.harvard.edu
9c32fa806d
Remove unused ability to optionally arena-allocate certain stylesheet objects. b=174256 r=kin sr=bzbarsky a=rjesup
2002-10-14 23:57:17 +00:00
bzbarsky%mit.edu
279ffda515
Make GetParent on nsStyleContext return an
...
already_AddRefed<nsIStyleContext>. Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00
alecf%netscape.com
b15e45e72d
re-fix bug 166147 - autoinitialize mRefCnt to 0 for more efficient constructors
...
r=dougt, sr=jag, this time including some CSS stuff that has 31-bit refcounts.
2002-09-17 04:49:28 +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
9ced6ae565
Remove unused Equals and HashValue methods (methods that were once on nsIStyleRule). b=163058 r=hyatt sr=kin
2002-08-20 19:40:23 +00:00
dbaron%fas.harvard.edu
f363c6f0ae
Convert mapped attribute table from nsHashtable to pldhash. b=148368 sr=bzbarsky r=sicking
2002-08-17 12:17:03 +00:00
dbaron%fas.harvard.edu
a7f0385127
Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only)
2002-08-16 11:52:20 +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
seawood%netscape.com
0597412383
The c++ standard requires that the throw list be used when declaring functions as well as defining them.
...
commercial compiler fixes for bug #149032
2002-07-03 17:14:41 +00:00
seawood%netscape.com
03ace271f0
Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
...
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu
e63a11c0e8
Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
2002-06-25 21:16:17 +00:00
jst%netscape.com
1075a3f80d
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
2002-05-23 00:00:34 +00:00
dbaron%fas.harvard.edu
07103ecbea
Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt
2002-04-11 03:49:30 +00:00
sicking%bigfoot.com
058a33eded
Bug 41983: Make (x)html-elements support namespaced attributes.
...
r=heikki sr=jst a=roc+moz
2002-03-27 00:13:57 +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
darin%netscape.com
f1a6738b6c
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
2002-03-06 07:48:55 +00:00
karnaze%netscape.com
679c575202
bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
2002-02-19 15:48:28 +00:00
cathleen%netscape.com
740d95a0a9
eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
2002-02-05 01:41:13 +00:00
bzbarsky%mit.edu
7ef1d1f644
Change some users of GetAttr to HasAttr instead. Bug 113564, r=jag, sr=jst.
2002-01-13 04:03:52 +00:00
dbaron%fas.harvard.edu
c9c0a97163
Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
2002-01-07 23:46:07 +00:00
jaggernaut%netscape.com
97b0530073
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
2001-12-16 11:58:03 +00:00
sfraser%netscape.com
169c79e50d
Fix for bug 115157 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson
2001-12-14 23:10:42 +00:00
dbaron%fas.harvard.edu
c25fe11d0f
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
jst%netscape.com
144090f3bb
Fixing bug 108321. Don't waste time using the component manager when creating an nsHTMLAttributes when setting attributes on an element, call NS_NewHTMLAttributes() directly in stead. Also doing some cleaning up in nsHTMLStyleSheet.cpp. r=dbaron@fas.harvard.edu, sr=hyatt@netscape.com
2001-11-03 08:13:48 +00:00
hyatt%netscape.com
0c8c1348b3
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
2001-10-24 00:01:09 +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
dcd9a0a54f
Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag sr=alecf b=45797
2001-09-10 19:54:27 +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
dbaron%fas.harvard.edu
113ad642ae
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
bryner%netscape.com
422834eff1
Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
2001-08-17 08:14:14 +00:00
dbaron%fas.harvard.edu
7ae28c26a1
Fix crash bug 93270 by ensuring that the nsHTMLStyleSheetImpl always has a non-null mDocumentColorRule and mTableTHRule. r=pierre sr=hyatt
2001-08-04 02:43:05 +00:00
hyatt%netscape.com
83c6db5ccf
Fix for table color quirk bug. r=dbaron, sr=attinasi
2001-08-01 07:51:27 +00:00
bernd.mielke%snafu.de
5c6efb8c13
Inherit color into the table elements in quirks mode
...
bug 46480 patch by fantasai@escape.com r=bernd sr=attinasi
2001-07-06 14:17:08 +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
pierre%netscape.com
08aac85e54
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
heikki%netscape.com
915749084a
Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
2001-02-19 12:55:42 +00:00
hyatt%netscape.com
e050817098
Fix for 67739. r=pierre,attinasi, sr=ben
2001-02-15 21:25:31 +00:00
dbaron%fas.harvard.edu
6a1cef6f9a
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
2001-01-27 23:06:33 +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
dbaron%fas.harvard.edu
c3bbbaf9c8
Fix build warning by renaming variable. r=disttsc@bart.nl
2000-09-05 02:08:41 +00:00
jst%netscape.com
9abec73fbe
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
2000-08-23 17:27:06 +00:00
warren%netscape.com
84b5fd67e3
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
2000-08-10 06:19:37 +00:00
dbaron%fas.harvard.edu
a09c77e4d1
Improve performance of testing for visited links CSS selector matching by reducing string conversion and by caching the state of the link on the link element. r=waterson b=25963
2000-07-27 23:17:53 +00:00
shaver%mozilla.org
2da0ab457d
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
attinasi%netscape.com
c862485d34
Tables now inherit backgrond color and image into the cells and allow them to paint instead in quirks mode (the way it originally was). b=34838
2000-05-04 21:41:02 +00:00
mkaply%us.ibm.com
23620fb329
# 34082
...
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge
2000-05-02 23:07:11 +00:00
waterson%netscape.com
548a65c864
Back out changes my changes to nsILinkHandler because of performance problems.
2000-04-18 04:34:20 +00:00
scc%netscape.com
0012d27605
making string conversions explicit
2000-04-15 20:15:37 +00:00
waterson%netscape.com
a06a8ee723
Bug 12493. Change nsILinkHandler interface to take an nsIURI object instead of a string. This allows necko to canonify URIs before passing them back to global history. r=travis,pierre
2000-04-13 19:55:47 +00:00
attinasi%netscape.com
1621b39d9e
Implemented Style Size Dump. r=rickg b=26565
2000-03-31 07:08:36 +00:00
warren%netscape.com
727f312b32
Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
2000-03-29 03:58:50 +00:00
dbaron%fas.harvard.edu
b5f3961347
Fix leak of style contexts. r=karnaze@netscape.com
2000-03-18 21:26:13 +00:00
warren%netscape.com
c0497e31be
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
karnaze%netscape.com
c75793821e
bug 7112, PDT+ 1802 - added custom style rule to handle <th> text alignment. Other text alignment changes. r=attinasi
2000-02-16 01:08:54 +00:00
pp%ludusdesign.com
58065dda04
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
sspitzer%netscape.com
0f984615d6
bulletproofing fix for crash reported in #22811
1999-12-29 19:28:06 +00:00
warren%netscape.com
2db26922a6
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
1999-11-30 04:50:42 +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
cls%seawood.org
bee74e223b
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +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
kipp%netscape.com
65f6ba5343
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
peterl%netscape.com
a3aede8c1c
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
buster%netscape.com
c1f02ff5b3
fixed BodyFixupRule::MapStyleInto to respect background color properly
...
code-reviewed by Peter Linss
1999-08-07 05:38:28 +00:00
peterl%netscape.com
6d237f7fdc
cleanups
1999-07-18 00:30:11 +00:00
andreas.otte%primus-online.de
838f5a972b
NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski
1999-07-11 15:46:10 +00:00
vidur%netscape.com
97f3a5f03b
Added a HTMLDocumentColor special-case rule for the HTML element. This is set when either the bgColor or fgColor is set on a HTML document.
1999-07-07 04:53:36 +00:00
peterl%netscape.com
a91231ba7c
split attribute container into mapped and unmapped parts
...
only mapped part is uniqued now
1999-07-07 01:30:43 +00:00
andreas.otte%primus-online.de
001ff1afea
NECKO only: replacing GetBuffer with ToNewCString and some error checking
1999-07-06 23:08:16 +00:00
peterl%netscape.com
a35f309ef4
removed autostring constructor usage per rickg
...
cleaned up url listing
1999-06-27 21:17:39 +00:00
warren%netscape.com
fbd6d1dc57
Necko ifdefs for layout and rdf.
1999-06-26 06:36:26 +00:00
warren%netscape.com
1f76168d21
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
1999-06-23 03:29:44 +00:00
peterl%netscape.com
36caaab61a
removed unnecessary null tests (tested at call site for performance)
...
cleaned up null link handler testing to avoid URL conputation
1999-06-22 19:25:31 +00:00
jfrancis%netscape.com
94fabdd3d9
making the world safe for null linkHandlers
1999-06-21 07:47:29 +00:00
sspitzer%netscape.com
2c44b3b132
safety checks to prevent dereferencing null
1999-06-19 21:18:13 +00:00
valeski%netscape.com
e23b3c673c
NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061.
1999-06-18 17:34:08 +00:00
peterl%netscape.com
5a92df470b
added better medium testing api
1999-06-15 06:21:47 +00:00
karnaze%netscape.com
35ef411a8e
new style rule for table elements inheriting backgrounds in Nav Quirks mode
1999-06-07 21:09:07 +00:00
peterl%netscape.com
6c150bc6c8
sync to nsIStyledContent API change
1999-05-26 23:55:49 +00:00
sspitzer%netscape.com
39efa1c7f8
make destructors virtual
1999-05-13 02:11:25 +00:00
rickg%netscape.com
1a3777a0b7
updates to sync with nsString2 api
1999-04-21 23:48:41 +00:00
peterl%netscape.com
c503d0ed68
added tests for state dependent style
1999-04-20 00:05:54 +00:00
peterl%netscape.com
fbde443a95
split font style mapping from regular style mapping
1999-04-15 21:23:05 +00:00
rickg%netscape.com
c4b62ed8c6
tiny tweaks to keep in sync with new nsString
1999-04-06 00:29:40 +00:00
peterl%netscape.com
d5e687f7f6
backing out prevoius changes (unix didn't like it)
1999-04-02 19:57:07 +00:00
peterl%netscape.com
ad625281d0
initialize bitfields through a union to keep purify happy
1999-04-02 18:51:28 +00:00
joki%netscape.com
1c2882e5e6
Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements)
1999-03-28 22:22:54 +00:00
troy%netscape.com
a1ca1b831c
In RulesMatching(), changed NS_RELEASE to NS_IF_RELEASE for the link handler.
...
This fixes a crash when doing a print preview
1999-03-06 17:20:27 +00:00
scc%netscape.com
2ec0a397ea
rename |IID()| --> |GetIID()|
1999-03-03 19:48:57 +00:00
peterl%netscape.com
8c7771ba8f
fixed active link rule support
1999-02-27 07:18:21 +00:00
hyatt%netscape.com
06368ef067
Changed GetContentStyleRule so that it is invoked on styledContent instead
...
of htmlContent.
1999-02-27 01:34:55 +00:00