jonas%sicking.cc
073b1fd3fe
Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest.
2007-02-16 23:02:08 +00:00
bzbarsky%mit.edu
715c457c96
Make the assertions saner. Bug 342923, r+sr=dbaron
2006-11-11 06:30:40 +00:00
cvshook%sicking.cc
d3ec0aa5c5
Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
2006-05-05 06:52:21 +00:00
dbaron%dbaron.org
60e75026b0
Move assertion up to where we have a chance of actually seeing it.
2006-04-27 18:23:30 +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
dbaron%dbaron.org
7a3633c66a
Weaken assertions I added yesterday to fix orange on balsa. b=307939
2005-09-12 15:37:30 +00:00
dbaron%dbaron.org
667d1f2104
Document pseudo-element code a little better and add some assertions. b=307939 r+sr=bzbarsky
2005-09-11 23:17:28 +00:00
dbaron%dbaron.org
18ff195e5d
Fix typo in comment. b=305901.
2005-08-25 14:34:36 +00:00
bzbarsky%mit.edu
ccf9ef3a04
Fix crashes when computed style is used on a dead presentation. Bug 291183,
...
r+sr=dbaron, a=chofmann
2005-06-03 01:51:15 +00:00
bzbarsky%mit.edu
df42e726bc
Combine WalkRules and UseDocumentRules into one function. Bug 244252,
...
r=bryner, sr=dbaron
2004-09-10 04:57:30 +00:00
tor%cs.brown.edu
8b7a521e30
Bug 254771 - Remove AssertNoCSSRules(lastPresHintRN, lastAgentRN) from
...
nsStyleSet::FileRules. Patch by jonathan.watt@strath.ac.uk , r=bz, sr=dbaron
2004-08-10 15:59:30 +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
neil%parkwaycc.co.uk
a33872e9fe
Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron
2004-08-05 11:38:42 +00:00
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
2faa2566a0
Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky
2004-07-28 07:08:41 +00:00
bzbarsky%mit.edu
89005ed71c
Fix preshints in anonymous content some more (by moving all document sheet
...
styleset munging out of the document viewer and into the document and splitting
out the preshint levels completely from the other CSS levels). Bug 234861,
r+sr=dbaron
2004-07-15 20:30:30 +00:00
bzbarsky%mit.edu
32a4619a53
Move presentation attributes into the UA level in non-HTML documents and a
...
separate preshint level in HTML. Bug 234861, r=dbaron, sr=jst
2004-05-05 00:30:57 +00:00
gerv%gerv.net
9d2ee4928c
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
bryner%brianryner.com
bc74f0b352
More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
2004-01-28 00:18:22 +00:00
dbaron%dbaron.org
d33950dfac
Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky
2004-01-14 01:36:35 +00:00
bryner%brianryner.com
6996bca809
Don't create new rule processors when a style sheet is enabled or disabled, just clear the rule cascade on the existing processors. Bug 230651, r=dbaron, sr=bzbarsky.
2004-01-13 02:19:28 +00:00
bzbarsky%mit.edu
bc704c519e
Fix regression bug 230620. r+sr=dbaron
2004-01-11 22:03:41 +00:00
bryner%brianryner.com
16be23821e
Additional cleanup related to bug 64116. r=bzbarsky.
2004-01-08 19:23:12 +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
dfe3513814
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
bryner%brianryner.com
605cc06382
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
uid502
d521946094
Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
2003-10-17 02:38:37 +00:00
bsmedberg%covad.net
0568e675fc
Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
2003-09-13 17:55:56 +00:00
dbaron%dbaron.org
d85698fd40
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
2003-07-11 21:16:12 +00:00
bzbarsky%mit.edu
0c5dc097d7
Don't bother reresolving style when empty stylesheets get added (eg from empty
...
<style> elements). Also remove the methods for blowing away the ruletree
during a style reresolve, since ruletrees are now garbage-collected. Bug
196557, r+sr=dbaron
2003-07-04 01:44:24 +00:00
dbaron%dbaron.org
51e6755ccd
Add nsIFrame::GetPresContext, which gets the pres context from the rule node which it gets from the style context. DeCOMtaminate nsStyleContext::GetRuleNode, nsRuleNode::GetRule, and nsRuleNode::GetPresContext. Remove unused nsRuleNode::PathContainsRule. b=208190 r+sr=roc
2003-06-20 01:22:44 +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
dbaron%dbaron.org
75ff60c62f
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
roc+%cs.cmu.edu
3936b4c393
Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
2003-04-08 20:50:57 +00:00
bzbarsky%mit.edu
b55d3bdb7f
Remove some style-data-clearing functions that no one uses and that don't do
...
the right thing anyway. Bug 169989, r+sr=dbaron
2003-03-13 18:58:54 +00:00
dbaron%dbaron.org
3069e2548c
Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky
2003-03-13 15:29:36 +00:00
dbaron%dbaron.org
c3fb353790
Implement garbage collection of the rule tree to fix some cases of memory growth and to allow us to move towards style rule immutability. b=117316 r+sr=bzbarsky
2003-03-06 19:14:17 +00:00
dbaron%dbaron.org
636a18962f
Handle inline style changes by creating new style rules to wrap the modified nsCSSDeclarations, thus moving towards style rule immutability and away from property-based change hints. Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=roc b=171830
2003-03-06 19:07:22 +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
e341c5f706
Make ProbePseudoStyleFor return null whenever :before and :after aren't displayed so that we don't try to reframe constantly in certain cases, preventing link clicking from working. b=188525 r+sr=bzbarsky
2003-02-23 17:28:25 +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
5302be6eba
Change |DEBUG_dbaron| to |DEBUG_dbaron_off| for stuff that I don't want to see anymore.
2003-01-16 19:21:23 +00:00
bryner%netscape.com
7f0488eb18
Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
2003-01-09 06:49:07 +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
3f07edc1de
Fix build bustage inside |#ifdef DEBUG_dbaron|. (Not part of build.)
2002-12-06 04:42:49 +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
bzbarsky%mit.edu
093137e9f2
Make GetImportantRule and GetISupportsValue return already_AddRefed.
...
Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:59:43 +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
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
roc+%cs.cmu.edu
cb32a0f906
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
2002-08-24 14:41:28 +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
d3867266eb
Make quirk stylesheet assertion |#ifdef DEBUG_dbaron| until I figure out why it's firing. b=147691 r=hwaara sr=waterson
2002-06-03 18:26:18 +00:00
dbaron%fas.harvard.edu
8d231a5fae
Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst
2002-05-23 23:09:31 +00:00
dbaron%fas.harvard.edu
8e67539937
Fix event state changes on some UI buttons by not overwriting a true result from HasStateDependentStyle with a false one. b=137067 r=bzbarsky sr=waterson
2002-04-15 22:28:54 +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
hyatt%netscape.com
08d1853958
Fix for 99344, inline styles not being recognized under certain DHTML circumstances. r=dbaron, sr=waterson, a=asa
2002-04-05 08:05:33 +00:00
dbaron%fas.harvard.edu
b350a0fd0f
Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
2002-03-31 16:59:00 +00:00
dbaron%fas.harvard.edu
8e8fb14ea0
Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa
2002-03-27 02:38:13 +00:00
dbaron%fas.harvard.edu
e3bc7ee7fd
Fix top theme switching crash by clearing the outliner's style caches from DidSetStyleContext instead of FlushMiscWidgetInfo. b=116038 sr=hyatt r=bzbarsky a=asa
2002-03-07 23:48:26 +00:00
bryner%netscape.com
d2229cbf68
- Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
...
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.
Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +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
attinasi%netscape.com
c4ce5b9e2e
Fixed problems with reframing recursively due to block-in-inline frames and content appended notifications. r=karnaze sr=waterson b=56894
2002-01-14 22:05:26 +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
hyatt%netscape.com
0ec3f045d8
Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
2001-12-17 22:51:39 +00:00
dbaron%fas.harvard.edu
8c0a6f79f1
Fix crash due to accessing destroyed data previously owned by a rule node but cached on a style context that inherited it by clearing style data from style contexts before reresolution due to an inline style change. b=105619 sr=hyatt r=shaver
2001-12-08 22:46:21 +00:00
dbaron%fas.harvard.edu
c05f76fc6b
Consider the result of |mStyleRuleSupplier->UseDocumentRules| in FileRules to prevent incorrect application of document rules to scrollbars and some form controls. Patch from <fantasai@escape.com>. r=dbaron sr=hyatt b=109808
2001-11-28 04:54:05 +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
pierre%netscape.com
3da4d257d9
Checked in for fantasai@escape.com. Bug 43220 "author !important rules override user !important rules in user.css". Add User sheets. Rename Backstop sheets into UserAgent. Fix cascading order. r=pierre/sr=hyatt.
2001-11-06 10:04:05 +00:00
dbaron%fas.harvard.edu
c13d4f0b0c
Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi
2001-10-30 06:02:05 +00:00
ducarroz%netscape.com
72f5b3d1f1
Fix for bug 106560. Crash in StyleSetImp::ShutDown when mRuleTree is null. Need to check mRuleTree before using it. R=bienvenu, SR=hyatt
2001-10-25 00:19:21 +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
gerv%gerv.net
1968b7dad2
License changes, take 2. Bug 98089. mozilla/content/.
2001-09-25 01:32:19 +00:00
bzbarsky%mit.edu
ad1dbdf870
making the "Enabling quirk stylesheet" message only show up for some
...
people who care (even in debug builds). bug 100983, r=dmose, sr=attinasi
2001-09-24 22:36:43 +00:00
waterson%netscape.com
d76d3fdf0d
Bug 84645. Move XBL insertion point logic into nsCSSFrameConstructor, where it can interact nicely with continuing frames. r=dbaron, sr=hyatt
2001-09-12 20:19:41 +00:00
hyatt%netscape.com
62d3de24fd
Fix for 95475. r=jag, sr=ben, a=dbaron
2001-08-25 02:01:08 +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
glazman%netscape.com
145fd781e4
BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi
2001-08-02 14:34:55 +00:00
glazman%netscape.com
9355372000
backing out fix for 88681 due to merge conflicts
2001-08-01 14:53:15 +00:00
glazman%netscape.com
47a195eda3
BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi
2001-08-01 14:38:30 +00:00
hyatt%netscape.com
84f1ff48ed
Fix for 90081, r=dbaron, sr=attinasi
2001-07-25 06:33:06 +00:00
dbaron%fas.harvard.edu
9d35ed31a4
Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
2001-06-20 03:27:48 +00:00
attinasi%netscape.com
05d59e6b31
Disable Quirk ruels for XUL documents by setting the compatibility mode to Standard. b=83495 r=dbaron sr=hyatt a=blizzard
2001-06-06 23:34:17 +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
attinasi%netscape.com
075cacae44
Fix for problem where a StyleContext changes its CRC and does not update the styel context cache. b=73553 r=karnaze sr=waterson
2001-04-14 14:06:27 +00:00
hyatt%netscape.com
88ce9916be
Fix for 73695. r=danm, sr=waterson
2001-03-29 01:30:03 +00:00
attinasi%netscape.com
06ff9d4459
Avoid checking for duplicates when adding a context to the cache (perf. reasons). b=72217, r=jag, sr=brendan
2001-03-28 19:58:51 +00:00
hyatt%netscape.com
6d784c14e8
Fix for 67739. r=pierre,attinasi sr=ben
2001-02-15 21:24:47 +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
buster%netscape.com
6a93e50850
bug 56432 ()
...
the problem was a factorial algorithm for finding primary frames.
fixed by added a hinting mechanism that takes advantage of existing
primary frame cache, greatly reducing the cost for the common case.
r=rods
sr=waterson
2001-01-16 22:10:04 +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
b2c258ed3c
Fixed leak in StyleContextCache: destructor was not cleaning up hash table entries. r=dbaron sr=buster b=63627
2001-01-02 23:13:49 +00:00
mkaply%us.ibm.com
6767d8308d
OS/2 TB breakage
...
PR_CALLBACK
2000-12-22 02:39:03 +00:00
attinasi%netscape.com
e3de75832c
Turning the Style Context FastCache back on. a=hyatt@netscape, reviewed previously by pierre@netscape.com
2000-12-21 23:34:44 +00:00
dbaron%fas.harvard.edu
638b1b16f4
Fix leak of an nsIURI (the URL of the quirk stylesheet). Patch from inaky.gonzalez@intel.com. r=attinasi@netscape.com sr=brendan@mozilla.org b=43656
2000-11-08 03:13:53 +00:00
warren%netscape.com
cd56c0575b
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
02371534f1
Fixing printf problem with MOZ_TIMER_DEBUGLOG
2000-10-28 10:11:27 +00:00
warren%netscape.com
9a6d92a433
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
hyatt%netscape.com
8da2baf3ca
Fix for 21890 and numerous other bugs. r=pierre, waterson, jst, attinasi, brendan
2000-08-12 06:28:02 +00:00
dbaron%fas.harvard.edu
63234a162b
Add new style classes to the leak/bloat logs. This should increase the bloat statistics. r=attinasi
2000-06-23 21:57:39 +00:00
attinasi%netscape.com
856ea4a348
Eliminated warnings from recent checkin (trivial changes).
2000-06-22 05:14:32 +00:00
attinasi%netscape.com
db3aa75e08
Implemented Style Context Data sharing, reducing the amount of memory used in style by about 40%. Performance will degrade by about 10%, that is being worked on now. b=39618 r=waterson
2000-06-21 20:44:59 +00:00
attinasi%netscape.com
c115636333
Implemented QuirkMode style sheet and moved some initial quirk style rules from html.css to the new quirk.css. b=38026 r=rods a=karnaze
2000-06-02 21:45:06 +00:00
hyatt%netscape.com
2bd2b3bce1
Fixing bugs in skin switching.
2000-05-27 20:03:14 +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
1621b39d9e
Implemented Style Size Dump. r=rickg b=26565
2000-03-31 07:08:36 +00:00
attinasi%netscape.com
254d4b2ef3
Support for enabling / Disabling the timer. r=pierre b=25406
2000-02-11 01:21:36 +00:00
attinasi%netscape.com
5a8bd5c7d6
Backing out the change I accidentally checked in.
2000-02-10 19:47:36 +00:00
attinasi%netscape.com
fee84adb65
Support for enabling / Disabling the timer. r=pierre b=25406
2000-02-10 19:21:55 +00:00
nisheeth%netscape.com
24d990e18b
Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed.
1999-12-06 07:44:18 +00:00
hyatt%netscape.com
de2eaede42
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
1999-12-04 23:49:50 +00:00
jdunn%netscape.com
0c7a249849
removing ';' from the end of the macros, since the macro in nsTimer.h
...
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
1999-11-11 21:35:34 +00:00
nisheeth%netscape.com
ecf204e501
a=sdagley. Move over to new timing macros...
1999-11-10 03:41:09 +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
nisheeth%netscape.com
ef75c33b3c
Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS.
1999-10-19 22:27:20 +00:00
peterl%netscape.com
a6adfea707
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
nisheeth%netscape.com
b052eec318
We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers.
1999-10-11 23:42:56 +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
kipp%netscape.com
de44833a85
Added in ctor/dtor counting
1999-10-05 14:53:40 +00:00
nisheeth%netscape.com
bebdebac72
a=chofmann. Include time spent in ProbePseudoStyleFor() in time measurement of style resolution.
1999-09-24 07:16:20 +00:00
peterl%netscape.com
1b16a07213
stop sharing contexts with parents
1999-09-21 07:50:16 +00:00
nisheeth%netscape.com
979e91b1da
Fixed build warning and removed NS_TIMER_STYLE_RESOLUTION define.
1999-09-20 21:36:53 +00:00
nisheeth%netscape.com
3685df8b69
Move implementation of nsITimeRecorder from the pres context to the style set.
1999-09-20 06:53:40 +00:00
sfraser%netscape.com
d12db169ac
Make function static to eliminate warning.
1999-09-14 23:40:52 +00:00
peterl%netscape.com
b5b37d859e
added reparent style context
1999-09-03 23:35:41 +00:00
troy%netscape.com
71d5c08256
Changed frame construction code to use frame manager when modifying frame
...
model
1999-08-05 03:09:22 +00:00
peterl%netscape.com
162a545b8d
removed unused IID
1999-07-18 00:17:03 +00:00
troy%netscape.com
5b550f3d8a
Added function FindPrimaryFrameFor()
1999-07-02 04:46:19 +00:00
peterl%netscape.com
3df4e1bece
better protection against bad calls in resolve style
1999-06-22 19:16:40 +00:00
sspitzer%netscape.com
2c44b3b132
safety checks to prevent dereferencing null
1999-06-19 21:18:13 +00:00
peterl%netscape.com
a7811ef149
use new medium testing api
...
use enumeration func for faster rule matching
1999-06-15 06:15:51 +00:00
peterl%netscape.com
dee7ea6722
added assertion to resolve style
1999-05-26 23:44:56 +00:00
warren%netscape.com
87b26617d5
Fixed nsICollection (and Count in particular) to be xpidl friendly.
1999-05-13 04:56:04 +00:00
alecf%netscape.com
b8c3aa89b4
don't dereference aContext without checking for null
1999-05-07 03:08:02 +00:00
peterl%netscape.com
04f5fc38c1
widened content state change api
...
added test for state dependent style
1999-04-20 00:02:22 +00:00
kipp%netscape.com
500d6ef58f
Fixed an oopsie that prevented enumerating the override and backstop sheets
1999-04-03 18:56:45 +00:00
vidur%netscape.com
cb48e4047a
Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy.
1999-03-01 16:57:35 +00:00
peterl%netscape.com
ba5f08e24c
added content state changed
...
removed ua sheet from dump style
1999-02-27 07:11:04 +00:00
troy%netscape.com
da0991df28
Added CreateContinuingFrame() function to frame construction code
1999-02-24 04:03:50 +00:00
warren%netscape.com
01dd4f0ed6
Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
1999-02-23 08:10:24 +00:00
kipp%netscape.com
36c243cdc0
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
troy%netscape.com
bcc69e2898
Work-in-progress for replaced elements that can't be rendered
1999-02-04 17:03:46 +00:00
peterl%netscape.com
6adda0ee50
set now manages order of doc style sheets
1999-01-23 07:01:57 +00:00
troy%netscape.com
7b5cc03059
Moved logic that deals with moving absolutely positioned frames out of the
...
flow to the frame construction code
1998-12-29 03:38:16 +00:00
peterl%netscape.com
efc9fc421e
added media support
1998-12-02 00:30:42 +00:00
peterl%netscape.com
e3f218d5b4
style change notification support
1998-11-26 01:34:53 +00:00
vidur%netscape.com
026c273104
Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables.
1998-11-17 02:14:38 +00:00
vidur%netscape.com
8723f8326b
Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces.
1998-11-11 22:06:16 +00:00
peterl%netscape.com
a539d1f903
removed context hashtable code
...
decoupled style context resolution from frames
1998-11-03 20:19:28 +00:00
peterl%netscape.com
8c48296887
added recycler for rules array
1998-10-13 19:09:39 +00:00
peterl%netscape.com
257630f5c7
added content & attribute change to style frame construction
...
cleaned up api
1998-09-29 23:47:03 +00:00
troy%netscape.com
2bd6a1a377
Moved ContentReplaced() handler code to style system
1998-09-25 22:47:00 +00:00
troy%netscape.com
50795d8516
Moved ContentDeleted() document notification code to the style system which
...
generates the reflow command
1998-09-25 05:13:06 +00:00
peterl%netscape.com
7aaa6f0444
removed content apis from style context
1998-09-25 01:48:22 +00:00
kipp%netscape.com
49f2e69fbe
Disable a certain kind of caching to make incremental style changes work
1998-09-24 23:56:45 +00:00
troy%netscape.com
28c7cf540c
Removed content delegates
1998-09-18 17:18:37 +00:00
peterl%netscape.com
ef34a211d1
sort style rules by strength
1998-09-11 02:05:30 +00:00
troy%netscape.com
effef91cf6
Phase one of frame construction changes
1998-09-10 19:32:14 +00:00
peterl%netscape.com
dc32acedf3
COMified some interfaces
1998-09-02 02:03:24 +00:00
warren%netscape.com
4f1b718b4e
Added closure argument to nsHashtable::Enumerate.
1998-09-01 00:16:47 +00:00
peterl%netscape.com
1361e6230c
reversed sheet/rule ordering
...
added backstop rule count
1998-08-27 00:47:15 +00:00
peterl%netscape.com
d2bf561219
added fixed pitch font
...
added default color support
added content pointer
added style reset for table cells & captions
added linear links
1998-07-17 05:43:31 +00:00
peterl
b3f9eec797
fixed context dumping
1998-06-26 05:49:01 +00:00
peterl
9c18b6fa69
added flag to get unique style context during resolve
1998-06-05 06:00:55 +00:00
peterl
3ce1b73e85
use context graph for finding contexts
1998-05-26 23:14:56 +00:00
peterl
cf8839a911
collapse double empty contexts
1998-05-20 20:33:30 +00:00
peterl
ee773f3472
added pseudo style support
...
added debug list of context graph
1998-05-18 21:05:52 +00:00
troy
3ce8e88882
Changed nsIFrame member functions to return a nsresult
1998-04-17 01:41:24 +00:00
peterl
74502df8bb
fix leaks
1998-04-16 21:51:16 +00:00
kipp
098bef52b4
moved to pub
1998-04-13 20:24:54 +00:00